@sme.up/ketchup 5.0.0 → 5.2.1-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/README.md +1 -1
- package/dist/cjs/{cell-utils-720be0c8.js → cell-utils-d96b2993.js} +4 -4
- package/dist/cjs/{f-button-dbf3cd3a.js → f-button-2b9b99b1.js} +2 -2
- package/dist/cjs/{f-cell-93d984ad.js → f-cell-8351cb84.js} +8 -96
- package/dist/cjs/{f-chip-438213eb.js → f-chip-df59e1b0.js} +3 -3
- package/dist/cjs/{f-image-21865ab7.js → f-image-12bab3b5.js} +2 -2
- package/dist/cjs/f-text-field-e7c35b5b.js +94 -0
- package/dist/cjs/f-text-field-mdc-a67f5dfe.js +2852 -0
- package/dist/cjs/{index-ab119fad.js → index-eb556444.js} +6 -1
- 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 +641 -3331
- package/dist/cjs/kup-calendar.cjs.entry.js +8 -8
- package/dist/cjs/kup-cell.cjs.entry.js +9 -8
- package/dist/cjs/kup-dash-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-dash_2.cjs.entry.js +5 -5
- package/dist/cjs/kup-drawer.cjs.entry.js +8 -5
- package/dist/cjs/kup-echart.cjs.entry.js +210 -60
- package/dist/cjs/kup-field.cjs.entry.js +3 -3
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -4
- package/dist/cjs/kup-lazy.cjs.entry.js +4 -4
- package/dist/cjs/kup-magic-box.cjs.entry.js +7 -7
- package/dist/cjs/{kup-manager-09c0c1fc.js → kup-manager-5c03da64.js} +3061 -2642
- package/dist/cjs/kup-nav-bar.cjs.entry.js +6 -6
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +423 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +179 -0
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-a60ab5fa.js → utils-e99921c1.js} +4 -38
- package/dist/collection/assets/card.js +30 -30
- package/dist/collection/assets/data-table.js +24 -74
- package/dist/collection/assets/echart.js +481 -0
- package/dist/collection/assets/index.js +87 -79
- package/dist/collection/assets/kupdata.js +29 -41
- package/dist/collection/assets/kuptooltip.js +608 -0
- package/dist/collection/assets/list.js +6 -6
- package/dist/collection/assets/nav-bar.js +4 -4
- package/dist/collection/assets/probe.js +18 -18
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -4
- package/dist/collection/components/kup-box/kup-box.js +9 -9
- package/dist/collection/components/kup-button-list/kup-button-list.js +4 -4
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -0
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +20 -20
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +153 -0
- package/dist/collection/components/kup-card/kup-card.css +35 -0
- package/dist/collection/components/kup-card/kup-card.js +1 -0
- package/dist/collection/components/kup-chip/kup-chip.js +4 -4
- package/dist/collection/components/kup-combobox/kup-combobox.js +5 -5
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +0 -2
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +31 -32
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +112 -159
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +4 -1
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +3 -3
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +14 -14
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +3 -0
- package/dist/collection/components/kup-echart/kup-echart.js +246 -58
- package/dist/collection/components/kup-image/assets/svg/instagram.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/pinterest.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/reddit.svg +1 -0
- package/dist/collection/components/kup-list/kup-list-helper.js +26 -26
- package/dist/collection/components/kup-list/kup-list.css +35 -3
- package/dist/collection/components/kup-list/kup-list.js +52 -44
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +2 -2
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker-declarations.js +16 -0
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.css +50 -0
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +895 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame-declarations.js +10 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +70 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +382 -0
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -8
- package/dist/collection/components/kup-tree/kup-tree.js +25 -38
- package/dist/collection/f-components/f-paginator/f-paginator.js +6 -6
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +27 -3
- package/dist/collection/managers/kup-data/kup-data-declarations.js +2 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-row-helper.js +2 -2
- package/dist/collection/managers/kup-data/kup-data.js +337 -155
- package/dist/collection/managers/kup-dates/kup-dates.js +2 -2
- package/dist/collection/managers/kup-debug/kup-debug.js +7 -6
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +1 -1
- package/dist/collection/managers/kup-language/kup-language.js +2 -2
- package/dist/collection/managers/kup-manager/kup-manager.js +25 -1
- package/dist/collection/managers/kup-math/kup-math-declarations.js +13 -0
- package/dist/collection/managers/kup-math/kup-math-helper.js +39 -0
- package/dist/collection/managers/kup-math/kup-math.js +161 -0
- package/dist/collection/managers/kup-objects/kup-objects.js +48 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/managers/kup-theme/kup-theme.js +2 -2
- package/dist/collection/managers/kup-tooltip/kup-tooltip-declarations.js +1 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +191 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/collection/utils/cell-utils.js +2 -3
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +1 -1
- package/dist/collection/utils/utils.js +3 -74
- package/dist/esm/{cell-utils-b80ccb8c.js → cell-utils-f4bdbbc8.js} +4 -4
- package/dist/esm/{f-button-9e835467.js → f-button-54a49fd8.js} +2 -2
- package/dist/esm/{f-cell-f8bb2e04.js → f-cell-d5dac50b.js} +8 -95
- package/dist/esm/{f-chip-953c6915.js → f-chip-a3035b4b.js} +3 -3
- package/dist/esm/{f-image-78c5265e.js → f-image-d32465e3.js} +2 -2
- package/dist/esm/f-text-field-c25cc63f.js +92 -0
- package/dist/esm/f-text-field-mdc-9fbbefc3.js +2850 -0
- package/dist/esm/{index-78f3699d.js → index-baeab1ac.js} +6 -2
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +5 -5
- package/dist/esm/kup-autocomplete_27.entry.js +625 -3315
- package/dist/esm/kup-calendar.entry.js +8 -8
- package/dist/esm/kup-cell.entry.js +9 -8
- package/dist/esm/kup-dash-list.entry.js +5 -5
- package/dist/esm/kup-dash_2.entry.js +5 -5
- package/dist/esm/kup-drawer.entry.js +8 -5
- package/dist/esm/kup-echart.entry.js +210 -60
- package/dist/esm/kup-field.entry.js +3 -3
- package/dist/esm/kup-iframe.entry.js +4 -4
- package/dist/esm/kup-lazy.entry.js +4 -4
- package/dist/esm/kup-magic-box.entry.js +7 -7
- package/dist/esm/{kup-manager-bba62291.js → kup-manager-9316a184.js} +3062 -2642
- package/dist/esm/kup-nav-bar.entry.js +6 -6
- package/dist/esm/kup-numeric-picker.entry.js +419 -0
- package/dist/esm/kup-photo-frame.entry.js +175 -0
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-d1569956.js → utils-f24319a0.js} +5 -37
- package/dist/ketchup/assets/svg/instagram.svg +1 -0
- package/dist/ketchup/assets/svg/pinterest.svg +1 -0
- package/dist/ketchup/assets/svg/reddit.svg +1 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-09d708c4.entry.js +1 -0
- package/dist/ketchup/p-11e72a8c.entry.js +1 -0
- package/dist/ketchup/p-12773ca8.js +9 -0
- package/dist/ketchup/p-203d6295.entry.js +1 -0
- package/dist/ketchup/p-34748c91.js +1 -0
- package/dist/ketchup/p-34b74425.js +1 -0
- package/dist/ketchup/p-40f97429.js +1 -0
- package/dist/ketchup/p-4173422f.entry.js +1 -0
- package/dist/ketchup/p-41741c28.entry.js +1 -0
- package/dist/ketchup/p-44192f30.entry.js +1 -0
- package/dist/ketchup/{p-ebf4cf56.js → p-44f8da2a.js} +1 -1
- package/dist/ketchup/{p-fa540f82.js → p-4f56932b.js} +1 -1
- package/dist/ketchup/p-669bde31.js +1 -0
- package/dist/ketchup/p-67842f1e.entry.js +1 -0
- package/dist/ketchup/{p-f993f813.js → p-7a74ad17.js} +1 -1
- package/dist/ketchup/p-7ba8fa4a.entry.js +39 -0
- package/dist/ketchup/p-7de0d7e1.js +1 -0
- package/dist/ketchup/p-8418e8fa.entry.js +1 -0
- package/dist/ketchup/p-96bf19aa.entry.js +1 -0
- package/dist/ketchup/p-9a61d8dc.entry.js +1 -0
- package/dist/ketchup/p-b0ddcce9.entry.js +9 -0
- package/dist/ketchup/{p-aa27f9f7.entry.js → p-b6c21223.entry.js} +2 -2
- package/dist/ketchup/p-bb8844bf.entry.js +1 -0
- package/dist/ketchup/p-c58a2a81.entry.js +1 -0
- package/dist/ketchup/p-ca3d585b.entry.js +1 -0
- package/dist/ketchup/p-e6709c26.entry.js +1 -0
- package/dist/ketchup/p-e8e3c9da.entry.js +1 -0
- package/dist/ketchup/p-ecb7069b.js +135 -0
- package/dist/types/components/kup-button-list/kup-button-list-declarations.d.ts +2 -1
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -0
- package/dist/types/components/kup-card/built-in/kup-card-numeric.d.ts +2 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +26 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -2
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +7 -15
- package/dist/types/components/kup-dropdown-button/kup-dropdown-button.d.ts +1 -1
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +3 -0
- package/dist/types/components/kup-echart/kup-echart.d.ts +12 -1
- package/dist/types/components/kup-list/kup-list-declarations.d.ts +3 -7
- package/dist/types/components/kup-list/kup-list-helper.d.ts +6 -6
- package/dist/types/components/kup-list/kup-list.d.ts +2 -2
- package/dist/types/components/kup-numeric-picker/kup-numeric-picker-declarations.d.ts +19 -0
- package/dist/types/components/kup-numeric-picker/kup-numeric-picker.d.ts +121 -0
- package/dist/types/components/kup-photo-frame/kup-photo-frame-declarations.d.ts +9 -0
- package/dist/types/components/kup-photo-frame/kup-photo-frame.d.ts +61 -0
- package/dist/types/components.d.ts +249 -28
- package/dist/types/managers/kup-data/kup-data-column-helper.d.ts +9 -1
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +4 -25
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +1 -1
- package/dist/types/managers/kup-data/kup-data.d.ts +63 -27
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +21 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +4 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +27 -0
- package/dist/types/managers/kup-math/kup-math-helper.d.ts +17 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +61 -0
- package/dist/types/managers/kup-objects/kup-objects.d.ts +22 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +8 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +40 -0
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +0 -18
- package/package.json +3 -3
- package/CHANGELOG.md +0 -5
- package/dist/collection/managers/kup-data/kup-data-dataset-helper.js +0 -262
- package/dist/collection/managers/kup-data/kup-data-helper.js +0 -61
- package/dist/collection/utils/state-utils.js +0 -9
- package/dist/ketchup/p-0032a782.entry.js +0 -1
- package/dist/ketchup/p-18c4d083.entry.js +0 -1
- package/dist/ketchup/p-199c972e.entry.js +0 -1
- package/dist/ketchup/p-29800a2e.js +0 -1
- package/dist/ketchup/p-34aa8d8a.entry.js +0 -1
- package/dist/ketchup/p-542279e9.entry.js +0 -1
- package/dist/ketchup/p-5b26a7a8.entry.js +0 -39
- package/dist/ketchup/p-5c97e7ab.js +0 -1
- package/dist/ketchup/p-6817ca85.entry.js +0 -1
- package/dist/ketchup/p-76e674ca.entry.js +0 -1
- package/dist/ketchup/p-78aa6f1b.js +0 -1
- package/dist/ketchup/p-842b66aa.entry.js +0 -1
- package/dist/ketchup/p-894981c0.entry.js +0 -143
- package/dist/ketchup/p-8ac2fa75.entry.js +0 -1
- package/dist/ketchup/p-907c9e11.entry.js +0 -1
- package/dist/ketchup/p-9ae9149b.entry.js +0 -1
- package/dist/ketchup/p-b0d1bdd8.js +0 -9
- package/dist/ketchup/p-e1e4c951.entry.js +0 -1
- package/dist/ketchup/p-eba369d9.entry.js +0 -1
- package/dist/ketchup/p-ed0b8666.js +0 -1
- package/dist/types/managers/kup-data/kup-data-dataset-helper.d.ts +0 -42
- package/dist/types/managers/kup-data/kup-data-helper.d.ts +0 -11
- package/dist/types/utils/state-utils.d.ts +0 -1
|
@@ -19,164 +19,172 @@ for (let index = 0; index < cards.length; index++) {
|
|
|
19
19
|
const components = document.querySelector('#components');
|
|
20
20
|
components.data = [
|
|
21
21
|
{
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
value: 'Accordion',
|
|
23
|
+
id: 'accordion.html',
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
value: 'Autocomplete',
|
|
27
|
+
id: 'autocomplete.html',
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
value: 'Box',
|
|
31
|
+
id: 'box.html',
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
value: 'Button',
|
|
35
|
+
id: 'button.html',
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
value: 'Button list',
|
|
39
|
+
id: 'button-list.html',
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
value: 'Calendar',
|
|
43
|
+
id: 'calendar.html',
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
value: 'Card',
|
|
47
|
+
id: 'card.html',
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
value: 'Cell',
|
|
51
|
+
id: 'cell.html',
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
value: 'Chart',
|
|
55
|
+
id: 'chart.html',
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
value: 'Checkbox',
|
|
59
|
+
id: 'checkbox.html',
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
value: 'Chip',
|
|
63
|
+
id: 'chip.html',
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
value: 'Color picker',
|
|
67
|
+
id: 'color-picker.html',
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
value: 'Combobox',
|
|
71
|
+
id: 'combobox.html',
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
value: 'Dash list',
|
|
75
|
+
id: 'dash-list.html',
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
value: 'Data table',
|
|
79
|
+
id: 'data-table.html',
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
value: 'Date picker',
|
|
83
|
+
id: 'date-picker.html',
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
value: 'Drawer',
|
|
87
|
+
id: 'drawer.html',
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
value: 'Dropdown button',
|
|
91
|
+
id: 'dropdown-button.html',
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
value: 'Echart',
|
|
95
|
+
id: 'echart.html',
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
value: 'Gauge',
|
|
99
|
+
id: 'gauge.html',
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
value: 'Image',
|
|
103
|
+
id: 'image.html',
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
value: 'KupData',
|
|
107
|
+
id: 'kupdata.html',
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
value: 'KupTooltip',
|
|
111
|
+
id: 'kuptooltip.html',
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
value: 'Layout',
|
|
115
|
+
id: 'layout.html',
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
value: 'List',
|
|
119
|
+
id: 'list.html',
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
value: 'Magic box',
|
|
123
|
+
id: 'magic-box.html',
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
value: 'Nav bar',
|
|
127
|
+
id: 'nav-bar.html',
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
value: 'Numeric picker',
|
|
131
|
+
id: 'numeric-picker.html',
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
value: 'Radio',
|
|
135
|
+
id: 'radio.html',
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
value: 'Rating',
|
|
139
|
+
id: 'rating.html',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
value: 'Snackbar',
|
|
143
|
+
id: 'snackbar.html',
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
value: 'Switch',
|
|
147
|
+
id: 'switch.html',
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
value: 'Tab bar',
|
|
151
|
+
id: 'tab-bar.html',
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
value: 'Time picker',
|
|
155
|
+
id: 'time-picker.html',
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
value: 'Text field',
|
|
159
|
+
id: 'text-field.html',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
value: 'Tooltip',
|
|
163
|
+
id: 'tooltip.html',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
value: 'Tree',
|
|
167
|
+
id: 'tree.html',
|
|
160
168
|
},
|
|
161
169
|
];
|
|
162
170
|
// Setting up performance pages
|
|
163
171
|
const performances = document.querySelector('#performances');
|
|
164
172
|
performances.data = [
|
|
165
173
|
{
|
|
166
|
-
|
|
167
|
-
|
|
174
|
+
value: 'Box',
|
|
175
|
+
id: 'box-performance.html',
|
|
168
176
|
},
|
|
169
177
|
{
|
|
170
|
-
|
|
171
|
-
|
|
178
|
+
value: 'Card',
|
|
179
|
+
id: 'card-performance.html',
|
|
172
180
|
},
|
|
173
181
|
{
|
|
174
|
-
|
|
175
|
-
|
|
182
|
+
value: 'Data table',
|
|
183
|
+
id: 'data-table-performance.html',
|
|
176
184
|
},
|
|
177
185
|
{
|
|
178
|
-
|
|
179
|
-
|
|
186
|
+
value: 'Tree',
|
|
187
|
+
id: 'tree-performance.html',
|
|
180
188
|
},
|
|
181
189
|
];
|
|
182
190
|
// Setting up events
|
|
@@ -214,7 +222,7 @@ document.addEventListener('kup-button-click', (e) => {
|
|
|
214
222
|
}
|
|
215
223
|
});
|
|
216
224
|
document.addEventListener('kup-list-click', (e) => {
|
|
217
|
-
gotoPage(e, e.detail.selected.
|
|
225
|
+
gotoPage(e, e.detail.selected.id);
|
|
218
226
|
});
|
|
219
227
|
|
|
220
228
|
function isDarkMode() {
|
|
@@ -819,7 +819,7 @@ gaussianButtons.forEach((but, index) => {
|
|
|
819
819
|
function newEvent(index) {
|
|
820
820
|
outputTable.data = null;
|
|
821
821
|
const dataset = { ...inputTable.data };
|
|
822
|
-
outputTable.data = kupManager.data.
|
|
822
|
+
outputTable.data = kupManager.data.new(
|
|
823
823
|
dataset,
|
|
824
824
|
index === 0
|
|
825
825
|
? newColumns
|
|
@@ -833,49 +833,37 @@ function replaceEvent(index) {
|
|
|
833
833
|
newEvent(index);
|
|
834
834
|
const newDataset = { ...outputTable.data };
|
|
835
835
|
if (index === 0) {
|
|
836
|
-
kupManager.data.
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
);
|
|
846
|
-
kupManager.data.datasetOperations.cell.replace(
|
|
847
|
-
newDataset,
|
|
848
|
-
{ value: 'From 60 to 99' },
|
|
849
|
-
['6099']
|
|
850
|
-
);
|
|
836
|
+
kupManager.data.cell.replace(newDataset, { value: 'From 20 to 39' }, [
|
|
837
|
+
'2039',
|
|
838
|
+
]);
|
|
839
|
+
kupManager.data.cell.replace(newDataset, { value: 'From 40 to 59' }, [
|
|
840
|
+
'4059',
|
|
841
|
+
]);
|
|
842
|
+
kupManager.data.cell.replace(newDataset, { value: 'From 60 to 99' }, [
|
|
843
|
+
'6099',
|
|
844
|
+
]);
|
|
851
845
|
} else if (index === 1) {
|
|
852
|
-
kupManager.data.
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
);
|
|
862
|
-
kupManager.data.datasetOperations.cell.replace(
|
|
863
|
-
newDataset,
|
|
864
|
-
{ value: 'From Q to Z' },
|
|
865
|
-
['QZ']
|
|
866
|
-
);
|
|
846
|
+
kupManager.data.cell.replace(newDataset, { value: 'From A to C' }, [
|
|
847
|
+
'AC',
|
|
848
|
+
]);
|
|
849
|
+
kupManager.data.cell.replace(newDataset, { value: 'From D to P' }, [
|
|
850
|
+
'DP',
|
|
851
|
+
]);
|
|
852
|
+
kupManager.data.cell.replace(newDataset, { value: 'From Q to Z' }, [
|
|
853
|
+
'QZ',
|
|
854
|
+
]);
|
|
867
855
|
} else if (index === 2) {
|
|
868
|
-
kupManager.data.
|
|
856
|
+
kupManager.data.cell.replace(
|
|
869
857
|
newDataset,
|
|
870
858
|
{ value: 'From 1700 to 1900' },
|
|
871
859
|
['17001900']
|
|
872
860
|
);
|
|
873
|
-
kupManager.data.
|
|
861
|
+
kupManager.data.cell.replace(
|
|
874
862
|
newDataset,
|
|
875
863
|
{ value: 'From 1901 to 1950' },
|
|
876
864
|
['19011950']
|
|
877
865
|
);
|
|
878
|
-
kupManager.data.
|
|
866
|
+
kupManager.data.cell.replace(
|
|
879
867
|
newDataset,
|
|
880
868
|
{ value: 'From 1951 to 2022' },
|
|
881
869
|
['19512022']
|
|
@@ -888,17 +876,17 @@ function mergeEvent(index) {
|
|
|
888
876
|
replaceEvent(index);
|
|
889
877
|
const newDataset = { ...outputTable.data };
|
|
890
878
|
if (index === 0) {
|
|
891
|
-
kupManager.data.
|
|
879
|
+
kupManager.data.column.new(newDataset, 'merge', {
|
|
892
880
|
columns: ['2039', '4059', '6099'],
|
|
893
881
|
newColumn: resultingColumn,
|
|
894
882
|
});
|
|
895
883
|
} else if (index === 1) {
|
|
896
|
-
kupManager.data.
|
|
884
|
+
kupManager.data.column.new(newDataset, 'merge', {
|
|
897
885
|
columns: ['AC', 'DP', 'QZ'],
|
|
898
886
|
newColumn: resultingColumnString,
|
|
899
887
|
});
|
|
900
888
|
} else if (index === 2) {
|
|
901
|
-
kupManager.data.
|
|
889
|
+
kupManager.data.column.new(newDataset, 'merge', {
|
|
902
890
|
columns: ['17001900', '19011950', '19512022'],
|
|
903
891
|
newColumn: resultingColumnDate,
|
|
904
892
|
});
|
|
@@ -908,7 +896,7 @@ function mergeEvent(index) {
|
|
|
908
896
|
|
|
909
897
|
function distinctEvent(index) {
|
|
910
898
|
mergeEvent(index);
|
|
911
|
-
const newDataset = kupManager.data.
|
|
899
|
+
const newDataset = kupManager.data.distinct({
|
|
912
900
|
...outputTable.data,
|
|
913
901
|
});
|
|
914
902
|
outputTable.data = newDataset;
|
|
@@ -919,21 +907,21 @@ function allInOneEvent(index, titleColumn) {
|
|
|
919
907
|
const dataset = { ...inputTable.data };
|
|
920
908
|
let newDataset;
|
|
921
909
|
if (index === 0) {
|
|
922
|
-
newDataset = kupManager.data.
|
|
910
|
+
newDataset = kupManager.data.rangedDistinct(
|
|
923
911
|
dataset,
|
|
924
912
|
newColumns,
|
|
925
913
|
resultingColumn,
|
|
926
914
|
titleColumn
|
|
927
915
|
);
|
|
928
916
|
} else if (index === 1) {
|
|
929
|
-
newDataset = kupManager.data.
|
|
917
|
+
newDataset = kupManager.data.rangedDistinct(
|
|
930
918
|
dataset,
|
|
931
919
|
newColumnsString,
|
|
932
920
|
resultingColumnString,
|
|
933
921
|
titleColumn
|
|
934
922
|
);
|
|
935
923
|
} else if (index === 2) {
|
|
936
|
-
newDataset = kupManager.data.
|
|
924
|
+
newDataset = kupManager.data.rangedDistinct(
|
|
937
925
|
dataset,
|
|
938
926
|
newColumnsDate,
|
|
939
927
|
resultingColumnDate,
|