ontotext-yasgui-web-component 1.8.0 → 1.8.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.
Files changed (47) hide show
  1. package/dist/cjs/alert-box.cjs.entry.js +1 -1
  2. package/dist/cjs/confirmation-dialog_10.cjs.entry.js +104 -222
  3. package/dist/cjs/copy-resource-link-button.cjs.entry.js +1 -1
  4. package/dist/cjs/{index-fb62c0ab.js → index-12ca1818.js} +54 -1
  5. package/dist/cjs/loader-component.cjs.entry.js +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/ontotext-download-as.cjs.entry.js +1 -1
  8. package/dist/cjs/ontotext-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/ontotext-editable-text-field.cjs.entry.js +1 -1
  10. package/dist/cjs/ontotext-explain-plan.cjs.entry.js +1 -1
  11. package/dist/cjs/ontotext-pagination.cjs.entry.js +1 -1
  12. package/dist/cjs/ontotext-yasgui-web-component.cjs.js +2 -2
  13. package/dist/cjs/query-split-button.cjs.entry.js +1 -1
  14. package/dist/collection/components/saved-queries-popup/saved-queries-popup.js +2 -25
  15. package/dist/components/ontotext-tooltip-web-component.js +1612 -3
  16. package/dist/components/saved-queries-popup2.js +9 -122
  17. package/dist/esm/alert-box.entry.js +1 -1
  18. package/dist/esm/confirmation-dialog_10.entry.js +104 -222
  19. package/dist/esm/copy-resource-link-button.entry.js +1 -1
  20. package/dist/esm/{index-41410303.js → index-e93b0b49.js} +54 -1
  21. package/dist/esm/loader-component.entry.js +1 -1
  22. package/dist/esm/loader.js +2 -2
  23. package/dist/esm/ontotext-download-as.entry.js +1 -1
  24. package/dist/esm/ontotext-dropdown.entry.js +1 -1
  25. package/dist/esm/ontotext-editable-text-field.entry.js +1 -1
  26. package/dist/esm/ontotext-explain-plan.entry.js +1 -1
  27. package/dist/esm/ontotext-pagination.entry.js +1 -1
  28. package/dist/esm/ontotext-yasgui-web-component.js +2 -2
  29. package/dist/esm/query-split-button.entry.js +1 -1
  30. package/dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js +1 -1
  31. package/dist/ontotext-yasgui-web-component/{p-f98d8595.entry.js → p-2395d879.entry.js} +1 -1
  32. package/dist/ontotext-yasgui-web-component/{p-b32aca4e.entry.js → p-253594df.entry.js} +1 -1
  33. package/dist/ontotext-yasgui-web-component/{p-0decaf90.entry.js → p-301341e7.entry.js} +1 -1
  34. package/dist/ontotext-yasgui-web-component/{p-c9579f42.entry.js → p-472d71ff.entry.js} +1 -1
  35. package/dist/ontotext-yasgui-web-component/{p-c938a5cc.entry.js → p-56f59f70.entry.js} +1 -1
  36. package/dist/ontotext-yasgui-web-component/{p-b805ea9b.entry.js → p-6e07f373.entry.js} +1 -1
  37. package/dist/ontotext-yasgui-web-component/{p-ed5dba6b.entry.js → p-7c214fb1.entry.js} +1 -1
  38. package/dist/ontotext-yasgui-web-component/{p-ba82401e.entry.js → p-b8e18f9a.entry.js} +1 -1
  39. package/dist/ontotext-yasgui-web-component/{p-aa55c3f9.entry.js → p-df366a1f.entry.js} +1 -1
  40. package/dist/ontotext-yasgui-web-component/{p-9e74a663.entry.js → p-fc18ba83.entry.js} +2 -2
  41. package/dist/ontotext-yasgui-web-component/p-fdb80f6c.js +2 -0
  42. package/dist/types/components/saved-queries-popup/saved-queries-popup.d.ts +0 -16
  43. package/package.json +1 -1
  44. package/dist/collection/services/yasgui-floating-tooltip-service.js +0 -96
  45. package/dist/components/floating-ui.dom.esm.js +0 -1611
  46. package/dist/ontotext-yasgui-web-component/p-d802a944.js +0 -2
  47. package/dist/types/services/yasgui-floating-tooltip-service.d.ts +0 -39
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
 
7
7
  const alertBoxCss = ".alert-box{position:relative}.alert-box .close-button{position:absolute;top:10px;right:10px;cursor:pointer;font-size:21px;font-weight:700;line-height:1;color:#8a6d3b;opacity:0.2}.alert-box .close-button:hover{text-decoration:none;color:#000;opacity:0.5}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
  const htmlUtil = require('./html-util-1182b066.js');
7
7
  const eventService = require('./event-service-3e3039cd.js');
8
8
  const internalEventTypes = require('./internal-event-types-60ebe97d.js');
@@ -72002,6 +72002,109 @@ const SaveQueryDialog = class {
72002
72002
  const Alert = ({ messages }) => (index.h("div", { class: "alert alert-danger" }, messages.map((message) => (index.h("div", { class: "error-message" }, message)))));
72003
72003
  SaveQueryDialog.style = saveQueryDialogCss;
72004
72004
 
72005
+ const savedQueriesPopupCss = ":host{display:block}.saved-queries-container{position:absolute;z-index:1015;border:1px solid #ccc;font-family:\"Roboto\", \"Helvetica Neue\", Arial, sans-serif;font-weight:300;background-color:#fff}.saved-queries-container .saved-queries-popup{max-height:250px;width:300px;overflow-y:scroll;box-shadow:0 4px 8px rgba(0, 0, 0, 0.3)}.saved-queries-container .saved-queries-popup ul{padding:15px;margin:0}.saved-queries-container .saved-queries-popup ul .saved-query{position:relative;display:flex;justify-content:space-between;padding:5px 0;list-style-type:none}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-queries-container .saved-queries-popup ul .saved-query:hover .saved-query-actions{display:block}.saved-queries-container .saved-queries-popup ul .saved-query a{flex-grow:2;text-decoration:none;cursor:pointer;color:#003663}.saved-queries-container .saved-queries-popup ul .saved-query a:hover{text-decoration:underline}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-actions{display:none;position:absolute;right:0}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-action{border:none;background-color:#fff;color:#e84e0f;outline:none;cursor:pointer;font-size:1em;transition:all 0.15s ease-out}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-action:hover{color:#d0460d;transform:scale(1.2)}.saved-queries-container .arrow{position:absolute;display:block;right:calc(-0.5rem - 1px);width:8px;height:16px;margin:0.3rem 0}.saved-queries-container .arrow::before,.saved-queries-container .arrow::after{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid}.saved-queries-container .arrow::before{right:0;border-width:0.5rem 0 0.5rem 0.5rem;border-left-color:rgba(0, 0, 0, 0.25)}.saved-queries-container .arrow::after{right:1px;border-width:0.5rem 0 0.5rem 0.5rem;border-left-color:#fff}";
72006
+
72007
+ const SavedQueriesPopup = class {
72008
+ constructor(hostRef) {
72009
+ index.registerInstance(this, hostRef);
72010
+ this.internalSaveQuerySelectedEvent = index.createEvent(this, "internalSaveQuerySelectedEvent", 7);
72011
+ this.internalEditSavedQueryEvent = index.createEvent(this, "internalEditSavedQueryEvent", 7);
72012
+ this.internalSavedQuerySelectedForDeleteEvent = index.createEvent(this, "internalSavedQuerySelectedForDeleteEvent", 7);
72013
+ this.internalSavedQuerySelectedForShareEvent = index.createEvent(this, "internalSavedQuerySelectedForShareEvent", 7);
72014
+ this.internalCloseSavedQueriesPopupEvent = index.createEvent(this, "internalCloseSavedQueriesPopupEvent", 7);
72015
+ this.config = undefined;
72016
+ this.serviceFactory = undefined;
72017
+ }
72018
+ onWindowResize(event) {
72019
+ const target = event.target;
72020
+ if (!target.closest('.saved-queries-container')) {
72021
+ this.internalCloseSavedQueriesPopupEvent.emit();
72022
+ }
72023
+ }
72024
+ /**
72025
+ * Handles the Escape key keydown event and closes the dialog.
72026
+ * @param ev The keyboard event.
72027
+ */
72028
+ keydownListener(ev) {
72029
+ if (ev.key === 'Escape') {
72030
+ this.internalCloseSavedQueriesPopupEvent.emit();
72031
+ }
72032
+ }
72033
+ onSelect(evt, selectedQuery) {
72034
+ evt.stopPropagation();
72035
+ this.internalSaveQuerySelectedEvent.emit(selectedQuery);
72036
+ }
72037
+ componentWillLoad() {
72038
+ // TranslationService is injected here because the service factory is not available
72039
+ // in the constructor.
72040
+ this.translationService = this.serviceFactory.get(TranslationService);
72041
+ }
72042
+ componentDidRender() {
72043
+ this.setPopupPosition();
72044
+ }
72045
+ onEdit(evt, selectedQuery) {
72046
+ evt.stopPropagation();
72047
+ this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, selectedQuery.originalQueryName, false));
72048
+ }
72049
+ onDelete(evt, selectedQuery) {
72050
+ evt.stopPropagation();
72051
+ this.internalSavedQuerySelectedForDeleteEvent.emit(new DeleteQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic));
72052
+ }
72053
+ onShare(evt, selectedQuery) {
72054
+ evt.stopPropagation();
72055
+ this.internalSavedQuerySelectedForShareEvent.emit(new DeleteQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic));
72056
+ }
72057
+ setPopupPosition() {
72058
+ const panelRect = this.hostElement.getBoundingClientRect();
72059
+ const buttonRect = this.config.popupTarget.getBoundingClientRect();
72060
+ const scrollTop = window.scrollY || document.documentElement.scrollTop;
72061
+ const scrollLeft = window.scrollX || document.documentElement.scrollLeft;
72062
+ const isFullScreen = this.hostElement.closest('ontotext-yasgui').querySelector('.yasqe').classList.contains('yasqe-fullscreen');
72063
+ const arrowEl = this.hostElement.querySelector('.arrow');
72064
+ if (isFullScreen) {
72065
+ this.hostElement.style.top = `${scrollTop + 13}px`;
72066
+ this.hostElement.style.left = `${scrollLeft + buttonRect.left - panelRect.width - 10}px`;
72067
+ arrowEl.style.top = '40px';
72068
+ }
72069
+ else {
72070
+ this.hostElement.style.top = `${scrollTop + buttonRect.top + buttonRect.height / 2 - panelRect.height / 2}px`;
72071
+ this.hostElement.style.left = `${scrollLeft + buttonRect.left - panelRect.width - 10}px`;
72072
+ arrowEl.style.top = panelRect.height / 2 - 16 + 'px';
72073
+ }
72074
+ }
72075
+ render() {
72076
+ return (index.h(index.Host, { class: "saved-queries-container" }, index.h("div", { class: "arrow" }), index.h("div", { class: "saved-queries-popup" }, index.h("ul", null, this.config.savedQueriesList.map((savedQuery) => (index.h("yasgui-tooltip", { placement: "top", key: savedQuery.queryName, "yasgui-data-tooltip": savedQuery.queryName }, index.h("li", { class: "saved-query" }, index.h("a", { class: "saved-query-link", onClick: (evt) => this.onSelect(evt, savedQuery) }, savedQuery.queryName), index.h("span", { class: "saved-query-actions" }, !savedQuery.readonly ?
72077
+ index.h("button", { class: "saved-query-action edit-saved-query ri-edit-line", title: this.translationService.translate('yasqe.actions.saved_query_dialog.edit.button.tooltip'), onClick: (evt) => this.onEdit(evt, savedQuery) })
72078
+ : '', !savedQuery.readonly ?
72079
+ index.h("button", { class: "saved-query-action delete-saved-query ri-delete-bin-6-line", title: this.translationService.translate('yasqe.actions.saved_query_dialog.delete.button.tooltip'), onClick: (evt) => this.onDelete(evt, savedQuery) })
72080
+ : '', index.h("button", { class: "saved-query-action share-saved-query ri-links-line", title: this.translationService.translate('yasqe.actions.saved_query_dialog.share.button.tooltip'), onClick: (evt) => this.onShare(evt, savedQuery) }))))))))));
72081
+ }
72082
+ get hostElement() { return index.getElement(this); }
72083
+ };
72084
+ SavedQueriesPopup.style = savedQueriesPopupCss;
72085
+
72086
+ const shareQueryDialogCss = "";
72087
+
72088
+ const ShareQueryDialog = class {
72089
+ constructor(hostRef) {
72090
+ index.registerInstance(this, hostRef);
72091
+ this.internalShareQueryDialogClosedEvent = index.createEvent(this, "internalShareQueryDialogClosedEvent", 7);
72092
+ this.internalQueryShareLinkCopiedEvent = index.createEvent(this, "internalQueryShareLinkCopiedEvent", 7);
72093
+ this.config = undefined;
72094
+ this.serviceFactory = undefined;
72095
+ }
72096
+ onDialogClosed() {
72097
+ this.internalShareQueryDialogClosedEvent.emit();
72098
+ }
72099
+ onLinkCopied() {
72100
+ this.internalQueryShareLinkCopiedEvent.emit();
72101
+ }
72102
+ render() {
72103
+ return (index.h("copy-link-dialog", { config: { copyLink: this.config.shareQueryLink }, serviceFactory: this.serviceFactory, classes: "share-saved-query-dialog", copyLinkEventsObserver: this }));
72104
+ }
72105
+ };
72106
+ ShareQueryDialog.style = shareQueryDialogCss;
72107
+
72005
72108
  /**
72006
72109
  * Custom positioning reference element.
72007
72110
  * @see https://floating-ui.com/docs/virtual-elements
@@ -73612,227 +73715,6 @@ const computePosition = (reference, floating, options) => {
73612
73715
  });
73613
73716
  };
73614
73717
 
73615
- /**
73616
- * Provides functionality for displaying and positioning tooltips using Floating UI.
73617
- *
73618
- * The tooltip is rendered in the document body and automatically updates its
73619
- * position when the reference element moves, resizes, or the viewport changes.
73620
- */
73621
- class YasguiFloatingTooltipService {
73622
- /**
73623
- * Displays a tooltip attached to the specified target element.
73624
- *
73625
- * Any previously displayed tooltip is removed before the new one is shown.
73626
- *
73627
- * @param target The element to which the tooltip should be attached.
73628
- * @param text The text content of the tooltip.
73629
- * @param placement The preferred placement of the tooltip relative to the target element.
73630
- */
73631
- show(target, text, placement) {
73632
- this.hide();
73633
- this.tooltipElement = this.createTooltipElement(text);
73634
- this.arrowElement = this.createArrowElement();
73635
- this.tooltipElement.appendChild(this.arrowElement);
73636
- document.body.appendChild(this.tooltipElement);
73637
- this.cleanupAutoUpdate = autoUpdate(target, this.tooltipElement, async () => {
73638
- var _a;
73639
- if (!this.tooltipElement || !this.arrowElement) {
73640
- return;
73641
- }
73642
- const { x, y, placement: finalPlacement, middlewareData } = await computePosition(target, this.tooltipElement, {
73643
- placement,
73644
- strategy: 'fixed',
73645
- middleware: [
73646
- offset(8),
73647
- flip(),
73648
- shift({ padding: 8 }),
73649
- arrow({ element: this.arrowElement }),
73650
- ],
73651
- });
73652
- if (!this.tooltipElement || !this.arrowElement) {
73653
- return;
73654
- }
73655
- Object.assign(this.tooltipElement.style, {
73656
- left: `${x}px`,
73657
- top: `${y}px`,
73658
- });
73659
- const { x: arrowX, y: arrowY } = (_a = middlewareData.arrow) !== null && _a !== void 0 ? _a : {};
73660
- const staticSide = {
73661
- top: 'bottom',
73662
- right: 'left',
73663
- bottom: 'top',
73664
- left: 'right',
73665
- }[finalPlacement.split('-')[0]];
73666
- Object.assign(this.arrowElement.style, {
73667
- left: arrowX != null ? `${arrowX}px` : '',
73668
- top: arrowY != null ? `${arrowY}px` : '',
73669
- right: '',
73670
- bottom: '',
73671
- [staticSide]: '-4px',
73672
- });
73673
- });
73674
- }
73675
- /**
73676
- * Hides the currently displayed tooltip and removes all associated listeners.
73677
- */
73678
- hide() {
73679
- var _a, _b;
73680
- (_a = this.cleanupAutoUpdate) === null || _a === void 0 ? void 0 : _a.call(this);
73681
- this.cleanupAutoUpdate = undefined;
73682
- (_b = this.tooltipElement) === null || _b === void 0 ? void 0 : _b.remove();
73683
- this.tooltipElement = undefined;
73684
- this.arrowElement = undefined;
73685
- }
73686
- /**
73687
- * Creates a tooltip element with the provided text content.
73688
- *
73689
- * @param text The text content of the tooltip.
73690
- * @returns The created tooltip element.
73691
- */
73692
- createTooltipElement(text) {
73693
- const tooltipElement = document.createElement('div');
73694
- tooltipElement.className = 'yasgui-floating-tooltip';
73695
- tooltipElement.setAttribute('role', 'tooltip');
73696
- tooltipElement.textContent = text;
73697
- return tooltipElement;
73698
- }
73699
- /**
73700
- * Creates an arrow element used to visually connect the tooltip to its target.
73701
- *
73702
- * @returns The created tooltip arrow element.
73703
- */
73704
- createArrowElement() {
73705
- const arrowElement = document.createElement('div');
73706
- arrowElement.className = 'yasgui-floating-tooltip-arrow';
73707
- return arrowElement;
73708
- }
73709
- }
73710
-
73711
- const savedQueriesPopupCss = ":host{display:block}.saved-queries-container{position:absolute;z-index:1015;border:1px solid #ccc;font-family:\"Roboto\", \"Helvetica Neue\", Arial, sans-serif;font-weight:300;background-color:#fff}.saved-queries-container .saved-queries-popup{max-height:250px;width:300px;overflow-y:scroll;box-shadow:0 4px 8px rgba(0, 0, 0, 0.3)}.saved-queries-container .saved-queries-popup ul{padding:15px;margin:0}.saved-queries-container .saved-queries-popup ul .saved-query{position:relative;display:flex;justify-content:space-between;padding:5px 0;list-style-type:none}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-queries-container .saved-queries-popup ul .saved-query:hover .saved-query-actions{display:block}.saved-queries-container .saved-queries-popup ul .saved-query a{flex-grow:2;text-decoration:none;cursor:pointer;color:#003663}.saved-queries-container .saved-queries-popup ul .saved-query a:hover{text-decoration:underline}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-actions{display:none;position:absolute;right:0}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-action{border:none;background-color:#fff;color:#e84e0f;outline:none;cursor:pointer;font-size:1em;transition:all 0.15s ease-out}.saved-queries-container .saved-queries-popup ul .saved-query .saved-query-action:hover{color:#d0460d;transform:scale(1.2)}.saved-queries-container .arrow{position:absolute;display:block;right:calc(-0.5rem - 1px);width:8px;height:16px;margin:0.3rem 0}.saved-queries-container .arrow::before,.saved-queries-container .arrow::after{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid}.saved-queries-container .arrow::before{right:0;border-width:0.5rem 0 0.5rem 0.5rem;border-left-color:rgba(0, 0, 0, 0.25)}.saved-queries-container .arrow::after{right:1px;border-width:0.5rem 0 0.5rem 0.5rem;border-left-color:#fff}";
73712
-
73713
- const SavedQueriesPopup = class {
73714
- constructor(hostRef) {
73715
- index.registerInstance(this, hostRef);
73716
- this.internalSaveQuerySelectedEvent = index.createEvent(this, "internalSaveQuerySelectedEvent", 7);
73717
- this.internalEditSavedQueryEvent = index.createEvent(this, "internalEditSavedQueryEvent", 7);
73718
- this.internalSavedQuerySelectedForDeleteEvent = index.createEvent(this, "internalSavedQuerySelectedForDeleteEvent", 7);
73719
- this.internalSavedQuerySelectedForShareEvent = index.createEvent(this, "internalSavedQuerySelectedForShareEvent", 7);
73720
- this.internalCloseSavedQueriesPopupEvent = index.createEvent(this, "internalCloseSavedQueriesPopupEvent", 7);
73721
- this.config = undefined;
73722
- this.serviceFactory = undefined;
73723
- }
73724
- onWindowResize(event) {
73725
- const target = event.target;
73726
- if (!target.closest('.saved-queries-container')) {
73727
- this.internalCloseSavedQueriesPopupEvent.emit();
73728
- }
73729
- }
73730
- /**
73731
- * Handles the Escape key keydown event and closes the dialog.
73732
- * @param ev The keyboard event.
73733
- */
73734
- keydownListener(ev) {
73735
- if (ev.key === 'Escape') {
73736
- this.internalCloseSavedQueriesPopupEvent.emit();
73737
- }
73738
- }
73739
- onSelect(evt, selectedQuery) {
73740
- evt.stopPropagation();
73741
- this.internalSaveQuerySelectedEvent.emit(selectedQuery);
73742
- }
73743
- /**
73744
- * Displays a tooltip for the element that triggered the event.
73745
- *
73746
- * @param event The mouse event originating from the tooltip target element.
73747
- * @param text The text content to display in the tooltip.
73748
- */
73749
- showTooltip(event, text) {
73750
- this.ontotextYasguiTooltipService.show(event.currentTarget, text, 'top');
73751
- }
73752
- /**
73753
- * Hides the currently displayed tooltip.
73754
- */
73755
- hideTooltip() {
73756
- this.ontotextYasguiTooltipService.hide();
73757
- }
73758
- componentWillLoad() {
73759
- // TranslationService is injected here because the service factory is not available
73760
- // in the constructor.
73761
- this.translationService = this.serviceFactory.get(TranslationService);
73762
- this.ontotextYasguiTooltipService = this.serviceFactory.get(YasguiFloatingTooltipService);
73763
- }
73764
- componentDidRender() {
73765
- this.setPopupPosition();
73766
- }
73767
- /**
73768
- * Cleans up component resources when the component is removed from the DOM.
73769
- */
73770
- disconnectedCallback() {
73771
- this.ontotextYasguiTooltipService.hide();
73772
- }
73773
- onEdit(evt, selectedQuery) {
73774
- evt.stopPropagation();
73775
- this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, selectedQuery.originalQueryName, false));
73776
- }
73777
- onDelete(evt, selectedQuery) {
73778
- evt.stopPropagation();
73779
- this.internalSavedQuerySelectedForDeleteEvent.emit(new DeleteQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic));
73780
- }
73781
- onShare(evt, selectedQuery) {
73782
- evt.stopPropagation();
73783
- this.internalSavedQuerySelectedForShareEvent.emit(new DeleteQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic));
73784
- }
73785
- setPopupPosition() {
73786
- const panelRect = this.hostElement.getBoundingClientRect();
73787
- const buttonRect = this.config.popupTarget.getBoundingClientRect();
73788
- const scrollTop = window.scrollY || document.documentElement.scrollTop;
73789
- const scrollLeft = window.scrollX || document.documentElement.scrollLeft;
73790
- const isFullScreen = this.hostElement.closest('ontotext-yasgui').querySelector('.yasqe').classList.contains('yasqe-fullscreen');
73791
- const arrowEl = this.hostElement.querySelector('.arrow');
73792
- if (isFullScreen) {
73793
- this.hostElement.style.top = `${scrollTop + 13}px`;
73794
- this.hostElement.style.left = `${scrollLeft + buttonRect.left - panelRect.width - 10}px`;
73795
- arrowEl.style.top = '40px';
73796
- }
73797
- else {
73798
- this.hostElement.style.top = `${scrollTop + buttonRect.top + buttonRect.height / 2 - panelRect.height / 2}px`;
73799
- this.hostElement.style.left = `${scrollLeft + buttonRect.left - panelRect.width - 10}px`;
73800
- arrowEl.style.top = panelRect.height / 2 - 16 + 'px';
73801
- }
73802
- }
73803
- render() {
73804
- return (index.h(index.Host, { class: "saved-queries-container" }, index.h("div", { class: "arrow" }), index.h("div", { class: "saved-queries-popup" }, index.h("ul", null, this.config.savedQueriesList.map((savedQuery) => (index.h("li", { class: "saved-query" }, index.h("a", { class: "saved-query-link", onMouseEnter: (event) => this.showTooltip(event, savedQuery.queryName), onMouseLeave: () => this.hideTooltip(), onFocus: (event) => this.showTooltip(event, savedQuery.queryName), onBlur: () => this.ontotextYasguiTooltipService.hide(), onClick: (evt) => this.onSelect(evt, savedQuery) }, savedQuery.queryName), index.h("span", { class: "saved-query-actions" }, !savedQuery.readonly ?
73805
- index.h("button", { class: "saved-query-action edit-saved-query ri-edit-line", title: this.translationService.translate('yasqe.actions.saved_query_dialog.edit.button.tooltip'), onClick: (evt) => this.onEdit(evt, savedQuery) })
73806
- : '', !savedQuery.readonly ?
73807
- index.h("button", { class: "saved-query-action delete-saved-query ri-delete-bin-6-line", title: this.translationService.translate('yasqe.actions.saved_query_dialog.delete.button.tooltip'), onClick: (evt) => this.onDelete(evt, savedQuery) })
73808
- : '', index.h("button", { class: "saved-query-action share-saved-query ri-links-line", title: this.translationService.translate('yasqe.actions.saved_query_dialog.share.button.tooltip'), onClick: (evt) => this.onShare(evt, savedQuery) })))))))));
73809
- }
73810
- get hostElement() { return index.getElement(this); }
73811
- };
73812
- SavedQueriesPopup.style = savedQueriesPopupCss;
73813
-
73814
- const shareQueryDialogCss = "";
73815
-
73816
- const ShareQueryDialog = class {
73817
- constructor(hostRef) {
73818
- index.registerInstance(this, hostRef);
73819
- this.internalShareQueryDialogClosedEvent = index.createEvent(this, "internalShareQueryDialogClosedEvent", 7);
73820
- this.internalQueryShareLinkCopiedEvent = index.createEvent(this, "internalQueryShareLinkCopiedEvent", 7);
73821
- this.config = undefined;
73822
- this.serviceFactory = undefined;
73823
- }
73824
- onDialogClosed() {
73825
- this.internalShareQueryDialogClosedEvent.emit();
73826
- }
73827
- onLinkCopied() {
73828
- this.internalQueryShareLinkCopiedEvent.emit();
73829
- }
73830
- render() {
73831
- return (index.h("copy-link-dialog", { config: { copyLink: this.config.shareQueryLink }, serviceFactory: this.serviceFactory, classes: "share-saved-query-dialog", copyLinkEventsObserver: this }));
73832
- }
73833
- };
73834
- ShareQueryDialog.style = shareQueryDialogCss;
73835
-
73836
73718
  const ontotextTooltipWebComponentCss = ".tooltip-box{background-color:#003663;color:#fff;padding:5px 9px;font-size:14px;max-width:320px;white-space:normal}.ontotext-yasgui-tooltip .tooltip-arrow{position:absolute;width:16px;height:16px;color:#003663}.ontotext-yasgui-tooltip .tooltip-arrow::before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.ontotext-yasgui-tooltip[data-placement^=top] .tooltip-arrow{bottom:0}.ontotext-yasgui-tooltip[data-placement^=top] .tooltip-arrow::before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:#003663}.ontotext-yasgui-tooltip[data-placement^=bottom] .tooltip-arrow{top:0}.ontotext-yasgui-tooltip[data-placement^=bottom] .tooltip-arrow::before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:#003663}.ontotext-yasgui-tooltip[data-placement^=left] .tooltip-arrow{right:0}.ontotext-yasgui-tooltip[data-placement^=left] .tooltip-arrow::before{right:-7px;border-width:8px 0 8px 8px;border-left-color:#003663}.ontotext-yasgui-tooltip[data-placement^=right] .tooltip-arrow{left:0}.ontotext-yasgui-tooltip[data-placement^=right] .tooltip-arrow::before{left:-7px;border-width:8px 8px 8px 0;border-right-color:#003663}";
73837
73719
 
73838
73720
  const TOOLTIP_CLASS_NAME = 'ontotext-yasgui-tooltip';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
  const eventService = require('./event-service-3e3039cd.js');
7
7
  const internalEventTypes = require('./internal-event-types-60ebe97d.js');
8
8
  require('./internal-download-as-event-215b3e1b.js');
@@ -78,6 +78,7 @@ const isComplexType = (o) => {
78
78
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
79
79
  const h = (nodeName, vnodeData, ...children) => {
80
80
  let child = null;
81
+ let key = null;
81
82
  let slotName = null;
82
83
  let simple = false;
83
84
  let lastSimple = false;
@@ -106,6 +107,10 @@ const h = (nodeName, vnodeData, ...children) => {
106
107
  };
107
108
  walk(children);
108
109
  if (vnodeData) {
110
+ // normalize class / classname attributes
111
+ if (vnodeData.key) {
112
+ key = vnodeData.key;
113
+ }
109
114
  if (vnodeData.name) {
110
115
  slotName = vnodeData.name;
111
116
  }
@@ -130,6 +135,9 @@ const h = (nodeName, vnodeData, ...children) => {
130
135
  if (vNodeChildren.length > 0) {
131
136
  vnode.$children$ = vNodeChildren;
132
137
  }
138
+ {
139
+ vnode.$key$ = key;
140
+ }
133
141
  {
134
142
  vnode.$name$ = slotName;
135
143
  }
@@ -146,6 +154,9 @@ const newVNode = (tag, text) => {
146
154
  {
147
155
  vnode.$attrs$ = null;
148
156
  }
157
+ {
158
+ vnode.$key$ = null;
159
+ }
149
160
  {
150
161
  vnode.$name$ = null;
151
162
  }
@@ -333,6 +344,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
333
344
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
334
345
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
335
346
  }
347
+ else if (memberName === 'key')
348
+ ;
336
349
  else if (memberName === 'ref') {
337
350
  // minifier will clean this up
338
351
  if (newValue) {
@@ -649,6 +662,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
649
662
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
650
663
  let oldStartIdx = 0;
651
664
  let newStartIdx = 0;
665
+ let idxInOld = 0;
666
+ let i = 0;
652
667
  let oldEndIdx = oldCh.length - 1;
653
668
  let oldStartVnode = oldCh[0];
654
669
  let oldEndVnode = oldCh[oldEndIdx];
@@ -656,6 +671,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
656
671
  let newStartVnode = newCh[0];
657
672
  let newEndVnode = newCh[newEndIdx];
658
673
  let node;
674
+ let elmToMove;
659
675
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
660
676
  if (oldStartVnode == null) {
661
677
  // VNode might have been moved left
@@ -757,7 +773,41 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
757
773
  newStartVnode = newCh[++newStartIdx];
758
774
  }
759
775
  else {
776
+ // Here we do some checks to match up old and new nodes based on the
777
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
778
+ // in the JSX for a DOM element in the implementation of a Stencil
779
+ // component.
780
+ //
781
+ // First we check to see if there are any nodes in the array of old
782
+ // children which have the same key as the first node in the new
783
+ // children.
784
+ idxInOld = -1;
760
785
  {
786
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
787
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
788
+ idxInOld = i;
789
+ break;
790
+ }
791
+ }
792
+ }
793
+ if (idxInOld >= 0) {
794
+ // We found a node in the old children which matches up with the first
795
+ // node in the new children! So let's deal with that
796
+ elmToMove = oldCh[idxInOld];
797
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
798
+ // the tag doesn't match so we'll need a new DOM element
799
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
800
+ }
801
+ else {
802
+ patch(elmToMove, newStartVnode);
803
+ // invalidate the matching old node so that we won't try to update it
804
+ // again later on
805
+ oldCh[idxInOld] = undefined;
806
+ node = elmToMove.$elm$;
807
+ }
808
+ newStartVnode = newCh[++newStartIdx];
809
+ }
810
+ else {
761
811
  // We either didn't find an element in the old children that matches
762
812
  // the key of the first new child OR the build is not using `key`
763
813
  // attributes at all. In either case we need to create a new element
@@ -808,7 +858,10 @@ const isSameVnode = (leftVNode, rightVNode) => {
808
858
  if (leftVNode.$tag$ === 'slot') {
809
859
  return leftVNode.$name$ === rightVNode.$name$;
810
860
  }
811
- return true;
861
+ // this will be set if components in the build have `key` attrs set on them
862
+ {
863
+ return leftVNode.$key$ === rightVNode.$key$;
864
+ }
812
865
  }
813
866
  return false;
814
867
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
  const svgUtil = require('./svg-util-24ae60b9.js');
7
7
 
8
8
  const loaderComponentCss = ".ontotext-yasgui-loader{display:block}.ontotext-yasgui-loader .loader-component{text-align:center}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.20.0 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["ontotext-download-as.cjs",[[0,"ontotext-download-as",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"pluginName":[1,"plugin-name"],"query":[1],"infer":[4],"sameAs":[4,"same-as"]}]]],["alert-box.cjs",[[0,"alert-box",{"type":[1],"message":[1],"noIcon":[4,"no-icon"],"noButton":[4,"no-button"],"isVisible":[32]}]]],["copy-resource-link-button.cjs",[[0,"copy-resource-link-button",{"uri":[1],"classes":[1]}]]],["loader-component.cjs",[[4,"loader-component",{"timeFormattingService":[16],"showQueryProgress":[4,"show-query-progress"],"message":[1],"additionalMessage":[1,"additional-message"],"size":[1],"hidden":[4],"queryProgress":[32]}]]],["ontotext-editable-text-field.cjs",[[0,"ontotext-editable-text-field",{"value":[1025],"edit":[1028],"translationService":[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-explain-plan.cjs",[[0,"ontotext-explain-plan",{"binding":[16],"forHtml":[4,"for-html"],"translationService":[16],"themeName":[1,"theme-name"]}]]],["ontotext-pagination.cjs",[[0,"ontotext-pagination",{"pageNumber":[2,"page-number"],"pageSize":[2,"page-size"],"totalElements":[2,"total-elements"],"pageElements":[2,"page-elements"],"hasMorePages":[4,"has-more-pages"]}]]],["query-split-button.cjs",[[0,"query-split-button",{"yasqe":[8],"translationService":[16],"eventService":[16],"querySplitOpen":[32]},[[10,"click","onWindowClick"],[11,"scroll","onWindowScroll"],[8,"keydown","onKeyDown"],[9,"resize","onWindowResize"]]]]],["confirmation-dialog_10.cjs",[[0,"ontotext-yasgui",{"config":[16],"language":[1],"savedQueryConfig":[16],"saveQueryData":[32],"savedQueryData":[32],"deleteQueryData":[32],"isVerticalOrientation":[32],"renderingMode":[32],"showSaveQueryDialog":[32],"showSavedQueriesPopup":[32],"showSavedQueriesPopupTarget":[32],"showConfirmationDialog":[32],"showShareQueryDialog":[32],"showCopyResourceLinkDialog":[32],"copiedResourceLink":[32],"loaderMessage":[32],"additionalLoaderMessage":[32],"yasqeBtnLabel":[32],"yasguiBtnLabel":[32],"yasrBtnLabel":[32],"showKeyboardShortcutsDialog":[32],"changeRenderMode":[64],"setTheme":[64],"setQuery":[64],"query":[64],"getQuery":[64],"isQueryValid":[64],"openTab":[64],"getQueryMode":[64],"getQueryType":[64],"getEmbeddedResultAsJson":[64],"getEmbeddedResultAsCSV":[64],"hideYasqeActionButton":[64],"showYasqeActionButton":[64],"getOngoingRequestsInfo":[64],"abortQuery":[64],"abortAllRequests":[64],"reInitYasgui":[64],"isQueryDirty":[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalExplainQueryEvent","explainQueryHandler"],[0,"internalYasqeDropdownActionSelected","onYasqeDropdownActionSelected"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"],[0,"internalKeyboardShortcutsClickedEvent","onShortcutsOpenEvent"]]],[0,"copy-resource-link-dialog",{"serviceFactory":[16],"resourceLink":[1,"resource-link"]}],[0,"share-query-dialog",{"config":[16],"serviceFactory":[16]}],[0,"keyboard-shortcuts-dialog",{"open":[4],"items":[16],"translationService":[16]},[[8,"keydown","keydownListener"]]],[0,"save-query-dialog",{"serviceFactory":[16],"data":[16],"queryName":[32],"originalQueryName":[32],"query":[32],"isPublic":[32],"isNew":[32],"isSaveAllowed":[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{"translationService":[16],"config":[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{"config":[16],"serviceFactory":[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{"config":[16],"serviceFactory":[16],"copyLinkEventsObserver":[16],"classes":[1]}],[4,"yasgui-tooltip",{"yasguiDataTooltip":[1,"yasgui-data-tooltip"],"placement":[1],"showOnClick":[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{"config":[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown.cjs",[[0,"ontotext-dropdown",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"iconClass":[1,"icon-class"],"open":[32],"showTooltip":[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]], options);
17
+ return index.bootstrapLazy([["ontotext-download-as.cjs",[[0,"ontotext-download-as",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"pluginName":[1,"plugin-name"],"query":[1],"infer":[4],"sameAs":[4,"same-as"]}]]],["alert-box.cjs",[[0,"alert-box",{"type":[1],"message":[1],"noIcon":[4,"no-icon"],"noButton":[4,"no-button"],"isVisible":[32]}]]],["copy-resource-link-button.cjs",[[0,"copy-resource-link-button",{"uri":[1],"classes":[1]}]]],["loader-component.cjs",[[4,"loader-component",{"timeFormattingService":[16],"showQueryProgress":[4,"show-query-progress"],"message":[1],"additionalMessage":[1,"additional-message"],"size":[1],"hidden":[4],"queryProgress":[32]}]]],["ontotext-editable-text-field.cjs",[[0,"ontotext-editable-text-field",{"value":[1025],"edit":[1028],"translationService":[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-explain-plan.cjs",[[0,"ontotext-explain-plan",{"binding":[16],"forHtml":[4,"for-html"],"translationService":[16],"themeName":[1,"theme-name"]}]]],["ontotext-pagination.cjs",[[0,"ontotext-pagination",{"pageNumber":[2,"page-number"],"pageSize":[2,"page-size"],"totalElements":[2,"total-elements"],"pageElements":[2,"page-elements"],"hasMorePages":[4,"has-more-pages"]}]]],["query-split-button.cjs",[[0,"query-split-button",{"yasqe":[8],"translationService":[16],"eventService":[16],"querySplitOpen":[32]},[[10,"click","onWindowClick"],[11,"scroll","onWindowScroll"],[8,"keydown","onKeyDown"],[9,"resize","onWindowResize"]]]]],["confirmation-dialog_10.cjs",[[0,"ontotext-yasgui",{"config":[16],"language":[1],"savedQueryConfig":[16],"saveQueryData":[32],"savedQueryData":[32],"deleteQueryData":[32],"isVerticalOrientation":[32],"renderingMode":[32],"showSaveQueryDialog":[32],"showSavedQueriesPopup":[32],"showSavedQueriesPopupTarget":[32],"showConfirmationDialog":[32],"showShareQueryDialog":[32],"showCopyResourceLinkDialog":[32],"copiedResourceLink":[32],"loaderMessage":[32],"additionalLoaderMessage":[32],"yasqeBtnLabel":[32],"yasguiBtnLabel":[32],"yasrBtnLabel":[32],"showKeyboardShortcutsDialog":[32],"changeRenderMode":[64],"setTheme":[64],"setQuery":[64],"query":[64],"getQuery":[64],"isQueryValid":[64],"openTab":[64],"getQueryMode":[64],"getQueryType":[64],"getEmbeddedResultAsJson":[64],"getEmbeddedResultAsCSV":[64],"hideYasqeActionButton":[64],"showYasqeActionButton":[64],"getOngoingRequestsInfo":[64],"abortQuery":[64],"abortAllRequests":[64],"reInitYasgui":[64],"isQueryDirty":[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalExplainQueryEvent","explainQueryHandler"],[0,"internalYasqeDropdownActionSelected","onYasqeDropdownActionSelected"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"],[0,"internalKeyboardShortcutsClickedEvent","onShortcutsOpenEvent"]]],[0,"copy-resource-link-dialog",{"serviceFactory":[16],"resourceLink":[1,"resource-link"]}],[0,"share-query-dialog",{"config":[16],"serviceFactory":[16]}],[0,"keyboard-shortcuts-dialog",{"open":[4],"items":[16],"translationService":[16]},[[8,"keydown","keydownListener"]]],[0,"save-query-dialog",{"serviceFactory":[16],"data":[16],"queryName":[32],"originalQueryName":[32],"query":[32],"isPublic":[32],"isNew":[32],"isSaveAllowed":[32]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{"config":[16],"serviceFactory":[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{"translationService":[16],"config":[16]},[[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{"config":[16],"serviceFactory":[16],"copyLinkEventsObserver":[16],"classes":[1]}],[4,"ontotext-dialog-web-component",{"config":[16]},[[4,"keydown","keydownListener"]]],[4,"yasgui-tooltip",{"yasguiDataTooltip":[1,"yasgui-data-tooltip"],"placement":[1],"showOnClick":[4,"show-on-click"]}]]],["ontotext-dropdown.cjs",[[0,"ontotext-dropdown",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"iconClass":[1,"icon-class"],"open":[32],"showTooltip":[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
  const internalDownloadAsEvent = require('./internal-download-as-event-215b3e1b.js');
7
7
  require('./internal-event-types-60ebe97d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
  const internalDropdownValueSelectedEvent = require('./internal-dropdown-value-selected-event-b17e46a7.js');
7
7
  require('./internal-event-types-60ebe97d.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
 
7
7
  const ontotextEditableTextFieldCss = ":host{display:flex;flex-direction:row;align-items:stretch}.editable-text-field-wrapper:hover{cursor:pointer}.editable-text-field-wrapper{display:flex;align-items:center}.editable-text-field-wrapper .edit-mode-container{display:flex;justify-content:space-between}.editable-text-field-wrapper .editable-text-field{outline-color:#00000059;border:1px solid #00000059;padding:0}.editable-text-field-wrapper .save-btn,.editable-text-field-wrapper .cancel-btn{border:none;outline:none;margin-left:6px}.editable-text-field-wrapper .save-btn{color:white;background-color:#e84e0f}.editable-text-field-wrapper .save-btn:hover{background-color:#d0460d}.editable-text-field-wrapper .cancel-btn:hover,.editable-text-field-wrapper .save-btn:hover{cursor:pointer}.editable-text-field-wrapper .cancel-btn:hover .cancel-btn-label,.editable-text-field-wrapper .save-btn:hover .save-btn-label{transform:scale(1.2);transition:transform 0.15s ease-out}.editable-text-field-wrapper .preview-value{padding-top:1px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
  const htmlUtil = require('./html-util-1182b066.js');
7
7
  const eventService = require('./event-service-3e3039cd.js');
8
8
  const internalEventTypes = require('./internal-event-types-60ebe97d.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fb62c0ab.js');
5
+ const index = require('./index-12ca1818.js');
6
6
 
7
7
  class Page {
8
8
  constructor(_pageSize, _pageNumber) {