bt-core-app 1.4.287 → 1.4.289
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/bt-core-app.js +10 -10
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -5303,17 +5303,17 @@ function bE(e, t, n = !0) {
|
|
|
5303
5303
|
return t ? typeof t == "string" ? Mn(a, t) > Mn(r, t) ? n === !0 ? 1 : -1 : Mn(a, t) < Mn(r, t) ? n === !0 ? -1 : 1 : 0 : t(a) > t(r) ? n === !0 ? 1 : -1 : t(a) < t(r) ? n === !0 ? -1 : 1 : 0 : a > r ? n === !0 ? 1 : -1 : a < r ? n === !0 ? -1 : 1 : 0;
|
|
5304
5304
|
});
|
|
5305
5305
|
}
|
|
5306
|
-
function Xa(e, t) {
|
|
5307
|
-
let
|
|
5308
|
-
if (
|
|
5306
|
+
function Xa(e, t, n = "/") {
|
|
5307
|
+
let a = e ?? "", r = t ?? "";
|
|
5308
|
+
if (a.endsWith(n))
|
|
5309
5309
|
do
|
|
5310
|
-
|
|
5311
|
-
while (
|
|
5312
|
-
if (
|
|
5310
|
+
a = a.slice(0, a.length - 1);
|
|
5311
|
+
while (a.endsWith(n));
|
|
5312
|
+
if (r.startsWith(n))
|
|
5313
5313
|
do
|
|
5314
|
-
|
|
5315
|
-
while (
|
|
5316
|
-
return `${n}
|
|
5314
|
+
r = r.slice(1, r.length);
|
|
5315
|
+
while (r.startsWith(n));
|
|
5316
|
+
return `${a}${n}${r}`;
|
|
5317
5317
|
}
|
|
5318
5318
|
function Wb(e, t, n) {
|
|
5319
5319
|
let a = new Image();
|
|
@@ -31896,7 +31896,7 @@ function GE() {
|
|
|
31896
31896
|
canAdd: !1,
|
|
31897
31897
|
canDelete: !1,
|
|
31898
31898
|
canSearch: !0,
|
|
31899
|
-
headers: [{ value: t.itemText, level: 1, searchable: !0 }],
|
|
31899
|
+
headers: [{ value: t.itemText, level: 1, searchable: !0, textFunction: t.textFunction }],
|
|
31900
31900
|
modelValue: n,
|
|
31901
31901
|
nav: t.nav,
|
|
31902
31902
|
onSelect: a,
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare interface ApiActionOptions extends StorePathOptions, DoActionOptions {
|
|
|
32
32
|
api?: BTApi;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export declare function appendUrl(originalVal?: string, additionalVal?: string): string;
|
|
35
|
+
export declare function appendUrl(originalVal?: string, additionalVal?: string, splittingChar?: string): string;
|
|
36
36
|
|
|
37
37
|
export declare interface AuthItem {
|
|
38
38
|
children?: AuthItem[];
|
|
@@ -1642,6 +1642,7 @@ export declare interface UseSelectItemOptions {
|
|
|
1642
1642
|
required?: boolean;
|
|
1643
1643
|
searchProps?: string[];
|
|
1644
1644
|
showSearch?: boolean;
|
|
1645
|
+
textFunction?: Function;
|
|
1645
1646
|
title?: string;
|
|
1646
1647
|
}
|
|
1647
1648
|
|
package/package.json
CHANGED