@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-ef8cbd35.js';
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-f836c3ed.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-bba3ee8c.js';
|
|
4
4
|
|
|
5
5
|
const TaskGantt = /*@__PURE__*/ proxyCustomElement(class TaskGantt extends H {
|
|
6
6
|
constructor() {
|
|
@@ -39,12 +39,12 @@ const TaskGantt = /*@__PURE__*/ proxyCustomElement(class TaskGantt extends H {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
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
|
|
43
43
|
? {
|
|
44
44
|
height: `${this.ganttHeight}px`,
|
|
45
45
|
width: `${this.gridProps.svgWidth}px`,
|
|
46
46
|
}
|
|
47
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
47
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '7444e2d31c716d88d97f50dcf85b94da6a006cae' }, newBarProps)))));
|
|
48
48
|
}
|
|
49
49
|
get rootElement() { return this; }
|
|
50
50
|
static get watchers() { return {
|
|
@@ -22,7 +22,7 @@ const KupSwitcher = /*@__PURE__*/ proxyCustomElement(class KupSwitcher extends H
|
|
|
22
22
|
this.activeButton = mode;
|
|
23
23
|
this.timeUnitChange(mode);
|
|
24
24
|
};
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '69318d1150aa4d819bd02d27b6fd1b77ddc25d0e', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
26
26
|
button: true,
|
|
27
27
|
buttonActive: this.activeButton === label,
|
|
28
28
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -13,7 +13,7 @@ const StandardTooltipContent = /*@__PURE__*/ proxyCustomElement(class StandardTo
|
|
|
13
13
|
this.fontFamily = undefined;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
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} %`)));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return KupStandardTooltipStyle0; }
|
|
19
19
|
}, [1, "kup-standard-tooltip", {
|
|
@@ -37,11 +37,11 @@ const KupVerticalScroll = /*@__PURE__*/ proxyCustomElement(class KupVerticalScro
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '941c4a3cdbf82645a714eba63f33c6a813771da4', style: {
|
|
41
41
|
height: `${this.ganttHeight}px`,
|
|
42
42
|
marginTop: `${this.headerHeight}px`,
|
|
43
43
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
44
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
44
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: 'f97c24906454df30d9ec04cd8ef5081469e97dce', style: {
|
|
45
45
|
height: `${this.ganttFullHeight}px`,
|
|
46
46
|
width: '1px',
|
|
47
47
|
} })));
|
|
@@ -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: 'a1de0371e5f6db61fa0d2cfdd4f2072799d490f3' }, h("div", { key: 'eaa300f7e8ccc68935482c59022ed81027c2eb62', class: "scroll-container" }, this.scrollableTaskList &&
|
|
64
|
+
this.taskListScrollWidth > width && (h("div", { key: '234a646226e466d2d629afa3eb223676f1c4c291', 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: '8fc96a9408d05d7e6106de2e37cdc5c97966aaab', style: {
|
|
71
71
|
width: `${this.taskListScrollWidth}px`,
|
|
72
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
72
|
+
}, class: "scroll" }))), h("div", { key: '6246de0f7f602ee5de894d14dd1b06a13beb3ad1', 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: '356cb5a2da83d6811866404b19ac02d917edc065', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
77
77
|
}
|
|
78
78
|
get rootElement() { return this; }
|
|
79
79
|
static get watchers() { return {
|
|
@@ -6567,13 +6567,13 @@ const fChipCss$1 = fChipCss;
|
|
|
6567
6567
|
const fImageCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-image{display:flex;margin:auto;position:relative;height:var(--kup_image_height, 100%);width:var(--kup_image_width, 100%)}.f-image.kup-fit img{max-width:max-content;object-fit:contain}.f-image img{display:block;margin:auto;height:var(--kup_image_height, auto);width:var(--kup_image_width, 100%);object-fit:contain}.f-image .f-image__css{overflow:hidden;height:var(--kup_image_height, 100%);width:var(--kup_image_width, 100%)}.f-image .f-image__icon{margin:auto;height:var(--kup_image_height, 100%);width:var(--kup_image_width, 100%)}.f-image .iconWrapper{display:flex;position:relative;justify-content:space-between;box-sizing:border-box;flex-direction:column;height:auto;width:100%}.f-image .iconWrapper .f-image__icon{width:100%;height:100%;position:absolute}.f-image .f-image__placeholder{height:100%;width:100%;position:absolute}.f-image .f-image__hidden{display:none}.f-image .css-step.bottom-aligned{bottom:0;position:absolute}.f-image.noWidth.noIcon{width:auto}";
|
|
6568
6568
|
const fImageCss$1 = fImageCss;
|
|
6569
6569
|
|
|
6570
|
-
const fPaginatorCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-paginator{background-color:var(--kup-layer-1);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.f-paginator .load-more-button{padding:0;border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator .load-more-button button{width:100%}.f-paginator
|
|
6570
|
+
const fPaginatorCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-paginator{background-color:var(--kup-layer-1);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;flex:1}.f-paginator .load-more-button{padding:0;border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator .load-more-button button{width:100%}.f-paginator kup-combobox{display:inline-block;z-index:0}.f-paginator kup-combobox.page-selector{padding:0 var(--kup-space-05);border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator kup-combobox.rows-selector{padding:0 var(--kup-space-05);border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator .max-page-wrapper>label{padding-left:4px;padding-right:4px;white-space:nowrap}.f-paginator .page-wrapper{display:flex;flex:1;align-items:center}.f-paginator .page-wrapper .page-selector-wrapper{display:flex;align-items:center}.f-paginator .page-wrapper .arrow-wrapper{display:flex;flex:1;justify-content:flex-end}@media (max-width: 830px){.f-paginator kup-combobox.rows-selector,.f-paginator kup-combobox.page-selector{padding:0 var(--kup-space-03)}.f-paginator .load-more-button{order:4;width:100%;display:flex;justify-content:center;border-right:none;border-left:1px solid var(--kup-border-subtle)}}@media (max-width: 655px){.load-more-button{border-top:1px solid var(--kup-border-subtle)}}@media (max-width: 500px){.f-paginator kup-combobox.rows-selector{border-right:none}.page-wrapper{border-top:1px solid var(--kup-border-subtle)}}";
|
|
6571
6571
|
const fPaginatorCss$1 = fPaginatorCss;
|
|
6572
6572
|
|
|
6573
6573
|
const fProgressBarCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-progress-bar{--kup_progressbar_border_radius:var( --kup-progressbar-border-radius, var(--kup-radius-00) );--kup_progressbar_font_family:var( --kup-progressbar-font-family, var(--kup-font-family) );--kup_progressbar_font_size:var( --kup-progressbar-font-size, var(--kup-font-size) );--kup_progressbar_height:var(--kup-progressbar-height, 1.25em);--kup_progressbar_activebar_color:var( --kup-progressbar-activebar-color, var(--kup-primary-color-60) );--kup_progressbar_text_color:var( --kup-progressbar-text-color, var(--kup-text-secondary) );--kup_progressbar_text_color_rgb:var( --kup-progressbar-text-color-rgb, var(--kup-text-secondary-rgb) );--kup_progressbar_activebar_text_color:var( --kup-progressbar-text-on-primary-color, var(--kup-layer-1) );--kup_progressbar_track_background_color:var( --kup-progressbar-track-background-color, var(--kup-layer-3) );--kup_progressbar_width:var(--kup-progressbar-width, 100%);font-family:var(--kup_progressbar_font_family);font-size:var(--kup_progressbar_font_size);width:var(--kup_progressbar_width)}.f-progress-bar.progress-bar{background:var(--kup_progressbar_track_background_color);border-radius:var(--kup_progressbar_border_radius);overflow:hidden;position:relative;width:var(--kup_progressbar_width)}.f-progress-bar.progress-bar.text-color-on-primary .progress-bar-percentage{color:var(--kup_progressbar_activebar_text_color)}.f-progress-bar.progress-bar.text-color-on-primary .progress-bar-percentage span{color:var(--kup_progressbar_activebar_text_color);font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.f-progress-bar .progress-bar-percentage{background:var(--kup_progressbar_activebar_color);border-radius:var(--kup_progressbar_border_radius);box-sizing:content-box;color:var(--kup_progressbar_text_color);height:var(--kup_progressbar_height);text-align:center;transition:width .2s ease}.f-progress-bar .progress-bar-percentage span{color:var(--kup_progressbar_text_color);display:inline-block;font-size:1em;left:0;line-height:var(--kup_progressbar_height);position:absolute;width:var(--kup_progressbar_width);font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.f-progress-bar .progress-bar-percentage .kup-icon{display:block;height:var(--kup_progressbar_height)}.f-progress-bar .progress-bar-percentage .kup-icon:not(.is-image){background-color:var(--kup_progressbar_activebar_text_color)}.f-progress-bar .progress-bar-percentage .kup-icon img{width:auto;height:100%}.f-progress-bar.is-radial{box-sizing:border-box;display:flex;font-size:10em;margin:auto}.f-progress-bar.is-radial.pie-wrapper{height:1em;width:1em;float:left;margin:auto;position:relative}.f-progress-bar.is-radial.pie-wrapper:nth-child(3n+1){clear:both}.f-progress-bar.is-radial.pie-wrapper .pie{height:1em;width:1em;clip:rect(0, 1em, 1em, 0.5em);left:0;position:absolute;top:0}.f-progress-bar.is-radial.pie-wrapper .pie.has-value .half-circle{border-color:var(--kup_progressbar_activebar_color)}.f-progress-bar.is-radial.pie-wrapper .pie.has-value .half-circle.left-side{transition:transform .2s ease}.f-progress-bar.is-radial.pie-wrapper .pie.has-value.is-less-than-half .right-side{display:none}.f-progress-bar.is-radial.pie-wrapper .pie.has-value.is-more-than-half{clip:rect(auto, auto, auto, auto)}.f-progress-bar.is-radial.pie-wrapper .pie.has-value.is-more-than-half .right-side{transform:rotate(180deg)}.f-progress-bar.is-radial.pie-wrapper .pie .half-circle{height:1em;width:1em;border:.1em solid var(--kup_progressbar_track_background_color);border-radius:50%;clip:rect(0, 0.5em, 1em, 0);left:0;position:absolute;top:0}.f-progress-bar.is-radial.pie-wrapper .label{background:none;bottom:.4em;color:var(--kup_progressbar_text_color);cursor:default;display:block;font-size:.25em;left:.6em;line-height:3em;position:absolute;right:.4em;text-align:center;top:.4em}.f-progress-bar.is-radial.pie-wrapper .label.kup-icon{display:block;height:1.25em;width:1.25em;object-fit:cover;margin:auto}.f-progress-bar.is-radial.pie-wrapper .label.kup-icon:not(.is-image){background-color:var(--kup_progressbar_activebar_color)}.f-progress-bar.is-radial.pie-wrapper .label.kup-icon img{width:auto;height:100%}.f-progress-bar.is-radial.pie-wrapper .label .smaller{color:var(--kup_progressbar_text_color);opacity:.8;font-size:.45em;padding-bottom:20px;vertical-align:super}.f-progress-bar.is-radial.pie-wrapper .shadow{height:1em;width:1em;border:.1em solid var(--kup_progressbar_track_background_color);border-radius:50%}.f-progress-bar.is-radial *,.f-progress-bar.is-radial *:before,.f-progress-bar.is-radial *:after{box-sizing:border-box}.f-progress-bar.kup-animated .progress-bar-percentage{animation:running-stripes 2s linear infinite}.f-progress-bar.kup-padded.progress-bar{padding:.5em;width:calc(100% - 1em)}.f-progress-bar.kup-slim.progress-bar{border-radius:9px}.f-progress-bar.kup-slim.progress-bar .progress-bar-percentage{border-radius:9px;padding:0}.f-progress-bar.kup-slim.pie-wrapper .pie .half-circle{border-width:.05em}.f-progress-bar.kup-slim.pie-wrapper .shadow{border-width:.05em}.f-progress-bar.kup-striped .progress-bar-percentage{background-image:linear-gradient(-45deg, rgba(var(--kup_progressbar_text_color_rgb), 0.125) 25%, transparent 25%, transparent 50%, rgba(var(--kup_progressbar_text_color_rgb), 0.125) 50%, rgba(var(--kup_progressbar_text_color_rgb), 0.125) 75%, transparent 75%, transparent);background-size:3em 3em}.f-progress-bar.kup-danger{--kup-progressbar-primary-color:var(--kup-danger-color);--kup-progressbar-text-on-primary-color:white}.f-progress-bar.kup-info{--kup-progressbar-primary-color:var(--kup-info-color-50);--kup-progressbar-text-on-primary-color:white}.f-progress-bar.kup-secondary{--kup-progressbar-primary-color:var(--kup-secondary-color);--kup-progressbar-text-on-primary-color:var(--kup-text-on-secondary-color)}.f-progress-bar.kup-success{--kup-progressbar-primary-color:var(--kup-success-color);--kup-progressbar-text-on-primary-color:white}.f-progress-bar.kup-warning{--kup-progressbar-primary-color:var(--kup-warning-color-50);--kup-progressbar-text-on-primary-color:white}@keyframes running-stripes{0%{background-position:0 0}100%{background-position:3em 3em}}";
|
|
6574
6574
|
const fProgressBarCss$1 = fProgressBarCss;
|
|
6575
6575
|
|
|
6576
|
-
const fRadioCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-radio{--kup_radio_font_family:var(--kup-radio-font-family, var(--kup-font-family));--kup_radio_font_size:var(--kup-radio-font-size, var(--kup-font-size));--kup_radio_font_weight:var(--kup-radio-font-weight, 400);--kup_radio_outer_circle_color:var( --kup-radio-outer-circle-color, var(--kup-text-primary) );--kup_radio_focus_color:var( --kup-radio-focus-color, var(--kup-primary-color-60) );--kup_radio_primary_color:var( --kup-radio-primary-color, var(--kup-text-primary) );--kup_radio_primary_color_rgb:var( --kup-radio-primary-color-rgb, var(--kup-text-primary-rgb) );--kup_radio_text_color:var(--kup-radio-text-color, var(--kup-text-primary));--kup_radio_text_color_disabled:var( --kup-radio-text-color-disabled, var(--kup-text-disabled) );--kup_radio_shortcut_background_color:var( --kup-radio-shortcut-background-color, #e0e0e0 );--kup_radio_shortcut_text_color:var( --kup-radio-shortcut-text-color, #525252 );--kup_radio_shortcut_border_color:var( --kup-radio-shortcut-border-color, #d0d0d0 );--kup_radio_shortcut_border_radius:var( --kup-radio-shortcut-border-radius, var(--kup-radius-01) );font-family:var(--kup_radio_font_family);font-size:var(--kup_radio_font_size)}.f-radio .form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875em;font-weight:var(--kup_radio_font_weight);letter-spacing:0.0178571429em;display:flex;gap:var(--kup-space-03);align-items:center;vertical-align:middle}.f-radio .form-field.form--chevron{padding:var(--kup-space-03);justify-content:space-between}.f-radio .form-field.form--chevron .label-wrapper{display:flex;gap:var(--kup-space-03);order:2;align-items:center;min-width:max-content}.f-radio .form-field.form--chevron .label-wrapper .shortcut{background-color:var(--kup_radio_shortcut_background_color);color:var(--kup_radio_shortcut_text_color);padding:var(--kup-space-02) var(--kup-space-03);border:1px solid var(--kup_radio_shortcut_border_color);border-radius:var(--kup_radio_shortcut_border_radius);user-select:none;font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.f-radio .form-field.form--chevron .radio--chevron{order:3}.f-radio .form-field label{color:var(--kup_radio_text_color);order:0;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.f-radio .form-field.form-field--align-end label{margin-left:auto;margin-right:0px;padding-left:0px;padding-right:4px;order:-1 !important}.f-radio.radio-wrapper{display:grid;gap:var(--kup-space-03)}.f-radio.radio-wrapper.radio-wrapper--grid{display:grid;grid-gap:1em;grid-template-columns:var(--kup_radio_columns)}.f-radio.radio-wrapper .radio{border-radius:50%;position:relative;flex:0 0 auto;box-sizing:content-box;width:15px;height:15px;cursor:pointer;will-change:opacity,transform,border-color,color;will-change:transform,opacity;border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper .radio:hover{border:1px solid var(--kup_radio_focus_color)}.f-radio.radio-wrapper .radio .radio__native-control{position:absolute;margin:0px;padding:0px;opacity:0;cursor:inherit;z-index:1;top:0px;right:0px;left:0px;width:15px;height:15px}.f-radio.radio-wrapper .radio .radio__background{display:inline-block;position:relative;box-sizing:border-box;width:15px;height:15px;transition:opacity 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color);position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;border-width:1px;border-style:solid;border-radius:50%;transition:border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__inner-circle{position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:7.5px;border-style:solid;border-radius:50%;transition:transform 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio.radio--checked .radio__outer-circle{border-color:var(--kup_radio_primary_color)}.f-radio.radio-wrapper .radio.radio--checked .radio__inner-circle{border-color:var(--kup_radio_primary_color);transform:scale(0.5);transition:transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,border-color 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio.radio--disabled{--kup_radio_outer_circle_color:var(--kup-border-disabled);--kup_radio_text_color:var(--kup-text-disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled+label{color:var(--kup_radio_text_color_disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--disabled .radio__inner-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--chevron:hover{border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper.radio--chevron .radio:hover{border:1px solid rgba(0,0,0,0)}.f-radio.kup-horizontal{display:flex;gap:var(--kup-space-05)}.f-radio.kup-danger{--kup-radio-primary-color:var(--kup-danger-color);--kup-radio-primary-color-rgb:var(--kup-danger-color-rgb)}.f-radio.kup-info{--kup-radio-primary-color:var(--kup-info-color-50);--kup-radio-primary-color-rgb:var(--kup-info-color-rgb)}.f-radio.kup-secondary{--kup-radio-primary-color:var(--kup-secondary-color);--kup-radio-primary-color-rgb:var(--kup-secondary-color-rgb)}.f-radio.kup-success{--kup-radio-primary-color:var(--kup-success-color);--kup-radio-primary-color-rgb:var(--kup-success-color-rgb)}.f-radio.kup-warning{--kup-radio-primary-color:var(--kup-warning-color-50);--kup-radio-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
6576
|
+
const fRadioCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-radio{--kup_radio_font_family:var(--kup-radio-font-family, var(--kup-font-family));--kup_radio_font_size:var(--kup-radio-font-size, var(--kup-font-size));--kup_radio_font_weight:var(--kup-radio-font-weight, 400);--kup_radio_outer_circle_color:var( --kup-radio-outer-circle-color, var(--kup-text-primary) );--kup_radio_focus_color:var( --kup-radio-focus-color, var(--kup-primary-color-60) );--kup_radio_primary_color:var( --kup-radio-primary-color, var(--kup-text-primary) );--kup_radio_primary_color_rgb:var( --kup-radio-primary-color-rgb, var(--kup-text-primary-rgb) );--kup_radio_text_color:var(--kup-radio-text-color, var(--kup-text-primary));--kup_radio_text_color_disabled:var( --kup-radio-text-color-disabled, var(--kup-text-disabled) );--kup_radio_shortcut_background_color:var( --kup-radio-shortcut-background-color, #e0e0e0 );--kup_radio_shortcut_text_color:var( --kup-radio-shortcut-text-color, #525252 );--kup_radio_shortcut_border_color:var( --kup-radio-shortcut-border-color, #d0d0d0 );--kup_radio_shortcut_border_radius:var( --kup-radio-shortcut-border-radius, var(--kup-radius-01) );font-family:var(--kup_radio_font_family);font-size:var(--kup_radio_font_size)}.f-radio .form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875em;font-weight:var(--kup_radio_font_weight);letter-spacing:0.0178571429em;display:flex;gap:var(--kup-space-03);align-items:center;vertical-align:middle}.f-radio .form-field.form--chevron{padding:var(--kup-space-03);justify-content:space-between}.f-radio .form-field.form--chevron .label-wrapper{display:flex;gap:var(--kup-space-03);order:2;align-items:center;min-width:max-content}.f-radio .form-field.form--chevron .label-wrapper .shortcut{background-color:var(--kup_radio_shortcut_background_color);color:var(--kup_radio_shortcut_text_color);padding:var(--kup-space-02) var(--kup-space-03);border:1px solid var(--kup_radio_shortcut_border_color);border-radius:var(--kup_radio_shortcut_border_radius);user-select:none;font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.f-radio .form-field.form--chevron .radio--chevron{order:3}.f-radio .form-field label{color:var(--kup_radio_text_color);order:0;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.f-radio .form-field.form-field--align-end label{margin-left:auto;margin-right:0px;padding-left:0px;padding-right:4px;order:-1 !important}.f-radio.radio-wrapper{display:grid;gap:var(--kup-space-03)}.f-radio.radio-wrapper.radio-wrapper--grid{display:grid;grid-gap:1em;grid-template-columns:var(--kup_radio_columns)}.f-radio.radio-wrapper .radio{border-radius:50%;position:relative;flex:0 0 auto;box-sizing:content-box;width:15px;height:15px;cursor:pointer;will-change:opacity,transform,border-color,color;will-change:transform,opacity;border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper .radio:hover{border:1px solid var(--kup_radio_focus_color)}.f-radio.radio-wrapper .radio .radio__native-control{position:absolute;margin:0px;padding:0px;opacity:0;cursor:inherit;z-index:1;top:0px;right:0px;left:0px;width:15px;height:15px}.f-radio.radio-wrapper .radio .radio__background{display:inline-block;position:relative;box-sizing:border-box;width:15px;height:15px;transition:opacity 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color);position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;border-width:1px;border-style:solid;border-radius:50%;transition:border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__inner-circle{position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:7.5px;border-style:solid;border-radius:50%;transition:transform 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio.radio--checked .radio__outer-circle{border-color:var(--kup_radio_primary_color)}.f-radio.radio-wrapper .radio.radio--checked .radio__inner-circle{border-color:var(--kup_radio_primary_color);transform:scale(0.5);transition:transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,border-color 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio.radio--disabled{--kup_radio_outer_circle_color:var(--kup-border-disabled);--kup_radio_text_color:var(--kup-text-disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled+label{color:var(--kup_radio_text_color_disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--disabled .radio__inner-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--chevron:hover{border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper.radio--chevron .radio:hover{border:1px solid rgba(0,0,0,0)}.f-radio.kup-horizontal{display:flex;flex-wrap:wrap;gap:var(--kup-space-05)}.f-radio.kup-danger{--kup-radio-primary-color:var(--kup-danger-color);--kup-radio-primary-color-rgb:var(--kup-danger-color-rgb)}.f-radio.kup-info{--kup-radio-primary-color:var(--kup-info-color-50);--kup-radio-primary-color-rgb:var(--kup-info-color-rgb)}.f-radio.kup-secondary{--kup-radio-primary-color:var(--kup-secondary-color);--kup-radio-primary-color-rgb:var(--kup-secondary-color-rgb)}.f-radio.kup-success{--kup-radio-primary-color:var(--kup-success-color);--kup-radio-primary-color-rgb:var(--kup-success-color-rgb)}.f-radio.kup-warning{--kup-radio-primary-color:var(--kup-warning-color-50);--kup-radio-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
6577
6577
|
const fRadioCss$1 = fRadioCss;
|
|
6578
6578
|
|
|
6579
6579
|
const fRatingCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.f-rating{--kup_rating_color:var(--kup-rating-color, #ffa000);--kup_rating_font_size:var(--kup-rating-font-size, 20px)}.f-rating .rating{color:var(--kup_rating_color);cursor:pointer;font-size:var(--kup_rating_font_size)}.f-rating.disabled .rating{opacity:.5;cursor:auto}";
|
|
@@ -8105,6 +8105,7 @@ var KupDataTableProps;
|
|
|
8105
8105
|
KupDataTableProps["transpose"] = "Transposes the data of the data table.";
|
|
8106
8106
|
KupDataTableProps["updatableData"] = "When set to true, editable cells will be rendered using input components and update button will appair below the matrix";
|
|
8107
8107
|
KupDataTableProps["updateOnClick"] = "When set to true, editable checkbox will call update";
|
|
8108
|
+
KupDataTableProps["visibleColumns"] = "Defines the columns that are visible in the table";
|
|
8108
8109
|
})(KupDataTableProps || (KupDataTableProps = {}));
|
|
8109
8110
|
var SortMode;
|
|
8110
8111
|
(function (SortMode) {
|
|
@@ -8467,14 +8468,9 @@ function isNegativeNumber(value) {
|
|
|
8467
8468
|
// -------------
|
|
8468
8469
|
// ADAPTERS from SmeupDataTable to FCell data attribute
|
|
8469
8470
|
// -------------
|
|
8470
|
-
const CMBandACPAdapter = (value, label, options,
|
|
8471
|
+
const CMBandACPAdapter = (value, label, options, cellData) => ({
|
|
8471
8472
|
data: {
|
|
8472
|
-
'kup-text-field': {
|
|
8473
|
-
trailingIcon: true,
|
|
8474
|
-
label,
|
|
8475
|
-
// size: _cellData?.size,
|
|
8476
|
-
// maxLength: _cellData?.maxLength,
|
|
8477
|
-
},
|
|
8473
|
+
'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 })),
|
|
8478
8474
|
'kup-list': {
|
|
8479
8475
|
showIcons: true,
|
|
8480
8476
|
data: (options === null || options === void 0 ? void 0 : options.length)
|
|
@@ -10518,7 +10514,7 @@ var token = {};
|
|
|
10518
10514
|
function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);}return e},e.apply(this,arguments)}Object.defineProperty(exports,"__esModule",{value:!0});var t,o={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1};exports.tokenTypes=void 0,(t=exports.tokenTypes||(exports.tokenTypes={}))[t.FUNCTION_WITH_ONE_ARG=0]="FUNCTION_WITH_ONE_ARG",t[t.NUMBER=1]="NUMBER",t[t.BINARY_OPERATOR_HIGH_PRECENDENCE=2]="BINARY_OPERATOR_HIGH_PRECENDENCE",t[t.CONSTANT=3]="CONSTANT",t[t.OPENING_PARENTHESIS=4]="OPENING_PARENTHESIS",t[t.CLOSING_PARENTHESIS=5]="CLOSING_PARENTHESIS",t[t.DECIMAL=6]="DECIMAL",t[t.POSTFIX_FUNCTION_WITH_ONE_ARG=7]="POSTFIX_FUNCTION_WITH_ONE_ARG",t[t.FUNCTION_WITH_N_ARGS=8]="FUNCTION_WITH_N_ARGS",t[t.BINARY_OPERATOR_LOW_PRECENDENCE=9]="BINARY_OPERATOR_LOW_PRECENDENCE",t[t.BINARY_OPERATOR_PERMUTATION=10]="BINARY_OPERATOR_PERMUTATION",t[t.COMMA=11]="COMMA",t[t.EVALUATED_FUNCTION=12]="EVALUATED_FUNCTION",t[t.EVALUATED_FUNCTION_PARAMETER=13]="EVALUATED_FUNCTION_PARAMETER",t[t.SPACE=14]="SPACE",exports.createTokens=function(t){return [{token:"sin",show:"sin",type:0,value:t.math.sin},{token:"cos",show:"cos",type:0,value:t.math.cos},{token:"tan",show:"tan",type:0,value:t.math.tan},{token:"pi",show:"π",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:t.math.P},{token:"C",show:"C",type:10,value:t.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:t.math.asin},{token:"acos",show:"acos",type:0,value:t.math.acos},{token:"atan",show:"atan",type:0,value:t.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:t.math.cosh},{token:"acosh",show:"acosh",type:0,value:t.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"÷",type:2,value:t.math.div},{token:"!",show:"!",type:7,value:t.math.fact},{token:"tanh",show:"tanh",type:0,value:t.math.tanh},{token:"atanh",show:"atanh",type:0,value:t.math.atanh},{token:"Mod",show:" Mod ",type:2,value:t.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"×",type:2,value:t.math.mul},{token:"sinh",show:"sinh",type:0,value:t.math.sinh},{token:"asinh",show:"asinh",type:0,value:t.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:t.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:t.math.add},{token:"-",show:"-",type:9,value:t.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"Σ",type:12,value:t.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"Π",type:12,value:t.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:t.math.and}].map((function(t){return e({},t,{precedence:o[t.type]})}))},exports.preced=o;
|
|
10519
10515
|
}(token));
|
|
10520
10516
|
|
|
10521
|
-
Object.defineProperty(lexer,"__esModule",{value:!0});var e$1=token;function t$1(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var n={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},s$1={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},o$1={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},p={},r$1={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},T={1:!0},h=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function E(e,t,n,s){for(var o=0;o<s;o++)if(e[n+o]!==t[o])return !1;return !0}function N(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return -1}lexer.addToken=function(t){for(var n=0;n<t.length;n++){var s=t[n].token.length,o=-1;t[n].type===e$1.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),h[s]=h[s]||[];for(var p=0;p<h[s].length;p++)if(t[n].token===h[s][p]){o=N(h[s][p],this.tokens);break}-1===o?(this.tokens.push(t[n]),t[n].precedence=e$1.preced[t[n].type],h.length<=t[n].token.length&&(h[t[n].token.length]=[]),h[t[n].token.length].push(t[n].token)):(this.tokens[o]=t[n],t[n].precedence=e$1.preced[t[n].type]);}},lexer.lex=function(u,a){var y,_={value:this.math.changeSign,type:e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,precedence:4,show:"-"},i={value:")",show:")",type:e$1.tokenTypes.CLOSING_PARENTHESIS,precedence:0},A={value:"(",type:e$1.tokenTypes.OPENING_PARENTHESIS,precedence:0,show:"("},O=[A],R=[],l=u,k=n,I=0,f=p,P="";void 0!==a&&this.addToken(a);var c=function(e,t){for(var n,s,o,p=[],r=t.length,T=0;T<r;T++)if(!(T<r-1&&" "===t[T]&&" "===t[T+1])){for(n="",s=t.length-T>h.length-2?h.length-1:t.length-T;s>0;s--)if(void 0!==h[s])for(o=0;o<h[s].length;o++)E(t,h[s][o],T,s)&&(n=h[s][o],o=h[s].length,s=0);if(T+=n.length-1,""===n)throw new Error("Can't understand after "+t.slice(T));p.push(e.tokens[N(n,e.tokens)]);}return p}(this,l);for(y=0;y<c.length;y++){var C=c[y];if(14!==C.type){var g,S=C.token,d=C.type,v=C.value,w=C.precedence,U=C.show,m=O[O.length-1];for(g=R.length;g--&&0===R[g];)if(-1!==[e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,e$1.tokenTypes.CONSTANT,e$1.tokenTypes.OPENING_PARENTHESIS,e$1.tokenTypes.CLOSING_PARENTHESIS,e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE,e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION,e$1.tokenTypes.COMMA,e$1.tokenTypes.EVALUATED_FUNCTION,e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER].indexOf(d)){if(!0!==k[d])throw new Error(S+" is not allowed after "+P);O.push(i),k=s$1,f=r$1,R.pop();}if(!0!==k[d])throw new Error(S+" is not allowed after "+P);!0===f[d]&&(d=e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,v=this.math.mul,U="×",w=3,y-=1);var H={value:v,type:d,precedence:w,show:U,numberOfArguments:C.numberOfArguments};if(d===e$1.tokenTypes.FUNCTION_WITH_ONE_ARG)k=n,f=p,t$1(R,1),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(2));else if(d===e$1.tokenTypes.NUMBER)m.type===e$1.tokenTypes.NUMBER?(m.value+=v,t$1(R,1)):O.push(H),k=s$1,f=o$1;else if(d===e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE)k=n,f=p,t$1(R,2),O.push(H);else if(d===e$1.tokenTypes.CONSTANT)O.push(H),k=s$1,f=r$1;else if(d===e$1.tokenTypes.OPENING_PARENTHESIS)t$1(R,1),I++,k=n,f=p,O.push(H);else if(d===e$1.tokenTypes.CLOSING_PARENTHESIS){if(!I)throw new Error("Closing parenthesis are more than opening one, wait What!!!");I--,k=s$1,f=r$1,O.push(H),t$1(R,1);}else if(d===e$1.tokenTypes.DECIMAL){if(m.hasDec)throw new Error("Two decimals are not allowed in one number");m.type!==e$1.tokenTypes.NUMBER&&(m={show:"0",value:0,type:e$1.tokenTypes.NUMBER,precedence:0},O.push(m)),k=T,t$1(R,1),f=p,m.value+=v,m.hasDec=!0;}else d===e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&(k=s$1,f=r$1,t$1(R,1),O.push(H));d===e$1.tokenTypes.FUNCTION_WITH_N_ARGS?(k=n,f=p,t$1(R,C.numberOfArguments+2),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(C.numberOfArguments+2))):d===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?(m.type===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?m.value===this.math.add?(m.value=v,m.show=U,t$1(R,1)):m.value===this.math.sub&&"-"===U&&(m.value=this.math.add,m.show="+",t$1(R,1)):m.type!==e$1.tokenTypes.CLOSING_PARENTHESIS&&m.type!==e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&m.type!==e$1.tokenTypes.NUMBER&&m.type!==e$1.tokenTypes.CONSTANT&&m.type!==e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER?"-"===S&&(k=n,f=p,t$1(R,1).push(2),O.push(_),O.push(A)):(O.push(H),t$1(R,2)),k=n,f=p):d===e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION?(k=n,f=p,t$1(R,2),O.push(H)):d===e$1.tokenTypes.COMMA?(k=n,f=p,O.push(H)):d===e$1.tokenTypes.EVALUATED_FUNCTION?(k=n,f=p,t$1(R,6),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(6))):d===e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER&&(k=s$1,f=r$1,O.push(H)),t$1(R,-1),P=S;}else if(y>0&&y<c.length-1&&1===c[y+1].type&&(1===c[y-1].type||6===c[y-1].type))throw new Error("Unexpected Space")}for(g=R.length;g--;)O.push(i);if(!0!==k[5])throw new Error("complete the expression");for(;I--;)O.push(i);return O.push(i),O};
|
|
10517
|
+
Object.defineProperty(lexer,"__esModule",{value:!0});var e$1=token;function t$1(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var n={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},s$1={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},o$1={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},p={},r$1={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},T={1:!0},h=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function E(e,t,n,s){for(var o=0;o<s;o++)if(e[n+o]!==t[o])return !1;return !0}function N(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return -1}lexer.addToken=function(t){for(var n=0;n<t.length;n++){var s=t[n].token.length,o=-1;t[n].type===e$1.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),h[s]=h[s]||[];for(var p=0;p<h[s].length;p++)if(t[n].token===h[s][p]){o=N(h[s][p],this.tokens);break}-1===o?(this.tokens.push(t[n]),t[n].precedence=e$1.preced[t[n].type],h.length<=t[n].token.length&&(h[t[n].token.length]=[]),h[t[n].token.length].push(t[n].token)):(this.tokens[o]=t[n],t[n].precedence=e$1.preced[t[n].type]);}},lexer.lex=function(u,a){var y,_={value:this.math.changeSign,type:e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,precedence:4,show:"-"},i={value:")",show:")",type:e$1.tokenTypes.CLOSING_PARENTHESIS,precedence:0},A={value:"(",type:e$1.tokenTypes.OPENING_PARENTHESIS,precedence:0,show:"("},O=[A],R=[],l=u,k=n,I=0,f=p,P="";void 0!==a&&this.addToken(a);var c=function(e,t){for(var n,s,o,p=[],r=t.length,T=0;T<r;T++)if(!(T<r-1&&" "===t[T]&&" "===t[T+1])){for(n="",s=t.length-T>h.length-2?h.length-1:t.length-T;s>0;s--)if(void 0!==h[s])for(o=0;o<h[s].length;o++)E(t,h[s][o],T,s)&&(n=h[s][o],o=h[s].length,s=0);if(T+=n.length-1,""===n)throw new Error("Can't understand after "+t.slice(T));p.push(e.tokens[N(n,e.tokens)]);}return p}(this,l);for(y=0;y<c.length;y++){var C=c[y];if(14!==C.type){var g,S=C.token,d=C.type,v=C.value,w=C.precedence,U=C.show,m=O[O.length-1];for(g=R.length;g--&&0===R[g];)if(-1!==[e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,e$1.tokenTypes.CONSTANT,e$1.tokenTypes.OPENING_PARENTHESIS,e$1.tokenTypes.CLOSING_PARENTHESIS,e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE,e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION,e$1.tokenTypes.COMMA,e$1.tokenTypes.EVALUATED_FUNCTION,e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER].indexOf(d)){if(!0!==k[d])throw new Error(S+" is not allowed after "+P);O.push(i),k=s$1,f=r$1,R.pop();}if(!0!==k[d])throw new Error(S+" is not allowed after "+P);!0===f[d]&&(d=e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,v=this.math.mul,U="×",w=3,y-=1);var H={value:v,type:d,precedence:w,show:U,numberOfArguments:C.numberOfArguments};if(d===e$1.tokenTypes.FUNCTION_WITH_ONE_ARG)k=n,f=p,t$1(R,1),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(2));else if(d===e$1.tokenTypes.NUMBER)m.type===e$1.tokenTypes.NUMBER?(m.value+=v,t$1(R,1)):O.push(H),k=s$1,f=o$1;else if(d===e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE)k=n,f=p,t$1(R,2),O.push(H);else if(d===e$1.tokenTypes.CONSTANT)O.push(H),k=s$1,f=r$1;else if(d===e$1.tokenTypes.OPENING_PARENTHESIS)t$1(R,1),I++,k=n,f=p,O.push(H);else if(d===e$1.tokenTypes.CLOSING_PARENTHESIS){if(!I)throw new Error("Closing parenthesis are more than opening one, wait What!!!");I--,k=s$1,f=r$1,O.push(H),t$1(R,1);}else if(d===e$1.tokenTypes.DECIMAL){if(m.hasDec)throw new Error("Two decimals are not allowed in one number");m.type!==e$1.tokenTypes.NUMBER&&(m={show:"0",value:0,type:e$1.tokenTypes.NUMBER,precedence:0},O.push(m),t$1(R,-1)),k=T,t$1(R,1),f=p,m.value+=v,m.hasDec=!0;}else d===e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&(k=s$1,f=r$1,t$1(R,1),O.push(H));d===e$1.tokenTypes.FUNCTION_WITH_N_ARGS?(k=n,f=p,t$1(R,C.numberOfArguments+2),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(C.numberOfArguments+2))):d===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?(m.type===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?m.value===this.math.add?(m.value=v,m.show=U,t$1(R,1)):m.value===this.math.sub&&"-"===U&&(m.value=this.math.add,m.show="+",t$1(R,1)):m.type!==e$1.tokenTypes.CLOSING_PARENTHESIS&&m.type!==e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&m.type!==e$1.tokenTypes.NUMBER&&m.type!==e$1.tokenTypes.CONSTANT&&m.type!==e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER?"-"===S&&(k=n,f=p,t$1(R,1),R.push(2),O.push(_),O.push(A)):(O.push(H),t$1(R,2)),k=n,f=p):d===e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION?(k=n,f=p,t$1(R,2),O.push(H)):d===e$1.tokenTypes.COMMA?(k=n,f=p,O.push(H)):d===e$1.tokenTypes.EVALUATED_FUNCTION?(k=n,f=p,t$1(R,6),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(6))):d===e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER&&(k=s$1,f=r$1,O.push(H)),t$1(R,-1),P=S;}else if(y>0&&y<c.length-1&&1===c[y+1].type&&(1===c[y-1].type||6===c[y-1].type))throw new Error("Unexpected Space")}for(g=R.length;g--;)O.push(i);if(!0!==k[5])throw new Error("complete the expression");for(;I--;)O.push(i);return O.push(i),O};
|
|
10522
10518
|
|
|
10523
10519
|
var postfix = {};
|
|
10524
10520
|
|
|
@@ -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: '21221626aac5257800ec2cb4a3f5a8ac8a8ed457', 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, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-
|
|
3
|
-
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, 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, R as FPaginator } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-970526a0.js';
|
|
3
|
+
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, 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, R as FPaginator } from './p-66800070.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-ef8cbd35.js';
|
|
2
2
|
import { K as KUP_PLANNER_MAIN_GANTT_ID } from './p-a0eeacbd.js';
|
|
3
3
|
import { a as KupDates } from './p-9d9181cf.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-47eafd24.js';
|
|
5
5
|
import { d as defineCustomElement$1 } from './p-5579a90c.js';
|
|
6
6
|
|
|
7
7
|
const columnWidthForTimeUnit = (timeUnit) => {
|
|
@@ -519,7 +519,7 @@ const TaskList = /*@__PURE__*/ proxyCustomElement(class TaskList extends H {
|
|
|
519
519
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
520
520
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
521
521
|
}
|
|
522
|
-
return (h("div", { key: '
|
|
522
|
+
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
|
|
523
523
|
? { height: this.ganttHeight + 'px' }
|
|
524
524
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
525
525
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -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, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-970526a0.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-66800070.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-5882e117.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
@@ -1402,13 +1402,13 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
|
|
|
1402
1402
|
// }
|
|
1403
1403
|
tickX += this.columnWidth;
|
|
1404
1404
|
}
|
|
1405
|
-
return (h("svg", { key: '
|
|
1405
|
+
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) => {
|
|
1406
1406
|
return task.barChildren.map((child) => {
|
|
1407
1407
|
if (task.type !== 'timeline') {
|
|
1408
1408
|
this.renderKupArrow(task, child);
|
|
1409
1409
|
}
|
|
1410
1410
|
});
|
|
1411
|
-
})), h("g", { key: '
|
|
1411
|
+
})), h("g", { key: 'e5824ca36bfb53ad9a52cfcac9507c91b86b7c43', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1412
1412
|
const forbidResize = task.type === 'project';
|
|
1413
1413
|
return (h("g", { onKeyDown: (e) => {
|
|
1414
1414
|
switch (e.key) {
|
|
@@ -1468,7 +1468,7 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
|
|
|
1468
1468
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1469
1469
|
}
|
|
1470
1470
|
})()));
|
|
1471
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
1471
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'f970fe6a4ac6e192f5fc012f39a027866fdfa6cf', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1472
1472
|
}
|
|
1473
1473
|
static get watchers() { return {
|
|
1474
1474
|
"columnWidth": ["updateXStep"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } 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, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-970526a0.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-66800070.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -84567,7 +84567,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
84567
84567
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
84568
84568
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
84569
84569
|
};
|
|
84570
|
-
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_candleChart, _KupEchart_calendarChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_createYWithColumnTitle, _KupEchart_createYForPie, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
84570
|
+
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_candleChart, _KupEchart_calendarChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_createYWithColumnTitle, _KupEchart_createYForPie, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_buildResponsiveAxisLabel, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
84571
84571
|
const KupEchart = /*@__PURE__*/ proxyCustomElement(class KupEchart extends H {
|
|
84572
84572
|
constructor() {
|
|
84573
84573
|
super();
|
|
@@ -84689,7 +84689,7 @@ const KupEchart = /*@__PURE__*/ proxyCustomElement(class KupEchart extends H {
|
|
|
84689
84689
|
'--kup_echart_height': this.sizeY ? this.sizeY : '100%',
|
|
84690
84690
|
'--kup_echart_width': this.sizeX ? this.sizeX : '100%',
|
|
84691
84691
|
};
|
|
84692
|
-
return (h(Host, { key: '
|
|
84692
|
+
return (h(Host, { key: '6695df3d157839e237b73df89f56dd438240739a', style: style }, h("style", { key: 'f645db394d2d0fc02d027e7958eaf9266be71a1d' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '8cc220551d3cee74babf45104cfa3409b2107ec1', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
|
|
84693
84693
|
}
|
|
84694
84694
|
disconnectedCallback() {
|
|
84695
84695
|
var _a;
|
|
@@ -85821,6 +85821,50 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85821
85821
|
});
|
|
85822
85822
|
break;
|
|
85823
85823
|
}
|
|
85824
|
+
}, _KupEchart_buildResponsiveAxisLabel = function _KupEchart_buildResponsiveAxisLabel(x, pxPerChr = 7) {
|
|
85825
|
+
const rootH = this.rootElement.clientHeight;
|
|
85826
|
+
const rootW = this.rootElement.clientWidth;
|
|
85827
|
+
const slots = x.length; // number of categories
|
|
85828
|
+
const slotW = Math.max(rootW / slots, 1); // px available per label
|
|
85829
|
+
const longestChr = Math.max(...x.map((l) => l.length));
|
|
85830
|
+
const longestPx = longestChr * pxPerChr; // rough pixel length
|
|
85831
|
+
const fitsFlat = longestPx <= slotW * 0.9;
|
|
85832
|
+
if (fitsFlat) {
|
|
85833
|
+
return { interval: 0, rotate: 0 };
|
|
85834
|
+
}
|
|
85835
|
+
let charLimit = 0;
|
|
85836
|
+
if (rootH < 200) {
|
|
85837
|
+
charLimit = 10;
|
|
85838
|
+
}
|
|
85839
|
+
else if (rootH < 400) {
|
|
85840
|
+
charLimit = 15;
|
|
85841
|
+
}
|
|
85842
|
+
else if (rootW < 400) {
|
|
85843
|
+
charLimit = 15;
|
|
85844
|
+
}
|
|
85845
|
+
else if (rootW < 600) {
|
|
85846
|
+
charLimit = 20;
|
|
85847
|
+
}
|
|
85848
|
+
else if (rootW < 800) {
|
|
85849
|
+
charLimit = 30;
|
|
85850
|
+
}
|
|
85851
|
+
else {
|
|
85852
|
+
charLimit = 40;
|
|
85853
|
+
}
|
|
85854
|
+
const toolong = longestChr > charLimit;
|
|
85855
|
+
if (!toolong) {
|
|
85856
|
+
const fitsTilt = longestPx <= slotW * 1.4;
|
|
85857
|
+
if (fitsTilt) {
|
|
85858
|
+
return { interval: 0, rotate: 22.5 };
|
|
85859
|
+
}
|
|
85860
|
+
}
|
|
85861
|
+
const clampW = Math.max(Math.floor(rootW / charLimit), 1);
|
|
85862
|
+
return {
|
|
85863
|
+
interval: 0,
|
|
85864
|
+
rotate: 22.5,
|
|
85865
|
+
width: clampW,
|
|
85866
|
+
overflow: 'truncate',
|
|
85867
|
+
};
|
|
85824
85868
|
}, _KupEchart_setOptions = function _KupEchart_setOptions() {
|
|
85825
85869
|
var _a;
|
|
85826
85870
|
const x = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createX).call(this);
|
|
@@ -85879,9 +85923,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85879
85923
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (params) => {
|
|
85880
85924
|
return `<b>${params.name}</b><br/>${params.seriesName}: <b>${params.value}</b>`;
|
|
85881
85925
|
} }),
|
|
85882
|
-
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: {
|
|
85883
|
-
formatter: axisLabelFormatter,
|
|
85884
|
-
} }), this.xAxis),
|
|
85926
|
+
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: Object.assign({ formatter: axisLabelFormatter }, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_buildResponsiveAxisLabel).call(this, x)) }), this.xAxis),
|
|
85885
85927
|
yAxis,
|
|
85886
85928
|
grid: { show: true, containLabel: true },
|
|
85887
85929
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } 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, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-970526a0.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-66800070.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -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: '746671a52e6654cd1ff1789c76e25d0aa8f3905b', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: '74a463a10c7124779eb5aa313bca389591fc131b', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: 'e8a8a2b86f963588af95a8a829993e5757b638cb', 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: '40cca30be82870be76d4ceaba428bf91bca3d515', 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", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, F as Fragment } from './index-9b0f4a0d.js';
|
|
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-
|
|
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-7acd779a.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-28fde4c9.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-24f67438.js';
|
|
8
|
+
import { F as FTextField } from './f-text-field-f64cc53e.js';
|
|
9
9
|
|
|
10
10
|
var FRadioType;
|
|
11
11
|
(function (FRadioType) {
|
|
@@ -18,6 +18,8 @@ var FRadioType;
|
|
|
18
18
|
/*-------------------------------------------------*/
|
|
19
19
|
const FRadio = (props) => {
|
|
20
20
|
var _a;
|
|
21
|
+
// props aliases
|
|
22
|
+
const horizontal = props.horizontal || props.RadLay == 'lineDirection';
|
|
21
23
|
const hasColumns = !!props.columns;
|
|
22
24
|
const radioList = [];
|
|
23
25
|
// Default to 'radio' if props.type is not specified
|
|
@@ -65,7 +67,7 @@ const FRadio = (props) => {
|
|
|
65
67
|
: '',
|
|
66
68
|
};
|
|
67
69
|
return (h("div", { class: `f-radio radio-wrapper
|
|
68
|
-
${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 : ''} ${
|
|
70
|
+
${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));
|
|
69
71
|
};
|
|
70
72
|
|
|
71
73
|
/*-------------------------------------------------*/
|
|
@@ -424,9 +426,6 @@ const FCell = (props, children) => {
|
|
|
424
426
|
const valueToDisplay = props.previousValue !== cell.value ? cell.value : '';
|
|
425
427
|
const cellType = dom.ketchup.data.cell.getType(cell, shape);
|
|
426
428
|
const sizing = props.density === 'extra_dense' ? 'extra-small' : (_b = cell.data) === null || _b === void 0 ? void 0 : _b.sizing;
|
|
427
|
-
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)
|
|
428
|
-
? { placeholderResource: cell.placeholderIcon }
|
|
429
|
-
: {})), (sizing ? { sizing } : {}));
|
|
430
429
|
let cssClasses = cell.cssClass
|
|
431
430
|
? cell.cssClass
|
|
432
431
|
: (column === null || column === void 0 ? void 0 : column.cssClass)
|
|
@@ -447,6 +446,9 @@ const FCell = (props, children) => {
|
|
|
447
446
|
if (!cell.data || Object.keys(cell.data).length === 0) {
|
|
448
447
|
setDefaults(cellType, cell);
|
|
449
448
|
}
|
|
449
|
+
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)
|
|
450
|
+
? { placeholderResource: cell.placeholderIcon }
|
|
451
|
+
: {})), (sizing ? { sizing } : {}));
|
|
450
452
|
if (isEditable && editableTypes.includes(cellType)) {
|
|
451
453
|
cell.data.showMarker = (_d = cell.tooltip) !== null && _d !== void 0 ? _d : false;
|
|
452
454
|
content = setEditableCell(cellType, classObj, cell, column, props);
|
|
@@ -606,14 +608,19 @@ const MainBTNAdapter = (_options, _fieldLabel, currentValue, cell) => ({
|
|
|
606
608
|
Object.assign(Object.assign({}, cell.data), { icon: cell.icon, placeholderIcon: cell.placeholderIcon, value: currentValue }),
|
|
607
609
|
],
|
|
608
610
|
});
|
|
609
|
-
const MainITXAdapter = (_options, fieldLabel, _currentValue, cell) =>
|
|
611
|
+
const MainITXAdapter = (_options, fieldLabel, _currentValue, cell) => {
|
|
612
|
+
var _a;
|
|
613
|
+
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 })));
|
|
614
|
+
};
|
|
610
615
|
const MainRADAdapter = (options, _fieldLabel, currentValue, cell) => {
|
|
616
|
+
var _a, _b, _c;
|
|
611
617
|
const newData = RADAdapter(currentValue, options);
|
|
612
|
-
|
|
618
|
+
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()) });
|
|
619
|
+
return value;
|
|
613
620
|
};
|
|
614
621
|
const MainCMBandACPAdapter = (options, fieldLabel, currentValue, cell, _id) => {
|
|
615
622
|
if (options) {
|
|
616
|
-
const configCMBandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
623
|
+
const configCMBandACP = CMBandACPAdapter(currentValue, fieldLabel, [], cell.data);
|
|
617
624
|
configCMBandACP.data['kup-list'].data = optionsTreeComboAdapter(options, currentValue);
|
|
618
625
|
if (!cell.data) {
|
|
619
626
|
return configCMBandACP;
|
|
@@ -841,7 +848,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
841
848
|
cellEvent(e, props, cellType, FCellEvents.INPUT);
|
|
842
849
|
}, onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), onKeyDown: onEditorKeyDown })));
|
|
843
850
|
case FCellTypes.FILE_UPLOAD:
|
|
844
|
-
return h("kup-file-upload", Object.assign({}, cell.data));
|
|
851
|
+
return (h("kup-file-upload", Object.assign({ "onKup-file-upload-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }, cell.data)));
|
|
845
852
|
case FCellTypes.MULTI_AUTOCOMPLETE: {
|
|
846
853
|
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) }),
|
|
847
854
|
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 })));
|
|
@@ -907,7 +914,8 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
907
914
|
}
|
|
908
915
|
else {
|
|
909
916
|
const isTextArea = (cell.shape ? cell.shape === FCellShapes.MEMO : false) ||
|
|
910
|
-
(cellType ? cellType === FCellTypes.MEMO : false)
|
|
917
|
+
(cellType ? cellType === FCellTypes.MEMO : false) ||
|
|
918
|
+
cell.data.maxLength >= 256;
|
|
911
919
|
return (h(FTextField, Object.assign({}, cell.data, { textArea: isTextArea, sizing: cell.data.sizing
|
|
912
920
|
? cell.data.sizing
|
|
913
921
|
: isTextArea
|
|
@@ -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-7acd779a.js';
|
|
4
4
|
|
|
5
5
|
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
6
6
|
const { id, value } = item;
|