@loftyshaky/shared-app 0.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 (293) hide show
  1. package/_locales/de/messages.json +128 -0
  2. package/_locales/en/messages.json +131 -0
  3. package/_locales/ru/messages.json +128 -0
  4. package/announcement.d.ts +2 -0
  5. package/announcement.js +1 -0
  6. package/app.d.ts +5 -0
  7. package/app.js +1 -0
  8. package/chunk-app-198a1b93.js +1 -0
  9. package/chunk-main-1095d121.js +9 -0
  10. package/chunk-main-651fde68.js +1 -0
  11. package/chunk-main-b3455ac8.js +1 -0
  12. package/chunk-pickr.min-a2459eac.js +1 -0
  13. package/ext.d.ts +5 -0
  14. package/ext.js +1 -0
  15. package/fonts/noto_sans.woff2 +0 -0
  16. package/html/announcement.html +15 -0
  17. package/index.d.ts +3 -0
  18. package/index.js +1 -0
  19. package/inputs.d.ts +2 -0
  20. package/inputs.js +1 -0
  21. package/js/env.js +16 -0
  22. package/js/ext/manifest.js +58 -0
  23. package/js/locales.js +48 -0
  24. package/js/package/plugins/rollup-plugin-copy.js +169 -0
  25. package/js/package/plugins/watcher.js +56 -0
  26. package/js/package/terser.js +18 -0
  27. package/js/project_name.js +5 -0
  28. package/js/projects_path.js +5 -0
  29. package/js/task_scheduler.js +39 -0
  30. package/js/webpack.config.js +156 -0
  31. package/package.json +14 -0
  32. package/scss/announcement/body.scss +10 -0
  33. package/scss/announcement/index.scss +3 -0
  34. package/scss/announcement/main.scss +8 -0
  35. package/scss/settings/ext_version.scss +7 -0
  36. package/scss/settings/index.scss +6 -0
  37. package/scss/settings/main.scss +17 -0
  38. package/scss/settings/section_btns.scss +52 -0
  39. package/scss/settings/sections.scss +22 -0
  40. package/scss/settings/transitions.scss +21 -0
  41. package/scss/shared/all.scss +3 -0
  42. package/scss/shared/btns.scss +39 -0
  43. package/scss/shared/checkboxes.scss +38 -0
  44. package/scss/shared/color_pickers.scss +93 -0
  45. package/scss/shared/colors.scss +84 -0
  46. package/scss/shared/crash_handler.scss +36 -0
  47. package/scss/shared/css_vars.scss +4 -0
  48. package/scss/shared/embed/error.scss +96 -0
  49. package/scss/shared/embed/font_face.scss +5 -0
  50. package/scss/shared/embed/loading_screen.scss +36 -0
  51. package/scss/shared/embed/no_tr.scss +3 -0
  52. package/scss/shared/focus.scss +80 -0
  53. package/scss/shared/group.scss +18 -0
  54. package/scss/shared/help.scss +66 -0
  55. package/scss/shared/hr.scss +6 -0
  56. package/scss/shared/index.scss +29 -0
  57. package/scss/shared/input_btns.scss +11 -0
  58. package/scss/shared/inputs.scss +70 -0
  59. package/scss/shared/inset_border.scss +20 -0
  60. package/scss/shared/link_btns.scss +12 -0
  61. package/scss/shared/links.scss +11 -0
  62. package/scss/shared/mixins.scss +130 -0
  63. package/scss/shared/mods.scss +39 -0
  64. package/scss/shared/range.scss +43 -0
  65. package/scss/shared/scrollbar.scss +35 -0
  66. package/scss/shared/selects.scss +14 -0
  67. package/scss/shared/text.scss +20 -0
  68. package/scss/shared/textareas.scss +7 -0
  69. package/scss/shared/themes/colors/dark.scss +13 -0
  70. package/scss/shared/themes/colors/light.scss +13 -0
  71. package/scss/shared/themes/colors/very_dark.scss +13 -0
  72. package/scss/shared/themes/general/dark_theme.scss +7 -0
  73. package/scss/shared/themes/general/light_theme.scss +7 -0
  74. package/scss/shared/themes/general/template.scss +259 -0
  75. package/scss/shared/themes/general/template_focus.scss +52 -0
  76. package/scss/shared/themes/general/very_dark_theme.scss +7 -0
  77. package/scss/shared/transitions.scss +36 -0
  78. package/scss/shared/upload_box.scss +67 -0
  79. package/scss/shared/vars.scss +19 -0
  80. package/settings.d.ts +2 -0
  81. package/settings.js +1 -0
  82. package/ts/announcement/components/body.d.ts +3 -0
  83. package/ts/announcement/components/index.d.ts +1 -0
  84. package/ts/announcement/components/prop_types/body.d.ts +4 -0
  85. package/ts/announcement/components/prop_types/index.d.ts +1 -0
  86. package/ts/announcement/internal.d.ts +3 -0
  87. package/ts/announcement/scripts/display.d.ts +6 -0
  88. package/ts/announcement/scripts/header.d.ts +6 -0
  89. package/ts/announcement/scripts/index.d.ts +2 -0
  90. package/ts/error_modules/crash_handler/components/body.d.ts +52 -0
  91. package/ts/error_modules/crash_handler/components/index.d.ts +1 -0
  92. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -0
  93. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -0
  94. package/ts/error_modules/crash_handler/data/fatal_error.d.ts +7 -0
  95. package/ts/error_modules/crash_handler/data/index.d.ts +2 -0
  96. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -0
  97. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -0
  98. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -0
  99. package/ts/error_modules/css/scripts/index.d.ts +1 -0
  100. package/ts/error_modules/css/scripts/main.d.ts +8 -0
  101. package/ts/error_modules/error/components/body.d.ts +3 -0
  102. package/ts/error_modules/error/components/close_btn.d.ts +2 -0
  103. package/ts/error_modules/error/components/ext_name.d.ts +2 -0
  104. package/ts/error_modules/error/components/index.d.ts +4 -0
  105. package/ts/error_modules/error/components/msg.d.ts +2 -0
  106. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -0
  107. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -0
  108. package/ts/error_modules/error/data/index.d.ts +3 -0
  109. package/ts/error_modules/error/data/main.d.ts +10 -0
  110. package/ts/error_modules/error/data/msg.d.ts +15 -0
  111. package/ts/error_modules/error/data/state.d.ts +24 -0
  112. package/ts/error_modules/error/interfaces/error.d.ts +6 -0
  113. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -0
  114. package/ts/error_modules/error/interfaces/index.d.ts +5 -0
  115. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -0
  116. package/ts/error_modules/error/interfaces/show_error.d.ts +6 -0
  117. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -0
  118. package/ts/error_modules/error/scripts/globals.d.ts +9 -0
  119. package/ts/error_modules/error/scripts/index.d.ts +1 -0
  120. package/ts/error_modules/internal.d.ts +10 -0
  121. package/ts/inputs/color/components/body.d.ts +3 -0
  122. package/ts/inputs/color/components/color_picker.d.ts +3 -0
  123. package/ts/inputs/color/components/fill_shadow.d.ts +3 -0
  124. package/ts/inputs/color/components/index.d.ts +4 -0
  125. package/ts/inputs/color/components/prop_types/body.d.ts +4 -0
  126. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -0
  127. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -0
  128. package/ts/inputs/color/components/prop_types/index.d.ts +4 -0
  129. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -0
  130. package/ts/inputs/color/components/visualization.d.ts +3 -0
  131. package/ts/inputs/color/data/color.d.ts +54 -0
  132. package/ts/inputs/color/data/index.d.ts +2 -0
  133. package/ts/inputs/color/data/visibility.d.ts +38 -0
  134. package/ts/inputs/color/interfaces/color.d.ts +1 -0
  135. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -0
  136. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -0
  137. package/ts/inputs/color/interfaces/i.d.ts +1 -0
  138. package/ts/inputs/color/interfaces/index.d.ts +4 -0
  139. package/ts/inputs/color/obj/color.d.ts +54 -0
  140. package/ts/inputs/color/obj/index.d.ts +1 -0
  141. package/ts/inputs/color/scripts/color_picker.d.ts +20 -0
  142. package/ts/inputs/color/scripts/index.d.ts +2 -0
  143. package/ts/inputs/color/scripts/position.d.ts +7 -0
  144. package/ts/inputs/components/btn.d.ts +3 -0
  145. package/ts/inputs/components/checkbox.d.ts +3 -0
  146. package/ts/inputs/components/file.d.ts +3 -0
  147. package/ts/inputs/components/group.d.ts +3 -0
  148. package/ts/inputs/components/help.d.ts +3 -0
  149. package/ts/inputs/components/help_btn.d.ts +3 -0
  150. package/ts/inputs/components/hr.d.ts +3 -0
  151. package/ts/inputs/components/icon_btn.d.ts +3 -0
  152. package/ts/inputs/components/index.d.ts +21 -0
  153. package/ts/inputs/components/input_item.d.ts +3 -0
  154. package/ts/inputs/components/label.d.ts +3 -0
  155. package/ts/inputs/components/link.d.ts +3 -0
  156. package/ts/inputs/components/link_btn.d.ts +3 -0
  157. package/ts/inputs/components/prop_types/btn.d.ts +4 -0
  158. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -0
  159. package/ts/inputs/components/prop_types/file.d.ts +4 -0
  160. package/ts/inputs/components/prop_types/group.d.ts +5 -0
  161. package/ts/inputs/components/prop_types/help.d.ts +4 -0
  162. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -0
  163. package/ts/inputs/components/prop_types/hr.d.ts +4 -0
  164. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -0
  165. package/ts/inputs/components/prop_types/index.d.ts +21 -0
  166. package/ts/inputs/components/prop_types/input_item.d.ts +7 -0
  167. package/ts/inputs/components/prop_types/label.d.ts +4 -0
  168. package/ts/inputs/components/prop_types/link.d.ts +4 -0
  169. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -0
  170. package/ts/inputs/components/prop_types/range.d.ts +4 -0
  171. package/ts/inputs/components/prop_types/section.d.ts +4 -0
  172. package/ts/inputs/components/prop_types/section_btn.d.ts +6 -0
  173. package/ts/inputs/components/prop_types/section_content.d.ts +4 -0
  174. package/ts/inputs/components/prop_types/select.d.ts +4 -0
  175. package/ts/inputs/components/prop_types/text.d.ts +4 -0
  176. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -0
  177. package/ts/inputs/components/prop_types/textarea.d.ts +4 -0
  178. package/ts/inputs/components/prop_types/upload_box.d.ts +4 -0
  179. package/ts/inputs/components/range.d.ts +3 -0
  180. package/ts/inputs/components/section.d.ts +3 -0
  181. package/ts/inputs/components/section_btn.d.ts +3 -0
  182. package/ts/inputs/components/section_content.d.ts +3 -0
  183. package/ts/inputs/components/select.d.ts +3 -0
  184. package/ts/inputs/components/text.d.ts +3 -0
  185. package/ts/inputs/components/text_btn.d.ts +3 -0
  186. package/ts/inputs/components/textarea.d.ts +3 -0
  187. package/ts/inputs/components/upload_box.d.ts +3 -0
  188. package/ts/inputs/data/help.d.ts +15 -0
  189. package/ts/inputs/data/index.d.ts +7 -0
  190. package/ts/inputs/data/input_width.d.ts +22 -0
  191. package/ts/inputs/data/label.d.ts +9 -0
  192. package/ts/inputs/data/nested_input.d.ts +18 -0
  193. package/ts/inputs/data/text.d.ts +21 -0
  194. package/ts/inputs/data/upload_box.d.ts +20 -0
  195. package/ts/inputs/data/val.d.ts +36 -0
  196. package/ts/inputs/interfaces/icon_btns.d.ts +2 -0
  197. package/ts/inputs/interfaces/index.d.ts +8 -0
  198. package/ts/inputs/interfaces/input.d.ts +2 -0
  199. package/ts/inputs/interfaces/inputs.d.ts +2 -0
  200. package/ts/inputs/interfaces/links.d.ts +2 -0
  201. package/ts/inputs/interfaces/options.d.ts +2 -0
  202. package/ts/inputs/interfaces/sections.d.ts +2 -0
  203. package/ts/inputs/interfaces/state_cond.d.ts +4 -0
  204. package/ts/inputs/interfaces/text_btn.d.ts +7 -0
  205. package/ts/inputs/internal.d.ts +12 -0
  206. package/ts/inputs/obj/btn.d.ts +5 -0
  207. package/ts/inputs/obj/checkbox.d.ts +5 -0
  208. package/ts/inputs/obj/file.d.ts +8 -0
  209. package/ts/inputs/obj/group.d.ts +6 -0
  210. package/ts/inputs/obj/hr.d.ts +5 -0
  211. package/ts/inputs/obj/icon_btn.d.ts +6 -0
  212. package/ts/inputs/obj/index.d.ts +16 -0
  213. package/ts/inputs/obj/input_base.d.ts +37 -0
  214. package/ts/inputs/obj/link.d.ts +12 -0
  215. package/ts/inputs/obj/link_btn.d.ts +5 -0
  216. package/ts/inputs/obj/option.d.ts +6 -0
  217. package/ts/inputs/obj/range.d.ts +20 -0
  218. package/ts/inputs/obj/section.d.ts +17 -0
  219. package/ts/inputs/obj/select.d.ts +9 -0
  220. package/ts/inputs/obj/text.d.ts +17 -0
  221. package/ts/inputs/obj/textarea.d.ts +5 -0
  222. package/ts/inputs/obj/upload_box.d.ts +14 -0
  223. package/ts/inputs/scripts/index.d.ts +2 -0
  224. package/ts/inputs/scripts/resolve.d.ts +5 -0
  225. package/ts/inputs/scripts/upload_box.d.ts +8 -0
  226. package/ts/settings/components/body.d.ts +3 -0
  227. package/ts/settings/components/index.d.ts +1 -0
  228. package/ts/settings/components/prop_types/body.d.ts +7 -0
  229. package/ts/settings/components/prop_types/index.d.ts +1 -0
  230. package/ts/settings/data/back_up.d.ts +16 -0
  231. package/ts/settings/data/index.d.ts +2 -0
  232. package/ts/settings/data/sections.d.ts +37 -0
  233. package/ts/settings/init.d.ts +1 -0
  234. package/ts/settings/internal.d.ts +9 -0
  235. package/ts/settings/optional_permissions/data/index.d.ts +1 -0
  236. package/ts/settings/optional_permissions/data/main.d.ts +11 -0
  237. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -0
  238. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -0
  239. package/ts/settings/schema/data/index.d.ts +1 -0
  240. package/ts/settings/schema/data/main.d.ts +10 -0
  241. package/ts/settings/schema/obj/index.d.ts +1 -0
  242. package/ts/settings/schema/obj/transform_item.d.ts +7 -0
  243. package/ts/settings/scripts/index.d.ts +1 -0
  244. package/ts/settings/scripts/theme.d.ts +12 -0
  245. package/ts/shared/app.d.ts +10 -0
  246. package/ts/shared/app_ext_globals.d.ts +6 -0
  247. package/ts/shared/css_vars/scripts/index.d.ts +1 -0
  248. package/ts/shared/css_vars/scripts/main.d.ts +18 -0
  249. package/ts/shared/data/data/index.d.ts +1 -0
  250. package/ts/shared/data/data/main.d.ts +4 -0
  251. package/ts/shared/data/interfaces/index.d.ts +1 -0
  252. package/ts/shared/data/interfaces/val.d.ts +2 -0
  253. package/ts/shared/ext.d.ts +27 -0
  254. package/ts/shared/ext_version/components/body.d.ts +2 -0
  255. package/ts/shared/ext_version/components/index.d.ts +1 -0
  256. package/ts/shared/functions.d.ts +3 -0
  257. package/ts/shared/globals.d.ts +4 -0
  258. package/ts/shared/init.d.ts +1 -0
  259. package/ts/shared/internal.d.ts +28 -0
  260. package/ts/shared/loading_screen/components/body.d.ts +3 -0
  261. package/ts/shared/loading_screen/components/index.d.ts +1 -0
  262. package/ts/shared/loading_screen/components/prop_types/body.d.ts +4 -0
  263. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -0
  264. package/ts/shared/loading_screen/data/index.d.ts +1 -0
  265. package/ts/shared/loading_screen/data/main.d.ts +10 -0
  266. package/ts/shared/no_tr/scripts/index.d.ts +1 -0
  267. package/ts/shared/no_tr/scripts/main.d.ts +12 -0
  268. package/ts/shared/svg.d.ts +7 -0
  269. package/ts/shared/t.d.ts +34 -0
  270. package/ts/shared/tab_index/interfaces/index.d.ts +1 -0
  271. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -0
  272. package/ts/shared/tab_index/scripts/index.d.ts +1 -0
  273. package/ts/shared/tab_index/scripts/main.d.ts +18 -0
  274. package/ts/shared/theme/scripts/index.d.ts +1 -0
  275. package/ts/shared/theme/scripts/main.d.ts +11 -0
  276. package/ts/shared/title/scripts/index.d.ts +1 -0
  277. package/ts/shared/title/scripts/main.d.ts +6 -0
  278. package/ts/shared/tr/components/base_tr.d.ts +9 -0
  279. package/ts/shared/tr/components/index.d.ts +1 -0
  280. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -0
  281. package/ts/shared/tr/components/prop_types/index.d.ts +1 -0
  282. package/ts/shared/tr/data/index.d.ts +1 -0
  283. package/ts/shared/tr/data/transition.d.ts +23 -0
  284. package/ts/shared/tr/interfaces/index.d.ts +1 -0
  285. package/ts/shared/tr/interfaces/transitions.d.ts +2 -0
  286. package/ts/shared/tr/obj/index.d.ts +1 -0
  287. package/ts/shared/tr/obj/transition.d.ts +8 -0
  288. package/ts/shared/utils/scripts/index.d.ts +1 -0
  289. package/ts/shared/utils/scripts/main.d.ts +11 -0
  290. package/ts/shared/vars.d.ts +1 -0
  291. package/ts/shared/viewport/scripts/index.d.ts +1 -0
  292. package/ts/shared/viewport/scripts/main.d.ts +8 -0
  293. package/ts/shared/x.d.ts +60 -0
@@ -0,0 +1,5 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class Textarea extends o_inputs.InputBase {
3
+ type?: 'textarea';
4
+ constructor(obj: Textarea);
5
+ }
@@ -0,0 +1,14 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class UploadBox extends o_inputs.InputBase {
3
+ type?: 'upload_box';
4
+ multiple?: boolean;
5
+ accept?: string;
6
+ loading_msg_is_visible?: boolean;
7
+ error_msg_is_visible?: boolean;
8
+ is_in_hover_state?: boolean;
9
+ drag_counter?: number;
10
+ constructor(obj: UploadBox);
11
+ loading_msg_visibility_cls?: ((this: UploadBox) => string) | undefined;
12
+ error_msg_visibility_cls?: ((this: UploadBox) => string) | undefined;
13
+ loading_cls?: ((this: UploadBox) => string) | undefined;
14
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./resolve";
2
+ export * from "./upload_box";
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { o_inputs, i_inputs } from "../internal";
3
+ export declare const resolve: ({ input }: {
4
+ input: i_inputs.Input | o_inputs.Link;
5
+ }) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare class UploadBox {
2
+ private static i0;
3
+ static i(): UploadBox;
4
+ private constructor();
5
+ trigger_click_on_file_input: ({ file_input, }: {
6
+ file_input: HTMLInputElement | null;
7
+ }) => void;
8
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_settings } from "../internal";
3
+ export declare const Body: React.FunctionComponent<p_settings.Body>;
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1,7 @@
1
+ import { t } from "../../../shared/internal";
2
+ import { i_inputs } from "../../../inputs/internal";
3
+ export interface Body {
4
+ sections: i_inputs.Sections;
5
+ initial_section: string;
6
+ change_section_callback: t.CallbackVoid;
7
+ }
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1,16 @@
1
+ import { ChangeEvent } from 'react';
2
+ import { t } from "../../shared/internal";
3
+ import { o_inputs } from "../../inputs/internal";
4
+ export declare class BackUp {
5
+ private static i0;
6
+ static i(): BackUp;
7
+ private constructor();
8
+ download: ({ data_obj }: {
9
+ data_obj: t.AnyRecord | string;
10
+ }) => void;
11
+ open_file_browser: () => void;
12
+ upload: ({ input, }: {
13
+ input: o_inputs.File;
14
+ }, e: ChangeEvent) => Promise<void>;
15
+ private read;
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./back_up";
2
+ export * from "./sections";
@@ -0,0 +1,37 @@
1
+ import { t } from "../../shared/internal";
2
+ import { o_inputs, i_inputs } from "../../inputs/internal";
3
+ export declare class Sections {
4
+ private static i0;
5
+ static i(): Sections;
6
+ private constructor();
7
+ current_section: string;
8
+ private options;
9
+ init_options: () => void;
10
+ get_shared_input: ({ input_change_val_callback, }: {
11
+ input_change_val_callback: t.CallbackVariadicVoid;
12
+ }) => {
13
+ [index: string]: i_inputs.Input;
14
+ };
15
+ selected_cls: (this: Sections, { section_name }: {
16
+ section_name: string;
17
+ }) => string;
18
+ tab_index: (this: Sections, { section_name }: {
19
+ section_name: string;
20
+ }) => number | undefined;
21
+ change: ({ section_name, callback, }: {
22
+ section_name: string;
23
+ callback?: t.CallbackVoid | undefined;
24
+ }) => void;
25
+ private reload_ext;
26
+ make_shared_sections: ({ download_back_up_callback, download_back_up_final_callback, upload_back_up_callback, restore_defaults_callback, input_change_val_callback, admin_inputs, restore_inputs, include_back_up_help, back_up_help_msg, }: {
27
+ download_back_up_callback: t.CallbackAnyObj;
28
+ download_back_up_final_callback?: t.CallbackVoid | undefined;
29
+ upload_back_up_callback: t.CallbackVariadicVoid;
30
+ restore_defaults_callback: t.CallbackVoid;
31
+ input_change_val_callback: t.CallbackVariadicVoid;
32
+ admin_inputs?: i_inputs.Input[] | undefined;
33
+ restore_inputs?: i_inputs.Input[] | undefined;
34
+ include_back_up_help?: boolean | undefined;
35
+ back_up_help_msg?: string | undefined;
36
+ }) => o_inputs.Section[];
37
+ }
@@ -0,0 +1 @@
1
+ export declare const init_settings: () => void;
@@ -0,0 +1,9 @@
1
+ export * from "./init";
2
+ export * as c_settings from "./components";
3
+ export * as o_schema from "./schema/obj";
4
+ export * as d_settings from "./data";
5
+ export * as d_optional_permissions from "./optional_permissions/data";
6
+ export * as d_schema from "./schema/data";
7
+ export * as s_settings from "./scripts";
8
+ export * as p_settings from "./components/prop_types";
9
+ export * as i_optional_permissions from "./optional_permissions/interfaces";
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,11 @@
1
+ import { i_optional_permissions } from "../../internal";
2
+ export declare class Main {
3
+ private static i0;
4
+ static i(): Main;
5
+ private constructor();
6
+ set_permission: ({ name, optional_permission_checkbox_dict, }: {
7
+ name: string;
8
+ optional_permission_checkbox_dict: i_optional_permissions.OptionalPermissionCheckboxDict;
9
+ }) => Promise<void>;
10
+ private set_checkbox_val;
11
+ }
@@ -0,0 +1 @@
1
+ export * from "./optional_permission_checkbox_dict";
@@ -0,0 +1,3 @@
1
+ export interface OptionalPermissionCheckboxDict {
2
+ [index: string]: any;
3
+ }
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,10 @@
1
+ import { o_schema } from "../../internal";
2
+ export declare class Main {
3
+ private static i0;
4
+ static i(): Main;
5
+ private constructor();
6
+ transform: ({ settings, transform_items, }: {
7
+ settings: any;
8
+ transform_items: o_schema.TransformItem[];
9
+ }) => Promise<any>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./transform_item";
@@ -0,0 +1,7 @@
1
+ export declare class TransformItem {
2
+ old_key?: string;
3
+ new_key?: string;
4
+ new_val?: any;
5
+ create_property_if_it_doesnt_exist?: boolean;
6
+ constructor(obj: TransformItem);
7
+ }
@@ -0,0 +1 @@
1
+ export * from "./theme";
@@ -0,0 +1,12 @@
1
+ import { t } from "../../shared/internal";
2
+ import { i_inputs } from "../../inputs/internal";
3
+ export declare class Theme {
4
+ private static i0;
5
+ static i(): Theme;
6
+ private constructor();
7
+ change: ({ input, name, additional_theme_callback, }: {
8
+ input: i_inputs.Input;
9
+ name: string;
10
+ additional_theme_callback?: t.CallbackVariadicVoid | undefined;
11
+ }) => void;
12
+ }
@@ -0,0 +1,10 @@
1
+ export declare const init_page: () => void;
2
+ export declare class App {
3
+ private static i0;
4
+ static i(): App;
5
+ private constructor();
6
+ private log_error;
7
+ get_ext_version: () => string;
8
+ msg: (msg: string) => string;
9
+ read_env_into_global_var: () => void;
10
+ }
@@ -0,0 +1,6 @@
1
+ declare global {
2
+ const is_ext: boolean;
3
+ const page: string;
4
+ const misplaced_dependency: (culprit_page: string) => void;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,18 @@
1
+ export declare class Main {
2
+ private static i0;
3
+ static i(): Main;
4
+ private constructor();
5
+ get: ({ name, el }: {
6
+ name: string;
7
+ el?: HTMLElement | undefined;
8
+ }) => string;
9
+ set_var: ({ roots, name, val, }: {
10
+ roots: HTMLElement[];
11
+ name: string;
12
+ val: string;
13
+ }) => void;
14
+ set_transition_vars: ({ roots, transition_duration, }: {
15
+ roots: HTMLElement[];
16
+ transition_duration: string;
17
+ }) => void;
18
+ }
@@ -0,0 +1 @@
1
+ import "./main";
@@ -0,0 +1,4 @@
1
+ import { t } from "../../internal";
2
+ declare global {
3
+ let data: t.AnyRecord;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./val";
@@ -0,0 +1,2 @@
1
+ import { t } from "../../internal";
2
+ export declare type Val = t.AnyUndefined;
@@ -0,0 +1,27 @@
1
+ import { browser, Tabs } from 'webextension-polyfill-ts';
2
+ import { t } from "./internal";
3
+ declare global {
4
+ const we: typeof browser;
5
+ }
6
+ export declare const init_page: () => void;
7
+ export declare class Ext {
8
+ private static i0;
9
+ static i(): Ext;
10
+ private constructor();
11
+ private log_error;
12
+ get_ext_version: () => string;
13
+ iterate_all_tabs: (callback: t.CallbackVariadicVoid) => Promise<void>;
14
+ msg: (msg: string) => string;
15
+ get_active_tab: () => Promise<Tabs.Tab | undefined>;
16
+ send_msg: (msg: t.Msg) => Promise<void>;
17
+ send_msg_resp: (msg: t.Msg) => Promise<any>;
18
+ send_msg_to_tab: (id: number, msg: t.Msg) => Promise<void>;
19
+ send_msg_to_tab_resp: (id: number, msg: t.Msg) => Promise<any>;
20
+ send_msg_to_active_tab: (msg: t.Msg) => Promise<void>;
21
+ send_msg_to_active_tab_resp: (msg: t.Msg) => Promise<any>;
22
+ send_msg_to_all_tabs: (msg: t.Msg) => Promise<void>;
23
+ storage_get: (keys?: string | string[] | undefined) => Promise<any>;
24
+ storage_set: (obj: t.AnyRecord, replace?: boolean | undefined) => Promise<void>;
25
+ storage_remove: (keys: string[]) => Promise<void>;
26
+ inject_js_and_css_in_content_script: (js_file_paths: string[], css_file_paths: string[]) => Promise<void>;
27
+ }
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Body: React.FunctionComponent;
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1,3 @@
1
+ import { SyntheticEvent } from 'react';
2
+ export declare const prevent_default: (e: SyntheticEvent) => void;
3
+ export declare const stop_propagation: (e: SyntheticEvent) => void;
@@ -0,0 +1,4 @@
1
+ import { X } from "./x";
2
+ declare global {
3
+ const x: X;
4
+ }
@@ -0,0 +1 @@
1
+ export declare const init_shared: () => void;
@@ -0,0 +1,28 @@
1
+ import "./app_ext_globals";
2
+ import "./globals";
3
+ import "./data/data";
4
+ export * from "./x";
5
+ export * from "./svg";
6
+ export * as svg_namespace from "./svg";
7
+ export * as t from "./t";
8
+ export * as vars from "./vars";
9
+ export * from "./functions";
10
+ export * from "./init";
11
+ export * as c_ext_version from "./ext_version/components";
12
+ export * as c_loading_screen from "./loading_screen/components";
13
+ export * as c_tr from "./tr/components";
14
+ export * as o_tr from "./tr/obj";
15
+ export * as d_loading_screen from "./loading_screen/data";
16
+ export * as d_tr from "./tr/data";
17
+ export * as s_css_vars from "./css_vars/scripts";
18
+ export * as s_no_tr from "./no_tr/scripts";
19
+ export * as s_tab_index from "./tab_index/scripts";
20
+ export * as s_theme from "./theme/scripts";
21
+ export * as s_title from "./title/scripts";
22
+ export * as s_utils from "./utils/scripts";
23
+ export * as s_viewport from "./viewport/scripts";
24
+ export * as p_loading_screen from "./loading_screen/components/prop_types";
25
+ export * as p_tr from "./tr/components/prop_types";
26
+ export * as i_data from "./data/interfaces";
27
+ export * as i_tab_index from "./tab_index/interfaces";
28
+ export * as i_tr from "./tr/interfaces";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_loading_screen } from "../../internal";
3
+ export declare const Body: React.FunctionComponent<p_loading_screen.Body>;
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1,4 @@
1
+ import { t } from "../../../internal";
2
+ export interface Body {
3
+ on_render: t.CallbackVoid;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,10 @@
1
+ export declare class Main {
2
+ private static i0;
3
+ static i(): Main;
4
+ private constructor();
5
+ outer_is_visible: boolean;
6
+ private inner_is_none;
7
+ get inner_visibility_cls(): string;
8
+ show: () => Promise<void>;
9
+ hide: () => Promise<void>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,12 @@
1
+ export declare class Main {
2
+ private static i0;
3
+ static i(): Main;
4
+ private constructor();
5
+ private cls;
6
+ enable: ({ el }?: {
7
+ el?: HTMLElement | ShadowRoot | undefined;
8
+ }) => void;
9
+ disable: ({ el }?: {
10
+ el?: HTMLElement | ShadowRoot | undefined;
11
+ }) => Promise<void>;
12
+ }
@@ -0,0 +1,7 @@
1
+ export declare type SvgType = {
2
+ Check: string;
3
+ Close: string;
4
+ Help: string;
5
+ Hourglass: string;
6
+ };
7
+ export declare const svg: SvgType;
@@ -0,0 +1,34 @@
1
+ export declare type XEl = HTMLElement | ShadowRoot | ChildNode | undefined | null;
2
+ export declare type XElNoShadow = HTMLElement | ChildNode | undefined | null;
3
+ export declare type XEls = HTMLElement[] | NodeList | HTMLElement | undefined;
4
+ export declare type Browser = 'chrome' | 'edge' | 'opera' | 'firefox';
5
+ export declare type BaseEl = Document | ShadowRoot | HTMLElement | undefined;
6
+ export declare type Any = string | number | boolean | AnyRecord;
7
+ export declare type AnyUndefined = string | number | boolean | AnyRecord | undefined;
8
+ export declare type AnyArray = string[] | number[] | boolean[] | AnyRecord[];
9
+ export declare type AnyArrayUndefined = string[] | number[] | boolean[] | AnyRecord[] | undefined;
10
+ export declare type AnyRecord = Record<string, any>;
11
+ export declare type EmptyRecord = Record<string, never>;
12
+ export declare type StringRecord = Record<string, string>;
13
+ export declare type CallbackString = () => string;
14
+ export declare type CallbackNumber = () => number;
15
+ export declare type CallbackBoolean = () => boolean;
16
+ export declare type CallbackUndefined = () => undefined;
17
+ export declare type CallbackAnyObj = () => AnyRecord;
18
+ export declare type CallbackVoid = () => void;
19
+ export declare type CallbackAny = () => any;
20
+ export declare type CallbackVariadicString = (...args: any[]) => string;
21
+ export declare type CallbackVariadicNumber = (...args: any[]) => number;
22
+ export declare type CallbackVariadicBoolean = (...args: any[]) => boolean;
23
+ export declare type CallbackVariadicUndefined = (...args: any[]) => undefined;
24
+ export declare type CallbackVariadicAnyObj = (...args: any[]) => AnyRecord;
25
+ export declare type CallbackVariadicVoid = (...args: any[]) => void;
26
+ export declare type CallbackVariadicAny = (...args: any[]) => any;
27
+ export declare type Constructable<T1> = new (args?: T1) => T1;
28
+ export interface Env {
29
+ browser: Browser;
30
+ mode: 'development' | 'production';
31
+ }
32
+ export interface Msg {
33
+ [index: string]: any;
34
+ }
@@ -0,0 +1 @@
1
+ export * from "./set_Input_type_event";
@@ -0,0 +1,2 @@
1
+ import { MouseEvent, KeyboardEvent } from 'react';
2
+ export declare type SetInputTypeEvent = MouseEvent | KeyboardEvent;
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,18 @@
1
+ import { KeyboardEvent } from 'react';
2
+ import { o_color, i_color } from "../../../inputs/internal";
3
+ export declare class Main {
4
+ private static i0;
5
+ static i(): Main;
6
+ outer_is_visible: boolean;
7
+ inner_is_none: boolean;
8
+ private set_input_type;
9
+ bind_set_input_type_f: ({ parent, app_id, }?: {
10
+ parent?: HTMLElement | undefined;
11
+ app_id?: string | undefined;
12
+ }) => void;
13
+ simulate_click_on_enter: (e: KeyboardEvent) => void;
14
+ simulate_color_visualization_click_on_enter: ({ input, i, }: {
15
+ input: o_color.Color;
16
+ i: i_color.I;
17
+ }, e: KeyboardEvent) => void;
18
+ }
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,11 @@
1
+ import { t } from "../../internal";
2
+ export declare class Main {
3
+ private static i0;
4
+ static i(): Main;
5
+ private constructor();
6
+ set: ({ name, el, additional_theme_callback, }: {
7
+ name: string;
8
+ el?: HTMLElement | undefined;
9
+ additional_theme_callback?: t.CallbackVariadicVoid | undefined;
10
+ }) => Promise<void>;
11
+ }
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,6 @@
1
+ export declare class Main {
2
+ private static i0;
3
+ static i(): Main;
4
+ private constructor();
5
+ set: () => void;
6
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { p_tr, i_tr } from "../../internal";
3
+ export declare class BaseTr extends React.Component<p_tr.BaseTr> {
4
+ private tr_el_ref;
5
+ transitions: i_tr.Transitions;
6
+ componentDidMount(): void;
7
+ componentDidUpdate(): void;
8
+ render(): JSX.Element;
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./base_tr";
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { t } from "../../../internal";
3
+ export interface BaseTr {
4
+ name: string;
5
+ tag: any;
6
+ cls: string;
7
+ state: boolean;
8
+ attr?: Record<string, any>;
9
+ style?: Record<string, string | number | undefined>;
10
+ tr_end_unactive?: t.CallbackVoid[];
11
+ tr_end_active?: t.CallbackVoid[];
12
+ children: React.ReactNode;
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./base_tr";
@@ -0,0 +1 @@
1
+ export * from "./transition";
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { t, i_tr } from "../../internal";
3
+ export declare class Transition {
4
+ private static i0;
5
+ static i(): Transition;
6
+ private constructor();
7
+ handle_transition: ({ name, state, tr_end_unactive, tr_end_active, tr_el_ref, called_from_component_did_update, }: {
8
+ name: string;
9
+ state: boolean;
10
+ tr_end_unactive?: t.CallbackVoid[] | undefined;
11
+ tr_end_active?: t.CallbackVoid[] | undefined;
12
+ tr_el_ref: React.RefObject<HTMLElement>;
13
+ called_from_component_did_update: boolean;
14
+ }, e?: React.TransitionEvent<Element> | undefined) => void;
15
+ transit: ({ transitions, name, state, }: {
16
+ transitions: i_tr.Transitions;
17
+ name: string;
18
+ state: boolean;
19
+ }) => string;
20
+ run_tr_end_callbacks: ({ tr_end_callbacks, }: {
21
+ tr_end_callbacks: t.CallbackVariadicVoid[];
22
+ }, e: React.TransitionEvent) => void;
23
+ }
@@ -0,0 +1 @@
1
+ export * from "./transitions";
@@ -0,0 +1,2 @@
1
+ import { o_tr } from "../../internal";
2
+ export declare type Transitions = Record<string, o_tr.Transition>;
@@ -0,0 +1 @@
1
+ export * from "./transition";
@@ -0,0 +1,8 @@
1
+ export declare class Transition {
2
+ unactive_cls: string;
3
+ active_cls: string;
4
+ constructor(obj: {
5
+ unactive_cls: string;
6
+ active_cls: string;
7
+ });
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,11 @@
1
+ import { t } from "../../internal";
2
+ export declare class Main {
3
+ private static i0;
4
+ static i(): Main;
5
+ private constructor();
6
+ to_object: ({ arr, section, subsection, }: {
7
+ arr: t.AnyRecord[];
8
+ section?: string | undefined;
9
+ subsection?: string | undefined;
10
+ }) => t.AnyRecord;
11
+ }
@@ -0,0 +1 @@
1
+ export declare const scrollbar_width = 17;
@@ -0,0 +1 @@
1
+ export * from "./main";
@@ -0,0 +1,8 @@
1
+ export declare class Main {
2
+ private static i0;
3
+ static i(): Main;
4
+ private constructor();
5
+ get_dim: ({ dim }: {
6
+ dim: 'width' | 'height';
7
+ }) => number;
8
+ }