@sme.up/ketchup 6.6.0 → 6.8.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/README.md +7 -1
- package/dist/cjs/{f-button-a531feb2.js → f-button-229c63fd.js} +2 -2
- package/dist/cjs/{f-cell-75cb7933.js → f-cell-dd006395.js} +22 -22
- package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
- package/dist/cjs/{f-chip-9508a2e4.js → f-chip-f2c369fd.js} +3 -3
- package/dist/cjs/{f-image-c21cc616.js → f-image-847a6ddf.js} +2 -2
- package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-cedc4b3e.js} +3 -3
- package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-fe85187d.js} +2 -2
- package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -30
- package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3925 -4288
- package/dist/cjs/kup-box.cjs.entry.js +33 -113
- package/dist/cjs/kup-calendar.cjs.entry.js +10 -34
- package/dist/cjs/kup-cell.cjs.entry.js +10 -29
- package/dist/cjs/kup-dash-list.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash_2.cjs.entry.js +7 -35
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -32
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -19
- package/dist/cjs/kup-echart.cjs.entry.js +16 -77
- package/dist/cjs/kup-family-tree.cjs.entry.js +12 -48
- package/dist/cjs/kup-iframe.cjs.entry.js +5 -17
- package/dist/cjs/kup-image-list.cjs.entry.js +16 -34
- package/dist/cjs/kup-lazy.cjs.entry.js +10 -37
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -25
- package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-c53468cd.js} +82 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -16
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +14 -57
- package/dist/cjs/kup-photo-frame.cjs.entry.js +9 -31
- package/dist/cjs/kup-probe.cjs.entry.js +13 -33
- package/dist/cjs/kup-qlik.cjs.entry.js +6 -60
- package/dist/cjs/kup-snackbar.cjs.entry.js +7 -38
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/box.js +9 -6
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/kup-accordion/kup-accordion.js +243 -261
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +560 -594
- package/dist/collection/components/kup-badge/kup-badge.js +179 -189
- package/dist/collection/components/kup-box/kup-box.js +911 -1010
- package/dist/collection/components/kup-button/kup-button.js +382 -428
- package/dist/collection/components/kup-button-list/kup-button-list.js +254 -278
- package/dist/collection/components/kup-calendar/kup-calendar.js +306 -329
- package/dist/collection/components/kup-card/box/kup-card-box.js +10 -24
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
- 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-form.js +11 -0
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
- package/dist/collection/components/kup-card/kup-card.css +118 -12
- package/dist/collection/components/kup-card/kup-card.js +394 -385
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
- package/dist/collection/components/kup-cell/kup-cell.js +224 -238
- package/dist/collection/components/kup-chart/kup-chart.js +562 -586
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +278 -304
- package/dist/collection/components/kup-chip/kup-chip.js +243 -250
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +278 -299
- package/dist/collection/components/kup-combobox/kup-combobox.js +467 -482
- package/dist/collection/components/kup-dash/kup-dash.js +112 -172
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +218 -220
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +200 -229
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +4700 -4452
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +415 -429
- package/dist/collection/components/kup-drawer/kup-drawer.js +246 -253
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +486 -527
- package/dist/collection/components/kup-echart/kup-echart.js +450 -498
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +416 -465
- package/dist/collection/components/kup-form/kup-form.js +226 -248
- package/dist/collection/components/kup-gauge/kup-gauge.js +460 -521
- package/dist/collection/components/kup-grid/kup-grid.js +159 -172
- package/dist/collection/components/kup-iframe/kup-iframe.js +184 -188
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
- package/dist/collection/components/kup-image/kup-image.js +305 -340
- package/dist/collection/components/kup-image-list/kup-image-list.js +300 -311
- package/dist/collection/components/kup-lazy/kup-lazy.js +261 -288
- package/dist/collection/components/kup-list/kup-list.js +546 -572
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +148 -167
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +192 -198
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +501 -532
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +261 -271
- package/dist/collection/components/kup-probe/kup-probe.js +98 -114
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +240 -276
- package/dist/collection/components/kup-qlik/kup-qlik.js +182 -228
- package/dist/collection/components/kup-radio/kup-radio.js +261 -289
- package/dist/collection/components/kup-rating/kup-rating.js +212 -224
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +252 -280
- package/dist/collection/components/kup-spinner/kup-spinner.js +277 -308
- package/dist/collection/components/kup-switch/kup-switch.js +258 -280
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +268 -247
- package/dist/collection/components/kup-text-field/kup-text-field.js +816 -920
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +472 -493
- package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
- package/dist/collection/components/kup-tree/kup-tree.js +1107 -1205
- package/dist/collection/f-components/f-button/f-button.js +11 -20
- package/dist/collection/f-components/f-cell/f-cell.js +20 -22
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
- package/dist/collection/f-components/f-chip/f-chip.js +18 -31
- package/dist/collection/f-components/f-image/f-image.js +1 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
- package/dist/collection/f-components/f-switch/f-switch.js +1 -8
- package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
- package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
- package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
- package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
- package/dist/esm/{f-button-15719ec1.js → f-button-d1aba968.js} +2 -2
- package/dist/esm/{f-cell-692c37bf.js → f-cell-646406bb.js} +22 -22
- package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
- package/dist/esm/{f-chip-abab04bf.js → f-chip-d94e9e81.js} +3 -3
- package/dist/esm/{f-image-98783644.js → f-image-57c88302.js} +2 -2
- package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-2c865e9a.js} +3 -3
- package/dist/esm/{f-text-field-282025dd.js → f-text-field-b0a1fea6.js} +2 -2
- package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +7 -30
- package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3925 -4289
- package/dist/esm/kup-box.entry.js +33 -113
- package/dist/esm/kup-calendar.entry.js +10 -34
- package/dist/esm/kup-cell.entry.js +10 -29
- package/dist/esm/kup-dash-list.entry.js +10 -9
- package/dist/esm/kup-dash_2.entry.js +7 -35
- package/dist/esm/kup-dashboard.entry.js +10 -32
- package/dist/esm/kup-drawer.entry.js +4 -19
- package/dist/esm/kup-echart.entry.js +16 -77
- package/dist/esm/kup-family-tree.entry.js +12 -48
- package/dist/esm/kup-iframe.entry.js +5 -17
- package/dist/esm/kup-image-list.entry.js +16 -34
- package/dist/esm/kup-lazy.entry.js +10 -37
- package/dist/esm/kup-magic-box.entry.js +6 -25
- package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c0fbb180.js} +83 -8
- package/dist/esm/kup-nav-bar.entry.js +4 -16
- package/dist/esm/kup-numeric-picker.entry.js +14 -57
- package/dist/esm/kup-photo-frame.entry.js +9 -31
- package/dist/esm/kup-probe.entry.js +13 -33
- package/dist/esm/kup-qlik.entry.js +6 -60
- package/dist/esm/kup-snackbar.entry.js +7 -38
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-eeadd688.entry.js → p-1914969e.entry.js} +1 -1
- package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
- package/dist/ketchup/{p-a4a30e0e.entry.js → p-250118e3.entry.js} +1 -1
- package/dist/ketchup/{p-ccef2553.entry.js → p-30766296.entry.js} +1 -1
- package/dist/ketchup/{p-5933aa02.entry.js → p-351cecba.entry.js} +1 -1
- package/dist/ketchup/p-35e16ea2.entry.js +1 -0
- package/dist/ketchup/{p-e6ebdb80.js → p-395675b8.js} +1 -1
- package/dist/ketchup/p-3cf97e3a.js +1 -0
- package/dist/ketchup/p-4fdb684f.js +2 -0
- package/dist/ketchup/{p-9419919c.entry.js → p-596bdc10.entry.js} +1 -1
- package/dist/ketchup/{p-6f3040fb.js → p-61ff1761.js} +1 -1
- package/dist/ketchup/p-72d4fa26.entry.js +1 -0
- package/dist/ketchup/{p-fd930a34.entry.js → p-738685f9.entry.js} +1 -1
- package/dist/ketchup/{p-f6409c42.entry.js → p-7c8c5444.entry.js} +1 -1
- package/dist/ketchup/p-86154e2b.js +1 -0
- package/dist/ketchup/{p-7e16265d.entry.js → p-9214ef33.entry.js} +1 -1
- package/dist/ketchup/{p-62f3ec78.entry.js → p-980ed953.entry.js} +1 -1
- package/dist/ketchup/p-991bd70d.entry.js +1 -0
- package/dist/ketchup/{p-7d37ea62.entry.js → p-a1fe329f.entry.js} +1 -1
- package/dist/ketchup/p-a740352c.js +30 -0
- package/dist/ketchup/{p-62421bcf.js → p-a992cf87.js} +1 -1
- package/dist/ketchup/{p-3760a159.entry.js → p-b1da1ba7.entry.js} +2 -2
- package/dist/ketchup/{p-5ea2a1ff.entry.js → p-cee3635a.entry.js} +1 -1
- package/dist/ketchup/p-d05ed931.entry.js +9 -0
- package/dist/ketchup/{p-a450d60a.entry.js → p-d422151a.entry.js} +2 -2
- package/dist/ketchup/p-e6f19333.entry.js +1 -0
- package/dist/ketchup/{p-1ef5d16d.entry.js → p-eb10958a.entry.js} +1 -1
- package/dist/ketchup/{p-20221a50.js → p-ecac6269.js} +1 -1
- package/dist/ketchup/p-f43b445e.entry.js +1 -0
- package/dist/ketchup/{p-725c6268.entry.js → p-fa37e92e.entry.js} +1 -1
- package/dist/loader/package.json +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
- package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
- package/dist/types/components/kup-card/kup-card.d.ts +5 -0
- package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +54 -201
- package/dist/types/components/kup-list/kup-list.d.ts +5 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
- package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
- package/dist/types/components.d.ts +78 -2
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
- package/dist/cjs/kup-form.cjs.entry.js +0 -486
- package/dist/esm/kup-form.entry.js +0 -482
- package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
- package/dist/ketchup/p-27538d6f.entry.js +0 -1
- package/dist/ketchup/p-29d72040.entry.js +0 -1
- package/dist/ketchup/p-3e74e1ed.js +0 -1
- package/dist/ketchup/p-680a8cb4.entry.js +0 -9
- package/dist/ketchup/p-6946b614.entry.js +0 -1
- package/dist/ketchup/p-b0b3989b.js +0 -2
- package/dist/ketchup/p-c05f2638.js +0 -30
- package/dist/ketchup/p-d7a92197.entry.js +0 -1
- package/dist/ketchup/p-d8af7ba6.entry.js +0 -1
- package/dist/ketchup/p-e07a10fb.js +0 -1
|
@@ -100,6 +100,11 @@ export declare class KupList {
|
|
|
100
100
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
101
101
|
*/
|
|
102
102
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
103
|
+
/**
|
|
104
|
+
* Returns the selected node.
|
|
105
|
+
* @returns {Promise<KupListNode>} Selected node.
|
|
106
|
+
*/
|
|
107
|
+
getSelectedNode(): Promise<KupListNode[]>;
|
|
103
108
|
/**
|
|
104
109
|
* This method is used to trigger a new render of the component.
|
|
105
110
|
*/
|
|
@@ -53,6 +53,11 @@ export declare class KupTabBar {
|
|
|
53
53
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
54
54
|
*/
|
|
55
55
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the selected node.
|
|
58
|
+
* @returns {Promise<KupTabBarNode>} Selected node.
|
|
59
|
+
*/
|
|
60
|
+
getSelectedNode(): Promise<KupTabBarNode>;
|
|
56
61
|
/**
|
|
57
62
|
* This method is used to trigger a new render of the component.
|
|
58
63
|
*/
|
|
@@ -25,7 +25,7 @@ import { FChipType } from "./f-components/f-chip/f-chip-declarations";
|
|
|
25
25
|
import { KupColorPickerEventPayload } from "./components/kup-color-picker/kup-color-picker-declarations";
|
|
26
26
|
import { KupComboboxEventPayload, KupComboboxIconClickEventPayload } from "./components/kup-combobox/kup-combobox-declarations";
|
|
27
27
|
import { KupDashboardEventPayload, KupDataDashboard } from "./components/kup-dashboard/kup-dashboard-declarations";
|
|
28
|
-
import { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
28
|
+
import { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
29
29
|
import { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
30
30
|
import { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
31
31
|
import { KupDropdownButtonEventPayload } from "./components/kup-dropdown-button/kup-dropdown-button-declarations";
|
|
@@ -581,6 +581,11 @@ export namespace Components {
|
|
|
581
581
|
* @param props - Object containing props that will be set to the component.
|
|
582
582
|
*/
|
|
583
583
|
"setProps": (props: GenericObject) => Promise<void>;
|
|
584
|
+
/**
|
|
585
|
+
* Sets the card as modal window
|
|
586
|
+
* @default false
|
|
587
|
+
*/
|
|
588
|
+
"showModal": boolean;
|
|
584
589
|
/**
|
|
585
590
|
* The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
586
591
|
* @default "100%"
|
|
@@ -1038,6 +1043,14 @@ export namespace Components {
|
|
|
1038
1043
|
* Closes any opened column menu.
|
|
1039
1044
|
*/
|
|
1040
1045
|
"closeColumnMenu": () => Promise<void>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Closes the delete confirm card (called by backend, on success)
|
|
1048
|
+
*/
|
|
1049
|
+
"closeConfirmDeleteCard": () => Promise<void>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Closes the insert new record card (called by backend, on success)
|
|
1052
|
+
*/
|
|
1053
|
+
"closeInsertCard": () => Promise<void>;
|
|
1041
1054
|
/**
|
|
1042
1055
|
* Collapses all groups.
|
|
1043
1056
|
*/
|
|
@@ -1051,6 +1064,12 @@ export namespace Components {
|
|
|
1051
1064
|
*/
|
|
1052
1065
|
"data": KupDataTableDataset;
|
|
1053
1066
|
"defaultSortingFunction": (columns: KupDataColumn[], receivingColumnIndex: number, sortedColumnIndex: number, useNewObject?: boolean) => Promise<KupDataColumn[]>;
|
|
1067
|
+
/**
|
|
1068
|
+
* This method will delete rows by id from the data table dataset.
|
|
1069
|
+
* @param ids - Array of row ids to delete.
|
|
1070
|
+
* @returns Deleted rows.
|
|
1071
|
+
*/
|
|
1072
|
+
"deleteRows": (ids?: string[]) => Promise<Array<KupDataTableRow>>;
|
|
1054
1073
|
/**
|
|
1055
1074
|
* The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'.
|
|
1056
1075
|
*/
|
|
@@ -1116,6 +1135,10 @@ export namespace Components {
|
|
|
1116
1135
|
* Forces cells with long text and a fixed column size to have an ellipsis set on their text. The reflect attribute is mandatory to allow styling.
|
|
1117
1136
|
*/
|
|
1118
1137
|
"forceOneLine": boolean;
|
|
1138
|
+
/**
|
|
1139
|
+
* Returns cards and sub components
|
|
1140
|
+
*/
|
|
1141
|
+
"getCards": () => Promise<any>;
|
|
1119
1142
|
"getInternalState": () => Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>;
|
|
1120
1143
|
/**
|
|
1121
1144
|
* Used to retrieve component's props values.
|
|
@@ -1152,6 +1175,16 @@ export namespace Components {
|
|
|
1152
1175
|
* @param column - Column to hide.
|
|
1153
1176
|
*/
|
|
1154
1177
|
"hideColumn": (column: KupDataColumn) => Promise<void>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Enables insert mode.
|
|
1180
|
+
* @default '''
|
|
1181
|
+
*/
|
|
1182
|
+
"insertMode": KupDataTableInsertMode;
|
|
1183
|
+
/**
|
|
1184
|
+
* Adds a new row to the list data
|
|
1185
|
+
* @param row new row
|
|
1186
|
+
*/
|
|
1187
|
+
"insertNewRow": (row: KupDataTableRow) => Promise<void>;
|
|
1155
1188
|
/**
|
|
1156
1189
|
* When set to true, clicked-on rows will have a visual feedback.
|
|
1157
1190
|
* @default false
|
|
@@ -1204,7 +1237,7 @@ export namespace Components {
|
|
|
1204
1237
|
/**
|
|
1205
1238
|
* This method is used to trigger a new render of the component.
|
|
1206
1239
|
*/
|
|
1207
|
-
"refresh": () => Promise<void>;
|
|
1240
|
+
"refresh": (recalcRows?: boolean) => Promise<void>;
|
|
1208
1241
|
/**
|
|
1209
1242
|
* Sets the possibility to remove the selected column.
|
|
1210
1243
|
*/
|
|
@@ -1233,6 +1266,13 @@ export namespace Components {
|
|
|
1233
1266
|
* Set the type of the rows selection.
|
|
1234
1267
|
*/
|
|
1235
1268
|
"selection": SelectionMode;
|
|
1269
|
+
/**
|
|
1270
|
+
* Sets the cell value in a table cell.
|
|
1271
|
+
* @param columnName - Name of the column.
|
|
1272
|
+
* @param rowId - Id of the row.
|
|
1273
|
+
* @param value - Value to set.
|
|
1274
|
+
*/
|
|
1275
|
+
"setCellValue": (columnName: string, rowId: string, value: string) => Promise<void>;
|
|
1236
1276
|
/**
|
|
1237
1277
|
* Sets the focus on an editable table cell.
|
|
1238
1278
|
* @param column - Name of the column.
|
|
@@ -1254,6 +1294,10 @@ export namespace Components {
|
|
|
1254
1294
|
* If set to true, displays the button to open the customization panel.
|
|
1255
1295
|
*/
|
|
1256
1296
|
"showCustomization": boolean;
|
|
1297
|
+
/**
|
|
1298
|
+
* Enables the delete row button.
|
|
1299
|
+
*/
|
|
1300
|
+
"showDeleteButton": boolean;
|
|
1257
1301
|
/**
|
|
1258
1302
|
* When set to true enables the column filters.
|
|
1259
1303
|
*/
|
|
@@ -2036,6 +2080,11 @@ export namespace Components {
|
|
|
2036
2080
|
* @returns List of props as object, each key will be a prop.
|
|
2037
2081
|
*/
|
|
2038
2082
|
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
2083
|
+
/**
|
|
2084
|
+
* Returns the selected node.
|
|
2085
|
+
* @returns Selected node.
|
|
2086
|
+
*/
|
|
2087
|
+
"getSelectedNode": () => Promise<KupListNode[]>;
|
|
2039
2088
|
/**
|
|
2040
2089
|
* Hides rows' text, ideally to display a list of icons only.
|
|
2041
2090
|
* @default false
|
|
@@ -2633,6 +2682,11 @@ export namespace Components {
|
|
|
2633
2682
|
* @returns List of props as object, each key will be a prop.
|
|
2634
2683
|
*/
|
|
2635
2684
|
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
2685
|
+
/**
|
|
2686
|
+
* Returns the selected node.
|
|
2687
|
+
* @returns Selected node.
|
|
2688
|
+
*/
|
|
2689
|
+
"getSelectedNode": () => Promise<KupTabBarNode>;
|
|
2636
2690
|
/**
|
|
2637
2691
|
* This method is used to trigger a new render of the component.
|
|
2638
2692
|
*/
|
|
@@ -3992,6 +4046,11 @@ declare namespace LocalJSX {
|
|
|
3992
4046
|
* Triggered when the component is ready.
|
|
3993
4047
|
*/
|
|
3994
4048
|
"onKup-card-ready"?: (event: KupCardCustomEvent<KupEventPayload>) => void;
|
|
4049
|
+
/**
|
|
4050
|
+
* Sets the card as modal window
|
|
4051
|
+
* @default false
|
|
4052
|
+
*/
|
|
4053
|
+
"showModal"?: boolean;
|
|
3995
4054
|
/**
|
|
3996
4055
|
* The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
3997
4056
|
* @default "100%"
|
|
@@ -4434,6 +4493,11 @@ declare namespace LocalJSX {
|
|
|
4434
4493
|
* When set to true the header will stick on top of the table when scrolling.
|
|
4435
4494
|
*/
|
|
4436
4495
|
"headerIsPersistent"?: boolean;
|
|
4496
|
+
/**
|
|
4497
|
+
* Enables insert mode.
|
|
4498
|
+
* @default '''
|
|
4499
|
+
*/
|
|
4500
|
+
"insertMode"?: KupDataTableInsertMode;
|
|
4437
4501
|
/**
|
|
4438
4502
|
* When set to true, clicked-on rows will have a visual feedback.
|
|
4439
4503
|
* @default false
|
|
@@ -4487,6 +4551,10 @@ declare namespace LocalJSX {
|
|
|
4487
4551
|
* Generic double click event on data table.
|
|
4488
4552
|
*/
|
|
4489
4553
|
"onKup-datatable-dblclick"?: (event: KupDataTableCustomEvent<KupDatatableClickEventPayload>) => void;
|
|
4554
|
+
/**
|
|
4555
|
+
* Event fired when the delete row button is pressed.
|
|
4556
|
+
*/
|
|
4557
|
+
"onKup-datatable-delete-row"?: (event: KupDataTableCustomEvent<KupDatatableDeleteRowEventPayload>) => void;
|
|
4490
4558
|
/**
|
|
4491
4559
|
* When component load is complete
|
|
4492
4560
|
*/
|
|
@@ -4495,6 +4563,10 @@ declare namespace LocalJSX {
|
|
|
4495
4563
|
* When component unload is complete
|
|
4496
4564
|
*/
|
|
4497
4565
|
"onKup-datatable-didunload"?: (event: KupDataTableCustomEvent<KupEventPayload>) => void;
|
|
4566
|
+
/**
|
|
4567
|
+
* Event fired when the insert row confirm button is pressed.
|
|
4568
|
+
*/
|
|
4569
|
+
"onKup-datatable-insert-row"?: (event: KupDataTableCustomEvent<KupDatatableInsertRowEventPayload>) => void;
|
|
4498
4570
|
"onKup-datatable-loadmoreclick"?: (event: KupDataTableCustomEvent<KupDatatableLoadMoreClickEventPayload>) => void;
|
|
4499
4571
|
/**
|
|
4500
4572
|
* When rows selections reset
|
|
@@ -4544,6 +4616,10 @@ declare namespace LocalJSX {
|
|
|
4544
4616
|
* If set to true, displays the button to open the customization panel.
|
|
4545
4617
|
*/
|
|
4546
4618
|
"showCustomization"?: boolean;
|
|
4619
|
+
/**
|
|
4620
|
+
* Enables the delete row button.
|
|
4621
|
+
*/
|
|
4622
|
+
"showDeleteButton"?: boolean;
|
|
4547
4623
|
/**
|
|
4548
4624
|
* When set to true enables the column filters.
|
|
4549
4625
|
*/
|
|
@@ -111,10 +111,14 @@ export declare enum KupLanguageFontsize {
|
|
|
111
111
|
* Generic user interface action/messages.
|
|
112
112
|
*/
|
|
113
113
|
export declare enum KupLanguageGeneric {
|
|
114
|
+
ABORT = "genericAbort",
|
|
114
115
|
ADD_NEW = "genericAddNew",
|
|
115
116
|
APPLY = "genericApply",
|
|
116
117
|
BACK = "genericBack",
|
|
117
118
|
COLLAPSE = "genericCollapse",
|
|
119
|
+
CONFIRM = "genericConfirm",
|
|
120
|
+
CONFIRM_DELETE = "genericConfirmDelete",
|
|
121
|
+
CONFIRM_DELETE_X_ROWS = "genericConfirmDeleteXRows",
|
|
118
122
|
DAY = "genericDay",
|
|
119
123
|
DRAG_AND_DROP = "genericDragAndDrop",
|
|
120
124
|
DROP_YOUR_DATA = "genericDropYourData",
|
|
@@ -135,6 +139,7 @@ export declare enum KupLanguageGeneric {
|
|
|
135
139
|
MONTH = "genericMonth",
|
|
136
140
|
MOVE = "genericMove",
|
|
137
141
|
NEXT = "genericNext",
|
|
142
|
+
NO = "genericNo",
|
|
138
143
|
OPEN_NAVIGATION_MENU = "genericOpenNavigationMenu",
|
|
139
144
|
OPEN_IN_NEW_TAB = "genericOpenInNewTab",
|
|
140
145
|
OPEN_IN_NEW_WINDOW = "genericOpenInNewWindow",
|
|
@@ -152,7 +157,8 @@ export declare enum KupLanguageGeneric {
|
|
|
152
157
|
TOTALS_TABLE = "genericTotalsTable",
|
|
153
158
|
TRANSPOSE_DATA = "genericTransposeData",
|
|
154
159
|
VIEW_AS = "genericViewAs",
|
|
155
|
-
WEEK = "genericWeek"
|
|
160
|
+
WEEK = "genericWeek",
|
|
161
|
+
YES = "genericYes"
|
|
156
162
|
}
|
|
157
163
|
/**
|
|
158
164
|
* Grid decodes (data table customization settings).
|
|
@@ -21,8 +21,9 @@ export declare class KupScrollOnHover {
|
|
|
21
21
|
* @param {KupScrollOnHoverElement} el - Element to watch.
|
|
22
22
|
* @param {boolean} vertical - Enables vertical scroll.
|
|
23
23
|
* @param {KupScrollOnHoverPercentages} percentages - Sets how big is the area in which the scroll is enabled.
|
|
24
|
+
* @param {number} step - The amount in pixels for each scroll recursion.
|
|
24
25
|
*/
|
|
25
|
-
register(el: KupScrollOnHoverElement, vertical?: boolean, percentages?: KupScrollOnHoverPercentages): void;
|
|
26
|
+
register(el: KupScrollOnHoverElement, vertical?: boolean, percentages?: KupScrollOnHoverPercentages, step?: number): void;
|
|
26
27
|
/**
|
|
27
28
|
* Removes the given element from ScrollOnHover watchlist.
|
|
28
29
|
* @param {KupScrollOnHoverElement} el - Element to unregister.
|
|
@@ -92,6 +92,7 @@ export interface KupThemeCSSVariables {
|
|
|
92
92
|
'--kup-font-family-monospace': string;
|
|
93
93
|
'--kup-obj-cursor': string;
|
|
94
94
|
[KupThemeColorValues.TEXT_ON_SECONDARY]: string;
|
|
95
|
+
'--kup-card-zindex': number;
|
|
95
96
|
'--kup-drawer-zindex': number;
|
|
96
97
|
'--kup-navbar-zindex': number;
|
|
97
98
|
}
|
|
@@ -221,7 +221,9 @@ export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
|
221
221
|
*/
|
|
222
222
|
export declare const setMode: (handler: ResolutionHandler) => void;
|
|
223
223
|
/**
|
|
224
|
-
* getMode
|
|
224
|
+
* `getMode()` is used for libraries which provide multiple "modes" for styles.
|
|
225
|
+
* @param ref a reference to the node to get styles for
|
|
226
|
+
* @returns the current mode or undefined, if not found
|
|
225
227
|
*/
|
|
226
228
|
export declare function getMode<T = string | undefined>(ref: any): T;
|
|
227
229
|
export declare function setPlatformHelpers(helpers: {
|
|
@@ -234,6 +236,9 @@ export declare function setPlatformHelpers(helpers: {
|
|
|
234
236
|
/**
|
|
235
237
|
* Get the base path to where the assets can be found. Use `setAssetPath(path)`
|
|
236
238
|
* if the path needs to be customized.
|
|
239
|
+
* @param path the path to use in calculating the asset path. this value will be
|
|
240
|
+
* used in conjunction with the base asset path
|
|
241
|
+
* @returns the base path
|
|
237
242
|
*/
|
|
238
243
|
export declare function getAssetPath(path: string): string;
|
|
239
244
|
/**
|
|
@@ -246,22 +251,29 @@ export declare function getAssetPath(path: string): string;
|
|
|
246
251
|
* `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
|
|
247
252
|
* dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
|
|
248
253
|
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
249
|
-
*
|
|
254
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
250
255
|
* will have to ensure the static assets are copied to its build directory.
|
|
256
|
+
* @param path the asset path to set
|
|
257
|
+
* @returns the set path
|
|
251
258
|
*/
|
|
252
259
|
export declare function setAssetPath(path: string): string;
|
|
253
260
|
/**
|
|
254
|
-
*
|
|
261
|
+
* Retrieve a Stencil element for a given reference
|
|
262
|
+
* @param ref the ref to get the Stencil element for
|
|
263
|
+
* @returns a reference to the element
|
|
255
264
|
*/
|
|
256
265
|
export declare function getElement(ref: any): HTMLStencilElement;
|
|
257
266
|
/**
|
|
258
267
|
* Schedules a new render of the given instance or element even if no state changed.
|
|
259
268
|
*
|
|
260
|
-
* Notice `forceUpdate()` is not
|
|
269
|
+
* Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
|
|
270
|
+
*
|
|
271
|
+
* @param ref the node/element to force the re-render of
|
|
261
272
|
*/
|
|
262
273
|
export declare function forceUpdate(ref: any): void;
|
|
263
274
|
/**
|
|
264
275
|
* getRenderingRef
|
|
276
|
+
* @returns the rendering ref
|
|
265
277
|
*/
|
|
266
278
|
export declare function getRenderingRef(): any;
|
|
267
279
|
export interface HTMLStencilElement extends HTMLElement {
|
|
@@ -272,6 +284,8 @@ export interface HTMLStencilElement extends HTMLElement {
|
|
|
272
284
|
* in the best moment to perform DOM mutation without causing layout thrashing.
|
|
273
285
|
*
|
|
274
286
|
* For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
|
|
287
|
+
*
|
|
288
|
+
* @param task the DOM-write to schedule
|
|
275
289
|
*/
|
|
276
290
|
export declare function writeTask(task: RafCallback): void;
|
|
277
291
|
/**
|
|
@@ -279,6 +293,8 @@ export declare function writeTask(task: RafCallback): void;
|
|
|
279
293
|
* in the best moment to perform DOM reads without causing layout thrashing.
|
|
280
294
|
*
|
|
281
295
|
* For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
|
|
296
|
+
*
|
|
297
|
+
* @param task the DOM-read to schedule
|
|
282
298
|
*/
|
|
283
299
|
export declare function readTask(task: RafCallback): void;
|
|
284
300
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.8.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"smeup",
|
|
6
6
|
"KetchUP",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vanilla-picker": "^2.12.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@stencil/core": "^2.
|
|
59
|
+
"@stencil/core": "^2.20.0",
|
|
60
60
|
"@stencil/sass": "^1.4.1",
|
|
61
61
|
"@stencil/react-output-target": "0.3.1",
|
|
62
62
|
"@types/d3-shape": "^3.0.2",
|