@sme.up/ketchup 7.1.1 → 7.3.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-5856cd74.js} +2 -2
- package/dist/cjs/{f-cell-e603ae4f.js → f-cell-9d7a9e97.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-675ed121.js} +6 -4
- package/dist/cjs/{f-image-f741cb4c.js → f-image-48facc89.js} +2 -2
- package/dist/cjs/{f-paginator-utils-35a6a848.js → f-paginator-utils-0c1227f6.js} +3 -3
- package/dist/cjs/{f-text-field-60a2f24c.js → f-text-field-3d8e7417.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} +1066 -898
- 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 +8 -5
- 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-22bb9699.js} +61 -17
- 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/card.js +10 -0
- package/dist/collection/assets/data-table.js +44 -0
- 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/built-in/kup-card-built-in.js +3 -3
- package/dist/collection/components/kup-card/built-in/kup-card-message-box.js +10 -0
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +12 -0
- package/dist/collection/components/kup-card/kup-card.css +12 -23
- 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-dash-list/kup-dash-list.js +6 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- 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 +65 -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-form/kup-form.js +24 -0
- 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-manager/kup-manager.js +3 -4
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- 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 +2802 -2492
- 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 +26 -18
- 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-eedbdba1.js} +2 -2
- package/dist/esm/{f-cell-556937d0.js → f-cell-90a418d2.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-45e7b3f6.js} +6 -4
- package/dist/esm/{f-image-52bb5950.js → f-image-3026f0fe.js} +2 -2
- package/dist/esm/{f-paginator-utils-d472e336.js → f-paginator-utils-6369da7c.js} +3 -3
- package/dist/esm/{f-text-field-88f92118.js → f-text-field-3b70a6f0.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} +1047 -880
- 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 +8 -5
- 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-cad802b1.js} +62 -18
- 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-60609877.entry.js → p-138ac8b9.entry.js} +1 -1
- package/dist/ketchup/{p-94290b09.entry.js → p-1ad48de4.entry.js} +1 -1
- package/dist/ketchup/{p-053824eb.entry.js → p-1cd45a72.entry.js} +1 -1
- package/dist/ketchup/{p-ad3e7b2b.entry.js → p-2217be0a.entry.js} +1 -1
- package/dist/ketchup/{p-e094ebb8.entry.js → p-23288eed.entry.js} +1 -1
- package/dist/ketchup/p-263b2c73.entry.js +1 -0
- package/dist/ketchup/{p-c59e6bc7.entry.js → p-2d8b5bba.entry.js} +1 -1
- package/dist/ketchup/p-32dc31ad.js +1 -0
- package/dist/ketchup/p-4505a48d.js +1 -0
- package/dist/ketchup/p-4e68f629.entry.js +1 -0
- package/dist/ketchup/p-5a1387bf.entry.js +9 -0
- package/dist/ketchup/p-70a0bc02.entry.js +1 -0
- package/dist/ketchup/p-73becdb8.entry.js +1 -0
- package/dist/ketchup/p-78b093e3.entry.js +39 -0
- package/dist/ketchup/p-79b0730b.js +1 -1
- package/dist/ketchup/{p-9570ebfa.js → p-7bd28eac.js} +1 -1
- package/dist/ketchup/{p-ce1da4a8.entry.js → p-97afbd71.entry.js} +1 -1
- package/dist/ketchup/p-9dcfbb1e.js +2 -0
- package/dist/ketchup/p-9f1184cd.entry.js +27 -0
- package/dist/ketchup/{p-23cd5a68.js → p-9f9b6656.js} +1 -1
- package/dist/ketchup/{p-4f7302a9.js → p-a1adab40.js} +1 -1
- package/dist/ketchup/p-a7ae0b4d.js +1 -0
- package/dist/ketchup/{p-88adddcf.entry.js → p-a89f0884.entry.js} +1 -1
- package/dist/ketchup/{p-25617855.js → p-ae3e0d31.js} +1 -1
- package/dist/ketchup/{p-ac33139e.entry.js → p-b0675bce.entry.js} +1 -1
- package/dist/ketchup/{p-485883cb.entry.js → p-b1da7902.entry.js} +1 -1
- package/dist/ketchup/p-b63a5a44.js +30 -0
- package/dist/ketchup/{p-f44aba79.entry.js → p-bb6921bc.entry.js} +1 -1
- package/dist/ketchup/{p-3a7a05a7.entry.js → p-c1d8fd43.entry.js} +1 -1
- package/dist/ketchup/p-d0f4457e.entry.js +1 -0
- package/dist/ketchup/p-fe34fa6e.entry.js +1 -0
- 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/built-in/kup-card-built-in.d.ts +1 -1
- package/dist/types/components/kup-card/built-in/{kup-card-form.d.ts → kup-card-message-box.d.ts} +1 -1
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +6 -8
- 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-data-table/kup-data-table-state.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-form/kup-form.d.ts +6 -1
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -1
- package/dist/types/components.d.ts +193 -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/package.json +2 -2
- package/dist/collection/components/kup-card/built-in/kup-card-form.js +0 -11
- 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-52f19c4f.entry.js +0 -1
- 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-85c7a3a4.js +0 -1
- package/dist/ketchup/p-a3c849ae.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;
|
|
@@ -3193,6 +3309,10 @@ export interface KupFamilyTreeCustomEvent<T> extends CustomEvent<T> {
|
|
|
3193
3309
|
detail: T;
|
|
3194
3310
|
target: HTMLKupFamilyTreeElement;
|
|
3195
3311
|
}
|
|
3312
|
+
export interface KupFormCustomEvent<T> extends CustomEvent<T> {
|
|
3313
|
+
detail: T;
|
|
3314
|
+
target: HTMLKupFormElement;
|
|
3315
|
+
}
|
|
3196
3316
|
export interface KupIframeCustomEvent<T> extends CustomEvent<T> {
|
|
3197
3317
|
detail: T;
|
|
3198
3318
|
target: HTMLKupIframeElement;
|
|
@@ -3376,6 +3496,12 @@ declare global {
|
|
|
3376
3496
|
prototype: HTMLKupDatePickerElement;
|
|
3377
3497
|
new (): HTMLKupDatePickerElement;
|
|
3378
3498
|
};
|
|
3499
|
+
interface HTMLKupDialogElement extends Components.KupDialog, HTMLStencilElement {
|
|
3500
|
+
}
|
|
3501
|
+
var HTMLKupDialogElement: {
|
|
3502
|
+
prototype: HTMLKupDialogElement;
|
|
3503
|
+
new (): HTMLKupDialogElement;
|
|
3504
|
+
};
|
|
3379
3505
|
interface HTMLKupDrawerElement extends Components.KupDrawer, HTMLStencilElement {
|
|
3380
3506
|
}
|
|
3381
3507
|
var HTMLKupDrawerElement: {
|
|
@@ -3564,6 +3690,7 @@ declare global {
|
|
|
3564
3690
|
"kup-dashboard": HTMLKupDashboardElement;
|
|
3565
3691
|
"kup-data-table": HTMLKupDataTableElement;
|
|
3566
3692
|
"kup-date-picker": HTMLKupDatePickerElement;
|
|
3693
|
+
"kup-dialog": HTMLKupDialogElement;
|
|
3567
3694
|
"kup-drawer": HTMLKupDrawerElement;
|
|
3568
3695
|
"kup-dropdown-button": HTMLKupDropdownButtonElement;
|
|
3569
3696
|
"kup-echart": HTMLKupEchartElement;
|
|
@@ -4056,11 +4183,6 @@ declare namespace LocalJSX {
|
|
|
4056
4183
|
* Triggered when the component is ready.
|
|
4057
4184
|
*/
|
|
4058
4185
|
"onKup-card-ready"?: (event: KupCardCustomEvent<KupEventPayload>) => void;
|
|
4059
|
-
/**
|
|
4060
|
-
* Sets the card as modal window
|
|
4061
|
-
* @default false
|
|
4062
|
-
*/
|
|
4063
|
-
"showModal"?: boolean;
|
|
4064
4186
|
/**
|
|
4065
4187
|
* The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
4066
4188
|
* @default "100%"
|
|
@@ -4259,10 +4381,24 @@ declare namespace LocalJSX {
|
|
|
4259
4381
|
* @default []
|
|
4260
4382
|
*/
|
|
4261
4383
|
"data"?: KupChipNode[];
|
|
4384
|
+
/**
|
|
4385
|
+
* When enabled, the chip's text will display both the id and the value.
|
|
4386
|
+
* @default false
|
|
4387
|
+
*/
|
|
4388
|
+
"displayId"?: boolean;
|
|
4389
|
+
/**
|
|
4390
|
+
* When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field).
|
|
4391
|
+
* @default false
|
|
4392
|
+
*/
|
|
4393
|
+
"enableInput"?: boolean;
|
|
4262
4394
|
/**
|
|
4263
4395
|
* Triggered when a chip loses focus.
|
|
4264
4396
|
*/
|
|
4265
4397
|
"onKup-chip-blur"?: (event: KupChipCustomEvent<KupChipEventPayload>) => void;
|
|
4398
|
+
/**
|
|
4399
|
+
* Triggered when the chip dataset changes.
|
|
4400
|
+
*/
|
|
4401
|
+
"onKup-chip-change"?: (event: KupChipCustomEvent<KupChipChangeEventPayload>) => void;
|
|
4266
4402
|
/**
|
|
4267
4403
|
* Triggered when a chip is clicked.
|
|
4268
4404
|
*/
|
|
@@ -4727,6 +4863,46 @@ declare namespace LocalJSX {
|
|
|
4727
4863
|
"onKup-datepicker-itemclick"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4728
4864
|
"onKup-datepicker-textfieldsubmit"?: (event: KupDatePickerCustomEvent<KupDatePickerEventPayload>) => void;
|
|
4729
4865
|
}
|
|
4866
|
+
interface KupDialog {
|
|
4867
|
+
/**
|
|
4868
|
+
* Auto centers the dialog relatively to the viewport.
|
|
4869
|
+
* @default "{ onReady: true }"
|
|
4870
|
+
*/
|
|
4871
|
+
"autoCenter"?: KupDialogAutoCenter;
|
|
4872
|
+
/**
|
|
4873
|
+
* Custom style of the component.
|
|
4874
|
+
* @default ""
|
|
4875
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4876
|
+
*/
|
|
4877
|
+
"customStyle"?: string;
|
|
4878
|
+
/**
|
|
4879
|
+
* Header options.
|
|
4880
|
+
* @default "{ icons: { close: true } }"
|
|
4881
|
+
*/
|
|
4882
|
+
"header"?: KupDialogHeader;
|
|
4883
|
+
/**
|
|
4884
|
+
* Set of options to display the dialog as a modal.
|
|
4885
|
+
* @default "{ closeOnBackdropClick: true }"
|
|
4886
|
+
*/
|
|
4887
|
+
"modal"?: KupDialogModal;
|
|
4888
|
+
"onKup-dialog-close"?: (event: KupDialogCustomEvent<KupEventPayload>) => void;
|
|
4889
|
+
"onKup-dialog-ready"?: (event: KupDialogCustomEvent<KupEventPayload>) => void;
|
|
4890
|
+
/**
|
|
4891
|
+
* Sets whether the dialog is resizable or not.
|
|
4892
|
+
* @default "true"
|
|
4893
|
+
*/
|
|
4894
|
+
"resizable"?: boolean;
|
|
4895
|
+
/**
|
|
4896
|
+
* The width of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vw, etc.).
|
|
4897
|
+
* @default "auto"
|
|
4898
|
+
*/
|
|
4899
|
+
"sizeX"?: string;
|
|
4900
|
+
/**
|
|
4901
|
+
* The height of the card, defaults to auto. Accepts any valid CSS format (px, %, vh, etc.).
|
|
4902
|
+
* @default "auto"
|
|
4903
|
+
*/
|
|
4904
|
+
"sizeY"?: string;
|
|
4905
|
+
}
|
|
4730
4906
|
interface KupDrawer {
|
|
4731
4907
|
/**
|
|
4732
4908
|
* Custom style of the component.
|
|
@@ -4972,6 +5148,10 @@ declare namespace LocalJSX {
|
|
|
4972
5148
|
* @default null
|
|
4973
5149
|
*/
|
|
4974
5150
|
"layout"?: KupFormLayout;
|
|
5151
|
+
/**
|
|
5152
|
+
* When component load is complete
|
|
5153
|
+
*/
|
|
5154
|
+
"onKup-form-ready"?: (event: KupFormCustomEvent<KupEventPayload>) => void;
|
|
4975
5155
|
/**
|
|
4976
5156
|
* Sets the callback function on submit form
|
|
4977
5157
|
* @default null
|
|
@@ -6088,6 +6268,7 @@ declare namespace LocalJSX {
|
|
|
6088
6268
|
"kup-dashboard": KupDashboard;
|
|
6089
6269
|
"kup-data-table": KupDataTable;
|
|
6090
6270
|
"kup-date-picker": KupDatePicker;
|
|
6271
|
+
"kup-dialog": KupDialog;
|
|
6091
6272
|
"kup-drawer": KupDrawer;
|
|
6092
6273
|
"kup-dropdown-button": KupDropdownButton;
|
|
6093
6274
|
"kup-echart": KupEchart;
|
|
@@ -6141,6 +6322,7 @@ declare module "@stencil/core" {
|
|
|
6141
6322
|
"kup-dashboard": LocalJSX.KupDashboard & JSXBase.HTMLAttributes<HTMLKupDashboardElement>;
|
|
6142
6323
|
"kup-data-table": LocalJSX.KupDataTable & JSXBase.HTMLAttributes<HTMLKupDataTableElement>;
|
|
6143
6324
|
"kup-date-picker": LocalJSX.KupDatePicker & JSXBase.HTMLAttributes<HTMLKupDatePickerElement>;
|
|
6325
|
+
"kup-dialog": LocalJSX.KupDialog & JSXBase.HTMLAttributes<HTMLKupDialogElement>;
|
|
6144
6326
|
"kup-drawer": LocalJSX.KupDrawer & JSXBase.HTMLAttributes<HTMLKupDrawerElement>;
|
|
6145
6327
|
"kup-dropdown-button": LocalJSX.KupDropdownButton & JSXBase.HTMLAttributes<HTMLKupDropdownButtonElement>;
|
|
6146
6328
|
"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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.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",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
import { FButton } from '../../../f-components/f-button/f-button';
|
|
3
|
-
import { FButtonStyling } from '../../../f-components/f-button/f-button-declarations';
|
|
4
|
-
const dom = document.documentElement;
|
|
5
|
-
export function prepareForm(component) {
|
|
6
|
-
const options = component.data.options;
|
|
7
|
-
return [
|
|
8
|
-
h("kup-form", null),
|
|
9
|
-
h("div", { class: "button-wrapper" }, h(FButton, { icon: "clear", label: "Cancel", styling: FButtonStyling.FLAT }), h(FButton, { icon: "check", label: "Confirm" })),
|
|
10
|
-
];
|
|
11
|
-
}
|