@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
|
@@ -35,40 +35,40 @@ combobox.data = {
|
|
|
35
35
|
'kup-list': {
|
|
36
36
|
data: [
|
|
37
37
|
{
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
value: 'No features',
|
|
39
|
+
id: 'empty',
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
value: 'KupDebug',
|
|
43
|
+
id: 'debug',
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
value: 'KupLanguage',
|
|
47
|
+
id: 'language',
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
value: 'KupTheme',
|
|
51
|
+
id: 'theme',
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
value: 'Long cycle (props)',
|
|
55
|
+
id: 'cycleprops',
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
value: 'Long cycle (variables)',
|
|
59
|
+
id: 'cyclevars',
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
value: 'Long cycle (KupObjects)',
|
|
63
|
+
id: 'cycleobjects',
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
value: 'Long cycle (object function)',
|
|
67
|
+
id: 'cycleobjectsfunction',
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
value: 'All features',
|
|
71
|
+
id: 'full',
|
|
72
72
|
},
|
|
73
73
|
],
|
|
74
74
|
},
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
"./components/kup-list/kup-list.js",
|
|
35
35
|
"./components/kup-magic-box/kup-magic-box.js",
|
|
36
36
|
"./components/kup-nav-bar/kup-nav-bar.js",
|
|
37
|
+
"./components/kup-numeric-picker/kup-numeric-picker.js",
|
|
38
|
+
"./components/kup-photo-frame/kup-photo-frame.js",
|
|
37
39
|
"./components/kup-probe/kup-probe.js",
|
|
38
40
|
"./components/kup-progress-bar/kup-progress-bar.js",
|
|
39
41
|
"./components/kup-qlik/kup-qlik.js",
|
|
@@ -46,7 +48,7 @@
|
|
|
46
48
|
],
|
|
47
49
|
"compiler": {
|
|
48
50
|
"name": "@stencil/core",
|
|
49
|
-
"version": "2.14.
|
|
51
|
+
"version": "2.14.2",
|
|
50
52
|
"typescriptVersion": "4.5.4"
|
|
51
53
|
},
|
|
52
54
|
"collections": [],
|
|
@@ -304,12 +304,12 @@ export class KupAutocomplete {
|
|
|
304
304
|
isListOpened() {
|
|
305
305
|
return this.listEl.menuVisible == true;
|
|
306
306
|
}
|
|
307
|
-
consistencyCheck(e,
|
|
307
|
+
consistencyCheck(e, idIn) {
|
|
308
308
|
if (!this.doConsistencyCheck) {
|
|
309
309
|
return;
|
|
310
310
|
}
|
|
311
311
|
this.doConsistencyCheck = false;
|
|
312
|
-
const ret = consistencyCheck(
|
|
312
|
+
const ret = consistencyCheck(idIn, this.data['kup-list'], this.listEl, this.selectMode, this.displayMode, e);
|
|
313
313
|
if (ret.exists || this.allowInconsistentValues) {
|
|
314
314
|
this.value = ret.value;
|
|
315
315
|
this.displayedValue = ret.displayedValue;
|
|
@@ -318,9 +318,9 @@ export class KupAutocomplete {
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
321
|
-
this.displayedValue =
|
|
321
|
+
this.displayedValue = idIn;
|
|
322
322
|
if (this.listEl != null && !this.serverHandledFilter) {
|
|
323
|
-
this.listEl.filter =
|
|
323
|
+
this.listEl.filter = idIn;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
return ret;
|
|
@@ -6,7 +6,7 @@ import { filterRows, sortRows, paginateRows, } from '../kup-data-table/kup-data-
|
|
|
6
6
|
import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
|
|
7
7
|
import { KupBoxState } from './kup-box-state';
|
|
8
8
|
import { setTooltip, unsetTooltip } from '../../utils/helpers';
|
|
9
|
-
import {
|
|
9
|
+
import { getProps, identify, setProps } from '../../utils/utils';
|
|
10
10
|
import { FImage } from '../../f-components/f-image/f-image';
|
|
11
11
|
import { FChip } from '../../f-components/f-chip/f-chip';
|
|
12
12
|
import { KupDebugCategory } from '../../managers/kup-debug/kup-debug-declarations';
|
|
@@ -181,19 +181,19 @@ export class KupBox {
|
|
|
181
181
|
persistState() {
|
|
182
182
|
if (this.store && this.stateId) {
|
|
183
183
|
let somethingChanged = false;
|
|
184
|
-
if (!deepEqual(this.state.sortBy, this.sortBy)) {
|
|
184
|
+
if (!this.kupManager.objects.deepEqual(this.state.sortBy, this.sortBy)) {
|
|
185
185
|
this.state.sortBy = this.sortBy;
|
|
186
186
|
somethingChanged = true;
|
|
187
187
|
}
|
|
188
|
-
if (!deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
188
|
+
if (!this.kupManager.objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
189
189
|
this.state.globalFilterValue = this.globalFilterValue;
|
|
190
190
|
somethingChanged = true;
|
|
191
191
|
}
|
|
192
|
-
if (!deepEqual(this.state.pageSelected, this.currentPage)) {
|
|
192
|
+
if (!this.kupManager.objects.deepEqual(this.state.pageSelected, this.currentPage)) {
|
|
193
193
|
this.state.pageSelected = this.currentPage;
|
|
194
194
|
somethingChanged = true;
|
|
195
195
|
}
|
|
196
|
-
if (!deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
|
|
196
|
+
if (!this.kupManager.objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
|
|
197
197
|
this.state.rowsPerPage = this.currentRowsPerPage;
|
|
198
198
|
somethingChanged = true;
|
|
199
199
|
}
|
|
@@ -201,7 +201,7 @@ export class KupBox {
|
|
|
201
201
|
const prefix = currentIndex > 0 ? ';' : '';
|
|
202
202
|
return accumulator + prefix + row.id;
|
|
203
203
|
}, '');
|
|
204
|
-
if (!deepEqual(this.state.selectedRowsState, selectedRowsState)) {
|
|
204
|
+
if (!this.kupManager.objects.deepEqual(this.state.selectedRowsState, selectedRowsState)) {
|
|
205
205
|
this.state.selectedRowsState = selectedRowsState;
|
|
206
206
|
somethingChanged = true;
|
|
207
207
|
}
|
|
@@ -1207,13 +1207,13 @@ export class KupBox {
|
|
|
1207
1207
|
// creating items
|
|
1208
1208
|
const visibleColumnsItems = this.visibleColumns.map((column) => {
|
|
1209
1209
|
const item = {
|
|
1210
|
-
|
|
1211
|
-
|
|
1210
|
+
value: column.title,
|
|
1211
|
+
id: column.name,
|
|
1212
1212
|
selected: column.name === this.sortBy,
|
|
1213
1213
|
};
|
|
1214
1214
|
return item;
|
|
1215
1215
|
});
|
|
1216
|
-
const items = [{
|
|
1216
|
+
const items = [{ value: '', id: '' }, ...visibleColumnsItems];
|
|
1217
1217
|
let textfieldData = {
|
|
1218
1218
|
label: this.kupManager.language.translate(KupLanguageGeneric.SORT_BY),
|
|
1219
1219
|
trailingIcon: true,
|
|
@@ -82,7 +82,7 @@ export class KupButtonList {
|
|
|
82
82
|
if (newData.columns) {
|
|
83
83
|
this.kupManager.debug.logMessage(this, 'Detected KupDataDataset: converting rows to nodes.', KupDebugCategory.WARNING);
|
|
84
84
|
const data = this.data;
|
|
85
|
-
this.data = this.kupManager.data.
|
|
85
|
+
this.data = this.kupManager.data.row.toNode(data);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
/*-------------------------------------------------*/
|
|
@@ -216,10 +216,10 @@ export class KupButtonList {
|
|
|
216
216
|
return data;
|
|
217
217
|
}
|
|
218
218
|
getKupListDataForChildren(children) {
|
|
219
|
-
|
|
219
|
+
const ris = [];
|
|
220
220
|
for (let i = 0; i < children.length; i++) {
|
|
221
|
-
|
|
222
|
-
ris.push({
|
|
221
|
+
const tn = children[i];
|
|
222
|
+
ris.push({ icon: tn.icon, id: i.toString(), value: tn.value });
|
|
223
223
|
}
|
|
224
224
|
return ris;
|
|
225
225
|
}
|
|
@@ -3,6 +3,7 @@ import { KupCardCSSClasses } from '../kup-card-declarations';
|
|
|
3
3
|
import { prepareCalendar } from './kup-card-calendar';
|
|
4
4
|
import { prepareClock } from './kup-card-clock';
|
|
5
5
|
import { prepareColumnDropMenu } from './kup-card-column-drop-menu';
|
|
6
|
+
import { prepareNumeric } from './kup-card-numeric';
|
|
6
7
|
/**
|
|
7
8
|
* 1st built-in layout, calendar view.
|
|
8
9
|
* @param {KupCard} component - Card component.
|
|
@@ -36,3 +37,12 @@ export function create3(component) {
|
|
|
36
37
|
export function create4(component) {
|
|
37
38
|
return (h("div", { class: `built-in-layout-${component.layoutNumber} ${KupCardCSSClasses.BUILT_IN_CARD}` }));
|
|
38
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* 5th built-in layout, numeric picker.
|
|
42
|
+
* This layout is rendered after the render cycle completes.
|
|
43
|
+
* @param {KupCard} component - Card component.
|
|
44
|
+
* @returns {VNode} 4th built-in layout virtual node.
|
|
45
|
+
*/
|
|
46
|
+
export function create5(component) {
|
|
47
|
+
return (h("div", { class: `built-in-layout-${component.layoutNumber} ${KupCardCSSClasses.BUILT_IN_CARD}` }, prepareNumeric(component)));
|
|
48
|
+
}
|
|
@@ -44,16 +44,16 @@ function prepareList(options) {
|
|
|
44
44
|
const listData = [];
|
|
45
45
|
if (options.enableMerge) {
|
|
46
46
|
listData.push({
|
|
47
|
-
text: dom.ketchup.language.translate(KupLanguageGeneric.MERGE),
|
|
48
|
-
value: KupLanguageGeneric.MERGE,
|
|
49
47
|
icon: 'library_add',
|
|
48
|
+
id: KupLanguageGeneric.MERGE,
|
|
49
|
+
value: dom.ketchup.language.translate(KupLanguageGeneric.MERGE),
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
if (options.enableMove) {
|
|
53
53
|
listData.push({
|
|
54
|
-
text: dom.ketchup.language.translate(KupLanguageGeneric.MOVE),
|
|
55
|
-
value: KupLanguageGeneric.MOVE,
|
|
56
54
|
icon: 'swap_horiz',
|
|
55
|
+
id: KupLanguageGeneric.MOVE,
|
|
56
|
+
value: dom.ketchup.language.translate(KupLanguageGeneric.MOVE),
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
return listData.length > 0 ? (h("kup-list", { data: listData, showIcons: true, "onkup-list-click": (e) => listClick(e, options) })) : null;
|
|
@@ -64,29 +64,29 @@ function prepareCombobox(options, numericalColumnsExist) {
|
|
|
64
64
|
dom.ketchup.objects.isNumber(options.starterColumn.obj);
|
|
65
65
|
if (numeric) {
|
|
66
66
|
comboListData.push({
|
|
67
|
-
|
|
68
|
-
value: KupLanguageTotals.AVERAGE,
|
|
67
|
+
id: KupLanguageTotals.AVERAGE,
|
|
68
|
+
value: dom.ketchup.language.translate(KupLanguageTotals.AVERAGE),
|
|
69
69
|
}, {
|
|
70
|
-
|
|
71
|
-
value: KupLanguageTotals.DIFFERENCE,
|
|
70
|
+
id: KupLanguageTotals.DIFFERENCE,
|
|
71
|
+
value: dom.ketchup.language.translate(KupLanguageTotals.DIFFERENCE),
|
|
72
72
|
}, {
|
|
73
|
-
|
|
74
|
-
value: KupLanguageTotals.PRODUCT,
|
|
73
|
+
id: KupLanguageTotals.PRODUCT,
|
|
74
|
+
value: dom.ketchup.language.translate(KupLanguageTotals.PRODUCT),
|
|
75
75
|
}, {
|
|
76
|
-
|
|
77
|
-
value: KupLanguageTotals.SUM,
|
|
76
|
+
id: KupLanguageTotals.SUM,
|
|
77
|
+
value: dom.ketchup.language.translate(KupLanguageTotals.SUM),
|
|
78
78
|
}, {
|
|
79
|
-
|
|
80
|
-
value: `
|
|
79
|
+
id: `([${options.starterColumn.name}]/[${options.receivingColumn.name}])*100`,
|
|
80
|
+
value: `[${options.starterColumn.name}] / [${options.receivingColumn.name}] * 100`,
|
|
81
81
|
}, {
|
|
82
|
-
|
|
83
|
-
value: `
|
|
82
|
+
id: `([${options.receivingColumn.name}]/[${options.starterColumn.name}])*100`,
|
|
83
|
+
value: `[${options.receivingColumn.name}] / [${options.starterColumn.name}] * 100`,
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
comboListData.push({
|
|
88
|
-
|
|
89
|
-
value: KupLanguageColumn.NO_FORMULA,
|
|
88
|
+
id: KupLanguageColumn.NO_FORMULA,
|
|
89
|
+
value: dom.ketchup.language.translate(KupLanguageColumn.NO_FORMULA),
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
const comboData = {
|
|
@@ -139,7 +139,7 @@ async function applyFormula(component) {
|
|
|
139
139
|
if (combobox) {
|
|
140
140
|
const value = (await combobox.getValue());
|
|
141
141
|
if (premadeFormulas.includes(value)) {
|
|
142
|
-
dom.ketchup.data.
|
|
142
|
+
dom.ketchup.data.column.new(options.data, KupDataNewColumnTypes.MATH, {
|
|
143
143
|
columns: [
|
|
144
144
|
options.receivingColumn.name,
|
|
145
145
|
options.starterColumn.name,
|
|
@@ -151,7 +151,7 @@ async function applyFormula(component) {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
else {
|
|
154
|
-
const result = dom.ketchup.data.
|
|
154
|
+
const result = dom.ketchup.data.column.new(options.data, KupDataNewColumnTypes.MATH, {
|
|
155
155
|
operation: value,
|
|
156
156
|
});
|
|
157
157
|
if (typeof result === 'string' || result instanceof String) {
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { FButton } from '../../../f-components/f-button/f-button';
|
|
3
|
+
const dom = document.documentElement;
|
|
4
|
+
const maximumFractionDigits = 14;
|
|
5
|
+
export function prepareNumeric(component) {
|
|
6
|
+
const el = component.rootElement;
|
|
7
|
+
if (!el.kupData)
|
|
8
|
+
el.kupData = {
|
|
9
|
+
value: null,
|
|
10
|
+
localeValue: '',
|
|
11
|
+
};
|
|
12
|
+
let decimals = false;
|
|
13
|
+
let negative = false;
|
|
14
|
+
const options = getOptions(component);
|
|
15
|
+
if (options.resetStatus) {
|
|
16
|
+
el.kupData = {
|
|
17
|
+
value: null,
|
|
18
|
+
localeValue: '',
|
|
19
|
+
};
|
|
20
|
+
const obj = options.initialValue;
|
|
21
|
+
if (options.initialValue) {
|
|
22
|
+
if (obj && obj.k)
|
|
23
|
+
el.kupData.value = obj.k;
|
|
24
|
+
else
|
|
25
|
+
el.kupData.value = options.initialValue.toString();
|
|
26
|
+
el.kupData.localeValue = dom.ketchup.math.numbers.toLocaleString(el.kupData.value);
|
|
27
|
+
}
|
|
28
|
+
options.resetStatus = false;
|
|
29
|
+
}
|
|
30
|
+
if (options.negative)
|
|
31
|
+
negative = true;
|
|
32
|
+
if (options.decimals)
|
|
33
|
+
decimals = true;
|
|
34
|
+
const clearButtonProp = {
|
|
35
|
+
icon: 'cancel',
|
|
36
|
+
onClick: () => clearValue(component),
|
|
37
|
+
};
|
|
38
|
+
const saveButtonProp = {
|
|
39
|
+
icon: 'save',
|
|
40
|
+
onClick: () => saveValue(component),
|
|
41
|
+
};
|
|
42
|
+
const decChar = getDecimalChar();
|
|
43
|
+
return (h("table", null,
|
|
44
|
+
h("tr", null,
|
|
45
|
+
h("td", { colSpan: 3 },
|
|
46
|
+
h("div", { class: "value" }, el.kupData.localeValue))),
|
|
47
|
+
h("tr", null,
|
|
48
|
+
h("td", null,
|
|
49
|
+
h("div", { class: "number", onClick: () => setValue(component, '1') }, "1")),
|
|
50
|
+
h("td", null,
|
|
51
|
+
h("div", { class: "number", onClick: () => setValue(component, '2') }, "2")),
|
|
52
|
+
h("td", null,
|
|
53
|
+
h("div", { class: "number", onClick: () => setValue(component, '3') }, "3"))),
|
|
54
|
+
h("tr", null,
|
|
55
|
+
h("td", null,
|
|
56
|
+
h("div", { class: "number", onClick: () => setValue(component, '4') }, "4")),
|
|
57
|
+
h("td", null,
|
|
58
|
+
h("div", { class: "number", onClick: () => setValue(component, '5') }, "5")),
|
|
59
|
+
h("td", null,
|
|
60
|
+
h("div", { class: "number", onClick: () => setValue(component, '6') }, "6"))),
|
|
61
|
+
h("tr", null,
|
|
62
|
+
h("td", null,
|
|
63
|
+
h("div", { class: "number", onClick: () => setValue(component, '7') }, "7")),
|
|
64
|
+
h("td", null,
|
|
65
|
+
h("div", { class: "number", onClick: () => setValue(component, '8') }, "8")),
|
|
66
|
+
h("td", null,
|
|
67
|
+
h("div", { class: "number", onClick: () => setValue(component, '9') }, "9"))),
|
|
68
|
+
h("tr", null,
|
|
69
|
+
h("td", null, negative
|
|
70
|
+
? [
|
|
71
|
+
h("div", { class: "number", onClick: () => setSign(component) }, "-"),
|
|
72
|
+
]
|
|
73
|
+
: []),
|
|
74
|
+
h("td", null,
|
|
75
|
+
h("div", { class: "number", onClick: () => setValue(component, '0') }, "0")),
|
|
76
|
+
h("td", null, decimals
|
|
77
|
+
? [
|
|
78
|
+
h("div", { class: "number", onClick: () => setValue(component, '.') }, decChar),
|
|
79
|
+
]
|
|
80
|
+
: [])),
|
|
81
|
+
h("tr", null,
|
|
82
|
+
h("td", null),
|
|
83
|
+
h("td", null,
|
|
84
|
+
h(FButton, Object.assign({}, clearButtonProp))),
|
|
85
|
+
h("td", null,
|
|
86
|
+
h(FButton, Object.assign({}, saveButtonProp))))));
|
|
87
|
+
}
|
|
88
|
+
function getOptions(component) {
|
|
89
|
+
if (component.data.options)
|
|
90
|
+
return component.data.options;
|
|
91
|
+
else
|
|
92
|
+
return { resetStatus: false };
|
|
93
|
+
}
|
|
94
|
+
function setSign(component) {
|
|
95
|
+
const el = component.rootElement;
|
|
96
|
+
let strVal = el.kupData.value ? el.kupData.value : '0';
|
|
97
|
+
if (strVal.startsWith('-'))
|
|
98
|
+
return;
|
|
99
|
+
strVal = '-' + strVal;
|
|
100
|
+
el.kupData.value = strVal;
|
|
101
|
+
el.kupData.localeValue = dom.ketchup.math.numbers.toLocaleString(strVal);
|
|
102
|
+
component.refresh();
|
|
103
|
+
}
|
|
104
|
+
function setValue(component, value) {
|
|
105
|
+
const options = getOptions(component);
|
|
106
|
+
const el = component.rootElement;
|
|
107
|
+
const decChar = '.';
|
|
108
|
+
let strVal = el.kupData.value ? el.kupData.value.toString() : '0';
|
|
109
|
+
// if the first value is 0 and the character you want to insert is not a comma, I clear the field.
|
|
110
|
+
if (strVal == '0' && value != decChar) {
|
|
111
|
+
strVal = '';
|
|
112
|
+
}
|
|
113
|
+
// if I have already entered a decimal sign I stop.
|
|
114
|
+
if (value == decChar && strVal.includes(decChar))
|
|
115
|
+
return;
|
|
116
|
+
// if the text field contains the maximum number entered, excluding the comma, I stop.
|
|
117
|
+
if (options.maxLength &&
|
|
118
|
+
strVal.replace(decChar, '').length == options.maxLength)
|
|
119
|
+
return;
|
|
120
|
+
// if a maximum number of integers is required, and I don't have the comma, I check to be right with the values.
|
|
121
|
+
if (options.maxIntegers &&
|
|
122
|
+
value != decChar &&
|
|
123
|
+
!strVal.includes(decChar) &&
|
|
124
|
+
strVal.length == options.maxIntegers)
|
|
125
|
+
return;
|
|
126
|
+
// if a maximum number of decimals has been requested, check where we are.
|
|
127
|
+
if (options.maxDecimals &&
|
|
128
|
+
strVal.includes(decChar) &&
|
|
129
|
+
strVal.substring(strVal.indexOf(decChar) + 1).length ==
|
|
130
|
+
options.maxDecimals)
|
|
131
|
+
return;
|
|
132
|
+
// if the maximum number of decimals in JS has been reached, I stop.
|
|
133
|
+
if (strVal.includes(decChar) &&
|
|
134
|
+
strVal.substring(strVal.indexOf(decChar) + 1).length == 14)
|
|
135
|
+
return;
|
|
136
|
+
strVal += value;
|
|
137
|
+
el.kupData.value = strVal;
|
|
138
|
+
el.kupData.localeValue = dom.ketchup.math.numbers.toLocaleString(strVal);
|
|
139
|
+
component.refresh();
|
|
140
|
+
}
|
|
141
|
+
function clearValue(component) {
|
|
142
|
+
const el = component.rootElement;
|
|
143
|
+
el.kupData.value = null;
|
|
144
|
+
el.kupData.localeValue = '';
|
|
145
|
+
component.refresh();
|
|
146
|
+
}
|
|
147
|
+
function getDecimalChar() {
|
|
148
|
+
return (0.1).toLocaleString(dom.ketchup.math.locale).substring(1, 2);
|
|
149
|
+
}
|
|
150
|
+
function saveValue(component) {
|
|
151
|
+
const el = component.rootElement;
|
|
152
|
+
component.onKupClick(component.rootElement.id, el.kupData.value ? Number(el.kupData.value).toString() : '');
|
|
153
|
+
}
|
|
@@ -766,6 +766,41 @@
|
|
|
766
766
|
outline: none;
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
+
.built-in-layout-5 {
|
|
770
|
+
background: var(--kup-background-color);
|
|
771
|
+
box-shadow: var(--kup-box-shadow);
|
|
772
|
+
box-sizing: border-box;
|
|
773
|
+
overflow: auto;
|
|
774
|
+
padding: 0.5em;
|
|
775
|
+
}
|
|
776
|
+
.built-in-layout-5 > table {
|
|
777
|
+
width: 100%;
|
|
778
|
+
}
|
|
779
|
+
.built-in-layout-5 > table > tr > td > div.value {
|
|
780
|
+
text-align: right;
|
|
781
|
+
color: var(--kup-primary-color);
|
|
782
|
+
border-bottom: 1px solid var(--kup-border-color);
|
|
783
|
+
min-height: 1.5em;
|
|
784
|
+
}
|
|
785
|
+
.built-in-layout-5 > table > tr > td > .f-button {
|
|
786
|
+
display: flex;
|
|
787
|
+
justify-content: center;
|
|
788
|
+
}
|
|
789
|
+
.built-in-layout-5 > table > tr > td > div.number {
|
|
790
|
+
border-radius: 50%;
|
|
791
|
+
cursor: pointer;
|
|
792
|
+
display: flex;
|
|
793
|
+
justify-content: center;
|
|
794
|
+
line-height: 2.5em;
|
|
795
|
+
margin: auto;
|
|
796
|
+
width: 2.5em;
|
|
797
|
+
transition: background-color 0.25s;
|
|
798
|
+
text-transform: capitalize;
|
|
799
|
+
}
|
|
800
|
+
.built-in-layout-5 > table > tr > td > div.number:hover {
|
|
801
|
+
background-color: var(--kup-hover-background-color);
|
|
802
|
+
}
|
|
803
|
+
|
|
769
804
|
.collapsible-layout-1 {
|
|
770
805
|
color: var(--kup-text-color);
|
|
771
806
|
box-shadow: 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);
|
|
@@ -351,6 +351,7 @@ export class KupCard {
|
|
|
351
351
|
root.addEventListener('kup-timepicker-textfieldsubmit', this.cardEvent);
|
|
352
352
|
root.addEventListener('kup-tree-dynamicmassexpansion', this.cardEvent);
|
|
353
353
|
root.addEventListener('kup-tree-buttonclick', this.cardEvent);
|
|
354
|
+
root.addEventListener('kup-tree-didunload', this.cardEvent);
|
|
354
355
|
root.addEventListener('kup-tree-nodecollapse', this.cardEvent);
|
|
355
356
|
root.addEventListener('kup-tree-nodedblclick', this.cardEvent);
|
|
356
357
|
root.addEventListener('kup-tree-nodeexpand', this.cardEvent);
|
|
@@ -46,7 +46,7 @@ export class KupChip {
|
|
|
46
46
|
const isChoice = this.type.toLowerCase() === FChipType.CHOICE;
|
|
47
47
|
const isFilter = this.type.toLowerCase() === FChipType.FILTER;
|
|
48
48
|
if (isChoice) {
|
|
49
|
-
this.kupManager.data.
|
|
49
|
+
this.kupManager.data.node.setProperties(this.data, { checked: false }, true, [chip]);
|
|
50
50
|
}
|
|
51
51
|
if (isChoice || isFilter) {
|
|
52
52
|
chip.checked = chip.checked ? false : true;
|
|
@@ -69,7 +69,7 @@ export class KupChip {
|
|
|
69
69
|
this.kupIconClick.emit({
|
|
70
70
|
comp: this,
|
|
71
71
|
id: this.rootElement.id,
|
|
72
|
-
chip: this.kupManager.data.
|
|
72
|
+
chip: this.kupManager.data.node.remove(this.data, chip),
|
|
73
73
|
});
|
|
74
74
|
this.refresh();
|
|
75
75
|
}
|
|
@@ -83,7 +83,7 @@ export class KupChip {
|
|
|
83
83
|
if (newData.columns) {
|
|
84
84
|
this.kupManager.debug.logMessage(this, 'Detected KupDataDataset: converting rows to nodes.', KupDebugCategory.WARNING);
|
|
85
85
|
const data = this.data;
|
|
86
|
-
this.data = this.kupManager.data.
|
|
86
|
+
this.data = this.kupManager.data.row.toNode(data);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
/*-------------------------------------------------*/
|
|
@@ -176,7 +176,7 @@ export class KupChip {
|
|
|
176
176
|
props.onExpansionClick.push((chip, e) => {
|
|
177
177
|
chip.isExpanded = !chip.isExpanded ? true : false;
|
|
178
178
|
if (e.ctrlKey && chip.children && chip.children.length > 0) {
|
|
179
|
-
this.kupManager.data.
|
|
179
|
+
this.kupManager.data.node.setProperties(chip.children, { isExpanded: chip.isExpanded }, true);
|
|
180
180
|
}
|
|
181
181
|
this.refresh();
|
|
182
182
|
});
|
|
@@ -808,8 +808,8 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
808
808
|
__classPrivateFieldGet(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupCombobox_clickCb, "f"));
|
|
809
809
|
}, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
|
|
810
810
|
return __classPrivateFieldGet(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
811
|
-
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(e,
|
|
812
|
-
let ret = consistencyCheck(
|
|
811
|
+
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(e, idIn, setValue) {
|
|
812
|
+
let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode, e);
|
|
813
813
|
if (ret.exists && setValue) {
|
|
814
814
|
this.value = ret.value;
|
|
815
815
|
this.displayedValue = ret.displayedValue;
|
|
@@ -818,10 +818,10 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
else {
|
|
821
|
-
this.value =
|
|
822
|
-
this.displayedValue =
|
|
821
|
+
this.value = idIn;
|
|
822
|
+
this.displayedValue = idIn;
|
|
823
823
|
if (__classPrivateFieldGet(this, _KupCombobox_listEl, "f") != null) {
|
|
824
|
-
__classPrivateFieldGet(this, _KupCombobox_listEl, "f").filter =
|
|
824
|
+
__classPrivateFieldGet(this, _KupCombobox_listEl, "f").filter = idIn;
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
return ret;
|
|
@@ -40,8 +40,6 @@ export var KupDataTableProps;
|
|
|
40
40
|
KupDataTableProps["rowActions"] = "Sets the actions of the rows.";
|
|
41
41
|
KupDataTableProps["rowsPerPage"] = "Sets the number of rows per page to display.";
|
|
42
42
|
KupDataTableProps["scrollOnHover"] = "Activates the scroll on hover function.";
|
|
43
|
-
KupDataTableProps["selectRow"] = "Selects the row at the specified rendered rows prosition (base 1).";
|
|
44
|
-
KupDataTableProps["selectRowsById"] = "Semicolon separated rows id to select.";
|
|
45
43
|
KupDataTableProps["showCustomization"] = "If set to true, displays the button to open the customization panel.";
|
|
46
44
|
KupDataTableProps["showFilters"] = "When set to true enables the column filters.";
|
|
47
45
|
KupDataTableProps["showFooter"] = "When set to true shows the footer.";
|