@sme.up/ketchup 10.3.6 → 10.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-cell-e5ff9c98.js → f-cell-5c1b2c66.js} +21 -13
- package/dist/cjs/{f-chip-f35c1b42.js → f-chip-b4aebf7c.js} +1 -1
- package/dist/cjs/{f-object-field-04065abd.js → f-object-field-62195164.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3ada5c71.js → f-paginator-utils-54bc1b31.js} +9 -7
- package/dist/cjs/{f-text-field-0eda27cd.js → f-text-field-03e975ad.js} +2 -5
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +131 -83
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +7 -4
- 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-0b79fb90.js → kup-data-table-helper-72dc3004.js} +3 -3
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +48 -6
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-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 +168 -28
- 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-5cdad0f5.js → kup-manager-bb0a1490.js} +6 -10
- 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/echart.js +343 -169
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +7 -4
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -11
- package/dist/collection/components/kup-echart/kup-echart.js +47 -5
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -1
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +13 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +181 -25
- 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 +182 -22
- 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-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.js +13 -7
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -1
- package/dist/collection/f-components/f-radio/f-radio.js +3 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -4
- package/dist/collection/utils/cell-utils.js +2 -7
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +7 -4
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-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 +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +166 -26
- 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-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 +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-b45eb398.js → p-0448c650.js} +13 -13
- package/dist/components/{p-7aa9d49d.js → p-072ba014.js} +7 -7
- package/dist/components/{p-28f24feb.js → p-09e09e43.js} +15 -15
- package/dist/components/{p-af0a6cfe.js → p-47eafd24.js} +2 -2
- package/dist/components/{p-33cf89e0.js → p-57069e5c.js} +1 -1
- package/dist/components/{p-c061deb1.js → p-66800070.js} +166 -101
- package/dist/components/{p-28774fba.js → p-73b82fab.js} +4 -4
- package/dist/components/{p-57a120a5.js → p-78086e86.js} +1 -1
- package/dist/components/{p-46ec5845.js → p-7b80651f.js} +1 -1
- package/dist/components/{p-34ed7a73.js → p-7fa7072d.js} +2 -2
- package/dist/components/{p-b87bd975.js → p-96d517a7.js} +5 -5
- package/dist/components/{p-df77b97b.js → p-970526a0.js} +6 -10
- package/dist/components/{p-daa07bb7.js → p-9c59685c.js} +1 -1
- package/dist/components/{p-ae3013bd.js → p-a266fbc3.js} +2 -2
- package/dist/components/{p-5db0bb55.js → p-a6da9edf.js} +2 -2
- package/dist/components/{p-edac29ad.js → p-a70b7f3e.js} +2 -2
- package/dist/components/{p-394a36af.js → p-bba3ee8c.js} +3 -3
- package/dist/components/{p-398198d3.js → p-e8d7edaf.js} +49 -7
- package/dist/components/{p-5e31c839.js → p-eee85021.js} +2 -2
- package/dist/components/{p-d3a8c2ba.js → p-f836c3ed.js} +2 -2
- package/dist/esm/{f-cell-d72f5a9c.js → f-cell-3f9d4de0.js} +21 -13
- package/dist/esm/{f-chip-663db488.js → f-chip-28fde4c9.js} +1 -1
- package/dist/esm/{f-object-field-afe7604f.js → f-object-field-24f67438.js} +2 -2
- package/dist/esm/{f-paginator-utils-b6924c55.js → f-paginator-utils-3e2a0dcd.js} +9 -7
- package/dist/esm/{f-text-field-40f1ad00.js → f-text-field-f64cc53e.js} +2 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_30.entry.js +131 -83
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +7 -4
- 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-8f020338.js → kup-data-table-helper-edbee21a.js} +3 -3
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +48 -6
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- 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 +168 -28
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-b367be3b.js → kup-manager-7acd779a.js} +6 -10
- 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-8bc2888a.entry.js → p-001bf9b3.entry.js} +1 -1
- package/dist/ketchup/p-003617f2.entry.js +1 -0
- package/dist/ketchup/{p-17b25b3d.entry.js → p-00e3a2c7.entry.js} +1 -1
- package/dist/ketchup/{p-ebf955a8.entry.js → p-05da127e.entry.js} +1 -1
- package/dist/ketchup/{p-4735c623.entry.js → p-0a4869d8.entry.js} +1 -1
- package/dist/ketchup/{p-fac09a35.entry.js → p-0f3e905b.entry.js} +1 -1
- package/dist/ketchup/{p-b0550f15.entry.js → p-0f78bd11.entry.js} +2 -2
- package/dist/ketchup/p-216b5deb.js +1 -0
- package/dist/ketchup/p-3823781f.entry.js +1 -0
- package/dist/ketchup/{p-def6d8b4.entry.js → p-39ab2443.entry.js} +1 -1
- package/dist/ketchup/{p-b9350213.entry.js → p-4e8d34ad.entry.js} +1 -1
- package/dist/ketchup/{p-75deebdb.entry.js → p-561db8b0.entry.js} +1 -1
- package/dist/ketchup/{p-c2531d28.entry.js → p-5c538668.entry.js} +1 -1
- package/dist/ketchup/{p-9ff4c3e5.entry.js → p-5cdbe34b.entry.js} +1 -1
- package/dist/ketchup/p-607b56b3.entry.js +8 -0
- package/dist/ketchup/{p-f2bfb53c.entry.js → p-60c3a948.entry.js} +1 -1
- package/dist/ketchup/{p-62edfd5a.entry.js → p-6429a3bc.entry.js} +1 -1
- package/dist/ketchup/{p-d696e519.js → p-84a053a8.js} +1 -1
- package/dist/ketchup/{p-c0928fec.entry.js → p-864d384f.entry.js} +1 -1
- package/dist/ketchup/{p-43bfca60.entry.js → p-90345661.entry.js} +2 -2
- package/dist/ketchup/{p-928adf93.entry.js → p-91184407.entry.js} +1 -1
- package/dist/ketchup/{p-5bf264dd.entry.js → p-92d5502a.entry.js} +1 -1
- package/dist/ketchup/{p-ec1129bf.entry.js → p-9432bc02.entry.js} +1 -1
- package/dist/ketchup/{p-6e6d3296.entry.js → p-9667a3f6.entry.js} +1 -1
- package/dist/ketchup/{p-26a20d81.entry.js → p-98865092.entry.js} +1 -1
- package/dist/ketchup/{p-4c8edfb1.entry.js → p-a5589352.entry.js} +1 -1
- package/dist/ketchup/{p-6b185239.entry.js → p-ab5dcfce.entry.js} +1 -1
- package/dist/ketchup/p-b7b54a12.js +1 -0
- package/dist/ketchup/{p-32ced542.entry.js → p-bbdc671b.entry.js} +1 -1
- package/dist/ketchup/p-c00b4f52.js +1 -0
- package/dist/ketchup/p-c38d19f9.js +1 -0
- package/dist/ketchup/{p-26206b66.entry.js → p-cb4c3ec6.entry.js} +1 -1
- package/dist/ketchup/{p-9c13c092.entry.js → p-d643a6b0.entry.js} +1 -1
- package/dist/ketchup/{p-0666ba27.entry.js → p-d7bfb6da.entry.js} +2 -2
- package/dist/ketchup/{p-51cc836a.js → p-e3098793.js} +1 -1
- package/dist/ketchup/p-ebcd12d5.js +1 -0
- package/dist/ketchup/{p-941beedb.entry.js → p-ebcf33a3.entry.js} +1 -1
- package/dist/ketchup/{p-006b5782.entry.js → p-ee752492.entry.js} +1 -1
- package/dist/ketchup/{p-4af4b7d3.entry.js → p-f446a5dd.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -1
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +6 -1
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +31 -5
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
- package/dist/types/components.d.ts +55 -11
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/utils/cell-utils.d.ts +3 -1
- package/package.json +4 -1
- package/dist/ketchup/p-058def11.entry.js +0 -1
- package/dist/ketchup/p-29c07479.entry.js +0 -8
- package/dist/ketchup/p-2e012afe.js +0 -1
- package/dist/ketchup/p-8be7a37f.js +0 -1
- package/dist/ketchup/p-b39c7a22.js +0 -1
- package/dist/ketchup/p-c109ce22.js +0 -1
- package/dist/ketchup/p-d49f1a0d.js +0 -1
- package/dist/ketchup/p-eb771c1b.entry.js +0 -1
|
@@ -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: '15d6401730e0f2fa9fef8b9d25d0fad2f9c80e62', 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: '8457770216910c3ac143ef21abaf8ac3af292d80', class: "grid" }, h("g", { key: 'eb4fa2b2561b38678bd76652c4b29257c83e9673', class: "rows" }, gridRows), h("g", { key: '467972ed8379d0d81f9cd093f5290426551da51a', class: "rowLines" }, rowLines), h("g", { key: '0a3e0808f240aacc430a462281defa95f0490542', class: "ticks" }, ticks)), h("g", { key: '46e17c947f42fad3546158f68d27177c5ddf11cb', class: "content" }, this.currentDateIndicator && (h("rect", { key: '4c4674f8d1137b3fb7f71e7321975ce35e677af4', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: 'b7c01acefae65d8ecf48c6a5c949bc3a3fea8e0c', 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: '04d8f68e95536914c109b253dc5c3e12f60f975b', 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: 'e5824ca36bfb53ad9a52cfcac9507c91b86b7c43', 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: 'f970fe6a4ac6e192f5fc012f39a027866fdfa6cf', 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: 'a1de0371e5f6db61fa0d2cfdd4f2072799d490f3' }, h("div", { key: 'eaa300f7e8ccc68935482c59022ed81027c2eb62', class: "scroll-container" }, this.scrollableTaskList &&
|
|
57
|
+
this.taskListScrollWidth > width && (h("div", { key: '234a646226e466d2d629afa3eb223676f1c4c291', 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: '8fc96a9408d05d7e6106de2e37cdc5c97966aaab', style: {
|
|
64
64
|
width: `${this.taskListScrollWidth}px`,
|
|
65
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
65
|
+
}, class: "scroll" }))), h("div", { key: '6246de0f7f602ee5de894d14dd1b06a13beb3ad1', 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: '356cb5a2da83d6811866404b19ac02d917edc065', 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: '211d49d829c71b61a82b45f8e66f502d0e19ad4d', class: "planner-render" }, h("kup-switcher", { key: '729c5c3c01fa6e9d512f70dc784b42cdc27ca6f4', 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: 'c41a40a0887cbe4f045ff4a5446c60fd2c81f750', 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: '69318d1150aa4d819bd02d27b6fd1b77ddc25d0e', 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: '149b218ceb53348f58ddc834cf2a31accb4be9ea', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: 'a1344fc81e46f8aee02cd7dd2f37ea50fde4c371', 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: 'e85f2ce4aaabbcbd3e1bd070836164818c6b3227', 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: '7444e2d31c716d88d97f50dcf85b94da6a006cae' }, 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: 'c47ee384e374c179e86bd9442b9f82dfce4bfea3', class: "ganttTable", style: {
|
|
11
11
|
fontFamily: this.fontFamily,
|
|
12
12
|
fontSize: this.fontSize,
|
|
13
|
-
} }, h("div", { key: '
|
|
13
|
+
} }, h("div", { key: '7e1276339822ecf67853a7187d64b44e1304aa80', class: "ganttTable_Header", style: {
|
|
14
14
|
height: `${this.headerHeight - 2}px`,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '665a2129fd7f8d649e233844e4f2c7953d97890d', class: "ganttTable_HeaderItem", style: {
|
|
16
16
|
minWidth: this.rowWidth,
|
|
17
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
17
|
+
} }, "\u00A0Name"), h("div", { key: '4ae73cb9ae5389d88415457f26b42396cb0091dd', 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: 'f6e6186d81268d1b9cd0a0a8738a18c76f453ffe', class: "ganttTable_HeaderItem", style: {
|
|
21
21
|
minWidth: this.rowWidth,
|
|
22
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
22
|
+
} }, "\u00A0From"), h("div", { key: '60b7a15ce2686b213ce49883b551daae9b8e0fc1', 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: '7459e68a75fbb671fd837f0ba53797607b631582', 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: '21221626aac5257800ec2cb4a3f5a8ac8a8ed457', 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: '5b64f23e2882b1060b86c68f72b86885219fe96d', 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: '160e599103d0a815e4363e0baeb99c27e0a804fb', 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: '089e9cfa6d9236e99b78618b1c477b4b45d68b6c', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: '9f81c91ae6f981c7a1b4e012a687d02400f49c94', 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: 'f5c5fa4c29207f403785e57e7de8d119cd20899b', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '2bbf90f106ac085ed28e8b940d92fff7b8fa86bd', 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: '3f8e772f0d749ed05600ed69340b4d334f62d279', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: 'f32d96505eac96da5d1a87cc3248626f408b3a35', 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: '941c4a3cdbf82645a714eba63f33c6a813771da4', 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: 'f97c24906454df30d9ec04cd8ef5081469e97dce', 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: 'c592bc740d203e9f767ea8297cab70d43ff24129' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: '5f98fcbdd690d77ddd7f042a3753cc9b78fb30be', 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: '94a226fb07053cb0c122582eb5d64c3a73df2ff6' }, h("style", { key: 'debd9e375096b0c6ac1cdc333b86f07896fd91e2' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1aceed94fc1ff58e3662f96bb5422dbb95b0af4d', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: 'a34d56d8f05f35d24f0e94987bc952f466082a1f' }, 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: '752b5cc4e42d65c838c7d8a58de84ff846950ef2', 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: 'b4103ceb6f27d434447c69c8fff7572374e52d87' }, h("style", { key: 'c65cd936b7e5510718b9e2852af9ef8fac04e0b8' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b9e228a246590a6ad05b228319846b9937aed321', id: componentWrapperId }, h(FRating, Object.assign({ key: '505d9988d34aa16060c392e8a97e15e4b72680ba' }, 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: 'b653204195546d6bbd439e2ebc25d5ec9ab1b3ce', "kup-visible": this.visible }, h("style", { key: 'c1d6ba70b405290df39ae96b2f6e58bf42adc512' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e1c866f6a7d0f17bc4d6cb03a3ba899f4b050970', id: componentWrapperId }, h("div", { key: 'fbfca749586aef3f1b4845943002de19a5873bf9', class: snackbarClass }, h("div", { key: 'e7a4c57114b272d0eb2a398353fff322495c2a16', class: "snackbar__text__block" }, h("div", { key: 'c118ce5ceeb6170acf2ad874c106608983d0ab4b', class: `${snackbarClass}__header` }, this.header), h("div", { key: 'ca3cf0552f6373f50308d9b405ae28041ee9d276', 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);
|
|
@@ -96,59 +96,59 @@ export class KupSpinner {
|
|
|
96
96
|
spinnerClass = 'spinner-v' + this.layout;
|
|
97
97
|
if (this.layout === 7) {
|
|
98
98
|
spinnerEl = [
|
|
99
|
-
h("div", { key: '
|
|
100
|
-
h("div", { key: '
|
|
101
|
-
h("div", { key: '
|
|
102
|
-
h("div", { key: '
|
|
103
|
-
h("div", { key: '
|
|
104
|
-
h("div", { key: '
|
|
99
|
+
h("div", { key: '976b54b2682a715ab838bafbd9efc5980f5212f3', class: "sk-spinner-v7-dot" }),
|
|
100
|
+
h("div", { key: '6f97965d76d494469a6878ae72d747d5e18c70ea', class: "sk-spinner-v7-dot" }),
|
|
101
|
+
h("div", { key: '4554ce59f9992eb41837eb1a5bb3e1658105c503', class: "sk-spinner-v7-dot" }),
|
|
102
|
+
h("div", { key: 'a37de45a0684574dea995fe18cb5a816d776c8b4', class: "sk-spinner-v7-dot" }),
|
|
103
|
+
h("div", { key: 'ef5cced1953be2c018b9114708e8cf0181d2ec10', class: "sk-spinner-v7-dot" }),
|
|
104
|
+
h("div", { key: '2a4b5616f967c538fd97df2ae36796f43ee49d42', class: "sk-spinner-v7-dot" }),
|
|
105
105
|
];
|
|
106
106
|
}
|
|
107
107
|
if (this.layout === 9) {
|
|
108
108
|
spinnerEl = [
|
|
109
|
-
h("div", { key: '
|
|
110
|
-
h("div", { key: '
|
|
109
|
+
h("div", { key: 'f2688905d587fb4444ab0e6999f0f4cf0699cb8a', class: "sk-spinner-v9-bounce1" }),
|
|
110
|
+
h("div", { key: 'e22161a648cb24d4b013728d45836b639ebfc0a4', class: "sk-spinner-v9-bounce2" }),
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
113
|
if (this.layout === 10) {
|
|
114
114
|
spinnerEl = [
|
|
115
|
-
h("div", { key: '
|
|
116
|
-
h("div", { key: '
|
|
115
|
+
h("div", { key: 'de5e7cecb6e8b59a8e3a6113f8a0baffdcf05fe6', class: "sk-spinner-v10-cube1" }),
|
|
116
|
+
h("div", { key: 'ab1947c193732753b345245c1bbd64f097a412a8', class: "sk-spinner-v10-cube2" }),
|
|
117
117
|
];
|
|
118
118
|
}
|
|
119
119
|
if (this.layout === 12) {
|
|
120
120
|
spinnerEl = [
|
|
121
|
-
h("div", { key: '
|
|
122
|
-
h("div", { key: '
|
|
121
|
+
h("div", { key: '45fd80cfa818b4df9c1bf47a977a69c453e31507', class: "sk-spinner-v12-dot1" }),
|
|
122
|
+
h("div", { key: 'e5fb43b9dc6a9867ee0b1fd201c3d2027f004fb7', class: "sk-spinner-v12-dot2" }),
|
|
123
123
|
];
|
|
124
124
|
}
|
|
125
125
|
if (this.layout === 13) {
|
|
126
126
|
spinnerEl = [
|
|
127
|
-
h("div", { key: '
|
|
128
|
-
h("div", { key: '
|
|
129
|
-
h("div", { key: '
|
|
130
|
-
h("div", { key: '
|
|
131
|
-
h("div", { key: '
|
|
132
|
-
h("div", { key: '
|
|
133
|
-
h("div", { key: '
|
|
134
|
-
h("div", { key: '
|
|
135
|
-
h("div", { key: '
|
|
127
|
+
h("div", { key: '310fd685b049d989574d7f31549838e12e669178', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
128
|
+
h("div", { key: '45137e0118a81bad85cc2f16eb2d31778d1e9b8b', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
129
|
+
h("div", { key: 'c690e6ba0b9392f5c6a7b60b797cf4abf663ffc5', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
130
|
+
h("div", { key: '97c85f44fe97ca977bc8dd4d1418492d089b9d51', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
131
|
+
h("div", { key: '287cf4c52ebf89f12e62e0f48f0caccbaa0d8ee5', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
132
|
+
h("div", { key: '2fa436ad3f69f97a03b081fe9b747a14f831383a', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
133
|
+
h("div", { key: '0ae6a6078cc9f2f34f9f6da9993e495a43afd931', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
134
|
+
h("div", { key: '5cd676903937f21ab94bb8c5ad7677eef991699c', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
135
|
+
h("div", { key: '307607fef550cd5b9c3d0a436bfe87cace057fd6', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
136
136
|
];
|
|
137
137
|
}
|
|
138
138
|
if (this.layout === 14) {
|
|
139
139
|
spinnerEl = [
|
|
140
|
-
h("div", { key: '
|
|
141
|
-
h("div", { key: '
|
|
142
|
-
h("div", { key: '
|
|
143
|
-
h("div", { key: '
|
|
144
|
-
h("div", { key: '
|
|
145
|
-
h("div", { key: '
|
|
146
|
-
h("div", { key: '
|
|
147
|
-
h("div", { key: '
|
|
148
|
-
h("div", { key: '
|
|
149
|
-
h("div", { key: '
|
|
150
|
-
h("div", { key: '
|
|
151
|
-
h("div", { key: '
|
|
140
|
+
h("div", { key: '042ef293a7573f83c76535f634ebcb7319884f3f', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
141
|
+
h("div", { key: '5a77f4c8c353a8840bf06a095dbc15dcd879d736', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
142
|
+
h("div", { key: 'f3a44ea237aa823810d13c98c179423d97d6c6cf', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
143
|
+
h("div", { key: '67f40d832beb253392d0a239128bab310b80bf38', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
144
|
+
h("div", { key: '1272b2dcee5c8b2c53720eb811781a19f11b7e55', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
145
|
+
h("div", { key: '7af652d0b2c5bc4804db9261ea18030764b2b3ce', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
146
|
+
h("div", { key: '534a436998a31e8b348fe62f52a9429b57875cfd', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
147
|
+
h("div", { key: '85002b71e7d36bfe9a71314db726ad457d968625', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
148
|
+
h("div", { key: '214b749d60eb94eafea8dba46231f3201c7cb2e9', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
149
|
+
h("div", { key: 'bbb3b65e6f6a284a9f3a8ed2f61d644d27930246', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
150
|
+
h("div", { key: 'e8393696699a1646751c64300c80179d5709c2ba', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
151
|
+
h("div", { key: '9828fdeed7750814c6900de4fb6b9081f0466594', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
152
152
|
];
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -167,7 +167,7 @@ export class KupSpinner {
|
|
|
167
167
|
else {
|
|
168
168
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
169
169
|
}
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'af30b293984ca1b3c40dd167a912ad00b2007a56', style: elStyle }, h("style", { key: '7b94db80070e95446b4fff8a91a3f9742a351008' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '0149ef208e38c49a1be20646b94e1a41fc28d1bc', id: componentWrapperId, style: elStyle }, h("div", { key: '9d126f87c3802d0016b40519a6a22b2115bacb4b', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: '5324ae5919c9f59936ab2997924f5b1186ae0c1a', id: wrapperClass, style: elStyle }, h("div", { key: 'e927477d73c687fda3280dda70b8eb3a871a609e', class: spinnerClass }, spinnerEl))))));
|
|
171
171
|
}
|
|
172
172
|
disconnectedCallback() {
|
|
173
173
|
this.kupManager.theme.unregister(this);
|
|
@@ -123,7 +123,7 @@ export class KupSwitch {
|
|
|
123
123
|
onChange: () => this.onKupChange(),
|
|
124
124
|
onFocus: () => this.onKupFocus(),
|
|
125
125
|
};
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'ea19dd0ea5069a82bd9270c9dd1fa24e6476a3aa' }, h("style", { key: '2ed2f86ad8b599a714bb7e913bd291c5fa931a21' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '212cf3d8648f188252a2975595f2c6cf741c5758', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '85f9c14e7c7dd8f5df209cd6ba6f10e2794a3405' }, props)))));
|
|
127
127
|
}
|
|
128
128
|
disconnectedCallback() {
|
|
129
129
|
this.kupManager.theme.unregister(this);
|
|
@@ -431,7 +431,7 @@ export class KupTimePicker {
|
|
|
431
431
|
this.kupManager.debug.logRender(this, true);
|
|
432
432
|
}
|
|
433
433
|
render() {
|
|
434
|
-
return (h(Host, { key: '
|
|
434
|
+
return (h(Host, { key: '3076db3f1376031b4cb23a9fdd71ff1a6ae1ebbf' }, h("style", { key: '2fe19b8ed79d27303cd9960bafecc84398dacfd6' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '26fa259fac1072c29b5602cdccfff9583c247ebc', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
435
435
|
}
|
|
436
436
|
disconnectedCallback() {
|
|
437
437
|
this.kupManager.dates.unregister(this);
|
|
@@ -74,7 +74,7 @@ export class KupTxt {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
const value = this.getValue();
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: '1c0356b5a02e4c88d78c74e655c6a043b5602a17' }, h("style", { key: 'b0c2a816fb4b6691fb257aca099758f46c523a42' }, __classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '3cea9ef7a7dedacebec373ad03c351cc5c572d55', id: componentWrapperId }, h("div", { key: 'e984a2152cf277fbffc8c56f20c6071d51a72f6c', innerHTML: value }))));
|
|
78
78
|
}
|
|
79
79
|
disconnectedCallback() {
|
|
80
80
|
__classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.unregister(this);
|
|
@@ -235,7 +235,7 @@ export class KupTypography {
|
|
|
235
235
|
const classObjParent = {
|
|
236
236
|
'kup-typography--wrap': props.toolbar ? true : false,
|
|
237
237
|
};
|
|
238
|
-
return (h(Host, { key: '
|
|
238
|
+
return (h(Host, { key: 'c5d8e8fcf53195019ed8eb416a7c8cfd7813ab0e' }, h("style", { key: '07fed1c7720f43b7a724233e7a19d543c2a60699' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '43db23c1f58b6ed0282391c596ed0eaa5548cb94', id: componentWrapperId, class: classObjParent, onClick: () => this.onKupClick }, h(FTypography, Object.assign({ key: '9d95e2e961712881fae7b45be28fa269cc56386b' }, props)), this.infoIcon && (h(FImage, Object.assign({ key: 'f2317403424f44fd48fc5f639df0df2f07c130e3' }, infoIcon, { onClick: async (event) => {
|
|
239
239
|
event.stopPropagation();
|
|
240
240
|
const el = event.currentTarget;
|
|
241
241
|
const data = await this.infoCallBack();
|
|
@@ -246,7 +246,7 @@ export class KupTypography {
|
|
|
246
246
|
else {
|
|
247
247
|
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
248
248
|
}
|
|
249
|
-
} }))), this.toolbar && (h(FImage, Object.assign({ key: '
|
|
249
|
+
} }))), this.toolbar && (h(FImage, Object.assign({ key: '1d86fd2d64f3d833d0186e34a57f1cc8ce74a1b5' }, toolbarIcon, { onClick: async (event) => {
|
|
250
250
|
event.stopPropagation();
|
|
251
251
|
const el = event.currentTarget;
|
|
252
252
|
const data = await this.toolbarCallback();
|
|
@@ -160,7 +160,7 @@ export class KupTypographyList {
|
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
162
|
const typograhy = this.renderTypographys();
|
|
163
|
-
return (h(Host, { key: '
|
|
163
|
+
return (h(Host, { key: '455e867cfc1084e4a9e43c9fc942f915797e483e' }, h("style", { key: '40f69eebfc2d6fe963cfbcde32f2934b081e32aa' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '0ad09d552afcf0920cdfb1276dbd8163c1b3224e', id: componentWrapperId }, h("div", { key: 'b584680579806a2361d2418f408d898923b057dc', class: "typographies-wrapper" }, typograhy))));
|
|
164
164
|
}
|
|
165
165
|
disconnectedCallback() {
|
|
166
166
|
this.kupManager.theme.unregister(this);
|
|
@@ -45,9 +45,6 @@ export const FCell = (props, children) => {
|
|
|
45
45
|
const valueToDisplay = props.previousValue !== cell.value ? cell.value : '';
|
|
46
46
|
const cellType = dom.ketchup.data.cell.getType(cell, shape);
|
|
47
47
|
const sizing = props.density === 'extra_dense' ? 'extra-small' : (_b = cell.data) === null || _b === void 0 ? void 0 : _b.sizing;
|
|
48
|
-
const subcomponentProps = Object.assign(Object.assign(Object.assign(Object.assign({}, cell.data), ((cell === null || cell === void 0 ? void 0 : cell.icon) ? { resource: cell.icon } : {})), ((cell === null || cell === void 0 ? void 0 : cell.placeholderIcon)
|
|
49
|
-
? { placeholderResource: cell.placeholderIcon }
|
|
50
|
-
: {})), (sizing ? { sizing } : {}));
|
|
51
48
|
let cssClasses = cell.cssClass
|
|
52
49
|
? cell.cssClass
|
|
53
50
|
: (column === null || column === void 0 ? void 0 : column.cssClass)
|
|
@@ -68,6 +65,9 @@ export const FCell = (props, children) => {
|
|
|
68
65
|
if (!cell.data || Object.keys(cell.data).length === 0) {
|
|
69
66
|
setDefaults(cellType, cell);
|
|
70
67
|
}
|
|
68
|
+
const subcomponentProps = Object.assign(Object.assign(Object.assign(Object.assign({}, cell.data), ((cell === null || cell === void 0 ? void 0 : cell.icon) ? { resource: cell.icon } : {})), ((cell === null || cell === void 0 ? void 0 : cell.placeholderIcon)
|
|
69
|
+
? { placeholderResource: cell.placeholderIcon }
|
|
70
|
+
: {})), (sizing ? { sizing } : {}));
|
|
71
71
|
if (isEditable && editableTypes.includes(cellType)) {
|
|
72
72
|
cell.data.showMarker = (_d = cell.tooltip) !== null && _d !== void 0 ? _d : false;
|
|
73
73
|
content = setEditableCell(cellType, classObj, cell, column, props);
|
|
@@ -226,10 +226,15 @@ const MainBTNAdapter = (_options, _fieldLabel, currentValue, cell) => ({
|
|
|
226
226
|
Object.assign(Object.assign({}, cell.data), { icon: cell.icon, placeholderIcon: cell.placeholderIcon, value: currentValue }),
|
|
227
227
|
],
|
|
228
228
|
});
|
|
229
|
-
const MainITXAdapter = (_options, fieldLabel, _currentValue, cell) =>
|
|
229
|
+
const MainITXAdapter = (_options, fieldLabel, _currentValue, cell) => {
|
|
230
|
+
var _a;
|
|
231
|
+
return (Object.assign(Object.assign(Object.assign({}, cell.data), { label: fieldLabel }), (((_a = cell.data) === null || _a === void 0 ? void 0 : _a.maxLength) && { textArea: cell.data.maxLength >= 256 })));
|
|
232
|
+
};
|
|
230
233
|
const MainRADAdapter = (options, _fieldLabel, currentValue, cell) => {
|
|
234
|
+
var _a, _b, _c;
|
|
231
235
|
const newData = RADAdapter(currentValue, options);
|
|
232
|
-
|
|
236
|
+
const value = Object.assign(Object.assign(Object.assign({}, cell.data), newData), { data: Array.from(new Map([...((_b = (_a = cell.data) === null || _a === void 0 ? void 0 : _a.data) !== null && _b !== void 0 ? _b : []), ...((_c = newData.data) !== null && _c !== void 0 ? _c : [])].map((item) => [item.value, item])).values()) });
|
|
237
|
+
return value;
|
|
233
238
|
};
|
|
234
239
|
const MainCMBandACPAdapter = (options, fieldLabel, currentValue, cell, _id) => {
|
|
235
240
|
if (options) {
|
|
@@ -460,7 +465,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
460
465
|
cellEvent(e, props, cellType, FCellEvents.INPUT);
|
|
461
466
|
}, onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), onKeyDown: onEditorKeyDown })));
|
|
462
467
|
case FCellTypes.FILE_UPLOAD:
|
|
463
|
-
return h("kup-file-upload", Object.assign({}, cell.data));
|
|
468
|
+
return (h("kup-file-upload", Object.assign({ "onKup-file-upload-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }, cell.data)));
|
|
464
469
|
case FCellTypes.MULTI_AUTOCOMPLETE: {
|
|
465
470
|
return (h("kup-chip", Object.assign({ displayMode: (_a = cell.data.displayMode) !== null && _a !== void 0 ? _a : ItemsDisplayMode.DESCRIPTION }, cell.data, { label: (_c = (_b = cell.slotData) === null || _b === void 0 ? void 0 : _b.label) !== null && _c !== void 0 ? _c : '', type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-autocomplete", { class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), data: (_d = cell.slotData) === null || _d === void 0 ? void 0 : _d.data, initialValue: (_e = cell.slotData) === null || _e === void 0 ? void 0 : _e.initialValue, showDropDownIcon: (_f = cell.slotData) === null || _f === void 0 ? void 0 : _f.showDropDownIcon, style: (_g = cell.slotData) === null || _g === void 0 ? void 0 : _g.style, disabled: (_h = cell.slotData) === null || _h === void 0 ? void 0 : _h.disabled, id: (_j = cell.slotData) === null || _j === void 0 ? void 0 : _j.id, error: cell.data.error, showMarker: (_k = cell.tooltip) !== null && _k !== void 0 ? _k : false, listDisplayMode: cell.data.listDisplayMode })));
|
|
466
471
|
}
|
|
@@ -524,7 +529,8 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
524
529
|
}
|
|
525
530
|
else {
|
|
526
531
|
const isTextArea = (cell.shape ? cell.shape === FCellShapes.MEMO : false) ||
|
|
527
|
-
(cellType ? cellType === FCellTypes.MEMO : false)
|
|
532
|
+
(cellType ? cellType === FCellTypes.MEMO : false) ||
|
|
533
|
+
cell.data.maxLength >= 256;
|
|
528
534
|
return (h(FTextField, Object.assign({}, cell.data, { textArea: isTextArea, sizing: cell.data.sizing
|
|
529
535
|
? cell.data.sizing
|
|
530
536
|
: isTextArea
|
|
@@ -53,7 +53,7 @@ export const FPaginator = (props) => {
|
|
|
53
53
|
size: 5,
|
|
54
54
|
},
|
|
55
55
|
};
|
|
56
|
-
return (h("div", Object.assign({ class: `f-paginator ${props.mode ? props.mode : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }), props.onLoadMore ? (h(FButton, { icon: "plus", onClick: props.onLoadMore, label: dom.ketchup.language.translate(KupLanguageGeneric.LOAD_MORE), sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "load-more-button kup-neutral" })) : null, h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.perPage.toString(), initialValueDecode: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }), h("kup-combobox", { class: "page-selector", data: dataPageSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.currentPage.toString(), initialValueDecode: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }), props.showMaxPages ? (h("div", { class: "max-page-wrapper" }, h("label", { htmlFor: "page-selector" }, '/ ' + maxNumberOfPage))) : null, h("div", { class: "arrow-wrapper" }, props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_left", disabled: isPrevPageDisabled(props), onClick: props.onPrevPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral prev-page" })) : null, props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_right", disabled: isNextPageDisabled(props), onClick: props.onNextPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral next-page" })) : null)));
|
|
56
|
+
return (h("div", Object.assign({ class: `f-paginator ${props.mode ? props.mode : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }), props.onLoadMore ? (h(FButton, { icon: "plus", onClick: props.onLoadMore, label: dom.ketchup.language.translate(KupLanguageGeneric.LOAD_MORE), sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "load-more-button kup-neutral" })) : null, h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.perPage.toString(), initialValueDecode: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }), h("div", { class: "page-wrapper" }, h("div", { class: "page-selector-wrapper" }, h("kup-combobox", { class: "page-selector", data: dataPageSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.currentPage.toString(), initialValueDecode: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }), props.showMaxPages ? (h("div", { class: "max-page-wrapper" }, h("label", { htmlFor: "page-selector" }, '/ ' + maxNumberOfPage))) : null), h("div", { class: "arrow-wrapper" }, props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_left", disabled: isPrevPageDisabled(props), onClick: props.onPrevPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral prev-page" })) : null, props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_right", disabled: isNextPageDisabled(props), onClick: props.onNextPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral next-page" })) : null))));
|
|
57
57
|
};
|
|
58
58
|
function getPageItems(props, maxNumberOfPage) {
|
|
59
59
|
const pageItems = [];
|
|
@@ -6,6 +6,8 @@ import { FImage } from "../f-image/f-image";
|
|
|
6
6
|
/*-------------------------------------------------*/
|
|
7
7
|
export const FRadio = (props) => {
|
|
8
8
|
var _a;
|
|
9
|
+
// props aliases
|
|
10
|
+
const horizontal = props.horizontal || props.RadLay == 'lineDirection';
|
|
9
11
|
const hasColumns = !!props.columns;
|
|
10
12
|
const radioList = [];
|
|
11
13
|
// Default to 'radio' if props.type is not specified
|
|
@@ -44,5 +46,5 @@ export const FRadio = (props) => {
|
|
|
44
46
|
: '',
|
|
45
47
|
};
|
|
46
48
|
return (h("div", { class: `f-radio radio-wrapper
|
|
47
|
-
${hasColumns ? 'radio-wrapper-grid' : ''} ${props.danger ? 'kup-danger' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''} ${
|
|
49
|
+
${hasColumns ? 'radio-wrapper-grid' : ''} ${props.danger ? 'kup-danger' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''} ${horizontal ? 'kup-horizontal' : ''}`, style: styleObj }, radioList));
|
|
48
50
|
};
|
|
@@ -39,9 +39,6 @@ function setContent(props) {
|
|
|
39
39
|
let iconEl;
|
|
40
40
|
let minusEl;
|
|
41
41
|
let plusEl;
|
|
42
|
-
if (props.maxLength >= 256) {
|
|
43
|
-
props.textArea = true;
|
|
44
|
-
}
|
|
45
42
|
if (props.label &&
|
|
46
43
|
!props.leadingLabel &&
|
|
47
44
|
!props.trailingLabel &&
|
|
@@ -116,7 +113,7 @@ function setContent(props) {
|
|
|
116
113
|
let value = props.value;
|
|
117
114
|
let inputType = props.quantityButtons
|
|
118
115
|
? 'number'
|
|
119
|
-
: (
|
|
116
|
+
: (_a = props.inputType) !== null && _a !== void 0 ? _a : 'text';
|
|
120
117
|
let persManageForNumberFormat = false;
|
|
121
118
|
if (props.inputType === 'number') {
|
|
122
119
|
inputType = 'text';
|
|
@@ -176,14 +176,9 @@ export function isNegativeNumber(value) {
|
|
|
176
176
|
// -------------
|
|
177
177
|
// ADAPTERS from SmeupDataTable to FCell data attribute
|
|
178
178
|
// -------------
|
|
179
|
-
export const CMBandACPAdapter = (value, label, options,
|
|
179
|
+
export const CMBandACPAdapter = (value, label, options, cellData) => ({
|
|
180
180
|
data: {
|
|
181
|
-
'kup-text-field': {
|
|
182
|
-
trailingIcon: true,
|
|
183
|
-
label,
|
|
184
|
-
// size: _cellData?.size,
|
|
185
|
-
// maxLength: _cellData?.maxLength,
|
|
186
|
-
},
|
|
181
|
+
'kup-text-field': Object.assign(Object.assign({ trailingIcon: true, label }, ((cellData === null || cellData === void 0 ? void 0 : cellData.size) && { size: cellData.size })), ((cellData === null || cellData === void 0 ? void 0 : cellData.maxLength) && { maxLength: cellData.maxLength })),
|
|
187
182
|
'kup-list': {
|
|
188
183
|
showIcons: true,
|
|
189
184
|
data: (options === null || options === void 0 ? void 0 : options.length)
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-ef8cbd35.js';
|
|
2
|
-
import { K as KupManager } from './p-
|
|
2
|
+
import { K as KupManager } from './p-970526a0.js';
|
|
3
3
|
|
|
4
4
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
5
5
|
function newKupManager(init) {
|