@sme.up/ketchup 11.0.0-SNAPSHOT-20241125085638 → 11.0.0-SNAPSHOT-20241125095251
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/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +38 -38
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-input-panel.cjs.entry.js +18 -6
- package/dist/cjs/kup-input-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/kup-lazy.cjs.entry.js +11 -11
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +1 -1
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1 -1
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js.map +1 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +19 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +36 -5
- package/dist/collection/components/kup-input-panel/kup-input-panel.js.map +1 -1
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/kup-autocomplete2.js +38 -38
- package/dist/components/kup-gantt-calendar2.js +2 -2
- package/dist/components/kup-gantt2.js +2 -2
- package/dist/components/kup-grid-renderer2.js +3 -3
- package/dist/components/kup-horizontal-scroll2.js +5 -5
- package/dist/components/kup-input-panel.js +19 -6
- package/dist/components/kup-input-panel.js.map +1 -1
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-renderer2.js +2 -2
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +1 -1
- package/dist/components/kup-switcher2.js +1 -1
- package/dist/components/kup-task-gantt2.js +2 -2
- package/dist/components/kup-task-list-header2.js +7 -7
- package/dist/components/kup-task-list-table2.js +1 -1
- package/dist/components/kup-task-list2.js +1 -1
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-txt.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +38 -38
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-input-panel.entry.js +18 -6
- package/dist/esm/kup-input-panel.entry.js.map +1 -1
- package/dist/esm/kup-lazy.entry.js +11 -11
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +1 -1
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +1 -1
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-txt.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js.map +1 -1
- package/dist/ketchup/{p-fc4885fa.entry.js → p-035fe1f8.entry.js} +2 -2
- package/dist/ketchup/{p-41144398.entry.js → p-0589de19.entry.js} +2 -2
- package/dist/ketchup/{p-ba9e8615.entry.js → p-061f9095.entry.js} +2 -2
- package/dist/ketchup/{p-8f7b7f5a.entry.js → p-119de8fb.entry.js} +2 -2
- package/dist/ketchup/{p-a2790755.entry.js → p-17cf83c5.entry.js} +2 -2
- package/dist/ketchup/{p-5e80c5b1.entry.js → p-26efe39b.entry.js} +2 -2
- package/dist/ketchup/{p-a6d83c83.entry.js → p-94099e24.entry.js} +3 -3
- package/dist/ketchup/{p-707babd4.entry.js → p-9d894c7c.entry.js} +2 -2
- package/dist/ketchup/{p-71034261.entry.js → p-9fa6808d.entry.js} +2 -2
- package/dist/ketchup/{p-1b0a93c3.entry.js → p-ae257375.entry.js} +2 -2
- package/dist/ketchup/p-b3d9beb7.entry.js +2 -0
- package/dist/ketchup/p-b3d9beb7.entry.js.map +1 -0
- package/dist/ketchup/{p-28a543b4.entry.js → p-b5fa88c3.entry.js} +2 -2
- package/dist/ketchup/{p-cd882c02.entry.js → p-bc5d76c8.entry.js} +2 -2
- package/dist/ketchup/{p-6dcf746d.entry.js → p-be1bda43.entry.js} +2 -2
- package/dist/ketchup/p-c505f058.entry.js +2 -0
- package/dist/ketchup/{p-878030b5.entry.js.map → p-c505f058.entry.js.map} +1 -1
- package/dist/ketchup/{p-4e9910f8.entry.js → p-e2b6e9f0.entry.js} +2 -2
- package/dist/ketchup/{p-f975d467.entry.js → p-edaf0cb8.entry.js} +2 -2
- package/dist/ketchup/{p-d837fe90.entry.js → p-f60a8564.entry.js} +2 -2
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +2 -1
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
- package/dist/types/components.d.ts +10 -0
- package/package.json +1 -1
- package/dist/ketchup/p-02f7124b.entry.js +0 -2
- package/dist/ketchup/p-02f7124b.entry.js.map +0 -1
- package/dist/ketchup/p-878030b5.entry.js +0 -2
- /package/dist/ketchup/{p-fc4885fa.entry.js.map → p-035fe1f8.entry.js.map} +0 -0
- /package/dist/ketchup/{p-41144398.entry.js.map → p-0589de19.entry.js.map} +0 -0
- /package/dist/ketchup/{p-ba9e8615.entry.js.map → p-061f9095.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8f7b7f5a.entry.js.map → p-119de8fb.entry.js.map} +0 -0
- /package/dist/ketchup/{p-a2790755.entry.js.map → p-17cf83c5.entry.js.map} +0 -0
- /package/dist/ketchup/{p-5e80c5b1.entry.js.map → p-26efe39b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-a6d83c83.entry.js.map → p-94099e24.entry.js.map} +0 -0
- /package/dist/ketchup/{p-707babd4.entry.js.map → p-9d894c7c.entry.js.map} +0 -0
- /package/dist/ketchup/{p-71034261.entry.js.map → p-9fa6808d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-1b0a93c3.entry.js.map → p-ae257375.entry.js.map} +0 -0
- /package/dist/ketchup/{p-28a543b4.entry.js.map → p-b5fa88c3.entry.js.map} +0 -0
- /package/dist/ketchup/{p-cd882c02.entry.js.map → p-bc5d76c8.entry.js.map} +0 -0
- /package/dist/ketchup/{p-6dcf746d.entry.js.map → p-be1bda43.entry.js.map} +0 -0
- /package/dist/ketchup/{p-4e9910f8.entry.js.map → p-e2b6e9f0.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f975d467.entry.js.map → p-edaf0cb8.entry.js.map} +0 -0
- /package/dist/ketchup/{p-d837fe90.entry.js.map → p-f60a8564.entry.js.map} +0 -0
|
@@ -14,11 +14,11 @@ const KupCustomTaskListHeader = /*@__PURE__*/ proxyCustomElement(class KupCustom
|
|
|
14
14
|
this.fontSize = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: 'dfcd0fb852559b2ffcb4fb167c7639d3f7debf8b', class: "custom-task-list-wrapper", style: {
|
|
18
18
|
height: '25px',
|
|
19
19
|
fontFamily: this.fontFamily,
|
|
20
20
|
fontSize: this.fontSize,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, h("div", { key: '59e157d30f9573922fa456b1f6ea1132fc192089', class: "title" }, h("span", { key: '73a2095bf91d0846df1ad2bf1fb2d7425b3210f0' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: 'fcc17da264378828c9494c571f24f8c072508dd0', class: "toggler" }, h("label", { key: '94edc43752e00d5b12fa516712b6eb7230720891', htmlFor: "ch2", class: "switch" }, h("input", { key: '3a0c8a9cbae7a67f93afea19013cccdd9a97c053', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '5fd1f6bcfe2f27d73f1c84938dda32c8fdebbf67', class: "slider" })), h("span", { key: '117ddb88804955dbad7f5acc69fcfc1b4701fccb', class: "label" }, "Previsioni")))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return KupCustomTaskListHeaderStyle0; }
|
|
24
24
|
}, [0, "kup-custom-task-list-header", {
|
|
@@ -15996,7 +15996,7 @@ const KupTimePicker = /*@__PURE__*/ proxyCustomElement(class KupTimePicker exten
|
|
|
15996
15996
|
this.kupManager.debug.logRender(this, true);
|
|
15997
15997
|
}
|
|
15998
15998
|
render() {
|
|
15999
|
-
return (h(Host, { key: '
|
|
15999
|
+
return (h(Host, { key: '83e71ae32dee27aa8cb975dca5d859d94706e2a4' }, h("style", { key: 'bfb4277ca5b5a1a04b632279ae7b0c42c99b9b00' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9795f9d638fde7ff2bc544bc51350180d8ab3da4', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
16000
16000
|
}
|
|
16001
16001
|
disconnectedCallback() {
|
|
16002
16002
|
this.kupManager.dates.unregister(this);
|
|
@@ -17832,7 +17832,7 @@ const KupSwitch = /*@__PURE__*/ proxyCustomElement(class KupSwitch extends HTMLE
|
|
|
17832
17832
|
onChange: () => this.onKupChange(),
|
|
17833
17833
|
onFocus: () => this.onKupFocus(),
|
|
17834
17834
|
};
|
|
17835
|
-
return (h(Host, { key: '
|
|
17835
|
+
return (h(Host, { key: '2a283dcfc9336fc1bd68b0f24c5798e237031a46' }, h("style", { key: 'ea3af2a94e3759b00cbf0c94f8f47fdcb1d8a6fa' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '7065790828b8ff7a8071064f8b01e699c4ef4de6', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '04610ede1c5e85765ed3d2075c708fdcc069e559' }, props)))));
|
|
17836
17836
|
}
|
|
17837
17837
|
disconnectedCallback() {
|
|
17838
17838
|
this.kupManager.theme.unregister(this);
|
|
@@ -18090,59 +18090,59 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends HTM
|
|
|
18090
18090
|
spinnerClass = 'spinner-v' + this.layout;
|
|
18091
18091
|
if (this.layout === 7) {
|
|
18092
18092
|
spinnerEl = [
|
|
18093
|
-
h("div", { key: '
|
|
18094
|
-
h("div", { key: '
|
|
18095
|
-
h("div", { key: '
|
|
18096
|
-
h("div", { key: '
|
|
18097
|
-
h("div", { key: '
|
|
18098
|
-
h("div", { key: '
|
|
18093
|
+
h("div", { key: '03f69268dbc94cd5590dfcc956a087fc0cb533cb', class: "sk-spinner-v7-dot" }),
|
|
18094
|
+
h("div", { key: '2a56a6a1a2f88ce8ddf5bf6e30b4f469e8f42c0e', class: "sk-spinner-v7-dot" }),
|
|
18095
|
+
h("div", { key: '650c4788e7ab9b3af52d32bce052f2ef760d3b32', class: "sk-spinner-v7-dot" }),
|
|
18096
|
+
h("div", { key: '86fa8756fa1ef148e9ffadd5afddc6a5498e3767', class: "sk-spinner-v7-dot" }),
|
|
18097
|
+
h("div", { key: '5905d2ad1382f066091a569e153b8fdfcc8ca1ea', class: "sk-spinner-v7-dot" }),
|
|
18098
|
+
h("div", { key: 'e760968ddbddc15d3260baa12a4a50e11547a088', class: "sk-spinner-v7-dot" }),
|
|
18099
18099
|
];
|
|
18100
18100
|
}
|
|
18101
18101
|
if (this.layout === 9) {
|
|
18102
18102
|
spinnerEl = [
|
|
18103
|
-
h("div", { key: '
|
|
18104
|
-
h("div", { key: '
|
|
18103
|
+
h("div", { key: '512883f2c7600fc2eb6b647746391f49007bac47', class: "sk-spinner-v9-bounce1" }),
|
|
18104
|
+
h("div", { key: '072fdd1032d6593cc85bcc811b6dff097cf4aca8', class: "sk-spinner-v9-bounce2" }),
|
|
18105
18105
|
];
|
|
18106
18106
|
}
|
|
18107
18107
|
if (this.layout === 10) {
|
|
18108
18108
|
spinnerEl = [
|
|
18109
|
-
h("div", { key: '
|
|
18110
|
-
h("div", { key: '
|
|
18109
|
+
h("div", { key: '7760e02bfee996f55a1d335f8c130e39201df952', class: "sk-spinner-v10-cube1" }),
|
|
18110
|
+
h("div", { key: '657b89e925ce3b1c204a71f8eb36f45f777e8f79', class: "sk-spinner-v10-cube2" }),
|
|
18111
18111
|
];
|
|
18112
18112
|
}
|
|
18113
18113
|
if (this.layout === 12) {
|
|
18114
18114
|
spinnerEl = [
|
|
18115
|
-
h("div", { key: '
|
|
18116
|
-
h("div", { key: '
|
|
18115
|
+
h("div", { key: '884edb1ed597f7ca757e0f3f9729a5eb5e181aab', class: "sk-spinner-v12-dot1" }),
|
|
18116
|
+
h("div", { key: '0d39ce7d8dc84c4fa511625afa079f67c42d5152', class: "sk-spinner-v12-dot2" }),
|
|
18117
18117
|
];
|
|
18118
18118
|
}
|
|
18119
18119
|
if (this.layout === 13) {
|
|
18120
18120
|
spinnerEl = [
|
|
18121
|
-
h("div", { key: '
|
|
18122
|
-
h("div", { key: '
|
|
18123
|
-
h("div", { key: '
|
|
18124
|
-
h("div", { key: '
|
|
18125
|
-
h("div", { key: '
|
|
18126
|
-
h("div", { key: '
|
|
18127
|
-
h("div", { key: '
|
|
18128
|
-
h("div", { key: '
|
|
18129
|
-
h("div", { key: '
|
|
18121
|
+
h("div", { key: '604b70999a746e757a979f64cf846d1c7f09ef74', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
18122
|
+
h("div", { key: '3be99d3b8f3cb434c3420799f894d179137cbc23', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
18123
|
+
h("div", { key: '2ad6f88294d3ec4b340791bf2160ff692e1de686', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
18124
|
+
h("div", { key: '7a17328e0876ac401a87f945501dad767899ceb8', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
18125
|
+
h("div", { key: '50b1b5398019c4d0ad32d4c91df4ed226e7d5504', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
18126
|
+
h("div", { key: 'fe98b117256e2dbdd19a0db3d99a602be64917e6', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
18127
|
+
h("div", { key: 'bd4d5345e1733484bf24d2711e3b9d8f71bb9176', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
18128
|
+
h("div", { key: '83bbe8b61040c03b0b428e5594f00e610fbfaec1', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
18129
|
+
h("div", { key: '70b5eb524f0abf0f1970ce60ddfa821bb55dd199', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
18130
18130
|
];
|
|
18131
18131
|
}
|
|
18132
18132
|
if (this.layout === 14) {
|
|
18133
18133
|
spinnerEl = [
|
|
18134
|
-
h("div", { key: '
|
|
18135
|
-
h("div", { key: '
|
|
18136
|
-
h("div", { key: '
|
|
18137
|
-
h("div", { key: '
|
|
18138
|
-
h("div", { key: '
|
|
18139
|
-
h("div", { key: '
|
|
18140
|
-
h("div", { key: '
|
|
18141
|
-
h("div", { key: '
|
|
18142
|
-
h("div", { key: '
|
|
18143
|
-
h("div", { key: '
|
|
18144
|
-
h("div", { key: '
|
|
18145
|
-
h("div", { key: '
|
|
18134
|
+
h("div", { key: '5e250f3030ef1731aae187fc91ff52c6fc6063e6', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
18135
|
+
h("div", { key: 'e33a1aadc9ca44e086df176bea4d4d73968c74c4', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
18136
|
+
h("div", { key: 'd2b8a81da186f7bcdb3fafc70a269fe74c71d3cb', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
18137
|
+
h("div", { key: '5083f7cbcde58aa23c056be2e7d9ca90133bf0c2', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
18138
|
+
h("div", { key: '0d07dbca7fd909387b4b6fdf96d0a3b58503da4b', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
18139
|
+
h("div", { key: '16aa7c003b4e5832c5f1d5100ba3eb94118873b7', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
18140
|
+
h("div", { key: 'bece4a2a01f402b977bbd721f05519f990bf639c', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
18141
|
+
h("div", { key: '338a151528e70598f7135a7c3eb9b11a8d4e247f', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
18142
|
+
h("div", { key: 'e023a8edb908682869d1f00dbd6e4b444f746039', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
18143
|
+
h("div", { key: '90f319c942cd6532dc8a8115197dda275d8a046b', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
18144
|
+
h("div", { key: '2c3a5b98dc0fc7d6e8d42b102c793cd14711c6e4', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
18145
|
+
h("div", { key: '0b00adfa5e9b64d7fb6ac8926244b1139fe6bd07', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
18146
18146
|
];
|
|
18147
18147
|
}
|
|
18148
18148
|
}
|
|
@@ -18161,7 +18161,7 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends HTM
|
|
|
18161
18161
|
else {
|
|
18162
18162
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
18163
18163
|
}
|
|
18164
|
-
return (h(Host, { key: '
|
|
18164
|
+
return (h(Host, { key: '0fa5b79a3f35a6c98cb230e422df6c70fa63d2b4', style: elStyle }, h("style", { key: '8df76bd7160566e02bd1402a298bf1a696ddb7d7' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '93501e0201a73d2262cff2cfd3959e8fb040ad22', id: componentWrapperId, style: elStyle }, h("div", { key: '5a781c28723f570879ec811eb4d609e21dcf146d', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'e8da0c72289b2e16edb88d059fba5f67bfdc53a8', id: wrapperClass, style: elStyle }, h("div", { key: 'cfc3d0f8ea6e626b2f641797205674fd869e82dc', class: spinnerClass }, spinnerEl))))));
|
|
18165
18165
|
}
|
|
18166
18166
|
disconnectedCallback() {
|
|
18167
18167
|
this.kupManager.theme.unregister(this);
|
|
@@ -18415,7 +18415,7 @@ const KupRating = /*@__PURE__*/ proxyCustomElement(class KupRating extends HTMLE
|
|
|
18415
18415
|
: false,
|
|
18416
18416
|
onClick: (i) => this.onKupClick(i),
|
|
18417
18417
|
};
|
|
18418
|
-
return (h(Host, { key: '
|
|
18418
|
+
return (h(Host, { key: '19e163cf4af6870a39a4c76d0434a6ee1791d464' }, h("style", { key: '762429d33eabfd6266f2cb8778e6191efbbce002' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '48fed62d8fea255be84318e7c36012eea36493d5', id: componentWrapperId }, h(FRating, Object.assign({ key: '52b3a141cc5f6e71aefb4008233e30dba9476719' }, props)))));
|
|
18419
18419
|
}
|
|
18420
18420
|
disconnectedCallback() {
|
|
18421
18421
|
this.kupManager.theme.unregister(this);
|
|
@@ -18674,7 +18674,7 @@ const KupProgressBar = /*@__PURE__*/ proxyCustomElement(class KupProgressBar ext
|
|
|
18674
18674
|
? true
|
|
18675
18675
|
: false,
|
|
18676
18676
|
};
|
|
18677
|
-
return (h(Host, { key: '
|
|
18677
|
+
return (h(Host, { key: '2c70fb4cd49a7f141df8ae364f4e3f36788acf36' }, h("style", { key: '02dcd05dc9b99595282cb45264e44e97eaf09f0a' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ab83e686ee6f4e8c1f39a14665b6907332950295', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: 'df1622e0bfe127faba5f80798fd3c9ca000bbb27' }, props)))));
|
|
18678
18678
|
}
|
|
18679
18679
|
disconnectedCallback() {
|
|
18680
18680
|
this.kupManager.theme.unregister(this);
|
|
@@ -316,11 +316,11 @@ const KupGanttCalendar = /*@__PURE__*/ proxyCustomElement(class KupGanttCalendar
|
|
|
316
316
|
this.simplifiedHeader =
|
|
317
317
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
318
318
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
319
|
-
return (h("svg", { key: '
|
|
319
|
+
return (h("svg", { key: '4ad5b9ccca0df392a83070e15b28fd3f8e72e70f', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'da7da862b4f407c73f351fa1b8e3e4beb240db65', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: '515bd9ab381247ee55813b3f40fa453b2f366467', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
320
320
|
? topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
|
|
321
321
|
: topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
|
|
322
322
|
// current date indicator
|
|
323
|
-
h("circle", { key: '
|
|
323
|
+
h("circle", { key: '609d5428fdfc27ba6ac1bdc2a2799fea5089dee7', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
324
324
|
}
|
|
325
325
|
static get style() { return KupGanttCalendarStyle0; }
|
|
326
326
|
}, [0, "kup-gantt-calendar", {
|
|
@@ -579,9 +579,9 @@ const KupGantt = /*@__PURE__*/ proxyCustomElement(class KupGantt extends HTMLEle
|
|
|
579
579
|
TaskListHeader: this.TaskListHeader,
|
|
580
580
|
TaskListTable: this.TaskListTable
|
|
581
581
|
};
|
|
582
|
-
return (h("div", { key: '
|
|
582
|
+
return (h("div", { key: '836af3f1012d6eb8276048866fc9a976b349775e', class: "gannt-wrapper-main" }, h("div", { key: '67654e8431be67e00d1bff668d9d90b3a7b3b21f', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '2e419799a7a5ad604357225ec48b6be0b6a9353a', currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", scrollableTaskList: this.scrollableTaskList, updateTaskListScrollX: this.ignoreScrollEvent, ontaskListScrollWidth: (width) => {
|
|
583
583
|
this.taskListScrollWidth = width;
|
|
584
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
584
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '4587424ff6d24d47b471cfc28972cb34e42ba0c7', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, phaseDragScroll: this.handlePhaseDragScroll.bind(this), class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { key: 'a2c655b425591b41492f4b77c9f8e3b1130565a4', arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: '2122835b9bf5929d76ee7cf28c60be64bc2b2a01', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { key: '167011334f0919c9df59bb91c54be5d039a8e261', svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this), horizontalTaskListScroll: this.handleTaskListScrollX.bind(this), listCellWidth: this.listCellWidth, scrollableTaskList: this.scrollableTaskList, taskListScrollWidth: this.taskListScrollWidth, taskListScrollNumber: this.taskListScrollX }))));
|
|
585
585
|
}
|
|
586
586
|
get rootElement() { return this; }
|
|
587
587
|
static get watchers() { return {
|
|
@@ -1402,13 +1402,13 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
|
|
|
1402
1402
|
// }
|
|
1403
1403
|
tickX += this.columnWidth;
|
|
1404
1404
|
}
|
|
1405
|
-
return (h("svg", { key: '
|
|
1405
|
+
return (h("svg", { key: '6e2c05f30bc3155b36dc0433a116410048042015', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, h("g", { key: '0530506fe65e0b1a8e6fdb018689d094a16820a4', class: "grid" }, h("g", { key: 'd189d3654b50f9bb34dc0800faef0a67780b4525', class: "rows" }, gridRows), h("g", { key: 'd53aee95bb1542041abbbf1425b2c2d2eb0dda9d', class: "rowLines" }, rowLines), h("g", { key: '3d238c6efd1dfacc8319782d1be07eb9c9a7f596', class: "ticks" }, ticks)), h("g", { key: '72d0cc281ff3a10943d27b3b8a029379f78f6c93', class: "content" }, this.currentDateIndicator && (h("rect", { key: '519244fbac413f1bc538441e19fef3ff57e55b3d', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: 'a0f3fcb8e27562a64862817ba4f7056e0a0e2123', fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), h("g", { key: 'a050c973b2219e0f2bac273c53d934da444a4024', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
1406
1406
|
return task.barChildren.map((child) => {
|
|
1407
1407
|
if (task.type !== 'timeline') {
|
|
1408
1408
|
this.renderKupArrow(task, child);
|
|
1409
1409
|
}
|
|
1410
1410
|
});
|
|
1411
|
-
})), h("g", { key: '
|
|
1411
|
+
})), h("g", { key: 'ad2c626a9b4a5277eba2fa154602c68d41a127a8', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1412
1412
|
const forbidResize = task.type === 'project';
|
|
1413
1413
|
return (h("g", { onKeyDown: (e) => {
|
|
1414
1414
|
switch (e.key) {
|
|
@@ -1468,7 +1468,7 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
|
|
|
1468
1468
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1469
1469
|
}
|
|
1470
1470
|
})()));
|
|
1471
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
1471
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '6da45035c94f4e976172186d6929ad693ba40e77', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1472
1472
|
}
|
|
1473
1473
|
static get watchers() { return {
|
|
1474
1474
|
"columnWidth": ["updateXStep"],
|
|
@@ -60,20 +60,20 @@ const HorizontalScroll = /*@__PURE__*/ proxyCustomElement(class HorizontalScroll
|
|
|
60
60
|
var _a, _b;
|
|
61
61
|
const w = (_b = ((_a = this.taskListTrueRef) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) + 24 * 1.5) !== null && _b !== void 0 ? _b : 0; // 24 * 2 is the sum of padding and margin for both list and gantt, multiplied by 1.5 cause we need to add the other half to the right
|
|
62
62
|
const width = +this.listCellWidth.replace('px', '');
|
|
63
|
-
return (h(Fragment, { key: '
|
|
64
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
63
|
+
return (h(Fragment, { key: '0359e34c59e8f83b91edf4ea4455f9b0b818b187' }, h("div", { key: '1f959a14bd712c24fd9247aeeba42d4702f4a647', class: "scroll-container" }, this.scrollableTaskList &&
|
|
64
|
+
this.taskListScrollWidth > width && (h("div", { key: '0c90c113ae5ad82ce41a1dd30037c14f0d3aa071', dir: "ltr", style: {
|
|
65
65
|
margin: this.rtl
|
|
66
66
|
? `0px 20px 0px 20px`
|
|
67
67
|
: `0px 20px 0px 20px`,
|
|
68
68
|
maxWidth: `${width + 20}px`,
|
|
69
69
|
minWidth: `${width + 20}px`,
|
|
70
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
70
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '2baa4a929f17a9fb7df2a74328ad231445fd9639', style: {
|
|
71
71
|
width: `${this.taskListScrollWidth}px`,
|
|
72
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
72
|
+
}, class: "scroll" }))), h("div", { key: '070aa5027e20fc0f31d3ab66672789ce29d3ad8a', dir: "ltr", style: {
|
|
73
73
|
margin: this.rtl
|
|
74
74
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
75
75
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
76
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
76
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '509f0a35443c329e6c86bafbb1a7f93919b62f48', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
77
77
|
}
|
|
78
78
|
get rootElement() { return this; }
|
|
79
79
|
static get watchers() { return {
|
|
@@ -15,6 +15,7 @@ var KupInputPanelProps;
|
|
|
15
15
|
KupInputPanelProps["hiddenSubmitButton"] = "Creates a hidden submit button in order to submit the form with enter.";
|
|
16
16
|
KupInputPanelProps["submitCb"] = "Sets the callback function on submit form";
|
|
17
17
|
KupInputPanelProps["optionsHandler"] = "Sets the callback function to recieve options";
|
|
18
|
+
KupInputPanelProps["buttonPosition"] = "Manage the position of the buttons related to the input panel content. It is an enumeration";
|
|
18
19
|
})(KupInputPanelProps || (KupInputPanelProps = {}));
|
|
19
20
|
|
|
20
21
|
const CHAR_WIDTH = 12;
|
|
@@ -50,7 +51,7 @@ const getAbsoluteLeft = (col) => {
|
|
|
50
51
|
return col * CHAR_WIDTH;
|
|
51
52
|
};
|
|
52
53
|
|
|
53
|
-
const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup-fcell-width:fit-content;--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0)}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:1rem}:host .input-panel__commands{display:flex;gap:2rem}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid;min-width:0}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel--absolute{justify-content:flex-end}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .mdc-text-field{height:unset !important}";
|
|
54
|
+
const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup-fcell-width:fit-content;--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0);--kup_input_panel_padding--inline:var(--kup-input-panel-padding--inline, 0)}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:1rem}:host .input-panel__commands{display:flex;gap:2rem}:host .input-panel__commands.input-panel__commands--right{flex-shrink:0;overflow:hidden}:host .input-panel--inline{flex:1;overflow-x:auto;white-space:nowrap;padding:var(--kup_input_panel_padding--inline)}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid;min-width:0}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel__section-inline{display:inline-block;width:max-content}:host .input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel--absolute{justify-content:flex-end}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .mdc-text-field{height:unset !important}:host .input-panel-form--inline{display:flex;align-items:end}";
|
|
54
55
|
const KupInputPanelStyle0 = kupInputPanelCss;
|
|
55
56
|
|
|
56
57
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
@@ -144,6 +145,7 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
|
|
|
144
145
|
this.customStyle = '';
|
|
145
146
|
this.data = null;
|
|
146
147
|
this.hiddenSubmitButton = false;
|
|
148
|
+
this.buttonPosition = undefined;
|
|
147
149
|
this.submitCb = null;
|
|
148
150
|
this.optionsHandler = null;
|
|
149
151
|
this.customButtonClickHandler = null;
|
|
@@ -239,7 +241,7 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
|
|
|
239
241
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
240
242
|
]
|
|
241
243
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
242
|
-
return (h(Host, { key: '
|
|
244
|
+
return (h(Host, { key: '50041632fc3d803f7b8701c1dca6dbae7a413796' }, h("style", { key: '7c1f478465b10c318d1bdba68f489e6907b87055' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '56c13788936dbd560b099432d204898b0e10264f', id: componentWrapperId }, inputPanelContent)));
|
|
243
245
|
}
|
|
244
246
|
disconnectedCallback() {
|
|
245
247
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -254,6 +256,7 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
|
|
|
254
256
|
"customStyle": [1, "custom-style"],
|
|
255
257
|
"data": [16],
|
|
256
258
|
"hiddenSubmitButton": [4, "hidden-submit-button"],
|
|
259
|
+
"buttonPosition": [1, "button-position"],
|
|
257
260
|
"submitCb": [16],
|
|
258
261
|
"optionsHandler": [16],
|
|
259
262
|
"customButtonClickHandler": [16],
|
|
@@ -315,13 +318,22 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
315
318
|
rowContent = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderGridLayout).call(this, inputPanelCell, layout);
|
|
316
319
|
}
|
|
317
320
|
}
|
|
321
|
+
const inputPanelClass = {
|
|
322
|
+
'input-panel-form': true,
|
|
323
|
+
'input-panel-form--inline': this.buttonPosition == 'RIGHT',
|
|
324
|
+
};
|
|
318
325
|
const classObj = {
|
|
319
326
|
'input-panel': true,
|
|
320
327
|
'input-panel--column': !horizontal,
|
|
321
328
|
'input-panel--absolute': layout === null || layout === void 0 ? void 0 : layout.absolute,
|
|
329
|
+
'input-panel--inline': this.buttonPosition == 'RIGHT',
|
|
330
|
+
};
|
|
331
|
+
const commandsClass = {
|
|
332
|
+
'input-panel__commands': true,
|
|
333
|
+
[`input-panel__commands--${this.buttonPosition}`]: true,
|
|
322
334
|
};
|
|
323
335
|
// We create a form for each row in data
|
|
324
|
-
return (h("form", { name: this.rootElement.id, id: this.rootElement.id, class:
|
|
336
|
+
return (h("form", { name: this.rootElement.id, id: this.rootElement.id, class: inputPanelClass, ref: (el) => (__classPrivateFieldSet(this, _KupInputPanel_formRef, el, "f")), onSubmit: (e) => {
|
|
325
337
|
e.preventDefault();
|
|
326
338
|
this.submitCb({
|
|
327
339
|
value: {
|
|
@@ -331,7 +343,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
331
343
|
});
|
|
332
344
|
}, onContextMenu: (e) => {
|
|
333
345
|
e.preventDefault();
|
|
334
|
-
} }, h("div", { class: classObj, style: styleObj }, rowContent), h("div", { class:
|
|
346
|
+
} }, h("div", { class: classObj, style: styleObj }, rowContent), h("div", { class: commandsClass }, h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", invisible: this.hiddenSubmitButton }), this.inputPanelCommands)));
|
|
335
347
|
}, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
|
|
336
348
|
if (!cell) {
|
|
337
349
|
return;
|
|
@@ -394,14 +406,15 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
394
406
|
const sectionRender = __classPrivateFieldGet(this, _KupInputPanel_sectionRenderMap, "f").get(layout.sectionsType);
|
|
395
407
|
return sectionRender
|
|
396
408
|
? sectionRender(inputPanelCell, layout.sections)
|
|
397
|
-
: layout.sections.map((section) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderSection).call(this, inputPanelCell, section));
|
|
409
|
+
: layout.sections.map((section) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderSection).call(this, inputPanelCell, section, false));
|
|
398
410
|
}, _KupInputPanel_renderAbsoluteLayout = function _KupInputPanel_renderAbsoluteLayout(inputPanelCell, layout) {
|
|
399
411
|
return layout.sections.map((section) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderAbsoluteSection).call(this, inputPanelCell, section));
|
|
400
|
-
}, _KupInputPanel_renderSection = function _KupInputPanel_renderSection(cells, section, customLabelRender = false, styleObj = {}) {
|
|
412
|
+
}, _KupInputPanel_renderSection = function _KupInputPanel_renderSection(cells, section, customLabelRender = false, styleObj = {}, layout) {
|
|
401
413
|
var _a, _b;
|
|
402
414
|
const classObj = {
|
|
403
415
|
'input-panel__section': !section.horizontal,
|
|
404
416
|
'input-panel__horizontal-section': section.horizontal,
|
|
417
|
+
'input-panel__section-inline': layout === null || layout === void 0 ? void 0 : layout.horizontal,
|
|
405
418
|
};
|
|
406
419
|
styleObj.gap = +section.gap > 0 ? `${section.gap}rem` : '1rem';
|
|
407
420
|
let content = [];
|