bt-core-app 1.4.768 → 1.4.770
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 +11 -6
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -8672,7 +8672,8 @@ function oh(e) {
|
|
|
8672
8672
|
return C == null && h.nav != null && (C = To({
|
|
8673
8673
|
nav: h.nav,
|
|
8674
8674
|
storeMode: h.storeMode,
|
|
8675
|
-
storageMode: h.storageMode
|
|
8675
|
+
storageMode: h.storageMode,
|
|
8676
|
+
proxyID: h.proxyID
|
|
8676
8677
|
})), C != null ? (h.deleteStrat ?? (h.deleteStrat = ((w = o.findItem(h.nav)) == null ? void 0 : w.deleteStrat) ?? void 0), h.deleteStrat == "soft" ? (h.additionalUrl ?? (h.additionalUrl = "/delete"), h.onDeleteAsync ?? (h.onDeleteAsync = () => C().patch(h))) : h.onDeleteAsync ?? (h.onDeleteAsync = () => C().deleteItem(h))) : h.onDeleteAsync ?? (h.onDeleteAsync = () => {
|
|
8677
8678
|
var S;
|
|
8678
8679
|
const x = h.id ?? ((S = h.data) == null ? void 0 : S.id);
|
|
@@ -8702,7 +8703,8 @@ function oh(e) {
|
|
|
8702
8703
|
return C == null && h.nav != null && (C = To({
|
|
8703
8704
|
nav: h.nav,
|
|
8704
8705
|
storeMode: h.storeMode,
|
|
8705
|
-
storageMode: h.storageMode
|
|
8706
|
+
storageMode: h.storageMode,
|
|
8707
|
+
proxyID: h.proxyID
|
|
8706
8708
|
})), C != null ? h.onGetAsync ?? (h.onGetAsync = async () => await C().get(h)) : h.onGetAsync ?? (h.onGetAsync = () => {
|
|
8707
8709
|
var x;
|
|
8708
8710
|
const w = h.id ?? ((x = h.data) == null ? void 0 : x.id);
|
|
@@ -8725,10 +8727,11 @@ function oh(e) {
|
|
|
8725
8727
|
h.nav ?? (h.nav = e == null ? void 0 : e.nav), h.proxyID ?? (h.proxyID = e == null ? void 0 : e.proxyID), h.refresh ?? (h.refresh = e == null ? void 0 : e.refresh), h.storeKey ?? (h.storeKey = e == null ? void 0 : e.storeKey), h.storeMode ?? (h.storeMode = e == null ? void 0 : e.storeMode), h.storageMode ?? (h.storageMode = e == null ? void 0 : e.storageMode), h.throwError ?? (h.throwError = e == null ? void 0 : e.throwError), h.url ?? (h.url = e == null ? void 0 : e.url), h.confirmationMsg ?? (h.confirmationMsg = h.requireConfirmation === !0 ? "Are you sure you want to get these items?" : void 0);
|
|
8726
8728
|
let C = (h == null ? void 0 : h.store) ?? (e == null ? void 0 : e.store);
|
|
8727
8729
|
const k = (e == null ? void 0 : e.items) ?? [];
|
|
8728
|
-
return C == null && h.nav != null && (C = To({
|
|
8730
|
+
return console.log(h), C == null && h.nav != null && (C = To({
|
|
8729
8731
|
nav: h.nav,
|
|
8730
8732
|
storeMode: h.storeMode,
|
|
8731
|
-
storageMode: h.storageMode
|
|
8733
|
+
storageMode: h.storageMode,
|
|
8734
|
+
proxyID: h.proxyID
|
|
8732
8735
|
})), C != null ? h.onGetAsync ?? (h.onGetAsync = () => C().getAll(h)) : h.onGetAsync ?? (h.onGetAsync = () => Promise.resolve({ data: k })), r(async () => {
|
|
8733
8736
|
let w;
|
|
8734
8737
|
return h.onGetAsync != null && (w = await h.onGetAsync(h)), w != null && h.onGetSuccessAsync != null ? await h.onGetSuccessAsync(w, h) : w;
|
|
@@ -8749,7 +8752,8 @@ function oh(e) {
|
|
|
8749
8752
|
return C == null && h.nav != null && (C = To({
|
|
8750
8753
|
nav: h.nav,
|
|
8751
8754
|
storeMode: h.storeMode,
|
|
8752
|
-
storageMode: h.storageMode
|
|
8755
|
+
storageMode: h.storageMode,
|
|
8756
|
+
proxyID: h.proxyID
|
|
8753
8757
|
})), C != null && (h.onRestoreAsync ?? (h.onRestoreAsync = () => C().restore(h))), r(async () => {
|
|
8754
8758
|
let k, w;
|
|
8755
8759
|
return h.onCanRestoreAsync != null && (k = await h.onCanRestoreAsync(h.data)), k == null && h.onRestoreAsync != null && (w = await h.onRestoreAsync(h.data)), i(k), w != null && h.onRestoreSuccessAsync != null ? await h.onRestoreSuccessAsync(w) : w;
|
|
@@ -8771,7 +8775,8 @@ function oh(e) {
|
|
|
8771
8775
|
return h.onGetSaveAsync ?? (h.onGetSaveAsync = (w) => w), h.onCanSaveAsync ?? (h.onCanSaveAsync = () => Promise.resolve(void 0)), h.getMode ?? (h.getMode = (w) => w.id == null ? "new" : "edit"), C == null && h.nav != null && (C = To({
|
|
8772
8776
|
nav: h.nav,
|
|
8773
8777
|
storeMode: h.storeMode,
|
|
8774
|
-
storageMode: h.storageMode
|
|
8778
|
+
storageMode: h.storageMode,
|
|
8779
|
+
proxyID: h.proxyID
|
|
8775
8780
|
})), C != null ? h.onSaveAsync ?? (h.onSaveAsync = async (w) => {
|
|
8776
8781
|
if (w == null)
|
|
8777
8782
|
return;
|
package/package.json
CHANGED