@tellaro/tql 0.1.16 → 0.1.18

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.
@@ -485,7 +485,8 @@ function G(e, t, a) {
485
485
  // Check if previous token is a mutator - we're inside mutator params
486
486
  if (r && r.type === "mutator") {
487
487
  const mutatorName = r.value.toLowerCase();
488
- return { type: "mutator_params", mutatorName: mutatorName, usedParams: [], partialText: s };
488
+ // Don't use "(" as partialText - we want to show all params when cursor is right after (
489
+ return { type: "mutator_params", mutatorName: mutatorName, usedParams: [], partialText: undefined };
489
490
  }
490
491
  return { type: "after_paren" };
491
492
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, ref as w, watch as D, nextTick as L, computed as T, onMounted as S, onUnmounted as B, openBlock as l, createBlock as M, Teleport as z, createElementBlock as s, withModifiers as A, normalizeStyle as H, createElementVNode as u, Fragment as I, renderList as K, normalizeClass as f, toDisplayString as m, createCommentVNode as v } from "vue";
2
- const U = ["id", "aria-activedescendant"], V = { class: "tql-completion-list" }, _ = ["id", "aria-selected", "onClick", "onMouseenter"], N = { class: "tql-completion-content" }, O = { class: "tql-completion-label" }, P = {
2
+ const U = ["id", "aria-activedescendant"], V = { class: "tql-completion-list" }, _ = ["id", "aria-selected", "title", "onClick", "onMouseenter"], N = { class: "tql-completion-content" }, O = { class: "tql-completion-label" }, P = {
3
3
  key: 0,
4
4
  class: "tql-completion-detail"
5
5
  }, R = {
@@ -113,6 +113,7 @@ const U = ["id", "aria-activedescendant"], V = { class: "tql-completion-list" },
113
113
  class: f(["tql-completion-item", { selected: p === e.value }]),
114
114
  role: "option",
115
115
  "aria-selected": p === e.value,
116
+ title: n.documentation || n.detail || "",
116
117
  onClick: (E) => { E.preventDefault(); E.stopPropagation(); a("select", n); },
117
118
  onMouseenter: (E) => e.value = p
118
119
  }, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tellaro/tql",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Tellaro Query Language (TQL) parser, validator, and autocomplete for JavaScript/TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",