@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KupDataCell, KupDataColumn, KupDataNode, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
2
|
+
import { GenericMap, KupEventPayload } from '../../types/GenericTypes';
|
|
2
3
|
import { KupCardEventPayload } from '../kup-card/kup-card-declarations';
|
|
3
|
-
import { Cell, CellsHolder, Column, Row, RowAction } from './../kup-data-table/kup-data-table-declarations';
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-tree component.
|
|
6
6
|
* Used to export every prop in an object.
|
|
@@ -39,35 +39,11 @@ export declare enum KupTreeProps {
|
|
|
39
39
|
totals = "Defines the current totals options.",
|
|
40
40
|
useDynamicExpansion = "When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the tree have been passed inside the data property. Therefore, when expanding a node, the tree must emit an event (or run a given callback) and wait for the child nodes to be downloaded from the server."
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
* @constant
|
|
45
|
-
*/
|
|
46
|
-
export declare const treeExpandedPropName = "isExpanded";
|
|
47
|
-
export interface TreeNode {
|
|
48
|
-
data?: GenericObject;
|
|
49
|
-
actions?: Array<RowAction>;
|
|
50
|
-
cells: CellsHolder;
|
|
51
|
-
children: Array<TreeNode>;
|
|
52
|
-
disabled: boolean;
|
|
53
|
-
expandable: boolean;
|
|
54
|
-
icon?: string;
|
|
42
|
+
export interface KupTreeNode extends KupDataNode {
|
|
43
|
+
expandable?: boolean;
|
|
55
44
|
iconColor?: string;
|
|
56
|
-
|
|
57
|
-
obj: {
|
|
58
|
-
t: string;
|
|
59
|
-
p: string;
|
|
60
|
-
k: string;
|
|
61
|
-
};
|
|
62
|
-
options?: boolean;
|
|
63
|
-
readOnly?: boolean;
|
|
64
|
-
style?: {
|
|
65
|
-
[index: string]: string;
|
|
66
|
-
};
|
|
67
|
-
value: string;
|
|
68
|
-
/** used for render or not render node (and children) while filtering */
|
|
45
|
+
style?: GenericMap;
|
|
69
46
|
visible?: boolean;
|
|
70
|
-
[treeExpandedPropName]?: boolean;
|
|
71
47
|
}
|
|
72
48
|
export declare type TreeNodePath = number[];
|
|
73
49
|
/**
|
|
@@ -80,10 +56,10 @@ export declare const treeMainColumnName = "TREE_COLUMN";
|
|
|
80
56
|
*/
|
|
81
57
|
export interface KupTreeEventHandlerDetails {
|
|
82
58
|
area: string;
|
|
83
|
-
cell:
|
|
84
|
-
column:
|
|
59
|
+
cell: KupDataCell;
|
|
60
|
+
column: KupDataColumn;
|
|
85
61
|
filterRemove: HTMLSpanElement;
|
|
86
|
-
row:
|
|
62
|
+
row: KupDataRow;
|
|
87
63
|
td: HTMLElement;
|
|
88
64
|
th: HTMLElement;
|
|
89
65
|
tr: HTMLTableRowElement;
|
|
@@ -94,7 +70,7 @@ export declare enum KupTreeExpansionMode {
|
|
|
94
70
|
}
|
|
95
71
|
export interface KupTreeNodeCollapseEventPayload extends KupEventPayload {
|
|
96
72
|
treeNodePath: TreeNodePath;
|
|
97
|
-
treeNode:
|
|
73
|
+
treeNode: KupDataNode;
|
|
98
74
|
}
|
|
99
75
|
export interface KupTreeNodeExpandEventPayload extends KupTreeNodeCollapseEventPayload {
|
|
100
76
|
usesDynamicExpansion?: boolean;
|
|
@@ -105,7 +81,7 @@ export interface KupTreeNodeSelectedEventPayload extends KupTreeNodeCollapseEven
|
|
|
105
81
|
auto: boolean;
|
|
106
82
|
}
|
|
107
83
|
export interface KupTreeNodeButtonClickEventPayload extends KupTreeNodeCollapseEventPayload {
|
|
108
|
-
column:
|
|
84
|
+
column: KupDataColumn;
|
|
109
85
|
columnName: string;
|
|
110
86
|
auto: boolean;
|
|
111
87
|
}
|
|
@@ -119,6 +95,9 @@ export interface KupTreeColumnMenuEventPayload extends KupEventPayload {
|
|
|
119
95
|
}
|
|
120
96
|
export interface KupTreeDynamicMassExpansionEventPayload extends KupEventPayload {
|
|
121
97
|
treeNodePath?: TreeNodePath;
|
|
122
|
-
treeNode?:
|
|
98
|
+
treeNode?: KupDataNode;
|
|
123
99
|
expandAll?: boolean;
|
|
124
100
|
}
|
|
101
|
+
export interface KupTreeColumnRemoveEventPayload extends KupEventPayload {
|
|
102
|
+
column: KupDataColumn;
|
|
103
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { KupDataColumn } from '../../managers/kup-data/kup-data-declarations';
|
|
2
|
+
import { KupTreeNode, TreeNodePath } from './kup-tree-declarations';
|
|
3
3
|
interface TreeRndNodeGetter {
|
|
4
|
-
selectedTreeNode:
|
|
4
|
+
selectedTreeNode: KupTreeNode | null;
|
|
5
5
|
treeNodePath: TreeNodePath | null;
|
|
6
6
|
}
|
|
7
7
|
export interface FactoryTreeNodeOptions {
|
|
@@ -15,13 +15,13 @@ export interface DynamicExpansionFakerOptions {
|
|
|
15
15
|
useDelay?: number;
|
|
16
16
|
}
|
|
17
17
|
export interface TreeConfigData {
|
|
18
|
-
columns:
|
|
19
|
-
data:
|
|
18
|
+
columns: KupDataColumn[];
|
|
19
|
+
data: KupTreeNode[];
|
|
20
20
|
}
|
|
21
21
|
export declare function getRandomInteger(maximum?: number): number;
|
|
22
|
-
export declare function getTreeNodeFromPath(treeNodes:
|
|
23
|
-
export declare function flattenTree(nodesToFlatten:
|
|
24
|
-
export declare function getRndTreeNode(currentDepthTreeElements:
|
|
22
|
+
export declare function getTreeNodeFromPath(treeNodes: KupTreeNode[], path: TreeNodePath): KupTreeNode | null;
|
|
23
|
+
export declare function flattenTree(nodesToFlatten: KupTreeNode[], useIsExpandedFlag?: boolean): KupTreeNode[];
|
|
24
|
+
export declare function getRndTreeNode(currentDepthTreeElements: KupTreeNode[], treeDepth: number): TreeRndNodeGetter;
|
|
25
25
|
/**
|
|
26
26
|
* Function returning the columns and the data to create and initialize a kup-tree component.
|
|
27
27
|
* @param treeDepth - How many subtree a tree can have.
|
|
@@ -46,8 +46,8 @@ export declare function DynamicExpansionFaker(treeDepth?: number, columnCount?:
|
|
|
46
46
|
treeNode: FactoryTreeNodeOptions;
|
|
47
47
|
dynamicExpansion?: DynamicExpansionFakerOptions;
|
|
48
48
|
}): {
|
|
49
|
-
data:
|
|
50
|
-
columns:
|
|
49
|
+
data: KupTreeNode[];
|
|
50
|
+
columns: KupDataColumn[];
|
|
51
51
|
getTreeNodeChildren(nodePath?: TreeNodePath): Promise<unknown>;
|
|
52
52
|
treeDataSource: TreeConfigData;
|
|
53
53
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { TotalsMap } from './../kup-data-table/kup-data-table-declarations';
|
|
3
|
+
import { TreeNodePath, KupTreeNodeCollapseEventPayload, KupTreeNodeExpandEventPayload, KupTreeNodeSelectedEventPayload, KupTreeNodeButtonClickEventPayload, KupTreeContextMenuEventPayload, KupTreeColumnMenuEventPayload, KupTreeDynamicMassExpansionEventPayload, KupTreeExpansionMode, KupTreeColumnRemoveEventPayload, KupTreeNode } from './kup-tree-declarations';
|
|
4
4
|
import { KupTreeState } from './kup-tree-state';
|
|
5
5
|
import { KupStore } from '../kup-state/kup-store';
|
|
6
6
|
import { GenericFilter, KupGlobalFilterMode, ValueDisplayedValue } from '../../utils/filters/filters-declarations';
|
|
7
7
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
8
8
|
import { FCellPadding } from '../../f-components/f-cell/f-cell-declarations';
|
|
9
|
+
import { KupDataColumn, KupDataDataset, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
9
10
|
export declare class KupTree {
|
|
10
11
|
/**
|
|
11
12
|
* References the root HTML element of the component (<kup-tree>).
|
|
@@ -34,7 +35,7 @@ export declare class KupTree {
|
|
|
34
35
|
/**
|
|
35
36
|
* The columns of the tree when tree visualization is active.
|
|
36
37
|
*/
|
|
37
|
-
columns?:
|
|
38
|
+
columns?: KupDataColumn[];
|
|
38
39
|
/**
|
|
39
40
|
* Custom style of the component.
|
|
40
41
|
* @default ""
|
|
@@ -44,7 +45,7 @@ export declare class KupTree {
|
|
|
44
45
|
/**
|
|
45
46
|
* The json data used to populate the tree view: the basic, always visible tree nodes.
|
|
46
47
|
*/
|
|
47
|
-
data:
|
|
48
|
+
data: KupTreeNode[];
|
|
48
49
|
/**
|
|
49
50
|
* The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.
|
|
50
51
|
*/
|
|
@@ -60,7 +61,7 @@ export declare class KupTree {
|
|
|
60
61
|
*
|
|
61
62
|
* @see useDynamicExpansion
|
|
62
63
|
*/
|
|
63
|
-
dynamicExpansionCallback: (treeNodeToExpand:
|
|
64
|
+
dynamicExpansionCallback: (treeNodeToExpand: KupTreeNode, treeNodePath: TreeNodePath) => Promise<KupTreeNode[]> | undefined;
|
|
64
65
|
/**
|
|
65
66
|
* When set to true, editable cells will be rendered using input components.
|
|
66
67
|
* @default false
|
|
@@ -204,7 +205,7 @@ export declare class KupTree {
|
|
|
204
205
|
*/
|
|
205
206
|
private resizeTimeout;
|
|
206
207
|
/**
|
|
207
|
-
* Fired when a
|
|
208
|
+
* Fired when a KupTreeNode gets collapsed (closed).
|
|
208
209
|
*/
|
|
209
210
|
kupTreeNodeCollapse: EventEmitter<KupTreeNodeCollapseEventPayload>;
|
|
210
211
|
/**
|
|
@@ -213,10 +214,10 @@ export declare class KupTree {
|
|
|
213
214
|
* @event kup-tree-nodeexpand
|
|
214
215
|
* @type {object}
|
|
215
216
|
* @property {TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop.
|
|
216
|
-
* @property {
|
|
217
|
+
* @property {KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop).
|
|
217
218
|
* @property {boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode.
|
|
218
219
|
* @property {boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event
|
|
219
|
-
* requires the parent component to add
|
|
220
|
+
* requires the parent component to add KupTreeNode children to the given KupTreeNode.
|
|
220
221
|
* @see useDynamicExpansion
|
|
221
222
|
* @see dynamicExpansionCallback
|
|
222
223
|
* @since 1.0.0
|
|
@@ -242,7 +243,11 @@ export declare class KupTree {
|
|
|
242
243
|
kupDidUnload: EventEmitter<KupEventPayload>;
|
|
243
244
|
kupTreeNodeDblClick: EventEmitter<KupTreeNodeCollapseEventPayload>;
|
|
244
245
|
kupTreeDynamicMassExpansion: EventEmitter<KupTreeDynamicMassExpansionEventPayload>;
|
|
245
|
-
|
|
246
|
+
/**
|
|
247
|
+
* Event fired when columns are removed (set to hidden).
|
|
248
|
+
*/
|
|
249
|
+
kupColumnRemove: EventEmitter<KupTreeColumnRemoveEventPayload>;
|
|
250
|
+
enrichDataWhenChanged(newData: KupTreeNode[] | KupDataDataset, oldData: KupTreeNode[]): void;
|
|
246
251
|
enrichStructureStateWhenChanged(newValue: any, oldValue: any): void;
|
|
247
252
|
selectedNodeToStr(newData: any): void;
|
|
248
253
|
/**
|
|
@@ -267,6 +272,11 @@ export declare class KupTree {
|
|
|
267
272
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
268
273
|
*/
|
|
269
274
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
275
|
+
/**
|
|
276
|
+
* Hides the given column.
|
|
277
|
+
* @param {KupDataColumn} column - Column to hide.
|
|
278
|
+
*/
|
|
279
|
+
hideColumn(column: KupDataColumn): Promise<void>;
|
|
270
280
|
/**
|
|
271
281
|
* Opens the column menu of the given column.
|
|
272
282
|
* @param {string} column - Name of the column.
|
|
@@ -288,23 +298,23 @@ export declare class KupTree {
|
|
|
288
298
|
setTreeColumnVisibility(value: boolean): void;
|
|
289
299
|
isTreeColumnVisible(): boolean;
|
|
290
300
|
private checkScrollOnHover;
|
|
291
|
-
onKupTreeNodeDblClick(treeNodeData:
|
|
292
|
-
nodesToRows():
|
|
301
|
+
onKupTreeNodeDblClick(treeNodeData: KupTreeNode, treeNodePath: string): void;
|
|
302
|
+
nodesToRows(): KupDataRow[];
|
|
293
303
|
private setDynPosElements;
|
|
294
|
-
expandCollapseNode(treeNode:
|
|
295
|
-
expandCollapseAllNodes(treeNode:
|
|
296
|
-
getColumns(): Array<
|
|
304
|
+
expandCollapseNode(treeNode: KupTreeNode, expandNode?: boolean): void;
|
|
305
|
+
expandCollapseAllNodes(treeNode: KupTreeNode, expandNode?: boolean): void;
|
|
306
|
+
getColumns(): Array<KupDataColumn>;
|
|
297
307
|
private getSizedColumns;
|
|
298
|
-
getVisibleColumns(): Array<
|
|
299
|
-
getHeadingColumns(): Array<
|
|
300
|
-
launchNodeEvent(treeNodePath: TreeNodePath, treeNode:
|
|
308
|
+
getVisibleColumns(): Array<KupDataColumn>;
|
|
309
|
+
getHeadingColumns(): Array<KupDataColumn>;
|
|
310
|
+
launchNodeEvent(treeNodePath: TreeNodePath, treeNode: KupTreeNode): void;
|
|
301
311
|
private openTotalMenu;
|
|
302
312
|
private closeMenuAndTooltip;
|
|
303
313
|
private onTotalMenuOpen;
|
|
304
314
|
private getEventDetails;
|
|
305
315
|
private contextMenuHandler;
|
|
306
|
-
hdlTreeNodeClick(e: MouseEvent, treeNodeData:
|
|
307
|
-
hdlTreeNodeExpanderClick(treeNodeData:
|
|
316
|
+
hdlTreeNodeClick(e: MouseEvent, treeNodeData: KupTreeNode, treeNodePath: string, auto: boolean): void;
|
|
317
|
+
hdlTreeNodeExpanderClick(treeNodeData: KupTreeNode, treeNodePath: string, ctrlKey: boolean): void;
|
|
308
318
|
private hasTotals;
|
|
309
319
|
private handleChildren;
|
|
310
320
|
/**
|
|
@@ -317,8 +327,8 @@ export declare class KupTree {
|
|
|
317
327
|
onGlobalFilterChange({ detail }: {
|
|
318
328
|
detail: any;
|
|
319
329
|
}): void;
|
|
320
|
-
getColumnValues(column:
|
|
321
|
-
getRows(): Array<
|
|
330
|
+
getColumnValues(column: KupDataColumn): ValueDisplayedValue[];
|
|
331
|
+
getRows(): Array<KupTreeNode>;
|
|
322
332
|
private filterNodes;
|
|
323
333
|
private calculateVisibleNodes;
|
|
324
334
|
private refreshStructureState;
|
|
@@ -341,14 +351,14 @@ export declare class KupTree {
|
|
|
341
351
|
*/
|
|
342
352
|
private renderHighlightedContent;
|
|
343
353
|
/**
|
|
344
|
-
* Given a
|
|
345
|
-
* @param treeNodeData - The
|
|
346
|
-
* @param treeNodePath - A string containing the comma(,) separated indexes of the
|
|
347
|
-
* sorted from left to right, to access the current
|
|
348
|
-
* @param treeNodeDepth - An integer to keep track of the depth level of the current
|
|
354
|
+
* Given a KupTreeNode, reads through its data then composes and returns its JSX object.
|
|
355
|
+
* @param treeNodeData - The KupTreeNode object to parse.
|
|
356
|
+
* @param treeNodePath - A string containing the comma(,) separated indexes of the KupTreeNodes to use,
|
|
357
|
+
* sorted from left to right, to access the current KupTreeNode starting from the data prop children object.
|
|
358
|
+
* @param treeNodeDepth - An integer to keep track of the depth level of the current KupTreeNode. Used for indentation.
|
|
349
359
|
* @returns The the JSX created from the current tree node.
|
|
350
360
|
*/
|
|
351
|
-
renderTreeNode(treeNodeData:
|
|
361
|
+
renderTreeNode(treeNodeData: KupTreeNode, treeNodePath: string, treeNodeDepth?: number): JSX.Element;
|
|
352
362
|
private closeTotalMenu;
|
|
353
363
|
private isOpenedTotalMenuForColumn;
|
|
354
364
|
onTotalsChange(event: any, column: any): void;
|
|
@@ -356,15 +366,15 @@ export declare class KupTree {
|
|
|
356
366
|
didLoadInteractables(): void;
|
|
357
367
|
private totalMenuPosition;
|
|
358
368
|
/**
|
|
359
|
-
* Given a
|
|
360
|
-
* and its children nodes, composing an array of JSX
|
|
361
|
-
* @param treeNodeData - The
|
|
362
|
-
* @param treeNodePath - A string containing the comma(,) separated indexes of the
|
|
363
|
-
* sorted from left to right, to access the current
|
|
364
|
-
* @param treeNodeDepth - An integer to keep track of the depth level of the current
|
|
365
|
-
* @returns An array of JSX
|
|
369
|
+
* Given a KupTreeNode, reads through its data to compose and return the KupTreeNodes of the root of this KupTreeNode
|
|
370
|
+
* and its children nodes, composing an array of JSX KupTreeNodes.
|
|
371
|
+
* @param treeNodeData - The KupTreeNode object to parse.
|
|
372
|
+
* @param treeNodePath - A string containing the comma(,) separated indexes of the KupTreeNodes to use,
|
|
373
|
+
* sorted from left to right, to access the current KupTreeNode starting from the data prop children object.
|
|
374
|
+
* @param treeNodeDepth - An integer to keep track of the depth level of the current KupTreeNode. Used for indentation.
|
|
375
|
+
* @returns An array of JSX KupTreeNodes created from the given treeNodeData.
|
|
366
376
|
*/
|
|
367
|
-
renderTree(treeNodeData:
|
|
377
|
+
renderTree(treeNodeData: KupTreeNode, treeNodePath: string, treeNodeDepth?: number): JSX.Element[];
|
|
368
378
|
private setEllipsis;
|
|
369
379
|
componentWillLoad(): void;
|
|
370
380
|
componentDidLoad(): void;
|