@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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KupDataColumn } from '../../managers/kup-data/kup-data-declarations';
|
|
2
2
|
import { KupEventPayload } from '../../types/GenericTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Props of the kup-accordion component.
|
|
@@ -13,7 +13,7 @@ export declare enum KupAccordionProps {
|
|
|
13
13
|
* Data of the accordion.
|
|
14
14
|
*/
|
|
15
15
|
export interface KupAccordionData {
|
|
16
|
-
columns:
|
|
16
|
+
columns: KupDataColumn[];
|
|
17
17
|
}
|
|
18
18
|
export interface KupAccordionItemSelectedEventPayload extends KupEventPayload {
|
|
19
19
|
itemName: string;
|
|
@@ -4,11 +4,13 @@ import { KupEventPayload } from '../../types/GenericTypes';
|
|
|
4
4
|
* Used to export every prop in an object.
|
|
5
5
|
*/
|
|
6
6
|
export declare enum KupAutocompleteProps {
|
|
7
|
+
allowInconsistentValues = "When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list.",
|
|
7
8
|
customStyle = "Custom style of the component.",
|
|
8
9
|
data = "Props of the sub-components.",
|
|
9
10
|
disabled = "Defaults at false. When set to true, the component is disabled.",
|
|
10
11
|
displayMode = "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\".",
|
|
11
12
|
initialValue = "Sets the initial value of the component.",
|
|
13
|
+
inputDelay = "Input event emission delay in milliseconds.",
|
|
12
14
|
minimumChars = "The minimum number of chars to trigger the autocomplete.",
|
|
13
15
|
selectMode = "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\".",
|
|
14
16
|
serverHandledFilter = "When true, the items filter is managed server side, otherwise items filter is done client side.",
|
|
@@ -24,4 +26,8 @@ export declare enum KupAutocompleteDisplayMode {
|
|
|
24
26
|
}
|
|
25
27
|
export interface KupAutocompleteEventPayload extends KupEventPayload {
|
|
26
28
|
value: any;
|
|
29
|
+
inputValue: any;
|
|
30
|
+
}
|
|
31
|
+
export interface KupAutocompleteIconClickEventPayload extends KupAutocompleteEventPayload {
|
|
32
|
+
open: boolean;
|
|
27
33
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { GenericObject } from '../../types/GenericTypes';
|
|
3
|
-
import { KupAutocompleteEventPayload } from './kup-autocomplete-declarations';
|
|
4
|
-
import { ItemsDisplayMode } from '../kup-list/kup-list-declarations';
|
|
3
|
+
import { KupAutocompleteEventPayload, KupAutocompleteIconClickEventPayload } from './kup-autocomplete-declarations';
|
|
4
|
+
import { ItemsDisplayMode, KupListEventPayload } from '../kup-list/kup-list-declarations';
|
|
5
5
|
export declare class KupAutocomplete {
|
|
6
6
|
/**
|
|
7
7
|
* References the root HTML element of the component (<kup-autocomplete>).
|
|
@@ -9,6 +9,11 @@ export declare class KupAutocomplete {
|
|
|
9
9
|
rootElement: HTMLElement;
|
|
10
10
|
displayedValue: string;
|
|
11
11
|
value: string;
|
|
12
|
+
/**
|
|
13
|
+
* When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
allowInconsistentValues: boolean;
|
|
12
17
|
/**
|
|
13
18
|
* Custom style of the component.
|
|
14
19
|
* @default ""
|
|
@@ -17,34 +22,47 @@ export declare class KupAutocomplete {
|
|
|
17
22
|
customStyle: string;
|
|
18
23
|
/**
|
|
19
24
|
* Props of the sub-components.
|
|
25
|
+
* @default undefined
|
|
20
26
|
*/
|
|
21
27
|
data: Object;
|
|
22
28
|
/**
|
|
23
29
|
* Defaults at false. When set to true, the component is disabled.
|
|
30
|
+
* @default false
|
|
24
31
|
*/
|
|
25
32
|
disabled: boolean;
|
|
26
33
|
/**
|
|
27
34
|
* Sets how to show the selected item value. Suported values: "code", "description", "both".
|
|
35
|
+
* @default ItemsDisplayMode.DESCRIPTION
|
|
28
36
|
*/
|
|
29
37
|
displayMode: ItemsDisplayMode;
|
|
30
38
|
/**
|
|
31
39
|
* Sets the initial value of the component.
|
|
40
|
+
* @default ""
|
|
32
41
|
*/
|
|
33
42
|
initialValue: string;
|
|
43
|
+
/**
|
|
44
|
+
* Input event emission delay in milliseconds.
|
|
45
|
+
* @default 300
|
|
46
|
+
*/
|
|
47
|
+
inputDelay: number;
|
|
34
48
|
/**
|
|
35
49
|
* The minimum number of chars to trigger the autocomplete
|
|
50
|
+
* @default 1
|
|
36
51
|
*/
|
|
37
52
|
minimumChars: number;
|
|
38
53
|
/**
|
|
39
54
|
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
55
|
+
* @default ItemsDisplayMode.CODE
|
|
40
56
|
*/
|
|
41
57
|
selectMode: ItemsDisplayMode;
|
|
42
58
|
/**
|
|
43
59
|
* When true, the items filter is managed server side, otherwise items filter is done client side.
|
|
60
|
+
* @default false
|
|
44
61
|
*/
|
|
45
62
|
serverHandledFilter: boolean;
|
|
46
63
|
/**
|
|
47
64
|
* When true shows the drop-down icon, for open list.
|
|
65
|
+
* @default true
|
|
48
66
|
*/
|
|
49
67
|
showDropDownIcon: boolean;
|
|
50
68
|
private doConsistencyCheck;
|
|
@@ -57,32 +75,21 @@ export declare class KupAutocomplete {
|
|
|
57
75
|
private textfieldWrapper;
|
|
58
76
|
private textfieldEl;
|
|
59
77
|
private clickCb;
|
|
78
|
+
private inputTimeout;
|
|
60
79
|
kupBlur: EventEmitter<KupAutocompleteEventPayload>;
|
|
61
80
|
kupChange: EventEmitter<KupAutocompleteEventPayload>;
|
|
62
81
|
kupClick: EventEmitter<KupAutocompleteEventPayload>;
|
|
63
82
|
kupFocus: EventEmitter<KupAutocompleteEventPayload>;
|
|
64
83
|
kupInput: EventEmitter<KupAutocompleteEventPayload>;
|
|
65
|
-
kupIconClick: EventEmitter<
|
|
84
|
+
kupIconClick: EventEmitter<KupAutocompleteIconClickEventPayload>;
|
|
66
85
|
kupItemClick: EventEmitter<KupAutocompleteEventPayload>;
|
|
67
|
-
onKupBlur(
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
target: HTMLInputElement;
|
|
75
|
-
}): void;
|
|
76
|
-
onKupFocus(e: UIEvent & {
|
|
77
|
-
target: HTMLInputElement;
|
|
78
|
-
}): void;
|
|
79
|
-
onKupInput(e: UIEvent & {
|
|
80
|
-
target: HTMLInputElement;
|
|
81
|
-
}): void;
|
|
82
|
-
onKupIconClick(event: MouseEvent & {
|
|
83
|
-
target: HTMLInputElement;
|
|
84
|
-
}): void;
|
|
85
|
-
onKupItemClick(e: CustomEvent): void;
|
|
86
|
+
onKupBlur(): void;
|
|
87
|
+
onKupChange(value: string): void;
|
|
88
|
+
onKupClick(): void;
|
|
89
|
+
onKupFocus(): void;
|
|
90
|
+
onKupInput(): void;
|
|
91
|
+
onKupIconClick(): void;
|
|
92
|
+
onKupItemClick(e: CustomEvent<KupListEventPayload>): void;
|
|
86
93
|
listenKeydown(e: KeyboardEvent): void;
|
|
87
94
|
/**
|
|
88
95
|
* Used to retrieve component's props values.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cell, Column, RowAction } from '../kup-data-table/kup-data-table-declarations';
|
|
2
1
|
import { KupBadge } from '../kup-badge/kup-badge';
|
|
3
|
-
import {
|
|
2
|
+
import { KupEventPayload } from '../../types/GenericTypes';
|
|
4
3
|
import { FCellShapes } from '../../f-components/f-cell/f-cell-declarations';
|
|
4
|
+
import { KupDataCell, KupDataColumn, KupDataRow, KupDataRowAction } from '../../managers/kup-data/kup-data-declarations';
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
7
7
|
* Used to export every prop in an object.
|
|
@@ -39,14 +39,10 @@ export declare enum KupBoxProps {
|
|
|
39
39
|
tooltipLoadTimeout = "Defines the timeout for tooltip load."
|
|
40
40
|
}
|
|
41
41
|
export interface KupBoxData {
|
|
42
|
-
columns?:
|
|
42
|
+
columns?: KupDataColumn[];
|
|
43
43
|
rows?: KupBoxRow[];
|
|
44
44
|
}
|
|
45
|
-
export interface KupBoxRow extends
|
|
46
|
-
cells: {
|
|
47
|
-
[index: string]: Cell;
|
|
48
|
-
};
|
|
49
|
-
actions?: Array<RowAction>;
|
|
45
|
+
export interface KupBoxRow extends KupDataRow {
|
|
50
46
|
layout?: KupBoxLayout;
|
|
51
47
|
badgeData?: KupBadge[];
|
|
52
48
|
}
|
|
@@ -91,8 +87,8 @@ export interface KupBoxKanban {
|
|
|
91
87
|
*/
|
|
92
88
|
export interface KupBoxEventHandlerDetails {
|
|
93
89
|
boxObject: HTMLElement;
|
|
94
|
-
cell:
|
|
95
|
-
column:
|
|
90
|
+
cell: KupDataCell;
|
|
91
|
+
column: KupDataColumn;
|
|
96
92
|
row: KupBoxRow;
|
|
97
93
|
}
|
|
98
94
|
export interface KupBoxClickEventPayload extends KupEventPayload {
|
|
@@ -107,7 +103,7 @@ export interface KupBoxAutoSelectEventPayload extends KupEventPayload {
|
|
|
107
103
|
}
|
|
108
104
|
export interface KupBoxRowActionClickEventPayload extends KupEventPayload {
|
|
109
105
|
row: KupBoxRow;
|
|
110
|
-
action:
|
|
106
|
+
action: KupDataRowAction;
|
|
111
107
|
index: number;
|
|
112
108
|
}
|
|
113
109
|
export interface KupBoxContextMenuEventPayload extends KupEventPayload {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from '../../stencil-public-runtime';
|
|
2
|
-
import { RowAction } from '../kup-data-table/kup-data-table-declarations';
|
|
3
2
|
import { KupBoxRow, KupBoxLayout, KupBoxKanban, KupBoxClickEventPayload, KupBoxSelectedEventPayload, KupBoxAutoSelectEventPayload, KupBoxRowActionClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData } from './kup-box-declarations';
|
|
4
3
|
import { KupBoxState } from './kup-box-state';
|
|
5
4
|
import { KupStore } from '../kup-state/kup-store';
|
|
6
5
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
6
|
+
import { KupDataRowAction } from '../../managers/kup-data/kup-data-declarations';
|
|
7
7
|
export declare class KupBox {
|
|
8
8
|
/**
|
|
9
9
|
* References the root HTML element of the component (<kup-box>).
|
|
@@ -226,7 +226,7 @@ export declare class KupBox {
|
|
|
226
226
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
227
227
|
*/
|
|
228
228
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
229
|
-
loadRowActions(row: KupBoxRow, actions:
|
|
229
|
+
loadRowActions(row: KupBoxRow, actions: KupDataRowAction[]): Promise<void>;
|
|
230
230
|
/**
|
|
231
231
|
* This method is used to trigger a new render of the component.
|
|
232
232
|
*/
|
|
@@ -263,8 +263,8 @@ export declare class KupBox {
|
|
|
263
263
|
* see onDocumentClick in kup-combo
|
|
264
264
|
*/
|
|
265
265
|
private clickFunction;
|
|
266
|
-
private
|
|
267
|
-
private
|
|
266
|
+
private handlePageChange;
|
|
267
|
+
private handleRowsPerPageChange;
|
|
268
268
|
private adjustPaginator;
|
|
269
269
|
private renderSectionAsCard;
|
|
270
270
|
private renderRow;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KupDataNode } from '../../managers/kup-data/kup-data-declarations';
|
|
2
|
+
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
2
3
|
/**
|
|
3
4
|
* Props of the kup-button-list component.
|
|
4
5
|
* Used to export every prop in an object.
|
|
@@ -11,6 +12,10 @@ export declare enum KupButtonListProps {
|
|
|
11
12
|
showSelection = "When set to true, highlights the selected button with the secondary color of KupTheme.",
|
|
12
13
|
styling = "Defines the style of the buttons. Available styles are \"flat\", \"outlined\" and \"raised\" (which is the default)."
|
|
13
14
|
}
|
|
15
|
+
export interface KupButtonListNode extends KupDataNode {
|
|
16
|
+
children?: KupButtonListNode[];
|
|
17
|
+
data?: GenericObject;
|
|
18
|
+
}
|
|
14
19
|
export interface KupButtonListClickEventPayload extends KupEventPayload {
|
|
15
20
|
index: string;
|
|
16
21
|
subIndex: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import type { GenericObject } from '../../types/GenericTypes';
|
|
3
3
|
import { FButtonStyling } from '../../f-components/f-button/f-button-declarations';
|
|
4
|
-
import { KupButtonListClickEventPayload } from './kup-button-list-declarations';
|
|
5
|
-
import {
|
|
4
|
+
import { KupButtonListClickEventPayload, KupButtonListNode } from './kup-button-list-declarations';
|
|
5
|
+
import { KupDataDataset } from '../../managers/kup-data/kup-data-declarations';
|
|
6
6
|
export declare class KupButtonList {
|
|
7
7
|
/**
|
|
8
8
|
* References the root HTML element of the component (<kup-button-list>).
|
|
@@ -28,7 +28,7 @@ export declare class KupButtonList {
|
|
|
28
28
|
* Props of the sub-components.
|
|
29
29
|
* @default []
|
|
30
30
|
*/
|
|
31
|
-
data:
|
|
31
|
+
data: KupButtonListNode[];
|
|
32
32
|
/**
|
|
33
33
|
* When set to true, the sub-components are disabled.
|
|
34
34
|
* @default false
|
|
@@ -51,6 +51,7 @@ export declare class KupButtonList {
|
|
|
51
51
|
kupClick: EventEmitter<KupButtonListClickEventPayload>;
|
|
52
52
|
onKupClick(index: string, subIndex: string): void;
|
|
53
53
|
onDropDownItemClick(e: CustomEvent, index: string): void;
|
|
54
|
+
checkDataset(newData: KupButtonListNode[] | KupDataDataset): void;
|
|
54
55
|
/**
|
|
55
56
|
* Used to retrieve component's props values.
|
|
56
57
|
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -1,21 +1,14 @@
|
|
|
1
|
+
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
1
2
|
import { KupEventPayload } from '../../types/GenericTypes';
|
|
2
|
-
import { Row } from '../kup-data-table/kup-data-table-declarations';
|
|
3
3
|
/**
|
|
4
4
|
* Props of the kup-calendar component.
|
|
5
5
|
* Used to export every prop in an object.
|
|
6
6
|
*/
|
|
7
7
|
export declare enum KupCalendarProps {
|
|
8
|
+
currentDate = "Sets the date of the calendar. Must be in ISO format (YYYY-MM-DD).",
|
|
8
9
|
customStyle = "Custom style of the component.",
|
|
9
10
|
data = " Actual data of the calendar.",
|
|
10
|
-
dateCol = "Column containing events' dates.",
|
|
11
|
-
descrCol = "Column containing events' descriptions.",
|
|
12
|
-
endCol = "Column containing events' ending time.",
|
|
13
11
|
hideNavigation = "When disabled, the navigation toolbar won't be displayed.",
|
|
14
|
-
iconCol = "Column containing events' icons. There can be multiple icons, divided by ';'.",
|
|
15
|
-
imageCol = "Column containing events' images. There can be multiple images, divided by ';'.",
|
|
16
|
-
initialDate = "Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).",
|
|
17
|
-
startCol = "Column containing events' starting time.",
|
|
18
|
-
styleCol = "Column containing events' CSS styles.",
|
|
19
12
|
viewType = "Type of the view."
|
|
20
13
|
}
|
|
21
14
|
/**
|
|
@@ -27,11 +20,36 @@ export declare enum KupCalendarViewTypes {
|
|
|
27
20
|
MONTH = "dayGridMonth",
|
|
28
21
|
WEEK = "timeGridWeek"
|
|
29
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Available view types.
|
|
25
|
+
*/
|
|
26
|
+
export declare enum KupCalendarOptions {
|
|
27
|
+
DATE = "date",
|
|
28
|
+
DESCR = "descr",
|
|
29
|
+
END = "end",
|
|
30
|
+
ICON = "icon",
|
|
31
|
+
IMAGE = "image",
|
|
32
|
+
START = "start",
|
|
33
|
+
STYLE = "style"
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Calendar column.
|
|
37
|
+
*/
|
|
38
|
+
export interface KupCalendarColumn extends KupDataColumn {
|
|
39
|
+
calendarOption: KupCalendarOptions;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Dataset of the calendar.
|
|
43
|
+
*/
|
|
44
|
+
export interface KupCalendarData {
|
|
45
|
+
columns: KupCalendarColumn[];
|
|
46
|
+
rows: KupDataRow[];
|
|
47
|
+
}
|
|
30
48
|
/**
|
|
31
49
|
* Events payload.
|
|
32
50
|
*/
|
|
33
51
|
export interface KupCalendarEventClickEventPayload extends KupEventPayload {
|
|
34
|
-
row:
|
|
52
|
+
row: KupDataRow;
|
|
35
53
|
}
|
|
36
54
|
export interface KupCalendarDateClickEventPayload extends KupEventPayload {
|
|
37
55
|
date: Date;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { TableData } from '../kup-data-table/kup-data-table-declarations';
|
|
3
2
|
import { GenericObject } from '../../types/GenericTypes';
|
|
4
|
-
import { KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
|
|
3
|
+
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
|
|
5
4
|
export declare class KupCalendar {
|
|
6
5
|
/**
|
|
7
6
|
* References the root HTML element of the component (<kup-button>).
|
|
8
7
|
*/
|
|
9
8
|
rootElement: HTMLElement;
|
|
9
|
+
/**
|
|
10
|
+
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
11
|
+
* @default null
|
|
12
|
+
*/
|
|
13
|
+
currentDate: string;
|
|
10
14
|
/**
|
|
11
15
|
* Custom style of the component.
|
|
12
16
|
* @default ""
|
|
@@ -17,52 +21,12 @@ export declare class KupCalendar {
|
|
|
17
21
|
* Actual data of the calendar.
|
|
18
22
|
* @default null
|
|
19
23
|
*/
|
|
20
|
-
data:
|
|
21
|
-
/**
|
|
22
|
-
* Column containing events' dates.
|
|
23
|
-
* @default null
|
|
24
|
-
*/
|
|
25
|
-
dateCol: string;
|
|
26
|
-
/**
|
|
27
|
-
* Column containing events' descriptions.
|
|
28
|
-
* @default null
|
|
29
|
-
*/
|
|
30
|
-
descrCol: string;
|
|
31
|
-
/**
|
|
32
|
-
* Column containing events' ending time.
|
|
33
|
-
* @default null
|
|
34
|
-
*/
|
|
35
|
-
endCol: string;
|
|
24
|
+
data: KupCalendarData;
|
|
36
25
|
/**
|
|
37
26
|
* When disabled, the navigation toolbar won't be displayed.
|
|
38
27
|
* @default false
|
|
39
28
|
*/
|
|
40
29
|
hideNavigation: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Column containing events' icons. There can be multiple icons, divided by ";".
|
|
43
|
-
* @default null
|
|
44
|
-
*/
|
|
45
|
-
iconCol: string;
|
|
46
|
-
/**
|
|
47
|
-
* Column containing events' images. There can be multiple images, divided by ";".
|
|
48
|
-
* @default null
|
|
49
|
-
*/
|
|
50
|
-
imageCol: string;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
53
|
-
* @default null
|
|
54
|
-
*/
|
|
55
|
-
initialDate: string;
|
|
56
|
-
/**
|
|
57
|
-
* Column containing events' starting time.
|
|
58
|
-
* @default null
|
|
59
|
-
*/
|
|
60
|
-
startCol: string;
|
|
61
|
-
/**
|
|
62
|
-
* Column containing events' CSS styles.
|
|
63
|
-
* @default null
|
|
64
|
-
*/
|
|
65
|
-
styleCol: string;
|
|
66
30
|
/**
|
|
67
31
|
* Type of the view.
|
|
68
32
|
* @default KupCalendarViewTypes.MONTH
|
|
@@ -73,22 +37,30 @@ export declare class KupCalendar {
|
|
|
73
37
|
private kupManager;
|
|
74
38
|
private navTitle;
|
|
75
39
|
private resizeTimeout;
|
|
40
|
+
private dateCol;
|
|
41
|
+
private descrCol;
|
|
42
|
+
private endCol;
|
|
43
|
+
private iconCol;
|
|
44
|
+
private imageCol;
|
|
45
|
+
private startCol;
|
|
46
|
+
private styleCol;
|
|
76
47
|
/**
|
|
77
48
|
* When an event is clicked.
|
|
78
49
|
*/
|
|
79
|
-
|
|
50
|
+
kupCalendarEventClick: EventEmitter<KupCalendarEventClickEventPayload>;
|
|
80
51
|
/**
|
|
81
52
|
* When a date is clicked.
|
|
82
53
|
*/
|
|
83
|
-
|
|
54
|
+
kupCalendarDateClick: EventEmitter<KupCalendarDateClickEventPayload>;
|
|
84
55
|
/**
|
|
85
56
|
* When a date is dropped.
|
|
86
57
|
*/
|
|
87
|
-
|
|
58
|
+
kupCalendarEventDrop: EventEmitter<KupCalendarEventDropEventPayload>;
|
|
88
59
|
/**
|
|
89
60
|
* When the navigation change
|
|
90
61
|
*/
|
|
91
|
-
|
|
62
|
+
kupCalendarViewChange: EventEmitter<KupCalendarViewChangeEventPayload>;
|
|
63
|
+
setCalendarData(): void;
|
|
92
64
|
/**
|
|
93
65
|
* Used to retrieve component's props values.
|
|
94
66
|
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { VNode } from '../../../stencil-public-runtime';
|
|
2
|
+
import { KupCard } from '../kup-card';
|
|
3
|
+
/**
|
|
4
|
+
* 1st built-in layout, calendar view.
|
|
5
|
+
* @param {KupCard} component - Card component.
|
|
6
|
+
* @returns {VNode} 1st built-in layout virtual node.
|
|
7
|
+
*/
|
|
8
|
+
export declare function create1(component: KupCard): VNode;
|
|
9
|
+
/**
|
|
10
|
+
* 2nd built-in layout, clock view.
|
|
11
|
+
* @param {KupCard} component - Card component.
|
|
12
|
+
* @returns {VNode} 2st built-in layout virtual node.
|
|
13
|
+
*/
|
|
14
|
+
export declare function create2(component: KupCard): VNode;
|
|
15
|
+
/**
|
|
16
|
+
* 3rd built-in layout, column drop menu - used in data table when a column is dropped onto another one.
|
|
17
|
+
* @param {KupCard} component - Card component.
|
|
18
|
+
* @returns {VNode} 3rd built-in layout virtual node.
|
|
19
|
+
*/
|
|
20
|
+
export declare function create3(component: KupCard): VNode;
|
|
21
|
+
/**
|
|
22
|
+
* 4th built-in layout, color picker.
|
|
23
|
+
* This layout is rendered after the render cycle completes.
|
|
24
|
+
* @param {KupCard} component - Card component.
|
|
25
|
+
* @returns {VNode} 4th built-in layout virtual node.
|
|
26
|
+
*/
|
|
27
|
+
export declare function create4(component: KupCard): VNode;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { VNode } from '../../../stencil-public-runtime';
|
|
2
2
|
import type { KupCard } from '../kup-card';
|
|
3
3
|
/**
|
|
4
|
-
* 1st free card layout,
|
|
4
|
+
* 1st free card layout, dropdown menu look.
|
|
5
5
|
* @param {KupCard} component - Card component.
|
|
6
6
|
* @returns {VNode} 1st standard layout virtual node.
|
|
7
7
|
*/
|
|
8
8
|
export declare function create1(component: KupCard): VNode;
|
|
9
|
+
/**
|
|
10
|
+
* 2nd free card layout, dropdown menu look with no padding.
|
|
11
|
+
* @param {KupCard} component - Card component.
|
|
12
|
+
* @returns {VNode} 1st standard layout virtual node.
|
|
13
|
+
*/
|
|
14
|
+
export declare function create2(component: KupCard): VNode;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
2
|
-
import { KupObj } from '../../
|
|
2
|
+
import { KupObj } from '../../managers/kup-objects/kup-objects-declarations';
|
|
3
3
|
import { SourceEvent } from '../kup-date-picker/kup-date-picker-declarations';
|
|
4
|
+
import Picker from 'vanilla-picker';
|
|
5
|
+
import { KupDataColumn, KupDataDataset } from '../../managers/kup-data/kup-data-declarations';
|
|
4
6
|
/**
|
|
5
7
|
* Props of the kup-card component.
|
|
6
8
|
* Used to export every prop in an object.
|
|
@@ -16,17 +18,17 @@ export declare enum KupCardProps {
|
|
|
16
18
|
sizeY = "The height of the card, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
|
-
* Options
|
|
21
|
+
* Options of the built-in calendar.
|
|
20
22
|
*/
|
|
21
|
-
export interface
|
|
23
|
+
export interface KupCardBuiltInCalendarOptions {
|
|
22
24
|
initialValue?: string | KupObj;
|
|
23
25
|
firstDayIndex?: number;
|
|
24
26
|
resetStatus: boolean;
|
|
25
27
|
}
|
|
26
28
|
/**
|
|
27
|
-
* Data
|
|
29
|
+
* Data of the built-in calendar.
|
|
28
30
|
*/
|
|
29
|
-
export interface
|
|
31
|
+
export interface KupCardBuiltInCalendarData {
|
|
30
32
|
value?: Date;
|
|
31
33
|
firstDayIndex?: number;
|
|
32
34
|
calendarView?: SourceEvent;
|
|
@@ -35,15 +37,15 @@ export interface KupCardBuiltinCalendarData {
|
|
|
35
37
|
year?: number;
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
38
|
-
* Html element of
|
|
40
|
+
* Html element of the built-in calendar.
|
|
39
41
|
*/
|
|
40
|
-
export interface
|
|
41
|
-
kupData:
|
|
42
|
+
export interface KupCardBuiltInCalendar extends HTMLElement {
|
|
43
|
+
kupData: KupCardBuiltInCalendarData;
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
|
-
* Options
|
|
46
|
+
* Options of the built-in clock.
|
|
45
47
|
*/
|
|
46
|
-
export interface
|
|
48
|
+
export interface KupCardBuiltInClockOptions {
|
|
47
49
|
initialValue?: string | KupObj;
|
|
48
50
|
manageSeconds?: boolean;
|
|
49
51
|
hoursActive?: boolean;
|
|
@@ -51,9 +53,31 @@ export interface KupCardBuiltinClockOptions {
|
|
|
51
53
|
secondsActive?: boolean;
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
|
-
*
|
|
56
|
+
* Options of the built-in column drop menu.
|
|
55
57
|
*/
|
|
56
|
-
export
|
|
58
|
+
export interface KupCardColumnDropMenuOptions {
|
|
59
|
+
data: KupDataDataset;
|
|
60
|
+
enableFormula: boolean;
|
|
61
|
+
enableMerge: boolean;
|
|
62
|
+
enableMove: boolean;
|
|
63
|
+
receivingColumn?: KupDataColumn;
|
|
64
|
+
starterColumn?: KupDataColumn;
|
|
65
|
+
formulaCb?: () => void;
|
|
66
|
+
mergeCb?: () => void;
|
|
67
|
+
moveCb?: () => void;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Options of the built-in color picker.
|
|
71
|
+
*/
|
|
72
|
+
export interface KupCardColorPickerOptions {
|
|
73
|
+
initialValue: string;
|
|
74
|
+
changeCb?: (color: any) => void;
|
|
75
|
+
creationCb?: (picker: Picker) => void;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Element ids for built-in clock.
|
|
79
|
+
*/
|
|
80
|
+
export declare enum KupCardBuiltInClockElements {
|
|
57
81
|
CLOCK = "clockEl",
|
|
58
82
|
HOURS = "hoursEl",
|
|
59
83
|
MINUTES = "minutesEl",
|
|
@@ -63,9 +87,9 @@ export declare enum KupCardBuiltinClockElements {
|
|
|
63
87
|
SECONDSCIRCLE = "secondsCircleEl"
|
|
64
88
|
}
|
|
65
89
|
/**
|
|
66
|
-
* Data prop of the
|
|
90
|
+
* Data prop of the built-in clock.
|
|
67
91
|
*/
|
|
68
|
-
export interface
|
|
92
|
+
export interface KupCardBuiltInClockData {
|
|
69
93
|
value?: string;
|
|
70
94
|
manageSeconds?: boolean;
|
|
71
95
|
hoursActive?: boolean;
|
|
@@ -73,10 +97,10 @@ export interface KupCardBuiltinClockData {
|
|
|
73
97
|
secondsActive?: boolean;
|
|
74
98
|
}
|
|
75
99
|
/**
|
|
76
|
-
* Html element of
|
|
100
|
+
* Html element of the built-in clock
|
|
77
101
|
*/
|
|
78
|
-
export interface
|
|
79
|
-
kupData:
|
|
102
|
+
export interface KupCardBuiltInClock extends HTMLElement {
|
|
103
|
+
kupData: KupCardBuiltInClockData;
|
|
80
104
|
}
|
|
81
105
|
/**
|
|
82
106
|
* Data prop of the kup-card component.
|
|
@@ -88,13 +112,14 @@ export interface KupCardData {
|
|
|
88
112
|
checkbox?: GenericObject[];
|
|
89
113
|
chip?: GenericObject[];
|
|
90
114
|
color?: string[];
|
|
115
|
+
columns?: KupDataColumn[];
|
|
91
116
|
combobox?: GenericObject[];
|
|
92
117
|
datatable?: GenericObject[];
|
|
93
118
|
datepicker?: GenericObject[];
|
|
94
119
|
image?: GenericObject[];
|
|
95
120
|
list?: GenericObject[];
|
|
96
121
|
object?: KupObj[];
|
|
97
|
-
options?:
|
|
122
|
+
options?: KupCardBuiltInCalendarOptions | KupCardBuiltInClockOptions | KupCardColumnDropMenuOptions | KupCardColorPickerOptions;
|
|
98
123
|
progressbar?: GenericObject[];
|
|
99
124
|
switch?: GenericObject[];
|
|
100
125
|
tabbar?: GenericObject[];
|
|
@@ -106,7 +131,7 @@ export interface KupCardData {
|
|
|
106
131
|
/**
|
|
107
132
|
* Layout families of the kup-card component.
|
|
108
133
|
* @enum {string}
|
|
109
|
-
* @property {string}
|
|
134
|
+
* @property {string} BUILT_IN - Cards belonging to this family will be created automatically by the library and will have premade behaviors.
|
|
110
135
|
* @property {string} COLLAPSIBLE - Cards belonging to this family will display an area usable to expand the content of the card.
|
|
111
136
|
* @property {string} DIALOG - Cards belonging to this family will be movable and usually closable.
|
|
112
137
|
* @property {string} FREE - This family of card will only receive slots, usually already arranged from the outside style.
|
|
@@ -114,7 +139,7 @@ export interface KupCardData {
|
|
|
114
139
|
* @property {string} STANDARD - Stndard layouts.
|
|
115
140
|
*/
|
|
116
141
|
export declare enum KupCardFamily {
|
|
117
|
-
|
|
142
|
+
BUILT_IN = "built-in",
|
|
118
143
|
COLLAPSIBLE = "collapsible",
|
|
119
144
|
DIALOG = "dialog",
|
|
120
145
|
FREE = "free",
|
|
@@ -139,7 +164,7 @@ export declare enum KupCardIds {
|
|
|
139
164
|
* Recurring CSS classes.
|
|
140
165
|
*/
|
|
141
166
|
export declare enum KupCardCSSClasses {
|
|
142
|
-
|
|
167
|
+
BUILT_IN_CARD = "built-in-card",
|
|
143
168
|
CARD_VIEW = "card-view",
|
|
144
169
|
CLICKABLE_LINK = "clickable-link",
|
|
145
170
|
COLLAPSIBLE_ACTIVE = "collapsible-active",
|