@sme.up/ketchup 9.5.2 → 9.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{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-67dbc14c.js} +4 -4
- 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 +13 -12
- package/dist/cjs/kup-calendar.cjs.entry.js +76 -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 +8 -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.css +1 -1
- package/dist/collection/components/kup-box/kup-box.js +12 -14
- 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 +8 -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 +135 -105
- package/dist/components/kup-box2.js +4 -3
- package/dist/components/kup-calendar.js +71 -6
- package/dist/components/kup-card-list.js +2 -1
- package/dist/components/kup-cell.js +3 -2
- package/dist/components/kup-dashboard.js +3 -2
- package/dist/components/kup-dates.js +81 -67
- package/dist/components/kup-drawer.js +4 -3
- 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 +4 -3
- package/dist/components/kup-gantt-calendar2.js +3 -2
- package/dist/components/kup-gantt2.js +4 -2
- 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 +4 -3
- package/dist/components/kup-lazy.js +13 -12
- package/dist/components/kup-magic-box.js +5 -4
- package/dist/components/kup-manager.js +121 -79
- package/dist/components/kup-nav-bar.js +3 -2
- package/dist/components/kup-numeric-picker.js +3 -2
- 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 +4 -3
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +3 -2
- package/dist/components/kup-snackbar.js +3 -2
- package/dist/components/kup-standard-tooltip2.js +3 -2
- package/dist/components/kup-switcher2.js +3 -2
- 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-tooltip2.js +3 -2
- 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-f5f4c666.js} +4 -4
- 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 +13 -12
- package/dist/esm/kup-calendar.entry.js +76 -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-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-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-6001882e.entry.js +9 -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-d76cd8d6.js → p-68e9379a.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-d300948a.entry.js → p-b086727d.entry.js} +1 -1
- 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-d1268ac7.entry.js +1 -0
- package/dist/ketchup/p-d15d1083.entry.js +1 -0
- package/dist/ketchup/p-d5254caf.entry.js +1 -0
- 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 +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 +149 -2
- 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
|
@@ -361,7 +361,7 @@ export class KupDatePicker {
|
|
|
361
361
|
this.kupManager.debug.logRender(this, true);
|
|
362
362
|
}
|
|
363
363
|
render() {
|
|
364
|
-
return (h(Host,
|
|
364
|
+
return (h(Host, { key: '4135469f05817098c32c5451bcc4e40f4ea21828' }, h("style", { key: '34fc67e36614daed8c71f4665bb9e026c88986d7' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a7475560ba8d147634585c94792a45aa3ba4af1f', id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
|
|
365
365
|
}
|
|
366
366
|
disconnectedCallback() {
|
|
367
367
|
this.kupManager.dates.unregister(this);
|
|
@@ -721,11 +721,9 @@ export class KupDatePicker {
|
|
|
721
721
|
"complexType": {
|
|
722
722
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
723
723
|
"parameters": [{
|
|
724
|
-
"
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
}],
|
|
728
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
724
|
+
"name": "descriptions",
|
|
725
|
+
"type": "boolean",
|
|
726
|
+
"docs": "- When provided and true, the result will be the list of props with their description."
|
|
729
727
|
}],
|
|
730
728
|
"references": {
|
|
731
729
|
"Promise": {
|
|
@@ -789,11 +787,9 @@ export class KupDatePicker {
|
|
|
789
787
|
"complexType": {
|
|
790
788
|
"signature": "(value: string) => Promise<void>",
|
|
791
789
|
"parameters": [{
|
|
792
|
-
"
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}],
|
|
796
|
-
"text": "- Value to be set."
|
|
790
|
+
"name": "value",
|
|
791
|
+
"type": "string",
|
|
792
|
+
"docs": "- Value to be set."
|
|
797
793
|
}],
|
|
798
794
|
"references": {
|
|
799
795
|
"Promise": {
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
display: block;
|
|
8
8
|
height: var(--kup_dialog_height);
|
|
9
|
-
left: var(--kup_dialog_left);
|
|
9
|
+
left: var(--kup_dialog_left, -100%);
|
|
10
10
|
min-height: var(--kup_dialog_height);
|
|
11
11
|
min-width: var(--kup_dialog_width);
|
|
12
12
|
position: absolute;
|
|
13
|
-
top: var(--kup_dialog_top);
|
|
13
|
+
top: var(--kup_dialog_top, -100%);
|
|
14
14
|
transition: opacity 0.25s ease-in;
|
|
15
15
|
width: var(--kup_dialog_width);
|
|
16
16
|
}
|
|
@@ -65,7 +65,7 @@ export class KupDialog {
|
|
|
65
65
|
async recalcPosition() {
|
|
66
66
|
var _a;
|
|
67
67
|
const rect = this.rootElement.getBoundingClientRect();
|
|
68
|
-
if (!rect.x && !rect.y) {
|
|
68
|
+
if (!rect.x && !rect.y && !rect.height && !rect.width) {
|
|
69
69
|
__classPrivateFieldGet(this, _KupDialog_kupManager, "f").debug.logMessage(this, `recalcPosition() ran before the component finished being drawn. Running again (attempt #${__classPrivateFieldGet(this, _KupDialog_recalcSafeguard, "f")}).`, KupDebugCategory.INFO);
|
|
70
70
|
if (__classPrivateFieldGet(this, _KupDialog_recalcSafeguard, "f") < 50) {
|
|
71
71
|
__classPrivateFieldSet(this, _KupDialog_recalcSafeguard, (_a = __classPrivateFieldGet(this, _KupDialog_recalcSafeguard, "f"), _a++, _a), "f");
|
|
@@ -78,7 +78,7 @@ export class KupDialog {
|
|
|
78
78
|
}
|
|
79
79
|
__classPrivateFieldSet(this, _KupDialog_recalcSafeguard, 0, "f");
|
|
80
80
|
const left = window.innerWidth / 2 - rect.width / 2;
|
|
81
|
-
const top = window.innerHeight / 2 - rect.height / 2;
|
|
81
|
+
const top = window.innerHeight / 2 - rect.height / 2 + window.scrollY;
|
|
82
82
|
this.rootElement.style.setProperty('--kup_dialog_left', left + 'px');
|
|
83
83
|
this.rootElement.style.setProperty('--kup_dialog_top', top + 'px');
|
|
84
84
|
this.rootElement.removeAttribute('fade-in');
|
|
@@ -137,7 +137,7 @@ export class KupDialog {
|
|
|
137
137
|
'--kup_dialog_height': this.sizeY ? this.sizeY : 'auto',
|
|
138
138
|
'--kup_dialog_width': this.sizeX ? this.sizeX : 'auto',
|
|
139
139
|
};
|
|
140
|
-
return (h(Host, { "fade-in": true, style: style }, h("style",
|
|
140
|
+
return (h(Host, { key: '123c03f320a3c3a7f81c7c7cf475b731810239ff', "fade-in": true, style: style }, h("style", { key: '0c147e1a723ad36bba12280f7f07bff8193ed038' }, __classPrivateFieldGet(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c98642ef79f485179b9db7001e62d98673e5908f', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : null, h("div", { key: 'c63972ac5e457ad2e01785c793a738df737f6850', class: "content" }, h("slot", { key: 'dac2574f7916af1859e83ea9f088707d25c49727' })))));
|
|
141
141
|
}
|
|
142
142
|
disconnectedCallback() {
|
|
143
143
|
if (this.modal) {
|
|
@@ -391,11 +391,9 @@ export class KupDialog {
|
|
|
391
391
|
"complexType": {
|
|
392
392
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
393
393
|
"parameters": [{
|
|
394
|
-
"
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}],
|
|
398
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
394
|
+
"name": "descriptions",
|
|
395
|
+
"type": "boolean",
|
|
396
|
+
"docs": "- When provided and true, the result will be the list of props with their description."
|
|
399
397
|
}],
|
|
400
398
|
"references": {
|
|
401
399
|
"Promise": {
|
|
@@ -459,11 +457,9 @@ export class KupDialog {
|
|
|
459
457
|
"complexType": {
|
|
460
458
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
461
459
|
"parameters": [{
|
|
462
|
-
"
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
}],
|
|
466
|
-
"text": "- Object containing props that will be set to the component."
|
|
460
|
+
"name": "props",
|
|
461
|
+
"type": "GenericObject",
|
|
462
|
+
"docs": "- Object containing props that will be set to the component."
|
|
467
463
|
}],
|
|
468
464
|
"references": {
|
|
469
465
|
"Promise": {
|
|
@@ -108,7 +108,7 @@ export class KupDrawer {
|
|
|
108
108
|
this.kupManager.debug.logRender(this, true);
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { "kup-opened": this.opened }, h("style",
|
|
111
|
+
return (h(Host, { key: '862fc022944ee0862f4d53ae589e9266e18adf3a', "kup-opened": this.opened }, h("style", { key: '428062c25d92fa7f034365196319c36a3d43d417' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '0cd3e4d4363dd338cc0b47aecc3a505a716cc0cc', class: "backdrop", onClick: (e) => {
|
|
112
112
|
e.preventDefault();
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
}, onPointerDown: (e) => {
|
|
@@ -118,7 +118,7 @@ export class KupDrawer {
|
|
|
118
118
|
}, onTouchStart: (e) => {
|
|
119
119
|
e.preventDefault();
|
|
120
120
|
e.stopPropagation();
|
|
121
|
-
} }), h("div", { id: componentWrapperId }, h("div", { class: drawerClass }, this.content()))));
|
|
121
|
+
} }), h("div", { key: '1c65d469467e3efddf3a58a729670037ecefb0f3', id: componentWrapperId }, h("div", { key: '75e507b1574cf744216c9eeee76967f8eda2633a', class: drawerClass }, this.content()))));
|
|
122
122
|
}
|
|
123
123
|
disconnectedCallback() {
|
|
124
124
|
this.kupManager.theme.unregister(this);
|
|
@@ -257,11 +257,9 @@ export class KupDrawer {
|
|
|
257
257
|
"complexType": {
|
|
258
258
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
259
259
|
"parameters": [{
|
|
260
|
-
"
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}],
|
|
264
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
260
|
+
"name": "descriptions",
|
|
261
|
+
"type": "boolean",
|
|
262
|
+
"docs": "- When provided and true, the result will be the list of props with their description."
|
|
265
263
|
}],
|
|
266
264
|
"references": {
|
|
267
265
|
"Promise": {
|
|
@@ -345,11 +343,9 @@ export class KupDrawer {
|
|
|
345
343
|
"complexType": {
|
|
346
344
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
347
345
|
"parameters": [{
|
|
348
|
-
"
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}],
|
|
352
|
-
"text": "- Object containing props that will be set to the component."
|
|
346
|
+
"name": "props",
|
|
347
|
+
"type": "GenericObject",
|
|
348
|
+
"docs": "- Object containing props that will be set to the component."
|
|
353
349
|
}],
|
|
354
350
|
"references": {
|
|
355
351
|
"Promise": {
|
|
@@ -287,7 +287,7 @@ export class KupDropdownButton {
|
|
|
287
287
|
return buttons;
|
|
288
288
|
}
|
|
289
289
|
render() {
|
|
290
|
-
return (h(Host,
|
|
290
|
+
return (h(Host, { key: 'bed2003851932be074c7d8122d44b300cd16913c' }, h("style", { key: '2f821fc8dd2fc2164db5d091407c7b56867a73f1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '21c73920d5d144daa77b8942ec5b71d4566e7651', id: componentWrapperId }, h("div", { key: 'c5590f4b919f196b4115c42873976df648fa8118', class: "dropdown-button--wrapper" }, this.renderButtons()), h("kup-list", Object.assign({ key: 'd601b702f5550b9652313fb4df88b87c7c616927' }, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
|
|
291
291
|
}
|
|
292
292
|
disconnectedCallback() {
|
|
293
293
|
if (this.listEl) {
|
|
@@ -686,11 +686,9 @@ export class KupDropdownButton {
|
|
|
686
686
|
"complexType": {
|
|
687
687
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
688
688
|
"parameters": [{
|
|
689
|
-
"
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
}],
|
|
693
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
689
|
+
"name": "descriptions",
|
|
690
|
+
"type": "boolean",
|
|
691
|
+
"docs": "- When provided and true, the result will be the list of props with their description."
|
|
694
692
|
}],
|
|
695
693
|
"references": {
|
|
696
694
|
"Promise": {
|
|
@@ -754,11 +752,9 @@ export class KupDropdownButton {
|
|
|
754
752
|
"complexType": {
|
|
755
753
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
756
754
|
"parameters": [{
|
|
757
|
-
"
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}],
|
|
761
|
-
"text": "- Object containing props that will be set to the component."
|
|
755
|
+
"name": "props",
|
|
756
|
+
"type": "GenericObject",
|
|
757
|
+
"docs": "- Object containing props that will be set to the component."
|
|
762
758
|
}],
|
|
763
759
|
"references": {
|
|
764
760
|
"Promise": {
|
|
@@ -785,8 +781,9 @@ export class KupDropdownButton {
|
|
|
785
781
|
"complexType": {
|
|
786
782
|
"signature": "(value: string) => Promise<void>",
|
|
787
783
|
"parameters": [{
|
|
788
|
-
"
|
|
789
|
-
"
|
|
784
|
+
"name": "value",
|
|
785
|
+
"type": "string",
|
|
786
|
+
"docs": ""
|
|
790
787
|
}],
|
|
791
788
|
"references": {
|
|
792
789
|
"Promise": {
|
|
@@ -137,7 +137,7 @@ export class KupEchart {
|
|
|
137
137
|
'--kup_echart_height': this.sizeY ? this.sizeY : '100%',
|
|
138
138
|
'--kup_echart_width': this.sizeX ? this.sizeX : '100%',
|
|
139
139
|
};
|
|
140
|
-
return (h(Host, { style: style }, h("style",
|
|
140
|
+
return (h(Host, { key: 'cd53ca83bca4d40a97c42c49ac4438c0a0b5c8b7', style: style }, h("style", { key: 'fbd8fb110465493f0a0fc600db9183a9fbd0c7ce' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd28c8cfb8ec8b780040298218b97baa7c076a849', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
|
|
141
141
|
}
|
|
142
142
|
disconnectedCallback() {
|
|
143
143
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.unregister(this);
|
|
@@ -520,11 +520,9 @@ export class KupEchart {
|
|
|
520
520
|
"complexType": {
|
|
521
521
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
522
522
|
"parameters": [{
|
|
523
|
-
"
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
}],
|
|
527
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
523
|
+
"name": "descriptions",
|
|
524
|
+
"type": "boolean",
|
|
525
|
+
"docs": "- When provided and true, the result will be the list of props with their description."
|
|
528
526
|
}],
|
|
529
527
|
"references": {
|
|
530
528
|
"Promise": {
|
|
@@ -588,11 +586,9 @@ export class KupEchart {
|
|
|
588
586
|
"complexType": {
|
|
589
587
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
590
588
|
"parameters": [{
|
|
591
|
-
"
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
}],
|
|
595
|
-
"text": "- Object containing props that will be set to the component."
|
|
589
|
+
"name": "props",
|
|
590
|
+
"type": "GenericObject",
|
|
591
|
+
"docs": "- Object containing props that will be set to the component."
|
|
596
592
|
}],
|
|
597
593
|
"references": {
|
|
598
594
|
"Promise": {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props of the kup-dropdown-button component.
|
|
3
|
+
* Used to export every prop in an object.
|
|
4
|
+
*/
|
|
5
|
+
export var KupEditorProps;
|
|
6
|
+
(function (KupEditorProps) {
|
|
7
|
+
KupEditorProps["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
|
+
KupEditorProps["editorHeight"] = "Sets the height of the component.";
|
|
9
|
+
KupEditorProps["initialEditType"] = "Initializes editor with the specified editor type. Suported values: \"markdown\", \"wysiwyg\".";
|
|
10
|
+
KupEditorProps["initialValue"] = "Initializes editor with the specified string.";
|
|
11
|
+
KupEditorProps["isReadOnly"] = "Defaults at false. When set, When set, the editor\u2019s content can\u2019t be changed..";
|
|
12
|
+
KupEditorProps["previewStyle"] = "Initializes editor with the specified preview type. Suported values: \"tab\", \"vertical\".";
|
|
13
|
+
KupEditorProps["showSaveButton"] = "When set, a save button shown in the editor\u2019s toolbar.";
|
|
14
|
+
KupEditorProps["showToolbar"] = "When set to false, the toolbar will not be shown.";
|
|
15
|
+
})(KupEditorProps || (KupEditorProps = {}));
|