@loftyshaky/shared 0.0.43 → 1.0.1

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 (44) hide show
  1. package/_locales/en/messages.json +1 -1
  2. package/_locales/ru/messages.json +1 -1
  3. package/announcement.js +1 -1
  4. package/app.js +1 -1
  5. package/chunk-main-4661c4ad.js +1 -0
  6. package/chunk-main-536b8e4c.js +9 -0
  7. package/chunk-main-53e40464.js +1 -0
  8. package/chunk-pickr.min-e4e11a57.js +1 -0
  9. package/ext.js +1 -1
  10. package/index.d.ts +1 -1
  11. package/index.js +1 -1
  12. package/inputs.js +1 -1
  13. package/js/apps.js +6 -3
  14. package/js/env.js +1 -1
  15. package/js/ext/manifest.js +58 -58
  16. package/js/locales.js +1 -1
  17. package/js/webpack.config.js +9 -1
  18. package/package.json +1 -1
  19. package/scss/shared/embed/hidden_roots.scss +3 -0
  20. package/scss/shared/focus.scss +1 -1
  21. package/scss/shared/scrollbar.scss +1 -1
  22. package/scss/shared/themes/colors/dark.scss +2 -2
  23. package/scss/shared/themes/colors/light.scss +5 -5
  24. package/scss/shared/themes/colors/very_dark.scss +2 -2
  25. package/scss/shared/themes/general/template.scss +3 -3
  26. package/scss/shared/themes/general/template_focus.scss +5 -5
  27. package/scss/shared/transitions.scss +1 -1
  28. package/settings.js +1 -1
  29. package/ts/error_modules/crash_handler/data/index.d.ts +0 -1
  30. package/ts/shared/app.d.ts +10 -2
  31. package/ts/shared/{ext_version → app_version}/components/body.d.ts +0 -0
  32. package/ts/shared/{ext_version → app_version}/components/index.d.ts +0 -0
  33. package/ts/shared/ext.d.ts +1 -1
  34. package/ts/shared/internal.d.ts +2 -1
  35. package/ts/shared/loading_screen/components/prop_types/body.d.ts +1 -0
  36. package/ts/shared/loading_screen/data/main.d.ts +3 -1
  37. package/ts/shared/loading_screen/scripts/index.d.ts +2 -0
  38. package/ts/shared/loading_screen/scripts/roots.d.ts +11 -0
  39. package/ts/shared/loading_screen/scripts/tr.d.ts +8 -0
  40. package/chunk-main-30216ab6.js +0 -9
  41. package/chunk-main-3fee580d.js +0 -1
  42. package/chunk-main-70539558.js +0 -1
  43. package/chunk-pickr.min-f7ab594a.js +0 -1
  44. package/ts/error_modules/crash_handler/data/fatal_error.d.ts +0 -7
@@ -4,7 +4,15 @@ export declare class App {
4
4
  static i(): App;
5
5
  private constructor();
6
6
  private log_error;
7
- get_ext_version: () => string;
7
+ [index: string]: any;
8
+ private origin;
9
+ private package_json;
10
+ private messages_en_json;
11
+ private messages_ru_json;
12
+ private messages_de_json;
13
+ private resolve;
14
+ read_data_into_vars: () => Promise<string>;
15
+ get_app_version: () => string;
8
16
  msg: (msg: string) => string;
9
- read_env_into_global_var: () => void;
17
+ read_env_into_global_var: () => Promise<void>;
10
18
  }
@@ -9,7 +9,7 @@ export declare class Ext {
9
9
  static i(): Ext;
10
10
  private constructor();
11
11
  private log_error;
12
- get_ext_version: () => string;
12
+ get_app_version: () => string;
13
13
  iterate_all_tabs: (callback: t.CallbackVariadicVoid) => Promise<void>;
14
14
  msg: (msg: string) => string;
15
15
  get_active_tab: () => Promise<Tabs.Tab | undefined>;
@@ -8,13 +8,14 @@ export * as t from "./t";
8
8
  export * as vars from "./vars";
9
9
  export * from "./functions";
10
10
  export * from "./init";
11
- export * as c_ext_version from "./ext_version/components";
11
+ export * as c_app_version from "./app_version/components";
12
12
  export * as c_loading_screen from "./loading_screen/components";
13
13
  export * as c_tr from "./tr/components";
14
14
  export * as o_tr from "./tr/obj";
15
15
  export * as d_loading_screen from "./loading_screen/data";
16
16
  export * as d_tr from "./tr/data";
17
17
  export * as s_css_vars from "./css_vars/scripts";
18
+ export * as s_loading_screen from "./loading_screen/scripts";
18
19
  export * as s_no_tr from "./no_tr/scripts";
19
20
  export * as s_tab_index from "./tab_index/scripts";
20
21
  export * as s_theme from "./theme/scripts";
@@ -1,4 +1,5 @@
1
1
  import { t } from "../../../internal";
2
2
  export interface Body {
3
+ app_id: string;
3
4
  on_render: t.CallbackVoid;
4
5
  }
@@ -6,5 +6,7 @@ export declare class Main {
6
6
  private inner_is_none;
7
7
  get inner_visibility_cls(): string;
8
8
  show: () => Promise<void>;
9
- hide: () => Promise<void>;
9
+ hide: ({ app_id }: {
10
+ app_id: string;
11
+ }) => Promise<void>;
10
12
  }
@@ -0,0 +1,2 @@
1
+ export * from "./roots";
2
+ export * from "./tr";
@@ -0,0 +1,11 @@
1
+ export declare class Roots {
2
+ private static i0;
3
+ static i(): Roots;
4
+ private constructor();
5
+ hide_roots: ({ app_id }: {
6
+ app_id: string;
7
+ }) => void;
8
+ show_roots: ({ app_id }: {
9
+ app_id: string;
10
+ }) => void;
11
+ }
@@ -0,0 +1,8 @@
1
+ export declare class Tr {
2
+ private static i0;
3
+ static i(): Tr;
4
+ private constructor();
5
+ private loading_screen_root_selector;
6
+ enable_no_tr: () => void;
7
+ disable_no_tr: () => void;
8
+ }