@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
|
@@ -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, c as componentWrapperId, S as KupLanguageGeneric, W as KupPointerEventTypes, 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$s, G as defineCustomElement$t,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as componentWrapperId, S as KupLanguageGeneric, W as KupPointerEventTypes, 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$s, G as defineCustomElement$t, ap as FButtonStyling, a6 as FButton, F as FImage } from './kup-autocomplete2.js';
|
|
3
3
|
import { d as defineCustomElement$r } from './kup-box2.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -12,7 +12,7 @@ var KupGridProps;
|
|
|
12
12
|
KupGridProps["singleLine"] = "When set to true, forces the content on a single line.";
|
|
13
13
|
})(KupGridProps || (KupGridProps = {}));
|
|
14
14
|
|
|
15
|
-
const kupGridCss = ":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);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}";
|
|
15
|
+
const kupGridCss = ":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%}";
|
|
16
16
|
|
|
17
17
|
const KupGrid = /*@__PURE__*/ proxyCustomElement(class KupGrid extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance,
|
|
2
|
+
import { k as kupManagerInstance, ap as FButtonStyling, g as getProps, s as setProps, M as MDCRipple, c as componentWrapperId, F as FImage, a6 as FButton, S as KupLanguageGeneric, 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, T as FCell, ab as FCellPadding } from './kup-autocomplete2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-image-list component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, S as KupLanguageGeneric, F as FImage, U as KupDebugCategory,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, S as KupLanguageGeneric, F as FImage, U as KupDebugCategory, au as kupDropEvent, av as kupDraggableColumnAttr, aw as kupDraggableRowAttr, Z as KupDropEventTypes, c as componentWrapperId, ap as FButtonStyling, K as KupThemeColorValues, 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$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$t, G as defineCustomElement$u } from './kup-autocomplete2.js';
|
|
3
3
|
import { d as defineCustomElement$s } from './kup-box2.js';
|
|
4
4
|
import { d as defineCustomElement$f } from './kup-echart2.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance,
|
|
2
|
+
import { k as kupManagerInstance, ax as KupDynamicPositionPlacement, ai as FTextField, a9 as KupCardFamily, _ 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-numeric-picker component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host, getAssetPath } from '@stencil/core/internal/client';
|
|
2
|
-
import { ay as createCommonjsModule, az as commonjsGlobal, k as kupManagerInstance, aA as KupDatesFormats,
|
|
2
|
+
import { ay as createCommonjsModule, az as commonjsGlobal, k as kupManagerInstance, aA as KupDatesFormats, aa as getCellValueForDisplay, g as getProps, s as setProps, _ as FTextFieldMDC, c as componentWrapperId, ai as FTextField, a as KupThemeIconValues, $ as KupLanguageSearch, 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-gantt component.
|
|
@@ -9452,21 +9452,20 @@ var VerticalScroll = function VerticalScroll(_ref) {
|
|
|
9452
9452
|
headerHeight = _ref.headerHeight,
|
|
9453
9453
|
rtl = _ref.rtl,
|
|
9454
9454
|
onScroll = _ref.onScroll;
|
|
9455
|
-
var scrollRef = react.
|
|
9455
|
+
var scrollRef = react.createRef();
|
|
9456
9456
|
react.useEffect(function () {
|
|
9457
|
+
var id;
|
|
9457
9458
|
if (scrollRef.current) {
|
|
9458
9459
|
var wrap = scrollRef.current;
|
|
9459
9460
|
var setScrollTop = function setScrollTop() {
|
|
9460
9461
|
wrap.scrollTop = scroll;
|
|
9461
9462
|
};
|
|
9462
|
-
setTimeout(setScrollTop,
|
|
9463
|
-
}
|
|
9464
|
-
}, []);
|
|
9465
|
-
react.useEffect(function () {
|
|
9466
|
-
if (scrollRef.current) {
|
|
9467
|
-
scrollRef.current.scrollTop = scroll;
|
|
9463
|
+
id = setTimeout(setScrollTop, 50);
|
|
9468
9464
|
}
|
|
9469
|
-
|
|
9465
|
+
return function () {
|
|
9466
|
+
clearTimeout(id);
|
|
9467
|
+
};
|
|
9468
|
+
}, [scroll, scrollRef]);
|
|
9470
9469
|
return react.createElement("div", {
|
|
9471
9470
|
style: {
|
|
9472
9471
|
height: ganttHeight,
|
|
@@ -11207,6 +11206,12 @@ var Gantt = function Gantt(_ref) {
|
|
|
11207
11206
|
var _useState9 = react.useState(),
|
|
11208
11207
|
projectionContent = _useState9[0],
|
|
11209
11208
|
setProjectionContent = _useState9[1];
|
|
11209
|
+
react.useEffect(function () {
|
|
11210
|
+
if (onScrollY) {
|
|
11211
|
+
onScrollY(initialScrollY);
|
|
11212
|
+
}
|
|
11213
|
+
setScrollY(initialScrollY);
|
|
11214
|
+
}, [initialScrollY, onScrollY]);
|
|
11210
11215
|
react.useEffect(function () {
|
|
11211
11216
|
window.addEventListener("gantt-sync-scroll-event", function (e) {
|
|
11212
11217
|
if (e.detail.id !== id) {
|
|
@@ -11367,6 +11372,9 @@ var Gantt = function Gantt(_ref) {
|
|
|
11367
11372
|
newScrollY = ganttFullHeight - ganttHeight;
|
|
11368
11373
|
}
|
|
11369
11374
|
if (newScrollY !== scrollY) {
|
|
11375
|
+
if (onScrollY) {
|
|
11376
|
+
onScrollY(newScrollY);
|
|
11377
|
+
}
|
|
11370
11378
|
setScrollY(newScrollY);
|
|
11371
11379
|
event.preventDefault();
|
|
11372
11380
|
}
|
|
@@ -11382,10 +11390,10 @@ var Gantt = function Gantt(_ref) {
|
|
|
11382
11390
|
}, [wrapperRef, scrollY, scrollX, ganttHeight, svgWidth, rtl, ganttFullHeight]);
|
|
11383
11391
|
var handleScrollY = function handleScrollY(event) {
|
|
11384
11392
|
if (scrollY !== event.currentTarget.scrollTop) {
|
|
11385
|
-
if (onScrollY) {
|
|
11386
|
-
onScrollY(event.currentTarget.scrollTop);
|
|
11387
|
-
}
|
|
11388
11393
|
if (!ignoreScrollEvent.current) {
|
|
11394
|
+
if (onScrollY) {
|
|
11395
|
+
onScrollY(event.currentTarget.scrollTop);
|
|
11396
|
+
}
|
|
11389
11397
|
setScrollY(event.currentTarget.scrollTop);
|
|
11390
11398
|
setIgnoreScrollEvent(true);
|
|
11391
11399
|
} else {
|
|
@@ -11457,7 +11465,7 @@ var Gantt = function Gantt(_ref) {
|
|
|
11457
11465
|
newScrollY = ganttFullHeight - ganttHeight;
|
|
11458
11466
|
}
|
|
11459
11467
|
if (onScrollY) {
|
|
11460
|
-
onScrollY(
|
|
11468
|
+
onScrollY(newScrollY);
|
|
11461
11469
|
}
|
|
11462
11470
|
setScrollY(newScrollY);
|
|
11463
11471
|
}
|
|
@@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
12
12
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
13
|
PERFORMANCE OF THIS SOFTWARE.
|
|
14
14
|
***************************************************************************** */
|
|
15
|
-
/* global Reflect, Promise */
|
|
15
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
16
16
|
|
|
17
17
|
var extendStatics = function(d, b) {
|
|
18
18
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -77,7 +77,12 @@ function __spreadArray(to, from, pack) {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
80
|
-
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
83
|
+
var e = new Error(message);
|
|
84
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
85
|
+
};
|
|
81
86
|
|
|
82
87
|
/**
|
|
83
88
|
* @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { F as FButtonStyling } from './f-button-declarations-
|
|
3
|
-
import { F as FImage } from './f-image-
|
|
1
|
+
import { h } from './index-3336c3b1.js';
|
|
2
|
+
import { F as FButtonStyling } from './f-button-declarations-8a009df1.js';
|
|
3
|
+
import { F as FImage } from './f-image-da03494c.js';
|
|
4
4
|
|
|
5
5
|
/*-------------------------------------------------*/
|
|
6
6
|
/* C o m p o n e n t */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a9 as editableTypes, aa as kupTypes, b as KupThemeColorValues, a6 as FCellTypes, ab as KupTagNames, ac as fullWidthFieldsComps, ad as FCellClasses, ae as autoCenterComps, af as getCellValueForDisplay, ag as FCellEvents } from './kup-manager-
|
|
2
|
-
import { h } from './index-
|
|
3
|
-
import { F as FCheckbox } from './f-checkbox-
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
-
import { F as FImage } from './f-image-
|
|
6
|
-
import { F as FChipType, a as FChip } from './f-chip-
|
|
1
|
+
import { a9 as editableTypes, aa as kupTypes, b as KupThemeColorValues, a6 as FCellTypes, ab as KupTagNames, F as FCellShapes, ac as fullWidthFieldsComps, ad as FCellClasses, ae as autoCenterComps, af as getCellValueForDisplay, ag as FCellEvents } from './kup-manager-c8d5c94d.js';
|
|
2
|
+
import { h } from './index-3336c3b1.js';
|
|
3
|
+
import { F as FCheckbox } from './f-checkbox-00a1e020.js';
|
|
4
|
+
import { F as FTextField } from './f-text-field-e5f1f1fd.js';
|
|
5
|
+
import { F as FImage } from './f-image-da03494c.js';
|
|
6
|
+
import { F as FChipType, a as FChip } from './f-chip-311500f4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-list component.
|
|
@@ -278,17 +278,24 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
278
278
|
classObj[FCellClasses.C_RIGHT_ALIGNED] = true;
|
|
279
279
|
case FCellTypes.LINK:
|
|
280
280
|
case FCellTypes.STRING:
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
281
|
+
const onChange = (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE);
|
|
282
|
+
const onInput = (e) => cellEvent(e, props, cellType, FCellEvents.INPUT);
|
|
283
|
+
const type = cellType === FCellTypes.NUMBER ? 'number' : null;
|
|
284
|
+
const value = cellType === FCellTypes.NUMBER && cell.value
|
|
285
|
+
? dom.ketchup.math.numberifySafe(cell.value).toString()
|
|
286
|
+
: cell.value;
|
|
287
|
+
if (cell.shape === FCellShapes.INPUT_FIELD) {
|
|
288
|
+
return (h("input", { class: 'input-field', onChange: onChange, onInput: onInput, type: type, value: value }));
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
return (h(FTextField, Object.assign({ inputType: type, fullWidth: isFullWidth(props) ? true : false }, cell.data, { icon: cell.data && cell.data.icon
|
|
292
|
+
? cell.data.icon
|
|
293
|
+
: cell.icon
|
|
294
|
+
? cell.icon
|
|
295
|
+
: column.icon
|
|
296
|
+
? column.icon
|
|
297
|
+
: null, value: value, onChange: onChange, onInput: onInput, onIconClick: (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
|
|
298
|
+
}
|
|
292
299
|
}
|
|
293
300
|
}
|
|
294
301
|
function setCell(cellType, subcomponentProps, content, classObj, cell, column, props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { F as FImage } from './f-image-
|
|
3
|
-
import { K as KupThemeIconValues, m as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { h } from './index-3336c3b1.js';
|
|
2
|
+
import { F as FImage } from './f-image-da03494c.js';
|
|
3
|
+
import { K as KupThemeIconValues, m as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-c8d5c94d.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Types of the f-chip component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h, a as getAssetPath } from './index-
|
|
2
|
-
import { b as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { h, a as getAssetPath } from './index-3336c3b1.js';
|
|
2
|
+
import { b as KupThemeColorValues } from './kup-manager-c8d5c94d.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The type of a CSS step in CSS-drawing mode.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as Filters, J as FilterInterval, H as getValueForDisplay, D as getValueForDisplay2, af as getCellValueForDisplay, v as getColumnByName, z as KupObjects, ah as KupData, ai as compareCell, N as TotalMode, h as KupDatesFormats, a2 as SortMode, aj as KupLanguagePage, r as KupLanguageRow, m as KupLanguageGeneric } from './kup-manager-
|
|
2
|
-
import { h } from './index-
|
|
3
|
-
import { F as FButton } from './f-button-
|
|
4
|
-
import { F as FButtonStyling } from './f-button-declarations-
|
|
1
|
+
import { E as Filters, J as FilterInterval, H as getValueForDisplay, D as getValueForDisplay2, af as getCellValueForDisplay, v as getColumnByName, z as KupObjects, ah as KupData, ai as compareCell, N as TotalMode, h as KupDatesFormats, a2 as SortMode, aj as KupLanguagePage, r as KupLanguageRow, m as KupLanguageGeneric } from './kup-manager-c8d5c94d.js';
|
|
2
|
+
import { h } from './index-3336c3b1.js';
|
|
3
|
+
import { F as FButton } from './f-button-baa419dc.js';
|
|
4
|
+
import { F as FButtonStyling } from './f-button-declarations-8a009df1.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Filtering algorithms related to column menus.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h, a as getAssetPath } from './index-
|
|
2
|
-
import { K as KupThemeIconValues } from './kup-manager-
|
|
1
|
+
import { h, a as getAssetPath } from './index-3336c3b1.js';
|
|
2
|
+
import { K as KupThemeIconValues } from './kup-manager-c8d5c94d.js';
|
|
3
3
|
|
|
4
4
|
const dom = document.documentElement;
|
|
5
5
|
/*-------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __extends, a as __assign, b as MDCFoundation, c as MDCComponent, e as estimateScrollWidth, d as __values, f as applyPassive, M as MDCRipple, m as matches, g as MDCRippleFoundation } from './component-
|
|
1
|
+
import { _ as __extends, a as __assign, b as MDCFoundation, c as MDCComponent, e as estimateScrollWidth, d as __values, f as applyPassive, M as MDCRipple, m as matches, g as MDCRippleFoundation } from './component-879e99bf.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -316,9 +316,9 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
316
316
|
}
|
|
317
317
|
styles.set(scopeId, style);
|
|
318
318
|
};
|
|
319
|
-
const addStyle = (styleContainerNode, cmpMeta, mode
|
|
319
|
+
const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
320
320
|
var _a;
|
|
321
|
-
|
|
321
|
+
const scopeId = getScopeId(cmpMeta);
|
|
322
322
|
const style = styles.get(scopeId);
|
|
323
323
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
324
324
|
// so the fallback is to always use the document for the root node in those cases
|
|
@@ -333,11 +333,8 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
333
333
|
}
|
|
334
334
|
if (!appliedStyles.has(scopeId)) {
|
|
335
335
|
{
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
styleElm = doc.createElement('style');
|
|
339
|
-
styleElm.innerHTML = style;
|
|
340
|
-
}
|
|
336
|
+
styleElm = doc.createElement('style');
|
|
337
|
+
styleElm.innerHTML = style;
|
|
341
338
|
// Apply CSP nonce to the style tag if it exists
|
|
342
339
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
343
340
|
if (nonce != null) {
|
|
@@ -362,7 +359,6 @@ const attachStyles = (hostRef) => {
|
|
|
362
359
|
const flags = cmpMeta.$flags$;
|
|
363
360
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
364
361
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
365
|
-
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
366
362
|
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
367
363
|
// only required when we're NOT using native shadow dom (slot)
|
|
368
364
|
// or this browser doesn't support native shadow dom
|
|
@@ -385,6 +381,21 @@ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
|
385
381
|
*
|
|
386
382
|
* Modified for Stencil's compiler and vdom
|
|
387
383
|
*/
|
|
384
|
+
/**
|
|
385
|
+
* When running a VDom render set properties present on a VDom node onto the
|
|
386
|
+
* corresponding HTML element.
|
|
387
|
+
*
|
|
388
|
+
* Note that this function has special functionality for the `class`,
|
|
389
|
+
* `style`, `key`, and `ref` attributes, as well as event handlers (like
|
|
390
|
+
* `onClick`, etc). All others are just passed through as-is.
|
|
391
|
+
*
|
|
392
|
+
* @param elm the HTMLElement onto which attributes should be set
|
|
393
|
+
* @param memberName the name of the attribute to set
|
|
394
|
+
* @param oldValue the old value for the attribute
|
|
395
|
+
* @param newValue the new value for the attribute
|
|
396
|
+
* @param isSvg whether we're in an svg context or not
|
|
397
|
+
* @param flags bitflags for Vdom variables
|
|
398
|
+
*/
|
|
388
399
|
const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
389
400
|
if (oldValue !== newValue) {
|
|
390
401
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -986,17 +997,44 @@ const nullifyVNodeRefs = (vNode) => {
|
|
|
986
997
|
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
987
998
|
* the DOM node into which it should be rendered.
|
|
988
999
|
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
1000
|
+
* @param isInitialLoad whether or not this is the first call after page load
|
|
989
1001
|
*/
|
|
990
|
-
const renderVdom = (hostRef, renderFnResults) => {
|
|
1002
|
+
const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
991
1003
|
const hostElm = hostRef.$hostElement$;
|
|
992
1004
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
993
1005
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1006
|
+
// if `renderFnResults` is a Host node then we can use it directly. If not,
|
|
1007
|
+
// we need to call `h` again to wrap the children of our component in a
|
|
1008
|
+
// 'dummy' Host node (well, an empty vnode) since `renderVdom` assumes
|
|
1009
|
+
// implicitly that the top-level vdom node is 1) an only child and 2)
|
|
1010
|
+
// contains attrs that need to be set on the host element.
|
|
994
1011
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
995
1012
|
hostTagName = hostElm.tagName;
|
|
996
1013
|
if (cmpMeta.$attrsToReflect$) {
|
|
997
1014
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
998
1015
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
999
1016
|
}
|
|
1017
|
+
// On the first render and *only* on the first render we want to check for
|
|
1018
|
+
// any attributes set on the host element which are also set on the vdom
|
|
1019
|
+
// node. If we find them, we override the value on the VDom node attrs with
|
|
1020
|
+
// the value from the host element, which allows developers building apps
|
|
1021
|
+
// with Stencil components to override e.g. the `role` attribute on a
|
|
1022
|
+
// component even if it's already set on the `Host`.
|
|
1023
|
+
if (isInitialLoad && rootVnode.$attrs$) {
|
|
1024
|
+
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
1025
|
+
// We have a special implementation in `setAccessor` for `style` and
|
|
1026
|
+
// `class` which reconciles values coming from the VDom with values
|
|
1027
|
+
// already present on the DOM element, so we don't want to override those
|
|
1028
|
+
// attributes on the VDom tree with values from the host element if they
|
|
1029
|
+
// are present.
|
|
1030
|
+
//
|
|
1031
|
+
// Likewise, `ref` and `key` are special internal values for the Stencil
|
|
1032
|
+
// runtime and we don't want to override those either.
|
|
1033
|
+
if (hostElm.hasAttribute(key) && !['key', 'ref', 'style', 'class'].includes(key)) {
|
|
1034
|
+
rootVnode.$attrs$[key] = hostElm[key];
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1000
1038
|
rootVnode.$tag$ = null;
|
|
1001
1039
|
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
1002
1040
|
hostRef.$vnode$ = rootVnode;
|
|
@@ -1115,6 +1153,16 @@ const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.th
|
|
|
1115
1153
|
*/
|
|
1116
1154
|
const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
|
|
1117
1155
|
(maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
|
|
1156
|
+
/**
|
|
1157
|
+
* Update a component given reference to its host elements and so on.
|
|
1158
|
+
*
|
|
1159
|
+
* @param hostRef an object containing references to the element's host node,
|
|
1160
|
+
* VDom nodes, and other metadata
|
|
1161
|
+
* @param instance a reference to the underlying host element where it will be
|
|
1162
|
+
* rendered
|
|
1163
|
+
* @param isInitialLoad whether or not this function is being called as part of
|
|
1164
|
+
* the first render cycle
|
|
1165
|
+
*/
|
|
1118
1166
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1119
1167
|
var _a;
|
|
1120
1168
|
const elm = hostRef.$hostElement$;
|
|
@@ -1126,7 +1174,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1126
1174
|
}
|
|
1127
1175
|
const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
|
|
1128
1176
|
{
|
|
1129
|
-
callRender(hostRef, instance);
|
|
1177
|
+
callRender(hostRef, instance, elm, isInitialLoad);
|
|
1130
1178
|
}
|
|
1131
1179
|
if (rc) {
|
|
1132
1180
|
// ok, so turns out there are some child host elements
|
|
@@ -1150,7 +1198,19 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1150
1198
|
}
|
|
1151
1199
|
}
|
|
1152
1200
|
};
|
|
1153
|
-
|
|
1201
|
+
/**
|
|
1202
|
+
* Handle making the call to the VDom renderer with the proper context given
|
|
1203
|
+
* various build variables
|
|
1204
|
+
*
|
|
1205
|
+
* @param hostRef an object containing references to the element's host node,
|
|
1206
|
+
* VDom nodes, and other metadata
|
|
1207
|
+
* @param instance a reference to the underlying host element where it will be
|
|
1208
|
+
* rendered
|
|
1209
|
+
* @param elm the Host element for the component
|
|
1210
|
+
* @param isInitialLoad whether or not this function is being called as part of
|
|
1211
|
+
* @returns an empty promise
|
|
1212
|
+
*/
|
|
1213
|
+
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
1154
1214
|
try {
|
|
1155
1215
|
instance = instance.render() ;
|
|
1156
1216
|
{
|
|
@@ -1165,7 +1225,7 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1165
1225
|
// or we need to update the css class/attrs on the host element
|
|
1166
1226
|
// DOM WRITE!
|
|
1167
1227
|
{
|
|
1168
|
-
renderVdom(hostRef, instance);
|
|
1228
|
+
renderVdom(hostRef, instance, isInitialLoad);
|
|
1169
1229
|
}
|
|
1170
1230
|
}
|
|
1171
1231
|
}
|
|
@@ -1495,6 +1555,8 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1495
1555
|
schedule();
|
|
1496
1556
|
}
|
|
1497
1557
|
};
|
|
1558
|
+
const fireConnectedCallback = (instance) => {
|
|
1559
|
+
};
|
|
1498
1560
|
const connectedCallback = (elm) => {
|
|
1499
1561
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1500
1562
|
const hostRef = getHostRef(elm);
|
|
@@ -1538,22 +1600,34 @@ const connectedCallback = (elm) => {
|
|
|
1538
1600
|
// reattach any event listeners to the host
|
|
1539
1601
|
// since they would have been removed when disconnected
|
|
1540
1602
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1603
|
+
// fire off connectedCallback() on component instance
|
|
1604
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) ;
|
|
1605
|
+
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
1606
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
|
|
1607
|
+
}
|
|
1541
1608
|
}
|
|
1542
1609
|
endConnected();
|
|
1543
1610
|
}
|
|
1544
1611
|
};
|
|
1545
|
-
const
|
|
1612
|
+
const disconnectInstance = (instance) => {
|
|
1613
|
+
{
|
|
1614
|
+
safeCall(instance, 'disconnectedCallback');
|
|
1615
|
+
}
|
|
1616
|
+
};
|
|
1617
|
+
const disconnectedCallback = async (elm) => {
|
|
1546
1618
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1547
1619
|
const hostRef = getHostRef(elm);
|
|
1548
|
-
const instance = hostRef.$lazyInstance$ ;
|
|
1549
1620
|
{
|
|
1550
1621
|
if (hostRef.$rmListeners$) {
|
|
1551
1622
|
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1552
1623
|
hostRef.$rmListeners$ = undefined;
|
|
1553
1624
|
}
|
|
1554
1625
|
}
|
|
1555
|
-
{
|
|
1556
|
-
|
|
1626
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
|
|
1627
|
+
disconnectInstance(hostRef.$lazyInstance$);
|
|
1628
|
+
}
|
|
1629
|
+
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
1630
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
|
|
1557
1631
|
}
|
|
1558
1632
|
}
|
|
1559
1633
|
};
|
|
@@ -1750,8 +1824,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1750
1824
|
const styles = /*@__PURE__*/ new Map();
|
|
1751
1825
|
const win = typeof window !== 'undefined' ? window : {};
|
|
1752
1826
|
const doc = win.document || { head: {} };
|
|
1753
|
-
const H = (win.HTMLElement || class {
|
|
1754
|
-
});
|
|
1755
1827
|
const plt = {
|
|
1756
1828
|
$flags$: 0,
|
|
1757
1829
|
$resourcesUrl$: '',
|
|
@@ -1814,4 +1886,4 @@ const flush = () => {
|
|
|
1814
1886
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1815
1887
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1816
1888
|
|
|
1817
|
-
export { Host as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, setAssetPath as d,
|
|
1889
|
+
export { Host as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, setAssetPath as d, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|