@sme.up/ketchup 5.2.0-SNAPSHOT → 6.1.0-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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} +1766 -8367
- 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 +0 -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.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 +65 -140
- 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} +1711 -8310
- 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-976244f9.entry.js +9 -0
- 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-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.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 -24
- 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
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { EventEmitter, VNode } from '../../stencil-public-runtime';
|
|
2
|
+
import type { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
3
|
+
import { KupNumericPickerEventPayload } from './kup-numeric-picker-declarations';
|
|
4
|
+
export declare class KupNumericPicker {
|
|
5
|
+
rootElement: HTMLElement;
|
|
6
|
+
stateSwitcher: boolean;
|
|
7
|
+
value: string;
|
|
8
|
+
/**
|
|
9
|
+
* Custom style of the component.
|
|
10
|
+
* @default ""
|
|
11
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
12
|
+
*/
|
|
13
|
+
customStyle: string;
|
|
14
|
+
/**
|
|
15
|
+
* Props of the sub-components.
|
|
16
|
+
* @default null
|
|
17
|
+
*/
|
|
18
|
+
data: Object;
|
|
19
|
+
/**
|
|
20
|
+
* Defaults at false. When set to true, the component has decimals.
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
decimals: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Defaults at false. When set to true, the component is disabled.
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the initial value of the component
|
|
31
|
+
* @default ""
|
|
32
|
+
*/
|
|
33
|
+
initialValue: string;
|
|
34
|
+
/**
|
|
35
|
+
* when set, the component allows you to enter decimals with a maximum of characters.
|
|
36
|
+
* @default null
|
|
37
|
+
*/
|
|
38
|
+
maxDecimals: number;
|
|
39
|
+
/**
|
|
40
|
+
* When set, the component allows you to enter integer numbers with a maximum of characters.
|
|
41
|
+
* @default null
|
|
42
|
+
*/
|
|
43
|
+
maxIntegers: number;
|
|
44
|
+
/**
|
|
45
|
+
* When set, the component allows you to enter numbers with a maximum of characters, including decimals.
|
|
46
|
+
* @default null
|
|
47
|
+
*/
|
|
48
|
+
maxLength: number;
|
|
49
|
+
/**
|
|
50
|
+
* Defaults at false. When set to true, the component has negative number.
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
negative: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Instance of the KupManager class.
|
|
56
|
+
*/
|
|
57
|
+
private kupManager;
|
|
58
|
+
private textfieldEl;
|
|
59
|
+
private pickerContainerEl;
|
|
60
|
+
private pickerEl;
|
|
61
|
+
private clickCb;
|
|
62
|
+
kupBlur: EventEmitter<KupNumericPickerEventPayload>;
|
|
63
|
+
kupChange: EventEmitter<KupNumericPickerEventPayload>;
|
|
64
|
+
kupClick: EventEmitter<KupNumericPickerEventPayload>;
|
|
65
|
+
kupFocus: EventEmitter<KupNumericPickerEventPayload>;
|
|
66
|
+
kupInput: EventEmitter<KupNumericPickerEventPayload>;
|
|
67
|
+
kupIconClick: EventEmitter<KupNumericPickerEventPayload>;
|
|
68
|
+
kupItemClick: EventEmitter<KupNumericPickerEventPayload>;
|
|
69
|
+
kupTextFieldSubmit: EventEmitter<KupNumericPickerEventPayload>;
|
|
70
|
+
kupClearIconClick: EventEmitter<KupEventPayload>;
|
|
71
|
+
onKupPickerItemClick(value: string): void;
|
|
72
|
+
onKupClearIconClick(): void;
|
|
73
|
+
onKupBlur(): void;
|
|
74
|
+
onKupChange(e: InputEvent): void;
|
|
75
|
+
onKupClick(): void;
|
|
76
|
+
onKupFocus(): void;
|
|
77
|
+
onKupInput(e: InputEvent): void;
|
|
78
|
+
onkupTextFieldSubmit(e: KeyboardEvent): void;
|
|
79
|
+
onKupIconClick(): void;
|
|
80
|
+
listenKeyup(e: KeyboardEvent): void;
|
|
81
|
+
/**
|
|
82
|
+
* Retrieves the component's value.
|
|
83
|
+
* @returns {string} Value of the component.
|
|
84
|
+
*/
|
|
85
|
+
getValue(): Promise<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Used to retrieve component's props values.
|
|
88
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
89
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
90
|
+
*/
|
|
91
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
92
|
+
/**
|
|
93
|
+
* This method is used to trigger a new render of the component.
|
|
94
|
+
*/
|
|
95
|
+
refresh(): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the focus to the component.
|
|
98
|
+
*/
|
|
99
|
+
setFocus(): Promise<void>;
|
|
100
|
+
/**
|
|
101
|
+
* Sets the component's value.
|
|
102
|
+
* @param {string} value - Value to be set.
|
|
103
|
+
*/
|
|
104
|
+
setValue(value: string): Promise<void>;
|
|
105
|
+
refreshPickerValue(eventDetailValue: string, eventToRaise: EventEmitter, isOnInputEvent?: boolean): void;
|
|
106
|
+
setPickerValueSelected(newValue?: string): void;
|
|
107
|
+
getPickerValueSelected(): string;
|
|
108
|
+
getValueForPickerComponent(): string;
|
|
109
|
+
openPicker(): void;
|
|
110
|
+
closePicker(): void;
|
|
111
|
+
isPickerOpened(): boolean;
|
|
112
|
+
getTextFieldId(): string;
|
|
113
|
+
prepTextfield(): VNode;
|
|
114
|
+
prepPicker(): any;
|
|
115
|
+
componentWillLoad(): void;
|
|
116
|
+
componentDidLoad(): void;
|
|
117
|
+
componentWillRender(): void;
|
|
118
|
+
componentDidRender(): void;
|
|
119
|
+
render(): any;
|
|
120
|
+
disconnectedCallback(): void;
|
|
121
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { KupDataNode } from '../../managers/kup-data/kup-data-declarations';
|
|
1
2
|
import { KupEventPayload } from '../../types/GenericTypes';
|
|
2
3
|
/**
|
|
3
4
|
* Props of the kup-tab-bar component.
|
|
@@ -11,17 +12,10 @@ export declare enum KupTabBarProps {
|
|
|
11
12
|
/**
|
|
12
13
|
* The object of a single radio.
|
|
13
14
|
*/
|
|
14
|
-
export interface
|
|
15
|
-
value: string;
|
|
15
|
+
export interface KupTabBarNode extends KupDataNode {
|
|
16
16
|
active?: boolean;
|
|
17
|
-
icon?: string;
|
|
18
|
-
text?: string;
|
|
19
|
-
title?: string;
|
|
20
17
|
}
|
|
21
18
|
export interface KupTabBarEventPayload extends KupEventPayload {
|
|
19
|
+
node: KupTabBarNode;
|
|
22
20
|
index: number;
|
|
23
|
-
el: EventTarget;
|
|
24
|
-
}
|
|
25
|
-
export interface KupTabBarClickEventPayload extends KupTabBarEventPayload {
|
|
26
|
-
value: string;
|
|
27
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { KupTabBarNode, KupTabBarEventPayload } from './kup-tab-bar-declarations';
|
|
3
3
|
import { GenericObject } from '../../types/GenericTypes';
|
|
4
4
|
export declare class KupTabBar {
|
|
5
5
|
/**
|
|
@@ -17,7 +17,7 @@ export declare class KupTabBar {
|
|
|
17
17
|
* List of elements.
|
|
18
18
|
* @default null
|
|
19
19
|
*/
|
|
20
|
-
data:
|
|
20
|
+
data: KupTabBarNode[];
|
|
21
21
|
/**
|
|
22
22
|
* When enabled displays Material's ripple effect on item headers.
|
|
23
23
|
* @default true
|
|
@@ -38,14 +38,14 @@ export declare class KupTabBar {
|
|
|
38
38
|
/**
|
|
39
39
|
* Triggered when the tab is clicked.
|
|
40
40
|
*/
|
|
41
|
-
kupClick: EventEmitter<
|
|
41
|
+
kupClick: EventEmitter<KupTabBarEventPayload>;
|
|
42
42
|
/**
|
|
43
43
|
* Triggered when the tab is focused.
|
|
44
44
|
*/
|
|
45
45
|
kupFocus: EventEmitter<KupTabBarEventPayload>;
|
|
46
|
-
onKupBlur(i: number,
|
|
47
|
-
onKupClick(i: number,
|
|
48
|
-
onKupFocus(i: number,
|
|
46
|
+
onKupBlur(i: number, node: KupTabBarNode): void;
|
|
47
|
+
onKupClick(i: number, node: KupTabBarNode): void;
|
|
48
|
+
onKupFocus(i: number, node: KupTabBarNode): void;
|
|
49
49
|
applyRipple(): void;
|
|
50
50
|
/**
|
|
51
51
|
* Used to retrieve component's props values.
|
|
@@ -32,10 +32,6 @@ export declare enum KupTreeProps {
|
|
|
32
32
|
showIcons = "Shows the icons of the nodes.",
|
|
33
33
|
stateId = "",
|
|
34
34
|
store = "",
|
|
35
|
-
showTooltipOnRightClick = "If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.",
|
|
36
|
-
tooltipDetailTimeout = "Defines the timeout for tooltip detail",
|
|
37
|
-
tooltipEnabled = "Enable show tooltip",
|
|
38
|
-
tooltipLoadTimeout = "Defines the timeout for tooltip load",
|
|
39
35
|
totals = "Defines the current totals options.",
|
|
40
36
|
useDynamicExpansion = "When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the tree have been passed inside the data property. Therefore, when expanding a node, the tree must emit an event (or run a given callback) and wait for the child nodes to be downloaded from the server."
|
|
41
37
|
}
|
|
@@ -62,7 +58,7 @@ export interface KupTreeEventHandlerDetails {
|
|
|
62
58
|
row: KupDataRow;
|
|
63
59
|
td: HTMLElement;
|
|
64
60
|
th: HTMLElement;
|
|
65
|
-
tr:
|
|
61
|
+
tr: HTMLElement;
|
|
66
62
|
}
|
|
67
63
|
export declare enum KupTreeExpansionMode {
|
|
68
64
|
DROPDOWN = "dropdown",
|
|
@@ -154,22 +154,6 @@ export declare class KupTree {
|
|
|
154
154
|
* @see dynamicExpansionCallback
|
|
155
155
|
*/
|
|
156
156
|
useDynamicExpansion: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.
|
|
159
|
-
*/
|
|
160
|
-
showTooltipOnRightClick: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Defines the timeout for tooltip detail
|
|
163
|
-
*/
|
|
164
|
-
tooltipDetailTimeout: number;
|
|
165
|
-
/**
|
|
166
|
-
* Enable show tooltip
|
|
167
|
-
*/
|
|
168
|
-
tooltipEnabled: boolean;
|
|
169
|
-
/**
|
|
170
|
-
* Defines the timeout for tooltip load
|
|
171
|
-
*/
|
|
172
|
-
tooltipLoadTimeout: number;
|
|
173
157
|
/**
|
|
174
158
|
* Defines the current totals options.
|
|
175
159
|
*/
|
|
@@ -188,7 +172,6 @@ export declare class KupTree {
|
|
|
188
172
|
private globalFilterTimeout;
|
|
189
173
|
private footer;
|
|
190
174
|
private sizedColumns;
|
|
191
|
-
private tooltip;
|
|
192
175
|
columnFilterTimeout: number;
|
|
193
176
|
private columnMenuInstance;
|
|
194
177
|
private filtersColumnMenuInstance;
|
|
@@ -309,10 +292,10 @@ export declare class KupTree {
|
|
|
309
292
|
getHeadingColumns(): Array<KupDataColumn>;
|
|
310
293
|
launchNodeEvent(treeNodePath: TreeNodePath, treeNode: KupTreeNode): void;
|
|
311
294
|
private openTotalMenu;
|
|
312
|
-
private closeMenuAndTooltip;
|
|
313
295
|
private onTotalMenuOpen;
|
|
314
296
|
private getEventDetails;
|
|
315
297
|
private contextMenuHandler;
|
|
298
|
+
private getEventPath;
|
|
316
299
|
hdlTreeNodeClick(e: MouseEvent, treeNodeData: KupTreeNode, treeNodePath: string, auto: boolean): void;
|
|
317
300
|
hdlTreeNodeExpanderClick(treeNodeData: KupTreeNode, treeNodePath: string, ctrlKey: boolean): void;
|
|
318
301
|
private hasTotals;
|
|
@@ -333,13 +316,7 @@ export declare class KupTree {
|
|
|
333
316
|
private calculateVisibleNodes;
|
|
334
317
|
private refreshStructureState;
|
|
335
318
|
private createIconElement;
|
|
336
|
-
/**
|
|
337
|
-
* Controls if current cell needs a tooltip and eventually adds it.
|
|
338
|
-
* @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.
|
|
339
|
-
*/
|
|
340
|
-
private getToolTipEventHandlers;
|
|
341
319
|
private getCellStyle;
|
|
342
|
-
renderTooltip(): any;
|
|
343
320
|
/**
|
|
344
321
|
* Renders the header of the tree when it must be displayed as a table.
|
|
345
322
|
* @returns An array of table header cells.
|