sprof 0.0.142 → 0.0.143

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.
@@ -255,8 +255,8 @@ declare class Auth<UserT> {
255
255
  Actualize: () => void;
256
256
  };
257
257
  get Modal(): {
258
- IsClosable: () => boolean;
259
- IsVisible: () => boolean;
258
+ readonly Closable: boolean;
259
+ readonly Visible: boolean;
260
260
  Close: () => void;
261
261
  Open: (closable?: boolean | undefined) => void;
262
262
  };
@@ -1,8 +1,8 @@
1
1
  export default class AuthModal {
2
2
  private visible;
3
3
  private closable;
4
- IsClosable(): boolean;
5
- IsVisible(): boolean;
4
+ get Closable(): boolean;
5
+ get Visible(): boolean;
6
6
  Close(): void;
7
7
  Open(closable?: boolean): void;
8
8
  }
@@ -257,8 +257,8 @@ export default abstract class PF {
257
257
  Actualize: () => void;
258
258
  };
259
259
  readonly Modal: {
260
- IsClosable: () => boolean;
261
- IsVisible: () => boolean;
260
+ readonly Closable: boolean;
261
+ readonly Visible: boolean;
262
262
  Close: () => void;
263
263
  Open: (closable?: boolean | undefined) => void;
264
264
  };
package/dist/sprof.js CHANGED
@@ -261,10 +261,10 @@ class Ra {
261
261
  l(this, "visible", !1);
262
262
  l(this, "closable", !1);
263
263
  }
264
- IsClosable() {
264
+ get Closable() {
265
265
  return this.closable;
266
266
  }
267
- IsVisible() {
267
+ get Visible() {
268
268
  return this.visible;
269
269
  }
270
270
  Close() {
@@ -7457,8 +7457,8 @@ const vn = /* @__PURE__ */ new WeakMap(), gh = (t, e) => {
7457
7457
  return (i, n) => {
7458
7458
  const s = z("AuthForm"), r = z("PModal");
7459
7459
  return g(), q(r, {
7460
- show: p(ht).Modal.IsVisible(),
7461
- closable: p(ht).Modal.IsClosable(),
7460
+ show: p(ht).Modal.Visible,
7461
+ closable: p(ht).Modal.Closable,
7462
7462
  onClose: e
7463
7463
  }, {
7464
7464
  default: _(() => [