@loftyshaky/shared 0.0.38 → 0.0.41

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 (292) hide show
  1. package/_locales/de/messages.json +0 -0
  2. package/_locales/en/messages.json +3 -0
  3. package/_locales/ru/messages.json +3 -0
  4. package/announcement.d.ts +2 -0
  5. package/announcement.js +1 -0
  6. package/app.d.ts +0 -0
  7. package/app.js +1 -1
  8. package/chunk-main-2e2ed3a2.js +9 -0
  9. package/chunk-main-51a53080.js +1 -0
  10. package/{chunk-main-4f6c8169.js → chunk-main-a79e7a18.js} +1 -1
  11. package/ext.d.ts +0 -0
  12. package/ext.js +1 -1
  13. package/html/announcement.html +15 -0
  14. package/index.d.ts +1 -1
  15. package/index.js +1 -1
  16. package/inputs.d.ts +0 -0
  17. package/inputs.js +1 -1
  18. package/js/ext/env.js +2 -2
  19. package/js/ext/locales.js +9 -3
  20. package/js/ext/manifest.js +2 -2
  21. package/js/ext/webpack.config.js +26 -1
  22. package/js/package/plugins/rollup-plugin-copy.js +0 -0
  23. package/js/package/plugins/watcher.js +0 -0
  24. package/js/package/terser.js +0 -0
  25. package/js/project_name.js +0 -0
  26. package/js/projects_path.js +1 -1
  27. package/js/task_scheduler.js +1 -1
  28. package/package.json +1 -1
  29. package/scss/announcement/body.scss +10 -0
  30. package/scss/announcement/index.scss +3 -0
  31. package/scss/announcement/main.scss +8 -0
  32. package/scss/settings/ext_version.scss +0 -0
  33. package/scss/settings/index.scss +0 -0
  34. package/scss/settings/main.scss +0 -0
  35. package/scss/settings/section_btns.scss +0 -0
  36. package/scss/settings/sections.scss +0 -0
  37. package/scss/settings/transitions.scss +21 -20
  38. package/scss/shared/all.scss +0 -0
  39. package/scss/shared/btns.scss +39 -30
  40. package/scss/shared/checkboxes.scss +0 -0
  41. package/scss/shared/color_pickers.scss +0 -0
  42. package/scss/shared/colors.scss +0 -0
  43. package/scss/shared/crash_handler.scss +0 -0
  44. package/scss/shared/css_vars.scss +0 -0
  45. package/scss/shared/embed/error.scss +0 -0
  46. package/scss/shared/embed/font_face.scss +0 -0
  47. package/scss/shared/embed/loading_screen.scss +1 -0
  48. package/scss/shared/embed/no_tr.scss +0 -0
  49. package/scss/shared/focus.scss +80 -78
  50. package/scss/shared/group.scss +18 -0
  51. package/scss/shared/help.scss +0 -0
  52. package/scss/shared/hr.scss +0 -0
  53. package/scss/shared/index.scss +1 -0
  54. package/scss/shared/input_btns.scss +0 -0
  55. package/scss/shared/inputs.scss +0 -0
  56. package/scss/shared/inset_border.scss +0 -0
  57. package/scss/shared/link_btns.scss +12 -12
  58. package/scss/shared/links.scss +0 -0
  59. package/scss/shared/mixins.scss +0 -0
  60. package/scss/shared/mods.scss +4 -0
  61. package/scss/shared/range.scss +0 -0
  62. package/scss/shared/scrollbar.scss +0 -0
  63. package/scss/shared/selects.scss +0 -0
  64. package/scss/shared/text.scss +1 -1
  65. package/scss/shared/textareas.scss +0 -0
  66. package/scss/shared/themes/colors/dark.scss +1 -0
  67. package/scss/shared/themes/colors/light.scss +1 -0
  68. package/scss/shared/themes/colors/very_dark.scss +1 -0
  69. package/scss/shared/themes/general/dark_theme.scss +0 -0
  70. package/scss/shared/themes/general/light_theme.scss +0 -0
  71. package/scss/shared/themes/general/template.scss +259 -244
  72. package/scss/shared/themes/general/template_focus.scss +52 -51
  73. package/scss/shared/themes/general/very_dark_theme.scss +0 -0
  74. package/scss/shared/transitions.scss +36 -31
  75. package/scss/shared/upload_box.scss +0 -0
  76. package/scss/shared/vars.scss +1 -0
  77. package/settings.d.ts +0 -0
  78. package/settings.js +1 -1
  79. package/ts/announcement/components/body.d.ts +3 -0
  80. package/ts/announcement/components/index.d.ts +1 -0
  81. package/ts/announcement/components/prop_types/body.d.ts +4 -0
  82. package/ts/announcement/components/prop_types/index.d.ts +1 -0
  83. package/ts/announcement/internal.d.ts +3 -0
  84. package/ts/announcement/scripts/display.d.ts +6 -0
  85. package/ts/announcement/scripts/header.d.ts +6 -0
  86. package/ts/announcement/scripts/index.d.ts +2 -0
  87. package/ts/error_modules/crash_handler/components/body.d.ts +4 -8
  88. package/ts/error_modules/crash_handler/components/index.d.ts +0 -0
  89. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +0 -0
  90. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +0 -0
  91. package/ts/error_modules/crash_handler/data/fatal_error.d.ts +0 -0
  92. package/ts/error_modules/crash_handler/data/index.d.ts +0 -0
  93. package/ts/error_modules/crash_handler/data/visibility.d.ts +0 -0
  94. package/ts/error_modules/crash_handler/scripts/index.d.ts +0 -0
  95. package/ts/error_modules/crash_handler/scripts/page.d.ts +0 -0
  96. package/ts/error_modules/css/scripts/index.d.ts +0 -0
  97. package/ts/error_modules/css/scripts/main.d.ts +0 -0
  98. package/ts/error_modules/error/components/body.d.ts +0 -0
  99. package/ts/error_modules/error/components/close_btn.d.ts +0 -0
  100. package/ts/error_modules/error/components/ext_name.d.ts +0 -0
  101. package/ts/error_modules/error/components/index.d.ts +0 -0
  102. package/ts/error_modules/error/components/msg.d.ts +0 -0
  103. package/ts/error_modules/error/components/prop_types/body.d.ts +0 -0
  104. package/ts/error_modules/error/components/prop_types/index.d.ts +0 -0
  105. package/ts/error_modules/error/data/index.d.ts +0 -0
  106. package/ts/error_modules/error/data/main.d.ts +0 -0
  107. package/ts/error_modules/error/data/msg.d.ts +0 -0
  108. package/ts/error_modules/error/data/state.d.ts +0 -0
  109. package/ts/error_modules/error/interfaces/error.d.ts +0 -0
  110. package/ts/error_modules/error/interfaces/error_obj.d.ts +0 -0
  111. package/ts/error_modules/error/interfaces/index.d.ts +0 -0
  112. package/ts/error_modules/error/interfaces/observable_keys.d.ts +0 -0
  113. package/ts/error_modules/error/interfaces/show_error.d.ts +0 -0
  114. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +0 -0
  115. package/ts/error_modules/error/scripts/globals.d.ts +0 -0
  116. package/ts/error_modules/error/scripts/index.d.ts +0 -0
  117. package/ts/error_modules/internal.d.ts +0 -0
  118. package/ts/inputs/color/components/body.d.ts +0 -0
  119. package/ts/inputs/color/components/color_picker.d.ts +0 -0
  120. package/ts/inputs/color/components/fill_shadow.d.ts +0 -0
  121. package/ts/inputs/color/components/index.d.ts +0 -0
  122. package/ts/inputs/color/components/prop_types/body.d.ts +0 -0
  123. package/ts/inputs/color/components/prop_types/color_picker.d.ts +0 -0
  124. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +0 -0
  125. package/ts/inputs/color/components/prop_types/index.d.ts +0 -0
  126. package/ts/inputs/color/components/prop_types/visualization.d.ts +0 -0
  127. package/ts/inputs/color/components/visualization.d.ts +0 -0
  128. package/ts/inputs/color/data/color.d.ts +0 -0
  129. package/ts/inputs/color/data/index.d.ts +0 -0
  130. package/ts/inputs/color/data/visibility.d.ts +0 -0
  131. package/ts/inputs/color/interfaces/color.d.ts +0 -0
  132. package/ts/inputs/color/interfaces/color_picker_state.d.ts +0 -0
  133. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +0 -0
  134. package/ts/inputs/color/interfaces/i.d.ts +0 -0
  135. package/ts/inputs/color/interfaces/index.d.ts +0 -0
  136. package/ts/inputs/color/obj/color.d.ts +0 -0
  137. package/ts/inputs/color/obj/index.d.ts +0 -0
  138. package/ts/inputs/color/scripts/color_picker.d.ts +0 -0
  139. package/ts/inputs/color/scripts/index.d.ts +0 -0
  140. package/ts/inputs/color/scripts/position.d.ts +0 -0
  141. package/ts/inputs/components/btn.d.ts +0 -0
  142. package/ts/inputs/components/checkbox.d.ts +0 -0
  143. package/ts/inputs/components/file.d.ts +0 -0
  144. package/ts/inputs/components/group.d.ts +3 -0
  145. package/ts/inputs/components/help.d.ts +0 -0
  146. package/ts/inputs/components/help_btn.d.ts +0 -0
  147. package/ts/inputs/components/hr.d.ts +0 -0
  148. package/ts/inputs/components/icon_btn.d.ts +3 -0
  149. package/ts/inputs/components/index.d.ts +2 -0
  150. package/ts/inputs/components/input_item.d.ts +0 -0
  151. package/ts/inputs/components/label.d.ts +0 -0
  152. package/ts/inputs/components/link.d.ts +0 -0
  153. package/ts/inputs/components/link_btn.d.ts +0 -0
  154. package/ts/inputs/components/prop_types/btn.d.ts +0 -0
  155. package/ts/inputs/components/prop_types/checkbox.d.ts +0 -0
  156. package/ts/inputs/components/prop_types/file.d.ts +0 -0
  157. package/ts/inputs/components/prop_types/group.d.ts +5 -0
  158. package/ts/inputs/components/prop_types/help.d.ts +0 -0
  159. package/ts/inputs/components/prop_types/help_btn.d.ts +0 -0
  160. package/ts/inputs/components/prop_types/hr.d.ts +0 -0
  161. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -0
  162. package/ts/inputs/components/prop_types/index.d.ts +2 -0
  163. package/ts/inputs/components/prop_types/input_item.d.ts +0 -0
  164. package/ts/inputs/components/prop_types/label.d.ts +0 -0
  165. package/ts/inputs/components/prop_types/link.d.ts +0 -0
  166. package/ts/inputs/components/prop_types/link_btn.d.ts +0 -0
  167. package/ts/inputs/components/prop_types/range.d.ts +0 -0
  168. package/ts/inputs/components/prop_types/section.d.ts +0 -0
  169. package/ts/inputs/components/prop_types/section_btn.d.ts +0 -0
  170. package/ts/inputs/components/prop_types/section_content.d.ts +0 -0
  171. package/ts/inputs/components/prop_types/select.d.ts +0 -0
  172. package/ts/inputs/components/prop_types/text.d.ts +0 -0
  173. package/ts/inputs/components/prop_types/text_btn.d.ts +0 -0
  174. package/ts/inputs/components/prop_types/textarea.d.ts +0 -0
  175. package/ts/inputs/components/prop_types/upload_box.d.ts +0 -0
  176. package/ts/inputs/components/range.d.ts +0 -0
  177. package/ts/inputs/components/section.d.ts +0 -0
  178. package/ts/inputs/components/section_btn.d.ts +0 -0
  179. package/ts/inputs/components/section_content.d.ts +0 -0
  180. package/ts/inputs/components/select.d.ts +0 -0
  181. package/ts/inputs/components/text.d.ts +0 -0
  182. package/ts/inputs/components/text_btn.d.ts +0 -0
  183. package/ts/inputs/components/textarea.d.ts +0 -0
  184. package/ts/inputs/components/upload_box.d.ts +0 -0
  185. package/ts/inputs/data/help.d.ts +0 -0
  186. package/ts/inputs/data/index.d.ts +0 -0
  187. package/ts/inputs/data/input_width.d.ts +0 -0
  188. package/ts/inputs/data/label.d.ts +0 -0
  189. package/ts/inputs/data/nested_input.d.ts +0 -0
  190. package/ts/inputs/data/text.d.ts +0 -0
  191. package/ts/inputs/data/upload_box.d.ts +0 -0
  192. package/ts/inputs/data/val.d.ts +1 -0
  193. package/ts/inputs/interfaces/icon_btns.d.ts +2 -0
  194. package/ts/inputs/interfaces/index.d.ts +1 -0
  195. package/ts/inputs/interfaces/input.d.ts +1 -1
  196. package/ts/inputs/interfaces/inputs.d.ts +0 -0
  197. package/ts/inputs/interfaces/links.d.ts +0 -0
  198. package/ts/inputs/interfaces/options.d.ts +0 -0
  199. package/ts/inputs/interfaces/sections.d.ts +0 -0
  200. package/ts/inputs/interfaces/state_cond.d.ts +0 -0
  201. package/ts/inputs/interfaces/text_btn.d.ts +0 -0
  202. package/ts/inputs/internal.d.ts +0 -0
  203. package/ts/inputs/obj/btn.d.ts +0 -0
  204. package/ts/inputs/obj/checkbox.d.ts +0 -0
  205. package/ts/inputs/obj/file.d.ts +0 -0
  206. package/ts/inputs/obj/group.d.ts +6 -0
  207. package/ts/inputs/obj/hr.d.ts +0 -0
  208. package/ts/inputs/obj/icon_btn.d.ts +6 -0
  209. package/ts/inputs/obj/index.d.ts +2 -0
  210. package/ts/inputs/obj/input_base.d.ts +0 -0
  211. package/ts/inputs/obj/link.d.ts +0 -0
  212. package/ts/inputs/obj/link_btn.d.ts +0 -0
  213. package/ts/inputs/obj/option.d.ts +0 -0
  214. package/ts/inputs/obj/range.d.ts +0 -0
  215. package/ts/inputs/obj/section.d.ts +0 -0
  216. package/ts/inputs/obj/select.d.ts +0 -0
  217. package/ts/inputs/obj/text.d.ts +0 -0
  218. package/ts/inputs/obj/textarea.d.ts +0 -0
  219. package/ts/inputs/obj/upload_box.d.ts +0 -0
  220. package/ts/inputs/scripts/index.d.ts +0 -0
  221. package/ts/inputs/scripts/resolve.d.ts +0 -0
  222. package/ts/inputs/scripts/upload_box.d.ts +0 -0
  223. package/ts/settings/components/body.d.ts +0 -0
  224. package/ts/settings/components/index.d.ts +0 -0
  225. package/ts/settings/components/prop_types/body.d.ts +0 -0
  226. package/ts/settings/components/prop_types/index.d.ts +0 -0
  227. package/ts/settings/data/back_up.d.ts +0 -0
  228. package/ts/settings/data/index.d.ts +0 -0
  229. package/ts/settings/data/sections.d.ts +4 -1
  230. package/ts/settings/init.d.ts +0 -0
  231. package/ts/settings/internal.d.ts +0 -0
  232. package/ts/settings/optional_permissions/data/index.d.ts +0 -0
  233. package/ts/settings/optional_permissions/data/main.d.ts +0 -0
  234. package/ts/settings/optional_permissions/interfaces/index.d.ts +0 -0
  235. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +0 -0
  236. package/ts/settings/schema/data/index.d.ts +0 -0
  237. package/ts/settings/schema/data/main.d.ts +0 -0
  238. package/ts/settings/schema/obj/index.d.ts +0 -0
  239. package/ts/settings/schema/obj/transform_item.d.ts +0 -0
  240. package/ts/settings/scripts/index.d.ts +0 -0
  241. package/ts/settings/scripts/theme.d.ts +0 -0
  242. package/ts/shared/app.d.ts +0 -0
  243. package/ts/shared/app_ext_globals.d.ts +0 -0
  244. package/ts/shared/css_vars/scripts/index.d.ts +0 -0
  245. package/ts/shared/css_vars/scripts/main.d.ts +0 -0
  246. package/ts/shared/data/data/index.d.ts +0 -0
  247. package/ts/shared/data/data/main.d.ts +0 -0
  248. package/ts/shared/data/interfaces/index.d.ts +0 -0
  249. package/ts/shared/data/interfaces/val.d.ts +0 -0
  250. package/ts/shared/ext.d.ts +0 -0
  251. package/ts/shared/ext_version/components/body.d.ts +0 -0
  252. package/ts/shared/ext_version/components/index.d.ts +0 -0
  253. package/ts/shared/functions.d.ts +0 -0
  254. package/ts/shared/globals.d.ts +0 -0
  255. package/ts/shared/init.d.ts +0 -0
  256. package/ts/shared/internal.d.ts +1 -1
  257. package/ts/shared/loading_screen/components/body.d.ts +0 -0
  258. package/ts/shared/loading_screen/components/index.d.ts +0 -0
  259. package/ts/shared/loading_screen/data/index.d.ts +0 -0
  260. package/ts/shared/loading_screen/data/main.d.ts +0 -0
  261. package/ts/shared/no_tr/scripts/index.d.ts +0 -0
  262. package/ts/shared/no_tr/scripts/main.d.ts +0 -0
  263. package/ts/shared/svg.d.ts +0 -0
  264. package/ts/shared/t.d.ts +6 -1
  265. package/ts/shared/tab_index/interfaces/index.d.ts +0 -0
  266. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +0 -0
  267. package/ts/shared/tab_index/scripts/index.d.ts +0 -0
  268. package/ts/shared/tab_index/scripts/main.d.ts +0 -0
  269. package/ts/shared/theme/scripts/index.d.ts +0 -0
  270. package/ts/shared/theme/scripts/main.d.ts +1 -1
  271. package/ts/shared/title/scripts/index.d.ts +1 -0
  272. package/ts/shared/title/scripts/main.d.ts +6 -0
  273. package/ts/shared/tr/components/base_tr.d.ts +0 -0
  274. package/ts/shared/tr/components/index.d.ts +0 -0
  275. package/ts/shared/tr/components/prop_types/base_tr.d.ts +2 -0
  276. package/ts/shared/tr/components/prop_types/index.d.ts +0 -0
  277. package/ts/shared/tr/data/index.d.ts +0 -0
  278. package/ts/shared/tr/data/transition.d.ts +0 -0
  279. package/ts/shared/tr/interfaces/index.d.ts +0 -0
  280. package/ts/shared/tr/interfaces/transitions.d.ts +0 -0
  281. package/ts/shared/tr/obj/index.d.ts +0 -0
  282. package/ts/shared/tr/obj/transition.d.ts +0 -0
  283. package/ts/shared/utils/scripts/index.d.ts +0 -0
  284. package/ts/shared/utils/scripts/main.d.ts +0 -0
  285. package/ts/shared/vars.d.ts +0 -0
  286. package/ts/shared/viewport/scripts/index.d.ts +0 -0
  287. package/ts/shared/viewport/scripts/main.d.ts +0 -0
  288. package/ts/shared/x.d.ts +6 -8
  289. package/chunk-main-723a7930.js +0 -9
  290. package/chunk-main-a4df82cc.js +0 -1
  291. package/ts/shared/keep_alive/scripts/index.d.ts +0 -1
  292. package/ts/shared/keep_alive/scripts/tabs.d.ts +0 -7
@@ -1,4 +1,5 @@
1
1
  $font_main: 17px;
2
+ $font_big: 24px;
2
3
  $font_small: 13px;
3
4
  $gap: 10px;
4
5
  $gap_small: 4px;
package/settings.d.ts CHANGED
File without changes
package/settings.js CHANGED
@@ -1 +1 @@
1
- import{a8 as Body,a9 as BackUp,S as Sections,_ as __awaiter,m as makeObservable,d as action}from"./chunk-main-723a7930.js";import"react";import{a as Main$2}from"./chunk-main-a4df82cc.js";import"react-dom";var index$6=Object.freeze({__proto__:null,Body:Body});var index$5=Object.freeze({__proto__:null,TransformItem:class{constructor(obj){this.create_property_if_it_doesnt_exist=!0,Object.assign(this,obj),this.old_key=obj.old_key,this.new_key=obj.new_key,this.new_val=obj.new_val}}}),index$4=Object.freeze({__proto__:null,BackUp:BackUp,Sections:Sections});var index$3=Object.freeze({__proto__:null,Main:class{constructor(){this.set_permission=({name:name,optional_permission_checkbox_dict:optional_permission_checkbox_dict})=>err_async((()=>__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"),makeObservable(this,{set_checkbox_val:action})}static i(){return this.i0||(this.i0=new this)}}});var index$2=Object.freeze({__proto__:null,Main:class{constructor(){this.transform=({settings:settings,transform_items:transform_items})=>err_async((()=>__awaiter(this,void 0,void 0,(function*(){const properties_to_remove=[];return transform_items.forEach((transform_item=>err((()=>{n(transform_item.new_key)&&!n(settings[transform_item.new_key])&&(transform_item.create_property_if_it_doesnt_exist||!transform_item.create_property_if_it_doesnt_exist&&n(transform_item.old_key)&&n(settings[transform_item.old_key]))&&(n(transform_item.new_val)?settings[transform_item.new_key]=transform_item.new_val:n(transform_item.old_key)&&(settings[transform_item.new_key]=settings[transform_item.old_key])),n(transform_item.old_key)&&!properties_to_remove.includes(transform_item.old_key)&&properties_to_remove.push(transform_item.old_key)}),"shr_1227"))),properties_to_remove.forEach((property_to_remove=>err((()=>{delete settings[property_to_remove]}),"shr_1228"))),yield ext.storage_remove(properties_to_remove),settings}))),"shr_1226"),makeObservable(this,{transform: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$2.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});export{index$6 as c_settings,index$3 as d_optional_permissions,index$2 as d_schema,index$4 as d_settings,index as i_optional_permissions,index$5 as o_schema,index$1 as s_settings};
1
+ import{aa as Body,ab as BackUp,S as Sections,_ as __awaiter,m as makeObservable,d as action}from"./chunk-main-2e2ed3a2.js";import"react";import{a as Main$2}from"./chunk-main-51a53080.js";import"react-dom";var index$6=Object.freeze({__proto__:null,Body:Body});var index$5=Object.freeze({__proto__:null,TransformItem:class{constructor(obj){this.create_property_if_it_doesnt_exist=!0,Object.assign(this,obj),this.old_key=obj.old_key,this.new_key=obj.new_key,this.new_val=obj.new_val}}}),index$4=Object.freeze({__proto__:null,BackUp:BackUp,Sections:Sections});var index$3=Object.freeze({__proto__:null,Main:class{constructor(){this.set_permission=({name:name,optional_permission_checkbox_dict:optional_permission_checkbox_dict})=>err_async((()=>__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"),makeObservable(this,{set_checkbox_val:action})}static i(){return this.i0||(this.i0=new this)}}});var index$2=Object.freeze({__proto__:null,Main:class{constructor(){this.transform=({settings:settings,transform_items:transform_items})=>err_async((()=>__awaiter(this,void 0,void 0,(function*(){const properties_to_remove=[];return transform_items.forEach((transform_item=>err((()=>{n(transform_item.new_key)&&!n(settings[transform_item.new_key])&&(transform_item.create_property_if_it_doesnt_exist||!transform_item.create_property_if_it_doesnt_exist&&n(transform_item.old_key)&&n(settings[transform_item.old_key]))&&(n(transform_item.new_val)?settings[transform_item.new_key]=transform_item.new_val:n(transform_item.old_key)&&(settings[transform_item.new_key]=settings[transform_item.old_key])),n(transform_item.old_key)&&!properties_to_remove.includes(transform_item.old_key)&&properties_to_remove.push(transform_item.old_key)}),"shr_1227"))),properties_to_remove.forEach((property_to_remove=>err((()=>{delete settings[property_to_remove]}),"shr_1228"))),yield ext.storage_remove(properties_to_remove),settings}))),"shr_1226"),makeObservable(this,{transform: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$2.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});export{index$6 as c_settings,index$3 as d_optional_permissions,index$2 as d_schema,index$4 as d_settings,index as i_optional_permissions,index$5 as o_schema,index$1 as s_settings};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_announcement } from "../internal";
3
+ export declare const Body: React.FunctionComponent<p_announcement.Body>;
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export interface Body {
3
+ children: React.ReactNode;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./body";
@@ -0,0 +1,3 @@
1
+ export * as c_announcement from "./components";
2
+ export * as s_announcement from "./scripts";
3
+ export * as p_announcement from "./components/prop_types";
@@ -0,0 +1,6 @@
1
+ export declare class Display {
2
+ private static i0;
3
+ static i(): Display;
4
+ private constructor();
5
+ display_announcement: () => Promise<void>;
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare class Header {
2
+ private static i0;
3
+ static i(): Header;
4
+ private constructor();
5
+ get: () => string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./display";
2
+ export * from "./header";
@@ -4,12 +4,10 @@ export declare const Body: {
4
4
  new (props: p_crash_handler.Body | Readonly<p_crash_handler.Body>): {
5
5
  componentDidCatch(err_obj: Error): void;
6
6
  render(): JSX.Element | ReactNode;
7
- context: any;
7
+ context: unknown;
8
8
  setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<p_crash_handler.Body>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
9
9
  forceUpdate(callback?: (() => void) | undefined): void;
10
- readonly props: Readonly<p_crash_handler.Body> & Readonly<{
11
- children?: React.ReactNode;
12
- }>;
10
+ readonly props: Readonly<p_crash_handler.Body>;
13
11
  state: Readonly<{}>;
14
12
  refs: {
15
13
  [key: string]: React.ReactInstance;
@@ -29,12 +27,10 @@ export declare const Body: {
29
27
  new (props: p_crash_handler.Body, context: any): {
30
28
  componentDidCatch(err_obj: Error): void;
31
29
  render(): JSX.Element | ReactNode;
32
- context: any;
30
+ context: unknown;
33
31
  setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<p_crash_handler.Body>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
34
32
  forceUpdate(callback?: (() => void) | undefined): void;
35
- readonly props: Readonly<p_crash_handler.Body> & Readonly<{
36
- children?: React.ReactNode;
37
- }>;
33
+ readonly props: Readonly<p_crash_handler.Body>;
38
34
  state: Readonly<{}>;
39
35
  refs: {
40
36
  [key: string]: React.ReactInstance;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const Group: React.FunctionComponent<p_inputs.Group>;
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const IconBtn: React.FunctionComponent<p_inputs.IconBtn>;
@@ -4,6 +4,7 @@ export * from "./file";
4
4
  export * from "./help_btn";
5
5
  export * from "./help";
6
6
  export * from "./hr";
7
+ export * from "./icon_btn";
7
8
  export * from "./input_item";
8
9
  export * from "./label";
9
10
  export * from "./link_btn";
@@ -13,6 +14,7 @@ export * from "./section_btn";
13
14
  export * from "./section_content";
14
15
  export * from "./section";
15
16
  export * from "./select";
17
+ export * from "./group";
16
18
  export * from "./text_btn";
17
19
  export * from "./text";
18
20
  export * from "./textarea";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ import { o_inputs, i_inputs } from "../../internal";
2
+ export interface Group {
3
+ input: o_inputs.Group;
4
+ inputs?: i_inputs.Inputs;
5
+ }
File without changes
File without changes
File without changes
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface IconBtn {
3
+ input: o_inputs.IconBtn;
4
+ }
@@ -4,6 +4,7 @@ export * from "./file";
4
4
  export * from "./help_btn";
5
5
  export * from "./help";
6
6
  export * from "./hr";
7
+ export * from "./icon_btn";
7
8
  export * from "./input_item";
8
9
  export * from "./label";
9
10
  export * from "./link_btn";
@@ -13,6 +14,7 @@ export * from "./section_btn";
13
14
  export * from "./section_content";
14
15
  export * from "./section";
15
16
  export * from "./select";
17
+ export * from "./group";
16
18
  export * from "./text_btn";
17
19
  export * from "./text";
18
20
  export * from "./textarea";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -9,6 +9,7 @@ export declare class Val {
9
9
  input: i_inputs.Input;
10
10
  state: boolean;
11
11
  }) => void;
12
+ private set_warn_state;
12
13
  focus_state: ({ input }: {
13
14
  input: i_inputs.Input;
14
15
  }) => string;
@@ -0,0 +1,2 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare type IconBtns = Record<string, o_inputs.IconBtn>;
@@ -1,3 +1,4 @@
1
+ export * from "./icon_btns";
1
2
  export * from "./input";
2
3
  export * from "./inputs";
3
4
  export * from "./links";
@@ -1,2 +1,2 @@
1
1
  import { o_inputs, o_color } from "../internal";
2
- export declare type Input = o_inputs.Text | o_inputs.Textarea | o_inputs.Checkbox | o_inputs.Select | o_inputs.LinkBtn | o_inputs.Range | o_color.Color | o_inputs.Btn | o_inputs.File | o_inputs.UploadBox;
2
+ export declare type Input = o_inputs.Text | o_inputs.Textarea | o_inputs.Checkbox | o_inputs.Select | o_inputs.LinkBtn | o_inputs.Range | o_color.Color | o_inputs.Btn | o_inputs.IconBtn | o_inputs.File | o_inputs.UploadBox | o_inputs.Group;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,6 @@
1
+ import { o_inputs, i_inputs } from "../internal";
2
+ export declare class Group extends o_inputs.InputBase {
3
+ type?: 'group';
4
+ inputs?: i_inputs.Inputs;
5
+ constructor(obj: Group);
6
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class IconBtn extends o_inputs.InputBase {
3
+ type?: 'icon_btn';
4
+ Svg: string;
5
+ constructor(obj: IconBtn);
6
+ }
@@ -3,12 +3,14 @@ export * from "./btn";
3
3
  export * from "./checkbox";
4
4
  export * from "./file";
5
5
  export * from "./hr";
6
+ export * from "./icon_btn";
6
7
  export * from "./link_btn";
7
8
  export * from "./link";
8
9
  export * from "./option";
9
10
  export * from "./range";
10
11
  export * from "./section";
11
12
  export * from "./select";
13
+ export * from "./group";
12
14
  export * from "./text";
13
15
  export * from "./textarea";
14
16
  export * from "./upload_box";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -23,12 +23,15 @@ export declare class Sections {
23
23
  callback?: t.CallbackVoid | undefined;
24
24
  }) => void;
25
25
  private reload_ext;
26
- make_shared_sections: ({ download_back_up_callback, upload_back_up_callback, restore_defaults_callback, input_change_val_callback, admin_inputs, restore_inputs, }: {
26
+ make_shared_sections: ({ download_back_up_callback, download_back_up_final_callback, upload_back_up_callback, restore_defaults_callback, input_change_val_callback, admin_inputs, restore_inputs, include_back_up_help, back_up_help_msg, }: {
27
27
  download_back_up_callback: t.CallbackAnyObj;
28
+ download_back_up_final_callback?: t.CallbackVoid | undefined;
28
29
  upload_back_up_callback: t.CallbackVariadicVoid;
29
30
  restore_defaults_callback: t.CallbackVoid;
30
31
  input_change_val_callback: t.CallbackVariadicVoid;
31
32
  admin_inputs?: i_inputs.Input[] | undefined;
32
33
  restore_inputs?: i_inputs.Input[] | undefined;
34
+ include_back_up_help?: boolean | undefined;
35
+ back_up_help_msg?: string | undefined;
33
36
  }) => o_inputs.Section[];
34
37
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes