@sme.up/ketchup 9.6.3 → 9.6.5
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/{bar.helpers-f46a5a83.js → bar.helpers-c481a535.js} +45 -13
- package/dist/cjs/{f-button-9a0eba42.js → f-button-23ec3db5.js} +1 -1
- package/dist/cjs/{f-cell-1ad41071.js → f-cell-bcc51c0f.js} +9 -29
- package/dist/cjs/{f-chip-48851b4f.js → f-chip-63363ecf.js} +2 -2
- package/dist/cjs/{f-image-541e5f4d.js → f-image-f3944c01.js} +2 -5
- package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-60e05759.js} +3 -3
- package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-354b6c78.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +48 -48
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +256 -40
- package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
- package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-gantt_10.cjs.entry.js +105 -39
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +21 -14
- package/dist/cjs/kup-input-panel.cjs.entry.js +444 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
- package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-e1bfd4f8.js} +656 -121
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
- package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-f001fad7.js} +56 -8
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +44 -11
- package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js} +3 -0
- package/dist/cjs/kup-planner.cjs.entry.js +81 -9
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/image-list.js +332 -2
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/input-panel.js +480 -0
- package/dist/collection/assets/pdf.js +15 -0
- package/dist/collection/assets/planner-example-5.js +19 -7
- package/dist/collection/assets/planner-example-6.js +3 -0
- package/dist/collection/assets/planner.js +4 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/kup-badge/kup-badge.css +4 -4
- package/dist/collection/components/kup-image-list/kup-image-list.css +37 -4
- package/dist/collection/components/kup-image-list/kup-image-list.js +15 -8
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +169 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +346 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +669 -0
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.js +1 -1
- 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-declarations.js +8 -0
- package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
- package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner-declarations.js +3 -0
- package/dist/collection/components/kup-planner/kup-planner-helper.js +42 -1
- package/dist/collection/components/kup-planner/kup-planner.js +191 -5
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +103 -11
- package/dist/collection/components/kup-planner/utils/gantt-table.module.css +80 -2
- package/dist/collection/components/kup-planner/utils/helpers/bar.helpers.js +41 -13
- package/dist/collection/components/kup-planner/utils/helpers/other.helpers.js +3 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +10 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +61 -6
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +32 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +4 -0
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +208 -24
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +4 -0
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +131 -7
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +55 -6
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +40 -7
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +22 -15
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +21 -5
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +19 -3
- 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 +76 -2
- 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/f-components/f-cell/f-cell.js +5 -24
- package/dist/collection/f-components/f-image/f-image.js +2 -5
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/components/_commonjsHelpers.js +26 -0
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/custom-task-list-table.js +58 -13
- package/dist/components/kup-autocomplete2.js +48 -70
- package/dist/components/kup-box2.js +1 -1
- package/dist/components/kup-calendar.js +2 -2
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-dates.js +2 -6
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-gantt-calendar2.js +31 -1
- package/dist/components/kup-gantt2.js +26 -7
- package/dist/components/kup-grid-renderer2.js +219 -81
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-horizontal-scroll2.js +48 -10
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +15 -8
- package/dist/components/kup-input-panel.d.ts +11 -0
- package/dist/components/kup-input-panel.js +595 -0
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-manager.js +658 -122
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-pdf.d.ts +11 -0
- package/dist/components/kup-pdf.js +76756 -0
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-declarations.js +91 -0
- package/dist/components/kup-planner-renderer2.js +42 -9
- package/dist/components/kup-planner.js +86 -6
- 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 +19 -7
- package/dist/components/kup-task-gantt2.js +6 -4
- 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 +434 -84
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/components/other.helpers.js +47 -0
- package/dist/esm/{bar.helpers-0898efb9.js → bar.helpers-23a51579.js} +45 -14
- package/dist/esm/{f-button-45d690a5.js → f-button-d6dbcfd6.js} +1 -1
- package/dist/esm/{f-cell-63db06db.js → f-cell-7b41415c.js} +9 -29
- package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-68d27d7a.js} +2 -2
- package/dist/esm/{f-image-8b382cc5.js → f-image-a67229e5.js} +2 -5
- package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-8773e358.js} +3 -3
- package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-d364ffd2.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_27.entry.js +48 -48
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +256 -40
- package/dist/esm/kup-dashboard.entry.js +5 -5
- package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-gantt_10.entry.js +106 -40
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +21 -14
- package/dist/esm/kup-input-panel.entry.js +440 -0
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +6 -6
- package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-a316a70e.js} +656 -121
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +76596 -0
- package/dist/esm/kup-photo-frame.entry.js +4 -4
- package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
- package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-a2ec9a1c.js} +57 -8
- package/dist/esm/kup-planner-renderer.entry.js +44 -11
- package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
- package/dist/esm/kup-planner.entry.js +81 -9
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +5 -5
- 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-008bdcdc.js +1 -0
- package/dist/ketchup/p-042e874a.entry.js +1 -0
- package/dist/ketchup/{p-837bd0a6.entry.js → p-074ccd53.entry.js} +1 -1
- package/dist/ketchup/{p-41e8402e.entry.js → p-1088ab22.entry.js} +1 -1
- package/dist/ketchup/{p-d9284d98.entry.js → p-1bcac01f.entry.js} +1 -1
- package/dist/ketchup/{p-e0a1fbe7.entry.js → p-1e028d95.entry.js} +1 -1
- package/dist/ketchup/p-25058baa.js +1 -0
- package/dist/ketchup/{p-cbe42afd.entry.js → p-2932e7e8.entry.js} +1 -1
- package/dist/ketchup/{p-1cd48eea.entry.js → p-2b84db7b.entry.js} +1 -1
- package/dist/ketchup/{p-d608f866.entry.js → p-2ef90f60.entry.js} +1 -1
- package/dist/ketchup/{p-bedabdb5.js → p-339bbeae.js} +1 -1
- package/dist/ketchup/{p-157f0e89.entry.js → p-48e45ac0.entry.js} +1 -1
- package/dist/ketchup/p-53af4c87.js +1 -0
- package/dist/ketchup/{p-4dfc5927.entry.js → p-556f7ddc.entry.js} +1 -1
- package/dist/ketchup/{p-cc7352a8.entry.js → p-5f7d8c21.entry.js} +1 -1
- package/dist/ketchup/{p-e0c10de2.entry.js → p-6362738c.entry.js} +1 -1
- package/dist/ketchup/{p-ad6a3c2a.entry.js → p-65e363c6.entry.js} +1 -1
- package/dist/ketchup/p-6921bc81.entry.js +16 -0
- package/dist/ketchup/p-6961e0ce.entry.js +1 -0
- package/dist/ketchup/p-7123d2a4.entry.js +1 -0
- package/dist/ketchup/{p-a5074ce4.js → p-801776bc.js} +1 -1
- package/dist/ketchup/{p-ca8a1f53.entry.js → p-81645576.entry.js} +1 -1
- package/dist/ketchup/p-838dea62.js +1 -0
- package/dist/ketchup/{p-924b841b.js → p-84b511e1.js} +1 -1
- package/dist/ketchup/{p-9a856951.js → p-8d4050ec.js} +4 -4
- package/dist/ketchup/{p-1474852d.entry.js → p-9e2533e1.entry.js} +1 -1
- package/dist/ketchup/{p-c6b34763.entry.js → p-a06974a3.entry.js} +1 -1
- package/dist/ketchup/p-a6beb822.js +1 -0
- package/dist/ketchup/p-abe181d0.entry.js +1 -0
- package/dist/ketchup/{p-ba0f28b7.js → p-b3540f83.js} +1 -1
- package/dist/ketchup/{p-b6a21b6a.entry.js → p-c702eb45.entry.js} +1 -1
- package/dist/ketchup/{p-090e5097.entry.js → p-ccb6dbb0.entry.js} +1 -1
- package/dist/ketchup/{p-d839ce21.entry.js → p-cf44485a.entry.js} +2 -2
- package/dist/ketchup/p-d2001dec.entry.js +44 -0
- package/dist/ketchup/{p-e508b2fd.entry.js → p-dbb6cd8d.entry.js} +1 -1
- package/dist/ketchup/p-eb8ea3a6.js +1 -0
- package/dist/ketchup/{p-590c34bc.js → p-f6c8f006.js} +1 -1
- package/dist/ketchup/{p-4c100286.entry.js → p-f79ffe77.entry.js} +1 -1
- package/dist/ketchup/{p-31c0cfc0.entry.js → p-fdcfaedd.entry.js} +1 -1
- package/dist/ketchup/p-fe75ede2.entry.js +1 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +1 -1
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +81 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
- package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
- package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +29 -2
- package/dist/types/components/kup-planner/kup-planner-helper.d.ts +2 -1
- package/dist/types/components/kup-planner/kup-planner.d.ts +38 -0
- package/dist/types/components/kup-planner/utils/custom-task-list-table.d.ts +7 -0
- package/dist/types/components/kup-planner/utils/helpers/bar.helpers.d.ts +1 -1
- package/dist/types/components/kup-planner/utils/helpers/other.helpers.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +6 -0
- package/dist/types/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.d.ts +13 -1
- package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +7 -0
- package/dist/types/components/kup-planner/utils/kup-planner-renderer-helper.d.ts +6 -2
- package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-switcher/kup-switcher.d.ts +3 -1
- package/dist/types/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-task-list/kup-task-list.d.ts +4 -0
- package/dist/types/components.d.ts +266 -2
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/package.json +2 -1
- package/dist/components/kup-planner-renderer-helper.js +0 -379
- package/dist/ketchup/p-21351b19.entry.js +0 -1
- package/dist/ketchup/p-2b40d9b9.entry.js +0 -1
- package/dist/ketchup/p-5c79cb74.js +0 -1
- package/dist/ketchup/p-670354ef.entry.js +0 -1
- package/dist/ketchup/p-8e3b6de8.js +0 -1
- package/dist/ketchup/p-935f58fc.js +0 -1
- package/dist/ketchup/p-9852b1e9.js +0 -1
- package/dist/ketchup/p-ca42a421.entry.js +0 -16
- package/dist/ketchup/p-d50515f7.js +0 -1
- package/dist/ketchup/p-e841c2ae.js +0 -1
- package/dist/ketchup/p-ec4050e1.entry.js +0 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-958d0399.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-e1bfd4f8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
require('./kup-dates-
|
|
8
|
+
require('./kup-dates-e22ee32c.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Props of the kup-photo-frame component.
|
|
@@ -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: 'd6d82199e94a278a68fcd3bcb2e128f4714f7dcd' }, index.h("style", { key: 'ba1ceb0cd797d7a3a7808d7b2cd4849193faff42' }, __classPrivateFieldGet(this, _KupPhotoFrame_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '4701a46d03923c418672ed93098d5bde32ae38ae', 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: '451b86c100861cb4b72cfc2575e2c7ad6da3b6ee' }, 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');
|
package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js}
RENAMED
|
@@ -49,6 +49,8 @@ exports.KupPlannerTaskAction = void 0;
|
|
|
49
49
|
KupPlannerTaskAction["onDblClick"] = "onDblClick";
|
|
50
50
|
KupPlannerTaskAction["onResize"] = "onResize";
|
|
51
51
|
KupPlannerTaskAction["onRightClick"] = "onRightClick";
|
|
52
|
+
KupPlannerTaskAction["onPhase"] = "onPhase";
|
|
53
|
+
KupPlannerTaskAction["onTask"] = "onTask";
|
|
52
54
|
})(exports.KupPlannerTaskAction || (exports.KupPlannerTaskAction = {}));
|
|
53
55
|
exports.KupPlannerGanttRowType = void 0;
|
|
54
56
|
(function (KupPlannerGanttRowType) {
|
|
@@ -83,6 +85,7 @@ const defaultStylingOptions = {
|
|
|
83
85
|
barProgressSelectedColor: '#A2A415',
|
|
84
86
|
barBackgroundColor: '#A2A415',
|
|
85
87
|
barBackgroundSelectedColor: '#A2A415',
|
|
88
|
+
barDropZoneColor: '#4d9f0240'
|
|
86
89
|
};
|
|
87
90
|
const KUP_PLANNER_MAIN_GANTT_ID = 'main';
|
|
88
91
|
const KUP_PLANNER_SECONDARY_GANTT_ID = 'secondary';
|
package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-f001fad7.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kupDates = require('./kup-dates-
|
|
3
|
+
const kupDates = require('./kup-dates-e22ee32c.js');
|
|
4
4
|
|
|
5
5
|
const columnWidthForTimeUnit = (timeUnit) => {
|
|
6
6
|
switch (timeUnit) {
|
|
@@ -39,10 +39,10 @@ const isDetail = (row) => {
|
|
|
39
39
|
row.schedule &&
|
|
40
40
|
row.schedule.length !== 0);
|
|
41
41
|
};
|
|
42
|
-
const mergeTaskIntoProjects = (projects, { id, start, end }) => projects.map((project) => project.id === id ? withNewDates(project, start, end) : project);
|
|
43
|
-
const mergeTaskIntoPhases = (phases, { id, start, end }) => {
|
|
42
|
+
const mergeTaskIntoProjects = (projects, { id, start, end, startHour, endHour }) => projects.map((project) => project.id === id ? withNewDates(project, start, end, startHour, endHour) : project);
|
|
43
|
+
const mergeTaskIntoPhases = (phases, { id, start, end, startHour, endHour }) => {
|
|
44
44
|
if (phases) {
|
|
45
|
-
return phases.map((phase) => phase.id === id ? withNewDates(phase, start, end) : phase);
|
|
45
|
+
return phases.map((phase) => phase.id === id ? withNewDates(phase, start, end, startHour, endHour) : phase);
|
|
46
46
|
}
|
|
47
47
|
return undefined;
|
|
48
48
|
};
|
|
@@ -80,6 +80,10 @@ const convertProjectToTasks = (item, mainGanttStartDate, mainGanttEndDate) => {
|
|
|
80
80
|
isDisabled: false,
|
|
81
81
|
hideChildren: false,
|
|
82
82
|
icon: row.icon,
|
|
83
|
+
startHour: item.startHour,
|
|
84
|
+
endHour: item.endHour,
|
|
85
|
+
secondaryStartHour: item.secondaryStartHour,
|
|
86
|
+
secondaryEndHour: item.secondaryEndHour
|
|
83
87
|
};
|
|
84
88
|
const children1 = ((_a = row.phases) !== null && _a !== void 0 ? _a : []).map(convertPhaseToTask);
|
|
85
89
|
return [mainTask, ...children1];
|
|
@@ -92,7 +96,7 @@ const convertProjectToTasks = (item, mainGanttStartDate, mainGanttEndDate) => {
|
|
|
92
96
|
}
|
|
93
97
|
};
|
|
94
98
|
const convertPhaseToTask = (item) => {
|
|
95
|
-
const mapPhase = ({ startDate: phaseStart, endDate: phaseEnd, secondaryStartDate, secondaryEndDate, name: phaseName, id: phaseId, color, selectedColor, dependencies, icon, }) => {
|
|
99
|
+
const mapPhase = ({ startDate: phaseStart, endDate: phaseEnd, secondaryStartDate, secondaryEndDate, name: phaseName, id: phaseId, color, selectedColor, dependencies, icon, startHour, endHour, secondaryStartHour, secondaryEndHour, }) => {
|
|
96
100
|
const kupDates$1 = new kupDates.KupDates();
|
|
97
101
|
const { start, end } = kupDates$1.validDates(phaseStart, phaseEnd, phaseName);
|
|
98
102
|
const { start: phaseStart2, end: phaseEnd2 } = kupDates$1.validDates(secondaryStartDate, secondaryEndDate, phaseName);
|
|
@@ -119,6 +123,10 @@ const convertPhaseToTask = (item) => {
|
|
|
119
123
|
}
|
|
120
124
|
: {},
|
|
121
125
|
icon,
|
|
126
|
+
startHour,
|
|
127
|
+
endHour,
|
|
128
|
+
secondaryStartHour,
|
|
129
|
+
secondaryEndHour,
|
|
122
130
|
};
|
|
123
131
|
};
|
|
124
132
|
return mapPhase(item);
|
|
@@ -172,11 +180,11 @@ const convertDetailToTimeline = (item, mainGanttStartDate, mainGanttEndDate) =>
|
|
|
172
180
|
};
|
|
173
181
|
};
|
|
174
182
|
/** Return a shallow copy, with the dates updated */
|
|
175
|
-
const withNewDates = (p, start, end) => {
|
|
183
|
+
const withNewDates = (p, start, end, startHour, endHour) => {
|
|
176
184
|
const kupDates$1 = new kupDates.KupDates();
|
|
177
185
|
const startDate = kupDates$1.formatToIsoDate(start);
|
|
178
186
|
const endDate = kupDates$1.formatToIsoDate(end);
|
|
179
|
-
const extra = { startDate, endDate };
|
|
187
|
+
const extra = { startDate, endDate, startHour, endHour };
|
|
180
188
|
return Object.assign(Object.assign({}, p), extra);
|
|
181
189
|
};
|
|
182
190
|
/**
|
|
@@ -214,6 +222,10 @@ const ganttDateRangeFromGanttTask = (tasks, viewMode, preStepsCount, showSeconda
|
|
|
214
222
|
end: kupDates$1.parseToDayEnd(item.endDate),
|
|
215
223
|
secondaryStart: kupDates$1.parseToDayStart(item.secondaryStartDate),
|
|
216
224
|
secondaryEnd: kupDates$1.parseToDayEnd(item.secondaryEndDate),
|
|
225
|
+
startHour: item.startHour,
|
|
226
|
+
endHour: item.endHour,
|
|
227
|
+
secondaryStartHour: item.secondaryStartHour,
|
|
228
|
+
secondaryEndHour: item.secondaryEndHour
|
|
217
229
|
});
|
|
218
230
|
(_a = item.phases) === null || _a === void 0 ? void 0 : _a.forEach((phase) => {
|
|
219
231
|
dates.push({
|
|
@@ -221,6 +233,10 @@ const ganttDateRangeFromGanttTask = (tasks, viewMode, preStepsCount, showSeconda
|
|
|
221
233
|
end: kupDates$1.parseToDayEnd(phase.endDate),
|
|
222
234
|
secondaryStart: kupDates$1.parseToDayStart(phase.secondaryStartDate),
|
|
223
235
|
secondaryEnd: kupDates$1.parseToDayEnd(phase.secondaryEndDate),
|
|
236
|
+
startHour: item.startHour,
|
|
237
|
+
endHour: item.endHour,
|
|
238
|
+
secondaryStartHour: item.secondaryStartHour,
|
|
239
|
+
secondaryEndHour: item.secondaryEndHour
|
|
224
240
|
});
|
|
225
241
|
});
|
|
226
242
|
});
|
|
@@ -273,6 +289,32 @@ const ganttDateRangeGeneric = (dates, viewMode, preStepsCount, showSecondaryDate
|
|
|
273
289
|
newEndDate = startOfDate(newEndDate, 'day');
|
|
274
290
|
newEndDate = addToDate(newEndDate, 19, 'day');
|
|
275
291
|
break;
|
|
292
|
+
case 'hour':
|
|
293
|
+
newStartDate = startOfDate(newStartDate, "hour");
|
|
294
|
+
newStartDate = addToDate(newStartDate, -1 * preStepsCount, "hour");
|
|
295
|
+
newEndDate = startOfDate(newEndDate, "day");
|
|
296
|
+
newEndDate = addToDate(newEndDate, 1, "day");
|
|
297
|
+
break;
|
|
298
|
+
/*
|
|
299
|
+
case ViewMode.QuarterDay:
|
|
300
|
+
newStartDate = startOfDate(newStartDate, "day");
|
|
301
|
+
newStartDate = addToDate(newStartDate, -1 * preStepsCount, "day");
|
|
302
|
+
newEndDate = startOfDate(newEndDate, "day");
|
|
303
|
+
newEndDate = addToDate(newEndDate, 66, "hour"); // 24(1 day)*3 - 6
|
|
304
|
+
break;
|
|
305
|
+
case ViewMode.HalfDay:
|
|
306
|
+
newStartDate = startOfDate(newStartDate, "day");
|
|
307
|
+
newStartDate = addToDate(newStartDate, -1 * preStepsCount, "day");
|
|
308
|
+
newEndDate = startOfDate(newEndDate, "day");
|
|
309
|
+
newEndDate = addToDate(newEndDate, 108, "hour"); // 24(1 day)*5 - 12
|
|
310
|
+
break;
|
|
311
|
+
case ViewMode.Hour:
|
|
312
|
+
newStartDate = startOfDate(newStartDate, "hour");
|
|
313
|
+
newStartDate = addToDate(newStartDate, -1 * preStepsCount, "hour");
|
|
314
|
+
newEndDate = startOfDate(newEndDate, "day");
|
|
315
|
+
newEndDate = addToDate(newEndDate, 1, "day");
|
|
316
|
+
break;
|
|
317
|
+
*/
|
|
276
318
|
}
|
|
277
319
|
return [newStartDate, newEndDate];
|
|
278
320
|
};
|
|
@@ -332,6 +374,10 @@ const ganttDateRangeFromTask = (tasks, viewMode, preStepsCount, showSecondaryDat
|
|
|
332
374
|
end: item.end,
|
|
333
375
|
secondaryStart: item.secondaryStart,
|
|
334
376
|
secondaryEnd: item.secondaryEnd,
|
|
377
|
+
startHour: item.startHour,
|
|
378
|
+
endHour: item.endHour,
|
|
379
|
+
secondaryStartHour: item.secondaryStartHour,
|
|
380
|
+
secondaryEndHour: item.secondaryEndHour
|
|
335
381
|
});
|
|
336
382
|
});
|
|
337
383
|
if (mainGanttStartDate && mainGanttEndDate) {
|
|
@@ -361,6 +407,9 @@ const seedDates = (startDate, endDate, viewMode) => {
|
|
|
361
407
|
case 'day':
|
|
362
408
|
currentDate = addToDate(currentDate, 1, 'day');
|
|
363
409
|
break;
|
|
410
|
+
case 'hour':
|
|
411
|
+
currentDate = addToDate(currentDate, 1, "hour");
|
|
412
|
+
break;
|
|
364
413
|
/*
|
|
365
414
|
case ViewMode.HalfDay:
|
|
366
415
|
currentDate = addToDate(currentDate, 12, "hour");
|
|
@@ -378,7 +427,6 @@ const seedDates = (startDate, endDate, viewMode) => {
|
|
|
378
427
|
return dates;
|
|
379
428
|
};
|
|
380
429
|
|
|
381
|
-
exports.addToDate = addToDate;
|
|
382
430
|
exports.calculateDisplayedDateRange = calculateDisplayedDateRange;
|
|
383
431
|
exports.columnWidthForTimeUnit = columnWidthForTimeUnit;
|
|
384
432
|
exports.convertProjectToTasks = convertProjectToTasks;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-958d0399.js');
|
|
6
|
-
const kupPlannerRendererHelper = require('./kup-planner-renderer-helper-
|
|
7
|
-
const kupPlannerDeclarations = require('./kup-planner-declarations-
|
|
8
|
-
const kupDates = require('./kup-dates-
|
|
9
|
-
const kupPlannerTimeFormatter = require('./kup-planner-time-formatter-
|
|
6
|
+
const kupPlannerRendererHelper = require('./kup-planner-renderer-helper-f001fad7.js');
|
|
7
|
+
const kupPlannerDeclarations = require('./kup-planner-declarations-cb33663d.js');
|
|
8
|
+
const kupDates = require('./kup-dates-e22ee32c.js');
|
|
9
|
+
const kupPlannerTimeFormatter = require('./kup-planner-time-formatter-b7dca3ea.js');
|
|
10
10
|
|
|
11
11
|
const CustomTooltipHOC = () => {
|
|
12
12
|
const CustomTooltip = () => index.h("div", null);
|
|
@@ -69,14 +69,14 @@ const KupPlannerRenderer = class {
|
|
|
69
69
|
}
|
|
70
70
|
//---- Lifecycle hooks ----
|
|
71
71
|
componentWillLoad() {
|
|
72
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
72
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
73
73
|
this.timeUnit = (_a = this.props) === null || _a === void 0 ? void 0 : _a.viewMode;
|
|
74
74
|
this.currentTasks = ((_b = this.props) === null || _b === void 0 ? void 0 : _b.mainGantt.items) || [];
|
|
75
75
|
this.currentDetails = (_d = (_c = this.props) === null || _c === void 0 ? void 0 : _c.secondaryGantt) === null || _d === void 0 ? void 0 : _d.items;
|
|
76
|
-
this.scrollX = ((_f = (_e = this.props) === null || _e === void 0 ? void 0 : _e.mainGantt) === null || _f === void 0 ? void 0 : _f.initialScrollX)
|
|
76
|
+
this.scrollX = (_g = (_f = (_e = this.props) === null || _e === void 0 ? void 0 : _e.mainGantt) === null || _f === void 0 ? void 0 : _f.initialScrollX) !== null && _g !== void 0 ? _g : -1;
|
|
77
77
|
this.mainGanttDoubleView =
|
|
78
|
-
(
|
|
79
|
-
this.displayedDates = kupPlannerRendererHelper.calculateDisplayedDateRange(this.currentTasks, this.timeUnit, this.mainGanttDoubleView, this.currentDetails, (
|
|
78
|
+
(_k = (_j = (_h = this.props) === null || _h === void 0 ? void 0 : _h.mainGantt) === null || _j === void 0 ? void 0 : _j.showSecondaryDates) !== null && _k !== void 0 ? _k : false;
|
|
79
|
+
this.displayedDates = kupPlannerRendererHelper.calculateDisplayedDateRange(this.currentTasks, this.timeUnit, this.mainGanttDoubleView, this.currentDetails, (_l = this.props) === null || _l === void 0 ? void 0 : _l.preStepsCount);
|
|
80
80
|
this.viewDate = undefined;
|
|
81
81
|
this.projection = undefined;
|
|
82
82
|
this.updateTasks();
|
|
@@ -193,6 +193,31 @@ const KupPlannerRenderer = class {
|
|
|
193
193
|
// Use setTimeout to ensure DOM updates
|
|
194
194
|
setTimeout(this.getScrollX, 500);
|
|
195
195
|
}
|
|
196
|
+
// Handle phase drop
|
|
197
|
+
handlePhaseDrop(originalPhaseData,
|
|
198
|
+
// originalTaskData: KupPlannerGanttTaskN | KupPlannerItemDetail,
|
|
199
|
+
finalPhaseData, destinationData, onPhaseDrop) {
|
|
200
|
+
// Invoke callback
|
|
201
|
+
let row = undefined;
|
|
202
|
+
const currentProjects = this.currentTasks;
|
|
203
|
+
const parentOfClickedPhase = currentProjects.find((p) => { var _a; return (_a = p.phases) === null || _a === void 0 ? void 0 : _a.some((ph) => (ph === null || ph === void 0 ? void 0 : ph.id) === finalPhaseData.id); });
|
|
204
|
+
if (parentOfClickedPhase) {
|
|
205
|
+
const phases = kupPlannerRendererHelper.mergeTaskIntoPhases(parentOfClickedPhase.phases, finalPhaseData);
|
|
206
|
+
const updatedProjects = currentProjects.map((p) => p.id === parentOfClickedPhase.id ? Object.assign(Object.assign({}, p), { phases }) : p);
|
|
207
|
+
row = kupPlannerRendererHelper.getPhaseById(finalPhaseData.id, updatedProjects);
|
|
208
|
+
}
|
|
209
|
+
row === null || row === void 0 ? true : delete row['taskRow'];
|
|
210
|
+
onPhaseDrop === null || onPhaseDrop === void 0 ? void 0 : onPhaseDrop({
|
|
211
|
+
originalPhaseData,
|
|
212
|
+
// originalTaskData,
|
|
213
|
+
finalPhaseData: row,
|
|
214
|
+
destinationData,
|
|
215
|
+
});
|
|
216
|
+
// to move the phase back to its original position
|
|
217
|
+
this.currentTasks = JSON.parse(JSON.stringify(this.currentTasks));
|
|
218
|
+
// Use setTimeout to ensure DOM updates
|
|
219
|
+
setTimeout(this.getScrollX, 500);
|
|
220
|
+
}
|
|
196
221
|
// Get scrollX
|
|
197
222
|
getScrollX() {
|
|
198
223
|
var _a, _b, _c;
|
|
@@ -205,7 +230,7 @@ const KupPlannerRenderer = class {
|
|
|
205
230
|
}
|
|
206
231
|
render() {
|
|
207
232
|
var _a, _b, _c;
|
|
208
|
-
return (index.h("div", { key: '
|
|
233
|
+
return (index.h("div", { key: 'ca2bc5b1e398639943fc073b92035b83d304dee1', class: "planner-render" }, index.h("kup-switcher", { key: '02903e6f1d14536cc3e82e535f98f56761004051', timeUnitChange: (timeUnit) => {
|
|
209
234
|
var _a, _b;
|
|
210
235
|
(_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
|
|
211
236
|
this.timeUnit = timeUnit;
|
|
@@ -238,7 +263,15 @@ const KupPlannerRenderer = class {
|
|
|
238
263
|
if (row) {
|
|
239
264
|
this.handleContextMenu(event, row, this.props.mainGantt.onContextMenu);
|
|
240
265
|
}
|
|
241
|
-
}, dateChange: (task) => this.handleDateChange(task, this.currentTasks, this.props.mainGantt.onDateChange), locale: this.locale, dateTimeFormatters: kupPlannerTimeFormatter.ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.mainGantt.initialScrollY, readOnly: this.props.mainGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.mainGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.mainGantt.onClick, ganttOnDblClick: this.props.mainGantt.onDblClick, ganttonOnContextMenu: this.props.mainGantt.onContextMenu, label: this.props.mainGantt.title, doubleView: (_b = this.mainGanttDoubleView) !== null && _b !== void 0 ? _b : false, setDoubleView: this.handleSetDoubleView.bind(this)
|
|
266
|
+
}, dateChange: (task) => this.handleDateChange(task, this.currentTasks, this.props.mainGantt.onDateChange), locale: this.locale, dateTimeFormatters: kupPlannerTimeFormatter.ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.mainGantt.initialScrollY, readOnly: this.props.mainGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.mainGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.mainGantt.onClick, ganttOnDblClick: this.props.mainGantt.onDblClick, ganttonOnContextMenu: this.props.mainGantt.onContextMenu, label: this.props.mainGantt.title, doubleView: (_b = this.mainGanttDoubleView) !== null && _b !== void 0 ? _b : false, setDoubleView: this.handleSetDoubleView.bind(this), scrollableTaskList: this.props.scrollableTaskList, phaseDrop: (originalPhaseData, originalTaskData, finalPhaseData, destinationData) => {
|
|
267
|
+
const originalPhase = kupPlannerRendererHelper.getPhaseById(originalPhaseData.id, this.currentTasks);
|
|
268
|
+
kupPlannerRendererHelper.getProjectById(originalTaskData.id, this.currentTasks);
|
|
269
|
+
kupPlannerRendererHelper.getPhaseById(finalPhaseData.id, this.currentTasks);
|
|
270
|
+
const destinationTask = kupPlannerRendererHelper.getProjectById(destinationData.id, this.currentTasks);
|
|
271
|
+
this.handlePhaseDrop(originalPhase,
|
|
272
|
+
// originalTask,
|
|
273
|
+
finalPhaseData, destinationTask, this.props.mainGantt.onPhaseDrop);
|
|
274
|
+
} })), this.props.secondaryGantt && (index.h("kup-gantt", Object.assign({ ref: (el) => (this.secondaryGantt = el), ganttId: kupPlannerDeclarations.KUP_PLANNER_SECONDARY_GANTT_ID, key: kupPlannerDeclarations.KUP_PLANNER_SECONDARY_GANTT_ID, filter: this.props.secondaryGantt.filter, hideLabel: this.props.secondaryGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.secondaryGantt.hideDependencies, ganttHeight: this.props.secondaryGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.details, columnWidth: kupPlannerRendererHelper.columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.secondaryGantt.stylingOptions, { TaskListHeader: this.props.secondaryGantt
|
|
242
275
|
.taskListHeaderProject, TaskListTable: this.props.secondaryGantt
|
|
243
276
|
.taskListTableProject, TooltipContent: (_c = this.props.secondaryGantt.tooltipContent) !== null && _c !== void 0 ? _c : CustomTooltipHOC(), projection: this.projection, barClick: (task) => {
|
|
244
277
|
if (this.props.secondaryGantt) {
|
|
@@ -268,7 +301,7 @@ const KupPlannerRenderer = class {
|
|
|
268
301
|
}
|
|
269
302
|
}
|
|
270
303
|
}, dateChange: (task) => this.handleDateChange(task, this
|
|
271
|
-
.currentTasks, this.props.secondaryGantt.onDateChange), locale: this.locale, dateTimeFormatters: kupPlannerTimeFormatter.ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.secondaryGantt.initialScrollY, readOnly: this.props.secondaryGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.secondaryGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.secondaryGantt.onClick, ganttOnDblClick: this.props.secondaryGantt.onDblClick, ganttonOnContextMenu: this.props.secondaryGantt.onContextMenu, label: this.props.secondaryGantt.title })))))));
|
|
304
|
+
.currentTasks, this.props.secondaryGantt.onDateChange), locale: this.locale, dateTimeFormatters: kupPlannerTimeFormatter.ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.secondaryGantt.initialScrollY, readOnly: this.props.secondaryGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.secondaryGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.secondaryGantt.onClick, ganttOnDblClick: this.props.secondaryGantt.onDblClick, ganttonOnContextMenu: this.props.secondaryGantt.onContextMenu, label: this.props.secondaryGantt.title, scrollableTaskList: this.props.scrollableTaskList })))))));
|
|
272
305
|
}
|
|
273
306
|
get rootElement() { return index.getElement(this); }
|
|
274
307
|
static get watchers() { return {
|
package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js}
RENAMED
|
@@ -90,4 +90,7 @@ const getWeekNumberISO8601 = (date) => {
|
|
|
90
90
|
|
|
91
91
|
exports.defaultDateTimeFormatters = defaultDateTimeFormatters;
|
|
92
92
|
exports.ganttDateTimeFormatters = ganttDateTimeFormatters;
|
|
93
|
+
exports.getCachedDateTimeFormat = getCachedDateTimeFormat;
|
|
93
94
|
exports.getDaysInMonth = getDaysInMonth;
|
|
95
|
+
exports.getLocalDayOfWeek = getLocalDayOfWeek;
|
|
96
|
+
exports.getLocaleMonth = getLocaleMonth;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-958d0399.js');
|
|
6
|
-
const kupManager$1 = require('./kup-manager-
|
|
7
|
-
const kupPlannerDeclarations = require('./kup-planner-declarations-
|
|
6
|
+
const kupManager$1 = require('./kup-manager-e1bfd4f8.js');
|
|
7
|
+
const kupPlannerDeclarations = require('./kup-planner-declarations-cb33663d.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
const kupDates = require('./kup-dates-
|
|
10
|
-
const fTextField = require('./f-text-field-
|
|
9
|
+
const kupDates = require('./kup-dates-e22ee32c.js');
|
|
10
|
+
const fTextField = require('./f-text-field-354b6c78.js');
|
|
11
11
|
const fTextFieldMdc = require('./f-text-field-mdc-08a06162.js');
|
|
12
12
|
require('./component-cb3b32f5.js');
|
|
13
13
|
|
|
14
14
|
const kupManager = kupManager$1.kupManagerInstance();
|
|
15
|
-
function sanitizeAllDates(startDateCell, endDateCell, secStartDateCell, secEndDateCell) {
|
|
15
|
+
function sanitizeAllDates(startDateCell, endDateCell, secStartDateCell, secEndDateCell, startHourCell, endHourCell, secStartHourCell, secEndHourCell) {
|
|
16
16
|
const sanitizedDateValues = sanitizeDates(startDateCell, endDateCell);
|
|
17
17
|
let sanitizedSecDateValues = [];
|
|
18
18
|
if (secStartDateCell && secEndDateCell) {
|
|
@@ -23,9 +23,29 @@ function sanitizeAllDates(startDateCell, endDateCell, secStartDateCell, secEndDa
|
|
|
23
23
|
sanitizedSecDateValues = [...sanitizedDateValues];
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
+
let sanitizedHourValues = [];
|
|
27
|
+
if (startHourCell && endHourCell) {
|
|
28
|
+
if (isAtLeastOneHourValid(startHourCell, endHourCell)) {
|
|
29
|
+
sanitizedHourValues = sanitizeHours(startHourCell, endHourCell);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
sanitizedSecDateValues = [...sanitizedDateValues];
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
let sanitizedSecHourValues = [];
|
|
36
|
+
if (secStartHourCell && secEndHourCell) {
|
|
37
|
+
if (isAtLeastOneHourValid(secStartHourCell, secEndHourCell)) {
|
|
38
|
+
sanitizedSecHourValues = sanitizeHours(secStartHourCell, secEndHourCell);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
sanitizedSecDateValues = [...sanitizedDateValues];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
26
44
|
return {
|
|
27
45
|
dateValues: sanitizedDateValues,
|
|
28
46
|
secDateValues: sanitizedSecDateValues,
|
|
47
|
+
hourValues: sanitizedHourValues,
|
|
48
|
+
secHourValues: sanitizedSecHourValues
|
|
29
49
|
};
|
|
30
50
|
}
|
|
31
51
|
function sanitizeDates(startDateCell, endDateCell) {
|
|
@@ -43,13 +63,34 @@ function sanitizeDates(startDateCell, endDateCell) {
|
|
|
43
63
|
return returnValues;
|
|
44
64
|
}
|
|
45
65
|
}
|
|
66
|
+
function sanitizeHours(startHourCell, endHourCell) {
|
|
67
|
+
let returnValues = [startHourCell.value, endHourCell.value];
|
|
68
|
+
if (isHourValid(startHourCell) && isHourValid(endHourCell)) {
|
|
69
|
+
return returnValues;
|
|
70
|
+
}
|
|
71
|
+
else if (isHourValid(startHourCell)) {
|
|
72
|
+
return [startHourCell.value, startHourCell.value];
|
|
73
|
+
}
|
|
74
|
+
else if (isHourValid(endHourCell)) {
|
|
75
|
+
return [endHourCell.value, endHourCell.value];
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
return returnValues;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
46
81
|
function isDateValid(dateCell) {
|
|
47
82
|
return (kupManager.objects.isDate(dateCell.obj) &&
|
|
48
83
|
kupManager.dates.isValid(dateCell.value, kupDates.KupDatesFormats.ISO_DATE));
|
|
49
84
|
}
|
|
85
|
+
function isHourValid(dateCell) {
|
|
86
|
+
return (kupManager.objects.isTime(dateCell.obj) || kupManager.objects.isTimeWithSeconds(dateCell.obj));
|
|
87
|
+
}
|
|
50
88
|
function isAtLeastOneDateValid(startDateCell, endDateCell) {
|
|
51
89
|
return isDateValid(startDateCell) || isDateValid(endDateCell);
|
|
52
90
|
}
|
|
91
|
+
function isAtLeastOneHourValid(startHourCell, endHourCell) {
|
|
92
|
+
return isHourValid(startHourCell) || isHourValid(endHourCell);
|
|
93
|
+
}
|
|
53
94
|
function getValuesToShow(row, idCol, nameCol, dataColumns, columns, customToValuesFunction) {
|
|
54
95
|
let toValuesFunction = () => columns.map((col) => {
|
|
55
96
|
return kupManager$1.getCellValueForDisplay(dataColumns.find((kCol) => kCol.name == col), row.cells[col]);
|
|
@@ -106,6 +147,7 @@ const KupPlanner = class {
|
|
|
106
147
|
this.kupClick = index.createEvent(this, "kup-planner-click", 6);
|
|
107
148
|
this.kupDblClick = index.createEvent(this, "kup-planner-dblclick", 6);
|
|
108
149
|
this.kupDateChange = index.createEvent(this, "kup-planner-datechange", 6);
|
|
150
|
+
this.kupPhaseDrop = index.createEvent(this, "kup-planner-phasedrop", 6);
|
|
109
151
|
this.kupReady = index.createEvent(this, "kup-planner-ready", 6);
|
|
110
152
|
this.kupContextMenu = index.createEvent(this, "kup-planner-contextmenu", 6);
|
|
111
153
|
this.kupDidUnload = index.createEvent(this, "kup-planner-didunload", 6);
|
|
@@ -134,9 +176,11 @@ const KupPlanner = class {
|
|
|
134
176
|
this.detailDates = undefined;
|
|
135
177
|
this.detailFilter = undefined;
|
|
136
178
|
this.detailHeight = undefined;
|
|
179
|
+
this.detailHours = [];
|
|
137
180
|
this.detailIconCol = undefined;
|
|
138
181
|
this.detailIdCol = undefined;
|
|
139
182
|
this.detailNameCol = undefined;
|
|
183
|
+
this.detailPrevHours = [];
|
|
140
184
|
this.detailPrevDates = undefined;
|
|
141
185
|
this.detailInitialScrollX = undefined;
|
|
142
186
|
this.detailInitialScrollY = undefined;
|
|
@@ -146,9 +190,11 @@ const KupPlanner = class {
|
|
|
146
190
|
this.phaseColumns = undefined;
|
|
147
191
|
this.phaseColParDep = undefined;
|
|
148
192
|
this.phaseDates = undefined;
|
|
193
|
+
this.phaseHours = [];
|
|
149
194
|
this.phaseIconCol = undefined;
|
|
150
195
|
this.phaseIdCol = undefined;
|
|
151
196
|
this.phaseNameCol = undefined;
|
|
197
|
+
this.phasePrevHours = [];
|
|
152
198
|
this.phasePrevDates = undefined;
|
|
153
199
|
this.readOnly = false;
|
|
154
200
|
this.showSecondaryDates = false;
|
|
@@ -156,16 +202,19 @@ const KupPlanner = class {
|
|
|
156
202
|
this.taskDates = undefined;
|
|
157
203
|
this.taskFilter = undefined;
|
|
158
204
|
this.taskHeight = undefined;
|
|
205
|
+
this.taskHours = [];
|
|
159
206
|
this.taskIconCol = undefined;
|
|
160
207
|
this.taskIdCol = undefined;
|
|
161
208
|
this.taskInitialScrollX = undefined;
|
|
162
209
|
this.taskInitialScrollY = undefined;
|
|
163
210
|
this.taskNameCol = undefined;
|
|
211
|
+
this.taskPrevHours = [];
|
|
164
212
|
this.taskPrevDates = undefined;
|
|
165
213
|
this.titleMess = undefined;
|
|
166
214
|
this.viewMode = 'month';
|
|
167
215
|
this.mainFilter = undefined;
|
|
168
216
|
this.secondaryFilter = undefined;
|
|
217
|
+
this.scrollableTaskList = false;
|
|
169
218
|
this.plannerProps = undefined;
|
|
170
219
|
}
|
|
171
220
|
initWithPersistedState() {
|
|
@@ -270,7 +319,7 @@ const KupPlanner = class {
|
|
|
270
319
|
if (task) {
|
|
271
320
|
__classPrivateFieldGet(this, _KupPlanner_phases, "f")[taskId] = data;
|
|
272
321
|
task.phases = (_a = data.rows) === null || _a === void 0 ? void 0 : _a.filter((row) => isAtLeastOneDateValid(row.cells[this.phaseDates[0]], row.cells[this.phaseDates[1]])).map((row) => {
|
|
273
|
-
const datesSanitized = sanitizeAllDates(row.cells[this.phaseDates[0]], row.cells[this.phaseDates[1]], row.cells[this.phasePrevDates[0]], row.cells[this.phasePrevDates[1]]);
|
|
322
|
+
const datesSanitized = sanitizeAllDates(row.cells[this.phaseDates[0]], row.cells[this.phaseDates[1]], row.cells[this.phasePrevDates[0]], row.cells[this.phasePrevDates[1]], row.cells[this.phaseHours[0]], row.cells[this.phaseHours[1]], row.cells[this.phasePrevHours[0]], row.cells[this.phasePrevHours[1]]);
|
|
274
323
|
const valuesToShow = getValuesToShow(row, this.phaseIdCol, this.phaseNameCol, data.columns, this.phaseColumns, () => this.phaseColumns.map((col) => col == this.phaseDates[0]
|
|
275
324
|
? '#START#'
|
|
276
325
|
: col == this.phaseDates[1]
|
|
@@ -297,6 +346,10 @@ const KupPlanner = class {
|
|
|
297
346
|
icon: iconUrl
|
|
298
347
|
? { url: iconUrl, color: iconColor !== null && iconColor !== void 0 ? iconColor : '#595959' }
|
|
299
348
|
: undefined,
|
|
349
|
+
startHour: datesSanitized.hourValues[0],
|
|
350
|
+
endHour: datesSanitized.hourValues[1],
|
|
351
|
+
secondaryStartHour: datesSanitized.secHourValues[0],
|
|
352
|
+
secondaryEndHour: datesSanitized.secHourValues[1],
|
|
300
353
|
};
|
|
301
354
|
return phase;
|
|
302
355
|
});
|
|
@@ -364,6 +417,7 @@ const KupPlanner = class {
|
|
|
364
417
|
window.clearTimeout(taskScrollYTimeout);
|
|
365
418
|
taskScrollYTimeout = window.setTimeout(() => this.handleTaskGanttScrollY(y), scrollDelay);
|
|
366
419
|
},
|
|
420
|
+
onPhaseDrop: (nativeEvent) => this.handleOnPhaseDrop(nativeEvent),
|
|
367
421
|
},
|
|
368
422
|
secondaryGantt: details
|
|
369
423
|
? {
|
|
@@ -388,6 +442,7 @@ const KupPlanner = class {
|
|
|
388
442
|
onSetDoubleView: (checked) => this.handleOnSetDoubleView(checked),
|
|
389
443
|
onSetViewMode: (value) => this.handleOnSetViewMode(value),
|
|
390
444
|
viewMode: this.viewMode,
|
|
445
|
+
scrollableTaskList: this.scrollableTaskList,
|
|
391
446
|
onScrollX: (x) => {
|
|
392
447
|
window.clearTimeout(scrollXTimeout);
|
|
393
448
|
scrollXTimeout = window.setTimeout(() => this.handleOnScrollX(x), scrollDelay);
|
|
@@ -471,6 +526,14 @@ const KupPlanner = class {
|
|
|
471
526
|
taskAction: taskAction,
|
|
472
527
|
});
|
|
473
528
|
}
|
|
529
|
+
onKupPhaseDrop(event, taskAction) {
|
|
530
|
+
this.kupPhaseDrop.emit({
|
|
531
|
+
comp: this,
|
|
532
|
+
id: this.rootElement.id,
|
|
533
|
+
value: event,
|
|
534
|
+
taskAction: taskAction,
|
|
535
|
+
});
|
|
536
|
+
}
|
|
474
537
|
handleOnDblClick(nativeEvent) {
|
|
475
538
|
switch (nativeEvent.rowType) {
|
|
476
539
|
case kupPlannerDeclarations.KupPlannerGanttRowType.TASK:
|
|
@@ -572,6 +635,9 @@ const KupPlanner = class {
|
|
|
572
635
|
}
|
|
573
636
|
}
|
|
574
637
|
}
|
|
638
|
+
handleOnPhaseDrop(nativeEvent) {
|
|
639
|
+
this.onKupPhaseDrop(nativeEvent, kupPlannerDeclarations.KupPlannerTaskAction.onTask);
|
|
640
|
+
}
|
|
575
641
|
render() {
|
|
576
642
|
var _a, _b, _c;
|
|
577
643
|
const plannerProps = this.plannerProps
|
|
@@ -579,7 +645,7 @@ const KupPlanner = class {
|
|
|
579
645
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
580
646
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
581
647
|
}
|
|
582
|
-
return (index.h(index.Host, { key: '
|
|
648
|
+
return (index.h(index.Host, { key: 'cce744fe8b14527039c6a39116da3ebbb79b5593' }, index.h("style", { key: '3ac43e5c414360d07ba8a745c000bbc7e545545f' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '3a9fb6211d0fc2b554bf4265350c567fc1108adb', id: GenericVariables.componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (index.h("kup-planner-renderer", { props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), index.h("div", { key: '9dda490b90dc263b1e42496c7c602ee0c09d081f', style: { display: this.plannerProps ? 'none' : '' } }, index.h(fTextField.FTextField, { key: 'b569efffbce491b845d813d913545bbb1efc3d08', icon: kupManager$1.KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(kupManager$1.KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
583
649
|
if (e.key === 'Enter') {
|
|
584
650
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
585
651
|
}
|
|
@@ -609,7 +675,7 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
|
|
|
609
675
|
return [];
|
|
610
676
|
}
|
|
611
677
|
let tasks = (_a = data.rows) === null || _a === void 0 ? void 0 : _a.filter((row) => isAtLeastOneDateValid(row.cells[this.taskDates[0]], row.cells[this.taskDates[1]])).map((row) => {
|
|
612
|
-
const datesSanitized = sanitizeAllDates(row.cells[this.taskDates[0]], row.cells[this.taskDates[1]], row.cells[this.taskPrevDates[0]], row.cells[this.taskPrevDates[1]]);
|
|
678
|
+
const datesSanitized = sanitizeAllDates(row.cells[this.taskDates[0]], row.cells[this.taskDates[1]], row.cells[this.taskPrevDates[0]], row.cells[this.taskPrevDates[1]], row.cells[this.taskHours[0]], row.cells[this.taskHours[1]], row.cells[this.taskPrevHours[0]], row.cells[this.taskPrevHours[1]]);
|
|
613
679
|
const valuesToShow = getValuesToShow(row, this.taskIdCol, this.taskNameCol, data.columns, this.taskColumns, () => this.taskColumns.map((col) => col == this.taskDates[0]
|
|
614
680
|
? '#START#'
|
|
615
681
|
: col == this.taskDates[1]
|
|
@@ -632,6 +698,10 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
|
|
|
632
698
|
icon: iconUrl
|
|
633
699
|
? { url: iconUrl, color: iconColor !== null && iconColor !== void 0 ? iconColor : '#595959' }
|
|
634
700
|
: undefined,
|
|
701
|
+
startHour: datesSanitized.hourValues[0],
|
|
702
|
+
endHour: datesSanitized.hourValues[1],
|
|
703
|
+
secondaryStartHour: datesSanitized.secHourValues[0],
|
|
704
|
+
secondaryEndHour: datesSanitized.secHourValues[1]
|
|
635
705
|
};
|
|
636
706
|
return task;
|
|
637
707
|
});
|
|
@@ -647,7 +717,7 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
|
|
|
647
717
|
var _a, _b;
|
|
648
718
|
const detailId = row.cells[this.detailIdCol].value;
|
|
649
719
|
const detailNameId = row.cells[this.detailNameCol].value;
|
|
650
|
-
const datesSanitized = sanitizeAllDates(row.cells[this.detailDates[0]], row.cells[this.detailDates[1]]);
|
|
720
|
+
const datesSanitized = sanitizeAllDates(row.cells[this.detailDates[0]], row.cells[this.detailDates[1]], undefined, undefined, row.cells[this.detailHours[0]], row.cells[this.detailHours[1]]);
|
|
651
721
|
const valuesToShow = getValuesToShow(row, this.detailIdCol, this.detailNameCol, data.columns, this.detailColumns);
|
|
652
722
|
let detail = details.find((det) => det.id == detailId);
|
|
653
723
|
if (!detail) {
|
|
@@ -676,6 +746,8 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
|
|
|
676
746
|
icon: iconUrl
|
|
677
747
|
? { url: iconUrl, color: iconColor !== null && iconColor !== void 0 ? iconColor : '#595959' }
|
|
678
748
|
: undefined,
|
|
749
|
+
startHour: datesSanitized.hourValues[0],
|
|
750
|
+
endHour: datesSanitized.hourValues[1]
|
|
679
751
|
});
|
|
680
752
|
});
|
|
681
753
|
return details;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-958d0399.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-e1bfd4f8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
require('./kup-dates-
|
|
8
|
+
require('./kup-dates-e22ee32c.js');
|
|
9
9
|
|
|
10
10
|
const KupProbe = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -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: '71372dfbcfbf66e3f83eda11eca5fddca3402d1c' }, customStyle ? index.h("style", null, customStyle) : null, index.h("div", { key: 'a05d5a30011b2e1ede2f6ca1eca593de48aebd06', id: GenericVariables.componentWrapperId }, this.content)));
|
|
243
243
|
}
|
|
244
244
|
disconnectedCallback() {
|
|
245
245
|
if (this.features.language) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-958d0399.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
require('./kup-dates-
|
|
6
|
+
const kupManager = require('./kup-manager-e1bfd4f8.js');
|
|
7
|
+
require('./kup-dates-e22ee32c.js');
|
|
8
8
|
|
|
9
9
|
const kupQlikCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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}.kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-color, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
|
|
10
10
|
const KupQlikStyle0 = kupQlikCss;
|
|
@@ -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: 'ad3b840b782c155e43d25d46b4fbf3150d0d5296', class: classLayout, style: layoutStyle }, this.divlist));
|
|
124
124
|
}
|
|
125
125
|
componentDidRender() {
|
|
126
126
|
if (this.debug) {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-958d0399.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-e1bfd4f8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
require('./kup-dates-
|
|
8
|
+
const fButton = require('./f-button-23ec3db5.js');
|
|
9
|
+
require('./kup-dates-e22ee32c.js');
|
|
10
10
|
require('./f-button-declarations-51ef6d9a.js');
|
|
11
|
-
require('./f-image-
|
|
11
|
+
require('./f-image-f3944c01.js');
|
|
12
12
|
|
|
13
13
|
const snackbarClass = 'snackbar';
|
|
14
14
|
/**
|
|
@@ -118,7 +118,7 @@ const KupSnackbar = class {
|
|
|
118
118
|
this.kupManager.debug.logRender(this, true);
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (index.h(index.Host, { key: '
|
|
121
|
+
return (index.h(index.Host, { key: '3e52e4dd0672594bf385bcd44f3ceac7474ebb54', "kup-visible": this.visible }, index.h("style", { key: '2b6dcba48e84c7ba0ded38c5a86907a1ddb0aed4' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '6843781af0232d8dd65eb23941a2f33a17ec694f', id: GenericVariables.componentWrapperId }, index.h("div", { key: '178a36a80ff89fa6b31af04c372367e0e4427b89', class: snackbarClass }, index.h("div", { key: '8383fa478dd8a4f35fb9718a83131d26caadb275', 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))));
|
|
122
122
|
}
|
|
123
123
|
disconnectedCallback() {
|
|
124
124
|
this.kupManager.theme.unregister(this);
|