oksy 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/boot.js +20 -20
- package/library.js +1 -1
- package/package.json +1 -1
- package/public/assets/index.75c2a5f4.js +75 -0
- package/public/assets/index.cbc0c532.js +75 -0
- package/public/index.html +1 -1
- package/tsconfig.json +0 -2
- package/types/src/Bootstrap/SqliteClient.d.ts +1 -1
- package/types/src/Frontend/Controllers/ForgotPasswordController.d.ts +2 -2
- package/types/src/Frontend/Controllers/LoginController.d.ts +3 -3
- package/types/src/Frontend/Controllers/PageController.d.ts +3 -3
- package/types/src/Frontend/Controllers/RegisterController.d.ts +3 -3
- package/types/src/Frontend/Controllers/ResetPasswordController.d.ts +3 -3
- package/types/src/Frontend/Controllers/ResumeSessionController.d.ts +2 -2
- package/types/src/Frontend/View/BasePage.d.ts +2 -2
- package/types/src/Frontend/View/Components/Button.d.ts +1 -1
- package/types/src/Frontend/View/Components/DataTable.d.ts +1 -1
- package/types/src/Frontend/View/Components/DateTime.d.ts +21 -0
- package/types/src/Frontend/View/UI.d.ts +174 -20
- package/types/src/Helper/DateTime.d.ts +3 -1
- package/types/src/Helper/PasswordResetLink.d.ts +1 -1
- package/types/src/Helper/Seeder.d.ts +2 -2
- package/types/src/ReactiveStore/BaseEntity.d.ts +1 -1
- package/types/src/ReactiveStore/HydrateReactiveStore.d.ts +1 -1
- package/types/src/ReactiveStore/Many.d.ts +2 -2
- package/types/src/ReactiveStore/ModelMaker.d.ts +2 -2
- package/types/src/ReactiveStore/ModelValidator.d.ts +1 -1
- package/types/src/ReactiveStore/Proxify.d.ts +2 -2
- package/types/src/ReactiveStore/ReactiveStore.d.ts +2 -2
- package/types/src/Server/RegisterFileUploader.d.ts +1 -1
- package/types/src/Server/RegisterSocketServer.d.ts +3 -3
- package/types/src/Server/Socket/PageManager.d.ts +1 -1
- package/types/src/Server/Socket/SessionManager.d.ts +2 -2
- package/types/src/Server/Socket/WebSocketServerClient.d.ts +4 -1
- package/types/src/Server/StartWebServer.d.ts +2 -2
- package/public/assets/index.7c7d591a.js +0 -75
- package/public/assets/index.ad749efe.js +0 -75
package/public/index.html
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
height: 100% !important;
|
23
23
|
}
|
24
24
|
</style>
|
25
|
-
<script type="module" crossorigin src="/assets/index.
|
25
|
+
<script type="module" crossorigin src="/assets/index.75c2a5f4.js"></script>
|
26
26
|
<link rel="stylesheet" href="/assets/index.bd7a9b66.css">
|
27
27
|
</head>
|
28
28
|
<body class="tw-flex tw-flex-col tw-bg-gray-50">
|
package/tsconfig.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SqliteClient } from '
|
2
|
-
import { IMailer } from '
|
1
|
+
import { SqliteClient } from './../../Bootstrap/SqliteClient';
|
2
|
+
import { IMailer } from './../../Mailer/IMailer';
|
3
3
|
export declare type ForgotPasswordPayload = {
|
4
4
|
email: string;
|
5
5
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { SqliteClient } from '
|
2
|
-
import { ReactiveStore } from '
|
3
|
-
import { Session } from '
|
1
|
+
import { SqliteClient } from './../../Bootstrap/SqliteClient';
|
2
|
+
import { ReactiveStore } from './../../ReactiveStore/ReactiveStore';
|
3
|
+
import { Session } from './../../Server/Socket/SessionManager';
|
4
4
|
export declare type LoginResponse = {
|
5
5
|
status: false;
|
6
6
|
} | {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Session, SessionManager } from '
|
2
|
-
import { SqliteClient } from '
|
3
|
-
import { PageManager } from '
|
1
|
+
import { Session, SessionManager } from './../../Server/Socket/SessionManager';
|
2
|
+
import { SqliteClient } from './../../Bootstrap/SqliteClient';
|
3
|
+
import { PageManager } from './../../Server/Socket/PageManager';
|
4
4
|
export declare type URL = {
|
5
5
|
path: string;
|
6
6
|
query: {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Session } from '
|
2
|
-
import { ReactiveStore } from '
|
3
|
-
import { SqliteClient } from '
|
1
|
+
import { Session } from './../../Server/Socket/SessionManager';
|
2
|
+
import { ReactiveStore } from './../../ReactiveStore/ReactiveStore';
|
3
|
+
import { SqliteClient } from './../../Bootstrap/SqliteClient';
|
4
4
|
export declare type RegisterPayload = {
|
5
5
|
name: string;
|
6
6
|
email: string;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ReactiveStore } from '
|
2
|
-
import { SqliteClient } from '
|
3
|
-
import { Session } from '
|
1
|
+
import { ReactiveStore } from './../../ReactiveStore/ReactiveStore';
|
2
|
+
import { SqliteClient } from './../../Bootstrap/SqliteClient';
|
3
|
+
import { Session } from './../../Server/Socket/SessionManager';
|
4
4
|
export declare type ResetPasswordPayload = {
|
5
5
|
token: string;
|
6
6
|
password: string;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SqliteClient } from '
|
2
|
-
import { Session, SessionManager } from '
|
1
|
+
import { SqliteClient } from './../../Bootstrap/SqliteClient';
|
2
|
+
import { Session, SessionManager } from './../../Server/Socket/SessionManager';
|
3
3
|
export declare type ResumeSessionResponse = {
|
4
4
|
status: false;
|
5
5
|
} | {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Database } from '
|
2
|
-
import { WebSocketServerClient } from '
|
1
|
+
import { Database } from './../../ReactiveStore/ReactiveStore';
|
2
|
+
import { WebSocketServerClient } from './../../Server/Socket/WebSocketServerClient';
|
3
3
|
import { watch as VueWatch, WatchStopHandle } from 'vue';
|
4
4
|
import { BaseUser, BaseWorkspace } from '../../ReactiveStore/BaseEntity';
|
5
5
|
import { UI } from './UI';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BasePage } from 'oksy';
|
2
2
|
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
-
import { GoogleIconType } from '
|
3
|
+
import { GoogleIconType } from './../../../Frontend/GoogleIcons';
|
4
4
|
export declare type ButtonType = {
|
5
5
|
id: string;
|
6
6
|
type: 'BUTTON';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BasePage } from 'oksy';
|
2
2
|
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
-
import { GoogleIconType } from '
|
3
|
+
import { GoogleIconType } from './../../../Frontend/GoogleIcons';
|
4
4
|
import { Dayjs } from 'dayjs';
|
5
5
|
export declare type DataTableType = {
|
6
6
|
id: string;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { BasePage } from 'oksy';
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
+
import { Dayjs } from 'dayjs';
|
4
|
+
export declare type DateTimeType = {
|
5
|
+
id: string;
|
6
|
+
type: 'DATE_TIME';
|
7
|
+
disabledId: string;
|
8
|
+
getterId: string;
|
9
|
+
setterId: string;
|
10
|
+
classInit: string;
|
11
|
+
};
|
12
|
+
declare type DateTimeOptions = {
|
13
|
+
setter: (val: null | Dayjs) => void;
|
14
|
+
getter: () => null | Dayjs;
|
15
|
+
disabled?: FlatOrFunc<() => boolean>;
|
16
|
+
class?: string;
|
17
|
+
};
|
18
|
+
export declare function UseDateTime(page: BasePage): {
|
19
|
+
DateTime: (options: DateTimeOptions) => DateTimeType;
|
20
|
+
};
|
21
|
+
export {};
|