@sme.up/ketchup 4.3.0-SNAPSHOT → 5.1.0-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -3
- package/dist/cjs/{cell-utils-dc0884a3.js → cell-utils-9b1d6563.js} +4 -4
- package/dist/cjs/{component-8fbc31a2.js → component-d1496215.js} +203 -174
- package/dist/cjs/{f-button-2ba74fb5.js → f-button-02a7cde4.js} +2 -2
- package/dist/cjs/{f-cell-fe60a08d.js → f-cell-4d1450a8.js} +38 -28
- package/dist/cjs/f-chip-a50b9f00.js +130 -0
- package/dist/cjs/{f-image-d3bd4e08.js → f-image-db55ac49.js} +3 -3
- package/dist/cjs/{index-0416afab.js → index-ab119fad.js} +23 -0
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -7
- package/dist/cjs/{kup-autocomplete_28.cjs.entry.js → kup-autocomplete_27.cjs.entry.js} +4636 -4073
- package/dist/cjs/kup-calendar.cjs.entry.js +626 -359
- package/dist/cjs/kup-cell.cjs.entry.js +15 -13
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +8 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +93039 -0
- package/dist/cjs/kup-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-lazy.cjs.entry.js +22 -5
- package/dist/cjs/kup-magic-box.cjs.entry.js +95 -42
- package/dist/cjs/{kup-manager-1a2688ca.js → kup-manager-5877b2ee.js} +3392 -753
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tslib.es6-4360c099.js → tslib.es6-0ee02c67.js} +13 -0
- package/dist/cjs/utils-1b5c8c70.js +482 -0
- package/dist/collection/assets/calendar.js +46 -1
- package/dist/collection/assets/card.js +15 -15
- package/dist/collection/assets/data-table.js +18 -6
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/kupdata.js +937 -0
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/kup-accordion/kup-accordion.css +0 -1
- package/dist/collection/components/kup-accordion/kup-accordion.js +2 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +148 -52
- package/dist/collection/components/kup-badge/kup-badge.js +2 -2
- package/dist/collection/components/kup-box/kup-box.js +31 -17
- package/dist/collection/components/kup-button/kup-button.js +2 -2
- package/dist/collection/components/kup-button-list/kup-button-list.js +26 -8
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +14 -8
- package/dist/collection/components/kup-calendar/kup-calendar.css +2 -2
- package/dist/collection/components/kup-calendar/kup-calendar.js +185 -315
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +38 -0
- package/dist/collection/components/kup-card/{builtin → built-in}/kup-card-calendar.js +1 -1
- package/dist/collection/components/kup-card/{builtin → built-in}/kup-card-clock.js +32 -32
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +167 -0
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +1 -1
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +2 -2
- package/dist/collection/components/kup-card/free/kup-card-free.js +11 -2
- package/dist/collection/components/kup-card/kup-card-declarations.js +14 -14
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -3
- package/dist/collection/components/kup-card/kup-card.css +423 -137
- package/dist/collection/components/kup-card/kup-card.js +62 -11
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +1 -1
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +18 -5
- package/dist/collection/components/kup-cell/kup-cell.js +15 -13
- package/dist/collection/components/kup-chart/kup-chart-builder.js +3 -4
- package/dist/collection/components/kup-chart/kup-chart.js +7 -7
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.css +1 -0
- package/dist/collection/components/kup-chip/kup-chip.js +51 -92
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +1 -265
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +93 -48
- package/dist/collection/components/kup-combobox/kup-combobox.js +148 -115
- package/dist/collection/components/kup-dash/kup-dash.js +1 -1
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +5 -5
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +3 -1
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +28 -56
- package/dist/collection/components/kup-data-table/kup-data-table.css +4 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +345 -158
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -5
- package/dist/collection/components/kup-drawer/kup-drawer.js +1 -1
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +2 -2
- package/dist/collection/components/kup-echart/assets/maps/africa.json +6116 -0
- package/dist/collection/components/kup-echart/assets/maps/america.json +5416 -0
- package/dist/collection/components/kup-echart/assets/maps/asia.json +6053 -0
- package/dist/collection/components/kup-echart/assets/maps/europe.json +5051 -0
- package/dist/collection/components/kup-echart/assets/maps/italy.json +3562 -0
- package/dist/collection/components/kup-echart/assets/maps/oceania.json +1069 -0
- package/dist/collection/components/kup-echart/assets/maps/world.json +23685 -0
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +45 -0
- package/dist/collection/components/kup-echart/kup-echart.css +13 -0
- package/dist/collection/components/kup-echart/kup-echart.js +1165 -0
- package/dist/collection/components/kup-field/kup-field.js +2 -2
- package/dist/collection/components/kup-gauge/kup-gauge.js +3 -3
- package/dist/collection/components/kup-grid/kup-grid.css +2 -2
- package/dist/collection/components/kup-grid/kup-grid.js +6 -5
- package/dist/collection/components/kup-iframe/kup-iframe.js +2 -2
- package/dist/collection/components/kup-image/assets/svg/science.svg +1 -0
- package/dist/collection/components/kup-image/kup-image.js +3 -3
- package/dist/collection/components/kup-lazy/kup-lazy.css +21 -11
- package/dist/collection/components/kup-lazy/kup-lazy.js +62 -3
- package/dist/collection/components/kup-list/kup-list-helper.js +7 -1
- package/dist/collection/components/kup-list/kup-list.css +3 -0
- package/dist/collection/components/kup-list/kup-list.js +219 -288
- package/dist/collection/components/kup-magic-box/kup-magic-box-declarations.js +11 -7
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +90 -41
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-radio/kup-radio.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +1 -1
- package/dist/collection/components/kup-state/mock-store.js +1 -1
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +3 -3
- package/dist/collection/components/kup-text-field/kup-text-field.css +2 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +2 -2
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -5
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +3 -3
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -5
- package/dist/collection/components/kup-tree/kup-tree-faker.js +2 -3
- package/dist/collection/components/kup-tree/kup-tree.css +2 -0
- package/dist/collection/components/kup-tree/kup-tree.js +145 -70
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +3 -1
- package/dist/collection/f-components/f-cell/f-cell.js +29 -19
- package/dist/collection/f-components/f-chip/f-chip.js +76 -87
- package/dist/collection/f-components/f-image/f-image.js +2 -2
- package/dist/collection/f-components/f-paginator/f-paginator-declarations.js +5 -0
- package/dist/collection/f-components/f-paginator/f-paginator-utils.js +28 -0
- package/dist/collection/f-components/f-paginator/f-paginator.js +91 -0
- package/dist/collection/f-components/f-text-field/f-text-field.js +4 -4
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +52 -0
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +272 -0
- package/dist/collection/managers/kup-data/kup-data-declarations.js +9 -0
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +72 -0
- package/dist/collection/managers/kup-data/kup-data-row-helper.js +28 -0
- package/dist/collection/managers/kup-data/kup-data.js +382 -0
- package/dist/collection/{utils → managers}/kup-dates/kup-dates-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-dates/kup-dates.js +53 -19
- package/dist/collection/{utils → managers}/kup-debug/kup-debug-browser-utils.js +1 -1
- package/dist/collection/{utils → managers}/kup-debug/kup-debug-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-debug/kup-debug.js +79 -124
- package/dist/collection/{utils → managers}/kup-dynamic-position/kup-dynamic-position-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-dynamic-position/kup-dynamic-position.js +10 -1
- package/dist/collection/{utils → managers}/kup-interact/kup-interact-declarations.js +1 -0
- package/dist/collection/{utils → managers}/kup-interact/kup-interact.js +22 -13
- package/dist/collection/{utils → managers}/kup-language/kup-language-declarations.js +10 -0
- package/dist/collection/{utils → managers}/kup-language/kup-language.js +5 -5
- package/dist/collection/{utils → managers}/kup-manager/kup-manager-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-manager/kup-manager.js +45 -4
- package/dist/collection/managers/kup-math/kup-math-declarations.js +13 -0
- package/dist/collection/managers/kup-math/kup-math-helper.js +39 -0
- package/dist/collection/managers/kup-math/kup-math.js +151 -0
- package/dist/collection/{utils → managers}/kup-objects/kup-objects-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-objects/kup-objects.js +15 -0
- package/dist/collection/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover.js +0 -0
- package/dist/collection/{utils → managers}/kup-search/kup-search-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-search/kup-search.js +0 -0
- package/dist/collection/{utils → managers}/kup-theme/kup-theme-declarations.js +99 -0
- package/dist/collection/{utils → managers}/kup-theme/kup-theme.js +117 -68
- package/dist/collection/{utils → managers}/kup-toolbar/kup-toolbar-declarations.js +0 -0
- package/dist/collection/{utils → managers}/kup-toolbar/kup-toolbar.js +0 -0
- package/dist/collection/types/GenericTypes.js +48 -1
- package/dist/collection/utils/cell-utils.js +3 -4
- package/dist/collection/utils/filters/filters-column-menu.js +7 -7
- package/dist/collection/utils/filters/filters-rows.js +2 -2
- package/dist/collection/utils/filters/filters-tree-items.js +12 -12
- package/dist/collection/utils/filters/filters.js +3 -2
- package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +1 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +100 -68
- package/dist/collection/utils/utils.js +4 -4
- package/dist/esm/{cell-utils-8f512ea9.js → cell-utils-571978d6.js} +4 -4
- package/dist/esm/{component-d2803feb.js → component-c4eb6153.js} +204 -170
- package/dist/esm/{f-button-30dbcaa9.js → f-button-b3011cc2.js} +2 -2
- package/dist/esm/{f-cell-95c186c6.js → f-cell-b88b2731.js} +38 -28
- package/dist/esm/f-chip-a52489ec.js +128 -0
- package/dist/esm/{f-image-3bc8b24f.js → f-image-5e5ed7e2.js} +3 -3
- package/dist/esm/{index-e0e67c23.js → index-78f3699d.js} +23 -0
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +7 -7
- package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_27.entry.js} +4420 -3856
- package/dist/esm/kup-calendar.entry.js +626 -359
- package/dist/esm/kup-cell.entry.js +15 -13
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +8 -7
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +93035 -0
- package/dist/esm/kup-field.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-lazy.entry.js +22 -5
- package/dist/esm/kup-magic-box.entry.js +95 -42
- package/dist/esm/{kup-manager-7fc234da.js → kup-manager-1f76a3ef.js} +3388 -753
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{tslib.es6-e6137777.js → tslib.es6-8f2d44b6.js} +13 -1
- package/dist/esm/utils-93ae800f.js +461 -0
- package/dist/ketchup/assets/maps/africa.json +6116 -0
- package/dist/ketchup/assets/maps/america.json +5416 -0
- package/dist/ketchup/assets/maps/asia.json +6053 -0
- package/dist/ketchup/assets/maps/europe.json +5051 -0
- package/dist/ketchup/assets/maps/italy.json +3562 -0
- package/dist/ketchup/assets/maps/oceania.json +1069 -0
- package/dist/ketchup/assets/maps/world.json +23685 -0
- package/dist/ketchup/assets/svg/science.svg +1 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-a878016f.entry.js → p-088a886c.entry.js} +1 -1
- package/dist/ketchup/p-135cabdc.entry.js +1 -0
- package/dist/ketchup/{p-1c6178e4.entry.js → p-1c1e830f.entry.js} +1 -1
- package/dist/ketchup/{p-62816d0b.entry.js → p-29208220.entry.js} +1 -1
- package/dist/ketchup/{p-ca0ca27f.entry.js → p-2b9f2019.entry.js} +1 -1
- package/dist/ketchup/p-52d0582a.js +1 -0
- package/dist/ketchup/p-554bd5f0.entry.js +39 -0
- package/dist/ketchup/{p-de83f2f6.js → p-5f52e313.js} +1 -1
- package/dist/ketchup/{p-ccda584a.entry.js → p-65449480.entry.js} +1 -1
- package/dist/ketchup/p-79cf3874.entry.js +1 -0
- package/dist/ketchup/p-7a85cda4.js +1 -0
- package/dist/ketchup/p-84cce555.entry.js +27 -0
- package/dist/ketchup/p-8c44c3b9.js +135 -0
- package/dist/ketchup/{p-65adc15b.entry.js → p-9d49cdb2.entry.js} +1 -1
- package/dist/ketchup/{p-5a4a5fdc.js → p-a0b1d769.js} +1 -1
- package/dist/ketchup/{p-dbb6998b.entry.js → p-a2b6672e.entry.js} +1 -1
- package/dist/ketchup/{p-a378ba56.entry.js → p-a4be630b.entry.js} +1 -1
- package/dist/ketchup/p-c072b270.js +1 -0
- package/dist/ketchup/{p-1baf1205.entry.js → p-c648972c.entry.js} +1 -1
- package/dist/ketchup/{p-af4a6191.entry.js → p-d67d39c0.entry.js} +1 -1
- package/dist/ketchup/p-d6e2f2b0.entry.js +1 -0
- package/dist/ketchup/{p-44375e49.js → p-da387e0e.js} +1 -1
- package/dist/ketchup/p-e5c9ec9e.js +1 -0
- package/dist/ketchup/{p-cb5f4994.js → p-ed0b8666.js} +0 -0
- package/dist/ketchup/p-ef539eda.js +9 -0
- package/dist/ketchup/p-f316234c.entry.js +143 -0
- package/dist/types/components/kup-accordion/kup-accordion-declarations.d.ts +2 -2
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +6 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +29 -22
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +7 -11
- package/dist/types/components/kup-box/kup-box.d.ts +4 -4
- package/dist/types/components/kup-button-list/kup-button-list-declarations.d.ts +6 -1
- package/dist/types/components/kup-button-list/kup-button-list.d.ts +4 -3
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +28 -10
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +19 -47
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +27 -0
- package/dist/types/components/kup-card/{builtin → built-in}/kup-card-calendar.d.ts +0 -0
- package/dist/types/components/kup-card/{builtin → built-in}/kup-card-clock.d.ts +0 -0
- package/dist/types/components/kup-card/built-in/kup-card-column-drop-menu.d.ts +3 -0
- package/dist/types/components/kup-card/free/kup-card-free.d.ts +7 -1
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +46 -21
- package/dist/types/components/kup-card/kup-card.d.ts +9 -2
- package/dist/types/components/kup-cell/kup-cell.d.ts +3 -3
- package/dist/types/components/kup-chart/kup-chart-builder.d.ts +5 -5
- package/dist/types/components/kup-chart/kup-chart-declarations.d.ts +3 -3
- package/dist/types/components/kup-chart/kup-chart.d.ts +2 -2
- package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +6 -3
- package/dist/types/components/kup-chip/kup-chip.d.ts +9 -13
- package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +7 -3
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +4 -0
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +11 -33
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +2 -2
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +45 -104
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +8 -11
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +49 -27
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +55 -0
- package/dist/types/components/kup-echart/kup-echart.d.ts +100 -0
- package/dist/types/components/kup-lazy/kup-lazy.d.ts +13 -1
- package/dist/types/components/kup-list/kup-list-declarations.d.ts +2 -1
- package/dist/types/components/kup-list/kup-list.d.ts +4 -35
- package/dist/types/components/kup-magic-box/kup-magic-box-declarations.d.ts +6 -10
- package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +7 -11
- package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +11 -13
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +14 -35
- package/dist/types/components/kup-tree/kup-tree-faker.d.ts +10 -10
- package/dist/types/components/kup-tree/kup-tree.d.ts +45 -35
- package/dist/types/components.d.ts +305 -186
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +11 -10
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +7 -22
- package/dist/types/f-components/f-paginator/f-paginator-declarations.d.ts +22 -0
- package/dist/types/f-components/f-paginator/f-paginator-utils.d.ts +2 -0
- package/dist/types/f-components/f-paginator/f-paginator.d.ts +3 -0
- package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +24 -0
- package/dist/types/managers/kup-data/kup-data-column-helper.d.ts +31 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +160 -0
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +23 -0
- package/dist/types/managers/kup-data/kup-data-row-helper.d.ts +14 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +77 -0
- package/dist/types/{utils → managers}/kup-dates/kup-dates-declarations.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-dates/kup-dates.d.ts +24 -2
- package/dist/types/{utils → managers}/kup-debug/kup-debug-declarations.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-debug/kup-debug.d.ts +6 -13
- package/dist/types/{utils → managers}/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -0
- package/dist/types/{utils → managers}/kup-dynamic-position/kup-dynamic-position.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-interact/kup-interact-declarations.d.ts +9 -8
- package/dist/types/{utils → managers}/kup-interact/kup-interact.d.ts +7 -6
- package/dist/types/{utils → managers}/kup-language/kup-language-declarations.d.ts +11 -1
- package/dist/types/{utils → managers}/kup-language/kup-language.d.ts +3 -3
- package/dist/types/{utils → managers}/kup-manager/kup-manager-declarations.d.ts +21 -2
- package/dist/types/{utils → managers}/kup-manager/kup-manager.d.ts +4 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +21 -0
- package/dist/types/managers/kup-math/kup-math-helper.d.ts +17 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +60 -0
- package/dist/types/{utils → managers}/kup-objects/kup-objects-declarations.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-objects/kup-objects.d.ts +6 -0
- package/dist/types/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-search/kup-search-declarations.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-search/kup-search.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-theme/kup-theme-declarations.d.ts +37 -1
- package/dist/types/{utils → managers}/kup-theme/kup-theme.d.ts +19 -19
- package/dist/types/{utils → managers}/kup-toolbar/kup-toolbar-declarations.d.ts +0 -0
- package/dist/types/{utils → managers}/kup-toolbar/kup-toolbar.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/types/GenericTypes.d.ts +53 -6
- package/dist/types/utils/cell-utils.d.ts +7 -6
- package/dist/types/utils/filters/filters-column-menu.d.ts +16 -16
- package/dist/types/utils/filters/filters-rows.d.ts +10 -10
- package/dist/types/utils/filters/filters-tree-items.d.ts +7 -7
- package/dist/types/utils/helpers.d.ts +2 -2
- package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +1 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +27 -33
- package/dist/types/utils/utils.d.ts +4 -2
- package/package.json +31 -26
- package/dist/cjs/f-chip-90d95d22.js +0 -141
- package/dist/cjs/utils-0cc466b9.js +0 -1492
- package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +0 -20
- package/dist/collection/components/kup-paginator/kup-paginator-declarations.js +0 -5
- package/dist/collection/components/kup-paginator/kup-paginator.css +0 -46
- package/dist/collection/components/kup-paginator/kup-paginator.js +0 -408
- package/dist/esm/f-chip-c0e9c0ff.js +0 -139
- package/dist/esm/utils-6c73709d.js +0 -1470
- package/dist/ketchup/p-15321eae.js +0 -1
- package/dist/ketchup/p-5a5f2a53.js +0 -1
- package/dist/ketchup/p-61faaa38.js +0 -8
- package/dist/ketchup/p-7e23ea7c.entry.js +0 -1
- package/dist/ketchup/p-9d02a676.js +0 -134
- package/dist/ketchup/p-a96e6e32.entry.js +0 -1
- package/dist/ketchup/p-ad32821e.entry.js +0 -1
- package/dist/ketchup/p-c18c7bb0.entry.js +0 -27
- package/dist/ketchup/p-d4aa4922.js +0 -1
- package/dist/ketchup/p-ec3a3db9.js +0 -1
- package/dist/ketchup/p-ecccb3a4.entry.js +0 -45
- package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +0 -14
- package/dist/types/components/kup-paginator/kup-paginator-declarations.d.ts +0 -11
- package/dist/types/components/kup-paginator/kup-paginator.d.ts +0 -48
|
@@ -8,34 +8,35 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { KupAccordionData, KupAccordionItemSelectedEventPayload } from "./components/kup-accordion/kup-accordion-declarations";
|
|
9
9
|
import { GenericObject, KupEventPayload } from "./types/GenericTypes";
|
|
10
10
|
import { ItemsDisplayMode, KupListData, KupListEventPayload, KupListRole } from "./components/kup-list/kup-list-declarations";
|
|
11
|
-
import { KupAutocompleteEventPayload } from "./components/kup-autocomplete/kup-autocomplete-declarations";
|
|
11
|
+
import { KupAutocompleteEventPayload, KupAutocompleteIconClickEventPayload } from "./components/kup-autocomplete/kup-autocomplete-declarations";
|
|
12
12
|
import { KupBoxAutoSelectEventPayload, KupBoxClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, KupBoxKanban, KupBoxLayout, KupBoxRow, KupBoxRowActionClickEventPayload, KupBoxSelectedEventPayload } from "./components/kup-box/kup-box-declarations";
|
|
13
13
|
import { KupStore } from "./components/kup-state/kup-store";
|
|
14
|
-
import {
|
|
14
|
+
import { KupDataCell, KupDataColumn, KupDataDataset, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataRowAction } from "./managers/kup-data/kup-data-declarations";
|
|
15
15
|
import { FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
|
|
16
16
|
import { KupButtonClickEventPayload } from "./components/kup-button/kup-button-declarations";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
17
|
+
import { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
18
|
+
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
20
19
|
import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
21
20
|
import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
22
21
|
import { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
23
22
|
import { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
23
|
+
import { KupChipEventPayload, KupChipNode } from "./components/kup-chip/kup-chip-declarations";
|
|
24
|
+
import { FChipType } from "./f-components/f-chip/f-chip-declarations";
|
|
26
25
|
import { KupColorPickerEventPayload } from "./components/kup-color-picker/kup-color-picker-declarations";
|
|
27
|
-
import { KupComboboxEventPayload } from "./components/kup-combobox/kup-combobox-declarations";
|
|
26
|
+
import { KupComboboxEventPayload, KupComboboxIconClickEventPayload } from "./components/kup-combobox/kup-combobox-declarations";
|
|
27
|
+
import { GroupLabelDisplayMode, GroupObject, KupDatatableAutoRowSelectEventPayload, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableLoadMoreClickEventPayload, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
28
28
|
import { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
29
29
|
import { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
30
30
|
import { KupDropdownButtonEventPayload } from "./components/kup-dropdown-button/kup-dropdown-button-declarations";
|
|
31
|
+
import { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, KupEchartTitle, KupEchartTypes } from "./components/kup-echart/kup-echart-declarations";
|
|
32
|
+
import { GeoJSON } from "geojson";
|
|
33
|
+
import { XAXisComponentOption, YAXisComponentOption } from "echarts";
|
|
31
34
|
import { KupFieldChangeEvent, KupFieldSubmitEvent } from "./components/kup-field/kup-field-declarations";
|
|
32
35
|
import { KupBadge } from "./components/kup-badge/kup-badge";
|
|
33
36
|
import { FImageData } from "./f-components/f-image/f-image-declarations";
|
|
34
37
|
import { KupImageClickEventPayload } from "./components/kup-image/kup-image-declarations";
|
|
35
38
|
import { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
|
|
36
|
-
import { MagicBoxData } from "./components/kup-magic-box/kup-magic-box-declarations";
|
|
37
39
|
import { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
|
|
38
|
-
import { KupPaginatorPageChangedEventPayload, KupPaginatorRowsPerPageChangedEventPayload, PaginatorMode } from "./components/kup-paginator/kup-paginator-declarations";
|
|
39
40
|
import { KupQlikGrid, QlikServer } from "./components/kup-qlik/kup-qlik-declarations";
|
|
40
41
|
import { KupRadioChangeEventPayload, KupRadioData } from "./components/kup-radio/kup-radio-declarations";
|
|
41
42
|
import { KupRatingClickEventPayload } from "./components/kup-rating/kup-rating-declarations";
|
|
@@ -44,6 +45,7 @@ import { KupTabBarClickEventPayload, KupTabBarData, KupTabBarEventPayload } from
|
|
|
44
45
|
import { KupTextFieldEventPayload } from "./components/kup-text-field/kup-text-field-declarations";
|
|
45
46
|
import { KupTimePickerEventPayload } from "./components/kup-time-picker/kup-time-picker-declarations";
|
|
46
47
|
import { KupTooltipActionCommandClickEventPayload, KupTooltipDefaultEventPayload, KupTooltipLoadEventPayload, KupTooltipTreeDynamicMassExpansionEventPayload, KupTooltipTreeNodeButtonClickEventPayload, KupTooltipTreeNodeDblClickEventPayload, KupTooltipTreeNodeExpandEventPayload, KupTooltipTreeNodeSelectedEventPayload, TooltipCellOptions, TooltipData, TooltipDetailData, TooltipRelatedObject } from "./components/kup-tooltip/kup-tooltip-declarations";
|
|
48
|
+
import { KupTreeColumnMenuEventPayload, KupTreeColumnRemoveEventPayload, KupTreeContextMenuEventPayload, KupTreeDynamicMassExpansionEventPayload, KupTreeExpansionMode, KupTreeNode, KupTreeNodeButtonClickEventPayload, KupTreeNodeCollapseEventPayload, KupTreeNodeExpandEventPayload, KupTreeNodeSelectedEventPayload, TreeNodePath } from "./components/kup-tree/kup-tree-declarations";
|
|
47
49
|
export namespace Components {
|
|
48
50
|
interface KupAccordion {
|
|
49
51
|
/**
|
|
@@ -92,6 +94,11 @@ export namespace Components {
|
|
|
92
94
|
"toggleItem": (itemName: string) => Promise<void>;
|
|
93
95
|
}
|
|
94
96
|
interface KupAutocomplete {
|
|
97
|
+
/**
|
|
98
|
+
* When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list.
|
|
99
|
+
* @default false
|
|
100
|
+
*/
|
|
101
|
+
"allowInconsistentValues": boolean;
|
|
95
102
|
/**
|
|
96
103
|
* Custom style of the component.
|
|
97
104
|
* @default ""
|
|
@@ -100,14 +107,17 @@ export namespace Components {
|
|
|
100
107
|
"customStyle": string;
|
|
101
108
|
/**
|
|
102
109
|
* Props of the sub-components.
|
|
110
|
+
* @default undefined
|
|
103
111
|
*/
|
|
104
112
|
"data": Object;
|
|
105
113
|
/**
|
|
106
114
|
* Defaults at false. When set to true, the component is disabled.
|
|
115
|
+
* @default false
|
|
107
116
|
*/
|
|
108
117
|
"disabled": boolean;
|
|
109
118
|
/**
|
|
110
119
|
* Sets how to show the selected item value. Suported values: "code", "description", "both".
|
|
120
|
+
* @default ItemsDisplayMode.DESCRIPTION
|
|
111
121
|
*/
|
|
112
122
|
"displayMode": ItemsDisplayMode;
|
|
113
123
|
/**
|
|
@@ -123,10 +133,17 @@ export namespace Components {
|
|
|
123
133
|
"getValue": () => Promise<string>;
|
|
124
134
|
/**
|
|
125
135
|
* Sets the initial value of the component.
|
|
136
|
+
* @default ""
|
|
126
137
|
*/
|
|
127
138
|
"initialValue": string;
|
|
139
|
+
/**
|
|
140
|
+
* Input event emission delay in milliseconds.
|
|
141
|
+
* @default 300
|
|
142
|
+
*/
|
|
143
|
+
"inputDelay": number;
|
|
128
144
|
/**
|
|
129
145
|
* The minimum number of chars to trigger the autocomplete
|
|
146
|
+
* @default 1
|
|
130
147
|
*/
|
|
131
148
|
"minimumChars": number;
|
|
132
149
|
/**
|
|
@@ -135,10 +152,12 @@ export namespace Components {
|
|
|
135
152
|
"refresh": () => Promise<void>;
|
|
136
153
|
/**
|
|
137
154
|
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
155
|
+
* @default ItemsDisplayMode.CODE
|
|
138
156
|
*/
|
|
139
157
|
"selectMode": ItemsDisplayMode;
|
|
140
158
|
/**
|
|
141
159
|
* When true, the items filter is managed server side, otherwise items filter is done client side.
|
|
160
|
+
* @default false
|
|
142
161
|
*/
|
|
143
162
|
"serverHandledFilter": boolean;
|
|
144
163
|
/**
|
|
@@ -157,6 +176,7 @@ export namespace Components {
|
|
|
157
176
|
"setValue": (value: string) => Promise<void>;
|
|
158
177
|
/**
|
|
159
178
|
* When true shows the drop-down icon, for open list.
|
|
179
|
+
* @default true
|
|
160
180
|
*/
|
|
161
181
|
"showDropDownIcon": boolean;
|
|
162
182
|
}
|
|
@@ -266,7 +286,7 @@ export namespace Components {
|
|
|
266
286
|
* @default undefined
|
|
267
287
|
*/
|
|
268
288
|
"layout": KupBoxLayout;
|
|
269
|
-
"loadRowActions": (row: KupBoxRow, actions:
|
|
289
|
+
"loadRowActions": (row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>;
|
|
270
290
|
/**
|
|
271
291
|
* Enable multi selection
|
|
272
292
|
* @default false
|
|
@@ -443,7 +463,7 @@ export namespace Components {
|
|
|
443
463
|
* Props of the sub-components.
|
|
444
464
|
* @default []
|
|
445
465
|
*/
|
|
446
|
-
"data":
|
|
466
|
+
"data": KupButtonListNode[];
|
|
447
467
|
/**
|
|
448
468
|
* When set to true, the sub-components are disabled.
|
|
449
469
|
* @default false
|
|
@@ -476,6 +496,11 @@ export namespace Components {
|
|
|
476
496
|
"styling": FButtonStyling;
|
|
477
497
|
}
|
|
478
498
|
interface KupCalendar {
|
|
499
|
+
/**
|
|
500
|
+
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
501
|
+
* @default null
|
|
502
|
+
*/
|
|
503
|
+
"currentDate": string;
|
|
479
504
|
/**
|
|
480
505
|
* Custom style of the component.
|
|
481
506
|
* @default ""
|
|
@@ -486,22 +511,7 @@ export namespace Components {
|
|
|
486
511
|
* Actual data of the calendar.
|
|
487
512
|
* @default null
|
|
488
513
|
*/
|
|
489
|
-
"data":
|
|
490
|
-
/**
|
|
491
|
-
* Column containing events' dates.
|
|
492
|
-
* @default null
|
|
493
|
-
*/
|
|
494
|
-
"dateCol": string;
|
|
495
|
-
/**
|
|
496
|
-
* Column containing events' descriptions.
|
|
497
|
-
* @default null
|
|
498
|
-
*/
|
|
499
|
-
"descrCol": string;
|
|
500
|
-
/**
|
|
501
|
-
* Column containing events' ending time.
|
|
502
|
-
* @default null
|
|
503
|
-
*/
|
|
504
|
-
"endCol": string;
|
|
514
|
+
"data": KupCalendarData;
|
|
505
515
|
/**
|
|
506
516
|
* Used to retrieve component's props values.
|
|
507
517
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -513,21 +523,6 @@ export namespace Components {
|
|
|
513
523
|
* @default false
|
|
514
524
|
*/
|
|
515
525
|
"hideNavigation": boolean;
|
|
516
|
-
/**
|
|
517
|
-
* Column containing events' icons. There can be multiple icons, divided by ";".
|
|
518
|
-
* @default null
|
|
519
|
-
*/
|
|
520
|
-
"iconCol": string;
|
|
521
|
-
/**
|
|
522
|
-
* Column containing events' images. There can be multiple images, divided by ";".
|
|
523
|
-
* @default null
|
|
524
|
-
*/
|
|
525
|
-
"imageCol": string;
|
|
526
|
-
/**
|
|
527
|
-
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
528
|
-
* @default null
|
|
529
|
-
*/
|
|
530
|
-
"initialDate": string;
|
|
531
526
|
/**
|
|
532
527
|
* This method is used to trigger a new render of the component.
|
|
533
528
|
*/
|
|
@@ -541,16 +536,6 @@ export namespace Components {
|
|
|
541
536
|
* @param props - Object containing props that will be set to the component.
|
|
542
537
|
*/
|
|
543
538
|
"setProps": (props: GenericObject) => Promise<void>;
|
|
544
|
-
/**
|
|
545
|
-
* Column containing events' starting time.
|
|
546
|
-
* @default null
|
|
547
|
-
*/
|
|
548
|
-
"startCol": string;
|
|
549
|
-
/**
|
|
550
|
-
* Column containing events' CSS styles.
|
|
551
|
-
* @default null
|
|
552
|
-
*/
|
|
553
|
-
"styleCol": string;
|
|
554
539
|
/**
|
|
555
540
|
* Type of the view.
|
|
556
541
|
* @default KupCalendarViewTypes.MONTH
|
|
@@ -635,7 +620,7 @@ export namespace Components {
|
|
|
635
620
|
* The data of the cell.
|
|
636
621
|
* @default false
|
|
637
622
|
*/
|
|
638
|
-
"data":
|
|
623
|
+
"data": KupDataCell;
|
|
639
624
|
/**
|
|
640
625
|
* The density of the cell, defaults at 'dense' and can be also set to 'wide' or 'medium'.
|
|
641
626
|
*/
|
|
@@ -697,7 +682,7 @@ export namespace Components {
|
|
|
697
682
|
* The actual data of the chart.
|
|
698
683
|
* @default undefined
|
|
699
684
|
*/
|
|
700
|
-
"data":
|
|
685
|
+
"data": KupDataDataset;
|
|
701
686
|
/**
|
|
702
687
|
* Used to retrieve component's props values.
|
|
703
688
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -848,12 +833,7 @@ export namespace Components {
|
|
|
848
833
|
* List of elements.
|
|
849
834
|
* @default []
|
|
850
835
|
*/
|
|
851
|
-
"data":
|
|
852
|
-
/**
|
|
853
|
-
* List of elements.
|
|
854
|
-
* @default []
|
|
855
|
-
*/
|
|
856
|
-
"dataNew": TreeNode[];
|
|
836
|
+
"data": KupChipNode[];
|
|
857
837
|
/**
|
|
858
838
|
* Used to retrieve component's props values.
|
|
859
839
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -1018,7 +998,7 @@ export namespace Components {
|
|
|
1018
998
|
interface KupDashList {
|
|
1019
999
|
"active": boolean;
|
|
1020
1000
|
"columnsNumber": number;
|
|
1021
|
-
"data":
|
|
1001
|
+
"data": KupDataDataset;
|
|
1022
1002
|
"fontsize": string;
|
|
1023
1003
|
"fullWidth": boolean;
|
|
1024
1004
|
"horizontal": boolean;
|
|
@@ -1048,8 +1028,8 @@ export namespace Components {
|
|
|
1048
1028
|
/**
|
|
1049
1029
|
* The data of the table.
|
|
1050
1030
|
*/
|
|
1051
|
-
"data":
|
|
1052
|
-
"defaultSortingFunction": (columns:
|
|
1031
|
+
"data": KupDataTableDataset;
|
|
1032
|
+
"defaultSortingFunction": (columns: KupDataColumn[], receivingColumnIndex: number, sortedColumnIndex: number, useNewObject?: boolean) => Promise<KupDataColumn[]>;
|
|
1053
1033
|
/**
|
|
1054
1034
|
* The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'.
|
|
1055
1035
|
*/
|
|
@@ -1071,10 +1051,20 @@ export namespace Components {
|
|
|
1071
1051
|
* Defines the label to show when the table is empty.
|
|
1072
1052
|
*/
|
|
1073
1053
|
"emptyDataLabel": string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Enables the choice to set formulas on columns by dragging them into different columns.
|
|
1056
|
+
* @default true
|
|
1057
|
+
*/
|
|
1058
|
+
"enableColumnsFormula": boolean;
|
|
1074
1059
|
/**
|
|
1075
1060
|
* Enables the extracolumns add buttons.
|
|
1076
1061
|
*/
|
|
1077
1062
|
"enableExtraColumns": boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* Enables the merging of columns by dragging them into different columns.
|
|
1065
|
+
* @default true
|
|
1066
|
+
*/
|
|
1067
|
+
"enableMergeColumns": boolean;
|
|
1078
1068
|
/**
|
|
1079
1069
|
* Enables the sorting of columns by dragging them into different columns.
|
|
1080
1070
|
*/
|
|
@@ -1105,7 +1095,7 @@ export namespace Components {
|
|
|
1105
1095
|
* Forces cells with long text and a fixed column size to have an ellipsis set on their text. The reflect attribute is mandatory to allow styling.
|
|
1106
1096
|
*/
|
|
1107
1097
|
"forceOneLine": boolean;
|
|
1108
|
-
"getInternalState": () => Promise<{ groups: GroupObject[]; filters: GenericFilter; data:
|
|
1098
|
+
"getInternalState": () => Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>;
|
|
1109
1099
|
/**
|
|
1110
1100
|
* Used to retrieve component's props values.
|
|
1111
1101
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -1132,6 +1122,11 @@ export namespace Components {
|
|
|
1132
1122
|
* When set to true the header will stick on top of the table when scrolling.
|
|
1133
1123
|
*/
|
|
1134
1124
|
"headerIsPersistent": boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
* Hides the given column.
|
|
1127
|
+
* @param column - Column to hide.
|
|
1128
|
+
*/
|
|
1129
|
+
"hideColumn": (column: KupDataColumn) => Promise<void>;
|
|
1135
1130
|
/**
|
|
1136
1131
|
* When set to true, clicked-on rows will have a visual feedback.
|
|
1137
1132
|
* @default false
|
|
@@ -1161,6 +1156,13 @@ export namespace Components {
|
|
|
1161
1156
|
* @see loadMoreLimit
|
|
1162
1157
|
*/
|
|
1163
1158
|
"loadMoreStep": number;
|
|
1159
|
+
/**
|
|
1160
|
+
* Invokes the KupData API for column creation, then refreshes the component in case no errors were catched.
|
|
1161
|
+
* @param type - Type of the column creation.
|
|
1162
|
+
* @param options - Options of the creation.
|
|
1163
|
+
* @returns Returns the new column created or a string containing the error message if something went wrong.
|
|
1164
|
+
*/
|
|
1165
|
+
"newColumn": (type: KupDataNewColumnTypes, options: KupDataNewColumnOptions) => Promise<string | KupDataColumn>;
|
|
1164
1166
|
/**
|
|
1165
1167
|
* Opens the column menu of the given column.
|
|
1166
1168
|
* @param column - Name of the column.
|
|
@@ -1193,7 +1195,7 @@ export namespace Components {
|
|
|
1193
1195
|
/**
|
|
1194
1196
|
* Sets the actions of the rows.
|
|
1195
1197
|
*/
|
|
1196
|
-
"rowActions": Array<
|
|
1198
|
+
"rowActions": Array<KupDataRowAction>;
|
|
1197
1199
|
/**
|
|
1198
1200
|
* Sets the number of rows per page to display.
|
|
1199
1201
|
*/
|
|
@@ -1480,6 +1482,88 @@ export namespace Components {
|
|
|
1480
1482
|
*/
|
|
1481
1483
|
"trailingIcon": boolean;
|
|
1482
1484
|
}
|
|
1485
|
+
interface KupEchart {
|
|
1486
|
+
/**
|
|
1487
|
+
* Sets the axis of the chart.
|
|
1488
|
+
* @default ""
|
|
1489
|
+
*/
|
|
1490
|
+
"axis": string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Title of the graph.
|
|
1493
|
+
* @default null
|
|
1494
|
+
*/
|
|
1495
|
+
"chartTitle": KupEchartTitle;
|
|
1496
|
+
/**
|
|
1497
|
+
* Custom style of the component.
|
|
1498
|
+
* @default ""
|
|
1499
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
1500
|
+
*/
|
|
1501
|
+
"customStyle": string;
|
|
1502
|
+
/**
|
|
1503
|
+
* The actual data of the chart.
|
|
1504
|
+
* @default null
|
|
1505
|
+
*/
|
|
1506
|
+
"data": KupDataDataset;
|
|
1507
|
+
/**
|
|
1508
|
+
* Used to retrieve component's props values.
|
|
1509
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
1510
|
+
* @returns List of props as object, each key will be a prop.
|
|
1511
|
+
*/
|
|
1512
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
1513
|
+
/**
|
|
1514
|
+
* Sets the position of the legend. Supported values: bottom, left, right, top. Keep in mind that legend types are tied to chart types, some combinations might not work.
|
|
1515
|
+
* @default KupEchartLegendPlacement.RIGHT
|
|
1516
|
+
*/
|
|
1517
|
+
"legend": KupEchartLegendPlacement;
|
|
1518
|
+
/**
|
|
1519
|
+
* Choose which map you want to view, supported values: "europe", "africa", "asia", "oceania", "america", "italy" and "world". It's possible to supply a custom JSON too.
|
|
1520
|
+
* @default null
|
|
1521
|
+
*/
|
|
1522
|
+
"map": KupEchartMaps | string | GeoJSON;
|
|
1523
|
+
/**
|
|
1524
|
+
* This method is used to trigger a new render of the component.
|
|
1525
|
+
*/
|
|
1526
|
+
"refresh": () => Promise<void>;
|
|
1527
|
+
/**
|
|
1528
|
+
* This method is invoked by KupManager whenever the component changes size.
|
|
1529
|
+
*/
|
|
1530
|
+
"resizeCallback": () => Promise<void>;
|
|
1531
|
+
/**
|
|
1532
|
+
* The data series to be displayed. They must be of the same type.
|
|
1533
|
+
* @default []
|
|
1534
|
+
*/
|
|
1535
|
+
"series": string[];
|
|
1536
|
+
/**
|
|
1537
|
+
* Sets the props to the component.
|
|
1538
|
+
* @param props - Object containing props that will be set to the component.
|
|
1539
|
+
*/
|
|
1540
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
1541
|
+
/**
|
|
1542
|
+
* The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
1543
|
+
* @default "100%"
|
|
1544
|
+
*/
|
|
1545
|
+
"sizeX": string;
|
|
1546
|
+
/**
|
|
1547
|
+
* The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).
|
|
1548
|
+
* @default "100%"
|
|
1549
|
+
*/
|
|
1550
|
+
"sizeY": string;
|
|
1551
|
+
/**
|
|
1552
|
+
* The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter.
|
|
1553
|
+
* @default [KupEchartTypes.LINE]
|
|
1554
|
+
*/
|
|
1555
|
+
"types": KupEchartTypes[];
|
|
1556
|
+
/**
|
|
1557
|
+
* Customization options for the x Axis.
|
|
1558
|
+
* @default null
|
|
1559
|
+
*/
|
|
1560
|
+
"xAxis": XAXisComponentOption;
|
|
1561
|
+
/**
|
|
1562
|
+
* Customization options for the y Axis.
|
|
1563
|
+
* @default null
|
|
1564
|
+
*/
|
|
1565
|
+
"yAxis": YAXisComponentOption;
|
|
1566
|
+
}
|
|
1483
1567
|
interface KupField {
|
|
1484
1568
|
/**
|
|
1485
1569
|
* Custom style of the component.
|
|
@@ -1780,6 +1864,11 @@ export namespace Components {
|
|
|
1780
1864
|
* @default null
|
|
1781
1865
|
*/
|
|
1782
1866
|
"data": GenericObject;
|
|
1867
|
+
/**
|
|
1868
|
+
* Returns the HTMLElement of the component to lazy load.
|
|
1869
|
+
* @returns Lazy loaded component.
|
|
1870
|
+
*/
|
|
1871
|
+
"getComponent": () => Promise<HTMLElement>;
|
|
1783
1872
|
/**
|
|
1784
1873
|
* Used to retrieve component's props values.
|
|
1785
1874
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -1866,11 +1955,6 @@ export namespace Components {
|
|
|
1866
1955
|
* This method is used to trigger a new render of the component.
|
|
1867
1956
|
*/
|
|
1868
1957
|
"refresh": () => Promise<void>;
|
|
1869
|
-
/**
|
|
1870
|
-
* Resets filter.
|
|
1871
|
-
* @todo FOSLUC to PASCAR: why isn't it enough to change only the prop?
|
|
1872
|
-
*/
|
|
1873
|
-
"resetFilter": (newFilter: string) => Promise<void>;
|
|
1874
1958
|
/**
|
|
1875
1959
|
* Defines the type of selection. Values accepted: listbox, radiogroup or group.
|
|
1876
1960
|
* @default KupListRole.LISTBOX
|
|
@@ -1913,7 +1997,7 @@ export namespace Components {
|
|
|
1913
1997
|
* Sets the data that will be used to display different components.
|
|
1914
1998
|
* @default null
|
|
1915
1999
|
*/
|
|
1916
|
-
"data":
|
|
2000
|
+
"data": KupDataDataset;
|
|
1917
2001
|
/**
|
|
1918
2002
|
* Used to retrieve component's props values.
|
|
1919
2003
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -1962,23 +2046,6 @@ export namespace Components {
|
|
|
1962
2046
|
*/
|
|
1963
2047
|
"styling": KupNavBarStyling;
|
|
1964
2048
|
}
|
|
1965
|
-
interface KupPaginator {
|
|
1966
|
-
"currentPage": number;
|
|
1967
|
-
/**
|
|
1968
|
-
* Custom style of the component.
|
|
1969
|
-
* @default ""
|
|
1970
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
1971
|
-
*/
|
|
1972
|
-
"customStyle": string;
|
|
1973
|
-
"max": number;
|
|
1974
|
-
"mode": PaginatorMode;
|
|
1975
|
-
"perPage": number;
|
|
1976
|
-
/**
|
|
1977
|
-
* This method is used to trigger a new render of the component.
|
|
1978
|
-
*/
|
|
1979
|
-
"refresh": () => Promise<void>;
|
|
1980
|
-
"selectedPerPage": number;
|
|
1981
|
-
}
|
|
1982
2049
|
interface KupProbe {
|
|
1983
2050
|
/**
|
|
1984
2051
|
* Custom style of the component.
|
|
@@ -2649,7 +2716,7 @@ export namespace Components {
|
|
|
2649
2716
|
/**
|
|
2650
2717
|
* The columns of the tree when tree visualization is active.
|
|
2651
2718
|
*/
|
|
2652
|
-
"columns"?:
|
|
2719
|
+
"columns"?: KupDataColumn[];
|
|
2653
2720
|
/**
|
|
2654
2721
|
* Custom style of the component.
|
|
2655
2722
|
* @default ""
|
|
@@ -2659,7 +2726,7 @@ export namespace Components {
|
|
|
2659
2726
|
/**
|
|
2660
2727
|
* The json data used to populate the tree view: the basic, always visible tree nodes.
|
|
2661
2728
|
*/
|
|
2662
|
-
"data":
|
|
2729
|
+
"data": KupTreeNode[];
|
|
2663
2730
|
/**
|
|
2664
2731
|
* The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.
|
|
2665
2732
|
*/
|
|
@@ -2669,9 +2736,9 @@ export namespace Components {
|
|
|
2669
2736
|
* @see useDynamicExpansion
|
|
2670
2737
|
*/
|
|
2671
2738
|
"dynamicExpansionCallback": (
|
|
2672
|
-
treeNodeToExpand:
|
|
2739
|
+
treeNodeToExpand: KupTreeNode,
|
|
2673
2740
|
treeNodePath: TreeNodePath
|
|
2674
|
-
) => Promise<
|
|
2741
|
+
) => Promise<KupTreeNode[]> | undefined;
|
|
2675
2742
|
/**
|
|
2676
2743
|
* When set to true, editable cells will be rendered using input components.
|
|
2677
2744
|
* @default false
|
|
@@ -2716,6 +2783,11 @@ export namespace Components {
|
|
|
2716
2783
|
* The value of the global filter.
|
|
2717
2784
|
*/
|
|
2718
2785
|
"globalFilterValue": string;
|
|
2786
|
+
/**
|
|
2787
|
+
* Hides the given column.
|
|
2788
|
+
* @param column - Column to hide.
|
|
2789
|
+
*/
|
|
2790
|
+
"hideColumn": (column: KupDataColumn) => Promise<void>;
|
|
2719
2791
|
/**
|
|
2720
2792
|
* True if there aren't visible nodes
|
|
2721
2793
|
*/
|
|
@@ -2931,6 +3003,12 @@ declare global {
|
|
|
2931
3003
|
prototype: HTMLKupDropdownButtonElement;
|
|
2932
3004
|
new (): HTMLKupDropdownButtonElement;
|
|
2933
3005
|
};
|
|
3006
|
+
interface HTMLKupEchartElement extends Components.KupEchart, HTMLStencilElement {
|
|
3007
|
+
}
|
|
3008
|
+
var HTMLKupEchartElement: {
|
|
3009
|
+
prototype: HTMLKupEchartElement;
|
|
3010
|
+
new (): HTMLKupEchartElement;
|
|
3011
|
+
};
|
|
2934
3012
|
interface HTMLKupFieldElement extends Components.KupField, HTMLStencilElement {
|
|
2935
3013
|
}
|
|
2936
3014
|
var HTMLKupFieldElement: {
|
|
@@ -2985,12 +3063,6 @@ declare global {
|
|
|
2985
3063
|
prototype: HTMLKupNavBarElement;
|
|
2986
3064
|
new (): HTMLKupNavBarElement;
|
|
2987
3065
|
};
|
|
2988
|
-
interface HTMLKupPaginatorElement extends Components.KupPaginator, HTMLStencilElement {
|
|
2989
|
-
}
|
|
2990
|
-
var HTMLKupPaginatorElement: {
|
|
2991
|
-
prototype: HTMLKupPaginatorElement;
|
|
2992
|
-
new (): HTMLKupPaginatorElement;
|
|
2993
|
-
};
|
|
2994
3066
|
interface HTMLKupProbeElement extends Components.KupProbe, HTMLStencilElement {
|
|
2995
3067
|
}
|
|
2996
3068
|
var HTMLKupProbeElement: {
|
|
@@ -3090,6 +3162,7 @@ declare global {
|
|
|
3090
3162
|
"kup-date-picker": HTMLKupDatePickerElement;
|
|
3091
3163
|
"kup-drawer": HTMLKupDrawerElement;
|
|
3092
3164
|
"kup-dropdown-button": HTMLKupDropdownButtonElement;
|
|
3165
|
+
"kup-echart": HTMLKupEchartElement;
|
|
3093
3166
|
"kup-field": HTMLKupFieldElement;
|
|
3094
3167
|
"kup-gauge": HTMLKupGaugeElement;
|
|
3095
3168
|
"kup-grid": HTMLKupGridElement;
|
|
@@ -3099,7 +3172,6 @@ declare global {
|
|
|
3099
3172
|
"kup-list": HTMLKupListElement;
|
|
3100
3173
|
"kup-magic-box": HTMLKupMagicBoxElement;
|
|
3101
3174
|
"kup-nav-bar": HTMLKupNavBarElement;
|
|
3102
|
-
"kup-paginator": HTMLKupPaginatorElement;
|
|
3103
3175
|
"kup-probe": HTMLKupProbeElement;
|
|
3104
3176
|
"kup-progress-bar": HTMLKupProgressBarElement;
|
|
3105
3177
|
"kup-qlik": HTMLKupQlikElement;
|
|
@@ -3139,6 +3211,11 @@ declare namespace LocalJSX {
|
|
|
3139
3211
|
"ripple"?: boolean;
|
|
3140
3212
|
}
|
|
3141
3213
|
interface KupAutocomplete {
|
|
3214
|
+
/**
|
|
3215
|
+
* When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list.
|
|
3216
|
+
* @default false
|
|
3217
|
+
*/
|
|
3218
|
+
"allowInconsistentValues"?: boolean;
|
|
3142
3219
|
/**
|
|
3143
3220
|
* Custom style of the component.
|
|
3144
3221
|
* @default ""
|
|
@@ -3147,41 +3224,54 @@ declare namespace LocalJSX {
|
|
|
3147
3224
|
"customStyle"?: string;
|
|
3148
3225
|
/**
|
|
3149
3226
|
* Props of the sub-components.
|
|
3227
|
+
* @default undefined
|
|
3150
3228
|
*/
|
|
3151
3229
|
"data"?: Object;
|
|
3152
3230
|
/**
|
|
3153
3231
|
* Defaults at false. When set to true, the component is disabled.
|
|
3232
|
+
* @default false
|
|
3154
3233
|
*/
|
|
3155
3234
|
"disabled"?: boolean;
|
|
3156
3235
|
/**
|
|
3157
3236
|
* Sets how to show the selected item value. Suported values: "code", "description", "both".
|
|
3237
|
+
* @default ItemsDisplayMode.DESCRIPTION
|
|
3158
3238
|
*/
|
|
3159
3239
|
"displayMode"?: ItemsDisplayMode;
|
|
3160
3240
|
/**
|
|
3161
3241
|
* Sets the initial value of the component.
|
|
3242
|
+
* @default ""
|
|
3162
3243
|
*/
|
|
3163
3244
|
"initialValue"?: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* Input event emission delay in milliseconds.
|
|
3247
|
+
* @default 300
|
|
3248
|
+
*/
|
|
3249
|
+
"inputDelay"?: number;
|
|
3164
3250
|
/**
|
|
3165
3251
|
* The minimum number of chars to trigger the autocomplete
|
|
3252
|
+
* @default 1
|
|
3166
3253
|
*/
|
|
3167
3254
|
"minimumChars"?: number;
|
|
3168
3255
|
"onKup-autocomplete-blur"?: (event: CustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3169
3256
|
"onKup-autocomplete-change"?: (event: CustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3170
3257
|
"onKup-autocomplete-click"?: (event: CustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3171
3258
|
"onKup-autocomplete-focus"?: (event: CustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3172
|
-
"onKup-autocomplete-iconclick"?: (event: CustomEvent<
|
|
3259
|
+
"onKup-autocomplete-iconclick"?: (event: CustomEvent<KupAutocompleteIconClickEventPayload>) => void;
|
|
3173
3260
|
"onKup-autocomplete-input"?: (event: CustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3174
3261
|
"onKup-autocomplete-itemclick"?: (event: CustomEvent<KupAutocompleteEventPayload>) => void;
|
|
3175
3262
|
/**
|
|
3176
3263
|
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
3264
|
+
* @default ItemsDisplayMode.CODE
|
|
3177
3265
|
*/
|
|
3178
3266
|
"selectMode"?: ItemsDisplayMode;
|
|
3179
3267
|
/**
|
|
3180
3268
|
* When true, the items filter is managed server side, otherwise items filter is done client side.
|
|
3269
|
+
* @default false
|
|
3181
3270
|
*/
|
|
3182
3271
|
"serverHandledFilter"?: boolean;
|
|
3183
3272
|
/**
|
|
3184
3273
|
* When true shows the drop-down icon, for open list.
|
|
3274
|
+
* @default true
|
|
3185
3275
|
*/
|
|
3186
3276
|
"showDropDownIcon"?: boolean;
|
|
3187
3277
|
}
|
|
@@ -3464,7 +3554,7 @@ declare namespace LocalJSX {
|
|
|
3464
3554
|
* Props of the sub-components.
|
|
3465
3555
|
* @default []
|
|
3466
3556
|
*/
|
|
3467
|
-
"data"?:
|
|
3557
|
+
"data"?: KupButtonListNode[];
|
|
3468
3558
|
/**
|
|
3469
3559
|
* When set to true, the sub-components are disabled.
|
|
3470
3560
|
* @default false
|
|
@@ -3483,6 +3573,11 @@ declare namespace LocalJSX {
|
|
|
3483
3573
|
"styling"?: FButtonStyling;
|
|
3484
3574
|
}
|
|
3485
3575
|
interface KupCalendar {
|
|
3576
|
+
/**
|
|
3577
|
+
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
3578
|
+
* @default null
|
|
3579
|
+
*/
|
|
3580
|
+
"currentDate"?: string;
|
|
3486
3581
|
/**
|
|
3487
3582
|
* Custom style of the component.
|
|
3488
3583
|
* @default ""
|
|
@@ -3493,42 +3588,12 @@ declare namespace LocalJSX {
|
|
|
3493
3588
|
* Actual data of the calendar.
|
|
3494
3589
|
* @default null
|
|
3495
3590
|
*/
|
|
3496
|
-
"data"?:
|
|
3497
|
-
/**
|
|
3498
|
-
* Column containing events' dates.
|
|
3499
|
-
* @default null
|
|
3500
|
-
*/
|
|
3501
|
-
"dateCol"?: string;
|
|
3502
|
-
/**
|
|
3503
|
-
* Column containing events' descriptions.
|
|
3504
|
-
* @default null
|
|
3505
|
-
*/
|
|
3506
|
-
"descrCol"?: string;
|
|
3507
|
-
/**
|
|
3508
|
-
* Column containing events' ending time.
|
|
3509
|
-
* @default null
|
|
3510
|
-
*/
|
|
3511
|
-
"endCol"?: string;
|
|
3591
|
+
"data"?: KupCalendarData;
|
|
3512
3592
|
/**
|
|
3513
3593
|
* When disabled, the navigation toolbar won't be displayed.
|
|
3514
3594
|
* @default false
|
|
3515
3595
|
*/
|
|
3516
3596
|
"hideNavigation"?: boolean;
|
|
3517
|
-
/**
|
|
3518
|
-
* Column containing events' icons. There can be multiple icons, divided by ";".
|
|
3519
|
-
* @default null
|
|
3520
|
-
*/
|
|
3521
|
-
"iconCol"?: string;
|
|
3522
|
-
/**
|
|
3523
|
-
* Column containing events' images. There can be multiple images, divided by ";".
|
|
3524
|
-
* @default null
|
|
3525
|
-
*/
|
|
3526
|
-
"imageCol"?: string;
|
|
3527
|
-
/**
|
|
3528
|
-
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
3529
|
-
* @default null
|
|
3530
|
-
*/
|
|
3531
|
-
"initialDate"?: string;
|
|
3532
3597
|
/**
|
|
3533
3598
|
* When a date is clicked.
|
|
3534
3599
|
*/
|
|
@@ -3545,16 +3610,6 @@ declare namespace LocalJSX {
|
|
|
3545
3610
|
* When the navigation change
|
|
3546
3611
|
*/
|
|
3547
3612
|
"onKup-calendar-viewchange"?: (event: CustomEvent<KupCalendarViewChangeEventPayload>) => void;
|
|
3548
|
-
/**
|
|
3549
|
-
* Column containing events' starting time.
|
|
3550
|
-
* @default null
|
|
3551
|
-
*/
|
|
3552
|
-
"startCol"?: string;
|
|
3553
|
-
/**
|
|
3554
|
-
* Column containing events' CSS styles.
|
|
3555
|
-
* @default null
|
|
3556
|
-
*/
|
|
3557
|
-
"styleCol"?: string;
|
|
3558
3613
|
/**
|
|
3559
3614
|
* Type of the view.
|
|
3560
3615
|
* @default KupCalendarViewTypes.MONTH
|
|
@@ -3631,7 +3686,7 @@ declare namespace LocalJSX {
|
|
|
3631
3686
|
* The data of the cell.
|
|
3632
3687
|
* @default false
|
|
3633
3688
|
*/
|
|
3634
|
-
"data"?:
|
|
3689
|
+
"data"?: KupDataCell;
|
|
3635
3690
|
/**
|
|
3636
3691
|
* The density of the cell, defaults at 'dense' and can be also set to 'wide' or 'medium'.
|
|
3637
3692
|
*/
|
|
@@ -3673,7 +3728,7 @@ declare namespace LocalJSX {
|
|
|
3673
3728
|
* The actual data of the chart.
|
|
3674
3729
|
* @default undefined
|
|
3675
3730
|
*/
|
|
3676
|
-
"data"?:
|
|
3731
|
+
"data"?: KupDataDataset;
|
|
3677
3732
|
/**
|
|
3678
3733
|
* Customize the hAxes for multiple-chart.
|
|
3679
3734
|
*/
|
|
@@ -3806,12 +3861,7 @@ declare namespace LocalJSX {
|
|
|
3806
3861
|
* List of elements.
|
|
3807
3862
|
* @default []
|
|
3808
3863
|
*/
|
|
3809
|
-
"data"?:
|
|
3810
|
-
/**
|
|
3811
|
-
* List of elements.
|
|
3812
|
-
* @default []
|
|
3813
|
-
*/
|
|
3814
|
-
"dataNew"?: TreeNode[];
|
|
3864
|
+
"data"?: KupChipNode[];
|
|
3815
3865
|
/**
|
|
3816
3866
|
* Triggered when a chip loses focus.
|
|
3817
3867
|
*/
|
|
@@ -3894,7 +3944,7 @@ declare namespace LocalJSX {
|
|
|
3894
3944
|
"onKup-combobox-change"?: (event: CustomEvent<KupComboboxEventPayload>) => void;
|
|
3895
3945
|
"onKup-combobox-click"?: (event: CustomEvent<KupComboboxEventPayload>) => void;
|
|
3896
3946
|
"onKup-combobox-focus"?: (event: CustomEvent<KupComboboxEventPayload>) => void;
|
|
3897
|
-
"onKup-combobox-iconclick"?: (event: CustomEvent<
|
|
3947
|
+
"onKup-combobox-iconclick"?: (event: CustomEvent<KupComboboxIconClickEventPayload>) => void;
|
|
3898
3948
|
"onKup-combobox-input"?: (event: CustomEvent<KupComboboxEventPayload>) => void;
|
|
3899
3949
|
"onKup-combobox-itemclick"?: (event: CustomEvent<KupComboboxEventPayload>) => void;
|
|
3900
3950
|
/**
|
|
@@ -3930,7 +3980,7 @@ declare namespace LocalJSX {
|
|
|
3930
3980
|
interface KupDashList {
|
|
3931
3981
|
"active"?: boolean;
|
|
3932
3982
|
"columnsNumber"?: number;
|
|
3933
|
-
"data"?:
|
|
3983
|
+
"data"?: KupDataDataset;
|
|
3934
3984
|
"fontsize"?: string;
|
|
3935
3985
|
"fullWidth"?: boolean;
|
|
3936
3986
|
"horizontal"?: boolean;
|
|
@@ -3955,7 +4005,7 @@ declare namespace LocalJSX {
|
|
|
3955
4005
|
/**
|
|
3956
4006
|
* The data of the table.
|
|
3957
4007
|
*/
|
|
3958
|
-
"data"?:
|
|
4008
|
+
"data"?: KupDataTableDataset;
|
|
3959
4009
|
/**
|
|
3960
4010
|
* The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'.
|
|
3961
4011
|
*/
|
|
@@ -3977,10 +4027,20 @@ declare namespace LocalJSX {
|
|
|
3977
4027
|
* Defines the label to show when the table is empty.
|
|
3978
4028
|
*/
|
|
3979
4029
|
"emptyDataLabel"?: string;
|
|
4030
|
+
/**
|
|
4031
|
+
* Enables the choice to set formulas on columns by dragging them into different columns.
|
|
4032
|
+
* @default true
|
|
4033
|
+
*/
|
|
4034
|
+
"enableColumnsFormula"?: boolean;
|
|
3980
4035
|
/**
|
|
3981
4036
|
* Enables the extracolumns add buttons.
|
|
3982
4037
|
*/
|
|
3983
4038
|
"enableExtraColumns"?: boolean;
|
|
4039
|
+
/**
|
|
4040
|
+
* Enables the merging of columns by dragging them into different columns.
|
|
4041
|
+
* @default true
|
|
4042
|
+
*/
|
|
4043
|
+
"enableMergeColumns"?: boolean;
|
|
3984
4044
|
/**
|
|
3985
4045
|
* Enables the sorting of columns by dragging them into different columns.
|
|
3986
4046
|
*/
|
|
@@ -4068,6 +4128,14 @@ declare namespace LocalJSX {
|
|
|
4068
4128
|
* Emitted by the column menu card when opened/closed or when a kup-card-event is fired.
|
|
4069
4129
|
*/
|
|
4070
4130
|
"onKup-datatable-columnmenu"?: (event: CustomEvent<KupDatatableColumnMenuEventPayload>) => void;
|
|
4131
|
+
/**
|
|
4132
|
+
* Event fired when columns are moved (sorted).
|
|
4133
|
+
*/
|
|
4134
|
+
"onKup-datatable-columnmove"?: (event: CustomEvent<KupDatatableColumnMoveEventPayload>) => void;
|
|
4135
|
+
/**
|
|
4136
|
+
* Event fired when columns are removed (set to hidden).
|
|
4137
|
+
*/
|
|
4138
|
+
"onKup-datatable-columnremove"?: (event: CustomEvent<KupDatatableColumnRemoveEventPayload>) => void;
|
|
4071
4139
|
/**
|
|
4072
4140
|
* Generic right click event on data table.
|
|
4073
4141
|
*/
|
|
@@ -4116,7 +4184,7 @@ declare namespace LocalJSX {
|
|
|
4116
4184
|
/**
|
|
4117
4185
|
* Sets the actions of the rows.
|
|
4118
4186
|
*/
|
|
4119
|
-
"rowActions"?: Array<
|
|
4187
|
+
"rowActions"?: Array<KupDataRowAction>;
|
|
4120
4188
|
/**
|
|
4121
4189
|
* Sets the number of rows per page to display.
|
|
4122
4190
|
*/
|
|
@@ -4348,6 +4416,70 @@ declare namespace LocalJSX {
|
|
|
4348
4416
|
*/
|
|
4349
4417
|
"trailingIcon"?: boolean;
|
|
4350
4418
|
}
|
|
4419
|
+
interface KupEchart {
|
|
4420
|
+
/**
|
|
4421
|
+
* Sets the axis of the chart.
|
|
4422
|
+
* @default ""
|
|
4423
|
+
*/
|
|
4424
|
+
"axis"?: string;
|
|
4425
|
+
/**
|
|
4426
|
+
* Title of the graph.
|
|
4427
|
+
* @default null
|
|
4428
|
+
*/
|
|
4429
|
+
"chartTitle"?: KupEchartTitle;
|
|
4430
|
+
/**
|
|
4431
|
+
* Custom style of the component.
|
|
4432
|
+
* @default ""
|
|
4433
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4434
|
+
*/
|
|
4435
|
+
"customStyle"?: string;
|
|
4436
|
+
/**
|
|
4437
|
+
* The actual data of the chart.
|
|
4438
|
+
* @default null
|
|
4439
|
+
*/
|
|
4440
|
+
"data"?: KupDataDataset;
|
|
4441
|
+
/**
|
|
4442
|
+
* Sets the position of the legend. Supported values: bottom, left, right, top. Keep in mind that legend types are tied to chart types, some combinations might not work.
|
|
4443
|
+
* @default KupEchartLegendPlacement.RIGHT
|
|
4444
|
+
*/
|
|
4445
|
+
"legend"?: KupEchartLegendPlacement;
|
|
4446
|
+
/**
|
|
4447
|
+
* Choose which map you want to view, supported values: "europe", "africa", "asia", "oceania", "america", "italy" and "world". It's possible to supply a custom JSON too.
|
|
4448
|
+
* @default null
|
|
4449
|
+
*/
|
|
4450
|
+
"map"?: KupEchartMaps | string | GeoJSON;
|
|
4451
|
+
"onKup-echart-click"?: (event: CustomEvent<KupEchartClickEventPayload>) => void;
|
|
4452
|
+
/**
|
|
4453
|
+
* The data series to be displayed. They must be of the same type.
|
|
4454
|
+
* @default []
|
|
4455
|
+
*/
|
|
4456
|
+
"series"?: string[];
|
|
4457
|
+
/**
|
|
4458
|
+
* The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
4459
|
+
* @default "100%"
|
|
4460
|
+
*/
|
|
4461
|
+
"sizeX"?: string;
|
|
4462
|
+
/**
|
|
4463
|
+
* The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).
|
|
4464
|
+
* @default "100%"
|
|
4465
|
+
*/
|
|
4466
|
+
"sizeY"?: string;
|
|
4467
|
+
/**
|
|
4468
|
+
* The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter.
|
|
4469
|
+
* @default [KupEchartTypes.LINE]
|
|
4470
|
+
*/
|
|
4471
|
+
"types"?: KupEchartTypes[];
|
|
4472
|
+
/**
|
|
4473
|
+
* Customization options for the x Axis.
|
|
4474
|
+
* @default null
|
|
4475
|
+
*/
|
|
4476
|
+
"xAxis"?: XAXisComponentOption;
|
|
4477
|
+
/**
|
|
4478
|
+
* Customization options for the y Axis.
|
|
4479
|
+
* @default null
|
|
4480
|
+
*/
|
|
4481
|
+
"yAxis"?: YAXisComponentOption;
|
|
4482
|
+
}
|
|
4351
4483
|
interface KupField {
|
|
4352
4484
|
/**
|
|
4353
4485
|
* Custom style of the component.
|
|
@@ -4583,6 +4715,10 @@ declare namespace LocalJSX {
|
|
|
4583
4715
|
* @default null
|
|
4584
4716
|
*/
|
|
4585
4717
|
"data"?: GenericObject;
|
|
4718
|
+
/**
|
|
4719
|
+
* Triggered when the component is loaded.
|
|
4720
|
+
*/
|
|
4721
|
+
"onKup-lazy-loaded"?: (event: CustomEvent<KupEventPayload>) => void;
|
|
4586
4722
|
/**
|
|
4587
4723
|
* Decides when the sub-component should be rendered. By default when both the component props exist and the component is in the viewport.
|
|
4588
4724
|
* @default KupLazyRender.BOTH
|
|
@@ -4671,7 +4807,7 @@ declare namespace LocalJSX {
|
|
|
4671
4807
|
* Sets the data that will be used to display different components.
|
|
4672
4808
|
* @default null
|
|
4673
4809
|
*/
|
|
4674
|
-
"data"?:
|
|
4810
|
+
"data"?: KupDataDataset;
|
|
4675
4811
|
}
|
|
4676
4812
|
interface KupNavBar {
|
|
4677
4813
|
/**
|
|
@@ -4694,27 +4830,6 @@ declare namespace LocalJSX {
|
|
|
4694
4830
|
*/
|
|
4695
4831
|
"styling"?: KupNavBarStyling;
|
|
4696
4832
|
}
|
|
4697
|
-
interface KupPaginator {
|
|
4698
|
-
"currentPage"?: number;
|
|
4699
|
-
/**
|
|
4700
|
-
* Custom style of the component.
|
|
4701
|
-
* @default ""
|
|
4702
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4703
|
-
*/
|
|
4704
|
-
"customStyle"?: string;
|
|
4705
|
-
"max"?: number;
|
|
4706
|
-
"mode"?: PaginatorMode;
|
|
4707
|
-
/**
|
|
4708
|
-
* When the current page change
|
|
4709
|
-
*/
|
|
4710
|
-
"onKup-paginator-pagechanged"?: (event: CustomEvent<KupPaginatorPageChangedEventPayload>) => void;
|
|
4711
|
-
/**
|
|
4712
|
-
* When the rows per page change
|
|
4713
|
-
*/
|
|
4714
|
-
"onKup-paginator-rowsperpagechanged"?: (event: CustomEvent<KupPaginatorRowsPerPageChangedEventPayload>) => void;
|
|
4715
|
-
"perPage"?: number;
|
|
4716
|
-
"selectedPerPage"?: number;
|
|
4717
|
-
}
|
|
4718
4833
|
interface KupProbe {
|
|
4719
4834
|
/**
|
|
4720
4835
|
* Custom style of the component.
|
|
@@ -5286,7 +5401,7 @@ declare namespace LocalJSX {
|
|
|
5286
5401
|
/**
|
|
5287
5402
|
* The columns of the tree when tree visualization is active.
|
|
5288
5403
|
*/
|
|
5289
|
-
"columns"?:
|
|
5404
|
+
"columns"?: KupDataColumn[];
|
|
5290
5405
|
/**
|
|
5291
5406
|
* Custom style of the component.
|
|
5292
5407
|
* @default ""
|
|
@@ -5296,7 +5411,7 @@ declare namespace LocalJSX {
|
|
|
5296
5411
|
/**
|
|
5297
5412
|
* The json data used to populate the tree view: the basic, always visible tree nodes.
|
|
5298
5413
|
*/
|
|
5299
|
-
"data"?:
|
|
5414
|
+
"data"?: KupTreeNode[];
|
|
5300
5415
|
/**
|
|
5301
5416
|
* The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.
|
|
5302
5417
|
*/
|
|
@@ -5306,9 +5421,9 @@ declare namespace LocalJSX {
|
|
|
5306
5421
|
* @see useDynamicExpansion
|
|
5307
5422
|
*/
|
|
5308
5423
|
"dynamicExpansionCallback"?: (
|
|
5309
|
-
treeNodeToExpand:
|
|
5424
|
+
treeNodeToExpand: KupTreeNode,
|
|
5310
5425
|
treeNodePath: TreeNodePath
|
|
5311
|
-
) => Promise<
|
|
5426
|
+
) => Promise<KupTreeNode[]> | undefined;
|
|
5312
5427
|
/**
|
|
5313
5428
|
* When set to true, editable cells will be rendered using input components.
|
|
5314
5429
|
* @default false
|
|
@@ -5348,6 +5463,10 @@ declare namespace LocalJSX {
|
|
|
5348
5463
|
* When the column menu is being opened/closed.
|
|
5349
5464
|
*/
|
|
5350
5465
|
"onKup-tree-columnmenu"?: (event: CustomEvent<KupTreeColumnMenuEventPayload>) => void;
|
|
5466
|
+
/**
|
|
5467
|
+
* Event fired when columns are removed (set to hidden).
|
|
5468
|
+
*/
|
|
5469
|
+
"onKup-tree-columnremove"?: (event: CustomEvent<KupTreeColumnRemoveEventPayload>) => void;
|
|
5351
5470
|
/**
|
|
5352
5471
|
* Generic right click event on tree.
|
|
5353
5472
|
*/
|
|
@@ -5359,7 +5478,7 @@ declare namespace LocalJSX {
|
|
|
5359
5478
|
"onKup-tree-didunload"?: (event: CustomEvent<KupEventPayload>) => void;
|
|
5360
5479
|
"onKup-tree-dynamicmassexpansion"?: (event: CustomEvent<KupTreeDynamicMassExpansionEventPayload>) => void;
|
|
5361
5480
|
/**
|
|
5362
|
-
* Fired when a
|
|
5481
|
+
* Fired when a KupTreeNode gets collapsed (closed).
|
|
5363
5482
|
*/
|
|
5364
5483
|
"onKup-tree-nodecollapse"?: (event: CustomEvent<KupTreeNodeCollapseEventPayload>) => void;
|
|
5365
5484
|
"onKup-tree-nodedblclick"?: (event: CustomEvent<KupTreeNodeCollapseEventPayload>) => void;
|
|
@@ -5368,9 +5487,9 @@ declare namespace LocalJSX {
|
|
|
5368
5487
|
* @event kup-tree-nodeexpand
|
|
5369
5488
|
* @type {object}
|
|
5370
5489
|
* @property {TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop.
|
|
5371
|
-
* @property {
|
|
5490
|
+
* @property {KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop).
|
|
5372
5491
|
* @property {boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode.
|
|
5373
|
-
* @property {boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event requires the parent component to add
|
|
5492
|
+
* @property {boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event requires the parent component to add KupTreeNode children to the given KupTreeNode.
|
|
5374
5493
|
* @see useDynamicExpansion *
|
|
5375
5494
|
* @see dynamicExpansionCallback *
|
|
5376
5495
|
* @since 1.0.0
|
|
@@ -5472,6 +5591,7 @@ declare namespace LocalJSX {
|
|
|
5472
5591
|
"kup-date-picker": KupDatePicker;
|
|
5473
5592
|
"kup-drawer": KupDrawer;
|
|
5474
5593
|
"kup-dropdown-button": KupDropdownButton;
|
|
5594
|
+
"kup-echart": KupEchart;
|
|
5475
5595
|
"kup-field": KupField;
|
|
5476
5596
|
"kup-gauge": KupGauge;
|
|
5477
5597
|
"kup-grid": KupGrid;
|
|
@@ -5481,7 +5601,6 @@ declare namespace LocalJSX {
|
|
|
5481
5601
|
"kup-list": KupList;
|
|
5482
5602
|
"kup-magic-box": KupMagicBox;
|
|
5483
5603
|
"kup-nav-bar": KupNavBar;
|
|
5484
|
-
"kup-paginator": KupPaginator;
|
|
5485
5604
|
"kup-probe": KupProbe;
|
|
5486
5605
|
"kup-progress-bar": KupProgressBar;
|
|
5487
5606
|
"kup-qlik": KupQlik;
|
|
@@ -5521,6 +5640,7 @@ declare module "@stencil/core" {
|
|
|
5521
5640
|
"kup-date-picker": LocalJSX.KupDatePicker & JSXBase.HTMLAttributes<HTMLKupDatePickerElement>;
|
|
5522
5641
|
"kup-drawer": LocalJSX.KupDrawer & JSXBase.HTMLAttributes<HTMLKupDrawerElement>;
|
|
5523
5642
|
"kup-dropdown-button": LocalJSX.KupDropdownButton & JSXBase.HTMLAttributes<HTMLKupDropdownButtonElement>;
|
|
5643
|
+
"kup-echart": LocalJSX.KupEchart & JSXBase.HTMLAttributes<HTMLKupEchartElement>;
|
|
5524
5644
|
"kup-field": LocalJSX.KupField & JSXBase.HTMLAttributes<HTMLKupFieldElement>;
|
|
5525
5645
|
"kup-gauge": LocalJSX.KupGauge & JSXBase.HTMLAttributes<HTMLKupGaugeElement>;
|
|
5526
5646
|
"kup-grid": LocalJSX.KupGrid & JSXBase.HTMLAttributes<HTMLKupGridElement>;
|
|
@@ -5530,7 +5650,6 @@ declare module "@stencil/core" {
|
|
|
5530
5650
|
"kup-list": LocalJSX.KupList & JSXBase.HTMLAttributes<HTMLKupListElement>;
|
|
5531
5651
|
"kup-magic-box": LocalJSX.KupMagicBox & JSXBase.HTMLAttributes<HTMLKupMagicBoxElement>;
|
|
5532
5652
|
"kup-nav-bar": LocalJSX.KupNavBar & JSXBase.HTMLAttributes<HTMLKupNavBarElement>;
|
|
5533
|
-
"kup-paginator": LocalJSX.KupPaginator & JSXBase.HTMLAttributes<HTMLKupPaginatorElement>;
|
|
5534
5653
|
"kup-probe": LocalJSX.KupProbe & JSXBase.HTMLAttributes<HTMLKupProbeElement>;
|
|
5535
5654
|
"kup-progress-bar": LocalJSX.KupProgressBar & JSXBase.HTMLAttributes<HTMLKupProgressBarElement>;
|
|
5536
5655
|
"kup-qlik": LocalJSX.KupQlik & JSXBase.HTMLAttributes<HTMLKupQlikElement>;
|