@sme.up/ketchup 7.1.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-40953600.js → f-button-1d63db82.js} +2 -2
- package/dist/cjs/{f-cell-e603ae4f.js → f-cell-abc20cee.js} +59 -6
- package/dist/cjs/{f-checkbox-1097ca5d.js → f-checkbox-1148e791.js} +1 -1
- package/dist/cjs/{f-chip-01efabde.js → f-chip-ae40e47a.js} +6 -4
- package/dist/cjs/{f-image-f741cb4c.js → f-image-c5f5880a.js} +2 -2
- package/dist/cjs/{f-paginator-utils-35a6a848.js → f-paginator-utils-e8449af2.js} +3 -3
- package/dist/cjs/{f-text-field-60a2f24c.js → f-text-field-d200b904.js} +2 -2
- package/dist/cjs/{index-ffdb46f6.js → index-1f177abc.js} +120 -2
- package/dist/cjs/ketchup.cjs.js +10 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{kup-autocomplete_26.cjs.entry.js → kup-autocomplete_27.cjs.entry.js} +1028 -861
- package/dist/cjs/kup-box.cjs.entry.js +9 -9
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +89 -16
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-6f05ebe1.js → kup-manager-bbbe0491.js} +58 -13
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/collection/assets/dialog.js +0 -0
- package/dist/collection/assets/echart.js +146 -0
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -1
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +12 -0
- package/dist/collection/components/kup-card/kup-card.css +0 -22
- package/dist/collection/components/kup-card/kup-card.js +1 -40
- package/dist/collection/components/kup-chip/kup-chip-declarations.js +2 -0
- package/dist/collection/components/kup-chip/kup-chip.js +122 -4
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +12 -23
- package/dist/collection/components/kup-dialog/kup-dialog-declarations.js +14 -0
- package/dist/collection/components/kup-dialog/kup-dialog.css +64 -0
- package/dist/collection/components/kup-dialog/kup-dialog.js +467 -0
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +1 -0
- package/dist/collection/components/kup-echart/kup-echart.js +86 -14
- package/dist/collection/components/kup-list/kup-list-helper.js +6 -4
- package/dist/collection/components/kup-list/kup-list.js +0 -6
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +7 -0
- package/dist/collection/f-components/f-cell/f-cell.js +17 -0
- package/dist/collection/f-components/f-chip/f-chip.js +3 -1
- package/dist/collection/managers/kup-data/kup-data.js +4 -0
- package/dist/collection/managers/kup-interact/kup-interact.js +33 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +6 -3
- package/dist/components/index.d.ts +9 -50
- package/dist/components/index.js +1 -48
- package/dist/components/kup-accordion.js +18 -13
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-autocomplete2.js +1622 -1187
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box2.js +18 -13
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +18 -13
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +18 -13
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dash-list.js +20 -15
- package/dist/components/kup-dash2.js +18 -13
- package/dist/components/kup-dashboard.js +18 -13
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.d.ts +11 -0
- package/dist/components/kup-dialog.js +6 -0
- package/dist/components/kup-drawer.js +18 -13
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +105 -27
- package/dist/components/kup-family-tree.js +20 -15
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid2.js +18 -13
- package/dist/components/kup-iframe.js +18 -13
- package/dist/components/kup-image-list.js +18 -13
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-lazy.js +18 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +20 -15
- package/dist/components/kup-nav-bar.js +18 -13
- package/dist/components/kup-numeric-picker.js +18 -13
- package/dist/components/kup-photo-frame.js +18 -13
- package/dist/components/kup-probe.js +18 -13
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +18 -13
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +18 -13
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/esm/{f-button-9aec1bc5.js → f-button-a8843fb2.js} +2 -2
- package/dist/esm/{f-cell-556937d0.js → f-cell-aa0acc55.js} +60 -7
- package/dist/esm/{f-checkbox-b721178e.js → f-checkbox-9b3f5f5b.js} +1 -1
- package/dist/esm/{f-chip-677db32a.js → f-chip-4555fb98.js} +6 -4
- package/dist/esm/{f-image-52bb5950.js → f-image-fed7623c.js} +2 -2
- package/dist/esm/{f-paginator-utils-d472e336.js → f-paginator-utils-8c88fab3.js} +3 -3
- package/dist/esm/{f-text-field-88f92118.js → f-text-field-b74f4b58.js} +2 -2
- package/dist/esm/{index-a2197376.js → index-8bd38435.js} +120 -3
- package/dist/esm/ketchup.js +7 -3
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/{kup-autocomplete_26.entry.js → kup-autocomplete_27.entry.js} +1009 -843
- package/dist/esm/kup-box.entry.js +9 -9
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dash-list.entry.js +2 -2
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +89 -16
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-12e99c22.js → kup-manager-311c87ab.js} +59 -14
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/loader.js +4 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-c59e6bc7.entry.js → p-028e4c1d.entry.js} +1 -1
- package/dist/ketchup/p-06d55b09.entry.js +39 -0
- package/dist/ketchup/p-09b2668f.entry.js +27 -0
- package/dist/ketchup/p-115220b5.entry.js +1 -0
- package/dist/ketchup/{p-ce1da4a8.entry.js → p-17d827e8.entry.js} +1 -1
- package/dist/ketchup/{p-60609877.entry.js → p-1d7f90be.entry.js} +1 -1
- package/dist/ketchup/p-1e5fda58.entry.js +1 -0
- package/dist/ketchup/{p-ac33139e.entry.js → p-247362de.entry.js} +1 -1
- package/dist/ketchup/{p-25617855.js → p-388d18a1.js} +1 -1
- package/dist/ketchup/{p-88adddcf.entry.js → p-3a0cf42a.entry.js} +1 -1
- package/dist/ketchup/{p-9570ebfa.js → p-48be0d93.js} +1 -1
- package/dist/ketchup/p-4c0206cf.entry.js +1 -0
- package/dist/ketchup/{p-85c7a3a4.js → p-519f4074.js} +1 -1
- package/dist/ketchup/{p-053824eb.entry.js → p-5f920acd.entry.js} +1 -1
- package/dist/ketchup/{p-ad3e7b2b.entry.js → p-6ae98bb0.entry.js} +1 -1
- package/dist/ketchup/p-6dde2079.entry.js +1 -0
- package/dist/ketchup/p-79b0730b.js +1 -1
- package/dist/ketchup/{p-4f7302a9.js → p-7e9f8adf.js} +1 -1
- package/dist/ketchup/p-7f9912b1.js +1 -0
- package/dist/ketchup/p-8df0191d.entry.js +9 -0
- package/dist/ketchup/{p-e094ebb8.entry.js → p-910249f5.entry.js} +1 -1
- package/dist/ketchup/{p-52f19c4f.entry.js → p-9174622b.entry.js} +1 -1
- package/dist/ketchup/p-9dcfbb1e.js +2 -0
- package/dist/ketchup/{p-23cd5a68.js → p-9f9b6656.js} +1 -1
- package/dist/ketchup/{p-3a7a05a7.entry.js → p-a1708266.entry.js} +1 -1
- package/dist/ketchup/p-b67a295b.js +30 -0
- package/dist/ketchup/{p-485883cb.entry.js → p-bc68a9de.entry.js} +1 -1
- package/dist/ketchup/p-cb28bc8c.js +1 -0
- package/dist/ketchup/p-de9375f7.entry.js +1 -0
- package/dist/ketchup/{p-f44aba79.entry.js → p-df6617bc.entry.js} +1 -1
- package/dist/ketchup/{p-94290b09.entry.js → p-fb6ee94f.entry.js} +1 -1
- package/dist/loader/index.d.ts +9 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +4 -2
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/kup-card.d.ts +0 -5
- package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +5 -0
- package/dist/types/components/kup-chip/kup-chip.d.ts +16 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -1
- package/dist/types/components/kup-dialog/kup-dialog-declarations.d.ts +26 -0
- package/dist/types/components/kup-dialog/kup-dialog.d.ts +77 -0
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -1
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -1
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -1
- package/dist/types/components.d.ts +185 -11
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -0
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +2 -1
- package/dist/types/managers/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -1
- package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +2 -2
- package/dist/types/managers/kup-interact/kup-interact.d.ts +11 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +71 -15
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/dist/types/utils/filters/filters-declarations.d.ts +2 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +3 -1
- package/package.json +2 -2
- package/dist/ketchup/p-1c371df3.entry.js +0 -39
- package/dist/ketchup/p-278188bf.js +0 -1
- package/dist/ketchup/p-4021d751.entry.js +0 -1
- package/dist/ketchup/p-4fdb684f.js +0 -2
- package/dist/ketchup/p-5483f20e.js +0 -30
- package/dist/ketchup/p-584369be.entry.js +0 -1
- package/dist/ketchup/p-6a6c3e69.entry.js +0 -27
- package/dist/ketchup/p-751b5708.js +0 -1
- package/dist/ketchup/p-775e0d34.entry.js +0 -1
- package/dist/ketchup/p-7e013c24.entry.js +0 -1
- package/dist/ketchup/p-b0f22298.entry.js +0 -9
- package/dist/ketchup/p-e0135ce0.entry.js +0 -1
|
@@ -20,7 +20,7 @@ import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily }
|
|
|
20
20
|
import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
21
21
|
import { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
22
22
|
import { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
23
|
-
import { KupChipEventPayload, KupChipNode } from "./components/kup-chip/kup-chip-declarations";
|
|
23
|
+
import { KupChipChangeEventPayload, KupChipEventPayload, KupChipNode } from "./components/kup-chip/kup-chip-declarations";
|
|
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";
|
|
@@ -28,6 +28,7 @@ import { KupDashboardEventPayload, KupDataDashboard } from "./components/kup-das
|
|
|
28
28
|
import { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
29
29
|
import { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
30
30
|
import { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
31
|
+
import { KupDialogAutoCenter, KupDialogHeader, KupDialogModal } from "./components/kup-dialog/kup-dialog-declarations";
|
|
31
32
|
import { KupDropdownButtonEventPayload } from "./components/kup-dropdown-button/kup-dropdown-button-declarations";
|
|
32
33
|
import { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, KupEchartTitle, KupEchartTypes } from "./components/kup-echart/kup-echart-declarations";
|
|
33
34
|
import { GeoJSON } from "geojson";
|
|
@@ -49,6 +50,51 @@ import { KupSwitchEventPayload } from "./components/kup-switch/kup-switch-declar
|
|
|
49
50
|
import { KupTabBarEventPayload, KupTabBarNode } from "./components/kup-tab-bar/kup-tab-bar-declarations";
|
|
50
51
|
import { KupTextFieldEventPayload } from "./components/kup-text-field/kup-text-field-declarations";
|
|
51
52
|
import { KupTimePickerEventPayload } from "./components/kup-time-picker/kup-time-picker-declarations";
|
|
53
|
+
export { KupAccordionData, KupAccordionItemSelectedEventPayload } from "./components/kup-accordion/kup-accordion-declarations";
|
|
54
|
+
export { GenericObject, KupEventPayload } from "./types/GenericTypes";
|
|
55
|
+
export { ItemsDisplayMode, KupListEventPayload, KupListNode, KupListRole } from "./components/kup-list/kup-list-declarations";
|
|
56
|
+
export { KupAutocompleteEventPayload, KupAutocompleteIconClickEventPayload } from "./components/kup-autocomplete/kup-autocomplete-declarations";
|
|
57
|
+
export { KupBoxAutoSelectEventPayload, KupBoxClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, KupBoxKanban, KupBoxLayout, KupBoxRow, KupBoxRowActionClickEventPayload, KupBoxSelectedEventPayload } from "./components/kup-box/kup-box-declarations";
|
|
58
|
+
export { KupStore } from "./components/kup-state/kup-store";
|
|
59
|
+
export { KupDataCell, KupDataColumn, KupDataDataset, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataNode, KupDataRowAction } from "./managers/kup-data/kup-data-declarations";
|
|
60
|
+
export { FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
|
|
61
|
+
export { KupButtonClickEventPayload } from "./components/kup-button/kup-button-declarations";
|
|
62
|
+
export { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
63
|
+
export { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
64
|
+
export { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
65
|
+
export { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
66
|
+
export { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
67
|
+
export { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
68
|
+
export { KupChipChangeEventPayload, KupChipEventPayload, KupChipNode } from "./components/kup-chip/kup-chip-declarations";
|
|
69
|
+
export { FChipType } from "./f-components/f-chip/f-chip-declarations";
|
|
70
|
+
export { KupColorPickerEventPayload } from "./components/kup-color-picker/kup-color-picker-declarations";
|
|
71
|
+
export { KupComboboxEventPayload, KupComboboxIconClickEventPayload } from "./components/kup-combobox/kup-combobox-declarations";
|
|
72
|
+
export { KupDashboardEventPayload, KupDataDashboard } from "./components/kup-dashboard/kup-dashboard-declarations";
|
|
73
|
+
export { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
74
|
+
export { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
75
|
+
export { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
76
|
+
export { KupDialogAutoCenter, KupDialogHeader, KupDialogModal } from "./components/kup-dialog/kup-dialog-declarations";
|
|
77
|
+
export { KupDropdownButtonEventPayload } from "./components/kup-dropdown-button/kup-dropdown-button-declarations";
|
|
78
|
+
export { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, KupEchartTitle, KupEchartTypes } from "./components/kup-echart/kup-echart-declarations";
|
|
79
|
+
export { GeoJSON } from "geojson";
|
|
80
|
+
export { XAXisComponentOption, YAXisComponentOption } from "echarts";
|
|
81
|
+
export { KupFamilyTreeData, KupFamilyTreeEventPayload, KupFamilyTreeLayout, KupFamilyTreeNode } from "./components/kup-family-tree/kup-family-tree-declarations";
|
|
82
|
+
export { KupFormData, KupFormLabelPlacement, KupFormLayout } from "./components/kup-form/kup-form-declarations";
|
|
83
|
+
export { KupBadge } from "./components/kup-badge/kup-badge";
|
|
84
|
+
export { FImageData } from "./f-components/f-image/f-image-declarations";
|
|
85
|
+
export { KupImageClickEventPayload } from "./components/kup-image/kup-image-declarations";
|
|
86
|
+
export { KupTreeColumnMenuEventPayload, KupTreeColumnRemoveEventPayload, KupTreeContextMenuEventPayload, KupTreeDynamicMassExpansionEventPayload, KupTreeExpansionMode, KupTreeNode, KupTreeNodeButtonClickEventPayload, KupTreeNodeCollapseEventPayload, KupTreeNodeExpandEventPayload, KupTreeNodeSelectedEventPayload, TreeNodePath } from "./components/kup-tree/kup-tree-declarations";
|
|
87
|
+
export { KupImageListEventPayload } from "./components/kup-image-list/kup-image-list-declarations";
|
|
88
|
+
export { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
|
|
89
|
+
export { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
|
|
90
|
+
export { KupNumericPickerEventPayload } from "./components/kup-numeric-picker/kup-numeric-picker-declarations";
|
|
91
|
+
export { KupQlikGrid, QlikServer } from "./components/kup-qlik/kup-qlik-declarations";
|
|
92
|
+
export { KupRadioChangeEventPayload, KupRadioData } from "./components/kup-radio/kup-radio-declarations";
|
|
93
|
+
export { KupRatingClickEventPayload } from "./components/kup-rating/kup-rating-declarations";
|
|
94
|
+
export { KupSwitchEventPayload } from "./components/kup-switch/kup-switch-declarations";
|
|
95
|
+
export { KupTabBarEventPayload, KupTabBarNode } from "./components/kup-tab-bar/kup-tab-bar-declarations";
|
|
96
|
+
export { KupTextFieldEventPayload } from "./components/kup-text-field/kup-text-field-declarations";
|
|
97
|
+
export { KupTimePickerEventPayload } from "./components/kup-time-picker/kup-time-picker-declarations";
|
|
52
98
|
export namespace Components {
|
|
53
99
|
interface KupAccordion {
|
|
54
100
|
/**
|
|
@@ -581,11 +627,6 @@ export namespace Components {
|
|
|
581
627
|
* @param props - Object containing props that will be set to the component.
|
|
582
628
|
*/
|
|
583
629
|
"setProps": (props: GenericObject) => Promise<void>;
|
|
584
|
-
/**
|
|
585
|
-
* Sets the card as modal window
|
|
586
|
-
* @default false
|
|
587
|
-
*/
|
|
588
|
-
"showModal": boolean;
|
|
589
630
|
/**
|
|
590
631
|
* The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
591
632
|
* @default "100%"
|
|
@@ -827,6 +868,16 @@ export namespace Components {
|
|
|
827
868
|
* @default []
|
|
828
869
|
*/
|
|
829
870
|
"data": KupChipNode[];
|
|
871
|
+
/**
|
|
872
|
+
* When enabled, the chip's text will display both the id and the value.
|
|
873
|
+
* @default false
|
|
874
|
+
*/
|
|
875
|
+
"displayId": boolean;
|
|
876
|
+
/**
|
|
877
|
+
* When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field).
|
|
878
|
+
* @default false
|
|
879
|
+
*/
|
|
880
|
+
"enableInput": boolean;
|
|
830
881
|
/**
|
|
831
882
|
* Used to retrieve component's props values.
|
|
832
883
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -1406,6 +1457,67 @@ export namespace Components {
|
|
|
1406
1457
|
*/
|
|
1407
1458
|
"setValue": (value: string) => Promise<void>;
|
|
1408
1459
|
}
|
|
1460
|
+
interface KupDialog {
|
|
1461
|
+
/**
|
|
1462
|
+
* Auto centers the dialog relatively to the viewport.
|
|
1463
|
+
* @default "{ onReady: true }"
|
|
1464
|
+
*/
|
|
1465
|
+
"autoCenter": KupDialogAutoCenter;
|
|
1466
|
+
/**
|
|
1467
|
+
* Closes the dialog detaching it from the DOM.
|
|
1468
|
+
*/
|
|
1469
|
+
"close": () => Promise<void>;
|
|
1470
|
+
/**
|
|
1471
|
+
* Custom style of the component.
|
|
1472
|
+
* @default ""
|
|
1473
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
1474
|
+
*/
|
|
1475
|
+
"customStyle": string;
|
|
1476
|
+
/**
|
|
1477
|
+
* Used to retrieve component's props values.
|
|
1478
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
1479
|
+
* @returns List of props as object, each key will be a prop.
|
|
1480
|
+
*/
|
|
1481
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
1482
|
+
/**
|
|
1483
|
+
* Header options.
|
|
1484
|
+
* @default "{ icons: { close: true } }"
|
|
1485
|
+
*/
|
|
1486
|
+
"header": KupDialogHeader;
|
|
1487
|
+
/**
|
|
1488
|
+
* Set of options to display the dialog as a modal.
|
|
1489
|
+
* @default "{ closeOnBackdropClick: true }"
|
|
1490
|
+
*/
|
|
1491
|
+
"modal": KupDialogModal;
|
|
1492
|
+
/**
|
|
1493
|
+
* Places the dialog at the center of the screen.
|
|
1494
|
+
*/
|
|
1495
|
+
"recalcPosition": () => Promise<void>;
|
|
1496
|
+
/**
|
|
1497
|
+
* This method is used to trigger a new render of the component.
|
|
1498
|
+
*/
|
|
1499
|
+
"refresh": () => Promise<void>;
|
|
1500
|
+
/**
|
|
1501
|
+
* Sets whether the dialog is resizable or not.
|
|
1502
|
+
* @default "true"
|
|
1503
|
+
*/
|
|
1504
|
+
"resizable": boolean;
|
|
1505
|
+
/**
|
|
1506
|
+
* Sets the props to the component.
|
|
1507
|
+
* @param props - Object containing props that will be set to the component.
|
|
1508
|
+
*/
|
|
1509
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
1510
|
+
/**
|
|
1511
|
+
* The width of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vw, etc.).
|
|
1512
|
+
* @default "auto"
|
|
1513
|
+
*/
|
|
1514
|
+
"sizeX": string;
|
|
1515
|
+
/**
|
|
1516
|
+
* The height of the card, defaults to auto. Accepts any valid CSS format (px, %, vh, etc.).
|
|
1517
|
+
* @default "auto"
|
|
1518
|
+
*/
|
|
1519
|
+
"sizeY": string;
|
|
1520
|
+
}
|
|
1409
1521
|
interface KupDrawer {
|
|
1410
1522
|
/**
|
|
1411
1523
|
* Closes the drawer.
|
|
@@ -3177,6 +3289,10 @@ export interface KupDatePickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
3177
3289
|
detail: T;
|
|
3178
3290
|
target: HTMLKupDatePickerElement;
|
|
3179
3291
|
}
|
|
3292
|
+
export interface KupDialogCustomEvent<T> extends CustomEvent<T> {
|
|
3293
|
+
detail: T;
|
|
3294
|
+
target: HTMLKupDialogElement;
|
|
3295
|
+
}
|
|
3180
3296
|
export interface KupDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
3181
3297
|
detail: T;
|
|
3182
3298
|
target: HTMLKupDrawerElement;
|
|
@@ -3376,6 +3492,12 @@ declare global {
|
|
|
3376
3492
|
prototype: HTMLKupDatePickerElement;
|
|
3377
3493
|
new (): HTMLKupDatePickerElement;
|
|
3378
3494
|
};
|
|
3495
|
+
interface HTMLKupDialogElement extends Components.KupDialog, HTMLStencilElement {
|
|
3496
|
+
}
|
|
3497
|
+
var HTMLKupDialogElement: {
|
|
3498
|
+
prototype: HTMLKupDialogElement;
|
|
3499
|
+
new (): HTMLKupDialogElement;
|
|
3500
|
+
};
|
|
3379
3501
|
interface HTMLKupDrawerElement extends Components.KupDrawer, HTMLStencilElement {
|
|
3380
3502
|
}
|
|
3381
3503
|
var HTMLKupDrawerElement: {
|
|
@@ -3564,6 +3686,7 @@ declare global {
|
|
|
3564
3686
|
"kup-dashboard": HTMLKupDashboardElement;
|
|
3565
3687
|
"kup-data-table": HTMLKupDataTableElement;
|
|
3566
3688
|
"kup-date-picker": HTMLKupDatePickerElement;
|
|
3689
|
+
"kup-dialog": HTMLKupDialogElement;
|
|
3567
3690
|
"kup-drawer": HTMLKupDrawerElement;
|
|
3568
3691
|
"kup-dropdown-button": HTMLKupDropdownButtonElement;
|
|
3569
3692
|
"kup-echart": HTMLKupEchartElement;
|
|
@@ -4056,11 +4179,6 @@ declare namespace LocalJSX {
|
|
|
4056
4179
|
* Triggered when the component is ready.
|
|
4057
4180
|
*/
|
|
4058
4181
|
"onKup-card-ready"?: (event: KupCardCustomEvent<KupEventPayload>) => void;
|
|
4059
|
-
/**
|
|
4060
|
-
* Sets the card as modal window
|
|
4061
|
-
* @default false
|
|
4062
|
-
*/
|
|
4063
|
-
"showModal"?: boolean;
|
|
4064
4182
|
/**
|
|
4065
4183
|
* The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
4066
4184
|
* @default "100%"
|
|
@@ -4259,10 +4377,24 @@ declare namespace LocalJSX {
|
|
|
4259
4377
|
* @default []
|
|
4260
4378
|
*/
|
|
4261
4379
|
"data"?: KupChipNode[];
|
|
4380
|
+
/**
|
|
4381
|
+
* When enabled, the chip's text will display both the id and the value.
|
|
4382
|
+
* @default false
|
|
4383
|
+
*/
|
|
4384
|
+
"displayId"?: boolean;
|
|
4385
|
+
/**
|
|
4386
|
+
* When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field).
|
|
4387
|
+
* @default false
|
|
4388
|
+
*/
|
|
4389
|
+
"enableInput"?: boolean;
|
|
4262
4390
|
/**
|
|
4263
4391
|
* Triggered when a chip loses focus.
|
|
4264
4392
|
*/
|
|
4265
4393
|
"onKup-chip-blur"?: (event: KupChipCustomEvent<KupChipEventPayload>) => void;
|
|
4394
|
+
/**
|
|
4395
|
+
* Triggered when the chip dataset changes.
|
|
4396
|
+
*/
|
|
4397
|
+
"onKup-chip-change"?: (event: KupChipCustomEvent<KupChipChangeEventPayload>) => void;
|
|
4266
4398
|
/**
|
|
4267
4399
|
* Triggered when a chip is clicked.
|
|
4268
4400
|
*/
|
|
@@ -4727,6 +4859,46 @@ declare namespace LocalJSX {
|
|
|
4727
4859
|
"onKup-datepicker-itemclick"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4728
4860
|
"onKup-datepicker-textfieldsubmit"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4729
4861
|
}
|
|
4862
|
+
interface KupDialog {
|
|
4863
|
+
/**
|
|
4864
|
+
* Auto centers the dialog relatively to the viewport.
|
|
4865
|
+
* @default "{ onReady: true }"
|
|
4866
|
+
*/
|
|
4867
|
+
"autoCenter"?: KupDialogAutoCenter;
|
|
4868
|
+
/**
|
|
4869
|
+
* Custom style of the component.
|
|
4870
|
+
* @default ""
|
|
4871
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4872
|
+
*/
|
|
4873
|
+
"customStyle"?: string;
|
|
4874
|
+
/**
|
|
4875
|
+
* Header options.
|
|
4876
|
+
* @default "{ icons: { close: true } }"
|
|
4877
|
+
*/
|
|
4878
|
+
"header"?: KupDialogHeader;
|
|
4879
|
+
/**
|
|
4880
|
+
* Set of options to display the dialog as a modal.
|
|
4881
|
+
* @default "{ closeOnBackdropClick: true }"
|
|
4882
|
+
*/
|
|
4883
|
+
"modal"?: KupDialogModal;
|
|
4884
|
+
"onKup-dialog-close"?: (event: KupDialogCustomEvent<KupEventPayload>) => void;
|
|
4885
|
+
"onKup-dialog-ready"?: (event: KupDialogCustomEvent<KupEventPayload>) => void;
|
|
4886
|
+
/**
|
|
4887
|
+
* Sets whether the dialog is resizable or not.
|
|
4888
|
+
* @default "true"
|
|
4889
|
+
*/
|
|
4890
|
+
"resizable"?: boolean;
|
|
4891
|
+
/**
|
|
4892
|
+
* The width of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vw, etc.).
|
|
4893
|
+
* @default "auto"
|
|
4894
|
+
*/
|
|
4895
|
+
"sizeX"?: string;
|
|
4896
|
+
/**
|
|
4897
|
+
* The height of the card, defaults to auto. Accepts any valid CSS format (px, %, vh, etc.).
|
|
4898
|
+
* @default "auto"
|
|
4899
|
+
*/
|
|
4900
|
+
"sizeY"?: string;
|
|
4901
|
+
}
|
|
4730
4902
|
interface KupDrawer {
|
|
4731
4903
|
/**
|
|
4732
4904
|
* Custom style of the component.
|
|
@@ -6088,6 +6260,7 @@ declare namespace LocalJSX {
|
|
|
6088
6260
|
"kup-dashboard": KupDashboard;
|
|
6089
6261
|
"kup-data-table": KupDataTable;
|
|
6090
6262
|
"kup-date-picker": KupDatePicker;
|
|
6263
|
+
"kup-dialog": KupDialog;
|
|
6091
6264
|
"kup-drawer": KupDrawer;
|
|
6092
6265
|
"kup-dropdown-button": KupDropdownButton;
|
|
6093
6266
|
"kup-echart": KupEchart;
|
|
@@ -6141,6 +6314,7 @@ declare module "@stencil/core" {
|
|
|
6141
6314
|
"kup-dashboard": LocalJSX.KupDashboard & JSXBase.HTMLAttributes<HTMLKupDashboardElement>;
|
|
6142
6315
|
"kup-data-table": LocalJSX.KupDataTable & JSXBase.HTMLAttributes<HTMLKupDataTableElement>;
|
|
6143
6316
|
"kup-date-picker": LocalJSX.KupDatePicker & JSXBase.HTMLAttributes<HTMLKupDatePickerElement>;
|
|
6317
|
+
"kup-dialog": LocalJSX.KupDialog & JSXBase.HTMLAttributes<HTMLKupDialogElement>;
|
|
6144
6318
|
"kup-drawer": LocalJSX.KupDrawer & JSXBase.HTMLAttributes<HTMLKupDrawerElement>;
|
|
6145
6319
|
"kup-dropdown-button": LocalJSX.KupDropdownButton & JSXBase.HTMLAttributes<HTMLKupDropdownButtonElement>;
|
|
6146
6320
|
"kup-echart": LocalJSX.KupEchart & JSXBase.HTMLAttributes<HTMLKupEchartElement>;
|
|
@@ -109,6 +109,8 @@ export declare enum FCellShapes {
|
|
|
109
109
|
GAUGE = "GAU",
|
|
110
110
|
IMAGE = "IMG",
|
|
111
111
|
KNOB = "KNB",
|
|
112
|
+
MULTI_AUTOCOMPLETE = "AML",
|
|
113
|
+
MULTI_COMBOBOX = "CML",
|
|
112
114
|
PROGRESS_BAR = "PGB",
|
|
113
115
|
RADIO = "RAD",
|
|
114
116
|
RATING = "RTG",
|
|
@@ -136,6 +138,8 @@ export declare enum FCellTypes {
|
|
|
136
138
|
IMAGE = "image",
|
|
137
139
|
KNOB = "knob",
|
|
138
140
|
LINK = "link",
|
|
141
|
+
MULTI_AUTOCOMPLETE = "multi-autocomplete",
|
|
142
|
+
MULTI_COMBOBOX = "multi-combobox",
|
|
139
143
|
NUMBER = "number",
|
|
140
144
|
PROGRESS_BAR = "progress-bar",
|
|
141
145
|
RADIO = "radio",
|
|
@@ -5,6 +5,7 @@ import { KupChipNode } from '../../components/kup-chip/kup-chip-declarations';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface FChipsProps extends FComponent {
|
|
7
7
|
data?: KupChipNode[];
|
|
8
|
+
displayId?: boolean;
|
|
8
9
|
onBlur?: ((chip: KupChipNode, e: FocusEvent) => void)[];
|
|
9
10
|
onClick?: ((chip: KupChipNode, e: PointerEvent) => void)[];
|
|
10
11
|
onExpansionClick?: ((chip: KupChipNode, e: PointerEvent) => void)[];
|
|
@@ -69,6 +69,7 @@ export interface KupDataCell {
|
|
|
69
69
|
isEditable?: boolean;
|
|
70
70
|
obj?: KupObj;
|
|
71
71
|
shape?: FCellShapes;
|
|
72
|
+
slotData?: GenericObject;
|
|
72
73
|
style?: GenericMap;
|
|
73
74
|
styleContent?: GenericMap;
|
|
74
75
|
title?: string;
|
|
@@ -144,7 +145,7 @@ export interface KupDataNewColumn {
|
|
|
144
145
|
/**
|
|
145
146
|
* Type to manage sort of the dataset.
|
|
146
147
|
*/
|
|
147
|
-
export
|
|
148
|
+
export type KupDataDatasetSort = 'normalDistribution';
|
|
148
149
|
/**
|
|
149
150
|
* Interface containing the options related to column creation when invoking column.new.
|
|
150
151
|
*/
|
|
@@ -13,7 +13,7 @@ export declare const kupDynamicPositionActiveClass = "kup-dynamic-position-activ
|
|
|
13
13
|
/**
|
|
14
14
|
* Master type extending all subtypes of available anchor points.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type KupDynamicPositionAnchor = HTMLElement | KupDynamicPositionCoordinates;
|
|
17
17
|
/**
|
|
18
18
|
* Fixed position element.
|
|
19
19
|
*/
|
|
@@ -76,14 +76,14 @@ export interface KupResizeCallbacks {
|
|
|
76
76
|
/**
|
|
77
77
|
* Defines the additional data of the drag event.
|
|
78
78
|
*/
|
|
79
|
-
export
|
|
79
|
+
export type KupDragDataTransferCallback = (e?: InteractEvent) => KupDropEventSource;
|
|
80
80
|
export interface KupDragEventData {
|
|
81
81
|
callback?: KupDragDataTransferCallback;
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* Defines the additional data of the drop event.
|
|
85
85
|
*/
|
|
86
|
-
export
|
|
86
|
+
export type KupDropDataTransferCallback = (e?: DropEvent) => KupDropEventTarget;
|
|
87
87
|
export interface KupDropEventData {
|
|
88
88
|
callback?: KupDropDataTransferCallback;
|
|
89
89
|
dispatcher: HTMLElement;
|
|
@@ -8,7 +8,10 @@ import { KupDragCallbacks, KupDragEffect, KupDragEventData, KupDropCallbacks, Ku
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class KupInteract {
|
|
10
10
|
container: HTMLElement;
|
|
11
|
+
defaultModalCb: (e: MouseEvent) => void;
|
|
11
12
|
managedElements: Set<HTMLElement>;
|
|
13
|
+
modalBackdrop: HTMLElement;
|
|
14
|
+
modalCb: (e: MouseEvent) => unknown;
|
|
12
15
|
restrictContainer: RectResolvable<[
|
|
13
16
|
number,
|
|
14
17
|
number,
|
|
@@ -80,6 +83,14 @@ export declare class KupInteract {
|
|
|
80
83
|
number,
|
|
81
84
|
Interaction<keyof ActionMap>
|
|
82
85
|
]>): void;
|
|
86
|
+
/**
|
|
87
|
+
* Hides the modal's backdrop.
|
|
88
|
+
*/
|
|
89
|
+
hideModalBackdrop(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Displays the modal's backdrop.
|
|
92
|
+
*/
|
|
93
|
+
showModalBackdrop(cb?: (e: MouseEvent) => unknown): void;
|
|
83
94
|
/**
|
|
84
95
|
* Removes all event listeners from the elements in the array.
|
|
85
96
|
* @param {HTMLElement[]} elements - Elements to handle.
|
|
@@ -3,7 +3,7 @@ import type { GenericObject } from '../../types/GenericTypes';
|
|
|
3
3
|
* Master type extending all subtypes of keys.
|
|
4
4
|
* Remember to edit "languages.json"
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type KupLanguageKey = KupLanguageCheckbox | KupLanguageColumn | KupLanguageDashboard | KupLanguageDebug | KupLanguageDensity | KupLanguageFontsize | KupLanguageGeneric | KupLanguageGrid | KupLanguageGrouping | KupLanguagePage | KupLanguageRow | KupLanguageSearch | KupLanguageTotals;
|
|
7
7
|
/**
|
|
8
8
|
* Interface of the languages JSON.
|
|
9
9
|
*/
|
|
@@ -133,7 +133,7 @@ export interface ListenOptions {
|
|
|
133
133
|
*/
|
|
134
134
|
passive?: boolean;
|
|
135
135
|
}
|
|
136
|
-
export
|
|
136
|
+
export type ListenTargetOptions = 'body' | 'document' | 'window';
|
|
137
137
|
export interface StateDecorator {
|
|
138
138
|
(): PropertyDecorator;
|
|
139
139
|
}
|
|
@@ -214,8 +214,8 @@ export declare const State: StateDecorator;
|
|
|
214
214
|
* https://stenciljs.com/docs/reactive-data#watch-decorator
|
|
215
215
|
*/
|
|
216
216
|
export declare const Watch: WatchDecorator;
|
|
217
|
-
export
|
|
218
|
-
export
|
|
217
|
+
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
218
|
+
export type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
219
219
|
/**
|
|
220
220
|
* `setMode()` is used for libraries which provide multiple "modes" for styles.
|
|
221
221
|
*/
|
|
@@ -257,6 +257,15 @@ export declare function getAssetPath(path: string): string;
|
|
|
257
257
|
* @returns the set path
|
|
258
258
|
*/
|
|
259
259
|
export declare function setAssetPath(path: string): string;
|
|
260
|
+
/**
|
|
261
|
+
* Used to specify a nonce value that corresponds with an application's
|
|
262
|
+
* [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
|
|
263
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
264
|
+
* Alternatively, the nonce value can be set on a `meta` tag in the DOM head
|
|
265
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
|
|
266
|
+
* @param nonce The value to be used for the nonce attribute.
|
|
267
|
+
*/
|
|
268
|
+
export declare function setNonce(nonce: string): void;
|
|
260
269
|
/**
|
|
261
270
|
* Retrieve a Stencil element for a given reference
|
|
262
271
|
* @param ref the ref to get the Stencil element for
|
|
@@ -433,13 +442,57 @@ interface HostAttributes {
|
|
|
433
442
|
ref?: (el: HTMLElement | null) => void;
|
|
434
443
|
[prop: string]: any;
|
|
435
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* Utilities for working with functional Stencil components. An object
|
|
447
|
+
* conforming to this interface is passed by the Stencil runtime as the third
|
|
448
|
+
* argument to a functional component, allowing component authors to work with
|
|
449
|
+
* features like children.
|
|
450
|
+
*
|
|
451
|
+
* The children of a functional component will be passed as the second
|
|
452
|
+
* argument, so a functional component which uses these utils to transform its
|
|
453
|
+
* children might look like the following:
|
|
454
|
+
*
|
|
455
|
+
* ```ts
|
|
456
|
+
* export const AddClass: FunctionalComponent = (_, children, utils) => (
|
|
457
|
+
* utils.map(children, child => ({
|
|
458
|
+
* ...child,
|
|
459
|
+
* vattrs: {
|
|
460
|
+
* ...child.vattrs,
|
|
461
|
+
* class: `${child.vattrs.class} add-class`
|
|
462
|
+
* }
|
|
463
|
+
* }))
|
|
464
|
+
* );
|
|
465
|
+
* ```
|
|
466
|
+
*
|
|
467
|
+
* For more see the Stencil documentation, here:
|
|
468
|
+
* https://stenciljs.com/docs/functional-components
|
|
469
|
+
*/
|
|
436
470
|
export interface FunctionalUtilities {
|
|
471
|
+
/**
|
|
472
|
+
* Utility for reading the children of a functional component at runtime.
|
|
473
|
+
* Since the Stencil runtime uses a different interface for children it is
|
|
474
|
+
* not recommendeded to read the children directly, and is preferable to use
|
|
475
|
+
* this utility to, for instance, perform a side effect for each child.
|
|
476
|
+
*/
|
|
437
477
|
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
|
478
|
+
/**
|
|
479
|
+
* Utility for transforming the children of a functional component. Given an
|
|
480
|
+
* array of children and a callback this will return a list of the results of
|
|
481
|
+
* passing each child to the supplied callback.
|
|
482
|
+
*/
|
|
438
483
|
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
|
439
484
|
}
|
|
440
485
|
export interface FunctionalComponent<T = {}> {
|
|
441
486
|
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
|
442
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* A Child VDOM node
|
|
490
|
+
*
|
|
491
|
+
* This has most of the same properties as {@link VNode} but friendlier names
|
|
492
|
+
* (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
|
|
493
|
+
* order to provide a friendlier public interface for users of the
|
|
494
|
+
* {@link FunctionalUtilities}).
|
|
495
|
+
*/
|
|
443
496
|
export interface ChildNode {
|
|
444
497
|
vtag?: string | number | Function;
|
|
445
498
|
vkey?: string | number;
|
|
@@ -486,6 +539,9 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
|
|
|
486
539
|
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
487
540
|
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
488
541
|
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
542
|
+
/**
|
|
543
|
+
* A virtual DOM node
|
|
544
|
+
*/
|
|
489
545
|
export interface VNode {
|
|
490
546
|
$flags$: number;
|
|
491
547
|
$tag$: string | number | Function;
|
|
@@ -836,8 +892,8 @@ export declare namespace JSXBase {
|
|
|
836
892
|
accept?: string;
|
|
837
893
|
allowdirs?: boolean;
|
|
838
894
|
alt?: string;
|
|
839
|
-
autoCapitalize?:
|
|
840
|
-
autocapitalize?:
|
|
895
|
+
autoCapitalize?: string;
|
|
896
|
+
autocapitalize?: string;
|
|
841
897
|
autoComplete?: string;
|
|
842
898
|
autocomplete?: string;
|
|
843
899
|
autoFocus?: boolean;
|
|
@@ -1161,8 +1217,8 @@ export declare namespace JSXBase {
|
|
|
1161
1217
|
resource?: string;
|
|
1162
1218
|
typeof?: string;
|
|
1163
1219
|
vocab?: string;
|
|
1164
|
-
autoCapitalize?:
|
|
1165
|
-
autocapitalize?:
|
|
1220
|
+
autoCapitalize?: string;
|
|
1221
|
+
autocapitalize?: string;
|
|
1166
1222
|
autoCorrect?: string;
|
|
1167
1223
|
autocorrect?: string;
|
|
1168
1224
|
autoSave?: string;
|
|
@@ -1453,12 +1509,12 @@ export declare namespace JSXBase {
|
|
|
1453
1509
|
onCutCapture?: (event: ClipboardEvent) => void;
|
|
1454
1510
|
onPaste?: (event: ClipboardEvent) => void;
|
|
1455
1511
|
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1512
|
+
onCompositionend?: (event: CompositionEvent) => void;
|
|
1513
|
+
onCompositionendCapture?: (event: CompositionEvent) => void;
|
|
1514
|
+
onCompositionstart?: (event: CompositionEvent) => void;
|
|
1515
|
+
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
|
1516
|
+
onCompositionupdate?: (event: CompositionEvent) => void;
|
|
1517
|
+
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
|
1462
1518
|
onFocus?: (event: FocusEvent) => void;
|
|
1463
1519
|
onFocusCapture?: (event: FocusEvent) => void;
|
|
1464
1520
|
onFocusin?: (event: FocusEvent) => void;
|
|
@@ -1469,8 +1525,8 @@ export declare namespace JSXBase {
|
|
|
1469
1525
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1470
1526
|
onChange?: (event: Event) => void;
|
|
1471
1527
|
onChangeCapture?: (event: Event) => void;
|
|
1472
|
-
onInput?: (event:
|
|
1473
|
-
onInputCapture?: (event:
|
|
1528
|
+
onInput?: (event: InputEvent) => void;
|
|
1529
|
+
onInputCapture?: (event: InputEvent) => void;
|
|
1474
1530
|
onReset?: (event: Event) => void;
|
|
1475
1531
|
onResetCapture?: (event: Event) => void;
|
|
1476
1532
|
onSubmit?: (event: Event) => void;
|
|
@@ -78,6 +78,7 @@ export declare enum KupTagNames {
|
|
|
78
78
|
DASHBOARD = "KUP-DASHBOARD",
|
|
79
79
|
DATA_TABLE = "KUP-DATA-TABLE",
|
|
80
80
|
DATE_PICKER = "KUP-DATE-PICKER",
|
|
81
|
+
DIALOG = "KUP-DIALOG",
|
|
81
82
|
DRAWER = "KUP-DRAWER",
|
|
82
83
|
DROPDOWN_BUTTON = "KUP-DROPDOWN-BUTTON",
|
|
83
84
|
FAMILY_TREE = "KUP-FAMILY-TREE",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { KupListNode } from '../../components/kup-list/kup-list-declarations';
|
|
1
2
|
/**
|
|
2
3
|
* Interface for ranged filters.
|
|
3
4
|
*/
|
|
@@ -11,6 +12,7 @@ export interface GenericFilter {
|
|
|
11
12
|
export interface ValueDisplayedValue {
|
|
12
13
|
value: string;
|
|
13
14
|
displayedValue?: string;
|
|
15
|
+
node?: KupListNode;
|
|
14
16
|
}
|
|
15
17
|
export interface Filter {
|
|
16
18
|
textField: string;
|
|
@@ -7,6 +7,7 @@ import { FiltersColumnMenu } from '../filters/filters-column-menu';
|
|
|
7
7
|
import { FilterInterval, ValueDisplayedValue } from '../filters/filters-declarations';
|
|
8
8
|
import { FiltersRows } from '../filters/filters-rows';
|
|
9
9
|
import { KupDataColumn } from '../../managers/kup-data/kup-data-declarations';
|
|
10
|
+
import { KupObj } from '../../managers/kup-objects/kup-objects-declarations';
|
|
10
11
|
/**
|
|
11
12
|
* Definition and events of the column menu card.
|
|
12
13
|
* @module KupColumnMenu
|
|
@@ -64,9 +65,10 @@ export declare class KupColumnMenu {
|
|
|
64
65
|
* Handles the column menu's switch prop.
|
|
65
66
|
* @param {KupDataTable | KupTree} comp - Component using the column menu.
|
|
66
67
|
* @param {KupDataColumn} column - Column of the menu.
|
|
68
|
+
* @param {KupObj[]} objs - Column's objs.
|
|
67
69
|
* @returns {GenericObject[]} Switches props.
|
|
68
70
|
*/
|
|
69
|
-
prepSwitch(comp: KupDataTable | KupTree, column: KupDataColumn): GenericObject[];
|
|
71
|
+
prepSwitch(comp: KupDataTable | KupTree, column: KupDataColumn, objs: KupObj[]): GenericObject[];
|
|
70
72
|
/**
|
|
71
73
|
* Handles the column menu's tabbar prop.
|
|
72
74
|
* @param {KupDataTable | KupTree} comp - Component using the column menu.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"smeup",
|
|
6
6
|
"KetchUP",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vanilla-picker": "^2.12.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@stencil/core": "^
|
|
59
|
+
"@stencil/core": "^3.0.1",
|
|
60
60
|
"@stencil/sass": "^1.4.1",
|
|
61
61
|
"@stencil/react-output-target": "0.3.1",
|
|
62
62
|
"@types/d3-shape": "^3.0.2",
|