@sme.up/ketchup 9.6.4 → 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-89de2403.js → f-button-23ec3db5.js} +1 -1
- package/dist/cjs/{f-cell-75dbd6eb.js → f-cell-bcc51c0f.js} +5 -5
- package/dist/cjs/{f-chip-08857345.js → f-chip-63363ecf.js} +2 -2
- package/dist/cjs/{f-image-a41d7f1e.js → f-image-f3944c01.js} +2 -5
- package/dist/cjs/{f-paginator-utils-ff07301e.js → f-paginator-utils-60e05759.js} +2 -2
- package/dist/cjs/{f-text-field-eb207a83.js → f-text-field-354b6c78.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +46 -46
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +253 -37
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-gantt_10.cjs.entry.js +104 -38
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +20 -13
- package/dist/cjs/kup-input-panel.cjs.entry.js +199 -53
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-abfe4ddd.js → kup-manager-e1bfd4f8.js} +647 -120
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
- package/dist/cjs/{kup-planner-renderer-helper-9f776d6e.js → kup-planner-renderer-helper-f001fad7.js} +55 -7
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +43 -10
- 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 +80 -8
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/image-list.js +332 -2
- package/dist/collection/assets/input-panel.js +307 -76
- 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/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 +1 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +38 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +69 -28
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +206 -59
- 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-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-image/f-image.js +2 -5
- package/dist/components/_commonjsHelpers.js +26 -0
- package/dist/components/custom-task-list-table.js +58 -13
- package/dist/components/kup-autocomplete2.js +43 -45
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-dates.js +2 -25
- 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-horizontal-scroll2.js +48 -10
- package/dist/components/kup-image-list.js +14 -7
- package/dist/components/kup-input-panel.js +192 -46
- package/dist/components/kup-manager.js +649 -121
- package/dist/components/kup-pdf.js +1 -1
- 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-1eebd42e.js → f-button-d6dbcfd6.js} +1 -1
- package/dist/esm/{f-cell-af19d5c7.js → f-cell-7b41415c.js} +5 -5
- package/dist/esm/{f-chip-9e5fdb25.js → f-chip-68d27d7a.js} +2 -2
- package/dist/esm/{f-image-1e1ed567.js → f-image-a67229e5.js} +2 -5
- package/dist/esm/{f-paginator-utils-dede029b.js → f-paginator-utils-8773e358.js} +2 -2
- package/dist/esm/{f-text-field-802b45fb.js → f-text-field-d364ffd2.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-autocomplete_27.entry.js +46 -46
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-custom-task-list-header_4.entry.js +253 -37
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-gantt_10.entry.js +105 -39
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +20 -13
- package/dist/esm/kup-input-panel.entry.js +199 -53
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-dd24fb5a.js → kup-manager-a316a70e.js} +647 -120
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
- package/dist/esm/{kup-planner-renderer-helper-b4727e44.js → kup-planner-renderer-helper-a2ec9a1c.js} +56 -7
- package/dist/esm/kup-planner-renderer.entry.js +43 -10
- package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
- package/dist/esm/kup-planner.entry.js +80 -8
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -4
- 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-b3b50bb5.entry.js → p-074ccd53.entry.js} +1 -1
- package/dist/ketchup/{p-26d42b88.entry.js → p-1088ab22.entry.js} +1 -1
- package/dist/ketchup/{p-201f8d7b.entry.js → p-1bcac01f.entry.js} +1 -1
- package/dist/ketchup/{p-3b544027.entry.js → p-1e028d95.entry.js} +1 -1
- package/dist/ketchup/p-25058baa.js +1 -0
- package/dist/ketchup/{p-dcf7e9b6.entry.js → p-2932e7e8.entry.js} +1 -1
- package/dist/ketchup/{p-b238cde7.entry.js → p-2b84db7b.entry.js} +1 -1
- package/dist/ketchup/{p-f998ff28.entry.js → p-2ef90f60.entry.js} +1 -1
- package/dist/ketchup/{p-8fcdf454.js → p-339bbeae.js} +1 -1
- package/dist/ketchup/{p-cd7fec02.entry.js → p-48e45ac0.entry.js} +1 -1
- package/dist/ketchup/p-53af4c87.js +1 -0
- package/dist/ketchup/{p-6972fa0c.entry.js → p-556f7ddc.entry.js} +1 -1
- package/dist/ketchup/{p-e7507dd6.entry.js → p-5f7d8c21.entry.js} +1 -1
- package/dist/ketchup/{p-e0e47ca9.entry.js → p-6362738c.entry.js} +1 -1
- package/dist/ketchup/{p-a2e14d8b.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-6c888179.js → p-801776bc.js} +1 -1
- package/dist/ketchup/{p-4f69f6f9.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-8229b97a.js → p-8d4050ec.js} +4 -4
- package/dist/ketchup/{p-79f4dc5b.entry.js → p-9e2533e1.entry.js} +1 -1
- package/dist/ketchup/{p-158076de.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-61e8d573.js → p-b3540f83.js} +1 -1
- package/dist/ketchup/{p-19a13672.entry.js → p-c702eb45.entry.js} +1 -1
- package/dist/ketchup/{p-2e04042b.entry.js → p-ccb6dbb0.entry.js} +1 -1
- package/dist/ketchup/{p-a2e691b8.entry.js → p-cf44485a.entry.js} +2 -2
- package/dist/ketchup/{p-8f3d400a.entry.js → p-d2001dec.entry.js} +1 -1
- package/dist/ketchup/{p-34d70475.entry.js → p-dbb6cd8d.entry.js} +1 -1
- package/dist/ketchup/{p-2d4a9235.js → p-f6c8f006.js} +1 -1
- package/dist/ketchup/{p-43ce397b.entry.js → p-f79ffe77.entry.js} +1 -1
- package/dist/ketchup/{p-489af77f.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 +9 -7
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +4 -4
- 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 +122 -16
- package/package.json +1 -1
- package/dist/components/kup-planner-renderer-helper.js +0 -379
- package/dist/ketchup/p-14943de9.entry.js +0 -1
- package/dist/ketchup/p-180cd7ab.entry.js +0 -1
- package/dist/ketchup/p-636be6f1.entry.js +0 -16
- package/dist/ketchup/p-63c141d9.entry.js +0 -1
- package/dist/ketchup/p-818e61d5.entry.js +0 -1
- package/dist/ketchup/p-8e3b6de8.js +0 -1
- package/dist/ketchup/p-a46f99d4.js +0 -1
- package/dist/ketchup/p-c0f660d6.js +0 -1
- package/dist/ketchup/p-e4c63684.js +0 -1
- package/dist/ketchup/p-e841c2ae.js +0 -1
- package/dist/ketchup/p-f9a7c21c.entry.js +0 -1
|
@@ -96,59 +96,59 @@ export class KupSpinner {
|
|
|
96
96
|
spinnerClass = 'spinner-v' + this.layout;
|
|
97
97
|
if (this.layout === 7) {
|
|
98
98
|
spinnerEl = [
|
|
99
|
-
h("div", { key: '
|
|
100
|
-
h("div", { key: '
|
|
101
|
-
h("div", { key: '
|
|
102
|
-
h("div", { key: '
|
|
103
|
-
h("div", { key: '
|
|
104
|
-
h("div", { key: '
|
|
99
|
+
h("div", { key: 'dec18ff5da6e447ef0a88748af4ba69876433347', class: "sk-spinner-v7-dot" }),
|
|
100
|
+
h("div", { key: '622999cb044516e25647e295acaae27633a8bee4', class: "sk-spinner-v7-dot" }),
|
|
101
|
+
h("div", { key: '9c4123cd6c450454f8834aa54fc6d9d0fd152cb3', class: "sk-spinner-v7-dot" }),
|
|
102
|
+
h("div", { key: '2cf01d336aebb720a588b64b97b372aef7f61f5f', class: "sk-spinner-v7-dot" }),
|
|
103
|
+
h("div", { key: '7a871149a9869d035a19f33c29bb743051547bc9', class: "sk-spinner-v7-dot" }),
|
|
104
|
+
h("div", { key: 'eef22904455b6dc3def9ee7f93f6d2907b2e6779', class: "sk-spinner-v7-dot" }),
|
|
105
105
|
];
|
|
106
106
|
}
|
|
107
107
|
if (this.layout === 9) {
|
|
108
108
|
spinnerEl = [
|
|
109
|
-
h("div", { key: '
|
|
110
|
-
h("div", { key: '
|
|
109
|
+
h("div", { key: '508d469d81d31c69ae6ac0414b65d25793fa2cc6', class: "sk-spinner-v9-bounce1" }),
|
|
110
|
+
h("div", { key: 'b7035400b3171be8af748564b90567a6af521a9e', class: "sk-spinner-v9-bounce2" }),
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
113
|
if (this.layout === 10) {
|
|
114
114
|
spinnerEl = [
|
|
115
|
-
h("div", { key: '
|
|
116
|
-
h("div", { key: '
|
|
115
|
+
h("div", { key: 'c63bfed904f73228827666b23dd84cb5eb25cfe4', class: "sk-spinner-v10-cube1" }),
|
|
116
|
+
h("div", { key: '3485e52f1019a3bf313d40db97623a4f2df75756', class: "sk-spinner-v10-cube2" }),
|
|
117
117
|
];
|
|
118
118
|
}
|
|
119
119
|
if (this.layout === 12) {
|
|
120
120
|
spinnerEl = [
|
|
121
|
-
h("div", { key: '
|
|
122
|
-
h("div", { key: '
|
|
121
|
+
h("div", { key: '9c45d4d1a45d63f26fc54128150a811ee68ebbff', class: "sk-spinner-v12-dot1" }),
|
|
122
|
+
h("div", { key: '2c5d61ccfab2caeaea818c16233d8f679b186a01', class: "sk-spinner-v12-dot2" }),
|
|
123
123
|
];
|
|
124
124
|
}
|
|
125
125
|
if (this.layout === 13) {
|
|
126
126
|
spinnerEl = [
|
|
127
|
-
h("div", { key: '
|
|
128
|
-
h("div", { key: '
|
|
129
|
-
h("div", { key: '
|
|
130
|
-
h("div", { key: '
|
|
131
|
-
h("div", { key: '
|
|
132
|
-
h("div", { key: '
|
|
133
|
-
h("div", { key: '
|
|
134
|
-
h("div", { key: '
|
|
135
|
-
h("div", { key: '
|
|
127
|
+
h("div", { key: '846d41928a6673d5d0be23c7f2012d855f94f7d5', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
128
|
+
h("div", { key: 'f89e6198b2ca96761f26e0199e135052e1d8bd7b', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
129
|
+
h("div", { key: '817f79a413618a55214bd34d3d3e8dcdf94ccac1', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
130
|
+
h("div", { key: 'f5327bd00519954be0739a199f722fbebce2476e', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
131
|
+
h("div", { key: 'b2ecb76d9ec7ccb8d5a5b749c73e064ffd8af65e', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
132
|
+
h("div", { key: '36a10200a66c50a15006d850052a8162b7fb9fae', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
133
|
+
h("div", { key: '9ad2b1d081c67eb20b0679e15a8dad65472d9861', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
134
|
+
h("div", { key: '2b8ca22ce51296daf61db3390f050621c00a0f18', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
135
|
+
h("div", { key: 'e7dda224be4f1d0db8afe8f75d20de6954164949', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
136
136
|
];
|
|
137
137
|
}
|
|
138
138
|
if (this.layout === 14) {
|
|
139
139
|
spinnerEl = [
|
|
140
|
-
h("div", { key: '
|
|
141
|
-
h("div", { key: '
|
|
142
|
-
h("div", { key: '
|
|
143
|
-
h("div", { key: '
|
|
144
|
-
h("div", { key: '
|
|
145
|
-
h("div", { key: '
|
|
146
|
-
h("div", { key: '
|
|
147
|
-
h("div", { key: '
|
|
148
|
-
h("div", { key: '
|
|
149
|
-
h("div", { key: '
|
|
150
|
-
h("div", { key: '
|
|
151
|
-
h("div", { key: '
|
|
140
|
+
h("div", { key: '59e710de566984ccd0bac936a524ce1bad873b40', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
141
|
+
h("div", { key: '40f84d200ca27b547a14ae92cb021f4d998307cb', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
142
|
+
h("div", { key: 'b7318e8ec59b8b253584ab329d0a11cdde77812f', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
143
|
+
h("div", { key: '3411fd3d32934adb2d5dc7820ddcddf9770aa743', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
144
|
+
h("div", { key: 'feb7271af14e53ba11625b6bd29a3e20aea1b0bf', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
145
|
+
h("div", { key: '3efd6f88fe0853f7e32b490be477918dc5bd9bde', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
146
|
+
h("div", { key: 'fbf7f1d6bcdb163e5ec773496701f3e5d97a329c', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
147
|
+
h("div", { key: 'b494589d43c870963482b26b2b576bd90795504f', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
148
|
+
h("div", { key: '1aa3c9ba0103913eb902c39f9d9c7ec5e8053c18', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
149
|
+
h("div", { key: 'f47f8d129e2eafc9a138c3d7a20c3e980154cbae', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
150
|
+
h("div", { key: 'c5944798de2558b722409d4b7a09cb81d7c95f94', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
151
|
+
h("div", { key: '9da29e9774277ce3f4a870ff5dbc29c22e02a6dd', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
152
152
|
];
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -167,7 +167,7 @@ export class KupSpinner {
|
|
|
167
167
|
else {
|
|
168
168
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
169
169
|
}
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '5b9de6c2d309bc15744353796e662fef611f44f6', style: elStyle }, h("style", { key: 'e6a21638735f7fdf44bcec63fd8067924cdafdf5' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9e83ab0c16965cfe9cda127c854d08949ea0078f', id: componentWrapperId, style: elStyle }, h("div", { key: 'd033eda03cf43d5ef8ee02fee0890a36d986a893', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'd6695bf8595fc0ae3e1a31578d8c2f550585b77b', id: wrapperClass, style: elStyle }, h("div", { key: 'e06bce173a197cf9fd6aa036865104b625badef1', class: spinnerClass }, spinnerEl))))));
|
|
171
171
|
}
|
|
172
172
|
disconnectedCallback() {
|
|
173
173
|
this.kupManager.theme.unregister(this);
|
|
@@ -120,7 +120,7 @@ export class KupSwitch {
|
|
|
120
120
|
onChange: () => this.onKupChange(),
|
|
121
121
|
onFocus: () => this.onKupFocus(),
|
|
122
122
|
};
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: 'c58e0bc0af97047925631605157669d49eaafb32' }, h("style", { key: '961d94935464a5bd1dff1bddc28fc46452bb6dba' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ec020595d887abb848346106b981c13a577db96f', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '0a7d447ac4e7aa9a6a3fd5aef2f3f73f257ee1e4' }, props)))));
|
|
124
124
|
}
|
|
125
125
|
disconnectedCallback() {
|
|
126
126
|
this.kupManager.theme.unregister(this);
|
|
@@ -405,7 +405,7 @@ export class KupTimePicker {
|
|
|
405
405
|
this.kupManager.debug.logRender(this, true);
|
|
406
406
|
}
|
|
407
407
|
render() {
|
|
408
|
-
return (h(Host, { key: '
|
|
408
|
+
return (h(Host, { key: '93b86314772e012c9c5e51b5ca9f787526b8b488' }, h("style", { key: '39720990860be688caad0e0573b7ece58a986f70' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '07fd86c0e40d99d8871a60b908cd8116a120847a', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
409
409
|
}
|
|
410
410
|
disconnectedCallback() {
|
|
411
411
|
this.kupManager.dates.unregister(this);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FImageShape } from "./f-image-declarations";
|
|
2
2
|
import { getAssetPath, h } from "@stencil/core";
|
|
3
|
-
import { KupThemeColorValues } from "../../managers/kup-theme/kup-theme-declarations";
|
|
4
3
|
/*-------------------------------------------------*/
|
|
5
4
|
/* C o m p o n e n t */
|
|
6
5
|
/*-------------------------------------------------*/
|
|
@@ -38,7 +37,7 @@ export const FImage = (props) => {
|
|
|
38
37
|
badgeCollection.push(h("kup-badge", Object.assign({}, props.badgeData[index])));
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
return (h("div", Object.assign({ class: `f-image ${props.wrapperClass ? props.wrapperClass : ''}
|
|
40
|
+
return (h("div", Object.assign({ class: `f-image ${props.wrapperClass ? props.wrapperClass : ''} ` }, props.dataSet, { id: props.id, style: style, title: props.title, onClick: props.onClick }), el, ...badgeCollection));
|
|
42
41
|
};
|
|
43
42
|
/*-------------------------------------------------*/
|
|
44
43
|
/* M e t h o d s */
|
|
@@ -48,9 +47,7 @@ function createIcon(props) {
|
|
|
48
47
|
'f-image__icon': true,
|
|
49
48
|
};
|
|
50
49
|
const style = {
|
|
51
|
-
background: props.color
|
|
52
|
-
? props.color
|
|
53
|
-
: `var(${KupThemeColorValues.ICON})`,
|
|
50
|
+
background: props.color ? props.color : `var(--kup-gray-color-70)`,
|
|
54
51
|
};
|
|
55
52
|
if (props.resource.indexOf('--kup') > -1) {
|
|
56
53
|
let themeIcon = props.resource.replace('--', '');
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function getAugmentedNamespace(n) {
|
|
8
|
+
if (n.__esModule) return n;
|
|
9
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
10
|
+
Object.keys(n).forEach(function (k) {
|
|
11
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
12
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return n[k];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
return a;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function commonjsRequire (path) {
|
|
23
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { getAugmentedNamespace as a, commonjsRequire as b, commonjsGlobal as c, getDefaultExportFromCjs as g };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
2
2
|
import { b as KupDates } from './kup-dates.js';
|
|
3
|
+
import { c as createArrayFromNum } from './other.helpers.js';
|
|
3
4
|
|
|
4
|
-
const ganttTableModuleCss = ".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}.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}";
|
|
5
|
+
const ganttTableModuleCss = ".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}.container{padding:0 10px;margin-right:10px}.scrollable{overflow-x:auto;scrollbar-width:0}.scrollable .project-wrapper{display:table}.scrollable .project{width:100% !important;display:table-row}.scrollable .project>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid var(--kup-border-color, #acacac);border-top:1px solid var(--kup-border-color, #acacac);padding-left:12px}.scrollable .project>*:first-child{border-left:1px solid var(--kup-border-color, #acacac);border-bottom-left-radius:4px;border-top-left-radius:4px}.scrollable .project>*:last-child{border-right:1px solid var(--kup-border-color, #acacac);border-bottom-right-radius:4px;border-top-right-radius:4px}.scrollable .subrow{width:100% !important;display:table-row}.scrollable .subrow>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .subrow>*:first-child{border-left:1px solid #acacac}.scrollable .subrow>*:last-child{border-right:1px solid #acacac}.scrollable .timeline{width:100% !important;display:table-row}.scrollable .timeline>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .timeline>*:first-child{border-left:1px solid #acacac}.scrollable .timeline>*:last-child{border-right:1px solid #acacac}.scrollable .project:has(+.subrow)>*{border-bottom-left-radius:0;border-bottom-right-radius:0}.scrollable::-webkit-scrollbar{width:0;height:0}.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 !important;border-bottom-right-radius:0 !important}.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}";
|
|
5
6
|
const KupCustomTaskListTableStyle0 = ganttTableModuleCss;
|
|
6
7
|
|
|
7
8
|
const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomTaskListTable extends HTMLElement {
|
|
@@ -14,15 +15,37 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
|
|
|
14
15
|
this.rowWidth = '';
|
|
15
16
|
this.fontFamily = '';
|
|
16
17
|
this.fontSize = '';
|
|
18
|
+
this.scrollableTaskList = undefined;
|
|
19
|
+
this.taskListScrollX = undefined;
|
|
17
20
|
this.setSelectedTask = undefined;
|
|
18
21
|
this.onclickTaskList = undefined;
|
|
19
22
|
this.ondblclickTaskList = undefined;
|
|
20
23
|
this.oncontextmenuTaskList = undefined;
|
|
24
|
+
this.ontaskListScrollWidth = undefined;
|
|
25
|
+
}
|
|
26
|
+
componentDidLoad() {
|
|
27
|
+
var _a;
|
|
28
|
+
this.ontaskListScrollWidth((_a = this.projectWrapperRef) === null || _a === void 0 ? void 0 : _a.clientWidth);
|
|
29
|
+
}
|
|
30
|
+
componentDidUpdate() {
|
|
31
|
+
var _a;
|
|
32
|
+
this.ontaskListScrollWidth((_a = this.projectWrapperRef) === null || _a === void 0 ? void 0 : _a.clientWidth);
|
|
33
|
+
}
|
|
34
|
+
updateTaskListScroll() {
|
|
35
|
+
this.projectWrapperRef &&
|
|
36
|
+
(this.projectWrapperRef.parentElement.scrollLeft = this.taskListScrollX);
|
|
21
37
|
}
|
|
22
38
|
render() {
|
|
23
39
|
const kupDates = new KupDates();
|
|
24
|
-
|
|
25
|
-
|
|
40
|
+
const scrollableStyle = {};
|
|
41
|
+
if (this.scrollableTaskList) {
|
|
42
|
+
scrollableStyle['width'] = this.rowWidth;
|
|
43
|
+
}
|
|
44
|
+
const spansToShow = this.tasks.reduce((prev, curr) => {
|
|
45
|
+
return prev.valuesToShow.length > curr.valuesToShow.length ? prev : curr;
|
|
46
|
+
}).valuesToShow.length + 1;
|
|
47
|
+
return (h("div", { class: `container ${this.scrollableTaskList ? 'scrollable' : ''}`, style: scrollableStyle }, h("div", { class: "project-wrapper", ref: (el) => (this.projectWrapperRef = el) }, this.tasks.map((task) => {
|
|
48
|
+
var _a, _b, _c, _d;
|
|
26
49
|
return (h(Fragment, null, task.type === 'project' ? (h("div", { class: "project", style: {
|
|
27
50
|
height: `${this.rowHeight}px`,
|
|
28
51
|
width: this.rowWidth,
|
|
@@ -39,11 +62,15 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
|
|
|
39
62
|
e.preventDefault();
|
|
40
63
|
this.setSelectedTask(task.id);
|
|
41
64
|
this.oncontextmenuTaskList(e, task.id);
|
|
42
|
-
} }, (_a = task.valuesToShow) === null || _a === void 0 ? void 0 :
|
|
43
|
-
?
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
65
|
+
} }, (_a = task.valuesToShow) === null || _a === void 0 ? void 0 :
|
|
66
|
+
_a.map((v, index) => (h("span", { class: index === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `task_${task.id}_valuesToShow_${index}` }, v === '#START#'
|
|
67
|
+
? kupDates.formatToLocaleSimple(task.start)
|
|
68
|
+
: v === '#END#'
|
|
69
|
+
? kupDates.formatToLocaleSimple(task.end)
|
|
70
|
+
: v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
|
|
71
|
+
const spansToIterate = createArrayFromNum(spansToShow - task.valuesToShow.length);
|
|
72
|
+
return (spansToIterate.map((element) => (h("span", { key: element }))));
|
|
73
|
+
})()))) : task.type === 'task' ? (h("div", { class: "subrow", style: {
|
|
47
74
|
height: `${this.rowHeight}px`,
|
|
48
75
|
width: this.rowWidth,
|
|
49
76
|
fontFamily: this.fontFamily,
|
|
@@ -59,16 +86,26 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
|
|
|
59
86
|
e.preventDefault();
|
|
60
87
|
this.setSelectedTask(task.id);
|
|
61
88
|
this.oncontextmenuTaskList(e, task.id);
|
|
89
|
+
} }, this.scrollableTaskList ? (h("div", { style: {
|
|
90
|
+
textAlign: 'end',
|
|
62
91
|
} }, h("span", { key: `phase_${task.id}_valuesToShow_color`, style: {
|
|
63
92
|
height: '16px',
|
|
64
93
|
width: '16px',
|
|
94
|
+
display: 'inline-block',
|
|
65
95
|
backgroundColor: (_b = task.styles) === null || _b === void 0 ? void 0 : _b.backgroundColor,
|
|
66
|
-
} })
|
|
67
|
-
|
|
96
|
+
} }))) : (h("span", { key: `phase_${task.id}_valuesToShow_color`, style: {
|
|
97
|
+
height: '16px',
|
|
98
|
+
width: '16px',
|
|
99
|
+
backgroundColor: (_c = task.styles) === null || _c === void 0 ? void 0 : _c.backgroundColor,
|
|
100
|
+
} })), (_d = task.valuesToShow) === null || _d === void 0 ? void 0 :
|
|
101
|
+
_d.map((v, index) => (h("span", { class: index === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `phase_${task.id}_valuesToShow_${index}` }, v === '#START#'
|
|
68
102
|
? kupDates.formatToLocaleSimple(task.start)
|
|
69
103
|
: v === '#END#'
|
|
70
104
|
? kupDates.formatToLocaleSimple(task.end)
|
|
71
|
-
: v)))
|
|
105
|
+
: v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
|
|
106
|
+
const spansToIterate = createArrayFromNum(spansToShow - task.valuesToShow.length - 1);
|
|
107
|
+
return (spansToIterate.map((element) => (h("span", { key: element }))));
|
|
108
|
+
})()))) : ((() => {
|
|
72
109
|
var _a;
|
|
73
110
|
let str = '';
|
|
74
111
|
for (let i = 0; i < task.valuesToShow.length; i++) {
|
|
@@ -90,8 +127,11 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
|
|
|
90
127
|
? v
|
|
91
128
|
: undefined, key: `detail_${task.id}_valuesToShow_${index}` }, v)))));
|
|
92
129
|
})())));
|
|
93
|
-
})));
|
|
130
|
+
}))));
|
|
94
131
|
}
|
|
132
|
+
static get watchers() { return {
|
|
133
|
+
"taskListScrollX": ["updateTaskListScroll"]
|
|
134
|
+
}; }
|
|
95
135
|
static get style() { return KupCustomTaskListTableStyle0; }
|
|
96
136
|
}, [0, "kup-custom-task-list-table", {
|
|
97
137
|
"ganttId": [1, "gantt-id"],
|
|
@@ -100,10 +140,15 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
|
|
|
100
140
|
"rowWidth": [1, "row-width"],
|
|
101
141
|
"fontFamily": [1, "font-family"],
|
|
102
142
|
"fontSize": [1, "font-size"],
|
|
143
|
+
"scrollableTaskList": [4, "scrollable-task-list"],
|
|
144
|
+
"taskListScrollX": [2, "task-list-scroll-x"],
|
|
103
145
|
"setSelectedTask": [16],
|
|
104
146
|
"onclickTaskList": [16],
|
|
105
147
|
"ondblclickTaskList": [16],
|
|
106
|
-
"oncontextmenuTaskList": [16]
|
|
148
|
+
"oncontextmenuTaskList": [16],
|
|
149
|
+
"ontaskListScrollWidth": [16]
|
|
150
|
+
}, undefined, {
|
|
151
|
+
"taskListScrollX": ["updateTaskListScroll"]
|
|
107
152
|
}]);
|
|
108
153
|
function defineCustomElement() {
|
|
109
154
|
if (typeof customElements === "undefined") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, getAssetPath, proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, forceUpdate, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { b as KupThemeIconValues, c as KupLanguageGeneric, a as KupThemeColorValues, e as editableTypes, d as kupTypes, F as FCellTypes, f as KupTagNames, h as FCellShapes, i as fullWidthFieldsComps, j as FCellClasses, l as autoCenterComps, m as getCellValueForDisplay, n as FCellEvents, o as KupDebugCategory, p as FCellPadding, q as fillString, r as KupCardBuiltInClockElements, t as KupCardCSSClasses, u as KupLanguageTotals, v as KupLanguageColumn, w as KupDataNewColumnTypes, x as KupCardSubEvents, y as KupCardIds, z as KupLanguageRow, A as getColumnByName, B as KupObjects, C as formatToNumber, D as Filters, E as FilterInterval, G as getValueForDisplay, H as getValueForDisplay2, I as KupData, J as compareCell, T as TotalMode, S as SortMode, L as GroupLabelDisplayMode, M as SelectionMode, N as KupDynamicPositionPlacement, O as KupLanguageGrouping, P as KupLanguageCheckbox, Q as KupLanguageSearch, R as KupLanguagePage, U as addColumnValueFromRow, k as kupManagerInstance, V as KupGlobalFilterMode, g as getProps, s as setProps, W as TotalLabel, X as KupPointerEventTypes, Y as kupDynamicPositionAttribute, Z as KupCardFamily, _ as identify, $ as LoadMoreMode, a0 as PaginatorPos, a1 as ShowGrid, a2 as kupDraggableColumnAttr, a3 as kupDragActiveAttr, a4 as KupDragEffect, a5 as kupDraggableCellAttr, a6 as KupDropEventTypes, a7 as FixedCellsClasses, a8 as FixedCellsCSSVarsBase, a9 as KupLanguageFontsize, aa as KupLanguageDensity, ab as KupLanguageGrid, ac as KupDataTableProps, ad as iconColumn, ae as keyColumn, af as fieldColumn, ag as KupCardProps } from './kup-manager.js';
|
|
3
|
+
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, b as KupDates, a as KupDatesNormalize } from './kup-dates.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Stores result from supportsCssVariables to avoid redundant processing to
|
|
@@ -1149,7 +1149,7 @@ const FImage = (props) => {
|
|
|
1149
1149
|
badgeCollection.push(h("kup-badge", Object.assign({}, props.badgeData[index])));
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
|
-
return (h("div", Object.assign({ class: `f-image ${props.wrapperClass ? props.wrapperClass : ''}
|
|
1152
|
+
return (h("div", Object.assign({ class: `f-image ${props.wrapperClass ? props.wrapperClass : ''} ` }, props.dataSet, { id: props.id, style: style, title: props.title, onClick: props.onClick }),
|
|
1153
1153
|
el,
|
|
1154
1154
|
...badgeCollection));
|
|
1155
1155
|
};
|
|
@@ -1161,9 +1161,7 @@ function createIcon(props) {
|
|
|
1161
1161
|
'f-image__icon': true,
|
|
1162
1162
|
};
|
|
1163
1163
|
const style = {
|
|
1164
|
-
background: props.color
|
|
1165
|
-
? props.color
|
|
1166
|
-
: `var(${KupThemeColorValues.ICON})`,
|
|
1164
|
+
background: props.color ? props.color : `var(--kup-gray-color-70)`,
|
|
1167
1165
|
};
|
|
1168
1166
|
if (props.resource.indexOf('--kup') > -1) {
|
|
1169
1167
|
let themeIcon = props.resource.replace('--', '');
|
|
@@ -15343,7 +15341,7 @@ const KupTimePicker = /*@__PURE__*/ proxyCustomElement(class KupTimePicker exten
|
|
|
15343
15341
|
this.kupManager.debug.logRender(this, true);
|
|
15344
15342
|
}
|
|
15345
15343
|
render() {
|
|
15346
|
-
return (h(Host, { key: '
|
|
15344
|
+
return (h(Host, { key: '93b86314772e012c9c5e51b5ca9f787526b8b488' }, h("style", { key: '39720990860be688caad0e0573b7ece58a986f70' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '07fd86c0e40d99d8871a60b908cd8116a120847a', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
15347
15345
|
}
|
|
15348
15346
|
disconnectedCallback() {
|
|
15349
15347
|
this.kupManager.dates.unregister(this);
|
|
@@ -16445,7 +16443,7 @@ const KupSwitch = /*@__PURE__*/ proxyCustomElement(class KupSwitch extends HTMLE
|
|
|
16445
16443
|
onChange: () => this.onKupChange(),
|
|
16446
16444
|
onFocus: () => this.onKupFocus(),
|
|
16447
16445
|
};
|
|
16448
|
-
return (h(Host, { key: '
|
|
16446
|
+
return (h(Host, { key: 'c58e0bc0af97047925631605157669d49eaafb32' }, h("style", { key: '961d94935464a5bd1dff1bddc28fc46452bb6dba' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ec020595d887abb848346106b981c13a577db96f', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '0a7d447ac4e7aa9a6a3fd5aef2f3f73f257ee1e4' }, props)))));
|
|
16449
16447
|
}
|
|
16450
16448
|
disconnectedCallback() {
|
|
16451
16449
|
this.kupManager.theme.unregister(this);
|
|
@@ -16702,59 +16700,59 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends HTM
|
|
|
16702
16700
|
spinnerClass = 'spinner-v' + this.layout;
|
|
16703
16701
|
if (this.layout === 7) {
|
|
16704
16702
|
spinnerEl = [
|
|
16705
|
-
h("div", { key: '
|
|
16706
|
-
h("div", { key: '
|
|
16707
|
-
h("div", { key: '
|
|
16708
|
-
h("div", { key: '
|
|
16709
|
-
h("div", { key: '
|
|
16710
|
-
h("div", { key: '
|
|
16703
|
+
h("div", { key: 'dec18ff5da6e447ef0a88748af4ba69876433347', class: "sk-spinner-v7-dot" }),
|
|
16704
|
+
h("div", { key: '622999cb044516e25647e295acaae27633a8bee4', class: "sk-spinner-v7-dot" }),
|
|
16705
|
+
h("div", { key: '9c4123cd6c450454f8834aa54fc6d9d0fd152cb3', class: "sk-spinner-v7-dot" }),
|
|
16706
|
+
h("div", { key: '2cf01d336aebb720a588b64b97b372aef7f61f5f', class: "sk-spinner-v7-dot" }),
|
|
16707
|
+
h("div", { key: '7a871149a9869d035a19f33c29bb743051547bc9', class: "sk-spinner-v7-dot" }),
|
|
16708
|
+
h("div", { key: 'eef22904455b6dc3def9ee7f93f6d2907b2e6779', class: "sk-spinner-v7-dot" }),
|
|
16711
16709
|
];
|
|
16712
16710
|
}
|
|
16713
16711
|
if (this.layout === 9) {
|
|
16714
16712
|
spinnerEl = [
|
|
16715
|
-
h("div", { key: '
|
|
16716
|
-
h("div", { key: '
|
|
16713
|
+
h("div", { key: '508d469d81d31c69ae6ac0414b65d25793fa2cc6', class: "sk-spinner-v9-bounce1" }),
|
|
16714
|
+
h("div", { key: 'b7035400b3171be8af748564b90567a6af521a9e', class: "sk-spinner-v9-bounce2" }),
|
|
16717
16715
|
];
|
|
16718
16716
|
}
|
|
16719
16717
|
if (this.layout === 10) {
|
|
16720
16718
|
spinnerEl = [
|
|
16721
|
-
h("div", { key: '
|
|
16722
|
-
h("div", { key: '
|
|
16719
|
+
h("div", { key: 'c63bfed904f73228827666b23dd84cb5eb25cfe4', class: "sk-spinner-v10-cube1" }),
|
|
16720
|
+
h("div", { key: '3485e52f1019a3bf313d40db97623a4f2df75756', class: "sk-spinner-v10-cube2" }),
|
|
16723
16721
|
];
|
|
16724
16722
|
}
|
|
16725
16723
|
if (this.layout === 12) {
|
|
16726
16724
|
spinnerEl = [
|
|
16727
|
-
h("div", { key: '
|
|
16728
|
-
h("div", { key: '
|
|
16725
|
+
h("div", { key: '9c45d4d1a45d63f26fc54128150a811ee68ebbff', class: "sk-spinner-v12-dot1" }),
|
|
16726
|
+
h("div", { key: '2c5d61ccfab2caeaea818c16233d8f679b186a01', class: "sk-spinner-v12-dot2" }),
|
|
16729
16727
|
];
|
|
16730
16728
|
}
|
|
16731
16729
|
if (this.layout === 13) {
|
|
16732
16730
|
spinnerEl = [
|
|
16733
|
-
h("div", { key: '
|
|
16734
|
-
h("div", { key: '
|
|
16735
|
-
h("div", { key: '
|
|
16736
|
-
h("div", { key: '
|
|
16737
|
-
h("div", { key: '
|
|
16738
|
-
h("div", { key: '
|
|
16739
|
-
h("div", { key: '
|
|
16740
|
-
h("div", { key: '
|
|
16741
|
-
h("div", { key: '
|
|
16731
|
+
h("div", { key: '846d41928a6673d5d0be23c7f2012d855f94f7d5', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
16732
|
+
h("div", { key: 'f89e6198b2ca96761f26e0199e135052e1d8bd7b', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
16733
|
+
h("div", { key: '817f79a413618a55214bd34d3d3e8dcdf94ccac1', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
16734
|
+
h("div", { key: 'f5327bd00519954be0739a199f722fbebce2476e', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
16735
|
+
h("div", { key: 'b2ecb76d9ec7ccb8d5a5b749c73e064ffd8af65e', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
16736
|
+
h("div", { key: '36a10200a66c50a15006d850052a8162b7fb9fae', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
16737
|
+
h("div", { key: '9ad2b1d081c67eb20b0679e15a8dad65472d9861', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
16738
|
+
h("div", { key: '2b8ca22ce51296daf61db3390f050621c00a0f18', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
16739
|
+
h("div", { key: 'e7dda224be4f1d0db8afe8f75d20de6954164949', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
16742
16740
|
];
|
|
16743
16741
|
}
|
|
16744
16742
|
if (this.layout === 14) {
|
|
16745
16743
|
spinnerEl = [
|
|
16746
|
-
h("div", { key: '
|
|
16747
|
-
h("div", { key: '
|
|
16748
|
-
h("div", { key: '
|
|
16749
|
-
h("div", { key: '
|
|
16750
|
-
h("div", { key: '
|
|
16751
|
-
h("div", { key: '
|
|
16752
|
-
h("div", { key: '
|
|
16753
|
-
h("div", { key: '
|
|
16754
|
-
h("div", { key: '
|
|
16755
|
-
h("div", { key: '
|
|
16756
|
-
h("div", { key: '
|
|
16757
|
-
h("div", { key: '
|
|
16744
|
+
h("div", { key: '59e710de566984ccd0bac936a524ce1bad873b40', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
16745
|
+
h("div", { key: '40f84d200ca27b547a14ae92cb021f4d998307cb', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
16746
|
+
h("div", { key: 'b7318e8ec59b8b253584ab329d0a11cdde77812f', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
16747
|
+
h("div", { key: '3411fd3d32934adb2d5dc7820ddcddf9770aa743', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
16748
|
+
h("div", { key: 'feb7271af14e53ba11625b6bd29a3e20aea1b0bf', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
16749
|
+
h("div", { key: '3efd6f88fe0853f7e32b490be477918dc5bd9bde', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
16750
|
+
h("div", { key: 'fbf7f1d6bcdb163e5ec773496701f3e5d97a329c', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
16751
|
+
h("div", { key: 'b494589d43c870963482b26b2b576bd90795504f', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
16752
|
+
h("div", { key: '1aa3c9ba0103913eb902c39f9d9c7ec5e8053c18', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
16753
|
+
h("div", { key: 'f47f8d129e2eafc9a138c3d7a20c3e980154cbae', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
16754
|
+
h("div", { key: 'c5944798de2558b722409d4b7a09cb81d7c95f94', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
16755
|
+
h("div", { key: '9da29e9774277ce3f4a870ff5dbc29c22e02a6dd', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
16758
16756
|
];
|
|
16759
16757
|
}
|
|
16760
16758
|
}
|
|
@@ -16773,7 +16771,7 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends HTM
|
|
|
16773
16771
|
else {
|
|
16774
16772
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
16775
16773
|
}
|
|
16776
|
-
return (h(Host, { key: '
|
|
16774
|
+
return (h(Host, { key: '5b9de6c2d309bc15744353796e662fef611f44f6', style: elStyle }, h("style", { key: 'e6a21638735f7fdf44bcec63fd8067924cdafdf5' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9e83ab0c16965cfe9cda127c854d08949ea0078f', id: componentWrapperId, style: elStyle }, h("div", { key: 'd033eda03cf43d5ef8ee02fee0890a36d986a893', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'd6695bf8595fc0ae3e1a31578d8c2f550585b77b', id: wrapperClass, style: elStyle }, h("div", { key: 'e06bce173a197cf9fd6aa036865104b625badef1', class: spinnerClass }, spinnerEl))))));
|
|
16777
16775
|
}
|
|
16778
16776
|
disconnectedCallback() {
|
|
16779
16777
|
this.kupManager.theme.unregister(this);
|
|
@@ -17027,7 +17025,7 @@ const KupRating = /*@__PURE__*/ proxyCustomElement(class KupRating extends HTMLE
|
|
|
17027
17025
|
: false,
|
|
17028
17026
|
onClick: (i) => this.onKupClick(i),
|
|
17029
17027
|
};
|
|
17030
|
-
return (h(Host, { key: '
|
|
17028
|
+
return (h(Host, { key: 'c56d698d5f1b274ee1a318104a3acb41156b78e1' }, h("style", { key: 'b1e57137e0a1461f12d73ec86d4dbdcf023ffe16' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '4e934f072d83d0f6ffe7ffd7ef8edcccf3935d9e', id: componentWrapperId }, h(FRating, Object.assign({ key: '6a5946de139310a68c7e4d5221fc4444a28b80e1' }, props)))));
|
|
17031
17029
|
}
|
|
17032
17030
|
disconnectedCallback() {
|
|
17033
17031
|
this.kupManager.theme.unregister(this);
|
|
@@ -17286,7 +17284,7 @@ const KupProgressBar = /*@__PURE__*/ proxyCustomElement(class KupProgressBar ext
|
|
|
17286
17284
|
? true
|
|
17287
17285
|
: false,
|
|
17288
17286
|
};
|
|
17289
|
-
return (h(Host, { key: '
|
|
17287
|
+
return (h(Host, { key: '57a2cca6ae1cfd6ff6a69288018df10806d0e67c' }, h("style", { key: '7fd614839501fda6bf2d3d89ad66e76e59637297' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'eee4d3901f0552242a11513c990aa4cbecce32bc', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '3cee61bc06301e0f709610e30cb62fa092982ba0' }, props)))));
|
|
17290
17288
|
}
|
|
17291
17289
|
disconnectedCallback() {
|
|
17292
17290
|
this.kupManager.theme.unregister(this);
|
|
@@ -28114,7 +28112,7 @@ function defineCustomElement$2() {
|
|
|
28114
28112
|
} });
|
|
28115
28113
|
}
|
|
28116
28114
|
|
|
28117
|
-
const kupBadgeCss = ".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}:host{--kup_badge_border_radius:var(--kup-badge-border-radius, 30px);--kup_badge_font_family:var(--kup-badge-font-family, var(--kup-font-family));--kup_badge_font_size:var(--kup-badge-font-size, var(--kup-font-size));--kup_badge_min_size:var(--kup-badge-min-size, 1.5em);--kup_badge_padding:var(--kup-badge-padding, 0.25em);--kup_badge_primary_color:var(\n --kup-badge-primary-color,\n var(--kup-primary-color)\n );--kup_badge_text_on_primary_color:var(\n --kup-badge-text-on-primary-color,\n var(--kup-text-on-primary-color)\n );display:block;font-family:var(--kup_badge_font_family);font-size:var(--kup_badge_font_size);position:absolute;top:0;left:0;transform:translate(
|
|
28115
|
+
const kupBadgeCss = ".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}:host{--kup_badge_border_radius:var(--kup-badge-border-radius, 30px);--kup_badge_font_family:var(--kup-badge-font-family, var(--kup-font-family));--kup_badge_font_size:var(--kup-badge-font-size, var(--kup-font-size));--kup_badge_min_size:var(--kup-badge-min-size, 1.5em);--kup_badge_padding:var(--kup-badge-padding, 0.25em);--kup_badge_primary_color:var(\n --kup-badge-primary-color,\n var(--kup-primary-color)\n );--kup_badge_text_on_primary_color:var(\n --kup-badge-text-on-primary-color,\n var(--kup-text-on-primary-color)\n );display:block;font-family:var(--kup_badge_font_family);font-size:var(--kup_badge_font_size);position:absolute;top:0;left:0;transform:translate(15%, 15%)}#kup-component{background-color:var(--kup_badge_primary_color);border-radius:var(--kup_badge_border_radius);color:var(--kup_badge_text_on_primary_color);font-size:0.875em;min-height:var(--kup_badge_min_size);min-width:var(--kup_badge_min_size);padding:var(--kup_badge_padding);text-align:center}#kup-component .f-image{display:block;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);height:inherit;width:inherit}:host(.kup-top-right){top:0;right:0;bottom:unset;left:unset;transform:translate(-15%, 15%)}:host(.kup-bottom-right){top:unset;right:0;bottom:0;left:unset;transform:translate(-15%, -15%)}:host(.kup-bottom-left){top:unset;right:unset;bottom:0;left:0;transform:translate(15%, -15%)}:host(.kup-danger){--kup-badge-primary-color:var(--kup-danger-color);--kup-badge-text-on-primary-color:white}:host(.kup-info){--kup-badge-primary-color:var(--kup-info-color);--kup-badge-text-on-primary-color:white}:host(.kup-secondary){--kup-badge-primary-color:var(--kup-secondary-color);--kup-badge-text-on-primary-color:var(--kup-text-on-secondary-color)}:host(.kup-success){--kup-badge-primary-color:var(--kup-success-color);--kup-badge-text-on-primary-color:white}:host(.kup-warning){--kup-badge-primary-color:var(--kup-warning-color);--kup-badge-text-on-primary-color:white}";
|
|
28118
28116
|
const KupBadgeStyle0 = kupBadgeCss;
|
|
28119
28117
|
|
|
28120
28118
|
const KupBadge = /*@__PURE__*/ proxyCustomElement(class KupBadge extends HTMLElement$1 {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, getAssetPath, forceUpdate, h as h$1, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, A as getColumnByName } from './kup-manager.js';
|
|
3
3
|
import { c as componentWrapperId, R as FButton, L as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, S as FChipType } from './kup-autocomplete2.js';
|
|
4
|
-
import {
|
|
4
|
+
import { c as KupDatesLocales } from './kup-dates.js';
|
|
5
5
|
|
|
6
6
|
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;
|
|
7
7
|
|