@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
|
@@ -13778,7 +13778,8 @@ var KupCalendarProps;
|
|
|
13778
13778
|
(function (KupCalendarProps) {
|
|
13779
13779
|
KupCalendarProps["currentDate"] = "Sets the date of the calendar. Must be in ISO format (YYYY-MM-DD).";
|
|
13780
13780
|
KupCalendarProps["customStyle"] = "Custom style of the component.";
|
|
13781
|
-
KupCalendarProps["data"] = "
|
|
13781
|
+
KupCalendarProps["data"] = "Actual data of the calendar.";
|
|
13782
|
+
KupCalendarProps["editableEvents"] = "When true, events are editable.";
|
|
13782
13783
|
KupCalendarProps["hideNavigation"] = "When disabled, the navigation toolbar won't be displayed.";
|
|
13783
13784
|
KupCalendarProps["viewType"] = "Type of the view.";
|
|
13784
13785
|
})(KupCalendarProps || (KupCalendarProps = {}));
|
|
@@ -13793,7 +13794,7 @@ var KupCalendarViewTypes;
|
|
|
13793
13794
|
KupCalendarViewTypes["WEEK"] = "timeGridWeek";
|
|
13794
13795
|
})(KupCalendarViewTypes || (KupCalendarViewTypes = {}));
|
|
13795
13796
|
/**
|
|
13796
|
-
* Available
|
|
13797
|
+
* Available column options.
|
|
13797
13798
|
*/
|
|
13798
13799
|
var KupCalendarOptions;
|
|
13799
13800
|
(function (KupCalendarOptions) {
|
|
@@ -13806,7 +13807,7 @@ var KupCalendarOptions;
|
|
|
13806
13807
|
KupCalendarOptions["STYLE"] = "style";
|
|
13807
13808
|
})(KupCalendarOptions || (KupCalendarOptions = {}));
|
|
13808
13809
|
|
|
13809
|
-
const kupCalendarCss = ":host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-background-color)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-color)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-primary-color)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-on-primary-color)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-title-background-color)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-title-color)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 2px solid var(--kup-border-color)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n rgba(var(--kup-disabled-background-color-rgb), 0.5)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-disabled-color)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n rgba(var(--kup-primary-color-rgb), 0.125)\n );background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;border-left:var(--kup_calendar_navigator_border);border-right:var(--kup_calendar_navigator_border);border-top:var(--kup_calendar_navigator_border);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:space-between}.navigation__left{--kup-font-size:0.875em;display:flex}.navigation__right{display:flex}.navigation__title{font-size:1.25em;font-weight:400;letter-spacing:0.1892857em;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border-radius:var(--kup_calendar_event_border_radius);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color)}@media (max-width: 599px){.navigation{flex-direction:column}}";
|
|
13810
|
+
const kupCalendarCss = ":host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-background-color)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-color)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-primary-color)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-on-primary-color)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-title-background-color)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-title-color)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 2px solid var(--kup-border-color)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n rgba(var(--kup-disabled-background-color-rgb), 0.5)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-disabled-color)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n rgba(var(--kup-primary-color-rgb), 0.125)\n );background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;border-left:var(--kup_calendar_navigator_border);border-right:var(--kup_calendar_navigator_border);border-top:var(--kup_calendar_navigator_border);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:space-between}.navigation__left{--kup-font-size:0.875em;display:flex}.navigation__right{display:flex}.navigation__title{font-size:1.25em;font-weight:400;letter-spacing:0.1892857em;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border-radius:var(--kup_calendar_event_border_radius);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color)}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}";
|
|
13810
13811
|
|
|
13811
13812
|
const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends HTMLElement$1 {
|
|
13812
13813
|
constructor() {
|
|
@@ -13832,12 +13833,16 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
13832
13833
|
this.customStyle = '';
|
|
13833
13834
|
this.data = null;
|
|
13834
13835
|
this.hideNavigation = false;
|
|
13836
|
+
this.editableEvents = true;
|
|
13835
13837
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
13836
13838
|
}
|
|
13837
13839
|
/*-------------------------------------------------*/
|
|
13838
13840
|
/* W a t c h e r s */
|
|
13839
13841
|
/*-------------------------------------------------*/
|
|
13840
13842
|
setCalendarData() {
|
|
13843
|
+
if (!this.calendarContainer) {
|
|
13844
|
+
return;
|
|
13845
|
+
}
|
|
13841
13846
|
if (this.calendar) {
|
|
13842
13847
|
this.calendar.destroy();
|
|
13843
13848
|
}
|
|
@@ -14078,6 +14083,7 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14078
14083
|
}
|
|
14079
14084
|
const el = {
|
|
14080
14085
|
allDay: isHourRange ? false : true,
|
|
14086
|
+
editable: this.editableEvents,
|
|
14081
14087
|
end: endDate.toISOString(),
|
|
14082
14088
|
extendedProps: {
|
|
14083
14089
|
row,
|
|
@@ -14170,6 +14176,7 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14170
14176
|
"customStyle": [1, "custom-style"],
|
|
14171
14177
|
"data": [16],
|
|
14172
14178
|
"hideNavigation": [4, "hide-navigation"],
|
|
14179
|
+
"editableEvents": [4, "editable-events"],
|
|
14173
14180
|
"viewType": [1025, "view-type"],
|
|
14174
14181
|
"getProps": [64],
|
|
14175
14182
|
"refresh": [64],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface KupCardList extends Components.KupCardList, HTMLElement {}
|
|
4
|
+
export const KupCardList: {
|
|
5
|
+
prototype: KupCardList;
|
|
6
|
+
new (): KupCardList;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, a9 as KupCardFamily, c as componentWrapperId, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$e, q as defineCustomElement$f, r as defineCustomElement$g, t as defineCustomElement$h, u as defineCustomElement$i, v as defineCustomElement$j, w as defineCustomElement$k, x as defineCustomElement$l, y as defineCustomElement$m, z as defineCustomElement$n, A as defineCustomElement$o, B as defineCustomElement$p, C as defineCustomElement$q, D as defineCustomElement$r, E as defineCustomElement$s, G as defineCustomElement$t, aa as getCellValueForDisplay } from './kup-autocomplete2.js';
|
|
3
|
+
import { d as defineCustomElement$d } from './kup-grid2.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Props of the kup-card-list component.
|
|
7
|
+
* Used to export every prop in an object.
|
|
8
|
+
*/
|
|
9
|
+
var KupCardListProps;
|
|
10
|
+
(function (KupCardListProps) {
|
|
11
|
+
KupCardListProps["columnsNumber"] = "Sets the number of columns.";
|
|
12
|
+
KupCardListProps["customStyle"] = "Custom style of the component.";
|
|
13
|
+
KupCardListProps["data"] = "Actual data of the component.";
|
|
14
|
+
KupCardListProps["fullWidth"] = "Sets whether the component occupies all available width.";
|
|
15
|
+
KupCardListProps["horizontal"] = "Sets whether the cards are placed horizontally or not.";
|
|
16
|
+
KupCardListProps["isClickable"] = "Sets whether a single card is clickable or not.";
|
|
17
|
+
})(KupCardListProps || (KupCardListProps = {}));
|
|
18
|
+
|
|
19
|
+
const kupCardListCss = ":host{--kup_cardlist_cards_max_height:var(--kup-cardlist-cards-max-height, unset);--kup_cardlist_cards_min_height:var(--kup-cardlist-cards-min-height, unset);--kup_cardlist_cards_max_width:var(--kup-cardlist-cards-max-width, unset);--kup_cardlist_cards_min_width:var(--kup-cardlist-cards-min-width, unset);display:block;height:100%;width:100%}#kup-component{height:100%;width:100%}kup-card{max-height:var(--kup_cardlist_cards_max_height);min-height:var(--kup_cardlist_cards_min_height);max-width:var(--kup_cardlist_cards_max_width);min-width:var(--kup_cardlist_cards_min_width)}kup-card.is-clickable{cursor:pointer}kup-grid{--kup-grid-padding:0}";
|
|
20
|
+
|
|
21
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
22
|
+
if (kind === "a" && !f)
|
|
23
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
24
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
25
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
26
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
27
|
+
};
|
|
28
|
+
var _KupCardList_kupManager;
|
|
29
|
+
const KupCardList$1 = /*@__PURE__*/ proxyCustomElement(class KupCardList extends HTMLElement {
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
this.__registerHost();
|
|
33
|
+
this.__attachShadow();
|
|
34
|
+
this.kupCardListClickEvent = createEvent(this, "kup-cardlist-click", 7);
|
|
35
|
+
/*-------------------------------------------------*/
|
|
36
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
37
|
+
/*-------------------------------------------------*/
|
|
38
|
+
_KupCardList_kupManager.set(this, kupManagerInstance());
|
|
39
|
+
this.columnsNumber = 1;
|
|
40
|
+
this.customStyle = '';
|
|
41
|
+
this.data = null;
|
|
42
|
+
this.fullWidth = true;
|
|
43
|
+
this.horizontal = false;
|
|
44
|
+
this.isClickable = false;
|
|
45
|
+
}
|
|
46
|
+
/*-------------------------------------------------*/
|
|
47
|
+
/* P u b l i c M e t h o d s */
|
|
48
|
+
/*-------------------------------------------------*/
|
|
49
|
+
/**
|
|
50
|
+
* Used to retrieve component's props values.
|
|
51
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
52
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
53
|
+
*/
|
|
54
|
+
async getProps(descriptions) {
|
|
55
|
+
return getProps(this, KupCardListProps, descriptions);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* This method is used to trigger a new render of the component.
|
|
59
|
+
*/
|
|
60
|
+
async refresh() {
|
|
61
|
+
forceUpdate(this);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Sets the props to the component.
|
|
65
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
66
|
+
*/
|
|
67
|
+
async setProps(props) {
|
|
68
|
+
setProps(this, KupCardListProps, props);
|
|
69
|
+
}
|
|
70
|
+
/*-------------------------------------------------*/
|
|
71
|
+
/* L i f e c y c l e H o o k s */
|
|
72
|
+
/*-------------------------------------------------*/
|
|
73
|
+
componentWillLoad() {
|
|
74
|
+
__classPrivateFieldGet(this, _KupCardList_kupManager, "f").debug.logLoad(this, false);
|
|
75
|
+
__classPrivateFieldGet(this, _KupCardList_kupManager, "f").theme.register(this);
|
|
76
|
+
}
|
|
77
|
+
componentDidLoad() {
|
|
78
|
+
__classPrivateFieldGet(this, _KupCardList_kupManager, "f").debug.logLoad(this, true);
|
|
79
|
+
}
|
|
80
|
+
componentDidRender() {
|
|
81
|
+
__classPrivateFieldGet(this, _KupCardList_kupManager, "f").debug.logRender(this, true);
|
|
82
|
+
}
|
|
83
|
+
render() {
|
|
84
|
+
if (!this.data || !this.data.columns || !this.data.columns.length) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const content = [];
|
|
88
|
+
let decvalueCol, descrCol, iconCol, iconcolorCol, intvalueCol, layoutCol, measureCol, textcolorCol, valueCol, valuecolorCol;
|
|
89
|
+
for (let index = 0; index < this.data.columns.length; index++) {
|
|
90
|
+
const column = this.data.columns[index];
|
|
91
|
+
if (column.cardListOption) {
|
|
92
|
+
switch (column.cardListOption) {
|
|
93
|
+
case 'decvalue':
|
|
94
|
+
decvalueCol = column;
|
|
95
|
+
break;
|
|
96
|
+
case 'descr':
|
|
97
|
+
descrCol = column;
|
|
98
|
+
break;
|
|
99
|
+
case 'icon':
|
|
100
|
+
iconCol = column;
|
|
101
|
+
break;
|
|
102
|
+
case 'iconcolor':
|
|
103
|
+
iconcolorCol = column;
|
|
104
|
+
break;
|
|
105
|
+
case 'intvalue':
|
|
106
|
+
intvalueCol = column;
|
|
107
|
+
break;
|
|
108
|
+
case 'layout':
|
|
109
|
+
layoutCol = column;
|
|
110
|
+
break;
|
|
111
|
+
case 'measure':
|
|
112
|
+
measureCol = column;
|
|
113
|
+
break;
|
|
114
|
+
case 'textcolor':
|
|
115
|
+
textcolorCol = column;
|
|
116
|
+
break;
|
|
117
|
+
case 'value':
|
|
118
|
+
valueCol = column;
|
|
119
|
+
break;
|
|
120
|
+
case 'valuecolor':
|
|
121
|
+
valuecolorCol = column;
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
for (let index = 0; index < this.data.rows.length; index++) {
|
|
127
|
+
const row = this.data.rows[index];
|
|
128
|
+
const data = {
|
|
129
|
+
color: [],
|
|
130
|
+
image: [],
|
|
131
|
+
text: [],
|
|
132
|
+
};
|
|
133
|
+
const layout = layoutCol && row.cells[layoutCol.name].value
|
|
134
|
+
? parseInt(row.cells[layoutCol.name].value)
|
|
135
|
+
: 1;
|
|
136
|
+
const card = (h("kup-card", { class: this.isClickable ? 'is-clickable' : '', customStyle: "#kup-component, .scalable-card { min-height: var(--kup_cardlist_cardsminheight) }", data: data, layoutFamily: KupCardFamily.SCALABLE, layoutNumber: layout, key: index, "onKup-card-click": () => {
|
|
137
|
+
if (this.isClickable) {
|
|
138
|
+
this.kupCardListClickEvent.emit({
|
|
139
|
+
comp: this,
|
|
140
|
+
id: this.rootElement.id,
|
|
141
|
+
index,
|
|
142
|
+
row: row,
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}, slot: index.toString() }));
|
|
146
|
+
const loadData = (col, prop, index) => {
|
|
147
|
+
if (col) {
|
|
148
|
+
const cell = row.cells[col.name];
|
|
149
|
+
if (cell) {
|
|
150
|
+
const value = cell.value;
|
|
151
|
+
switch (prop) {
|
|
152
|
+
case 'color':
|
|
153
|
+
data[prop][index] =
|
|
154
|
+
__classPrivateFieldGet(this, _KupCardList_kupManager, "f").theme.colorCheck(value).hexColor;
|
|
155
|
+
break;
|
|
156
|
+
case 'image':
|
|
157
|
+
data[prop][index] = { resource: value };
|
|
158
|
+
break;
|
|
159
|
+
default:
|
|
160
|
+
data[prop][index] = getCellValueForDisplay(col, cell);
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
switch (layout) {
|
|
167
|
+
case 1:
|
|
168
|
+
loadData(textcolorCol, 'color', 0);
|
|
169
|
+
loadData(valuecolorCol, 'color', 1);
|
|
170
|
+
loadData(descrCol, 'text', 0);
|
|
171
|
+
loadData(valueCol, 'text', 1);
|
|
172
|
+
break;
|
|
173
|
+
case 2:
|
|
174
|
+
loadData(iconcolorCol, 'color', 0);
|
|
175
|
+
loadData(valuecolorCol, 'color', 1);
|
|
176
|
+
loadData(iconCol, 'image', 0);
|
|
177
|
+
loadData(intvalueCol, 'text', 0);
|
|
178
|
+
loadData(decvalueCol, 'text', 1);
|
|
179
|
+
loadData(measureCol, 'text', 2);
|
|
180
|
+
break;
|
|
181
|
+
case 3:
|
|
182
|
+
loadData(valuecolorCol, 'color', 0);
|
|
183
|
+
loadData(textcolorCol, 'color', 1);
|
|
184
|
+
loadData(valueCol, 'text', 0);
|
|
185
|
+
loadData(descrCol, 'text', 1);
|
|
186
|
+
break;
|
|
187
|
+
case 4:
|
|
188
|
+
loadData(iconcolorCol, 'color', 0);
|
|
189
|
+
loadData(valuecolorCol, 'color', 1);
|
|
190
|
+
loadData(textcolorCol, 'color', 2);
|
|
191
|
+
loadData(iconCol, 'image', 0);
|
|
192
|
+
loadData(intvalueCol, 'text', 0);
|
|
193
|
+
loadData(decvalueCol, 'text', 1);
|
|
194
|
+
loadData(measureCol, 'text', 2);
|
|
195
|
+
loadData(descrCol, 'text', 3);
|
|
196
|
+
break;
|
|
197
|
+
case 5:
|
|
198
|
+
loadData(iconcolorCol, 'color', 0);
|
|
199
|
+
loadData(textcolorCol, 'color', 1);
|
|
200
|
+
loadData(valuecolorCol, 'color', 2);
|
|
201
|
+
loadData(iconCol, 'image', 0);
|
|
202
|
+
loadData(descrCol, 'text', 0);
|
|
203
|
+
loadData(valueCol, 'text', 1);
|
|
204
|
+
break;
|
|
205
|
+
case 6:
|
|
206
|
+
loadData(iconcolorCol, 'color', 0);
|
|
207
|
+
loadData(valuecolorCol, 'color', 1);
|
|
208
|
+
loadData(textcolorCol, 'color', 2);
|
|
209
|
+
loadData(iconCol, 'image', 0);
|
|
210
|
+
loadData(valueCol, 'text', 0);
|
|
211
|
+
loadData(descrCol, 'text', 1);
|
|
212
|
+
break;
|
|
213
|
+
case 7:
|
|
214
|
+
loadData(iconcolorCol, 'color', 0);
|
|
215
|
+
loadData(valuecolorCol, 'color', 1);
|
|
216
|
+
loadData(textcolorCol, 'color', 2);
|
|
217
|
+
loadData(iconCol, 'image', 0);
|
|
218
|
+
loadData(valueCol, 'text', 0);
|
|
219
|
+
loadData(descrCol, 'text', 1);
|
|
220
|
+
break;
|
|
221
|
+
case 8:
|
|
222
|
+
loadData(iconcolorCol, 'color', 0);
|
|
223
|
+
loadData(valuecolorCol, 'color', 1);
|
|
224
|
+
loadData(textcolorCol, 'color', 2);
|
|
225
|
+
loadData(iconCol, 'image', 0);
|
|
226
|
+
loadData(valueCol, 'text', 0);
|
|
227
|
+
loadData(descrCol, 'text', 1);
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
content.push(card);
|
|
231
|
+
}
|
|
232
|
+
return (h(Host, null, h("style", null, __classPrivateFieldGet(this, _KupCardList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("kup-grid", { class: `${this.fullWidth ? 'kup-full-width' : ''} scalable-cards`, columns: this.columnsNumber, singleLine: this.horizontal }, content))));
|
|
233
|
+
}
|
|
234
|
+
disconnectedCallback() {
|
|
235
|
+
__classPrivateFieldGet(this, _KupCardList_kupManager, "f").theme.unregister(this);
|
|
236
|
+
}
|
|
237
|
+
get rootElement() { return this; }
|
|
238
|
+
static get style() { return kupCardListCss; }
|
|
239
|
+
}, [1, "kup-card-list", {
|
|
240
|
+
"columnsNumber": [2, "columns-number"],
|
|
241
|
+
"customStyle": [1, "custom-style"],
|
|
242
|
+
"data": [16],
|
|
243
|
+
"fullWidth": [4, "full-width"],
|
|
244
|
+
"horizontal": [4],
|
|
245
|
+
"isClickable": [4, "is-clickable"],
|
|
246
|
+
"getProps": [64],
|
|
247
|
+
"refresh": [64],
|
|
248
|
+
"setProps": [64]
|
|
249
|
+
}]);
|
|
250
|
+
_KupCardList_kupManager = new WeakMap();
|
|
251
|
+
function defineCustomElement$1() {
|
|
252
|
+
if (typeof customElements === "undefined") {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
const components = ["kup-card-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-grid", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
256
|
+
components.forEach(tagName => { switch (tagName) {
|
|
257
|
+
case "kup-card-list":
|
|
258
|
+
if (!customElements.get(tagName)) {
|
|
259
|
+
customElements.define(tagName, KupCardList$1);
|
|
260
|
+
}
|
|
261
|
+
break;
|
|
262
|
+
case "kup-autocomplete":
|
|
263
|
+
if (!customElements.get(tagName)) {
|
|
264
|
+
defineCustomElement$t();
|
|
265
|
+
}
|
|
266
|
+
break;
|
|
267
|
+
case "kup-badge":
|
|
268
|
+
if (!customElements.get(tagName)) {
|
|
269
|
+
defineCustomElement$s();
|
|
270
|
+
}
|
|
271
|
+
break;
|
|
272
|
+
case "kup-button":
|
|
273
|
+
if (!customElements.get(tagName)) {
|
|
274
|
+
defineCustomElement$r();
|
|
275
|
+
}
|
|
276
|
+
break;
|
|
277
|
+
case "kup-button-list":
|
|
278
|
+
if (!customElements.get(tagName)) {
|
|
279
|
+
defineCustomElement$q();
|
|
280
|
+
}
|
|
281
|
+
break;
|
|
282
|
+
case "kup-card":
|
|
283
|
+
if (!customElements.get(tagName)) {
|
|
284
|
+
defineCustomElement$p();
|
|
285
|
+
}
|
|
286
|
+
break;
|
|
287
|
+
case "kup-chart":
|
|
288
|
+
if (!customElements.get(tagName)) {
|
|
289
|
+
defineCustomElement$o();
|
|
290
|
+
}
|
|
291
|
+
break;
|
|
292
|
+
case "kup-checkbox":
|
|
293
|
+
if (!customElements.get(tagName)) {
|
|
294
|
+
defineCustomElement$n();
|
|
295
|
+
}
|
|
296
|
+
break;
|
|
297
|
+
case "kup-chip":
|
|
298
|
+
if (!customElements.get(tagName)) {
|
|
299
|
+
defineCustomElement$m();
|
|
300
|
+
}
|
|
301
|
+
break;
|
|
302
|
+
case "kup-color-picker":
|
|
303
|
+
if (!customElements.get(tagName)) {
|
|
304
|
+
defineCustomElement$l();
|
|
305
|
+
}
|
|
306
|
+
break;
|
|
307
|
+
case "kup-combobox":
|
|
308
|
+
if (!customElements.get(tagName)) {
|
|
309
|
+
defineCustomElement$k();
|
|
310
|
+
}
|
|
311
|
+
break;
|
|
312
|
+
case "kup-data-table":
|
|
313
|
+
if (!customElements.get(tagName)) {
|
|
314
|
+
defineCustomElement$j();
|
|
315
|
+
}
|
|
316
|
+
break;
|
|
317
|
+
case "kup-date-picker":
|
|
318
|
+
if (!customElements.get(tagName)) {
|
|
319
|
+
defineCustomElement$i();
|
|
320
|
+
}
|
|
321
|
+
break;
|
|
322
|
+
case "kup-dialog":
|
|
323
|
+
if (!customElements.get(tagName)) {
|
|
324
|
+
defineCustomElement$h();
|
|
325
|
+
}
|
|
326
|
+
break;
|
|
327
|
+
case "kup-dropdown-button":
|
|
328
|
+
if (!customElements.get(tagName)) {
|
|
329
|
+
defineCustomElement$g();
|
|
330
|
+
}
|
|
331
|
+
break;
|
|
332
|
+
case "kup-form":
|
|
333
|
+
if (!customElements.get(tagName)) {
|
|
334
|
+
defineCustomElement$f();
|
|
335
|
+
}
|
|
336
|
+
break;
|
|
337
|
+
case "kup-gauge":
|
|
338
|
+
if (!customElements.get(tagName)) {
|
|
339
|
+
defineCustomElement$e();
|
|
340
|
+
}
|
|
341
|
+
break;
|
|
342
|
+
case "kup-grid":
|
|
343
|
+
if (!customElements.get(tagName)) {
|
|
344
|
+
defineCustomElement$d();
|
|
345
|
+
}
|
|
346
|
+
break;
|
|
347
|
+
case "kup-image":
|
|
348
|
+
if (!customElements.get(tagName)) {
|
|
349
|
+
defineCustomElement$c();
|
|
350
|
+
}
|
|
351
|
+
break;
|
|
352
|
+
case "kup-list":
|
|
353
|
+
if (!customElements.get(tagName)) {
|
|
354
|
+
defineCustomElement$b();
|
|
355
|
+
}
|
|
356
|
+
break;
|
|
357
|
+
case "kup-progress-bar":
|
|
358
|
+
if (!customElements.get(tagName)) {
|
|
359
|
+
defineCustomElement$a();
|
|
360
|
+
}
|
|
361
|
+
break;
|
|
362
|
+
case "kup-radio":
|
|
363
|
+
if (!customElements.get(tagName)) {
|
|
364
|
+
defineCustomElement$9();
|
|
365
|
+
}
|
|
366
|
+
break;
|
|
367
|
+
case "kup-rating":
|
|
368
|
+
if (!customElements.get(tagName)) {
|
|
369
|
+
defineCustomElement$8();
|
|
370
|
+
}
|
|
371
|
+
break;
|
|
372
|
+
case "kup-spinner":
|
|
373
|
+
if (!customElements.get(tagName)) {
|
|
374
|
+
defineCustomElement$7();
|
|
375
|
+
}
|
|
376
|
+
break;
|
|
377
|
+
case "kup-switch":
|
|
378
|
+
if (!customElements.get(tagName)) {
|
|
379
|
+
defineCustomElement$6();
|
|
380
|
+
}
|
|
381
|
+
break;
|
|
382
|
+
case "kup-tab-bar":
|
|
383
|
+
if (!customElements.get(tagName)) {
|
|
384
|
+
defineCustomElement$5();
|
|
385
|
+
}
|
|
386
|
+
break;
|
|
387
|
+
case "kup-text-field":
|
|
388
|
+
if (!customElements.get(tagName)) {
|
|
389
|
+
defineCustomElement$4();
|
|
390
|
+
}
|
|
391
|
+
break;
|
|
392
|
+
case "kup-time-picker":
|
|
393
|
+
if (!customElements.get(tagName)) {
|
|
394
|
+
defineCustomElement$3();
|
|
395
|
+
}
|
|
396
|
+
break;
|
|
397
|
+
case "kup-tree":
|
|
398
|
+
if (!customElements.get(tagName)) {
|
|
399
|
+
defineCustomElement$2();
|
|
400
|
+
}
|
|
401
|
+
break;
|
|
402
|
+
} });
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
const KupCardList = KupCardList$1;
|
|
406
|
+
const defineCustomElement = defineCustomElement$1;
|
|
407
|
+
|
|
408
|
+
export { KupCardList, defineCustomElement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance,
|
|
2
|
+
import { k as kupManagerInstance, ab as FCellPadding, g as getProps, s as setProps, c as componentWrapperId, X as KupDragEffect, S as KupLanguageGeneric, T as FCell, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$r, G as defineCustomElement$s } from './kup-autocomplete2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-cell component.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ad as KupCheckbox$1, z as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupCheckbox = KupCheckbox$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { af as KupColorPicker$1, x as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupColorPicker = KupColorPicker$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ag as KupCombobox$1, w as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupCombobox = KupCombobox$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, ah as KupLanguageDashboard, a6 as FButton, S as KupLanguageGeneric, ai as FTextField, aj as FCheckbox, X as KupDragEffect, U as KupDebugCategory, _ as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$r, G as defineCustomElement$s } from './kup-autocomplete2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-dashboard component.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ak as KupDataTable$1, v as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDataTable = KupDataTable$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { al as KupDatePicker$1, u as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDatePicker = KupDatePicker$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { an as KupDropdownButton$1, r as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|