@loftyshaky/shared-app 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/_locales/de/messages.json +128 -0
  2. package/_locales/en/messages.json +131 -0
  3. package/_locales/ru/messages.json +128 -0
  4. package/announcement.d.ts +2 -0
  5. package/announcement.js +1 -0
  6. package/app.d.ts +5 -0
  7. package/app.js +1 -0
  8. package/chunk-app-198a1b93.js +1 -0
  9. package/chunk-main-1095d121.js +9 -0
  10. package/chunk-main-651fde68.js +1 -0
  11. package/chunk-main-b3455ac8.js +1 -0
  12. package/chunk-pickr.min-a2459eac.js +1 -0
  13. package/ext.d.ts +5 -0
  14. package/ext.js +1 -0
  15. package/fonts/noto_sans.woff2 +0 -0
  16. package/html/announcement.html +15 -0
  17. package/index.d.ts +3 -0
  18. package/index.js +1 -0
  19. package/inputs.d.ts +2 -0
  20. package/inputs.js +1 -0
  21. package/js/env.js +16 -0
  22. package/js/ext/manifest.js +58 -0
  23. package/js/locales.js +48 -0
  24. package/js/package/plugins/rollup-plugin-copy.js +169 -0
  25. package/js/package/plugins/watcher.js +56 -0
  26. package/js/package/terser.js +18 -0
  27. package/js/project_name.js +5 -0
  28. package/js/projects_path.js +5 -0
  29. package/js/task_scheduler.js +39 -0
  30. package/js/webpack.config.js +156 -0
  31. package/package.json +14 -0
  32. package/scss/announcement/body.scss +10 -0
  33. package/scss/announcement/index.scss +3 -0
  34. package/scss/announcement/main.scss +8 -0
  35. package/scss/settings/ext_version.scss +7 -0
  36. package/scss/settings/index.scss +6 -0
  37. package/scss/settings/main.scss +17 -0
  38. package/scss/settings/section_btns.scss +52 -0
  39. package/scss/settings/sections.scss +22 -0
  40. package/scss/settings/transitions.scss +21 -0
  41. package/scss/shared/all.scss +3 -0
  42. package/scss/shared/btns.scss +39 -0
  43. package/scss/shared/checkboxes.scss +38 -0
  44. package/scss/shared/color_pickers.scss +93 -0
  45. package/scss/shared/colors.scss +84 -0
  46. package/scss/shared/crash_handler.scss +36 -0
  47. package/scss/shared/css_vars.scss +4 -0
  48. package/scss/shared/embed/error.scss +96 -0
  49. package/scss/shared/embed/font_face.scss +5 -0
  50. package/scss/shared/embed/loading_screen.scss +36 -0
  51. package/scss/shared/embed/no_tr.scss +3 -0
  52. package/scss/shared/focus.scss +80 -0
  53. package/scss/shared/group.scss +18 -0
  54. package/scss/shared/help.scss +66 -0
  55. package/scss/shared/hr.scss +6 -0
  56. package/scss/shared/index.scss +29 -0
  57. package/scss/shared/input_btns.scss +11 -0
  58. package/scss/shared/inputs.scss +70 -0
  59. package/scss/shared/inset_border.scss +20 -0
  60. package/scss/shared/link_btns.scss +12 -0
  61. package/scss/shared/links.scss +11 -0
  62. package/scss/shared/mixins.scss +130 -0
  63. package/scss/shared/mods.scss +39 -0
  64. package/scss/shared/range.scss +43 -0
  65. package/scss/shared/scrollbar.scss +35 -0
  66. package/scss/shared/selects.scss +14 -0
  67. package/scss/shared/text.scss +20 -0
  68. package/scss/shared/textareas.scss +7 -0
  69. package/scss/shared/themes/colors/dark.scss +13 -0
  70. package/scss/shared/themes/colors/light.scss +13 -0
  71. package/scss/shared/themes/colors/very_dark.scss +13 -0
  72. package/scss/shared/themes/general/dark_theme.scss +7 -0
  73. package/scss/shared/themes/general/light_theme.scss +7 -0
  74. package/scss/shared/themes/general/template.scss +259 -0
  75. package/scss/shared/themes/general/template_focus.scss +52 -0
  76. package/scss/shared/themes/general/very_dark_theme.scss +7 -0
  77. package/scss/shared/transitions.scss +36 -0
  78. package/scss/shared/upload_box.scss +67 -0
  79. package/scss/shared/vars.scss +19 -0
  80. package/settings.d.ts +2 -0
  81. package/settings.js +1 -0
  82. package/ts/announcement/components/body.d.ts +3 -0
  83. package/ts/announcement/components/index.d.ts +1 -0
  84. package/ts/announcement/components/prop_types/body.d.ts +4 -0
  85. package/ts/announcement/components/prop_types/index.d.ts +1 -0
  86. package/ts/announcement/internal.d.ts +3 -0
  87. package/ts/announcement/scripts/display.d.ts +6 -0
  88. package/ts/announcement/scripts/header.d.ts +6 -0
  89. package/ts/announcement/scripts/index.d.ts +2 -0
  90. package/ts/error_modules/crash_handler/components/body.d.ts +52 -0
  91. package/ts/error_modules/crash_handler/components/index.d.ts +1 -0
  92. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -0
  93. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -0
  94. package/ts/error_modules/crash_handler/data/fatal_error.d.ts +7 -0
  95. package/ts/error_modules/crash_handler/data/index.d.ts +2 -0
  96. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -0
  97. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -0
  98. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -0
  99. package/ts/error_modules/css/scripts/index.d.ts +1 -0
  100. package/ts/error_modules/css/scripts/main.d.ts +8 -0
  101. package/ts/error_modules/error/components/body.d.ts +3 -0
  102. package/ts/error_modules/error/components/close_btn.d.ts +2 -0
  103. package/ts/error_modules/error/components/ext_name.d.ts +2 -0
  104. package/ts/error_modules/error/components/index.d.ts +4 -0
  105. package/ts/error_modules/error/components/msg.d.ts +2 -0
  106. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -0
  107. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -0
  108. package/ts/error_modules/error/data/index.d.ts +3 -0
  109. package/ts/error_modules/error/data/main.d.ts +10 -0
  110. package/ts/error_modules/error/data/msg.d.ts +15 -0
  111. package/ts/error_modules/error/data/state.d.ts +24 -0
  112. package/ts/error_modules/error/interfaces/error.d.ts +6 -0
  113. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -0
  114. package/ts/error_modules/error/interfaces/index.d.ts +5 -0
  115. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -0
  116. package/ts/error_modules/error/interfaces/show_error.d.ts +6 -0
  117. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -0
  118. package/ts/error_modules/error/scripts/globals.d.ts +9 -0
  119. package/ts/error_modules/error/scripts/index.d.ts +1 -0
  120. package/ts/error_modules/internal.d.ts +10 -0
  121. package/ts/inputs/color/components/body.d.ts +3 -0
  122. package/ts/inputs/color/components/color_picker.d.ts +3 -0
  123. package/ts/inputs/color/components/fill_shadow.d.ts +3 -0
  124. package/ts/inputs/color/components/index.d.ts +4 -0
  125. package/ts/inputs/color/components/prop_types/body.d.ts +4 -0
  126. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -0
  127. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -0
  128. package/ts/inputs/color/components/prop_types/index.d.ts +4 -0
  129. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -0
  130. package/ts/inputs/color/components/visualization.d.ts +3 -0
  131. package/ts/inputs/color/data/color.d.ts +54 -0
  132. package/ts/inputs/color/data/index.d.ts +2 -0
  133. package/ts/inputs/color/data/visibility.d.ts +38 -0
  134. package/ts/inputs/color/interfaces/color.d.ts +1 -0
  135. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -0
  136. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -0
  137. package/ts/inputs/color/interfaces/i.d.ts +1 -0
  138. package/ts/inputs/color/interfaces/index.d.ts +4 -0
  139. package/ts/inputs/color/obj/color.d.ts +54 -0
  140. package/ts/inputs/color/obj/index.d.ts +1 -0
  141. package/ts/inputs/color/scripts/color_picker.d.ts +20 -0
  142. package/ts/inputs/color/scripts/index.d.ts +2 -0
  143. package/ts/inputs/color/scripts/position.d.ts +7 -0
  144. package/ts/inputs/components/btn.d.ts +3 -0
  145. package/ts/inputs/components/checkbox.d.ts +3 -0
  146. package/ts/inputs/components/file.d.ts +3 -0
  147. package/ts/inputs/components/group.d.ts +3 -0
  148. package/ts/inputs/components/help.d.ts +3 -0
  149. package/ts/inputs/components/help_btn.d.ts +3 -0
  150. package/ts/inputs/components/hr.d.ts +3 -0
  151. package/ts/inputs/components/icon_btn.d.ts +3 -0
  152. package/ts/inputs/components/index.d.ts +21 -0
  153. package/ts/inputs/components/input_item.d.ts +3 -0
  154. package/ts/inputs/components/label.d.ts +3 -0
  155. package/ts/inputs/components/link.d.ts +3 -0
  156. package/ts/inputs/components/link_btn.d.ts +3 -0
  157. package/ts/inputs/components/prop_types/btn.d.ts +4 -0
  158. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -0
  159. package/ts/inputs/components/prop_types/file.d.ts +4 -0
  160. package/ts/inputs/components/prop_types/group.d.ts +5 -0
  161. package/ts/inputs/components/prop_types/help.d.ts +4 -0
  162. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -0
  163. package/ts/inputs/components/prop_types/hr.d.ts +4 -0
  164. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -0
  165. package/ts/inputs/components/prop_types/index.d.ts +21 -0
  166. package/ts/inputs/components/prop_types/input_item.d.ts +7 -0
  167. package/ts/inputs/components/prop_types/label.d.ts +4 -0
  168. package/ts/inputs/components/prop_types/link.d.ts +4 -0
  169. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -0
  170. package/ts/inputs/components/prop_types/range.d.ts +4 -0
  171. package/ts/inputs/components/prop_types/section.d.ts +4 -0
  172. package/ts/inputs/components/prop_types/section_btn.d.ts +6 -0
  173. package/ts/inputs/components/prop_types/section_content.d.ts +4 -0
  174. package/ts/inputs/components/prop_types/select.d.ts +4 -0
  175. package/ts/inputs/components/prop_types/text.d.ts +4 -0
  176. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -0
  177. package/ts/inputs/components/prop_types/textarea.d.ts +4 -0
  178. package/ts/inputs/components/prop_types/upload_box.d.ts +4 -0
  179. package/ts/inputs/components/range.d.ts +3 -0
  180. package/ts/inputs/components/section.d.ts +3 -0
  181. package/ts/inputs/components/section_btn.d.ts +3 -0
  182. package/ts/inputs/components/section_content.d.ts +3 -0
  183. package/ts/inputs/components/select.d.ts +3 -0
  184. package/ts/inputs/components/text.d.ts +3 -0
  185. package/ts/inputs/components/text_btn.d.ts +3 -0
  186. package/ts/inputs/components/textarea.d.ts +3 -0
  187. package/ts/inputs/components/upload_box.d.ts +3 -0
  188. package/ts/inputs/data/help.d.ts +15 -0
  189. package/ts/inputs/data/index.d.ts +7 -0
  190. package/ts/inputs/data/input_width.d.ts +22 -0
  191. package/ts/inputs/data/label.d.ts +9 -0
  192. package/ts/inputs/data/nested_input.d.ts +18 -0
  193. package/ts/inputs/data/text.d.ts +21 -0
  194. package/ts/inputs/data/upload_box.d.ts +20 -0
  195. package/ts/inputs/data/val.d.ts +36 -0
  196. package/ts/inputs/interfaces/icon_btns.d.ts +2 -0
  197. package/ts/inputs/interfaces/index.d.ts +8 -0
  198. package/ts/inputs/interfaces/input.d.ts +2 -0
  199. package/ts/inputs/interfaces/inputs.d.ts +2 -0
  200. package/ts/inputs/interfaces/links.d.ts +2 -0
  201. package/ts/inputs/interfaces/options.d.ts +2 -0
  202. package/ts/inputs/interfaces/sections.d.ts +2 -0
  203. package/ts/inputs/interfaces/state_cond.d.ts +4 -0
  204. package/ts/inputs/interfaces/text_btn.d.ts +7 -0
  205. package/ts/inputs/internal.d.ts +12 -0
  206. package/ts/inputs/obj/btn.d.ts +5 -0
  207. package/ts/inputs/obj/checkbox.d.ts +5 -0
  208. package/ts/inputs/obj/file.d.ts +8 -0
  209. package/ts/inputs/obj/group.d.ts +6 -0
  210. package/ts/inputs/obj/hr.d.ts +5 -0
  211. package/ts/inputs/obj/icon_btn.d.ts +6 -0
  212. package/ts/inputs/obj/index.d.ts +16 -0
  213. package/ts/inputs/obj/input_base.d.ts +37 -0
  214. package/ts/inputs/obj/link.d.ts +12 -0
  215. package/ts/inputs/obj/link_btn.d.ts +5 -0
  216. package/ts/inputs/obj/option.d.ts +6 -0
  217. package/ts/inputs/obj/range.d.ts +20 -0
  218. package/ts/inputs/obj/section.d.ts +17 -0
  219. package/ts/inputs/obj/select.d.ts +9 -0
  220. package/ts/inputs/obj/text.d.ts +17 -0
  221. package/ts/inputs/obj/textarea.d.ts +5 -0
  222. package/ts/inputs/obj/upload_box.d.ts +14 -0
  223. package/ts/inputs/scripts/index.d.ts +2 -0
  224. package/ts/inputs/scripts/resolve.d.ts +5 -0
  225. package/ts/inputs/scripts/upload_box.d.ts +8 -0
  226. package/ts/settings/components/body.d.ts +3 -0
  227. package/ts/settings/components/index.d.ts +1 -0
  228. package/ts/settings/components/prop_types/body.d.ts +7 -0
  229. package/ts/settings/components/prop_types/index.d.ts +1 -0
  230. package/ts/settings/data/back_up.d.ts +16 -0
  231. package/ts/settings/data/index.d.ts +2 -0
  232. package/ts/settings/data/sections.d.ts +37 -0
  233. package/ts/settings/init.d.ts +1 -0
  234. package/ts/settings/internal.d.ts +9 -0
  235. package/ts/settings/optional_permissions/data/index.d.ts +1 -0
  236. package/ts/settings/optional_permissions/data/main.d.ts +11 -0
  237. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -0
  238. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -0
  239. package/ts/settings/schema/data/index.d.ts +1 -0
  240. package/ts/settings/schema/data/main.d.ts +10 -0
  241. package/ts/settings/schema/obj/index.d.ts +1 -0
  242. package/ts/settings/schema/obj/transform_item.d.ts +7 -0
  243. package/ts/settings/scripts/index.d.ts +1 -0
  244. package/ts/settings/scripts/theme.d.ts +12 -0
  245. package/ts/shared/app.d.ts +10 -0
  246. package/ts/shared/app_ext_globals.d.ts +6 -0
  247. package/ts/shared/css_vars/scripts/index.d.ts +1 -0
  248. package/ts/shared/css_vars/scripts/main.d.ts +18 -0
  249. package/ts/shared/data/data/index.d.ts +1 -0
  250. package/ts/shared/data/data/main.d.ts +4 -0
  251. package/ts/shared/data/interfaces/index.d.ts +1 -0
  252. package/ts/shared/data/interfaces/val.d.ts +2 -0
  253. package/ts/shared/ext.d.ts +27 -0
  254. package/ts/shared/ext_version/components/body.d.ts +2 -0
  255. package/ts/shared/ext_version/components/index.d.ts +1 -0
  256. package/ts/shared/functions.d.ts +3 -0
  257. package/ts/shared/globals.d.ts +4 -0
  258. package/ts/shared/init.d.ts +1 -0
  259. package/ts/shared/internal.d.ts +28 -0
  260. package/ts/shared/loading_screen/components/body.d.ts +3 -0
  261. package/ts/shared/loading_screen/components/index.d.ts +1 -0
  262. package/ts/shared/loading_screen/components/prop_types/body.d.ts +4 -0
  263. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -0
  264. package/ts/shared/loading_screen/data/index.d.ts +1 -0
  265. package/ts/shared/loading_screen/data/main.d.ts +10 -0
  266. package/ts/shared/no_tr/scripts/index.d.ts +1 -0
  267. package/ts/shared/no_tr/scripts/main.d.ts +12 -0
  268. package/ts/shared/svg.d.ts +7 -0
  269. package/ts/shared/t.d.ts +34 -0
  270. package/ts/shared/tab_index/interfaces/index.d.ts +1 -0
  271. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -0
  272. package/ts/shared/tab_index/scripts/index.d.ts +1 -0
  273. package/ts/shared/tab_index/scripts/main.d.ts +18 -0
  274. package/ts/shared/theme/scripts/index.d.ts +1 -0
  275. package/ts/shared/theme/scripts/main.d.ts +11 -0
  276. package/ts/shared/title/scripts/index.d.ts +1 -0
  277. package/ts/shared/title/scripts/main.d.ts +6 -0
  278. package/ts/shared/tr/components/base_tr.d.ts +9 -0
  279. package/ts/shared/tr/components/index.d.ts +1 -0
  280. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -0
  281. package/ts/shared/tr/components/prop_types/index.d.ts +1 -0
  282. package/ts/shared/tr/data/index.d.ts +1 -0
  283. package/ts/shared/tr/data/transition.d.ts +23 -0
  284. package/ts/shared/tr/interfaces/index.d.ts +1 -0
  285. package/ts/shared/tr/interfaces/transitions.d.ts +2 -0
  286. package/ts/shared/tr/obj/index.d.ts +1 -0
  287. package/ts/shared/tr/obj/transition.d.ts +8 -0
  288. package/ts/shared/utils/scripts/index.d.ts +1 -0
  289. package/ts/shared/utils/scripts/main.d.ts +11 -0
  290. package/ts/shared/vars.d.ts +1 -0
  291. package/ts/shared/viewport/scripts/index.d.ts +1 -0
  292. package/ts/shared/viewport/scripts/main.d.ts +8 -0
  293. package/ts/shared/x.d.ts +60 -0
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const LinkBtn: React.FunctionComponent<p_inputs.LinkBtn>;
@@ -0,0 +1,4 @@
1
+ import { i_inputs } from "../../internal";
2
+ export interface Btn {
3
+ input: i_inputs.Input;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Checkbox {
3
+ input: o_inputs.Checkbox;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface File {
3
+ input: o_inputs.File;
4
+ }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs, i_inputs } from "../../internal";
2
+ export interface Help {
3
+ section_or_input: o_inputs.Section | i_inputs.Input;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs, i_inputs } from "../../internal";
2
+ export interface HelpBtn {
3
+ section_or_input: o_inputs.Section | i_inputs.Input;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Hr {
3
+ input: o_inputs.Hr;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface IconBtn {
3
+ input: o_inputs.IconBtn;
4
+ }
@@ -0,0 +1,21 @@
1
+ export * from "./btn";
2
+ export * from "./checkbox";
3
+ export * from "./file";
4
+ export * from "./help_btn";
5
+ export * from "./help";
6
+ export * from "./hr";
7
+ export * from "./icon_btn";
8
+ export * from "./input_item";
9
+ export * from "./label";
10
+ export * from "./link_btn";
11
+ export * from "./link";
12
+ export * from "./range";
13
+ export * from "./section_btn";
14
+ export * from "./section_content";
15
+ export * from "./section";
16
+ export * from "./select";
17
+ export * from "./group";
18
+ export * from "./text_btn";
19
+ export * from "./text";
20
+ export * from "./textarea";
21
+ export * from "./upload_box";
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { i_inputs } from "../../internal";
3
+ export interface InputItem {
4
+ input: i_inputs.Input;
5
+ input_w: JSX.Element;
6
+ include_label: boolean;
7
+ }
@@ -0,0 +1,4 @@
1
+ import { i_inputs } from "../../internal";
2
+ export interface Label {
3
+ input: i_inputs.Input;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Link {
3
+ link: o_inputs.Link;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface LinkBtn {
3
+ input: o_inputs.LinkBtn;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Range {
3
+ input: o_inputs.Range;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Section {
3
+ section: o_inputs.Section;
4
+ }
@@ -0,0 +1,6 @@
1
+ import { t } from "../../../shared/internal";
2
+ import { o_inputs } from "../../internal";
3
+ export interface SectionBtn {
4
+ section: o_inputs.Section;
5
+ change_section_callback: t.CallbackVoid;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { i_inputs } from "../../internal";
2
+ export interface SectionContent {
3
+ inputs: i_inputs.Inputs | i_inputs.Links;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Select {
3
+ input: o_inputs.Select;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Text {
3
+ input: o_inputs.Text;
4
+ }
@@ -0,0 +1,8 @@
1
+ import { t } from "../../../shared/internal";
2
+ import { o_inputs } from "../../internal";
3
+ export interface TextBtn {
4
+ name: string;
5
+ Svg: string;
6
+ input: o_inputs.Text;
7
+ on_click?: t.CallbackVoid;
8
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface Textarea {
3
+ input: o_inputs.Textarea;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { o_inputs } from "../../internal";
2
+ export interface UploadBox {
3
+ input: o_inputs.UploadBox;
4
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const Range: React.FunctionComponent<p_inputs.Range>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const Section: React.FunctionComponent<p_inputs.Section>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const SectionBtn: React.FunctionComponent<p_inputs.SectionBtn>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const SectionContent: React.FunctionComponent<p_inputs.SectionContent>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const Select: React.FunctionComponent<p_inputs.Select>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const Text: React.FunctionComponent<p_inputs.Text>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const TextBtn: React.FunctionComponent<p_inputs.TextBtn>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const Textarea: React.FunctionComponent<p_inputs.Textarea>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { p_inputs } from "../internal";
3
+ export declare const UploadBox: React.FunctionComponent<p_inputs.UploadBox>;
@@ -0,0 +1,15 @@
1
+ import { o_inputs, i_inputs } from "../internal";
2
+ export declare class Help {
3
+ private static i0;
4
+ static i(): Help;
5
+ private constructor();
6
+ change_visibility: ({ section_or_input, }: {
7
+ section_or_input: o_inputs.Section | i_inputs.Input;
8
+ }) => void;
9
+ width_style?: (({ section_or_input, }: {
10
+ section_or_input: o_inputs.Section | i_inputs.Input;
11
+ }) => number | string | undefined) | undefined;
12
+ msg?: (({ section_or_input, }: {
13
+ section_or_input: o_inputs.Section | i_inputs.Input;
14
+ }) => string | undefined) | undefined;
15
+ }
@@ -0,0 +1,7 @@
1
+ export * from "./help";
2
+ export * from "./input_width";
3
+ export * from "./label";
4
+ export * from "./nested_input";
5
+ export * from "./val";
6
+ export * from "./text";
7
+ export * from "./upload_box";
@@ -0,0 +1,22 @@
1
+ import { i_inputs } from "../internal";
2
+ export declare class InputWidth {
3
+ private static i0;
4
+ static i(): InputWidth;
5
+ private constructor();
6
+ width: Record<string, string | undefined>;
7
+ private max_width;
8
+ private min_width;
9
+ private old_max_width;
10
+ max_width_style?: ((this: InputWidth) => number | string | undefined) | undefined;
11
+ min_width_style?: ((this: InputWidth, { input, }: {
12
+ input: i_inputs.Input;
13
+ }) => number | string | undefined) | undefined;
14
+ calculate_for_section: ({ section_name }: {
15
+ section_name: string;
16
+ }) => Promise<void>;
17
+ calculate_for_all_sections: ({ sections, all_sections_inputs_equal_width, }: {
18
+ sections: i_inputs.Sections;
19
+ all_sections_inputs_equal_width?: boolean | undefined;
20
+ }) => Promise<void>;
21
+ set_max_width: () => void;
22
+ }
@@ -0,0 +1,9 @@
1
+ import { i_inputs } from "../internal";
2
+ export declare class Label {
3
+ private static i0;
4
+ static i(): Label;
5
+ private constructor();
6
+ msg?: (({ input }: {
7
+ input: i_inputs.Input;
8
+ }) => string | undefined) | undefined;
9
+ }
@@ -0,0 +1,18 @@
1
+ import { i_inputs } from "../internal";
2
+ export declare class NestedInput {
3
+ private static i0;
4
+ static i(): NestedInput;
5
+ constructor();
6
+ calculate_offset: ({ input }: {
7
+ input: i_inputs.Input;
8
+ }) => void;
9
+ set_parent_disbled_vals: ({ input, sections, set_to_all_sections, }: {
10
+ input: i_inputs.Input;
11
+ sections: i_inputs.Sections;
12
+ set_to_all_sections?: boolean | undefined;
13
+ }) => void;
14
+ set_all_parents_disbled_vals: ({ sections, set_to_all_sections, }: {
15
+ sections: i_inputs.Sections;
16
+ set_to_all_sections?: boolean | undefined;
17
+ }) => void;
18
+ }
@@ -0,0 +1,21 @@
1
+ import { o_inputs, i_inputs } from "../internal";
2
+ export declare class Text {
3
+ private static i0;
4
+ static i(): Text;
5
+ private constructor();
6
+ private set_placeholder_text;
7
+ clear_placeholder_text: ({ input }: {
8
+ input: o_inputs.Text;
9
+ }) => void;
10
+ set_loading_placeholder_text: ({ input }: {
11
+ input: o_inputs.Text;
12
+ }) => void;
13
+ set_error_placeholder_text: ({ input }: {
14
+ input: o_inputs.Text;
15
+ }) => void;
16
+ run_text_btn_action: ({ input, text_btn, input_el, }: {
17
+ input: i_inputs.Input;
18
+ text_btn: i_inputs.TextBtn;
19
+ input_el: HTMLInputElement | undefined;
20
+ }) => Promise<void>;
21
+ }
@@ -0,0 +1,20 @@
1
+ import { ChangeEvent } from 'react';
2
+ import { o_inputs } from "../internal";
3
+ export declare class UploadBox {
4
+ private static i0;
5
+ static i(): UploadBox;
6
+ constructor();
7
+ trigger_click_on_file_input: ({ file_input, }: {
8
+ file_input: HTMLInputElement | null;
9
+ }) => void;
10
+ upload_files: (e: ChangeEvent | DragEvent, { input, file_input, }: {
11
+ input: o_inputs.UploadBox;
12
+ file_input?: HTMLInputElement | null | undefined;
13
+ }) => Promise<void>;
14
+ highlight: ({ input }: {
15
+ input: o_inputs.UploadBox;
16
+ }) => void;
17
+ unhighlight: ({ input }: {
18
+ input: o_inputs.UploadBox;
19
+ }) => void;
20
+ }
@@ -0,0 +1,36 @@
1
+ import { SyntheticEvent } from 'react';
2
+ import { i_data } from "../../shared/internal";
3
+ import { i_inputs } from "../internal";
4
+ export declare class Val {
5
+ private static i0;
6
+ static i(): Val;
7
+ private constructor();
8
+ set_focus_state: ({ input, state }: {
9
+ input: i_inputs.Input;
10
+ state: boolean;
11
+ }) => void;
12
+ private set_warn_state;
13
+ focus_state: ({ input }: {
14
+ input: i_inputs.Input;
15
+ }) => string;
16
+ warn_state: ({ input }: {
17
+ input: i_inputs.Input;
18
+ }) => string;
19
+ access: ({ input }: {
20
+ input: i_inputs.Input;
21
+ }) => i_data.Val;
22
+ change: ({ input, }: {
23
+ input: i_inputs.Input;
24
+ }, e: SyntheticEvent) => void;
25
+ set: ({ val, input }: {
26
+ val: i_data.Val;
27
+ input: i_inputs.Input;
28
+ }) => void;
29
+ remove_val: ({ input, input_el }: {
30
+ input: i_inputs.Input;
31
+ input_el: HTMLInputElement | null;
32
+ }) => void;
33
+ validate_input: ({ input }: {
34
+ input: i_inputs.Input;
35
+ }) => boolean;
36
+ }
@@ -0,0 +1,2 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare type IconBtns = Record<string, o_inputs.IconBtn>;
@@ -0,0 +1,8 @@
1
+ export * from "./icon_btns";
2
+ export * from "./input";
3
+ export * from "./inputs";
4
+ export * from "./links";
5
+ export * from "./options";
6
+ export * from "./sections";
7
+ export * from "./text_btn";
8
+ export * from "./state_cond";
@@ -0,0 +1,2 @@
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.IconBtn | o_inputs.File | o_inputs.UploadBox | o_inputs.Group;
@@ -0,0 +1,2 @@
1
+ import { i_inputs } from "../internal";
2
+ export declare type Inputs = i_inputs.Input[] | Record<string, i_inputs.Input>;
@@ -0,0 +1,2 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare type Links = o_inputs.Link[] | Record<string, o_inputs.Link>;
@@ -0,0 +1,2 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare type Options = Record<string, o_inputs.Option[]>;
@@ -0,0 +1,2 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare type Sections = Record<string, o_inputs.Section>;
@@ -0,0 +1,4 @@
1
+ export interface StateCond {
2
+ input_name: string;
3
+ pass_vals: (boolean | string | number)[];
4
+ }
@@ -0,0 +1,7 @@
1
+ import { t } from "../../shared/internal";
2
+ export interface TextBtn {
3
+ name: string;
4
+ Svg: string;
5
+ visibility_cond?: t.CallbackVariadicVoid;
6
+ event_callback: t.CallbackVariadicVoid;
7
+ }
@@ -0,0 +1,12 @@
1
+ export * as c_inputs from "./components";
2
+ export * as c_color from "./color/components";
3
+ export * as o_inputs from "./obj";
4
+ export * as o_color from "./color/obj";
5
+ export * as d_inputs from "./data";
6
+ export * as d_color from "./color/data";
7
+ export * as s_inputs from "./scripts";
8
+ export * as s_color from "./color/scripts";
9
+ export * as p_inputs from "./components/prop_types";
10
+ export * as p_color from "./color/components/prop_types";
11
+ export * as i_inputs from "./interfaces";
12
+ export * as i_color from "./color/interfaces";
@@ -0,0 +1,5 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class Btn extends o_inputs.InputBase {
3
+ type?: 'btn';
4
+ constructor(obj: Btn);
5
+ }
@@ -0,0 +1,5 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class Checkbox extends o_inputs.InputBase {
3
+ type?: 'checkbox';
4
+ constructor(obj: Checkbox);
5
+ }
@@ -0,0 +1,8 @@
1
+ import { t } from "../../shared/internal";
2
+ import { o_inputs } from "../internal";
3
+ export declare class File extends o_inputs.InputBase {
4
+ type?: 'file';
5
+ accept: string;
6
+ save_callback?: t.CallbackVariadicVoid;
7
+ constructor(obj: File);
8
+ }
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ export declare class Hr {
2
+ name: string;
3
+ type?: 'hr';
4
+ constructor(obj: Hr);
5
+ }
@@ -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
+ }
@@ -0,0 +1,16 @@
1
+ export * from "./input_base";
2
+ export * from "./btn";
3
+ export * from "./checkbox";
4
+ export * from "./file";
5
+ export * from "./hr";
6
+ export * from "./icon_btn";
7
+ export * from "./link_btn";
8
+ export * from "./link";
9
+ export * from "./option";
10
+ export * from "./range";
11
+ export * from "./section";
12
+ export * from "./select";
13
+ export * from "./group";
14
+ export * from "./text";
15
+ export * from "./textarea";
16
+ export * from "./upload_box";
@@ -0,0 +1,37 @@
1
+ import { t } from "../../shared/internal";
2
+ import { i_inputs } from "../internal";
3
+ export declare class InputBase {
4
+ name: string;
5
+ is_cut?: boolean;
6
+ is_visible_key?: string;
7
+ is_visible?: boolean;
8
+ is_visible_conds?: i_inputs.StateCond[];
9
+ is_enabled?: boolean;
10
+ is_enabled_conds?: i_inputs.StateCond[];
11
+ parent_disabled?: boolean;
12
+ is_in_focus_state?: boolean;
13
+ is_in_warn_state?: boolean;
14
+ val_accessor?: string;
15
+ alt_msg?: string;
16
+ alt_help_msg?: string;
17
+ include_help?: boolean;
18
+ help_is_visible?: boolean;
19
+ parent?: string;
20
+ offset?: string;
21
+ section?: string;
22
+ subsection?: string;
23
+ event_callback: t.CallbackVariadicVoid;
24
+ warn_state_checker?: ({ input }: {
25
+ input: i_inputs.Input;
26
+ }) => boolean;
27
+ constructor(obj: InputBase);
28
+ is_cut_computed?: ((this: InputBase) => boolean) | undefined;
29
+ is_visible_computed?: ((this: InputBase) => boolean) | undefined;
30
+ is_enabled_computed?: ((this: InputBase) => boolean) | undefined;
31
+ private is_enabled_final?;
32
+ is_enabled_cls?: ((this: InputBase) => string) | undefined;
33
+ tab_index?: ((this: InputBase) => number) | undefined;
34
+ parent_disabled_computed?: ((this: InputBase) => boolean) | undefined;
35
+ private check_state?;
36
+ private check_state_conds?;
37
+ }
@@ -0,0 +1,12 @@
1
+ import { t } from "../../shared/internal";
2
+ export declare class Link {
3
+ name: string;
4
+ type?: string;
5
+ browser?: t.Browser;
6
+ href?: string;
7
+ force_resolve?: boolean;
8
+ constructor(obj: Link);
9
+ text?: (() => string) | undefined;
10
+ href_final?: (() => string) | undefined;
11
+ show_link?: (() => boolean) | undefined;
12
+ }
@@ -0,0 +1,5 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class LinkBtn extends o_inputs.InputBase {
3
+ type?: 'link_btn';
4
+ constructor(obj: LinkBtn);
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare class Option {
2
+ name: string;
3
+ val?: string | number;
4
+ alt_msg?: string;
5
+ constructor(obj: Option);
6
+ }
@@ -0,0 +1,20 @@
1
+ import { o_inputs } from "../internal";
2
+ export declare class Range extends o_inputs.InputBase {
3
+ type?: 'range';
4
+ min?: number;
5
+ max?: number;
6
+ step?: number;
7
+ constructor(obj: Range);
8
+ displayed_val?: (({ input }: {
9
+ input: Range;
10
+ }) => number) | undefined;
11
+ lower_fill_percentage?: (({ input }: {
12
+ input: Range;
13
+ }) => number) | undefined;
14
+ lower_fill_width?: (({ input }: {
15
+ input: Range;
16
+ }) => string) | undefined;
17
+ help_is_present_cls?: (({ input }: {
18
+ input: Range;
19
+ }) => string) | undefined;
20
+ }
@@ -0,0 +1,17 @@
1
+ import { i_inputs } from "../internal";
2
+ export declare class Section {
3
+ name: string;
4
+ include_help?: boolean;
5
+ help_is_visible?: boolean;
6
+ alt_msg?: string;
7
+ alt_help_msg?: string;
8
+ inputs: i_inputs.Inputs | i_inputs.Links;
9
+ subsections?: {
10
+ name: string;
11
+ inputs: i_inputs.Inputs | i_inputs.Links;
12
+ }[];
13
+ constructor(obj: Section);
14
+ visibility_cls?: (({ section }: {
15
+ section: Section;
16
+ }) => string) | undefined;
17
+ }
@@ -0,0 +1,9 @@
1
+ import { o_inputs, i_inputs } from "../internal";
2
+ export declare class Select extends o_inputs.InputBase {
3
+ type?: 'select';
4
+ options: i_inputs.Options;
5
+ constructor(obj: Select);
6
+ option_text?: (({ i }: {
7
+ i: number;
8
+ }) => string) | undefined;
9
+ }
@@ -0,0 +1,17 @@
1
+ import { t } from "../../shared/internal";
2
+ import { o_inputs, i_inputs } from "../internal";
3
+ export declare class Text extends o_inputs.InputBase {
4
+ type?: 'text';
5
+ text_type?: 'text' | 'number';
6
+ allow_removing_val?: boolean;
7
+ placeholder?: string;
8
+ text_btns?: i_inputs.TextBtn[];
9
+ remove_val_callback?: ({ input }: {
10
+ input: i_inputs.Input;
11
+ }) => void;
12
+ paste_callback?: t.CallbackVariadicVoid;
13
+ constructor(obj: Text);
14
+ remove_val_btn_is_visible?: (({ input }: {
15
+ input: Text;
16
+ }) => boolean) | undefined;
17
+ }