@sme.up/ketchup 6.1.0-SNAPSHOT → 6.2.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-a78d6fac.js → cell-utils-d894e802.js} +2 -2
- package/dist/cjs/{f-button-ac179257.js → f-button-414b3bc3.js} +4 -4
- package/dist/cjs/f-cell-c8983ec7.js +418 -0
- package/dist/cjs/f-checkbox-57443ca3.js +29 -0
- package/dist/cjs/{f-chip-b00897d7.js → f-chip-ef81bf51.js} +3 -3
- package/dist/cjs/{f-image-89f25556.js → f-image-0618c795.js} +2 -2
- package/dist/cjs/{f-paginator-utils-8fa501b3.js → f-paginator-utils-c9dd5173.js} +5 -5
- package/dist/cjs/{f-text-field-e1e45ade.js → f-text-field-7d31190f.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 +200 -187
- package/dist/cjs/kup-box_2.cjs.entry.js +23 -12
- 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-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +469 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +11 -10
- 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 → kup-manager-2fee8cf3.js} +324 -6
- 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 +7 -9
- 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-8470184d.js} +1 -1
- package/dist/collection/assets/dashboard.js +113 -0
- package/dist/collection/assets/data-table.js +15 -0
- package/dist/collection/assets/form.js +179 -0
- package/dist/collection/assets/grid.js +17 -0
- package/dist/collection/assets/index.js +10 -6
- package/dist/collection/collection-manifest.json +3 -2
- 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-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-drawer/kup-drawer.css +5 -8
- package/dist/collection/components/kup-form/kup-form-declarations.js +19 -0
- package/dist/collection/components/kup-form/kup-form.css +86 -0
- package/dist/collection/components/kup-form/kup-form.js +668 -0
- package/dist/collection/components/kup-grid/kup-grid.js +1 -4
- package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +10 -7
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +3 -5
- 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.js +94 -0
- 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 +18 -3
- package/dist/collection/types/GenericTypes.js +2 -1
- package/dist/esm/{cell-utils-964da6b5.js → cell-utils-7fc84d4e.js} +2 -2
- package/dist/esm/{f-button-871a544b.js → f-button-2f6cc296.js} +4 -4
- package/dist/esm/{f-cell-521ef17a.js → f-cell-4428481c.js} +48 -283
- package/dist/esm/f-checkbox-c51c4a75.js +27 -0
- package/dist/esm/{f-chip-1dda722f.js → f-chip-b39eb49a.js} +3 -3
- package/dist/esm/{f-image-c468d8ae.js → f-image-b08ebeb2.js} +2 -2
- package/dist/esm/{f-paginator-utils-7dff8ff0.js → f-paginator-utils-4fda6086.js} +5 -5
- package/dist/esm/{f-text-field-d6c61c73.js → f-text-field-184a5fb3.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 +190 -177
- package/dist/esm/kup-box_2.entry.js +23 -12
- 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-field.entry.js +2 -2
- package/dist/esm/kup-form.entry.js +465 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +10 -9
- 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 → kup-manager-3325b2d8.js} +321 -7
- 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 +7 -9
- 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-6373a07e.js} +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-006bc4d0.entry.js +1 -0
- package/dist/ketchup/{p-8cdf61a4.js → p-0741da57.js} +1 -1
- package/dist/ketchup/{p-44ec4f03.js → p-13e08580.js} +1 -1
- package/dist/ketchup/p-153697fb.entry.js +1 -0
- package/dist/ketchup/{p-a615a92b.entry.js → p-175edb62.entry.js} +1 -1
- package/dist/ketchup/{p-fac1a08b.entry.js → p-1db1d42b.entry.js} +1 -1
- package/dist/ketchup/{p-f09f2f98.entry.js → p-30820f8f.entry.js} +1 -1
- package/dist/ketchup/p-35325834.entry.js +9 -0
- package/dist/ketchup/{p-65b46587.entry.js → p-359e8bec.entry.js} +4 -4
- package/dist/ketchup/{p-6dff70f8.entry.js → p-3c7c92c0.entry.js} +1 -1
- package/dist/ketchup/{p-954cc340.entry.js → p-41cf8703.entry.js} +1 -1
- package/dist/ketchup/{p-3c11e615.entry.js → p-6127fccf.entry.js} +1 -1
- package/dist/ketchup/{p-f71a1675.entry.js → p-6b82e4e2.entry.js} +1 -1
- package/dist/ketchup/p-704e60eb.js +30 -0
- package/dist/ketchup/p-70660fe2.js +1 -0
- package/dist/ketchup/{p-ea10176c.entry.js → p-762c0382.entry.js} +1 -1
- package/dist/ketchup/{p-c5ce8951.entry.js → p-76947316.entry.js} +1 -1
- package/dist/ketchup/{p-d2ee56dd.entry.js → p-8103b80a.entry.js} +1 -1
- package/dist/ketchup/{p-99e0d768.entry.js → p-9fa457d4.entry.js} +1 -1
- package/dist/ketchup/{p-65974e48.entry.js → p-a0ce8075.entry.js} +1 -1
- package/dist/ketchup/p-a804fe83.entry.js +27 -0
- package/dist/ketchup/{p-7454cb92.js → p-ca9fd099.js} +1 -1
- package/dist/ketchup/p-caabb9ab.entry.js +1 -0
- package/dist/ketchup/p-cc3abf84.entry.js +1 -0
- package/dist/ketchup/p-cd5cfa7c.js +1 -0
- package/dist/ketchup/p-d2e76960.entry.js +1 -0
- package/dist/ketchup/p-d3b542b3.js +2 -0
- package/dist/ketchup/p-d7004ae4.js +1 -0
- package/dist/ketchup/{p-e0035c58.js → p-d95c904b.js} +1 -1
- package/dist/ketchup/{p-7eff4eee.js → p-ddce3430.js} +1 -1
- package/dist/ketchup/p-ee580b3a.entry.js +1 -0
- package/dist/ketchup/p-f49cb68e.js +1 -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-form/kup-form-declarations.d.ts +48 -0
- package/dist/types/components/kup-form/kup-form.d.ts +68 -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 +412 -159
- 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.d.ts +2 -0
- 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 +2 -1
- package/package.json +2 -2
- package/dist/cjs/f-cell-69294bca.js +0 -653
- package/dist/collection/assets/form-editor.js +0 -338
- package/dist/collection/components/kup-form-editor/kup-form-editor-declarations.js +0 -23
- 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-80968627.entry.js +0 -1
- package/dist/ketchup/p-976244f9.entry.js +0 -9
- 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-db71436b.entry.js +0 -27
- package/dist/ketchup/p-e1039cf2.entry.js +0 -1
|
@@ -24,6 +24,7 @@ import { KupChipEventPayload, KupChipNode } from "./components/kup-chip/kup-chip
|
|
|
24
24
|
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
|
+
import { KupDashboardEventPayload, KupDataDashboard } from "./components/kup-dashboard/kup-dashboard-declarations";
|
|
27
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
29
|
import { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
29
30
|
import { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
@@ -32,7 +33,7 @@ import { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, Ku
|
|
|
32
33
|
import { GeoJSON } from "geojson";
|
|
33
34
|
import { XAXisComponentOption, YAXisComponentOption } from "echarts";
|
|
34
35
|
import { KupFieldChangeEvent, KupFieldSubmitEvent } from "./components/kup-field/kup-field-declarations";
|
|
35
|
-
import {
|
|
36
|
+
import { KupFormData, KupFormLabelPlacement, KupFormLayout } from "./components/kup-form/kup-form-declarations";
|
|
36
37
|
import { KupBadge } from "./components/kup-badge/kup-badge";
|
|
37
38
|
import { FImageData } from "./f-components/f-image/f-image-declarations";
|
|
38
39
|
import { KupImageClickEventPayload } from "./components/kup-image/kup-image-declarations";
|
|
@@ -989,6 +990,39 @@ export namespace Components {
|
|
|
989
990
|
"textColor": Array<any>;
|
|
990
991
|
"valueColor": Array<any>;
|
|
991
992
|
}
|
|
993
|
+
interface KupDashboard {
|
|
994
|
+
/**
|
|
995
|
+
* Custom style of the component.
|
|
996
|
+
* @default ""
|
|
997
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
998
|
+
*/
|
|
999
|
+
"customStyle": string;
|
|
1000
|
+
/**
|
|
1001
|
+
* The data of the component.
|
|
1002
|
+
* @default null
|
|
1003
|
+
*/
|
|
1004
|
+
"data": KupDataDashboard;
|
|
1005
|
+
/**
|
|
1006
|
+
* Enable drag & drop of the section.
|
|
1007
|
+
* @default false
|
|
1008
|
+
*/
|
|
1009
|
+
"enableDesign": boolean;
|
|
1010
|
+
/**
|
|
1011
|
+
* Used to retrieve component's props values.
|
|
1012
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
1013
|
+
* @returns List of props as object, each key will be a prop.
|
|
1014
|
+
*/
|
|
1015
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
1016
|
+
/**
|
|
1017
|
+
* This method is used to trigger a new render of the component.
|
|
1018
|
+
*/
|
|
1019
|
+
"refresh": () => Promise<void>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Sets the props to the component.
|
|
1022
|
+
* @param props - Object containing props that will be set to the component.
|
|
1023
|
+
*/
|
|
1024
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
1025
|
+
}
|
|
992
1026
|
interface KupDataTable {
|
|
993
1027
|
/**
|
|
994
1028
|
* When true and when a row is missing some columns, the missing cells will be autogenerated.
|
|
@@ -1595,7 +1629,7 @@ export namespace Components {
|
|
|
1595
1629
|
*/
|
|
1596
1630
|
"type": string;
|
|
1597
1631
|
}
|
|
1598
|
-
interface
|
|
1632
|
+
interface KupForm {
|
|
1599
1633
|
/**
|
|
1600
1634
|
* Custom style of the component.
|
|
1601
1635
|
* @default ""
|
|
@@ -1603,20 +1637,36 @@ export namespace Components {
|
|
|
1603
1637
|
*/
|
|
1604
1638
|
"customStyle": string;
|
|
1605
1639
|
/**
|
|
1606
|
-
*
|
|
1607
|
-
* @default
|
|
1640
|
+
* Actual data of the form.
|
|
1641
|
+
* @default null
|
|
1608
1642
|
*/
|
|
1609
|
-
"data":
|
|
1643
|
+
"data": KupFormData;
|
|
1610
1644
|
/**
|
|
1611
1645
|
* Used to retrieve component's props values.
|
|
1612
1646
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
1613
1647
|
* @returns List of props as object, each key will be a prop.
|
|
1614
1648
|
*/
|
|
1615
1649
|
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
1650
|
+
/**
|
|
1651
|
+
* Placement of fields' labels.
|
|
1652
|
+
* @default KupFormLabelPlacement.LEFT
|
|
1653
|
+
*/
|
|
1654
|
+
"labelPlacement": KupFormLabelPlacement;
|
|
1655
|
+
/**
|
|
1656
|
+
* How the form will arrange its content.
|
|
1657
|
+
* @default null
|
|
1658
|
+
*/
|
|
1659
|
+
"layout": KupFormLayout;
|
|
1616
1660
|
/**
|
|
1617
1661
|
* This method is used to trigger a new render of the component.
|
|
1618
1662
|
*/
|
|
1619
1663
|
"refresh": () => Promise<void>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Sets the focus on an editable table cell.
|
|
1666
|
+
* @param column - Name of the column.
|
|
1667
|
+
* @param rowId - Id of the row.
|
|
1668
|
+
*/
|
|
1669
|
+
"setFocus": (column: string, rowId: string) => Promise<void>;
|
|
1620
1670
|
/**
|
|
1621
1671
|
* Sets the props to the component.
|
|
1622
1672
|
* @param props - Object containing props that will be set to the component.
|
|
@@ -2668,6 +2718,11 @@ export namespace Components {
|
|
|
2668
2718
|
* @default null
|
|
2669
2719
|
*/
|
|
2670
2720
|
"min": number;
|
|
2721
|
+
/**
|
|
2722
|
+
* The HTML name attribute used for form autocomplete.
|
|
2723
|
+
* @default null
|
|
2724
|
+
*/
|
|
2725
|
+
"name": string;
|
|
2671
2726
|
/**
|
|
2672
2727
|
* When set to true, the component will be rendered as an outlined field.
|
|
2673
2728
|
* @default false
|
|
@@ -2952,6 +3007,162 @@ export namespace Components {
|
|
|
2952
3007
|
"useDynamicExpansion": boolean;
|
|
2953
3008
|
}
|
|
2954
3009
|
}
|
|
3010
|
+
export interface KupAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
3011
|
+
detail: T;
|
|
3012
|
+
target: HTMLKupAccordionElement;
|
|
3013
|
+
}
|
|
3014
|
+
export interface KupAutocompleteCustomEvent<T> extends CustomEvent<T> {
|
|
3015
|
+
detail: T;
|
|
3016
|
+
target: HTMLKupAutocompleteElement;
|
|
3017
|
+
}
|
|
3018
|
+
export interface KupBadgeCustomEvent<T> extends CustomEvent<T> {
|
|
3019
|
+
detail: T;
|
|
3020
|
+
target: HTMLKupBadgeElement;
|
|
3021
|
+
}
|
|
3022
|
+
export interface KupBoxCustomEvent<T> extends CustomEvent<T> {
|
|
3023
|
+
detail: T;
|
|
3024
|
+
target: HTMLKupBoxElement;
|
|
3025
|
+
}
|
|
3026
|
+
export interface KupButtonCustomEvent<T> extends CustomEvent<T> {
|
|
3027
|
+
detail: T;
|
|
3028
|
+
target: HTMLKupButtonElement;
|
|
3029
|
+
}
|
|
3030
|
+
export interface KupButtonListCustomEvent<T> extends CustomEvent<T> {
|
|
3031
|
+
detail: T;
|
|
3032
|
+
target: HTMLKupButtonListElement;
|
|
3033
|
+
}
|
|
3034
|
+
export interface KupCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
3035
|
+
detail: T;
|
|
3036
|
+
target: HTMLKupCalendarElement;
|
|
3037
|
+
}
|
|
3038
|
+
export interface KupCardCustomEvent<T> extends CustomEvent<T> {
|
|
3039
|
+
detail: T;
|
|
3040
|
+
target: HTMLKupCardElement;
|
|
3041
|
+
}
|
|
3042
|
+
export interface KupChartCustomEvent<T> extends CustomEvent<T> {
|
|
3043
|
+
detail: T;
|
|
3044
|
+
target: HTMLKupChartElement;
|
|
3045
|
+
}
|
|
3046
|
+
export interface KupCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
3047
|
+
detail: T;
|
|
3048
|
+
target: HTMLKupCheckboxElement;
|
|
3049
|
+
}
|
|
3050
|
+
export interface KupChipCustomEvent<T> extends CustomEvent<T> {
|
|
3051
|
+
detail: T;
|
|
3052
|
+
target: HTMLKupChipElement;
|
|
3053
|
+
}
|
|
3054
|
+
export interface KupColorPickerCustomEvent<T> extends CustomEvent<T> {
|
|
3055
|
+
detail: T;
|
|
3056
|
+
target: HTMLKupColorPickerElement;
|
|
3057
|
+
}
|
|
3058
|
+
export interface KupComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
3059
|
+
detail: T;
|
|
3060
|
+
target: HTMLKupComboboxElement;
|
|
3061
|
+
}
|
|
3062
|
+
export interface KupDashCustomEvent<T> extends CustomEvent<T> {
|
|
3063
|
+
detail: T;
|
|
3064
|
+
target: HTMLKupDashElement;
|
|
3065
|
+
}
|
|
3066
|
+
export interface KupDashListCustomEvent<T> extends CustomEvent<T> {
|
|
3067
|
+
detail: T;
|
|
3068
|
+
target: HTMLKupDashListElement;
|
|
3069
|
+
}
|
|
3070
|
+
export interface KupDashboardCustomEvent<T> extends CustomEvent<T> {
|
|
3071
|
+
detail: T;
|
|
3072
|
+
target: HTMLKupDashboardElement;
|
|
3073
|
+
}
|
|
3074
|
+
export interface KupDataTableCustomEvent<T> extends CustomEvent<T> {
|
|
3075
|
+
detail: T;
|
|
3076
|
+
target: HTMLKupDataTableElement;
|
|
3077
|
+
}
|
|
3078
|
+
export interface KupDatePickerCustomEvent<T> extends CustomEvent<T> {
|
|
3079
|
+
detail: T;
|
|
3080
|
+
target: HTMLKupDatePickerElement;
|
|
3081
|
+
}
|
|
3082
|
+
export interface KupDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
3083
|
+
detail: T;
|
|
3084
|
+
target: HTMLKupDrawerElement;
|
|
3085
|
+
}
|
|
3086
|
+
export interface KupDropdownButtonCustomEvent<T> extends CustomEvent<T> {
|
|
3087
|
+
detail: T;
|
|
3088
|
+
target: HTMLKupDropdownButtonElement;
|
|
3089
|
+
}
|
|
3090
|
+
export interface KupEchartCustomEvent<T> extends CustomEvent<T> {
|
|
3091
|
+
detail: T;
|
|
3092
|
+
target: HTMLKupEchartElement;
|
|
3093
|
+
}
|
|
3094
|
+
export interface KupFieldCustomEvent<T> extends CustomEvent<T> {
|
|
3095
|
+
detail: T;
|
|
3096
|
+
target: HTMLKupFieldElement;
|
|
3097
|
+
}
|
|
3098
|
+
export interface KupIframeCustomEvent<T> extends CustomEvent<T> {
|
|
3099
|
+
detail: T;
|
|
3100
|
+
target: HTMLKupIframeElement;
|
|
3101
|
+
}
|
|
3102
|
+
export interface KupImageCustomEvent<T> extends CustomEvent<T> {
|
|
3103
|
+
detail: T;
|
|
3104
|
+
target: HTMLKupImageElement;
|
|
3105
|
+
}
|
|
3106
|
+
export interface KupImageListCustomEvent<T> extends CustomEvent<T> {
|
|
3107
|
+
detail: T;
|
|
3108
|
+
target: HTMLKupImageListElement;
|
|
3109
|
+
}
|
|
3110
|
+
export interface KupLazyCustomEvent<T> extends CustomEvent<T> {
|
|
3111
|
+
detail: T;
|
|
3112
|
+
target: HTMLKupLazyElement;
|
|
3113
|
+
}
|
|
3114
|
+
export interface KupListCustomEvent<T> extends CustomEvent<T> {
|
|
3115
|
+
detail: T;
|
|
3116
|
+
target: HTMLKupListElement;
|
|
3117
|
+
}
|
|
3118
|
+
export interface KupNavBarCustomEvent<T> extends CustomEvent<T> {
|
|
3119
|
+
detail: T;
|
|
3120
|
+
target: HTMLKupNavBarElement;
|
|
3121
|
+
}
|
|
3122
|
+
export interface KupNumericPickerCustomEvent<T> extends CustomEvent<T> {
|
|
3123
|
+
detail: T;
|
|
3124
|
+
target: HTMLKupNumericPickerElement;
|
|
3125
|
+
}
|
|
3126
|
+
export interface KupPhotoFrameCustomEvent<T> extends CustomEvent<T> {
|
|
3127
|
+
detail: T;
|
|
3128
|
+
target: HTMLKupPhotoFrameElement;
|
|
3129
|
+
}
|
|
3130
|
+
export interface KupRadioCustomEvent<T> extends CustomEvent<T> {
|
|
3131
|
+
detail: T;
|
|
3132
|
+
target: HTMLKupRadioElement;
|
|
3133
|
+
}
|
|
3134
|
+
export interface KupRatingCustomEvent<T> extends CustomEvent<T> {
|
|
3135
|
+
detail: T;
|
|
3136
|
+
target: HTMLKupRatingElement;
|
|
3137
|
+
}
|
|
3138
|
+
export interface KupSnackbarCustomEvent<T> extends CustomEvent<T> {
|
|
3139
|
+
detail: T;
|
|
3140
|
+
target: HTMLKupSnackbarElement;
|
|
3141
|
+
}
|
|
3142
|
+
export interface KupSpinnerCustomEvent<T> extends CustomEvent<T> {
|
|
3143
|
+
detail: T;
|
|
3144
|
+
target: HTMLKupSpinnerElement;
|
|
3145
|
+
}
|
|
3146
|
+
export interface KupSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
3147
|
+
detail: T;
|
|
3148
|
+
target: HTMLKupSwitchElement;
|
|
3149
|
+
}
|
|
3150
|
+
export interface KupTabBarCustomEvent<T> extends CustomEvent<T> {
|
|
3151
|
+
detail: T;
|
|
3152
|
+
target: HTMLKupTabBarElement;
|
|
3153
|
+
}
|
|
3154
|
+
export interface KupTextFieldCustomEvent<T> extends CustomEvent<T> {
|
|
3155
|
+
detail: T;
|
|
3156
|
+
target: HTMLKupTextFieldElement;
|
|
3157
|
+
}
|
|
3158
|
+
export interface KupTimePickerCustomEvent<T> extends CustomEvent<T> {
|
|
3159
|
+
detail: T;
|
|
3160
|
+
target: HTMLKupTimePickerElement;
|
|
3161
|
+
}
|
|
3162
|
+
export interface KupTreeCustomEvent<T> extends CustomEvent<T> {
|
|
3163
|
+
detail: T;
|
|
3164
|
+
target: HTMLKupTreeElement;
|
|
3165
|
+
}
|
|
2955
3166
|
declare global {
|
|
2956
3167
|
interface HTMLKupAccordionElement extends Components.KupAccordion, HTMLStencilElement {
|
|
2957
3168
|
}
|
|
@@ -3049,6 +3260,12 @@ declare global {
|
|
|
3049
3260
|
prototype: HTMLKupDashListElement;
|
|
3050
3261
|
new (): HTMLKupDashListElement;
|
|
3051
3262
|
};
|
|
3263
|
+
interface HTMLKupDashboardElement extends Components.KupDashboard, HTMLStencilElement {
|
|
3264
|
+
}
|
|
3265
|
+
var HTMLKupDashboardElement: {
|
|
3266
|
+
prototype: HTMLKupDashboardElement;
|
|
3267
|
+
new (): HTMLKupDashboardElement;
|
|
3268
|
+
};
|
|
3052
3269
|
interface HTMLKupDataTableElement extends Components.KupDataTable, HTMLStencilElement {
|
|
3053
3270
|
}
|
|
3054
3271
|
var HTMLKupDataTableElement: {
|
|
@@ -3085,11 +3302,11 @@ declare global {
|
|
|
3085
3302
|
prototype: HTMLKupFieldElement;
|
|
3086
3303
|
new (): HTMLKupFieldElement;
|
|
3087
3304
|
};
|
|
3088
|
-
interface
|
|
3305
|
+
interface HTMLKupFormElement extends Components.KupForm, HTMLStencilElement {
|
|
3089
3306
|
}
|
|
3090
|
-
var
|
|
3091
|
-
prototype:
|
|
3092
|
-
new ():
|
|
3307
|
+
var HTMLKupFormElement: {
|
|
3308
|
+
prototype: HTMLKupFormElement;
|
|
3309
|
+
new (): HTMLKupFormElement;
|
|
3093
3310
|
};
|
|
3094
3311
|
interface HTMLKupGaugeElement extends Components.KupGauge, HTMLStencilElement {
|
|
3095
3312
|
}
|
|
@@ -3246,13 +3463,14 @@ declare global {
|
|
|
3246
3463
|
"kup-combobox": HTMLKupComboboxElement;
|
|
3247
3464
|
"kup-dash": HTMLKupDashElement;
|
|
3248
3465
|
"kup-dash-list": HTMLKupDashListElement;
|
|
3466
|
+
"kup-dashboard": HTMLKupDashboardElement;
|
|
3249
3467
|
"kup-data-table": HTMLKupDataTableElement;
|
|
3250
3468
|
"kup-date-picker": HTMLKupDatePickerElement;
|
|
3251
3469
|
"kup-drawer": HTMLKupDrawerElement;
|
|
3252
3470
|
"kup-dropdown-button": HTMLKupDropdownButtonElement;
|
|
3253
3471
|
"kup-echart": HTMLKupEchartElement;
|
|
3254
3472
|
"kup-field": HTMLKupFieldElement;
|
|
3255
|
-
"kup-form
|
|
3473
|
+
"kup-form": HTMLKupFormElement;
|
|
3256
3474
|
"kup-gauge": HTMLKupGaugeElement;
|
|
3257
3475
|
"kup-grid": HTMLKupGridElement;
|
|
3258
3476
|
"kup-iframe": HTMLKupIframeElement;
|
|
@@ -3294,7 +3512,7 @@ declare namespace LocalJSX {
|
|
|
3294
3512
|
/**
|
|
3295
3513
|
* Fired when an item is selected.
|
|
3296
3514
|
*/
|
|
3297
|
-
"onKup-accordion-itemselected"?: (event:
|
|
3515
|
+
"onKup-accordion-itemselected"?: (event: KupAccordionCustomEvent<KupAccordionItemSelectedEventPayload>) => void;
|
|
3298
3516
|
/**
|
|
3299
3517
|
* When enabled displays Material's ripple effect on item headers.
|
|
3300
3518
|
* @default true
|
|
@@ -3343,13 +3561,13 @@ declare namespace LocalJSX {
|
|
|
3343
3561
|
* @default 1
|
|
3344
3562
|
*/
|
|
3345
3563
|
"minimumChars"?: number;
|
|
3346
|
-
"onKup-autocomplete-blur"?: (event:
|
|
3347
|
-
"onKup-autocomplete-change"?: (event:
|
|
3348
|
-
"onKup-autocomplete-click"?: (event:
|
|
3349
|
-
"onKup-autocomplete-focus"?: (event:
|
|
3350
|
-
"onKup-autocomplete-iconclick"?: (event:
|
|
3351
|
-
"onKup-autocomplete-input"?: (event:
|
|
3352
|
-
"onKup-autocomplete-itemclick"?: (event:
|
|
3564
|
+
"onKup-autocomplete-blur"?: (event: KupAutocompleteCustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3565
|
+
"onKup-autocomplete-change"?: (event: KupAutocompleteCustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3566
|
+
"onKup-autocomplete-click"?: (event: KupAutocompleteCustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3567
|
+
"onKup-autocomplete-focus"?: (event: KupAutocompleteCustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3568
|
+
"onKup-autocomplete-iconclick"?: (event: KupAutocompleteCustomEvent<KupAutocompleteIconClickEventPayload>) => void;
|
|
3569
|
+
"onKup-autocomplete-input"?: (event: KupAutocompleteCustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3570
|
+
"onKup-autocomplete-itemclick"?: (event: KupAutocompleteCustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3353
3571
|
/**
|
|
3354
3572
|
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
3355
3573
|
* @default ItemsDisplayMode.CODE
|
|
@@ -3378,7 +3596,7 @@ declare namespace LocalJSX {
|
|
|
3378
3596
|
* @default null
|
|
3379
3597
|
*/
|
|
3380
3598
|
"imageData"?: GenericObject;
|
|
3381
|
-
"onKup-badge-click"?: (event:
|
|
3599
|
+
"onKup-badge-click"?: (event: KupBadgeCustomEvent<KupEventPayload>) => void;
|
|
3382
3600
|
/**
|
|
3383
3601
|
* The text displayed inside the badge.
|
|
3384
3602
|
* @default null
|
|
@@ -3460,32 +3678,32 @@ declare namespace LocalJSX {
|
|
|
3460
3678
|
/**
|
|
3461
3679
|
* Triggered when a box is auto selected via selectBox prop
|
|
3462
3680
|
*/
|
|
3463
|
-
"onKup-box-autoselect"?: (event:
|
|
3681
|
+
"onKup-box-autoselect"?: (event: KupBoxCustomEvent<KupBoxAutoSelectEventPayload>) => void;
|
|
3464
3682
|
/**
|
|
3465
3683
|
* Triggered when a box is clicked
|
|
3466
3684
|
*/
|
|
3467
|
-
"onKup-box-click"?: (event:
|
|
3685
|
+
"onKup-box-click"?: (event: KupBoxCustomEvent<KupBoxClickEventPayload>) => void;
|
|
3468
3686
|
/**
|
|
3469
3687
|
* Generic right click event on box.
|
|
3470
3688
|
*/
|
|
3471
|
-
"onKup-box-contextmenu"?: (event:
|
|
3472
|
-
"onKup-box-didload"?: (event:
|
|
3689
|
+
"onKup-box-contextmenu"?: (event: KupBoxCustomEvent<KupBoxContextMenuEventPayload>) => void;
|
|
3690
|
+
"onKup-box-didload"?: (event: KupBoxCustomEvent<KupEventPayload>) => void;
|
|
3473
3691
|
/**
|
|
3474
3692
|
* Triggered when stop propagation event
|
|
3475
3693
|
*/
|
|
3476
|
-
"onKup-box-didunload"?: (event:
|
|
3694
|
+
"onKup-box-didunload"?: (event: KupBoxCustomEvent<KupEventPayload>) => void;
|
|
3477
3695
|
/**
|
|
3478
3696
|
* When the row menu action icon is click
|
|
3479
3697
|
*/
|
|
3480
|
-
"onKup-box-rowactionclick"?: (event:
|
|
3698
|
+
"onKup-box-rowactionclick"?: (event: KupBoxCustomEvent<KupBoxRowActionClickEventPayload>) => void;
|
|
3481
3699
|
/**
|
|
3482
3700
|
* When the row menu action icon is click
|
|
3483
3701
|
*/
|
|
3484
|
-
"onKup-box-rowactionmenuclick"?: (event:
|
|
3702
|
+
"onKup-box-rowactionmenuclick"?: (event: KupBoxCustomEvent<KupBoxAutoSelectEventPayload>) => void;
|
|
3485
3703
|
/**
|
|
3486
3704
|
* Triggered when the multi selection checkbox changes value
|
|
3487
3705
|
*/
|
|
3488
|
-
"onKup-box-selected"?: (event:
|
|
3706
|
+
"onKup-box-selected"?: (event: KupBoxCustomEvent<KupBoxSelectedEventPayload>) => void;
|
|
3489
3707
|
/**
|
|
3490
3708
|
* Current page number
|
|
3491
3709
|
* @default 1
|
|
@@ -3579,15 +3797,15 @@ declare namespace LocalJSX {
|
|
|
3579
3797
|
/**
|
|
3580
3798
|
* Triggered when the button loses focus.
|
|
3581
3799
|
*/
|
|
3582
|
-
"onKup-button-blur"?: (event:
|
|
3800
|
+
"onKup-button-blur"?: (event: KupButtonCustomEvent<KupButtonClickEventPayload>) => void;
|
|
3583
3801
|
/**
|
|
3584
3802
|
* Triggered when the button is clicked.
|
|
3585
3803
|
*/
|
|
3586
|
-
"onKup-button-click"?: (event:
|
|
3804
|
+
"onKup-button-click"?: (event: KupButtonCustomEvent<KupButtonClickEventPayload>) => void;
|
|
3587
3805
|
/**
|
|
3588
3806
|
* Triggered when the button is focused.
|
|
3589
3807
|
*/
|
|
3590
|
-
"onKup-button-focus"?: (event:
|
|
3808
|
+
"onKup-button-focus"?: (event: KupButtonCustomEvent<KupButtonClickEventPayload>) => void;
|
|
3591
3809
|
/**
|
|
3592
3810
|
* When set to true, the button show a spinner received in slot.
|
|
3593
3811
|
* @default false
|
|
@@ -3631,7 +3849,7 @@ declare namespace LocalJSX {
|
|
|
3631
3849
|
* @default false
|
|
3632
3850
|
*/
|
|
3633
3851
|
"disabled"?: boolean;
|
|
3634
|
-
"onKup-buttonlist-click"?: (event:
|
|
3852
|
+
"onKup-buttonlist-click"?: (event: KupButtonListCustomEvent<KupButtonListClickEventPayload>) => void;
|
|
3635
3853
|
/**
|
|
3636
3854
|
* When set to true, highlights the selected button with the secondary color of KupTheme.
|
|
3637
3855
|
* @default true
|
|
@@ -3668,19 +3886,19 @@ declare namespace LocalJSX {
|
|
|
3668
3886
|
/**
|
|
3669
3887
|
* When a date is clicked.
|
|
3670
3888
|
*/
|
|
3671
|
-
"onKup-calendar-dateclick"?: (event:
|
|
3889
|
+
"onKup-calendar-dateclick"?: (event: KupCalendarCustomEvent<KupCalendarDateClickEventPayload>) => void;
|
|
3672
3890
|
/**
|
|
3673
3891
|
* When an event is clicked.
|
|
3674
3892
|
*/
|
|
3675
|
-
"onKup-calendar-eventclick"?: (event:
|
|
3893
|
+
"onKup-calendar-eventclick"?: (event: KupCalendarCustomEvent<KupCalendarEventClickEventPayload>) => void;
|
|
3676
3894
|
/**
|
|
3677
3895
|
* When a date is dropped.
|
|
3678
3896
|
*/
|
|
3679
|
-
"onKup-calendar-eventdrop"?: (event:
|
|
3897
|
+
"onKup-calendar-eventdrop"?: (event: KupCalendarCustomEvent<KupCalendarEventDropEventPayload>) => void;
|
|
3680
3898
|
/**
|
|
3681
3899
|
* When the navigation change
|
|
3682
3900
|
*/
|
|
3683
|
-
"onKup-calendar-viewchange"?: (event:
|
|
3901
|
+
"onKup-calendar-viewchange"?: (event: KupCalendarCustomEvent<KupCalendarViewChangeEventPayload>) => void;
|
|
3684
3902
|
/**
|
|
3685
3903
|
* Type of the view.
|
|
3686
3904
|
* @default KupCalendarViewTypes.MONTH
|
|
@@ -3722,19 +3940,19 @@ declare namespace LocalJSX {
|
|
|
3722
3940
|
/**
|
|
3723
3941
|
* Triggered when the card is clicked.
|
|
3724
3942
|
*/
|
|
3725
|
-
"onKup-card-click"?: (event:
|
|
3943
|
+
"onKup-card-click"?: (event: KupCardCustomEvent<KupCardClickPayload>) => void;
|
|
3726
3944
|
/**
|
|
3727
3945
|
* Triggered when a dialog card is closed with the "X".
|
|
3728
3946
|
*/
|
|
3729
|
-
"onKup-card-close"?: (event:
|
|
3947
|
+
"onKup-card-close"?: (event: KupCardCustomEvent<KupEventPayload>) => void;
|
|
3730
3948
|
/**
|
|
3731
3949
|
* Triggered when a sub-component of the card emits an event.
|
|
3732
3950
|
*/
|
|
3733
|
-
"onKup-card-event"?: (event:
|
|
3951
|
+
"onKup-card-event"?: (event: KupCardCustomEvent<KupCardEventPayload>) => void;
|
|
3734
3952
|
/**
|
|
3735
3953
|
* Triggered when the component is ready.
|
|
3736
3954
|
*/
|
|
3737
|
-
"onKup-card-ready"?: (event:
|
|
3955
|
+
"onKup-card-ready"?: (event: KupCardCustomEvent<KupEventPayload>) => void;
|
|
3738
3956
|
/**
|
|
3739
3957
|
* The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
3740
3958
|
* @default "100%"
|
|
@@ -3822,7 +4040,7 @@ declare namespace LocalJSX {
|
|
|
3822
4040
|
/**
|
|
3823
4041
|
* Triggered when a chart serie is clicked
|
|
3824
4042
|
*/
|
|
3825
|
-
"onKup-chart-click"?: (event:
|
|
4043
|
+
"onKup-chart-click"?: (event: KupChartCustomEvent<KupChartClickEvent>) => void;
|
|
3826
4044
|
/**
|
|
3827
4045
|
* The data series to be displayed. They must be of the same type.
|
|
3828
4046
|
* @default undefined
|
|
@@ -3911,15 +4129,15 @@ declare namespace LocalJSX {
|
|
|
3911
4129
|
/**
|
|
3912
4130
|
* Triggered when the input element loses focus.
|
|
3913
4131
|
*/
|
|
3914
|
-
"onKup-checkbox-blur"?: (event:
|
|
4132
|
+
"onKup-checkbox-blur"?: (event: KupCheckboxCustomEvent<KupCheckboxEventPayload>) => void;
|
|
3915
4133
|
/**
|
|
3916
4134
|
* Triggered when the input element's value changes.
|
|
3917
4135
|
*/
|
|
3918
|
-
"onKup-checkbox-change"?: (event:
|
|
4136
|
+
"onKup-checkbox-change"?: (event: KupCheckboxCustomEvent<KupCheckboxEventPayload>) => void;
|
|
3919
4137
|
/**
|
|
3920
4138
|
* Triggered when the input element gets focused.
|
|
3921
4139
|
*/
|
|
3922
|
-
"onKup-checkbox-focus"?: (event:
|
|
4140
|
+
"onKup-checkbox-focus"?: (event: KupCheckboxCustomEvent<KupCheckboxEventPayload>) => void;
|
|
3923
4141
|
}
|
|
3924
4142
|
interface KupChip {
|
|
3925
4143
|
/**
|
|
@@ -3936,19 +4154,19 @@ declare namespace LocalJSX {
|
|
|
3936
4154
|
/**
|
|
3937
4155
|
* Triggered when a chip loses focus.
|
|
3938
4156
|
*/
|
|
3939
|
-
"onKup-chip-blur"?: (event:
|
|
4157
|
+
"onKup-chip-blur"?: (event: KupChipCustomEvent<KupChipEventPayload>) => void;
|
|
3940
4158
|
/**
|
|
3941
4159
|
* Triggered when a chip is clicked.
|
|
3942
4160
|
*/
|
|
3943
|
-
"onKup-chip-click"?: (event:
|
|
4161
|
+
"onKup-chip-click"?: (event: KupChipCustomEvent<KupChipEventPayload>) => void;
|
|
3944
4162
|
/**
|
|
3945
4163
|
* Triggered when a chip gets focused.
|
|
3946
4164
|
*/
|
|
3947
|
-
"onKup-chip-focus"?: (event:
|
|
4165
|
+
"onKup-chip-focus"?: (event: KupChipCustomEvent<KupChipEventPayload>) => void;
|
|
3948
4166
|
/**
|
|
3949
4167
|
* Triggered when the removal icon on input chips is clicked.
|
|
3950
4168
|
*/
|
|
3951
|
-
"onKup-chip-iconclick"?: (event:
|
|
4169
|
+
"onKup-chip-iconclick"?: (event: KupChipCustomEvent<KupChipEventPayload>) => void;
|
|
3952
4170
|
/**
|
|
3953
4171
|
* The type of chip. Available types: input, filter, choice or empty for default.
|
|
3954
4172
|
* @default FChipType.STANDARD
|
|
@@ -3977,7 +4195,7 @@ declare namespace LocalJSX {
|
|
|
3977
4195
|
* @default ""
|
|
3978
4196
|
*/
|
|
3979
4197
|
"initialValue"?: string;
|
|
3980
|
-
"onKup-colorpicker-change"?: (event:
|
|
4198
|
+
"onKup-colorpicker-change"?: (event: KupColorPickerCustomEvent<KupColorPickerEventPayload>) => void;
|
|
3981
4199
|
/**
|
|
3982
4200
|
* When true, the component's text field will be replaced by a swatch.
|
|
3983
4201
|
* @default false
|
|
@@ -4011,13 +4229,13 @@ declare namespace LocalJSX {
|
|
|
4011
4229
|
* Lets the combobox behave as a select element.
|
|
4012
4230
|
*/
|
|
4013
4231
|
"isSelect"?: boolean;
|
|
4014
|
-
"onKup-combobox-blur"?: (event:
|
|
4015
|
-
"onKup-combobox-change"?: (event:
|
|
4016
|
-
"onKup-combobox-click"?: (event:
|
|
4017
|
-
"onKup-combobox-focus"?: (event:
|
|
4018
|
-
"onKup-combobox-iconclick"?: (event:
|
|
4019
|
-
"onKup-combobox-input"?: (event:
|
|
4020
|
-
"onKup-combobox-itemclick"?: (event:
|
|
4232
|
+
"onKup-combobox-blur"?: (event: KupComboboxCustomEvent<KupComboboxEventPayload>) => void;
|
|
4233
|
+
"onKup-combobox-change"?: (event: KupComboboxCustomEvent<KupComboboxEventPayload>) => void;
|
|
4234
|
+
"onKup-combobox-click"?: (event: KupComboboxCustomEvent<KupComboboxEventPayload>) => void;
|
|
4235
|
+
"onKup-combobox-focus"?: (event: KupComboboxCustomEvent<KupComboboxEventPayload>) => void;
|
|
4236
|
+
"onKup-combobox-iconclick"?: (event: KupComboboxCustomEvent<KupComboboxIconClickEventPayload>) => void;
|
|
4237
|
+
"onKup-combobox-input"?: (event: KupComboboxCustomEvent<KupComboboxEventPayload>) => void;
|
|
4238
|
+
"onKup-combobox-itemclick"?: (event: KupComboboxCustomEvent<KupComboboxEventPayload>) => void;
|
|
4021
4239
|
/**
|
|
4022
4240
|
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
4023
4241
|
*/
|
|
@@ -4044,7 +4262,7 @@ declare namespace LocalJSX {
|
|
|
4044
4262
|
* Sets the layout of the component.
|
|
4045
4263
|
*/
|
|
4046
4264
|
"layout"?: string;
|
|
4047
|
-
"onKup-dash-click"?: (event:
|
|
4265
|
+
"onKup-dash-click"?: (event: KupDashCustomEvent<{
|
|
4048
4266
|
id: number;
|
|
4049
4267
|
}>) => void;
|
|
4050
4268
|
}
|
|
@@ -4057,12 +4275,31 @@ declare namespace LocalJSX {
|
|
|
4057
4275
|
"horizontal"?: boolean;
|
|
4058
4276
|
"iconColor"?: Array<any>;
|
|
4059
4277
|
"layout"?: string;
|
|
4060
|
-
"onKup-dash-click"?: (event:
|
|
4278
|
+
"onKup-dash-click"?: (event: KupDashListCustomEvent<{
|
|
4061
4279
|
idx: number;
|
|
4062
4280
|
}>) => void;
|
|
4063
4281
|
"textColor"?: Array<any>;
|
|
4064
4282
|
"valueColor"?: Array<any>;
|
|
4065
4283
|
}
|
|
4284
|
+
interface KupDashboard {
|
|
4285
|
+
/**
|
|
4286
|
+
* Custom style of the component.
|
|
4287
|
+
* @default ""
|
|
4288
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4289
|
+
*/
|
|
4290
|
+
"customStyle"?: string;
|
|
4291
|
+
/**
|
|
4292
|
+
* The data of the component.
|
|
4293
|
+
* @default null
|
|
4294
|
+
*/
|
|
4295
|
+
"data"?: KupDataDashboard;
|
|
4296
|
+
/**
|
|
4297
|
+
* Enable drag & drop of the section.
|
|
4298
|
+
* @default false
|
|
4299
|
+
*/
|
|
4300
|
+
"enableDesign"?: boolean;
|
|
4301
|
+
"onKup-dashboard-save"?: (event: KupDashboardCustomEvent<KupDashboardEventPayload>) => void;
|
|
4302
|
+
}
|
|
4066
4303
|
interface KupDataTable {
|
|
4067
4304
|
/**
|
|
4068
4305
|
* When true and when a row is missing some columns, the missing cells will be autogenerated.
|
|
@@ -4190,48 +4427,48 @@ declare namespace LocalJSX {
|
|
|
4190
4427
|
/**
|
|
4191
4428
|
* Generic click event on data table.
|
|
4192
4429
|
*/
|
|
4193
|
-
"onKup-datatable-click"?: (event:
|
|
4430
|
+
"onKup-datatable-click"?: (event: KupDataTableCustomEvent<KupDatatableClickEventPayload>) => void;
|
|
4194
4431
|
/**
|
|
4195
4432
|
* Emitted by the column menu card when opened/closed or when a kup-card-event is fired.
|
|
4196
4433
|
*/
|
|
4197
|
-
"onKup-datatable-columnmenu"?: (event:
|
|
4434
|
+
"onKup-datatable-columnmenu"?: (event: KupDataTableCustomEvent<KupDatatableColumnMenuEventPayload>) => void;
|
|
4198
4435
|
/**
|
|
4199
4436
|
* Event fired when columns are moved (sorted).
|
|
4200
4437
|
*/
|
|
4201
|
-
"onKup-datatable-columnmove"?: (event:
|
|
4438
|
+
"onKup-datatable-columnmove"?: (event: KupDataTableCustomEvent<KupDatatableColumnMoveEventPayload>) => void;
|
|
4202
4439
|
/**
|
|
4203
4440
|
* Event fired when columns are removed (set to hidden).
|
|
4204
4441
|
*/
|
|
4205
|
-
"onKup-datatable-columnremove"?: (event:
|
|
4442
|
+
"onKup-datatable-columnremove"?: (event: KupDataTableCustomEvent<KupDatatableColumnRemoveEventPayload>) => void;
|
|
4206
4443
|
/**
|
|
4207
4444
|
* Generic right click event on data table.
|
|
4208
4445
|
*/
|
|
4209
|
-
"onKup-datatable-contextmenu"?: (event:
|
|
4446
|
+
"onKup-datatable-contextmenu"?: (event: KupDataTableCustomEvent<KupDatatableClickEventPayload>) => void;
|
|
4210
4447
|
/**
|
|
4211
4448
|
* Generic double click event on data table.
|
|
4212
4449
|
*/
|
|
4213
|
-
"onKup-datatable-dblclick"?: (event:
|
|
4450
|
+
"onKup-datatable-dblclick"?: (event: KupDataTableCustomEvent<KupDatatableClickEventPayload>) => void;
|
|
4214
4451
|
/**
|
|
4215
4452
|
* When component load is complete
|
|
4216
4453
|
*/
|
|
4217
|
-
"onKup-datatable-didload"?: (event:
|
|
4454
|
+
"onKup-datatable-didload"?: (event: KupDataTableCustomEvent<KupEventPayload>) => void;
|
|
4218
4455
|
/**
|
|
4219
4456
|
* When component unload is complete
|
|
4220
4457
|
*/
|
|
4221
|
-
"onKup-datatable-didunload"?: (event:
|
|
4222
|
-
"onKup-datatable-loadmoreclick"?: (event:
|
|
4458
|
+
"onKup-datatable-didunload"?: (event: KupDataTableCustomEvent<KupEventPayload>) => void;
|
|
4459
|
+
"onKup-datatable-loadmoreclick"?: (event: KupDataTableCustomEvent<KupDatatableLoadMoreClickEventPayload>) => void;
|
|
4223
4460
|
/**
|
|
4224
4461
|
* When rows selections reset
|
|
4225
4462
|
*/
|
|
4226
|
-
"onKup-datatable-resetselectedrows"?: (event:
|
|
4463
|
+
"onKup-datatable-resetselectedrows"?: (event: KupDataTableCustomEvent<KupEventPayload>) => void;
|
|
4227
4464
|
/**
|
|
4228
4465
|
* When a row action is clicked
|
|
4229
4466
|
*/
|
|
4230
|
-
"onKup-datatable-rowactionclick"?: (event:
|
|
4467
|
+
"onKup-datatable-rowactionclick"?: (event: KupDataTableCustomEvent<KupDatatableRowActionClickEventPayload>) => void;
|
|
4231
4468
|
/**
|
|
4232
4469
|
* When a row is selected
|
|
4233
4470
|
*/
|
|
4234
|
-
"onKup-datatable-rowselected"?: (event:
|
|
4471
|
+
"onKup-datatable-rowselected"?: (event: KupDataTableCustomEvent<KupDatatableRowSelectedEventPayload>) => void;
|
|
4235
4472
|
/**
|
|
4236
4473
|
* Current selected page set on component load
|
|
4237
4474
|
*/
|
|
@@ -4351,15 +4588,15 @@ declare namespace LocalJSX {
|
|
|
4351
4588
|
* @default ""
|
|
4352
4589
|
*/
|
|
4353
4590
|
"initialValue"?: string;
|
|
4354
|
-
"onKup-datepicker-blur"?: (event:
|
|
4355
|
-
"onKup-datepicker-change"?: (event:
|
|
4356
|
-
"onKup-datepicker-cleariconclick"?: (event:
|
|
4357
|
-
"onKup-datepicker-click"?: (event:
|
|
4358
|
-
"onKup-datepicker-focus"?: (event:
|
|
4359
|
-
"onKup-datepicker-iconclick"?: (event:
|
|
4360
|
-
"onKup-datepicker-input"?: (event:
|
|
4361
|
-
"onKup-datepicker-itemclick"?: (event:
|
|
4362
|
-
"onKup-datepicker-textfieldsubmit"?: (event:
|
|
4591
|
+
"onKup-datepicker-blur"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4592
|
+
"onKup-datepicker-change"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4593
|
+
"onKup-datepicker-cleariconclick"?: (event: KupDatePickerCustomEvent<KupEventPayload>) => void;
|
|
4594
|
+
"onKup-datepicker-click"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4595
|
+
"onKup-datepicker-focus"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4596
|
+
"onKup-datepicker-iconclick"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4597
|
+
"onKup-datepicker-input"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4598
|
+
"onKup-datepicker-itemclick"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4599
|
+
"onKup-datepicker-textfieldsubmit"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4363
4600
|
}
|
|
4364
4601
|
interface KupDrawer {
|
|
4365
4602
|
/**
|
|
@@ -4371,15 +4608,15 @@ declare namespace LocalJSX {
|
|
|
4371
4608
|
/**
|
|
4372
4609
|
* Fired when the drawer gets closed.
|
|
4373
4610
|
*/
|
|
4374
|
-
"onKup-drawer-close"?: (event:
|
|
4611
|
+
"onKup-drawer-close"?: (event: KupDrawerCustomEvent<KupEventPayload>) => void;
|
|
4375
4612
|
/**
|
|
4376
4613
|
* Fired when the drawer gets opened.
|
|
4377
4614
|
*/
|
|
4378
|
-
"onKup-drawer-open"?: (event:
|
|
4615
|
+
"onKup-drawer-open"?: (event: KupDrawerCustomEvent<KupEventPayload>) => void;
|
|
4379
4616
|
/**
|
|
4380
4617
|
* Triggered when the component is ready.
|
|
4381
4618
|
*/
|
|
4382
|
-
"onKup-drawer-ready"?: (event:
|
|
4619
|
+
"onKup-drawer-ready"?: (event: KupDrawerCustomEvent<KupEventPayload>) => void;
|
|
4383
4620
|
}
|
|
4384
4621
|
interface KupDropdownButton {
|
|
4385
4622
|
/**
|
|
@@ -4426,23 +4663,23 @@ declare namespace LocalJSX {
|
|
|
4426
4663
|
/**
|
|
4427
4664
|
* Triggered when the primary button loses focus.
|
|
4428
4665
|
*/
|
|
4429
|
-
"onKup-dropdownbutton-blur"?: (event:
|
|
4666
|
+
"onKup-dropdownbutton-blur"?: (event: KupDropdownButtonCustomEvent<KupDropdownButtonEventPayload>) => void;
|
|
4430
4667
|
/**
|
|
4431
4668
|
* Triggered when a list item changes.
|
|
4432
4669
|
*/
|
|
4433
|
-
"onKup-dropdownbutton-change"?: (event:
|
|
4670
|
+
"onKup-dropdownbutton-change"?: (event: KupDropdownButtonCustomEvent<KupDropdownButtonEventPayload>) => void;
|
|
4434
4671
|
/**
|
|
4435
4672
|
* Triggered when the primary button is clicked.
|
|
4436
4673
|
*/
|
|
4437
|
-
"onKup-dropdownbutton-click"?: (event:
|
|
4674
|
+
"onKup-dropdownbutton-click"?: (event: KupDropdownButtonCustomEvent<KupDropdownButtonEventPayload>) => void;
|
|
4438
4675
|
/**
|
|
4439
4676
|
* Triggered when the primary button is focused.
|
|
4440
4677
|
*/
|
|
4441
|
-
"onKup-dropdownbutton-focus"?: (event:
|
|
4678
|
+
"onKup-dropdownbutton-focus"?: (event: KupDropdownButtonCustomEvent<KupDropdownButtonEventPayload>) => void;
|
|
4442
4679
|
/**
|
|
4443
4680
|
* Triggered when a list item is clicked.
|
|
4444
4681
|
*/
|
|
4445
|
-
"onKup-dropdownbutton-itemclick"?: (event:
|
|
4682
|
+
"onKup-dropdownbutton-itemclick"?: (event: KupDropdownButtonCustomEvent<KupDropdownButtonEventPayload>) => void;
|
|
4446
4683
|
/**
|
|
4447
4684
|
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
4448
4685
|
* @default ItemsDisplayMode.CODE
|
|
@@ -4501,7 +4738,7 @@ declare namespace LocalJSX {
|
|
|
4501
4738
|
* @default null
|
|
4502
4739
|
*/
|
|
4503
4740
|
"map"?: KupEchartMaps | string | GeoJSON;
|
|
4504
|
-
"onKup-echart-click"?: (event:
|
|
4741
|
+
"onKup-echart-click"?: (event: KupEchartCustomEvent<KupEchartClickEventPayload>) => void;
|
|
4505
4742
|
/**
|
|
4506
4743
|
* The data series to be displayed. They must be of the same type.
|
|
4507
4744
|
* @default []
|
|
@@ -4558,11 +4795,11 @@ declare namespace LocalJSX {
|
|
|
4558
4795
|
/**
|
|
4559
4796
|
* Launched when the value of the current FLD changes.
|
|
4560
4797
|
*/
|
|
4561
|
-
"onKup-field-change"?: (event:
|
|
4798
|
+
"onKup-field-change"?: (event: KupFieldCustomEvent<KupFieldChangeEvent>) => void;
|
|
4562
4799
|
/**
|
|
4563
4800
|
* Launched when the FLD values are confirmed and a submit event is triggered.
|
|
4564
4801
|
*/
|
|
4565
|
-
"onKup-field-submit"?: (event:
|
|
4802
|
+
"onKup-field-submit"?: (event: KupFieldCustomEvent<KupFieldSubmitEvent>) => void;
|
|
4566
4803
|
/**
|
|
4567
4804
|
* Sets whether the submit button must be displayed or not.
|
|
4568
4805
|
* @default false
|
|
@@ -4584,7 +4821,7 @@ declare namespace LocalJSX {
|
|
|
4584
4821
|
*/
|
|
4585
4822
|
"type"?: string;
|
|
4586
4823
|
}
|
|
4587
|
-
interface
|
|
4824
|
+
interface KupForm {
|
|
4588
4825
|
/**
|
|
4589
4826
|
* Custom style of the component.
|
|
4590
4827
|
* @default ""
|
|
@@ -4592,11 +4829,20 @@ declare namespace LocalJSX {
|
|
|
4592
4829
|
*/
|
|
4593
4830
|
"customStyle"?: string;
|
|
4594
4831
|
/**
|
|
4595
|
-
*
|
|
4596
|
-
* @default
|
|
4832
|
+
* Actual data of the form.
|
|
4833
|
+
* @default null
|
|
4834
|
+
*/
|
|
4835
|
+
"data"?: KupFormData;
|
|
4836
|
+
/**
|
|
4837
|
+
* Placement of fields' labels.
|
|
4838
|
+
* @default KupFormLabelPlacement.LEFT
|
|
4839
|
+
*/
|
|
4840
|
+
"labelPlacement"?: KupFormLabelPlacement;
|
|
4841
|
+
/**
|
|
4842
|
+
* How the form will arrange its content.
|
|
4843
|
+
* @default null
|
|
4597
4844
|
*/
|
|
4598
|
-
"
|
|
4599
|
-
"onKup-formeditor-save"?: (event: CustomEvent<KupFormEditorEventPayload>) => void;
|
|
4845
|
+
"layout"?: KupFormLayout;
|
|
4600
4846
|
}
|
|
4601
4847
|
interface KupGauge {
|
|
4602
4848
|
/**
|
|
@@ -4709,8 +4955,8 @@ declare namespace LocalJSX {
|
|
|
4709
4955
|
* The component will be rendered as a button, which opens the link associated to the iframe in another tab when clicked.
|
|
4710
4956
|
*/
|
|
4711
4957
|
"isButton"?: boolean;
|
|
4712
|
-
"onKup-iframe-error"?: (event:
|
|
4713
|
-
"onKup-iframe-load"?: (event:
|
|
4958
|
+
"onKup-iframe-error"?: (event: KupIframeCustomEvent<KupEventPayload>) => void;
|
|
4959
|
+
"onKup-iframe-load"?: (event: KupIframeCustomEvent<KupEventPayload>) => void;
|
|
4714
4960
|
/**
|
|
4715
4961
|
* The address the iframe should be referencing to.
|
|
4716
4962
|
*/
|
|
@@ -4748,7 +4994,7 @@ declare namespace LocalJSX {
|
|
|
4748
4994
|
* @default false
|
|
4749
4995
|
*/
|
|
4750
4996
|
"isCanvas"?: boolean;
|
|
4751
|
-
"onKup-image-click"?: (event:
|
|
4997
|
+
"onKup-image-click"?: (event: KupImageCustomEvent<KupImageClickEventPayload>) => void;
|
|
4752
4998
|
/**
|
|
4753
4999
|
* The resource used to fetch the image.
|
|
4754
5000
|
* @default null
|
|
@@ -4777,9 +5023,9 @@ declare namespace LocalJSX {
|
|
|
4777
5023
|
* @default []
|
|
4778
5024
|
*/
|
|
4779
5025
|
"data"?: KupDataNode[];
|
|
4780
|
-
"onKup-imagelist-click"?: (event:
|
|
4781
|
-
"onKup-imagelist-contextmenu"?: (event:
|
|
4782
|
-
"onKup-imagelist-dblclick"?: (event:
|
|
5026
|
+
"onKup-imagelist-click"?: (event: KupImageListCustomEvent<KupImageListEventPayload>) => void;
|
|
5027
|
+
"onKup-imagelist-contextmenu"?: (event: KupImageListCustomEvent<KupImageListEventPayload>) => void;
|
|
5028
|
+
"onKup-imagelist-dblclick"?: (event: KupImageListCustomEvent<KupImageListEventPayload>) => void;
|
|
4783
5029
|
/**
|
|
4784
5030
|
* When enabled displays Material's ripple effect on clicked items.
|
|
4785
5031
|
* @default true
|
|
@@ -4806,7 +5052,7 @@ declare namespace LocalJSX {
|
|
|
4806
5052
|
/**
|
|
4807
5053
|
* Triggered when the component is loaded.
|
|
4808
5054
|
*/
|
|
4809
|
-
"onKup-lazy-loaded"?: (event:
|
|
5055
|
+
"onKup-lazy-loaded"?: (event: KupLazyCustomEvent<KupEventPayload>) => void;
|
|
4810
5056
|
/**
|
|
4811
5057
|
* Decides when the sub-component should be rendered. By default when both the component props exist and the component is in the viewport.
|
|
4812
5058
|
* @default KupLazyRender.BOTH
|
|
@@ -4860,9 +5106,9 @@ declare namespace LocalJSX {
|
|
|
4860
5106
|
* @default false
|
|
4861
5107
|
*/
|
|
4862
5108
|
"menuVisible"?: boolean;
|
|
4863
|
-
"onKup-list-blur"?: (event:
|
|
4864
|
-
"onKup-list-click"?: (event:
|
|
4865
|
-
"onKup-list-focus"?: (event:
|
|
5109
|
+
"onKup-list-blur"?: (event: KupListCustomEvent<KupEventPayload>) => void;
|
|
5110
|
+
"onKup-list-click"?: (event: KupListCustomEvent<KupListEventPayload>) => void;
|
|
5111
|
+
"onKup-list-focus"?: (event: KupListCustomEvent<KupEventPayload>) => void;
|
|
4866
5112
|
/**
|
|
4867
5113
|
* Defines the type of selection. Values accepted: listbox, radiogroup or group.
|
|
4868
5114
|
* @default KupListRole.LISTBOX
|
|
@@ -4907,11 +5153,11 @@ declare namespace LocalJSX {
|
|
|
4907
5153
|
/**
|
|
4908
5154
|
* Triggered when the component is ready.
|
|
4909
5155
|
*/
|
|
4910
|
-
"onKup-navbar-ready"?: (event:
|
|
5156
|
+
"onKup-navbar-ready"?: (event: KupNavBarCustomEvent<KupEventPayload>) => void;
|
|
4911
5157
|
/**
|
|
4912
5158
|
* Triggered when the component is resize.
|
|
4913
5159
|
*/
|
|
4914
|
-
"onKup-navbar-resize"?: (event:
|
|
5160
|
+
"onKup-navbar-resize"?: (event: KupNavBarCustomEvent<KupEventPayload>) => void;
|
|
4915
5161
|
/**
|
|
4916
5162
|
* Defines the style of the nav bar.
|
|
4917
5163
|
* @default KupNavBarStyling.STANDARD
|
|
@@ -4965,15 +5211,15 @@ declare namespace LocalJSX {
|
|
|
4965
5211
|
* @default false
|
|
4966
5212
|
*/
|
|
4967
5213
|
"negative"?: boolean;
|
|
4968
|
-
"onKup-numericpicker-blur"?: (event:
|
|
4969
|
-
"onKup-numericpicker-change"?: (event:
|
|
4970
|
-
"onKup-numericpicker-cleariconclick"?: (event:
|
|
4971
|
-
"onKup-numericpicker-click"?: (event:
|
|
4972
|
-
"onKup-numericpicker-focus"?: (event:
|
|
4973
|
-
"onKup-numericpicker-iconclick"?: (event:
|
|
4974
|
-
"onKup-numericpicker-input"?: (event:
|
|
4975
|
-
"onKup-numericpicker-itemclick"?: (event:
|
|
4976
|
-
"onKup-numericpicker-textfieldsubmit"?: (event:
|
|
5214
|
+
"onKup-numericpicker-blur"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5215
|
+
"onKup-numericpicker-change"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5216
|
+
"onKup-numericpicker-cleariconclick"?: (event: KupNumericPickerCustomEvent<KupEventPayload>) => void;
|
|
5217
|
+
"onKup-numericpicker-click"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5218
|
+
"onKup-numericpicker-focus"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5219
|
+
"onKup-numericpicker-iconclick"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5220
|
+
"onKup-numericpicker-input"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5221
|
+
"onKup-numericpicker-itemclick"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
5222
|
+
"onKup-numericpicker-textfieldsubmit"?: (event: KupNumericPickerCustomEvent<KupNumericPickerEventPayload>) => void;
|
|
4977
5223
|
}
|
|
4978
5224
|
interface KupPhotoFrame {
|
|
4979
5225
|
/**
|
|
@@ -4985,11 +5231,11 @@ declare namespace LocalJSX {
|
|
|
4985
5231
|
/**
|
|
4986
5232
|
* Triggered when the placeholder is loaded.
|
|
4987
5233
|
*/
|
|
4988
|
-
"onKup-photoframe-placeholderload"?: (event:
|
|
5234
|
+
"onKup-photoframe-placeholderload"?: (event: KupPhotoFrameCustomEvent<KupEventPayload>) => void;
|
|
4989
5235
|
/**
|
|
4990
5236
|
* Triggered when the resource is loaded.
|
|
4991
5237
|
*/
|
|
4992
|
-
"onKup-photoframe-resourceload"?: (event:
|
|
5238
|
+
"onKup-photoframe-resourceload"?: (event: KupPhotoFrameCustomEvent<KupEventPayload>) => void;
|
|
4993
5239
|
/**
|
|
4994
5240
|
* Html attributes of the picture before the component enters the viewport.
|
|
4995
5241
|
* @default {}
|
|
@@ -5134,15 +5380,15 @@ declare namespace LocalJSX {
|
|
|
5134
5380
|
/**
|
|
5135
5381
|
* Triggered when the input element loses focus.
|
|
5136
5382
|
*/
|
|
5137
|
-
"onKup-radio-blur"?: (event:
|
|
5383
|
+
"onKup-radio-blur"?: (event: KupRadioCustomEvent<KupEventPayload>) => void;
|
|
5138
5384
|
/**
|
|
5139
5385
|
* Triggered when the input element's value changes.
|
|
5140
5386
|
*/
|
|
5141
|
-
"onKup-radio-change"?: (event:
|
|
5387
|
+
"onKup-radio-change"?: (event: KupRadioCustomEvent<KupRadioChangeEventPayload>) => void;
|
|
5142
5388
|
/**
|
|
5143
5389
|
* Triggered when the input element gets focused.
|
|
5144
5390
|
*/
|
|
5145
|
-
"onKup-radio-focus"?: (event:
|
|
5391
|
+
"onKup-radio-focus"?: (event: KupRadioCustomEvent<KupEventPayload>) => void;
|
|
5146
5392
|
}
|
|
5147
5393
|
interface KupRating {
|
|
5148
5394
|
/**
|
|
@@ -5161,7 +5407,7 @@ declare namespace LocalJSX {
|
|
|
5161
5407
|
* @default 5
|
|
5162
5408
|
*/
|
|
5163
5409
|
"maxValue"?: number;
|
|
5164
|
-
"onKup-rating-click"?: (event:
|
|
5410
|
+
"onKup-rating-click"?: (event: KupRatingCustomEvent<KupRatingClickEventPayload>) => void;
|
|
5165
5411
|
/**
|
|
5166
5412
|
* Rated stars.
|
|
5167
5413
|
* @default 0
|
|
@@ -5188,7 +5434,7 @@ declare namespace LocalJSX {
|
|
|
5188
5434
|
/**
|
|
5189
5435
|
* Triggered when action button is clicked.
|
|
5190
5436
|
*/
|
|
5191
|
-
"onKup-snackbar-actionclick"?: (event:
|
|
5437
|
+
"onKup-snackbar-actionclick"?: (event: KupSnackbarCustomEvent<KupEventPayload>) => void;
|
|
5192
5438
|
/**
|
|
5193
5439
|
* Sets the textual content of the snackbar.
|
|
5194
5440
|
* @default ''
|
|
@@ -5245,7 +5491,7 @@ declare namespace LocalJSX {
|
|
|
5245
5491
|
/**
|
|
5246
5492
|
* Triggered when the component is ready.
|
|
5247
5493
|
*/
|
|
5248
|
-
"onKup-spinner-ready"?: (event:
|
|
5494
|
+
"onKup-spinner-ready"?: (event: KupSpinnerCustomEvent<KupEventPayload>) => void;
|
|
5249
5495
|
}
|
|
5250
5496
|
interface KupSwitch {
|
|
5251
5497
|
/**
|
|
@@ -5277,15 +5523,15 @@ declare namespace LocalJSX {
|
|
|
5277
5523
|
/**
|
|
5278
5524
|
* Triggered when the input element loses focus.
|
|
5279
5525
|
*/
|
|
5280
|
-
"onKup-switch-blur"?: (event:
|
|
5526
|
+
"onKup-switch-blur"?: (event: KupSwitchCustomEvent<KupSwitchEventPayload>) => void;
|
|
5281
5527
|
/**
|
|
5282
5528
|
* Triggered when the input element's value changes.
|
|
5283
5529
|
*/
|
|
5284
|
-
"onKup-switch-change"?: (event:
|
|
5530
|
+
"onKup-switch-change"?: (event: KupSwitchCustomEvent<KupSwitchEventPayload>) => void;
|
|
5285
5531
|
/**
|
|
5286
5532
|
* Triggered when the input element gets focused.
|
|
5287
5533
|
*/
|
|
5288
|
-
"onKup-switch-focus"?: (event:
|
|
5534
|
+
"onKup-switch-focus"?: (event: KupSwitchCustomEvent<KupSwitchEventPayload>) => void;
|
|
5289
5535
|
}
|
|
5290
5536
|
interface KupTabBar {
|
|
5291
5537
|
/**
|
|
@@ -5302,15 +5548,15 @@ declare namespace LocalJSX {
|
|
|
5302
5548
|
/**
|
|
5303
5549
|
* Triggered when the tab loses focus.
|
|
5304
5550
|
*/
|
|
5305
|
-
"onKup-tabbar-blur"?: (event:
|
|
5551
|
+
"onKup-tabbar-blur"?: (event: KupTabBarCustomEvent<KupTabBarEventPayload>) => void;
|
|
5306
5552
|
/**
|
|
5307
5553
|
* Triggered when the tab is clicked.
|
|
5308
5554
|
*/
|
|
5309
|
-
"onKup-tabbar-click"?: (event:
|
|
5555
|
+
"onKup-tabbar-click"?: (event: KupTabBarCustomEvent<KupTabBarEventPayload>) => void;
|
|
5310
5556
|
/**
|
|
5311
5557
|
* Triggered when the tab is focused.
|
|
5312
5558
|
*/
|
|
5313
|
-
"onKup-tabbar-focus"?: (event:
|
|
5559
|
+
"onKup-tabbar-focus"?: (event: KupTabBarCustomEvent<KupTabBarEventPayload>) => void;
|
|
5314
5560
|
/**
|
|
5315
5561
|
* When enabled displays Material's ripple effect on item headers.
|
|
5316
5562
|
* @default true
|
|
@@ -5399,38 +5645,43 @@ declare namespace LocalJSX {
|
|
|
5399
5645
|
* @default null
|
|
5400
5646
|
*/
|
|
5401
5647
|
"min"?: number;
|
|
5648
|
+
/**
|
|
5649
|
+
* The HTML name attribute used for form autocomplete.
|
|
5650
|
+
* @default null
|
|
5651
|
+
*/
|
|
5652
|
+
"name"?: string;
|
|
5402
5653
|
/**
|
|
5403
5654
|
* Triggered when the input element loses focus.
|
|
5404
5655
|
*/
|
|
5405
|
-
"onKup-textfield-blur"?: (event:
|
|
5656
|
+
"onKup-textfield-blur"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5406
5657
|
/**
|
|
5407
5658
|
* Triggered when the input element changes.
|
|
5408
5659
|
*/
|
|
5409
|
-
"onKup-textfield-change"?: (event:
|
|
5660
|
+
"onKup-textfield-change"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5410
5661
|
/**
|
|
5411
5662
|
* Triggered when the text field's clear icon is clicked.
|
|
5412
5663
|
*/
|
|
5413
|
-
"onKup-textfield-cleariconclick"?: (event:
|
|
5664
|
+
"onKup-textfield-cleariconclick"?: (event: KupTextFieldCustomEvent<KupEventPayload>) => void;
|
|
5414
5665
|
/**
|
|
5415
5666
|
* Triggered when the input element is clicked.
|
|
5416
5667
|
*/
|
|
5417
|
-
"onKup-textfield-click"?: (event:
|
|
5668
|
+
"onKup-textfield-click"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5418
5669
|
/**
|
|
5419
5670
|
* Triggered when the input element gets focused.
|
|
5420
5671
|
*/
|
|
5421
|
-
"onKup-textfield-focus"?: (event:
|
|
5672
|
+
"onKup-textfield-focus"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5422
5673
|
/**
|
|
5423
5674
|
* Triggered when the text field's icon is clicked.
|
|
5424
5675
|
*/
|
|
5425
|
-
"onKup-textfield-iconclick"?: (event:
|
|
5676
|
+
"onKup-textfield-iconclick"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5426
5677
|
/**
|
|
5427
5678
|
* Triggered when the input element receives an input.
|
|
5428
5679
|
*/
|
|
5429
|
-
"onKup-textfield-input"?: (event:
|
|
5680
|
+
"onKup-textfield-input"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5430
5681
|
/**
|
|
5431
5682
|
* Triggered when the Enter key is pressed.
|
|
5432
5683
|
*/
|
|
5433
|
-
"onKup-textfield-submit"?: (event:
|
|
5684
|
+
"onKup-textfield-submit"?: (event: KupTextFieldCustomEvent<KupTextFieldEventPayload>) => void;
|
|
5434
5685
|
/**
|
|
5435
5686
|
* When set to true, the component will be rendered as an outlined field.
|
|
5436
5687
|
* @default false
|
|
@@ -5494,15 +5745,15 @@ declare namespace LocalJSX {
|
|
|
5494
5745
|
* @default false
|
|
5495
5746
|
*/
|
|
5496
5747
|
"manageSeconds"?: boolean;
|
|
5497
|
-
"onKup-timepicker-blur"?: (event:
|
|
5498
|
-
"onKup-timepicker-change"?: (event:
|
|
5499
|
-
"onKup-timepicker-cleariconclick"?: (event:
|
|
5500
|
-
"onKup-timepicker-click"?: (event:
|
|
5501
|
-
"onKup-timepicker-focus"?: (event:
|
|
5502
|
-
"onKup-timepicker-iconclick"?: (event:
|
|
5503
|
-
"onKup-timepicker-input"?: (event:
|
|
5504
|
-
"onKup-timepicker-itemclick"?: (event:
|
|
5505
|
-
"onKup-timepicker-textfieldsubmit"?: (event:
|
|
5748
|
+
"onKup-timepicker-blur"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5749
|
+
"onKup-timepicker-change"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5750
|
+
"onKup-timepicker-cleariconclick"?: (event: KupTimePickerCustomEvent<KupEventPayload>) => void;
|
|
5751
|
+
"onKup-timepicker-click"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5752
|
+
"onKup-timepicker-focus"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5753
|
+
"onKup-timepicker-iconclick"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5754
|
+
"onKup-timepicker-input"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5755
|
+
"onKup-timepicker-itemclick"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5756
|
+
"onKup-timepicker-textfieldsubmit"?: (event: KupTimePickerCustomEvent<KupTimePickerEventPayload>) => void;
|
|
5506
5757
|
/**
|
|
5507
5758
|
* Minutes step.
|
|
5508
5759
|
* @default 10
|
|
@@ -5579,30 +5830,30 @@ declare namespace LocalJSX {
|
|
|
5579
5830
|
* The value of the global filter.
|
|
5580
5831
|
*/
|
|
5581
5832
|
"globalFilterValue"?: string;
|
|
5582
|
-
"onKup-tree-buttonclick"?: (event:
|
|
5833
|
+
"onKup-tree-buttonclick"?: (event: KupTreeCustomEvent<KupTreeNodeButtonClickEventPayload>) => void;
|
|
5583
5834
|
/**
|
|
5584
5835
|
* When the column menu is being opened/closed.
|
|
5585
5836
|
*/
|
|
5586
|
-
"onKup-tree-columnmenu"?: (event:
|
|
5837
|
+
"onKup-tree-columnmenu"?: (event: KupTreeCustomEvent<KupTreeColumnMenuEventPayload>) => void;
|
|
5587
5838
|
/**
|
|
5588
5839
|
* Event fired when columns are removed (set to hidden).
|
|
5589
5840
|
*/
|
|
5590
|
-
"onKup-tree-columnremove"?: (event:
|
|
5841
|
+
"onKup-tree-columnremove"?: (event: KupTreeCustomEvent<KupTreeColumnRemoveEventPayload>) => void;
|
|
5591
5842
|
/**
|
|
5592
5843
|
* Generic right click event on tree.
|
|
5593
5844
|
*/
|
|
5594
|
-
"onKup-tree-contextmenu"?: (event:
|
|
5595
|
-
"onKup-tree-didload"?: (event:
|
|
5845
|
+
"onKup-tree-contextmenu"?: (event: KupTreeCustomEvent<KupTreeContextMenuEventPayload>) => void;
|
|
5846
|
+
"onKup-tree-didload"?: (event: KupTreeCustomEvent<KupEventPayload>) => void;
|
|
5596
5847
|
/**
|
|
5597
5848
|
* Triggered when stop propagation event
|
|
5598
5849
|
*/
|
|
5599
|
-
"onKup-tree-didunload"?: (event:
|
|
5600
|
-
"onKup-tree-dynamicmassexpansion"?: (event:
|
|
5850
|
+
"onKup-tree-didunload"?: (event: KupTreeCustomEvent<KupEventPayload>) => void;
|
|
5851
|
+
"onKup-tree-dynamicmassexpansion"?: (event: KupTreeCustomEvent<KupTreeDynamicMassExpansionEventPayload>) => void;
|
|
5601
5852
|
/**
|
|
5602
5853
|
* Fired when a KupTreeNode gets collapsed (closed).
|
|
5603
5854
|
*/
|
|
5604
|
-
"onKup-tree-nodecollapse"?: (event:
|
|
5605
|
-
"onKup-tree-nodedblclick"?: (event:
|
|
5855
|
+
"onKup-tree-nodecollapse"?: (event: KupTreeCustomEvent<KupTreeNodeCollapseEventPayload>) => void;
|
|
5856
|
+
"onKup-tree-nodedblclick"?: (event: KupTreeCustomEvent<KupTreeNodeCollapseEventPayload>) => void;
|
|
5606
5857
|
/**
|
|
5607
5858
|
* Fired when a node expansion ion has been triggered. Contains additional data when the tree is using the dynamicExpansion feature.
|
|
5608
5859
|
* @event kup-tree-nodeexpand
|
|
@@ -5615,11 +5866,11 @@ declare namespace LocalJSX {
|
|
|
5615
5866
|
* @see dynamicExpansionCallback *
|
|
5616
5867
|
* @since 1.0.0
|
|
5617
5868
|
*/
|
|
5618
|
-
"onKup-tree-nodeexpand"?: (event:
|
|
5869
|
+
"onKup-tree-nodeexpand"?: (event: KupTreeCustomEvent<KupTreeNodeExpandEventPayload>) => void;
|
|
5619
5870
|
/**
|
|
5620
5871
|
* Fired when a node of the tree has been selected
|
|
5621
5872
|
*/
|
|
5622
|
-
"onKup-tree-nodeselected"?: (event:
|
|
5873
|
+
"onKup-tree-nodeselected"?: (event: KupTreeCustomEvent<KupTreeNodeSelectedEventPayload>) => void;
|
|
5623
5874
|
/**
|
|
5624
5875
|
* Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells. It works only on cells of the main column.
|
|
5625
5876
|
* @default false;
|
|
@@ -5692,13 +5943,14 @@ declare namespace LocalJSX {
|
|
|
5692
5943
|
"kup-combobox": KupCombobox;
|
|
5693
5944
|
"kup-dash": KupDash;
|
|
5694
5945
|
"kup-dash-list": KupDashList;
|
|
5946
|
+
"kup-dashboard": KupDashboard;
|
|
5695
5947
|
"kup-data-table": KupDataTable;
|
|
5696
5948
|
"kup-date-picker": KupDatePicker;
|
|
5697
5949
|
"kup-drawer": KupDrawer;
|
|
5698
5950
|
"kup-dropdown-button": KupDropdownButton;
|
|
5699
5951
|
"kup-echart": KupEchart;
|
|
5700
5952
|
"kup-field": KupField;
|
|
5701
|
-
"kup-form
|
|
5953
|
+
"kup-form": KupForm;
|
|
5702
5954
|
"kup-gauge": KupGauge;
|
|
5703
5955
|
"kup-grid": KupGrid;
|
|
5704
5956
|
"kup-iframe": KupIframe;
|
|
@@ -5744,13 +5996,14 @@ declare module "@stencil/core" {
|
|
|
5744
5996
|
"kup-combobox": LocalJSX.KupCombobox & JSXBase.HTMLAttributes<HTMLKupComboboxElement>;
|
|
5745
5997
|
"kup-dash": LocalJSX.KupDash & JSXBase.HTMLAttributes<HTMLKupDashElement>;
|
|
5746
5998
|
"kup-dash-list": LocalJSX.KupDashList & JSXBase.HTMLAttributes<HTMLKupDashListElement>;
|
|
5999
|
+
"kup-dashboard": LocalJSX.KupDashboard & JSXBase.HTMLAttributes<HTMLKupDashboardElement>;
|
|
5747
6000
|
"kup-data-table": LocalJSX.KupDataTable & JSXBase.HTMLAttributes<HTMLKupDataTableElement>;
|
|
5748
6001
|
"kup-date-picker": LocalJSX.KupDatePicker & JSXBase.HTMLAttributes<HTMLKupDatePickerElement>;
|
|
5749
6002
|
"kup-drawer": LocalJSX.KupDrawer & JSXBase.HTMLAttributes<HTMLKupDrawerElement>;
|
|
5750
6003
|
"kup-dropdown-button": LocalJSX.KupDropdownButton & JSXBase.HTMLAttributes<HTMLKupDropdownButtonElement>;
|
|
5751
6004
|
"kup-echart": LocalJSX.KupEchart & JSXBase.HTMLAttributes<HTMLKupEchartElement>;
|
|
5752
6005
|
"kup-field": LocalJSX.KupField & JSXBase.HTMLAttributes<HTMLKupFieldElement>;
|
|
5753
|
-
"kup-form
|
|
6006
|
+
"kup-form": LocalJSX.KupForm & JSXBase.HTMLAttributes<HTMLKupFormElement>;
|
|
5754
6007
|
"kup-gauge": LocalJSX.KupGauge & JSXBase.HTMLAttributes<HTMLKupGaugeElement>;
|
|
5755
6008
|
"kup-grid": LocalJSX.KupGrid & JSXBase.HTMLAttributes<HTMLKupGridElement>;
|
|
5756
6009
|
"kup-iframe": LocalJSX.KupIframe & JSXBase.HTMLAttributes<HTMLKupIframeElement>;
|