@sme.up/ketchup 4.2.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-1d44a3f0.js → cell-utils-9b1d6563.js} +4 -4
- package/dist/cjs/{component-8fbc31a2.js → component-d1496215.js} +203 -174
- package/dist/cjs/{f-button-a5788453.js → f-button-02a7cde4.js} +2 -2
- package/dist/cjs/{f-cell-eba6f39e.js → f-cell-4d1450a8.js} +62 -48
- package/dist/cjs/f-chip-a50b9f00.js +130 -0
- package/dist/cjs/{f-image-e03842eb.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} +5759 -4805
- 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-75f1a2cd.js → kup-manager-5877b2ee.js} +3395 -737
- 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/built-in/kup-card-calendar.js +458 -0
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +321 -0
- 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 +22 -0
- package/dist/collection/components/kup-card/kup-card-declarations.js +19 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -3
- package/dist/collection/components/kup-card/kup-card.css +793 -8
- package/dist/collection/components/kup-card/kup-card.js +75 -15
- 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 -38
- package/dist/collection/components/kup-data-table/kup-data-table.js +366 -168
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +0 -82
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +41 -312
- 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 +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +2 -2
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +1 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +57 -244
- 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 +53 -39
- 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 -1
- 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-9a2914fc.js → cell-utils-571978d6.js} +4 -4
- package/dist/esm/{component-d2803feb.js → component-c4eb6153.js} +204 -170
- package/dist/esm/{f-button-55a9ed88.js → f-button-b3011cc2.js} +2 -2
- package/dist/esm/{f-cell-ac520cb2.js → f-cell-b88b2731.js} +62 -48
- package/dist/esm/f-chip-a52489ec.js +128 -0
- package/dist/esm/{f-image-70ca9dfe.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} +5570 -4615
- 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-bba32828.js → kup-manager-1f76a3ef.js} +3391 -737
- 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-74259992.entry.js → p-088a886c.entry.js} +1 -1
- package/dist/ketchup/p-135cabdc.entry.js +1 -0
- package/dist/ketchup/p-1c1e830f.entry.js +1 -0
- package/dist/ketchup/{p-69a705ae.entry.js → p-29208220.entry.js} +1 -1
- package/dist/ketchup/{p-62208488.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-06c209a5.js → p-5f52e313.js} +1 -1
- package/dist/ketchup/{p-e90934b5.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-ff7d590e.entry.js → p-9d49cdb2.entry.js} +1 -1
- package/dist/ketchup/{p-5a4a5fdc.js → p-a0b1d769.js} +1 -1
- package/dist/ketchup/{p-40df35de.entry.js → p-a2b6672e.entry.js} +1 -1
- package/dist/ketchup/{p-5faf7715.entry.js → p-a4be630b.entry.js} +1 -1
- package/dist/ketchup/p-c072b270.js +1 -0
- package/dist/ketchup/{p-daf03877.entry.js → p-c648972c.entry.js} +1 -1
- package/dist/ketchup/{p-03ae1be9.entry.js → p-d67d39c0.entry.js} +1 -1
- package/dist/ketchup/p-d6e2f2b0.entry.js +1 -0
- package/dist/ketchup/{p-52038ccb.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/built-in/kup-card-calendar.d.ts +2 -0
- package/dist/types/components/kup-card/built-in/kup-card-clock.d.ts +2 -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 +14 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +100 -1
- package/dist/types/components/kup-card/kup-card.d.ts +12 -5
- 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 -109
- 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 +50 -29
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +0 -10
- 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-time-picker/kup-time-picker.d.ts +2 -9
- 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 +307 -188
- 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-ce69b7d2.js +0 -141
- package/dist/cjs/utils-b3ec89fe.js +0 -1550
- 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-babf1740.js +0 -139
- package/dist/esm/utils-cfcbe33f.js +0 -1526
- package/dist/ketchup/p-1ce9a037.js +0 -1
- package/dist/ketchup/p-1e2c3497.js +0 -1
- package/dist/ketchup/p-4748be4b.js +0 -8
- package/dist/ketchup/p-5db41fae.entry.js +0 -45
- package/dist/ketchup/p-6cc8264d.entry.js +0 -1
- package/dist/ketchup/p-756aa8b1.entry.js +0 -1
- package/dist/ketchup/p-9d02a676.js +0 -134
- package/dist/ketchup/p-a7687c0e.entry.js +0 -27
- package/dist/ketchup/p-d58dbf0e.js +0 -1
- package/dist/ketchup/p-d6ce1ac6.entry.js +0 -1
- package/dist/ketchup/p-ea387b49.entry.js +0 -1
- package/dist/ketchup/p-f6bff949.js +0 -1
- 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
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { GroupLabelDisplayMode, GroupObject, LoadMoreMode, PaginatorPos, ShowGrid, SortObject, TotalsMap, SelectionMode, KupDatatableAutoRowSelectEventPayload, KupDatatableRowSelectedEventPayload, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableRowActionClickEventPayload, KupDatatableLoadMoreClickEventPayload, KupDatatableColumnRemoveEventPayload, KupDatatableColumnMoveEventPayload, KupDataTableDataset, KupDataTableRow } from './kup-data-table-declarations';
|
|
3
3
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
4
4
|
import { KupDataTableState } from './kup-data-table-state';
|
|
5
5
|
import { KupStore } from '../kup-state/kup-store';
|
|
6
6
|
import { GenericFilter, ValueDisplayedValue } from '../../utils/filters/filters-declarations';
|
|
7
7
|
import { FCellPadding } from '../../f-components/f-cell/f-cell-declarations';
|
|
8
|
+
import { KupDataColumn, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataRowAction } from '../../managers/kup-data/kup-data-declarations';
|
|
8
9
|
export declare class KupDataTable {
|
|
9
10
|
stateId: string;
|
|
10
11
|
store: KupStore;
|
|
@@ -24,7 +25,7 @@ export declare class KupDataTable {
|
|
|
24
25
|
/**
|
|
25
26
|
* The data of the table.
|
|
26
27
|
*/
|
|
27
|
-
data:
|
|
28
|
+
data: KupDataTableDataset;
|
|
28
29
|
/**
|
|
29
30
|
* The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'.
|
|
30
31
|
*/
|
|
@@ -46,10 +47,20 @@ export declare class KupDataTable {
|
|
|
46
47
|
* Defines the label to show when the table is empty.
|
|
47
48
|
*/
|
|
48
49
|
emptyDataLabel: string;
|
|
50
|
+
/**
|
|
51
|
+
* Enables the choice to set formulas on columns by dragging them into different columns.
|
|
52
|
+
* @default true
|
|
53
|
+
*/
|
|
54
|
+
enableColumnsFormula: boolean;
|
|
49
55
|
/**
|
|
50
56
|
* Enables the extracolumns add buttons.
|
|
51
57
|
*/
|
|
52
58
|
enableExtraColumns: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Enables the merging of columns by dragging them into different columns.
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
enableMergeColumns: boolean;
|
|
53
64
|
/**
|
|
54
65
|
* Enables the sorting of columns by dragging them into different columns.
|
|
55
66
|
*/
|
|
@@ -154,7 +165,7 @@ export declare class KupDataTable {
|
|
|
154
165
|
/**
|
|
155
166
|
* Sets the actions of the rows.
|
|
156
167
|
*/
|
|
157
|
-
rowActions: Array<
|
|
168
|
+
rowActions: Array<KupDataRowAction>;
|
|
158
169
|
/**
|
|
159
170
|
* Sets the number of rows per page to display.
|
|
160
171
|
*/
|
|
@@ -262,11 +273,6 @@ export declare class KupDataTable {
|
|
|
262
273
|
private openedTotalMenu;
|
|
263
274
|
private openedCustomSettings;
|
|
264
275
|
private fontsize;
|
|
265
|
-
/**
|
|
266
|
-
* This is a flag to be used for the draggable columns to force rerender
|
|
267
|
-
* by changing the internal state.
|
|
268
|
-
*/
|
|
269
|
-
private triggerColumnSortRerender;
|
|
270
276
|
rowsPerPageHandler(newValue: number): void;
|
|
271
277
|
expandGroupsHandler(): void;
|
|
272
278
|
filtersChanged(): void;
|
|
@@ -305,9 +311,7 @@ export declare class KupDataTable {
|
|
|
305
311
|
private tableAreaRef;
|
|
306
312
|
private stickyTheadRef;
|
|
307
313
|
private customizeTopButtonRef;
|
|
308
|
-
private customizeBottomButtonRef;
|
|
309
314
|
private customizeTopPanelRef;
|
|
310
|
-
private customizeBottomPanelRef;
|
|
311
315
|
private sizedColumns;
|
|
312
316
|
private intObserver;
|
|
313
317
|
private navBarHeight;
|
|
@@ -331,6 +335,8 @@ export declare class KupDataTable {
|
|
|
331
335
|
private removeDropareaRef;
|
|
332
336
|
private groupsDropareaRef;
|
|
333
337
|
private clickCb;
|
|
338
|
+
private clickCbCustomPanel;
|
|
339
|
+
private clickCbDropCard;
|
|
334
340
|
/**
|
|
335
341
|
* Used to prevent too many resizes callbacks at once.
|
|
336
342
|
*/
|
|
@@ -338,14 +344,10 @@ export declare class KupDataTable {
|
|
|
338
344
|
private columnMenuInstance;
|
|
339
345
|
private filtersColumnMenuInstance;
|
|
340
346
|
private filtersRowsInstance;
|
|
341
|
-
/**
|
|
342
|
-
* Reference to the row detail card.
|
|
343
|
-
*/
|
|
344
347
|
private detailCard;
|
|
345
|
-
/**
|
|
346
|
-
* Reference to the column menu card.
|
|
347
|
-
*/
|
|
348
348
|
private columnMenuCard;
|
|
349
|
+
private columnDropCard;
|
|
350
|
+
private columnDropCardAnchor;
|
|
349
351
|
/**
|
|
350
352
|
* When component unload is complete
|
|
351
353
|
*/
|
|
@@ -387,6 +389,14 @@ export declare class KupDataTable {
|
|
|
387
389
|
*/
|
|
388
390
|
kupRowActionClick: EventEmitter<KupDatatableRowActionClickEventPayload>;
|
|
389
391
|
kupLoadMoreClick: EventEmitter<KupDatatableLoadMoreClickEventPayload>;
|
|
392
|
+
/**
|
|
393
|
+
* Event fired when columns are moved (sorted).
|
|
394
|
+
*/
|
|
395
|
+
kupColumnMove: EventEmitter<KupDatatableColumnMoveEventPayload>;
|
|
396
|
+
/**
|
|
397
|
+
* Event fired when columns are removed (set to hidden).
|
|
398
|
+
*/
|
|
399
|
+
kupColumnRemove: EventEmitter<KupDatatableColumnRemoveEventPayload>;
|
|
390
400
|
/**
|
|
391
401
|
* Closes any opened column menu.
|
|
392
402
|
*/
|
|
@@ -405,6 +415,18 @@ export declare class KupDataTable {
|
|
|
405
415
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
406
416
|
*/
|
|
407
417
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
418
|
+
/**
|
|
419
|
+
* Hides the given column.
|
|
420
|
+
* @param {KupDataColumn} column - Column to hide.
|
|
421
|
+
*/
|
|
422
|
+
hideColumn(column: KupDataColumn): Promise<void>;
|
|
423
|
+
/**
|
|
424
|
+
* Invokes the KupData API for column creation, then refreshes the component in case no errors were catched.
|
|
425
|
+
* @param {KupDataNewColumnTypes} type - Type of the column creation.
|
|
426
|
+
* @param {KupDataNewColumnOptions} options - Options of the creation.
|
|
427
|
+
* @returns {string|KupDataColumn} Returns the new column created or a string containing the error message if something went wrong.
|
|
428
|
+
*/
|
|
429
|
+
newColumn(type: KupDataNewColumnTypes, options: KupDataNewColumnOptions): Promise<string | KupDataColumn>;
|
|
408
430
|
/**
|
|
409
431
|
* Opens the column menu of the given column.
|
|
410
432
|
* @param {string} column - Name of the column.
|
|
@@ -435,12 +457,13 @@ export declare class KupDataTable {
|
|
|
435
457
|
* @param {boolean} emitEvent - The event will always be emitted unless emitEvent is set to false.
|
|
436
458
|
*/
|
|
437
459
|
setSelectedRows(rowsById: string, emitEvent?: boolean): Promise<void>;
|
|
460
|
+
private closeDropCard;
|
|
461
|
+
private createDropCard;
|
|
438
462
|
private calculateData;
|
|
439
463
|
private setTransposedData;
|
|
440
464
|
private switchToTotalsMatrix;
|
|
441
465
|
private setObjForTotalsMatrix;
|
|
442
466
|
private getTransposedData;
|
|
443
|
-
private getColumnFromCell;
|
|
444
467
|
private stickyHeaderPosition;
|
|
445
468
|
private updateStickyHeaderSize;
|
|
446
469
|
private setObserver;
|
|
@@ -463,11 +486,11 @@ export declare class KupDataTable {
|
|
|
463
486
|
private getEventPath;
|
|
464
487
|
private resetSelectedRows;
|
|
465
488
|
resetCurrentPage(): void;
|
|
466
|
-
getColumns(): Array<
|
|
489
|
+
getColumns(): Array<KupDataColumn>;
|
|
467
490
|
private getSizedColumns;
|
|
468
491
|
/**
|
|
469
492
|
* Opens a card containing the detail of the given row.
|
|
470
|
-
* @param {
|
|
493
|
+
* @param {KupDataTableRow} row - Row for which the detail was requested.
|
|
471
494
|
* @param {number} x - Initial x coordinates of the card.
|
|
472
495
|
* @param {number} y - Initial y coordinates of the card.
|
|
473
496
|
* @private
|
|
@@ -478,10 +501,10 @@ export declare class KupDataTable {
|
|
|
478
501
|
private clickHandler;
|
|
479
502
|
private contextMenuHandler;
|
|
480
503
|
private dblClickHandler;
|
|
481
|
-
getVisibleColumns(): Array<
|
|
504
|
+
getVisibleColumns(): Array<KupDataColumn>;
|
|
482
505
|
getGroupByName(column: string): GroupObject;
|
|
483
|
-
getColumnValues(column:
|
|
484
|
-
getRows(): Array<
|
|
506
|
+
getColumnValues(column: KupDataColumn): ValueDisplayedValue[];
|
|
507
|
+
getRows(): Array<KupDataTableRow>;
|
|
485
508
|
private initRows;
|
|
486
509
|
private filterRows;
|
|
487
510
|
private isGrouping;
|
|
@@ -503,8 +526,8 @@ export declare class KupDataTable {
|
|
|
503
526
|
private onRemoveFilter;
|
|
504
527
|
private getFilterValueForTooltip;
|
|
505
528
|
private onGlobalFilterChange;
|
|
506
|
-
private
|
|
507
|
-
private
|
|
529
|
+
private handlePageChange;
|
|
530
|
+
private handleRowsPerPageChange;
|
|
508
531
|
private onRowClick;
|
|
509
532
|
private selectColumn;
|
|
510
533
|
private deselectColumn;
|
|
@@ -521,7 +544,7 @@ export declare class KupDataTable {
|
|
|
521
544
|
getInternalState(): Promise<{
|
|
522
545
|
groups: GroupObject[];
|
|
523
546
|
filters: GenericFilter;
|
|
524
|
-
data:
|
|
547
|
+
data: KupDataTableDataset;
|
|
525
548
|
}>;
|
|
526
549
|
private onLoadMoreClick;
|
|
527
550
|
private adjustGroupState;
|
|
@@ -539,7 +562,7 @@ export declare class KupDataTable {
|
|
|
539
562
|
* @param sortedColumnIndex - The index where the column will be removed
|
|
540
563
|
*/
|
|
541
564
|
private moveSortedColumns;
|
|
542
|
-
defaultSortingFunction(columns:
|
|
565
|
+
defaultSortingFunction(columns: KupDataColumn[], receivingColumnIndex: number, sortedColumnIndex: number, useNewObject?: boolean): Promise<KupDataColumn[]>;
|
|
543
566
|
private applyLineBreaks;
|
|
544
567
|
/**
|
|
545
568
|
* Given the parameters return the classes and style for each table header cell
|
|
@@ -551,14 +574,13 @@ export declare class KupDataTable {
|
|
|
551
574
|
private renderHeader;
|
|
552
575
|
private renderStickyHeader;
|
|
553
576
|
renderTooltip(): any;
|
|
554
|
-
areTotalsSelected(column:
|
|
577
|
+
areTotalsSelected(column: KupDataColumn): boolean;
|
|
555
578
|
onTotalsChange(event: any, column: any): void;
|
|
556
579
|
private totalMenuPosition;
|
|
557
580
|
private onTotalMenuOpen;
|
|
558
581
|
renderFooter(): any;
|
|
559
582
|
private renderRow;
|
|
560
583
|
private renderActions;
|
|
561
|
-
private renderLoadMoreButton;
|
|
562
584
|
private onCustomSettingsClick;
|
|
563
585
|
private openCustomSettings;
|
|
564
586
|
private closeCustomSettings;
|
|
@@ -567,7 +589,6 @@ export declare class KupDataTable {
|
|
|
567
589
|
private columnRemoveArea;
|
|
568
590
|
private columnGroupArea;
|
|
569
591
|
private hideShowColumnDropArea;
|
|
570
|
-
private handleColumnRemove;
|
|
571
592
|
private handleColumnGroup;
|
|
572
593
|
private transcodeItem;
|
|
573
594
|
private createListData;
|
|
@@ -36,11 +36,9 @@ export declare class KupDatePicker {
|
|
|
36
36
|
* Instance of the KupManager class.
|
|
37
37
|
*/
|
|
38
38
|
private kupManager;
|
|
39
|
-
private calendarView;
|
|
40
39
|
private textfieldEl;
|
|
41
40
|
private pickerContainerEl;
|
|
42
41
|
private pickerEl;
|
|
43
|
-
private pickerOpened;
|
|
44
42
|
private clickCb;
|
|
45
43
|
kupBlur: EventEmitter<KupDatePickerEventPayload>;
|
|
46
44
|
kupChange: EventEmitter<KupDatePickerEventPayload>;
|
|
@@ -53,7 +51,6 @@ export declare class KupDatePicker {
|
|
|
53
51
|
kupClearIconClick: EventEmitter<KupEventPayload>;
|
|
54
52
|
onKupDatePickerItemClick(value: string): void;
|
|
55
53
|
onKupClearIconClick(): void;
|
|
56
|
-
onKupDatePickerMonthYearItemClick(value: string): void;
|
|
57
54
|
onKupBlur(): void;
|
|
58
55
|
onKupChange(e: InputEvent): void;
|
|
59
56
|
onKupClick(): void;
|
|
@@ -103,13 +100,6 @@ export declare class KupDatePicker {
|
|
|
103
100
|
};
|
|
104
101
|
isRelatedTargetInThisComponent(e: any): boolean;
|
|
105
102
|
prepDatePicker(): any;
|
|
106
|
-
createCalendar(): any;
|
|
107
|
-
private createDaysCalendar;
|
|
108
|
-
private createMonthsCalendar;
|
|
109
|
-
private createYearsCalendar;
|
|
110
|
-
private changeView;
|
|
111
|
-
private prevPage;
|
|
112
|
-
private nextPage;
|
|
113
103
|
getDateForOutput(): string;
|
|
114
104
|
componentWillLoad(): void;
|
|
115
105
|
componentDidLoad(): void;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
2
|
+
import { KupEventPayload } from '../../types/GenericTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Props of the kup-echart component.
|
|
5
|
+
* Used to export every prop in an object.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum KupEchartProps {
|
|
8
|
+
axis = "Sets the axis of the chart.",
|
|
9
|
+
chartTitle = "Title of the graph.",
|
|
10
|
+
customStyle = "Custom style of the component.",
|
|
11
|
+
data = "The actual data of the chart.",
|
|
12
|
+
legend = "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.",
|
|
13
|
+
map = "Choose which map you want to view, supported values: \"europe\", \"africa\", \"asia\", \"oceania\", \"america\" and \"world\". It's possible to supply a custom JSON too.",
|
|
14
|
+
series = "The data series to be displayed. They must be of the same type.",
|
|
15
|
+
sizeX = "The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).",
|
|
16
|
+
sizeY = "The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).",
|
|
17
|
+
types = "The type of the chart. Supported formats: Line, Pie, Map, Scatter.",
|
|
18
|
+
xAxis = "Customization options for the x Axis.",
|
|
19
|
+
yAxis = "Customization options for the y Axis."
|
|
20
|
+
}
|
|
21
|
+
export interface KupEchartTitle {
|
|
22
|
+
value: string;
|
|
23
|
+
color?: string;
|
|
24
|
+
position?: string;
|
|
25
|
+
size?: number;
|
|
26
|
+
}
|
|
27
|
+
export declare enum KupEchartLegendPlacement {
|
|
28
|
+
BOTTOM = "bottom",
|
|
29
|
+
LEFT = "left",
|
|
30
|
+
RIGHT = "right",
|
|
31
|
+
TOP = "top"
|
|
32
|
+
}
|
|
33
|
+
export declare enum KupEchartMaps {
|
|
34
|
+
AFRICA = "africa",
|
|
35
|
+
AMERICA = "america",
|
|
36
|
+
ASIA = "asia",
|
|
37
|
+
EUROPE = "europe",
|
|
38
|
+
ITALY = "italy",
|
|
39
|
+
OCEANIA = "oceania",
|
|
40
|
+
WORLD = "world"
|
|
41
|
+
}
|
|
42
|
+
export declare enum KupEchartTypes {
|
|
43
|
+
BAR = "Bar",
|
|
44
|
+
GAUSSIAN = "Gaussian",
|
|
45
|
+
LINE = "Line",
|
|
46
|
+
MAP = "Map",
|
|
47
|
+
PIE = "Pie",
|
|
48
|
+
SCATTER = "Scatter"
|
|
49
|
+
}
|
|
50
|
+
export interface KupEchartClickEventPayload extends KupEventPayload {
|
|
51
|
+
column: KupDataColumn;
|
|
52
|
+
row: KupDataRow;
|
|
53
|
+
x: number | string;
|
|
54
|
+
y: number | string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { GeoJSON } from 'geojson';
|
|
3
|
+
import { XAXisComponentOption, YAXisComponentOption } from 'echarts';
|
|
4
|
+
import { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, KupEchartTitle, KupEchartTypes } from './kup-echart-declarations';
|
|
5
|
+
import { GenericObject } from '../../types/GenericTypes';
|
|
6
|
+
import { KupDataDataset } from '../../managers/kup-data/kup-data-declarations';
|
|
7
|
+
export declare class KupEchart {
|
|
8
|
+
#private;
|
|
9
|
+
/**
|
|
10
|
+
* References the root HTML element of the component (<kup-echart>).
|
|
11
|
+
*/
|
|
12
|
+
rootElement: HTMLElement;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the axis of the chart.
|
|
15
|
+
* @default ""
|
|
16
|
+
*/
|
|
17
|
+
axis: string;
|
|
18
|
+
/**
|
|
19
|
+
* Title of the graph.
|
|
20
|
+
* @default null
|
|
21
|
+
*/
|
|
22
|
+
chartTitle: KupEchartTitle;
|
|
23
|
+
/**
|
|
24
|
+
* Custom style of the component.
|
|
25
|
+
* @default ""
|
|
26
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
27
|
+
*/
|
|
28
|
+
customStyle: string;
|
|
29
|
+
/**
|
|
30
|
+
* The actual data of the chart.
|
|
31
|
+
* @default null
|
|
32
|
+
*/
|
|
33
|
+
data: KupDataDataset;
|
|
34
|
+
/**
|
|
35
|
+
* 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.
|
|
36
|
+
* @default KupEchartLegendPlacement.RIGHT
|
|
37
|
+
*/
|
|
38
|
+
legend: KupEchartLegendPlacement;
|
|
39
|
+
/**
|
|
40
|
+
* 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.
|
|
41
|
+
* @default null
|
|
42
|
+
*/
|
|
43
|
+
map: KupEchartMaps | string | GeoJSON;
|
|
44
|
+
/**
|
|
45
|
+
* The data series to be displayed. They must be of the same type.
|
|
46
|
+
* @default []
|
|
47
|
+
*/
|
|
48
|
+
series: string[];
|
|
49
|
+
/**
|
|
50
|
+
* The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
|
|
51
|
+
* @default "100%"
|
|
52
|
+
*/
|
|
53
|
+
sizeX: string;
|
|
54
|
+
/**
|
|
55
|
+
* The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).
|
|
56
|
+
* @default "100%"
|
|
57
|
+
*/
|
|
58
|
+
sizeY: string;
|
|
59
|
+
/**
|
|
60
|
+
* The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter.
|
|
61
|
+
* @default [KupEchartTypes.LINE]
|
|
62
|
+
*/
|
|
63
|
+
types: KupEchartTypes[];
|
|
64
|
+
/**
|
|
65
|
+
* Customization options for the x Axis.
|
|
66
|
+
* @default null
|
|
67
|
+
*/
|
|
68
|
+
xAxis: XAXisComponentOption;
|
|
69
|
+
/**
|
|
70
|
+
* Customization options for the y Axis.
|
|
71
|
+
* @default null
|
|
72
|
+
*/
|
|
73
|
+
yAxis: YAXisComponentOption;
|
|
74
|
+
kupEchartClick: EventEmitter<KupEchartClickEventPayload>;
|
|
75
|
+
/**
|
|
76
|
+
* Used to retrieve component's props values.
|
|
77
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
78
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
79
|
+
*/
|
|
80
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
81
|
+
/**
|
|
82
|
+
* This method is used to trigger a new render of the component.
|
|
83
|
+
*/
|
|
84
|
+
refresh(): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* This method is invoked by KupManager whenever the component changes size.
|
|
87
|
+
*/
|
|
88
|
+
resizeCallback(): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Sets the props to the component.
|
|
91
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
92
|
+
*/
|
|
93
|
+
setProps(props: GenericObject): Promise<void>;
|
|
94
|
+
componentWillLoad(): void;
|
|
95
|
+
componentDidLoad(): void;
|
|
96
|
+
componentWillRender(): void;
|
|
97
|
+
componentDidRender(): void;
|
|
98
|
+
render(): any;
|
|
99
|
+
disconnectedCallback(): void;
|
|
100
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
2
3
|
import { KupLazyRender } from './kup-lazy-declarations';
|
|
3
4
|
export declare class KupLazy {
|
|
4
5
|
/**
|
|
@@ -41,12 +42,23 @@ export declare class KupLazy {
|
|
|
41
42
|
* Instance of the KupManager class.
|
|
42
43
|
*/
|
|
43
44
|
private kupManager;
|
|
45
|
+
private lazyComponent;
|
|
46
|
+
private lazyComponentLoaded;
|
|
47
|
+
/**
|
|
48
|
+
* Triggered when the component is loaded.
|
|
49
|
+
*/
|
|
50
|
+
kupLazyLoaded: EventEmitter<KupEventPayload>;
|
|
44
51
|
/**
|
|
45
52
|
* Used to retrieve component's props values.
|
|
46
53
|
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
47
54
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
48
55
|
*/
|
|
49
56
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the HTMLElement of the component to lazy load.
|
|
59
|
+
* @returns {HTMLElement} Lazy loaded component.
|
|
60
|
+
*/
|
|
61
|
+
getComponent(): Promise<HTMLElement>;
|
|
50
62
|
/**
|
|
51
63
|
* This method is used to trigger a new render of the component.
|
|
52
64
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KupEventPayload } from '../../types/GenericTypes';
|
|
2
2
|
import { ValueDisplayedValue as vdv } from '../../utils/filters/filters-declarations';
|
|
3
|
-
import { KupObj } from '../../
|
|
3
|
+
import { KupObj } from '../../managers/kup-objects/kup-objects-declarations';
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-list component.
|
|
6
6
|
* Used to export every prop in an object.
|
|
@@ -40,6 +40,7 @@ export declare enum KupListRole {
|
|
|
40
40
|
GROUP = "group"
|
|
41
41
|
}
|
|
42
42
|
export interface ValueDisplayedValue extends vdv {
|
|
43
|
+
exists: boolean;
|
|
43
44
|
}
|
|
44
45
|
export declare enum ItemsDisplayMode {
|
|
45
46
|
CODE = "code",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { KupListData, KupListEventPayload, KupListRole } from './kup-list-declarations';
|
|
3
3
|
import { ItemsDisplayMode } from './kup-list-declarations';
|
|
4
4
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
5
5
|
export declare class KupList {
|
|
6
|
+
#private;
|
|
6
7
|
/**
|
|
7
8
|
* References the root HTML element of the component (<kup-list>).
|
|
8
9
|
*/
|
|
@@ -78,21 +79,13 @@ export declare class KupList {
|
|
|
78
79
|
* @default false
|
|
79
80
|
*/
|
|
80
81
|
twoLine: boolean;
|
|
81
|
-
private filteredItems;
|
|
82
|
-
/**
|
|
83
|
-
* Instance of the KupManager class.
|
|
84
|
-
*/
|
|
85
|
-
private kupManager;
|
|
86
|
-
private radios;
|
|
87
|
-
private listItems;
|
|
88
82
|
kupBlur: EventEmitter<KupEventPayload>;
|
|
89
83
|
kupFocus: EventEmitter<KupEventPayload>;
|
|
90
84
|
kupClick: EventEmitter<KupListEventPayload>;
|
|
91
|
-
onKupBlur(
|
|
92
|
-
onKupFocus(
|
|
85
|
+
onKupBlur(): void;
|
|
86
|
+
onKupFocus(): void;
|
|
93
87
|
onKupClick(index: number): void;
|
|
94
88
|
listenKeydown(e: KeyboardEvent): void;
|
|
95
|
-
watchFilter(): void;
|
|
96
89
|
/**
|
|
97
90
|
* Focuses the next element of the list.
|
|
98
91
|
*/
|
|
@@ -111,11 +104,6 @@ export declare class KupList {
|
|
|
111
104
|
* This method is used to trigger a new render of the component.
|
|
112
105
|
*/
|
|
113
106
|
refresh(): Promise<void>;
|
|
114
|
-
/**
|
|
115
|
-
* Resets filter.
|
|
116
|
-
* @todo FOSLUC to PASCAR: why isn't it enough to change only the prop?
|
|
117
|
-
*/
|
|
118
|
-
resetFilter(newFilter: string): Promise<void>;
|
|
119
107
|
/**
|
|
120
108
|
* Calls handleSelection internal method to select the given item.
|
|
121
109
|
* @param {number} index - Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element.
|
|
@@ -126,25 +114,6 @@ export declare class KupList {
|
|
|
126
114
|
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
127
115
|
*/
|
|
128
116
|
setProps(props: GenericObject): Promise<void>;
|
|
129
|
-
/**
|
|
130
|
-
* Selects the specified item.
|
|
131
|
-
* @param {number} index - Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element.
|
|
132
|
-
*/
|
|
133
|
-
private handleSelection;
|
|
134
|
-
renderSeparator(): any;
|
|
135
|
-
renderListItem(item: KupListData, index: number): VNode[];
|
|
136
|
-
getIconTag(icon: string): any;
|
|
137
|
-
setUnselected(item: KupListData, index: number): void;
|
|
138
|
-
setSelected(item: KupListData, index: number): void;
|
|
139
|
-
sendInfoToSubComponent(index: number, item: KupListData): void;
|
|
140
|
-
getLiIndexElementForValue(key: string): number;
|
|
141
|
-
isSingleSelection(): boolean;
|
|
142
|
-
isMultiSelection(): boolean;
|
|
143
|
-
isCheckBoxRule(): boolean;
|
|
144
|
-
isRadioButtonRule(): boolean;
|
|
145
|
-
isListBoxRule(): boolean;
|
|
146
|
-
checkRoleType(): void;
|
|
147
|
-
itemCompliant(item: KupListData): boolean;
|
|
148
117
|
componentWillLoad(): void;
|
|
149
118
|
componentDidLoad(): void;
|
|
150
119
|
componentWillRender(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Column, Row } from '../kup-data-table/kup-data-table-declarations';
|
|
2
1
|
/**
|
|
3
2
|
* Props of the kup-magic-box component.
|
|
4
3
|
* Used to export every prop in an object.
|
|
@@ -7,19 +6,16 @@ export declare enum KupMagicBoxProps {
|
|
|
7
6
|
customStyle = "Custom style of the component.",
|
|
8
7
|
data = "Sets the data that will be used to display different components."
|
|
9
8
|
}
|
|
10
|
-
/**
|
|
11
|
-
* Data prop of kup-magic-box.
|
|
12
|
-
*/
|
|
13
|
-
export interface MagicBoxData {
|
|
14
|
-
columns: Column[];
|
|
15
|
-
rows: Row[];
|
|
16
|
-
}
|
|
17
9
|
/**
|
|
18
10
|
* Viable display modes selectable in kup-magic-box.
|
|
19
11
|
*/
|
|
20
|
-
export declare enum
|
|
12
|
+
export declare enum KupMagicBoxDisplay {
|
|
21
13
|
BOX = "Box",
|
|
14
|
+
BUTTON_LIST = "Button List",
|
|
22
15
|
CHART = "Chart",
|
|
16
|
+
CHIP = "Chip",
|
|
17
|
+
ECHART = "Echart",
|
|
23
18
|
DATATABLE = "Datatable",
|
|
24
|
-
JSON = "JSON"
|
|
19
|
+
JSON = "JSON",
|
|
20
|
+
TREE = "Tree"
|
|
25
21
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenericObject } from '../../types/GenericTypes';
|
|
2
|
-
import {
|
|
2
|
+
import { KupMagicBoxDisplay } from './kup-magic-box-declarations';
|
|
3
|
+
import { KupDataDataset } from '../../managers/kup-data/kup-data-declarations';
|
|
3
4
|
export declare class KupMagicBox {
|
|
4
5
|
/**
|
|
5
6
|
* References the root HTML element of the component (<kup-magic-box>).
|
|
@@ -7,9 +8,9 @@ export declare class KupMagicBox {
|
|
|
7
8
|
rootElement: HTMLElement;
|
|
8
9
|
/**
|
|
9
10
|
* Data will be displayed using this component.
|
|
10
|
-
* @default
|
|
11
|
+
* @default KupMagicBoxDisplay.DATATABLE
|
|
11
12
|
*/
|
|
12
|
-
display:
|
|
13
|
+
display: KupMagicBoxDisplay;
|
|
13
14
|
/**
|
|
14
15
|
* Custom style of the component.
|
|
15
16
|
* @default ""
|
|
@@ -20,15 +21,10 @@ export declare class KupMagicBox {
|
|
|
20
21
|
* Sets the data that will be used to display different components.
|
|
21
22
|
* @default null
|
|
22
23
|
*/
|
|
23
|
-
data:
|
|
24
|
-
/**
|
|
25
|
-
* Instance of the KupManager class.
|
|
26
|
-
*/
|
|
27
|
-
private kupManager;
|
|
28
|
-
/**
|
|
29
|
-
* Element which enables the drag on move feature.
|
|
30
|
-
*/
|
|
24
|
+
data: KupDataDataset;
|
|
31
25
|
private dragHandler;
|
|
26
|
+
private kupManager;
|
|
27
|
+
private textArea;
|
|
32
28
|
private wrapperRef;
|
|
33
29
|
/**
|
|
34
30
|
* Used to retrieve component's props values.
|
|
@@ -56,10 +56,9 @@ export declare class KupTimePicker {
|
|
|
56
56
|
private hoursActive;
|
|
57
57
|
private minutesActive;
|
|
58
58
|
private secondsActive;
|
|
59
|
+
private textFieldContainerEl;
|
|
59
60
|
private textfieldEl;
|
|
60
|
-
private
|
|
61
|
-
private pickerEl;
|
|
62
|
-
private pickerOpened;
|
|
61
|
+
private pickerKupEl;
|
|
63
62
|
private clickCb;
|
|
64
63
|
kupBlur: EventEmitter<KupTimePickerEventPayload>;
|
|
65
64
|
kupChange: EventEmitter<KupTimePickerEventPayload>;
|
|
@@ -120,12 +119,6 @@ export declare class KupTimePicker {
|
|
|
120
119
|
getPickerElId(): string;
|
|
121
120
|
prepTextfield(initialValue: string): any;
|
|
122
121
|
isRelatedTargetInThisComponent(e: any): boolean;
|
|
123
|
-
private setTimeFromClock;
|
|
124
|
-
private createClock;
|
|
125
|
-
private switchView;
|
|
126
|
-
private setClockViewActive;
|
|
127
|
-
private buildClock;
|
|
128
|
-
private setClockTime;
|
|
129
122
|
prepTimePicker(): any;
|
|
130
123
|
private createTimeListData;
|
|
131
124
|
getTimeForOutput(): string;
|