@v1nt1248/3nclient-lib 0.3.30 → 0.3.31

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 (189) hide show
  1. package/dist/chunks/{ui3n-notification-Dr_3Td9N.js → ui3n-notification-DPC5Ke4b.js} +96 -97
  2. package/dist/{components → src/components}/index.d.ts +3 -3
  3. package/dist/{components → src/components}/ui3n-breadcrumbs/types.d.ts +2 -0
  4. package/dist/{components → src/components}/ui3n-dialog/types.d.ts +1 -1
  5. package/dist/{components → src/components}/ui3n-editable/types.d.ts +1 -1
  6. package/dist/{components → src/components}/ui3n-editable/ui3n-editable.d.ts +1 -1
  7. package/dist/{components → src/components}/ui3n-editable/useContentEditable.d.ts +1 -1
  8. package/dist/{components → src/components}/ui3n-input/types.d.ts +2 -2
  9. package/dist/{components → src/components}/ui3n-menu/types.d.ts +16 -1
  10. package/dist/{components → src/components}/ui3n-menu/ui3n-menu.d.ts +2 -0
  11. package/dist/{components → src/components}/ui3n-mobile-menu/ui3n-mobile-menu.d.ts +2 -2
  12. package/dist/{components → src/components}/ui3n-notification/types.d.ts +0 -4
  13. package/dist/src/components/ui3n-notification/ui3n-notification-container.d.ts +11 -0
  14. package/dist/{components → src/components}/ui3n-notification/ui3n-notification.d.ts +1 -1
  15. package/dist/{components → src/components}/ui3n-progress/ui3n-progress-circular.d.ts +3 -3
  16. package/dist/{components → src/components}/ui3n-progress/ui3n-progress-linear.d.ts +2 -0
  17. package/dist/{components → src/components}/ui3n-selector/types.d.ts +1 -11
  18. package/dist/{components → src/components}/ui3n-step-line-bar/ui3n-step-line-bar.d.ts +1 -0
  19. package/dist/{components → src/components}/ui3n-switch/ui3n-switch.d.ts +2 -6
  20. package/dist/{components → src/components}/ui3n-table/composables/useTable.d.ts +4 -3
  21. package/dist/{components → src/components}/ui3n-text/ui3n-text.d.ts +1 -0
  22. package/dist/{components → src/components}/ui3n-tooltip/ui3n-tooltip.d.ts +1 -0
  23. package/dist/{index.d.ts → src/index.d.ts} +1 -1
  24. package/dist/{plugins → src/plugins}/dialogs/dialogs.d.ts +2 -2
  25. package/dist/{plugins → src/plugins}/dialogs/store-dialog.d.ts +2 -2
  26. package/dist/{plugins → src/plugins}/dialogs/types.d.ts +1 -1
  27. package/dist/{plugins → src/plugins}/notifications/store-notifications.d.ts +1 -1
  28. package/dist/{plugins → src/plugins}/notifications/types.d.ts +1 -1
  29. package/dist/{ui3n-components.d.ts → src/ui3n-components.d.ts} +1 -1
  30. package/dist/{ui3n-plugins.d.ts → src/ui3n-plugins.d.ts} +5 -5
  31. package/dist/{utils → src/utils}/files/create-video-thumbnail.d.ts +1 -1
  32. package/dist/{utils → src/utils}/for-vue/try-on-scope-dispose.d.ts +1 -1
  33. package/dist/{utils → src/utils}/for-vue/unref-element.d.ts +1 -1
  34. package/dist/src/utils/processes/scheduler-yield.d.ts +1 -0
  35. package/dist/{utils → src/utils}/processes/task-runner.d.ts +1 -1
  36. package/dist/style.css +1 -1
  37. package/dist/ui3n-components.js +1402 -1392
  38. package/dist/ui3n-plugins.js +56 -43
  39. package/package.json +2 -2
  40. package/src/components/index.ts +9 -2
  41. package/src/components/ui3n-autocomplete/ui3n-autocomplete.vue +2 -1
  42. package/src/components/ui3n-breadcrumbs/types.ts +2 -0
  43. package/src/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue +45 -35
  44. package/src/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue +12 -1
  45. package/src/components/ui3n-checkbox/ui3n-checkbox.vue +33 -67
  46. package/src/components/ui3n-editable/ui3n-editable.vue +68 -46
  47. package/src/components/ui3n-emoji/ui3n-emoji.vue +21 -27
  48. package/src/components/ui3n-icon/ui3n-icon.vue +13 -5
  49. package/src/components/ui3n-input/types.ts +2 -2
  50. package/src/components/ui3n-input/ui3n-input.vue +15 -9
  51. package/src/components/ui3n-menu/types.ts +19 -1
  52. package/src/components/ui3n-menu/ui3n-menu.vue +60 -57
  53. package/src/components/ui3n-mobile-menu/ui3n-mobile-menu.vue +87 -38
  54. package/src/components/ui3n-notification/types.ts +0 -4
  55. package/src/components/ui3n-notification/ui3n-notification-container.vue +62 -0
  56. package/src/components/ui3n-notification/ui3n-notification.vue +74 -70
  57. package/src/components/ui3n-progress/ui3n-progress-circular.vue +80 -120
  58. package/src/components/ui3n-progress/ui3n-progress-linear.vue +32 -15
  59. package/src/components/ui3n-radio-group/ui3n-radio-group.vue +2 -1
  60. package/src/components/ui3n-radio-group/ui3n-radio.vue +38 -47
  61. package/src/components/ui3n-scrollbar-horizontal/{ui3n-scroolbar-horizontal.vue → ui3n-scrollbar-horizontal.vue} +6 -8
  62. package/src/components/ui3n-scrollbar-vertical/ui3n-scrollbar-vertical.vue +10 -6
  63. package/src/components/ui3n-selector/types.ts +1 -10
  64. package/src/components/ui3n-selector/ui3n-selector.vue +49 -47
  65. package/src/components/ui3n-slider/ui3n-slider.vue +6 -9
  66. package/src/components/ui3n-step-line-bar/ui3n-step-line-bar.vue +5 -1
  67. package/src/components/ui3n-switch/ui3n-switch.vue +24 -19
  68. package/src/components/ui3n-table/composables/useTable.ts +37 -22
  69. package/src/components/ui3n-table/ui3n-table-sort-icon.vue +6 -1
  70. package/src/components/ui3n-table/ui3n-table.vue +3 -1
  71. package/src/components/ui3n-tabs/ui3n-tabs.vue +0 -23
  72. package/src/components/ui3n-text/ui3n-text.vue +36 -8
  73. package/src/components/ui3n-tooltip/ui3n-tooltip.vue +39 -18
  74. package/src/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue +2 -2
  75. package/dist/utils/processes/scheduler-yield.d.ts +0 -1
  76. /package/dist/{components → src/components}/ui3n-autocomplete/types.d.ts +0 -0
  77. /package/dist/{components → src/components}/ui3n-autocomplete/ui3n-autocomplete.d.ts +0 -0
  78. /package/dist/{components → src/components}/ui3n-badge/types.d.ts +0 -0
  79. /package/dist/{components → src/components}/ui3n-badge/ui3n-badge-simple.d.ts +0 -0
  80. /package/dist/{components → src/components}/ui3n-badge/ui3n-badge.d.ts +0 -0
  81. /package/dist/{components → src/components}/ui3n-breadcrumbs/ui3n-breadcrumb.d.ts +0 -0
  82. /package/dist/{components → src/components}/ui3n-breadcrumbs/ui3n-breadcrumbs.d.ts +0 -0
  83. /package/dist/{components → src/components}/ui3n-button/constants.d.ts +0 -0
  84. /package/dist/{components → src/components}/ui3n-button/types.d.ts +0 -0
  85. /package/dist/{components → src/components}/ui3n-button/ui3n-button.d.ts +0 -0
  86. /package/dist/{components → src/components}/ui3n-checkbox/types.d.ts +0 -0
  87. /package/dist/{components → src/components}/ui3n-checkbox/ui3n-checkbox.d.ts +0 -0
  88. /package/dist/{components → src/components}/ui3n-chip/types.d.ts +0 -0
  89. /package/dist/{components → src/components}/ui3n-chip/ui3n-chip.d.ts +0 -0
  90. /package/dist/{components → src/components}/ui3n-dialog/ui3n-dialog-provider.d.ts +0 -0
  91. /package/dist/{components → src/components}/ui3n-dialog/ui3n-dialog.d.ts +0 -0
  92. /package/dist/{components → src/components}/ui3n-dialog/util.d.ts +0 -0
  93. /package/dist/{components → src/components}/ui3n-drop-files/types.d.ts +0 -0
  94. /package/dist/{components → src/components}/ui3n-drop-files/ui3n-drop-files.d.ts +0 -0
  95. /package/dist/{components → src/components}/ui3n-emoji/types.d.ts +0 -0
  96. /package/dist/{components → src/components}/ui3n-emoji/ui3n-emoji.d.ts +0 -0
  97. /package/dist/{components → src/components}/ui3n-icon/types.d.ts +0 -0
  98. /package/dist/{components → src/components}/ui3n-icon/ui3n-icon.d.ts +0 -0
  99. /package/dist/{components → src/components}/ui3n-input/ui3n-input.d.ts +0 -0
  100. /package/dist/{components → src/components}/ui3n-input-file/types.d.ts +0 -0
  101. /package/dist/{components → src/components}/ui3n-input-file/ui3n-input-file.d.ts +0 -0
  102. /package/dist/{components → src/components}/ui3n-list/types.d.ts +0 -0
  103. /package/dist/{components → src/components}/ui3n-list/ui3n-list.d.ts +0 -0
  104. /package/dist/{components → src/components}/ui3n-mobile-menu/types.d.ts +0 -0
  105. /package/dist/{components → src/components}/ui3n-mobile-menu-item/types.d.ts +0 -0
  106. /package/dist/{components → src/components}/ui3n-mobile-menu-item/ui3n-mobile-menu-item.d.ts +0 -0
  107. /package/dist/{components → src/components}/ui3n-progress/types.d.ts +0 -0
  108. /package/dist/{components → src/components}/ui3n-radio-group/types.d.ts +0 -0
  109. /package/dist/{components → src/components}/ui3n-radio-group/ui3n-radio-group.d.ts +0 -0
  110. /package/dist/{components → src/components}/ui3n-radio-group/ui3n-radio.d.ts +0 -0
  111. /package/dist/{components → src/components}/ui3n-scrollbar-horizontal/types.d.ts +0 -0
  112. /package/dist/{components/ui3n-scrollbar-horizontal/ui3n-scroolbar-horizontal.d.ts → src/components/ui3n-scrollbar-horizontal/ui3n-scrollbar-horizontal.d.ts} +0 -0
  113. /package/dist/{components → src/components}/ui3n-scrollbar-vertical/types.d.ts +0 -0
  114. /package/dist/{components → src/components}/ui3n-scrollbar-vertical/ui3n-scrollbar-vertical.d.ts +0 -0
  115. /package/dist/{components → src/components}/ui3n-selector/ui3n-selector.d.ts +0 -0
  116. /package/dist/{components → src/components}/ui3n-slider/types.d.ts +0 -0
  117. /package/dist/{components → src/components}/ui3n-slider/ui3n-slider.d.ts +0 -0
  118. /package/dist/{components → src/components}/ui3n-step-line-bar/types.d.ts +0 -0
  119. /package/dist/{components → src/components}/ui3n-switch/types.d.ts +0 -0
  120. /package/dist/{components → src/components}/ui3n-table/types.d.ts +0 -0
  121. /package/dist/{components → src/components}/ui3n-table/ui3n-table-sort-icon.d.ts +0 -0
  122. /package/dist/{components → src/components}/ui3n-table/ui3n-table.d.ts +0 -0
  123. /package/dist/{components → src/components}/ui3n-tabs/types.d.ts +0 -0
  124. /package/dist/{components → src/components}/ui3n-tabs/ui3n-tabs.d.ts +0 -0
  125. /package/dist/{components → src/components}/ui3n-text/types.d.ts +0 -0
  126. /package/dist/{components → src/components}/ui3n-tooltip/types.d.ts +0 -0
  127. /package/dist/{components → src/components}/ui3n-virtual-scroll/types.d.ts +0 -0
  128. /package/dist/{components → src/components}/ui3n-virtual-scroll/ui3n-virtual-scroll.d.ts +0 -0
  129. /package/dist/{composables → src/composables}/index.d.ts +0 -0
  130. /package/dist/{composables → src/composables}/useDblClickHandler.d.ts +0 -0
  131. /package/dist/{constants → src/constants}/emoticons.d.ts +0 -0
  132. /package/dist/{constants → src/constants}/general.d.ts +0 -0
  133. /package/dist/{constants → src/constants}/index.d.ts +0 -0
  134. /package/dist/{constants → src/constants}/plugins-keys.d.ts +0 -0
  135. /package/dist/{demo → src/demo}/constants.d.ts +0 -0
  136. /package/dist/{directives → src/directives}/index.d.ts +0 -0
  137. /package/dist/{directives → src/directives}/ui3n-click-outside.d.ts +0 -0
  138. /package/dist/{directives → src/directives}/ui3n-html.d.ts +0 -0
  139. /package/dist/{directives → src/directives}/ui3n-long-press.d.ts +0 -0
  140. /package/dist/{directives → src/directives}/ui3n-resize.d.ts +0 -0
  141. /package/dist/{directives → src/directives}/ui3n-ripple.d.ts +0 -0
  142. /package/dist/{directives → src/directives}/ui3n-title.d.ts +0 -0
  143. /package/dist/{plugins → src/plugins}/index.d.ts +0 -0
  144. /package/dist/{plugins → src/plugins}/notifications/notifications.d.ts +0 -0
  145. /package/dist/{plugins → src/plugins}/vue-bus/store-vue-bus.d.ts +0 -0
  146. /package/dist/{plugins → src/plugins}/vue-bus/types.d.ts +0 -0
  147. /package/dist/{plugins → src/plugins}/vue-bus/vue-bus.d.ts +0 -0
  148. /package/dist/{types → src/types}/components.types.d.ts +0 -0
  149. /package/dist/{types → src/types}/directives.types.d.ts +0 -0
  150. /package/dist/{types → src/types}/index.d.ts +0 -0
  151. /package/dist/{types → src/types}/plugins.types.d.ts +0 -0
  152. /package/dist/{types → src/types}/utils.types.d.ts +0 -0
  153. /package/dist/{ui3n-utils.d.ts → src/ui3n-utils.d.ts} +0 -0
  154. /package/dist/{utils → src/utils}/copy-to-clipboard.d.ts +0 -0
  155. /package/dist/{utils → src/utils}/debounce.d.ts +0 -0
  156. /package/dist/{utils → src/utils}/execute-function.d.ts +0 -0
  157. /package/dist/{utils → src/utils}/files/b64-to-blob.d.ts +0 -0
  158. /package/dist/{utils → src/utils}/files/blob-from-data-url.d.ts +0 -0
  159. /package/dist/{utils → src/utils}/files/blob-to-b64.d.ts +0 -0
  160. /package/dist/{utils → src/utils}/files/file-to-uint8array.d.ts +0 -0
  161. /package/dist/{utils → src/utils}/files/format-file-size.d.ts +0 -0
  162. /package/dist/{utils → src/utils}/files/get-file-extension.d.ts +0 -0
  163. /package/dist/{utils → src/utils}/files/is-file-archive.d.ts +0 -0
  164. /package/dist/{utils → src/utils}/files/is-file-audio.d.ts +0 -0
  165. /package/dist/{utils → src/utils}/files/is-file-image.d.ts +0 -0
  166. /package/dist/{utils → src/utils}/files/is-file-video.d.ts +0 -0
  167. /package/dist/{utils → src/utils}/files/mime-types.d.ts +0 -0
  168. /package/dist/{utils → src/utils}/files/resize-image.d.ts +0 -0
  169. /package/dist/{utils → src/utils}/files/uint8-to-data-url.d.ts +0 -0
  170. /package/dist/{utils → src/utils}/for-web3n.d.ts +0 -0
  171. /package/dist/{utils → src/utils}/get-random-id.d.ts +0 -0
  172. /package/dist/{utils → src/utils}/index.d.ts +0 -0
  173. /package/dist/{utils → src/utils}/processes/deferred.d.ts +0 -0
  174. /package/dist/{utils → src/utils}/processes/named-procs.d.ts +0 -0
  175. /package/dist/{utils → src/utils}/processes/single.d.ts +0 -0
  176. /package/dist/{utils → src/utils}/processes/sleep.d.ts +0 -0
  177. /package/dist/{utils → src/utils}/remove-whitespace-in-string.d.ts +0 -0
  178. /package/dist/{utils → src/utils}/round.d.ts +0 -0
  179. /package/dist/{utils → src/utils}/sqlite-on-3nstorage/index.d.ts +0 -0
  180. /package/dist/{utils → src/utils}/sqlite-on-3nstorage/types.d.ts +0 -0
  181. /package/dist/{utils → src/utils}/textarea-max-rows.d.ts +0 -0
  182. /package/dist/{utils → src/utils}/ui/capitalize.d.ts +0 -0
  183. /package/dist/{utils → src/utils}/ui/generate-color.d.ts +0 -0
  184. /package/dist/{utils → src/utils}/ui/has-slot-content.d.ts +0 -0
  185. /package/dist/{utils → src/utils}/ui/html2text.d.ts +0 -0
  186. /package/dist/{utils → src/utils}/ui/invert-color.d.ts +0 -0
  187. /package/dist/{utils → src/utils}/ui/mark-search.d.ts +0 -0
  188. /package/dist/{utils → src/utils}/ui/prepare-date-as-string.d.ts +0 -0
  189. /package/dist/{utils → src/utils}/ui/selection.d.ts +0 -0
@@ -1,39 +1,39 @@
1
- import { computed as e, createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, mergeProps as s, normalizeClass as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderSlot as p, resolveDynamicComponent as m, toDisplayString as h, unref as g, useCssModule as _, watch as v, withCtx as y, withDirectives as b, withKeys as x } from "vue";
1
+ import { computed as e, createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, mergeProps as s, normalizeClass as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useCssModule as g, watch as _, withDirectives as v, withKeys as y } from "vue";
2
2
  //#region src/directives/ui3n-ripple.ts
3
- var S = {}, C = "";
4
- function w({ el: e, duration: t }) {
3
+ var b = {}, x = "";
4
+ function S({ el: e, duration: t }) {
5
5
  let n = document.createElement("div"), r = Math.max(e.clientWidth, e.clientHeight), i = r / 2;
6
- n.style.width = n.style.height = `${r}px`, n.style.left = `${Math.round(e.clientWidth / 2 - i)}px`, n.style.top = `${Math.round(e.clientHeight / 2 - i)}px`, n.classList.add("ui3n-ripple"), C && n.style.setProperty("--ui3n-ripple-bg-color", C), t && n.style.setProperty("--ui3n-ripple-duration", `${t}ms`);
6
+ n.style.width = n.style.height = `${r}px`, n.style.left = `${Math.round(e.clientWidth / 2 - i)}px`, n.style.top = `${Math.round(e.clientHeight / 2 - i)}px`, n.classList.add("ui3n-ripple"), x && n.style.setProperty("--ui3n-ripple-bg-color", x), t && n.style.setProperty("--ui3n-ripple-duration", `${t}ms`);
7
7
  let a = e.getElementsByClassName("ui3n-ripple")[0];
8
8
  a && a.remove(), e.appendChild(n);
9
9
  }
10
- function T({ eventName: e, el: t, duration: n }) {
11
- ["click", "keydown"].includes(e) && (S[e] = new AbortController(), t.addEventListener(e, function() {
12
- w({
10
+ function C({ eventName: e, el: t, duration: n }) {
11
+ ["click", "keydown"].includes(e) && (b[e] = new AbortController(), t.addEventListener(e, function() {
12
+ S({
13
13
  el: t,
14
14
  duration: n
15
15
  });
16
- }, { signal: S[e].signal }));
16
+ }, { signal: b[e].signal }));
17
17
  }
18
- var E = {
18
+ var w = {
19
19
  mounted(e, t) {
20
20
  let { color: n, duration: r, eventsTriggers: i = [], disabled: a = !1 } = t.value || {};
21
- C = n || "", !a && ((!i.length || i.length && i.includes("click")) && T({
21
+ x = n || "", !a && ((!i.length || i.length && i.includes("click")) && C({
22
22
  eventName: "click",
23
23
  el: e,
24
24
  duration: r
25
- }), i.length && i.includes("enter") && T({
25
+ }), i.length && i.includes("enter") && C({
26
26
  eventName: "keydown",
27
27
  el: e,
28
28
  duration: r
29
29
  }));
30
30
  },
31
31
  beforeUnmount() {
32
- Object.keys(S).forEach((e) => {
33
- S[e].abort();
32
+ Object.keys(b).forEach((e) => {
33
+ b[e].abort();
34
34
  });
35
35
  }
36
- }, D = ["id", "title"], O = /* @__PURE__ */ o({
36
+ }, T = ["id", "title"], E = /* @__PURE__ */ o({
37
37
  __name: "ui3n-icon",
38
38
  props: {
39
39
  id: {},
@@ -51,28 +51,31 @@ var E = {
51
51
  setup(t, { emit: n }) {
52
52
  let i = t, a = n, o = e(() => i.size || i.width || 16), c = e(() => i.size || i.height || 16), l = e(() => {
53
53
  let e = {
54
- "--ui3n-icon-width": `${o.value}px`,
55
- "--ui3n-icon-height": `${c.value}px`,
54
+ "--ui3n-icon-width": u(o.value),
55
+ "--ui3n-icon-height": u(c.value),
56
56
  "--ui3n-icon-color": i.color
57
57
  }, t = [];
58
58
  return i.horizontalFlip && t.push("rotateY(180deg)"), i.verticalFlip && t.push("rotateX(180deg)"), i.rotate && t.push(`rotate(${i.rotate}deg)`), t.length && (e.transform = t.join(" ")), e;
59
59
  });
60
+ function u(e) {
61
+ return isNaN(Number(e)) ? String(e) : `${e}px`;
62
+ }
60
63
  return (e, n) => (d(), r("div", s({
61
64
  id: t.id,
62
65
  class: e.$style.ui3nIcon,
63
66
  title: t.title,
64
67
  style: l.value
65
- }, { "data-icon": t.icon }, { onClick: n[0] ||= (e) => a("click", e) }), null, 16, D));
68
+ }, { "data-icon": t.icon }, { onClick: n[0] ||= (e) => a("click", e) }), null, 16, T));
66
69
  }
67
- }), k = { ui3nIcon: "_ui3nIcon_skxns_1" }, A = (e, t) => {
70
+ }), D = { ui3nIcon: "_ui3nIcon_10yhz_1" }, O = (e, t) => {
68
71
  let n = e.__vccOpts || e;
69
72
  for (let [e, r] of t) n[e] = r;
70
73
  return n;
71
- }, j = /* @__PURE__ */ A(O, [["__cssModules", { $style: k }]]), M = {
74
+ }, k = /* @__PURE__ */ O(E, [["__cssModules", { $style: D }]]), A = {
72
75
  small: 12,
73
76
  regular: 16,
74
77
  large: 24
75
- }, N = ["id", "disabled"], P = /* @__PURE__ */ A(/* @__PURE__ */ o({
78
+ }, j = ["id", "disabled"], M = /* @__PURE__ */ O(/* @__PURE__ */ o({
76
79
  __name: "ui3n-button",
77
80
  props: {
78
81
  id: {},
@@ -100,35 +103,35 @@ var E = {
100
103
  "blur"
101
104
  ],
102
105
  setup(i, { emit: a }) {
103
- let o = E, s = i, l = a, m = _(), h = f(null), y = e(() => {
106
+ let o = w, s = i, l = a, m = g(), b = f(null), x = e(() => {
104
107
  let e = [
105
108
  m.ui3nButton,
106
109
  m[s.size],
107
110
  m[s.type]
108
111
  ];
109
112
  return s.block && s.type !== "icon" && e.push(m.block), s.square && e.push(m.square), s.icon && e.push(m[`withIcon-${s.iconPosition}`]), s.elevation && e.push(m.elevation), e;
110
- }), S = e(() => s.iconSize ? s.iconSize : M[s.size]), C = e(() => s.iconColor ? s.iconColor : "inherit");
111
- async function w(e, t) {
112
- ["init", "enter"].includes(e) ? l(e, h.value) : l(e, t);
113
+ }), S = e(() => s.iconSize ? s.iconSize : A[s.size]), C = e(() => s.iconColor ? s.iconColor : "inherit");
114
+ async function T(e, t) {
115
+ ["init", "enter"].includes(e) ? l(e, b.value) : l(e, t);
113
116
  }
114
- return v([() => s.color, () => s.textColor], (e, t) => {
115
- if (!h.value) return;
117
+ return _([() => s.color, () => s.textColor], (e, t) => {
118
+ if (!b.value) return;
116
119
  let [n, r] = t, [i, a] = e;
117
- (s.type === "custom" || s.type === "icon") && i !== n && h.value.style.setProperty("--ui3n-button-bg-color", i ?? "var(--color-bg-button-primary-default)"), (s.type === "custom" || s.type === "icon") && a !== r && h.value.style.setProperty("--ui3n-button-text-color", a ?? "var(--color-text-button-primary-default)");
120
+ (s.type === "custom" || s.type === "icon") && i !== n && b.value.style.setProperty("--ui3n-button-bg-color", i ?? "var(--color-bg-button-primary-default)"), (s.type === "custom" || s.type === "icon") && a !== r && b.value.style.setProperty("--ui3n-button-text-color", a ?? "var(--color-text-button-primary-default)");
118
121
  }), u(() => {
119
- h.value && ((s.type === "custom" || s.type === "icon") && s.color && h.value.style.setProperty("--ui3n-button-bg-color", s.color), s.type === "custom" && s.textColor && h.value.style.setProperty("--ui3n-button-text-color", s.textColor), w("init"));
120
- }), (e, a) => b((d(), r("button", {
122
+ b.value && ((s.type === "custom" || s.type === "icon") && s.color && b.value.style.setProperty("--ui3n-button-bg-color", s.color), s.type === "custom" && s.textColor && b.value.style.setProperty("--ui3n-button-text-color", s.textColor), T("init"));
123
+ }), (e, a) => v((d(), r("button", {
121
124
  ref_key: "buttonEl",
122
- ref: h,
125
+ ref: b,
123
126
  id: i.id,
124
- class: c(y.value),
127
+ class: c(x.value),
125
128
  type: "button",
126
129
  disabled: i.disabled,
127
- onClick: a[0] ||= (e) => w("click", e),
128
- onFocusin: a[1] ||= (e) => w("focus", e),
129
- onFocusout: a[2] ||= (e) => w("blur", e),
130
- onKeydown: a[3] ||= x((e) => w("enter"), ["enter"])
131
- }, [i.icon ? (d(), t(j, {
130
+ onClick: a[0] ||= (e) => T("click", e),
131
+ onFocusin: a[1] ||= (e) => T("focus", e),
132
+ onFocusout: a[2] ||= (e) => T("blur", e),
133
+ onKeydown: a[3] ||= y((e) => T("enter"), ["enter"])
134
+ }, [i.icon ? (d(), t(k, {
132
135
  key: 0,
133
136
  class: c(e.$style.buttonIcon),
134
137
  icon: i.icon,
@@ -142,7 +145,7 @@ var E = {
142
145
  ])) : n("", !0), i.type === "icon" ? n("", !0) : (d(), r("span", {
143
146
  key: 1,
144
147
  class: c(e.$style.text)
145
- }, [p(e.$slots, "default")], 2))], 42, N)), [[g(o)]]);
148
+ }, [p(e.$slots, "default")], 2))], 42, j)), [[h(o)]]);
146
149
  }
147
150
  }), [["__cssModules", { $style: {
148
151
  ui3nButton: "_ui3nButton_5lm0q_3",
@@ -162,7 +165,7 @@ var E = {
162
165
  icon: "_icon_5lm0q_270",
163
166
  custom: "_custom_5lm0q_290",
164
167
  buttonIcon: "_buttonIcon_5lm0q_319"
165
- } }]]), F = ["id"], I = /* @__PURE__ */ A(/* @__PURE__ */ o({
168
+ } }]]), N = ["id"], P = /* @__PURE__ */ O(/* @__PURE__ */ o({
166
169
  __name: "ui3n-notification",
167
170
  props: {
168
171
  id: {},
@@ -174,18 +177,17 @@ var E = {
174
177
  type: Boolean,
175
178
  default: !0
176
179
  },
177
- teleport: {},
178
180
  onOpen: {
179
181
  type: Function,
180
- default: () => void 0
182
+ default: () => {}
181
183
  },
182
184
  onClose: {
183
185
  type: Function,
184
- default: () => void 0
186
+ default: () => {}
185
187
  }
186
188
  },
187
189
  setup(o) {
188
- let s = o, f = _(), p = {
190
+ let s = o, f = null, p = g(), _ = e(() => ({
189
191
  success: {
190
192
  color: "var(--success-content-default)",
191
193
  icon: "round-check-circle",
@@ -210,70 +212,67 @@ var E = {
210
212
  iconColor: "var(--error-fill-default)",
211
213
  iconRotate: 180
212
214
  }
213
- }, v = null, b = e(() => {
215
+ })[s.type || "info"]), v = e(() => {
214
216
  let e = [
215
- f.ui3nNotification,
216
- f[`${s.type}Type`],
217
- f[`${s.position}Position`]
217
+ p.ui3nNotification,
218
+ p[`${s.type}Type`],
219
+ p[`${s.position}Position`]
218
220
  ];
219
- return s.withIcon && e.push(f.withIcon), e;
221
+ return s.withIcon && e.push(p.withIcon), e;
220
222
  });
221
- function x() {
223
+ function y() {
222
224
  s.onClose && s.onClose();
223
225
  }
224
226
  return u(() => {
225
- s.onOpen && s.onOpen(), s.duration > 0 && (v = setTimeout(() => {
226
- s.onClose();
227
+ s.onOpen && s.onOpen(), s.duration > 0 && (f = setTimeout(() => {
228
+ y();
227
229
  }, s.duration));
228
230
  }), l(() => {
229
- v && clearTimeout(v);
230
- }), (e, s) => (d(), t(m(o.teleport ? "Teleport" : "div"), { to: o.teleport }, {
231
- default: y(() => [i("div", {
232
- id: o.id,
233
- class: c(b.value)
234
- }, [
235
- o.withIcon ? (d(), r("div", {
236
- key: 0,
237
- class: c(g(f).ui3nNotificationIcon)
238
- }, [a(j, {
239
- icon: p[o.type].icon,
240
- size: "16",
241
- rotate: p[o.type].iconRotate,
242
- color: p[o.type].iconColor
243
- }, null, 8, [
244
- "icon",
245
- "rotate",
246
- "color"
247
- ])], 2)) : n("", !0),
248
- i("div", { class: c(g(f).ui3nNotificationContent) }, h(o.content), 3),
249
- o.duration ? n("", !0) : (d(), t(P, {
250
- key: 1,
251
- type: "icon",
252
- size: "small",
253
- color: "transparent",
254
- icon: "round-close",
255
- "icon-color": p[o.type].color,
256
- "icon-size": "16",
257
- class: c(g(f).closeBtn),
258
- onClick: x
259
- }, null, 8, ["icon-color", "class"]))
260
- ], 10, F)]),
261
- _: 1
262
- }, 8, ["to"]));
231
+ f && clearTimeout(f);
232
+ }), (e, s) => (d(), r("div", {
233
+ id: o.id,
234
+ class: c(v.value)
235
+ }, [
236
+ o.withIcon ? (d(), r("div", {
237
+ key: 0,
238
+ class: c(h(p).ui3nNotificationIcon)
239
+ }, [a(k, {
240
+ icon: _.value.icon,
241
+ size: "16",
242
+ rotate: _.value.iconRotate,
243
+ color: _.value.iconColor
244
+ }, null, 8, [
245
+ "icon",
246
+ "rotate",
247
+ "color"
248
+ ])], 2)) : n("", !0),
249
+ i("div", { class: c(h(p).ui3nNotificationContent) }, m(o.content), 3),
250
+ o.duration ? n("", !0) : (d(), t(M, {
251
+ key: 1,
252
+ type: "icon",
253
+ size: "small",
254
+ color: "transparent",
255
+ icon: "round-close",
256
+ "icon-color": _.value.color,
257
+ "icon-size": "16",
258
+ class: c(h(p).closeBtn),
259
+ onClick: y
260
+ }, null, 8, ["icon-color", "class"]))
261
+ ], 10, N));
263
262
  }
264
263
  }), [["__cssModules", { $style: {
265
- ui3nNotification: "_ui3nNotification_65xrt_1",
266
- withIcon: "_withIcon_65xrt_20",
267
- ui3nNotificationIcon: "_ui3nNotificationIcon_65xrt_24",
268
- ui3nNotificationContent: "_ui3nNotificationContent_65xrt_36",
269
- closeBtn: "_closeBtn_65xrt_44",
270
- infoType: "_infoType_65xrt_51",
271
- successType: "_successType_65xrt_61",
272
- warningType: "_warningType_65xrt_71",
273
- errorType: "_errorType_65xrt_81",
274
- leftPosition: "_leftPosition_65xrt_91",
275
- centerPosition: "_centerPosition_65xrt_96",
276
- rightPosition: "_rightPosition_65xrt_101"
264
+ ui3nNotification: "_ui3nNotification_1iczq_1",
265
+ withIcon: "_withIcon_1iczq_21",
266
+ ui3nNotificationIcon: "_ui3nNotificationIcon_1iczq_25",
267
+ ui3nNotificationContent: "_ui3nNotificationContent_1iczq_38",
268
+ closeBtn: "_closeBtn_1iczq_47",
269
+ infoType: "_infoType_1iczq_54",
270
+ successType: "_successType_1iczq_64",
271
+ warningType: "_warningType_1iczq_74",
272
+ errorType: "_errorType_1iczq_84",
273
+ leftPosition: "_leftPosition_1iczq_94",
274
+ centerPosition: "_centerPosition_1iczq_99",
275
+ rightPosition: "_rightPosition_1iczq_104"
277
276
  } }]]);
278
277
  //#endregion
279
- export { E as a, A as i, P as n, j as r, I as t };
278
+ export { w as a, O as i, M as n, k as r, P as t };
@@ -24,7 +24,7 @@ import { default as Ui3nDialogProvider } from './ui3n-dialog/ui3n-dialog-provide
24
24
  import { default as Ui3nDialog } from './ui3n-dialog/ui3n-dialog';
25
25
  import { Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogComponentSlots, Ui3nDialogEvent } from './ui3n-dialog/types';
26
26
  import { default as Ui3nMenu } from './ui3n-menu/ui3n-menu';
27
- import { Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nMenuExpose } from './ui3n-menu/types';
27
+ import { Ui3nVirtualElement, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nMenuExpose } from './ui3n-menu/types';
28
28
  import { default as Ui3nList } from './ui3n-list/ui3n-list';
29
29
  import { Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list/types';
30
30
  import { default as Ui3nVirtualScroll } from './ui3n-virtual-scroll/ui3n-virtual-scroll';
@@ -62,6 +62,6 @@ import { default as Ui3nMobileMenuItem } from './ui3n-mobile-menu-item/ui3n-mobi
62
62
  import { Ui3nMobileMenuItemBase, Ui3nMobileMenuItemProps, Ui3nMobileMenuItemEmits } from './ui3n-mobile-menu-item/types';
63
63
  import { default as Ui3nScrollbarVertical } from './ui3n-scrollbar-vertical/ui3n-scrollbar-vertical';
64
64
  import { Ui3nScrollbarVerticalProps, Ui3nScrollbarVerticalEmits, Ui3nScrollbarVerticalSlots, Ui3nScrollbarVerticalExpose } from './ui3n-scrollbar-vertical/types';
65
- import { default as Ui3nScrollbarHorizontal } from './ui3n-scrollbar-horizontal/ui3n-scroolbar-horizontal';
65
+ import { default as Ui3nScrollbarHorizontal } from './ui3n-scrollbar-horizontal/ui3n-scrollbar-horizontal';
66
66
  import { Ui3nScrollbarHorizontalProps, Ui3nScrollbarHorizontalEmits, Ui3nScrollbarHorizontalSlots, Ui3nScrollbarHorizontalExpose } from './ui3n-scrollbar-horizontal/types';
67
- export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nDropFilesSlots, Ui3nDropFilesExpose, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nInputSlots, Ui3nInputExpose, Ui3nInputFile, Ui3nInputFileProps, Ui3nInputFileEmits, Ui3nInputFileExpose, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nTextExpose, Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nCheckboxExpose, Ui3nCheckboxValue, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableSort, Ui3nTableConfig, Ui3nTableHeadProps, Ui3nTableBodyProps, Ui3nTableGroupActionsSlot, Ui3nTableHeaderCellSlot, Ui3nTableBodyRowSlotScope, Ui3nTableBodyRowSlot, Ui3nTableBodyRowCellSlotScope, Ui3nTableBodyRowCellSlot, Ui3nTableSlots, Ui3nTableProps, Ui3nTableEmits, Ui3nTableExpose, Ui3nDialogProvider, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogComponentSlots, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nMenuExpose, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots, Ui3nBadge, Ui3nBadgeProps, Ui3nBreadcrumb, Ui3nBreadcrumbProps, Ui3nBreadcrumbEmits, Ui3nBreadcrumbSlots, Ui3nBreadcrumbs, Ui3nBreadcrumbsProps, Ui3nSwitch, Ui3nSwitchProps, Ui3nSwitchEmits, Ui3nSwitchSlots, Ui3nSwitchExpose, Ui3nStepLineBar, Ui3nStepLineBarProps, Ui3nProgressLinear, Ui3nProgressLinearProps, Ui3nProgressCircular, Ui3nProgressCircularProps, Ui3nTooltip, Ui3nTooltipEmits, Ui3nTooltipProps, Ui3nTooltipSlots, Ui3nTooltipPlacement, Ui3nRadio, Ui3nRadioGroup, Ui3nRadioValue, Ui3nRadioEmits, Ui3nRadioProps, Ui3nRadioSlots, Ui3nRadioExpose, Ui3nRadioGroupEmits, Ui3nRadioGroupProps, Ui3nRadioGroupSlots, Ui3nRadioGroupExpose, Ui3nEditable, Ui3nEditableProps, Ui3nEditableEmits, Ui3nEditableExpose, Ui3nAutocomplete, Ui3nAutocompleteProps, Ui3nAutocompleteEmits, Ui3nAutocompleteSlots, Ui3nAutocompleteExpose, Ui3nAutocompleteOptionBase, Ui3nSlider, UI3nSliderProps, UI3nSliderEmits, UI3nSliderExpose, Ui3nSelector, Ui3nSelectorProps, Ui3nSelectorEmits, Ui3nSelectorSlots, Ui3nSelectorExpose, Ui3nSelectorOptionBase, Ui3nSelectorItemDisplayingFunction, Ui3nMobileMenu, Ui3nMobileMenuProps, Ui3nMobileMenuEmits, Ui3nMobileMenuSlots, Ui3nMobileMenuItem, Ui3nMobileMenuItemBase, Ui3nMobileMenuItemProps, Ui3nMobileMenuItemEmits, Ui3nScrollbarVertical, Ui3nScrollbarVerticalProps, Ui3nScrollbarVerticalEmits, Ui3nScrollbarVerticalSlots, Ui3nScrollbarVerticalExpose, Ui3nScrollbarHorizontal, Ui3nScrollbarHorizontalProps, Ui3nScrollbarHorizontalEmits, Ui3nScrollbarHorizontalSlots, Ui3nScrollbarHorizontalExpose, };
67
+ export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nDropFilesSlots, Ui3nDropFilesExpose, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nInputSlots, Ui3nInputExpose, Ui3nInputFile, Ui3nInputFileProps, Ui3nInputFileEmits, Ui3nInputFileExpose, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nTextExpose, Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nCheckboxExpose, Ui3nCheckboxValue, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableSort, Ui3nTableConfig, Ui3nTableHeadProps, Ui3nTableBodyProps, Ui3nTableGroupActionsSlot, Ui3nTableHeaderCellSlot, Ui3nTableBodyRowSlotScope, Ui3nTableBodyRowSlot, Ui3nTableBodyRowCellSlotScope, Ui3nTableBodyRowCellSlot, Ui3nTableSlots, Ui3nTableProps, Ui3nTableEmits, Ui3nTableExpose, Ui3nDialogProvider, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogComponentSlots, Ui3nDialogEvent, Ui3nMenu, Ui3nVirtualElement, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nMenuExpose, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots, Ui3nBadge, Ui3nBadgeProps, Ui3nBreadcrumb, Ui3nBreadcrumbProps, Ui3nBreadcrumbEmits, Ui3nBreadcrumbSlots, Ui3nBreadcrumbs, Ui3nBreadcrumbsProps, Ui3nSwitch, Ui3nSwitchProps, Ui3nSwitchEmits, Ui3nSwitchSlots, Ui3nSwitchExpose, Ui3nStepLineBar, Ui3nStepLineBarProps, Ui3nProgressLinear, Ui3nProgressLinearProps, Ui3nProgressCircular, Ui3nProgressCircularProps, Ui3nTooltip, Ui3nTooltipEmits, Ui3nTooltipProps, Ui3nTooltipSlots, Ui3nTooltipPlacement, Ui3nRadio, Ui3nRadioGroup, Ui3nRadioValue, Ui3nRadioEmits, Ui3nRadioProps, Ui3nRadioSlots, Ui3nRadioExpose, Ui3nRadioGroupEmits, Ui3nRadioGroupProps, Ui3nRadioGroupSlots, Ui3nRadioGroupExpose, Ui3nEditable, Ui3nEditableProps, Ui3nEditableEmits, Ui3nEditableExpose, Ui3nAutocomplete, Ui3nAutocompleteProps, Ui3nAutocompleteEmits, Ui3nAutocompleteSlots, Ui3nAutocompleteExpose, Ui3nAutocompleteOptionBase, Ui3nSlider, UI3nSliderProps, UI3nSliderEmits, UI3nSliderExpose, Ui3nSelector, Ui3nSelectorProps, Ui3nSelectorEmits, Ui3nSelectorSlots, Ui3nSelectorExpose, Ui3nSelectorOptionBase, Ui3nSelectorItemDisplayingFunction, Ui3nMobileMenu, Ui3nMobileMenuProps, Ui3nMobileMenuEmits, Ui3nMobileMenuSlots, Ui3nMobileMenuItem, Ui3nMobileMenuItemBase, Ui3nMobileMenuItemProps, Ui3nMobileMenuItemEmits, Ui3nScrollbarVertical, Ui3nScrollbarVerticalProps, Ui3nScrollbarVerticalEmits, Ui3nScrollbarVerticalSlots, Ui3nScrollbarVerticalExpose, Ui3nScrollbarHorizontal, Ui3nScrollbarHorizontalProps, Ui3nScrollbarHorizontalEmits, Ui3nScrollbarHorizontalSlots, Ui3nScrollbarHorizontalExpose, };
@@ -60,6 +60,8 @@ export interface Ui3nBreadcrumbsProps {
60
60
  * Breadcrumbs component slots
61
61
  */
62
62
  export interface Ui3nBreadcrumbsSlots {
63
+ /** Global separator slot for the entire chain */
64
+ separator?: () => VNode;
63
65
  /**
64
66
  * Default slot
65
67
  */
@@ -1,5 +1,5 @@
1
1
  import { VNode } from 'vue';
2
- import { Ui3nIconField } from '../../types';
2
+ import { Ui3nIconField } from '../../../types';
3
3
  /**
4
4
  * Dialog event base types
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Nullable } from '../../types';
1
+ import { Nullable } from '../../../types';
2
2
  /**
3
3
  * Properties of the Ui3nContentEditable component
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Nullable } from '../../types';
1
+ import { Nullable } from '../../../types';
2
2
  import { Ui3nEditableProps } from './types';
3
3
  declare const _default: import('vue').DefineComponent<Ui3nEditableProps, {
4
4
  clear: () => void;
@@ -1,4 +1,4 @@
1
- import { Nullable } from '../../types';
1
+ import { Nullable } from '../../../types';
2
2
  import { Ui3nContentEditableEmits, Ui3nContentEditableProps } from './types';
3
3
  export declare function useContentEditable(props: Ui3nContentEditableProps, emits: Ui3nContentEditableEmits): {
4
4
  el: import('vue').Ref<Nullable<HTMLElement>, Nullable<HTMLElement>>;
@@ -147,11 +147,11 @@ export interface Ui3nInputSlots {
147
147
  /**
148
148
  * Slot for prepend icon (displayed at the start of the input)
149
149
  */
150
- 'prepend-icon'?: () => VNode[];
150
+ 'prepend-icon'?: () => VNode;
151
151
  /**
152
152
  * Slot for append icon (displayed at the end of the input)
153
153
  */
154
- 'append-icon'?: () => VNode[];
154
+ 'append-icon'?: () => VNode;
155
155
  }
156
156
  export interface Ui3nInputExpose {
157
157
  /**
@@ -1,4 +1,17 @@
1
1
  import { Ref, VNode } from 'vue';
2
+ export interface Ui3nVirtualElement {
3
+ getBoundingClientRect: () => DOMRect | {
4
+ x: number;
5
+ y: number;
6
+ top: number;
7
+ left: number;
8
+ right: number;
9
+ bottom: number;
10
+ width: number;
11
+ height: number;
12
+ };
13
+ contextElement?: HTMLElement;
14
+ }
2
15
  /**
3
16
  * Menu component properties
4
17
  */
@@ -14,7 +27,7 @@ export interface Ui3nMenuProps {
14
27
  /**
15
28
  * Trigger element
16
29
  */
17
- triggerElement?: HTMLElement;
30
+ triggerElement?: HTMLElement | Ui3nVirtualElement;
18
31
  /**
19
32
  * Position strategy
20
33
  * @default 'absolute'
@@ -77,6 +90,8 @@ export interface Ui3nMenuProps {
77
90
  * Menu component emits
78
91
  */
79
92
  export interface Ui3nMenuEmits {
93
+ /** Called when the menu is clicked */
94
+ (ev: 'click', value: Event): void;
80
95
  /**
81
96
  * Emitted when menu opens
82
97
  */
@@ -14,6 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nMenuProps, {
14
14
  isPositioned: Readonly<import('vue').Ref<boolean>>;
15
15
  update: () => void;
16
16
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ click: (value: Event) => any;
17
18
  close: () => any;
18
19
  "update:modelValue": (value: boolean) => any;
19
20
  open: () => any;
@@ -21,6 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nMenuProps, {
21
22
  closed: () => any;
22
23
  "click-outside": () => any;
23
24
  }, string, import('vue').PublicProps, Readonly<Ui3nMenuProps> & Readonly<{
25
+ onClick?: ((value: Event) => any) | undefined;
24
26
  onClose?: (() => any) | undefined;
25
27
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
26
28
  onOpen?: (() => any) | undefined;
@@ -3,14 +3,14 @@ declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<Ui3nMobileMenuSlots> & Ui3nMobileMenuSlots;
5
5
  refs: {};
6
- rootEl: any;
6
+ rootEl: HTMLDivElement;
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<Ui3nMobileMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
10
  "update:modelValue": (value: boolean) => any;
11
11
  }, string, import('vue').PublicProps, Readonly<Ui3nMobileMenuProps> & Readonly<{
12
12
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
15
  export default _default;
16
16
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -24,10 +24,6 @@ export interface Ui3nNotificationProps {
24
24
  * @default false
25
25
  */
26
26
  withIcon?: boolean;
27
- /**
28
- * Teleport target
29
- */
30
- teleport?: string;
31
27
  /**
32
28
  * Called when notification opens
33
29
  */
@@ -0,0 +1,11 @@
1
+ import { Ui3nNotificationProps } from './types';
2
+ interface IdentifiableNotice extends Ui3nNotificationProps {
3
+ id: string;
4
+ }
5
+ declare function add(notice: IdentifiableNotice): void;
6
+ declare function remove(id: string): void;
7
+ declare const _default: import('vue').DefineComponent<{}, {
8
+ add: typeof add;
9
+ remove: typeof remove;
10
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ export default _default;
@@ -6,5 +6,5 @@ declare const _default: import('vue').DefineComponent<Ui3nNotificationProps, {},
6
6
  withIcon: boolean;
7
7
  position: "left" | "center" | "right";
8
8
  onOpen: () => void;
9
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
10
  export default _default;
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<Ui3nProgressCircularProps,
4
4
  color: string;
5
5
  value: number | string;
6
6
  bgColor: string;
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
- element: HTMLDivElement;
9
- }, HTMLDivElement>;
7
+ indeterminate: boolean;
8
+ withText: boolean;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
10
  export default _default;
@@ -4,5 +4,7 @@ declare const _default: import('vue').DefineComponent<Ui3nProgressLinearProps, {
4
4
  color: string;
5
5
  value: number | string;
6
6
  bgColor: string;
7
+ indeterminate: boolean;
8
+ withText: boolean;
7
9
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
10
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { VNode } from 'vue';
2
- import { PrepareComponentEmits, Nullable } from '../../types';
2
+ import { PrepareComponentEmits, Nullable } from '../../../types';
3
3
  /**
4
4
  * Base selector option interface
5
5
  */
@@ -54,10 +54,6 @@ export interface Ui3nSelectorProps<T extends Ui3nSelectorOptionBase> {
54
54
  * Property or function to display item
55
55
  */
56
56
  itemDisplay?: keyof T | Ui3nSelectorItemDisplayingFunction<T>;
57
- /**
58
- * Custom filter function
59
- */
60
- customFilter?: (value: Ui3nSelectorValue<T>, query: string) => boolean;
61
57
  /**
62
58
  * Whether to return the whole object or just the value
63
59
  * @default false
@@ -68,11 +64,6 @@ export interface Ui3nSelectorProps<T extends Ui3nSelectorOptionBase> {
68
64
  * @default false
69
65
  */
70
66
  clearable?: boolean;
71
- /**
72
- * Whether to show search input
73
- * @default false
74
- */
75
- withSearch?: boolean;
76
67
  /**
77
68
  * Whether to hide selected item
78
69
  * @default false
@@ -136,7 +127,6 @@ export interface Ui3nSelectorSlots<T extends Ui3nSelectorOptionBase> {
136
127
  item: T;
137
128
  index: number;
138
129
  activeIndex: Nullable<number>;
139
- query?: string;
140
130
  }) => VNode;
141
131
  /**
142
132
  * Selection slot
@@ -1,5 +1,6 @@
1
1
  import { Ui3nStepLineBarProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<Ui3nStepLineBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nStepLineBarProps> & Readonly<{}>, {
3
3
  current: number;
4
+ steps: number;
4
5
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
6
  export default _default;
@@ -2,9 +2,7 @@ import { Ui3nSwitchProps, Ui3nSwitchSlots } from './types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<Ui3nSwitchSlots> & Ui3nSwitchSlots;
5
- refs: {
6
- switchEl: HTMLDivElement;
7
- };
5
+ refs: {};
8
6
  rootEl: HTMLDivElement;
9
7
  };
10
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -21,9 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {
21
19
  color: string;
22
20
  disabled: boolean;
23
21
  name: string;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
- switchEl: HTMLDivElement;
26
- }, HTMLDivElement>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
24
  export default _default;
29
25
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,8 +1,9 @@
1
1
  import { Ref, UnwrapRef } from 'vue';
2
- import { Ui3nTableBodyBaseItem, Ui3nTableConfig, Ui3nTableEmits, Ui3nTableProps } from '../types';
3
- import { Ui3nCheckboxValue } from '../../ui3n-checkbox/types';
2
+ import { Ui3nTableBodyBaseItem, Ui3nTableConfig, Ui3nTableEmits, Ui3nTableProps } from '../../../../components/ui3n-table/types';
3
+ import { Ui3nCheckboxValue } from '../../../../components/ui3n-checkbox/types';
4
4
  export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTableProps<T>, emits: Ui3nTableEmits<T>): {
5
5
  tableEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
6
+ tableColumnWidth: import('vue').ComputedRef<string>;
6
7
  unusedPlaceCssStyle: import('vue').ComputedRef<{
7
8
  minHeight?: undefined;
8
9
  } | {
@@ -21,7 +22,7 @@ export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTab
21
22
  } | undefined;
22
23
  fieldAsRowKey?: UnwrapRef<keyof T> | undefined;
23
24
  }>;
24
- visibleColumns: import('vue').ComputedRef<import('../types').Ui3nTableHeadProps<T>[]>;
25
+ visibleColumns: import('vue').ComputedRef<import('../../../../components/ui3n-table/types').Ui3nTableHeadProps<T>[]>;
25
26
  hasGroupActionsRow: Ref<boolean, boolean>;
26
27
  showGroupActionsRow: import('vue').ComputedRef<boolean>;
27
28
  selectedRows: Ref<Set<T> | T[keyof T][], Set<T> | T[keyof T][]>;
@@ -41,6 +41,7 @@ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {
41
41
  name: string;
42
42
  placeholder: string;
43
43
  rows: number;
44
+ validateAtStartup: boolean;
44
45
  maxRows: number;
45
46
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
47
  textareaElement: HTMLTextAreaElement;
@@ -24,6 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nTooltipProps, {
24
24
  onClosed?: (() => any) | undefined;
25
25
  }>, {
26
26
  color: string;
27
+ disabled: boolean;
27
28
  textColor: string;
28
29
  offsetX: string | number;
29
30
  offsetY: string | number;
@@ -34,7 +34,7 @@ import { default as Ui3nSelector } from './components/ui3n-selector/ui3n-selecto
34
34
  import { default as Ui3nMobileMenu } from './components/ui3n-mobile-menu/ui3n-mobile-menu';
35
35
  import { default as Ui3nMobileMenuItem } from './components/ui3n-mobile-menu-item/ui3n-mobile-menu-item';
36
36
  import { default as Ui3nScrollbarVertical } from './components/ui3n-scrollbar-vertical/ui3n-scrollbar-vertical';
37
- import { default as Ui3nScrollbarHorizontal } from './components/ui3n-scrollbar-horizontal/ui3n-scroolbar-horizontal';
37
+ import { default as Ui3nScrollbarHorizontal } from './components/ui3n-scrollbar-horizontal/ui3n-scrollbar-horizontal';
38
38
  import { default as Ui3nHtml } from './directives/ui3n-html';
39
39
  import { default as Ui3nClickOutside } from './directives/ui3n-click-outside';
40
40
  import { default as Ui3nResize } from './directives/ui3n-resize';