@loftyshaky/shared-app 1.0.2 → 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 (356) hide show
  1. package/LICENSE.md +21 -0
  2. package/_locales/de/messages.json +1 -1
  3. package/_locales/en/messages.json +119 -2
  4. package/_locales/ru/messages.json +65 -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/env.js +11 -3
  29. package/js/locales.js +23 -8
  30. package/js/package/plugins/rollup-plugin-copy.js +169 -169
  31. package/js/package/plugins/watcher.js +56 -56
  32. package/js/package/terser.js +18 -18
  33. package/js/task_scheduler.js +39 -39
  34. package/js/tsc_alias.js +19 -0
  35. package/js/webpack.config.js +35 -3
  36. package/package.json +2 -2
  37. package/scss/dependencies/body.scss +3 -0
  38. package/scss/dependencies/hr.scss +3 -0
  39. package/scss/dependencies/index.scss +5 -0
  40. package/scss/dependencies/links.scss +3 -0
  41. package/scss/dependencies/main.scss +3 -0
  42. package/scss/settings/section_btns.scss +52 -52
  43. package/scss/settings/sections.scss +22 -0
  44. package/scss/settings/transitions.scss +3 -13
  45. package/scss/shared/btns.scss +69 -16
  46. package/scss/shared/checkboxes.scss +38 -38
  47. package/scss/shared/close_btn.scss +18 -0
  48. package/scss/shared/color_pickers.scss +93 -93
  49. package/scss/shared/colors.scss +90 -84
  50. package/scss/shared/embed/error.scss +45 -28
  51. package/scss/shared/embed/font_face.scss +1 -2
  52. package/scss/shared/focus.scss +15 -9
  53. package/scss/shared/functions.scss +5 -0
  54. package/scss/shared/help.scss +3 -5
  55. package/scss/shared/index.scss +5 -0
  56. package/scss/shared/input_btns.scss +12 -11
  57. package/scss/shared/input_error.scss +3 -0
  58. package/scss/shared/inputs.scss +90 -70
  59. package/scss/shared/inset_border.scss +1 -8
  60. package/scss/shared/link_btns.scss +8 -0
  61. package/scss/shared/links.scss +12 -0
  62. package/scss/shared/main.scss +3 -0
  63. package/scss/shared/mixins.scss +60 -6
  64. package/scss/shared/mods.scss +11 -5
  65. package/scss/shared/offers.scss +37 -0
  66. package/scss/shared/scrollbar.scss +35 -35
  67. package/scss/shared/selects.scss +8 -2
  68. package/scss/shared/themes/colors/aqua.scss +48 -0
  69. package/scss/shared/themes/colors/dark.scss +51 -12
  70. package/scss/shared/themes/colors/lavender.scss +52 -0
  71. package/scss/shared/themes/colors/light.scss +51 -12
  72. package/scss/shared/themes/colors/very_dark.scss +51 -12
  73. package/scss/shared/themes/general/aqua_theme.scss +9 -0
  74. package/scss/shared/themes/general/dark_theme.scss +3 -1
  75. package/scss/shared/themes/general/lavender_theme.scss +9 -0
  76. package/scss/shared/themes/general/light_theme.scss +3 -1
  77. package/scss/shared/themes/general/template.scss +123 -75
  78. package/scss/shared/themes/general/template_focus.scss +24 -10
  79. package/scss/shared/themes/general/very_dark_theme.scss +3 -1
  80. package/scss/shared/transitions.scss +23 -2
  81. package/scss/shared/upload_box.scss +80 -67
  82. package/scss/shared/vars.scss +15 -2
  83. package/settings.d.ts +2 -2
  84. package/settings.js +5 -1
  85. package/ts/announcement/components/body.d.ts +2 -3
  86. package/ts/announcement/components/index.d.ts +1 -1
  87. package/ts/announcement/internal.d.ts +2 -3
  88. package/ts/announcement/scripts/display.d.ts +6 -6
  89. package/ts/announcement/scripts/index.d.ts +1 -2
  90. package/ts/dependencies/components/body.d.ts +2 -0
  91. package/ts/dependencies/components/index.d.ts +1 -0
  92. package/ts/dependencies/internal.d.ts +2 -0
  93. package/ts/dependencies/scripts/dependencies.d.ts +7 -0
  94. package/ts/dependencies/scripts/index.d.ts +1 -0
  95. package/ts/error_modules/crash_handler/components/body.d.ts +52 -52
  96. package/ts/error_modules/crash_handler/components/index.d.ts +1 -1
  97. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -4
  98. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -1
  99. package/ts/error_modules/crash_handler/data/index.d.ts +1 -1
  100. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -7
  101. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -1
  102. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -6
  103. package/ts/error_modules/css/scripts/index.d.ts +1 -1
  104. package/ts/error_modules/css/scripts/main.d.ts +8 -8
  105. package/ts/error_modules/error/components/body.d.ts +3 -3
  106. package/ts/error_modules/error/components/close_btn.d.ts +2 -2
  107. package/ts/error_modules/error/components/ext_name.d.ts +2 -2
  108. package/ts/error_modules/error/components/index.d.ts +6 -4
  109. package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -0
  110. package/ts/error_modules/error/components/msg.d.ts +2 -2
  111. package/ts/error_modules/error/components/progress.d.ts +2 -0
  112. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -5
  113. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -1
  114. package/ts/error_modules/error/data/index.d.ts +4 -3
  115. package/ts/error_modules/error/data/main.d.ts +11 -10
  116. package/ts/error_modules/error/data/msg.d.ts +13 -15
  117. package/ts/error_modules/error/data/progress.d.ts +17 -0
  118. package/ts/error_modules/error/data/state.d.ts +25 -24
  119. package/ts/error_modules/error/interfaces/error.d.ts +6 -6
  120. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -6
  121. package/ts/error_modules/error/interfaces/index.d.ts +7 -5
  122. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -0
  123. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  124. package/ts/error_modules/error/interfaces/show_error.d.ts +11 -6
  125. package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -0
  126. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
  127. package/ts/error_modules/error/scripts/flash.d.ts +11 -0
  128. package/ts/error_modules/error/scripts/globals.d.ts +1 -9
  129. package/ts/error_modules/error/scripts/index.d.ts +3 -1
  130. package/ts/error_modules/error/scripts/notification.d.ts +8 -0
  131. package/ts/error_modules/init.d.ts +1 -0
  132. package/ts/error_modules/internal.d.ts +11 -10
  133. package/ts/inputs/color/components/body.d.ts +3 -3
  134. package/ts/inputs/color/components/color_picker.d.ts +3 -3
  135. package/ts/inputs/color/components/fill_shadow.d.ts +3 -3
  136. package/ts/inputs/color/components/index.d.ts +4 -4
  137. package/ts/inputs/color/components/prop_types/body.d.ts +4 -4
  138. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -7
  139. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -5
  140. package/ts/inputs/color/components/prop_types/index.d.ts +4 -4
  141. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -6
  142. package/ts/inputs/color/components/visualization.d.ts +3 -3
  143. package/ts/inputs/color/data/color.d.ts +54 -54
  144. package/ts/inputs/color/data/index.d.ts +2 -2
  145. package/ts/inputs/color/data/visibility.d.ts +38 -38
  146. package/ts/inputs/color/interfaces/color.d.ts +1 -1
  147. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -6
  148. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -5
  149. package/ts/inputs/color/interfaces/i.d.ts +1 -1
  150. package/ts/inputs/color/interfaces/index.d.ts +4 -4
  151. package/ts/inputs/color/obj/color.d.ts +54 -54
  152. package/ts/inputs/color/obj/index.d.ts +1 -1
  153. package/ts/inputs/color/scripts/color_picker.d.ts +20 -20
  154. package/ts/inputs/color/scripts/index.d.ts +2 -2
  155. package/ts/inputs/color/scripts/position.d.ts +7 -7
  156. package/ts/inputs/components/btn.d.ts +3 -3
  157. package/ts/inputs/components/checkbox.d.ts +3 -3
  158. package/ts/inputs/components/file.d.ts +3 -3
  159. package/ts/inputs/components/form.d.ts +3 -0
  160. package/ts/inputs/components/group.d.ts +3 -3
  161. package/ts/inputs/components/help.d.ts +3 -3
  162. package/ts/inputs/components/help_btn.d.ts +3 -3
  163. package/ts/inputs/components/hr.d.ts +3 -3
  164. package/ts/inputs/components/icon_btn.d.ts +3 -3
  165. package/ts/inputs/components/index.d.ts +25 -21
  166. package/ts/inputs/components/input_error.d.ts +3 -0
  167. package/ts/inputs/components/input_item.d.ts +3 -3
  168. package/ts/inputs/components/label.d.ts +3 -3
  169. package/ts/inputs/components/label_in_input_item.d.ts +3 -0
  170. package/ts/inputs/components/link.d.ts +3 -3
  171. package/ts/inputs/components/link_btn.d.ts +3 -3
  172. package/ts/inputs/components/link_icon_btn.d.ts +3 -0
  173. package/ts/inputs/components/prop_types/btn.d.ts +4 -4
  174. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -4
  175. package/ts/inputs/components/prop_types/file.d.ts +4 -4
  176. package/ts/inputs/components/prop_types/form.d.ts +5 -0
  177. package/ts/inputs/components/prop_types/group.d.ts +5 -5
  178. package/ts/inputs/components/prop_types/help.d.ts +4 -4
  179. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -4
  180. package/ts/inputs/components/prop_types/hr.d.ts +4 -4
  181. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -4
  182. package/ts/inputs/components/prop_types/index.d.ts +25 -21
  183. package/ts/inputs/components/prop_types/input_error.d.ts +4 -0
  184. package/ts/inputs/components/prop_types/input_item.d.ts +7 -7
  185. package/ts/inputs/components/prop_types/label.d.ts +4 -4
  186. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -0
  187. package/ts/inputs/components/prop_types/link.d.ts +4 -4
  188. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -4
  189. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -0
  190. package/ts/inputs/components/prop_types/range.d.ts +6 -4
  191. package/ts/inputs/components/prop_types/section.d.ts +4 -4
  192. package/ts/inputs/components/prop_types/section_btn.d.ts +7 -6
  193. package/ts/inputs/components/prop_types/section_content.d.ts +5 -4
  194. package/ts/inputs/components/prop_types/select.d.ts +6 -4
  195. package/ts/inputs/components/prop_types/text.d.ts +6 -4
  196. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
  197. package/ts/inputs/components/prop_types/textarea.d.ts +6 -4
  198. package/ts/inputs/components/prop_types/upload_box.d.ts +5 -4
  199. package/ts/inputs/components/range.d.ts +3 -3
  200. package/ts/inputs/components/section.d.ts +3 -3
  201. package/ts/inputs/components/section_btn.d.ts +3 -3
  202. package/ts/inputs/components/section_content.d.ts +3 -3
  203. package/ts/inputs/components/select.d.ts +3 -3
  204. package/ts/inputs/components/text.d.ts +3 -3
  205. package/ts/inputs/components/text_btn.d.ts +3 -3
  206. package/ts/inputs/components/textarea.d.ts +3 -3
  207. package/ts/inputs/components/upload_box.d.ts +3 -3
  208. package/ts/inputs/data/help.d.ts +15 -15
  209. package/ts/inputs/data/index.d.ts +8 -7
  210. package/ts/inputs/data/input_error.d.ts +12 -0
  211. package/ts/inputs/data/input_width.d.ts +26 -22
  212. package/ts/inputs/data/{label.d.ts → labelIn_in_putI_iem.d.ts} +9 -9
  213. package/ts/inputs/data/nested_input.d.ts +18 -18
  214. package/ts/inputs/data/text.d.ts +21 -21
  215. package/ts/inputs/data/upload_box.d.ts +24 -20
  216. package/ts/inputs/data/val.d.ts +41 -36
  217. package/ts/inputs/interfaces/btn_option.d.ts +9 -0
  218. package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
  219. package/ts/inputs/interfaces/index.d.ts +9 -8
  220. package/ts/inputs/interfaces/input.d.ts +2 -2
  221. package/ts/inputs/interfaces/inputs.d.ts +2 -2
  222. package/ts/inputs/interfaces/links.d.ts +2 -2
  223. package/ts/inputs/interfaces/options.d.ts +2 -2
  224. package/ts/inputs/interfaces/sections.d.ts +2 -2
  225. package/ts/inputs/interfaces/state_cond.d.ts +4 -4
  226. package/ts/inputs/interfaces/text_btn.d.ts +7 -7
  227. package/ts/inputs/internal.d.ts +12 -12
  228. package/ts/inputs/obj/btn.d.ts +6 -5
  229. package/ts/inputs/obj/checkbox.d.ts +5 -5
  230. package/ts/inputs/obj/file.d.ts +9 -8
  231. package/ts/inputs/obj/form.d.ts +7 -0
  232. package/ts/inputs/obj/group.d.ts +6 -6
  233. package/ts/inputs/obj/hr.d.ts +5 -5
  234. package/ts/inputs/obj/icon_btn.d.ts +7 -6
  235. package/ts/inputs/obj/index.d.ts +18 -16
  236. package/ts/inputs/obj/input_base.d.ts +45 -37
  237. package/ts/inputs/obj/label.d.ts +5 -0
  238. package/ts/inputs/obj/link.d.ts +17 -12
  239. package/ts/inputs/obj/link_btn.d.ts +6 -5
  240. package/ts/inputs/obj/option.d.ts +6 -6
  241. package/ts/inputs/obj/range.d.ts +20 -20
  242. package/ts/inputs/obj/section.d.ts +31 -17
  243. package/ts/inputs/obj/select.d.ts +9 -9
  244. package/ts/inputs/obj/text.d.ts +18 -17
  245. package/ts/inputs/obj/textarea.d.ts +5 -5
  246. package/ts/inputs/obj/upload_box.d.ts +18 -14
  247. package/ts/inputs/scripts/index.d.ts +2 -2
  248. package/ts/inputs/scripts/resolve.d.ts +7 -5
  249. package/ts/inputs/scripts/upload_box.d.ts +8 -8
  250. package/ts/settings/components/body.d.ts +3 -3
  251. package/ts/settings/components/index.d.ts +1 -1
  252. package/ts/settings/components/prop_types/body.d.ts +8 -7
  253. package/ts/settings/components/prop_types/index.d.ts +1 -1
  254. package/ts/settings/data/back_up.d.ts +17 -16
  255. package/ts/settings/data/index.d.ts +2 -2
  256. package/ts/settings/data/sections.d.ts +43 -37
  257. package/ts/settings/developer_mode/data/index.d.ts +1 -0
  258. package/ts/settings/developer_mode/data/main.d.ts +13 -0
  259. package/ts/settings/init.d.ts +1 -1
  260. package/ts/settings/internal.d.ts +8 -9
  261. package/ts/settings/optional_permissions/data/index.d.ts +1 -1
  262. package/ts/settings/optional_permissions/data/main.d.ts +11 -11
  263. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -1
  264. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -3
  265. package/ts/settings/scripts/index.d.ts +1 -1
  266. package/ts/settings/scripts/theme.d.ts +12 -12
  267. package/ts/shared/app.d.ts +25 -18
  268. package/ts/shared/app_ext_globals.d.ts +1 -6
  269. package/ts/shared/app_version/components/body.d.ts +2 -2
  270. package/ts/shared/app_version/components/index.d.ts +1 -1
  271. package/ts/shared/css_vars/scripts/index.d.ts +1 -1
  272. package/ts/shared/css_vars/scripts/main.d.ts +18 -18
  273. package/ts/shared/data/data/index.d.ts +1 -1
  274. package/ts/shared/data/data/main.d.ts +1 -4
  275. package/ts/shared/data/interfaces/index.d.ts +1 -1
  276. package/ts/shared/data/interfaces/val.d.ts +2 -2
  277. package/ts/shared/ext.d.ts +28 -27
  278. package/ts/shared/functions.d.ts +3 -3
  279. package/ts/shared/globals.d.ts +1 -4
  280. package/ts/shared/header/scripts/index.d.ts +1 -0
  281. package/ts/{announcement/scripts/header.d.ts → shared/header/scripts/main.d.ts} +6 -6
  282. package/ts/shared/init.d.ts +1 -1
  283. package/ts/shared/internal.d.ts +40 -29
  284. package/ts/shared/loading_screen/components/body.d.ts +3 -3
  285. package/ts/shared/loading_screen/components/index.d.ts +1 -1
  286. package/ts/shared/loading_screen/components/prop_types/body.d.ts +5 -5
  287. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -1
  288. package/ts/shared/loading_screen/data/index.d.ts +1 -1
  289. package/ts/shared/loading_screen/data/main.d.ts +12 -12
  290. package/ts/shared/loading_screen/scripts/index.d.ts +2 -2
  291. package/ts/shared/loading_screen/scripts/roots.d.ts +11 -11
  292. package/ts/shared/loading_screen/scripts/tr.d.ts +8 -8
  293. package/ts/shared/no_tr/scripts/index.d.ts +1 -1
  294. package/ts/shared/no_tr/scripts/main.d.ts +12 -12
  295. package/ts/shared/offers/components/body.d.ts +3 -0
  296. package/ts/shared/offers/components/counter.d.ts +2 -0
  297. package/ts/shared/offers/components/index.d.ts +6 -0
  298. package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
  299. package/ts/shared/offers/components/offer.d.ts +3 -0
  300. package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
  301. package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
  302. package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
  303. package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
  304. package/ts/shared/offers/components/top_bar.d.ts +2 -0
  305. package/ts/shared/offers/data/index.d.ts +1 -0
  306. package/ts/shared/offers/data/main.d.ts +22 -0
  307. package/ts/shared/offers/interfaces/index.d.ts +1 -0
  308. package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
  309. package/ts/shared/offers/obj/index.d.ts +1 -0
  310. package/ts/shared/offers/obj/offer.d.ts +12 -0
  311. package/ts/shared/offers/scripts/index.d.ts +1 -0
  312. package/ts/shared/offers/scripts/main.d.ts +8 -0
  313. package/ts/shared/schema/data/index.d.ts +1 -0
  314. package/ts/shared/schema/data/main.d.ts +12 -0
  315. package/ts/shared/schema/obj/index.d.ts +1 -0
  316. package/ts/{settings → shared}/schema/obj/transform_item.d.ts +7 -7
  317. package/ts/shared/service_worker/scripts/index.d.ts +1 -0
  318. package/ts/shared/service_worker/scripts/main.d.ts +9 -0
  319. package/ts/shared/settings/data/index.d.ts +1 -0
  320. package/ts/shared/settings/data/main.d.ts +15 -0
  321. package/ts/shared/svg.d.ts +9 -7
  322. package/ts/shared/t.d.ts +36 -34
  323. package/ts/shared/tab_index/interfaces/index.d.ts +1 -1
  324. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -2
  325. package/ts/shared/tab_index/scripts/index.d.ts +1 -1
  326. package/ts/shared/tab_index/scripts/main.d.ts +18 -18
  327. package/ts/shared/theme/scripts/index.d.ts +1 -1
  328. package/ts/shared/theme/scripts/main.d.ts +11 -11
  329. package/ts/shared/title/scripts/index.d.ts +1 -1
  330. package/ts/shared/title/scripts/main.d.ts +6 -6
  331. package/ts/shared/tr/components/base_tr.d.ts +9 -9
  332. package/ts/shared/tr/components/index.d.ts +1 -1
  333. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -13
  334. package/ts/shared/tr/components/prop_types/index.d.ts +1 -1
  335. package/ts/shared/tr/data/index.d.ts +1 -1
  336. package/ts/shared/tr/data/transition.d.ts +23 -23
  337. package/ts/shared/tr/interfaces/index.d.ts +1 -1
  338. package/ts/shared/tr/interfaces/transitions.d.ts +2 -2
  339. package/ts/shared/tr/obj/index.d.ts +1 -1
  340. package/ts/shared/tr/obj/transition.d.ts +8 -8
  341. package/ts/shared/utils/scripts/index.d.ts +1 -1
  342. package/ts/shared/utils/scripts/main.d.ts +11 -11
  343. package/ts/shared/vars.d.ts +2 -1
  344. package/ts/shared/viewport/scripts/index.d.ts +1 -1
  345. package/ts/shared/viewport/scripts/main.d.ts +8 -8
  346. package/ts/shared/x.d.ts +56 -60
  347. package/chunk-main-303525a1.js +0 -1
  348. package/chunk-main-3865bde3.js +0 -9
  349. package/chunk-main-6b1a6024.js +0 -1
  350. package/chunk-pickr.min-ee5e2c4f.js +0 -1
  351. package/fonts/noto_sans.woff2 +0 -0
  352. package/ts/announcement/components/prop_types/body.d.ts +0 -4
  353. package/ts/announcement/components/prop_types/index.d.ts +0 -1
  354. package/ts/settings/schema/data/index.d.ts +0 -1
  355. package/ts/settings/schema/data/main.d.ts +0 -10
  356. package/ts/settings/schema/obj/index.d.ts +0 -1
@@ -12,6 +12,7 @@ const shared_config = ({
12
12
  MiniCssExtractPlugin,
13
13
  CssMinimizerPlugin,
14
14
  CopyWebpackPlugin,
15
+ LicensePlugin,
15
16
  copy_patters,
16
17
  minimize = true,
17
18
  enable_anouncement,
@@ -41,9 +42,16 @@ const shared_config = ({
41
42
  from: path.join(app_root, 'node_modules', '@loftyshaky', 'shared', 'html'),
42
43
  noErrorOnMissing: true,
43
44
  globOptions: {
44
- ignore: enable_anouncement ? [] : ['**/announcement.html'],
45
+ ignore: [
46
+ ...(enable_anouncement ? [] : ['**/announcement.html']),
47
+ ...(env.browser === 'edge' ? ['**/dependencies.html'] : []),
48
+ ],
45
49
  },
46
50
  },
51
+ {
52
+ from: path.join(app_root, 'node_modules', '@loftyshaky', 'shared', 'imgs'),
53
+ noErrorOnMissing: true,
54
+ },
47
55
  {
48
56
  from: path.join(app_root, 'src', 'html'),
49
57
  },
@@ -74,6 +82,9 @@ const shared_config = ({
74
82
  ...(enable_anouncement && {
75
83
  announcement: path.join(paths.ts, 'announcement', 'announcement.ts'),
76
84
  }),
85
+ ...(env.browser !== 'edge' && {
86
+ dependencies: path.join(paths.ts, 'dependencies', 'dependencies.ts'),
87
+ }),
77
88
  font_face: path.join(paths.embed, 'font_face.scss'),
78
89
  no_tr: path.join(paths.embed, 'no_tr.scss'),
79
90
  hidden_roots: path.join(paths.embed, 'hidden_roots.scss'),
@@ -90,9 +101,22 @@ const shared_config = ({
90
101
  'index.scss',
91
102
  ),
92
103
  }),
104
+ ...(env.browser !== 'edge' && {
105
+ dependencies_css: path.join(
106
+ app_root,
107
+ 'node_modules',
108
+ '@loftyshaky',
109
+ 'shared',
110
+ 'scss',
111
+ 'dependencies',
112
+ 'index.scss',
113
+ ),
114
+ }),
93
115
  light_theme: path.join(paths.themes, 'light_theme.scss'),
94
116
  dark_theme: path.join(paths.themes, 'dark_theme.scss'),
95
117
  very_dark_theme: path.join(paths.themes, 'very_dark_theme.scss'),
118
+ lavender_theme: path.join(paths.themes, 'lavender_theme.scss'),
119
+ aqua_theme: path.join(paths.themes, 'aqua_theme.scss'),
96
120
  },
97
121
  output: {
98
122
  filename: '[name].js',
@@ -111,8 +135,12 @@ const shared_config = ({
111
135
  ...(enable_anouncement && {
112
136
  announcement: path.join(paths.ts, 'announcement'),
113
137
  }),
138
+ dependencies: path.join(paths.ts, 'dependencies'),
114
139
  },
115
140
  extensions: ['.js', '.jsx', '.ts', '.tsx'],
141
+ fallback: {
142
+ crypto: false,
143
+ },
116
144
  },
117
145
  module: {
118
146
  rules: [
@@ -129,10 +157,10 @@ const shared_config = ({
129
157
  use: ['@svgr/webpack'],
130
158
  },
131
159
  {
132
- test: /\.woff2?$/,
160
+ test: /\.ttf?$/,
133
161
  type: 'asset/resource',
134
162
  generator: {
135
- filename: '[name][ext]',
163
+ filename: './[name][ext]',
136
164
  },
137
165
  },
138
166
  ],
@@ -149,6 +177,10 @@ const shared_config = ({
149
177
  compiler.hooks.done.tap('done', callback_done);
150
178
  },
151
179
  },
180
+ new LicensePlugin({
181
+ outputFilename: 'dependencies.json',
182
+ replenishDefaultLicenseTexts: true,
183
+ }),
152
184
  ],
153
185
  target: 'web',
154
186
  devtool: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loftyshaky/shared-app",
3
3
  "description": "-",
4
- "version": "1.0.2",
4
+ "version": "1.2.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,52 +1,52 @@
1
- .section_btns {
2
- flex-shrink: 0;
3
- display: flex;
4
- flex-flow: column;
5
- overflow: auto;
6
-
7
- .filler {
8
- position: relative;
9
- height: 100%;
10
- }
11
-
12
- .section_btn {
13
- @include input_basic;
14
-
15
- position: relative;
16
- text-align: left;
17
- padding: 10px;
18
- padding-right: 11px;
19
- cursor: pointer;
20
-
21
- &.selected {
22
- cursor: default;
23
- }
24
-
25
- &.selected::before,
26
- &:not(.selected):hover::before {
27
- content: '';
28
- height: 33px;
29
- position: absolute;
30
- top: 0;
31
- bottom: 0;
32
- left: 3px;
33
- margin: auto;
34
- width: 3px;
35
- }
36
-
37
- &:not(.selected):hover::before {
38
- animation: var(--animation);
39
- animation-name: fade_in;
40
- }
41
- }
42
- }
43
-
44
- @keyframes fade_in {
45
- 0% {
46
- opacity: 0;
47
- }
48
-
49
- 100% {
50
- opacity: 1;
51
- }
52
- }
1
+ .section_btns {
2
+ flex-shrink: 0;
3
+ display: flex;
4
+ flex-flow: column;
5
+ overflow: auto;
6
+
7
+ .filler {
8
+ position: relative;
9
+ height: 100%;
10
+ }
11
+
12
+ .section_btn {
13
+ @include input_basic;
14
+
15
+ position: relative;
16
+ text-align: left;
17
+ padding: 10px;
18
+ padding-right: 11px;
19
+ cursor: pointer;
20
+
21
+ &.selected {
22
+ cursor: default;
23
+ }
24
+
25
+ &.selected::before,
26
+ &:not(.selected):hover::before {
27
+ content: '';
28
+ height: 33px;
29
+ position: absolute;
30
+ top: 0;
31
+ bottom: 0;
32
+ left: 3px;
33
+ margin: auto;
34
+ width: 3px;
35
+ }
36
+
37
+ &:not(.selected):hover::before {
38
+ animation: var(--animation);
39
+ animation-name: fade_in;
40
+ }
41
+ }
42
+ }
43
+
44
+ @keyframes fade_in {
45
+ 0% {
46
+ opacity: 0;
47
+ }
48
+
49
+ 100% {
50
+ opacity: 1;
51
+ }
52
+ }
@@ -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,6 +1,6 @@
1
- .input_item,
2
- .input_w,
3
- .help, {
1
+ .section,
2
+ .section_inner,
3
+ .help {
4
4
  transition: var(--transition);
5
5
  transition-property: opacity;
6
6
  }
@@ -9,13 +9,3 @@
9
9
  transition: var(--transition);
10
10
  transition-property: background-color;
11
11
  }
12
-
13
- .link,
14
- .link_btn {
15
- transition: var(--transition);
16
- transition-property: color;
17
- }
18
-
19
- .link:active {
20
- transition: none;
21
- }
@@ -3,37 +3,90 @@ $icon_btn_size: 20px;
3
3
  .btn {
4
4
  @include btn;
5
5
 
6
+ position: relative;
7
+
8
+ .shadow {
9
+ @include full_spread;
10
+
11
+ position: absolute;
12
+ }
13
+
14
+ svg {
15
+ display: block;
16
+ }
17
+ }
18
+
19
+ .btn.icon_btn {
6
20
  border-radius: 0;
7
21
  position: relative;
8
22
  vertical-align: bottom;
23
+ background-color: transparent;
9
24
 
10
- &.text {
11
- @include btn;
12
- @include border_transparent;
13
- @include outline_solid;
25
+ &:not(:first-child) {
26
+ margin-left: $gap !important;
27
+ }
14
28
 
15
- display: block;
16
- height: $input_height + ($border_width * 2);
17
- padding: 0 $input_inner_padding 0 $input_inner_padding;
18
- outline-offset: -1px;
29
+ svg {
30
+ width: $icon_btn_size;
31
+ height: $icon_btn_size;
32
+ }
33
+ }
19
34
 
20
- &:not(:first-child) {
21
- margin-top: $gap;
22
- }
35
+ .btn.text {
36
+ @include border_transparent;
37
+ @include outline_solid;
23
38
 
24
- &::before {
25
- display: none;
26
- }
39
+ border-radius: 0;
40
+ height: $input_height;
41
+ padding: 0 $input_inner_padding 0 $input_inner_padding;
42
+ display: table;
43
+ box-sizing: border-box;
44
+
45
+ &:not(:first-child) {
46
+ margin-top: $gap;
27
47
  }
28
48
 
29
49
  &.color_ok_btn {
30
- margin-left: auto;
50
+ margin-left: auto !important;
31
51
  }
32
52
 
33
- &.icon {
53
+ &.icon_btn {
34
54
  svg {
35
55
  width: $icon_btn_size;
36
56
  height: $icon_btn_size;
37
57
  }
38
58
  }
39
59
  }
60
+
61
+ .btn_options {
62
+ @include border;
63
+
64
+ backdrop-filter: $glass_blur;
65
+ box-shadow: $black_shadow;
66
+
67
+ .btn_option {
68
+ @include btn;
69
+
70
+ display: block;
71
+ width: 100%;
72
+ padding: 3px 6px;
73
+ border: 0;
74
+ text-align: left;
75
+ background-color: transparent;
76
+ cursor: pointer;
77
+ box-sizing: border-box;
78
+ color: unset;
79
+ text-decoration: none;
80
+ white-space: nowrap;
81
+ }
82
+
83
+ hr {
84
+ margin-top: 0;
85
+ }
86
+ }
87
+
88
+ .keyboard .btn_options .btn_option:focus {
89
+ @include outline_solid_thick;
90
+
91
+ outline-offset: -1px;
92
+ }
@@ -1,38 +1,38 @@
1
- $box_size: 20px;
2
- $checkmark_size: 16px;
3
-
4
- .input_item {
5
- &.checkbox {
6
- input {
7
- display: none;
8
- }
9
-
10
- .wrap_label {
11
- @include border_transparent;
12
-
13
- margin-right: $input_content_gap;
14
- }
15
-
16
- .box {
17
- @include center_flex;
18
- @include outline_solid;
19
-
20
- height: $box_size;
21
- width: $box_size;
22
- cursor: pointer;
23
- }
24
-
25
- .box svg {
26
- width: $checkmark_size;
27
- height: $checkmark_size;
28
- }
29
-
30
- input + .box svg {
31
- opacity: 0;
32
- }
33
-
34
- input:checked + .box svg {
35
- opacity: 1;
36
- }
37
- }
38
- }
1
+ $box_size: 22px;
2
+ $checkmark_size: 18px;
3
+
4
+ .input_item {
5
+ &.checkbox {
6
+ input {
7
+ display: none;
8
+ }
9
+
10
+ .wrap_label {
11
+ @include border_transparent;
12
+
13
+ margin-right: $input_content_gap;
14
+ }
15
+
16
+ .box {
17
+ @include center_flex;
18
+ @include outline_solid;
19
+
20
+ height: $box_size;
21
+ width: $box_size;
22
+ cursor: pointer;
23
+ }
24
+
25
+ .box svg {
26
+ width: $checkmark_size;
27
+ height: $checkmark_size;
28
+ }
29
+
30
+ input + .box svg {
31
+ opacity: 0;
32
+ }
33
+
34
+ input:checked + .box svg {
35
+ opacity: 1;
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,18 @@
1
+ .close_btn {
2
+ @include btn;
3
+
4
+ margin-top: $ext_name_offset;
5
+ margin-right: $ext_name_offset;
6
+ margin-left: $gap;
7
+
8
+ &:focus {
9
+ outline-offset: 2px;
10
+ }
11
+
12
+ svg {
13
+ display: block;
14
+ fill: white;
15
+ height: 20px;
16
+ width: 20px;
17
+ }
18
+ }
@@ -1,93 +1,93 @@
1
- /* stylelint-disable selector-class-pattern */
2
-
3
- $pcr_picker_size: 16px;
4
- $btn_padding: 6px;
5
-
6
- .input_item {
7
- .pcr-app,
8
- .pcr-last-color,
9
- .pcr-palette,
10
- .pcr-current-color,
11
- .pcr-slider,
12
- .color_picker_w input {
13
- border-radius: 0 !important;
14
- }
15
-
16
- .pcr-palette,
17
- .pcr-slider {
18
- @include border;
19
- }
20
-
21
- .color_picker_w {
22
- position: absolute;
23
- z-index: 2;
24
- top: $input_height + $input_content_gap;
25
- left: 0;
26
- user-select: none;
27
-
28
- input {
29
- @include outline_solid;
30
-
31
- filter: initial !important;
32
-
33
- &:not(.pcr-result) {
34
- padding: $btn_padding $btn_padding 5px $btn_padding;
35
- }
36
- }
37
- }
38
-
39
- .color_picker {
40
- position: fixed;
41
- }
42
-
43
- .pcr-app {
44
- @include box_shadow_important;
45
-
46
- position: relative !important;
47
- left: initial !important;
48
- top: initial !important;
49
- width: fit-content !important;
50
- padding: $gap !important;
51
- transition: none !important;
52
- }
53
-
54
- .pcr-picker {
55
- width: $pcr_picker_size !important;
56
- height: $pcr_picker_size !important;
57
- border-width: 1px !important;
58
- }
59
-
60
- .pcr-color-preview {
61
- @include border;
62
-
63
- margin-bottom: $gap !important;
64
- }
65
-
66
- .pcr-swatches {
67
- margin-top: 2px !important;
68
- }
69
-
70
- .pcr-interaction {
71
- margin-left: -2px !important;
72
- margin-right: -1px !important;
73
- margin-bottom: 1px !important;
74
- white-space: nowrap;
75
- display: unset !important;
76
- }
77
-
78
- .pcr-result {
79
- width: calc(100% - 5px);
80
- display: block;
81
- margin-top: 9px !important;
82
- padding-top: 6px !important;
83
- margin-bottom: 2px !important;
84
- }
85
-
86
- .pcr-color-chooser {
87
- margin-top: $gap !important;
88
- }
89
-
90
- .pcr-type {
91
- margin-right: 5px !important;
92
- }
93
- }
1
+ /* stylelint-disable selector-class-pattern */
2
+
3
+ $pcr_picker_size: 16px;
4
+ $btn_padding: 6px;
5
+
6
+ .input_item {
7
+ .pcr-app,
8
+ .pcr-last-color,
9
+ .pcr-palette,
10
+ .pcr-current-color,
11
+ .pcr-slider,
12
+ .color_picker_w input {
13
+ border-radius: 0 !important;
14
+ }
15
+
16
+ .pcr-palette,
17
+ .pcr-slider {
18
+ @include border;
19
+ }
20
+
21
+ .color_picker_w {
22
+ position: absolute;
23
+ z-index: 3;
24
+ top: $input_height + $input_content_gap;
25
+ left: 0;
26
+ user-select: none;
27
+
28
+ input {
29
+ @include outline_solid;
30
+
31
+ filter: initial !important;
32
+
33
+ &:not(.pcr-result) {
34
+ padding: $btn_padding $btn_padding 5px $btn_padding;
35
+ }
36
+ }
37
+ }
38
+
39
+ .color_picker {
40
+ position: fixed;
41
+ }
42
+
43
+ .pcr-app {
44
+ @include box_shadow_important;
45
+
46
+ position: relative !important;
47
+ left: initial !important;
48
+ top: initial !important;
49
+ width: fit-content !important;
50
+ padding: $gap !important;
51
+ transition: none !important;
52
+ }
53
+
54
+ .pcr-picker {
55
+ width: $pcr_picker_size !important;
56
+ height: $pcr_picker_size !important;
57
+ border-width: 1px !important;
58
+ }
59
+
60
+ .pcr-color-preview {
61
+ @include border;
62
+
63
+ margin-bottom: $gap !important;
64
+ }
65
+
66
+ .pcr-swatches {
67
+ margin-top: 2px !important;
68
+ }
69
+
70
+ .pcr-interaction {
71
+ margin-left: -2px !important;
72
+ margin-right: -1px !important;
73
+ margin-bottom: 1px !important;
74
+ white-space: nowrap;
75
+ display: unset !important;
76
+ }
77
+
78
+ .pcr-result {
79
+ width: calc(100% - 5px);
80
+ display: block;
81
+ margin-top: 9px !important;
82
+ padding-top: 6px !important;
83
+ margin-bottom: 2px !important;
84
+ }
85
+
86
+ .pcr-color-chooser {
87
+ margin-top: $gap !important;
88
+ }
89
+
90
+ .pcr-type {
91
+ margin-right: 5px !important;
92
+ }
93
+ }