@v1nt1248/3nclient-lib 0.3.30 → 0.3.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{ui3n-notification-Dr_3Td9N.js → ui3n-notification-DPC5Ke4b.js} +96 -97
- package/dist/components/index.d.ts +3 -3
- package/dist/components/ui3n-breadcrumbs/types.d.ts +2 -0
- package/dist/components/ui3n-dialog/types.d.ts +1 -1
- package/dist/components/ui3n-editable/types.d.ts +1 -1
- package/dist/components/ui3n-editable/ui3n-editable.d.ts +1 -1
- package/dist/components/ui3n-editable/useContentEditable.d.ts +1 -1
- package/dist/components/ui3n-input/types.d.ts +2 -2
- package/dist/components/ui3n-menu/types.d.ts +16 -1
- package/dist/components/ui3n-menu/ui3n-menu.d.ts +2 -0
- package/dist/components/ui3n-mobile-menu/ui3n-mobile-menu.d.ts +2 -2
- package/dist/components/ui3n-notification/types.d.ts +0 -4
- package/dist/components/ui3n-notification/ui3n-notification-container.d.ts +11 -0
- package/dist/components/ui3n-notification/ui3n-notification.d.ts +1 -1
- package/dist/components/ui3n-progress/ui3n-progress-circular.d.ts +3 -3
- package/dist/components/ui3n-progress/ui3n-progress-linear.d.ts +2 -0
- package/dist/components/ui3n-selector/types.d.ts +1 -11
- package/dist/components/ui3n-step-line-bar/ui3n-step-line-bar.d.ts +1 -0
- package/dist/components/ui3n-switch/ui3n-switch.d.ts +2 -6
- package/dist/components/ui3n-table/composables/useTable.d.ts +4 -3
- package/dist/components/ui3n-text/ui3n-text.d.ts +1 -0
- package/dist/components/ui3n-tooltip/ui3n-tooltip.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/plugins/dialogs/dialogs.d.ts +2 -2
- package/dist/plugins/dialogs/store-dialog.d.ts +2 -2
- package/dist/plugins/dialogs/types.d.ts +1 -1
- package/dist/plugins/notifications/store-notifications.d.ts +1 -1
- package/dist/plugins/notifications/types.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/ui3n-components.d.ts +1 -1
- package/dist/ui3n-components.js +1402 -1392
- package/dist/ui3n-plugins.d.ts +5 -5
- package/dist/ui3n-plugins.js +56 -43
- package/dist/utils/files/create-video-thumbnail.d.ts +1 -1
- package/dist/utils/for-vue/try-on-scope-dispose.d.ts +1 -1
- package/dist/utils/for-vue/unref-element.d.ts +1 -1
- package/dist/utils/processes/scheduler-yield.d.ts +1 -1
- package/dist/utils/processes/task-runner.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/index.ts +9 -2
- package/src/components/ui3n-autocomplete/ui3n-autocomplete.vue +2 -1
- package/src/components/ui3n-breadcrumbs/types.ts +2 -0
- package/src/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue +45 -35
- package/src/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue +12 -1
- package/src/components/ui3n-checkbox/ui3n-checkbox.vue +33 -67
- package/src/components/ui3n-editable/ui3n-editable.vue +68 -46
- package/src/components/ui3n-emoji/ui3n-emoji.vue +21 -27
- package/src/components/ui3n-icon/ui3n-icon.vue +13 -5
- package/src/components/ui3n-input/types.ts +2 -2
- package/src/components/ui3n-input/ui3n-input.vue +15 -9
- package/src/components/ui3n-menu/types.ts +19 -1
- package/src/components/ui3n-menu/ui3n-menu.vue +60 -57
- package/src/components/ui3n-mobile-menu/ui3n-mobile-menu.vue +87 -38
- package/src/components/ui3n-notification/types.ts +0 -4
- package/src/components/ui3n-notification/ui3n-notification-container.vue +62 -0
- package/src/components/ui3n-notification/ui3n-notification.vue +74 -70
- package/src/components/ui3n-progress/ui3n-progress-circular.vue +80 -120
- package/src/components/ui3n-progress/ui3n-progress-linear.vue +32 -15
- package/src/components/ui3n-radio-group/ui3n-radio-group.vue +2 -1
- package/src/components/ui3n-radio-group/ui3n-radio.vue +38 -47
- package/src/components/ui3n-scrollbar-horizontal/{ui3n-scroolbar-horizontal.vue → ui3n-scrollbar-horizontal.vue} +6 -8
- package/src/components/ui3n-scrollbar-vertical/ui3n-scrollbar-vertical.vue +10 -6
- package/src/components/ui3n-selector/types.ts +1 -10
- package/src/components/ui3n-selector/ui3n-selector.vue +49 -47
- package/src/components/ui3n-slider/ui3n-slider.vue +6 -9
- package/src/components/ui3n-step-line-bar/ui3n-step-line-bar.vue +5 -1
- package/src/components/ui3n-switch/ui3n-switch.vue +24 -19
- package/src/components/ui3n-table/composables/useTable.ts +37 -22
- package/src/components/ui3n-table/ui3n-table-sort-icon.vue +6 -1
- package/src/components/ui3n-table/ui3n-table.vue +3 -1
- package/src/components/ui3n-tabs/ui3n-tabs.vue +0 -23
- package/src/components/ui3n-text/ui3n-text.vue +36 -8
- package/src/components/ui3n-tooltip/ui3n-tooltip.vue +39 -18
- package/src/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue +2 -2
- /package/dist/components/ui3n-scrollbar-horizontal/{ui3n-scroolbar-horizontal.d.ts → ui3n-scrollbar-horizontal.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,
|
|
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
|
|
4
|
-
function
|
|
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"),
|
|
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
|
|
11
|
-
["click", "keydown"].includes(e) && (
|
|
12
|
-
|
|
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:
|
|
16
|
+
}, { signal: b[e].signal }));
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var w = {
|
|
19
19
|
mounted(e, t) {
|
|
20
20
|
let { color: n, duration: r, eventsTriggers: i = [], disabled: a = !1 } = t.value || {};
|
|
21
|
-
|
|
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") &&
|
|
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(
|
|
33
|
-
|
|
32
|
+
Object.keys(b).forEach((e) => {
|
|
33
|
+
b[e].abort();
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
},
|
|
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":
|
|
55
|
-
"--ui3n-icon-height":
|
|
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,
|
|
68
|
+
}, { "data-icon": t.icon }, { onClick: n[0] ||= (e) => a("click", e) }), null, 16, T));
|
|
66
69
|
}
|
|
67
|
-
}),
|
|
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
|
-
},
|
|
74
|
+
}, k = /* @__PURE__ */ O(E, [["__cssModules", { $style: D }]]), A = {
|
|
72
75
|
small: 12,
|
|
73
76
|
regular: 16,
|
|
74
77
|
large: 24
|
|
75
|
-
},
|
|
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 =
|
|
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 :
|
|
111
|
-
async function
|
|
112
|
-
["init", "enter"].includes(e) ? l(e,
|
|
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
|
|
115
|
-
if (!
|
|
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 &&
|
|
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
|
-
|
|
120
|
-
}), (e, a) =>
|
|
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:
|
|
125
|
+
ref: b,
|
|
123
126
|
id: i.id,
|
|
124
|
-
class: c(
|
|
127
|
+
class: c(x.value),
|
|
125
128
|
type: "button",
|
|
126
129
|
disabled: i.disabled,
|
|
127
|
-
onClick: a[0] ||= (e) =>
|
|
128
|
-
onFocusin: a[1] ||= (e) =>
|
|
129
|
-
onFocusout: a[2] ||= (e) =>
|
|
130
|
-
onKeydown: a[3] ||=
|
|
131
|
-
}, [i.icon ? (d(), t(
|
|
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,
|
|
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
|
-
} }]]),
|
|
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: () =>
|
|
182
|
+
default: () => {}
|
|
181
183
|
},
|
|
182
184
|
onClose: {
|
|
183
185
|
type: Function,
|
|
184
|
-
default: () =>
|
|
186
|
+
default: () => {}
|
|
185
187
|
}
|
|
186
188
|
},
|
|
187
189
|
setup(o) {
|
|
188
|
-
let s = o, f =
|
|
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
|
-
}
|
|
215
|
+
})[s.type || "info"]), v = e(() => {
|
|
214
216
|
let e = [
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
p.ui3nNotification,
|
|
218
|
+
p[`${s.type}Type`],
|
|
219
|
+
p[`${s.position}Position`]
|
|
218
220
|
];
|
|
219
|
-
return s.withIcon && e.push(
|
|
221
|
+
return s.withIcon && e.push(p.withIcon), e;
|
|
220
222
|
});
|
|
221
|
-
function
|
|
223
|
+
function y() {
|
|
222
224
|
s.onClose && s.onClose();
|
|
223
225
|
}
|
|
224
226
|
return u(() => {
|
|
225
|
-
s.onOpen && s.onOpen(), s.duration > 0 && (
|
|
226
|
-
|
|
227
|
+
s.onOpen && s.onOpen(), s.duration > 0 && (f = setTimeout(() => {
|
|
228
|
+
y();
|
|
227
229
|
}, s.duration));
|
|
228
230
|
}), l(() => {
|
|
229
|
-
|
|
230
|
-
}), (e, s) => (d(),
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
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: "
|
|
266
|
-
withIcon: "
|
|
267
|
-
ui3nNotificationIcon: "
|
|
268
|
-
ui3nNotificationContent: "
|
|
269
|
-
closeBtn: "
|
|
270
|
-
infoType: "
|
|
271
|
-
successType: "
|
|
272
|
-
warningType: "
|
|
273
|
-
errorType: "
|
|
274
|
-
leftPosition: "
|
|
275
|
-
centerPosition: "
|
|
276
|
-
rightPosition: "
|
|
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 {
|
|
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-
|
|
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, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nullable } from '
|
|
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:
|
|
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, {},
|
|
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 & {
|
|
@@ -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, {},
|
|
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
|
-
|
|
8
|
-
|
|
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 '
|
|
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 '
|
|
3
|
-
import { Ui3nCheckboxValue } from '
|
|
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('
|
|
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;
|
package/dist/index.d.ts
CHANGED
|
@@ -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-
|
|
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';
|