oksy 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/boot.js +21 -21
- package/library.js +1 -1
- package/package.json +2 -2
- package/public/assets/index.53e319a9.js +75 -0
- package/public/assets/index.cad35096.js +75 -0
- package/public/assets/index.ef68285e.css +1 -0
- package/public/index.html +2 -2
- package/types/public/src/Components/Base/File/File.type.d.ts +10 -0
- package/types/src/Bootstrap/OrganizeSqlTables.d.ts +1 -1
- package/types/src/Bootstrap/ReadFileSystemFilesToTsFiles.d.ts +1 -1
- package/types/src/Bootstrap/TsFilesToBlueprint/Blueprint.d.ts +3 -3
- package/types/src/Frontend/Controllers/ForgotPasswordController.d.ts +1 -1
- package/types/src/Frontend/Controllers/LoginController.d.ts +1 -1
- package/types/src/Frontend/Controllers/PageController.d.ts +1 -1
- package/types/src/Frontend/Controllers/RegisterController.d.ts +2 -2
- package/types/src/Frontend/Controllers/ResetPasswordController.d.ts +2 -2
- package/types/src/Frontend/Controllers/ResumeSessionController.d.ts +1 -1
- package/types/src/Frontend/FrontendConfig.d.ts +1 -1
- package/types/src/Frontend/GoogleIcons.d.ts +1 -1
- package/types/src/Frontend/View/Components/Button.d.ts +2 -2
- package/types/src/Frontend/View/Components/Container.d.ts +3 -3
- package/types/src/Frontend/View/Components/DataTable.d.ts +4 -4
- package/types/src/Frontend/View/Components/DateTime.d.ts +2 -2
- package/types/src/Frontend/View/Components/File.d.ts +23 -0
- package/types/src/Frontend/View/Components/FileUpload.d.ts +3 -3
- package/types/src/Frontend/View/Components/FlatOrFunc.d.ts +1 -1
- package/types/src/Frontend/View/Components/Input.d.ts +2 -2
- package/types/src/Frontend/View/Components/Layout/DarkSidebar.d.ts +4 -4
- package/types/src/Frontend/View/Components/Select.d.ts +8 -8
- package/types/src/Frontend/View/Components/Text.d.ts +2 -2
- package/types/src/Frontend/View/Components/Toggle.d.ts +2 -2
- package/types/src/Frontend/View/UI.d.ts +18 -16
- package/types/src/Helper/CallStack.d.ts +1 -1
- package/types/src/Helper/Seeder.d.ts +1 -1
- package/types/src/Helper/UUID.d.ts +1 -0
- package/types/src/Mailer/JsToEmail.d.ts +2 -2
- package/types/src/ReactiveStore/BaseEntity.d.ts +2 -2
- package/types/src/Server/Socket/BaseCommunicator.d.ts +4 -4
- package/types/src/Server/Socket/PageManager.d.ts +1 -1
- package/types/src/Server/Socket/SessionManager.d.ts +1 -1
- package/types/src/library.pub.d.ts +3 -3
- package/types/types/config.d.ts +2 -2
- package/public/assets/index.75c2a5f4.js +0 -75
- package/public/assets/index.bd7a9b66.css +0 -1
- package/public/assets/index.cbc0c532.js +0 -75
@@ -1,24 +1,24 @@
|
|
1
1
|
import { GoogleIconType } from './../../../../Frontend/GoogleIcons';
|
2
2
|
import { BasePage } from 'oksy';
|
3
3
|
import { ContainerType } from '../Container';
|
4
|
-
|
4
|
+
type SidebarMenuItem = {
|
5
5
|
name: string;
|
6
6
|
href: string;
|
7
7
|
icon: GoogleIconType;
|
8
8
|
current: boolean;
|
9
9
|
};
|
10
|
-
|
10
|
+
type ProfileMenuItem = {
|
11
11
|
name: string;
|
12
12
|
href: string;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type DarkSidebarType = {
|
15
15
|
id: string;
|
16
16
|
type: 'DARK_SIDEBAR';
|
17
17
|
sidebarMenuItemsInit: SidebarMenuItem[];
|
18
18
|
profileMenuItemsInit: ProfileMenuItem[];
|
19
19
|
container: ContainerType;
|
20
20
|
};
|
21
|
-
|
21
|
+
type DarkSidebarOptions = {
|
22
22
|
menu: Omit<SidebarMenuItem, 'current'>[];
|
23
23
|
profileMenu?: ProfileMenuItem[];
|
24
24
|
view: () => any[];
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { BasePage } from 'oksy';
|
2
2
|
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
-
export
|
3
|
+
export type SelectItem = {
|
4
4
|
id: string;
|
5
5
|
label: string;
|
6
6
|
};
|
7
|
-
export
|
7
|
+
export type SelectRequest = {
|
8
8
|
totalWithoutFilter: number;
|
9
9
|
items: SelectItem[];
|
10
10
|
};
|
11
|
-
|
11
|
+
type SelectType = {
|
12
12
|
id: string;
|
13
13
|
disabledId: string;
|
14
14
|
optionsId: string;
|
@@ -16,24 +16,24 @@ declare type SelectType = {
|
|
16
16
|
onSelectId: string;
|
17
17
|
classInit: string;
|
18
18
|
};
|
19
|
-
export
|
19
|
+
export type SelectOneType = SelectType & {
|
20
20
|
type: 'SELECT_ONE';
|
21
21
|
};
|
22
|
-
export
|
22
|
+
export type SelectManyType = SelectType & {
|
23
23
|
type: 'SELECT_MANY';
|
24
24
|
onDeselectId: string;
|
25
25
|
};
|
26
|
-
|
26
|
+
type SelectOptions = {
|
27
27
|
class?: string;
|
28
28
|
disabled?: FlatOrFunc<() => boolean>;
|
29
29
|
options: () => SelectItem[];
|
30
30
|
onSelect: (item: null | SelectItem) => void;
|
31
31
|
perPage?: number;
|
32
32
|
};
|
33
|
-
|
33
|
+
type SelectOneOptions = SelectOptions & {
|
34
34
|
selected: () => null | SelectItem;
|
35
35
|
};
|
36
|
-
|
36
|
+
type SelectManyOptions = SelectOptions & {
|
37
37
|
selected: () => SelectItem[];
|
38
38
|
onSelect: (item: SelectItem) => void;
|
39
39
|
onDeselect: (item: SelectItem) => void;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { BasePage } from 'oksy';
|
2
2
|
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
-
export
|
3
|
+
export type TextType = {
|
4
4
|
id: string;
|
5
5
|
type: 'TEXT';
|
6
6
|
labelId: string;
|
7
7
|
classInit: string;
|
8
8
|
};
|
9
|
-
|
9
|
+
type TextOptions = {
|
10
10
|
label: FlatOrFunc<() => string>;
|
11
11
|
class?: string;
|
12
12
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BasePage } from 'oksy';
|
2
2
|
import { FlatOrFunc } from './FlatOrFunc';
|
3
|
-
export
|
3
|
+
export type ToggleType = {
|
4
4
|
id: string;
|
5
5
|
type: 'TOGGLE';
|
6
6
|
stateId: string;
|
@@ -8,7 +8,7 @@ export declare type ToggleType = {
|
|
8
8
|
onToggleId: string;
|
9
9
|
classInit: string;
|
10
10
|
};
|
11
|
-
|
11
|
+
type ToggleOptions = {
|
12
12
|
state: () => boolean;
|
13
13
|
onToggle: (state: boolean) => void;
|
14
14
|
class?: string;
|