@loftyshaky/shared-app 1.2.0 → 2.1.0

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 (217) hide show
  1. package/_locales/en/messages.json +60 -27
  2. package/_locales/ru/messages.json +53 -29
  3. package/announcement.d.ts +1 -1
  4. package/announcement.js +1 -1
  5. package/app.d.ts +1 -1
  6. package/app.js +1 -1
  7. package/chunk-error.js +5 -0
  8. package/chunk-index.js +5 -0
  9. package/chunk-merge.js +5 -0
  10. package/chunk-pickr.min.js +1 -1
  11. package/chunk-title.js +14 -0
  12. package/chunk-viewport.js +5 -0
  13. package/dependencies.js +1 -1
  14. package/dependencies.txt +75 -87
  15. package/ext.d.ts +1 -1
  16. package/ext.js +1 -1
  17. package/globals.d.ts +17 -14
  18. package/inputs.js +1 -1
  19. package/js/apps.js +8 -1
  20. package/js/dependencies.js +4 -0
  21. package/js/task_scheduler.js +7 -1
  22. package/js/webpack.config.js +2 -0
  23. package/package.json +1 -1
  24. package/scss/settings/ext_version.scss +2 -2
  25. package/scss/settings/main.scss +2 -1
  26. package/scss/settings/sections.scss +1 -0
  27. package/scss/shared/btns.scss +15 -1
  28. package/scss/shared/checkboxes.scss +1 -0
  29. package/scss/shared/colors.scss +1 -1
  30. package/scss/shared/group.scss +17 -0
  31. package/scss/shared/help.scss +5 -0
  32. package/scss/shared/inputs.scss +2 -3
  33. package/scss/shared/offers.scss +19 -1
  34. package/scss/shared/selects.scss +22 -16
  35. package/scss/shared/themes/general/template.scss +32 -28
  36. package/scss/shared/transitions.scss +1 -0
  37. package/settings.d.ts +1 -1
  38. package/settings.js +1 -1
  39. package/shared.d.ts +4 -0
  40. package/shared.js +5 -0
  41. package/shared_clean.d.ts +2 -0
  42. package/shared_clean.js +5 -0
  43. package/ts/announcement/internal.d.ts +0 -1
  44. package/ts/dependencies/scripts/dependencies.d.ts +5 -3
  45. package/ts/error_modules/crash_handler/components/body.d.ts +1 -1
  46. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +0 -1
  47. package/ts/error_modules/crash_handler/data/visibility.d.ts +5 -3
  48. package/ts/error_modules/crash_handler/scripts/page.d.ts +5 -3
  49. package/ts/error_modules/css/scripts/css.d.ts +10 -0
  50. package/ts/error_modules/css/scripts/index.d.ts +1 -1
  51. package/ts/error_modules/error/components/prop_types/body.d.ts +1 -1
  52. package/ts/error_modules/error/data/error.d.ts +13 -0
  53. package/ts/error_modules/error/data/index.d.ts +1 -1
  54. package/ts/error_modules/error/data/msg.d.ts +5 -3
  55. package/ts/error_modules/error/data/progress.d.ts +5 -3
  56. package/ts/error_modules/error/data/state.d.ts +6 -4
  57. package/ts/error_modules/error/scripts/flash.d.ts +5 -3
  58. package/ts/error_modules/error/scripts/notification.d.ts +7 -5
  59. package/ts/error_modules/internal.d.ts +2 -1
  60. package/ts/error_modules_clean/error/data/error.d.ts +11 -0
  61. package/ts/error_modules_clean/error/data/index.d.ts +1 -0
  62. package/ts/{error_modules → error_modules_clean}/error/interfaces/index.d.ts +4 -0
  63. package/ts/{error_modules → error_modules_clean}/error/interfaces/show_error.d.ts +3 -0
  64. package/ts/error_modules_clean/error/interfaces/show_error_state_1.d.ts +11 -0
  65. package/ts/error_modules_clean/error/interfaces/show_error_state_1_f.d.ts +2 -0
  66. package/ts/error_modules_clean/error/interfaces/show_error_state_2.d.ts +6 -0
  67. package/ts/error_modules_clean/error/interfaces/show_error_state_2_f.d.ts +2 -0
  68. package/ts/error_modules_clean/error/scripts/index.d.ts +1 -0
  69. package/ts/error_modules_clean/internal.d.ts +4 -0
  70. package/ts/inputs/color/data/color.d.ts +10 -9
  71. package/ts/inputs/color/data/visibility.d.ts +6 -4
  72. package/ts/inputs/color/interfaces/index.d.ts +0 -1
  73. package/ts/inputs/color/obj/color.d.ts +1 -1
  74. package/ts/inputs/color/scripts/color_picker.d.ts +6 -4
  75. package/ts/inputs/color/scripts/position.d.ts +5 -3
  76. package/ts/inputs/components/prop_types/checkbox.d.ts +1 -0
  77. package/ts/inputs/components/prop_types/input_item.d.ts +0 -1
  78. package/ts/inputs/components/prop_types/section_btn.d.ts +1 -1
  79. package/ts/inputs/components/prop_types/text_btn.d.ts +1 -1
  80. package/ts/inputs/data/help.d.ts +5 -3
  81. package/ts/inputs/data/index.d.ts +2 -2
  82. package/ts/inputs/data/input_error.d.ts +6 -4
  83. package/ts/inputs/data/input_width.d.ts +21 -18
  84. package/ts/inputs/data/{labelIn_in_putI_iem.d.ts → label_in_input_item.d.ts} +5 -3
  85. package/ts/inputs/data/nested_input.d.ts +7 -5
  86. package/ts/inputs/data/text.d.ts +5 -3
  87. package/ts/inputs/data/upload_box.d.ts +6 -4
  88. package/ts/inputs/data/val.d.ts +6 -4
  89. package/ts/inputs/interfaces/btn_option.d.ts +1 -1
  90. package/ts/inputs/interfaces/state_cond.d.ts +1 -0
  91. package/ts/inputs/interfaces/text_btn.d.ts +1 -1
  92. package/ts/inputs/obj/file.d.ts +1 -1
  93. package/ts/inputs/obj/input_base.d.ts +1 -1
  94. package/ts/inputs/obj/link.d.ts +1 -1
  95. package/ts/inputs/obj/text.d.ts +4 -1
  96. package/ts/inputs/scripts/resolve.d.ts +2 -3
  97. package/ts/inputs/scripts/upload_box.d.ts +5 -3
  98. package/ts/settings/components/prop_types/body.d.ts +1 -1
  99. package/ts/settings/developer_mode/data/developer_mode.d.ts +15 -0
  100. package/ts/settings/developer_mode/data/index.d.ts +1 -1
  101. package/ts/settings/internal.d.ts +2 -2
  102. package/ts/settings/optional_permissions/data/index.d.ts +1 -1
  103. package/ts/settings/optional_permissions/data/permission.d.ts +17 -0
  104. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -0
  105. package/ts/settings/optional_permissions/interfaces/show_enable_permissions_notification_permission.d.ts +7 -0
  106. package/ts/settings/{data → sections/data}/back_up.d.ts +8 -6
  107. package/ts/settings/sections/data/index.d.ts +2 -0
  108. package/ts/settings/{data → sections/data}/sections.d.ts +22 -20
  109. package/ts/settings/sections/scripts/index.d.ts +1 -0
  110. package/ts/settings/sections/scripts/theme.d.ts +14 -0
  111. package/ts/shared/data/data/cache.d.ts +15 -0
  112. package/ts/shared/data/data/index.d.ts +3 -1
  113. package/ts/shared/data/data/settings.d.ts +11 -0
  114. package/ts/shared/internal.d.ts +1 -17
  115. package/ts/shared/loading_screen/components/prop_types/body.d.ts +1 -1
  116. package/ts/shared/loading_screen/data/index.d.ts +1 -1
  117. package/ts/shared/loading_screen/data/{main.d.ts → visibility.d.ts} +5 -3
  118. package/ts/shared/loading_screen/scripts/roots.d.ts +5 -3
  119. package/ts/shared/loading_screen/scripts/tr.d.ts +5 -3
  120. package/ts/shared/offers/components/ad_label.d.ts +2 -0
  121. package/ts/shared/offers/components/index.d.ts +1 -0
  122. package/ts/shared/offers/data/index.d.ts +1 -1
  123. package/ts/shared/offers/data/{main.d.ts → offers.d.ts} +6 -3
  124. package/ts/shared/offers/obj/offer.d.ts +1 -0
  125. package/ts/shared/offers/scripts/index.d.ts +1 -1
  126. package/ts/shared/offers/scripts/offers.d.ts +11 -0
  127. package/ts/shared/schema/data/index.d.ts +1 -1
  128. package/ts/shared/schema/data/schema.d.ts +14 -0
  129. package/ts/shared/tab_index/scripts/index.d.ts +1 -1
  130. package/ts/shared/tab_index/scripts/{main.d.ts → tab_index.d.ts} +7 -5
  131. package/ts/shared/title/scripts/index.d.ts +1 -1
  132. package/ts/shared/title/scripts/title.d.ts +8 -0
  133. package/ts/shared/tr/components/prop_types/base_tr.d.ts +1 -2
  134. package/ts/shared/tr/data/transition.d.ts +9 -6
  135. package/ts/shared_clean/announcement/scripts/index.d.ts +1 -0
  136. package/ts/shared_clean/announcement/scripts/visibility.d.ts +8 -0
  137. package/ts/{shared → shared_clean}/app.d.ts +5 -3
  138. package/ts/shared_clean/color/interfaces/index.d.ts +1 -0
  139. package/ts/shared_clean/color/scripts/colors.d.ts +9 -0
  140. package/ts/shared_clean/color/scripts/index.d.ts +1 -0
  141. package/ts/{shared/css_vars/scripts/main.d.ts → shared_clean/css_vars/scripts/css_vars.d.ts} +6 -4
  142. package/ts/shared_clean/css_vars/scripts/index.d.ts +1 -0
  143. package/ts/shared_clean/data/data/data.d.ts +1 -0
  144. package/ts/shared_clean/data/data/index.d.ts +2 -0
  145. package/ts/shared_clean/data/data/settings.d.ts +21 -0
  146. package/ts/shared_clean/data/scripts/cache.d.ts +25 -0
  147. package/ts/shared_clean/data/scripts/index.d.ts +3 -0
  148. package/ts/shared_clean/data/scripts/settings.d.ts +12 -0
  149. package/ts/shared_clean/data/scripts/sync.d.ts +11 -0
  150. package/ts/{shared → shared_clean}/ext.d.ts +8 -3
  151. package/ts/shared_clean/functions.d.ts +4 -0
  152. package/ts/shared_clean/globals.d.ts +1 -0
  153. package/ts/shared_clean/internal.d.ts +22 -0
  154. package/ts/shared_clean/no_tr/scripts/index.d.ts +1 -0
  155. package/ts/shared_clean/no_tr/scripts/state.d.ts +14 -0
  156. package/ts/shared_clean/schema/data/index.d.ts +1 -0
  157. package/ts/shared_clean/schema/data/schema.d.ts +21 -0
  158. package/ts/{shared → shared_clean}/schema/obj/transform_item.d.ts +1 -0
  159. package/ts/shared_clean/service_worker/scripts/index.d.ts +1 -0
  160. package/ts/{shared/service_worker/scripts/main.d.ts → shared_clean/service_worker/scripts/service_worker.d.ts} +5 -3
  161. package/ts/shared_clean/theme/scripts/index.d.ts +1 -0
  162. package/ts/shared_clean/theme/scripts/theme.d.ts +13 -0
  163. package/ts/shared_clean/title/scripts/index.d.ts +1 -0
  164. package/ts/shared_clean/title/scripts/title.d.ts +9 -0
  165. package/ts/shared_clean/utils/scripts/index.d.ts +1 -0
  166. package/ts/shared_clean/utils/scripts/utils.d.ts +13 -0
  167. package/ts/shared_clean/viewport/scripts/index.d.ts +1 -0
  168. package/ts/shared_clean/viewport/scripts/viewport.d.ts +10 -0
  169. package/ts/{shared → shared_clean}/x.d.ts +16 -4
  170. package/chunk-main.js +0 -22
  171. package/chunk-main2.js +0 -5
  172. package/chunk-main3.js +0 -5
  173. package/chunk-main4.js +0 -5
  174. package/index.d.ts +0 -3
  175. package/index.js +0 -5
  176. package/ts/announcement/scripts/display.d.ts +0 -6
  177. package/ts/announcement/scripts/index.d.ts +0 -1
  178. package/ts/error_modules/css/scripts/main.d.ts +0 -8
  179. package/ts/error_modules/error/data/main.d.ts +0 -11
  180. package/ts/settings/data/index.d.ts +0 -2
  181. package/ts/settings/developer_mode/data/main.d.ts +0 -13
  182. package/ts/settings/optional_permissions/data/main.d.ts +0 -11
  183. package/ts/settings/scripts/index.d.ts +0 -1
  184. package/ts/settings/scripts/theme.d.ts +0 -12
  185. package/ts/shared/css_vars/scripts/index.d.ts +0 -1
  186. package/ts/shared/functions.d.ts +0 -3
  187. package/ts/shared/header/scripts/index.d.ts +0 -1
  188. package/ts/shared/header/scripts/main.d.ts +0 -6
  189. package/ts/shared/no_tr/scripts/index.d.ts +0 -1
  190. package/ts/shared/no_tr/scripts/main.d.ts +0 -12
  191. package/ts/shared/offers/scripts/main.d.ts +0 -8
  192. package/ts/shared/schema/data/main.d.ts +0 -12
  193. package/ts/shared/service_worker/scripts/index.d.ts +0 -1
  194. package/ts/shared/settings/data/index.d.ts +0 -1
  195. package/ts/shared/settings/data/main.d.ts +0 -15
  196. package/ts/shared/theme/scripts/index.d.ts +0 -1
  197. package/ts/shared/theme/scripts/main.d.ts +0 -11
  198. package/ts/shared/title/scripts/main.d.ts +0 -6
  199. package/ts/shared/utils/scripts/index.d.ts +0 -1
  200. package/ts/shared/utils/scripts/main.d.ts +0 -11
  201. package/ts/shared/viewport/scripts/index.d.ts +0 -1
  202. package/ts/shared/viewport/scripts/main.d.ts +0 -8
  203. /package/ts/{error_modules → error_modules_clean}/error/interfaces/error.d.ts +0 -0
  204. /package/ts/{error_modules → error_modules_clean}/error/interfaces/error_obj.d.ts +0 -0
  205. /package/ts/{error_modules → error_modules_clean}/error/interfaces/notification_type.d.ts +0 -0
  206. /package/ts/{error_modules → error_modules_clean}/error/interfaces/observable_keys.d.ts +0 -0
  207. /package/ts/{error_modules → error_modules_clean}/error/interfaces/show_unable_to_access_settings_error.d.ts +0 -0
  208. /package/ts/{error_modules → error_modules_clean}/error/interfaces/timeout_observable_keys.d.ts +0 -0
  209. /package/ts/{shared → error_modules_clean/error/scripts}/globals.d.ts +0 -0
  210. /package/ts/shared/{app_ext_globals.d.ts → data/data/data.d.ts} +0 -0
  211. /package/ts/{shared/data/data/main.d.ts → shared_clean/app_ext_globals.d.ts} +0 -0
  212. /package/ts/{inputs → shared_clean}/color/interfaces/color.d.ts +0 -0
  213. /package/ts/{shared → shared_clean}/data/interfaces/index.d.ts +0 -0
  214. /package/ts/{shared → shared_clean}/data/interfaces/val.d.ts +0 -0
  215. /package/ts/{shared → shared_clean}/schema/obj/index.d.ts +0 -0
  216. /package/ts/{shared → shared_clean}/t.d.ts +0 -0
  217. /package/ts/{shared → shared_clean}/vars.d.ts +0 -0
@@ -0,0 +1,12 @@
1
+ import { t } from '../../internal';
2
+ declare class Class {
3
+ private static instance;
4
+ static get_instance(): Class;
5
+ private constructor();
6
+ apply_unchanged_prefs: ({ settings, additional_unchanged_prefs, }: {
7
+ settings: any;
8
+ additional_unchanged_prefs?: t.AnyRecord;
9
+ }) => t.AnyRecord;
10
+ }
11
+ export declare const Settings: Class;
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import { t, s_data } from '../../internal';
2
+ export declare class Class {
3
+ private static instance;
4
+ static get_instance(): Class;
5
+ private constructor();
6
+ react_sync: ({ changes, callback, }: {
7
+ changes: any;
8
+ callback: t.CallbackVoid;
9
+ }) => Promise<void>;
10
+ }
11
+ export declare const Sync: s_data.Class;
@@ -1,11 +1,14 @@
1
1
  import { Tabs } from 'webextension-polyfill';
2
2
  import { t } from './internal';
3
3
  export declare const init_page: () => void;
4
- export declare class Ext {
5
- private static i0;
6
- static i(): Ext;
4
+ declare class Class {
5
+ private static instance;
6
+ static get_instance(): Class;
7
7
  private constructor();
8
8
  private force_local_storage;
9
+ updating_storage: boolean;
10
+ only_cache: never[];
11
+ private remove_only_cache;
9
12
  ext_context_invalidated: () => boolean;
10
13
  private log_error;
11
14
  get_app_version: () => string;
@@ -26,3 +29,5 @@ export declare class Ext {
26
29
  storage_remove: (keys: string[]) => Promise<void>;
27
30
  inject_js_and_css_in_content_script: (js_file_paths: string[], css_file_paths: string[]) => Promise<void>;
28
31
  }
32
+ export declare const Ext: Class;
33
+ export {};
@@ -0,0 +1,4 @@
1
+ import { t } from './internal';
2
+ export declare const prevent_default: (e: any) => void;
3
+ export declare const stop_propagation: (e: any) => void;
4
+ export declare const run_in_action_placeholder: (callback: t.CallbackUndefined) => void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ import './app_ext_globals';
2
+ import './globals';
3
+ import './data/data';
4
+ export * from './x';
5
+ export * as t from './t';
6
+ export * as vars from './vars';
7
+ export * from './functions';
8
+ export * as o_schema from './schema/obj';
9
+ export * as d_data from './data/data';
10
+ export * as d_schema from './schema/data';
11
+ export * as s_announcement from './announcement/scripts';
12
+ export * as s_color from './color/scripts';
13
+ export * as s_css_vars from './css_vars/scripts';
14
+ export * as s_data from './data/scripts';
15
+ export * as s_no_tr from './no_tr/scripts';
16
+ export * as s_service_worker from './service_worker/scripts';
17
+ export * as s_theme from './theme/scripts';
18
+ export * as s_title from './title/scripts';
19
+ export * as s_utils from './utils/scripts';
20
+ export * as s_viewport from './viewport/scripts';
21
+ export * as i_color from './color/interfaces';
22
+ export * as i_data from './data/interfaces';
@@ -0,0 +1 @@
1
+ export * from '../../no_tr/scripts/state';
@@ -0,0 +1,14 @@
1
+ declare class Class {
2
+ private static instance;
3
+ static get_instance(): Class;
4
+ private constructor();
5
+ private cls;
6
+ enable: ({ el }?: {
7
+ el?: HTMLElement | ShadowRoot;
8
+ }) => void;
9
+ disable: ({ el }?: {
10
+ el?: HTMLElement | ShadowRoot;
11
+ }) => Promise<void>;
12
+ }
13
+ export declare const State: Class;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from '../../schema/data/schema';
@@ -0,0 +1,21 @@
1
+ import { o_schema } from '../../internal';
2
+ declare class Class {
3
+ private static instance;
4
+ static get_instance(): Class;
5
+ transform: ({ data_obj, version, transform_items, keys_to_remove, force, run_in_action, }: {
6
+ data_obj: any;
7
+ version: number;
8
+ transform_items: o_schema.TransformItem[];
9
+ keys_to_remove?: string[];
10
+ force: boolean;
11
+ run_in_action?: any;
12
+ }) => Promise<any>;
13
+ replace: ({ settings }: {
14
+ settings: any;
15
+ }) => Promise<void>;
16
+ get_version_legacy: ({ settings }: {
17
+ settings: any;
18
+ }) => number;
19
+ }
20
+ export declare const Schema: Class;
21
+ export {};
@@ -2,6 +2,7 @@ export declare class TransformItem {
2
2
  old_key?: string;
3
3
  new_key?: string;
4
4
  new_val?: any;
5
+ update_existing_val?: boolean;
5
6
  create_property_if_it_doesnt_exist?: boolean;
6
7
  constructor(obj: TransformItem);
7
8
  }
@@ -0,0 +1 @@
1
+ export * from '../../service_worker/scripts/service_worker';
@@ -1,9 +1,11 @@
1
- export declare class ServiceWorker {
2
- private static i0;
3
- static i(): ServiceWorker;
1
+ declare class Class {
2
+ private static instance;
3
+ static get_instance(): Class;
4
4
  private constructor();
5
5
  private make_persistent_intervals;
6
6
  private persistent_service_worker;
7
7
  make_persistent: () => Promise<void>;
8
8
  private clear_make_persistent_intervals;
9
9
  }
10
+ export declare const ServiceWorker: Class;
11
+ export {};
@@ -0,0 +1 @@
1
+ export * from '../../theme/scripts/theme';
@@ -0,0 +1,13 @@
1
+ import { t } from '../../internal';
2
+ declare class Class {
3
+ private static instance;
4
+ static get_instance(): Class;
5
+ private constructor();
6
+ set: ({ name, el, additional_theme_callback, }: {
7
+ name: string;
8
+ el?: HTMLElement;
9
+ additional_theme_callback?: t.CallbackVariadicVoid;
10
+ }) => Promise<void>;
11
+ }
12
+ export declare const Theme: Class;
13
+ export {};
@@ -0,0 +1 @@
1
+ export * from '../../title/scripts/title';
@@ -0,0 +1,9 @@
1
+ declare class Class {
2
+ private static instance;
3
+ static get_instance(): Class;
4
+ private constructor();
5
+ get: () => string;
6
+ set: () => void;
7
+ }
8
+ export declare const Title: Class;
9
+ export {};
@@ -0,0 +1 @@
1
+ export * from '../../utils/scripts/utils';
@@ -0,0 +1,13 @@
1
+ import { t } from '../../internal';
2
+ declare class Class {
3
+ private static instance;
4
+ static get_instance(): Class;
5
+ private constructor();
6
+ to_object: ({ arr, section, subsection, }: {
7
+ arr: t.AnyRecord[];
8
+ section?: string;
9
+ subsection?: string;
10
+ }) => t.AnyRecord;
11
+ }
12
+ export declare const Utils: Class;
13
+ export {};
@@ -0,0 +1 @@
1
+ export * from '../../viewport/scripts/viewport';
@@ -0,0 +1,10 @@
1
+ declare class Class {
2
+ private static instance;
3
+ static get_instance(): Class;
4
+ private constructor();
5
+ get_dim: ({ dim }: {
6
+ dim: "width" | "height";
7
+ }) => number;
8
+ }
9
+ export declare const Viewport: Class;
10
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { t } from './internal';
2
- export declare class X {
3
- private static i0;
4
- static i(): X;
2
+ declare class Class {
3
+ private static instance;
4
+ static get_instance(): Class;
5
5
  private constructor();
6
6
  in_service_worker: boolean;
7
7
  invisible_chars: string;
@@ -47,10 +47,22 @@ export declare class X {
47
47
  copy_img: (img_url: string) => void;
48
48
  px: (val: string | number | undefined) => string;
49
49
  insert_invisible_chars_in_title: () => void;
50
- async_debounce<F extends (...args: any[]) => Promise<any>>(f: F, wait?: number): (...args: Parameters<F>) => ReturnType<F>;
50
+ async_debounce<T extends (...args: any[]) => Promise<any>>(f: T, wait: number, options?: {
51
+ leading?: boolean;
52
+ trailing?: boolean;
53
+ maxWait?: number;
54
+ }): (...args: Parameters<T>) => Promise<ReturnType<T>>;
55
+ async_throttle<F extends (...args: any[]) => Promise<any>>(f: F, wait: number, options?: {
56
+ leading?: boolean;
57
+ trailing?: boolean;
58
+ }): (...args: Parameters<F>) => Promise<ReturnType<F>>;
51
59
  private gcd;
52
60
  get_aspect_ratio: (width: number, height: number) => string;
53
61
  percentage: (partial_val: number, total_val: number, round_down?: boolean) => number;
54
62
  wrap_link_in_a: (text: string) => string;
55
63
  pastel_color: () => string;
64
+ settings_are_filled: () => boolean;
65
+ prefs_are_filled: () => boolean;
56
66
  }
67
+ export declare const X: Class;
68
+ export {};