@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.
- package/_locales/de/messages.json +128 -0
- package/_locales/en/messages.json +131 -0
- package/_locales/ru/messages.json +128 -0
- package/announcement.d.ts +2 -0
- package/announcement.js +1 -0
- package/app.d.ts +5 -0
- package/app.js +1 -0
- package/chunk-app-198a1b93.js +1 -0
- package/chunk-main-1095d121.js +9 -0
- package/chunk-main-651fde68.js +1 -0
- package/chunk-main-b3455ac8.js +1 -0
- package/chunk-pickr.min-a2459eac.js +1 -0
- package/ext.d.ts +5 -0
- package/ext.js +1 -0
- package/fonts/noto_sans.woff2 +0 -0
- package/html/announcement.html +15 -0
- package/index.d.ts +3 -0
- package/index.js +1 -0
- package/inputs.d.ts +2 -0
- package/inputs.js +1 -0
- package/js/env.js +16 -0
- package/js/ext/manifest.js +58 -0
- package/js/locales.js +48 -0
- package/js/package/plugins/rollup-plugin-copy.js +169 -0
- package/js/package/plugins/watcher.js +56 -0
- package/js/package/terser.js +18 -0
- package/js/project_name.js +5 -0
- package/js/projects_path.js +5 -0
- package/js/task_scheduler.js +39 -0
- package/js/webpack.config.js +156 -0
- package/package.json +14 -0
- package/scss/announcement/body.scss +10 -0
- package/scss/announcement/index.scss +3 -0
- package/scss/announcement/main.scss +8 -0
- package/scss/settings/ext_version.scss +7 -0
- package/scss/settings/index.scss +6 -0
- package/scss/settings/main.scss +17 -0
- package/scss/settings/section_btns.scss +52 -0
- package/scss/settings/sections.scss +22 -0
- package/scss/settings/transitions.scss +21 -0
- package/scss/shared/all.scss +3 -0
- package/scss/shared/btns.scss +39 -0
- package/scss/shared/checkboxes.scss +38 -0
- package/scss/shared/color_pickers.scss +93 -0
- package/scss/shared/colors.scss +84 -0
- package/scss/shared/crash_handler.scss +36 -0
- package/scss/shared/css_vars.scss +4 -0
- package/scss/shared/embed/error.scss +96 -0
- package/scss/shared/embed/font_face.scss +5 -0
- package/scss/shared/embed/loading_screen.scss +36 -0
- package/scss/shared/embed/no_tr.scss +3 -0
- package/scss/shared/focus.scss +80 -0
- package/scss/shared/group.scss +18 -0
- package/scss/shared/help.scss +66 -0
- package/scss/shared/hr.scss +6 -0
- package/scss/shared/index.scss +29 -0
- package/scss/shared/input_btns.scss +11 -0
- package/scss/shared/inputs.scss +70 -0
- package/scss/shared/inset_border.scss +20 -0
- package/scss/shared/link_btns.scss +12 -0
- package/scss/shared/links.scss +11 -0
- package/scss/shared/mixins.scss +130 -0
- package/scss/shared/mods.scss +39 -0
- package/scss/shared/range.scss +43 -0
- package/scss/shared/scrollbar.scss +35 -0
- package/scss/shared/selects.scss +14 -0
- package/scss/shared/text.scss +20 -0
- package/scss/shared/textareas.scss +7 -0
- package/scss/shared/themes/colors/dark.scss +13 -0
- package/scss/shared/themes/colors/light.scss +13 -0
- package/scss/shared/themes/colors/very_dark.scss +13 -0
- package/scss/shared/themes/general/dark_theme.scss +7 -0
- package/scss/shared/themes/general/light_theme.scss +7 -0
- package/scss/shared/themes/general/template.scss +259 -0
- package/scss/shared/themes/general/template_focus.scss +52 -0
- package/scss/shared/themes/general/very_dark_theme.scss +7 -0
- package/scss/shared/transitions.scss +36 -0
- package/scss/shared/upload_box.scss +67 -0
- package/scss/shared/vars.scss +19 -0
- package/settings.d.ts +2 -0
- package/settings.js +1 -0
- package/ts/announcement/components/body.d.ts +3 -0
- package/ts/announcement/components/index.d.ts +1 -0
- package/ts/announcement/components/prop_types/body.d.ts +4 -0
- package/ts/announcement/components/prop_types/index.d.ts +1 -0
- package/ts/announcement/internal.d.ts +3 -0
- package/ts/announcement/scripts/display.d.ts +6 -0
- package/ts/announcement/scripts/header.d.ts +6 -0
- package/ts/announcement/scripts/index.d.ts +2 -0
- package/ts/error_modules/crash_handler/components/body.d.ts +52 -0
- package/ts/error_modules/crash_handler/components/index.d.ts +1 -0
- package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -0
- package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -0
- package/ts/error_modules/crash_handler/data/fatal_error.d.ts +7 -0
- package/ts/error_modules/crash_handler/data/index.d.ts +2 -0
- package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -0
- package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -0
- package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -0
- package/ts/error_modules/css/scripts/index.d.ts +1 -0
- package/ts/error_modules/css/scripts/main.d.ts +8 -0
- package/ts/error_modules/error/components/body.d.ts +3 -0
- package/ts/error_modules/error/components/close_btn.d.ts +2 -0
- package/ts/error_modules/error/components/ext_name.d.ts +2 -0
- package/ts/error_modules/error/components/index.d.ts +4 -0
- package/ts/error_modules/error/components/msg.d.ts +2 -0
- package/ts/error_modules/error/components/prop_types/body.d.ts +5 -0
- package/ts/error_modules/error/components/prop_types/index.d.ts +1 -0
- package/ts/error_modules/error/data/index.d.ts +3 -0
- package/ts/error_modules/error/data/main.d.ts +10 -0
- package/ts/error_modules/error/data/msg.d.ts +15 -0
- package/ts/error_modules/error/data/state.d.ts +24 -0
- package/ts/error_modules/error/interfaces/error.d.ts +6 -0
- package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -0
- package/ts/error_modules/error/interfaces/index.d.ts +5 -0
- package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -0
- package/ts/error_modules/error/interfaces/show_error.d.ts +6 -0
- package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -0
- package/ts/error_modules/error/scripts/globals.d.ts +9 -0
- package/ts/error_modules/error/scripts/index.d.ts +1 -0
- package/ts/error_modules/internal.d.ts +10 -0
- package/ts/inputs/color/components/body.d.ts +3 -0
- package/ts/inputs/color/components/color_picker.d.ts +3 -0
- package/ts/inputs/color/components/fill_shadow.d.ts +3 -0
- package/ts/inputs/color/components/index.d.ts +4 -0
- package/ts/inputs/color/components/prop_types/body.d.ts +4 -0
- package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -0
- package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -0
- package/ts/inputs/color/components/prop_types/index.d.ts +4 -0
- package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -0
- package/ts/inputs/color/components/visualization.d.ts +3 -0
- package/ts/inputs/color/data/color.d.ts +54 -0
- package/ts/inputs/color/data/index.d.ts +2 -0
- package/ts/inputs/color/data/visibility.d.ts +38 -0
- package/ts/inputs/color/interfaces/color.d.ts +1 -0
- package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -0
- package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -0
- package/ts/inputs/color/interfaces/i.d.ts +1 -0
- package/ts/inputs/color/interfaces/index.d.ts +4 -0
- package/ts/inputs/color/obj/color.d.ts +54 -0
- package/ts/inputs/color/obj/index.d.ts +1 -0
- package/ts/inputs/color/scripts/color_picker.d.ts +20 -0
- package/ts/inputs/color/scripts/index.d.ts +2 -0
- package/ts/inputs/color/scripts/position.d.ts +7 -0
- package/ts/inputs/components/btn.d.ts +3 -0
- package/ts/inputs/components/checkbox.d.ts +3 -0
- package/ts/inputs/components/file.d.ts +3 -0
- package/ts/inputs/components/group.d.ts +3 -0
- package/ts/inputs/components/help.d.ts +3 -0
- package/ts/inputs/components/help_btn.d.ts +3 -0
- package/ts/inputs/components/hr.d.ts +3 -0
- package/ts/inputs/components/icon_btn.d.ts +3 -0
- package/ts/inputs/components/index.d.ts +21 -0
- package/ts/inputs/components/input_item.d.ts +3 -0
- package/ts/inputs/components/label.d.ts +3 -0
- package/ts/inputs/components/link.d.ts +3 -0
- package/ts/inputs/components/link_btn.d.ts +3 -0
- package/ts/inputs/components/prop_types/btn.d.ts +4 -0
- package/ts/inputs/components/prop_types/checkbox.d.ts +4 -0
- package/ts/inputs/components/prop_types/file.d.ts +4 -0
- package/ts/inputs/components/prop_types/group.d.ts +5 -0
- package/ts/inputs/components/prop_types/help.d.ts +4 -0
- package/ts/inputs/components/prop_types/help_btn.d.ts +4 -0
- package/ts/inputs/components/prop_types/hr.d.ts +4 -0
- package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -0
- package/ts/inputs/components/prop_types/index.d.ts +21 -0
- package/ts/inputs/components/prop_types/input_item.d.ts +7 -0
- package/ts/inputs/components/prop_types/label.d.ts +4 -0
- package/ts/inputs/components/prop_types/link.d.ts +4 -0
- package/ts/inputs/components/prop_types/link_btn.d.ts +4 -0
- package/ts/inputs/components/prop_types/range.d.ts +4 -0
- package/ts/inputs/components/prop_types/section.d.ts +4 -0
- package/ts/inputs/components/prop_types/section_btn.d.ts +6 -0
- package/ts/inputs/components/prop_types/section_content.d.ts +4 -0
- package/ts/inputs/components/prop_types/select.d.ts +4 -0
- package/ts/inputs/components/prop_types/text.d.ts +4 -0
- package/ts/inputs/components/prop_types/text_btn.d.ts +8 -0
- package/ts/inputs/components/prop_types/textarea.d.ts +4 -0
- package/ts/inputs/components/prop_types/upload_box.d.ts +4 -0
- package/ts/inputs/components/range.d.ts +3 -0
- package/ts/inputs/components/section.d.ts +3 -0
- package/ts/inputs/components/section_btn.d.ts +3 -0
- package/ts/inputs/components/section_content.d.ts +3 -0
- package/ts/inputs/components/select.d.ts +3 -0
- package/ts/inputs/components/text.d.ts +3 -0
- package/ts/inputs/components/text_btn.d.ts +3 -0
- package/ts/inputs/components/textarea.d.ts +3 -0
- package/ts/inputs/components/upload_box.d.ts +3 -0
- package/ts/inputs/data/help.d.ts +15 -0
- package/ts/inputs/data/index.d.ts +7 -0
- package/ts/inputs/data/input_width.d.ts +22 -0
- package/ts/inputs/data/label.d.ts +9 -0
- package/ts/inputs/data/nested_input.d.ts +18 -0
- 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 +36 -0
- package/ts/inputs/interfaces/icon_btns.d.ts +2 -0
- package/ts/inputs/interfaces/index.d.ts +8 -0
- package/ts/inputs/interfaces/input.d.ts +2 -0
- package/ts/inputs/interfaces/inputs.d.ts +2 -0
- package/ts/inputs/interfaces/links.d.ts +2 -0
- package/ts/inputs/interfaces/options.d.ts +2 -0
- package/ts/inputs/interfaces/sections.d.ts +2 -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 +12 -0
- package/ts/inputs/obj/btn.d.ts +5 -0
- package/ts/inputs/obj/checkbox.d.ts +5 -0
- package/ts/inputs/obj/file.d.ts +8 -0
- package/ts/inputs/obj/group.d.ts +6 -0
- package/ts/inputs/obj/hr.d.ts +5 -0
- package/ts/inputs/obj/icon_btn.d.ts +6 -0
- package/ts/inputs/obj/index.d.ts +16 -0
- package/ts/inputs/obj/input_base.d.ts +37 -0
- package/ts/inputs/obj/link.d.ts +12 -0
- package/ts/inputs/obj/link_btn.d.ts +5 -0
- package/ts/inputs/obj/option.d.ts +6 -0
- package/ts/inputs/obj/range.d.ts +20 -0
- package/ts/inputs/obj/section.d.ts +17 -0
- package/ts/inputs/obj/select.d.ts +9 -0
- package/ts/inputs/obj/text.d.ts +17 -0
- package/ts/inputs/obj/textarea.d.ts +5 -0
- package/ts/inputs/obj/upload_box.d.ts +14 -0
- package/ts/inputs/scripts/index.d.ts +2 -0
- package/ts/inputs/scripts/resolve.d.ts +5 -0
- package/ts/inputs/scripts/upload_box.d.ts +8 -0
- package/ts/settings/components/body.d.ts +3 -0
- package/ts/settings/components/index.d.ts +1 -0
- package/ts/settings/components/prop_types/body.d.ts +7 -0
- package/ts/settings/components/prop_types/index.d.ts +1 -0
- package/ts/settings/data/back_up.d.ts +16 -0
- package/ts/settings/data/index.d.ts +2 -0
- package/ts/settings/data/sections.d.ts +37 -0
- package/ts/settings/init.d.ts +1 -0
- package/ts/settings/internal.d.ts +9 -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/schema/data/index.d.ts +1 -0
- package/ts/settings/schema/data/main.d.ts +10 -0
- package/ts/settings/schema/obj/index.d.ts +1 -0
- package/ts/settings/schema/obj/transform_item.d.ts +7 -0
- package/ts/settings/scripts/index.d.ts +1 -0
- package/ts/settings/scripts/theme.d.ts +12 -0
- package/ts/shared/app.d.ts +10 -0
- package/ts/shared/app_ext_globals.d.ts +6 -0
- package/ts/shared/css_vars/scripts/index.d.ts +1 -0
- package/ts/shared/css_vars/scripts/main.d.ts +18 -0
- package/ts/shared/data/data/index.d.ts +1 -0
- package/ts/shared/data/data/main.d.ts +4 -0
- package/ts/shared/data/interfaces/index.d.ts +1 -0
- package/ts/shared/data/interfaces/val.d.ts +2 -0
- package/ts/shared/ext.d.ts +27 -0
- package/ts/shared/ext_version/components/body.d.ts +2 -0
- package/ts/shared/ext_version/components/index.d.ts +1 -0
- package/ts/shared/functions.d.ts +3 -0
- package/ts/shared/globals.d.ts +4 -0
- package/ts/shared/init.d.ts +1 -0
- package/ts/shared/internal.d.ts +28 -0
- package/ts/shared/loading_screen/components/body.d.ts +3 -0
- package/ts/shared/loading_screen/components/index.d.ts +1 -0
- package/ts/shared/loading_screen/components/prop_types/body.d.ts +4 -0
- package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -0
- package/ts/shared/loading_screen/data/index.d.ts +1 -0
- package/ts/shared/loading_screen/data/main.d.ts +10 -0
- package/ts/shared/no_tr/scripts/index.d.ts +1 -0
- package/ts/shared/no_tr/scripts/main.d.ts +12 -0
- package/ts/shared/svg.d.ts +7 -0
- package/ts/shared/t.d.ts +34 -0
- package/ts/shared/tab_index/interfaces/index.d.ts +1 -0
- package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -0
- package/ts/shared/tab_index/scripts/index.d.ts +1 -0
- package/ts/shared/tab_index/scripts/main.d.ts +18 -0
- package/ts/shared/theme/scripts/index.d.ts +1 -0
- package/ts/shared/theme/scripts/main.d.ts +11 -0
- package/ts/shared/title/scripts/index.d.ts +1 -0
- package/ts/shared/title/scripts/main.d.ts +6 -0
- package/ts/shared/tr/components/base_tr.d.ts +9 -0
- package/ts/shared/tr/components/index.d.ts +1 -0
- package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -0
- package/ts/shared/tr/components/prop_types/index.d.ts +1 -0
- package/ts/shared/tr/data/index.d.ts +1 -0
- package/ts/shared/tr/data/transition.d.ts +23 -0
- package/ts/shared/tr/interfaces/index.d.ts +1 -0
- package/ts/shared/tr/interfaces/transitions.d.ts +2 -0
- package/ts/shared/tr/obj/index.d.ts +1 -0
- package/ts/shared/tr/obj/transition.d.ts +8 -0
- package/ts/shared/utils/scripts/index.d.ts +1 -0
- package/ts/shared/utils/scripts/main.d.ts +11 -0
- package/ts/shared/vars.d.ts +1 -0
- package/ts/shared/viewport/scripts/index.d.ts +1 -0
- package/ts/shared/viewport/scripts/main.d.ts +8 -0
- package/ts/shared/x.d.ts +60 -0
|
@@ -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,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,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,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, 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,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,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,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,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
|
+
}
|