@attraccess/plugins-frontend-ui 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +11 -11
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7106,11 +7106,11 @@ var xo = {
|
|
|
7106
7106
|
columns: { name: { header: "Name" } }
|
|
7107
7107
|
},
|
|
7108
7108
|
list: { label: "Assigned to" }
|
|
7109
|
-
}, Co =
|
|
7109
|
+
}, Co = ({ children: e }) => /* @__PURE__ */ D("div", {
|
|
7110
7110
|
className: "border-small px-1 py-2 rounded-small border-default-200 dark:border-default-100",
|
|
7111
7111
|
children: e
|
|
7112
7112
|
});
|
|
7113
|
-
function
|
|
7113
|
+
function wo(e) {
|
|
7114
7114
|
let { selection: t, onSelectionChange: n, multiple: r = !0, listClassName: i = "" } = e, [a, o] = u(""), { t: s } = Vn({
|
|
7115
7115
|
de: xo,
|
|
7116
7116
|
en: So
|
|
@@ -7134,7 +7134,7 @@ function Do(e) {
|
|
|
7134
7134
|
"aria-label": s("table.ariaLabel"),
|
|
7135
7135
|
className: i,
|
|
7136
7136
|
style: {
|
|
7137
|
-
maxHeight:
|
|
7137
|
+
maxHeight: 387,
|
|
7138
7138
|
overflowY: "auto"
|
|
7139
7139
|
},
|
|
7140
7140
|
children: /* @__PURE__ */ D(ie, { children: /* @__PURE__ */ O(ee, {
|
|
@@ -7179,7 +7179,7 @@ function Do(e) {
|
|
|
7179
7179
|
}
|
|
7180
7180
|
//#endregion
|
|
7181
7181
|
//#region src/lib/components/Trans/index.tsx
|
|
7182
|
-
function
|
|
7182
|
+
function To(e) {
|
|
7183
7183
|
let t = { children: [] }, n = [], r = /<\/?([a-zA-Z0-9_]+)\s*\/?\s*>/g, i = 0, a = () => n.length === 0 ? t.children : n[n.length - 1].children, o;
|
|
7184
7184
|
for (; (o = r.exec(e)) !== null;) {
|
|
7185
7185
|
let s = o[0], c = o[1], l = s.startsWith("</"), u = /\/>\s*$/.test(s) || !l && s.endsWith("/>");
|
|
@@ -7237,7 +7237,7 @@ function Oo(e) {
|
|
|
7237
7237
|
}
|
|
7238
7238
|
return t.children;
|
|
7239
7239
|
}
|
|
7240
|
-
function
|
|
7240
|
+
function Eo(e, n, r = "k") {
|
|
7241
7241
|
let i = [];
|
|
7242
7242
|
return e.forEach((e, a) => {
|
|
7243
7243
|
let o = `${r}-${a}`;
|
|
@@ -7249,21 +7249,21 @@ function ko(e, n, r = "k") {
|
|
|
7249
7249
|
if (t.isValidElement(s)) {
|
|
7250
7250
|
if (e.selfClosing) i.push(t.cloneElement(s, { key: o }));
|
|
7251
7251
|
else {
|
|
7252
|
-
let r =
|
|
7252
|
+
let r = Eo(e.children, n, o);
|
|
7253
7253
|
i.push(t.cloneElement(s, { key: o }, r));
|
|
7254
7254
|
}
|
|
7255
7255
|
return;
|
|
7256
7256
|
}
|
|
7257
|
-
e.selfClosing || i.push(...
|
|
7257
|
+
e.selfClosing || i.push(...Eo(e.children, n, o));
|
|
7258
7258
|
}), i;
|
|
7259
7259
|
}
|
|
7260
|
-
function
|
|
7260
|
+
function Do(e) {
|
|
7261
7261
|
let { i18nKey: t, values: n, components: r, t: i } = e, a = c(() => i(t, n), [
|
|
7262
7262
|
i,
|
|
7263
7263
|
t,
|
|
7264
7264
|
n
|
|
7265
|
-
]), o = c(() =>
|
|
7266
|
-
return c(() =>
|
|
7265
|
+
]), o = c(() => To(a), [a]);
|
|
7266
|
+
return c(() => Eo(o, r), [o, r]);
|
|
7267
7267
|
}
|
|
7268
7268
|
//#endregion
|
|
7269
|
-
export { jr as AttraccessUser, Dr as AttraccessUserActionsProvider, go as DateTimeDisplay, _o as DurationDisplay, Rn as I18N_LANGUAGE_STORAGE_KEY,
|
|
7269
|
+
export { jr as AttraccessUser, Dr as AttraccessUserActionsProvider, go as DateTimeDisplay, _o as DurationDisplay, Rn as I18N_LANGUAGE_STORAGE_KEY, Do as I18nTransComponent, Co as ListboxWrapper, wo as ResourceSelector, bo as UserSearch, Hn as detectAndSetLanguage, Or as useAttraccessUserActions, Mr as useDateTimeFormatter, Nr as useFormatDateTime, ho as useFormatNumber, Pr as useFormatedDuration, mo as useNumberFormatter, z as useTranslationState, Vn as useTranslations, po as useUrlQuery };
|