@sme.up/ketchup 9.5.2 → 9.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-357a3dff.js → f-button-623dfcc3.js} +2 -2
- package/dist/cjs/{f-cell-1de0ea69.js → f-cell-9c718d83.js} +9 -8
- package/dist/cjs/{f-checkbox-41864e53.js → f-checkbox-bfa92ebe.js} +1 -1
- package/dist/cjs/{f-chip-bd5882a0.js → f-chip-c8efad5b.js} +3 -3
- package/dist/cjs/{f-image-30531fd0.js → f-image-b61cc967.js} +2 -2
- package/dist/cjs/{f-paginator-utils-ad8a4635.js → f-paginator-utils-67dbc14c.js} +4 -4
- package/dist/cjs/{f-text-field-be758970.js → f-text-field-a09b1705.js} +2 -2
- package/dist/cjs/{index-8f2f4159.js → index-db0a6be6.js} +79 -38
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -6
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +141 -112
- package/dist/cjs/kup-box.cjs.entry.js +13 -12
- package/dist/cjs/kup-calendar.cjs.entry.js +76 -11
- package/dist/cjs/kup-card-list.cjs.entry.js +5 -4
- package/dist/cjs/kup-cell.cjs.entry.js +12 -11
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +22 -16
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -9
- package/dist/cjs/{kup-dates-0e59b05d.js → kup-dates-4aa560f0.js} +80 -67
- package/dist/cjs/kup-drawer.cjs.entry.js +7 -6
- package/dist/cjs/kup-echart.cjs.entry.js +1504 -1025
- package/dist/cjs/kup-editor.cjs.entry.js +46260 -0
- package/dist/cjs/kup-family-tree.cjs.entry.js +9 -8
- package/dist/cjs/kup-gantt_10.cjs.entry.js +58 -42
- package/dist/cjs/kup-grid.cjs.entry.js +5 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +5 -4
- package/dist/cjs/kup-image-list.cjs.entry.js +13 -12
- package/dist/cjs/kup-lazy.cjs.entry.js +16 -15
- package/dist/cjs/kup-magic-box.cjs.entry.js +9 -8
- package/dist/cjs/{kup-manager-cefb1999.js → kup-manager-227c4be2.js} +121 -79
- package/dist/cjs/kup-nav-bar.cjs.entry.js +6 -5
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +7 -6
- package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -6
- package/dist/cjs/{kup-planner-renderer-helper-c2394940.js → kup-planner-renderer-helper-f0c869d7.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +7 -6
- package/dist/cjs/kup-probe.cjs.entry.js +4 -4
- package/dist/cjs/kup-qlik.cjs.entry.js +6 -5
- package/dist/cjs/kup-snackbar.cjs.entry.js +8 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/editor-example-1.js +52 -0
- package/dist/collection/assets/editor.js +60 -0
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +10 -16
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +10 -16
- package/dist/collection/components/kup-badge/kup-badge.js +8 -12
- package/dist/collection/components/kup-box/kup-box.css +1 -1
- package/dist/collection/components/kup-box/kup-box.js +12 -14
- package/dist/collection/components/kup-button/kup-button.js +6 -10
- package/dist/collection/components/kup-button-list/kup-button-list.js +7 -11
- package/dist/collection/components/kup-calendar/kup-calendar.js +8 -12
- package/dist/collection/components/kup-card/kup-card.js +6 -10
- package/dist/collection/components/kup-card-list/kup-card-list.js +6 -10
- package/dist/collection/components/kup-cell/kup-cell.js +13 -21
- package/dist/collection/components/kup-chart/kup-chart.js +7 -11
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +7 -11
- package/dist/collection/components/kup-chip/kup-chip.js +8 -12
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +11 -17
- package/dist/collection/components/kup-combobox/kup-combobox.js +10 -16
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +7 -11
- package/dist/collection/components/kup-data-table/kup-data-table.js +72 -95
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -11
- package/dist/collection/components/kup-dialog/kup-dialog.css +2 -2
- package/dist/collection/components/kup-dialog/kup-dialog.js +9 -13
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -12
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +10 -13
- package/dist/collection/components/kup-echart/kup-echart.js +7 -11
- package/dist/collection/components/kup-editor/kup-editor-declarations.js +15 -0
- package/dist/collection/components/kup-editor/kup-editor.js +774 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +14 -16
- package/dist/collection/components/kup-form/kup-form.js +14 -22
- package/dist/collection/components/kup-gauge/kup-gauge.js +6 -10
- package/dist/collection/components/kup-grid/kup-grid.js +6 -10
- package/dist/collection/components/kup-iframe/kup-iframe.js +6 -10
- package/dist/collection/components/kup-image/kup-image.js +6 -10
- package/dist/collection/components/kup-image-list/kup-image-list.js +8 -12
- package/dist/collection/components/kup-lazy/kup-lazy.js +17 -21
- package/dist/collection/components/kup-list/kup-list.js +10 -16
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +9 -13
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +7 -11
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +7 -11
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +8 -12
- package/dist/collection/components/kup-planner/kup-planner.js +13 -21
- 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 +1 -1
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -1
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +0 -2
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +13 -14
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
- 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 +6 -4
- 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 +6 -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.css +0 -2
- 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 +7 -11
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-radio/kup-radio.js +6 -10
- package/dist/collection/components/kup-rating/kup-rating.js +7 -11
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +7 -11
- package/dist/collection/components/kup-spinner/kup-spinner.js +40 -44
- package/dist/collection/components/kup-switch/kup-switch.js +7 -11
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +6 -10
- package/dist/collection/components/kup-text-field/kup-text-field.js +10 -13
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +10 -13
- package/dist/collection/components/kup-tree/kup-tree-faker.js +1 -1
- package/dist/collection/components/kup-tree/kup-tree.js +24 -33
- package/dist/collection/f-components/f-cell/f-cell.js +2 -1
- package/dist/collection/managers/kup-manager/kup-manager.js +5 -0
- package/dist/collection/managers/kup-openai/kup-openai.js +11 -8
- package/dist/components/custom-task-list-header.js +4 -3
- package/dist/components/custom-task-list-table.js +4 -3
- package/dist/components/kup-accordion.js +3 -2
- package/dist/components/kup-autocomplete2.js +135 -105
- package/dist/components/kup-box2.js +4 -3
- package/dist/components/kup-calendar.js +71 -6
- package/dist/components/kup-card-list.js +2 -1
- package/dist/components/kup-cell.js +3 -2
- package/dist/components/kup-dashboard.js +3 -2
- package/dist/components/kup-dates.js +81 -67
- package/dist/components/kup-drawer.js +4 -3
- package/dist/components/kup-echart2.js +1501 -1022
- package/dist/components/kup-editor.d.ts +11 -0
- package/dist/components/kup-editor.js +46434 -0
- package/dist/components/kup-family-tree.js +4 -3
- package/dist/components/kup-gantt-calendar2.js +3 -2
- package/dist/components/kup-gantt2.js +4 -2
- package/dist/components/kup-grid-renderer2.js +10 -7
- package/dist/components/kup-grid2.js +2 -1
- package/dist/components/kup-horizontal-scroll2.js +12 -12
- package/dist/components/kup-iframe.js +2 -1
- package/dist/components/kup-image-list.js +4 -3
- package/dist/components/kup-lazy.js +13 -12
- package/dist/components/kup-magic-box.js +5 -4
- package/dist/components/kup-manager.js +121 -79
- package/dist/components/kup-nav-bar.js +3 -2
- package/dist/components/kup-numeric-picker.js +3 -2
- package/dist/components/kup-photo-frame.js +4 -3
- package/dist/components/kup-planner-renderer-helper.js +2 -2
- package/dist/components/kup-planner-renderer2.js +3 -3
- package/dist/components/kup-planner.js +4 -3
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +3 -2
- package/dist/components/kup-snackbar.js +3 -2
- package/dist/components/kup-standard-tooltip2.js +3 -2
- package/dist/components/kup-switcher2.js +3 -2
- package/dist/components/kup-task-gantt2.js +6 -4
- package/dist/components/kup-task-list-header2.js +9 -8
- package/dist/components/kup-task-list-table2.js +3 -2
- package/dist/components/kup-task-list2.js +9 -3
- package/dist/components/kup-tooltip2.js +3 -2
- package/dist/components/kup-vertical-scroll2.js +5 -4
- package/dist/esm/{f-button-856a189a.js → f-button-121958b3.js} +2 -2
- package/dist/esm/{f-cell-6324d838.js → f-cell-959b83db.js} +9 -8
- package/dist/esm/{f-checkbox-43481de2.js → f-checkbox-fdf27ce9.js} +1 -1
- package/dist/esm/{f-chip-e15fba8a.js → f-chip-915ddf53.js} +3 -3
- package/dist/esm/{f-image-26b1bc14.js → f-image-98371dac.js} +2 -2
- package/dist/esm/{f-paginator-utils-e8f62783.js → f-paginator-utils-f5f4c666.js} +4 -4
- package/dist/esm/{f-text-field-bbe1f236.js → f-text-field-0df308e4.js} +2 -2
- package/dist/esm/{index-59f83f91.js → index-bbef9f2a.js} +79 -38
- package/dist/esm/index.js +3 -3
- package/dist/esm/ketchup.js +4 -4
- package/dist/esm/kup-accordion.entry.js +7 -6
- package/dist/esm/kup-autocomplete_27.entry.js +141 -112
- package/dist/esm/kup-box.entry.js +13 -12
- package/dist/esm/kup-calendar.entry.js +76 -11
- package/dist/esm/kup-card-list.entry.js +5 -4
- package/dist/esm/kup-cell.entry.js +12 -11
- package/dist/esm/kup-custom-task-list-header_4.entry.js +22 -16
- package/dist/esm/kup-dashboard.entry.js +10 -9
- package/dist/esm/{kup-dates-15f89ea2.js → kup-dates-172954df.js} +81 -67
- package/dist/esm/kup-drawer.entry.js +7 -6
- package/dist/esm/kup-echart.entry.js +1504 -1025
- package/dist/esm/kup-editor.entry.js +46256 -0
- package/dist/esm/kup-family-tree.entry.js +9 -8
- package/dist/esm/kup-gantt_10.entry.js +58 -42
- package/dist/esm/kup-grid.entry.js +5 -4
- package/dist/esm/kup-iframe.entry.js +5 -4
- package/dist/esm/kup-image-list.entry.js +13 -12
- package/dist/esm/kup-lazy.entry.js +16 -15
- package/dist/esm/kup-magic-box.entry.js +9 -8
- package/dist/esm/{kup-manager-8d1df189.js → kup-manager-33b051d6.js} +122 -80
- package/dist/esm/kup-nav-bar.entry.js +6 -5
- package/dist/esm/kup-numeric-picker.entry.js +7 -6
- package/dist/esm/kup-photo-frame.entry.js +7 -6
- package/dist/esm/{kup-planner-renderer-helper-2143d119.js → kup-planner-renderer-helper-5d97e075.js} +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +8 -7
- package/dist/esm/kup-probe.entry.js +4 -4
- package/dist/esm/kup-qlik.entry.js +6 -5
- package/dist/esm/kup-snackbar.entry.js +8 -7
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-0c124f99.entry.js → p-0a4595bd.entry.js} +1 -1
- package/dist/ketchup/{p-dc370227.entry.js → p-0dd0ae49.entry.js} +1 -1
- package/dist/ketchup/p-102866cd.js +1 -0
- package/dist/ketchup/p-1ad7fea0.js +2 -0
- package/dist/ketchup/{p-01a0b54c.js → p-2778f948.js} +1 -1
- package/dist/ketchup/p-2f4055ba.entry.js +1 -0
- package/dist/ketchup/p-3c9ac0fd.entry.js +1 -0
- package/dist/ketchup/p-3ce8ce77.entry.js +49 -0
- package/dist/ketchup/p-3ff9a661.entry.js +1 -0
- package/dist/ketchup/p-41d6466e.entry.js +1 -0
- package/dist/ketchup/p-4bf5e04f.entry.js +1 -0
- package/dist/ketchup/p-6001882e.entry.js +9 -0
- package/dist/ketchup/p-610a03d4.js +28 -0
- package/dist/ketchup/{p-d9a1e5a4.entry.js → p-662d2f9b.entry.js} +1 -1
- package/dist/ketchup/{p-d76cd8d6.js → p-68e9379a.js} +1 -1
- package/dist/ketchup/p-773bcc69.entry.js +1 -0
- package/dist/ketchup/{p-caeed3c3.js → p-7bda0684.js} +1 -1
- package/dist/ketchup/p-81996620.entry.js +1 -0
- package/dist/ketchup/p-9d8d5070.entry.js +1 -0
- package/dist/ketchup/{p-8042dcd5.entry.js → p-9e63f56b.entry.js} +1 -1
- package/dist/ketchup/p-9f31a129.entry.js +38 -0
- package/dist/ketchup/p-a9b06bb8.js +1 -0
- package/dist/ketchup/{p-d300948a.entry.js → p-b086727d.entry.js} +1 -1
- package/dist/ketchup/p-b5d3c24d.entry.js +1 -0
- package/dist/ketchup/p-babbffa4.entry.js +1 -0
- package/dist/ketchup/p-c1ade766.entry.js +1 -0
- package/dist/ketchup/{p-9ba8f169.js → p-ccc637ee.js} +1 -1
- package/dist/ketchup/p-d1268ac7.entry.js +1 -0
- package/dist/ketchup/p-d15d1083.entry.js +1 -0
- package/dist/ketchup/p-d5254caf.entry.js +1 -0
- package/dist/ketchup/{p-f51dbf68.js → p-dc18691c.js} +1 -1
- package/dist/ketchup/p-de07d17e.js +1 -0
- package/dist/ketchup/p-df450df9.entry.js +16 -0
- package/dist/ketchup/{p-269a9af8.js → p-e43d4ccc.js} +1 -1
- package/dist/ketchup/p-ea625b2a.entry.js +1 -0
- package/dist/ketchup/{p-81c1d557.entry.js → p-eb37ea7e.entry.js} +1 -1
- package/dist/ketchup/p-f0b882f4.entry.js +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +1 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
- package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +21 -0
- package/dist/types/components/kup-editor/kup-editor.d.ts +128 -0
- package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -0
- package/dist/types/components.d.ts +149 -2
- package/dist/types/managers/kup-data/kup-data.d.ts +1 -1
- package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +1 -0
- package/dist/types/managers/kup-interact/kup-interact.d.ts +1 -0
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +3 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +1 -0
- package/dist/types/managers/kup-toolbar/kup-toolbar-declarations.d.ts +1 -1
- package/package.json +4 -3
- package/dist/ketchup/p-07bed934.entry.js +0 -1
- package/dist/ketchup/p-0f6cb6e4.entry.js +0 -1
- package/dist/ketchup/p-177f8008.entry.js +0 -9
- package/dist/ketchup/p-2ab02da0.entry.js +0 -1
- package/dist/ketchup/p-3f028a71.entry.js +0 -1
- package/dist/ketchup/p-4a18db68.entry.js +0 -39
- package/dist/ketchup/p-4eb6d4e8.entry.js +0 -1
- package/dist/ketchup/p-63031c77.js +0 -1
- package/dist/ketchup/p-71acfd3c.entry.js +0 -1
- package/dist/ketchup/p-753f30d8.entry.js +0 -1
- package/dist/ketchup/p-8c3ad5ef.entry.js +0 -1
- package/dist/ketchup/p-937a322f.js +0 -29
- package/dist/ketchup/p-a2d3aec9.entry.js +0 -1
- package/dist/ketchup/p-b07ffd18.entry.js +0 -16
- package/dist/ketchup/p-b115e1ec.entry.js +0 -1
- package/dist/ketchup/p-b396d0f8.js +0 -1
- package/dist/ketchup/p-c12a9759.entry.js +0 -1
- package/dist/ketchup/p-c23731ca.js +0 -1
- package/dist/ketchup/p-cadeb53d.entry.js +0 -1
- package/dist/ketchup/p-cd9a4274.js +0 -2
- package/dist/ketchup/p-f1cae1e1.entry.js +0 -1
- package/dist/ketchup/p-f417e794.entry.js +0 -1
- package/dist/ketchup/p-f753c13f.entry.js +0 -1
- package/dist/ketchup/p-f7980061.entry.js +0 -1
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
5
|
+
const index = require('./index-db0a6be6.js');
|
|
6
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
7
|
+
const fPaginatorUtils = require('./f-paginator-utils-67dbc14c.js');
|
|
8
|
+
const fImage = require('./f-image-b61cc967.js');
|
|
9
|
+
const fChip = require('./f-chip-c8efad5b.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-9c718d83.js');
|
|
12
12
|
const fTextFieldMdc = require('./f-text-field-mdc-08a06162.js');
|
|
13
|
-
require('./kup-dates-
|
|
14
|
-
require('./f-button-
|
|
13
|
+
require('./kup-dates-4aa560f0.js');
|
|
14
|
+
require('./f-button-623dfcc3.js');
|
|
15
15
|
require('./f-button-declarations-51ef6d9a.js');
|
|
16
|
-
require('./f-checkbox-
|
|
17
|
-
require('./f-text-field-
|
|
16
|
+
require('./f-checkbox-bfa92ebe.js');
|
|
17
|
+
require('./f-text-field-a09b1705.js');
|
|
18
18
|
require('./component-cb3b32f5.js');
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -67,7 +67,8 @@ class KupBoxState {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
const kupBoxCss = ":host{--kup_box_background_color:var(\n --kup-box-background-color,\n var(--kup-background-color)\n );--kup_box_color:var(--kup-box-color, var(--kup-text-color));--kup_box_font_family:var(--kup-box-font-family, var(--kup-font-family));--kup_box_font_size:var(--kup-box-font-size, var(--kup-font-size));--kup_box_grid_gap:var(--kup-box-grid-gap, 1em);--kup_box_hover_box_shadow:var(\n --kup-box-hover-box-shadow,\n 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5)\n );--kup_box_primary_color_rgb:var(\n --kup-box-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_box_transition:var(--kup-box-transition, 0.25s);display:block;font-family:var(--kup_box_font_family);font-size:var(--kup_box_font_size)}.box-component{background:var(--kup_box_background_color);transition:border var(--kup_box_transition) ease}.box-component[kup-drag-over]{position:relative;border:3px dashed var(--kup-border-color)}#box-container{display:grid;grid-gap:var(--kup_box_grid_gap);color:var(--kup_box_color);overflow:auto}#box-container.is-kanban .kanban-section{overflow:auto}#box-container.is-kanban .box-wrapper{padding-top:1em}#box-container.is-kanban .box-wrapper .box{overflow:auto}#box-container
|
|
70
|
+
const kupBoxCss = ":host{--kup_box_background_color:var(\n --kup-box-background-color,\n var(--kup-background-color)\n );--kup_box_color:var(--kup-box-color, var(--kup-text-color));--kup_box_font_family:var(--kup-box-font-family, var(--kup-font-family));--kup_box_font_size:var(--kup-box-font-size, var(--kup-font-size));--kup_box_grid_gap:var(--kup-box-grid-gap, 1em);--kup_box_hover_box_shadow:var(\n --kup-box-hover-box-shadow,\n 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5)\n );--kup_box_primary_color_rgb:var(\n --kup-box-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_box_transition:var(--kup-box-transition, 0.25s);display:block;font-family:var(--kup_box_font_family);font-size:var(--kup_box_font_size)}.box-component{background:var(--kup_box_background_color);transition:border var(--kup_box_transition) ease}.box-component[kup-drag-over]{position:relative;border:3px dashed var(--kup-border-color)}#box-container{display:grid;grid-gap:var(--kup_box_grid_gap);color:var(--kup_box_color);overflow:auto}#box-container.is-kanban .kanban-section{overflow:auto}#box-container.is-kanban .box-wrapper{padding-top:1em}#box-container.is-kanban .box-wrapper .box{overflow:auto}#box-container *:not(.progress-bar-percentage){box-sizing:border-box}#box-container .box-wrapper{display:flex;align-items:center}#box-container .box-wrapper .box{flex-grow:1;cursor:pointer;position:relative;display:flex;transition:background-color var(--kup_box_transition) ease, box-shadow var(--kup_box_transition) ease, border var(--kup_box_transition) ease}#box-container .box-wrapper .box.draggable{touch-action:none;user-select:none}#box-container .box-wrapper .box.column{flex-direction:column}#box-container .box-wrapper .box:hover{box-shadow:var(--kup_box_hover_box_shadow)}#box-container .box-wrapper .box.selected{background-color:rgba(var(--kup_box_primary_color_rgb), 0.175)}#box-container .box-wrapper .box.selected .box-section.titled>h3{background-color:transparent}#box-container .box-wrapper .box[kup-draggable]{opacity:0.5}#box-container .box-wrapper .box[kup-drag-over]{border:3px dashed var(--kup-border-color);position:relative;z-index:2}#box-container .box-wrapper .box .box-section{display:flex;flex-direction:row;flex:1 1 1%;flex-wrap:wrap}#box-container .box-wrapper .box .box-section.column{flex-direction:column;justify-content:center;flex-wrap:unset}#box-container .box-wrapper .box .box-section.column>.box-section{flex:0 0 auto}#box-container .box-wrapper .box .box-section.grid{display:grid}#box-container .box-wrapper .box .box-section .box-object{min-height:16px}#box-container .box-wrapper .box .box-section .box-object img{height:auto}#box-container .box-wrapper .box .box-section.collapse-section .header{border-top:1px solid var(--kup-border-color);color:rgba(var(--kup-text-color-rgb), 0.75);display:flex;justify-content:space-around;width:100%}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content{margin:0.5em;display:flex;align-items:center}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image{transition:transform 0.15s}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image.toggled{transform:rotate(-180deg)}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .kup-icon.kup-dropdown-icon{margin:0;-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}#box-container .box-wrapper .box .box-section.collapse-section .content{display:none;width:100%}#box-container .box-wrapper .box .box-section.collapse-section.open .content{display:block}#box-container .box-wrapper .box .box-section.titled{border:1px solid var(--kup-border-color);padding-top:5px;position:relative;margin:10px}#box-container .box-wrapper .box .box-section.titled>h3{background:var(--kup-background-color);font-size:calc(var(--kup-font-size) * 1.15);position:absolute;margin:0px;padding:0 8px;top:-11px;left:5px;transition:background-color 0.25s ease}#box-container .box-wrapper .box .box-selection{position:absolute;top:0.5em;right:0.5em;z-index:1}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler{position:relative;width:24px;height:24px;margin-left:3px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler svg{cursor:pointer;opacity:0;fill:var(--kup-text-color);transition:opacity 500ms ease-out}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu{background:var(--kup-background-color);border:1px solid var(--kup-border-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);position:absolute;top:0;right:24px;display:none;z-index:10}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul{list-style-type:none;margin:0;padding:0}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li{cursor:pointer;white-space:nowrap;padding:0 12px;display:flex;align-items:center;line-height:30px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li:not(:last-child){border-bottom:1px solid var(--kup-border-color)}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu.open{display:block}#box-container .box-wrapper:hover .row-actions-wrapper .row-actions-toggler svg{opacity:1}#sort-panel,#global-filter{margin-bottom:1em}:host(.kup-center-aligned) #kup-component .box-section{text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell img{margin:auto}:host(.kup-right-aligned) #kup-component .box-section{text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell img{margin-left:auto;margin-right:0}:host(.kup-top-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-start}:host(.kup-bottom-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-end}:host(:not(.kup-borderless)) .box{border:1px solid var(--kup-border-color)}:host(.kup-flat-on-hover) #box-container .box-wrapper .box:hover{box-shadow:none}:host(.kup-shaped) .box{border-radius:10px}:host(.kup-round) .box{border-radius:25px}:host(.kup-dashed-sections) .box-section{border:2px dashed var(--kup-text-color)}:host(:not(.kup-paddingless)) #box-container .box{padding:3px}:host(:not(.kup-paddingless)) #box-container .box .box-section .box-object{padding:1px 4px}:host(:not(.kup-paddingless)) #box-container .box .box-section.last-child{margin:3px 4px}:host(.kup-danger){--kup-box-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-box-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-box-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-box-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-box-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
71
|
+
const KupBoxStyle0 = kupBoxCss;
|
|
71
72
|
|
|
72
73
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
73
74
|
if (kind === "a" && !f)
|
|
@@ -1307,6 +1308,6 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1307
1308
|
};
|
|
1308
1309
|
__classPrivateFieldSet(this, _KupBox_intObserver, new IntersectionObserver(callback, options), "f");
|
|
1309
1310
|
};
|
|
1310
|
-
KupBox.style =
|
|
1311
|
+
KupBox.style = KupBoxStyle0;
|
|
1311
1312
|
|
|
1312
1313
|
exports.kup_box = KupBox;
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$4 = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index$4 = require('./index-db0a6be6.js');
|
|
6
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
10
|
-
const kupDates = require('./kup-dates-
|
|
8
|
+
const fButton = require('./f-button-623dfcc3.js');
|
|
9
|
+
const fChip = require('./f-chip-c8efad5b.js');
|
|
10
|
+
const kupDates = require('./kup-dates-4aa560f0.js');
|
|
11
11
|
require('./f-button-declarations-51ef6d9a.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-b61cc967.js');
|
|
13
13
|
|
|
14
14
|
var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
15
15
|
|
|
16
|
-
var r,u,i,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w$1),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n)
|
|
16
|
+
var r,u,i,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w$1),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n);var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k),i.__h.forEach(w$1),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||j$1)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return !n.__||w$1(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$1.__e(r,u.__v));};var g$1="function"==typeof requestAnimationFrame;function j$1(n){var t,r=function(){clearTimeout(u),g$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g$1&&(t=requestAnimationFrame(r));}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w$1(n){var t=r;n.__c=n.__(),r=t;}
|
|
17
17
|
|
|
18
|
-
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function w(n){this.props=n;}(w.prototype=new x$1).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var T=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$1.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function V(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new x$1).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&y(_,null,n.fallback);return i&&(i.__h=null),[y(_,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function P(n){return this.getChildContext=function(){return n.context},n.children}function $(n){var e=this,r=n.i;e.componentWillUnmount=function(){D$1(null,e.l),e.l=null,e.i=null;},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n);},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n);}}),D$1(y(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=y($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new x$1).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=j$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};x$1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x$1.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$1.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$1.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=l$1.vnode;l$1.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$1.__r;l$1.__r=function(n){en&&en(n)
|
|
18
|
+
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function w(n){this.props=n;}(w.prototype=new x$1).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var T=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$1.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function V(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new x$1).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&y(_,null,n.fallback);return i&&(i.__h=null),[y(_,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function P(n){return this.getChildContext=function(){return n.context},n.children}function $(n){var e=this,r=n.i;e.componentWillUnmount=function(){D$1(null,e.l),e.l=null,e.i=null;},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n);},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n);}}),D$1(y(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=y($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new x$1).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=j$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};x$1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x$1.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$1.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$1.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=l$1.vnode;l$1.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$1.__r;l$1.__r=function(n){en&&en(n);};
|
|
19
19
|
|
|
20
20
|
const styleTexts = [];
|
|
21
21
|
const styleEls = new Map();
|
|
@@ -12151,6 +12151,70 @@ const LISTENER_REFINERS = {
|
|
|
12151
12151
|
};
|
|
12152
12152
|
config.dataAttrPrefix = '';
|
|
12153
12153
|
|
|
12154
|
+
/*
|
|
12155
|
+
Detects when a *THIRD-PARTY* drag-n-drop system interacts with elements.
|
|
12156
|
+
The third-party system is responsible for drawing the visuals effects of the drag.
|
|
12157
|
+
This class simply monitors for pointer movements and fires events.
|
|
12158
|
+
It also has the ability to hide the moving element (the "mirror") during the drag.
|
|
12159
|
+
*/
|
|
12160
|
+
class InferredElementDragging extends ElementDragging {
|
|
12161
|
+
constructor(containerEl) {
|
|
12162
|
+
super(containerEl);
|
|
12163
|
+
this.shouldIgnoreMove = false;
|
|
12164
|
+
this.mirrorSelector = '';
|
|
12165
|
+
this.currentMirrorEl = null;
|
|
12166
|
+
this.handlePointerDown = (ev) => {
|
|
12167
|
+
this.emitter.trigger('pointerdown', ev);
|
|
12168
|
+
if (!this.shouldIgnoreMove) {
|
|
12169
|
+
// fire dragstart right away. does not support delay or min-distance
|
|
12170
|
+
this.emitter.trigger('dragstart', ev);
|
|
12171
|
+
}
|
|
12172
|
+
};
|
|
12173
|
+
this.handlePointerMove = (ev) => {
|
|
12174
|
+
if (!this.shouldIgnoreMove) {
|
|
12175
|
+
this.emitter.trigger('dragmove', ev);
|
|
12176
|
+
}
|
|
12177
|
+
};
|
|
12178
|
+
this.handlePointerUp = (ev) => {
|
|
12179
|
+
this.emitter.trigger('pointerup', ev);
|
|
12180
|
+
if (!this.shouldIgnoreMove) {
|
|
12181
|
+
// fire dragend right away. does not support a revert animation
|
|
12182
|
+
this.emitter.trigger('dragend', ev);
|
|
12183
|
+
}
|
|
12184
|
+
};
|
|
12185
|
+
let pointer = this.pointer = new PointerDragging(containerEl);
|
|
12186
|
+
pointer.emitter.on('pointerdown', this.handlePointerDown);
|
|
12187
|
+
pointer.emitter.on('pointermove', this.handlePointerMove);
|
|
12188
|
+
pointer.emitter.on('pointerup', this.handlePointerUp);
|
|
12189
|
+
}
|
|
12190
|
+
destroy() {
|
|
12191
|
+
this.pointer.destroy();
|
|
12192
|
+
}
|
|
12193
|
+
setIgnoreMove(bool) {
|
|
12194
|
+
this.shouldIgnoreMove = bool;
|
|
12195
|
+
}
|
|
12196
|
+
setMirrorIsVisible(bool) {
|
|
12197
|
+
if (bool) {
|
|
12198
|
+
// restore a previously hidden element.
|
|
12199
|
+
// use the reference in case the selector class has already been removed.
|
|
12200
|
+
if (this.currentMirrorEl) {
|
|
12201
|
+
this.currentMirrorEl.style.visibility = '';
|
|
12202
|
+
this.currentMirrorEl = null;
|
|
12203
|
+
}
|
|
12204
|
+
}
|
|
12205
|
+
else {
|
|
12206
|
+
let mirrorEl = this.mirrorSelector
|
|
12207
|
+
// TODO: somehow query FullCalendars WITHIN shadow-roots
|
|
12208
|
+
? document.querySelector(this.mirrorSelector)
|
|
12209
|
+
: null;
|
|
12210
|
+
if (mirrorEl) {
|
|
12211
|
+
this.currentMirrorEl = mirrorEl;
|
|
12212
|
+
mirrorEl.style.visibility = 'hidden';
|
|
12213
|
+
}
|
|
12214
|
+
}
|
|
12215
|
+
}
|
|
12216
|
+
}
|
|
12217
|
+
|
|
12154
12218
|
var index$2 = createPlugin({
|
|
12155
12219
|
name: '@fullcalendar/interaction',
|
|
12156
12220
|
componentInteractions: [DateClicking, DateSelecting, EventDragging, EventResizing],
|
|
@@ -13851,6 +13915,7 @@ var KupCalendarOptions;
|
|
|
13851
13915
|
})(KupCalendarOptions || (KupCalendarOptions = {}));
|
|
13852
13916
|
|
|
13853
13917
|
const kupCalendarCss = ":host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-background-color)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-color)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-primary-color)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-on-primary-color)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-title-background-color)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-title-color)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 2px solid var(--kup-border-color)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n rgba(var(--kup-disabled-background-color-rgb), 0.5)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-disabled-color)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n rgba(var(--kup-primary-color-rgb), 0.125)\n );background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;border-left:var(--kup_calendar_navigator_border);border-right:var(--kup_calendar_navigator_border);border-top:var(--kup_calendar_navigator_border);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:space-between}.navigation__left{--kup-font-size:0.875em;display:flex}.navigation__right{display:flex}.navigation__title{font-size:1.25em;font-weight:400;letter-spacing:0.1892857em;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border-radius:var(--kup_calendar_event_border_radius);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color)}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}";
|
|
13918
|
+
const KupCalendarStyle0 = kupCalendarCss;
|
|
13854
13919
|
|
|
13855
13920
|
const KupCalendar = class {
|
|
13856
13921
|
constructor(hostRef) {
|
|
@@ -14191,11 +14256,11 @@ const KupCalendar = class {
|
|
|
14191
14256
|
this.kupManager.debug.logRender(this, true);
|
|
14192
14257
|
}
|
|
14193
14258
|
render() {
|
|
14194
|
-
return (index$4.h(index$4.Host,
|
|
14259
|
+
return (index$4.h(index$4.Host, { key: '81ca54ecc64da284ef682bb11afdcf8ce4d30667' }, index$4.h("style", { key: '2a65b0d79e2d0b3356347657c4cbb50afbf13eaf' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '5a1efc80bc76c8bf6163acfd9e7ed1ba49d9f124', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: '975f9f451d580535f80602c2ef1de548f24797c6', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: 'ca9fb802c7820068a9b5f482e751606f90db72c4', class: `navigation__title ${this.hideNavigation
|
|
14195
14260
|
? 'navigation__title--centered'
|
|
14196
14261
|
: ''}`, ref: (el) => {
|
|
14197
14262
|
this.navTitle = el;
|
|
14198
|
-
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14263
|
+
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { key: '0b19f1dad2e7236feecd159ac0421b521bf72a04', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14199
14264
|
}
|
|
14200
14265
|
disconnectedCallback() {
|
|
14201
14266
|
if (this.calendar) {
|
|
@@ -14212,6 +14277,6 @@ const KupCalendar = class {
|
|
|
14212
14277
|
"currentDate": ["setCalendarData"]
|
|
14213
14278
|
}; }
|
|
14214
14279
|
};
|
|
14215
|
-
KupCalendar.style =
|
|
14280
|
+
KupCalendar.style = KupCalendarStyle0;
|
|
14216
14281
|
|
|
14217
14282
|
exports.kup_calendar = KupCalendar;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-db0a6be6.js');
|
|
6
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
require('./kup-dates-
|
|
8
|
+
require('./kup-dates-4aa560f0.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Props of the kup-card-list component.
|
|
@@ -32,6 +32,7 @@ var KupCardListProps;
|
|
|
32
32
|
})(KupCardListProps || (KupCardListProps = {}));
|
|
33
33
|
|
|
34
34
|
const kupCardListCss = ":host{--kup_cardlist_cards_max_height:var(--kup-cardlist-cards-max-height, unset);--kup_cardlist_cards_min_height:var(--kup-cardlist-cards-min-height, unset);--kup_cardlist_cards_max_width:var(--kup-cardlist-cards-max-width, unset);--kup_cardlist_cards_min_width:var(--kup-cardlist-cards-min-width, unset);display:block;height:100%;width:100%}#kup-component{height:100%;width:100%}kup-card{max-height:var(--kup_cardlist_cards_max_height);min-height:var(--kup_cardlist_cards_min_height);max-width:var(--kup_cardlist_cards_max_width);min-width:var(--kup_cardlist_cards_min_width)}kup-card.is-clickable{cursor:pointer}kup-grid{--kup-grid-padding:0}";
|
|
35
|
+
const KupCardListStyle0 = kupCardListCss;
|
|
35
36
|
|
|
36
37
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
37
38
|
if (kind === "a" && !f)
|
|
@@ -260,6 +261,6 @@ const KupCardList = class {
|
|
|
260
261
|
get rootElement() { return index.getElement(this); }
|
|
261
262
|
};
|
|
262
263
|
_KupCardList_kupManager = new WeakMap();
|
|
263
|
-
KupCardList.style =
|
|
264
|
+
KupCardList.style = KupCardListStyle0;
|
|
264
265
|
|
|
265
266
|
exports.kup_card_list = KupCardList;
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-db0a6be6.js');
|
|
6
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fCell = require('./f-cell-
|
|
9
|
-
require('./kup-dates-
|
|
10
|
-
require('./f-checkbox-
|
|
11
|
-
require('./f-text-field-
|
|
12
|
-
require('./f-image-
|
|
13
|
-
require('./f-chip-
|
|
14
|
-
require('./f-button-
|
|
8
|
+
const fCell = require('./f-cell-9c718d83.js');
|
|
9
|
+
require('./kup-dates-4aa560f0.js');
|
|
10
|
+
require('./f-checkbox-bfa92ebe.js');
|
|
11
|
+
require('./f-text-field-a09b1705.js');
|
|
12
|
+
require('./f-image-b61cc967.js');
|
|
13
|
+
require('./f-chip-c8efad5b.js');
|
|
14
|
+
require('./f-button-623dfcc3.js');
|
|
15
15
|
require('./f-button-declarations-51ef6d9a.js');
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -27,6 +27,7 @@ var KupCellProps;
|
|
|
27
27
|
})(KupCellProps || (KupCellProps = {}));
|
|
28
28
|
|
|
29
29
|
const kupCellCss = ":host{display:block;height:100%;width:100%}#kup-component{height:100%;width:100%}";
|
|
30
|
+
const KupCellStyle0 = kupCellCss;
|
|
30
31
|
|
|
31
32
|
const KupCell = class {
|
|
32
33
|
constructor(hostRef) {
|
|
@@ -173,7 +174,7 @@ const KupCell = class {
|
|
|
173
174
|
renderKup: true,
|
|
174
175
|
row: this.generateRow(),
|
|
175
176
|
};
|
|
176
|
-
return (index.h(index.Host,
|
|
177
|
+
return (index.h(index.Host, { key: '6eae5c64c3c22889f6d67c79150bb109e2a27c83' }, index.h("style", { key: 'a807aece995466845f8699d51e5d78ddba19cb5d' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '759dc36e0a82552f49238ada3906634c7ff032ea', id: GenericVariables.componentWrapperId }, index.h(fCell.FCell, Object.assign({ key: '1f45b43d0dd416c935f1c2963806c3f90bf1f61d' }, props)))));
|
|
177
178
|
}
|
|
178
179
|
disconnectedCallback() {
|
|
179
180
|
this.kupManager.dates.unregister(this);
|
|
@@ -182,6 +183,6 @@ const KupCell = class {
|
|
|
182
183
|
}
|
|
183
184
|
get rootElement() { return index.getElement(this); }
|
|
184
185
|
};
|
|
185
|
-
KupCell.style =
|
|
186
|
+
KupCell.style = KupCellStyle0;
|
|
186
187
|
|
|
187
188
|
exports.kup_cell = KupCell;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupDates = require('./kup-dates-
|
|
5
|
+
const index = require('./index-db0a6be6.js');
|
|
6
|
+
const kupDates = require('./kup-dates-4aa560f0.js');
|
|
7
7
|
const kupPlannerTimeFormatter = require('./kup-planner-time-formatter-a74e70f0.js');
|
|
8
|
-
const kupPlannerRendererHelper = require('./kup-planner-renderer-helper-
|
|
8
|
+
const kupPlannerRendererHelper = require('./kup-planner-renderer-helper-f0c869d7.js');
|
|
9
9
|
const bar_helpers = require('./bar.helpers-f46a5a83.js');
|
|
10
10
|
|
|
11
11
|
const customTaskListHeaderModuleCss = ".custom-task-list-wrapper{display:flex;justify-content:space-around;max-width:330px;place-items:\"center\";text-align:center;align-items:center}.title{font-weight:bold;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggler{max-width:max-content;padding:0 4px;text-align:right}.switch{position:relative;display:inline-block;width:30px;height:17px}.input{opacity:0;width:0;height:0}.input:checked+.slider{background-color:#003b77}.input:checked+.slider:before{-webkit-transform:translateX(13px);-ms-transform:translateX(13px);transform:translateX(13px)}.input:focus+.slider{box-shadow:0 0 1px #003b77}.slider{-webkit-transition:0.4s;cursor:pointer;background-color:#ccc;bottom:0;border-radius:17px;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{-webkit-transition:0.1s;background-color:white;border-radius:50%;bottom:2px;content:\"\";height:13px;left:2px;position:absolute;transition:0.1s;width:13px}.label{font-size:12px;padding:6px}.filter{font-size:12px}";
|
|
12
|
+
const KupCustomTaskListHeaderStyle0 = customTaskListHeaderModuleCss;
|
|
12
13
|
|
|
13
14
|
const KupCustomTaskListHeader = class {
|
|
14
15
|
constructor(hostRef) {
|
|
@@ -20,16 +21,17 @@ const KupCustomTaskListHeader = class {
|
|
|
20
21
|
this.fontSize = undefined;
|
|
21
22
|
}
|
|
22
23
|
render() {
|
|
23
|
-
return (index.h("div", { class: "custom-task-list-wrapper", style: {
|
|
24
|
+
return (index.h("div", { key: '25542e1e426f9f035bdd3b894acf915100609cec', class: "custom-task-list-wrapper", style: {
|
|
24
25
|
height: '50px',
|
|
25
26
|
fontFamily: this.fontFamily,
|
|
26
27
|
fontSize: this.fontSize,
|
|
27
|
-
} }, index.h("div", { class: "title" }, index.h("span",
|
|
28
|
+
} }, index.h("div", { key: 'b64868e8a15fda0a259e30e77a1572fef34cf9a9', class: "title" }, index.h("span", { key: '4bb87686a421a211ff7caa2c53105764f2e15c0a' }, this.label)), this.setDoubleView !== undefined && (index.h("div", { class: "toggler" }, index.h("label", { htmlFor: "ch2", class: "switch" }, index.h("input", { class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), index.h("span", { class: "slider" })), index.h("span", { class: "label" }, "Previsioni")))));
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
|
-
KupCustomTaskListHeader.style =
|
|
31
|
+
KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
|
|
31
32
|
|
|
32
33
|
const ganttTableModuleCss = ".container{padding:0 10px;margin-right:10px}.project{background:var(--kup-background-color, #ffffff);border:1px solid var(--kup-border-color, #acacac);border-radius:4px;box-sizing:border-box;color:var(--kup-text-color, #595959);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.project .main{font-weight:700;width:100%;padding-left:4px}.subrow{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#acacac;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#ffffff;color:#595959;font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0;border-bottom-right-radius:0}.timeline{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#cbcbcb;border-radius:4px;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#fff;color:#595959;font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.timeline .main{font-weight:700;width:100%;padding-left:4px}";
|
|
34
|
+
const KupCustomTaskListTableStyle0 = ganttTableModuleCss;
|
|
33
35
|
|
|
34
36
|
const KupCustomTaskListTable = class {
|
|
35
37
|
constructor(hostRef) {
|
|
@@ -47,7 +49,7 @@ const KupCustomTaskListTable = class {
|
|
|
47
49
|
}
|
|
48
50
|
render() {
|
|
49
51
|
const kupDates$1 = new kupDates.KupDates();
|
|
50
|
-
return (index.h("div", { class: "container" }, this.tasks.map((task) => {
|
|
52
|
+
return (index.h("div", { key: 'aa6299da80dde8682f3fe8c1a8e244d6c15e5c5c', class: "container" }, this.tasks.map((task) => {
|
|
51
53
|
var _a, _b, _c;
|
|
52
54
|
return (index.h(index.Fragment, null, task.type === 'project' ? (index.h("div", { class: "project", style: {
|
|
53
55
|
height: `${this.rowHeight}px`,
|
|
@@ -119,9 +121,10 @@ const KupCustomTaskListTable = class {
|
|
|
119
121
|
})));
|
|
120
122
|
}
|
|
121
123
|
};
|
|
122
|
-
KupCustomTaskListTable.style =
|
|
124
|
+
KupCustomTaskListTable.style = KupCustomTaskListTableStyle0;
|
|
123
125
|
|
|
124
126
|
const kupGanttCalendarCss = ".calendarBottomText{text-anchor:middle;fill:#333;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.calendarTopTick{stroke:#e6e4e4}.calendarTopText{text-anchor:middle;fill:#555;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.calendarHeader{fill:#ffffff;stroke:#e0e0e0;stroke-width:1.4}";
|
|
127
|
+
const KupGanttCalendarStyle0 = kupGanttCalendarCss;
|
|
125
128
|
|
|
126
129
|
const KupGanttCalendar = class {
|
|
127
130
|
constructor(hostRef) {
|
|
@@ -317,16 +320,18 @@ const KupGanttCalendar = class {
|
|
|
317
320
|
this.simplifiedHeader =
|
|
318
321
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
319
322
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
320
|
-
return (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.h("rect", { x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
323
|
+
return (index.h("svg", { key: '972519efa36c109961fdd368de96b3dc1b1d8d7e', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { key: '14edca5a67b8fcd35ea5ff959fbac1cd6f0e225b', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.h("rect", { key: '8555e690efb9858ecfb9502526b6185706082889', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
321
324
|
? topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
|
|
322
325
|
: topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
|
|
323
326
|
// current date indicator
|
|
324
327
|
index.h("circle", { fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
325
328
|
}
|
|
326
329
|
};
|
|
327
|
-
KupGanttCalendar.style =
|
|
330
|
+
KupGanttCalendar.style = KupGanttCalendarStyle0;
|
|
328
331
|
|
|
329
|
-
var hexToCssFilter =
|
|
332
|
+
var hexToCssFilter = {exports: {}};
|
|
333
|
+
|
|
334
|
+
(function (module, exports) {
|
|
330
335
|
(function (global, factory) {
|
|
331
336
|
factory(exports) ;
|
|
332
337
|
}(kupDates.commonjsGlobal, (function (exports) {
|
|
@@ -863,9 +868,10 @@ var hexToCssFilter = kupDates.createCommonjsModule(function (module, exports) {
|
|
|
863
868
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
864
869
|
|
|
865
870
|
})));
|
|
866
|
-
});
|
|
871
|
+
}(hexToCssFilter, hexToCssFilter.exports));
|
|
867
872
|
|
|
868
873
|
const kupGridRendererCss = ".gridRow{fill:#fff}.gridRowLine{stroke:transparent}.gridTick{stroke:#e6e4e4}.barHandle{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden}.barBackground{user-select:none;stroke-width:0}.barWrapper{cursor:pointer;outline:none}.task-wrapper{outline:none !important}.barWrapper:hover .barHandle{visibility:visible;opacity:1}.barLabel{fill:#fff;text-anchor:middle;font-weight:lighter;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.barLabelOutside{fill:#555;text-anchor:start;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}";
|
|
874
|
+
const KupGridRendererStyle0 = kupGridRendererCss;
|
|
869
875
|
|
|
870
876
|
const KupGridRenderer = class {
|
|
871
877
|
constructor(hostRef) {
|
|
@@ -1084,7 +1090,7 @@ const KupGridRenderer = class {
|
|
|
1084
1090
|
}
|
|
1085
1091
|
}
|
|
1086
1092
|
getTaskIcon(bar) {
|
|
1087
|
-
const cssFilter = hexToCssFilter.hexToCSSFilter(bar.color);
|
|
1093
|
+
const cssFilter = hexToCssFilter.exports.hexToCSSFilter(bar.color);
|
|
1088
1094
|
return (index.h("image", { href: bar.url, filter: cssFilter.filter.replace(';', ''), x: bar.x, y: bar.y, width: bar.width, height: bar.height }));
|
|
1089
1095
|
}
|
|
1090
1096
|
renderKupBar(task, isSelected, isDateResizable, isProgressChangeable) {
|
|
@@ -1227,13 +1233,13 @@ const KupGridRenderer = class {
|
|
|
1227
1233
|
kupPlannerRendererHelper.addToDate(date, date.getTime() - this.dates[i - 1].getTime(), 'millisecond').getTime() >= now.getTime())) ;
|
|
1228
1234
|
tickX += this.columnWidth;
|
|
1229
1235
|
}
|
|
1230
|
-
return (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, index.h("g", { class: "grid" }, index.h("g", { class: "rows" }, gridRows), index.h("g", { class: "rowLines" }, rowLines), index.h("g", { class: "ticks" }, ticks)), index.h("g", { class: "content" }, this.currentDateIndicator && (index.h("rect", { fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.h("rect", { fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), index.h("g", { class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
1236
|
+
return (index.h("svg", { key: '453f06f9849218010409d444adb13500f22b6cfa', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, index.h("g", { key: 'a671a9e0c1c44ef1b3d86d679d68dda934246e59', class: "grid" }, index.h("g", { key: '3741633c839e757fa4d4cc0999d9e34ad5284173', class: "rows" }, gridRows), index.h("g", { key: '34bdba123cff205d0769e6492055a72f51b85bd7', class: "rowLines" }, rowLines), index.h("g", { key: '0d2b321b587e8cc4a65ac356ea1a5903c1fa61f6', class: "ticks" }, ticks)), index.h("g", { key: '891e706099f2c83dcabf5a0bb62a2c8139c10ac1', class: "content" }, this.currentDateIndicator && (index.h("rect", { fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.h("rect", { fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), index.h("g", { key: '6e36b71942a8619b800210d189629c0856cb57f6', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
1231
1237
|
return task.barChildren.map((child) => {
|
|
1232
1238
|
if (task.type !== 'timeline') {
|
|
1233
1239
|
this.renderKupArrow(task, child);
|
|
1234
1240
|
}
|
|
1235
1241
|
});
|
|
1236
|
-
})), index.h("g", { class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1242
|
+
})), index.h("g", { key: '38643adf911e2b0ff25b0ffe4f8c8c645171c55d', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1237
1243
|
const forbidResize = task.type === 'project';
|
|
1238
1244
|
return (index.h("g", { onKeyDown: (e) => {
|
|
1239
1245
|
switch (e.key) {
|
|
@@ -1309,7 +1315,7 @@ const KupGridRenderer = class {
|
|
|
1309
1315
|
"onDateChange": ["updateSvgMove"]
|
|
1310
1316
|
}; }
|
|
1311
1317
|
};
|
|
1312
|
-
KupGridRenderer.style =
|
|
1318
|
+
KupGridRenderer.style = KupGridRendererStyle0;
|
|
1313
1319
|
|
|
1314
1320
|
exports.kup_custom_task_list_header = KupCustomTaskListHeader;
|
|
1315
1321
|
exports.kup_custom_task_list_table = KupCustomTaskListTable;
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const fButton = require('./f-button-
|
|
7
|
-
const fCheckbox = require('./f-checkbox-
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
5
|
+
const index = require('./index-db0a6be6.js');
|
|
6
|
+
const fButton = require('./f-button-623dfcc3.js');
|
|
7
|
+
const fCheckbox = require('./f-checkbox-bfa92ebe.js');
|
|
8
|
+
const fTextField = require('./f-text-field-a09b1705.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-08a06162.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-51ef6d9a.js');
|
|
13
|
-
require('./f-image-
|
|
13
|
+
require('./f-image-b61cc967.js');
|
|
14
14
|
require('./component-cb3b32f5.js');
|
|
15
|
-
require('./kup-dates-
|
|
15
|
+
require('./kup-dates-4aa560f0.js');
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Props of the kup-dashboard component.
|
|
@@ -26,6 +26,7 @@ var KupDashboardProps;
|
|
|
26
26
|
})(KupDashboardProps || (KupDashboardProps = {}));
|
|
27
27
|
|
|
28
28
|
const kupDashboardCss = ":host{width:100%;height:100%}#kup-component{height:100%}.header{display:flex;flex-direction:row;justify-content:center}.header>*{margin-left:0.5em}.form{display:grid;height:100%}.form-dropzone{padding:1em;grid-gap:0.5em;border:1px solid var(--kup-primary-color);height:auto}.section{display:flex;flex-direction:column;overflow:auto}.section-header{display:flex;flex-direction:column}.section-header>*{width:100%;display:flex;flex-direction:row}.section-header>*>.section-header-actions{display:flex;justify-content:end}.section-header>*>.section-header-actions>*{margin-top:auto;margin-bottom:auto}.section-body{display:grid}.section-dropzone{border:1px solid var(--kup-primary-color)}.section-draggable{border:1px solid var(--kup-secondary-color);padding:1em}.section-placeholder{background-color:rgba(var(--kup-secondary-color-rgb), 0.5);min-height:1em;min-width:1em}.component{height:fit-content;padding:1em;margin:0.5em}.layout-row{grid-auto-flow:column;grid-template-columns:min-content}.layout-column{grid-auto-flow:row;grid-template-rows:min-content}";
|
|
29
|
+
const KupDashboardStyle0 = kupDashboardCss;
|
|
29
30
|
|
|
30
31
|
const KupDashboard = class {
|
|
31
32
|
constructor(hostRef) {
|
|
@@ -395,7 +396,7 @@ const KupDashboard = class {
|
|
|
395
396
|
this.didRenderInteractables();
|
|
396
397
|
}
|
|
397
398
|
render() {
|
|
398
|
-
return (index.h(index.Host,
|
|
399
|
+
return (index.h(index.Host, { key: 'd137a4cd1fe9f41d4b3b26bd9ea21661b005e824' }, index.h("style", { key: '97e692c9fde917dc863029428329b4a08cbed122' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '7e48783550fee1e317c77b3ff5edab3d4cbc0274', id: GenericVariables.componentWrapperId }, this.buildHeader(), this.buildForm(this.internalData, null))));
|
|
399
400
|
}
|
|
400
401
|
disconnectedCallback() {
|
|
401
402
|
this.unregisterInteractables();
|
|
@@ -408,6 +409,6 @@ const KupDashboard = class {
|
|
|
408
409
|
"data": ["dataChanged"]
|
|
409
410
|
}; }
|
|
410
411
|
};
|
|
411
|
-
KupDashboard.style =
|
|
412
|
+
KupDashboard.style = KupDashboardStyle0;
|
|
412
413
|
|
|
413
414
|
exports.kup_dashboard = KupDashboard;
|