bt-core-app 1.4.789 → 1.4.790
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 +22 -19
- package/dist/index.d.ts +1 -0
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -13087,7 +13087,7 @@ function uc(e, t, a) {
|
|
|
13087
13087
|
ve.value = !ve.value, N.value = void 0, ue();
|
|
13088
13088
|
}
|
|
13089
13089
|
return Ul(), EC([N], () => {
|
|
13090
|
-
_.value !=
|
|
13090
|
+
_.value != 1 ? _.value = 1 : sn();
|
|
13091
13091
|
}, { debounce: 500, maxWait: 500 }), Se($, async () => {
|
|
13092
13092
|
v == "whole-last-updated" ? sn() : await ue();
|
|
13093
13093
|
}), Se(_, async () => {
|
|
@@ -13109,6 +13109,9 @@ function uc(e, t, a) {
|
|
|
13109
13109
|
e.eager == !0 && await ue({ deepRefresh: ((qe = (Me = a == null ? void 0 : a.route) == null ? void 0 : Me.params) == null ? void 0 : qe.refresh) == "true" });
|
|
13110
13110
|
}), {
|
|
13111
13111
|
add: dl,
|
|
13112
|
+
applyFilters: async () => {
|
|
13113
|
+
_.value != 1 ? (ve.value = !1, N.value = void 0, _.value = 1) : await ue({ resetSearch: !0 });
|
|
13114
|
+
},
|
|
13112
13115
|
asyncItems: z,
|
|
13113
13116
|
currentPage: _,
|
|
13114
13117
|
deleteItem: jn,
|
|
@@ -21955,7 +21958,7 @@ const Rc = Oe({
|
|
|
21955
21958
|
"open-strategy": "multiple",
|
|
21956
21959
|
"select-strategy": "classic",
|
|
21957
21960
|
selected: M(f).selectedFilters.value,
|
|
21958
|
-
"onUpdate:selected": $[
|
|
21961
|
+
"onUpdate:selected": $[6] || ($[6] = (E) => M(f).selectedFilters.value = E)
|
|
21959
21962
|
}, {
|
|
21960
21963
|
default: O(() => [
|
|
21961
21964
|
(B(!0), le(we, null, Ue(M(f).filters.value, (E, Z) => (B(), oe(Mt, {
|
|
@@ -21986,7 +21989,7 @@ const Rc = Oe({
|
|
|
21986
21989
|
M(f).filtersChanged.value ? (B(), oe(Ee, {
|
|
21987
21990
|
key: 0,
|
|
21988
21991
|
block: "",
|
|
21989
|
-
onClick:
|
|
21992
|
+
onClick: M(f).applyFilters,
|
|
21990
21993
|
size: V.size
|
|
21991
21994
|
}, {
|
|
21992
21995
|
default: O(() => [
|
|
@@ -22002,7 +22005,7 @@ const Rc = Oe({
|
|
|
22002
22005
|
We("Apply ")
|
|
22003
22006
|
]),
|
|
22004
22007
|
_: 1
|
|
22005
|
-
}, 8, ["size"])) : Q("", !0)
|
|
22008
|
+
}, 8, ["onClick", "size"])) : Q("", !0)
|
|
22006
22009
|
]),
|
|
22007
22010
|
_: 1
|
|
22008
22011
|
})
|
|
@@ -22031,7 +22034,7 @@ const Rc = Oe({
|
|
|
22031
22034
|
"open-strategy": "multiple",
|
|
22032
22035
|
"select-strategy": "classic",
|
|
22033
22036
|
selected: M(f).selectedExternalParties.value,
|
|
22034
|
-
"onUpdate:selected": $[
|
|
22037
|
+
"onUpdate:selected": $[7] || ($[7] = (E) => M(f).selectedExternalParties.value = E)
|
|
22035
22038
|
}, {
|
|
22036
22039
|
default: O(() => [
|
|
22037
22040
|
(B(!0), le(we, null, Ue(M(f).externalParties.value, (E, Z) => pe(V.$slots, "external-party-list-item", {
|
|
@@ -22104,7 +22107,7 @@ const Rc = Oe({
|
|
|
22104
22107
|
ref: r,
|
|
22105
22108
|
variant: "solo",
|
|
22106
22109
|
modelValue: M(f).searchString.value,
|
|
22107
|
-
"onUpdate:modelValue": $[
|
|
22110
|
+
"onUpdate:modelValue": $[8] || ($[8] = (Y) => M(f).searchString.value = Y)
|
|
22108
22111
|
}, null, 8, ["onClick", "onKeyup", "density", "modelValue"])) : Q("", !0)
|
|
22109
22112
|
]),
|
|
22110
22113
|
_: 1
|
|
@@ -22132,7 +22135,7 @@ const Rc = Oe({
|
|
|
22132
22135
|
"select-strategy": V.selectSingle ? "single-independent" : "independent",
|
|
22133
22136
|
style: mt(A.value),
|
|
22134
22137
|
selected: L.value,
|
|
22135
|
-
"onUpdate:selected": $[
|
|
22138
|
+
"onUpdate:selected": $[9] || ($[9] = (Y) => L.value = Y)
|
|
22136
22139
|
}, {
|
|
22137
22140
|
default: O(() => [
|
|
22138
22141
|
y(Ja, {
|
|
@@ -22440,7 +22443,7 @@ const Rc = Oe({
|
|
|
22440
22443
|
M($a)(V.paginate) ? Q("", !0) : (B(), le("div", W8, [
|
|
22441
22444
|
y(FT, {
|
|
22442
22445
|
modelValue: M(f).currentPage.value,
|
|
22443
|
-
"onUpdate:modelValue": $[
|
|
22446
|
+
"onUpdate:modelValue": $[10] || ($[10] = (Y) => M(f).currentPage.value = Y),
|
|
22444
22447
|
length: M(f).totalPages.value
|
|
22445
22448
|
}, null, 8, ["modelValue", "length"])
|
|
22446
22449
|
]))
|
|
@@ -22454,7 +22457,7 @@ const Rc = Oe({
|
|
|
22454
22457
|
for (const [n, l] of t)
|
|
22455
22458
|
a[n] = l;
|
|
22456
22459
|
return a;
|
|
22457
|
-
}, U8 = /* @__PURE__ */ Lf(j8, [["__scopeId", "data-v-
|
|
22460
|
+
}, U8 = /* @__PURE__ */ Lf(j8, [["__scopeId", "data-v-1738288c"]]);
|
|
22458
22461
|
/*!
|
|
22459
22462
|
* vue-use-spring v0.3.3
|
|
22460
22463
|
* (c) 2020-2024 Eduardo San Martin Morote
|
|
@@ -43531,7 +43534,7 @@ const zj = Oe({
|
|
|
43531
43534
|
"open-strategy": "multiple",
|
|
43532
43535
|
"select-strategy": "classic",
|
|
43533
43536
|
selected: M(p).selectedFilters.value,
|
|
43534
|
-
"onUpdate:selected": ee[
|
|
43537
|
+
"onUpdate:selected": ee[5] || (ee[5] = (Ne) => M(p).selectedFilters.value = Ne)
|
|
43535
43538
|
}, {
|
|
43536
43539
|
default: O(() => [
|
|
43537
43540
|
(B(!0), le(we, null, Ue(M(p).filters.value, (Ne, Je) => (B(), oe(Mt, {
|
|
@@ -43562,7 +43565,7 @@ const zj = Oe({
|
|
|
43562
43565
|
M(p).filtersChanged.value ? (B(), oe(Ee, {
|
|
43563
43566
|
key: 0,
|
|
43564
43567
|
block: "",
|
|
43565
|
-
onClick:
|
|
43568
|
+
onClick: M(p).applyFilters,
|
|
43566
43569
|
size: ce.size
|
|
43567
43570
|
}, {
|
|
43568
43571
|
default: O(() => [
|
|
@@ -43578,7 +43581,7 @@ const zj = Oe({
|
|
|
43578
43581
|
We("Apply ")
|
|
43579
43582
|
]),
|
|
43580
43583
|
_: 1
|
|
43581
|
-
}, 8, ["size"])) : Q("", !0)
|
|
43584
|
+
}, 8, ["onClick", "size"])) : Q("", !0)
|
|
43582
43585
|
]),
|
|
43583
43586
|
_: 1
|
|
43584
43587
|
})
|
|
@@ -43607,7 +43610,7 @@ const zj = Oe({
|
|
|
43607
43610
|
"open-strategy": "multiple",
|
|
43608
43611
|
"select-strategy": "classic",
|
|
43609
43612
|
selected: M(p).selectedExternalParties.value,
|
|
43610
|
-
"onUpdate:selected": ee[
|
|
43613
|
+
"onUpdate:selected": ee[6] || (ee[6] = (Ne) => M(p).selectedExternalParties.value = Ne)
|
|
43611
43614
|
}, {
|
|
43612
43615
|
default: O(() => [
|
|
43613
43616
|
(B(!0), le(we, null, Ue(M(p).externalParties.value, (Ne, Je) => pe(ce.$slots, "external-party-list-item", {
|
|
@@ -43677,7 +43680,7 @@ const zj = Oe({
|
|
|
43677
43680
|
ref: i,
|
|
43678
43681
|
variant: "solo",
|
|
43679
43682
|
modelValue: M(p).searchString.value,
|
|
43680
|
-
"onUpdate:modelValue": ee[
|
|
43683
|
+
"onUpdate:modelValue": ee[7] || (ee[7] = (Ce) => M(p).searchString.value = Ce)
|
|
43681
43684
|
}, null, 8, ["onClick", "onKeyup", "density", "modelValue"])) : Q("", !0)
|
|
43682
43685
|
]),
|
|
43683
43686
|
_: 1
|
|
@@ -43719,7 +43722,7 @@ const zj = Oe({
|
|
|
43719
43722
|
}, null, 8, ["disabled"]),
|
|
43720
43723
|
y(Ee, {
|
|
43721
43724
|
icon: "$restart",
|
|
43722
|
-
onClick: ee[
|
|
43725
|
+
onClick: ee[8] || (ee[8] = (Ce) => X(0)),
|
|
43723
43726
|
disabled: !w.value,
|
|
43724
43727
|
variant: "text",
|
|
43725
43728
|
size: "small"
|
|
@@ -43747,7 +43750,7 @@ const zj = Oe({
|
|
|
43747
43750
|
}),
|
|
43748
43751
|
y(pc, {
|
|
43749
43752
|
modelValue: b.value,
|
|
43750
|
-
"onUpdate:modelValue": ee[
|
|
43753
|
+
"onUpdate:modelValue": ee[10] || (ee[10] = (Ce) => b.value = Ce),
|
|
43751
43754
|
class: "ma-0 pa-0"
|
|
43752
43755
|
}, {
|
|
43753
43756
|
default: O(() => [
|
|
@@ -44129,7 +44132,7 @@ const zj = Oe({
|
|
|
44129
44132
|
_.value ? (B(), oe(Ee, {
|
|
44130
44133
|
key: 1,
|
|
44131
44134
|
"prepend-icon": "$check",
|
|
44132
|
-
onClick: ee[
|
|
44135
|
+
onClick: ee[9] || (ee[9] = (vt) => X(0)),
|
|
44133
44136
|
text: "Done"
|
|
44134
44137
|
})) : Q("", !0),
|
|
44135
44138
|
k.value ? (B(), oe(Ee, {
|
|
@@ -44159,7 +44162,7 @@ const zj = Oe({
|
|
|
44159
44162
|
b.value == 0 && !M($a)(ce.paginate) ? (B(), le("div", rU, [
|
|
44160
44163
|
y(FT, {
|
|
44161
44164
|
modelValue: M(p).currentPage.value,
|
|
44162
|
-
"onUpdate:modelValue": ee[
|
|
44165
|
+
"onUpdate:modelValue": ee[11] || (ee[11] = (Ce) => M(p).currentPage.value = Ce),
|
|
44163
44166
|
length: M(p).totalPages.value
|
|
44164
44167
|
}, null, 8, ["modelValue", "length"])
|
|
44165
44168
|
])) : Q("", !0)
|
|
@@ -44168,7 +44171,7 @@ const zj = Oe({
|
|
|
44168
44171
|
}, 8, ["bladeName", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "preset", "size", "transparent", "variant"]);
|
|
44169
44172
|
};
|
|
44170
44173
|
}
|
|
44171
|
-
}), Tie = /* @__PURE__ */ Lf(iU, [["__scopeId", "data-v-
|
|
44174
|
+
}), Tie = /* @__PURE__ */ Lf(iU, [["__scopeId", "data-v-426357bc"]]), oU = { class: "d-flex align-center" }, Die = /* @__PURE__ */ Xe({
|
|
44172
44175
|
__name: "BT-Dialog-Select",
|
|
44173
44176
|
setup(e) {
|
|
44174
44177
|
const t = q(!1), a = q({}), n = q([]), { getValue: l } = DM();
|
package/dist/index.d.ts
CHANGED
|
@@ -2160,6 +2160,7 @@ export declare function useList<T, TSave, TReturn>(props: ListProps<T, TSave, TR
|
|
|
2160
2160
|
updateBlade?: ((data: UpdateBladeData_2<GetOptions<T, TReturn>>) => void) | undefined;
|
|
2161
2161
|
variant?: Ref<BladeVariant> | undefined;
|
|
2162
2162
|
add: (variant: BladeVariant) => void;
|
|
2163
|
+
applyFilters: () => Promise<void>;
|
|
2163
2164
|
asyncItems: Ref<TReturn | TReturn[] | undefined>;
|
|
2164
2165
|
currentPage: Ref<number>;
|
|
2165
2166
|
deleteItem: (item: TReturn) => void;
|