@wirecore/wirelayer-vue 0.12.2 → 0.14.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.
Files changed (69) hide show
  1. package/dist/{Button-BpMOPs8b.js → Button-WA6BonwF.js} +1 -1
  2. package/dist/{Checkbox-DS2qfQK1.js → Checkbox-DILwucBG.js} +1 -1
  3. package/dist/{CopyButton-Cv9QfFfS.js → CopyButton-BVRwSCRj.js} +2 -2
  4. package/dist/{Field-Cqe2BG_x.js → Field-DuZfFNFT.js} +3 -3
  5. package/dist/{Highlight-uwptdaUw.js → Highlight-BM-J3Jj0.js} +1 -1
  6. package/dist/{Input-C5dyvZfJ.js → Input-CH-ntEjv.js} +10 -10
  7. package/dist/RecipesProvider-DzlYvZ-I.js +2606 -0
  8. package/dist/{Select-q8FUIWLi.js → Select-B5c6Y3mf.js} +4 -4
  9. package/dist/{Slider-Cpv7Vj3B.js → Slider-Z-rsNeI1.js} +2 -2
  10. package/dist/Tree-C8vsEA6K.js +852 -0
  11. package/dist/chart.js +31 -31
  12. package/dist/code.js +7 -7
  13. package/dist/components/Confirm/ConfirmDialog.vue.d.ts.map +1 -1
  14. package/dist/components/Confirm/confirm.d.ts +5 -0
  15. package/dist/components/Confirm/confirm.d.ts.map +1 -1
  16. package/dist/components/DatePicker/DatePicker.vue.d.ts +3 -1
  17. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  18. package/dist/components/DatePicker/DatePickerBase.vue.d.ts +2 -0
  19. package/dist/components/DatePicker/DatePickerBase.vue.d.ts.map +1 -1
  20. package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +2 -0
  21. package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts.map +1 -1
  22. package/dist/components/DatePicker/DatePickerTimes.vue.d.ts +24 -0
  23. package/dist/components/DatePicker/DatePickerTimes.vue.d.ts.map +1 -0
  24. package/dist/components/DatePicker/dates.d.ts +2 -0
  25. package/dist/components/DatePicker/dates.d.ts.map +1 -1
  26. package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +6 -1
  27. package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts.map +1 -1
  28. package/dist/components/Dialog/DialogContent.vue.d.ts +16 -3
  29. package/dist/components/Dialog/DialogContent.vue.d.ts.map +1 -1
  30. package/dist/components/DialogService/DialogHost.vue.d.ts.map +1 -1
  31. package/dist/components/DialogService/dialogs.d.ts +5 -0
  32. package/dist/components/DialogService/dialogs.d.ts.map +1 -1
  33. package/dist/components/Drawer/DrawerContent.vue.d.ts +10 -1
  34. package/dist/components/Drawer/DrawerContent.vue.d.ts.map +1 -1
  35. package/dist/components/LocaleProvider/LocaleProvider.vue.d.ts +3 -0
  36. package/dist/components/LocaleProvider/LocaleProvider.vue.d.ts.map +1 -1
  37. package/dist/components/NotificationCenter/NotificationCenter.vue.d.ts +8 -1
  38. package/dist/components/NotificationCenter/NotificationCenter.vue.d.ts.map +1 -1
  39. package/dist/data-table/DataTable.vue.d.ts +26 -6
  40. package/dist/data-table/DataTable.vue.d.ts.map +1 -1
  41. package/dist/data-table/FilterMenu.vue.d.ts.map +1 -1
  42. package/dist/data-table/ValueInput.vue.d.ts +4 -0
  43. package/dist/data-table/ValueInput.vue.d.ts.map +1 -1
  44. package/dist/data-table/features.d.ts +10 -0
  45. package/dist/data-table/features.d.ts.map +1 -1
  46. package/dist/data-table/index.d.ts +1 -1
  47. package/dist/data-table/index.d.ts.map +1 -1
  48. package/dist/data-table/inputs.d.ts +5 -0
  49. package/dist/data-table/inputs.d.ts.map +1 -1
  50. package/dist/data-table/types.d.ts +2 -0
  51. package/dist/data-table/types.d.ts.map +1 -1
  52. package/dist/data-table.js +1713 -1575
  53. package/dist/editor.js +4 -4
  54. package/dist/form.js +35 -35
  55. package/dist/index.d.ts +1 -1
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +4204 -4275
  58. package/dist/pdf.js +6 -6
  59. package/dist/{recipes-BlM9aKyt.js → recipes-CD2Ibsv9.js} +8 -1
  60. package/dist/recipes.d.ts +6 -0
  61. package/dist/recipes.d.ts.map +1 -1
  62. package/dist/sources/dateRangeInput.css +3 -0
  63. package/dist/{useTree-UhG1TMeM.js → useTree-DjkjHeoy.js} +114 -114
  64. package/dist/virtual.js +6 -6
  65. package/llms-full.txt +99 -18
  66. package/llms.txt +1 -0
  67. package/package.json +3 -3
  68. package/dist/ContextMenu-DC--vmIf.js +0 -2321
  69. package/dist/Tree-3o3OJASC.js +0 -840
@@ -1,4 +1,4 @@
1
- import { n as e } from "./recipes-BlM9aKyt.js";
1
+ import { n as e } from "./recipes-CD2Ibsv9.js";
2
2
  import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, mergeProps as c, normalizeClass as l, openBlock as u, renderSlot as d, resolveDynamicComponent as f, toDisplayString as p, unref as m, useAttrs as h, withCtx as g } from "vue";
3
3
  import { LoaderCircle as _ } from "@lucide/vue";
4
4
  import { button as v, buttonColorKey as y, formatCount as b, spinner as x } from "@wirecore/wirelayer-recipes";
@@ -1,4 +1,4 @@
1
- import { n as e } from "./recipes-BlM9aKyt.js";
1
+ import { n as e } from "./recipes-CD2Ibsv9.js";
2
2
  import { t } from "./attrs-KNjeRUCf.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createVNode as a, defineComponent as o, guardReactiveProps as s, mergeProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, unref as p, useAttrs as m, withCtx as h } from "vue";
4
4
  import { Check as g, Minus as _ } from "@lucide/vue";
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./recipes-BlM9aKyt.js";
1
+ import { n as e, o as t } from "./recipes-CD2Ibsv9.js";
2
2
  import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, mergeProps as c, normalizeClass as l, openBlock as u, toDisplayString as d, unref as f, useAttrs as p, withCtx as m } from "vue";
3
3
  import { Check as h, Copy as g } from "@lucide/vue";
4
4
  import { controlIds as _, copyButton as v, iconButton as y } from "@wirecore/wirelayer-recipes";
@@ -19,7 +19,7 @@ var x = /* @__PURE__ */ s({
19
19
  classes: {}
20
20
  },
21
21
  setup(s) {
22
- let x = e(), S = s, C = t("copyButton", v, () => S.classes), w = t("iconButton", y), T = p(), E = C();
22
+ let x = t(), S = s, C = e("copyButton", v, () => S.classes), w = e("iconButton", y), T = p(), E = C();
23
23
  return (e, t) => (u(), n(f(b).Root, c({
24
24
  ...f(T),
25
25
  ...f(_)(f(T).id, "root"),
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./recipes-BlM9aKyt.js";
1
+ import { n as e, o as t } from "./recipes-CD2Ibsv9.js";
2
2
  import { r as n } from "./InputStatus-Cgarj-yu.js";
3
3
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, onBeforeUnmount as p, openBlock as m, provide as h, ref as g, renderSlot as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, useAttrs as x, useSlots as S, useTemplateRef as C, watch as w, withCtx as T } from "vue";
4
4
  import { CircleCheck as E, Info as D } from "@lucide/vue";
@@ -21,7 +21,7 @@ var j = ["aria-label", "aria-expanded"], M = { role: "status" }, N = /* @__PURE_
21
21
  },
22
22
  emits: ["update:open"],
23
23
  setup(n, { emit: l }) {
24
- let u = n, h = t("toggletip", k, () => u.classes), S = l, T = x(), E = e(), O = h(), A = g(!1), N = r(() => u.open ?? A.value), P = C("root"), F = r(() => u.triggerLabel ?? (u.label ? E.toggletip.labelFor(u.label) : E.toggletip.label));
24
+ let u = n, h = e("toggletip", k, () => u.classes), S = l, T = x(), E = t(), O = h(), A = g(!1), N = r(() => u.open ?? A.value), P = C("root"), F = r(() => u.triggerLabel ?? (u.label ? E.toggletip.labelFor(u.label) : E.toggletip.label));
25
25
  function I(e) {
26
26
  A.value = e, S("update:open", e);
27
27
  }
@@ -70,7 +70,7 @@ var j = ["aria-label", "aria-expanded"], M = { role: "status" }, N = /* @__PURE_
70
70
  classes: {}
71
71
  },
72
72
  setup(s) {
73
- let u = s, p = S(), g = t("field", O, () => u.classes), v = e(), C = x(), w = g(), D = () => !!u.label || !!p.label, k = () => !!u.error || !!p.error, j = r(() => u.invalid || k()), M = r(() => (!!u.success || !!p.success) && !j.value);
73
+ let u = s, p = S(), g = e("field", O, () => u.classes), v = t(), C = x(), w = g(), D = () => !!u.label || !!p.label, k = () => !!u.error || !!p.error, j = r(() => u.invalid || k()), M = r(() => (!!u.success || !!p.success) && !j.value);
74
74
  return h(n, r(() => ({
75
75
  success: M.value,
76
76
  labelled: D()
@@ -1,4 +1,4 @@
1
- import { i as e, n as t } from "./recipes-BlM9aKyt.js";
1
+ import { a as e, n as t } from "./recipes-CD2Ibsv9.js";
2
2
  import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createTextVNode as o, defineComponent as s, normalizeClass as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderList as p, shallowRef as m, toDisplayString as h, unref as g, watch as _ } from "vue";
3
3
  import { DataKeyResolver as v, checkListValues as y, createDataList as b, dataListAnnouncement as x, filterListOptions as S, groupListOptions as C, highlight as w, highlightChunks as T, indexListOptions as E, listOptionsForValues as D, listValues as O, toListOptions as k } from "@wirecore/wirelayer-recipes";
4
4
  import { useFilter as A } from "@ark-ui/vue/locale";
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./recipes-BlM9aKyt.js";
1
+ import { n as e, o as t } from "./recipes-CD2Ibsv9.js";
2
2
  import { t as n } from "./attrs-KNjeRUCf.js";
3
3
  import { i as r, n as i, t as a } from "./InputStatus-Cgarj-yu.js";
4
4
  import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, normalizeClass as m, normalizeStyle as h, openBlock as g, ref as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, useAttrs as x, useId as S, useModel as C, useTemplateRef as w } from "vue";
@@ -31,8 +31,8 @@ var F = [
31
31
  },
32
32
  classes: {}
33
33
  },
34
- setup(e) {
35
- let n = e, r = t("iconButton", k, () => n.classes), i = t("spinner", M), a = x(), u = o(() => r({
34
+ setup(t) {
35
+ let n = t, r = e("iconButton", k, () => n.classes), i = e("spinner", M), a = x(), u = o(() => r({
36
36
  variant: n.variant,
37
37
  color: D(n.color),
38
38
  size: n.size,
@@ -44,27 +44,27 @@ var F = [
44
44
  function _(e) {
45
45
  n.loading ? e.preventDefault() : [a.onClick].flat().forEach((t) => t?.(e));
46
46
  }
47
- return (t, n) => (g(), l("button", p({
47
+ return (e, n) => (g(), l("button", p({
48
48
  ...b(a),
49
49
  class: u.value.base({ class: m(b(a).class) }),
50
50
  onClick: _,
51
51
  ...h.value
52
52
  }, {
53
- type: e.type,
54
- disabled: e.disabled,
53
+ type: t.type,
54
+ disabled: t.disabled,
55
55
  "aria-label": f.value
56
- }), [e.loading ? (g(), s(b(E), {
56
+ }), [t.loading ? (g(), s(b(E), {
57
57
  key: 0,
58
58
  class: m(b(i)().icon({ class: u.value.icon() })),
59
59
  "aria-hidden": "true"
60
- }, null, 8, ["class"])) : (g(), s(v(e.icon), p({ key: 1 }, e.iconProps, {
60
+ }, null, 8, ["class"])) : (g(), s(v(t.icon), p({ key: 1 }, t.iconProps, {
61
61
  class: u.value.icon(),
62
62
  "aria-hidden": "true"
63
63
  }), null, 16, ["class"])), d.value ? (g(), l("span", {
64
64
  key: 2,
65
65
  class: m(u.value.badge()),
66
66
  "aria-hidden": "true"
67
- }, y(b(O)(d.value)), 3)) : e.badge === !0 ? (g(), l("span", {
67
+ }, y(b(O)(d.value)), 3)) : t.badge === !0 ? (g(), l("span", {
68
68
  key: 3,
69
69
  class: m(u.value.dot()),
70
70
  "aria-hidden": "true"
@@ -92,7 +92,7 @@ var F = [
92
92
  }),
93
93
  emits: ["update:modelValue"],
94
94
  setup(d, { expose: f }) {
95
- let E = d, D = t("input", A, () => E.classes), O = e(), k = C(d, "modelValue"), M = x(), F = P(), I = r(), B = o(() => E.invalid || !!F?.value.invalid), V = o(() => !B.value && (E.success || I.value.success)), H = o(() => E.disabled || !!F?.value.disabled), U = o(() => !!M.readonly || M.readonly === "" || !!F?.value.readOnly), W = o(() => D({
95
+ let E = d, D = e("input", A, () => E.classes), O = t(), k = C(d, "modelValue"), M = x(), F = P(), I = r(), B = o(() => E.invalid || !!F?.value.invalid), V = o(() => !B.value && (E.success || I.value.success)), H = o(() => E.disabled || !!F?.value.disabled), U = o(() => !!M.readonly || M.readonly === "" || !!F?.value.readOnly), W = o(() => D({
96
96
  size: E.size,
97
97
  invalid: B.value,
98
98
  success: V.value,