@loftyshaky/shared-app 1.1.0 → 1.2.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 (330) hide show
  1. package/LICENSE.md +21 -0
  2. package/_locales/de/messages.json +1 -1
  3. package/_locales/en/messages.json +44 -20
  4. package/_locales/ru/messages.json +6 -18
  5. package/announcement.d.ts +2 -2
  6. package/announcement.js +5 -1
  7. package/app.d.ts +1 -5
  8. package/app.js +5 -1
  9. package/chunk-main.js +22 -0
  10. package/chunk-main2.js +5 -0
  11. package/chunk-main3.js +5 -0
  12. package/chunk-main4.js +5 -0
  13. package/chunk-pickr.min.js +5 -0
  14. package/dependencies.d.ts +2 -0
  15. package/dependencies.js +5 -0
  16. package/dependencies.txt +863 -0
  17. package/ext.d.ts +1 -5
  18. package/ext.js +5 -1
  19. package/fonts/NotoSans-Regular.ttf +0 -0
  20. package/globals.d.ts +49 -0
  21. package/html/dependencies.html +13 -0
  22. package/index.d.ts +3 -3
  23. package/index.js +5 -1
  24. package/inputs.d.ts +2 -2
  25. package/inputs.js +5 -1
  26. package/js/apps.js +63 -63
  27. package/js/dependencies.js +56 -0
  28. package/js/package/plugins/rollup-plugin-copy.js +169 -169
  29. package/js/package/plugins/watcher.js +56 -56
  30. package/js/package/terser.js +18 -18
  31. package/js/task_scheduler.js +39 -39
  32. package/js/tsc_alias.js +19 -0
  33. package/js/webpack.config.js +26 -3
  34. package/package.json +1 -1
  35. package/scss/dependencies/body.scss +3 -0
  36. package/scss/dependencies/hr.scss +3 -0
  37. package/scss/dependencies/index.scss +5 -0
  38. package/scss/dependencies/links.scss +3 -0
  39. package/scss/dependencies/main.scss +3 -0
  40. package/scss/settings/transitions.scss +1 -1
  41. package/scss/shared/checkboxes.scss +2 -2
  42. package/scss/shared/close_btn.scss +1 -1
  43. package/scss/shared/embed/error.scss +2 -2
  44. package/scss/shared/embed/font_face.scss +1 -2
  45. package/scss/shared/inputs.scss +4 -1
  46. package/scss/shared/inset_border.scss +1 -4
  47. package/scss/shared/mixins.scss +11 -7
  48. package/scss/shared/mods.scss +1 -3
  49. package/scss/shared/selects.scss +8 -2
  50. package/scss/shared/themes/colors/aqua.scss +15 -6
  51. package/scss/shared/themes/colors/dark.scss +5 -1
  52. package/scss/shared/themes/colors/lavender.scss +19 -6
  53. package/scss/shared/themes/colors/light.scss +5 -1
  54. package/scss/shared/themes/colors/very_dark.scss +5 -1
  55. package/scss/shared/themes/general/template.scss +16 -10
  56. package/scss/shared/themes/general/template_focus.scss +6 -4
  57. package/scss/shared/transitions.scss +1 -1
  58. package/scss/shared/upload_box.scss +2 -3
  59. package/scss/shared/vars.scss +9 -3
  60. package/settings.d.ts +2 -2
  61. package/settings.js +5 -1
  62. package/ts/announcement/components/body.d.ts +2 -3
  63. package/ts/announcement/components/index.d.ts +1 -1
  64. package/ts/announcement/internal.d.ts +2 -3
  65. package/ts/announcement/scripts/display.d.ts +6 -6
  66. package/ts/announcement/scripts/index.d.ts +1 -2
  67. package/ts/dependencies/components/body.d.ts +2 -0
  68. package/ts/dependencies/components/index.d.ts +1 -0
  69. package/ts/dependencies/internal.d.ts +2 -0
  70. package/ts/dependencies/scripts/dependencies.d.ts +7 -0
  71. package/ts/dependencies/scripts/index.d.ts +1 -0
  72. package/ts/error_modules/crash_handler/components/body.d.ts +52 -52
  73. package/ts/error_modules/crash_handler/components/index.d.ts +1 -1
  74. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -4
  75. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -1
  76. package/ts/error_modules/crash_handler/data/index.d.ts +1 -1
  77. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -7
  78. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -1
  79. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -6
  80. package/ts/error_modules/css/scripts/index.d.ts +1 -1
  81. package/ts/error_modules/css/scripts/main.d.ts +8 -8
  82. package/ts/error_modules/error/components/body.d.ts +3 -3
  83. package/ts/error_modules/error/components/close_btn.d.ts +2 -2
  84. package/ts/error_modules/error/components/ext_name.d.ts +2 -2
  85. package/ts/error_modules/error/components/index.d.ts +6 -6
  86. package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -2
  87. package/ts/error_modules/error/components/msg.d.ts +2 -2
  88. package/ts/error_modules/error/components/progress.d.ts +2 -2
  89. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -5
  90. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -1
  91. package/ts/error_modules/error/data/index.d.ts +4 -4
  92. package/ts/error_modules/error/data/main.d.ts +11 -11
  93. package/ts/error_modules/error/data/msg.d.ts +13 -13
  94. package/ts/error_modules/error/data/progress.d.ts +17 -17
  95. package/ts/error_modules/error/data/state.d.ts +25 -25
  96. package/ts/error_modules/error/interfaces/error.d.ts +6 -6
  97. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -6
  98. package/ts/error_modules/error/interfaces/index.d.ts +7 -7
  99. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -1
  100. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  101. package/ts/error_modules/error/interfaces/show_error.d.ts +11 -11
  102. package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -5
  103. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
  104. package/ts/error_modules/error/scripts/flash.d.ts +11 -11
  105. package/ts/error_modules/error/scripts/globals.d.ts +1 -12
  106. package/ts/error_modules/error/scripts/index.d.ts +3 -3
  107. package/ts/error_modules/error/scripts/notification.d.ts +8 -8
  108. package/ts/error_modules/init.d.ts +1 -1
  109. package/ts/error_modules/internal.d.ts +11 -11
  110. package/ts/inputs/color/components/body.d.ts +3 -3
  111. package/ts/inputs/color/components/color_picker.d.ts +3 -3
  112. package/ts/inputs/color/components/fill_shadow.d.ts +3 -3
  113. package/ts/inputs/color/components/index.d.ts +4 -4
  114. package/ts/inputs/color/components/prop_types/body.d.ts +4 -4
  115. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -7
  116. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -5
  117. package/ts/inputs/color/components/prop_types/index.d.ts +4 -4
  118. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -6
  119. package/ts/inputs/color/components/visualization.d.ts +3 -3
  120. package/ts/inputs/color/data/color.d.ts +54 -54
  121. package/ts/inputs/color/data/index.d.ts +2 -2
  122. package/ts/inputs/color/data/visibility.d.ts +38 -38
  123. package/ts/inputs/color/interfaces/color.d.ts +1 -1
  124. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -6
  125. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -5
  126. package/ts/inputs/color/interfaces/i.d.ts +1 -1
  127. package/ts/inputs/color/interfaces/index.d.ts +4 -4
  128. package/ts/inputs/color/obj/color.d.ts +54 -54
  129. package/ts/inputs/color/obj/index.d.ts +1 -1
  130. package/ts/inputs/color/scripts/color_picker.d.ts +20 -20
  131. package/ts/inputs/color/scripts/index.d.ts +2 -2
  132. package/ts/inputs/color/scripts/position.d.ts +7 -7
  133. package/ts/inputs/components/btn.d.ts +3 -3
  134. package/ts/inputs/components/checkbox.d.ts +3 -3
  135. package/ts/inputs/components/file.d.ts +3 -3
  136. package/ts/inputs/components/form.d.ts +3 -3
  137. package/ts/inputs/components/group.d.ts +3 -3
  138. package/ts/inputs/components/help.d.ts +3 -3
  139. package/ts/inputs/components/help_btn.d.ts +3 -3
  140. package/ts/inputs/components/hr.d.ts +3 -3
  141. package/ts/inputs/components/icon_btn.d.ts +3 -3
  142. package/ts/inputs/components/index.d.ts +25 -25
  143. package/ts/inputs/components/input_error.d.ts +3 -3
  144. package/ts/inputs/components/input_item.d.ts +3 -3
  145. package/ts/inputs/components/label.d.ts +3 -3
  146. package/ts/inputs/components/label_in_input_item.d.ts +3 -3
  147. package/ts/inputs/components/link.d.ts +3 -3
  148. package/ts/inputs/components/link_btn.d.ts +3 -3
  149. package/ts/inputs/components/link_icon_btn.d.ts +3 -3
  150. package/ts/inputs/components/prop_types/btn.d.ts +4 -4
  151. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -4
  152. package/ts/inputs/components/prop_types/file.d.ts +4 -4
  153. package/ts/inputs/components/prop_types/form.d.ts +5 -5
  154. package/ts/inputs/components/prop_types/group.d.ts +5 -5
  155. package/ts/inputs/components/prop_types/help.d.ts +4 -4
  156. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -4
  157. package/ts/inputs/components/prop_types/hr.d.ts +4 -4
  158. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -4
  159. package/ts/inputs/components/prop_types/index.d.ts +25 -25
  160. package/ts/inputs/components/prop_types/input_error.d.ts +4 -4
  161. package/ts/inputs/components/prop_types/input_item.d.ts +7 -7
  162. package/ts/inputs/components/prop_types/label.d.ts +4 -4
  163. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -4
  164. package/ts/inputs/components/prop_types/link.d.ts +4 -4
  165. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -4
  166. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -5
  167. package/ts/inputs/components/prop_types/range.d.ts +6 -6
  168. package/ts/inputs/components/prop_types/section.d.ts +4 -4
  169. package/ts/inputs/components/prop_types/section_btn.d.ts +7 -7
  170. package/ts/inputs/components/prop_types/section_content.d.ts +5 -5
  171. package/ts/inputs/components/prop_types/select.d.ts +6 -6
  172. package/ts/inputs/components/prop_types/text.d.ts +6 -6
  173. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
  174. package/ts/inputs/components/prop_types/textarea.d.ts +6 -6
  175. package/ts/inputs/components/prop_types/upload_box.d.ts +5 -5
  176. package/ts/inputs/components/range.d.ts +3 -3
  177. package/ts/inputs/components/section.d.ts +3 -3
  178. package/ts/inputs/components/section_btn.d.ts +3 -3
  179. package/ts/inputs/components/section_content.d.ts +3 -3
  180. package/ts/inputs/components/select.d.ts +3 -3
  181. package/ts/inputs/components/text.d.ts +3 -3
  182. package/ts/inputs/components/text_btn.d.ts +3 -3
  183. package/ts/inputs/components/textarea.d.ts +3 -3
  184. package/ts/inputs/components/upload_box.d.ts +3 -3
  185. package/ts/inputs/data/help.d.ts +15 -15
  186. package/ts/inputs/data/index.d.ts +8 -8
  187. package/ts/inputs/data/input_error.d.ts +12 -12
  188. package/ts/inputs/data/input_width.d.ts +26 -26
  189. package/ts/inputs/data/labelIn_in_putI_iem.d.ts +9 -9
  190. package/ts/inputs/data/nested_input.d.ts +18 -18
  191. package/ts/inputs/data/text.d.ts +21 -21
  192. package/ts/inputs/data/upload_box.d.ts +24 -24
  193. package/ts/inputs/data/val.d.ts +41 -41
  194. package/ts/inputs/interfaces/btn_option.d.ts +9 -9
  195. package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
  196. package/ts/inputs/interfaces/index.d.ts +9 -9
  197. package/ts/inputs/interfaces/input.d.ts +2 -2
  198. package/ts/inputs/interfaces/inputs.d.ts +2 -2
  199. package/ts/inputs/interfaces/links.d.ts +2 -2
  200. package/ts/inputs/interfaces/options.d.ts +2 -2
  201. package/ts/inputs/interfaces/sections.d.ts +2 -2
  202. package/ts/inputs/interfaces/state_cond.d.ts +4 -4
  203. package/ts/inputs/interfaces/text_btn.d.ts +7 -7
  204. package/ts/inputs/internal.d.ts +12 -12
  205. package/ts/inputs/obj/btn.d.ts +6 -6
  206. package/ts/inputs/obj/checkbox.d.ts +5 -5
  207. package/ts/inputs/obj/file.d.ts +9 -9
  208. package/ts/inputs/obj/form.d.ts +7 -7
  209. package/ts/inputs/obj/group.d.ts +6 -6
  210. package/ts/inputs/obj/hr.d.ts +5 -5
  211. package/ts/inputs/obj/icon_btn.d.ts +7 -7
  212. package/ts/inputs/obj/index.d.ts +18 -18
  213. package/ts/inputs/obj/input_base.d.ts +45 -45
  214. package/ts/inputs/obj/label.d.ts +5 -5
  215. package/ts/inputs/obj/link.d.ts +17 -16
  216. package/ts/inputs/obj/link_btn.d.ts +6 -6
  217. package/ts/inputs/obj/option.d.ts +6 -6
  218. package/ts/inputs/obj/range.d.ts +20 -20
  219. package/ts/inputs/obj/section.d.ts +31 -31
  220. package/ts/inputs/obj/select.d.ts +9 -9
  221. package/ts/inputs/obj/text.d.ts +18 -18
  222. package/ts/inputs/obj/textarea.d.ts +5 -5
  223. package/ts/inputs/obj/upload_box.d.ts +18 -18
  224. package/ts/inputs/scripts/index.d.ts +2 -2
  225. package/ts/inputs/scripts/resolve.d.ts +7 -7
  226. package/ts/inputs/scripts/upload_box.d.ts +8 -8
  227. package/ts/settings/components/body.d.ts +3 -3
  228. package/ts/settings/components/index.d.ts +1 -1
  229. package/ts/settings/components/prop_types/body.d.ts +8 -8
  230. package/ts/settings/components/prop_types/index.d.ts +1 -1
  231. package/ts/settings/data/back_up.d.ts +17 -17
  232. package/ts/settings/data/index.d.ts +2 -2
  233. package/ts/settings/data/sections.d.ts +43 -43
  234. package/ts/settings/developer_mode/data/index.d.ts +1 -1
  235. package/ts/settings/developer_mode/data/main.d.ts +13 -13
  236. package/ts/settings/init.d.ts +1 -1
  237. package/ts/settings/internal.d.ts +8 -8
  238. package/ts/settings/optional_permissions/data/index.d.ts +1 -1
  239. package/ts/settings/optional_permissions/data/main.d.ts +11 -11
  240. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -1
  241. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -3
  242. package/ts/settings/scripts/index.d.ts +1 -1
  243. package/ts/settings/scripts/theme.d.ts +12 -12
  244. package/ts/shared/app.d.ts +25 -25
  245. package/ts/shared/app_ext_globals.d.ts +1 -6
  246. package/ts/shared/app_version/components/body.d.ts +2 -2
  247. package/ts/shared/app_version/components/index.d.ts +1 -1
  248. package/ts/shared/css_vars/scripts/index.d.ts +1 -1
  249. package/ts/shared/css_vars/scripts/main.d.ts +18 -18
  250. package/ts/shared/data/data/index.d.ts +1 -1
  251. package/ts/shared/data/data/main.d.ts +1 -4
  252. package/ts/shared/data/interfaces/index.d.ts +1 -1
  253. package/ts/shared/data/interfaces/val.d.ts +2 -2
  254. package/ts/shared/ext.d.ts +28 -30
  255. package/ts/shared/functions.d.ts +3 -3
  256. package/ts/shared/globals.d.ts +1 -4
  257. package/ts/shared/header/scripts/index.d.ts +1 -0
  258. package/ts/{announcement/scripts/header.d.ts → shared/header/scripts/main.d.ts} +6 -6
  259. package/ts/shared/init.d.ts +1 -1
  260. package/ts/shared/internal.d.ts +40 -39
  261. package/ts/shared/loading_screen/components/body.d.ts +3 -3
  262. package/ts/shared/loading_screen/components/index.d.ts +1 -1
  263. package/ts/shared/loading_screen/components/prop_types/body.d.ts +5 -5
  264. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -1
  265. package/ts/shared/loading_screen/data/index.d.ts +1 -1
  266. package/ts/shared/loading_screen/data/main.d.ts +12 -12
  267. package/ts/shared/loading_screen/scripts/index.d.ts +2 -2
  268. package/ts/shared/loading_screen/scripts/roots.d.ts +11 -11
  269. package/ts/shared/loading_screen/scripts/tr.d.ts +8 -8
  270. package/ts/shared/no_tr/scripts/index.d.ts +1 -1
  271. package/ts/shared/no_tr/scripts/main.d.ts +12 -12
  272. package/ts/shared/offers/components/body.d.ts +3 -3
  273. package/ts/shared/offers/components/counter.d.ts +2 -2
  274. package/ts/shared/offers/components/index.d.ts +6 -6
  275. package/ts/shared/offers/components/next_offer_btn.d.ts +2 -2
  276. package/ts/shared/offers/components/offer.d.ts +3 -3
  277. package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -2
  278. package/ts/shared/offers/components/prop_types/body.d.ts +5 -5
  279. package/ts/shared/offers/components/prop_types/index.d.ts +2 -2
  280. package/ts/shared/offers/components/prop_types/offer.d.ts +4 -4
  281. package/ts/shared/offers/components/top_bar.d.ts +2 -2
  282. package/ts/shared/offers/data/index.d.ts +1 -1
  283. package/ts/shared/offers/data/main.d.ts +22 -22
  284. package/ts/shared/offers/interfaces/index.d.ts +1 -1
  285. package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -1
  286. package/ts/shared/offers/obj/index.d.ts +1 -1
  287. package/ts/shared/offers/obj/offer.d.ts +12 -10
  288. package/ts/shared/offers/scripts/index.d.ts +1 -1
  289. package/ts/shared/offers/scripts/main.d.ts +8 -8
  290. package/ts/shared/schema/data/index.d.ts +1 -1
  291. package/ts/shared/schema/data/main.d.ts +12 -12
  292. package/ts/shared/schema/obj/index.d.ts +1 -1
  293. package/ts/shared/schema/obj/transform_item.d.ts +7 -7
  294. package/ts/shared/service_worker/scripts/index.d.ts +1 -1
  295. package/ts/shared/service_worker/scripts/main.d.ts +9 -9
  296. package/ts/shared/settings/data/index.d.ts +1 -1
  297. package/ts/shared/settings/data/main.d.ts +15 -15
  298. package/ts/shared/svg.d.ts +9 -9
  299. package/ts/shared/t.d.ts +36 -36
  300. package/ts/shared/tab_index/interfaces/index.d.ts +1 -1
  301. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -2
  302. package/ts/shared/tab_index/scripts/index.d.ts +1 -1
  303. package/ts/shared/tab_index/scripts/main.d.ts +18 -18
  304. package/ts/shared/theme/scripts/index.d.ts +1 -1
  305. package/ts/shared/theme/scripts/main.d.ts +11 -11
  306. package/ts/shared/title/scripts/index.d.ts +1 -1
  307. package/ts/shared/title/scripts/main.d.ts +6 -6
  308. package/ts/shared/tr/components/base_tr.d.ts +9 -9
  309. package/ts/shared/tr/components/index.d.ts +1 -1
  310. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -13
  311. package/ts/shared/tr/components/prop_types/index.d.ts +1 -1
  312. package/ts/shared/tr/data/index.d.ts +1 -1
  313. package/ts/shared/tr/data/transition.d.ts +23 -23
  314. package/ts/shared/tr/interfaces/index.d.ts +1 -1
  315. package/ts/shared/tr/interfaces/transitions.d.ts +2 -2
  316. package/ts/shared/tr/obj/index.d.ts +1 -1
  317. package/ts/shared/tr/obj/transition.d.ts +8 -8
  318. package/ts/shared/utils/scripts/index.d.ts +1 -1
  319. package/ts/shared/utils/scripts/main.d.ts +11 -11
  320. package/ts/shared/vars.d.ts +2 -2
  321. package/ts/shared/viewport/scripts/index.d.ts +1 -1
  322. package/ts/shared/viewport/scripts/main.d.ts +8 -8
  323. package/ts/shared/x.d.ts +56 -69
  324. package/chunk-main-130f654b.js +0 -9
  325. package/chunk-main-35e603b6.js +0 -1
  326. package/chunk-main-aca0d1f6.js +0 -1
  327. package/chunk-pickr.min-81c0b025.js +0 -1
  328. package/fonts/noto_sans.woff2 +0 -0
  329. package/ts/announcement/components/prop_types/body.d.ts +0 -4
  330. package/ts/announcement/components/prop_types/index.d.ts +0 -1
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Михаил Винокуров
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -125,4 +125,4 @@
125
125
  "invalid_file_type_back_up_error": {
126
126
  "message": "Ungültiger Dateityp. Laden Sie eine Sicherungskopie der json-Datei hoch."
127
127
  }
128
- }
128
+ }
@@ -29,6 +29,9 @@
29
29
  "announcement_title_text": {
30
30
  "message": "Announcement"
31
31
  },
32
+ "dependencies_title_text": {
33
+ "message": "Dependencies"
34
+ },
32
35
  "browse_link_btn_text": {
33
36
  "message": "Browse"
34
37
  },
@@ -152,6 +155,27 @@
152
155
  "support_page_link_text": {
153
156
  "message": "📢 Support page"
154
157
  },
158
+ "theme_path_link_text": {
159
+ "message": "🛠️ Create your own Chrome theme with the ThemePath app"
160
+ },
161
+ "dependencies_link_text": {
162
+ "message": "🧩 Dependencies"
163
+ },
164
+ "privacy_policy_link_href": {
165
+ "message": "https://github.com/loftyshaky/extensions-privacy-policy/blob/main/extensions-privacy-policy.md"
166
+ },
167
+ "facebook_page_link_href": {
168
+ "message": "https://www.facebook.com/browservery"
169
+ },
170
+ "support_page_link_href": {
171
+ "message": "https://groups.google.com/g/browservery"
172
+ },
173
+ "theme_path_link_href": {
174
+ "message": "https://apps.microsoft.com/detail/9NMBWGHTQMPD"
175
+ },
176
+ "dependencies_link_href": {
177
+ "message": "dependencies.html"
178
+ },
155
179
  "offer_clear_new_tab_text": {
156
180
  "message": "Install the @Clear New Tab@ extension to remove everything from the new tab page and display any image, gif or video in it as a wallpaper."
157
181
  },
@@ -171,40 +195,40 @@
171
195
  "message": "Install the @Advanced Extension Reloader@ extension to reload an unpacked extension with one click, hotkey or automatically (extension for developers)."
172
196
  },
173
197
  "offer_clear_new_tab_chrome_link_href": {
174
- "message": "https://bit.ly/clear-new-tab"
198
+ "message": "https://chromewebstore.google.com/detail/felphkbfjadmcejnibcmcncimlappdde"
175
199
  },
176
200
  "offer_clear_new_tab_edge_link_href": {
177
- "message": "https://bit.ly/clear-new-tab-edge"
201
+ "message": "https://microsoftedge.microsoft.com/addons/detail/ifphophaconbhfmkpdlfldelkjpjmlbj"
178
202
  },
179
203
  "offer_clear_new_tab_firefox_link_href": {
180
- "message": "https://bit.ly/clear-new-tab-firefox"
181
- },
182
- "offer_empty_new_tab_page_chrome_link_href": {
183
- "message": "https://bit.ly/empty-new-tab-page"
184
- },
185
- "offer_empty_new_tab_page_edge_link_href": {
186
- "message": "https://bit.ly/empty-new-tab-page-edge"
204
+ "message": "https://addons.mozilla.org/firefox/addon/clear-new-tab"
187
205
  },
188
206
  "offer_search_enhancer_for_google_chrome_link_href": {
189
- "message": "https://bit.ly/search-enhancer-for-google"
207
+ "message": "https://chromewebstore.google.com/detail/pipbbdfondfipmjmdkmggihiknhmcfhd"
190
208
  },
191
209
  "offer_search_enhancer_for_google_edge_link_href": {
192
- "message": "https://bit.ly/search-enhancer-for-google-edge"
210
+ "message": "https://microsoftedge.microsoft.com/addons/detail/hfbafhkogonfgpkdopodhajncnodbbhd"
211
+ },
212
+ "offer_advanced_extension_reloader_chrome_link_href": {
213
+ "message": "https://chromewebstore.google.com/detail/hagknokdofkmojolcpbddjfdjhnjdkae"
214
+ },
215
+ "offer_advanced_extension_reloader_edge_link_href": {
216
+ "message": "https://microsoftedge.microsoft.com/addons/detail/bcpgohifjmmcoiemghdamamlkbcbgifg"
217
+ },
218
+ "offer_empty_new_tab_page_chrome_link_href": {
219
+ "message": "https://chromewebstore.google.com/detail/odjfoclbnmllekbhpbgopiiaelcpeimb"
220
+ },
221
+ "offer_empty_new_tab_page_edge_link_href": {
222
+ "message": "https://microsoftedge.microsoft.com/addons/detail/cbdaoffmmppingmciephekphbcfngkkk"
193
223
  },
194
224
  "offer_scroll_to_top_chrome_link_href": {
195
- "message": "https://bit.ly/scroll-to-top"
225
+ "message": "https://chromewebstore.google.com/detail/obebfhocibioiakindbigklnhhknkcdc"
196
226
  },
197
227
  "offer_scroll_to_top_edge_link_href": {
198
- "message": "https://bit.ly/scroll-to-top-edge"
228
+ "message": "https://microsoftedge.microsoft.com/addons/detail/cjmbcpckfanombcljcmgnhbdobjblbkk"
199
229
  },
200
230
  "offer_close_other_tabs_chrome_link_href": {
201
- "message": "https://bit.ly/close-other-tabs"
202
- },
203
- "offer_advanced_extension_reloader_chrome_link_href": {
204
- "message": "https://bit.ly/advanced-extension-reloader"
205
- },
206
- "offer_advanced_extension_reloader_edge_link_href": {
207
- "message": "https://bit.ly/advanced-extension-reloader-edge"
231
+ "message": "https://chromewebstore.google.com/detail/higiahnfphokonkjalljdfgjhafdjbil"
208
232
  },
209
233
  "restore_defaults_confirm": {
210
234
  "message": "Restore default settings?"
@@ -149,6 +149,12 @@
149
149
  "support_page_link_text": {
150
150
  "message": "📢 Страница поддержки"
151
151
  },
152
+ "dependencies_link_text": {
153
+ "message": "🧩 Зависимости"
154
+ },
155
+ "theme_path_link_text": {
156
+ "message": "🛠️ Создайте свою собственную тему для Chrome с помощью приложения ThemePath"
157
+ },
152
158
  "offer_clear_new_tab_text": {
153
159
  "message": "Установите расширение @Clear New Tab@ позволяющее убрать все со страницы новой вкладки и отображать любое изображение, гифку или видео в качестве обоев."
154
160
  },
@@ -167,24 +173,6 @@
167
173
  "offer_advanced_extension_reloader_text": {
168
174
  "message": "Установите расширение @Advanced Extension Reloader@ позволяющее перезагрузагружать распакованное расширение в один клик, горячей клавишей или автоматически (расширение для разработчиков)."
169
175
  },
170
- "offer_clear_new_tab_chrome_link_href": {
171
- "message": "https://bit.ly/clear-new-tab-ru"
172
- },
173
- "offer_empty_new_tab_page_chrome_link_href": {
174
- "message": "https://bit.ly/empty-new-tab-page-ru"
175
- },
176
- "offer_search_enhancer_for_google_chrome_link_href": {
177
- "message": "https://bit.ly/search-enhancer-for-google-ru"
178
- },
179
- "offer_scroll_to_top_chrome_link_href": {
180
- "message": "https://bit.ly/scroll-to-top-ru"
181
- },
182
- "offer_close_other_tabs_chrome_link_href": {
183
- "message": "https://bit.ly/close-other-tabs-ru"
184
- },
185
- "offer_advanced_extension_reloader_chrome_link_href": {
186
- "message": "https://bit.ly/advanced-extension-reloader-ru"
187
- },
188
176
  "restore_defaults_confirm": {
189
177
  "message": "Восстановить настройки по умолчанию?"
190
178
  },
package/announcement.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import "./ts/shared/internal";
2
- export { c_announcement, s_announcement } from "./ts/announcement/internal";
1
+ import './ts/shared/internal';
2
+ export { c_announcement, s_announcement } from './ts/announcement/internal';
package/announcement.js CHANGED
@@ -1 +1,5 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var main=require("./chunk-main-130f654b.js"),React=require("react");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("react-dom");var React__default=_interopDefaultLegacy(React);const Body=main.observer((props=>{const{children:children}=props;return React__default.default.createElement("div",{className:"main"},React__default.default.createElement("h1",{className:"header"},Header.i().get()),React__default.default.createElement("div",{className:"msg_to_user"},children))}));var index$1=Object.freeze({__proto__:null,Body:Body});class Header{constructor(){this.get=()=>err((()=>{const title_el=s("title");return n(title_el)&&n(title_el.textContent)?title_el.textContent:""}),"shr_1230")}static i(){return this.i0||(this.i0=new this)}}var index=Object.freeze({__proto__:null,Display:class{constructor(){this.display_announcement=()=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){we.tabs.create({url:we.runtime.getURL("announcement.html")})}))),"shr_1231")}static i(){return this.i0||(this.i0=new this)}},Header:Header});exports.c_announcement=index$1,exports.s_announcement=index;
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main=require("./chunk-main.js"),React=require("react"),main$1=require("./chunk-main4.js");require("react-dom");const Body=main.observer((()=>React.createElement("div",{className:"main"},React.createElement("h1",{className:"header"},main$1.Header.i().get()),React.createElement("div",{className:"msg_to_user",dangerouslySetInnerHTML:{__html:app.msg(`msg_to_user_${env.browser}_text`)}}))));var index$1=Object.freeze({__proto__:null,Body:Body});var index=Object.freeze({__proto__:null,Display:class{static i(){return this.i0||(this.i0=new this)}constructor(){this.display_announcement=()=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){we.tabs.create({url:we.runtime.getURL("announcement.html")})}))),"shr_1231")}}});exports.c_announcement=index$1,exports.s_announcement=index;
package/app.d.ts CHANGED
@@ -1,5 +1 @@
1
- import { App } from "./ts/shared/app";
2
- export { App } from "./ts/shared/app";
3
- declare global {
4
- const app: App;
5
- }
1
+ export { App } from './ts/shared/app';
package/app.js CHANGED
@@ -1 +1,5 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var main$1=require("./chunk-main-130f654b.js"),main=require("./chunk-main-35e603b6.js");require("react"),require("react-dom"),globalThis.page="front_end",globalThis.is_node="undefined"!=typeof process&&"node"===process.release.name;globalThis.misplaced_dependency=culprit_page=>err((()=>{if(page!==culprit_page){const msg=`DEPENDENCIES FROM THE OTHER PAGE ACCIDENTALLY LOADED INTO THIS PAGE!!!\nCULPRIT PAGE: ${culprit_page.toUpperCase()}`;"back_end"===page?console.log(msg):alert(msg)}}),"shr_1193");class App{constructor(){this.log_error=(error_obj,error_code)=>{main.Main.i().output_error(error_obj,error_code)},this.origin=globalThis.location?globalThis.location.origin:"",this.app_root="",this.get_app_version=()=>{try{return env.version}catch(error_obj){this.log_error(error_obj,"shr_1238")}return""},this.get_language=()=>n(data)&&n(data.settings)&&data.settings.locale?data.settings.locale:"en",this.content_dir=()=>{try{if(globalThis.is_node){return require("path").join(this.app_root,"public","assets")}return n(env)&&"adonis_app"===env.env?`${this.origin}/assets/`:"dist/"}catch(error_obj){this.log_error(error_obj,"shr_1237")}return""},this.read_data_into_vars=()=>main$1.__awaiter(this,void 0,void 0,(function*(){try{const set_messages_json=({locale:locale})=>main$1.__awaiter(this,void 0,void 0,(function*(){try{if(globalThis.is_node){const path=require("path"),fs=require("fs-extra"),messages_path=path.join(this.content_dir(),"_locales",locale,"messages.json");fs.existsSync(messages_path)&&(this[`messages_${locale}_json`]=fs.readJSONSync(messages_path))}else{const path=`${this.content_dir()}_locales/${locale}/messages.json`;if((yield fetch(path,{method:"HEAD"})).ok){const response=yield fetch(path);this[`messages_${locale}_json`]=yield response.json()}}}catch(error_obj){this.log_error(error_obj,"shr_1233")}}));yield set_messages_json({locale:"en"}),yield set_messages_json({locale:"ru"}),yield set_messages_json({locale:"de"})}catch(error_obj){this.log_error(error_obj,"shr_1191")}return""})),this.msg=msg=>{try{const get_msgs=({user_language:user_language})=>this[`messages_${user_language}_json`]||{},user_language=this.get_language(),is_english=user_language.includes("en"),en_msgs=get_msgs({user_language:"en"}),localized_msgs=is_english?void 0:get_msgs({user_language:user_language});let msg_2=n(en_msgs[msg])&&n(en_msgs[msg].message)?en_msgs[msg].message:"";return is_english||(msg_2=n(localized_msgs)&&n(localized_msgs[msg])&&n(localized_msgs[msg].message)?localized_msgs[msg].message:msg_2),n(msg_2)?msg_2:""}catch(error_obj){this.log_error(error_obj,"shr_1192")}return""},this.read_env_into_global_var=()=>main$1.__awaiter(this,void 0,void 0,(function*(){try{let env_file_text="";if(globalThis.is_node){const path=require("path");env_file_text=require("fs-extra").readFileSync(path.join(this.content_dir(),"env.js"),{encoding:"utf8"})}else{const response=yield fetch(`${this.origin}/env.js`);env_file_text=yield response.text()}globalThis.env=JSON.parse(env_file_text.replace("globalThis.env = ",""))}catch(error_obj){this.log_error(error_obj,"shr_1232")}})),this.get_input_errors=(errors,match_rules)=>{try{const input_errors=[];if(!errors.success)return errors.messages.errors.forEach((error=>{match_rules.forEach((match_rule=>{const exclusion_matched=n(match_rule.rules_exclude)&&match_rule.rules_exclude.some((rule_exclude=>rule_exclude===match_rule.rule));!(error.field!==match_rule.field||n(match_rule.rule)&&error.rule!==match_rule.rule||exclusion_matched)&&input_errors.push(match_rule.input_error)}))})),input_errors}catch(error_obj){this.log_error(error_obj,"shr_1242")}return[]}}static i(){return this.i0||(this.i0=new this)}}globalThis.app=App.i(),err((()=>{const title=globalThis.document?document.querySelector("title"):void 0;globalThis.page=n(title)&&n(title.dataset.page)?title.dataset.page:"back_end"}),"shr_1190"),exports.App=App;
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main$1=require("./chunk-main.js"),main=require("./chunk-main2.js");require("react"),require("react-dom"),globalThis.page="front_end",globalThis.is_node="undefined"!=typeof process&&"node"===process.release.name;globalThis.misplaced_dependency=culprit_page=>err((()=>{if(page!==culprit_page){const msg=`DEPENDENCIES FROM THE OTHER PAGE ACCIDENTALLY LOADED INTO THIS PAGE!!!\nCULPRIT PAGE: ${culprit_page.toUpperCase()}`;"back_end"===page?console.log(msg):alert(msg)}}),"shr_1193");class App{static i(){return this.i0||(this.i0=new this)}constructor(){this.log_error=(error_obj,error_code)=>{main.Main.i().output_error(error_obj,error_code)},this.origin=globalThis.location?globalThis.location.origin:"",this.app_root="",this.get_app_version=()=>{try{return env.version}catch(error_obj){this.log_error(error_obj,"shr_1238")}return""},this.get_language=()=>n(data)&&n(data.settings)&&data.settings.locale?data.settings.locale:"en",this.content_dir=()=>{try{if(globalThis.is_node){return require("path").join(this.app_root,"public","assets")}return n(env)&&"adonis_app"===env.env?`${this.origin}/assets/`:"dist/"}catch(error_obj){this.log_error(error_obj,"shr_1237")}return""},this.read_data_into_vars=()=>main$1.__awaiter(this,void 0,void 0,(function*(){try{const set_messages_json=({locale:locale})=>main$1.__awaiter(this,void 0,void 0,(function*(){try{if(globalThis.is_node){const path=require("path"),fs=require("fs-extra"),messages_path=path.join(this.content_dir(),"_locales",locale,"messages.json");fs.existsSync(messages_path)&&(this[`messages_${locale}_json`]=fs.readJSONSync(messages_path))}else{const path=`${this.content_dir()}_locales/${locale}/messages.json`;if((yield fetch(path,{method:"HEAD"})).ok){const response=yield fetch(path);this[`messages_${locale}_json`]=yield response.json()}}}catch(error_obj){this.log_error(error_obj,"shr_1233")}}));yield set_messages_json({locale:"en"}),yield set_messages_json({locale:"ru"}),yield set_messages_json({locale:"de"})}catch(error_obj){this.log_error(error_obj,"shr_1191")}return""})),this.msg=msg=>{try{const get_msgs=({user_language:user_language})=>this[`messages_${user_language}_json`]||{},user_language=this.get_language(),is_english=user_language.includes("en"),en_msgs=get_msgs({user_language:"en"}),localized_msgs=is_english?void 0:get_msgs({user_language:user_language});let msg_2=n(en_msgs[msg])&&n(en_msgs[msg].message)?en_msgs[msg].message:"";return is_english||(msg_2=n(localized_msgs)&&n(localized_msgs[msg])&&n(localized_msgs[msg].message)?localized_msgs[msg].message:msg_2),n(msg_2)?msg_2:""}catch(error_obj){this.log_error(error_obj,"shr_1192")}return""},this.read_env_into_global_var=()=>main$1.__awaiter(this,void 0,void 0,(function*(){try{let env_file_text="";if(globalThis.is_node){const path=require("path");env_file_text=require("fs-extra").readFileSync(path.join(this.content_dir(),"env.js"),{encoding:"utf8"})}else{const response=yield fetch(`${this.origin}/env.js`);env_file_text=yield response.text()}globalThis.env=JSON.parse(env_file_text.replace("globalThis.env = ",""))}catch(error_obj){this.log_error(error_obj,"shr_1232")}})),this.get_input_errors=(errors,match_rules)=>{try{const input_errors=[];if(!errors.success)return errors.messages.errors.forEach((error=>{match_rules.forEach((match_rule=>{const exclusion_matched=n(match_rule.rules_exclude)&&match_rule.rules_exclude.some((rule_exclude=>rule_exclude===match_rule.rule));!(error.field!==match_rule.field||n(match_rule.rule)&&error.rule!==match_rule.rule||exclusion_matched)&&input_errors.push(match_rule.input_error)}))})),input_errors}catch(error_obj){this.log_error(error_obj,"shr_1242")}return[]}}}globalThis.app=App.i(),err((()=>{const title=globalThis.document?document.querySelector("title"):void 0;globalThis.page=n(title)&&n(title.dataset.page)?title.dataset.page:"back_end"}),"shr_1190"),exports.App=App;