@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,14 +1,14 @@
|
|
|
1
|
-
import dayjs from
|
|
2
|
-
import customParseFormat from
|
|
3
|
-
import localizedFormat from
|
|
4
|
-
import minMax from
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { KupDateTimeFormatOptionsMonth, KupDatesFormats, KupDatesLocales, KupDatesNormalize, } from
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
import customParseFormat from "dayjs/plugin/customParseFormat";
|
|
3
|
+
import localizedFormat from "dayjs/plugin/localizedFormat";
|
|
4
|
+
import minMax from "dayjs/plugin/minMax";
|
|
5
|
+
import "dayjs/locale/es";
|
|
6
|
+
import "dayjs/locale/fr";
|
|
7
|
+
import "dayjs/locale/it";
|
|
8
|
+
import "dayjs/locale/pl";
|
|
9
|
+
import "dayjs/locale/ru";
|
|
10
|
+
import "dayjs/locale/zh";
|
|
11
|
+
import { KupDateTimeFormatOptionsMonth, KupDatesFormats, KupDatesLocales, KupDatesNormalize, } from "./kup-dates-declarations";
|
|
12
12
|
/**
|
|
13
13
|
* Handles operations and formatting of dates.
|
|
14
14
|
* @module KupDates
|
|
@@ -15,9 +15,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
15
15
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
16
16
|
};
|
|
17
17
|
var _KupDebug_debugWidget;
|
|
18
|
-
import { KupCardFamily, } from
|
|
19
|
-
import { KupLanguageDebug } from
|
|
20
|
-
import { KupDebugCategory, KupDebugLogColor, } from
|
|
18
|
+
import { KupCardFamily, } from "../../components/kup-card/kup-card-declarations";
|
|
19
|
+
import { KupLanguageDebug } from "../kup-language/kup-language-declarations";
|
|
20
|
+
import { KupDebugCategory, KupDebugLogColor, } from "./kup-debug-declarations";
|
|
21
21
|
const dom = document.documentElement;
|
|
22
22
|
/**
|
|
23
23
|
* Debugging suite, used to log messages and statuses from the Ketchup components.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { kupDynamicPositionActiveClass, kupDynamicPositionAnchorAttribute, kupDynamicPositionAttribute, } from
|
|
2
|
-
import { KupDynamicPositionPlacement } from
|
|
1
|
+
import { kupDynamicPositionActiveClass, kupDynamicPositionAnchorAttribute, kupDynamicPositionAttribute, } from "./kup-dynamic-position-declarations";
|
|
2
|
+
import { KupDynamicPositionPlacement } from "./kup-dynamic-position-declarations";
|
|
3
3
|
const dom = document.documentElement;
|
|
4
4
|
/**
|
|
5
5
|
* This class is used to dynamically reposition HTML elements.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import interact from
|
|
2
|
-
import { kupDialogAttribute, kupDialogResizableClass, KupDragEffect, kupDraggableAttr, kupDraggableCellAttr, kupDraggableColumnAttr, kupDraggableRowAttr, kupDragOverAttr, kupDropEvent, } from
|
|
1
|
+
import interact from "interactjs";
|
|
2
|
+
import { kupDialogAttribute, kupDialogResizableClass, KupDragEffect, kupDraggableAttr, kupDraggableCellAttr, kupDraggableColumnAttr, kupDraggableRowAttr, kupDragOverAttr, kupDropEvent, } from "./kup-interact-declarations";
|
|
3
3
|
const dom = document.documentElement;
|
|
4
4
|
/**
|
|
5
5
|
* This class handles elements as dialogs, making them resizable and movable.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as languagesJson from
|
|
2
|
-
import { KupDebugCategory } from
|
|
3
|
-
import { KupLanguageDefaults, } from
|
|
1
|
+
import * as languagesJson from "./languages.json";
|
|
2
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
3
|
+
import { KupLanguageDefaults, } from "./kup-language-declarations";
|
|
4
4
|
const dom = document.documentElement;
|
|
5
5
|
/**
|
|
6
6
|
* Handles the translation to different languages.
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { KupDebug } from
|
|
2
|
-
import { KupDynamicPosition } from
|
|
3
|
-
import { KupInteract } from
|
|
4
|
-
import { KupLanguage } from
|
|
5
|
-
import { KupObjects } from
|
|
6
|
-
import { KupScrollOnHover } from
|
|
7
|
-
import { KupTheme } from
|
|
8
|
-
import { KupToolbar } from
|
|
9
|
-
import { ResizeObserver } from
|
|
10
|
-
import { KupLanguageDefaults, } from
|
|
11
|
-
import { KupData } from
|
|
12
|
-
import { KupDates } from
|
|
13
|
-
import { KupDatesLocales } from
|
|
14
|
-
import { KupDebugCategory } from
|
|
15
|
-
import { KupSearch } from
|
|
16
|
-
import { KupMathLocales } from
|
|
17
|
-
import { KupMath } from
|
|
18
|
-
import { KupTooltip } from
|
|
19
|
-
import { setAssetPath } from
|
|
20
|
-
import html2canvas from
|
|
1
|
+
import { KupDebug } from "../kup-debug/kup-debug";
|
|
2
|
+
import { KupDynamicPosition } from "../kup-dynamic-position/kup-dynamic-position";
|
|
3
|
+
import { KupInteract } from "../kup-interact/kup-interact";
|
|
4
|
+
import { KupLanguage } from "../kup-language/kup-language";
|
|
5
|
+
import { KupObjects } from "../kup-objects/kup-objects";
|
|
6
|
+
import { KupScrollOnHover } from "../kup-scroll-on-hover/kup-scroll-on-hover";
|
|
7
|
+
import { KupTheme } from "../kup-theme/kup-theme";
|
|
8
|
+
import { KupToolbar } from "../kup-toolbar/kup-toolbar";
|
|
9
|
+
import { ResizeObserver } from "resize-observer";
|
|
10
|
+
import { KupLanguageDefaults, } from "../kup-language/kup-language-declarations";
|
|
11
|
+
import { KupData } from "../kup-data/kup-data";
|
|
12
|
+
import { KupDates } from "../kup-dates/kup-dates";
|
|
13
|
+
import { KupDatesLocales } from "../kup-dates/kup-dates-declarations";
|
|
14
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
15
|
+
import { KupSearch } from "../kup-search/kup-search";
|
|
16
|
+
import { KupMathLocales } from "../kup-math/kup-math-declarations";
|
|
17
|
+
import { KupMath } from "../kup-math/kup-math";
|
|
18
|
+
import { KupTooltip } from "../kup-tooltip/kup-tooltip";
|
|
19
|
+
import { setAssetPath } from "@stencil/core";
|
|
20
|
+
import html2canvas from "html2canvas";
|
|
21
21
|
const dom = document.documentElement;
|
|
22
22
|
/**
|
|
23
23
|
* This class controls every other Ketchup utility suite.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KupDebugCategory } from
|
|
1
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
2
2
|
const dom = document.documentElement;
|
|
3
3
|
/**
|
|
4
4
|
* Takes a mathematical formula as string in input, with column names between brackets, and returns the result as a number.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import numeral from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { KupDebugCategory } from
|
|
9
|
-
import { KupMathLocales, } from
|
|
10
|
-
import { customFormula, normalDistributionFormula } from
|
|
11
|
-
import { getRegExpFromString } from
|
|
1
|
+
import numeral from "numeral";
|
|
2
|
+
import "numeral/locales/chs";
|
|
3
|
+
import "numeral/locales/es";
|
|
4
|
+
import "numeral/locales/fr";
|
|
5
|
+
import "numeral/locales/it";
|
|
6
|
+
import "numeral/locales/pl";
|
|
7
|
+
import "numeral/locales/ru";
|
|
8
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
9
|
+
import { KupMathLocales, } from "./kup-math-declarations";
|
|
10
|
+
import { customFormula, normalDistributionFormula } from "./kup-math-helper";
|
|
11
|
+
import { getRegExpFromString } from "../../utils/utils";
|
|
12
12
|
const dom = document.documentElement;
|
|
13
13
|
/**
|
|
14
14
|
* Handles mathematical operations and number formatting/conversion.
|
|
@@ -376,7 +376,7 @@ export class KupMath {
|
|
|
376
376
|
* @param {string} input number as string, formatted by locale US, decimal separator . (like java decimal numbers)
|
|
377
377
|
* @param {number} decimals number of significant decimal digits for output
|
|
378
378
|
* @param {string} type - type of number for calculate suffix
|
|
379
|
-
* @param {string} decSeparator decimal separator for
|
|
379
|
+
* @param {string} decSeparator decimal separator for output string
|
|
380
380
|
* @returns {string} number as string, formatted by actual browser locale (or using decimal separator param), with suffix by type
|
|
381
381
|
**/
|
|
382
382
|
numberStringToFormattedString(input, decimals, type, decSeparator) {
|
|
@@ -15,7 +15,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
15
15
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
16
16
|
};
|
|
17
17
|
var _KupScrollOnHover_instances, _KupScrollOnHover_arrowsContainer, _KupScrollOnHover_leftArrows, _KupScrollOnHover_rightArrows, _KupScrollOnHover_scrollEvent, _KupScrollOnHover_mousemoveEvent, _KupScrollOnHover_mouseleaveEvent, _KupScrollOnHover_rAF, _KupScrollOnHover_timeout, _KupScrollOnHover_initArrows;
|
|
18
|
-
import { ScrollOnHoverDirection, } from
|
|
18
|
+
import { ScrollOnHoverDirection, } from "./kup-scroll-on-hover-declarations";
|
|
19
19
|
const dom = document.documentElement;
|
|
20
20
|
/**
|
|
21
21
|
* Lets the user scroll an element's overflow by hovering with the mouse on its left/right edge.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KupCardFamily, } from
|
|
2
|
-
import { searchStartEvent, } from
|
|
1
|
+
import { KupCardFamily, } from "../../components/kup-card/kup-card-declarations";
|
|
2
|
+
import { searchStartEvent, } from "./kup-search-declarations";
|
|
3
3
|
/**
|
|
4
4
|
* Handles operations and formatting of dates.
|
|
5
5
|
* @module KupSearch
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { getAssetPath } from
|
|
2
|
-
import * as themesJson from
|
|
3
|
-
import * as applicationCSS from
|
|
4
|
-
import * as componentCSS from
|
|
5
|
-
import * as fButtonCSS from
|
|
6
|
-
import * as fCellCSS from
|
|
7
|
-
import * as fCheckboxCSS from
|
|
8
|
-
import * as fChipCSS from
|
|
9
|
-
import * as fImageCSS from
|
|
10
|
-
import * as fPaginatorCSS from
|
|
11
|
-
import * as fSwitchCSS from
|
|
12
|
-
import * as fTextFieldCSS from
|
|
13
|
-
import * as rippleCSS from
|
|
14
|
-
import { fButtonUsers, fCellUsers, fCheckboxUsers, fChipUsers, fImageUsers, fPaginatorUsers, fSwitchUsers, fTextFieldUsers, masterCustomStyle, rippleUsers, } from
|
|
15
|
-
import { KupDebugCategory } from
|
|
1
|
+
import { getAssetPath } from "@stencil/core";
|
|
2
|
+
import * as themesJson from "./themes.json";
|
|
3
|
+
import * as applicationCSS from "./kup-theme-application.css";
|
|
4
|
+
import * as componentCSS from "./kup-theme-component.css";
|
|
5
|
+
import * as fButtonCSS from "../../f-components/f-button/f-button.css";
|
|
6
|
+
import * as fCellCSS from "../../f-components/f-cell/f-cell.css";
|
|
7
|
+
import * as fCheckboxCSS from "../../f-components/f-checkbox/f-checkbox.css";
|
|
8
|
+
import * as fChipCSS from "../../f-components/f-chip/f-chip.css";
|
|
9
|
+
import * as fImageCSS from "../../f-components/f-image/f-image.css";
|
|
10
|
+
import * as fPaginatorCSS from "../../f-components/f-paginator/f-paginator.css";
|
|
11
|
+
import * as fSwitchCSS from "../../f-components/f-switch/f-switch.css";
|
|
12
|
+
import * as fTextFieldCSS from "../../f-components/f-text-field/f-text-field.css";
|
|
13
|
+
import * as rippleCSS from "./mdc-ripple.css";
|
|
14
|
+
import { fButtonUsers, fCellUsers, fCheckboxUsers, fChipUsers, fImageUsers, fPaginatorUsers, fSwitchUsers, fTextFieldUsers, masterCustomStyle, rippleUsers, } from "./kup-theme-declarations";
|
|
15
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
16
16
|
const dom = document.documentElement;
|
|
17
17
|
/**
|
|
18
18
|
* Theme manager, handles everything about theming, customStyles and color utilities.
|
|
@@ -15,7 +15,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
15
15
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
16
16
|
};
|
|
17
17
|
var _KupToolbar_keyEvent;
|
|
18
|
-
import { KupToolbarModifierKeys } from
|
|
18
|
+
import { KupToolbarModifierKeys } from "./kup-toolbar-declarations";
|
|
19
19
|
const dom = document.documentElement;
|
|
20
20
|
/**
|
|
21
21
|
* Handles component's toolbar.
|
|
@@ -15,7 +15,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
15
15
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
16
|
};
|
|
17
17
|
var _KupTooltip_instances, _KupTooltip_clickCb, _KupTooltip_dynPos, _KupTooltip_create, _KupTooltip_setOptions;
|
|
18
|
-
import { KupDebugCategory } from
|
|
18
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
19
19
|
const dom = document.documentElement;
|
|
20
20
|
/**
|
|
21
21
|
* Handles application-wide tooltip using card component.
|
|
@@ -11,14 +11,13 @@ export var KupTagNames;
|
|
|
11
11
|
KupTagNames["BUTTON_LIST"] = "KUP-BUTTON-LIST";
|
|
12
12
|
KupTagNames["CALENDAR"] = "KUP-CALENDAR";
|
|
13
13
|
KupTagNames["CARD"] = "KUP-CARD";
|
|
14
|
+
KupTagNames["CARD_LIST"] = "KUP-CARD-LIST";
|
|
14
15
|
KupTagNames["CELL"] = "KUP-CELL";
|
|
15
16
|
KupTagNames["CHART"] = "KUP-CHART";
|
|
16
17
|
KupTagNames["CHECKBOX"] = "KUP-CHECKBOX";
|
|
17
18
|
KupTagNames["CHIP"] = "KUP-CHIP";
|
|
18
19
|
KupTagNames["COLOR_PICKER"] = "KUP-COLOR-PICKER";
|
|
19
20
|
KupTagNames["COMBOBOX"] = "KUP-COMBOBOX";
|
|
20
|
-
KupTagNames["DASH"] = "KUP-DASH";
|
|
21
|
-
KupTagNames["DASH_LIST"] = "KUP-DASH-LIST";
|
|
22
21
|
KupTagNames["DASHBOARD"] = "KUP-DASHBOARD";
|
|
23
22
|
KupTagNames["DATA_TABLE"] = "KUP-DATA-TABLE";
|
|
24
23
|
KupTagNames["DATE_PICKER"] = "KUP-DATE-PICKER";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getValueForDisplay, getValueForDisplay2 } from
|
|
2
|
-
import { Filters } from
|
|
3
|
-
import { FilterInterval, } from
|
|
1
|
+
import { getValueForDisplay, getValueForDisplay2 } from "../cell-utils";
|
|
2
|
+
import { Filters } from "./filters";
|
|
3
|
+
import { FilterInterval, } from "./filters-declarations";
|
|
4
4
|
/**
|
|
5
5
|
* Filtering algorithms related to column menus.
|
|
6
6
|
* @module FiltersColumnMenu
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getCellValueForDisplay, getColumnByName, getValueForDisplay, } from
|
|
2
|
-
import { Filters } from
|
|
3
|
-
import { FiltersColumnMenu } from
|
|
4
|
-
import { treeMainColumnName } from
|
|
5
|
-
import { KupObjects } from
|
|
6
|
-
import { KupData } from
|
|
1
|
+
import { getCellValueForDisplay, getColumnByName, getValueForDisplay, } from "../cell-utils";
|
|
2
|
+
import { Filters } from "./filters";
|
|
3
|
+
import { FiltersColumnMenu } from "./filters-column-menu";
|
|
4
|
+
import { treeMainColumnName } from "../../components/kup-tree/kup-tree-declarations";
|
|
5
|
+
import { KupObjects } from "../../managers/kup-objects/kup-objects";
|
|
6
|
+
import { KupData } from "../../managers/kup-data/kup-data";
|
|
7
7
|
const dom = document.documentElement;
|
|
8
8
|
const kupObjects = dom.ketchup
|
|
9
9
|
? dom.ketchup.objects
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { treeMainColumnName, } from
|
|
2
|
-
import { FiltersColumnMenu } from
|
|
3
|
-
import { FiltersRows } from
|
|
4
|
-
import { addColumnValueFromRow } from
|
|
1
|
+
import { treeMainColumnName, } from "../../components/kup-tree/kup-tree-declarations";
|
|
2
|
+
import { FiltersColumnMenu } from "./filters-column-menu";
|
|
3
|
+
import { FiltersRows } from "./filters-rows";
|
|
4
|
+
import { addColumnValueFromRow } from "../../managers/kup-data/kup-data-cell-helper";
|
|
5
5
|
/**
|
|
6
6
|
* Filtering algorithms related to tree items rows.
|
|
7
7
|
* @module FiltersTreeItems
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { KupTagNames } from
|
|
2
|
-
import { KupDatesFormats, KupDatesNormalize, } from
|
|
3
|
-
import { FilterInterval, FILTER_ANALIZER, } from
|
|
1
|
+
import { KupTagNames } from "../../types/GenericTypes";
|
|
2
|
+
import { KupDatesFormats, KupDatesNormalize, } from "../../managers/kup-dates/kup-dates-declarations";
|
|
3
|
+
import { FilterInterval, FILTER_ANALIZER, } from "./filters-declarations";
|
|
4
4
|
const dom = document.documentElement;
|
|
5
5
|
/**
|
|
6
6
|
* Filtering algorithms.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { KupDynamicPositionPlacement, } from
|
|
2
|
-
import { FiltersColumnMenu } from
|
|
3
|
-
import { FilterInterval, } from
|
|
4
|
-
import { getValueForDisplay, getValueForDisplay2 } from
|
|
5
|
-
import { FiltersRows } from
|
|
6
|
-
import { Filters } from
|
|
7
|
-
import { KupLanguageColumn, KupLanguageSearch, KupLanguageGrouping, KupLanguageCheckbox, KupLanguageGeneric, KupLanguageRow, KupLanguageTotals, } from
|
|
8
|
-
import { FButtonStyling } from
|
|
9
|
-
import { KupColumnMenuIds } from
|
|
10
|
-
import { KupDebugCategory } from
|
|
11
|
-
import { FChipType, } from
|
|
12
|
-
import { KupDataNewColumnTypes, } from
|
|
1
|
+
import { KupDynamicPositionPlacement, } from "../../managers/kup-dynamic-position/kup-dynamic-position-declarations";
|
|
2
|
+
import { FiltersColumnMenu } from "../filters/filters-column-menu";
|
|
3
|
+
import { FilterInterval, } from "../filters/filters-declarations";
|
|
4
|
+
import { getValueForDisplay, getValueForDisplay2 } from "../cell-utils";
|
|
5
|
+
import { FiltersRows } from "../filters/filters-rows";
|
|
6
|
+
import { Filters } from "../filters/filters";
|
|
7
|
+
import { KupLanguageColumn, KupLanguageSearch, KupLanguageGrouping, KupLanguageCheckbox, KupLanguageGeneric, KupLanguageRow, KupLanguageTotals, } from "../../managers/kup-language/kup-language-declarations";
|
|
8
|
+
import { FButtonStyling } from "../../f-components/f-button/f-button-declarations";
|
|
9
|
+
import { KupColumnMenuIds } from "./kup-column-menu-declarations";
|
|
10
|
+
import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
|
|
11
|
+
import { FChipType, } from "../../f-components/f-chip/f-chip-declarations";
|
|
12
|
+
import { KupDataNewColumnTypes, } from "../../managers/kup-data/kup-data-declarations";
|
|
13
13
|
const dom = document.documentElement;
|
|
14
14
|
/**
|
|
15
15
|
* Definition and events of the column menu card.
|