@sme.up/ketchup 5.2.0-SNAPSHOT → 6.0.0
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/{cell-utils-5b16c180.js → cell-utils-a78d6fac.js} +2 -2
- package/dist/cjs/{component-d1496215.js → component-72a5b626.js} +30 -0
- package/dist/cjs/{f-button-3b9f32af.js → f-button-ac179257.js} +2 -2
- package/dist/cjs/{f-cell-c6ad973a.js → f-cell-69294bca.js} +33 -121
- package/dist/cjs/{f-chip-bed86c4a.js → f-chip-b00897d7.js} +5 -4
- package/dist/cjs/{f-image-08a3d340.js → f-image-89f25556.js} +2 -2
- package/dist/cjs/f-paginator-utils-8fa501b3.js +1898 -0
- package/dist/cjs/f-text-field-e1e45ade.js +94 -0
- package/dist/cjs/f-text-field-mdc-85997738.js +2570 -0
- package/dist/cjs/{index-8d7bb3be.js → index-eb556444.js} +2 -0
- 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} +1788 -8378
- package/dist/cjs/{kup-echart.cjs.entry.js → kup-box_2.cjs.entry.js} +17102 -14788
- package/dist/cjs/kup-calendar.cjs.entry.js +42 -34
- package/dist/cjs/kup-cell.cjs.entry.js +8 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +3 -3
- 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-editor.cjs.entry.js +404 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +228 -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-7a941909.js +16703 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +423 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +5 -5
- 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-b9df398c.js → utils-6287d878.js} +1 -1
- package/dist/collection/assets/card.js +4 -5
- package/dist/collection/assets/data-table.js +44 -79
- package/dist/collection/assets/form-editor.js +338 -0
- package/dist/collection/assets/image-list.js +624 -0
- package/dist/collection/assets/index.js +16 -0
- package/dist/collection/assets/kupdata.js +0 -3
- package/dist/collection/assets/kuptooltip.js +654 -0
- 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 +1 -1
- package/dist/collection/components/kup-box/kup-box-declarations.js +0 -4
- package/dist/collection/components/kup-box/kup-box.js +7 -135
- 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-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/built-in/kup-card-numeric.js +153 -0
- package/dist/collection/components/kup-card/kup-card.css +61 -8
- package/dist/collection/components/kup-card/kup-card.js +2 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +14 -6
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -3
- 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 +50 -138
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.css +1 -0
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -1
- package/dist/collection/components/kup-form-editor/kup-form-editor-declarations.js +23 -0
- package/dist/collection/components/kup-form-editor/kup-form-editor.css +80 -0
- package/dist/collection/components/kup-form-editor/kup-form-editor.js +561 -0
- 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-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.css +3 -13
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +1 -1
- 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-time-picker/kup-time-picker.js +2 -2
- 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 +81 -145
- package/dist/collection/f-components/f-cell/f-cell.js +7 -7
- package/dist/collection/f-components/f-chip/f-chip.js +2 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +24 -0
- package/dist/collection/managers/kup-data/kup-data.js +4 -1
- package/dist/collection/managers/kup-debug/kup-debug.js +1 -0
- 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 +2 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +31 -1
- package/dist/collection/managers/kup-math/kup-math.js +11 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +6 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip-declarations.js +1 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +224 -0
- package/dist/collection/types/GenericTypes.js +3 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +8 -12
- package/dist/esm/{cell-utils-69f75e2e.js → cell-utils-964da6b5.js} +3 -3
- package/dist/esm/{component-c4eb6153.js → component-b1bedf1d.js} +27 -2
- package/dist/esm/{f-button-7e7607d8.js → f-button-871a544b.js} +2 -2
- package/dist/esm/{f-cell-e4d83c27.js → f-cell-521ef17a.js} +33 -120
- package/dist/esm/{f-chip-51dfefaf.js → f-chip-1dda722f.js} +6 -5
- package/dist/esm/{f-image-de331954.js → f-image-c468d8ae.js} +2 -2
- package/dist/esm/f-paginator-utils-7dff8ff0.js +1884 -0
- package/dist/esm/f-text-field-d6c61c73.js +92 -0
- package/dist/esm/f-text-field-mdc-d42d3f9e.js +2568 -0
- package/dist/esm/{index-aeec9835.js → index-baeab1ac.js} +2 -1
- 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} +1724 -8312
- package/dist/esm/{kup-echart.entry.js → kup-box_2.entry.js} +17102 -14789
- package/dist/esm/kup-calendar.entry.js +43 -35
- package/dist/esm/kup-cell.entry.js +8 -7
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +3 -3
- package/dist/esm/kup-drawer.entry.js +12 -5
- package/dist/esm/kup-field.entry.js +2 -2
- package/dist/esm/kup-form-editor.entry.js +400 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +224 -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-58b075b4.js +16686 -0
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +419 -0
- package/dist/esm/kup-photo-frame.entry.js +5 -5
- 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-35c7a90d.js → utils-d7e4b3c2.js} +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-5d190cf5.js → p-1ae66cc5.js} +1 -1
- package/dist/ketchup/{p-8be1337b.js → p-34b74425.js} +1 -1
- package/dist/ketchup/{p-fea316ab.entry.js → p-3c11e615.entry.js} +1 -1
- package/dist/ketchup/p-44ec4f03.js +1 -0
- package/dist/ketchup/p-4ffbc3ff.js +1 -0
- package/dist/ketchup/p-5264a3e6.entry.js +1 -0
- package/dist/ketchup/{p-d7af8156.entry.js → p-65974e48.entry.js} +1 -1
- package/dist/ketchup/p-65b46587.entry.js +40 -0
- package/dist/ketchup/{p-3813281b.entry.js → p-6dff70f8.entry.js} +1 -1
- package/dist/ketchup/{p-33073f4a.js → p-7454cb92.js} +1 -1
- package/dist/ketchup/{p-a0b1d769.js → p-79b0730b.js} +1 -1
- package/dist/ketchup/p-7eff4eee.js +1 -0
- package/dist/ketchup/p-80968627.entry.js +1 -0
- package/dist/ketchup/{p-8c44c3b9.js → p-81605f08.js} +4 -5
- package/dist/ketchup/p-8cdf61a4.js +1 -0
- package/dist/ketchup/{p-f9c41e20.entry.js → p-954cc340.entry.js} +1 -1
- package/dist/ketchup/p-99e0d768.entry.js +1 -0
- package/dist/ketchup/{p-8f735633.entry.js → p-a0f6e25c.entry.js} +1 -1
- package/dist/ketchup/p-a203f78b.js +45 -0
- package/dist/ketchup/{p-9bcda66f.entry.js → p-a615a92b.entry.js} +1 -1
- package/dist/ketchup/p-aca0e54b.js +30 -0
- package/dist/ketchup/p-b8939a8b.entry.js +1 -0
- package/dist/ketchup/p-bfc3bac7.js +1 -0
- package/dist/ketchup/{p-67c64257.entry.js → p-c5ce8951.entry.js} +1 -1
- package/dist/ketchup/p-cad1e097.entry.js +9 -0
- package/dist/ketchup/{p-68fc1428.entry.js → p-d2ee56dd.entry.js} +1 -1
- package/dist/ketchup/p-db71436b.entry.js +27 -0
- package/dist/ketchup/{p-10c8d755.js → p-e0035c58.js} +1 -1
- package/dist/ketchup/p-e1039cf2.entry.js +1 -0
- package/dist/ketchup/{p-b5e1dbfa.entry.js → p-ea10176c.entry.js} +1 -1
- package/dist/ketchup/p-f09f2f98.entry.js +1 -0
- package/dist/ketchup/{p-0751aaf6.entry.js → p-f71a1675.entry.js} +1 -1
- package/dist/ketchup/{p-4081f5f7.entry.js → p-fac1a08b.entry.js} +1 -1
- 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-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 +4 -4
- 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 +5 -19
- package/dist/types/components/kup-form-editor/kup-form-editor-declarations.d.ts +79 -0
- package/dist/types/components/kup-form-editor/kup-form-editor.d.ts +72 -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-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-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-tree/kup-tree-declarations.d.ts +1 -5
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -25
- package/dist/types/components.d.ts +265 -232
- 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 +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +2 -0
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +14 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +14 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +6 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +2 -1
- package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +8 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +51 -0
- 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 +16 -15
- package/dist/cjs/kup-manager-4227f0a2.js +0 -8582
- 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/kup-manager-0ab94726.js +0 -8565
- package/dist/ketchup/p-24df4f29.entry.js +0 -27
- package/dist/ketchup/p-2d4f19f4.js +0 -1
- package/dist/ketchup/p-3445be1e.entry.js +0 -1
- package/dist/ketchup/p-3aab1f0d.entry.js +0 -1
- package/dist/ketchup/p-47b57d97.js +0 -1
- package/dist/ketchup/p-5186885c.entry.js +0 -1
- package/dist/ketchup/p-78223dc0.entry.js +0 -143
- package/dist/ketchup/p-96101f09.entry.js +0 -39
- package/dist/ketchup/p-c314b1e6.js +0 -1
- package/dist/ketchup/p-ee33cbe9.js +0 -9
- 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
|
@@ -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);
|
|
@@ -2247,6 +2282,7 @@
|
|
|
2247
2282
|
margin: 0 0.5em 0 0;
|
|
2248
2283
|
}
|
|
2249
2284
|
.standard-layout-14 .section-1 .title {
|
|
2285
|
+
--kup-button-font-size: 0.75em;
|
|
2250
2286
|
font-size: 1.25em;
|
|
2251
2287
|
margin-top: -0.5em;
|
|
2252
2288
|
padding: 0 0.25em 0.25em;
|
|
@@ -2345,15 +2381,16 @@
|
|
|
2345
2381
|
}
|
|
2346
2382
|
|
|
2347
2383
|
.standard-layout-15 {
|
|
2348
|
-
outline: none;
|
|
2349
|
-
display: block;
|
|
2350
|
-
font-size: var(--kup-font-size);
|
|
2351
2384
|
background: var(--kup-background-color);
|
|
2352
|
-
color: var(--kup-text-color);
|
|
2353
|
-
box-shadow: var(--kup-box-shadow);
|
|
2354
2385
|
border-radius: 3px;
|
|
2386
|
+
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
|
2387
|
+
color: var(--kup-text-color);
|
|
2388
|
+
display: block;
|
|
2389
|
+
font-size: var(--kup-font-size);
|
|
2390
|
+
outline: none;
|
|
2355
2391
|
}
|
|
2356
2392
|
.standard-layout-15 .section-1 {
|
|
2393
|
+
--kup-button-font-size: 0.75em;
|
|
2357
2394
|
box-sizing: border-box;
|
|
2358
2395
|
display: flex;
|
|
2359
2396
|
padding: 1em;
|
|
@@ -2370,13 +2407,19 @@
|
|
|
2370
2407
|
margin: 0 0.5em 0 0;
|
|
2371
2408
|
}
|
|
2372
2409
|
.standard-layout-15 .section-1 .title {
|
|
2410
|
+
align-items: center;
|
|
2411
|
+
display: flex;
|
|
2373
2412
|
font-size: 1.25em;
|
|
2413
|
+
font-weight: 600;
|
|
2374
2414
|
padding: 0 0.25em 0.25em;
|
|
2375
2415
|
text-align: left;
|
|
2376
2416
|
}
|
|
2377
2417
|
.standard-layout-15 .section-1 .title .label {
|
|
2378
2418
|
cursor: pointer;
|
|
2379
2419
|
padding-right: 0.25em;
|
|
2420
|
+
overflow: hidden;
|
|
2421
|
+
text-overflow: ellipsis;
|
|
2422
|
+
white-space: nowrap;
|
|
2380
2423
|
}
|
|
2381
2424
|
.standard-layout-15 .section-1 .title .label:hover {
|
|
2382
2425
|
text-decoration: underline;
|
|
@@ -2393,6 +2436,7 @@
|
|
|
2393
2436
|
width: auto;
|
|
2394
2437
|
}
|
|
2395
2438
|
.standard-layout-15 .section-1 .info .value {
|
|
2439
|
+
font-weight: 600;
|
|
2396
2440
|
width: 100%;
|
|
2397
2441
|
}
|
|
2398
2442
|
.standard-layout-15 .section-2 {
|
|
@@ -2406,9 +2450,11 @@
|
|
|
2406
2450
|
.standard-layout-15 .section-2 .info {
|
|
2407
2451
|
box-sizing: border-box;
|
|
2408
2452
|
height: 100%;
|
|
2453
|
+
overflow: auto;
|
|
2409
2454
|
padding: 1.25em;
|
|
2410
2455
|
}
|
|
2411
2456
|
.standard-layout-15 .section-2 .detail-row {
|
|
2457
|
+
align-items: center;
|
|
2412
2458
|
display: flex;
|
|
2413
2459
|
justify-content: space-between;
|
|
2414
2460
|
}
|
|
@@ -2419,11 +2465,19 @@
|
|
|
2419
2465
|
color: rgba(var(--kup-text-color-rgb), 0.5);
|
|
2420
2466
|
margin-top: 0.175em;
|
|
2421
2467
|
max-width: 320px;
|
|
2468
|
+
padding-right: 1.25em;
|
|
2469
|
+
white-space: nowrap;
|
|
2470
|
+
overflow: hidden;
|
|
2471
|
+
text-overflow: ellipsis;
|
|
2422
2472
|
}
|
|
2423
2473
|
.standard-layout-15 .section-2 .detail-row__value {
|
|
2424
2474
|
color: var(--kup-text-color);
|
|
2425
|
-
font-size:
|
|
2475
|
+
font-size: 105%;
|
|
2476
|
+
font-weight: 600;
|
|
2426
2477
|
max-width: 320px;
|
|
2478
|
+
white-space: nowrap;
|
|
2479
|
+
overflow: hidden;
|
|
2480
|
+
text-overflow: ellipsis;
|
|
2427
2481
|
}
|
|
2428
2482
|
.standard-layout-15 .section-2 kup-tree {
|
|
2429
2483
|
text-align: left;
|
|
@@ -2442,8 +2496,7 @@
|
|
|
2442
2496
|
.standard-layout-15 #open-in-new,
|
|
2443
2497
|
.standard-layout-15 #search,
|
|
2444
2498
|
.standard-layout-15 #new {
|
|
2445
|
-
margin: 0;
|
|
2446
|
-
display: inline-flex;
|
|
2499
|
+
margin: 0 0 0.5em 0;
|
|
2447
2500
|
}
|
|
2448
2501
|
|
|
2449
2502
|
/**
|
|
@@ -83,7 +83,7 @@ export class KupCard {
|
|
|
83
83
|
this.scalingActive = false;
|
|
84
84
|
this.componentWrapper = null;
|
|
85
85
|
this.colorPicker = null;
|
|
86
|
-
this.firstColorPickerChange =
|
|
86
|
+
this.firstColorPickerChange = true;
|
|
87
87
|
}
|
|
88
88
|
onKupClick(id, value) {
|
|
89
89
|
this.kupClick.emit({
|
|
@@ -256,7 +256,6 @@ export class KupCard {
|
|
|
256
256
|
const color = colorPickerOptions
|
|
257
257
|
? colorPickerOptions.initialValue
|
|
258
258
|
: null;
|
|
259
|
-
this.firstColorPickerChange = true;
|
|
260
259
|
if (!this.colorPicker) {
|
|
261
260
|
this.colorPicker = new Picker({
|
|
262
261
|
alpha: false,
|
|
@@ -351,6 +350,7 @@ export class KupCard {
|
|
|
351
350
|
root.addEventListener('kup-timepicker-textfieldsubmit', this.cardEvent);
|
|
352
351
|
root.addEventListener('kup-tree-dynamicmassexpansion', this.cardEvent);
|
|
353
352
|
root.addEventListener('kup-tree-buttonclick', this.cardEvent);
|
|
353
|
+
root.addEventListener('kup-tree-didunload', this.cardEvent);
|
|
354
354
|
root.addEventListener('kup-tree-nodecollapse', this.cardEvent);
|
|
355
355
|
root.addEventListener('kup-tree-nodedblclick', this.cardEvent);
|
|
356
356
|
root.addEventListener('kup-tree-nodeexpand', this.cardEvent);
|
|
@@ -6,6 +6,7 @@ import { FChipType } from '../../../f-components/f-chip/f-chip-declarations';
|
|
|
6
6
|
import { KupCardCSSClasses, KupCardIds } from '../kup-card-declarations';
|
|
7
7
|
import { KupColumnMenuIds } from '../../../utils/kup-column-menu/kup-column-menu-declarations';
|
|
8
8
|
import { KupThemeColorValues } from '../../../managers/kup-theme/kup-theme-declarations';
|
|
9
|
+
const dom = document.documentElement;
|
|
9
10
|
/**
|
|
10
11
|
* 1st standard card layout, inspired by Material Design.
|
|
11
12
|
* @param {KupCard} component - Card component.
|
|
@@ -592,7 +593,7 @@ export function create14(component) {
|
|
|
592
593
|
if (tabbarArray[0] && tabbarArray[0].data) {
|
|
593
594
|
for (let index = 0; index < tabbarArray[0].data.length; index++) {
|
|
594
595
|
const tab = tabbarArray[0].data[index];
|
|
595
|
-
tabsValues.push(tab.
|
|
596
|
+
tabsValues.push(tab.id);
|
|
596
597
|
if (tab.active) {
|
|
597
598
|
visibleView = index + 1;
|
|
598
599
|
}
|
|
@@ -729,11 +730,19 @@ export function create15(component) {
|
|
|
729
730
|
}
|
|
730
731
|
// Setting up buttons.
|
|
731
732
|
const buttonsIds = [];
|
|
733
|
+
const genericButtons = [];
|
|
734
|
+
const isReservedID = (id) => {
|
|
735
|
+
return (id === KupColumnMenuIds.BUTTON_OPEN_IN_NEW ||
|
|
736
|
+
id === KupColumnMenuIds.BUTTON_SEARCH);
|
|
737
|
+
};
|
|
732
738
|
for (let index = 0; index < buttonArray.length; index++) {
|
|
733
739
|
const button = buttonArray[index];
|
|
734
740
|
if (button['id']) {
|
|
735
741
|
buttonsIds.push(button['id']);
|
|
736
742
|
}
|
|
743
|
+
if (!isReservedID(button['id'])) {
|
|
744
|
+
genericButtons.push(button);
|
|
745
|
+
}
|
|
737
746
|
}
|
|
738
747
|
return (h("div", { class: `standard-layout-${component.layoutNumber}` },
|
|
739
748
|
h("div", { class: "section-1" },
|
|
@@ -757,9 +766,8 @@ export function create15(component) {
|
|
|
757
766
|
h("div", { class: "info" }, sectionTwoDetails.length > 0
|
|
758
767
|
? sectionTwoDetails
|
|
759
768
|
: null)),
|
|
760
|
-
h("div", { class: `${KupCardCSSClasses.CARD_VIEW} ${KupCardCSSClasses.VIEW_PREFIX}${viewIndex + 1}` },
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
h("kup-button", { id: "view-selector", icon: "menu" }))) : null));
|
|
769
|
+
h("div", { class: `${KupCardCSSClasses.CARD_VIEW} ${KupCardCSSClasses.VIEW_PREFIX}${viewIndex + 1}` }, treeArray[0] ? (h("kup-tree", Object.assign({ class: "kup-full-width" }, treeArray[0]))) : null)),
|
|
770
|
+
genericButtons.length > 0 ? (h("div", { class: "section-3" },
|
|
771
|
+
compList(genericButtons.slice(0, 5), 'button'),
|
|
772
|
+
h("kup-button", { title: dom.ketchup.language.translate(KupLanguageGeneric.SHOW_ROW_OPTIONS), id: "view-selector", icon: "menu" }))) : null));
|
|
765
773
|
}
|
|
@@ -146,7 +146,7 @@ export class KupCombobox {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
onKupItemClick(e) {
|
|
149
|
-
this.onKupChange(e.detail.selected.
|
|
149
|
+
this.onKupChange(e.detail.selected.id);
|
|
150
150
|
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
|
|
151
151
|
if (__classPrivateFieldGet(this, _KupCombobox_textfieldEl, "f")) {
|
|
152
152
|
__classPrivateFieldGet(this, _KupCombobox_textfieldEl, "f").focus();
|
|
@@ -47,7 +47,6 @@ export var KupDataTableProps;
|
|
|
47
47
|
KupDataTableProps["showGroups"] = "When set to true enables the column grouping.";
|
|
48
48
|
KupDataTableProps["showHeader"] = "Enables rendering of the table header.";
|
|
49
49
|
KupDataTableProps["showLoadMore"] = "If set to true, displays the button to load more records.";
|
|
50
|
-
KupDataTableProps["showTooltipOnRightClick"] = "If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.";
|
|
51
50
|
KupDataTableProps["sort"] = "Defines the current sorting options.";
|
|
52
51
|
KupDataTableProps["stateId"] = "";
|
|
53
52
|
KupDataTableProps["store"] = "";
|
|
@@ -55,9 +54,8 @@ export var KupDataTableProps;
|
|
|
55
54
|
KupDataTableProps["sortEnabled"] = "When set to true enables the sorting of the columns by clicking on the column header.";
|
|
56
55
|
KupDataTableProps["tableHeight"] = "Sets the height of the table.";
|
|
57
56
|
KupDataTableProps["tableWidth"] = "Sets the width of the table.";
|
|
58
|
-
KupDataTableProps["tooltipDetailTimeout"] = "Defines the timeout for tooltip detail";
|
|
59
|
-
KupDataTableProps["tooltipEnabled"] = "Enable show tooltip";
|
|
60
57
|
KupDataTableProps["totals"] = "Defines the current totals options.";
|
|
58
|
+
KupDataTableProps["transpose"] = "Transposes the data of the data table.";
|
|
61
59
|
})(KupDataTableProps || (KupDataTableProps = {}));
|
|
62
60
|
export var SortMode;
|
|
63
61
|
(function (SortMode) {
|
|
@@ -5,8 +5,8 @@ export class KupDataTableState {
|
|
|
5
5
|
this.expandGroups = false;
|
|
6
6
|
this.groupLabelDisplay = GroupLabelDisplayMode.BOTH;
|
|
7
7
|
this.density = 'small';
|
|
8
|
-
this.enableSortableColumns = false;
|
|
9
8
|
this.enableExtraColumns = true;
|
|
9
|
+
this.enableSortableColumns = false;
|
|
10
10
|
this.forceOneLine = false;
|
|
11
11
|
this.globalFilter = false;
|
|
12
12
|
this.globalFilterValue = '';
|
|
@@ -6,7 +6,6 @@ import { numberToFormattedStringNumber, identify, getProps, setProps, } from '..
|
|
|
6
6
|
import { ItemsDisplayMode, } from '../kup-list/kup-list-declarations';
|
|
7
7
|
import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
|
|
8
8
|
import { KupDataTableState } from './kup-data-table-state';
|
|
9
|
-
import { setTooltip, unsetTooltip } from '../../utils/helpers';
|
|
10
9
|
import { FImage } from '../../f-components/f-image/f-image';
|
|
11
10
|
import { FTextField } from '../../f-components/f-text-field/f-text-field';
|
|
12
11
|
import { FChip } from '../../f-components/f-chip/f-chip';
|
|
@@ -219,10 +218,6 @@ export class KupDataTable {
|
|
|
219
218
|
* If set to true, displays the button to load more records.
|
|
220
219
|
*/
|
|
221
220
|
this.showLoadMore = false;
|
|
222
|
-
/**
|
|
223
|
-
* If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.
|
|
224
|
-
*/
|
|
225
|
-
this.showTooltipOnRightClick = true;
|
|
226
221
|
/**
|
|
227
222
|
* Defines the current sorting options.
|
|
228
223
|
*/
|
|
@@ -244,10 +239,6 @@ export class KupDataTable {
|
|
|
244
239
|
* Sets the width of the table.
|
|
245
240
|
*/
|
|
246
241
|
this.tableWidth = undefined;
|
|
247
|
-
/**
|
|
248
|
-
* Enable show tooltip
|
|
249
|
-
*/
|
|
250
|
-
this.tooltipEnabled = true;
|
|
251
242
|
/**
|
|
252
243
|
* Transposes the data of the data table
|
|
253
244
|
*/
|
|
@@ -265,6 +256,7 @@ export class KupDataTable {
|
|
|
265
256
|
this.openedTotalMenu = null;
|
|
266
257
|
this.openedCustomSettings = false;
|
|
267
258
|
this.fontsize = 'medium';
|
|
259
|
+
this.initialized = false;
|
|
268
260
|
this.rowsLength = 0;
|
|
269
261
|
this.paginatedRowsLength = 0;
|
|
270
262
|
/**
|
|
@@ -564,7 +556,9 @@ export class KupDataTable {
|
|
|
564
556
|
}
|
|
565
557
|
}
|
|
566
558
|
recalculateData() {
|
|
567
|
-
this.
|
|
559
|
+
if (this.initialized) {
|
|
560
|
+
this.calculateData();
|
|
561
|
+
}
|
|
568
562
|
}
|
|
569
563
|
/**
|
|
570
564
|
* Closes any opened column menu.
|
|
@@ -603,6 +597,12 @@ export class KupDataTable {
|
|
|
603
597
|
async getProps(descriptions) {
|
|
604
598
|
return getProps(this, KupDataTableProps, descriptions);
|
|
605
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* This method will get the selected rows of the component.
|
|
602
|
+
*/
|
|
603
|
+
async getSelectedRows() {
|
|
604
|
+
return this.selectedRows;
|
|
605
|
+
}
|
|
606
606
|
/**
|
|
607
607
|
* Hides the given column.
|
|
608
608
|
* @param {KupDataColumn} column - Column to hide.
|
|
@@ -664,7 +664,7 @@ export class KupDataTable {
|
|
|
664
664
|
}
|
|
665
665
|
this.columnMenuCard.setAttribute('data-column', column);
|
|
666
666
|
this.columnMenuCard.data = this.columnMenuInstance.prepData(this, getColumnByName(this.getVisibleColumns(), column));
|
|
667
|
-
this.columnMenuInstance.open(this, column
|
|
667
|
+
this.columnMenuInstance.open(this, column);
|
|
668
668
|
this.columnMenuInstance.reposition(this, this.columnMenuCard);
|
|
669
669
|
this.kupDataTableColumnMenu.emit({
|
|
670
670
|
comp: this,
|
|
@@ -898,7 +898,6 @@ export class KupDataTable {
|
|
|
898
898
|
this.groups = [];
|
|
899
899
|
// update data
|
|
900
900
|
this.data = Object.assign({}, totalsMatrixData);
|
|
901
|
-
// console.log(this.data);
|
|
902
901
|
// calc totals
|
|
903
902
|
// distinct becomes count
|
|
904
903
|
// count becomes sum
|
|
@@ -1251,9 +1250,13 @@ export class KupDataTable {
|
|
|
1251
1250
|
}
|
|
1252
1251
|
if (this.dropEnabled) {
|
|
1253
1252
|
const dataCb = () => {
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1256
|
-
|
|
1253
|
+
const cell = this.rootElement.shadowRoot.querySelector('td:hover');
|
|
1254
|
+
if (!cell) {
|
|
1255
|
+
this.kupManager.debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", KupDebugCategory.WARNING);
|
|
1256
|
+
return;
|
|
1257
|
+
}
|
|
1258
|
+
const path = this.getEventPath(cell);
|
|
1259
|
+
const receivingDetails = this.getEventDetails(path);
|
|
1257
1260
|
return {
|
|
1258
1261
|
cell: receivingDetails.cell,
|
|
1259
1262
|
column: receivingDetails.column,
|
|
@@ -1387,6 +1390,7 @@ export class KupDataTable {
|
|
|
1387
1390
|
CSS.supports('position', '-webkit-sticky') ||
|
|
1388
1391
|
!!(window && window.safari);
|
|
1389
1392
|
this.calculateData();
|
|
1393
|
+
this.initialized = true;
|
|
1390
1394
|
}
|
|
1391
1395
|
componentWillRender() {
|
|
1392
1396
|
this.kupManager.debug.logRender(this, false);
|
|
@@ -1432,9 +1436,8 @@ export class KupDataTable {
|
|
|
1432
1436
|
this.kupManager.debug.logLoad(this, true);
|
|
1433
1437
|
}
|
|
1434
1438
|
//======== Utility methods ========
|
|
1435
|
-
getEventPath(
|
|
1436
|
-
|
|
1437
|
-
let currentEl = e.target;
|
|
1439
|
+
getEventPath(currentEl) {
|
|
1440
|
+
const path = [];
|
|
1438
1441
|
while (currentEl &&
|
|
1439
1442
|
currentEl !== this.rootElement &&
|
|
1440
1443
|
currentEl !== document.body) {
|
|
@@ -1632,7 +1635,7 @@ export class KupDataTable {
|
|
|
1632
1635
|
this.detailCard.style.transform = 'translate(' + x + 'px,' + y + 'px)';
|
|
1633
1636
|
this.rootElement.shadowRoot.append(this.detailCard);
|
|
1634
1637
|
}
|
|
1635
|
-
getEventDetails(path) {
|
|
1638
|
+
getEventDetails(path, e) {
|
|
1636
1639
|
let isHeader, isBody, isFooter, td, textfield, th, tr, filterRemove;
|
|
1637
1640
|
if (path) {
|
|
1638
1641
|
for (let i = path.length - 1; i >= 0; i--) {
|
|
@@ -1716,6 +1719,7 @@ export class KupDataTable {
|
|
|
1716
1719
|
column: column ? column : null,
|
|
1717
1720
|
filterRemove: filterRemove ? filterRemove : null,
|
|
1718
1721
|
isGroupRow: isGroupRow,
|
|
1722
|
+
originalEvent: e,
|
|
1719
1723
|
row: row ? row : null,
|
|
1720
1724
|
td: td ? td : null,
|
|
1721
1725
|
textfield: textfield ? textfield : null,
|
|
@@ -1724,7 +1728,7 @@ export class KupDataTable {
|
|
|
1724
1728
|
};
|
|
1725
1729
|
}
|
|
1726
1730
|
clickHandler(e) {
|
|
1727
|
-
const details = this.getEventDetails(this.getEventPath(e));
|
|
1731
|
+
const details = this.getEventDetails(this.getEventPath(e.target), e);
|
|
1728
1732
|
if (details.area === 'header') {
|
|
1729
1733
|
if (details.th && details.column) {
|
|
1730
1734
|
if (details.filterRemove) {
|
|
@@ -1763,26 +1767,13 @@ export class KupDataTable {
|
|
|
1763
1767
|
return details;
|
|
1764
1768
|
}
|
|
1765
1769
|
contextMenuHandler(e) {
|
|
1766
|
-
const details = this.getEventDetails(this.getEventPath(e));
|
|
1770
|
+
const details = this.getEventDetails(this.getEventPath(e.target), e);
|
|
1767
1771
|
if (details.area === 'header') {
|
|
1768
1772
|
if (details.th && details.column) {
|
|
1769
1773
|
this.openColumnMenu(details.column.name);
|
|
1770
1774
|
return details;
|
|
1771
1775
|
}
|
|
1772
1776
|
}
|
|
1773
|
-
else if (details.area === 'body') {
|
|
1774
|
-
const _hasTooltip = details.cell.obj
|
|
1775
|
-
? !this.kupManager.objects.isEmptyKupObj(details.cell.obj)
|
|
1776
|
-
: false;
|
|
1777
|
-
if (_hasTooltip &&
|
|
1778
|
-
this.showTooltipOnRightClick &&
|
|
1779
|
-
details.td &&
|
|
1780
|
-
details.cell) {
|
|
1781
|
-
const columnName = details.column ? details.column.name : null;
|
|
1782
|
-
setTooltip(e, details.row.id, columnName, details.cell, this.tooltip);
|
|
1783
|
-
return details;
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
1777
|
else if (details.area === 'footer') {
|
|
1787
1778
|
if (details.td && details.column) {
|
|
1788
1779
|
this.totalMenuCoords = { x: e.clientX, y: e.clientY };
|
|
@@ -1793,7 +1784,7 @@ export class KupDataTable {
|
|
|
1793
1784
|
return details;
|
|
1794
1785
|
}
|
|
1795
1786
|
dblClickHandler(e) {
|
|
1796
|
-
const details = this.getEventDetails(this.getEventPath(e));
|
|
1787
|
+
const details = this.getEventDetails(this.getEventPath(e.target), e);
|
|
1797
1788
|
if (details.area === 'body') {
|
|
1798
1789
|
if (this.selection == SelectionMode.MULTIPLE) {
|
|
1799
1790
|
this.resetSelectedRows();
|
|
@@ -2230,9 +2221,6 @@ export class KupDataTable {
|
|
|
2230
2221
|
this.openedTotalMenu = null;
|
|
2231
2222
|
this.kupManager.removeClickCallback(this.clickCb);
|
|
2232
2223
|
}
|
|
2233
|
-
closeMenuAndTooltip() {
|
|
2234
|
-
unsetTooltip(this.tooltip);
|
|
2235
|
-
}
|
|
2236
2224
|
isOpenedTotalMenuForColumn(column) {
|
|
2237
2225
|
return this.openedTotalMenu === column;
|
|
2238
2226
|
}
|
|
@@ -2546,14 +2534,6 @@ export class KupDataTable {
|
|
|
2546
2534
|
});
|
|
2547
2535
|
return [multiSelectColumn, actionsColumn, ...dataColumns];
|
|
2548
2536
|
}
|
|
2549
|
-
renderTooltip() {
|
|
2550
|
-
if (this.tooltipEnabled == false) {
|
|
2551
|
-
return null;
|
|
2552
|
-
}
|
|
2553
|
-
return (h("kup-tooltip", { class: "datatable-tooltip", owner: this.rootElement.tagName, loadTimeout: this.showTooltipOnRightClick == true
|
|
2554
|
-
? 0
|
|
2555
|
-
: this.tooltipLoadTimeout, detailTimeout: this.tooltipDetailTimeout, ref: (el) => (this.tooltip = el) }));
|
|
2556
|
-
}
|
|
2557
2537
|
areTotalsSelected(column) {
|
|
2558
2538
|
return this.totals && this.totals[column.name] ? true : false;
|
|
2559
2539
|
}
|
|
@@ -2564,7 +2544,7 @@ export class KupDataTable {
|
|
|
2564
2544
|
// must do this
|
|
2565
2545
|
// otherwise does not fire the watcher
|
|
2566
2546
|
const totalsCopy = Object.assign({}, this.totals);
|
|
2567
|
-
const value = event.detail.selected.
|
|
2547
|
+
const value = event.detail.selected.id;
|
|
2568
2548
|
if (value === TotalLabel.CANC) {
|
|
2569
2549
|
if (this.totals && this.totals[column.name]) {
|
|
2570
2550
|
delete totalsCopy[column.name];
|
|
@@ -2594,7 +2574,6 @@ export class KupDataTable {
|
|
|
2594
2574
|
}
|
|
2595
2575
|
}
|
|
2596
2576
|
onTotalMenuOpen(column) {
|
|
2597
|
-
this.closeMenuAndTooltip();
|
|
2598
2577
|
this.closeTotalMenu();
|
|
2599
2578
|
this.openTotalMenu(column);
|
|
2600
2579
|
}
|
|
@@ -2987,25 +2966,8 @@ export class KupDataTable {
|
|
|
2987
2966
|
cellStyle['width'] = colWidth;
|
|
2988
2967
|
}
|
|
2989
2968
|
}
|
|
2990
|
-
/**
|
|
2991
|
-
* Controls if current cell needs a tooltip and eventually adds it.
|
|
2992
|
-
* @todo When the option forceOneLine is active, there is a problem with the current implementation of the tooltip. See documentation in the mauer wiki for better understanding.
|
|
2993
|
-
*/
|
|
2994
|
-
const _hasTooltip = !this.kupManager.objects.isEmptyKupObj(cell.obj);
|
|
2995
2969
|
let eventHandlers = undefined;
|
|
2996
2970
|
let title = undefined;
|
|
2997
|
-
if (_hasTooltip) {
|
|
2998
|
-
if (!this.showTooltipOnRightClick) {
|
|
2999
|
-
eventHandlers = {
|
|
3000
|
-
onMouseEnter: (ev) => {
|
|
3001
|
-
setTooltip(ev, row.id, currentColumn.name, cell, this.tooltip);
|
|
3002
|
-
},
|
|
3003
|
-
onMouseLeave: () => {
|
|
3004
|
-
unsetTooltip(this.tooltip);
|
|
3005
|
-
},
|
|
3006
|
-
};
|
|
3007
|
-
}
|
|
3008
|
-
}
|
|
3009
2971
|
cellClass = Object.assign({}, cellClass);
|
|
3010
2972
|
return (h("td", Object.assign({ title: title, colSpan: cell.span && cell.span.col ? cell.span.col : null, rowSpan: cell.span && cell.span.row ? cell.span.row : null, "data-cell": cell, "data-column": name, "data-row": row, style: cellStyle, class: cellClass }, eventHandlers), jsxCell));
|
|
3011
2973
|
});
|
|
@@ -3360,7 +3322,6 @@ export class KupDataTable {
|
|
|
3360
3322
|
// for multi selection purposes, this should be called before this.renderedRows has been evaluated
|
|
3361
3323
|
const header = this.renderHeader();
|
|
3362
3324
|
const stickyHeader = this.renderStickyHeader();
|
|
3363
|
-
const tooltip = this.renderTooltip();
|
|
3364
3325
|
let paginatorTop = undefined;
|
|
3365
3326
|
let paginatorBottom = undefined;
|
|
3366
3327
|
if ((!this.lazyLoadRows && this.rowsLength > this.rowsPerPage) ||
|
|
@@ -3473,7 +3434,6 @@ export class KupDataTable {
|
|
|
3473
3434
|
: null,
|
|
3474
3435
|
h("table", { class: tableClass, ref: (el) => (this.tableRef = el), onMouseLeave: (ev) => {
|
|
3475
3436
|
ev.stopPropagation();
|
|
3476
|
-
unsetTooltip(this.tooltip);
|
|
3477
3437
|
}, onContextMenu: (e) => {
|
|
3478
3438
|
e.preventDefault();
|
|
3479
3439
|
} },
|
|
@@ -3484,7 +3444,6 @@ export class KupDataTable {
|
|
|
3484
3444
|
? this.renderFooter()
|
|
3485
3445
|
: null),
|
|
3486
3446
|
stickyEl),
|
|
3487
|
-
tooltip,
|
|
3488
3447
|
paginatorBottom)));
|
|
3489
3448
|
return compCreated;
|
|
3490
3449
|
}
|
|
@@ -4411,24 +4370,6 @@ export class KupDataTable {
|
|
|
4411
4370
|
"reflect": false,
|
|
4412
4371
|
"defaultValue": "false"
|
|
4413
4372
|
},
|
|
4414
|
-
"showTooltipOnRightClick": {
|
|
4415
|
-
"type": "boolean",
|
|
4416
|
-
"mutable": false,
|
|
4417
|
-
"complexType": {
|
|
4418
|
-
"original": "boolean",
|
|
4419
|
-
"resolved": "boolean",
|
|
4420
|
-
"references": {}
|
|
4421
|
-
},
|
|
4422
|
-
"required": false,
|
|
4423
|
-
"optional": false,
|
|
4424
|
-
"docs": {
|
|
4425
|
-
"tags": [],
|
|
4426
|
-
"text": "If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver."
|
|
4427
|
-
},
|
|
4428
|
-
"attribute": "show-tooltip-on-right-click",
|
|
4429
|
-
"reflect": false,
|
|
4430
|
-
"defaultValue": "true"
|
|
4431
|
-
},
|
|
4432
4373
|
"sort": {
|
|
4433
4374
|
"type": "unknown",
|
|
4434
4375
|
"mutable": true,
|
|
@@ -4525,58 +4466,6 @@ export class KupDataTable {
|
|
|
4525
4466
|
"reflect": false,
|
|
4526
4467
|
"defaultValue": "undefined"
|
|
4527
4468
|
},
|
|
4528
|
-
"tooltipDetailTimeout": {
|
|
4529
|
-
"type": "number",
|
|
4530
|
-
"mutable": false,
|
|
4531
|
-
"complexType": {
|
|
4532
|
-
"original": "number",
|
|
4533
|
-
"resolved": "number",
|
|
4534
|
-
"references": {}
|
|
4535
|
-
},
|
|
4536
|
-
"required": false,
|
|
4537
|
-
"optional": false,
|
|
4538
|
-
"docs": {
|
|
4539
|
-
"tags": [],
|
|
4540
|
-
"text": "Defines the timeout for tooltip detail"
|
|
4541
|
-
},
|
|
4542
|
-
"attribute": "tooltip-detail-timeout",
|
|
4543
|
-
"reflect": false
|
|
4544
|
-
},
|
|
4545
|
-
"tooltipEnabled": {
|
|
4546
|
-
"type": "boolean",
|
|
4547
|
-
"mutable": false,
|
|
4548
|
-
"complexType": {
|
|
4549
|
-
"original": "boolean",
|
|
4550
|
-
"resolved": "boolean",
|
|
4551
|
-
"references": {}
|
|
4552
|
-
},
|
|
4553
|
-
"required": false,
|
|
4554
|
-
"optional": false,
|
|
4555
|
-
"docs": {
|
|
4556
|
-
"tags": [],
|
|
4557
|
-
"text": "Enable show tooltip"
|
|
4558
|
-
},
|
|
4559
|
-
"attribute": "tooltip-enabled",
|
|
4560
|
-
"reflect": false,
|
|
4561
|
-
"defaultValue": "true"
|
|
4562
|
-
},
|
|
4563
|
-
"tooltipLoadTimeout": {
|
|
4564
|
-
"type": "number",
|
|
4565
|
-
"mutable": false,
|
|
4566
|
-
"complexType": {
|
|
4567
|
-
"original": "number",
|
|
4568
|
-
"resolved": "number",
|
|
4569
|
-
"references": {}
|
|
4570
|
-
},
|
|
4571
|
-
"required": false,
|
|
4572
|
-
"optional": false,
|
|
4573
|
-
"docs": {
|
|
4574
|
-
"tags": [],
|
|
4575
|
-
"text": "Defines the timeout for tooltip load"
|
|
4576
|
-
},
|
|
4577
|
-
"attribute": "tooltip-load-timeout",
|
|
4578
|
-
"reflect": false
|
|
4579
|
-
},
|
|
4580
4469
|
"totals": {
|
|
4581
4470
|
"type": "unknown",
|
|
4582
4471
|
"mutable": true,
|
|
@@ -4950,6 +4839,29 @@ export class KupDataTable {
|
|
|
4950
4839
|
}]
|
|
4951
4840
|
}
|
|
4952
4841
|
},
|
|
4842
|
+
"getSelectedRows": {
|
|
4843
|
+
"complexType": {
|
|
4844
|
+
"signature": "() => Promise<Array<KupDataTableRow>>",
|
|
4845
|
+
"parameters": [],
|
|
4846
|
+
"references": {
|
|
4847
|
+
"Promise": {
|
|
4848
|
+
"location": "global"
|
|
4849
|
+
},
|
|
4850
|
+
"KupDataTableRow": {
|
|
4851
|
+
"location": "import",
|
|
4852
|
+
"path": "./kup-data-table-declarations"
|
|
4853
|
+
},
|
|
4854
|
+
"Array": {
|
|
4855
|
+
"location": "global"
|
|
4856
|
+
}
|
|
4857
|
+
},
|
|
4858
|
+
"return": "Promise<KupDataTableRow[]>"
|
|
4859
|
+
},
|
|
4860
|
+
"docs": {
|
|
4861
|
+
"text": "This method will get the selected rows of the component.",
|
|
4862
|
+
"tags": []
|
|
4863
|
+
}
|
|
4864
|
+
},
|
|
4953
4865
|
"hideColumn": {
|
|
4954
4866
|
"complexType": {
|
|
4955
4867
|
"signature": "(column: KupDataColumn) => Promise<void>",
|
|
@@ -344,7 +344,7 @@ export class KupDatePicker {
|
|
|
344
344
|
resetStatus: true,
|
|
345
345
|
},
|
|
346
346
|
};
|
|
347
|
-
return (h("kup-card", { ref: (el) => (this.pickerContainerEl = el), data: data, layoutFamily: KupCardFamily.BUILT_IN, sizeX: "300px", sizeY: "
|
|
347
|
+
return (h("kup-card", { ref: (el) => (this.pickerContainerEl = el), data: data, layoutFamily: KupCardFamily.BUILT_IN, sizeX: "300px", sizeY: "auto", isMenu: true, "onkup-card-click": (ev) => {
|
|
348
348
|
if (ev.detail.value != null && ev.detail.value != '')
|
|
349
349
|
this.onKupDatePickerItemClick(ev.detail.value);
|
|
350
350
|
} }));
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
--kup-textfield-primary-color-rgb: var(--kup-drawer-color-rgb);
|
|
78
78
|
--kup-tree-color: var(--kup-drawer-color);
|
|
79
79
|
--kup-tree-color-rgb: var(--kup-drawer-color-rgb);
|
|
80
|
+
--kup-tree-filter-background-color: var(--kup-drawer-background-color);
|
|
80
81
|
--kup-tree-icon-color: var(--kup-drawer-color);
|
|
81
82
|
color: var(--kup-drawer-color);
|
|
82
83
|
fill: var(--kup-drawer-color);
|
|
@@ -125,9 +125,16 @@ export class KupDrawer {
|
|
|
125
125
|
render() {
|
|
126
126
|
return (h(Host, { "kup-opened": this.opened },
|
|
127
127
|
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
128
|
-
h("div", { class: "backdrop",
|
|
128
|
+
h("div", { class: "backdrop", onClick: (e) => {
|
|
129
|
+
e.preventDefault();
|
|
130
|
+
e.stopPropagation();
|
|
131
|
+
}, onPointerDown: (e) => {
|
|
132
|
+
e.preventDefault();
|
|
129
133
|
e.stopPropagation();
|
|
130
134
|
this.close();
|
|
135
|
+
}, onTouchStart: (e) => {
|
|
136
|
+
e.preventDefault();
|
|
137
|
+
e.stopPropagation();
|
|
131
138
|
} }),
|
|
132
139
|
h("div", { id: componentWrapperId },
|
|
133
140
|
h("div", { class: drawerClass }, this.content()))));
|