oksy 0.1.6 → 0.1.8

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.
Files changed (47) hide show
  1. package/boot.js +21 -21
  2. package/library.js +1 -1
  3. package/package.json +2 -2
  4. package/public/assets/index.53e319a9.js +75 -0
  5. package/public/assets/index.cad35096.js +75 -0
  6. package/public/assets/index.ef68285e.css +1 -0
  7. package/public/index.html +2 -2
  8. package/types/public/src/Components/Base/File/File.type.d.ts +10 -0
  9. package/types/src/Bootstrap/OrganizeSqlTables.d.ts +1 -1
  10. package/types/src/Bootstrap/ReadFileSystemFilesToTsFiles.d.ts +1 -1
  11. package/types/src/Bootstrap/TsFilesToBlueprint/Blueprint.d.ts +3 -3
  12. package/types/src/Frontend/Controllers/ForgotPasswordController.d.ts +1 -1
  13. package/types/src/Frontend/Controllers/LoginController.d.ts +1 -1
  14. package/types/src/Frontend/Controllers/PageController.d.ts +1 -1
  15. package/types/src/Frontend/Controllers/RegisterController.d.ts +2 -2
  16. package/types/src/Frontend/Controllers/ResetPasswordController.d.ts +2 -2
  17. package/types/src/Frontend/Controllers/ResumeSessionController.d.ts +1 -1
  18. package/types/src/Frontend/FrontendConfig.d.ts +1 -1
  19. package/types/src/Frontend/GoogleIcons.d.ts +1 -1
  20. package/types/src/Frontend/View/Components/Button.d.ts +2 -2
  21. package/types/src/Frontend/View/Components/Container.d.ts +3 -3
  22. package/types/src/Frontend/View/Components/DataTable.d.ts +4 -4
  23. package/types/src/Frontend/View/Components/DateTime.d.ts +21 -0
  24. package/types/src/Frontend/View/Components/File.d.ts +23 -0
  25. package/types/src/Frontend/View/Components/FileUpload.d.ts +3 -3
  26. package/types/src/Frontend/View/Components/FlatOrFunc.d.ts +1 -1
  27. package/types/src/Frontend/View/Components/Input.d.ts +2 -2
  28. package/types/src/Frontend/View/Components/Layout/DarkSidebar.d.ts +4 -4
  29. package/types/src/Frontend/View/Components/Select.d.ts +8 -8
  30. package/types/src/Frontend/View/Components/Text.d.ts +2 -2
  31. package/types/src/Frontend/View/Components/Toggle.d.ts +2 -2
  32. package/types/src/Frontend/View/UI.d.ts +176 -20
  33. package/types/src/Helper/CallStack.d.ts +1 -1
  34. package/types/src/Helper/DateTime.d.ts +3 -1
  35. package/types/src/Helper/Seeder.d.ts +1 -1
  36. package/types/src/Helper/UUID.d.ts +1 -0
  37. package/types/src/Mailer/JsToEmail.d.ts +2 -2
  38. package/types/src/ReactiveStore/BaseEntity.d.ts +2 -2
  39. package/types/src/Server/Socket/BaseCommunicator.d.ts +4 -4
  40. package/types/src/Server/Socket/PageManager.d.ts +1 -1
  41. package/types/src/Server/Socket/SessionManager.d.ts +1 -1
  42. package/types/src/Server/Socket/WebSocketServerClient.d.ts +4 -1
  43. package/types/src/library.pub.d.ts +3 -3
  44. package/types/types/config.d.ts +2 -2
  45. package/public/assets/index.7c7d591a.js +0 -75
  46. package/public/assets/index.ad749efe.js +0 -75
  47. package/public/assets/index.bd7a9b66.css +0 -1
@@ -1,6 +1,6 @@
1
1
  import { BasePage } from 'oksy';
2
2
  import { FlatOrFunc } from './FlatOrFunc';
3
- export declare type InputType = {
3
+ export type InputType = {
4
4
  id: string;
5
5
  type: 'INPUT';
6
6
  disabledId: string;
@@ -9,7 +9,7 @@ export declare type InputType = {
9
9
  classInit: string;
10
10
  typeInit: 'number' | 'text';
11
11
  };
12
- declare type InputOptions = {
12
+ type InputOptions = {
13
13
  setter: (val: string) => void;
14
14
  getter: () => string;
15
15
  disabled?: FlatOrFunc<() => boolean>;
@@ -1,24 +1,24 @@
1
1
  import { GoogleIconType } from './../../../../Frontend/GoogleIcons';
2
2
  import { BasePage } from 'oksy';
3
3
  import { ContainerType } from '../Container';
4
- declare type SidebarMenuItem = {
4
+ type SidebarMenuItem = {
5
5
  name: string;
6
6
  href: string;
7
7
  icon: GoogleIconType;
8
8
  current: boolean;
9
9
  };
10
- declare type ProfileMenuItem = {
10
+ type ProfileMenuItem = {
11
11
  name: string;
12
12
  href: string;
13
13
  };
14
- export declare type DarkSidebarType = {
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
- declare type DarkSidebarOptions = {
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 declare type SelectItem = {
3
+ export type SelectItem = {
4
4
  id: string;
5
5
  label: string;
6
6
  };
7
- export declare type SelectRequest = {
7
+ export type SelectRequest = {
8
8
  totalWithoutFilter: number;
9
9
  items: SelectItem[];
10
10
  };
11
- declare type SelectType = {
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 declare type SelectOneType = SelectType & {
19
+ export type SelectOneType = SelectType & {
20
20
  type: 'SELECT_ONE';
21
21
  };
22
- export declare type SelectManyType = SelectType & {
22
+ export type SelectManyType = SelectType & {
23
23
  type: 'SELECT_MANY';
24
24
  onDeselectId: string;
25
25
  };
26
- declare type SelectOptions = {
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
- declare type SelectOneOptions = SelectOptions & {
33
+ type SelectOneOptions = SelectOptions & {
34
34
  selected: () => null | SelectItem;
35
35
  };
36
- declare type SelectManyOptions = SelectOptions & {
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 declare type TextType = {
3
+ export type TextType = {
4
4
  id: string;
5
5
  type: 'TEXT';
6
6
  labelId: string;
7
7
  classInit: string;
8
8
  };
9
- declare type TextOptions = {
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 declare type ToggleType = {
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
- declare type ToggleOptions = {
11
+ type ToggleOptions = {
12
12
  state: () => boolean;
13
13
  onToggle: (state: boolean) => void;
14
14
  class?: string;