@sme.up/ketchup 11.0.0-SNAPSHOT-20241023082921 → 11.0.0-SNAPSHOT-20241023092659
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/index-4e97f23f.js +4 -0
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +38 -38
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-htm.cjs.entry.js +100 -0
- package/dist/cjs/kup-htm.cjs.entry.js.map +1 -0
- package/dist/cjs/kup-image-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-input-panel.cjs.entry.js +1 -1
- package/dist/cjs/kup-lazy.cjs.entry.js +11 -11
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +1 -1
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1 -1
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/htm.js +20 -0
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/kup-htm/kup-htm-declarations.js +9 -0
- package/dist/collection/components/kup-htm/kup-htm-declarations.js.map +1 -0
- package/dist/collection/components/kup-htm/kup-htm.css +147 -0
- package/dist/collection/components/kup-htm/kup-htm.js +225 -0
- package/dist/collection/components/kup-htm/kup-htm.js.map +1 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +1 -1
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/kup-autocomplete2.js +38 -38
- package/dist/components/kup-gantt-calendar2.js +2 -2
- package/dist/components/kup-gantt2.js +2 -2
- package/dist/components/kup-grid-renderer2.js +3 -3
- package/dist/components/kup-horizontal-scroll2.js +5 -5
- package/dist/components/kup-htm.d.ts +11 -0
- package/dist/components/kup-htm.js +253 -0
- package/dist/components/kup-htm.js.map +1 -0
- package/dist/components/kup-image-list.js +3 -3
- package/dist/components/kup-input-panel.js +1 -1
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-renderer2.js +2 -2
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +1 -1
- package/dist/components/kup-switcher2.js +1 -1
- package/dist/components/kup-task-gantt2.js +2 -2
- package/dist/components/kup-task-list-header2.js +7 -7
- package/dist/components/kup-task-list-table2.js +1 -1
- package/dist/components/kup-task-list2.js +1 -1
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/esm/index-191ee7cb.js +4 -0
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-autocomplete_27.entry.js +38 -38
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-htm.entry.js +96 -0
- package/dist/esm/kup-htm.entry.js.map +1 -0
- package/dist/esm/kup-image-list.entry.js +3 -3
- package/dist/esm/kup-input-panel.entry.js +1 -1
- package/dist/esm/kup-lazy.entry.js +11 -11
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +1 -1
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +1 -1
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js.map +1 -1
- package/dist/ketchup/{p-b3c7cbd9.entry.js → p-20c22a22.entry.js} +2 -2
- package/dist/ketchup/{p-e921b455.entry.js → p-26efe39b.entry.js} +2 -2
- package/dist/ketchup/{p-18229ac3.entry.js → p-2c8d07af.entry.js} +2 -2
- package/dist/ketchup/{p-f4a6652e.entry.js → p-362a8b69.entry.js} +2 -2
- package/dist/ketchup/{p-45db3eae.entry.js → p-3a8f5a76.entry.js} +2 -2
- package/dist/ketchup/{p-39fa8da7.entry.js → p-3edff8e7.entry.js} +2 -2
- package/dist/ketchup/{p-9d9bb8a9.entry.js → p-422e1c5d.entry.js} +2 -2
- package/dist/ketchup/{p-9788df0b.entry.js → p-44b6390c.entry.js} +2 -2
- package/dist/ketchup/{p-fedd9482.entry.js → p-4b14b67b.entry.js} +2 -2
- package/dist/ketchup/p-5e889cbc.entry.js +2 -0
- package/dist/ketchup/p-5e889cbc.entry.js.map +1 -0
- package/dist/ketchup/{p-203cb58a.entry.js → p-94099e24.entry.js} +3 -3
- package/dist/ketchup/{p-8a77b0b2.entry.js → p-9fa6808d.entry.js} +2 -2
- package/dist/ketchup/{p-188ed514.entry.js → p-a33ea26d.entry.js} +2 -2
- package/dist/ketchup/{p-674a4d20.entry.js → p-b46a4d95.entry.js} +2 -2
- package/dist/ketchup/{p-246e4816.entry.js → p-b849ae30.entry.js} +2 -2
- package/dist/ketchup/p-bb4e26cb.entry.js +2 -0
- package/dist/ketchup/{p-e32ad7e4.entry.js.map → p-bb4e26cb.entry.js.map} +1 -1
- package/dist/ketchup/{p-7b5bef8e.entry.js → p-c7dfed3a.entry.js} +2 -2
- package/dist/ketchup/{p-992647ed.entry.js → p-ce5a86e1.entry.js} +2 -2
- package/dist/ketchup/{p-5d738584.entry.js → p-e8c292e9.entry.js} +2 -2
- package/dist/types/components/kup-htm/kup-htm-declarations.d.ts +7 -0
- package/dist/types/components/kup-htm/kup-htm.d.ts +40 -0
- package/dist/types/components.d.ts +57 -0
- package/package.json +1 -1
- package/dist/ketchup/p-e32ad7e4.entry.js +0 -2
- /package/dist/ketchup/{p-b3c7cbd9.entry.js.map → p-20c22a22.entry.js.map} +0 -0
- /package/dist/ketchup/{p-e921b455.entry.js.map → p-26efe39b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-18229ac3.entry.js.map → p-2c8d07af.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f4a6652e.entry.js.map → p-362a8b69.entry.js.map} +0 -0
- /package/dist/ketchup/{p-45db3eae.entry.js.map → p-3a8f5a76.entry.js.map} +0 -0
- /package/dist/ketchup/{p-39fa8da7.entry.js.map → p-3edff8e7.entry.js.map} +0 -0
- /package/dist/ketchup/{p-9d9bb8a9.entry.js.map → p-422e1c5d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-9788df0b.entry.js.map → p-44b6390c.entry.js.map} +0 -0
- /package/dist/ketchup/{p-fedd9482.entry.js.map → p-4b14b67b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-203cb58a.entry.js.map → p-94099e24.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8a77b0b2.entry.js.map → p-9fa6808d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-188ed514.entry.js.map → p-a33ea26d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-674a4d20.entry.js.map → p-b46a4d95.entry.js.map} +0 -0
- /package/dist/ketchup/{p-246e4816.entry.js.map → p-b849ae30.entry.js.map} +0 -0
- /package/dist/ketchup/{p-7b5bef8e.entry.js.map → p-c7dfed3a.entry.js.map} +0 -0
- /package/dist/ketchup/{p-992647ed.entry.js.map → p-ce5a86e1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-5d738584.entry.js.map → p-e8c292e9.entry.js.map} +0 -0
|
@@ -573,9 +573,9 @@ const KupGantt = class {
|
|
|
573
573
|
TaskListHeader: this.TaskListHeader,
|
|
574
574
|
TaskListTable: this.TaskListTable
|
|
575
575
|
};
|
|
576
|
-
return (index.h("div", { key: '
|
|
576
|
+
return (index.h("div", { key: '836af3f1012d6eb8276048866fc9a976b349775e', class: "gannt-wrapper-main" }, index.h("div", { key: '67654e8431be67e00d1bff668d9d90b3a7b3b21f', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (index.h("kup-task-list", Object.assign({ key: '2e419799a7a5ad604357225ec48b6be0b6a9353a', currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", scrollableTaskList: this.scrollableTaskList, updateTaskListScrollX: this.ignoreScrollEvent, ontaskListScrollWidth: (width) => {
|
|
577
577
|
this.taskListScrollWidth = width;
|
|
578
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), index.h("kup-task-gantt", { key: '
|
|
578
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), index.h("kup-task-gantt", { key: '4587424ff6d24d47b471cfc28972cb34e42ba0c7', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, phaseDragScroll: this.handlePhaseDragScroll.bind(this), class: "ganttContainer" }), this.ganttEvent.changedTask && (index.h("kup-tooltip", { key: 'a2c655b425591b41492f4b77c9f8e3b1130565a4', arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), index.h("kup-vertical-scroll", { key: '2122835b9bf5929d76ee7cf28c60be64bc2b2a01', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (index.h("kup-horizontal-scroll", { key: '167011334f0919c9df59bb91c54be5d039a8e261', svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this), horizontalTaskListScroll: this.handleTaskListScrollX.bind(this), listCellWidth: this.listCellWidth, scrollableTaskList: this.scrollableTaskList, taskListScrollWidth: this.taskListScrollWidth, taskListScrollNumber: this.taskListScrollX }))));
|
|
579
579
|
}
|
|
580
580
|
get rootElement() { return index.getElement(this); }
|
|
581
581
|
static get watchers() { return {
|
|
@@ -686,20 +686,20 @@ const HorizontalScroll = class {
|
|
|
686
686
|
var _a, _b;
|
|
687
687
|
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
|
|
688
688
|
const width = +this.listCellWidth.replace('px', '');
|
|
689
|
-
return (index.h(index.Fragment, { key: '
|
|
690
|
-
this.taskListScrollWidth > width && (index.h("div", { key: '
|
|
689
|
+
return (index.h(index.Fragment, { key: '0359e34c59e8f83b91edf4ea4455f9b0b818b187' }, index.h("div", { key: '1f959a14bd712c24fd9247aeeba42d4702f4a647', class: "scroll-container" }, this.scrollableTaskList &&
|
|
690
|
+
this.taskListScrollWidth > width && (index.h("div", { key: '0c90c113ae5ad82ce41a1dd30037c14f0d3aa071', dir: "ltr", style: {
|
|
691
691
|
margin: this.rtl
|
|
692
692
|
? `0px 20px 0px 20px`
|
|
693
693
|
: `0px 20px 0px 20px`,
|
|
694
694
|
maxWidth: `${width + 20}px`,
|
|
695
695
|
minWidth: `${width + 20}px`,
|
|
696
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, index.h("div", { key: '
|
|
696
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, index.h("div", { key: '2baa4a929f17a9fb7df2a74328ad231445fd9639', style: {
|
|
697
697
|
width: `${this.taskListScrollWidth}px`,
|
|
698
|
-
}, class: "scroll" }))), index.h("div", { key: '
|
|
698
|
+
}, class: "scroll" }))), index.h("div", { key: '070aa5027e20fc0f31d3ab66672789ce29d3ad8a', dir: "ltr", style: {
|
|
699
699
|
margin: this.rtl
|
|
700
700
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
701
701
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
702
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, index.h("div", { key: '
|
|
702
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, index.h("div", { key: '509f0a35443c329e6c86bafbb1a7f93919b62f48', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
703
703
|
}
|
|
704
704
|
get rootElement() { return index.getElement(this); }
|
|
705
705
|
static get watchers() { return {
|
|
@@ -720,7 +720,7 @@ const StandardTooltipContent = class {
|
|
|
720
720
|
this.fontFamily = undefined;
|
|
721
721
|
}
|
|
722
722
|
render() {
|
|
723
|
-
return (index.h("div", { key: '
|
|
723
|
+
return (index.h("div", { key: '6e4baa35e22f4add6f7d9b71f472818eb81043fe', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, index.h("b", { key: 'c3669ef657f2f16cc0dd3789c092757c238af0ba', 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 && (index.h("p", { key: '919d7543791605febf24c54992eec344d69a78f9', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), index.h("p", { key: 'e4292000dc3eecf27db918ec1e9b78d8e9b6b6ed', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
|
|
724
724
|
}
|
|
725
725
|
};
|
|
726
726
|
StandardTooltipContent.style = KupStandardTooltipStyle0;
|
|
@@ -746,7 +746,7 @@ const KupSwitcher = class {
|
|
|
746
746
|
this.activeButton = mode;
|
|
747
747
|
this.timeUnitChange(mode);
|
|
748
748
|
};
|
|
749
|
-
return (index.h("div", { key: '
|
|
749
|
+
return (index.h("div", { key: '9540112cd61ae116e61feca0d2424e3511139f25', class: "switcher" }, this.buttonLabels.map((label) => (index.h("button", { type: "button", class: {
|
|
750
750
|
button: true,
|
|
751
751
|
buttonActive: this.activeButton === label,
|
|
752
752
|
}, onClick: () => handleButtonClick(label) }, index.h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -790,12 +790,12 @@ const TaskGantt = class {
|
|
|
790
790
|
}
|
|
791
791
|
render() {
|
|
792
792
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
793
|
-
return (index.h("div", { key: '
|
|
793
|
+
return (index.h("div", { key: '225f4d8173ff69d5ddde8d2f5ed33bdbe463c47b', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, index.h("kup-gantt-calendar", { key: 'fee606b4e38108514adcb1a7f1e5e6279ab6ff88', 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 }), index.h("div", { key: '4cf70e2505d9be056ed47d36b6f7c856801e3c58', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
|
|
794
794
|
? {
|
|
795
795
|
height: `${this.ganttHeight}px`,
|
|
796
796
|
width: `${this.gridProps.svgWidth}px`,
|
|
797
797
|
}
|
|
798
|
-
: { width: `${this.gridProps.svgWidth}px` } }, index.h("kup-grid-renderer", Object.assign({ key: '
|
|
798
|
+
: { width: `${this.gridProps.svgWidth}px` } }, index.h("kup-grid-renderer", Object.assign({ key: '27ebb2611cb6f3f432b555f1f29a0e906df4cab3' }, newBarProps)))));
|
|
799
799
|
}
|
|
800
800
|
get rootElement() { return index.getElement(this); }
|
|
801
801
|
static get watchers() { return {
|
|
@@ -895,7 +895,7 @@ const TaskList = class {
|
|
|
895
895
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
896
896
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
897
897
|
}
|
|
898
|
-
return (index.h("div", { key: '
|
|
898
|
+
return (index.h("div", { key: 'a19dc6c19ddcf5af323857e2f3a86ad81378c5a6', ref: (el) => (this.taskListRef = el) }, TaskListHeader && TaskListHeader['$attrs$'] ? (TaskListHeader) : (index.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))), index.h("div", { key: '863960227bf03fef0e3db1064df6edc56386868c', class: `${this.horizontalContainerClass} ${this.scrollableTaskList ? 'horizontalContainerScrollable' : ''}`, style: this.ganttHeight
|
|
899
899
|
? { height: this.ganttHeight + 'px' }
|
|
900
900
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (index.h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
901
901
|
let row = kupPlannerRendererHelper.getProjectById(id, this.currentTasks);
|
|
@@ -944,22 +944,22 @@ const KupTaskListHeader = class {
|
|
|
944
944
|
this.rowWidth = undefined;
|
|
945
945
|
}
|
|
946
946
|
render() {
|
|
947
|
-
return (index.h("div", { key: '
|
|
947
|
+
return (index.h("div", { key: '7c38309df79834a182510f6afc3ddf8c9ce0b46f', class: "ganttTable", style: {
|
|
948
948
|
fontFamily: this.fontFamily,
|
|
949
949
|
fontSize: this.fontSize,
|
|
950
|
-
} }, index.h("div", { key: '
|
|
950
|
+
} }, index.h("div", { key: '41f5891329b6ac17fbfad63f5a8fc89aadff5d96', class: "ganttTable_Header", style: {
|
|
951
951
|
height: `${this.headerHeight - 2}px`,
|
|
952
|
-
} }, index.h("div", { key: '
|
|
952
|
+
} }, index.h("div", { key: '9b30d5bad4ce720ca1d3efdd3e1c5df91866202d', class: "ganttTable_HeaderItem", style: {
|
|
953
953
|
minWidth: this.rowWidth,
|
|
954
|
-
} }, "\u00A0Name"), index.h("div", { key: '
|
|
954
|
+
} }, "\u00A0Name"), index.h("div", { key: '9bf3e558ee06f137809853c3da1682eded542586', class: "ganttTable_HeaderSeparator", style: {
|
|
955
955
|
height: `${this.headerHeight * 0.5}px`,
|
|
956
956
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
957
|
-
} }), index.h("div", { key: '
|
|
957
|
+
} }), index.h("div", { key: 'b57e9cb06f84f0acf420e28e1d6ee1a3c66da79d', class: "ganttTable_HeaderItem", style: {
|
|
958
958
|
minWidth: this.rowWidth,
|
|
959
|
-
} }, "\u00A0From"), index.h("div", { key: '
|
|
959
|
+
} }, "\u00A0From"), index.h("div", { key: '62dd83ffb11015bc40b8437e35eb2e2686e2d0ff', class: "ganttTable_HeaderSeparator", style: {
|
|
960
960
|
height: `${this.headerHeight * 0.5}px`,
|
|
961
961
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
962
|
-
} }), index.h("div", { key: '
|
|
962
|
+
} }), index.h("div", { key: '41790ff5c2576c41a11be2a3ef9e811d35b526ca', class: "ganttTable_HeaderItem", style: {
|
|
963
963
|
minWidth: this.rowWidth,
|
|
964
964
|
} }, "\u00A0To"))));
|
|
965
965
|
}
|
|
@@ -993,7 +993,7 @@ const TaskListTableDefault = class {
|
|
|
993
993
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
994
994
|
}
|
|
995
995
|
render() {
|
|
996
|
-
return (index.h("div", { key: '
|
|
996
|
+
return (index.h("div", { key: '1b39b6a152899cd206287a8be18fa083d19c91a9', class: "taskListWrapper", style: {
|
|
997
997
|
fontFamily: this.fontFamily,
|
|
998
998
|
fontSize: this.fontSize,
|
|
999
999
|
} }, this.tasks.map((task) => (index.h("div", { class: {
|
|
@@ -1082,7 +1082,7 @@ const Tooltip = class {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
render() {
|
|
1085
|
-
return (index.h("div", { key: '
|
|
1085
|
+
return (index.h("div", { key: '376115aa725f2be586aaa2f5000cfe35e9ed2fb8', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, index.h(this.TooltipContent, { key: '3eb3daba50c63eee9b4bcdf42d9565ab633efeca', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
1086
1086
|
}
|
|
1087
1087
|
get rootElement() { return index.getElement(this); }
|
|
1088
1088
|
static get watchers() { return {
|
|
@@ -1136,11 +1136,11 @@ const KupVerticalScroll = class {
|
|
|
1136
1136
|
};
|
|
1137
1137
|
}
|
|
1138
1138
|
render() {
|
|
1139
|
-
return (index.h("div", { key: '
|
|
1139
|
+
return (index.h("div", { key: 'ff60569ab85cb336d97223e914f1161a0ed1def5', style: {
|
|
1140
1140
|
height: `${this.ganttHeight}px`,
|
|
1141
1141
|
marginTop: `${this.headerHeight}px`,
|
|
1142
1142
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
1143
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, index.h("div", { key: '
|
|
1143
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, index.h("div", { key: '0e05750fe66a56f93277bed8c3fad94c0f388abc', style: {
|
|
1144
1144
|
height: `${this.ganttFullHeight}px`,
|
|
1145
1145
|
width: '1px',
|
|
1146
1146
|
} })));
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-4e97f23f.js');
|
|
6
|
+
const kupManager = require('./kup-manager-3e7452e3.js');
|
|
7
|
+
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
+
require('./kup-dates-3fc9697c.js');
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Props of the kup-htm component.
|
|
12
|
+
* Used to export every prop in an object.
|
|
13
|
+
*/
|
|
14
|
+
var KupHTMProps;
|
|
15
|
+
(function (KupHTMProps) {
|
|
16
|
+
KupHTMProps["data"] = "Data of the component containing url or html";
|
|
17
|
+
})(KupHTMProps || (KupHTMProps = {}));
|
|
18
|
+
|
|
19
|
+
const kupHtmCss = ".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:0.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:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{height:100%;width:100%;display:block}#kup-component{height:100%}#kup-component .kup-htm.is-link{height:100%}#kup-component .kup-htm.is-link a{float:left}#kup-component .kup-htm.is-link iframe{height:100%;width:100%}";
|
|
20
|
+
const KupHtmStyle0 = kupHtmCss;
|
|
21
|
+
|
|
22
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
23
|
+
if (kind === "a" && !f)
|
|
24
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
25
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
26
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
27
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
28
|
+
};
|
|
29
|
+
var _KupHTM_kupManager;
|
|
30
|
+
const KupHTM = class {
|
|
31
|
+
constructor(hostRef) {
|
|
32
|
+
index.registerInstance(this, hostRef);
|
|
33
|
+
this.kupReady = index.createEvent(this, "kup-htm-ready", 6);
|
|
34
|
+
/*-------------------------------------------------*/
|
|
35
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
36
|
+
/*-------------------------------------------------*/
|
|
37
|
+
_KupHTM_kupManager.set(this, kupManager.kupManagerInstance());
|
|
38
|
+
this.data = undefined;
|
|
39
|
+
}
|
|
40
|
+
/*-------------------------------------------------*/
|
|
41
|
+
/* P u b l i c M e t h o d s */
|
|
42
|
+
/*-------------------------------------------------*/
|
|
43
|
+
/**
|
|
44
|
+
* Used to retrieve component's props values.
|
|
45
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
46
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
47
|
+
*/
|
|
48
|
+
async getProps(descriptions) {
|
|
49
|
+
return kupManager.getProps(this, KupHTMProps, descriptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* This method is used to trigger a new render of the component.
|
|
53
|
+
*/
|
|
54
|
+
async refresh() {
|
|
55
|
+
index.forceUpdate(this);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Sets the props to the component.
|
|
59
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
60
|
+
*/
|
|
61
|
+
async setProps(props) {
|
|
62
|
+
kupManager.setProps(this, KupHTMProps, props);
|
|
63
|
+
}
|
|
64
|
+
/*-------------------------------------------------*/
|
|
65
|
+
/* L i f e c y c l e H o o k s */
|
|
66
|
+
/*-------------------------------------------------*/
|
|
67
|
+
componentWillLoad() {
|
|
68
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").debug.logLoad(this, false);
|
|
69
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.register(this);
|
|
70
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.register(this);
|
|
71
|
+
}
|
|
72
|
+
componentDidLoad() {
|
|
73
|
+
this.kupReady.emit({
|
|
74
|
+
comp: this,
|
|
75
|
+
id: this.rootElement.id,
|
|
76
|
+
});
|
|
77
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").debug.logLoad(this, true);
|
|
78
|
+
}
|
|
79
|
+
componentWillRender() {
|
|
80
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").debug.logRender(this, false);
|
|
81
|
+
}
|
|
82
|
+
componentDidRender() {
|
|
83
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").debug.logRender(this, true);
|
|
84
|
+
}
|
|
85
|
+
render() {
|
|
86
|
+
const isLink = __classPrivateFieldGet(this, _KupHTM_kupManager, "f").objects.isLink(this.data.obj);
|
|
87
|
+
return (index.h(index.Host, { key: 'e973cfb80ddc6aba894dd2994b3be82fc93a07bc' }, index.h("style", { key: 'cd5f18859b77dfbaa1008cfe37183e18780b8e38' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '69a912436a0c644bbe0ca38efe2aff60c31b15e4', id: GenericVariables.componentWrapperId }, index.h("div", { key: '5e057d8c92cbfd479a57c10c205e96be51475007', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (index.h(index.Fragment, null, index.h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.OPEN_IN_NEW_TAB)), index.h("iframe", { src: this.data.value, frameBorder: "0" }))) : (index.h("div", { innerHTML: this.data.value }))))));
|
|
88
|
+
}
|
|
89
|
+
disconnectedCallback() {
|
|
90
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
|
|
91
|
+
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.unregister(this);
|
|
92
|
+
}
|
|
93
|
+
get rootElement() { return index.getElement(this); }
|
|
94
|
+
};
|
|
95
|
+
_KupHTM_kupManager = new WeakMap();
|
|
96
|
+
KupHTM.style = KupHtmStyle0;
|
|
97
|
+
|
|
98
|
+
exports.kup_htm = KupHTM;
|
|
99
|
+
|
|
100
|
+
//# sourceMappingURL=kup-htm.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"kup-htm.entry.cjs.js","mappings":";;;;;;;;;AAAA;;;;AAIA,IAAY,WAEX;AAFD,WAAY,WAAW;IACnB,oEAAqD,CAAA;AACzD,CAAC,EAFW,WAAW,KAAX,WAAW;;ACJvB,MAAM,SAAS,GAAG,wpEAAwpE,CAAC;AAC3qE,qBAAe,SAAS;;;;;;;;;;MC+BX,MAAM;;;;;;;QAoBf,6BAA0BA,6BAAkB,EAAE,EAAC;;;;;;;;;;;IA2B/C,MAAM,QAAQ,CAAC,YAAsB;QACjC,OAAOC,mBAAQ,CAAC,IAAI,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;KACpD;;;;IAKD,MAAM,OAAO;QACTC,iBAAW,CAAC,IAAI,CAAC,CAAC;KACrB;;;;;IAMD,MAAM,QAAQ,CAAC,KAAoB;QAC/BC,mBAAQ,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KACtC;;;;IAMD,iBAAiB;QACb,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC5C,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACtC,uBAAA,IAAI,0BAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;KAC5C;IAED,gBAAgB;QACZ,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YACf,IAAI,EAAE,IAAI;YACV,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,EAAE;SAC1B,CAAC,CAAC;QACH,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KAC9C;IAED,mBAAmB;QACf,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KACjD;IAED,kBAAkB;QACd,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KAChD;IAED,MAAM;QACF,MAAM,MAAM,GAAG,uBAAA,IAAI,0BAAY,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAE9D,QACIC,QAACC,UAAI,uDACDD,sEACK,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,WAAW,CAC/B,IAAI,CAAC,WAA2B,CACnC,CACG,EACRA,kEAAK,EAAE,EAAEE,mCAAkB,IACvBF,kEAAK,KAAK,EAAE,WAAW,MAAM,GAAG,SAAS,GAAG,EAAE,EAAE,IAC3C,MAAM,IACHA,QAACG,cAAQ,QACLH,eACI,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EACrB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,IAExB,uBAAA,IAAI,0BAAY,CAAC,QAAQ,CAAC,SAAS,CAChCI,6BAAkB,CAAC,eAAe,CACrC,CACD,EACJJ,oBACI,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EACpB,WAAW,EAAC,GAAG,GACT,CACH,KAEXA,iBAAK,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,GAAI,CACtC,CACC,CACJ,CACH,EACT;KACL;IAED,oBAAoB;QAChB,uBAAA,IAAI,0BAAY,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACxC,uBAAA,IAAI,0BAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;KAC9C;;;;;;;;","names":["kupManagerInstance","getProps","forceUpdate","setProps","h","Host","componentWrapperId","Fragment","KupLanguageGeneric"],"sources":["src/components/kup-htm/kup-htm-declarations.ts","src/components/kup-htm/kup-htm.scss?tag=kup-htm&encapsulation=shadow","src/components/kup-htm/kup-htm.tsx"],"sourcesContent":["/**\n * Props of the kup-htm component.\n * Used to export every prop in an object.\n */\nexport enum KupHTMProps {\n data = 'Data of the component containing url or html',\n}\n",":host {\n height: 100%;\n width: 100%;\n display: block;\n}\n\n#kup-component {\n height: 100%;\n .kup-htm.is-link {\n height: 100%;\n a {\n float: left;\n }\n iframe {\n height: 100%;\n width: 100%;\n }\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n forceUpdate,\n h,\n Host,\n Method,\n Prop,\n Fragment,\n} from '@stencil/core';\nimport {\n KupManager,\n kupManagerInstance,\n} from '../../managers/kup-manager/kup-manager';\nimport { KupDataCell } from '../../managers/kup-data/kup-data-declarations';\nimport { componentWrapperId } from '../../variables/GenericVariables';\nimport {\n GenericObject,\n KupComponent,\n KupEventPayload,\n} from '../../types/GenericTypes';\nimport { getProps, setProps } from '../../utils/utils';\nimport { KupHTMProps } from './kup-htm-declarations';\nimport { KupLanguageGeneric } from '../../managers/kup-language/kup-language-declarations';\n\n@Component({\n tag: 'kup-htm',\n styleUrl: 'kup-htm.scss',\n shadow: true,\n})\nexport class KupHTM {\n /**\n * References the root HTML element of the component (<kup-htm>).\n */\n @Element() rootElement: HTMLElement;\n\n /*-------------------------------------------------*/\n /* P r o p s */\n /*-------------------------------------------------*/\n\n /**\n * Data containing the url or html.\n * @default null\n */\n @Prop() data: KupDataCell;\n\n /*-------------------------------------------------*/\n /* I n t e r n a l V a r i a b l e s */\n /*-------------------------------------------------*/\n\n #kupManager: KupManager = kupManagerInstance();\n\n /*-------------------------------------------------*/\n /* E v e n t s */\n /*-------------------------------------------------*/\n\n /**\n * Triggered when the component is ready.\n */\n @Event({\n eventName: 'kup-htm-ready',\n composed: true,\n cancelable: false,\n bubbles: true,\n })\n kupReady: EventEmitter<KupEventPayload>;\n\n /*-------------------------------------------------*/\n /* P u b l i c M e t h o d s */\n /*-------------------------------------------------*/\n\n /**\n * Used to retrieve component's props values.\n * @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.\n * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.\n */\n @Method()\n async getProps(descriptions?: boolean): Promise<GenericObject> {\n return getProps(this, KupHTMProps, descriptions);\n }\n /**\n * This method is used to trigger a new render of the component.\n */\n @Method()\n async refresh(): Promise<void> {\n forceUpdate(this);\n }\n /**\n * Sets the props to the component.\n * @param {GenericObject} props - Object containing props that will be set to the component.\n */\n @Method()\n async setProps(props: GenericObject): Promise<void> {\n setProps(this, KupHTMProps, props);\n }\n\n /*-------------------------------------------------*/\n /* L i f e c y c l e H o o k s */\n /*-------------------------------------------------*/\n\n componentWillLoad() {\n this.#kupManager.debug.logLoad(this, false);\n this.#kupManager.theme.register(this);\n this.#kupManager.language.register(this);\n }\n\n componentDidLoad() {\n this.kupReady.emit({\n comp: this,\n id: this.rootElement.id,\n });\n this.#kupManager.debug.logLoad(this, true);\n }\n\n componentWillRender() {\n this.#kupManager.debug.logRender(this, false);\n }\n\n componentDidRender() {\n this.#kupManager.debug.logRender(this, true);\n }\n\n render() {\n const isLink = this.#kupManager.objects.isLink(this.data.obj);\n\n return (\n <Host>\n <style>\n {this.#kupManager.theme.setKupStyle(\n this.rootElement as KupComponent\n )}\n </style>\n <div id={componentWrapperId}>\n <div class={`kup-htm ${isLink ? 'is-link' : ''}`}>\n {isLink ? (\n <Fragment>\n <a\n href={this.data.value}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n {this.#kupManager.language.translate(\n KupLanguageGeneric.OPEN_IN_NEW_TAB\n )}\n </a>\n <iframe\n src={this.data.value}\n frameBorder=\"0\"\n ></iframe>\n </Fragment>\n ) : (\n <div innerHTML={this.data.value} />\n )}\n </div>\n </div>\n </Host>\n );\n }\n\n disconnectedCallback() {\n this.#kupManager.theme.unregister(this);\n this.#kupManager.language.unregister(this);\n }\n}\n"],"version":3}
|
|
@@ -234,14 +234,14 @@ const KupImageList = class {
|
|
|
234
234
|
};
|
|
235
235
|
combinedGridStyle = Object.assign(Object.assign({}, combinedGridStyle), gridRowsStyle);
|
|
236
236
|
}
|
|
237
|
-
return (index.h(index.Host, { key: '
|
|
237
|
+
return (index.h(index.Host, { key: '81da022bca5cec8e7a25ae5854126fc8d1df1949' }, index.h("style", { key: 'e7ca04de4d67ec2bfd6b069f560c9cf5f131a235' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'bb9852654bdef8112a36d4fe096a39e4b925cd0c', id: GenericVariables.componentWrapperId, ref: (el) => {
|
|
238
238
|
__classPrivateFieldSet(this, _KupImageList_el, el, "f");
|
|
239
|
-
} }, index.h("div", { key: '
|
|
239
|
+
} }, index.h("div", { key: '3547692cbbe395329b3f9ee5f6c5a9c35171e7a6', class: "navigation-bar" }, hasNavigation ? (index.h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
240
240
|
? 'navigation-bar__wrapper--active'
|
|
241
241
|
: ''}` }, index.h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
242
242
|
this.navigationBarToggled =
|
|
243
243
|
!this.navigationBarToggled;
|
|
244
|
-
} }, index.h(fImage.FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), index.h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.BACK) })), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOP) })))) : null), index.h("div", { key: '
|
|
244
|
+
} }, index.h(fImage.FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), index.h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.BACK) })), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOP) })))) : null), index.h("div", { key: '60eb2ce4d81bfdaf39310d9276edfab440200ab6', class: "image-list", style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
245
245
|
}
|
|
246
246
|
disconnectedCallback() {
|
|
247
247
|
__classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -231,7 +231,7 @@ const KupInputPanel = class {
|
|
|
231
231
|
index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
|
|
232
232
|
]
|
|
233
233
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
234
|
-
return (index.h(index.Host, { key: '
|
|
234
|
+
return (index.h(index.Host, { key: '62cdea4b11e55aaf3a71231851f798bee78bf60e' }, index.h("style", { key: 'de02343d1c662d98d2fb9acce6222072cf61e4fb' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '76c0582d6e71eff483aa177d252eea61b7804f1b', id: GenericVariables.componentWrapperId }, inputPanelContent)));
|
|
235
235
|
}
|
|
236
236
|
disconnectedCallback() {
|
|
237
237
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -138,39 +138,39 @@ const KupLazy = class {
|
|
|
138
138
|
switch (this.componentName) {
|
|
139
139
|
case 'kup-button':
|
|
140
140
|
//call_to_action.svg
|
|
141
|
-
resource = (index.h("svg", { key: '
|
|
141
|
+
resource = (index.h("svg", { key: '220fa65d9836c520dfed8e3dae2700c6b2b0cb9a', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '1d1e33f3ed89c32e6ee9ad2b1996fb65037cc3f2', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
|
|
142
142
|
break;
|
|
143
143
|
case 'kup-card':
|
|
144
144
|
//art_track.svg
|
|
145
|
-
resource = (index.h("svg", { key: '
|
|
145
|
+
resource = (index.h("svg", { key: 'd799cc013987de74e23c34201ecd2186c57b13f1', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'de98ef94a3f714e45e56a02877d4a139a8804424', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
146
146
|
break;
|
|
147
147
|
case 'kup-checkbox':
|
|
148
148
|
//check_box_outline_blank.svg
|
|
149
|
-
resource = (index.h("svg", { key: '
|
|
149
|
+
resource = (index.h("svg", { key: '26ad78503d5c00f5b902b2bddb782a14f1a13b73', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '03ae544d551c47e0dce8f8fbaa92b1a2a1024c55', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
|
|
150
150
|
break;
|
|
151
151
|
case 'kup-chart':
|
|
152
152
|
//chart-bar.svg
|
|
153
|
-
resource = (index.h("svg", { key: '
|
|
153
|
+
resource = (index.h("svg", { key: 'cc70b61653552ff28e1b6eda65ca7bec5bbbe7d2', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: 'f63b011d43b7c6649e1392de9426b325259e9f38', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
154
154
|
break;
|
|
155
155
|
case 'kup-data-table':
|
|
156
156
|
//table-large.svg
|
|
157
|
-
resource = (index.h("svg", { key: '
|
|
157
|
+
resource = (index.h("svg", { key: '3c6218a9e78c22aa2cfdd787a77fd7575409b926', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: '28aaf9eb0e27fd2ad901866bd1f93ff181eba283', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
|
|
158
158
|
break;
|
|
159
159
|
case 'kup-image':
|
|
160
160
|
//photo.svg
|
|
161
|
-
resource = (index.h("svg", { key: '
|
|
161
|
+
resource = (index.h("svg", { key: '695002a63b98d0c090f350df167e2dec9b85c8f6', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '160f2450a206b3da182ef9514e41d0e9cfebd7dd', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
|
|
162
162
|
break;
|
|
163
163
|
case 'kup-progress-bar':
|
|
164
164
|
//linear_scale.svg
|
|
165
|
-
resource = (index.h("svg", { key: '
|
|
165
|
+
resource = (index.h("svg", { key: 'e7f09d307522f61e8448975f881fb435f0c585bd', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '2ad28af4bed1da877edb16db6acdc392bfbfb47b', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
|
|
166
166
|
break;
|
|
167
167
|
case 'kup-radio':
|
|
168
168
|
//radio_button_unchecked.svg
|
|
169
|
-
resource = (index.h("svg", { key: '
|
|
169
|
+
resource = (index.h("svg", { key: 'c60a5e10b12c2945bdc8d0558d1fb9c46cb4ca90', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'f016960b177263ba06c3b63c4761fef4a06a4fd3', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
|
|
170
170
|
break;
|
|
171
171
|
default:
|
|
172
172
|
//art_track.svg
|
|
173
|
-
resource = (index.h("svg", { key: '
|
|
173
|
+
resource = (index.h("svg", { key: 'f221046bcd689deebeb597f557d547292518a34a', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '8cd9ec1705efd526543348dcfe793c0705399482', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
174
174
|
break;
|
|
175
175
|
}
|
|
176
176
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -179,14 +179,14 @@ const KupLazy = class {
|
|
|
179
179
|
this.data &&
|
|
180
180
|
this.isInViewport)) {
|
|
181
181
|
let Tag = this.componentName;
|
|
182
|
-
content = (index.h(Tag, Object.assign({ key: '
|
|
182
|
+
content = (index.h(Tag, Object.assign({ key: 'b856e5475a8fc048cf96c0ee534f17fa2ad261fe' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
183
183
|
className += ' kup-loaded';
|
|
184
184
|
}
|
|
185
185
|
else if (this.showPlaceholder) {
|
|
186
186
|
content = resource;
|
|
187
187
|
className += ' kup-to-be-loaded';
|
|
188
188
|
}
|
|
189
|
-
return (index.h(index.Host, { key: '
|
|
189
|
+
return (index.h(index.Host, { key: 'de01035df24b5d3811ca54bb3840bf232287103d', class: className }, index.h("style", { key: 'db6f4fe85ed90c8a17b598a4805eff35fbfc11af' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '00c41dbaa1579061edf0b9472b19e6c5c8f24eb9', id: GenericVariables.componentWrapperId }, content)));
|
|
190
190
|
}
|
|
191
191
|
disconnectedCallback() {
|
|
192
192
|
var _a;
|
|
@@ -291,11 +291,11 @@ const KupMagicBox = class {
|
|
|
291
291
|
this.kupManager.debug.logRender(this, true);
|
|
292
292
|
}
|
|
293
293
|
render() {
|
|
294
|
-
return (index.h(index.Host, { key: '
|
|
294
|
+
return (index.h(index.Host, { key: '8f04a5029dad9d7d8f3673124a6fb954880719d5' }, index.h("style", { key: 'af43ffc44c345efb6982aecac7ffeb7469a1e1ab' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '4da32884b8cfaee501fe98de3ad61dbfd40644f1', id: GenericVariables.componentWrapperId }, index.h("div", { key: '3ae6ee9f2ee07d1ace113fe223bf45fe907eb1d2', class: "magic-box-wrapper" }, index.h("div", { key: '7331459e7beeecbad1f94907c5dfc37e6fd77221', class: "actions", id: "drag-handle" }, index.h("kup-combobox", Object.assign({ key: 'cf49975df5a5aa923c031c64ecee9a81ae4ad0bc' }, this.comboboxProps())), index.h("kup-button", { key: '9268ce09ec663aa4e00a82ba0fadef493422d12f', styling: fButtonDeclarations.FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
295
295
|
this.data = null;
|
|
296
|
-
} }), index.h("kup-button", { key: '
|
|
296
|
+
} }), index.h("kup-button", { key: '3724463433b93aa9ae13ae19d67be8fc39c702f6', id: "close-dialog", customStyle: `:host{${kupManager.KupThemeColorValues.PRIMARY}: var(${kupManager.KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
297
297
|
this.kupManager.hideMagicBox();
|
|
298
|
-
} })), index.h("div", { key: '
|
|
298
|
+
} })), index.h("div", { key: '448858d039c7cd0ea8e756d9ad66af2b3baf5c52', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
299
299
|
}
|
|
300
300
|
disconnectedCallback() {
|
|
301
301
|
this.kupManager.interact.unregister([
|
|
@@ -130,7 +130,7 @@ const KupNavBar = class {
|
|
|
130
130
|
this.kupManager.debug.logRender(this, true);
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (index.h(index.Host, { key: '
|
|
133
|
+
return (index.h(index.Host, { key: '0f66ceb53da3d4bdc00787c80ef4764a79d76af8', class: "header" }, index.h("style", { key: '6435752fbe5f0ae68649ea4c43fee53afeb2dbca' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '607495825d0febc2dd41dcfecf0ecc78924e4679', id: GenericVariables.componentWrapperId }, index.h("header", { key: '21667d9c45e86eab6c011247e1717b757d92dfd4', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, index.h("div", { key: 'da92e4ddd4ff70b4fa9632233b0345d4843bee60', class: `${navbarClass}__row` }, this.content())))));
|
|
134
134
|
}
|
|
135
135
|
disconnectedCallback() {
|
|
136
136
|
this.kupManager.language.unregister(this);
|
|
@@ -355,7 +355,7 @@ const KupNumericPicker = class {
|
|
|
355
355
|
this.kupManager.debug.logRender(this, true);
|
|
356
356
|
}
|
|
357
357
|
render() {
|
|
358
|
-
return (index.h(index.Host, { key: '
|
|
358
|
+
return (index.h(index.Host, { key: '60d9439b1beeca08cd1f5d7722c8c44b387f0ea6' }, index.h("style", { key: 'a240244c3350a93cf6411582d4ca5a6b44775328' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '8a07726204a12434f2f00fbd88fcc926b9b0de18', id: GenericVariables.componentWrapperId }, this.prepTextfield())));
|
|
359
359
|
}
|
|
360
360
|
disconnectedCallback() {
|
|
361
361
|
this.kupManager.dates.unregister(this);
|
|
@@ -76585,7 +76585,7 @@ const KupPdf = class {
|
|
|
76585
76585
|
catch (error) { }
|
|
76586
76586
|
}
|
|
76587
76587
|
render() {
|
|
76588
|
-
return (index.h(index.Host, { key: '
|
|
76588
|
+
return (index.h(index.Host, { key: 'fee8236cc49ba230b6e0f03578a627da544d2b0f' }, index.h("div", { key: '7c8bd36dc5c78f67d7a210e239d9279281741d5f', id: GenericVariables.componentWrapperId, ref: (el) => (this.wrapperRef = el) })));
|
|
76589
76589
|
}
|
|
76590
76590
|
disconnectedCallback() {
|
|
76591
76591
|
__classPrivateFieldGet(this, _KupPdf_kupManager, "f").theme.unregister(this);
|
|
@@ -120,9 +120,9 @@ const KupPhotoFrame = class {
|
|
|
120
120
|
if (this.isInViewport && !__classPrivateFieldGet(this, _KupPhotoFrame_renderResource, "f")) {
|
|
121
121
|
__classPrivateFieldSet(this, _KupPhotoFrame_renderResource, true, "f");
|
|
122
122
|
}
|
|
123
|
-
return (index.h(index.Host, { key: '
|
|
123
|
+
return (index.h(index.Host, { key: '1f1b2dda7b9619e04131d9dbc11291542f1c7631' }, index.h("style", { key: '44413efc368dbc28957c544475889f184ef1a16b' }, __classPrivateFieldGet(this, _KupPhotoFrame_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '05a0107e2d49e41242312ab842ed63eea72e2321', id: GenericVariables.componentWrapperId, ref: (el) => {
|
|
124
124
|
__classPrivateFieldSet(this, _KupPhotoFrame_wrapperEl, el, "f");
|
|
125
|
-
} }, index.h("img", Object.assign({ key: '
|
|
125
|
+
} }, index.h("img", Object.assign({ key: '029fbad45e5aba99bbab99c52f5ba30ee74e1c1d' }, this.placeholderAttrs, { class: "placeholder", ref: (el) => (__classPrivateFieldSet(this, _KupPhotoFrame_placeholderEl, el, "f")), onLoad: () => {
|
|
126
126
|
if (__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalWidth >
|
|
127
127
|
__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalHeight) {
|
|
128
128
|
__classPrivateFieldGet(this, _KupPhotoFrame_wrapperEl, "f").classList.add('horizontal');
|
|
@@ -230,13 +230,13 @@ const KupPlannerRenderer = class {
|
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
232
|
var _a, _b, _c;
|
|
233
|
-
return (index.h("div", { key: '
|
|
233
|
+
return (index.h("div", { key: '36516935d5c7bd442298edf8626770b47d67d8a1', class: "planner-render" }, index.h("kup-switcher", { key: '4780f53ca74985bf1744f97dc16ccfcc45c2c937', timeUnitChange: (timeUnit) => {
|
|
234
234
|
var _a, _b;
|
|
235
235
|
(_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
|
|
236
236
|
this.timeUnit = timeUnit;
|
|
237
237
|
this.viewDate = undefined;
|
|
238
238
|
this.scrollX = -1;
|
|
239
|
-
} }), this.props && (index.h("div", { key: '
|
|
239
|
+
} }), this.props && (index.h("div", { key: 'fdd8ec8f405dcb3aeb3dcb882314a2042eee6ddc', style: {
|
|
240
240
|
display: 'flex',
|
|
241
241
|
flexDirection: 'column',
|
|
242
242
|
} }, index.h("kup-gantt", Object.assign({ ref: (el) => (this.mainGantt = el), ganttId: kupPlannerDeclarations.KUP_PLANNER_MAIN_GANTT_ID, key: kupPlannerDeclarations.KUP_PLANNER_MAIN_GANTT_ID, filter: this.props.mainGantt.filter, hideLabel: this.props.mainGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.mainGantt.hideDependencies, ganttHeight: this.props.mainGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.tasks, columnWidth: kupPlannerRendererHelper.columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.mainGantt.stylingOptions, { TaskListHeader: this.props.mainGantt.taskListHeaderProject, TaskListTable: this.props.mainGantt.taskListTableProject, TooltipContent: (_a = this.props.mainGantt.tooltipContent) !== null && _a !== void 0 ? _a : CustomTooltipHOC(), barClick: (task) => {
|
|
@@ -647,7 +647,7 @@ const KupPlanner = class {
|
|
|
647
647
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
648
648
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
649
649
|
}
|
|
650
|
-
return (index.h(index.Host, { key: '
|
|
650
|
+
return (index.h(index.Host, { key: 'ec595d6944c84d1ff3419a4f9ea4b05b9daa7c8c' }, index.h("style", { key: '9476707409a3f42a4053432d9516fda679f96341' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'ebcc7405f609f4ecffee385e5c3e710e67e67493', id: GenericVariables.componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (index.h("kup-planner-renderer", { key: '9cb8c0178398029f74dded13fb14d96d5a3f3652', props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), index.h("div", { key: '227fba551833686254d2f9d904093fb1cd6afb31', style: { display: this.plannerProps ? 'none' : '' } }, index.h(fTextField.FTextField, { key: '4cb494e54f8ca483dd46165b606ab1b54c5da58a', icon: kupManager$1.KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(kupManager$1.KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
651
651
|
if (e.key === 'Enter') {
|
|
652
652
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
653
653
|
}
|
|
@@ -239,7 +239,7 @@ const KupProbe = class {
|
|
|
239
239
|
if (this.features.theme) {
|
|
240
240
|
customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
|
|
241
241
|
}
|
|
242
|
-
return (index.h(index.Host, { key: '
|
|
242
|
+
return (index.h(index.Host, { key: '8d7afacda7cc4439039c941af5d9150ed668d03f' }, customStyle ? index.h("style", null, customStyle) : null, index.h("div", { key: '4a15796d3c5cc632b326bddef692c640edc1c366', id: GenericVariables.componentWrapperId }, this.content)));
|
|
243
243
|
}
|
|
244
244
|
disconnectedCallback() {
|
|
245
245
|
if (this.features.language) {
|
|
@@ -120,7 +120,7 @@ const KupQlik = class {
|
|
|
120
120
|
layoutStyle = {
|
|
121
121
|
['--lyo_obj-height']: this.defobjsize,
|
|
122
122
|
};
|
|
123
|
-
return (index.h("div", { key: '
|
|
123
|
+
return (index.h("div", { key: '3014bd82bd94053748127d5913f9ff4bda8ef3e1', class: classLayout, style: layoutStyle }, this.divlist));
|
|
124
124
|
}
|
|
125
125
|
componentDidRender() {
|
|
126
126
|
if (this.debug) {
|
|
@@ -119,7 +119,7 @@ const KupSnackbar = class {
|
|
|
119
119
|
this.kupManager.debug.logRender(this, true);
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (index.h(index.Host, { key: '
|
|
122
|
+
return (index.h(index.Host, { key: '1543a186a11316b84a53b02453c9d06ad644b188', "kup-visible": this.visible }, index.h("style", { key: 'b406ad7fa2d68f02975d7faa9f5e72a269cf2359' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'cf4204659b6a91faff19efb406e29e1c11461950', id: GenericVariables.componentWrapperId }, index.h("div", { key: '88dfe566adda8dabdbe0536c314e0fbdd032a267', class: snackbarClass }, index.h("div", { key: '4930076e8ef0cc034e39a701731ee0c55f06b93d', class: "snackbar__text__block" }, index.h("div", { key: '58b3fccae5b1b2d29850ed41e4a3a489af8f123f', class: `${snackbarClass}__header` }, this.header), index.h("div", { key: 'a034ec14453dd9ae2cfb880465c2c459eb8eefa0', class: `${snackbarClass}__text` }, this.text)), this.actionButton || this.closeButton ? (index.h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (index.h("div", { class: `${snackbarClass}__action` }, index.h(fButton.FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (index.h("div", { class: `${snackbarClass}__close` }, index.h(fButton.FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
|
|
123
123
|
}
|
|
124
124
|
disconnectedCallback() {
|
|
125
125
|
this.kupManager.theme.unregister(this);
|
|
@@ -189,7 +189,7 @@ const KupTypographyList = class {
|
|
|
189
189
|
}
|
|
190
190
|
render() {
|
|
191
191
|
const typograhy = this.renderTypographys();
|
|
192
|
-
return (index.h(index.Host, { key: '
|
|
192
|
+
return (index.h(index.Host, { key: '46981c304431326dba88e74c82728878901d4798' }, index.h("style", { key: 'cc88981276ad23313705f5b88f0c183c550ddf9d' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'ac72ac801c7ebb49144f464fc66f49e2c955a46b', id: GenericVariables.componentWrapperId }, index.h("div", { key: 'c2ad610309c33f5f0471f04b08864b57349800f5', class: "typographies-wrapper" }, typograhy))));
|
|
193
193
|
}
|
|
194
194
|
disconnectedCallback() {
|
|
195
195
|
this.kupManager.theme.unregister(this);
|
|
@@ -187,7 +187,7 @@ const KupTypography = class {
|
|
|
187
187
|
const classObjParent = {
|
|
188
188
|
'kup-typography--wrap': props.toolbar ? true : false,
|
|
189
189
|
};
|
|
190
|
-
return (index.h(index.Host, { key: '
|
|
190
|
+
return (index.h(index.Host, { key: '08bf68ed7c70cb7e1b08d9543a162c22c2eee68d' }, index.h("style", { key: '213454595ce1037ff4ba251fdf71d72f35ce5f1c' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'bd5ba7a5a094d4cfe16f65a1277c833baa1f9563', id: GenericVariables.componentWrapperId, class: classObjParent, onClick: () => this.onKupClick }, index.h(fTypography.FTypography, Object.assign({ key: '6bf0476bbe81a90e21826afac3d6cea0b039d89f' }, props)), index.h(fImage.FImage, Object.assign({ key: '3d87c0b43024342a8772e2630a251ce5a64b0076' }, propsFImage, { onClick: (event) => {
|
|
191
191
|
event.stopPropagation();
|
|
192
192
|
this.onKupIconClick(event.currentTarget);
|
|
193
193
|
} })))));
|