@loftyshaky/shared 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/LICENSE.md +21 -0
  2. package/_locales/de/messages.json +1 -1
  3. package/_locales/en/messages.json +100 -1
  4. package/_locales/ru/messages.json +47 -2
  5. package/announcement.d.ts +2 -2
  6. package/announcement.js +5 -1
  7. package/app.d.ts +1 -5
  8. package/app.js +5 -1
  9. package/chunk-main.js +22 -0
  10. package/chunk-main2.js +5 -0
  11. package/chunk-main3.js +5 -0
  12. package/chunk-main4.js +5 -0
  13. package/chunk-pickr.min.js +5 -0
  14. package/dependencies.d.ts +2 -0
  15. package/dependencies.js +5 -0
  16. package/dependencies.txt +863 -0
  17. package/ext.d.ts +1 -5
  18. package/ext.js +5 -1
  19. package/fonts/NotoSans-Regular.ttf +0 -0
  20. package/globals.d.ts +49 -0
  21. package/html/dependencies.html +13 -0
  22. package/index.d.ts +3 -3
  23. package/index.js +5 -1
  24. package/inputs.d.ts +2 -2
  25. package/inputs.js +5 -1
  26. package/js/apps.js +63 -63
  27. package/js/dependencies.js +56 -0
  28. package/js/locales.js +11 -5
  29. package/js/package/plugins/rollup-plugin-copy.js +169 -169
  30. package/js/package/plugins/watcher.js +56 -56
  31. package/js/package/terser.js +18 -18
  32. package/js/task_scheduler.js +39 -39
  33. package/js/tsc_alias.js +19 -0
  34. package/js/webpack.config.js +30 -3
  35. package/package.json +2 -2
  36. package/scss/dependencies/body.scss +3 -0
  37. package/scss/dependencies/hr.scss +3 -0
  38. package/scss/dependencies/index.scss +5 -0
  39. package/scss/dependencies/links.scss +3 -0
  40. package/scss/dependencies/main.scss +3 -0
  41. package/scss/settings/sections.scss +22 -0
  42. package/scss/settings/transitions.scss +2 -3
  43. package/scss/shared/checkboxes.scss +2 -2
  44. package/scss/shared/close_btn.scss +1 -1
  45. package/scss/shared/embed/error.scss +2 -2
  46. package/scss/shared/embed/font_face.scss +1 -2
  47. package/scss/shared/index.scss +1 -0
  48. package/scss/shared/inputs.scss +5 -1
  49. package/scss/shared/inset_border.scss +1 -4
  50. package/scss/shared/links.scss +4 -0
  51. package/scss/shared/mixins.scss +11 -7
  52. package/scss/shared/mods.scss +1 -3
  53. package/scss/shared/offers.scss +37 -0
  54. package/scss/shared/selects.scss +8 -2
  55. package/scss/shared/themes/colors/aqua.scss +15 -6
  56. package/scss/shared/themes/colors/dark.scss +5 -1
  57. package/scss/shared/themes/colors/lavender.scss +19 -6
  58. package/scss/shared/themes/colors/light.scss +5 -1
  59. package/scss/shared/themes/colors/very_dark.scss +5 -1
  60. package/scss/shared/themes/general/template.scss +26 -12
  61. package/scss/shared/themes/general/template_focus.scss +6 -4
  62. package/scss/shared/transitions.scss +5 -2
  63. package/scss/shared/upload_box.scss +2 -3
  64. package/scss/shared/vars.scss +10 -3
  65. package/settings.d.ts +2 -2
  66. package/settings.js +5 -1
  67. package/ts/announcement/components/body.d.ts +2 -3
  68. package/ts/announcement/components/index.d.ts +1 -1
  69. package/ts/announcement/internal.d.ts +2 -3
  70. package/ts/announcement/scripts/display.d.ts +6 -6
  71. package/ts/announcement/scripts/index.d.ts +1 -2
  72. package/ts/dependencies/components/body.d.ts +2 -0
  73. package/ts/dependencies/components/index.d.ts +1 -0
  74. package/ts/dependencies/internal.d.ts +2 -0
  75. package/ts/dependencies/scripts/dependencies.d.ts +7 -0
  76. package/ts/dependencies/scripts/index.d.ts +1 -0
  77. package/ts/error_modules/crash_handler/components/body.d.ts +52 -52
  78. package/ts/error_modules/crash_handler/components/index.d.ts +1 -1
  79. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -4
  80. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -1
  81. package/ts/error_modules/crash_handler/data/index.d.ts +1 -1
  82. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -7
  83. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -1
  84. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -6
  85. package/ts/error_modules/css/scripts/index.d.ts +1 -1
  86. package/ts/error_modules/css/scripts/main.d.ts +8 -8
  87. package/ts/error_modules/error/components/body.d.ts +3 -3
  88. package/ts/error_modules/error/components/close_btn.d.ts +2 -2
  89. package/ts/error_modules/error/components/ext_name.d.ts +2 -2
  90. package/ts/error_modules/error/components/index.d.ts +6 -6
  91. package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -2
  92. package/ts/error_modules/error/components/msg.d.ts +2 -2
  93. package/ts/error_modules/error/components/progress.d.ts +2 -2
  94. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -5
  95. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -1
  96. package/ts/error_modules/error/data/index.d.ts +4 -4
  97. package/ts/error_modules/error/data/main.d.ts +11 -11
  98. package/ts/error_modules/error/data/msg.d.ts +13 -13
  99. package/ts/error_modules/error/data/progress.d.ts +17 -17
  100. package/ts/error_modules/error/data/state.d.ts +25 -25
  101. package/ts/error_modules/error/interfaces/error.d.ts +6 -6
  102. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -6
  103. package/ts/error_modules/error/interfaces/index.d.ts +7 -7
  104. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -1
  105. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  106. package/ts/error_modules/error/interfaces/show_error.d.ts +11 -11
  107. package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -5
  108. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
  109. package/ts/error_modules/error/scripts/flash.d.ts +11 -11
  110. package/ts/error_modules/error/scripts/globals.d.ts +1 -12
  111. package/ts/error_modules/error/scripts/index.d.ts +3 -3
  112. package/ts/error_modules/error/scripts/notification.d.ts +8 -8
  113. package/ts/error_modules/init.d.ts +1 -1
  114. package/ts/error_modules/internal.d.ts +11 -11
  115. package/ts/inputs/color/components/body.d.ts +3 -3
  116. package/ts/inputs/color/components/color_picker.d.ts +3 -3
  117. package/ts/inputs/color/components/fill_shadow.d.ts +3 -3
  118. package/ts/inputs/color/components/index.d.ts +4 -4
  119. package/ts/inputs/color/components/prop_types/body.d.ts +4 -4
  120. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -7
  121. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -5
  122. package/ts/inputs/color/components/prop_types/index.d.ts +4 -4
  123. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -6
  124. package/ts/inputs/color/components/visualization.d.ts +3 -3
  125. package/ts/inputs/color/data/color.d.ts +54 -54
  126. package/ts/inputs/color/data/index.d.ts +2 -2
  127. package/ts/inputs/color/data/visibility.d.ts +38 -38
  128. package/ts/inputs/color/interfaces/color.d.ts +1 -1
  129. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -6
  130. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -5
  131. package/ts/inputs/color/interfaces/i.d.ts +1 -1
  132. package/ts/inputs/color/interfaces/index.d.ts +4 -4
  133. package/ts/inputs/color/obj/color.d.ts +54 -54
  134. package/ts/inputs/color/obj/index.d.ts +1 -1
  135. package/ts/inputs/color/scripts/color_picker.d.ts +20 -20
  136. package/ts/inputs/color/scripts/index.d.ts +2 -2
  137. package/ts/inputs/color/scripts/position.d.ts +7 -7
  138. package/ts/inputs/components/btn.d.ts +3 -3
  139. package/ts/inputs/components/checkbox.d.ts +3 -3
  140. package/ts/inputs/components/file.d.ts +3 -3
  141. package/ts/inputs/components/form.d.ts +3 -3
  142. package/ts/inputs/components/group.d.ts +3 -3
  143. package/ts/inputs/components/help.d.ts +3 -3
  144. package/ts/inputs/components/help_btn.d.ts +3 -3
  145. package/ts/inputs/components/hr.d.ts +3 -3
  146. package/ts/inputs/components/icon_btn.d.ts +3 -3
  147. package/ts/inputs/components/index.d.ts +25 -25
  148. package/ts/inputs/components/input_error.d.ts +3 -3
  149. package/ts/inputs/components/input_item.d.ts +3 -3
  150. package/ts/inputs/components/label.d.ts +3 -3
  151. package/ts/inputs/components/label_in_input_item.d.ts +3 -3
  152. package/ts/inputs/components/link.d.ts +3 -3
  153. package/ts/inputs/components/link_btn.d.ts +3 -3
  154. package/ts/inputs/components/link_icon_btn.d.ts +3 -3
  155. package/ts/inputs/components/prop_types/btn.d.ts +4 -4
  156. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -4
  157. package/ts/inputs/components/prop_types/file.d.ts +4 -4
  158. package/ts/inputs/components/prop_types/form.d.ts +5 -5
  159. package/ts/inputs/components/prop_types/group.d.ts +5 -5
  160. package/ts/inputs/components/prop_types/help.d.ts +4 -4
  161. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -4
  162. package/ts/inputs/components/prop_types/hr.d.ts +4 -4
  163. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -4
  164. package/ts/inputs/components/prop_types/index.d.ts +25 -25
  165. package/ts/inputs/components/prop_types/input_error.d.ts +4 -4
  166. package/ts/inputs/components/prop_types/input_item.d.ts +7 -7
  167. package/ts/inputs/components/prop_types/label.d.ts +4 -4
  168. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -4
  169. package/ts/inputs/components/prop_types/link.d.ts +4 -4
  170. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -4
  171. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -5
  172. package/ts/inputs/components/prop_types/range.d.ts +6 -6
  173. package/ts/inputs/components/prop_types/section.d.ts +4 -4
  174. package/ts/inputs/components/prop_types/section_btn.d.ts +7 -6
  175. package/ts/inputs/components/prop_types/section_content.d.ts +5 -5
  176. package/ts/inputs/components/prop_types/select.d.ts +6 -6
  177. package/ts/inputs/components/prop_types/text.d.ts +6 -6
  178. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
  179. package/ts/inputs/components/prop_types/textarea.d.ts +6 -6
  180. package/ts/inputs/components/prop_types/upload_box.d.ts +5 -5
  181. package/ts/inputs/components/range.d.ts +3 -3
  182. package/ts/inputs/components/section.d.ts +3 -3
  183. package/ts/inputs/components/section_btn.d.ts +3 -3
  184. package/ts/inputs/components/section_content.d.ts +3 -3
  185. package/ts/inputs/components/select.d.ts +3 -3
  186. package/ts/inputs/components/text.d.ts +3 -3
  187. package/ts/inputs/components/text_btn.d.ts +3 -3
  188. package/ts/inputs/components/textarea.d.ts +3 -3
  189. package/ts/inputs/components/upload_box.d.ts +3 -3
  190. package/ts/inputs/data/help.d.ts +15 -15
  191. package/ts/inputs/data/index.d.ts +8 -8
  192. package/ts/inputs/data/input_error.d.ts +12 -12
  193. package/ts/inputs/data/input_width.d.ts +26 -26
  194. package/ts/inputs/data/labelIn_in_putI_iem.d.ts +9 -9
  195. package/ts/inputs/data/nested_input.d.ts +18 -18
  196. package/ts/inputs/data/text.d.ts +21 -21
  197. package/ts/inputs/data/upload_box.d.ts +24 -24
  198. package/ts/inputs/data/val.d.ts +41 -41
  199. package/ts/inputs/interfaces/btn_option.d.ts +9 -9
  200. package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
  201. package/ts/inputs/interfaces/index.d.ts +9 -9
  202. package/ts/inputs/interfaces/input.d.ts +2 -2
  203. package/ts/inputs/interfaces/inputs.d.ts +2 -2
  204. package/ts/inputs/interfaces/links.d.ts +2 -2
  205. package/ts/inputs/interfaces/options.d.ts +2 -2
  206. package/ts/inputs/interfaces/sections.d.ts +2 -2
  207. package/ts/inputs/interfaces/state_cond.d.ts +4 -4
  208. package/ts/inputs/interfaces/text_btn.d.ts +7 -7
  209. package/ts/inputs/internal.d.ts +12 -12
  210. package/ts/inputs/obj/btn.d.ts +6 -6
  211. package/ts/inputs/obj/checkbox.d.ts +5 -5
  212. package/ts/inputs/obj/file.d.ts +9 -9
  213. package/ts/inputs/obj/form.d.ts +7 -7
  214. package/ts/inputs/obj/group.d.ts +6 -6
  215. package/ts/inputs/obj/hr.d.ts +5 -5
  216. package/ts/inputs/obj/icon_btn.d.ts +7 -7
  217. package/ts/inputs/obj/index.d.ts +18 -18
  218. package/ts/inputs/obj/input_base.d.ts +45 -44
  219. package/ts/inputs/obj/label.d.ts +5 -5
  220. package/ts/inputs/obj/link.d.ts +17 -16
  221. package/ts/inputs/obj/link_btn.d.ts +6 -6
  222. package/ts/inputs/obj/option.d.ts +6 -6
  223. package/ts/inputs/obj/range.d.ts +20 -20
  224. package/ts/inputs/obj/section.d.ts +31 -28
  225. package/ts/inputs/obj/select.d.ts +9 -9
  226. package/ts/inputs/obj/text.d.ts +18 -18
  227. package/ts/inputs/obj/textarea.d.ts +5 -5
  228. package/ts/inputs/obj/upload_box.d.ts +18 -18
  229. package/ts/inputs/scripts/index.d.ts +2 -2
  230. package/ts/inputs/scripts/resolve.d.ts +7 -7
  231. package/ts/inputs/scripts/upload_box.d.ts +8 -8
  232. package/ts/settings/components/body.d.ts +3 -3
  233. package/ts/settings/components/index.d.ts +1 -1
  234. package/ts/settings/components/prop_types/body.d.ts +8 -7
  235. package/ts/settings/components/prop_types/index.d.ts +1 -1
  236. package/ts/settings/data/back_up.d.ts +17 -17
  237. package/ts/settings/data/index.d.ts +2 -2
  238. package/ts/settings/data/sections.d.ts +43 -43
  239. package/ts/settings/developer_mode/data/index.d.ts +1 -0
  240. package/ts/settings/developer_mode/data/main.d.ts +13 -0
  241. package/ts/settings/init.d.ts +1 -1
  242. package/ts/settings/internal.d.ts +8 -7
  243. package/ts/settings/optional_permissions/data/index.d.ts +1 -1
  244. package/ts/settings/optional_permissions/data/main.d.ts +11 -11
  245. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -1
  246. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -3
  247. package/ts/settings/scripts/index.d.ts +1 -1
  248. package/ts/settings/scripts/theme.d.ts +12 -12
  249. package/ts/shared/app.d.ts +25 -25
  250. package/ts/shared/app_ext_globals.d.ts +1 -6
  251. package/ts/shared/app_version/components/body.d.ts +2 -2
  252. package/ts/shared/app_version/components/index.d.ts +1 -1
  253. package/ts/shared/css_vars/scripts/index.d.ts +1 -1
  254. package/ts/shared/css_vars/scripts/main.d.ts +18 -18
  255. package/ts/shared/data/data/index.d.ts +1 -1
  256. package/ts/shared/data/data/main.d.ts +1 -4
  257. package/ts/shared/data/interfaces/index.d.ts +1 -1
  258. package/ts/shared/data/interfaces/val.d.ts +2 -2
  259. package/ts/shared/ext.d.ts +28 -27
  260. package/ts/shared/functions.d.ts +3 -3
  261. package/ts/shared/globals.d.ts +1 -4
  262. package/ts/shared/header/scripts/index.d.ts +1 -0
  263. package/ts/{announcement/scripts/header.d.ts → shared/header/scripts/main.d.ts} +6 -6
  264. package/ts/shared/init.d.ts +1 -1
  265. package/ts/shared/internal.d.ts +40 -32
  266. package/ts/shared/loading_screen/components/body.d.ts +3 -3
  267. package/ts/shared/loading_screen/components/index.d.ts +1 -1
  268. package/ts/shared/loading_screen/components/prop_types/body.d.ts +5 -5
  269. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -1
  270. package/ts/shared/loading_screen/data/index.d.ts +1 -1
  271. package/ts/shared/loading_screen/data/main.d.ts +12 -12
  272. package/ts/shared/loading_screen/scripts/index.d.ts +2 -2
  273. package/ts/shared/loading_screen/scripts/roots.d.ts +11 -11
  274. package/ts/shared/loading_screen/scripts/tr.d.ts +8 -8
  275. package/ts/shared/no_tr/scripts/index.d.ts +1 -1
  276. package/ts/shared/no_tr/scripts/main.d.ts +12 -12
  277. package/ts/shared/offers/components/body.d.ts +3 -0
  278. package/ts/shared/offers/components/counter.d.ts +2 -0
  279. package/ts/shared/offers/components/index.d.ts +6 -0
  280. package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
  281. package/ts/shared/offers/components/offer.d.ts +3 -0
  282. package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
  283. package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
  284. package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
  285. package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
  286. package/ts/shared/offers/components/top_bar.d.ts +2 -0
  287. package/ts/shared/offers/data/index.d.ts +1 -0
  288. package/ts/shared/offers/data/main.d.ts +22 -0
  289. package/ts/shared/offers/interfaces/index.d.ts +1 -0
  290. package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
  291. package/ts/shared/offers/obj/index.d.ts +1 -0
  292. package/ts/shared/offers/obj/offer.d.ts +12 -0
  293. package/ts/shared/offers/scripts/index.d.ts +1 -0
  294. package/ts/shared/offers/scripts/main.d.ts +8 -0
  295. package/ts/shared/schema/data/index.d.ts +1 -1
  296. package/ts/shared/schema/data/main.d.ts +12 -12
  297. package/ts/shared/schema/obj/index.d.ts +1 -1
  298. package/ts/shared/schema/obj/transform_item.d.ts +7 -7
  299. package/ts/shared/service_worker/scripts/index.d.ts +1 -0
  300. package/ts/shared/service_worker/scripts/main.d.ts +9 -0
  301. package/ts/shared/settings/data/index.d.ts +1 -1
  302. package/ts/shared/settings/data/main.d.ts +15 -15
  303. package/ts/shared/svg.d.ts +9 -7
  304. package/ts/shared/t.d.ts +36 -36
  305. package/ts/shared/tab_index/interfaces/index.d.ts +1 -1
  306. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -2
  307. package/ts/shared/tab_index/scripts/index.d.ts +1 -1
  308. package/ts/shared/tab_index/scripts/main.d.ts +18 -18
  309. package/ts/shared/theme/scripts/index.d.ts +1 -1
  310. package/ts/shared/theme/scripts/main.d.ts +11 -11
  311. package/ts/shared/title/scripts/index.d.ts +1 -1
  312. package/ts/shared/title/scripts/main.d.ts +6 -6
  313. package/ts/shared/tr/components/base_tr.d.ts +9 -9
  314. package/ts/shared/tr/components/index.d.ts +1 -1
  315. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -13
  316. package/ts/shared/tr/components/prop_types/index.d.ts +1 -1
  317. package/ts/shared/tr/data/index.d.ts +1 -1
  318. package/ts/shared/tr/data/transition.d.ts +23 -23
  319. package/ts/shared/tr/interfaces/index.d.ts +1 -1
  320. package/ts/shared/tr/interfaces/transitions.d.ts +2 -2
  321. package/ts/shared/tr/obj/index.d.ts +1 -1
  322. package/ts/shared/tr/obj/transition.d.ts +8 -8
  323. package/ts/shared/utils/scripts/index.d.ts +1 -1
  324. package/ts/shared/utils/scripts/main.d.ts +11 -11
  325. package/ts/shared/vars.d.ts +2 -2
  326. package/ts/shared/viewport/scripts/index.d.ts +1 -1
  327. package/ts/shared/viewport/scripts/main.d.ts +8 -8
  328. package/ts/shared/x.d.ts +56 -67
  329. package/chunk-main-87eebf46.js +0 -1
  330. package/chunk-main-ddb4af78.js +0 -1
  331. package/chunk-main-dffc29ad.js +0 -9
  332. package/chunk-pickr.min-4c2d2755.js +0 -1
  333. package/fonts/noto_sans.woff2 +0 -0
  334. package/ts/announcement/components/prop_types/body.d.ts +0 -4
  335. package/ts/announcement/components/prop_types/index.d.ts +0 -1
@@ -1,26 +1,26 @@
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
- calculate_width_cls: ({ calculate_width }: {
11
- calculate_width: boolean;
12
- }) => string;
13
- max_width_style?: ((this: InputWidth) => number | string | undefined) | undefined;
14
- min_width_style?: ((this: InputWidth, { input, calculate_width, }: {
15
- input: i_inputs.Input;
16
- calculate_width?: boolean | undefined;
17
- }) => number | string | undefined) | undefined;
18
- calculate_for_section: ({ section_name }: {
19
- section_name: string;
20
- }) => Promise<void>;
21
- calculate_for_all_sections: ({ sections, all_sections_inputs_equal_width, }: {
22
- sections: i_inputs.Sections;
23
- all_sections_inputs_equal_width?: boolean | undefined;
24
- }) => Promise<void>;
25
- set_max_width: () => void;
26
- }
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
+ calculate_width_cls: ({ calculate_width }: {
11
+ calculate_width: boolean;
12
+ }) => string;
13
+ max_width_style?: ((this: InputWidth) => number | string | undefined) | undefined;
14
+ min_width_style?: ((this: InputWidth, { input, calculate_width, }: {
15
+ input: i_inputs.Input;
16
+ calculate_width?: boolean | undefined;
17
+ }) => number | string | undefined) | undefined;
18
+ calculate_for_section: ({ section_name }: {
19
+ section_name: string;
20
+ }) => Promise<void>;
21
+ calculate_for_all_sections: ({ sections, all_sections_inputs_equal_width, }: {
22
+ sections: i_inputs.Sections;
23
+ all_sections_inputs_equal_width?: boolean | undefined;
24
+ }) => Promise<void>;
25
+ set_max_width: () => void;
26
+ }
@@ -1,9 +1,9 @@
1
- import { i_inputs } from "../internal";
2
- export declare class LabelInInputItem {
3
- private static i0;
4
- static i(): LabelInInputItem;
5
- private constructor();
6
- msg?: (({ input }: {
7
- input: i_inputs.Input;
8
- }) => string | undefined) | undefined;
9
- }
1
+ import { i_inputs } from '../internal';
2
+ export declare class LabelInInputItem {
3
+ private static i0;
4
+ static i(): LabelInInputItem;
5
+ private constructor();
6
+ msg?: (({ input }: {
7
+ input: i_inputs.Input;
8
+ }) => string | undefined) | undefined;
9
+ }
@@ -1,18 +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
- }
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
+ }
@@ -1,21 +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
- }
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
+ }
@@ -1,24 +1,24 @@
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
- set_filenames: ({ input, files, }: {
21
- input: o_inputs.UploadBox;
22
- files: FileList | null;
23
- }) => void;
24
- }
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
+ set_filenames: ({ input, files, }: {
21
+ input: o_inputs.UploadBox;
22
+ files: FileList | null;
23
+ }) => void;
24
+ }
@@ -1,41 +1,41 @@
1
- import { SyntheticEvent, FormEvent } 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
- set_warn_state: ({ input }: {
13
- input: i_inputs.Input;
14
- }) => Promise<void>;
15
- focus_state: ({ input }: {
16
- input: i_inputs.Input;
17
- }) => string;
18
- warn_state: ({ input }: {
19
- input: i_inputs.Input;
20
- }) => string;
21
- access: ({ input }: {
22
- input: i_inputs.Input;
23
- }) => i_data.Val;
24
- change: ({ input, }: {
25
- input: i_inputs.Input;
26
- }, e: SyntheticEvent) => void;
27
- set: ({ val, input }: {
28
- val: i_data.Val | FileList;
29
- input: i_inputs.Input;
30
- }) => void;
31
- remove_val: ({ input, input_el, }: {
32
- input: i_inputs.Input;
33
- input_el: HTMLInputElement | null;
34
- }) => Promise<void>;
35
- validate_input: ({ input }: {
36
- input: i_inputs.Input;
37
- }) => boolean;
38
- text_and_textarea_on_input: ({ input }: {
39
- input: i_inputs.Input;
40
- }, e: FormEvent) => Promise<void>;
41
- }
1
+ import { SyntheticEvent, FormEvent } 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
+ set_warn_state: ({ input }: {
13
+ input: i_inputs.Input;
14
+ }) => Promise<void>;
15
+ focus_state: ({ input }: {
16
+ input: i_inputs.Input;
17
+ }) => string;
18
+ warn_state: ({ input }: {
19
+ input: i_inputs.Input;
20
+ }) => string;
21
+ access: ({ input }: {
22
+ input: i_inputs.Input;
23
+ }) => i_data.Val;
24
+ change: ({ input, }: {
25
+ input: i_inputs.Input;
26
+ }, e: SyntheticEvent) => void;
27
+ set: ({ val, input }: {
28
+ val: i_data.Val | FileList;
29
+ input: i_inputs.Input;
30
+ }) => void;
31
+ remove_val: ({ input, input_el, }: {
32
+ input: i_inputs.Input;
33
+ input_el: HTMLInputElement | null;
34
+ }) => Promise<void>;
35
+ validate_input: ({ input }: {
36
+ input: i_inputs.Input;
37
+ }) => boolean;
38
+ text_and_textarea_on_input: ({ input }: {
39
+ input: i_inputs.Input;
40
+ }, e: FormEvent) => Promise<void>;
41
+ }
@@ -1,9 +1,9 @@
1
- import { t } from "../../shared/internal";
2
- export interface BtnOption {
3
- name: string;
4
- type: 'link' | 'link_btn';
5
- href?: string;
6
- val?: string;
7
- alt_msg?: string;
8
- event_callback: t.CallbackVariadicVoid;
9
- }
1
+ import { t } from '../../shared/internal';
2
+ export interface BtnOption {
3
+ name: string;
4
+ type: 'link' | 'link_btn';
5
+ href?: string;
6
+ val?: string;
7
+ alt_msg?: string;
8
+ event_callback: t.CallbackVariadicVoid;
9
+ }
@@ -1,2 +1,2 @@
1
- import { o_inputs } from "../internal";
2
- export declare type IconBtns = Record<string, o_inputs.IconBtn>;
1
+ import { o_inputs } from '../internal';
2
+ export type IconBtns = Record<string, o_inputs.IconBtn>;
@@ -1,9 +1,9 @@
1
- export * from "./icon_btns";
2
- export * from "./input";
3
- export * from "./inputs";
4
- export * from "./links";
5
- export * from "./options";
6
- export * from "./btn_option";
7
- export * from "./sections";
8
- export * from "./text_btn";
9
- export * from "./state_cond";
1
+ export * from '../interfaces/icon_btns';
2
+ export * from '../interfaces/input';
3
+ export * from '../interfaces/inputs';
4
+ export * from '../interfaces/links';
5
+ export * from '../interfaces/options';
6
+ export * from '../interfaces/btn_option';
7
+ export * from '../interfaces/sections';
8
+ export * from '../interfaces/text_btn';
9
+ export * from '../interfaces/state_cond';
@@ -1,2 +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.Form | o_inputs.Group;
1
+ import { o_inputs, o_color } from '../internal';
2
+ export 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.Form | o_inputs.Group;
@@ -1,2 +1,2 @@
1
- import { i_inputs } from "../internal";
2
- export declare type Inputs = i_inputs.Input[] | Record<string, i_inputs.Input>;
1
+ import { i_inputs } from '../internal';
2
+ export type Inputs = i_inputs.Input[] | Record<string, i_inputs.Input>;
@@ -1,2 +1,2 @@
1
- import { o_inputs } from "../internal";
2
- export declare type Links = o_inputs.Link[] | Record<string, o_inputs.Link>;
1
+ import { o_inputs } from '../internal';
2
+ export type Links = o_inputs.Link[] | Record<string, o_inputs.Link>;
@@ -1,2 +1,2 @@
1
- import { o_inputs } from "../internal";
2
- export declare type Options = Record<string, o_inputs.Option[]>;
1
+ import { o_inputs } from '../internal';
2
+ export type Options = Record<string, o_inputs.Option[]>;
@@ -1,2 +1,2 @@
1
- import { o_inputs } from "../internal";
2
- export declare type Sections = Record<string, o_inputs.Section>;
1
+ import { o_inputs } from '../internal';
2
+ export type Sections = Record<string, o_inputs.Section>;
@@ -1,4 +1,4 @@
1
- export interface StateCond {
2
- input_name: string;
3
- pass_vals: (boolean | string | number)[];
4
- }
1
+ export interface StateCond {
2
+ input_name: string;
3
+ pass_vals: (boolean | string | number)[];
4
+ }
@@ -1,7 +1,7 @@
1
- import { t } from "../../shared/internal";
2
- export interface TextBtn {
3
- name: string;
4
- Svg: string;
5
- visibility_cond?: t.CallbackVariadicBoolean;
6
- event_callback: t.CallbackVariadicVoid;
7
- }
1
+ import { t } from '../../shared/internal';
2
+ export interface TextBtn {
3
+ name: string;
4
+ Svg: string;
5
+ visibility_cond?: t.CallbackVariadicBoolean;
6
+ event_callback: t.CallbackVariadicVoid;
7
+ }
@@ -1,12 +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";
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';
@@ -1,6 +1,6 @@
1
- import { o_inputs } from "../internal";
2
- export declare class Btn extends o_inputs.InputBase {
3
- type?: 'btn';
4
- btn_type?: 'btn' | 'submit';
5
- constructor(obj: Btn);
6
- }
1
+ import { o_inputs } from '../internal';
2
+ export declare class Btn extends o_inputs.InputBase {
3
+ type?: "btn" | undefined;
4
+ btn_type?: 'btn' | 'submit';
5
+ constructor(obj: Btn);
6
+ }
@@ -1,5 +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
- }
1
+ import { o_inputs } from '../internal';
2
+ export declare class Checkbox extends o_inputs.InputBase {
3
+ type?: "checkbox" | undefined;
4
+ constructor(obj: Checkbox);
5
+ }
@@ -1,9 +1,9 @@
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
- multiple?: boolean;
7
- save_callback?: t.CallbackVariadicVoid;
8
- constructor(obj: File);
9
- }
1
+ import { t } from '../../shared/internal';
2
+ import { o_inputs } from '../internal';
3
+ export declare class File extends o_inputs.InputBase {
4
+ type?: "file" | undefined;
5
+ accept: string;
6
+ multiple?: boolean;
7
+ save_callback?: t.CallbackVariadicVoid;
8
+ constructor(obj: File);
9
+ }
@@ -1,7 +1,7 @@
1
- import { o_inputs, i_inputs } from "../internal";
2
- export declare class Form extends o_inputs.InputBase {
3
- type?: 'form';
4
- action: string;
5
- inputs?: i_inputs.Inputs | i_inputs.Links;
6
- constructor(obj: Form);
7
- }
1
+ import { o_inputs, i_inputs } from '../internal';
2
+ export declare class Form extends o_inputs.InputBase {
3
+ type?: "form" | undefined;
4
+ action: string;
5
+ inputs?: i_inputs.Inputs | i_inputs.Links;
6
+ constructor(obj: Form);
7
+ }
@@ -1,6 +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
- }
1
+ import { o_inputs, i_inputs } from '../internal';
2
+ export declare class Group extends o_inputs.InputBase {
3
+ type?: "group" | undefined;
4
+ inputs?: i_inputs.Inputs;
5
+ constructor(obj: Group);
6
+ }
@@ -1,5 +1,5 @@
1
- export declare class Hr {
2
- name: string;
3
- type?: 'hr';
4
- constructor(obj: Hr);
5
- }
1
+ export declare class Hr {
2
+ name: string;
3
+ type?: "hr" | undefined;
4
+ constructor(obj: Hr);
5
+ }
@@ -1,7 +1,7 @@
1
- import { o_inputs, i_inputs } from "../internal";
2
- export declare class IconBtn extends o_inputs.InputBase {
3
- type?: 'icon_btn';
4
- Svg: string;
5
- btn_options?: i_inputs.BtnOption[];
6
- constructor(obj: IconBtn);
7
- }
1
+ import { o_inputs, i_inputs } from '../internal';
2
+ export declare class IconBtn extends o_inputs.InputBase {
3
+ type?: "icon_btn" | undefined;
4
+ Svg: string;
5
+ btn_options?: i_inputs.BtnOption[];
6
+ constructor(obj: IconBtn);
7
+ }
@@ -1,18 +1,18 @@
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 "./label";
9
- export * from "./link";
10
- export * from "./option";
11
- export * from "./range";
12
- export * from "./section";
13
- export * from "./select";
14
- export * from "./form";
15
- export * from "./group";
16
- export * from "./text";
17
- export * from "./textarea";
18
- export * from "./upload_box";
1
+ export * from '../obj/input_base';
2
+ export * from '../obj/btn';
3
+ export * from '../obj/checkbox';
4
+ export * from '../obj/file';
5
+ export * from '../obj/hr';
6
+ export * from '../obj/icon_btn';
7
+ export * from '../obj/link_btn';
8
+ export * from '../obj/label';
9
+ export * from '../obj/link';
10
+ export * from '../obj/option';
11
+ export * from '../obj/range';
12
+ export * from '../obj/section';
13
+ export * from '../obj/select';
14
+ export * from '../obj/form';
15
+ export * from '../obj/group';
16
+ export * from '../obj/text';
17
+ export * from '../obj/textarea';
18
+ export * from '../obj/upload_box';