@sme.up/ketchup 5.2.1-SNAPSHOT → 6.2.0-SNAPSHOT
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/CHANGELOG.md +5 -0
- package/dist/cjs/{cell-utils-d96b2993.js → cell-utils-d894e802.js} +2 -2
- package/dist/cjs/{component-d1496215.js → component-72a5b626.js} +30 -0
- package/dist/cjs/{f-button-2b9b99b1.js → f-button-414b3bc3.js} +4 -4
- package/dist/cjs/f-cell-c8983ec7.js +418 -0
- package/dist/cjs/f-checkbox-57443ca3.js +29 -0
- package/dist/cjs/{f-chip-df59e1b0.js → f-chip-ef81bf51.js} +5 -4
- package/dist/cjs/{f-image-12bab3b5.js → f-image-0618c795.js} +2 -2
- package/dist/cjs/f-paginator-utils-c9dd5173.js +1898 -0
- package/dist/cjs/{f-text-field-e7c35b5b.js → f-text-field-7d31190f.js} +3 -3
- package/dist/cjs/{f-text-field-mdc-a67f5dfe.js → f-text-field-mdc-85997738.js} +23 -305
- package/dist/cjs/{index-eb556444.js → index-06b131ea.js} +6 -4
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/{kup-autocomplete_27.cjs.entry.js → kup-autocomplete_25.cjs.entry.js} +1833 -5745
- package/dist/cjs/{kup-echart.cjs.entry.js → kup-box_2.cjs.entry.js} +17113 -14788
- package/dist/cjs/kup-calendar.cjs.entry.js +42 -34
- package/dist/cjs/kup-cell.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +4 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +379 -0
- package/dist/cjs/kup-drawer.cjs.entry.js +12 -5
- package/dist/cjs/kup-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +469 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +229 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/kup-manager-2fee8cf3.js +17021 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -9
- 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 +6 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-e99921c1.js → utils-8470184d.js} +1 -1
- package/dist/collection/assets/card.js +4 -5
- package/dist/collection/assets/dashboard.js +113 -0
- package/dist/collection/assets/data-table.js +15 -79
- package/dist/collection/assets/form.js +179 -0
- package/dist/collection/assets/grid.js +17 -0
- package/dist/collection/assets/image-list.js +624 -0
- package/dist/collection/assets/index.js +16 -4
- package/dist/collection/assets/kupdata.js +0 -3
- package/dist/collection/assets/kuptooltip.js +53 -7
- package/dist/collection/assets/tree.js +0 -128
- package/dist/collection/collection-manifest.json +8 -6
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +136 -130
- package/dist/collection/components/kup-box/kup-box-declarations.js +0 -4
- package/dist/collection/components/kup-box/kup-box.js +20 -137
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +1 -1
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/kup-card.css +26 -8
- package/dist/collection/components/kup-card/kup-card.js +1 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +14 -6
- package/dist/collection/components/kup-combobox/kup-combobox.js +17 -14
- package/dist/collection/components/kup-dashboard/kup-dashboard-declarations.js +10 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +81 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +560 -0
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table.js +19 -136
- package/dist/collection/components/kup-drawer/kup-drawer.css +6 -8
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -1
- package/dist/collection/components/kup-form/kup-form-declarations.js +19 -0
- package/dist/collection/components/kup-form/kup-form.css +86 -0
- package/dist/collection/components/kup-form/kup-form.js +668 -0
- package/dist/collection/components/kup-grid/kup-grid.js +1 -4
- package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +10 -0
- package/dist/collection/components/kup-image-list/kup-image-list.css +166 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +432 -0
- package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +2 -9
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +3 -5
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -0
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +18 -19
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +2 -8
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -4
- package/dist/collection/components/kup-tree/kup-tree.css +10 -3
- package/dist/collection/components/kup-tree/kup-tree.js +73 -142
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +5 -1
- package/dist/collection/f-components/f-cell/f-cell.js +41 -121
- package/dist/collection/f-components/f-chip/f-chip.js +2 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +24 -0
- package/dist/collection/managers/kup-data/kup-data.js +98 -1
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +4 -2
- package/dist/collection/managers/kup-interact/kup-interact.js +1 -22
- package/dist/collection/managers/kup-language/kup-language-declarations.js +13 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +21 -2
- package/dist/collection/managers/kup-objects/kup-objects.js +10 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +21 -1
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +53 -20
- package/dist/collection/types/GenericTypes.js +3 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +7 -11
- package/dist/esm/{cell-utils-f4bdbbc8.js → cell-utils-7fc84d4e.js} +3 -3
- package/dist/esm/{component-c4eb6153.js → component-b1bedf1d.js} +27 -2
- package/dist/esm/{f-button-54a49fd8.js → f-button-2f6cc296.js} +4 -4
- package/dist/esm/f-cell-4428481c.js +415 -0
- package/dist/esm/f-checkbox-c51c4a75.js +27 -0
- package/dist/esm/{f-chip-a3035b4b.js → f-chip-b39eb49a.js} +6 -5
- package/dist/esm/{f-image-d32465e3.js → f-image-b08ebeb2.js} +2 -2
- package/dist/esm/f-paginator-utils-4fda6086.js +1884 -0
- package/dist/esm/{f-text-field-c25cc63f.js → f-text-field-184a5fb3.js} +3 -3
- package/dist/esm/{f-text-field-mdc-9fbbefc3.js → f-text-field-mdc-d42d3f9e.js} +2 -284
- package/dist/esm/{index-baeab1ac.js → index-ad6ab214.js} +6 -4
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -6
- package/dist/esm/{kup-autocomplete_27.entry.js → kup-autocomplete_25.entry.js} +1775 -5685
- package/dist/esm/{kup-echart.entry.js → kup-box_2.entry.js} +17113 -14789
- package/dist/esm/kup-calendar.entry.js +43 -35
- package/dist/esm/kup-cell.entry.js +9 -8
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +4 -7
- package/dist/esm/kup-dashboard.entry.js +375 -0
- package/dist/esm/kup-drawer.entry.js +12 -5
- package/dist/esm/kup-field.entry.js +2 -2
- package/dist/esm/kup-form.entry.js +465 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +225 -0
- package/dist/esm/kup-lazy.entry.js +3 -3
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/kup-manager-3325b2d8.js +17000 -0
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-photo-frame.entry.js +7 -9
- 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 +6 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{tslib.es6-8f2d44b6.js → tslib.es6-3eea2234.js} +1 -1
- package/dist/esm/{utils-f24319a0.js → utils-6373a07e.js} +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-006bc4d0.entry.js +1 -0
- package/dist/ketchup/p-0741da57.js +1 -0
- package/dist/ketchup/{p-669bde31.js → p-13e08580.js} +1 -1
- package/dist/ketchup/p-153697fb.entry.js +1 -0
- package/dist/ketchup/{p-9a61d8dc.entry.js → p-175edb62.entry.js} +1 -1
- package/dist/ketchup/{p-11e72a8c.entry.js → p-1db1d42b.entry.js} +1 -1
- package/dist/ketchup/{p-67842f1e.entry.js → p-30820f8f.entry.js} +1 -1
- package/dist/ketchup/p-35325834.entry.js +9 -0
- package/dist/ketchup/p-359e8bec.entry.js +40 -0
- package/dist/ketchup/{p-09d708c4.entry.js → p-3c7c92c0.entry.js} +1 -1
- package/dist/ketchup/p-41cf8703.entry.js +1 -0
- package/dist/ketchup/{p-e6709c26.entry.js → p-6127fccf.entry.js} +1 -1
- package/dist/ketchup/{p-203d6295.entry.js → p-6b82e4e2.entry.js} +1 -1
- package/dist/ketchup/p-704e60eb.js +30 -0
- package/dist/ketchup/{p-4f56932b.js → p-70660fe2.js} +1 -1
- package/dist/ketchup/{p-44192f30.entry.js → p-762c0382.entry.js} +1 -1
- package/dist/ketchup/{p-c58a2a81.entry.js → p-76947316.entry.js} +1 -1
- package/dist/ketchup/{p-a0b1d769.js → p-79b0730b.js} +1 -1
- package/dist/ketchup/{p-bb8844bf.entry.js → p-8103b80a.entry.js} +1 -1
- package/dist/ketchup/{p-8c44c3b9.js → p-81605f08.js} +4 -5
- package/dist/ketchup/p-9fa457d4.entry.js +1 -0
- package/dist/ketchup/{p-e8e3c9da.entry.js → p-a0ce8075.entry.js} +1 -1
- package/dist/ketchup/p-a203f78b.js +45 -0
- package/dist/ketchup/p-a804fe83.entry.js +27 -0
- package/dist/ketchup/{p-34748c91.js → p-ca9fd099.js} +1 -1
- package/dist/ketchup/p-caabb9ab.entry.js +1 -0
- package/dist/ketchup/p-cc3abf84.entry.js +1 -0
- package/dist/ketchup/p-cd5cfa7c.js +1 -0
- package/dist/ketchup/p-d2e76960.entry.js +1 -0
- package/dist/ketchup/p-d3b542b3.js +2 -0
- package/dist/ketchup/p-d7004ae4.js +1 -0
- package/dist/ketchup/{p-40f97429.js → p-d95c904b.js} +1 -1
- package/dist/ketchup/p-ddce3430.js +1 -0
- package/dist/ketchup/p-ee580b3a.entry.js +1 -0
- package/dist/ketchup/p-f49cb68e.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +1 -16
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -5
- package/dist/types/components/kup-box/kup-box.d.ts +0 -22
- package/dist/types/components/kup-dashboard/kup-dashboard-declarations.d.ts +61 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +75 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -4
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -19
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +48 -0
- package/dist/types/components/kup-form/kup-form.d.ts +68 -0
- package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +14 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +56 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +3 -9
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +6 -6
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +0 -6
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +3 -5
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -24
- package/dist/types/components.d.ts +512 -369
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -1
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +7 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +3 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +13 -1
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +4 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +12 -0
- package/dist/types/managers/kup-objects/kup-objects.d.ts +6 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +3 -3
- package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +17 -6
- package/dist/types/types/GenericTypes.d.ts +3 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +1 -3
- package/package.json +15 -14
- package/dist/cjs/f-cell-8351cb84.js +0 -653
- package/dist/cjs/kup-manager-5c03da64.js +0 -8795
- package/dist/collection/assets/tooltip.js +0 -73
- package/dist/collection/components/kup-tooltip/kup-tooltip-declarations.js +0 -20
- package/dist/collection/components/kup-tooltip/kup-tooltip.css +0 -149
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +0 -1205
- package/dist/collection/utils/helpers.js +0 -38
- package/dist/esm/f-cell-d5dac50b.js +0 -650
- package/dist/esm/kup-manager-9316a184.js +0 -8778
- package/dist/ketchup/p-12773ca8.js +0 -9
- package/dist/ketchup/p-34b74425.js +0 -1
- package/dist/ketchup/p-4173422f.entry.js +0 -1
- package/dist/ketchup/p-41741c28.entry.js +0 -1
- package/dist/ketchup/p-44f8da2a.js +0 -1
- package/dist/ketchup/p-7a74ad17.js +0 -1
- package/dist/ketchup/p-7ba8fa4a.entry.js +0 -39
- package/dist/ketchup/p-7de0d7e1.js +0 -1
- package/dist/ketchup/p-8418e8fa.entry.js +0 -1
- package/dist/ketchup/p-96bf19aa.entry.js +0 -1
- package/dist/ketchup/p-b0ddcce9.entry.js +0 -9
- package/dist/ketchup/p-b6c21223.entry.js +0 -27
- package/dist/ketchup/p-ca3d585b.entry.js +0 -1
- package/dist/ketchup/p-ecb7069b.js +0 -135
- package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +0 -93
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +0 -142
- package/dist/types/utils/helpers.d.ts +0 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const dataTable = document.getElementById('data-table');
|
|
2
|
+
const fCellHover = document.getElementById('fcell-hover');
|
|
2
3
|
const registerThis = document.getElementById('register-this');
|
|
3
4
|
const registerThisInstead = document.getElementById('register-this-instead');
|
|
4
5
|
const unregisterBoth = document.getElementById('unregister-both');
|
|
@@ -22,11 +23,55 @@ const dataTableTooltip = (e) => {
|
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
25
|
|
|
26
|
+
const fCellToggle = () => {
|
|
27
|
+
if (kupManager.tooltip.fCellCallbacks) {
|
|
28
|
+
kupManager.tooltip.fCellCallbacks = null;
|
|
29
|
+
} else {
|
|
30
|
+
kupManager.tooltip.fCellCallbacks = {
|
|
31
|
+
enter: (_e, anchor) => {
|
|
32
|
+
anchor.style.setProperty(
|
|
33
|
+
'--kup-cell-background',
|
|
34
|
+
'var(--kup-primary-color)'
|
|
35
|
+
);
|
|
36
|
+
anchor.style.setProperty(
|
|
37
|
+
'--kup-cell-text-color',
|
|
38
|
+
'var(--kup-text-on-primary-color)'
|
|
39
|
+
);
|
|
40
|
+
const props = anchor['kup-get-cell-props']();
|
|
41
|
+
const cardText = ['Cell props'];
|
|
42
|
+
for (const key in props) {
|
|
43
|
+
const prop = props[key];
|
|
44
|
+
if (key !== 'component') {
|
|
45
|
+
cardText.push(key);
|
|
46
|
+
let value = '';
|
|
47
|
+
try {
|
|
48
|
+
value = JSON.stringify(prop);
|
|
49
|
+
} catch (error) {
|
|
50
|
+
value = 'Unstringifiable JSON';
|
|
51
|
+
}
|
|
52
|
+
cardText.push(value);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
kupManager.tooltip.show(anchor, {
|
|
56
|
+
data: {
|
|
57
|
+
text: cardText,
|
|
58
|
+
},
|
|
59
|
+
layoutNumber: 15,
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
leave: (_e, anchor) => {
|
|
63
|
+
anchor.style.setProperty('--kup-cell-background', '');
|
|
64
|
+
anchor.style.setProperty('--kup-cell-text-color', '');
|
|
65
|
+
kupManager.tooltip.hide();
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
25
71
|
const registerThisTooltip = (anchor) => {
|
|
26
72
|
anchor.disabled = true;
|
|
27
|
-
kupManager.tooltip.register(
|
|
28
|
-
|
|
29
|
-
() => {
|
|
73
|
+
kupManager.tooltip.register(anchor, {
|
|
74
|
+
enter: () => {
|
|
30
75
|
console.log('In callback.');
|
|
31
76
|
kupManager.tooltip.show(anchor, {
|
|
32
77
|
data: {
|
|
@@ -35,7 +80,7 @@ const registerThisTooltip = (anchor) => {
|
|
|
35
80
|
layoutNumber: '8',
|
|
36
81
|
});
|
|
37
82
|
},
|
|
38
|
-
(e) => {
|
|
83
|
+
over: (e) => {
|
|
39
84
|
console.log('Hovering.');
|
|
40
85
|
kupManager.tooltip.element.style.setProperty(
|
|
41
86
|
'--kup-background-color',
|
|
@@ -58,11 +103,11 @@ const registerThisTooltip = (anchor) => {
|
|
|
58
103
|
layoutNumber: '15',
|
|
59
104
|
});
|
|
60
105
|
},
|
|
61
|
-
() => {
|
|
106
|
+
leave: () => {
|
|
62
107
|
console.log('Out callback.');
|
|
63
108
|
kupManager.tooltip.hide();
|
|
64
|
-
}
|
|
65
|
-
);
|
|
109
|
+
},
|
|
110
|
+
});
|
|
66
111
|
};
|
|
67
112
|
|
|
68
113
|
const unregister = () => {
|
|
@@ -73,6 +118,7 @@ const unregister = () => {
|
|
|
73
118
|
};
|
|
74
119
|
|
|
75
120
|
dataTable.addEventListener('kup-datatable-contextmenu', dataTableTooltip);
|
|
121
|
+
fCellHover.addEventListener('kup-button-click', fCellToggle);
|
|
76
122
|
registerThis.addEventListener(
|
|
77
123
|
'kup-button-click',
|
|
78
124
|
registerThisTooltip.bind(registerThisTooltip, registerThis)
|
|
@@ -190169,125 +190169,6 @@ let treeLayoutFixedEl = document.getElementById('tree-layout-fixed');
|
|
|
190169
190169
|
if (treeLayoutFixedEl != null) {
|
|
190170
190170
|
treeLayoutFixedEl.columns = tlfCols;
|
|
190171
190171
|
treeLayoutFixedEl.data = tlfData;
|
|
190172
|
-
treeLayoutFixedEl.addEventListener('kup-tooltip-loaddata', ({ detail }) => {
|
|
190173
|
-
console.log(JSON.stringify(detail));
|
|
190174
|
-
onLoadData(detail);
|
|
190175
|
-
});
|
|
190176
|
-
treeLayoutFixedEl.addEventListener(
|
|
190177
|
-
'kup-tooltip-loaddetail',
|
|
190178
|
-
({ detail }) => {
|
|
190179
|
-
console.log(JSON.stringify(detail));
|
|
190180
|
-
onLoadDetailData(detail);
|
|
190181
|
-
}
|
|
190182
|
-
);
|
|
190183
|
-
}
|
|
190184
|
-
|
|
190185
|
-
function onLoadData(detail) {
|
|
190186
|
-
detail.comp.data = {
|
|
190187
|
-
//image: this.images.bornToDie,
|
|
190188
|
-
title: 'Born to die',
|
|
190189
|
-
content: {
|
|
190190
|
-
info1: {
|
|
190191
|
-
label: 'Author',
|
|
190192
|
-
value: 'Lana del Rey',
|
|
190193
|
-
},
|
|
190194
|
-
info2: {
|
|
190195
|
-
label: 'Year',
|
|
190196
|
-
value: 2012,
|
|
190197
|
-
},
|
|
190198
|
-
},
|
|
190199
|
-
};
|
|
190200
|
-
console.log('data:' + JSON.stringify(detail.comp.data));
|
|
190201
|
-
}
|
|
190202
|
-
|
|
190203
|
-
function onLoadDetailData(detail) {
|
|
190204
|
-
detail.comp.detailData = {
|
|
190205
|
-
columns: [
|
|
190206
|
-
{
|
|
190207
|
-
name: 'label',
|
|
190208
|
-
title: 'Label',
|
|
190209
|
-
size: '10',
|
|
190210
|
-
},
|
|
190211
|
-
{
|
|
190212
|
-
name: 'value',
|
|
190213
|
-
title: 'Value',
|
|
190214
|
-
size: '10',
|
|
190215
|
-
},
|
|
190216
|
-
],
|
|
190217
|
-
rows: [
|
|
190218
|
-
{
|
|
190219
|
-
cells: {
|
|
190220
|
-
label: {
|
|
190221
|
-
value: 'Born to die',
|
|
190222
|
-
},
|
|
190223
|
-
value: {
|
|
190224
|
-
value: '4:46',
|
|
190225
|
-
},
|
|
190226
|
-
},
|
|
190227
|
-
},
|
|
190228
|
-
{
|
|
190229
|
-
cells: {
|
|
190230
|
-
label: {
|
|
190231
|
-
value: 'Off to the races',
|
|
190232
|
-
},
|
|
190233
|
-
value: {
|
|
190234
|
-
value: '5:00',
|
|
190235
|
-
},
|
|
190236
|
-
},
|
|
190237
|
-
},
|
|
190238
|
-
{
|
|
190239
|
-
cells: {
|
|
190240
|
-
label: {
|
|
190241
|
-
value: 'Blue jeans',
|
|
190242
|
-
},
|
|
190243
|
-
value: {
|
|
190244
|
-
value: '3:29',
|
|
190245
|
-
},
|
|
190246
|
-
},
|
|
190247
|
-
},
|
|
190248
|
-
],
|
|
190249
|
-
actions: {
|
|
190250
|
-
/** Ne metto 7 per verificare se vengono visualizzati solo i primi 5 */
|
|
190251
|
-
command: [
|
|
190252
|
-
{
|
|
190253
|
-
text: 'Attiva il riconoscimento facciale',
|
|
190254
|
-
icon: 'face',
|
|
190255
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0001)',
|
|
190256
|
-
},
|
|
190257
|
-
{
|
|
190258
|
-
text: 'Accendi la luce',
|
|
190259
|
-
icon: 'lightbulb-on',
|
|
190260
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0002)',
|
|
190261
|
-
},
|
|
190262
|
-
{
|
|
190263
|
-
text: 'Leggi gli ultimi feed rss',
|
|
190264
|
-
icon: 'rss',
|
|
190265
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0003)',
|
|
190266
|
-
},
|
|
190267
|
-
{
|
|
190268
|
-
text: 'Accedi a videocorso su udemy',
|
|
190269
|
-
icon: 'school',
|
|
190270
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0004)',
|
|
190271
|
-
},
|
|
190272
|
-
{
|
|
190273
|
-
text: 'Sblocca la serratura della cantina',
|
|
190274
|
-
icon: 'lock_open',
|
|
190275
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0005)',
|
|
190276
|
-
},
|
|
190277
|
-
{
|
|
190278
|
-
text: "Fai qualcosa d'altro",
|
|
190279
|
-
icon: 'play',
|
|
190280
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0005)',
|
|
190281
|
-
},
|
|
190282
|
-
{
|
|
190283
|
-
text: "Fai qualcosa d'altro",
|
|
190284
|
-
icon: 'play',
|
|
190285
|
-
exec: 'F(EXD;*SCO;) 1(CN;CLI;C0006)',
|
|
190286
|
-
},
|
|
190287
|
-
],
|
|
190288
|
-
},
|
|
190289
|
-
};
|
|
190290
|
-
console.log('detailData:' + JSON.stringify(detail.comp.detailData));
|
|
190291
190172
|
}
|
|
190292
190173
|
|
|
190293
190174
|
let tmCols = [
|
|
@@ -227779,15 +227660,6 @@ let treeMixedEl = document.getElementById('tree-mixed');
|
|
|
227779
227660
|
if (treeMixedEl != null) {
|
|
227780
227661
|
treeMixedEl.columns = tmCols;
|
|
227781
227662
|
treeMixedEl.data = tmData;
|
|
227782
|
-
/*
|
|
227783
|
-
treeMixedEl.addEventListener('kup-tooltip-loaddata', ({ detail }) => {
|
|
227784
|
-
console.log(JSON.stringify(detail));
|
|
227785
|
-
onLoadData(detail);
|
|
227786
|
-
});
|
|
227787
|
-
treeMixedEl.addEventListener('kup-tooltip-loaddetail', ({ detail }) => {
|
|
227788
|
-
console.log(JSON.stringify(detail));
|
|
227789
|
-
onLoadDetailData(detail);
|
|
227790
|
-
});*/
|
|
227791
227663
|
}
|
|
227792
227664
|
|
|
227793
227665
|
let f2Data = [
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
"entries": [
|
|
3
3
|
"./components/kup-card/kup-card.js",
|
|
4
4
|
"./components/kup-badge/kup-badge.js",
|
|
5
|
-
"./components/kup-tooltip/kup-tooltip.js",
|
|
6
|
-
"./components/kup-text-field/kup-text-field.js",
|
|
7
|
-
"./components/kup-chart/kup-chart.js",
|
|
8
|
-
"./components/kup-data-table/kup-data-table.js",
|
|
9
|
-
"./components/kup-tree/kup-tree.js",
|
|
10
5
|
"./components/kup-accordion/kup-accordion.js",
|
|
11
6
|
"./components/kup-autocomplete/kup-autocomplete.js",
|
|
7
|
+
"./components/kup-chart/kup-chart.js",
|
|
8
|
+
"./components/kup-tree/kup-tree.js",
|
|
9
|
+
"./components/kup-text-field/kup-text-field.js",
|
|
10
|
+
"./components/kup-data-table/kup-data-table.js",
|
|
12
11
|
"./components/kup-box/kup-box.js",
|
|
13
12
|
"./components/kup-button/kup-button.js",
|
|
14
13
|
"./components/kup-button-list/kup-button-list.js",
|
|
@@ -20,15 +19,18 @@
|
|
|
20
19
|
"./components/kup-combobox/kup-combobox.js",
|
|
21
20
|
"./components/kup-dash/kup-dash.js",
|
|
22
21
|
"./components/kup-dash-list/kup-dash-list.js",
|
|
22
|
+
"./components/kup-dashboard/kup-dashboard.js",
|
|
23
23
|
"./components/kup-date-picker/kup-date-picker.js",
|
|
24
24
|
"./components/kup-drawer/kup-drawer.js",
|
|
25
25
|
"./components/kup-dropdown-button/kup-dropdown-button.js",
|
|
26
26
|
"./components/kup-echart/kup-echart.js",
|
|
27
27
|
"./components/kup-field/kup-field.js",
|
|
28
|
+
"./components/kup-form/kup-form.js",
|
|
28
29
|
"./components/kup-gauge/kup-gauge.js",
|
|
29
30
|
"./components/kup-grid/kup-grid.js",
|
|
30
31
|
"./components/kup-iframe/kup-iframe.js",
|
|
31
32
|
"./components/kup-image/kup-image.js",
|
|
33
|
+
"./components/kup-image-list/kup-image-list.js",
|
|
32
34
|
"./components/kup-lazy/kup-lazy.js",
|
|
33
35
|
"./components/kup-radio/kup-radio.js",
|
|
34
36
|
"./components/kup-list/kup-list.js",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
],
|
|
49
51
|
"compiler": {
|
|
50
52
|
"name": "@stencil/core",
|
|
51
|
-
"version": "2.
|
|
53
|
+
"version": "2.16.1",
|
|
52
54
|
"typescriptVersion": "4.5.4"
|
|
53
55
|
},
|
|
54
56
|
"collections": [],
|