@sme.up/ketchup 10.3.2 → 10.3.4
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-7a2faf7a.js → f-cell-2d3d1fb1.js} +17 -9
- package/dist/cjs/{f-chip-f2d6124b.js → f-chip-9ac0d065.js} +11 -2
- package/dist/cjs/{f-object-field-3810f288.js → f-object-field-e0c83ebd.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3855e84c.js → f-paginator-utils-d61b2fc7.js} +1 -1
- package/dist/cjs/{f-text-field-a34a5979.js → f-text-field-6c373c74.js} +1 -1
- package/dist/cjs/index-c7d441d8.js +2 -6
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/{kup-autocomplete_29.cjs.entry.js → kup-autocomplete_30.cjs.entry.js} +1505 -1076
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-f53032e7.js → kup-data-table-helper-f4e3958d.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +44 -34
- 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-input-panel.cjs.entry.js +22 -13
- 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-c70d3188.js → kup-manager-587e54f5.js} +13 -4
- 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-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 +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/editor-example-1.js +27 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +54 -8
- package/dist/collection/components/kup-box/kup-box.css +19 -3
- package/dist/collection/components/kup-chip/kup-chip.js +6 -4
- package/dist/collection/components/kup-combobox/kup-combobox.js +23 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +48 -27
- package/dist/collection/components/kup-editor/kup-editor-declarations.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +44 -34
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- package/dist/collection/components/kup-file-upload/kup-file-upload.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.css +4 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +68 -7
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +18 -8
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- 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-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-tree/kup-tree.js +7 -7
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
- package/dist/collection/f-components/f-cell/f-cell.js +13 -5
- package/dist/collection/f-components/f-chip/f-chip-declarations.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +8 -2
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-declarations.js +5 -0
- package/dist/collection/managers/kup-data/kup-data.js +2 -0
- package/dist/collection/utils/filters/filters.js +1 -1
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -4
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +25 -20
- package/dist/components/kup-activity-timeline.js +25 -20
- 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 +25 -20
- package/dist/components/kup-card-list.js +27 -22
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +25 -20
- 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 +25 -20
- 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 +25 -20
- 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 +29 -24
- package/dist/components/kup-file-upload.js +1 -1
- 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 +26 -21
- package/dist/components/kup-iframe.js +25 -20
- package/dist/components/kup-image-list.js +1 -565
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +44 -30
- package/dist/components/kup-lazy.js +36 -31
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +32 -27
- package/dist/components/kup-nav-bar.js +26 -21
- package/dist/components/kup-numeric-picker.js +26 -21
- package/dist/components/kup-object-field.js +26 -21
- package/dist/components/kup-pdf.js +26 -21
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +47 -42
- package/dist/components/kup-probe.js +26 -21
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +26 -21
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +26 -21
- 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 +26 -21
- package/dist/components/kup-typography-list.js +26 -21
- package/dist/components/kup-typography.js +27 -22
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-c325da75.js → p-0ca0b3b7.js} +2 -2
- package/dist/components/{p-de04aef6.js → p-1ac3dd8e.js} +15 -15
- package/dist/components/{p-d0e33e04.js → p-206f0986.js} +13 -13
- package/dist/components/{p-6992b96f.js → p-28774fba.js} +4 -4
- package/dist/components/{p-6bfda249.js → p-33cf89e0.js} +1 -1
- package/dist/components/{p-8472facf.js → p-34ed7a73.js} +2 -2
- package/dist/components/{p-a22e5ee4.js → p-36397daa.js} +25 -20
- package/dist/components/{p-0e85ab66.js → p-394a36af.js} +3 -3
- package/dist/components/{p-55542b47.js → p-46ec5845.js} +1 -1
- package/dist/components/{p-3ba7c133.js → p-4b555010.js} +26 -21
- package/dist/components/{p-c7c7f760.js → p-57a120a5.js} +1 -1
- package/dist/components/{p-3b4cdace.js → p-7aa9d49d.js} +7 -7
- package/dist/components/{p-55fda958.js → p-9b35cce9.js} +1361 -588
- package/dist/components/{p-286915d4.js → p-ad93796a.js} +25 -20
- package/dist/components/{p-97053b4d.js → p-af0a6cfe.js} +2 -2
- package/dist/components/{p-9859e801.js → p-af2d3d26.js} +14 -5
- package/dist/components/{p-f2e153e3.js → p-b87bd975.js} +5 -5
- package/dist/components/{p-d7136d08.js → p-d3a8c2ba.js} +2 -2
- package/dist/components/{p-bd3047ee.js → p-daa07bb7.js} +1 -1
- package/dist/components/{p-7bdb5142.js → p-f976f7ae.js} +69 -54
- package/dist/esm/{f-cell-ae0c965d.js → f-cell-e08c0b3c.js} +17 -9
- package/dist/esm/{f-chip-29242e70.js → f-chip-a030d384.js} +11 -2
- package/dist/esm/{f-object-field-75069ac2.js → f-object-field-badf11fe.js} +2 -2
- package/dist/esm/{f-paginator-utils-212f93c3.js → f-paginator-utils-e1e23a7e.js} +1 -1
- package/dist/esm/{f-text-field-ebe023fb.js → f-text-field-188fd143.js} +1 -1
- package/dist/esm/index-9b0f4a0d.js +2 -6
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/{kup-autocomplete_29.entry.js → kup-autocomplete_30.entry.js} +1505 -1077
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-ca11e6e9.js → kup-data-table-helper-1c128c4b.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +44 -34
- 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-input-panel.entry.js +22 -13
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-63a8048f.js → kup-manager-fbf034b0.js} +14 -5
- 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-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 +3 -3
- 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-00e65c8b.entry.js +1 -0
- package/dist/ketchup/p-0b47c2e3.js +1 -0
- package/dist/ketchup/{p-6f1dec16.entry.js → p-100446c4.entry.js} +1 -1
- package/dist/ketchup/{p-b91e3bae.entry.js → p-14b668f6.entry.js} +1 -1
- package/dist/ketchup/{p-fb7c0958.entry.js → p-14e878e9.entry.js} +1 -1
- package/dist/ketchup/{p-c8cd012e.entry.js → p-15c1ed53.entry.js} +1 -1
- package/dist/ketchup/{p-260587c5.entry.js → p-19de01e7.entry.js} +1 -1
- package/dist/ketchup/{p-bc789017.entry.js → p-2032b357.entry.js} +1 -1
- package/dist/ketchup/{p-a2d40711.entry.js → p-4bef80af.entry.js} +1 -1
- package/dist/ketchup/{p-e705eb4a.js → p-515c59b6.js} +1 -1
- package/dist/ketchup/{p-9baa1d6d.entry.js → p-58196a26.entry.js} +1 -1
- package/dist/ketchup/{p-11e54526.entry.js → p-5bdc3f74.entry.js} +1 -1
- package/dist/ketchup/{p-7dfc42f0.entry.js → p-64c7546a.entry.js} +1 -1
- package/dist/ketchup/{p-8ba1d444.entry.js → p-66b6d56b.entry.js} +1 -1
- package/dist/ketchup/{p-fe42ae2d.entry.js → p-6782ea5b.entry.js} +1 -1
- package/dist/ketchup/p-679a76b6.entry.js +8 -0
- package/dist/ketchup/{p-610faea9.js → p-69c806c5.js} +1 -1
- package/dist/ketchup/{p-434f2c39.entry.js → p-6e4e479b.entry.js} +1 -1
- package/dist/ketchup/p-6fe18ae9.js +1 -0
- package/dist/ketchup/p-7b5c4ec1.entry.js +1 -0
- package/dist/ketchup/{p-eb090acd.entry.js → p-83d15d86.entry.js} +2 -2
- package/dist/ketchup/{p-e7293ae8.entry.js → p-85835e52.entry.js} +1 -1
- package/dist/ketchup/{p-43f12940.entry.js → p-8ee44f57.entry.js} +1 -1
- package/dist/ketchup/{p-5bf3d60d.entry.js → p-8fad681d.entry.js} +1 -1
- package/dist/ketchup/{p-f87b7768.entry.js → p-91743bb0.entry.js} +1 -1
- package/dist/ketchup/{p-9b200a90.entry.js → p-982d4b01.entry.js} +1 -1
- package/dist/ketchup/{p-8610d5b5.js → p-a9a2f8c7.js} +3 -3
- package/dist/ketchup/{p-3533879b.entry.js → p-af99fb41.entry.js} +1 -1
- package/dist/ketchup/{p-4677cfd1.entry.js → p-b71d58a8.entry.js} +1 -1
- package/dist/ketchup/{p-81743364.entry.js → p-bf3bbbe5.entry.js} +1 -1
- package/dist/ketchup/p-c3595114.js +1 -0
- package/dist/ketchup/{p-d84e4e90.entry.js → p-d52f2836.entry.js} +1 -1
- package/dist/ketchup/{p-7b326bde.entry.js → p-ddfe8edb.entry.js} +1 -1
- package/dist/ketchup/{p-6c41cd20.entry.js → p-e4687067.entry.js} +1 -1
- package/dist/ketchup/{p-6b529a6f.entry.js → p-ec382a7d.entry.js} +2 -2
- package/dist/ketchup/{p-4365fbd3.entry.js → p-f17369c3.entry.js} +3 -3
- package/dist/ketchup/{p-da694791.js → p-f6eba414.js} +1 -1
- package/dist/ketchup/{p-b6beace3.entry.js → p-f738c370.entry.js} +1 -1
- package/dist/ketchup/{p-b068a383.entry.js → p-fe3f5f09.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +6 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -1
- package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +2 -2
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +12 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +1 -4
- package/dist/types/components.d.ts +39 -1
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +5 -1
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +0 -404
- package/dist/esm/kup-image-list.entry.js +0 -400
- package/dist/ketchup/p-102d35b1.js +0 -1
- package/dist/ketchup/p-4a64f9f2.entry.js +0 -1
- package/dist/ketchup/p-4cfa35bc.js +0 -1
- package/dist/ketchup/p-5d28e8e0.entry.js +0 -8
- package/dist/ketchup/p-7375d456.js +0 -1
- package/dist/ketchup/p-93541362.entry.js +0 -1
- package/dist/ketchup/p-fb82cad9.entry.js +0 -1
|
@@ -60,20 +60,20 @@ const HorizontalScroll = /*@__PURE__*/ proxyCustomElement(class HorizontalScroll
|
|
|
60
60
|
var _a, _b;
|
|
61
61
|
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
|
|
62
62
|
const width = +this.listCellWidth.replace('px', '');
|
|
63
|
-
return (h(Fragment, { key: '
|
|
64
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
63
|
+
return (h(Fragment, { key: 'fb206cf716ee8d98be3d4207340a8acf7bb1eabe' }, h("div", { key: 'c064d07c7c591ab138e14fd0ab68f8251460b202', class: "scroll-container" }, this.scrollableTaskList &&
|
|
64
|
+
this.taskListScrollWidth > width && (h("div", { key: '2f97f345f20ba4843e60534d4716b2252b2de297', dir: "ltr", style: {
|
|
65
65
|
margin: this.rtl
|
|
66
66
|
? `0px 20px 0px 20px`
|
|
67
67
|
: `0px 20px 0px 20px`,
|
|
68
68
|
maxWidth: `${width + 20}px`,
|
|
69
69
|
minWidth: `${width + 20}px`,
|
|
70
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
70
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '10644e475d8b633071429046a8c7356942f17db4', style: {
|
|
71
71
|
width: `${this.taskListScrollWidth}px`,
|
|
72
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
72
|
+
}, class: "scroll" }))), h("div", { key: 'b8e0948e0db48509ae98a05d0c148220ece705ff', dir: "ltr", style: {
|
|
73
73
|
margin: this.rtl
|
|
74
74
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
75
75
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
76
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
76
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '72c55a42446f7dd04e94e300ac930dc146162978', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
77
77
|
}
|
|
78
78
|
get rootElement() { return this; }
|
|
79
79
|
static get watchers() { return {
|
|
@@ -316,11 +316,11 @@ const KupGanttCalendar = /*@__PURE__*/ proxyCustomElement(class KupGanttCalendar
|
|
|
316
316
|
this.simplifiedHeader =
|
|
317
317
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
318
318
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
319
|
-
return (h("svg", { key: '
|
|
319
|
+
return (h("svg", { key: '6969f03c8f75737ce4c42469a456069d0e3ced67', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'c77177ccec8559de2e61d59b3fe235843af260ab', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: 'd319809f4de45c9b9ed32c07caeb672cfcab004b', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
320
320
|
? 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))))
|
|
321
321
|
: 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 && (
|
|
322
322
|
// current date indicator
|
|
323
|
-
h("circle", { key: '
|
|
323
|
+
h("circle", { key: '90b8cd4be3694ab5827a64b8bc1b66da57e0c316', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
324
324
|
}
|
|
325
325
|
static get style() { return KupGanttCalendarStyle0; }
|
|
326
326
|
}, [0, "kup-gantt-calendar", {
|
|
@@ -28,7 +28,7 @@ const TaskListTableDefault = /*@__PURE__*/ proxyCustomElement(class TaskListTabl
|
|
|
28
28
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '2de69b875ef1117ca8ad7588d7ca5b5b3b7bf7df', class: "taskListWrapper", style: {
|
|
32
32
|
fontFamily: this.fontFamily,
|
|
33
33
|
fontSize: this.fontSize,
|
|
34
34
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-af2d3d26.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-9b35cce9.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-5882e117.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
@@ -39118,7 +39118,7 @@ var KupEditorProps;
|
|
|
39118
39118
|
(function (KupEditorProps) {
|
|
39119
39119
|
KupEditorProps["autosaveTimer"] = "When a number is specified, the component will emit the kup-editor-save event at regular intervals. The amount of time every interval will last is specified but the prop itself.";
|
|
39120
39120
|
KupEditorProps["editorHeight"] = "Sets the height of the component.";
|
|
39121
|
-
KupEditorProps["initialEditType"] = "Initializes editor with the specified editor type. Suported values: \"markdown\", \"wysiwyg\".";
|
|
39121
|
+
KupEditorProps["initialEditType"] = "Initializes editor with the specified editor type. Suported values: \"markdown\", \"wysiwyg\", \"text\".";
|
|
39122
39122
|
KupEditorProps["initialValue"] = "Initializes editor with the specified string.";
|
|
39123
39123
|
KupEditorProps["isReadOnly"] = "Defaults at false. When set, When set, the editor\u2019s content can\u2019t be changed..";
|
|
39124
39124
|
KupEditorProps["selectedTab"] = "Sets the markdown editor with the specified tab. Supported values: \"preview\", \"write\".";
|
|
@@ -45888,7 +45888,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
45888
45888
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
45889
45889
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
45890
45890
|
};
|
|
45891
|
-
var _KupEditor_autosaveInterval, _KupEditor_hasChanges, _KupEditor_initialContent, _KupEditor_kupManager, _KupEditor_unsavedChangesIndex, _KupEditor_unsavedChangesItem;
|
|
45891
|
+
var _KupEditor_instances, _KupEditor_autosaveInterval, _KupEditor_hasChanges, _KupEditor_initialContent, _KupEditor_kupManager, _KupEditor_unsavedChangesIndex, _KupEditor_unsavedChangesItem, _KupEditor_textareaRef, _KupEditor_isPlainTextEditor, _KupEditor_handleUnsavedChanges;
|
|
45892
45892
|
const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
45893
45893
|
constructor() {
|
|
45894
45894
|
super();
|
|
@@ -45896,6 +45896,7 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
45896
45896
|
this.kupAutoSave = createEvent(this, "kup-editor-autosave", 6);
|
|
45897
45897
|
this.kupReady = createEvent(this, "kup-editor-ready", 6);
|
|
45898
45898
|
this.kupSave = createEvent(this, "kup-editor-save", 6);
|
|
45899
|
+
_KupEditor_instances.add(this);
|
|
45899
45900
|
/*-------------------------------------------------*/
|
|
45900
45901
|
/* I n t e r n a l V a r i a b l e s */
|
|
45901
45902
|
/*-------------------------------------------------*/
|
|
@@ -45912,6 +45913,7 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
45912
45913
|
},
|
|
45913
45914
|
type: 'button',
|
|
45914
45915
|
});
|
|
45916
|
+
_KupEditor_textareaRef.set(this, void 0);
|
|
45915
45917
|
this.editor = null;
|
|
45916
45918
|
this.editorRef = undefined;
|
|
45917
45919
|
this.viewer = null;
|
|
@@ -46057,36 +46059,12 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46057
46059
|
async setProps(props) {
|
|
46058
46060
|
setProps(this, KupEditorProps, props);
|
|
46059
46061
|
}
|
|
46060
|
-
/*-------------------------------------------------*/
|
|
46061
|
-
/* P r i v a t e M e t h o d s */
|
|
46062
|
-
/*-------------------------------------------------*/
|
|
46063
46062
|
createEditor() {
|
|
46064
46063
|
var _a;
|
|
46065
46064
|
const editorProps = {
|
|
46066
46065
|
el: this.editorRef,
|
|
46067
46066
|
events: {
|
|
46068
|
-
change: () =>
|
|
46069
|
-
if (__classPrivateFieldGet(this, _KupEditor_initialContent, "f") !== this.editor.getMarkdown()) {
|
|
46070
|
-
if (!__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46071
|
-
__classPrivateFieldSet(this, _KupEditor_unsavedChangesIndex, this.editor.getUI().getToolbar().getItems()
|
|
46072
|
-
.length - 1, "f");
|
|
46073
|
-
this.editor
|
|
46074
|
-
.getUI()
|
|
46075
|
-
.getToolbar()
|
|
46076
|
-
.insertItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"), __classPrivateFieldGet(this, _KupEditor_unsavedChangesItem, "f"));
|
|
46077
|
-
}
|
|
46078
|
-
__classPrivateFieldSet(this, _KupEditor_hasChanges, true, "f");
|
|
46079
|
-
}
|
|
46080
|
-
else {
|
|
46081
|
-
if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46082
|
-
this.editor
|
|
46083
|
-
.getUI()
|
|
46084
|
-
.getToolbar()
|
|
46085
|
-
.removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
|
|
46086
|
-
}
|
|
46087
|
-
__classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
|
|
46088
|
-
}
|
|
46089
|
-
},
|
|
46067
|
+
change: () => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this),
|
|
46090
46068
|
focus: () => {
|
|
46091
46069
|
if (!this.isReadOnly && !this.showToolbar) {
|
|
46092
46070
|
this.showToolbar = true;
|
|
@@ -46095,7 +46073,7 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46095
46073
|
},
|
|
46096
46074
|
height: (_a = this.editorHeight) !== null && _a !== void 0 ? _a : 'auto',
|
|
46097
46075
|
hideModeSwitch: true,
|
|
46098
|
-
initialEditType: this.initialEditType,
|
|
46076
|
+
initialEditType: this.initialEditType === 'wysiwyg' ? 'wysiwyg' : 'markdown',
|
|
46099
46077
|
initialValue: this.initialValue,
|
|
46100
46078
|
placeholder: 'Type your text here...',
|
|
46101
46079
|
previewStyle: this.previewStyle,
|
|
@@ -46243,12 +46221,17 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46243
46221
|
return toolBarItems;
|
|
46244
46222
|
}
|
|
46245
46223
|
getSaveAndAutoSaveProps() {
|
|
46246
|
-
|
|
46224
|
+
const htmlValue = __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this)
|
|
46225
|
+
? __classPrivateFieldGet(this, _KupEditor_textareaRef, "f").value
|
|
46226
|
+
: this.editor.getHtml();
|
|
46227
|
+
const markdownValue = __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this)
|
|
46228
|
+
? __classPrivateFieldGet(this, _KupEditor_textareaRef, "f").value
|
|
46229
|
+
: this.editor.getMarkdown();
|
|
46247
46230
|
return {
|
|
46248
46231
|
comp: this,
|
|
46249
46232
|
id: this.rootElement.id,
|
|
46250
|
-
htmlValue
|
|
46251
|
-
markdownValue
|
|
46233
|
+
htmlValue,
|
|
46234
|
+
markdownValue,
|
|
46252
46235
|
};
|
|
46253
46236
|
}
|
|
46254
46237
|
/*-------------------------------------------------*/
|
|
@@ -46272,7 +46255,9 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46272
46255
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
|
|
46273
46256
|
}
|
|
46274
46257
|
render() {
|
|
46275
|
-
return (h(Host, { key: '
|
|
46258
|
+
return (h(Host, { key: '031333deffb0732e544076f155555bb62bc53190' }, h("div", { key: '0f312ec339138f3a62afdf742660606526d11e70', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }), __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this) && (h("textarea", { key: '0e2bc200ff30a15f624299a9577ec910134dc3d1', id: '' + this.rootElement.id + '-textarea', value: this.initialValue, ref: (el) => (__classPrivateFieldSet(this, _KupEditor_textareaRef, el, "f")), onInput: (e) => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this, e.target.value), placeholder: "Type your text here...", readOnly: this.isReadOnly, style: {
|
|
46259
|
+
height: this.editorHeight || 'auto',
|
|
46260
|
+
}, class: "kup-editor-textarea" })))));
|
|
46276
46261
|
}
|
|
46277
46262
|
disconnectedCallback() {
|
|
46278
46263
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").theme.unregister(this);
|
|
@@ -46293,7 +46278,7 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46293
46278
|
}, [0, "kup-editor", {
|
|
46294
46279
|
"autosaveTimer": [2, "autosave-timer"],
|
|
46295
46280
|
"editorHeight": [1, "editor-height"],
|
|
46296
|
-
"initialEditType": [
|
|
46281
|
+
"initialEditType": [513, "initial-edit-type"],
|
|
46297
46282
|
"initialValue": [1, "initial-value"],
|
|
46298
46283
|
"isReadOnly": [4, "is-read-only"],
|
|
46299
46284
|
"previewStyle": [1, "preview-style"],
|
|
@@ -46319,12 +46304,37 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46319
46304
|
"showToolbar": ["onShowToolBarChanged"],
|
|
46320
46305
|
"autosaveTimer": ["onAutosaveTimerChanged"]
|
|
46321
46306
|
}]);
|
|
46322
|
-
_KupEditor_autosaveInterval = new WeakMap(), _KupEditor_hasChanges = new WeakMap(), _KupEditor_initialContent = new WeakMap(), _KupEditor_kupManager = new WeakMap(), _KupEditor_unsavedChangesIndex = new WeakMap(), _KupEditor_unsavedChangesItem = new WeakMap()
|
|
46307
|
+
_KupEditor_autosaveInterval = new WeakMap(), _KupEditor_hasChanges = new WeakMap(), _KupEditor_initialContent = new WeakMap(), _KupEditor_kupManager = new WeakMap(), _KupEditor_unsavedChangesIndex = new WeakMap(), _KupEditor_unsavedChangesItem = new WeakMap(), _KupEditor_textareaRef = new WeakMap(), _KupEditor_instances = new WeakSet(), _KupEditor_isPlainTextEditor = function _KupEditor_isPlainTextEditor() {
|
|
46308
|
+
return this.initialEditType === 'text';
|
|
46309
|
+
}, _KupEditor_handleUnsavedChanges = function _KupEditor_handleUnsavedChanges(value) {
|
|
46310
|
+
value = value !== undefined ? value : this.editor.getMarkdown();
|
|
46311
|
+
if (__classPrivateFieldGet(this, _KupEditor_textareaRef, "f")) {
|
|
46312
|
+
if (__classPrivateFieldGet(this, _KupEditor_initialContent, "f") !== value) {
|
|
46313
|
+
if (!__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46314
|
+
__classPrivateFieldSet(this, _KupEditor_unsavedChangesIndex, this.editor.getUI().getToolbar().getItems().length - 1, "f");
|
|
46315
|
+
this.editor
|
|
46316
|
+
.getUI()
|
|
46317
|
+
.getToolbar()
|
|
46318
|
+
.insertItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"), __classPrivateFieldGet(this, _KupEditor_unsavedChangesItem, "f"));
|
|
46319
|
+
}
|
|
46320
|
+
__classPrivateFieldSet(this, _KupEditor_hasChanges, true, "f");
|
|
46321
|
+
}
|
|
46322
|
+
else {
|
|
46323
|
+
if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46324
|
+
this.editor
|
|
46325
|
+
.getUI()
|
|
46326
|
+
.getToolbar()
|
|
46327
|
+
.removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
|
|
46328
|
+
}
|
|
46329
|
+
__classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
|
|
46330
|
+
}
|
|
46331
|
+
}
|
|
46332
|
+
};
|
|
46323
46333
|
function defineCustomElement() {
|
|
46324
46334
|
if (typeof customElements === "undefined") {
|
|
46325
46335
|
return;
|
|
46326
46336
|
}
|
|
46327
|
-
const components = ["kup-editor", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
46337
|
+
const components = ["kup-editor", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-form", "kup-gauge", "kup-image", "kup-image-list", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
46328
46338
|
components.forEach(tagName => { switch (tagName) {
|
|
46329
46339
|
case "kup-editor":
|
|
46330
46340
|
if (!customElements.get(tagName)) {
|
|
@@ -46333,90 +46343,95 @@ function defineCustomElement() {
|
|
|
46333
46343
|
break;
|
|
46334
46344
|
case "kup-autocomplete":
|
|
46335
46345
|
if (!customElements.get(tagName)) {
|
|
46336
|
-
defineCustomElement$
|
|
46346
|
+
defineCustomElement$u();
|
|
46337
46347
|
}
|
|
46338
46348
|
break;
|
|
46339
46349
|
case "kup-badge":
|
|
46340
46350
|
if (!customElements.get(tagName)) {
|
|
46341
|
-
defineCustomElement$
|
|
46351
|
+
defineCustomElement$t();
|
|
46342
46352
|
}
|
|
46343
46353
|
break;
|
|
46344
46354
|
case "kup-button":
|
|
46345
46355
|
if (!customElements.get(tagName)) {
|
|
46346
|
-
defineCustomElement$
|
|
46356
|
+
defineCustomElement$s();
|
|
46347
46357
|
}
|
|
46348
46358
|
break;
|
|
46349
46359
|
case "kup-button-list":
|
|
46350
46360
|
if (!customElements.get(tagName)) {
|
|
46351
|
-
defineCustomElement$
|
|
46361
|
+
defineCustomElement$r();
|
|
46352
46362
|
}
|
|
46353
46363
|
break;
|
|
46354
46364
|
case "kup-card":
|
|
46355
46365
|
if (!customElements.get(tagName)) {
|
|
46356
|
-
defineCustomElement$
|
|
46366
|
+
defineCustomElement$q();
|
|
46357
46367
|
}
|
|
46358
46368
|
break;
|
|
46359
46369
|
case "kup-chart":
|
|
46360
46370
|
if (!customElements.get(tagName)) {
|
|
46361
|
-
defineCustomElement$
|
|
46371
|
+
defineCustomElement$p();
|
|
46362
46372
|
}
|
|
46363
46373
|
break;
|
|
46364
46374
|
case "kup-checkbox":
|
|
46365
46375
|
if (!customElements.get(tagName)) {
|
|
46366
|
-
defineCustomElement$
|
|
46376
|
+
defineCustomElement$o();
|
|
46367
46377
|
}
|
|
46368
46378
|
break;
|
|
46369
46379
|
case "kup-chip":
|
|
46370
46380
|
if (!customElements.get(tagName)) {
|
|
46371
|
-
defineCustomElement$
|
|
46381
|
+
defineCustomElement$n();
|
|
46372
46382
|
}
|
|
46373
46383
|
break;
|
|
46374
46384
|
case "kup-color-picker":
|
|
46375
46385
|
if (!customElements.get(tagName)) {
|
|
46376
|
-
defineCustomElement$
|
|
46386
|
+
defineCustomElement$m();
|
|
46377
46387
|
}
|
|
46378
46388
|
break;
|
|
46379
46389
|
case "kup-combobox":
|
|
46380
46390
|
if (!customElements.get(tagName)) {
|
|
46381
|
-
defineCustomElement$
|
|
46391
|
+
defineCustomElement$l();
|
|
46382
46392
|
}
|
|
46383
46393
|
break;
|
|
46384
46394
|
case "kup-data-table":
|
|
46385
46395
|
if (!customElements.get(tagName)) {
|
|
46386
|
-
defineCustomElement$
|
|
46396
|
+
defineCustomElement$k();
|
|
46387
46397
|
}
|
|
46388
46398
|
break;
|
|
46389
46399
|
case "kup-date-picker":
|
|
46390
46400
|
if (!customElements.get(tagName)) {
|
|
46391
|
-
defineCustomElement$
|
|
46401
|
+
defineCustomElement$j();
|
|
46392
46402
|
}
|
|
46393
46403
|
break;
|
|
46394
46404
|
case "kup-dialog":
|
|
46395
46405
|
if (!customElements.get(tagName)) {
|
|
46396
|
-
defineCustomElement$
|
|
46406
|
+
defineCustomElement$i();
|
|
46397
46407
|
}
|
|
46398
46408
|
break;
|
|
46399
46409
|
case "kup-dropdown-button":
|
|
46400
46410
|
if (!customElements.get(tagName)) {
|
|
46401
|
-
defineCustomElement$
|
|
46411
|
+
defineCustomElement$h();
|
|
46402
46412
|
}
|
|
46403
46413
|
break;
|
|
46404
46414
|
case "kup-file-upload":
|
|
46405
46415
|
if (!customElements.get(tagName)) {
|
|
46406
|
-
defineCustomElement$
|
|
46416
|
+
defineCustomElement$g();
|
|
46407
46417
|
}
|
|
46408
46418
|
break;
|
|
46409
46419
|
case "kup-form":
|
|
46410
46420
|
if (!customElements.get(tagName)) {
|
|
46411
|
-
defineCustomElement$
|
|
46421
|
+
defineCustomElement$f();
|
|
46412
46422
|
}
|
|
46413
46423
|
break;
|
|
46414
46424
|
case "kup-gauge":
|
|
46415
46425
|
if (!customElements.get(tagName)) {
|
|
46416
|
-
defineCustomElement$
|
|
46426
|
+
defineCustomElement$e();
|
|
46417
46427
|
}
|
|
46418
46428
|
break;
|
|
46419
46429
|
case "kup-image":
|
|
46430
|
+
if (!customElements.get(tagName)) {
|
|
46431
|
+
defineCustomElement$d();
|
|
46432
|
+
}
|
|
46433
|
+
break;
|
|
46434
|
+
case "kup-image-list":
|
|
46420
46435
|
if (!customElements.get(tagName)) {
|
|
46421
46436
|
defineCustomElement$c();
|
|
46422
46437
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import {
|
|
2
|
+
import { aq as editableTypes, ar as kupTypes, R as FCellClasses, ad as FCellTypes, f as KupThemeColorValues, ao as CHIAdapter, am as RADAdapter, al as CMBandACPAdapter, as as KupTagNames, F as FCellShapes, ai as getCellValueForDisplay, a as KupComponentSizing, at as fullWidthFieldsComps, I as ItemsDisplayMode, au as autoCenterComps, av as adaptContentToDisplayMode, aw as FCellEvents, ax as isForceUppercase, ay as isForceLowercase, h as KupDebugCategory } from './kup-manager-fbf034b0.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
5
|
-
import { F as FChipType, d as FChip } from './f-chip-
|
|
5
|
+
import { F as FChipType, d as FChip } from './f-chip-a030d384.js';
|
|
6
6
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
7
|
-
import { F as FObjectField } from './f-object-field-
|
|
8
|
-
import { F as FTextField } from './f-text-field-
|
|
7
|
+
import { F as FObjectField } from './f-object-field-badf11fe.js';
|
|
8
|
+
import { F as FTextField } from './f-text-field-188fd143.js';
|
|
9
9
|
|
|
10
10
|
var FRadioType;
|
|
11
11
|
(function (FRadioType) {
|
|
@@ -597,11 +597,13 @@ const MainRADAdapter = (options, _fieldLabel, currentValue, cell) => {
|
|
|
597
597
|
return Object.assign(Object.assign({}, cell.data), newData);
|
|
598
598
|
};
|
|
599
599
|
const MainCMBandACPAdapter = (options, fieldLabel, currentValue, cell, _id) => {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
600
|
+
if (options) {
|
|
601
|
+
const configCMBandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
602
|
+
configCMBandACP.data['kup-list'].data = optionsTreeComboAdapter(options, currentValue);
|
|
603
|
+
if (!cell.data) {
|
|
604
|
+
return configCMBandACP;
|
|
605
|
+
}
|
|
606
|
+
return Object.assign(Object.assign({}, configCMBandACP), cell.data);
|
|
605
607
|
}
|
|
606
608
|
};
|
|
607
609
|
const optionsTreeComboAdapter = (options, currentValue) => {
|
|
@@ -976,6 +978,9 @@ function setCell(cellType, subcomponentProps, content, classObj, cell, column, p
|
|
|
976
978
|
return h(FSwitch, Object.assign({}, subcomponentProps));
|
|
977
979
|
case FCellTypes.LABEL:
|
|
978
980
|
return h(FLabel, { text: cell.value, classes: "f-cell__text" });
|
|
981
|
+
case FCellTypes.IMAGE_LIST:
|
|
982
|
+
const activeNode = cell.data.data.find((node) => node.value === cell.value) || null;
|
|
983
|
+
return (h("kup-image-list", Object.assign({ ripple: true }, cell.data, { "onKup-imagelist-click": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), activeNode: activeNode })));
|
|
979
984
|
default:
|
|
980
985
|
return (h("div", { class: "f-cell__text" }, cell.data.displayMode
|
|
981
986
|
? adaptContentToDisplayMode(cell, content, '-')
|
|
@@ -1260,6 +1265,9 @@ function cellEvent(e, props, cellType, cellEventName) {
|
|
|
1260
1265
|
cell.data.data = e.detail.comp.data;
|
|
1261
1266
|
}
|
|
1262
1267
|
break;
|
|
1268
|
+
case FCellTypes.IMAGE_LIST:
|
|
1269
|
+
value = e.detail
|
|
1270
|
+
.details.cell.value;
|
|
1263
1271
|
}
|
|
1264
1272
|
if (cell.obj) {
|
|
1265
1273
|
cell.obj.k = value === null || value === void 0 ? void 0 : value.toString();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
3
|
-
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-
|
|
3
|
+
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-fbf034b0.js';
|
|
4
4
|
|
|
5
5
|
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
6
6
|
const { id, value } = item;
|
|
@@ -146,6 +146,7 @@ var FChipType;
|
|
|
146
146
|
FChipType["CHOICE"] = "choice";
|
|
147
147
|
FChipType["FILTER"] = "filter";
|
|
148
148
|
FChipType["INPUT"] = "input";
|
|
149
|
+
// HAS_FILTER = 'has-filter',
|
|
149
150
|
FChipType["STANDARD"] = "standard";
|
|
150
151
|
})(FChipType || (FChipType = {}));
|
|
151
152
|
/**
|
|
@@ -239,8 +240,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
239
240
|
}
|
|
240
241
|
}
|
|
241
242
|
function createChip(chip, disabled) {
|
|
243
|
+
var _a;
|
|
242
244
|
const onlyIcon = !!(chip.icon && !chip.value);
|
|
243
|
-
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled
|
|
245
|
+
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled ? 'chip--disabled' : ''}`;
|
|
244
246
|
let iconEl = [];
|
|
245
247
|
let iconClass = 'chip__icon chip__icon--leading';
|
|
246
248
|
if (isFilter || isChoice) {
|
|
@@ -272,6 +274,8 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
272
274
|
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.displayMode, ' - ');
|
|
273
275
|
return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
|
|
274
276
|
? props.onClick[i].bind(props.onClick[i], chip)
|
|
277
|
+
: null, onContextMenu: props.onContextMenu && props.onContextMenu[i]
|
|
278
|
+
? props.onContextMenu[i].bind(props.onContextMenu[i], chip)
|
|
275
279
|
: null, role: "row", title: chip.title ? chip.title : '' },
|
|
276
280
|
h("span", { class: "chip-set__indent" }),
|
|
277
281
|
iconEl,
|
|
@@ -284,6 +288,11 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
284
288
|
? props.onFocus[i].bind(props.onFocus[i], chip)
|
|
285
289
|
: null },
|
|
286
290
|
h("span", { class: "chip__text" }, chipText))),
|
|
291
|
+
((_a = props.hasFilter) === null || _a === void 0 ? void 0 : _a[i]) && (h("span", { role: "gridcell" },
|
|
292
|
+
h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.FILTER_REMOVE.replace('--', '')}`, onClick: props.onClearFilterClick &&
|
|
293
|
+
props.onClearFilterClick[i]
|
|
294
|
+
? props.onClearFilterClick[i].bind(props.onClearFilterClick[i], chip)
|
|
295
|
+
: null }))),
|
|
287
296
|
isInput ? (h("span", { role: "gridcell" },
|
|
288
297
|
h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onIconClick && props.onIconClick[i]
|
|
289
298
|
? props.onIconClick[i].bind(props.onIconClick[i], chip)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
|
-
import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-
|
|
2
|
+
import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-fbf034b0.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
+
import { F as FTextField } from './f-text-field-188fd143.js';
|
|
6
6
|
|
|
7
7
|
const STATE = new WeakMap();
|
|
8
8
|
const FObjectField = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
|
-
import { I as ItemsDisplayMode,
|
|
2
|
+
import { I as ItemsDisplayMode, az as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-fbf034b0.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { d as KupThemeIconValues } from './kup-manager-
|
|
2
|
+
import { d as KupThemeIconValues } from './kup-manager-fbf034b0.js';
|
|
3
3
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
4
4
|
|
|
5
5
|
const dom = document.documentElement;
|
|
@@ -52,10 +52,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
52
52
|
}
|
|
53
53
|
switch(bundleId) {
|
|
54
54
|
|
|
55
|
-
case 'kup-
|
|
55
|
+
case 'kup-autocomplete_30':
|
|
56
56
|
return import(
|
|
57
57
|
/* webpackMode: "lazy" */
|
|
58
|
-
'./kup-
|
|
58
|
+
'./kup-autocomplete_30.entry.js').then(processMod, consoleError);
|
|
59
59
|
case 'kup-accordion':
|
|
60
60
|
return import(
|
|
61
61
|
/* webpackMode: "lazy" */
|
|
@@ -96,10 +96,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
96
96
|
return import(
|
|
97
97
|
/* webpackMode: "lazy" */
|
|
98
98
|
'./kup-iframe.entry.js').then(processMod, consoleError);
|
|
99
|
-
case 'kup-image-list':
|
|
100
|
-
return import(
|
|
101
|
-
/* webpackMode: "lazy" */
|
|
102
|
-
'./kup-image-list.entry.js').then(processMod, consoleError);
|
|
103
99
|
case 'kup-input-panel':
|
|
104
100
|
return import(
|
|
105
101
|
/* webpackMode: "lazy" */
|
package/dist/esm/index.js
CHANGED