sprof 0.0.142 → 0.0.144
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/core/auth/Auth.d.ts
CHANGED
|
@@ -231,10 +231,10 @@ declare class Auth<UserT> {
|
|
|
231
231
|
}[];
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
|
-
IsLogin:
|
|
235
|
-
IsRegister:
|
|
236
|
-
IsRestore:
|
|
237
|
-
IsRefresh:
|
|
234
|
+
readonly IsLogin: boolean;
|
|
235
|
+
readonly IsRegister: boolean;
|
|
236
|
+
readonly IsRestore: boolean;
|
|
237
|
+
readonly IsRefresh: boolean;
|
|
238
238
|
SetChunk: (chunk: import('.').AuthChunks) => void;
|
|
239
239
|
GetTitle: () => string;
|
|
240
240
|
GetButtons: () => import('./buttons/AuthButton').default[];
|
|
@@ -255,8 +255,8 @@ declare class Auth<UserT> {
|
|
|
255
255
|
Actualize: () => void;
|
|
256
256
|
};
|
|
257
257
|
get Modal(): {
|
|
258
|
-
|
|
259
|
-
|
|
258
|
+
readonly Closable: boolean;
|
|
259
|
+
readonly Visible: boolean;
|
|
260
260
|
Close: () => void;
|
|
261
261
|
Open: (closable?: boolean | undefined) => void;
|
|
262
262
|
};
|
|
@@ -54,10 +54,10 @@ export default class AuthForm {
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
private GetCurSet;
|
|
57
|
-
IsLogin(): boolean;
|
|
58
|
-
IsRegister(): boolean;
|
|
59
|
-
IsRestore(): boolean;
|
|
60
|
-
IsRefresh(): boolean;
|
|
57
|
+
get IsLogin(): boolean;
|
|
58
|
+
get IsRegister(): boolean;
|
|
59
|
+
get IsRestore(): boolean;
|
|
60
|
+
get IsRefresh(): boolean;
|
|
61
61
|
SetChunk(chunk: AuthChunks): void;
|
|
62
62
|
GetTitle(): string;
|
|
63
63
|
GetButtons(): AuthButton[];
|
package/dist/core/index.d.ts
CHANGED
|
@@ -233,10 +233,10 @@ export default abstract class PF {
|
|
|
233
233
|
}[];
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
IsLogin:
|
|
237
|
-
IsRegister:
|
|
238
|
-
IsRestore:
|
|
239
|
-
IsRefresh:
|
|
236
|
+
readonly IsLogin: boolean;
|
|
237
|
+
readonly IsRegister: boolean;
|
|
238
|
+
readonly IsRestore: boolean;
|
|
239
|
+
readonly IsRefresh: boolean;
|
|
240
240
|
SetChunk: (chunk: import('./auth').AuthChunks) => void;
|
|
241
241
|
GetTitle: () => string;
|
|
242
242
|
GetButtons: () => import('./auth/buttons/AuthButton').default[];
|
|
@@ -257,8 +257,8 @@ export default abstract class PF {
|
|
|
257
257
|
Actualize: () => void;
|
|
258
258
|
};
|
|
259
259
|
readonly Modal: {
|
|
260
|
-
|
|
261
|
-
|
|
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
|
@@ -216,16 +216,16 @@ let Ma = class {
|
|
|
216
216
|
GetCurSet() {
|
|
217
217
|
return this.settings[this.chunk];
|
|
218
218
|
}
|
|
219
|
-
IsLogin() {
|
|
219
|
+
get IsLogin() {
|
|
220
220
|
return this.chunk === Re.Login;
|
|
221
221
|
}
|
|
222
|
-
IsRegister() {
|
|
222
|
+
get IsRegister() {
|
|
223
223
|
return this.chunk === Re.Register;
|
|
224
224
|
}
|
|
225
|
-
IsRestore() {
|
|
225
|
+
get IsRestore() {
|
|
226
226
|
return this.chunk === Re.Restore;
|
|
227
227
|
}
|
|
228
|
-
IsRefresh() {
|
|
228
|
+
get IsRefresh() {
|
|
229
229
|
return this.chunk === Re.Refresh;
|
|
230
230
|
}
|
|
231
231
|
SetChunk(e) {
|
|
@@ -261,10 +261,10 @@ class Ra {
|
|
|
261
261
|
l(this, "visible", !1);
|
|
262
262
|
l(this, "closable", !1);
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
get Closable() {
|
|
265
265
|
return this.closable;
|
|
266
266
|
}
|
|
267
|
-
|
|
267
|
+
get Visible() {
|
|
268
268
|
return this.visible;
|
|
269
269
|
}
|
|
270
270
|
Close() {
|
|
@@ -7457,14 +7457,14 @@ 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.
|
|
7461
|
-
closable: p(ht).Modal.
|
|
7460
|
+
show: p(ht).Modal.Visible,
|
|
7461
|
+
closable: p(ht).Modal.Closable,
|
|
7462
7462
|
onClose: e
|
|
7463
7463
|
}, {
|
|
7464
7464
|
default: _(() => [
|
|
7465
7465
|
I(s, {
|
|
7466
7466
|
width: "760px",
|
|
7467
|
-
|
|
7467
|
+
onSubmit: n[0] || (n[0] = (o) => i.$emit("submit"))
|
|
7468
7468
|
})
|
|
7469
7469
|
]),
|
|
7470
7470
|
_: 1
|