@loftyshaky/shared 0.0.30 → 0.0.34
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.
- package/_locales/de/messages.json +128 -0
- package/_locales/en/messages.json +127 -118
- package/_locales/ru/messages.json +124 -115
- package/app.d.ts +0 -0
- package/app.js +1 -1
- package/{chunk-main-ab64b6fe.js → chunk-main-00a79e55.js} +1 -1
- package/chunk-main-707d1b35.js +1 -0
- package/chunk-main-bacabf12.js +1 -0
- package/ext.d.ts +0 -0
- package/ext.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/inputs.d.ts +0 -0
- package/inputs.js +1 -1
- package/js/ext/env.js +16 -16
- package/js/ext/locales.js +42 -42
- package/js/ext/manifest.js +58 -58
- package/js/ext/webpack.config.js +113 -113
- package/js/package/plugins/rollup-plugin-copy.js +169 -169
- package/js/package/plugins/watcher.js +54 -48
- package/js/package/terser.js +18 -18
- package/js/project_name.js +5 -5
- package/js/projects_path.js +5 -5
- package/js/task_scheduler.js +39 -31
- package/package.json +14 -14
- package/scss/settings/ext_version.scss +7 -7
- package/scss/settings/index.scss +7 -7
- package/scss/settings/main.scss +19 -18
- package/scss/settings/scrollbar.scss +12 -4
- package/scss/settings/section_btns.scss +40 -39
- package/scss/settings/sections.scss +22 -22
- package/scss/settings/transitions.scss +20 -20
- package/scss/shared/all.scss +3 -3
- package/scss/shared/btns.scss +30 -26
- package/scss/shared/checkboxes.scss +38 -38
- package/scss/shared/color_pickers.scss +94 -94
- package/scss/shared/colors.scss +85 -75
- package/scss/shared/crash_handler.scss +36 -36
- package/scss/shared/css_vars.scss +4 -4
- package/scss/shared/embed/error.scss +96 -96
- package/scss/shared/embed/font_face.scss +5 -5
- package/scss/shared/embed/loading_screen.scss +35 -35
- package/scss/shared/embed/no_tr.scss +3 -3
- package/scss/shared/focus.scss +78 -78
- package/scss/shared/help.scss +66 -66
- package/scss/shared/hr.scss +6 -0
- package/scss/shared/index.scss +28 -26
- package/scss/shared/input_btns.scss +11 -11
- package/scss/shared/inputs.scss +69 -73
- package/scss/shared/inset_border.scss +20 -20
- package/scss/shared/link_btns.scss +12 -12
- package/scss/shared/links.scss +11 -11
- package/scss/shared/mixins.scss +130 -130
- package/scss/shared/mods.scss +35 -22
- package/scss/shared/range.scss +46 -45
- package/scss/shared/scrollbar.scss +35 -32
- package/scss/shared/selects.scss +14 -14
- package/scss/shared/text.scss +20 -20
- package/scss/shared/textareas.scss +7 -7
- package/scss/shared/themes/colors/dark.scss +17 -17
- package/scss/shared/themes/colors/light.scss +17 -17
- package/scss/shared/themes/colors/very_dark.scss +17 -17
- package/scss/shared/themes/general/dark_theme.scss +7 -7
- package/scss/shared/themes/general/light_theme.scss +7 -7
- package/scss/shared/themes/general/template.scss +241 -212
- package/scss/shared/themes/general/template_focus.scss +48 -54
- package/scss/shared/themes/general/very_dark_theme.scss +7 -7
- package/scss/shared/transitions.scss +31 -30
- package/scss/shared/upload_box.scss +67 -0
- package/scss/shared/vars.scss +18 -17
- package/settings.d.ts +1 -1
- package/settings.js +1 -1
- package/ts/error_modules/crash_handler/components/body.d.ts +0 -0
- package/ts/error_modules/crash_handler/components/index.d.ts +0 -0
- package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +0 -0
- package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +0 -0
- package/ts/error_modules/crash_handler/data/fatal_error.d.ts +0 -0
- package/ts/error_modules/crash_handler/data/index.d.ts +0 -0
- package/ts/error_modules/crash_handler/data/visibility.d.ts +0 -0
- package/ts/error_modules/crash_handler/scripts/index.d.ts +0 -0
- package/ts/error_modules/crash_handler/scripts/page.d.ts +0 -0
- package/ts/error_modules/css/scripts/index.d.ts +0 -0
- package/ts/error_modules/css/scripts/main.d.ts +0 -0
- package/ts/error_modules/error/components/body.d.ts +0 -0
- package/ts/error_modules/error/components/close_btn.d.ts +0 -0
- package/ts/error_modules/error/components/ext_name.d.ts +0 -0
- package/ts/error_modules/error/components/index.d.ts +0 -0
- package/ts/error_modules/error/components/msg.d.ts +0 -0
- package/ts/error_modules/error/components/prop_types/body.d.ts +0 -0
- package/ts/error_modules/error/components/prop_types/index.d.ts +0 -0
- package/ts/error_modules/error/data/index.d.ts +0 -0
- package/ts/error_modules/error/data/main.d.ts +0 -0
- package/ts/error_modules/error/data/msg.d.ts +0 -0
- package/ts/error_modules/error/data/state.d.ts +0 -0
- package/ts/error_modules/error/interfaces/error.d.ts +0 -0
- package/ts/error_modules/error/interfaces/error_obj.d.ts +0 -0
- package/ts/error_modules/error/interfaces/index.d.ts +0 -0
- package/ts/error_modules/error/interfaces/observable_keys.d.ts +0 -0
- package/ts/error_modules/error/interfaces/show_error.d.ts +0 -0
- package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +0 -0
- package/ts/error_modules/error/scripts/globals.d.ts +1 -0
- package/ts/error_modules/error/scripts/index.d.ts +0 -0
- package/ts/error_modules/internal.d.ts +0 -0
- package/ts/inputs/color/components/body.d.ts +0 -0
- package/ts/inputs/color/components/color_picker.d.ts +0 -0
- package/ts/inputs/color/components/fill_shadow.d.ts +0 -0
- package/ts/inputs/color/components/index.d.ts +0 -0
- package/ts/inputs/color/components/prop_types/body.d.ts +0 -0
- package/ts/inputs/color/components/prop_types/color_picker.d.ts +0 -0
- package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +0 -0
- package/ts/inputs/color/components/prop_types/index.d.ts +0 -0
- package/ts/inputs/color/components/prop_types/visualization.d.ts +0 -0
- package/ts/inputs/color/components/visualization.d.ts +0 -0
- package/ts/inputs/color/data/color.d.ts +2 -1
- package/ts/inputs/color/data/index.d.ts +0 -0
- package/ts/inputs/color/data/visibility.d.ts +2 -0
- package/ts/inputs/color/interfaces/color.d.ts +0 -0
- package/ts/inputs/color/interfaces/color_picker_state.d.ts +0 -0
- package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +0 -0
- package/ts/inputs/color/interfaces/i.d.ts +0 -0
- package/ts/inputs/color/interfaces/index.d.ts +0 -0
- package/ts/inputs/color/obj/color.d.ts +3 -0
- package/ts/inputs/color/obj/index.d.ts +0 -0
- package/ts/inputs/color/scripts/color_picker.d.ts +0 -0
- package/ts/inputs/color/scripts/index.d.ts +0 -0
- package/ts/inputs/color/scripts/position.d.ts +0 -0
- package/ts/inputs/components/btn.d.ts +0 -0
- package/ts/inputs/components/checkbox.d.ts +0 -0
- package/ts/inputs/components/file.d.ts +0 -0
- package/ts/inputs/components/help.d.ts +0 -0
- package/ts/inputs/components/help_btn.d.ts +0 -0
- package/ts/inputs/components/hr.d.ts +3 -0
- package/ts/inputs/components/index.d.ts +2 -0
- package/ts/inputs/components/input_item.d.ts +0 -0
- package/ts/inputs/components/label.d.ts +0 -0
- package/ts/inputs/components/link.d.ts +0 -0
- package/ts/inputs/components/link_btn.d.ts +0 -0
- package/ts/inputs/components/prop_types/btn.d.ts +0 -0
- package/ts/inputs/components/prop_types/checkbox.d.ts +0 -0
- package/ts/inputs/components/prop_types/file.d.ts +0 -0
- package/ts/inputs/components/prop_types/help.d.ts +0 -0
- package/ts/inputs/components/prop_types/help_btn.d.ts +0 -0
- package/ts/inputs/components/prop_types/hr.d.ts +4 -0
- package/ts/inputs/components/prop_types/index.d.ts +2 -0
- package/ts/inputs/components/prop_types/input_item.d.ts +0 -0
- package/ts/inputs/components/prop_types/label.d.ts +0 -0
- package/ts/inputs/components/prop_types/link.d.ts +0 -0
- package/ts/inputs/components/prop_types/link_btn.d.ts +2 -3
- package/ts/inputs/components/prop_types/range.d.ts +0 -0
- package/ts/inputs/components/prop_types/section.d.ts +0 -0
- package/ts/inputs/components/prop_types/section_btn.d.ts +0 -0
- package/ts/inputs/components/prop_types/section_content.d.ts +0 -0
- package/ts/inputs/components/prop_types/select.d.ts +0 -0
- package/ts/inputs/components/prop_types/text.d.ts +0 -0
- package/ts/inputs/components/prop_types/text_btn.d.ts +1 -1
- package/ts/inputs/components/prop_types/textarea.d.ts +0 -0
- package/ts/inputs/components/prop_types/upload_box.d.ts +4 -0
- package/ts/inputs/components/range.d.ts +0 -0
- package/ts/inputs/components/section.d.ts +0 -0
- package/ts/inputs/components/section_btn.d.ts +0 -0
- package/ts/inputs/components/section_content.d.ts +0 -0
- package/ts/inputs/components/select.d.ts +0 -0
- package/ts/inputs/components/text.d.ts +0 -0
- package/ts/inputs/components/text_btn.d.ts +0 -0
- package/ts/inputs/components/textarea.d.ts +0 -0
- package/ts/inputs/components/upload_box.d.ts +3 -0
- package/ts/inputs/data/help.d.ts +0 -0
- package/ts/inputs/data/index.d.ts +2 -0
- package/ts/inputs/data/input_width.d.ts +4 -3
- package/ts/inputs/data/label.d.ts +0 -0
- package/ts/inputs/data/nested_input.d.ts +4 -2
- package/ts/inputs/data/text.d.ts +21 -0
- package/ts/inputs/data/upload_box.d.ts +20 -0
- package/ts/inputs/data/val.d.ts +0 -0
- package/ts/inputs/interfaces/index.d.ts +2 -0
- package/ts/inputs/interfaces/input.d.ts +1 -1
- package/ts/inputs/interfaces/inputs.d.ts +0 -0
- package/ts/inputs/interfaces/links.d.ts +0 -0
- package/ts/inputs/interfaces/options.d.ts +0 -0
- package/ts/inputs/interfaces/sections.d.ts +0 -0
- package/ts/inputs/interfaces/state_cond.d.ts +4 -0
- package/ts/inputs/interfaces/text_btn.d.ts +7 -0
- package/ts/inputs/internal.d.ts +0 -0
- package/ts/inputs/obj/btn.d.ts +0 -0
- package/ts/inputs/obj/checkbox.d.ts +0 -0
- package/ts/inputs/obj/file.d.ts +2 -0
- package/ts/inputs/obj/hr.d.ts +5 -0
- package/ts/inputs/obj/index.d.ts +3 -0
- package/ts/inputs/obj/input_base.d.ts +12 -2
- package/ts/inputs/obj/link.d.ts +0 -0
- package/ts/inputs/obj/link_btn.d.ts +5 -0
- package/ts/inputs/obj/option.d.ts +1 -1
- package/ts/inputs/obj/range.d.ts +0 -0
- package/ts/inputs/obj/section.d.ts +1 -0
- package/ts/inputs/obj/select.d.ts +0 -0
- package/ts/inputs/obj/text.d.ts +5 -1
- package/ts/inputs/obj/textarea.d.ts +0 -0
- package/ts/inputs/obj/upload_box.d.ts +14 -0
- package/ts/inputs/scripts/index.d.ts +1 -0
- package/ts/inputs/scripts/resolve.d.ts +0 -0
- package/ts/inputs/scripts/upload_box.d.ts +8 -0
- package/ts/settings/components/body.d.ts +0 -0
- package/ts/settings/components/index.d.ts +0 -0
- package/ts/settings/components/prop_types/body.d.ts +0 -0
- package/ts/settings/components/prop_types/index.d.ts +0 -0
- package/ts/settings/data/back_up.d.ts +1 -1
- package/ts/settings/data/index.d.ts +0 -0
- package/ts/settings/data/sections.d.ts +7 -1
- package/ts/settings/init.d.ts +0 -0
- package/ts/settings/internal.d.ts +2 -0
- package/ts/settings/optional_permissions/data/index.d.ts +1 -0
- package/ts/settings/optional_permissions/data/main.d.ts +11 -0
- package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -0
- package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -0
- package/ts/settings/scripts/index.d.ts +0 -0
- package/ts/settings/scripts/theme.d.ts +3 -1
- package/ts/shared/app.d.ts +0 -0
- package/ts/shared/app_ext_globals.d.ts +0 -0
- package/ts/shared/css_vars/scripts/index.d.ts +0 -0
- package/ts/shared/css_vars/scripts/main.d.ts +0 -0
- package/ts/shared/data/data/index.d.ts +0 -0
- package/ts/shared/data/data/main.d.ts +0 -0
- package/ts/shared/data/interfaces/index.d.ts +0 -0
- package/ts/shared/data/interfaces/val.d.ts +0 -0
- package/ts/shared/ext.d.ts +0 -0
- package/ts/shared/ext_version/components/body.d.ts +0 -0
- package/ts/shared/ext_version/components/index.d.ts +0 -0
- package/ts/shared/functions.d.ts +1 -0
- package/ts/shared/globals.d.ts +0 -0
- package/ts/shared/init.d.ts +0 -0
- package/ts/shared/internal.d.ts +0 -1
- package/ts/shared/keep_alive/scripts/index.d.ts +0 -0
- package/ts/shared/keep_alive/scripts/tabs.d.ts +0 -0
- package/ts/shared/loading_screen/components/body.d.ts +2 -3
- package/ts/shared/loading_screen/components/index.d.ts +0 -0
- package/ts/shared/loading_screen/data/index.d.ts +0 -0
- package/ts/shared/loading_screen/data/main.d.ts +0 -0
- package/ts/shared/no_tr/scripts/index.d.ts +0 -0
- package/ts/shared/no_tr/scripts/main.d.ts +0 -0
- package/ts/shared/svg.d.ts +0 -0
- package/ts/shared/t.d.ts +0 -0
- package/ts/shared/tab_index/interfaces/index.d.ts +0 -0
- package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +0 -0
- package/ts/shared/tab_index/scripts/index.d.ts +0 -0
- package/ts/shared/tab_index/scripts/main.d.ts +0 -0
- package/ts/shared/theme/scripts/index.d.ts +0 -0
- package/ts/shared/theme/scripts/main.d.ts +3 -1
- package/ts/shared/tr/components/base_tr.d.ts +0 -0
- package/ts/shared/tr/components/index.d.ts +0 -0
- package/ts/shared/tr/components/prop_types/base_tr.d.ts +1 -1
- package/ts/shared/tr/components/prop_types/index.d.ts +0 -0
- package/ts/shared/tr/data/index.d.ts +0 -0
- package/ts/shared/tr/data/transition.d.ts +0 -0
- package/ts/shared/tr/interfaces/index.d.ts +0 -0
- package/ts/shared/tr/interfaces/transitions.d.ts +0 -0
- package/ts/shared/tr/obj/index.d.ts +0 -0
- package/ts/shared/tr/obj/transition.d.ts +0 -0
- package/ts/shared/utils/scripts/index.d.ts +0 -0
- package/ts/shared/utils/scripts/main.d.ts +0 -0
- package/ts/shared/vars.d.ts +0 -0
- package/ts/shared/viewport/scripts/index.d.ts +0 -0
- package/ts/shared/viewport/scripts/main.d.ts +0 -0
- package/ts/shared/x.d.ts +4 -0
- package/chunk-main-38f4a769.js +0 -1
- package/chunk-main-775b8143.js +0 -1
- package/ts/shared/loading_screen/components/prop_types/body.d.ts +0 -8
- package/ts/shared/loading_screen/components/prop_types/index.d.ts +0 -1
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
/* stylelint-disable selector-class-pattern */
|
|
2
|
-
|
|
3
|
-
.loading_screen,
|
|
4
|
-
.checkbox .box svg,
|
|
5
|
-
.color_picker_w,
|
|
6
|
-
.palette_w,
|
|
7
|
-
.color_help_w {
|
|
8
|
-
transition: var(--transition);
|
|
9
|
-
transition-property: opacity;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.btn:not(.reload_ui)
|
|
13
|
-
|
|
14
|
-
transition
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
transition
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
transition
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
.pcr-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
/* stylelint-disable selector-class-pattern */
|
|
2
|
+
|
|
3
|
+
.loading_screen,
|
|
4
|
+
.checkbox .box svg,
|
|
5
|
+
.color_picker_w,
|
|
6
|
+
.palette_w,
|
|
7
|
+
.color_help_w {
|
|
8
|
+
transition: var(--transition);
|
|
9
|
+
transition-property: opacity;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.btn:not(.link_btn):not(.reload_ui),
|
|
13
|
+
.upload_box .background {
|
|
14
|
+
transition: var(--transition);
|
|
15
|
+
transition-property: background-color;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.link_btn {
|
|
19
|
+
transition: var(--transition);
|
|
20
|
+
transition-property: color;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.color_picker_w input {
|
|
24
|
+
transition: var(--transition) !important;
|
|
25
|
+
transition-property: background-color !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pcr-last-color,
|
|
29
|
+
.pcr-result {
|
|
30
|
+
transition: none !important;
|
|
31
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
$upload_box_text_z_index: 2;
|
|
2
|
+
$upload_box_loading_animation_size: 40px;
|
|
3
|
+
|
|
4
|
+
$backgrond_margin: 2px;
|
|
5
|
+
$backgrond_dim_offset: 2px * 2;
|
|
6
|
+
|
|
7
|
+
.input_item {
|
|
8
|
+
.upload_box {
|
|
9
|
+
@include border_transparent;
|
|
10
|
+
|
|
11
|
+
position: relative;
|
|
12
|
+
height: 104px;
|
|
13
|
+
text-align: center;
|
|
14
|
+
outline-width: 3px;
|
|
15
|
+
outline-style: dashed;
|
|
16
|
+
outline-offset: -3px;
|
|
17
|
+
|
|
18
|
+
.what_to_do_msg {
|
|
19
|
+
@include center_translate;
|
|
20
|
+
|
|
21
|
+
position: absolute;
|
|
22
|
+
padding-right: $gap;
|
|
23
|
+
padding-left: $gap;
|
|
24
|
+
z-index: $upload_box_text_z_index;
|
|
25
|
+
width: 100%;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.browse {
|
|
30
|
+
display: inline;
|
|
31
|
+
font-size: $font_main;
|
|
32
|
+
opacity: 1 !important; // needed to keep default color when element is is_enabled
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.status_msg {
|
|
36
|
+
width: 100%;
|
|
37
|
+
font-size: $font_small;
|
|
38
|
+
margin-bottom: 5px;
|
|
39
|
+
z-index: $upload_box_text_z_index;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.background {
|
|
43
|
+
position: absolute;
|
|
44
|
+
width: calc(100% - #{$backgrond_dim_offset});
|
|
45
|
+
height: calc(100% - #{$backgrond_dim_offset});
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: end;
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
margin: $backgrond_margin;
|
|
50
|
+
|
|
51
|
+
&.loading {
|
|
52
|
+
animation: move 450ms linear infinite;
|
|
53
|
+
background-size: $upload_box_loading_animation_size $upload_box_loading_animation_size;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@keyframes move {
|
|
60
|
+
0% {
|
|
61
|
+
background-position: 0 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
100% {
|
|
65
|
+
background-position: 40px 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
package/scss/shared/vars.scss
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
$
|
|
2
|
-
$
|
|
3
|
-
$
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
-
$
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$
|
|
13
|
-
$
|
|
14
|
-
$
|
|
15
|
-
$
|
|
16
|
-
$
|
|
17
|
-
$
|
|
1
|
+
$font_main: 17px;
|
|
2
|
+
$font_small: 13px;
|
|
3
|
+
$gap: 10px;
|
|
4
|
+
$gap_small: 4px;
|
|
5
|
+
$border_width: 1px;
|
|
6
|
+
$outline_offset: 2px;
|
|
7
|
+
$input_height: 28px;
|
|
8
|
+
$color_input_height: $input_height + ($border_width * 4);
|
|
9
|
+
$input_content_gap: 8px;
|
|
10
|
+
$input_inner_padding: 7px;
|
|
11
|
+
$input_content_gap_2: $input_content_gap - ($border_width * 2);
|
|
12
|
+
$main_margin: 16px;
|
|
13
|
+
$main_margin_2: $main_margin * 2;
|
|
14
|
+
$main_margin_4: $main_margin * 4;
|
|
15
|
+
$black: #212121;
|
|
16
|
+
$yellow: #fbff75;
|
|
17
|
+
$light_orange: #fff7c7;
|
|
18
|
+
$blue: #3892ff;
|
package/settings.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import "./ts/shared/internal";
|
|
2
|
-
export { c_settings, d_settings, s_settings } from "./ts/settings/internal";
|
|
2
|
+
export { c_settings, d_settings, d_optional_permissions, s_settings, i_optional_permissions, } from "./ts/settings/internal";
|
package/settings.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a8 as Body,a9 as BackUp,S as Sections,_ as __awaiter,m as makeObservable,d as action}from"./chunk-main-00a79e55.js";import"react";import{a as Main$1}from"./chunk-main-bacabf12.js";import"react-dom";var index$4=Object.freeze({__proto__:null,Body:Body}),index$3=Object.freeze({__proto__:null,BackUp:BackUp,Sections:Sections});var index$2=Object.freeze({__proto__:null,Main:class{constructor(){this.set_permission=({name:name,optional_permission_checkbox_dict:optional_permission_checkbox_dict})=>err_async((()=>__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$1=Object.freeze({__proto__:null,Theme:class{constructor(){this.change=({input:input,name:name,additional_theme_callback:additional_theme_callback})=>err((()=>{"options_page_theme"===input.name&&Main$1.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$4 as c_settings,index$2 as d_optional_permissions,index$3 as d_settings,index as i_optional_permissions,index$1 as s_settings};
|
|
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
|
|
@@ -4,5 +4,6 @@ declare global {
|
|
|
4
4
|
function err<T1>(f: () => T1, error_code: string, obj?: i_error.ShowError): T1;
|
|
5
5
|
function err_async<T1>(f: () => Promise<T1>, error_code: string, obj?: i_error.ShowError): Promise<T1>;
|
|
6
6
|
function throw_err(msg: string): void;
|
|
7
|
+
function throw_err_obj(msg: string): void;
|
|
7
8
|
function err_obj(msg: string): Error;
|
|
8
9
|
}
|
|
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
|
|
@@ -20,9 +20,10 @@ export declare class Color {
|
|
|
20
20
|
i: i_color.I;
|
|
21
21
|
color: i_color.Color;
|
|
22
22
|
}) => void;
|
|
23
|
-
save: ({ input, i }: {
|
|
23
|
+
save: ({ input, i, callback, }: {
|
|
24
24
|
input: o_color.Color;
|
|
25
25
|
i: i_color.I;
|
|
26
|
+
callback: t.CallbackVariadicVoid;
|
|
26
27
|
}) => void;
|
|
27
28
|
restore_old_color: () => void;
|
|
28
29
|
convert_pickr_color_to_rgb_string: ({ pickr_color, }: {
|
|
File without changes
|
|
@@ -8,6 +8,7 @@ export declare class Visibility {
|
|
|
8
8
|
previously_visible_input: o_color.Color | undefined;
|
|
9
9
|
previously_visible_color_picker_i: i_color.I | undefined;
|
|
10
10
|
private visualization_of_visible_input;
|
|
11
|
+
color_help_is_visible: boolean;
|
|
11
12
|
mark_color_picker_as_closed: ({ input, i, is_closed, }: {
|
|
12
13
|
input: o_color.Color;
|
|
13
14
|
i: i_color.I;
|
|
@@ -33,4 +34,5 @@ export declare class Visibility {
|
|
|
33
34
|
hide_color_help: ({ input }: {
|
|
34
35
|
input: o_color.Color;
|
|
35
36
|
}) => void;
|
|
37
|
+
hide_color_help_tr_end: () => void;
|
|
36
38
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,6 +10,8 @@ export declare class Color extends o_inputs.InputBase {
|
|
|
10
10
|
palette_height?: string;
|
|
11
11
|
color_picker_width?: string;
|
|
12
12
|
color_picker_height?: string;
|
|
13
|
+
include_remove_color_btn?: boolean;
|
|
14
|
+
include_ok_btn?: boolean;
|
|
13
15
|
state?: i_color.ColorPickerState;
|
|
14
16
|
select_palette_color_callback: t.CallbackVariadicVoid;
|
|
15
17
|
remove_color_callback: t.CallbackVariadicVoid;
|
|
@@ -48,4 +50,5 @@ export declare class Color extends o_inputs.InputBase {
|
|
|
48
50
|
i: i_color.I;
|
|
49
51
|
}) => string) | undefined;
|
|
50
52
|
palette_is_closed_visibility_cls?: ((this: Color) => string) | undefined;
|
|
53
|
+
color_help_visibility_cls?: ((this: Color) => string) | undefined;
|
|
51
54
|
}
|
|
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
|
|
@@ -3,6 +3,7 @@ export * from "./checkbox";
|
|
|
3
3
|
export * from "./file";
|
|
4
4
|
export * from "./help_btn";
|
|
5
5
|
export * from "./help";
|
|
6
|
+
export * from "./hr";
|
|
6
7
|
export * from "./input_item";
|
|
7
8
|
export * from "./label";
|
|
8
9
|
export * from "./link_btn";
|
|
@@ -15,3 +16,4 @@ export * from "./select";
|
|
|
15
16
|
export * from "./text_btn";
|
|
16
17
|
export * from "./text";
|
|
17
18
|
export * from "./textarea";
|
|
19
|
+
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
|
|
@@ -3,6 +3,7 @@ export * from "./checkbox";
|
|
|
3
3
|
export * from "./file";
|
|
4
4
|
export * from "./help_btn";
|
|
5
5
|
export * from "./help";
|
|
6
|
+
export * from "./hr";
|
|
6
7
|
export * from "./input_item";
|
|
7
8
|
export * from "./label";
|
|
8
9
|
export * from "./link_btn";
|
|
@@ -15,3 +16,4 @@ export * from "./select";
|
|
|
15
16
|
export * from "./text_btn";
|
|
16
17
|
export * from "./text";
|
|
17
18
|
export * from "./textarea";
|
|
19
|
+
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
|
package/ts/inputs/data/help.d.ts
CHANGED
|
File without changes
|
|
@@ -13,9 +13,10 @@ export declare class InputWidth {
|
|
|
13
13
|
}) => number | string | undefined) | undefined;
|
|
14
14
|
calculate_for_section: ({ section_name }: {
|
|
15
15
|
section_name: string;
|
|
16
|
-
}) => void
|
|
17
|
-
calculate_for_all_sections: ({ sections }: {
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
calculate_for_all_sections: ({ sections, all_sections_inputs_equal_width, }: {
|
|
18
18
|
sections: i_inputs.Sections;
|
|
19
|
-
|
|
19
|
+
all_sections_inputs_equal_width?: boolean | undefined;
|
|
20
|
+
}) => Promise<void>;
|
|
20
21
|
set_max_width: () => void;
|
|
21
22
|
}
|
|
File without changes
|
|
@@ -6,11 +6,13 @@ export declare class NestedInput {
|
|
|
6
6
|
calculate_offset: ({ input }: {
|
|
7
7
|
input: i_inputs.Input;
|
|
8
8
|
}) => void;
|
|
9
|
-
set_parent_disbled_vals: ({ input, sections, }: {
|
|
9
|
+
set_parent_disbled_vals: ({ input, sections, set_to_all_sections, }: {
|
|
10
10
|
input: i_inputs.Input;
|
|
11
11
|
sections: i_inputs.Sections;
|
|
12
|
+
set_to_all_sections?: boolean | undefined;
|
|
12
13
|
}) => void;
|
|
13
|
-
set_all_parents_disbled_vals: ({ sections }: {
|
|
14
|
+
set_all_parents_disbled_vals: ({ sections, set_to_all_sections, }: {
|
|
14
15
|
sections: i_inputs.Sections;
|
|
16
|
+
set_to_all_sections?: boolean | undefined;
|
|
15
17
|
}) => void;
|
|
16
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
|
+
}
|
package/ts/inputs/data/val.d.ts
CHANGED
|
File without changes
|
|
@@ -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.Range | o_color.Color | o_inputs.Btn | o_inputs.File;
|
|
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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|