@sme.up/ketchup 9.5.2 → 9.6.1
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/{f-button-357a3dff.js → f-button-623dfcc3.js} +2 -2
- package/dist/cjs/{f-cell-1de0ea69.js → f-cell-9c718d83.js} +9 -8
- package/dist/cjs/{f-checkbox-41864e53.js → f-checkbox-bfa92ebe.js} +1 -1
- package/dist/cjs/{f-chip-bd5882a0.js → f-chip-c8efad5b.js} +3 -3
- package/dist/cjs/{f-image-30531fd0.js → f-image-b61cc967.js} +2 -2
- package/dist/cjs/{f-paginator-utils-ad8a4635.js → f-paginator-utils-f32382f6.js} +8 -8
- package/dist/cjs/{f-text-field-be758970.js → f-text-field-a09b1705.js} +2 -2
- package/dist/cjs/{index-8f2f4159.js → index-db0a6be6.js} +79 -38
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -6
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +141 -112
- package/dist/cjs/kup-box.cjs.entry.js +82 -19
- package/dist/cjs/kup-calendar.cjs.entry.js +78 -11
- package/dist/cjs/kup-card-list.cjs.entry.js +5 -4
- package/dist/cjs/kup-cell.cjs.entry.js +12 -11
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +22 -16
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -9
- package/dist/cjs/{kup-dates-0e59b05d.js → kup-dates-4aa560f0.js} +80 -67
- package/dist/cjs/kup-drawer.cjs.entry.js +7 -6
- package/dist/cjs/kup-echart.cjs.entry.js +1504 -1025
- package/dist/cjs/kup-editor.cjs.entry.js +46260 -0
- package/dist/cjs/kup-family-tree.cjs.entry.js +9 -8
- package/dist/cjs/kup-gantt_10.cjs.entry.js +58 -42
- package/dist/cjs/kup-grid.cjs.entry.js +5 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +5 -4
- package/dist/cjs/kup-image-list.cjs.entry.js +13 -12
- package/dist/cjs/kup-lazy.cjs.entry.js +16 -15
- package/dist/cjs/kup-magic-box.cjs.entry.js +9 -8
- package/dist/cjs/{kup-manager-cefb1999.js → kup-manager-227c4be2.js} +121 -79
- package/dist/cjs/kup-nav-bar.cjs.entry.js +6 -5
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +7 -6
- package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -6
- package/dist/cjs/{kup-planner-renderer-helper-c2394940.js → kup-planner-renderer-helper-f0c869d7.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +7 -6
- package/dist/cjs/kup-probe.cjs.entry.js +4 -4
- package/dist/cjs/kup-qlik.cjs.entry.js +6 -5
- package/dist/cjs/kup-snackbar.cjs.entry.js +8 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/editor-example-1.js +52 -0
- package/dist/collection/assets/editor.js +60 -0
- package/dist/collection/assets/index.js +12 -0
- package/dist/collection/assets/planner-example-4.js +4 -4
- package/dist/collection/assets/planner-example-5.js +3175 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +10 -16
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +10 -16
- package/dist/collection/components/kup-badge/kup-badge.js +8 -12
- package/dist/collection/components/kup-box/kup-box-declarations.js +11 -0
- package/dist/collection/components/kup-box/kup-box-state.js +2 -0
- package/dist/collection/components/kup-box/kup-box.css +1 -1
- package/dist/collection/components/kup-box/kup-box.js +181 -23
- package/dist/collection/components/kup-button/kup-button.js +6 -10
- package/dist/collection/components/kup-button-list/kup-button-list.js +7 -11
- package/dist/collection/components/kup-calendar/kup-calendar.js +10 -12
- package/dist/collection/components/kup-card/kup-card.js +6 -10
- package/dist/collection/components/kup-card-list/kup-card-list.js +6 -10
- package/dist/collection/components/kup-cell/kup-cell.js +13 -21
- package/dist/collection/components/kup-chart/kup-chart.js +7 -11
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +7 -11
- package/dist/collection/components/kup-chip/kup-chip.js +8 -12
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +11 -17
- package/dist/collection/components/kup-combobox/kup-combobox.js +10 -16
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +7 -11
- package/dist/collection/components/kup-data-table/kup-data-table.js +72 -95
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -11
- package/dist/collection/components/kup-dialog/kup-dialog.css +2 -2
- package/dist/collection/components/kup-dialog/kup-dialog.js +9 -13
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -12
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +10 -13
- package/dist/collection/components/kup-echart/kup-echart.js +7 -11
- package/dist/collection/components/kup-editor/kup-editor-declarations.js +15 -0
- package/dist/collection/components/kup-editor/kup-editor.js +774 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +14 -16
- package/dist/collection/components/kup-form/kup-form.js +14 -22
- package/dist/collection/components/kup-gauge/kup-gauge.js +6 -10
- package/dist/collection/components/kup-grid/kup-grid.js +6 -10
- package/dist/collection/components/kup-iframe/kup-iframe.js +6 -10
- package/dist/collection/components/kup-image/kup-image.js +6 -10
- package/dist/collection/components/kup-image-list/kup-image-list.js +8 -12
- package/dist/collection/components/kup-lazy/kup-lazy.js +17 -21
- package/dist/collection/components/kup-list/kup-list.js +10 -16
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +9 -13
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +7 -11
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +7 -11
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +8 -12
- package/dist/collection/components/kup-planner/kup-planner.js +13 -21
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -1
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +0 -2
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +13 -14
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +6 -4
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +6 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.css +0 -2
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +7 -11
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-radio/kup-radio.js +6 -10
- package/dist/collection/components/kup-rating/kup-rating.js +7 -11
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +7 -11
- package/dist/collection/components/kup-spinner/kup-spinner.js +40 -44
- package/dist/collection/components/kup-switch/kup-switch.js +7 -11
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +6 -10
- package/dist/collection/components/kup-text-field/kup-text-field.js +10 -13
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +10 -13
- package/dist/collection/components/kup-tree/kup-tree-faker.js +1 -1
- package/dist/collection/components/kup-tree/kup-tree.js +24 -33
- package/dist/collection/f-components/f-cell/f-cell.js +2 -1
- package/dist/collection/managers/kup-manager/kup-manager.js +5 -0
- package/dist/collection/managers/kup-openai/kup-openai.js +11 -8
- package/dist/components/custom-task-list-header.js +4 -3
- package/dist/components/custom-task-list-table.js +4 -3
- package/dist/components/kup-accordion.js +3 -2
- package/dist/components/kup-autocomplete2.js +136 -106
- package/dist/components/kup-box2.js +78 -11
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +74 -7
- package/dist/components/kup-card-list.js +2 -1
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +3 -2
- 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 +4 -3
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dates.js +81 -67
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +4 -3
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +1501 -1022
- package/dist/components/kup-editor.d.ts +11 -0
- package/dist/components/kup-editor.js +46434 -0
- package/dist/components/kup-family-tree.js +5 -4
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar2.js +3 -2
- package/dist/components/kup-gantt2.js +4 -2
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer2.js +10 -7
- package/dist/components/kup-grid2.js +2 -1
- package/dist/components/kup-horizontal-scroll2.js +12 -12
- package/dist/components/kup-iframe.js +2 -1
- package/dist/components/kup-image-list.js +5 -4
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-lazy.js +13 -12
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +6 -5
- package/dist/components/kup-manager.js +121 -79
- package/dist/components/kup-nav-bar.js +3 -2
- package/dist/components/kup-numeric-picker.js +4 -3
- package/dist/components/kup-photo-frame.js +4 -3
- package/dist/components/kup-planner-renderer-helper.js +2 -2
- package/dist/components/kup-planner-renderer2.js +3 -3
- package/dist/components/kup-planner.js +5 -4
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +4 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +3 -2
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher2.js +3 -2
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt2.js +6 -4
- package/dist/components/kup-task-list-header2.js +9 -8
- package/dist/components/kup-task-list-table2.js +3 -2
- package/dist/components/kup-task-list2.js +9 -3
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-tooltip2.js +3 -2
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +5 -4
- package/dist/esm/{f-button-856a189a.js → f-button-121958b3.js} +2 -2
- package/dist/esm/{f-cell-6324d838.js → f-cell-959b83db.js} +9 -8
- package/dist/esm/{f-checkbox-43481de2.js → f-checkbox-fdf27ce9.js} +1 -1
- package/dist/esm/{f-chip-e15fba8a.js → f-chip-915ddf53.js} +3 -3
- package/dist/esm/{f-image-26b1bc14.js → f-image-98371dac.js} +2 -2
- package/dist/esm/{f-paginator-utils-e8f62783.js → f-paginator-utils-10fa5a7d.js} +5 -5
- package/dist/esm/{f-text-field-bbe1f236.js → f-text-field-0df308e4.js} +2 -2
- package/dist/esm/{index-59f83f91.js → index-bbef9f2a.js} +79 -38
- package/dist/esm/index.js +3 -3
- package/dist/esm/ketchup.js +4 -4
- package/dist/esm/kup-accordion.entry.js +7 -6
- package/dist/esm/kup-autocomplete_27.entry.js +141 -112
- package/dist/esm/kup-box.entry.js +82 -19
- package/dist/esm/kup-calendar.entry.js +78 -11
- package/dist/esm/kup-card-list.entry.js +5 -4
- package/dist/esm/kup-cell.entry.js +12 -11
- package/dist/esm/kup-custom-task-list-header_4.entry.js +22 -16
- package/dist/esm/kup-dashboard.entry.js +10 -9
- package/dist/esm/{kup-dates-15f89ea2.js → kup-dates-172954df.js} +81 -67
- package/dist/esm/kup-drawer.entry.js +7 -6
- package/dist/esm/kup-echart.entry.js +1504 -1025
- package/dist/esm/kup-editor.entry.js +46256 -0
- package/dist/esm/kup-family-tree.entry.js +9 -8
- package/dist/esm/kup-gantt_10.entry.js +58 -42
- package/dist/esm/kup-grid.entry.js +5 -4
- package/dist/esm/kup-iframe.entry.js +5 -4
- package/dist/esm/kup-image-list.entry.js +13 -12
- package/dist/esm/kup-lazy.entry.js +16 -15
- package/dist/esm/kup-magic-box.entry.js +9 -8
- package/dist/esm/{kup-manager-8d1df189.js → kup-manager-33b051d6.js} +122 -80
- package/dist/esm/kup-nav-bar.entry.js +6 -5
- package/dist/esm/kup-numeric-picker.entry.js +7 -6
- package/dist/esm/kup-photo-frame.entry.js +7 -6
- package/dist/esm/{kup-planner-renderer-helper-2143d119.js → kup-planner-renderer-helper-5d97e075.js} +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +8 -7
- package/dist/esm/kup-probe.entry.js +4 -4
- package/dist/esm/kup-qlik.entry.js +6 -5
- package/dist/esm/kup-snackbar.entry.js +8 -7
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-060ae996.entry.js +1 -0
- package/dist/ketchup/{p-0c124f99.entry.js → p-0a4595bd.entry.js} +1 -1
- package/dist/ketchup/{p-dc370227.entry.js → p-0dd0ae49.entry.js} +1 -1
- package/dist/ketchup/p-102866cd.js +1 -0
- package/dist/ketchup/{p-d300948a.entry.js → p-11d5400a.entry.js} +1 -1
- package/dist/ketchup/p-1ad7fea0.js +2 -0
- package/dist/ketchup/{p-01a0b54c.js → p-2778f948.js} +1 -1
- package/dist/ketchup/p-2f4055ba.entry.js +1 -0
- package/dist/ketchup/p-3c9ac0fd.entry.js +1 -0
- package/dist/ketchup/p-3ce8ce77.entry.js +49 -0
- package/dist/ketchup/p-3ff9a661.entry.js +1 -0
- package/dist/ketchup/p-41d6466e.entry.js +1 -0
- package/dist/ketchup/p-4bf5e04f.entry.js +1 -0
- package/dist/ketchup/p-610a03d4.js +28 -0
- package/dist/ketchup/{p-d9a1e5a4.entry.js → p-662d2f9b.entry.js} +1 -1
- package/dist/ketchup/p-773bcc69.entry.js +1 -0
- package/dist/ketchup/{p-caeed3c3.js → p-7bda0684.js} +1 -1
- package/dist/ketchup/p-81996620.entry.js +1 -0
- package/dist/ketchup/p-9d8d5070.entry.js +1 -0
- package/dist/ketchup/{p-8042dcd5.entry.js → p-9e63f56b.entry.js} +1 -1
- package/dist/ketchup/p-9f31a129.entry.js +38 -0
- package/dist/ketchup/p-a9b06bb8.js +1 -0
- package/dist/ketchup/p-b3067fd0.entry.js +9 -0
- package/dist/ketchup/p-b5d3c24d.entry.js +1 -0
- package/dist/ketchup/p-babbffa4.entry.js +1 -0
- package/dist/ketchup/p-c1ade766.entry.js +1 -0
- package/dist/ketchup/{p-9ba8f169.js → p-ccc637ee.js} +1 -1
- package/dist/ketchup/p-d15d1083.entry.js +1 -0
- package/dist/ketchup/p-d5254caf.entry.js +1 -0
- package/dist/ketchup/{p-d76cd8d6.js → p-dba484b8.js} +1 -1
- package/dist/ketchup/{p-f51dbf68.js → p-dc18691c.js} +1 -1
- package/dist/ketchup/p-de07d17e.js +1 -0
- package/dist/ketchup/p-df450df9.entry.js +16 -0
- package/dist/ketchup/{p-269a9af8.js → p-e43d4ccc.js} +1 -1
- package/dist/ketchup/p-ea625b2a.entry.js +1 -0
- package/dist/ketchup/{p-81c1d557.entry.js → p-eb37ea7e.entry.js} +1 -1
- package/dist/ketchup/p-f0b882f4.entry.js +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +13 -0
- package/dist/types/components/kup-box/kup-box-state.d.ts +2 -0
- package/dist/types/components/kup-box/kup-box.d.ts +26 -1
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
- package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +21 -0
- package/dist/types/components/kup-editor/kup-editor.d.ts +128 -0
- package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -0
- package/dist/types/components.d.ts +197 -8
- package/dist/types/managers/kup-data/kup-data.d.ts +1 -1
- package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +1 -0
- package/dist/types/managers/kup-interact/kup-interact.d.ts +1 -0
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +3 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +1 -0
- package/dist/types/managers/kup-toolbar/kup-toolbar-declarations.d.ts +1 -1
- package/package.json +4 -3
- package/dist/ketchup/p-07bed934.entry.js +0 -1
- package/dist/ketchup/p-0f6cb6e4.entry.js +0 -1
- package/dist/ketchup/p-177f8008.entry.js +0 -9
- package/dist/ketchup/p-2ab02da0.entry.js +0 -1
- package/dist/ketchup/p-3f028a71.entry.js +0 -1
- package/dist/ketchup/p-4a18db68.entry.js +0 -39
- package/dist/ketchup/p-4eb6d4e8.entry.js +0 -1
- package/dist/ketchup/p-63031c77.js +0 -1
- package/dist/ketchup/p-71acfd3c.entry.js +0 -1
- package/dist/ketchup/p-753f30d8.entry.js +0 -1
- package/dist/ketchup/p-8c3ad5ef.entry.js +0 -1
- package/dist/ketchup/p-937a322f.js +0 -29
- package/dist/ketchup/p-a2d3aec9.entry.js +0 -1
- package/dist/ketchup/p-b07ffd18.entry.js +0 -16
- package/dist/ketchup/p-b115e1ec.entry.js +0 -1
- package/dist/ketchup/p-b396d0f8.js +0 -1
- package/dist/ketchup/p-c12a9759.entry.js +0 -1
- package/dist/ketchup/p-c23731ca.js +0 -1
- package/dist/ketchup/p-cadeb53d.entry.js +0 -1
- package/dist/ketchup/p-cd9a4274.js +0 -2
- package/dist/ketchup/p-f1cae1e1.entry.js +0 -1
- package/dist/ketchup/p-f417e794.entry.js +0 -1
- package/dist/ketchup/p-f753c13f.entry.js +0 -1
- package/dist/ketchup/p-f7980061.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from '../../stencil-public-runtime';
|
|
2
|
-
import { KupBoxRow, KupBoxLayout, KupBoxKanban, KupBoxClickEventPayload, KupBoxSelectedEventPayload, KupBoxAutoSelectEventPayload, KupBoxRowActionClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData } from './kup-box-declarations';
|
|
2
|
+
import { KupBoxRow, KupBoxLayout, KupBoxKanban, KupBoxClickEventPayload, KupBoxSelectedEventPayload, KupBoxAutoSelectEventPayload, KupBoxRowActionClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, LoadMoreMode, KupBoxLoadMoreClickEventPayload } from './kup-box-declarations';
|
|
3
3
|
import { KupBoxState } from './kup-box-state';
|
|
4
4
|
import { KupStore } from '../kup-state/kup-store';
|
|
5
5
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
@@ -92,6 +92,26 @@ export declare class KupBox {
|
|
|
92
92
|
* When set to true, extra rows will be automatically loaded once the last row enters the viewport.
|
|
93
93
|
*/
|
|
94
94
|
lazyLoadRows: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Sets a maximum limit of new records which can be required by the load more functionality.
|
|
97
|
+
*/
|
|
98
|
+
loadMoreLimit: number;
|
|
99
|
+
/**
|
|
100
|
+
* Establish the modality of how many new records will be downloaded.
|
|
101
|
+
*
|
|
102
|
+
* This property is regulated also by loadMoreStep.
|
|
103
|
+
* @see loadMoreStep
|
|
104
|
+
* @see loadMoreLimit
|
|
105
|
+
*/
|
|
106
|
+
loadMoreMode: LoadMoreMode;
|
|
107
|
+
/**
|
|
108
|
+
* The number of records which will be requested to be downloaded when clicking on the load more button.
|
|
109
|
+
*
|
|
110
|
+
* This property is regulated also by loadMoreMode.
|
|
111
|
+
* @see loadMoreMode
|
|
112
|
+
* @see loadMoreLimit
|
|
113
|
+
*/
|
|
114
|
+
loadMoreStep: number;
|
|
95
115
|
/**
|
|
96
116
|
* Enable multi selection
|
|
97
117
|
* @default false
|
|
@@ -127,6 +147,10 @@ export declare class KupBox {
|
|
|
127
147
|
* @default undefined
|
|
128
148
|
*/
|
|
129
149
|
selectedRowsState: string;
|
|
150
|
+
/**
|
|
151
|
+
* If set to true, displays the button to load more records.
|
|
152
|
+
*/
|
|
153
|
+
showLoadMore: boolean;
|
|
130
154
|
/**
|
|
131
155
|
* If enabled, highlights the selected box/boxes
|
|
132
156
|
* @default true
|
|
@@ -194,6 +218,7 @@ export declare class KupBox {
|
|
|
194
218
|
* Generic right click event on box.
|
|
195
219
|
*/
|
|
196
220
|
kupBoxContextMenu: EventEmitter<KupBoxContextMenuEventPayload>;
|
|
221
|
+
kupLoadMoreClick: EventEmitter<KupBoxLoadMoreClickEventPayload>;
|
|
197
222
|
rowsPerPageHandler(newValue: number): void;
|
|
198
223
|
recalculateRows(): void;
|
|
199
224
|
onDataChanged(): void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { KupEventPayload } from '../../types/GenericTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Props of the kup-dropdown-button component.
|
|
4
|
+
* Used to export every prop in an object.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum KupEditorProps {
|
|
7
|
+
autosaveTimer = "When a number is specified, the component will emit the kup-editor-save event at regular intervals. The amount of time every interval will last is specified but the prop itself.",
|
|
8
|
+
editorHeight = "Sets the height of the component.",
|
|
9
|
+
initialEditType = "Initializes editor with the specified editor type. Suported values: \"markdown\", \"wysiwyg\".",
|
|
10
|
+
initialValue = "Initializes editor with the specified string.",
|
|
11
|
+
isReadOnly = "Defaults at false. When set, When set, the editor\u2019s content can\u2019t be changed..",
|
|
12
|
+
previewStyle = "Initializes editor with the specified preview type. Suported values: \"tab\", \"vertical\".",
|
|
13
|
+
showSaveButton = "When set, a save button shown in the editor\u2019s toolbar.",
|
|
14
|
+
showToolbar = "When set to false, the toolbar will not be shown."
|
|
15
|
+
}
|
|
16
|
+
export type KupEditorType = 'wysiwyg' | 'markdown';
|
|
17
|
+
export type KupEditorPreview = 'tab' | 'vertical';
|
|
18
|
+
export interface KupEditorEventPayload extends KupEventPayload {
|
|
19
|
+
htmlValue: string;
|
|
20
|
+
markdownValue: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
3
|
+
import Editor from '@toast-ui/editor';
|
|
4
|
+
import { KupEditorEventPayload, KupEditorPreview, KupEditorType } from './kup-editor-declarations';
|
|
5
|
+
import Viewer from '@toast-ui/editor/dist/toastui-editor-viewer';
|
|
6
|
+
export declare class KupEditor {
|
|
7
|
+
#private;
|
|
8
|
+
/**
|
|
9
|
+
* References the root HTML element of the component (<kup-editor>).
|
|
10
|
+
*/
|
|
11
|
+
rootElement: HTMLElement;
|
|
12
|
+
/**
|
|
13
|
+
* The editor instance.
|
|
14
|
+
* @default null
|
|
15
|
+
*/
|
|
16
|
+
editor: Editor;
|
|
17
|
+
/**
|
|
18
|
+
* The editor html element instance.
|
|
19
|
+
* @default null
|
|
20
|
+
*/
|
|
21
|
+
editorRef: HTMLDivElement;
|
|
22
|
+
/**
|
|
23
|
+
* The viewer instance.
|
|
24
|
+
* @default null
|
|
25
|
+
*/
|
|
26
|
+
viewer: Viewer;
|
|
27
|
+
/**
|
|
28
|
+
* When specified, the component will emit the kup-editor-autosave event at regular intervals.
|
|
29
|
+
* @default null
|
|
30
|
+
*/
|
|
31
|
+
autosaveTimer: number;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the height of the component.
|
|
34
|
+
* @default "auto"
|
|
35
|
+
*/
|
|
36
|
+
editorHeight: string;
|
|
37
|
+
/**
|
|
38
|
+
* The editor type.
|
|
39
|
+
* @default 'markdown'
|
|
40
|
+
*/
|
|
41
|
+
initialEditType: KupEditorType;
|
|
42
|
+
/**
|
|
43
|
+
* The initial editor value.
|
|
44
|
+
* @default ''
|
|
45
|
+
*/
|
|
46
|
+
initialValue: string;
|
|
47
|
+
/**
|
|
48
|
+
* Defines whether the editor is disabled or not.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
isReadOnly: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* The editor preview style.
|
|
54
|
+
* @default 'vertical'
|
|
55
|
+
*/
|
|
56
|
+
previewStyle: KupEditorPreview;
|
|
57
|
+
/**
|
|
58
|
+
* Defines whether to show the save button in editor's toolbar or not.
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
61
|
+
showSaveButton: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Defines whether to show the editor's toolbar or not.
|
|
64
|
+
* @default true
|
|
65
|
+
*/
|
|
66
|
+
showToolbar: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Triggered at regular intervals if autosaveTimer prop is initialised.
|
|
69
|
+
*/
|
|
70
|
+
kupAutoSave: EventEmitter<KupEditorEventPayload>;
|
|
71
|
+
/**
|
|
72
|
+
* Triggered when the component is ready.
|
|
73
|
+
*/
|
|
74
|
+
kupReady: EventEmitter<KupEventPayload>;
|
|
75
|
+
/**
|
|
76
|
+
* Triggered when save button is clicked.
|
|
77
|
+
*/
|
|
78
|
+
kupSave: EventEmitter<KupEditorEventPayload>;
|
|
79
|
+
onEditorRefUpdated(): void;
|
|
80
|
+
onEditorUpdate(): void;
|
|
81
|
+
onInitialEditTypeChanged(): void;
|
|
82
|
+
onIsReadOnlyChanged(): void;
|
|
83
|
+
onPreviewStyleChanged(): void;
|
|
84
|
+
onShowSaveButtonChanged(): void;
|
|
85
|
+
onShowToolBarChanged(): void;
|
|
86
|
+
onAutosaveTimerChanged(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Used to retrieve component's props values.
|
|
89
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
90
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
91
|
+
*/
|
|
92
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the component's internal value as html.
|
|
95
|
+
*/
|
|
96
|
+
getValueAsHTML(): Promise<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the component's internal value as markdown.
|
|
99
|
+
*/
|
|
100
|
+
getValueAsMarkdown(): Promise<string>;
|
|
101
|
+
/**
|
|
102
|
+
* This method is used to trigger a new render of the component.
|
|
103
|
+
*/
|
|
104
|
+
refresh(): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* Sets the props to the component.
|
|
107
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
108
|
+
*/
|
|
109
|
+
setProps(props: GenericObject): Promise<void>;
|
|
110
|
+
createEditor(): void;
|
|
111
|
+
createViewer(): void;
|
|
112
|
+
createSaveButton(): HTMLElement;
|
|
113
|
+
createDivider(): toastui.ToolbarButton;
|
|
114
|
+
createUnsavedChanges(): HTMLElement;
|
|
115
|
+
updateToolbarVisiblity(): void;
|
|
116
|
+
setAutosaveInterval(): void;
|
|
117
|
+
onEditorSave(): void;
|
|
118
|
+
onEditorAutoSave(): void;
|
|
119
|
+
getToolBarWithSaveButton(includeDefaultItems?: boolean): (string | toastui.ToolbarButton)[];
|
|
120
|
+
getDefaultToolBarItems(): (string | toastui.ToolbarButton)[];
|
|
121
|
+
getSaveAndAutoSaveProps(): KupEditorEventPayload;
|
|
122
|
+
componentWillLoad(): void;
|
|
123
|
+
componentDidLoad(): void;
|
|
124
|
+
componentWillRender(): void;
|
|
125
|
+
componentDidRender(): void;
|
|
126
|
+
render(): any;
|
|
127
|
+
disconnectedCallback(): void;
|
|
128
|
+
}
|
|
@@ -96,6 +96,7 @@ export declare class KupGantt {
|
|
|
96
96
|
* References the root HTML element of the component (<kup-gantt>).
|
|
97
97
|
*/
|
|
98
98
|
rootElement: HTMLElement;
|
|
99
|
+
taskListTrueRef: HTMLKupTaskListElement;
|
|
99
100
|
componentWillLoad(): void;
|
|
100
101
|
loadStates(): void;
|
|
101
102
|
componentDidRender(): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@interactjs/types" />
|
|
1
2
|
import { KupDataCell, KupDataColumn, KupDataNode, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
2
3
|
import type { PointerEvent } from '@interactjs/types/index';
|
|
3
4
|
import { GenericMap, KupEventPayload } from '../../types/GenericTypes';
|
|
@@ -9,7 +9,7 @@ import { KupAccordionData, KupAccordionItemSelectedEventPayload } from "./compon
|
|
|
9
9
|
import { GenericObject, KupEventPayload } from "./types/GenericTypes";
|
|
10
10
|
import { ItemsDisplayMode, KupListEventPayload, KupListNode, KupListRole } from "./components/kup-list/kup-list-declarations";
|
|
11
11
|
import { KupAutocompleteEventPayload, KupAutocompleteIconClickEventPayload } from "./components/kup-autocomplete/kup-autocomplete-declarations";
|
|
12
|
-
import { KupBoxAutoSelectEventPayload, KupBoxClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, KupBoxKanban, KupBoxLayout, KupBoxRow, KupBoxRowActionClickEventPayload, KupBoxSelectedEventPayload } from "./components/kup-box/kup-box-declarations";
|
|
12
|
+
import { KupBoxAutoSelectEventPayload, KupBoxClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, KupBoxKanban, KupBoxLayout, KupBoxLoadMoreClickEventPayload, KupBoxRow, KupBoxRowActionClickEventPayload, KupBoxSelectedEventPayload, LoadMoreMode } from "./components/kup-box/kup-box-declarations";
|
|
13
13
|
import { KupStore } from "./components/kup-state/kup-store";
|
|
14
14
|
import { KupDataCell, KupDataColumn, KupDataDataset, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataNode, KupDataRowAction } from "./managers/kup-data/kup-data-declarations";
|
|
15
15
|
import { FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
|
|
@@ -27,7 +27,7 @@ import { KupColorPickerEventPayload } from "./components/kup-color-picker/kup-co
|
|
|
27
27
|
import { KupComboboxEventPayload, KupComboboxIconClickEventPayload } from "./components/kup-combobox/kup-combobox-declarations";
|
|
28
28
|
import { KupGanttPlannerProps, KupPlannerBarDisplayProps, KupPlannerBarTask, KupPlannerCalendarProps, KupPlannerClickEventPayload, KupPlannerEventOption, KupPlannerEventPayload, KupPlannerGanttEvent, KupPlannerGanttProps, KupPlannerGanttRow, KupPlannerGanttTaskN, KupPlannerItemDetail, KupPlannerPhase, KupPlannerSwitcherProps, KupPlannerTask, KupPlannerTaskGanttContentProps, KupPlannerTaskGanttProps, KupPlannerTaskItemProps, KupPlannerTaskListProps, KupPlannerTaskType, KupPlannerUnloadEventPayload, KupPlannerViewMode, PlannerProps } from "./components/kup-planner/kup-planner-declarations";
|
|
29
29
|
import { KupDashboardEventPayload, KupDataDashboard } from "./components/kup-dashboard/kup-dashboard-declarations";
|
|
30
|
-
import { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDatatableHistoryEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
30
|
+
import { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDatatableHistoryEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode as LoadMoreMode1, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
31
31
|
import { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
32
32
|
import { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
33
33
|
import { KupDialogAutoCenter, KupDialogHeader, KupDialogModal } from "./components/kup-dialog/kup-dialog-declarations";
|
|
@@ -35,6 +35,7 @@ import { KupDropdownButtonEventPayload } from "./components/kup-dropdown-button/
|
|
|
35
35
|
import { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, KupEchartTitle, KupEchartTypes } from "./components/kup-echart/kup-echart-declarations";
|
|
36
36
|
import { GeoJSON } from "geojson";
|
|
37
37
|
import { XAXisComponentOption, YAXisComponentOption } from "echarts";
|
|
38
|
+
import { KupEditorEventPayload, KupEditorPreview, KupEditorType } from "./components/kup-editor/kup-editor-declarations";
|
|
38
39
|
import { KupFamilyTreeData, KupFamilyTreeEventPayload, KupFamilyTreeLayout, KupFamilyTreeNode } from "./components/kup-family-tree/kup-family-tree-declarations";
|
|
39
40
|
import { KupFormData, KupFormLabelPlacement, KupFormLayout } from "./components/kup-form/kup-form-declarations";
|
|
40
41
|
import { KupBadge } from "./components/kup-badge/kup-badge";
|
|
@@ -57,7 +58,7 @@ export { KupAccordionData, KupAccordionItemSelectedEventPayload } from "./compon
|
|
|
57
58
|
export { GenericObject, KupEventPayload } from "./types/GenericTypes";
|
|
58
59
|
export { ItemsDisplayMode, KupListEventPayload, KupListNode, KupListRole } from "./components/kup-list/kup-list-declarations";
|
|
59
60
|
export { KupAutocompleteEventPayload, KupAutocompleteIconClickEventPayload } from "./components/kup-autocomplete/kup-autocomplete-declarations";
|
|
60
|
-
export { KupBoxAutoSelectEventPayload, KupBoxClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, KupBoxKanban, KupBoxLayout, KupBoxRow, KupBoxRowActionClickEventPayload, KupBoxSelectedEventPayload } from "./components/kup-box/kup-box-declarations";
|
|
61
|
+
export { KupBoxAutoSelectEventPayload, KupBoxClickEventPayload, KupBoxContextMenuEventPayload, KupBoxData, KupBoxKanban, KupBoxLayout, KupBoxLoadMoreClickEventPayload, KupBoxRow, KupBoxRowActionClickEventPayload, KupBoxSelectedEventPayload, LoadMoreMode } from "./components/kup-box/kup-box-declarations";
|
|
61
62
|
export { KupStore } from "./components/kup-state/kup-store";
|
|
62
63
|
export { KupDataCell, KupDataColumn, KupDataDataset, KupDataNewColumnOptions, KupDataNewColumnTypes, KupDataNode, KupDataRowAction } from "./managers/kup-data/kup-data-declarations";
|
|
63
64
|
export { FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
|
|
@@ -75,7 +76,7 @@ export { KupColorPickerEventPayload } from "./components/kup-color-picker/kup-co
|
|
|
75
76
|
export { KupComboboxEventPayload, KupComboboxIconClickEventPayload } from "./components/kup-combobox/kup-combobox-declarations";
|
|
76
77
|
export { KupGanttPlannerProps, KupPlannerBarDisplayProps, KupPlannerBarTask, KupPlannerCalendarProps, KupPlannerClickEventPayload, KupPlannerEventOption, KupPlannerEventPayload, KupPlannerGanttEvent, KupPlannerGanttProps, KupPlannerGanttRow, KupPlannerGanttTaskN, KupPlannerItemDetail, KupPlannerPhase, KupPlannerSwitcherProps, KupPlannerTask, KupPlannerTaskGanttContentProps, KupPlannerTaskGanttProps, KupPlannerTaskItemProps, KupPlannerTaskListProps, KupPlannerTaskType, KupPlannerUnloadEventPayload, KupPlannerViewMode, PlannerProps } from "./components/kup-planner/kup-planner-declarations";
|
|
77
78
|
export { KupDashboardEventPayload, KupDataDashboard } from "./components/kup-dashboard/kup-dashboard-declarations";
|
|
78
|
-
export { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDatatableHistoryEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
79
|
+
export { GroupLabelDisplayMode, GroupObject, KupDatatableClickEventPayload, KupDatatableColumnMenuEventPayload, KupDatatableColumnMoveEventPayload, KupDatatableColumnRemoveEventPayload, KupDataTableDataset, KupDatatableDeleteRowEventPayload, KupDatatableHistoryEventPayload, KupDataTableInsertMode, KupDatatableInsertRowEventPayload, KupDatatableLoadMoreClickEventPayload, KupDataTableRow, KupDatatableRowActionClickEventPayload, KupDatatableRowSelectedEventPayload, LoadMoreMode as LoadMoreMode1, PaginatorPos, SelectionMode, ShowGrid, SortObject, TotalsMap } from "./components/kup-data-table/kup-data-table-declarations";
|
|
79
80
|
export { GenericFilter, KupGlobalFilterMode } from "./utils/filters/filters-declarations";
|
|
80
81
|
export { KupDatePickerEventPayload } from "./components/kup-date-picker/kup-date-picker-declarations";
|
|
81
82
|
export { KupDialogAutoCenter, KupDialogHeader, KupDialogModal } from "./components/kup-dialog/kup-dialog-declarations";
|
|
@@ -83,6 +84,7 @@ export { KupDropdownButtonEventPayload } from "./components/kup-dropdown-button/
|
|
|
83
84
|
export { KupEchartClickEventPayload, KupEchartLegendPlacement, KupEchartMaps, KupEchartTitle, KupEchartTypes } from "./components/kup-echart/kup-echart-declarations";
|
|
84
85
|
export { GeoJSON } from "geojson";
|
|
85
86
|
export { XAXisComponentOption, YAXisComponentOption } from "echarts";
|
|
87
|
+
export { KupEditorEventPayload, KupEditorPreview, KupEditorType } from "./components/kup-editor/kup-editor-declarations";
|
|
86
88
|
export { KupFamilyTreeData, KupFamilyTreeEventPayload, KupFamilyTreeLayout, KupFamilyTreeNode } from "./components/kup-family-tree/kup-family-tree-declarations";
|
|
87
89
|
export { KupFormData, KupFormLabelPlacement, KupFormLayout } from "./components/kup-form/kup-form-declarations";
|
|
88
90
|
export { KupBadge } from "./components/kup-badge/kup-badge";
|
|
@@ -345,6 +347,22 @@ export namespace Components {
|
|
|
345
347
|
* When set to true, extra rows will be automatically loaded once the last row enters the viewport.
|
|
346
348
|
*/
|
|
347
349
|
"lazyLoadRows": boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Sets a maximum limit of new records which can be required by the load more functionality.
|
|
352
|
+
*/
|
|
353
|
+
"loadMoreLimit": number;
|
|
354
|
+
/**
|
|
355
|
+
* Establish the modality of how many new records will be downloaded. This property is regulated also by loadMoreStep.
|
|
356
|
+
* @see loadMoreStep *
|
|
357
|
+
* @see loadMoreLimit
|
|
358
|
+
*/
|
|
359
|
+
"loadMoreMode": LoadMoreMode;
|
|
360
|
+
/**
|
|
361
|
+
* The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.
|
|
362
|
+
* @see loadMoreMode *
|
|
363
|
+
* @see loadMoreLimit
|
|
364
|
+
*/
|
|
365
|
+
"loadMoreStep": number;
|
|
348
366
|
"loadRowActions": (row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>;
|
|
349
367
|
/**
|
|
350
368
|
* Enable multi selection
|
|
@@ -390,6 +408,10 @@ export namespace Components {
|
|
|
390
408
|
* @param props - Object containing props that will be set to the component.
|
|
391
409
|
*/
|
|
392
410
|
"setProps": (props: GenericObject) => Promise<void>;
|
|
411
|
+
/**
|
|
412
|
+
* If set to true, displays the button to load more records.
|
|
413
|
+
*/
|
|
414
|
+
"showLoadMore": boolean;
|
|
393
415
|
/**
|
|
394
416
|
* If enabled, highlights the selected box/boxes
|
|
395
417
|
* @default true
|
|
@@ -1355,7 +1377,7 @@ export namespace Components {
|
|
|
1355
1377
|
* @see loadMoreStep *
|
|
1356
1378
|
* @see loadMoreLimit
|
|
1357
1379
|
*/
|
|
1358
|
-
"loadMoreMode":
|
|
1380
|
+
"loadMoreMode": LoadMoreMode1;
|
|
1359
1381
|
/**
|
|
1360
1382
|
* The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.
|
|
1361
1383
|
* @see loadMoreMode *
|
|
@@ -1832,6 +1854,71 @@ export namespace Components {
|
|
|
1832
1854
|
*/
|
|
1833
1855
|
"yAxis": YAXisComponentOption;
|
|
1834
1856
|
}
|
|
1857
|
+
interface KupEditor {
|
|
1858
|
+
/**
|
|
1859
|
+
* When specified, the component will emit the kup-editor-autosave event at regular intervals.
|
|
1860
|
+
* @default null
|
|
1861
|
+
*/
|
|
1862
|
+
"autosaveTimer": number;
|
|
1863
|
+
/**
|
|
1864
|
+
* Sets the height of the component.
|
|
1865
|
+
* @default "auto"
|
|
1866
|
+
*/
|
|
1867
|
+
"editorHeight": string;
|
|
1868
|
+
/**
|
|
1869
|
+
* Used to retrieve component's props values.
|
|
1870
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
1871
|
+
* @returns List of props as object, each key will be a prop.
|
|
1872
|
+
*/
|
|
1873
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
1874
|
+
/**
|
|
1875
|
+
* Returns the component's internal value as html.
|
|
1876
|
+
*/
|
|
1877
|
+
"getValueAsHTML": () => Promise<string>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Returns the component's internal value as markdown.
|
|
1880
|
+
*/
|
|
1881
|
+
"getValueAsMarkdown": () => Promise<string>;
|
|
1882
|
+
/**
|
|
1883
|
+
* The editor type.
|
|
1884
|
+
* @default 'markdown'
|
|
1885
|
+
*/
|
|
1886
|
+
"initialEditType": KupEditorType;
|
|
1887
|
+
/**
|
|
1888
|
+
* The initial editor value.
|
|
1889
|
+
* @default ''
|
|
1890
|
+
*/
|
|
1891
|
+
"initialValue": string;
|
|
1892
|
+
/**
|
|
1893
|
+
* Defines whether the editor is disabled or not.
|
|
1894
|
+
* @default false
|
|
1895
|
+
*/
|
|
1896
|
+
"isReadOnly": boolean;
|
|
1897
|
+
/**
|
|
1898
|
+
* The editor preview style.
|
|
1899
|
+
* @default 'vertical'
|
|
1900
|
+
*/
|
|
1901
|
+
"previewStyle": KupEditorPreview;
|
|
1902
|
+
/**
|
|
1903
|
+
* This method is used to trigger a new render of the component.
|
|
1904
|
+
*/
|
|
1905
|
+
"refresh": () => Promise<void>;
|
|
1906
|
+
/**
|
|
1907
|
+
* Sets the props to the component.
|
|
1908
|
+
* @param props - Object containing props that will be set to the component.
|
|
1909
|
+
*/
|
|
1910
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
1911
|
+
/**
|
|
1912
|
+
* Defines whether to show the save button in editor's toolbar or not.
|
|
1913
|
+
* @default true
|
|
1914
|
+
*/
|
|
1915
|
+
"showSaveButton": boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* Defines whether to show the editor's toolbar or not.
|
|
1918
|
+
* @default true
|
|
1919
|
+
*/
|
|
1920
|
+
"showToolbar": boolean;
|
|
1921
|
+
}
|
|
1835
1922
|
interface KupFamilyTree {
|
|
1836
1923
|
/**
|
|
1837
1924
|
* The component will autofit everytime a node is expanded.
|
|
@@ -2212,7 +2299,7 @@ export namespace Components {
|
|
|
2212
2299
|
"rtl": boolean;
|
|
2213
2300
|
"scrollNumber": number;
|
|
2214
2301
|
"svgWidth": number;
|
|
2215
|
-
"
|
|
2302
|
+
"taskListTrueRef": HTMLKupTaskListElement;
|
|
2216
2303
|
"taskListWidth": number;
|
|
2217
2304
|
}
|
|
2218
2305
|
interface KupIframe {
|
|
@@ -3873,6 +3960,10 @@ export interface KupEchartCustomEvent<T> extends CustomEvent<T> {
|
|
|
3873
3960
|
detail: T;
|
|
3874
3961
|
target: HTMLKupEchartElement;
|
|
3875
3962
|
}
|
|
3963
|
+
export interface KupEditorCustomEvent<T> extends CustomEvent<T> {
|
|
3964
|
+
detail: T;
|
|
3965
|
+
target: HTMLKupEditorElement;
|
|
3966
|
+
}
|
|
3876
3967
|
export interface KupFamilyTreeCustomEvent<T> extends CustomEvent<T> {
|
|
3877
3968
|
detail: T;
|
|
3878
3969
|
target: HTMLKupFamilyTreeElement;
|
|
@@ -4020,6 +4111,7 @@ declare global {
|
|
|
4020
4111
|
"kup-box-didload": KupEventPayload;
|
|
4021
4112
|
"kup-box-didunload": KupEventPayload;
|
|
4022
4113
|
"kup-box-contextmenu": KupBoxContextMenuEventPayload;
|
|
4114
|
+
"kup-box-loadmoreclick": KupBoxLoadMoreClickEventPayload;
|
|
4023
4115
|
}
|
|
4024
4116
|
interface HTMLKupBoxElement extends Components.KupBox, HTMLStencilElement {
|
|
4025
4117
|
addEventListener<K extends keyof HTMLKupBoxElementEventMap>(type: K, listener: (this: HTMLKupBoxElement, ev: KupBoxCustomEvent<HTMLKupBoxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4392,6 +4484,25 @@ declare global {
|
|
|
4392
4484
|
prototype: HTMLKupEchartElement;
|
|
4393
4485
|
new (): HTMLKupEchartElement;
|
|
4394
4486
|
};
|
|
4487
|
+
interface HTMLKupEditorElementEventMap {
|
|
4488
|
+
"kup-editor-autosave": KupEditorEventPayload;
|
|
4489
|
+
"kup-editor-ready": KupEventPayload;
|
|
4490
|
+
"kup-editor-save": KupEditorEventPayload;
|
|
4491
|
+
}
|
|
4492
|
+
interface HTMLKupEditorElement extends Components.KupEditor, HTMLStencilElement {
|
|
4493
|
+
addEventListener<K extends keyof HTMLKupEditorElementEventMap>(type: K, listener: (this: HTMLKupEditorElement, ev: KupEditorCustomEvent<HTMLKupEditorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4494
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4495
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4496
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4497
|
+
removeEventListener<K extends keyof HTMLKupEditorElementEventMap>(type: K, listener: (this: HTMLKupEditorElement, ev: KupEditorCustomEvent<HTMLKupEditorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4498
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4499
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4500
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4501
|
+
}
|
|
4502
|
+
var HTMLKupEditorElement: {
|
|
4503
|
+
prototype: HTMLKupEditorElement;
|
|
4504
|
+
new (): HTMLKupEditorElement;
|
|
4505
|
+
};
|
|
4395
4506
|
interface HTMLKupFamilyTreeElementEventMap {
|
|
4396
4507
|
"kup-familytree-click": KupFamilyTreeEventPayload;
|
|
4397
4508
|
"kup-familytree-contextmenu": KupFamilyTreeEventPayload;
|
|
@@ -4926,6 +5037,7 @@ declare global {
|
|
|
4926
5037
|
"kup-drawer": HTMLKupDrawerElement;
|
|
4927
5038
|
"kup-dropdown-button": HTMLKupDropdownButtonElement;
|
|
4928
5039
|
"kup-echart": HTMLKupEchartElement;
|
|
5040
|
+
"kup-editor": HTMLKupEditorElement;
|
|
4929
5041
|
"kup-family-tree": HTMLKupFamilyTreeElement;
|
|
4930
5042
|
"kup-form": HTMLKupFormElement;
|
|
4931
5043
|
"kup-gantt": HTMLKupGanttElement;
|
|
@@ -5145,6 +5257,22 @@ declare namespace LocalJSX {
|
|
|
5145
5257
|
* When set to true, extra rows will be automatically loaded once the last row enters the viewport.
|
|
5146
5258
|
*/
|
|
5147
5259
|
"lazyLoadRows"?: boolean;
|
|
5260
|
+
/**
|
|
5261
|
+
* Sets a maximum limit of new records which can be required by the load more functionality.
|
|
5262
|
+
*/
|
|
5263
|
+
"loadMoreLimit"?: number;
|
|
5264
|
+
/**
|
|
5265
|
+
* Establish the modality of how many new records will be downloaded. This property is regulated also by loadMoreStep.
|
|
5266
|
+
* @see loadMoreStep *
|
|
5267
|
+
* @see loadMoreLimit
|
|
5268
|
+
*/
|
|
5269
|
+
"loadMoreMode"?: LoadMoreMode;
|
|
5270
|
+
/**
|
|
5271
|
+
* The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.
|
|
5272
|
+
* @see loadMoreMode *
|
|
5273
|
+
* @see loadMoreLimit
|
|
5274
|
+
*/
|
|
5275
|
+
"loadMoreStep"?: number;
|
|
5148
5276
|
/**
|
|
5149
5277
|
* Enable multi selection
|
|
5150
5278
|
* @default false
|
|
@@ -5167,6 +5295,7 @@ declare namespace LocalJSX {
|
|
|
5167
5295
|
* Triggered when stop propagation event
|
|
5168
5296
|
*/
|
|
5169
5297
|
"onKup-box-didunload"?: (event: KupBoxCustomEvent<KupEventPayload>) => void;
|
|
5298
|
+
"onKup-box-loadmoreclick"?: (event: KupBoxCustomEvent<KupBoxLoadMoreClickEventPayload>) => void;
|
|
5170
5299
|
/**
|
|
5171
5300
|
* When the row menu action icon is click
|
|
5172
5301
|
*/
|
|
@@ -5209,6 +5338,10 @@ declare namespace LocalJSX {
|
|
|
5209
5338
|
* @default undefined
|
|
5210
5339
|
*/
|
|
5211
5340
|
"selectedRowsState"?: string;
|
|
5341
|
+
/**
|
|
5342
|
+
* If set to true, displays the button to load more records.
|
|
5343
|
+
*/
|
|
5344
|
+
"showLoadMore"?: boolean;
|
|
5212
5345
|
/**
|
|
5213
5346
|
* If enabled, highlights the selected box/boxes
|
|
5214
5347
|
* @default true
|
|
@@ -5983,7 +6116,7 @@ declare namespace LocalJSX {
|
|
|
5983
6116
|
* @see loadMoreStep *
|
|
5984
6117
|
* @see loadMoreLimit
|
|
5985
6118
|
*/
|
|
5986
|
-
"loadMoreMode"?:
|
|
6119
|
+
"loadMoreMode"?: LoadMoreMode1;
|
|
5987
6120
|
/**
|
|
5988
6121
|
* The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.
|
|
5989
6122
|
* @see loadMoreMode *
|
|
@@ -6400,6 +6533,60 @@ declare namespace LocalJSX {
|
|
|
6400
6533
|
*/
|
|
6401
6534
|
"yAxis"?: YAXisComponentOption;
|
|
6402
6535
|
}
|
|
6536
|
+
interface KupEditor {
|
|
6537
|
+
/**
|
|
6538
|
+
* When specified, the component will emit the kup-editor-autosave event at regular intervals.
|
|
6539
|
+
* @default null
|
|
6540
|
+
*/
|
|
6541
|
+
"autosaveTimer"?: number;
|
|
6542
|
+
/**
|
|
6543
|
+
* Sets the height of the component.
|
|
6544
|
+
* @default "auto"
|
|
6545
|
+
*/
|
|
6546
|
+
"editorHeight"?: string;
|
|
6547
|
+
/**
|
|
6548
|
+
* The editor type.
|
|
6549
|
+
* @default 'markdown'
|
|
6550
|
+
*/
|
|
6551
|
+
"initialEditType"?: KupEditorType;
|
|
6552
|
+
/**
|
|
6553
|
+
* The initial editor value.
|
|
6554
|
+
* @default ''
|
|
6555
|
+
*/
|
|
6556
|
+
"initialValue"?: string;
|
|
6557
|
+
/**
|
|
6558
|
+
* Defines whether the editor is disabled or not.
|
|
6559
|
+
* @default false
|
|
6560
|
+
*/
|
|
6561
|
+
"isReadOnly"?: boolean;
|
|
6562
|
+
/**
|
|
6563
|
+
* Triggered at regular intervals if autosaveTimer prop is initialised.
|
|
6564
|
+
*/
|
|
6565
|
+
"onKup-editor-autosave"?: (event: KupEditorCustomEvent<KupEditorEventPayload>) => void;
|
|
6566
|
+
/**
|
|
6567
|
+
* Triggered when the component is ready.
|
|
6568
|
+
*/
|
|
6569
|
+
"onKup-editor-ready"?: (event: KupEditorCustomEvent<KupEventPayload>) => void;
|
|
6570
|
+
/**
|
|
6571
|
+
* Triggered when save button is clicked.
|
|
6572
|
+
*/
|
|
6573
|
+
"onKup-editor-save"?: (event: KupEditorCustomEvent<KupEditorEventPayload>) => void;
|
|
6574
|
+
/**
|
|
6575
|
+
* The editor preview style.
|
|
6576
|
+
* @default 'vertical'
|
|
6577
|
+
*/
|
|
6578
|
+
"previewStyle"?: KupEditorPreview;
|
|
6579
|
+
/**
|
|
6580
|
+
* Defines whether to show the save button in editor's toolbar or not.
|
|
6581
|
+
* @default true
|
|
6582
|
+
*/
|
|
6583
|
+
"showSaveButton"?: boolean;
|
|
6584
|
+
/**
|
|
6585
|
+
* Defines whether to show the editor's toolbar or not.
|
|
6586
|
+
* @default true
|
|
6587
|
+
*/
|
|
6588
|
+
"showToolbar"?: boolean;
|
|
6589
|
+
}
|
|
6403
6590
|
interface KupFamilyTree {
|
|
6404
6591
|
/**
|
|
6405
6592
|
* The component will autofit everytime a node is expanded.
|
|
@@ -6709,7 +6896,7 @@ declare namespace LocalJSX {
|
|
|
6709
6896
|
"rtl"?: boolean;
|
|
6710
6897
|
"scrollNumber"?: number;
|
|
6711
6898
|
"svgWidth"?: number;
|
|
6712
|
-
"
|
|
6899
|
+
"taskListTrueRef"?: HTMLKupTaskListElement;
|
|
6713
6900
|
"taskListWidth"?: number;
|
|
6714
6901
|
}
|
|
6715
6902
|
interface KupIframe {
|
|
@@ -8065,6 +8252,7 @@ declare namespace LocalJSX {
|
|
|
8065
8252
|
"kup-drawer": KupDrawer;
|
|
8066
8253
|
"kup-dropdown-button": KupDropdownButton;
|
|
8067
8254
|
"kup-echart": KupEchart;
|
|
8255
|
+
"kup-editor": KupEditor;
|
|
8068
8256
|
"kup-family-tree": KupFamilyTree;
|
|
8069
8257
|
"kup-form": KupForm;
|
|
8070
8258
|
"kup-gantt": KupGantt;
|
|
@@ -8134,6 +8322,7 @@ declare module "@stencil/core" {
|
|
|
8134
8322
|
"kup-drawer": LocalJSX.KupDrawer & JSXBase.HTMLAttributes<HTMLKupDrawerElement>;
|
|
8135
8323
|
"kup-dropdown-button": LocalJSX.KupDropdownButton & JSXBase.HTMLAttributes<HTMLKupDropdownButtonElement>;
|
|
8136
8324
|
"kup-echart": LocalJSX.KupEchart & JSXBase.HTMLAttributes<HTMLKupEchartElement>;
|
|
8325
|
+
"kup-editor": LocalJSX.KupEditor & JSXBase.HTMLAttributes<HTMLKupEditorElement>;
|
|
8137
8326
|
"kup-family-tree": LocalJSX.KupFamilyTree & JSXBase.HTMLAttributes<HTMLKupFamilyTreeElement>;
|
|
8138
8327
|
"kup-form": LocalJSX.KupForm & JSXBase.HTMLAttributes<HTMLKupFormElement>;
|
|
8139
8328
|
"kup-gantt": LocalJSX.KupGantt & JSXBase.HTMLAttributes<HTMLKupGanttElement>;
|
|
@@ -17,7 +17,7 @@ export declare class KupData {
|
|
|
17
17
|
column: {
|
|
18
18
|
find(dataset: KupDataDataset | KupDataColumn[], filters: Partial<KupDataColumn>): KupDataColumn[];
|
|
19
19
|
hide(dataset: KupDataDataset | KupDataColumn[], columns2hide: string[]): KupDataColumn[];
|
|
20
|
-
new(dataset: KupDataDataset, type: KupDataNewColumnTypes, options: KupDataNewColumnOptions): string | KupDataColumn;
|
|
20
|
+
"new"(dataset: KupDataDataset, type: KupDataNewColumnTypes, options: KupDataNewColumnOptions): string | KupDataColumn;
|
|
21
21
|
};
|
|
22
22
|
node: {
|
|
23
23
|
getDrilldownInfo(nodes: KupDataNode[]): KupDataNodeDrilldownInfo;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@interactjs/types" />
|
|
1
2
|
import type { Interaction } from '@interactjs/core/Interaction';
|
|
2
3
|
import type { ActionMap } from '@interactjs/core/scope';
|
|
3
4
|
import type { DraggableOptions, DropzoneOptions, ListenersArg, Point, RectResolvable, ResizableOptions } from '@interactjs/types/index';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@interactjs/types" />
|
|
1
2
|
import type { Interaction } from '@interactjs/core/Interaction';
|
|
2
3
|
import type { ActionMap } from '@interactjs/core/scope';
|
|
3
4
|
import type { RectResolvable } from '@interactjs/types/index';
|
|
@@ -38,6 +39,7 @@ export interface KupManager {
|
|
|
38
39
|
dates: KupDates;
|
|
39
40
|
debug: KupDebug;
|
|
40
41
|
dynamicPosition: KupDynamicPosition;
|
|
42
|
+
enableExperimentalFeatures: boolean;
|
|
41
43
|
interact: KupInteract;
|
|
42
44
|
language: KupLanguage;
|
|
43
45
|
magicBox: HTMLKupMagicBoxElement;
|
|
@@ -83,6 +85,7 @@ export interface KupManagerInitialization {
|
|
|
83
85
|
autoSetLocalization?: boolean;
|
|
84
86
|
dates?: KupManagerDatesSettings;
|
|
85
87
|
debug?: KupManagerDebugSettings;
|
|
88
|
+
enableExperimentalFeatures?: boolean;
|
|
86
89
|
interact?: KupManagerInteractSettings;
|
|
87
90
|
language?: KupManagerLanguageSettings;
|
|
88
91
|
math?: KupManagerMathSettings;
|