@sme.up/ketchup 6.0.0 → 6.2.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-a78d6fac.js → cell-utils-fe64a28c.js} +2 -2
- package/dist/cjs/{f-button-ac179257.js → f-button-5b69d882.js} +4 -4
- package/dist/cjs/f-cell-3a740c48.js +418 -0
- package/dist/cjs/f-checkbox-57443ca3.js +29 -0
- package/dist/cjs/{f-chip-b00897d7.js → f-chip-02e83f82.js} +3 -3
- package/dist/cjs/{f-image-89f25556.js → f-image-2a61ece2.js} +2 -2
- package/dist/cjs/{f-paginator-utils-8fa501b3.js → f-paginator-utils-09126bdd.js} +5 -5
- package/dist/cjs/{f-text-field-e1e45ade.js → f-text-field-9ee20a67.js} +3 -3
- package/dist/cjs/{index-eb556444.js → index-06b131ea.js} +6 -4
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +209 -193
- package/dist/cjs/kup-box.cjs.entry.js +1306 -0
- package/dist/cjs/kup-calendar.cjs.entry.js +7 -7
- package/dist/cjs/kup-cell.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +4 -7
- package/dist/cjs/{kup-form-editor.cjs.entry.js → kup-dashboard.cjs.entry.js} +123 -148
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
- package/dist/cjs/{kup-box_2.cjs.entry.js → kup-echart.cjs.entry.js} +53 -1338
- package/dist/cjs/kup-family-tree.cjs.entry.js +410 -0
- package/dist/cjs/kup-form.cjs.entry.js +480 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +73 -11
- package/dist/cjs/kup-lazy.cjs.entry.js +4 -4
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-7a941909.js → kup-manager-02acbb37.js} +407 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-6287d878.js → utils-4b208b48.js} +1 -1
- package/dist/collection/assets/dashboard.js +113 -0
- package/dist/collection/assets/data-table.js +15 -0
- package/dist/collection/assets/family-tree.js +2437 -0
- package/dist/collection/assets/form.js +433 -0
- package/dist/collection/assets/grid.js +17 -0
- package/dist/collection/assets/index.js +14 -6
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +135 -129
- package/dist/collection/components/kup-box/kup-box.js +13 -2
- package/dist/collection/components/kup-button/kup-button.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.js +16 -13
- package/dist/collection/components/kup-dashboard/kup-dashboard-declarations.js +10 -0
- package/dist/collection/components/{kup-form-editor/kup-form-editor.css → kup-dashboard/kup-dashboard.css} +7 -6
- package/dist/collection/components/{kup-form-editor/kup-form-editor.js → kup-dashboard/kup-dashboard.js} +148 -149
- package/dist/collection/components/kup-data-table/kup-data-table.js +7 -6
- package/dist/collection/components/kup-drawer/kup-drawer.css +5 -8
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +12 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +101 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +666 -0
- package/dist/collection/components/kup-form/kup-form-declarations.js +25 -0
- package/dist/collection/components/kup-form/kup-form.css +99 -0
- package/dist/collection/components/kup-form/kup-form.js +647 -0
- package/dist/collection/components/kup-grid/kup-grid.js +1 -4
- package/dist/collection/components/kup-image-list/kup-image-list-state.js +9 -0
- package/dist/collection/components/kup-image-list/kup-image-list.css +0 -6
- package/dist/collection/components/kup-image-list/kup-image-list.js +113 -1
- package/dist/collection/components/kup-lazy/kup-lazy.css +13 -6
- package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +13 -3
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +1 -1
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +0 -6
- package/dist/collection/components/kup-tree/kup-tree.js +10 -4
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +5 -1
- package/dist/collection/f-components/f-cell/f-cell.js +34 -114
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +69 -0
- package/dist/collection/managers/kup-data/kup-data.js +109 -1
- package/dist/collection/managers/kup-language/kup-language-declarations.js +11 -0
- package/dist/collection/managers/kup-objects/kup-objects.js +10 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +20 -3
- package/dist/collection/types/GenericTypes.js +3 -2
- package/dist/esm/{cell-utils-964da6b5.js → cell-utils-cb5d4149.js} +2 -2
- package/dist/esm/{f-button-871a544b.js → f-button-fd44ef70.js} +4 -4
- package/dist/esm/{f-cell-521ef17a.js → f-cell-7b159a22.js} +48 -283
- package/dist/esm/f-checkbox-c51c4a75.js +27 -0
- package/dist/esm/{f-chip-1dda722f.js → f-chip-c2e4c522.js} +3 -3
- package/dist/esm/{f-image-c468d8ae.js → f-image-2ab4b9aa.js} +2 -2
- package/dist/esm/{f-paginator-utils-7dff8ff0.js → f-paginator-utils-ef537d82.js} +5 -5
- package/dist/esm/{f-text-field-d6c61c73.js → f-text-field-41c575eb.js} +3 -3
- package/dist/esm/{index-baeab1ac.js → index-ad6ab214.js} +6 -4
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-autocomplete_25.entry.js +199 -183
- package/dist/esm/kup-box.entry.js +1302 -0
- package/dist/esm/kup-calendar.entry.js +7 -7
- package/dist/esm/kup-cell.entry.js +9 -8
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +4 -7
- package/dist/esm/{kup-form-editor.entry.js → kup-dashboard.entry.js} +123 -148
- package/dist/esm/kup-drawer.entry.js +4 -4
- package/dist/esm/{kup-box_2.entry.js → kup-echart.entry.js} +54 -1338
- package/dist/esm/kup-family-tree.entry.js +406 -0
- package/dist/esm/kup-form.entry.js +476 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +72 -10
- package/dist/esm/kup-lazy.entry.js +4 -4
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-58b075b4.js → kup-manager-22a475e6.js} +404 -8
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-d7e4b3c2.js → utils-2c1f4122.js} +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-06c6cc68.js +1 -0
- package/dist/ketchup/{p-3c11e615.entry.js → p-0dacd4bc.entry.js} +1 -1
- package/dist/ketchup/{p-fac1a08b.entry.js → p-1959f835.entry.js} +1 -1
- package/dist/ketchup/p-1c44dc62.entry.js +1 -0
- package/dist/ketchup/{p-f09f2f98.entry.js → p-264b1b19.entry.js} +1 -1
- package/dist/ketchup/p-38d7584e.js +1 -0
- package/dist/ketchup/{p-f71a1675.entry.js → p-42080355.entry.js} +1 -1
- package/dist/ketchup/p-4bc9f98b.entry.js +1 -0
- package/dist/ketchup/p-578583db.entry.js +1 -0
- package/dist/ketchup/p-5866d507.entry.js +1 -0
- package/dist/ketchup/p-61059e9d.entry.js +9 -0
- package/dist/ketchup/{p-a615a92b.entry.js → p-664be494.entry.js} +1 -1
- package/dist/ketchup/{p-d2ee56dd.entry.js → p-67cd575d.entry.js} +1 -1
- package/dist/ketchup/{p-e0035c58.js → p-682a367a.js} +1 -1
- package/dist/ketchup/p-6ccf7eb2.entry.js +1 -0
- package/dist/ketchup/p-7230ab97.entry.js +1 -0
- package/dist/ketchup/p-752b4cef.entry.js +1 -0
- package/dist/ketchup/{p-954cc340.entry.js → p-7de3e7ac.entry.js} +1 -1
- package/dist/ketchup/p-928c5c36.js +1 -0
- package/dist/ketchup/{p-6dff70f8.entry.js → p-9b36497d.entry.js} +1 -1
- package/dist/ketchup/{p-99e0d768.entry.js → p-b982d137.entry.js} +1 -1
- package/dist/ketchup/{p-8cdf61a4.js → p-c0219e5e.js} +1 -1
- package/dist/ketchup/p-c55fd0a7.entry.js +1 -0
- package/dist/ketchup/p-cd5cfa7c.js +1 -0
- package/dist/ketchup/p-d154b3a0.entry.js +1 -0
- package/dist/ketchup/p-d2affb6f.entry.js +27 -0
- package/dist/ketchup/p-d3b542b3.js +2 -0
- package/dist/ketchup/{p-7454cb92.js → p-d6c12c6c.js} +1 -1
- package/dist/ketchup/p-da0eab60.entry.js +1 -0
- package/dist/ketchup/{p-7eff4eee.js → p-dc62a30f.js} +1 -1
- package/dist/ketchup/p-e9366aaf.entry.js +39 -0
- package/dist/ketchup/{p-44ec4f03.js → p-edae3076.js} +1 -1
- package/dist/ketchup/p-fc2b1229.js +30 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +1 -16
- package/dist/types/components/{kup-form-editor/kup-form-editor-declarations.d.ts → kup-dashboard/kup-dashboard-declarations.d.ts} +9 -27
- package/dist/types/components/{kup-form-editor/kup-form-editor.d.ts → kup-dashboard/kup-dashboard.d.ts} +12 -9
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +33 -0
- package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +61 -0
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +60 -0
- package/dist/types/components/kup-form/kup-form.d.ts +63 -0
- package/dist/types/components/kup-image-list/kup-image-list-state.d.ts +6 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +17 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +0 -6
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +2 -0
- package/dist/types/components.d.ts +460 -241
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -1
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +8 -0
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +15 -1
- package/dist/types/managers/kup-data/kup-data.d.ts +7 -1
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +11 -1
- package/dist/types/managers/kup-objects/kup-objects.d.ts +6 -0
- package/dist/types/types/GenericTypes.d.ts +3 -2
- package/package.json +2 -2
- package/dist/cjs/f-cell-69294bca.js +0 -653
- package/dist/cjs/kup-field.cjs.entry.js +0 -241
- package/dist/collection/assets/form-editor.js +0 -338
- package/dist/collection/components/kup-field/kup-field-declarations.js +0 -15
- package/dist/collection/components/kup-field/kup-field.css +0 -48
- package/dist/collection/components/kup-field/kup-field.js +0 -514
- package/dist/collection/components/kup-form-editor/kup-form-editor-declarations.js +0 -23
- package/dist/esm/kup-field.entry.js +0 -237
- package/dist/ketchup/p-1ae66cc5.js +0 -1
- package/dist/ketchup/p-34b74425.js +0 -1
- package/dist/ketchup/p-4ffbc3ff.js +0 -1
- package/dist/ketchup/p-5264a3e6.entry.js +0 -1
- package/dist/ketchup/p-65974e48.entry.js +0 -1
- package/dist/ketchup/p-65b46587.entry.js +0 -40
- package/dist/ketchup/p-80968627.entry.js +0 -1
- package/dist/ketchup/p-a0f6e25c.entry.js +0 -1
- package/dist/ketchup/p-aca0e54b.js +0 -30
- package/dist/ketchup/p-b8939a8b.entry.js +0 -1
- package/dist/ketchup/p-bfc3bac7.js +0 -1
- package/dist/ketchup/p-c5ce8951.entry.js +0 -1
- package/dist/ketchup/p-cad1e097.entry.js +0 -9
- package/dist/ketchup/p-db71436b.entry.js +0 -27
- package/dist/ketchup/p-e1039cf2.entry.js +0 -1
- package/dist/ketchup/p-ea10176c.entry.js +0 -1
- package/dist/types/components/kup-field/kup-field-declarations.d.ts +0 -25
- package/dist/types/components/kup-field/kup-field.d.ts +0 -90
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { VNode } from '../../stencil-public-runtime';
|
|
2
2
|
import { KupDataCell, KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
3
3
|
import { FComponent, KupEventPayload, KupTagNames } from '../../types/GenericTypes';
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const autoCenterComps: KupTagNames[];
|
|
5
|
+
export declare const fullWidthFieldsComps: KupTagNames[];
|
|
5
6
|
/**
|
|
6
7
|
* Props of the f-cell component.
|
|
7
8
|
*/
|
|
@@ -110,6 +111,7 @@ export declare enum FCellShapes {
|
|
|
110
111
|
PROGRESS_BAR = "PGB",
|
|
111
112
|
RADIO = "RAD",
|
|
112
113
|
RATING = "RTG",
|
|
114
|
+
SWITCH = "SWT",
|
|
113
115
|
TEXT_FIELD = "ITX"
|
|
114
116
|
}
|
|
115
117
|
/**
|
|
@@ -138,6 +140,7 @@ export declare enum FCellTypes {
|
|
|
138
140
|
RADIO = "radio",
|
|
139
141
|
RATING = "rating",
|
|
140
142
|
STRING = "string",
|
|
143
|
+
SWITCH = "switch",
|
|
141
144
|
TIME = "time"
|
|
142
145
|
}
|
|
143
146
|
export declare const editableTypes: FCellTypes[];
|
|
@@ -105,6 +105,7 @@ export interface KupDataColumnOperations {
|
|
|
105
105
|
* Interface related to nodes operations.
|
|
106
106
|
*/
|
|
107
107
|
export interface KupDataNodeOperations {
|
|
108
|
+
getDrilldownInfo: (nodes: KupDataNode[]) => KupDataNodeDrilldownInfo;
|
|
108
109
|
getParent: (nodes: KupDataNode[], child: KupDataNode) => KupDataNode;
|
|
109
110
|
remove: (nodes: KupDataNode[], node2remove: KupDataNode) => KupDataNode;
|
|
110
111
|
setProperties: (nodes: KupDataNode[], properties: Partial<KupDataNode>, recursively?: boolean, exclude?: KupDataNode[]) => KupDataNode[];
|
|
@@ -152,6 +153,13 @@ export interface KupDataNewColumnOptions {
|
|
|
152
153
|
operation?: string;
|
|
153
154
|
separator?: string;
|
|
154
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Interface containing the options related to column creation when invoking column.new.
|
|
158
|
+
*/
|
|
159
|
+
export interface KupDataNodeDrilldownInfo {
|
|
160
|
+
maxChildren?: number;
|
|
161
|
+
maxDepth?: number;
|
|
162
|
+
}
|
|
155
163
|
/**
|
|
156
164
|
* Types of column creation when invoking column.new.
|
|
157
165
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TreeNodePath } from '../../components/kup-tree/kup-tree-declarations';
|
|
2
|
+
import { KupDataNode, KupDataNodeDrilldownInfo } from './kup-data-declarations';
|
|
2
3
|
/**
|
|
3
4
|
* Removes the given node from the input array, by searching even children.
|
|
4
5
|
* @param {KupDataNode[]} nodes - Input array of nodes.
|
|
@@ -21,6 +22,12 @@ export declare function setPropertiesNode(nodes: KupDataNode[], properties: Part
|
|
|
21
22
|
* @returns {KupDataNode[]} Streamlined array of every node and their children.
|
|
22
23
|
*/
|
|
23
24
|
export declare function toStreamNode(nodes: KupDataNode[]): KupDataNode[];
|
|
25
|
+
/**
|
|
26
|
+
* Gets information about the tree depth, such as max number of children and max depth.
|
|
27
|
+
* @param {KupDataNode[]} nodes - Input array of nodes.
|
|
28
|
+
* @returns {KupDataNodeDrilldownInfo} Information about the tree depth.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getDrilldownInfoNode(nodes: KupDataNode[]): KupDataNodeDrilldownInfo;
|
|
24
31
|
/**
|
|
25
32
|
* Returns the parent of the given node.
|
|
26
33
|
* @param {KupDataNode[]} nodes - Input array of nodes.
|
|
@@ -28,3 +35,10 @@ export declare function toStreamNode(nodes: KupDataNode[]): KupDataNode[];
|
|
|
28
35
|
* @returns {KupDataNode} Parent node.
|
|
29
36
|
*/
|
|
30
37
|
export declare function getParentNode(nodes: KupDataNode[], child: KupDataNode): KupDataNode;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the node with id equal to the given value.
|
|
40
|
+
* @param {KupDataNode[]} nodes - Input array of nodes.
|
|
41
|
+
* @param {string} treeNodePath - Tree node path.
|
|
42
|
+
* @returns {KupDataNode} Node.
|
|
43
|
+
*/
|
|
44
|
+
export declare function getNodeByPath(nodes: KupDataNode[], treeNodePath: TreeNodePath): KupDataNode;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { KupDataCell, KupDataColumn, KupDataDataset, KupDataDatasetSort, KupDataFindCellFilters, KupDataNewColumn, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataNode, KupDataRow } from './kup-data-declarations';
|
|
1
|
+
import { KupDataCell, KupDataColumn, KupDataDataset, KupDataDatasetSort, KupDataFindCellFilters, KupDataNewColumn, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataNode, KupDataNodeDrilldownInfo, KupDataRow } from './kup-data-declarations';
|
|
2
|
+
import { FCellShapes, FCellTypes } from '../../f-components/f-cell/f-cell-declarations';
|
|
3
|
+
import { TreeNodePath } from '../../components/kup-tree/kup-tree-declarations';
|
|
2
4
|
/**
|
|
3
5
|
* Handles data operations.
|
|
4
6
|
* @module KupData
|
|
@@ -8,6 +10,7 @@ export declare class KupData {
|
|
|
8
10
|
find(dataset: KupDataDataset, filters: KupDataFindCellFilters): KupDataCell[];
|
|
9
11
|
getValue(dataset: KupDataDataset, columns?: string[]): string[];
|
|
10
12
|
replace(dataset: KupDataDataset, cell: KupDataCell, columns?: string[]): KupDataCell[];
|
|
13
|
+
getType(cell: KupDataCell, shape?: FCellShapes): FCellTypes;
|
|
11
14
|
};
|
|
12
15
|
column: {
|
|
13
16
|
find(dataset: KupDataDataset | KupDataColumn[], filters: Partial<KupDataColumn>): KupDataColumn[];
|
|
@@ -15,7 +18,10 @@ export declare class KupData {
|
|
|
15
18
|
new(dataset: KupDataDataset, type: KupDataNewColumnTypes, options: KupDataNewColumnOptions): string | KupDataColumn;
|
|
16
19
|
};
|
|
17
20
|
node: {
|
|
21
|
+
getDrilldownInfo(nodes: KupDataNode[]): KupDataNodeDrilldownInfo;
|
|
18
22
|
getParent(nodes: KupDataNode[], child: KupDataNode): KupDataNode;
|
|
23
|
+
find(nodes: KupDataNode[], treeNodePath: TreeNodePath): KupDataNode;
|
|
24
|
+
findByStrTreeNodePath(nodes: KupDataNode[], treeNodePath: string): KupDataNode;
|
|
19
25
|
remove(nodes: KupDataNode[], node2remove: KupDataNode): KupDataNode;
|
|
20
26
|
setProperties(nodes: KupDataNode[], properties: Partial<KupDataNode>, recursively?: boolean, exclude?: KupDataNode[]): KupDataNode[];
|
|
21
27
|
toStream(nodes: KupDataNode[]): KupDataNode[];
|
|
@@ -3,7 +3,7 @@ import type { GenericObject } from '../../types/GenericTypes';
|
|
|
3
3
|
* Master type extending all subtypes of keys.
|
|
4
4
|
* Remember to edit "languages.json"
|
|
5
5
|
*/
|
|
6
|
-
export declare type KupLanguageKey = KupLanguageCheckbox | KupLanguageColumn | KupLanguageDebug | KupLanguageDensity | KupLanguageFontsize | KupLanguageGeneric | KupLanguageGrid | KupLanguageGrouping | KupLanguagePage | KupLanguageRow | KupLanguageSearch | KupLanguageTotals;
|
|
6
|
+
export declare type KupLanguageKey = KupLanguageCheckbox | KupLanguageColumn | KupLanguageDashboard | KupLanguageDebug | KupLanguageDensity | KupLanguageFontsize | KupLanguageGeneric | KupLanguageGrid | KupLanguageGrouping | KupLanguagePage | KupLanguageRow | KupLanguageSearch | KupLanguageTotals;
|
|
7
7
|
/**
|
|
8
8
|
* Interface of the languages JSON.
|
|
9
9
|
*/
|
|
@@ -61,6 +61,16 @@ export declare enum KupLanguageColumn {
|
|
|
61
61
|
NON_NUMERICAL_IN_TABLE = "columnNonNumericalInTable",
|
|
62
62
|
SWAP = "columnSwap"
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Dashboard related decodes.
|
|
66
|
+
*/
|
|
67
|
+
export declare enum KupLanguageDashboard {
|
|
68
|
+
DIMENSION = "dashboardDimension",
|
|
69
|
+
LOADED = "dashboardLoaded",
|
|
70
|
+
RESET = "dashboardReset",
|
|
71
|
+
SAVE = "dashboardSave",
|
|
72
|
+
VERTICAL = "dashboardVertical"
|
|
73
|
+
}
|
|
64
74
|
/**
|
|
65
75
|
* Debug widget decodes.
|
|
66
76
|
*/
|
|
@@ -126,6 +126,12 @@ export declare class KupObjects {
|
|
|
126
126
|
* @returns {boolean} True when the object can be considered as a string.
|
|
127
127
|
*/
|
|
128
128
|
isStringObject(obj: any): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Checks whether the object represents a switch or not.
|
|
131
|
+
* @param {KupObj} obj - Object to check.
|
|
132
|
+
* @returns {boolean} True when the object is a switch.
|
|
133
|
+
*/
|
|
134
|
+
isSwitch(obj: KupObj): boolean;
|
|
129
135
|
/**
|
|
130
136
|
* Checks whether the object represents a text field or not.
|
|
131
137
|
* @param {KupObj} obj - Object to check.
|
|
@@ -75,12 +75,13 @@ export declare enum KupTagNames {
|
|
|
75
75
|
COMBOBOX = "KUP-COMBOBOX",
|
|
76
76
|
DASH = "KUP-DASH",
|
|
77
77
|
DASH_LIST = "KUP-DASH-LIST",
|
|
78
|
+
DASHBOARD = "KUP-DASHBOARD",
|
|
78
79
|
DATA_TABLE = "KUP-DATA-TABLE",
|
|
79
80
|
DATE_PICKER = "KUP-DATE-PICKER",
|
|
80
81
|
DRAWER = "KUP-DRAWER",
|
|
81
82
|
DROPDOWN_BUTTON = "KUP-DROPDOWN-BUTTON",
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
FAMILY_TREE = "KUP-FAMILY-TREE",
|
|
84
|
+
FORM = "KUP-FORM",
|
|
84
85
|
GAUGE = "KUP-GAUGE",
|
|
85
86
|
GRID = "KUP-GRID",
|
|
86
87
|
IFRAME = "KUP-IFRAME",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.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.17.0",
|
|
60
60
|
"@stencil/sass": "^1.4.1",
|
|
61
61
|
"@types/d3-shape": "^3.0.2",
|
|
62
62
|
"@types/geojson": "^7946.0.8",
|