bt-core-app 2.0.129 → 2.0.130

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.
@@ -9884,9 +9884,10 @@ function Ooe(e) {
9884
9884
  function n(r) {
9885
9885
  if (r != null && r.all) {
9886
9886
  const i = (r == null ? void 0 : r.mode) ?? "remove";
9887
- Nl.value.forEach((o) => {
9888
- i == "remove" && (o.data = {}), o.show = !1, o.closeFunctions.forEach((s) => {
9889
- s();
9887
+ let o = r.except != null ? Array.isArray(r.except) ? r.except : [r.except] : [];
9888
+ Nl.value.filter((s) => !o.some((c) => c == s.bladeName)).forEach((s) => {
9889
+ i == "remove" && (s.data = {}), s.show = !1, s.closeFunctions.forEach((c) => {
9890
+ c();
9890
9891
  });
9891
9892
  });
9892
9893
  } else {
@@ -9934,9 +9935,10 @@ function g1(e) {
9934
9935
  function v(m) {
9935
9936
  if (m != null && m.all) {
9936
9937
  const p = (m == null ? void 0 : m.mode) ?? "remove";
9937
- Nl.value.forEach((w) => {
9938
- p == "remove" && (w.data = {}), w.show = !1, w.closeFunctions.forEach((S) => {
9939
- S();
9938
+ let w = m.except != null ? Array.isArray(m.except) ? m.except : [m.except] : [];
9939
+ Nl.value.filter((S) => !w.some((h) => h == S.bladeName)).forEach((S) => {
9940
+ p == "remove" && (S.data = {}), S.show = !1, S.closeFunctions.forEach((h) => {
9941
+ h();
9940
9942
  });
9941
9943
  });
9942
9944
  } else {
package/dist/index.d.ts CHANGED
@@ -497,6 +497,7 @@ export declare function checkImage(url: string, onGood: (this: GlobalEventHandle
497
497
 
498
498
  declare interface CloseBladeOptions {
499
499
  all?: boolean;
500
+ except?: string | string[];
500
501
  mode?: 'remove' | 'hide';
501
502
  bladeName?: string;
502
503
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.129",
3
+ "version": "2.0.130",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {