@loftyshaky/shared 1.4.0 → 1.6.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 (335) hide show
  1. package/LICENSE.md +21 -0
  2. package/_locales/de/messages.json +1 -1
  3. package/_locales/en/messages.json +100 -1
  4. package/_locales/ru/messages.json +47 -2
  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/locales.js +11 -5
  29. package/js/package/plugins/rollup-plugin-copy.js +169 -169
  30. package/js/package/plugins/watcher.js +56 -56
  31. package/js/package/terser.js +18 -18
  32. package/js/task_scheduler.js +39 -39
  33. package/js/tsc_alias.js +19 -0
  34. package/js/webpack.config.js +30 -3
  35. package/package.json +2 -2
  36. package/scss/dependencies/body.scss +3 -0
  37. package/scss/dependencies/hr.scss +3 -0
  38. package/scss/dependencies/index.scss +5 -0
  39. package/scss/dependencies/links.scss +3 -0
  40. package/scss/dependencies/main.scss +3 -0
  41. package/scss/settings/sections.scss +22 -0
  42. package/scss/settings/transitions.scss +2 -3
  43. package/scss/shared/checkboxes.scss +2 -2
  44. package/scss/shared/close_btn.scss +1 -1
  45. package/scss/shared/embed/error.scss +2 -2
  46. package/scss/shared/embed/font_face.scss +1 -2
  47. package/scss/shared/index.scss +1 -0
  48. package/scss/shared/inputs.scss +5 -1
  49. package/scss/shared/inset_border.scss +1 -4
  50. package/scss/shared/links.scss +4 -0
  51. package/scss/shared/mixins.scss +11 -7
  52. package/scss/shared/mods.scss +1 -3
  53. package/scss/shared/offers.scss +37 -0
  54. package/scss/shared/selects.scss +8 -2
  55. package/scss/shared/themes/colors/aqua.scss +15 -6
  56. package/scss/shared/themes/colors/dark.scss +5 -1
  57. package/scss/shared/themes/colors/lavender.scss +19 -6
  58. package/scss/shared/themes/colors/light.scss +5 -1
  59. package/scss/shared/themes/colors/very_dark.scss +5 -1
  60. package/scss/shared/themes/general/template.scss +26 -12
  61. package/scss/shared/themes/general/template_focus.scss +6 -4
  62. package/scss/shared/transitions.scss +5 -2
  63. package/scss/shared/upload_box.scss +2 -3
  64. package/scss/shared/vars.scss +10 -3
  65. package/settings.d.ts +2 -2
  66. package/settings.js +5 -1
  67. package/ts/announcement/components/body.d.ts +2 -3
  68. package/ts/announcement/components/index.d.ts +1 -1
  69. package/ts/announcement/internal.d.ts +2 -3
  70. package/ts/announcement/scripts/display.d.ts +6 -6
  71. package/ts/announcement/scripts/index.d.ts +1 -2
  72. package/ts/dependencies/components/body.d.ts +2 -0
  73. package/ts/dependencies/components/index.d.ts +1 -0
  74. package/ts/dependencies/internal.d.ts +2 -0
  75. package/ts/dependencies/scripts/dependencies.d.ts +7 -0
  76. package/ts/dependencies/scripts/index.d.ts +1 -0
  77. package/ts/error_modules/crash_handler/components/body.d.ts +52 -52
  78. package/ts/error_modules/crash_handler/components/index.d.ts +1 -1
  79. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -4
  80. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -1
  81. package/ts/error_modules/crash_handler/data/index.d.ts +1 -1
  82. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -7
  83. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -1
  84. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -6
  85. package/ts/error_modules/css/scripts/index.d.ts +1 -1
  86. package/ts/error_modules/css/scripts/main.d.ts +8 -8
  87. package/ts/error_modules/error/components/body.d.ts +3 -3
  88. package/ts/error_modules/error/components/close_btn.d.ts +2 -2
  89. package/ts/error_modules/error/components/ext_name.d.ts +2 -2
  90. package/ts/error_modules/error/components/index.d.ts +6 -6
  91. package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -2
  92. package/ts/error_modules/error/components/msg.d.ts +2 -2
  93. package/ts/error_modules/error/components/progress.d.ts +2 -2
  94. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -5
  95. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -1
  96. package/ts/error_modules/error/data/index.d.ts +4 -4
  97. package/ts/error_modules/error/data/main.d.ts +11 -11
  98. package/ts/error_modules/error/data/msg.d.ts +13 -13
  99. package/ts/error_modules/error/data/progress.d.ts +17 -17
  100. package/ts/error_modules/error/data/state.d.ts +25 -25
  101. package/ts/error_modules/error/interfaces/error.d.ts +6 -6
  102. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -6
  103. package/ts/error_modules/error/interfaces/index.d.ts +7 -7
  104. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -1
  105. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  106. package/ts/error_modules/error/interfaces/show_error.d.ts +11 -11
  107. package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -5
  108. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
  109. package/ts/error_modules/error/scripts/flash.d.ts +11 -11
  110. package/ts/error_modules/error/scripts/globals.d.ts +1 -12
  111. package/ts/error_modules/error/scripts/index.d.ts +3 -3
  112. package/ts/error_modules/error/scripts/notification.d.ts +8 -8
  113. package/ts/error_modules/init.d.ts +1 -1
  114. package/ts/error_modules/internal.d.ts +11 -11
  115. package/ts/inputs/color/components/body.d.ts +3 -3
  116. package/ts/inputs/color/components/color_picker.d.ts +3 -3
  117. package/ts/inputs/color/components/fill_shadow.d.ts +3 -3
  118. package/ts/inputs/color/components/index.d.ts +4 -4
  119. package/ts/inputs/color/components/prop_types/body.d.ts +4 -4
  120. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -7
  121. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -5
  122. package/ts/inputs/color/components/prop_types/index.d.ts +4 -4
  123. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -6
  124. package/ts/inputs/color/components/visualization.d.ts +3 -3
  125. package/ts/inputs/color/data/color.d.ts +54 -54
  126. package/ts/inputs/color/data/index.d.ts +2 -2
  127. package/ts/inputs/color/data/visibility.d.ts +38 -38
  128. package/ts/inputs/color/interfaces/color.d.ts +1 -1
  129. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -6
  130. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -5
  131. package/ts/inputs/color/interfaces/i.d.ts +1 -1
  132. package/ts/inputs/color/interfaces/index.d.ts +4 -4
  133. package/ts/inputs/color/obj/color.d.ts +54 -54
  134. package/ts/inputs/color/obj/index.d.ts +1 -1
  135. package/ts/inputs/color/scripts/color_picker.d.ts +20 -20
  136. package/ts/inputs/color/scripts/index.d.ts +2 -2
  137. package/ts/inputs/color/scripts/position.d.ts +7 -7
  138. package/ts/inputs/components/btn.d.ts +3 -3
  139. package/ts/inputs/components/checkbox.d.ts +3 -3
  140. package/ts/inputs/components/file.d.ts +3 -3
  141. package/ts/inputs/components/form.d.ts +3 -3
  142. package/ts/inputs/components/group.d.ts +3 -3
  143. package/ts/inputs/components/help.d.ts +3 -3
  144. package/ts/inputs/components/help_btn.d.ts +3 -3
  145. package/ts/inputs/components/hr.d.ts +3 -3
  146. package/ts/inputs/components/icon_btn.d.ts +3 -3
  147. package/ts/inputs/components/index.d.ts +25 -25
  148. package/ts/inputs/components/input_error.d.ts +3 -3
  149. package/ts/inputs/components/input_item.d.ts +3 -3
  150. package/ts/inputs/components/label.d.ts +3 -3
  151. package/ts/inputs/components/label_in_input_item.d.ts +3 -3
  152. package/ts/inputs/components/link.d.ts +3 -3
  153. package/ts/inputs/components/link_btn.d.ts +3 -3
  154. package/ts/inputs/components/link_icon_btn.d.ts +3 -3
  155. package/ts/inputs/components/prop_types/btn.d.ts +4 -4
  156. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -4
  157. package/ts/inputs/components/prop_types/file.d.ts +4 -4
  158. package/ts/inputs/components/prop_types/form.d.ts +5 -5
  159. package/ts/inputs/components/prop_types/group.d.ts +5 -5
  160. package/ts/inputs/components/prop_types/help.d.ts +4 -4
  161. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -4
  162. package/ts/inputs/components/prop_types/hr.d.ts +4 -4
  163. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -4
  164. package/ts/inputs/components/prop_types/index.d.ts +25 -25
  165. package/ts/inputs/components/prop_types/input_error.d.ts +4 -4
  166. package/ts/inputs/components/prop_types/input_item.d.ts +7 -7
  167. package/ts/inputs/components/prop_types/label.d.ts +4 -4
  168. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -4
  169. package/ts/inputs/components/prop_types/link.d.ts +4 -4
  170. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -4
  171. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -5
  172. package/ts/inputs/components/prop_types/range.d.ts +6 -6
  173. package/ts/inputs/components/prop_types/section.d.ts +4 -4
  174. package/ts/inputs/components/prop_types/section_btn.d.ts +7 -6
  175. package/ts/inputs/components/prop_types/section_content.d.ts +5 -5
  176. package/ts/inputs/components/prop_types/select.d.ts +6 -6
  177. package/ts/inputs/components/prop_types/text.d.ts +6 -6
  178. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
  179. package/ts/inputs/components/prop_types/textarea.d.ts +6 -6
  180. package/ts/inputs/components/prop_types/upload_box.d.ts +5 -5
  181. package/ts/inputs/components/range.d.ts +3 -3
  182. package/ts/inputs/components/section.d.ts +3 -3
  183. package/ts/inputs/components/section_btn.d.ts +3 -3
  184. package/ts/inputs/components/section_content.d.ts +3 -3
  185. package/ts/inputs/components/select.d.ts +3 -3
  186. package/ts/inputs/components/text.d.ts +3 -3
  187. package/ts/inputs/components/text_btn.d.ts +3 -3
  188. package/ts/inputs/components/textarea.d.ts +3 -3
  189. package/ts/inputs/components/upload_box.d.ts +3 -3
  190. package/ts/inputs/data/help.d.ts +15 -15
  191. package/ts/inputs/data/index.d.ts +8 -8
  192. package/ts/inputs/data/input_error.d.ts +12 -12
  193. package/ts/inputs/data/input_width.d.ts +26 -26
  194. package/ts/inputs/data/labelIn_in_putI_iem.d.ts +9 -9
  195. package/ts/inputs/data/nested_input.d.ts +18 -18
  196. package/ts/inputs/data/text.d.ts +21 -21
  197. package/ts/inputs/data/upload_box.d.ts +24 -24
  198. package/ts/inputs/data/val.d.ts +41 -41
  199. package/ts/inputs/interfaces/btn_option.d.ts +9 -9
  200. package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
  201. package/ts/inputs/interfaces/index.d.ts +9 -9
  202. package/ts/inputs/interfaces/input.d.ts +2 -2
  203. package/ts/inputs/interfaces/inputs.d.ts +2 -2
  204. package/ts/inputs/interfaces/links.d.ts +2 -2
  205. package/ts/inputs/interfaces/options.d.ts +2 -2
  206. package/ts/inputs/interfaces/sections.d.ts +2 -2
  207. package/ts/inputs/interfaces/state_cond.d.ts +4 -4
  208. package/ts/inputs/interfaces/text_btn.d.ts +7 -7
  209. package/ts/inputs/internal.d.ts +12 -12
  210. package/ts/inputs/obj/btn.d.ts +6 -6
  211. package/ts/inputs/obj/checkbox.d.ts +5 -5
  212. package/ts/inputs/obj/file.d.ts +9 -9
  213. package/ts/inputs/obj/form.d.ts +7 -7
  214. package/ts/inputs/obj/group.d.ts +6 -6
  215. package/ts/inputs/obj/hr.d.ts +5 -5
  216. package/ts/inputs/obj/icon_btn.d.ts +7 -7
  217. package/ts/inputs/obj/index.d.ts +18 -18
  218. package/ts/inputs/obj/input_base.d.ts +45 -44
  219. package/ts/inputs/obj/label.d.ts +5 -5
  220. package/ts/inputs/obj/link.d.ts +17 -16
  221. package/ts/inputs/obj/link_btn.d.ts +6 -6
  222. package/ts/inputs/obj/option.d.ts +6 -6
  223. package/ts/inputs/obj/range.d.ts +20 -20
  224. package/ts/inputs/obj/section.d.ts +31 -28
  225. package/ts/inputs/obj/select.d.ts +9 -9
  226. package/ts/inputs/obj/text.d.ts +18 -18
  227. package/ts/inputs/obj/textarea.d.ts +5 -5
  228. package/ts/inputs/obj/upload_box.d.ts +18 -18
  229. package/ts/inputs/scripts/index.d.ts +2 -2
  230. package/ts/inputs/scripts/resolve.d.ts +7 -7
  231. package/ts/inputs/scripts/upload_box.d.ts +8 -8
  232. package/ts/settings/components/body.d.ts +3 -3
  233. package/ts/settings/components/index.d.ts +1 -1
  234. package/ts/settings/components/prop_types/body.d.ts +8 -7
  235. package/ts/settings/components/prop_types/index.d.ts +1 -1
  236. package/ts/settings/data/back_up.d.ts +17 -17
  237. package/ts/settings/data/index.d.ts +2 -2
  238. package/ts/settings/data/sections.d.ts +43 -43
  239. package/ts/settings/developer_mode/data/index.d.ts +1 -0
  240. package/ts/settings/developer_mode/data/main.d.ts +13 -0
  241. package/ts/settings/init.d.ts +1 -1
  242. package/ts/settings/internal.d.ts +8 -7
  243. package/ts/settings/optional_permissions/data/index.d.ts +1 -1
  244. package/ts/settings/optional_permissions/data/main.d.ts +11 -11
  245. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -1
  246. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -3
  247. package/ts/settings/scripts/index.d.ts +1 -1
  248. package/ts/settings/scripts/theme.d.ts +12 -12
  249. package/ts/shared/app.d.ts +25 -25
  250. package/ts/shared/app_ext_globals.d.ts +1 -6
  251. package/ts/shared/app_version/components/body.d.ts +2 -2
  252. package/ts/shared/app_version/components/index.d.ts +1 -1
  253. package/ts/shared/css_vars/scripts/index.d.ts +1 -1
  254. package/ts/shared/css_vars/scripts/main.d.ts +18 -18
  255. package/ts/shared/data/data/index.d.ts +1 -1
  256. package/ts/shared/data/data/main.d.ts +1 -4
  257. package/ts/shared/data/interfaces/index.d.ts +1 -1
  258. package/ts/shared/data/interfaces/val.d.ts +2 -2
  259. package/ts/shared/ext.d.ts +28 -27
  260. package/ts/shared/functions.d.ts +3 -3
  261. package/ts/shared/globals.d.ts +1 -4
  262. package/ts/shared/header/scripts/index.d.ts +1 -0
  263. package/ts/{announcement/scripts/header.d.ts → shared/header/scripts/main.d.ts} +6 -6
  264. package/ts/shared/init.d.ts +1 -1
  265. package/ts/shared/internal.d.ts +40 -32
  266. package/ts/shared/loading_screen/components/body.d.ts +3 -3
  267. package/ts/shared/loading_screen/components/index.d.ts +1 -1
  268. package/ts/shared/loading_screen/components/prop_types/body.d.ts +5 -5
  269. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -1
  270. package/ts/shared/loading_screen/data/index.d.ts +1 -1
  271. package/ts/shared/loading_screen/data/main.d.ts +12 -12
  272. package/ts/shared/loading_screen/scripts/index.d.ts +2 -2
  273. package/ts/shared/loading_screen/scripts/roots.d.ts +11 -11
  274. package/ts/shared/loading_screen/scripts/tr.d.ts +8 -8
  275. package/ts/shared/no_tr/scripts/index.d.ts +1 -1
  276. package/ts/shared/no_tr/scripts/main.d.ts +12 -12
  277. package/ts/shared/offers/components/body.d.ts +3 -0
  278. package/ts/shared/offers/components/counter.d.ts +2 -0
  279. package/ts/shared/offers/components/index.d.ts +6 -0
  280. package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
  281. package/ts/shared/offers/components/offer.d.ts +3 -0
  282. package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
  283. package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
  284. package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
  285. package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
  286. package/ts/shared/offers/components/top_bar.d.ts +2 -0
  287. package/ts/shared/offers/data/index.d.ts +1 -0
  288. package/ts/shared/offers/data/main.d.ts +22 -0
  289. package/ts/shared/offers/interfaces/index.d.ts +1 -0
  290. package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
  291. package/ts/shared/offers/obj/index.d.ts +1 -0
  292. package/ts/shared/offers/obj/offer.d.ts +12 -0
  293. package/ts/shared/offers/scripts/index.d.ts +1 -0
  294. package/ts/shared/offers/scripts/main.d.ts +8 -0
  295. package/ts/shared/schema/data/index.d.ts +1 -1
  296. package/ts/shared/schema/data/main.d.ts +12 -12
  297. package/ts/shared/schema/obj/index.d.ts +1 -1
  298. package/ts/shared/schema/obj/transform_item.d.ts +7 -7
  299. package/ts/shared/service_worker/scripts/index.d.ts +1 -0
  300. package/ts/shared/service_worker/scripts/main.d.ts +9 -0
  301. package/ts/shared/settings/data/index.d.ts +1 -1
  302. package/ts/shared/settings/data/main.d.ts +15 -15
  303. package/ts/shared/svg.d.ts +9 -7
  304. package/ts/shared/t.d.ts +36 -36
  305. package/ts/shared/tab_index/interfaces/index.d.ts +1 -1
  306. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -2
  307. package/ts/shared/tab_index/scripts/index.d.ts +1 -1
  308. package/ts/shared/tab_index/scripts/main.d.ts +18 -18
  309. package/ts/shared/theme/scripts/index.d.ts +1 -1
  310. package/ts/shared/theme/scripts/main.d.ts +11 -11
  311. package/ts/shared/title/scripts/index.d.ts +1 -1
  312. package/ts/shared/title/scripts/main.d.ts +6 -6
  313. package/ts/shared/tr/components/base_tr.d.ts +9 -9
  314. package/ts/shared/tr/components/index.d.ts +1 -1
  315. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -13
  316. package/ts/shared/tr/components/prop_types/index.d.ts +1 -1
  317. package/ts/shared/tr/data/index.d.ts +1 -1
  318. package/ts/shared/tr/data/transition.d.ts +23 -23
  319. package/ts/shared/tr/interfaces/index.d.ts +1 -1
  320. package/ts/shared/tr/interfaces/transitions.d.ts +2 -2
  321. package/ts/shared/tr/obj/index.d.ts +1 -1
  322. package/ts/shared/tr/obj/transition.d.ts +8 -8
  323. package/ts/shared/utils/scripts/index.d.ts +1 -1
  324. package/ts/shared/utils/scripts/main.d.ts +11 -11
  325. package/ts/shared/vars.d.ts +2 -2
  326. package/ts/shared/viewport/scripts/index.d.ts +1 -1
  327. package/ts/shared/viewport/scripts/main.d.ts +8 -8
  328. package/ts/shared/x.d.ts +56 -67
  329. package/chunk-main-87eebf46.js +0 -1
  330. package/chunk-main-ddb4af78.js +0 -1
  331. package/chunk-main-dffc29ad.js +0 -9
  332. package/chunk-pickr.min-4c2d2755.js +0 -1
  333. package/fonts/noto_sans.woff2 +0 -0
  334. package/ts/announcement/components/prop_types/body.d.ts +0 -4
  335. package/ts/announcement/components/prop_types/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loftyshaky/shared",
3
3
  "description": "-",
4
- "version": "1.4.0",
4
+ "version": "1.6.0",
5
5
  "author": "loftyshaky",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -11,4 +11,4 @@
11
11
  "scripts": {
12
12
  "pub": "npm publish --access public"
13
13
  }
14
- }
14
+ }
@@ -0,0 +1,3 @@
1
+ .header {
2
+ margin-bottom: 0;
3
+ }
@@ -0,0 +1,3 @@
1
+ hr {
2
+ margin-top: 0;
3
+ }
@@ -0,0 +1,5 @@
1
+ @import '../announcement/index';
2
+ @import 'body';
3
+ @import 'hr';
4
+ @import 'links';
5
+ @import 'main';
@@ -0,0 +1,3 @@
1
+ .link {
2
+ display: unset;
3
+ }
@@ -0,0 +1,3 @@
1
+ .main {
2
+ max-width: 600px;
3
+ }
@@ -1,3 +1,10 @@
1
+ .sections_and_offers {
2
+ width: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+ overflow: hidden;
6
+ }
7
+
1
8
  .sections {
2
9
  flex-grow: 1;
3
10
  height: 100%;
@@ -8,6 +15,21 @@
8
15
  margin: $main_margin;
9
16
  }
10
17
 
18
+ .offers {
19
+ @include border_top;
20
+
21
+ order: 1;
22
+
23
+ .offers_inner {
24
+ margin: $main_margin;
25
+ margin-top: $gap;
26
+ }
27
+
28
+ + .sections .section {
29
+ margin-bottom: $gap;
30
+ }
31
+ }
32
+
11
33
  .subsection {
12
34
  .name {
13
35
  margin: 0;
@@ -1,7 +1,6 @@
1
+ .section,
1
2
  .section_inner,
2
- .input_item,
3
- .input_w,
4
- .help, {
3
+ .help {
5
4
  transition: var(--transition);
6
5
  transition-property: opacity;
7
6
  }
@@ -1,5 +1,5 @@
1
- $box_size: 20px;
2
- $checkmark_size: 16px;
1
+ $box_size: 22px;
2
+ $checkmark_size: 18px;
3
3
 
4
4
  .input_item {
5
5
  &.checkbox {
@@ -1,5 +1,5 @@
1
1
  .close_btn {
2
- @include btn();
2
+ @include btn;
3
3
 
4
4
  margin-top: $ext_name_offset;
5
5
  margin-right: $ext_name_offset;
@@ -74,8 +74,8 @@ button {
74
74
  }
75
75
 
76
76
  .more_info_btn {
77
- @include btn();
78
- @include outline_solid();
77
+ @include btn;
78
+ @include outline_solid;
79
79
 
80
80
  outline-color: white;
81
81
  background-color: transparent;
@@ -1,5 +1,4 @@
1
1
  @font-face {
2
2
  font-family: 'u6Pgzb39sNF';
3
- src: url('../../../fonts/noto_sans.woff2')
4
- format('woff2');
3
+ src: url('../../../fonts/NotoSans-Regular.ttf') format('truetype');
5
4
  }
@@ -31,3 +31,4 @@
31
31
  @import 'textareas';
32
32
  @import 'transitions';
33
33
  @import 'upload_box';
34
+ @import 'offers';
@@ -49,12 +49,17 @@ input[type='file'] {
49
49
  .input {
50
50
  @include input_basic;
51
51
 
52
+ width: inherit;
52
53
  opacity: 1; // needed to keep default color when element is is_enabled
53
54
  height: $input_height;
54
55
  padding: 0 $input_inner_padding 0 $input_inner_padding;
55
56
  flex-grow: 1;
56
57
  border-radius: 0;
57
58
  box-sizing: border-box;
59
+
60
+ &.text {
61
+ line-height: $input_height;
62
+ }
58
63
  }
59
64
 
60
65
  .input_w_and_help_btn {
@@ -65,7 +70,6 @@ input[type='file'] {
65
70
  .input_w {
66
71
  position: relative;
67
72
  display: flex;
68
- flex-shrink: 0;
69
73
  box-sizing: border-box;
70
74
 
71
75
  &.text,
@@ -7,10 +7,7 @@
7
7
  content: '';
8
8
  position: absolute;
9
9
  pointer-events: none;
10
- top: 0;
11
- left: 0;
12
- right: 0;
13
- bottom: 0;
10
+ inset: 0;
14
11
  z-index: 1;
15
12
  }
16
13
  }
@@ -5,6 +5,10 @@
5
5
  padding: 0;
6
6
  cursor: pointer;
7
7
 
8
+ &.offer {
9
+ display: unset;
10
+ }
11
+
8
12
  &.svg {
9
13
  svg {
10
14
  display: block;
@@ -1,5 +1,11 @@
1
1
  $border_width_thick: 2px;
2
2
 
3
+ @mixin hidden {
4
+ position: fixed !important;
5
+ visibility: hidden !important;
6
+ top: -99999px !important;
7
+ }
8
+
3
9
  @mixin full_dims {
4
10
  width: 100%;
5
11
  height: 100%;
@@ -32,7 +38,8 @@ $border_width_thick: 2px;
32
38
  transform: translate(-50%, -50%);
33
39
  }
34
40
 
35
- @mixin center_horizontal_variable_width { // max-width should be set
41
+ @mixin center_horizontal_variable_width {
42
+ // max-width should be set
36
43
  left: calc(-50vw + 50%);
37
44
  right: calc(-50vw + 50%);
38
45
  margin-left: auto;
@@ -58,7 +65,9 @@ $border_width_thick: 2px;
58
65
  outline: none;
59
66
  }
60
67
 
61
- $box_shadow_for_mixin: rgb(0 0 0 / 30%) 0 0 2px, rgb(0 0 0 / 30%) 0 4px 8px;
68
+ $box_shadow_for_mixin:
69
+ rgb(0 0 0 / 30%) 0 0 2px,
70
+ rgb(0 0 0 / 30%) 0 4px 8px;
62
71
 
63
72
  @mixin box_shadow {
64
73
  box-shadow: $box_shadow_for_mixin;
@@ -111,11 +120,6 @@ $box_shadow_for_mixin: rgb(0 0 0 / 30%) 0 0 2px, rgb(0 0 0 / 30%) 0 4px 8px;
111
120
  border: $border_width solid $blue;
112
121
  }
113
122
 
114
- @mixin border_bottom {
115
- border-bottom-width: $border_width;
116
- border-bottom-style: solid;
117
- }
118
-
119
123
  @mixin outline_solid {
120
124
  outline-width: $border_width;
121
125
  outline-style: solid;
@@ -11,9 +11,7 @@
11
11
  }
12
12
 
13
13
  .hidden {
14
- position: fixed !important;
15
- visibility: hidden !important;
16
- top: -99999px !important;
14
+ @include hidden;
17
15
  }
18
16
 
19
17
  .visibility_hidden {
@@ -0,0 +1,37 @@
1
+ .offers {
2
+ overflow: auto;
3
+ flex-shrink: 0;
4
+
5
+ .top_bar {
6
+ display: flex;
7
+ justify-content: end;
8
+ margin-bottom: $gap;
9
+
10
+ .visible {
11
+ position: absolute;
12
+ }
13
+
14
+ .shadow {
15
+ visibility: hidden;
16
+ }
17
+ }
18
+
19
+ .offer {
20
+ img {
21
+ @include border;
22
+
23
+ display: block;
24
+ margin-right: $main_margin;
25
+ }
26
+
27
+ p {
28
+ margin: 0;
29
+
30
+ + a {
31
+ margin-top: $gap_small;
32
+ display: block;
33
+ width: fit-content;
34
+ }
35
+ }
36
+ }
37
+ }
@@ -6,9 +6,15 @@ $separator_offset: 7px;
6
6
  -webkit-appearance: none;
7
7
  /* stylelint-disable-next-line property-no-vendor-prefix */
8
8
  -moz-appearance: none;
9
- background-position: calc(100% - 16px) $arrow_offset, calc(100% - 10px) $arrow_offset,
9
+ background-position:
10
+ calc(100% - 16px) $arrow_offset,
11
+ calc(100% - 10px) $arrow_offset,
10
12
  calc(100% - 33px) $separator_offset;
11
- background-size: 6px 6px, 6px 6px, 1px 14px;
13
+ background-size:
14
+ 6px 6px,
15
+ 6px 6px,
16
+ 1px 14px;
12
17
  background-repeat: no-repeat;
13
18
  padding-right: 44px;
19
+ line-height: $input_height; /* Fix text being cut from the bottom of selects. */
14
20
  }
@@ -1,10 +1,14 @@
1
1
  $theme_color_jqv: rgb(255 255 255 / 0.1%);
2
-
3
2
  $htc: white;
4
3
  $tbn: $glass_color;
5
4
  $gaq: #efefef;
6
5
  /* stylelint-disable-next-line max-line-length */
7
- $gqb: linear-gradient(45deg, rgb(39 61 213) 0%, rgb(225 5 34 / 0%) 70%) repeat scroll 0% 0%, linear-gradient(135deg, rgb(12 255 7) 10%, rgb(49 5 209 / 0%) 80%) repeat scroll 0% 0%, linear-gradient(190deg, rgb(135 23 255) 10%, rgb(10 219 216 / 0%) 80%) repeat scroll 0% 0%, rgb(0 0 0 / 0%) linear-gradient(315deg, rgb(51 205 196) 100%, rgb(9 245 5 / 0%) 70%) repeat scroll 0% 0%;
6
+ $gqb:
7
+ linear-gradient(45deg, rgb(39 61 213) 0%, rgb(225 5 34 / 0%) 70%) repeat scroll 0% 0%,
8
+ linear-gradient(135deg, rgb(12 255 7) 10%, rgb(49 5 209 / 0%) 80%) repeat scroll 0% 0%,
9
+ linear-gradient(190deg, rgb(135 23 255) 10%, rgb(10 219 216 / 0%) 80%) repeat scroll 0% 0%,
10
+ rgb(0 0 0 / 0%) linear-gradient(315deg, rgb(51 205 196) 100%, rgb(9 245 5 / 0%) 70%) repeat
11
+ scroll 0% 0%;
8
12
  $hfb: transparent;
9
13
  $gvb: rgb(255 255 255 / 36%);
10
14
  $npw: rgb(255 255 255 / 20%);
@@ -23,16 +27,21 @@ $nep: #90efff;
23
27
  $htm: #ffa96c;
24
28
  $qgp: #28dd57;
25
29
  $hyv: #66ff8e;
26
- $ycp: #0014ff;
30
+ $ycp: #000da1;
27
31
  $iub: #2e8cff;
28
- $cop: #be1;
32
+ $cop: #303f00;
29
33
  $yun: #14bf0a;
30
- $ptn: #ae00ff;
34
+ $ptn: #62008f;
31
35
  $dwk: #d046e9;
32
- $uzf: #ff8f1f;
36
+ $uzf: #572b00;
33
37
  $hap: #f17442;
34
38
  $rqb: #e7121c;
39
+ $thm: #6f0005;
35
40
  $suc: #d0111a;
41
+ $pxd: #0014ff;
42
+ $ksu: #be1;
43
+ $upd: #ae00ff;
44
+ $fpw: #ff8f1f;
36
45
  $dfp: #0cbea4;
37
46
  $nqp: rgb(57 124 249 / 99%);
38
47
  $hgb: rgb(255 77 85 / 99%);
@@ -10,7 +10,6 @@ $theme_color_bvc: #b938c7;
10
10
  $theme_color_wnc: #ce7209;
11
11
  $theme_color_yhn: #bb141c;
12
12
  $theme_color_gsl: rgb(174 35 43 / 99%);
13
-
14
13
  $htc: $theme_color_ynq;
15
14
  $tbn: $theme_color_ynq;
16
15
  $gaq: $theme_color_ytb;
@@ -42,7 +41,12 @@ $dwk: $theme_color_bvc;
42
41
  $uzf: $theme_color_wnc;
43
42
  $hap: $theme_color_wnc;
44
43
  $rqb: $theme_color_yhn;
44
+ $thm: $theme_color_yhn;
45
45
  $suc: $theme_color_yhn;
46
+ $pxd: $theme_color_kxn;
47
+ $ksu: $theme_color_tjn;
48
+ $upd: $theme_color_bvc;
49
+ $fpw: $theme_color_wnc;
46
50
  $dfp: #29394d;
47
51
  $nqp: $theme_color_gsl;
48
52
  $hgb: $theme_color_gsl;
@@ -1,10 +1,18 @@
1
1
  $theme_color_jqv: rgb(255 255 255 / 0.1%);
2
-
2
+ $theme_color_udj: #19f4ff;
3
+ $theme_color_kvo: #4bff1f;
4
+ $theme_color_ftp: #fbff12;
5
+ $theme_color_oyq: #ff8400;
3
6
  $htc: white;
4
7
  $tbn: $glass_color;
5
8
  $gaq: #efefef;
6
9
  /* stylelint-disable-next-line max-line-length */
7
- $gqb: linear-gradient(45deg, rgb(52 15 189) 0%, rgb(225 5 34 / 0%) 70%) repeat scroll 0% 0%, linear-gradient(135deg, rgb(241 22 168) 10%, rgb(49 5 209 / 0%) 80%) repeat scroll 0% 0%, linear-gradient(190deg, rgb(26 211 208) 10%, rgb(10 219 216 / 0%) 80%) repeat scroll 0% 0%, rgb(0 0 0 / 0%) linear-gradient(315deg, rgb(163 34 203) 100%, rgb(9 245 5 / 0%) 70%) repeat scroll 0% 0%;
10
+ $gqb:
11
+ linear-gradient(45deg, rgb(52 15 189) 0%, rgb(225 5 34 / 0%) 70%) repeat scroll 0% 0%,
12
+ linear-gradient(135deg, rgb(241 22 168) 10%, rgb(49 5 209 / 0%) 80%) repeat scroll 0% 0%,
13
+ linear-gradient(190deg, rgb(26 211 208) 10%, rgb(10 219 216 / 0%) 80%) repeat scroll 0% 0%,
14
+ rgb(0 0 0 / 0%) linear-gradient(315deg, rgb(163 34 203) 100%, rgb(9 245 5 / 0%) 70%) repeat
15
+ scroll 0% 0%;
8
16
  $hfb: transparent;
9
17
  $gvb: rgb(255 255 255 / 36%);
10
18
  $npw: rgb(255 255 255 / 20%);
@@ -23,16 +31,21 @@ $nep: #90efff;
23
31
  $htm: #ffa96c;
24
32
  $qgp: #3ea559;
25
33
  $hyv: #66ff8e;
26
- $ycp: #19f4ff;
34
+ $ycp: $theme_color_udj;
27
35
  $iub: #2e8cff;
28
- $cop: #4bff1f;
36
+ $cop: $theme_color_kvo;
29
37
  $yun: #14bf0a;
30
- $ptn: #20f;
38
+ $ptn: $theme_color_ftp;
31
39
  $dwk: #d046e9;
32
- $uzf: #fbff12;
40
+ $uzf: $theme_color_oyq;
33
41
  $hap: #f17442;
34
42
  $rqb: #ff471a;
43
+ $thm: #ffa993;
35
44
  $suc: #d0111a;
45
+ $pxd: $theme_color_udj;
46
+ $ksu: $theme_color_kvo;
47
+ $upd: $theme_color_ftp;
48
+ $fpw: $theme_color_oyq;
36
49
  $dfp: #842fa9;
37
50
  $nqp: rgb(244 96 62 / 99%);
38
51
  $hgb: rgb(255 77 85 / 99%);
@@ -10,7 +10,6 @@ $theme_color_bvc: #d046e9;
10
10
  $theme_color_wnc: #f17442;
11
11
  $theme_color_yhn: #d0111a;
12
12
  $theme_color_gsl: rgb(255 77 85 / 99%);
13
-
14
13
  $htc: $theme_color_ynq;
15
14
  $tbn: $theme_color_ynq;
16
15
  $gaq: $theme_color_ytb;
@@ -42,7 +41,12 @@ $dwk: $theme_color_bvc;
42
41
  $uzf: $theme_color_wnc;
43
42
  $hap: $theme_color_wnc;
44
43
  $rqb: $theme_color_yhn;
44
+ $thm: $theme_color_yhn;
45
45
  $suc: $theme_color_yhn;
46
+ $pxd: $theme_color_kxn;
47
+ $ksu: $theme_color_tjn;
48
+ $upd: $theme_color_bvc;
49
+ $fpw: $theme_color_wnc;
46
50
  $dfp: #a2d4ff;
47
51
  $nqp: $theme_color_gsl;
48
52
  $hgb: $theme_color_gsl;
@@ -10,7 +10,6 @@ $theme_color_bvc: #af22bf;
10
10
  $theme_color_wnc: #c96b00;
11
11
  $theme_color_yhn: #b1131a;
12
12
  $theme_color_gsl: rgb(120 30 34 / 99%);
13
-
14
13
  $htc: $theme_color_ynq;
15
14
  $tbn: $theme_color_ynq;
16
15
  $gaq: $theme_color_ytb;
@@ -42,7 +41,12 @@ $dwk: $theme_color_bvc;
42
41
  $uzf: $theme_color_wnc;
43
42
  $hap: $theme_color_wnc;
44
43
  $rqb: $theme_color_yhn;
44
+ $thm: $theme_color_yhn;
45
45
  $suc: $theme_color_yhn;
46
+ $pxd: $theme_color_kxn;
47
+ $ksu: $theme_color_tjn;
48
+ $upd: $theme_color_bvc;
49
+ $fpw: $theme_color_wnc;
46
50
  $dfp: #0f1721;
47
51
  $nqp: $theme_color_gsl;
48
52
  $hgb: $theme_color_gsl;
@@ -37,11 +37,11 @@
37
37
  }
38
38
 
39
39
  .link {
40
- @include link_colors_standard();
40
+ @include link_colors_standard;
41
41
  }
42
42
 
43
43
  .link_btn {
44
- @include link_colors_standard();
44
+ @include link_colors_standard;
45
45
  }
46
46
 
47
47
  textarea {
@@ -110,6 +110,10 @@ hr {
110
110
  background-color: $hyn;
111
111
  }
112
112
 
113
+ .dependencies hr {
114
+ background-color: $lpe;
115
+ }
116
+
113
117
  .btn_options {
114
118
  background-color: $npw;
115
119
  border-color: $hyn;
@@ -125,14 +129,18 @@ hr {
125
129
  }
126
130
  }
127
131
 
128
- .sections {
132
+ .sections_and_offers {
129
133
  background-color: $tbn;
130
134
 
131
- .section_name {
135
+ .offers {
132
136
  border-color: $hyn;
133
137
  }
134
138
  }
135
139
 
140
+ .sections .section_name {
141
+ border-color: $hyn;
142
+ }
143
+
136
144
  .section_btns {
137
145
  background-color: $gvb;
138
146
 
@@ -140,11 +148,11 @@ hr {
140
148
  background-color: $hfb;
141
149
 
142
150
  &.selected::before {
143
- background-color: $ycp;
151
+ background-color: $pxd;
144
152
  }
145
153
 
146
154
  &:not(.selected):hover::before {
147
- background-color: $cop;
155
+ background-color: $ksu;
148
156
  }
149
157
  }
150
158
  }
@@ -239,11 +247,13 @@ hr {
239
247
  &.loading {
240
248
  background-color: transparent;
241
249
  /* stylelint-disable-next-line function-parentheses-newline-inside */
242
- background-image: repeating-linear-gradient(-45deg,
243
- $npw,
244
- $npw 14px,
245
- $qgp 14px,
246
- $qgp 28px); /* stylelint-disable-line function-parentheses-newline-inside */
250
+ background-image: repeating-linear-gradient(
251
+ -45deg,
252
+ $npw,
253
+ $npw 14px,
254
+ $qgp 14px,
255
+ $qgp 28px
256
+ ); /* stylelint-disable-line function-parentheses-newline-inside */
247
257
  }
248
258
  }
249
259
  }
@@ -284,8 +294,12 @@ hr {
284
294
  }
285
295
  }
286
296
 
297
+ .offer img {
298
+ border-color: $hyn;
299
+ }
300
+
287
301
  .input_error {
288
- color: $rqb;
302
+ color: $thm;
289
303
  }
290
304
 
291
305
  .ext_version {
@@ -3,7 +3,7 @@
3
3
  .input_item {
4
4
  .input_w {
5
5
  &.is_in_focus_state:not(.select)::before {
6
- outline-color: $cop;
6
+ outline-color: $ksu;
7
7
  }
8
8
 
9
9
  &.is_in_warn_state:not(.select)::before,
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  .visualization_w.opened .visualization {
16
- outline-color: $ycp;
16
+ outline-color: $pxd;
17
17
  }
18
18
 
19
19
  .palette_visualization_w.opened .palette_visualization,
@@ -33,7 +33,7 @@ body.keyboard .btn.text:focus,
33
33
  .keyboard .input_item.range .input.is_in_focus_state,
34
34
  .keyboard .input_item .visualization_w .visualization:focus,
35
35
  .keyboard .btn_options .btn_option:focus {
36
- outline-color: $ptn;
36
+ outline-color: $upd;
37
37
  }
38
38
 
39
39
  .keyboard .input_item.color .btn.text:focus {
@@ -60,5 +60,7 @@ body.keyboard .btn.text:focus,
60
60
  }
61
61
 
62
62
  .keyboard .section_btn:not(.selected):focus {
63
- box-shadow: inset 0 0 0 2px $ptn, inset -2px 0 0 0 $ptn;
63
+ box-shadow:
64
+ inset 0 0 0 2px $upd,
65
+ inset -2px 0 0 0 $upd;
64
66
  }
@@ -1,11 +1,14 @@
1
1
  /* stylelint-disable selector-class-pattern */
2
2
 
3
3
  .loading_screen,
4
+ .input_item,
5
+ .input_w,
4
6
  .checkbox .box svg,
5
7
  .color_picker_w,
6
8
  .palette_w,
7
9
  .color_help_w,
8
- .btn_options {
10
+ .btn_options,
11
+ .offers {
9
12
  transition: var(--transition);
10
13
  transition-property: opacity;
11
14
  }
@@ -16,7 +19,7 @@
16
19
  transition-property: background-color;
17
20
  }
18
21
 
19
- .btn:not(.reload_ui, .link_btn), {
22
+ .btn:not(.reload_ui, .link_btn) {
20
23
  transition: var(--transition);
21
24
  transition-property: opacity, background-color;
22
25
  }
@@ -1,9 +1,7 @@
1
1
  $upload_box_text_z_index: 2;
2
2
  $upload_box_loading_animation_size: 40px;
3
-
4
3
  $backgrond_margin: 2px;
5
4
  $backgrond_dim_offset: 2px * 2;
6
-
7
5
  $status_msg_offset: 5px;
8
6
 
9
7
  .input_item {
@@ -64,7 +62,8 @@ $status_msg_offset: 5px;
64
62
 
65
63
  &.loading {
66
64
  animation: move 450ms linear infinite;
67
- background-size: $upload_box_loading_animation_size $upload_box_loading_animation_size;
65
+ background-size: $upload_box_loading_animation_size
66
+ $upload_box_loading_animation_size;
68
67
  }
69
68
  }
70
69
  }
@@ -1,3 +1,4 @@
1
+ $scrollbar_width: 17px;
1
2
  $font_main: 17px;
2
3
  $font_big: 24px;
3
4
  $font_small: 13px;
@@ -17,9 +18,15 @@ $black: #212121;
17
18
  $yellow: #fbff75;
18
19
  $light_orange: #fff7c7;
19
20
  $blue: #3892ff;
20
- $black_shadow: rgb(0 0 0 / 30%) 0 0 30px, rgb(0 0 0 / 30%) 0 4px 8px;
21
+ $black_shadow:
22
+ rgb(0 0 0 / 30%) 0 0 30px,
23
+ rgb(0 0 0 / 30%) 0 4px 8px;
21
24
  $black_shadow_2: 0 20px 30px rgb(0 0 0 / 20%);
22
- $blue_neon_dark: rgb(0 115 255 / 100%) 0 0 33px, rgb(255 255 255 / 40%) 0 0 10px;
23
- $blue_neon_very_dark: rgb(0 102 255 / 85%) 0 0 36px, rgb(255 255 255 / 40%) 0 0 10px;
25
+ $blue_neon_dark:
26
+ rgb(0 115 255 / 100%) 0 0 33px,
27
+ rgb(255 255 255 / 40%) 0 0 10px;
28
+ $blue_neon_very_dark:
29
+ rgb(0 102 255 / 85%) 0 0 36px,
30
+ rgb(255 255 255 / 40%) 0 0 10px;
24
31
  $glass_color: rgb(255 255 255 / 20%);
25
32
  $glass_blur: blur(8px);
package/settings.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import "./ts/shared/internal";
2
- export { c_settings, d_settings, d_optional_permissions, s_settings, i_optional_permissions, } from "./ts/settings/internal";
1
+ import './ts/shared/internal';
2
+ export { c_settings, d_settings, d_developer_mode, d_optional_permissions, s_settings, i_optional_permissions, } from './ts/settings/internal';
package/settings.js CHANGED
@@ -1 +1,5 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var main=require("./chunk-main-dffc29ad.js");require("react");var main$1=require("./chunk-main-ddb4af78.js");require("react-dom");var index$4=Object.freeze({__proto__:null,Body:main.Body$2}),index$3=Object.freeze({__proto__:null,BackUp:main.BackUp,Sections:main.Sections});var index$2=Object.freeze({__proto__:null,Main:class{constructor(){this.set_permission=({name:name,optional_permission_checkbox_dict:optional_permission_checkbox_dict})=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){const permissions=optional_permission_checkbox_dict[name];if(yield we.permissions.contains(permissions)){(yield we.permissions.remove(permissions))&&this.set_checkbox_val({name:name,val:!1})}else{(yield we.permissions.request(permissions))&&this.set_checkbox_val({name:name,val:!0})}}))),"shr_1221"),this.set_checkbox_val=({name:name,val:val})=>err((()=>{data.ui[name]=val}),"shr_1222"),main.makeObservable(this,{set_checkbox_val:main.action})}static i(){return this.i0||(this.i0=new this)}}});var index$1=Object.freeze({__proto__:null,Theme:class{constructor(){this.change=({input:input,name:name,additional_theme_callback:additional_theme_callback})=>err((()=>{"options_page_theme"===input.name&&main$1.Main$1.i().set({name:name,additional_theme_callback:additional_theme_callback})}),"shr_1088")}static i(){return this.i0||(this.i0=new this)}}}),index=Object.freeze({__proto__:null});exports.c_settings=index$4,exports.d_optional_permissions=index$2,exports.d_settings=index$3,exports.i_optional_permissions=index,exports.s_settings=index$1;
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main=require("./chunk-main.js");require("react");var main$1=require("./chunk-main3.js");require("react-dom");var index$5=Object.freeze({__proto__:null,Body:main.Body$2}),index$4=Object.freeze({__proto__:null,BackUp:main.BackUp,Sections:main.Sections}),index$3=Object.freeze({__proto__:null,Main:main.Main$5});var index$2=Object.freeze({__proto__:null,Main:class{static i(){return this.i0||(this.i0=new this)}constructor(){this.set_permission=({name:name,optional_permission_checkbox_dict:optional_permission_checkbox_dict})=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){const permissions=optional_permission_checkbox_dict[name];if(yield we.permissions.contains(permissions)){(yield we.permissions.remove(permissions))&&this.set_checkbox_val({name:name,val:!1})}else{(yield we.permissions.request(permissions))&&this.set_checkbox_val({name:name,val:!0})}}))),"shr_1221"),this.set_checkbox_val=({name:name,val:val})=>err((()=>{data.ui[name]=val}),"shr_1222"),main.makeObservable(this,{set_checkbox_val:main.action})}}});var index$1=Object.freeze({__proto__:null,Theme:class{static i(){return this.i0||(this.i0=new this)}constructor(){this.change=({input:input,name:name,additional_theme_callback:additional_theme_callback})=>err((()=>{"options_page_theme"===input.name&&main$1.Main$1.i().set({name:name,additional_theme_callback:additional_theme_callback})}),"shr_1088")}}}),index=Object.freeze({__proto__:null});exports.c_settings=index$5,exports.d_developer_mode=index$3,exports.d_optional_permissions=index$2,exports.d_settings=index$4,exports.i_optional_permissions=index,exports.s_settings=index$1;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- import { p_announcement } from "../internal";
3
- export declare const Body: React.FunctionComponent<p_announcement.Body>;
1
+ import React from 'react';
2
+ export declare const Body: React.FunctionComponent;