@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,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-db0a6be6.js');
|
|
4
4
|
const fButtonDeclarations = require('./f-button-declarations-51ef6d9a.js');
|
|
5
|
-
const fImage = require('./f-image-
|
|
5
|
+
const fImage = require('./f-image-b61cc967.js');
|
|
6
6
|
|
|
7
7
|
/*-------------------------------------------------*/
|
|
8
8
|
/* C o m p o n e n t */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kupManager = require('./kup-manager-
|
|
4
|
-
const index = require('./index-
|
|
5
|
-
const fCheckbox = require('./f-checkbox-
|
|
6
|
-
const fTextField = require('./f-text-field-
|
|
7
|
-
const fImage = require('./f-image-
|
|
8
|
-
const fChip = require('./f-chip-
|
|
9
|
-
const fButton = require('./f-button-
|
|
3
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
4
|
+
const index = require('./index-db0a6be6.js');
|
|
5
|
+
const fCheckbox = require('./f-checkbox-bfa92ebe.js');
|
|
6
|
+
const fTextField = require('./f-text-field-a09b1705.js');
|
|
7
|
+
const fImage = require('./f-image-b61cc967.js');
|
|
8
|
+
const fChip = require('./f-chip-c8efad5b.js');
|
|
9
|
+
const fButton = require('./f-button-623dfcc3.js');
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Props of the kup-list component.
|
|
@@ -406,6 +406,7 @@ function setCellSizeKup(cellType, subcomponentProps, cell) {
|
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
function setEditableCell(cellType, classObj, cell, column, props) {
|
|
409
|
+
var _a, _b;
|
|
409
410
|
switch (cellType) {
|
|
410
411
|
case kupManager.FCellTypes.AUTOCOMPLETE:
|
|
411
412
|
return (index.h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, kupManager.FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, kupManager.FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, kupManager.FCellEvents.ICON_CLICK) })));
|
|
@@ -453,7 +454,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
453
454
|
? dom.ketchup.math.numberifySafe(cell.value).toString()
|
|
454
455
|
: cell.value;
|
|
455
456
|
if (cell.shape === kupManager.FCellShapes.INPUT_FIELD) {
|
|
456
|
-
return (index.h("input", { class: 'input-field', onChange: onChange, onInput: onInput, type: type, value: value }));
|
|
457
|
+
return (index.h("input", { class: 'input-field', onChange: onChange, onInput: onInput, type: type, value: value, maxLength: (_b = (_a = column.cellData) === null || _a === void 0 ? void 0 : _a.maxLength) !== null && _b !== void 0 ? _b : -1 }));
|
|
457
458
|
}
|
|
458
459
|
else {
|
|
459
460
|
return (index.h(fTextField.FTextField, Object.assign({ inputType: type, fullWidth: isFullWidth(props) ? true : false }, cell.data, { icon: cell.data && cell.data.icon
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const fImage = require('./f-image-
|
|
5
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-db0a6be6.js');
|
|
4
|
+
const fImage = require('./f-image-b61cc967.js');
|
|
5
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Types of the f-chip component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-db0a6be6.js');
|
|
4
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The type of a CSS step in CSS-drawing mode.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kupManager = require('./kup-manager-
|
|
4
|
-
const kupDates = require('./kup-dates-
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const fButton = require('./f-button-
|
|
3
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
4
|
+
const kupDates = require('./kup-dates-4aa560f0.js');
|
|
5
|
+
const index = require('./index-db0a6be6.js');
|
|
6
|
+
const fButton = require('./f-button-623dfcc3.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-51ef6d9a.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1441,11 +1441,11 @@ function cloneRowGroup(group) {
|
|
|
1441
1441
|
return cloned;
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
|
|
1444
|
+
var FPaginatorMode;
|
|
1445
1445
|
(function (FPaginatorMode) {
|
|
1446
1446
|
FPaginatorMode["SIMPLE"] = "simple";
|
|
1447
1447
|
FPaginatorMode["FULL"] = "full";
|
|
1448
|
-
})(
|
|
1448
|
+
})(FPaginatorMode || (FPaginatorMode = {}));
|
|
1449
1449
|
|
|
1450
1450
|
const dom$1 = document.documentElement;
|
|
1451
1451
|
/*-------------------------------------------------*/
|
|
@@ -1486,9 +1486,9 @@ const FPaginator = (props) => {
|
|
|
1486
1486
|
},
|
|
1487
1487
|
};
|
|
1488
1488
|
return (index.h("div", Object.assign({ class: `f-paginator ${props.mode ? props.mode : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
1489
|
-
props.mode !==
|
|
1489
|
+
props.mode !== FPaginatorMode.SIMPLE ? (index.h(fButton.FButton, { icon: "chevron_left", disabled: isPrevPageDisabled(props), onClick: props.onPrevPage, wrapperClass: "prev-page" })) : null,
|
|
1490
1490
|
index.h("kup-combobox", { class: "page-selector", data: dataPageSelector, initialValue: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }),
|
|
1491
|
-
props.mode !==
|
|
1491
|
+
props.mode !== FPaginatorMode.SIMPLE ? (index.h(fButton.FButton, { icon: "chevron_right", disabled: isNextPageDisabled(props), onClick: props.onNextPage, wrapperClass: "next-page" })) : null,
|
|
1492
1492
|
index.h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, initialValue: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }),
|
|
1493
1493
|
props.onLoadMore ? (index.h(fButton.FButton, { icon: "plus", onClick: props.onLoadMore, label: dom$1.ketchup.language.translate(kupManager.KupLanguageGeneric.LOAD_MORE), styling: fButtonDeclarations.FButtonStyling.FLAT, wrapperClass: "load-more-button" })) : null));
|
|
1494
1494
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-db0a6be6.js');
|
|
4
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
5
5
|
|
|
6
6
|
const dom = document.documentElement;
|
|
7
7
|
/*-------------------------------------------------*/
|
|
@@ -32,6 +32,7 @@ const NAMESPACE = 'ketchup';
|
|
|
32
32
|
*/
|
|
33
33
|
let scopeId;
|
|
34
34
|
let hostTagName;
|
|
35
|
+
let useNativeShadowDom = false;
|
|
35
36
|
let isSvgMode = false;
|
|
36
37
|
let queuePending = false;
|
|
37
38
|
const getAssetPath = (path) => {
|
|
@@ -800,8 +801,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
800
801
|
* @param oldCh the old children of the parent node
|
|
801
802
|
* @param newVNode the new VNode which will replace the parent
|
|
802
803
|
* @param newCh the new children of the parent node
|
|
804
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
803
805
|
*/
|
|
804
|
-
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
806
|
+
const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
|
|
805
807
|
let oldStartIdx = 0;
|
|
806
808
|
let newStartIdx = 0;
|
|
807
809
|
let idxInOld = 0;
|
|
@@ -828,25 +830,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
828
830
|
else if (newEndVnode == null) {
|
|
829
831
|
newEndVnode = newCh[--newEndIdx];
|
|
830
832
|
}
|
|
831
|
-
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
833
|
+
else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
832
834
|
// if the start nodes are the same then we should patch the new VNode
|
|
833
835
|
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
834
836
|
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
835
837
|
// since things are matched up in order.
|
|
836
|
-
patch(oldStartVnode, newStartVnode);
|
|
838
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
837
839
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
838
840
|
newStartVnode = newCh[++newStartIdx];
|
|
839
841
|
}
|
|
840
|
-
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
842
|
+
else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
841
843
|
// likewise, if the end nodes are the same we patch new onto old and
|
|
842
844
|
// decrement our end indices, and also likewise in this case we don't
|
|
843
845
|
// need to move any DOM Nodes.
|
|
844
|
-
patch(oldEndVnode, newEndVnode);
|
|
846
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
845
847
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
846
848
|
newEndVnode = newCh[--newEndIdx];
|
|
847
849
|
}
|
|
848
|
-
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
849
|
-
patch(oldStartVnode, newEndVnode);
|
|
850
|
+
else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
851
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
850
852
|
// We need to move the element for `oldStartVnode` into a position which
|
|
851
853
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
852
854
|
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
@@ -868,8 +870,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
868
870
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
869
871
|
newEndVnode = newCh[--newEndIdx];
|
|
870
872
|
}
|
|
871
|
-
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
872
|
-
patch(oldEndVnode, newStartVnode);
|
|
873
|
+
else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
874
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
873
875
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
874
876
|
// the same node, so since we're here we know that they are not. Thus we
|
|
875
877
|
// can move the element for `oldEndVnode` _before_ the element for
|
|
@@ -906,7 +908,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
906
908
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
|
|
907
909
|
}
|
|
908
910
|
else {
|
|
909
|
-
patch(elmToMove, newStartVnode);
|
|
911
|
+
patch(elmToMove, newStartVnode, isInitialRender);
|
|
910
912
|
// invalidate the matching old node so that we won't try to update it
|
|
911
913
|
// again later on
|
|
912
914
|
oldCh[idxInOld] = undefined;
|
|
@@ -957,16 +959,22 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
957
959
|
*
|
|
958
960
|
* @param leftVNode the first VNode to check
|
|
959
961
|
* @param rightVNode the second VNode to check
|
|
962
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
960
963
|
* @returns whether they're equal or not
|
|
961
964
|
*/
|
|
962
|
-
const isSameVnode = (leftVNode, rightVNode) => {
|
|
965
|
+
const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
963
966
|
// compare if two vnode to see if they're "technically" the same
|
|
964
967
|
// need to have the same element tag, and same key to be the same
|
|
965
968
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
966
|
-
// this will be set if
|
|
967
|
-
|
|
969
|
+
// this will be set if JSX tags in the build have `key` attrs set on them
|
|
970
|
+
// we only want to check this if we're not on the first render since on
|
|
971
|
+
// first render `leftVNode.$key$` will always be `null`, so we can be led
|
|
972
|
+
// astray and, for instance, accidentally delete a DOM node that we want to
|
|
973
|
+
// keep around.
|
|
974
|
+
if (!isInitialRender) {
|
|
968
975
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
969
976
|
}
|
|
977
|
+
return true;
|
|
970
978
|
}
|
|
971
979
|
return false;
|
|
972
980
|
};
|
|
@@ -977,8 +985,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
|
|
|
977
985
|
*
|
|
978
986
|
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
979
987
|
* @param newVNode a new VNode representing an updated version of the old one
|
|
988
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
980
989
|
*/
|
|
981
|
-
const patch = (oldVNode, newVNode) => {
|
|
990
|
+
const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
982
991
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
983
992
|
const oldChildren = oldVNode.$children$;
|
|
984
993
|
const newChildren = newVNode.$children$;
|
|
@@ -991,8 +1000,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
991
1000
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
992
1001
|
}
|
|
993
1002
|
{
|
|
994
|
-
if (tag === 'slot')
|
|
995
|
-
;
|
|
1003
|
+
if (tag === 'slot' && !useNativeShadowDom) ;
|
|
996
1004
|
else {
|
|
997
1005
|
// either this is the first render of an element OR it's an update
|
|
998
1006
|
// AND we already know it's possible it could have changed
|
|
@@ -1003,7 +1011,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
1003
1011
|
if (oldChildren !== null && newChildren !== null) {
|
|
1004
1012
|
// looks like there's child vnodes for both the old and new vnodes
|
|
1005
1013
|
// so we need to call `updateChildren` to reconcile them
|
|
1006
|
-
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
1014
|
+
updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
|
|
1007
1015
|
}
|
|
1008
1016
|
else if (newChildren !== null) {
|
|
1009
1017
|
// no old child vnodes, but there are new child vnodes to add
|
|
@@ -1097,8 +1105,9 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1097
1105
|
{
|
|
1098
1106
|
scopeId = hostElm['s-sc'];
|
|
1099
1107
|
}
|
|
1108
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
1100
1109
|
// synchronous patch
|
|
1101
|
-
patch(oldVNode, rootVnode);
|
|
1110
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
1102
1111
|
};
|
|
1103
1112
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1104
1113
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
@@ -1832,25 +1841,29 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1832
1841
|
}
|
|
1833
1842
|
});
|
|
1834
1843
|
});
|
|
1835
|
-
//
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
//
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1844
|
+
// Only bother generating CSS if we have components
|
|
1845
|
+
// TODO(STENCIL-1118): Add test cases for CSS content based on conditionals
|
|
1846
|
+
if (cmpTags.length > 0) {
|
|
1847
|
+
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1848
|
+
if (hasSlotRelocation) {
|
|
1849
|
+
dataStyles.innerHTML += SLOT_FB_CSS;
|
|
1850
|
+
}
|
|
1851
|
+
// Add hydration styles
|
|
1852
|
+
{
|
|
1853
|
+
dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
|
|
1854
|
+
}
|
|
1855
|
+
// If we have styles, add them to the DOM
|
|
1856
|
+
if (dataStyles.innerHTML.length) {
|
|
1857
|
+
dataStyles.setAttribute('data-styles', '');
|
|
1858
|
+
// Apply CSP nonce to the style tag if it exists
|
|
1859
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1860
|
+
if (nonce != null) {
|
|
1861
|
+
dataStyles.setAttribute('nonce', nonce);
|
|
1862
|
+
}
|
|
1863
|
+
// Insert the styles into the document head
|
|
1864
|
+
// NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
|
|
1865
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1850
1866
|
}
|
|
1851
|
-
// Insert the styles into the document head
|
|
1852
|
-
// NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
|
|
1853
|
-
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1854
1867
|
}
|
|
1855
1868
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1856
1869
|
isBootstrapping = false;
|
|
@@ -1899,7 +1912,12 @@ const getHostListenerTarget = (elm, flags) => {
|
|
|
1899
1912
|
return elm;
|
|
1900
1913
|
};
|
|
1901
1914
|
// prettier-ignore
|
|
1902
|
-
const hostListenerOpts = (flags) =>
|
|
1915
|
+
const hostListenerOpts = (flags) => supportsListenerOptions
|
|
1916
|
+
? ({
|
|
1917
|
+
passive: (flags & 1 /* LISTENER_FLAGS.Passive */) !== 0,
|
|
1918
|
+
capture: (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0,
|
|
1919
|
+
})
|
|
1920
|
+
: (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
1903
1921
|
/**
|
|
1904
1922
|
* Assigns the given value to the nonce property on the runtime platform object.
|
|
1905
1923
|
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
@@ -1910,8 +1928,19 @@ const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
|
1910
1928
|
/**
|
|
1911
1929
|
* A WeakMap mapping runtime component references to their corresponding host reference
|
|
1912
1930
|
* instances.
|
|
1931
|
+
*
|
|
1932
|
+
* **Note**: If we're in an HMR context we need to store a reference to this
|
|
1933
|
+
* value on `window` in order to maintain the mapping of {@link d.RuntimeRef}
|
|
1934
|
+
* to {@link d.HostRef} across HMR updates.
|
|
1935
|
+
*
|
|
1936
|
+
* This is necessary because when HMR updates for a component are processed by
|
|
1937
|
+
* the browser-side dev server client the JS bundle for that component is
|
|
1938
|
+
* re-fetched. Since the module containing {@link hostRefs} is included in
|
|
1939
|
+
* that bundle, if we do not store a reference to it the new iteration of the
|
|
1940
|
+
* component will not have access to the previous hostRef map, leading to a
|
|
1941
|
+
* bug where the new version of the component cannot properly initialize.
|
|
1913
1942
|
*/
|
|
1914
|
-
const hostRefs =
|
|
1943
|
+
const hostRefs = new WeakMap();
|
|
1915
1944
|
/**
|
|
1916
1945
|
* Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
|
|
1917
1946
|
*
|
|
@@ -1991,6 +2020,18 @@ const plt = {
|
|
|
1991
2020
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1992
2021
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1993
2022
|
};
|
|
2023
|
+
const supportsListenerOptions = /*@__PURE__*/ (() => {
|
|
2024
|
+
let supportsListenerOptions = false;
|
|
2025
|
+
try {
|
|
2026
|
+
doc.addEventListener('e', null, Object.defineProperty({}, 'passive', {
|
|
2027
|
+
get() {
|
|
2028
|
+
supportsListenerOptions = true;
|
|
2029
|
+
},
|
|
2030
|
+
}));
|
|
2031
|
+
}
|
|
2032
|
+
catch (e) { }
|
|
2033
|
+
return supportsListenerOptions;
|
|
2034
|
+
})();
|
|
1994
2035
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
1995
2036
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
1996
2037
|
try {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const kupManager = require('./kup-manager-
|
|
6
|
-
require('./kup-dates-
|
|
7
|
-
require('./index-
|
|
5
|
+
const kupManager = require('./kup-manager-227c4be2.js');
|
|
6
|
+
require('./kup-dates-4aa560f0.js');
|
|
7
|
+
require('./index-db0a6be6.js');
|
|
8
8
|
|
|
9
9
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
10
10
|
function newKupManager(init) {
|