@sme.up/ketchup 8.3.2 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{component-2c7ddef7.js → component-cb3b32f5.js} +7 -2
- package/dist/cjs/{f-button-be5c564a.js → f-button-b2cfce1c.js} +3 -3
- package/dist/cjs/{f-cell-d034bcb0.js → f-cell-75fca92b.js} +24 -17
- package/dist/cjs/{f-checkbox-cff77b2c.js → f-checkbox-48d7af02.js} +1 -1
- package/dist/cjs/{f-chip-bc678bf1.js → f-chip-3e504f3e.js} +3 -3
- package/dist/cjs/{f-image-8542c984.js → f-image-270d39ae.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f48afc35.js → f-paginator-utils-6d0c4678.js} +4 -4
- package/dist/cjs/{f-text-field-acfc1717.js → f-text-field-bbcd2143.js} +2 -2
- package/dist/cjs/{f-text-field-mdc-d38d80b5.js → f-text-field-mdc-4fda9705.js} +1 -1
- package/dist/cjs/{index-a9a3b467.js → index-c3d10561.js} +90 -19
- package/dist/cjs/ketchup.cjs.js +3 -6
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +151 -156
- package/dist/cjs/kup-box.cjs.entry.js +14 -14
- package/dist/cjs/kup-calendar.cjs.entry.js +16 -10
- package/dist/cjs/kup-card-list.cjs.entry.js +244 -0
- package/dist/cjs/kup-cell.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -10
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +4604 -4444
- package/dist/cjs/kup-family-tree.cjs.entry.js +6 -6
- package/dist/cjs/kup-grid.cjs.entry.js +109 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +11 -11
- package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
- package/dist/cjs/{kup-manager-b3677c1d.js → kup-manager-130bbd9d.js} +7 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
- package/dist/cjs/kup-photo-frame.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +26 -18
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/collection/assets/card-list.js +709 -0
- package/dist/collection/assets/data-table-performance.js +6 -0
- package/dist/collection/assets/echart.js +168 -90
- package/dist/collection/assets/image-list.js +2 -12
- package/dist/collection/assets/index.js +4 -4
- package/dist/collection/collection-manifest.json +49 -50
- package/dist/collection/components/kup-accordion/kup-accordion.js +28 -18
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +47 -29
- package/dist/collection/components/kup-badge/kup-badge.js +21 -14
- package/dist/collection/components/kup-box/kup-box.js +62 -41
- package/dist/collection/components/kup-button/kup-button.js +26 -17
- package/dist/collection/components/kup-button-list/kup-button-list.e2e.js +1 -1
- package/dist/collection/components/kup-button-list/kup-button-list.js +24 -16
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +3 -2
- package/dist/collection/components/kup-calendar/kup-calendar.css +13 -0
- package/dist/collection/components/kup-calendar/kup-calendar.js +73 -35
- package/dist/collection/components/kup-card/box/kup-card-box.js +3 -3
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +7 -7
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +6 -6
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +5 -5
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +4 -4
- package/dist/collection/components/kup-card/built-in/kup-card-message-box.js +4 -4
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +2 -2
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +5 -5
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +5 -5
- package/dist/collection/components/kup-card/free/kup-card-free.js +2 -2
- package/dist/collection/components/kup-card/kup-card-helper.js +5 -5
- package/dist/collection/components/kup-card/kup-card.css +20 -7
- package/dist/collection/components/kup-card/kup-card.js +67 -52
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +49 -58
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +9 -9
- package/dist/collection/components/kup-card-list/kup-card-list-declarations.js +13 -0
- package/dist/collection/components/kup-card-list/kup-card-list.css +34 -0
- package/dist/collection/components/kup-card-list/kup-card-list.js +481 -0
- package/dist/collection/components/kup-cell/kup-cell.js +27 -18
- package/dist/collection/components/kup-chart/kup-chart-builder.js +5 -5
- package/dist/collection/components/kup-chart/kup-chart.js +47 -28
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +22 -14
- package/dist/collection/components/kup-chip/kup-chip.js +32 -20
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +30 -20
- package/dist/collection/components/kup-combobox/kup-combobox.js +47 -29
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +26 -19
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +4 -4
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +178 -106
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +42 -26
- package/dist/collection/components/kup-dialog/kup-dialog.js +30 -18
- package/dist/collection/components/kup-drawer/kup-drawer.e2e.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +29 -17
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +42 -26
- package/dist/collection/components/kup-echart/kup-echart.js +64 -39
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +42 -26
- package/dist/collection/components/kup-form/kup-form.js +32 -21
- package/dist/collection/components/kup-gauge/kup-gauge.js +18 -13
- package/dist/collection/components/kup-grid/kup-grid.css +10 -0
- package/dist/collection/components/kup-grid/kup-grid.js +16 -11
- package/dist/collection/components/kup-iframe/kup-iframe.js +21 -13
- package/dist/collection/components/kup-image/canvas/kup-image-canvas-declarations.js +1 -1
- package/dist/collection/components/kup-image/canvas/kup-image-canvas-helper.js +1 -1
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +2 -2
- package/dist/collection/components/kup-image/kup-image.js +27 -18
- package/dist/collection/components/kup-image-list/kup-image-list.js +35 -24
- package/dist/collection/components/kup-lazy/kup-lazy.js +25 -15
- package/dist/collection/components/kup-list/kup-list-helper.js +1 -1
- package/dist/collection/components/kup-list/kup-list.js +45 -27
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +23 -17
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +23 -14
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +40 -24
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +23 -14
- package/dist/collection/components/kup-planner/kup-planner-helper.js +3 -3
- package/dist/collection/components/kup-planner/kup-planner.css +277 -277
- package/dist/collection/components/kup-planner/kup-planner.js +51 -33
- package/dist/collection/components/kup-probe/kup-probe.js +7 -5
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +15 -10
- package/dist/collection/components/kup-qlik/kup-qlik.js +8 -5
- package/dist/collection/components/kup-radio/kup-radio.js +23 -14
- package/dist/collection/components/kup-rating/kup-rating.js +17 -11
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +26 -16
- package/dist/collection/components/kup-spinner/kup-spinner.js +17 -11
- package/dist/collection/components/kup-state/mock-store.js +1 -1
- package/dist/collection/components/kup-switch/kup-switch.js +22 -14
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +31 -20
- package/dist/collection/components/kup-text-field/kup-text-field.js +40 -24
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +47 -29
- package/dist/collection/components/kup-tree/kup-tree.js +104 -63
- package/dist/collection/f-components/f-button/f-button.js +3 -3
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -1
- package/dist/collection/f-components/f-cell/f-cell.js +30 -23
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +5 -5
- package/dist/collection/f-components/f-image/f-image.js +3 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +5 -5
- package/dist/collection/f-components/f-switch/f-switch.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field-mdc.js +2 -2
- package/dist/collection/f-components/f-text-field/f-text-field.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +4 -4
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +3 -3
- package/dist/collection/managers/kup-data/kup-data.js +8 -8
- package/dist/collection/managers/kup-dates/kup-dates.js +11 -11
- package/dist/collection/managers/kup-debug/kup-debug.js +3 -3
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +2 -2
- package/dist/collection/managers/kup-interact/kup-interact.js +2 -2
- package/dist/collection/managers/kup-language/kup-language.js +3 -3
- package/dist/collection/managers/kup-manager/kup-manager.js +20 -20
- package/dist/collection/managers/kup-math/kup-math-helper.js +1 -1
- package/dist/collection/managers/kup-math/kup-math.js +12 -12
- package/dist/collection/managers/kup-objects/kup-objects.js +1 -1
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +1 -1
- package/dist/collection/managers/kup-search/kup-search.js +2 -2
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -1
- package/dist/collection/managers/kup-theme/kup-theme.js +15 -15
- package/dist/collection/managers/kup-toolbar/kup-toolbar.js +1 -1
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/types/GenericTypes.js +1 -2
- package/dist/collection/utils/cell-utils.js +1 -1
- package/dist/collection/utils/filters/filters-column-menu.js +3 -3
- package/dist/collection/utils/filters/filters-rows.js +6 -6
- package/dist/collection/utils/filters/filters-tree-items.js +4 -4
- package/dist/collection/utils/filters/filters.js +3 -3
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +12 -12
- package/dist/collection/utils/utils.js +1 -1
- package/dist/components/kup-autocomplete2.js +393 -386
- package/dist/components/kup-calendar.js +10 -3
- package/dist/components/{kup-dash-list.d.ts → kup-card-list.d.ts} +4 -4
- package/dist/components/kup-card-list.js +408 -0
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +4602 -4442
- package/dist/components/kup-family-tree.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +21 -13
- package/dist/esm/{component-e86c51ea.js → component-879e99bf.js} +7 -2
- package/dist/esm/{f-button-3b97025a.js → f-button-baa419dc.js} +3 -3
- package/dist/esm/{f-cell-ae537010.js → f-cell-18ee3afa.js} +24 -17
- package/dist/esm/{f-checkbox-91358c27.js → f-checkbox-00a1e020.js} +1 -1
- package/dist/esm/{f-chip-69df7df4.js → f-chip-311500f4.js} +3 -3
- package/dist/esm/{f-image-705c1694.js → f-image-da03494c.js} +2 -2
- package/dist/esm/{f-paginator-utils-b7009f00.js → f-paginator-utils-d63a195e.js} +4 -4
- package/dist/esm/{f-text-field-fa349928.js → f-text-field-e5f1f1fd.js} +2 -2
- package/dist/esm/{f-text-field-mdc-a1b4a919.js → f-text-field-mdc-1143cf21.js} +1 -1
- package/dist/esm/{index-bb15ce14.js → index-3336c3b1.js} +91 -19
- package/dist/esm/ketchup.js +4 -7
- package/dist/esm/kup-accordion.entry.js +5 -5
- package/dist/esm/kup-autocomplete_27.entry.js +151 -156
- package/dist/esm/kup-box.entry.js +14 -14
- package/dist/esm/kup-calendar.entry.js +16 -10
- package/dist/esm/kup-card-list.entry.js +240 -0
- package/dist/esm/kup-cell.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +10 -10
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +4604 -4444
- package/dist/esm/kup-family-tree.entry.js +6 -6
- package/dist/esm/kup-grid.entry.js +105 -0
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +11 -11
- package/dist/esm/kup-lazy.entry.js +3 -3
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-bad7bec3.js → kup-manager-c8d5c94d.js} +7 -7
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-photo-frame.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +26 -18
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/loader.js +4 -13
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-fb0b5466.js → p-008ad26c.js} +1 -1
- package/dist/ketchup/{p-15ffcd21.entry.js → p-07707cd1.entry.js} +1 -1
- package/dist/ketchup/p-0c19d485.entry.js +9 -0
- package/dist/ketchup/{p-4c79ea53.entry.js → p-13eac183.entry.js} +1 -1
- package/dist/ketchup/{p-bd5ece4c.js → p-25de68e5.js} +1 -1
- package/dist/ketchup/{p-bd21cdea.entry.js → p-2a2a18bf.entry.js} +1 -1
- package/dist/ketchup/{p-31da4bae.entry.js → p-2d192def.entry.js} +1 -1
- package/dist/ketchup/p-2d42477d.js +2 -0
- package/dist/ketchup/{p-ee39977d.entry.js → p-2dab9c4f.entry.js} +1 -1
- package/dist/ketchup/{p-afa2af1e.js → p-39602629.js} +1 -1
- package/dist/ketchup/{p-fd1323da.js → p-4597f25d.js} +1 -1
- package/dist/ketchup/{p-7664a38d.entry.js → p-51aa248f.entry.js} +2 -2
- package/dist/ketchup/{p-af50bc6b.entry.js → p-55fd3f46.entry.js} +1 -1
- package/dist/ketchup/p-5c15661d.entry.js +1 -0
- package/dist/ketchup/p-5cfaa673.entry.js +1 -0
- package/dist/ketchup/{p-2587abcf.entry.js → p-5f583257.entry.js} +1 -1
- package/dist/ketchup/{p-55182fcf.js → p-7555c10d.js} +1 -1
- package/dist/ketchup/{p-fefa9ae4.entry.js → p-76130e83.entry.js} +1 -1
- package/dist/ketchup/{p-be89bc7b.entry.js → p-7bf649f0.entry.js} +1 -1
- package/dist/ketchup/{p-aa373c37.entry.js → p-7e1c8fc0.entry.js} +1 -1
- package/dist/ketchup/p-80699a95.js +1 -0
- package/dist/ketchup/{p-68c5029f.entry.js → p-81debebe.entry.js} +1 -1
- package/dist/ketchup/{p-82b5fac1.js → p-8281c9e5.js} +1 -1
- package/dist/ketchup/{p-e1f0ade4.entry.js → p-a0f59b05.entry.js} +1 -1
- package/dist/ketchup/{p-b3eeb140.entry.js → p-a8a39b08.entry.js} +1 -1
- package/dist/ketchup/{p-a8eccd10.entry.js → p-bb854cf5.entry.js} +1 -1
- package/dist/ketchup/{p-fb03f2f5.js → p-cd2af1a6.js} +1 -1
- package/dist/ketchup/{p-6507e9eb.js → p-d4a879fc.js} +1 -1
- package/dist/ketchup/{p-6c995fb2.entry.js → p-d6a7498b.entry.js} +1 -1
- package/dist/ketchup/p-d8384990.entry.js +1 -0
- package/dist/ketchup/p-da58f8ab.entry.js +39 -0
- package/dist/ketchup/p-ecb9fe91.entry.js +1 -0
- package/dist/ketchup/{p-3879be61.js → p-f729449f.js} +1 -1
- package/dist/loader/index.d.ts +1 -1
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +3 -2
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +6 -1
- package/dist/types/components/kup-card/kup-card.d.ts +3 -3
- package/dist/types/components/kup-card-list/kup-card-list-declarations.d.ts +35 -0
- package/dist/types/components/kup-card-list/kup-card-list.d.ts +62 -0
- package/dist/types/components.d.ts +107 -92
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +1 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +12 -2
- package/dist/types/types/GenericTypes.d.ts +1 -2
- package/package.json +8 -5
- package/dist/cjs/kup-dash-list.cjs.entry.js +0 -116
- package/dist/cjs/kup-dash_2.cjs.entry.js +0 -179
- package/dist/collection/assets/dash-list.js +0 -474
- package/dist/collection/components/kup-dash/kup-dash.css +0 -136
- package/dist/collection/components/kup-dash/kup-dash.js +0 -171
- package/dist/collection/components/kup-dash-list/kup-dash-list.css +0 -10
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +0 -327
- package/dist/components/kup-dash-list.js +0 -288
- package/dist/components/kup-dash.d.ts +0 -11
- package/dist/components/kup-dash.js +0 -6
- package/dist/components/kup-dash2.js +0 -228
- package/dist/esm/kup-dash-list.entry.js +0 -112
- package/dist/esm/kup-dash_2.entry.js +0 -174
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/ketchup/p-0b24a2ed.entry.js +0 -1
- package/dist/ketchup/p-15e6bfaf.entry.js +0 -1
- package/dist/ketchup/p-1ad1cf92.entry.js +0 -9
- package/dist/ketchup/p-68cd7d9a.js +0 -1
- package/dist/ketchup/p-b5deb573.js +0 -2
- package/dist/ketchup/p-c455cc67.entry.js +0 -39
- package/dist/ketchup/p-e6cf7db3.entry.js +0 -1
- package/dist/ketchup/p-ef21d377.entry.js +0 -1
- package/dist/types/components/kup-dash/kup-dash.d.ts +0 -33
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +0 -22
- /package/dist/cjs/{GenericVariables-9cd88034.js → GenericVariables-1d52ba57.js} +0 -0
- /package/dist/cjs/{f-button-declarations-76b4fb4c.js → f-button-declarations-3fd791a8.js} +0 -0
- /package/dist/esm/{GenericVariables-6dfdd433.js → GenericVariables-d8d0541e.js} +0 -0
- /package/dist/esm/{f-button-declarations-fd4965d1.js → f-button-declarations-8a009df1.js} +0 -0
- /package/dist/ketchup/{p-ad2e21d2.js → p-635bb4b3.js} +0 -0
- /package/dist/ketchup/{p-0fd98ab4.js → p-b00f3575.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,f as n,h as l,H as a,g as t}from"./p-2d42477d.js";import{k as e,g as r,s as d,c as s}from"./p-25de68e5.js";import{c as o}from"./p-635bb4b3.js";var p;!function(i){i.columns="The number of columns displayed by the grid, the default behavior is 12.",i.customStyle="Custom style of the component. For more information: https://ketchup.smeup.com/ketchup-showcase/#/customization",i.singleLine="When set to true, forces the content on a single line."}(p||(p={}));const u=class{constructor(n){i(this,n),this.kupManager=e(),this.columns=12,this.customStyle="",this.singleLine=!1}async getProps(i){return r(this,p,i)}async refresh(){n(this)}async setProps(i){d(this,p,i)}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.kupManager.debug.logRender(this,!0)}render(){const i=this.rootElement.children;if(!i||0===i.length)return void this.kupManager.debug.logMessage(this,"Missing slots, not rendering!",s.WARNING);const n=[];for(let a=0;a<i.length;a++){let t=null;if(this.singleLine)t=l("slot",{name:`${a}`});else{const n=i[a].span||i[a].getAttribute("span")||1;t=l("div",{class:`layout-grid__cell layout-grid__cell--span-${n}`},l("slot",{name:`${a}`}))}n.push(t)}const t={};return this.columns&&12!==this.columns&&(t["--kup_grid_columns"]=this.columns),l(a,{style:t},l("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),l("div",{id:o},l("div",{class:this.singleLine?"flex-layout":"layout-grid"},l("div",{class:this.singleLine?"flex-layout__inner":"layout-grid__inner"},n))))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return t(this)}};u.style=":host{--kup_grid_font_size:var(--kup-grid-font-size, var(--kup-font-size));--kup_grid_gap:var(--kup-grid-gap, 24px);--kup_grid_gap_mobile:var(--kup-grid-gap-mobile, 16px);--kup_grid_padding:var(--kup-grid-padding, 24px);display:block;font-size:var(--kup_grid_font_size);height:100%;width:100%}#kup-component{height:100%;width:100%}.layout-grid{box-sizing:border-box;margin:0px auto;padding:var(--kup_grid_padding)}.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap);grid-template-columns:repeat(var(--kup_grid_columns, 12), minmax(0px, 1fr))}.layout-grid .layout-grid__inner .layout-grid__cell{box-sizing:border-box;display:flex;justify-content:center;margin:0px;width:auto}.layout-grid__cell--span-1{grid-column-end:span 1}.layout-grid__cell--span-2{grid-column-end:span 2}.layout-grid__cell--span-3{grid-column-end:span 3}.layout-grid__cell--span-4{grid-column-end:span 4}.layout-grid__cell--span-5{grid-column-end:span 5}.layout-grid__cell--span-6{grid-column-end:span 6}.layout-grid__cell--span-7{grid-column-end:span 7}.layout-grid__cell--span-8{grid-column-end:span 8}.layout-grid__cell--span-9{grid-column-end:span 9}.layout-grid__cell--span-10{grid-column-end:span 10}.layout-grid__cell--span-11{grid-column-end:span 11}.layout-grid__cell--span-12{grid-column-end:span 12}.layout-grid__cell--span-13{grid-column-end:span 13}.layout-grid__cell--span-14{grid-column-end:span 14}.layout-grid__cell--span-15{grid-column-end:span 15}.layout-grid__cell--span-16{grid-column-end:span 16}.layout-grid__cell--span-17{grid-column-end:span 17}.layout-grid__cell--span-18{grid-column-end:span 18}.layout-grid__cell--span-19{grid-column-end:span 19}.layout-grid__cell--span-20{grid-column-end:span 20}.layout-grid__cell--span-21{grid-column-end:span 21}.layout-grid__cell--span-22{grid-column-end:span 22}.layout-grid__cell--span-23{grid-column-end:span 23}.layout-grid__cell--span-24{grid-column-end:span 24}.flex-layout,.flex-layout__inner{height:100%;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}.flex-layout__inner{width:auto}.flex-layout__inner *{display:block;margin:0 1.5em}.flex-layout__inner .flex-layout__cell{display:flex}.flex-layout__inner .flex-layout__cell *{justify-content:center;margin:auto}@media (min-width: 600px) and (max-width: 839px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 8), minmax(0px, 1fr))}}@media (max-width: 599px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 4), minmax(0px, 1fr))}}:host(.kup-full-width) .flex-layout__inner{width:100%}:host(.kup-full-width) .flex-layout__inner *{margin:auto}:host(.kup-full-width.scalable-cards) .flex-layout__inner{width:100%}:host(.kup-full-width.scalable-cards) .flex-layout__inner *{margin:0;height:100%;width:100%}";export{u as kup_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,a as e}from"./p-
|
|
1
|
+
import{h as t,a as e}from"./p-2d42477d.js";import{b as s}from"./p-25de68e5.js";var i;!function(t){t.BAR="bar"}(i||(i={}));const a=a=>{let n,o;a.resource?a.resource.indexOf(".")>-1||a.resource.indexOf("/")>-1||a.resource.indexOf("\\")>-1?(o={"--kup_image_height":a.sizeY?a.sizeY:"auto","--kup_image_width":a.sizeX?a.sizeX:"100%"},n=function(e){return t("img",{onLoad:e.onLoad,src:e.resource})}(a)):(o={"--kup_image_height":a.sizeY?a.sizeY:"100%","--kup_image_width":a.sizeX?a.sizeX:"100%"},n=function(i){const a={"f-image__icon":!0},n={background:i.color?i.color:`var(${s.ICON})`};if(i.resource.indexOf("--kup")>-1){let t=i.resource.replace("--","");a["kup-icon"]=!0,a[t]=!0}else{const t=e(`./assets/svg/${i.resource}.svg`);n.mask=`url('${t}') no-repeat center`,n.webkitMask=`url('${t}') no-repeat center`}return t("div",{class:a,style:n})}(a)):a.data&&(o={"--kup_image_height":a.sizeY?a.sizeY:"100%","--kup_image_width":a.sizeX?a.sizeX:"100%"},n=function(e){const s=[];let a=0;for(let n=0;n<e.length;n++){let o;e[n].shape||(e[n].shape=i.BAR),e[n].color||(e[n].color="transparent"),e[n].height||(e[n].height="100%"),e[n].width||(e[n].width="100%");const r="step-"+n,c="css-step bottom-aligned",l={backgroundColor:e[n].color,left:a+"%",height:e[n].height,width:e[n].width};a+=parseFloat(e[n].width),o=t("span",{id:r,class:c,style:l}),s.push(o)}return t("div",{class:"f-image__css"},s)}(a.data));const r=[];if(a.badgeData)for(let e=0;e<a.badgeData.length;e++)r.push(t("kup-badge",Object.assign({},a.badgeData[e])));return t("div",Object.assign({class:`f-image ${a.wrapperClass?a.wrapperClass:""} ${a.fit?"kup-fit":""}`},a.dataSet,{id:a.id,style:o,title:a.title,onClick:a.onClick}),n,...r)};export{a as F}
|
package/dist/loader/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface CustomElementsDefineOptions {
|
|
|
8
8
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions):
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -7,7 +7,8 @@ import { KupEventPayload } from '../../types/GenericTypes';
|
|
|
7
7
|
export declare enum KupCalendarProps {
|
|
8
8
|
currentDate = "Sets the date of the calendar. Must be in ISO format (YYYY-MM-DD).",
|
|
9
9
|
customStyle = "Custom style of the component.",
|
|
10
|
-
data = "
|
|
10
|
+
data = "Actual data of the calendar.",
|
|
11
|
+
editableEvents = "When true, events are editable.",
|
|
11
12
|
hideNavigation = "When disabled, the navigation toolbar won't be displayed.",
|
|
12
13
|
viewType = "Type of the view."
|
|
13
14
|
}
|
|
@@ -21,7 +22,7 @@ export declare enum KupCalendarViewTypes {
|
|
|
21
22
|
WEEK = "timeGridWeek"
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
|
-
* Available
|
|
25
|
+
* Available column options.
|
|
25
26
|
*/
|
|
26
27
|
export declare enum KupCalendarOptions {
|
|
27
28
|
DATE = "date",
|
|
@@ -3,7 +3,7 @@ import { GenericObject } from '../../types/GenericTypes';
|
|
|
3
3
|
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
|
|
4
4
|
export declare class KupCalendar {
|
|
5
5
|
/**
|
|
6
|
-
* References the root HTML element of the component (<kup-
|
|
6
|
+
* References the root HTML element of the component (<kup-calendar>).
|
|
7
7
|
*/
|
|
8
8
|
rootElement: HTMLElement;
|
|
9
9
|
/**
|
|
@@ -27,6 +27,11 @@ export declare class KupCalendar {
|
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
29
|
hideNavigation: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* When true, events are editable.
|
|
32
|
+
* @default true
|
|
33
|
+
*/
|
|
34
|
+
editableEvents: boolean;
|
|
30
35
|
/**
|
|
31
36
|
* Type of the view.
|
|
32
37
|
* @default KupCalendarViewTypes.MONTH
|
|
@@ -144,12 +144,12 @@ export declare class KupCard {
|
|
|
144
144
|
registerListeners(): void;
|
|
145
145
|
/**
|
|
146
146
|
* This method is invoked by the layout manager when the layout family is scalable.
|
|
147
|
-
* The content of the card (.scalable-element) will be resized to fit the wrapper (
|
|
148
|
-
* The scaling is performed by using a CSS variable (--
|
|
147
|
+
* The content of the card (.scalable-element) will be resized to fit the wrapper (kup-card).
|
|
148
|
+
* The scaling is performed by using a CSS variable (--kup_card_scalable_multiplier) which will impact the card's font-size.
|
|
149
149
|
* When there is empty space, the multiplier will be increased, as will the content.
|
|
150
150
|
* Viceversa, when the content exceeds the boundaries, the multiplier will be decreased.
|
|
151
151
|
*/
|
|
152
|
-
scalable(): void
|
|
152
|
+
scalable(): Promise<void>;
|
|
153
153
|
componentWillLoad(): void;
|
|
154
154
|
componentDidLoad(): void;
|
|
155
155
|
componentWillRender(): void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KupEventPayload } from '../../components';
|
|
2
|
+
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
3
|
+
/**
|
|
4
|
+
* Props of the kup-card-list component.
|
|
5
|
+
* Used to export every prop in an object.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum KupCardListProps {
|
|
8
|
+
columnsNumber = "Sets the number of columns.",
|
|
9
|
+
customStyle = "Custom style of the component.",
|
|
10
|
+
data = "Actual data of the component.",
|
|
11
|
+
fullWidth = "Sets whether the component occupies all available width.",
|
|
12
|
+
horizontal = "Sets whether the cards are placed horizontally or not.",
|
|
13
|
+
isClickable = "Sets whether a single card is clickable or not."
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Available column options.
|
|
17
|
+
*/
|
|
18
|
+
export type KupCardListOptions = 'descr' | 'icon' | 'value' | 'measure' | 'intvalue' | 'decvalue' | 'textcolor' | 'valuecolor' | 'iconcolor' | 'layout';
|
|
19
|
+
/**
|
|
20
|
+
* Card list column.
|
|
21
|
+
*/
|
|
22
|
+
export interface KupCardListColumn extends KupDataColumn {
|
|
23
|
+
cardListOption?: KupCardListOptions;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Dataset of the card list.
|
|
27
|
+
*/
|
|
28
|
+
export interface KupCardListData {
|
|
29
|
+
columns: KupCardListColumn[];
|
|
30
|
+
rows: KupDataRow[];
|
|
31
|
+
}
|
|
32
|
+
export interface KupCardListClickEventPayload extends KupEventPayload {
|
|
33
|
+
index: number;
|
|
34
|
+
row: KupDataRow;
|
|
35
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { KupCardListData, KupCardListClickEventPayload } from './kup-card-list-declarations';
|
|
3
|
+
import { GenericObject } from '../../types/GenericTypes';
|
|
4
|
+
export declare class KupCardList {
|
|
5
|
+
#private;
|
|
6
|
+
/**
|
|
7
|
+
* References the root HTML element of the component (<kup-card-list>).
|
|
8
|
+
*/
|
|
9
|
+
rootElement: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the number of columns.
|
|
12
|
+
* @default 1
|
|
13
|
+
*/
|
|
14
|
+
columnsNumber: number;
|
|
15
|
+
/**
|
|
16
|
+
* Custom style of the component.
|
|
17
|
+
* @default ""
|
|
18
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
19
|
+
*/
|
|
20
|
+
customStyle: string;
|
|
21
|
+
/**
|
|
22
|
+
* Actual data of the component.
|
|
23
|
+
* @default null
|
|
24
|
+
*/
|
|
25
|
+
data: KupCardListData;
|
|
26
|
+
/**
|
|
27
|
+
* Sets whether the component occupies all available width.
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
fullWidth: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Sets whether the cards are placed horizontally or not.
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
horizontal: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Sets whether a single card is clickable or not.
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
isClickable: boolean;
|
|
41
|
+
kupCardListClickEvent: EventEmitter<KupCardListClickEventPayload>;
|
|
42
|
+
/**
|
|
43
|
+
* Used to retrieve component's props values.
|
|
44
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
45
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
46
|
+
*/
|
|
47
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
48
|
+
/**
|
|
49
|
+
* This method is used to trigger a new render of the component.
|
|
50
|
+
*/
|
|
51
|
+
refresh(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the props to the component.
|
|
54
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
55
|
+
*/
|
|
56
|
+
setProps(props: GenericObject): Promise<void>;
|
|
57
|
+
componentWillLoad(): void;
|
|
58
|
+
componentDidLoad(): void;
|
|
59
|
+
componentDidRender(): void;
|
|
60
|
+
render(): any;
|
|
61
|
+
disconnectedCallback(): void;
|
|
62
|
+
}
|
|
@@ -17,6 +17,7 @@ import { KupButtonClickEventPayload } from "./components/kup-button/kup-button-d
|
|
|
17
17
|
import { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
18
18
|
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
19
19
|
import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
20
|
+
import { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
|
|
20
21
|
import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
21
22
|
import { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
22
23
|
import { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
@@ -64,6 +65,7 @@ export { KupButtonClickEventPayload } from "./components/kup-button/kup-button-d
|
|
|
64
65
|
export { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
65
66
|
export { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
66
67
|
export { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
68
|
+
export { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
|
|
67
69
|
export { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
68
70
|
export { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
69
71
|
export { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
@@ -549,6 +551,11 @@ export namespace Components {
|
|
|
549
551
|
* @default null
|
|
550
552
|
*/
|
|
551
553
|
"data": KupCalendarData;
|
|
554
|
+
/**
|
|
555
|
+
* When true, events are editable.
|
|
556
|
+
* @default true
|
|
557
|
+
*/
|
|
558
|
+
"editableEvents": boolean;
|
|
552
559
|
/**
|
|
553
560
|
* Used to retrieve component's props values.
|
|
554
561
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -641,6 +648,54 @@ export namespace Components {
|
|
|
641
648
|
*/
|
|
642
649
|
"sizeY": string;
|
|
643
650
|
}
|
|
651
|
+
interface KupCardList {
|
|
652
|
+
/**
|
|
653
|
+
* Sets the number of columns.
|
|
654
|
+
* @default 1
|
|
655
|
+
*/
|
|
656
|
+
"columnsNumber": number;
|
|
657
|
+
/**
|
|
658
|
+
* Custom style of the component.
|
|
659
|
+
* @default ""
|
|
660
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
661
|
+
*/
|
|
662
|
+
"customStyle": string;
|
|
663
|
+
/**
|
|
664
|
+
* Actual data of the component.
|
|
665
|
+
* @default null
|
|
666
|
+
*/
|
|
667
|
+
"data": KupCardListData;
|
|
668
|
+
/**
|
|
669
|
+
* Sets whether the component occupies all available width.
|
|
670
|
+
* @default true
|
|
671
|
+
*/
|
|
672
|
+
"fullWidth": boolean;
|
|
673
|
+
/**
|
|
674
|
+
* Used to retrieve component's props values.
|
|
675
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
676
|
+
* @returns List of props as object, each key will be a prop.
|
|
677
|
+
*/
|
|
678
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
679
|
+
/**
|
|
680
|
+
* Sets whether the cards are placed horizontally or not.
|
|
681
|
+
* @default false
|
|
682
|
+
*/
|
|
683
|
+
"horizontal": boolean;
|
|
684
|
+
/**
|
|
685
|
+
* Sets whether a single card is clickable or not.
|
|
686
|
+
* @default false
|
|
687
|
+
*/
|
|
688
|
+
"isClickable": boolean;
|
|
689
|
+
/**
|
|
690
|
+
* This method is used to trigger a new render of the component.
|
|
691
|
+
*/
|
|
692
|
+
"refresh": () => Promise<void>;
|
|
693
|
+
/**
|
|
694
|
+
* Sets the props to the component.
|
|
695
|
+
* @param props - Object containing props that will be set to the component.
|
|
696
|
+
*/
|
|
697
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
698
|
+
}
|
|
644
699
|
interface KupCell {
|
|
645
700
|
/**
|
|
646
701
|
* Adds the given CSS classes to the cell's data.
|
|
@@ -1024,36 +1079,6 @@ export namespace Components {
|
|
|
1024
1079
|
*/
|
|
1025
1080
|
"showDropDownIcon": boolean;
|
|
1026
1081
|
}
|
|
1027
|
-
interface KupDash {
|
|
1028
|
-
/**
|
|
1029
|
-
* The component can be clicked.
|
|
1030
|
-
*/
|
|
1031
|
-
"active": boolean;
|
|
1032
|
-
/**
|
|
1033
|
-
* Sets the font size of the component.
|
|
1034
|
-
*/
|
|
1035
|
-
"fontsize": string;
|
|
1036
|
-
/**
|
|
1037
|
-
* No idea what this is about.
|
|
1038
|
-
*/
|
|
1039
|
-
"index": number;
|
|
1040
|
-
/**
|
|
1041
|
-
* Sets the layout of the component.
|
|
1042
|
-
*/
|
|
1043
|
-
"layout": string;
|
|
1044
|
-
}
|
|
1045
|
-
interface KupDashList {
|
|
1046
|
-
"active": boolean;
|
|
1047
|
-
"columnsNumber": number;
|
|
1048
|
-
"data": KupDataDataset;
|
|
1049
|
-
"fontsize": string;
|
|
1050
|
-
"fullWidth": boolean;
|
|
1051
|
-
"horizontal": boolean;
|
|
1052
|
-
"iconColor": Array<any>;
|
|
1053
|
-
"layout": string;
|
|
1054
|
-
"textColor": Array<any>;
|
|
1055
|
-
"valueColor": Array<any>;
|
|
1056
|
-
}
|
|
1057
1082
|
interface KupDashboard {
|
|
1058
1083
|
/**
|
|
1059
1084
|
* Custom style of the component.
|
|
@@ -3497,6 +3522,10 @@ export interface KupCardCustomEvent<T> extends CustomEvent<T> {
|
|
|
3497
3522
|
detail: T;
|
|
3498
3523
|
target: HTMLKupCardElement;
|
|
3499
3524
|
}
|
|
3525
|
+
export interface KupCardListCustomEvent<T> extends CustomEvent<T> {
|
|
3526
|
+
detail: T;
|
|
3527
|
+
target: HTMLKupCardListElement;
|
|
3528
|
+
}
|
|
3500
3529
|
export interface KupChartCustomEvent<T> extends CustomEvent<T> {
|
|
3501
3530
|
detail: T;
|
|
3502
3531
|
target: HTMLKupChartElement;
|
|
@@ -3517,14 +3546,6 @@ export interface KupComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
3517
3546
|
detail: T;
|
|
3518
3547
|
target: HTMLKupComboboxElement;
|
|
3519
3548
|
}
|
|
3520
|
-
export interface KupDashCustomEvent<T> extends CustomEvent<T> {
|
|
3521
|
-
detail: T;
|
|
3522
|
-
target: HTMLKupDashElement;
|
|
3523
|
-
}
|
|
3524
|
-
export interface KupDashListCustomEvent<T> extends CustomEvent<T> {
|
|
3525
|
-
detail: T;
|
|
3526
|
-
target: HTMLKupDashListElement;
|
|
3527
|
-
}
|
|
3528
3549
|
export interface KupDashboardCustomEvent<T> extends CustomEvent<T> {
|
|
3529
3550
|
detail: T;
|
|
3530
3551
|
target: HTMLKupDashboardElement;
|
|
@@ -3682,6 +3703,12 @@ declare global {
|
|
|
3682
3703
|
prototype: HTMLKupCardElement;
|
|
3683
3704
|
new (): HTMLKupCardElement;
|
|
3684
3705
|
};
|
|
3706
|
+
interface HTMLKupCardListElement extends Components.KupCardList, HTMLStencilElement {
|
|
3707
|
+
}
|
|
3708
|
+
var HTMLKupCardListElement: {
|
|
3709
|
+
prototype: HTMLKupCardListElement;
|
|
3710
|
+
new (): HTMLKupCardListElement;
|
|
3711
|
+
};
|
|
3685
3712
|
interface HTMLKupCellElement extends Components.KupCell, HTMLStencilElement {
|
|
3686
3713
|
}
|
|
3687
3714
|
var HTMLKupCellElement: {
|
|
@@ -3718,18 +3745,6 @@ declare global {
|
|
|
3718
3745
|
prototype: HTMLKupComboboxElement;
|
|
3719
3746
|
new (): HTMLKupComboboxElement;
|
|
3720
3747
|
};
|
|
3721
|
-
interface HTMLKupDashElement extends Components.KupDash, HTMLStencilElement {
|
|
3722
|
-
}
|
|
3723
|
-
var HTMLKupDashElement: {
|
|
3724
|
-
prototype: HTMLKupDashElement;
|
|
3725
|
-
new (): HTMLKupDashElement;
|
|
3726
|
-
};
|
|
3727
|
-
interface HTMLKupDashListElement extends Components.KupDashList, HTMLStencilElement {
|
|
3728
|
-
}
|
|
3729
|
-
var HTMLKupDashListElement: {
|
|
3730
|
-
prototype: HTMLKupDashListElement;
|
|
3731
|
-
new (): HTMLKupDashListElement;
|
|
3732
|
-
};
|
|
3733
3748
|
interface HTMLKupDashboardElement extends Components.KupDashboard, HTMLStencilElement {
|
|
3734
3749
|
}
|
|
3735
3750
|
var HTMLKupDashboardElement: {
|
|
@@ -3937,14 +3952,13 @@ declare global {
|
|
|
3937
3952
|
"kup-button-list": HTMLKupButtonListElement;
|
|
3938
3953
|
"kup-calendar": HTMLKupCalendarElement;
|
|
3939
3954
|
"kup-card": HTMLKupCardElement;
|
|
3955
|
+
"kup-card-list": HTMLKupCardListElement;
|
|
3940
3956
|
"kup-cell": HTMLKupCellElement;
|
|
3941
3957
|
"kup-chart": HTMLKupChartElement;
|
|
3942
3958
|
"kup-checkbox": HTMLKupCheckboxElement;
|
|
3943
3959
|
"kup-chip": HTMLKupChipElement;
|
|
3944
3960
|
"kup-color-picker": HTMLKupColorPickerElement;
|
|
3945
3961
|
"kup-combobox": HTMLKupComboboxElement;
|
|
3946
|
-
"kup-dash": HTMLKupDashElement;
|
|
3947
|
-
"kup-dash-list": HTMLKupDashListElement;
|
|
3948
3962
|
"kup-dashboard": HTMLKupDashboardElement;
|
|
3949
3963
|
"kup-data-table": HTMLKupDataTableElement;
|
|
3950
3964
|
"kup-date-picker": HTMLKupDatePickerElement;
|
|
@@ -4366,6 +4380,11 @@ declare namespace LocalJSX {
|
|
|
4366
4380
|
* @default null
|
|
4367
4381
|
*/
|
|
4368
4382
|
"data"?: KupCalendarData;
|
|
4383
|
+
/**
|
|
4384
|
+
* When true, events are editable.
|
|
4385
|
+
* @default true
|
|
4386
|
+
*/
|
|
4387
|
+
"editableEvents"?: boolean;
|
|
4369
4388
|
/**
|
|
4370
4389
|
* When disabled, the navigation toolbar won't be displayed.
|
|
4371
4390
|
* @default false
|
|
@@ -4452,6 +4471,40 @@ declare namespace LocalJSX {
|
|
|
4452
4471
|
*/
|
|
4453
4472
|
"sizeY"?: string;
|
|
4454
4473
|
}
|
|
4474
|
+
interface KupCardList {
|
|
4475
|
+
/**
|
|
4476
|
+
* Sets the number of columns.
|
|
4477
|
+
* @default 1
|
|
4478
|
+
*/
|
|
4479
|
+
"columnsNumber"?: number;
|
|
4480
|
+
/**
|
|
4481
|
+
* Custom style of the component.
|
|
4482
|
+
* @default ""
|
|
4483
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4484
|
+
*/
|
|
4485
|
+
"customStyle"?: string;
|
|
4486
|
+
/**
|
|
4487
|
+
* Actual data of the component.
|
|
4488
|
+
* @default null
|
|
4489
|
+
*/
|
|
4490
|
+
"data"?: KupCardListData;
|
|
4491
|
+
/**
|
|
4492
|
+
* Sets whether the component occupies all available width.
|
|
4493
|
+
* @default true
|
|
4494
|
+
*/
|
|
4495
|
+
"fullWidth"?: boolean;
|
|
4496
|
+
/**
|
|
4497
|
+
* Sets whether the cards are placed horizontally or not.
|
|
4498
|
+
* @default false
|
|
4499
|
+
*/
|
|
4500
|
+
"horizontal"?: boolean;
|
|
4501
|
+
/**
|
|
4502
|
+
* Sets whether a single card is clickable or not.
|
|
4503
|
+
* @default false
|
|
4504
|
+
*/
|
|
4505
|
+
"isClickable"?: boolean;
|
|
4506
|
+
"onKup-cardlist-click"?: (event: KupCardListCustomEvent<KupCardListClickEventPayload>) => void;
|
|
4507
|
+
}
|
|
4455
4508
|
interface KupCell {
|
|
4456
4509
|
/**
|
|
4457
4510
|
* Custom style of the component.
|
|
@@ -4747,42 +4800,6 @@ declare namespace LocalJSX {
|
|
|
4747
4800
|
*/
|
|
4748
4801
|
"showDropDownIcon"?: boolean;
|
|
4749
4802
|
}
|
|
4750
|
-
interface KupDash {
|
|
4751
|
-
/**
|
|
4752
|
-
* The component can be clicked.
|
|
4753
|
-
*/
|
|
4754
|
-
"active"?: boolean;
|
|
4755
|
-
/**
|
|
4756
|
-
* Sets the font size of the component.
|
|
4757
|
-
*/
|
|
4758
|
-
"fontsize"?: string;
|
|
4759
|
-
/**
|
|
4760
|
-
* No idea what this is about.
|
|
4761
|
-
*/
|
|
4762
|
-
"index"?: number;
|
|
4763
|
-
/**
|
|
4764
|
-
* Sets the layout of the component.
|
|
4765
|
-
*/
|
|
4766
|
-
"layout"?: string;
|
|
4767
|
-
"onKup-dash-click"?: (event: KupDashCustomEvent<{
|
|
4768
|
-
id: number;
|
|
4769
|
-
}>) => void;
|
|
4770
|
-
}
|
|
4771
|
-
interface KupDashList {
|
|
4772
|
-
"active"?: boolean;
|
|
4773
|
-
"columnsNumber"?: number;
|
|
4774
|
-
"data"?: KupDataDataset;
|
|
4775
|
-
"fontsize"?: string;
|
|
4776
|
-
"fullWidth"?: boolean;
|
|
4777
|
-
"horizontal"?: boolean;
|
|
4778
|
-
"iconColor"?: Array<any>;
|
|
4779
|
-
"layout"?: string;
|
|
4780
|
-
"onKup-dash-click"?: (event: KupDashListCustomEvent<{
|
|
4781
|
-
idx: number;
|
|
4782
|
-
}>) => void;
|
|
4783
|
-
"textColor"?: Array<any>;
|
|
4784
|
-
"valueColor"?: Array<any>;
|
|
4785
|
-
}
|
|
4786
4803
|
interface KupDashboard {
|
|
4787
4804
|
/**
|
|
4788
4805
|
* Custom style of the component.
|
|
@@ -6759,14 +6776,13 @@ declare namespace LocalJSX {
|
|
|
6759
6776
|
"kup-button-list": KupButtonList;
|
|
6760
6777
|
"kup-calendar": KupCalendar;
|
|
6761
6778
|
"kup-card": KupCard;
|
|
6779
|
+
"kup-card-list": KupCardList;
|
|
6762
6780
|
"kup-cell": KupCell;
|
|
6763
6781
|
"kup-chart": KupChart;
|
|
6764
6782
|
"kup-checkbox": KupCheckbox;
|
|
6765
6783
|
"kup-chip": KupChip;
|
|
6766
6784
|
"kup-color-picker": KupColorPicker;
|
|
6767
6785
|
"kup-combobox": KupCombobox;
|
|
6768
|
-
"kup-dash": KupDash;
|
|
6769
|
-
"kup-dash-list": KupDashList;
|
|
6770
6786
|
"kup-dashboard": KupDashboard;
|
|
6771
6787
|
"kup-data-table": KupDataTable;
|
|
6772
6788
|
"kup-date-picker": KupDatePicker;
|
|
@@ -6814,14 +6830,13 @@ declare module "@stencil/core" {
|
|
|
6814
6830
|
"kup-button-list": LocalJSX.KupButtonList & JSXBase.HTMLAttributes<HTMLKupButtonListElement>;
|
|
6815
6831
|
"kup-calendar": LocalJSX.KupCalendar & JSXBase.HTMLAttributes<HTMLKupCalendarElement>;
|
|
6816
6832
|
"kup-card": LocalJSX.KupCard & JSXBase.HTMLAttributes<HTMLKupCardElement>;
|
|
6833
|
+
"kup-card-list": LocalJSX.KupCardList & JSXBase.HTMLAttributes<HTMLKupCardListElement>;
|
|
6817
6834
|
"kup-cell": LocalJSX.KupCell & JSXBase.HTMLAttributes<HTMLKupCellElement>;
|
|
6818
6835
|
"kup-chart": LocalJSX.KupChart & JSXBase.HTMLAttributes<HTMLKupChartElement>;
|
|
6819
6836
|
"kup-checkbox": LocalJSX.KupCheckbox & JSXBase.HTMLAttributes<HTMLKupCheckboxElement>;
|
|
6820
6837
|
"kup-chip": LocalJSX.KupChip & JSXBase.HTMLAttributes<HTMLKupChipElement>;
|
|
6821
6838
|
"kup-color-picker": LocalJSX.KupColorPicker & JSXBase.HTMLAttributes<HTMLKupColorPickerElement>;
|
|
6822
6839
|
"kup-combobox": LocalJSX.KupCombobox & JSXBase.HTMLAttributes<HTMLKupComboboxElement>;
|
|
6823
|
-
"kup-dash": LocalJSX.KupDash & JSXBase.HTMLAttributes<HTMLKupDashElement>;
|
|
6824
|
-
"kup-dash-list": LocalJSX.KupDashList & JSXBase.HTMLAttributes<HTMLKupDashListElement>;
|
|
6825
6840
|
"kup-dashboard": LocalJSX.KupDashboard & JSXBase.HTMLAttributes<HTMLKupDashboardElement>;
|
|
6826
6841
|
"kup-data-table": LocalJSX.KupDataTable & JSXBase.HTMLAttributes<HTMLKupDataTableElement>;
|
|
6827
6842
|
"kup-date-picker": LocalJSX.KupDatePicker & JSXBase.HTMLAttributes<HTMLKupDatePickerElement>;
|
|
@@ -129,7 +129,7 @@ export declare class KupMath {
|
|
|
129
129
|
* @param {string} input number as string, formatted by locale US, decimal separator . (like java decimal numbers)
|
|
130
130
|
* @param {number} decimals number of significant decimal digits for output
|
|
131
131
|
* @param {string} type - type of number for calculate suffix
|
|
132
|
-
* @param {string} decSeparator decimal separator for
|
|
132
|
+
* @param {string} decSeparator decimal separator for output string
|
|
133
133
|
* @returns {string} number as string, formatted by actual browser locale (or using decimal separator param), with suffix by type
|
|
134
134
|
**/
|
|
135
135
|
numberStringToFormattedString(input: string, decimals: number, type: string, decSeparator?: string): string;
|
|
@@ -432,7 +432,7 @@ export interface QueueApi {
|
|
|
432
432
|
/**
|
|
433
433
|
* Host
|
|
434
434
|
*/
|
|
435
|
-
interface HostAttributes {
|
|
435
|
+
export interface HostAttributes {
|
|
436
436
|
class?: string | {
|
|
437
437
|
[className: string]: boolean;
|
|
438
438
|
};
|
|
@@ -930,6 +930,8 @@ export declare namespace JSXBase {
|
|
|
930
930
|
minlength?: number | string;
|
|
931
931
|
multiple?: boolean;
|
|
932
932
|
name?: string;
|
|
933
|
+
onSelect?: (event: Event) => void;
|
|
934
|
+
onselect?: (event: Event) => void;
|
|
933
935
|
pattern?: string;
|
|
934
936
|
placeholder?: string;
|
|
935
937
|
readOnly?: boolean;
|
|
@@ -1143,6 +1145,8 @@ export declare namespace JSXBase {
|
|
|
1143
1145
|
minLength?: number;
|
|
1144
1146
|
minlength?: number | string;
|
|
1145
1147
|
name?: string;
|
|
1148
|
+
onSelect?: (event: Event) => void;
|
|
1149
|
+
onselect?: (event: Event) => void;
|
|
1146
1150
|
placeholder?: string;
|
|
1147
1151
|
readOnly?: boolean;
|
|
1148
1152
|
readonly?: boolean | string;
|
|
@@ -1289,7 +1293,7 @@ export declare namespace JSXBase {
|
|
|
1289
1293
|
clipPathUnits?: number | string;
|
|
1290
1294
|
'clip-rule'?: number | string;
|
|
1291
1295
|
'color-interpolation'?: number | string;
|
|
1292
|
-
'color-interpolation-filters'?: 'auto' | '
|
|
1296
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
|
|
1293
1297
|
'color-profile'?: number | string;
|
|
1294
1298
|
'color-rendering'?: number | string;
|
|
1295
1299
|
contentScriptType?: number | string;
|
|
@@ -1619,8 +1623,14 @@ export declare namespace JSXBase {
|
|
|
1619
1623
|
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
1620
1624
|
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
1621
1625
|
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
1626
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
1627
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
1622
1628
|
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
1623
1629
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1630
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
|
1631
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1632
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1633
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1624
1634
|
}
|
|
1625
1635
|
}
|
|
1626
1636
|
export interface JSXAttributes<T = Element> {
|
|
@@ -67,14 +67,13 @@ export declare enum KupTagNames {
|
|
|
67
67
|
BUTTON_LIST = "KUP-BUTTON-LIST",
|
|
68
68
|
CALENDAR = "KUP-CALENDAR",
|
|
69
69
|
CARD = "KUP-CARD",
|
|
70
|
+
CARD_LIST = "KUP-CARD-LIST",
|
|
70
71
|
CELL = "KUP-CELL",
|
|
71
72
|
CHART = "KUP-CHART",
|
|
72
73
|
CHECKBOX = "KUP-CHECKBOX",
|
|
73
74
|
CHIP = "KUP-CHIP",
|
|
74
75
|
COLOR_PICKER = "KUP-COLOR-PICKER",
|
|
75
76
|
COMBOBOX = "KUP-COMBOBOX",
|
|
76
|
-
DASH = "KUP-DASH",
|
|
77
|
-
DASH_LIST = "KUP-DASH-LIST",
|
|
78
77
|
DASHBOARD = "KUP-DASHBOARD",
|
|
79
78
|
DATA_TABLE = "KUP-DATA-TABLE",
|
|
80
79
|
DATE_PICKER = "KUP-DATE-PICKER",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"smeup",
|
|
6
6
|
"KetchUP",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@material/form-field": "^14.0.0",
|
|
49
49
|
"@material/ripple": "^14.0.0",
|
|
50
50
|
"@material/textfield": "^14.0.0",
|
|
51
|
-
"@sme.up/gantt-component": "^1.3.
|
|
51
|
+
"@sme.up/gantt-component": "^1.3.30",
|
|
52
52
|
"d3-shape": "^3.2.0",
|
|
53
53
|
"dayjs": "^1.11.7",
|
|
54
54
|
"echarts": "^5.4.2",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"vanilla-picker": "^2.12.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@stencil/core": "^
|
|
66
|
-
"@stencil/
|
|
67
|
-
"@stencil/
|
|
65
|
+
"@stencil/core": "^4.0.2",
|
|
66
|
+
"@stencil/react-output-target": "0.5.3",
|
|
67
|
+
"@stencil/sass": "^3.0.5",
|
|
68
68
|
"jest": "^27.4.5",
|
|
69
69
|
"jest-cli": "^27.4.5",
|
|
70
70
|
"jest-html-reporter": "^3.7.1",
|
|
@@ -76,5 +76,8 @@
|
|
|
76
76
|
"repository": {
|
|
77
77
|
"type": "git",
|
|
78
78
|
"url": "https://github.com/smeup/ketchup.git"
|
|
79
|
+
},
|
|
80
|
+
"installConfig": {
|
|
81
|
+
"hoistingLimits": "workspaces"
|
|
79
82
|
}
|
|
80
83
|
}
|