@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,14 @@
|
|
|
1
|
+
import { o_inputs } from "../internal";
|
|
2
|
+
export declare class UploadBox extends o_inputs.InputBase {
|
|
3
|
+
type?: 'upload_box';
|
|
4
|
+
multiple?: boolean;
|
|
5
|
+
accept?: string;
|
|
6
|
+
loading_msg_is_visible?: boolean;
|
|
7
|
+
error_msg_is_visible?: boolean;
|
|
8
|
+
is_in_hover_state?: boolean;
|
|
9
|
+
drag_counter?: number;
|
|
10
|
+
constructor(obj: UploadBox);
|
|
11
|
+
loading_msg_visibility_cls?: ((this: UploadBox) => string) | undefined;
|
|
12
|
+
error_msg_visibility_cls?: ((this: UploadBox) => string) | undefined;
|
|
13
|
+
loading_cls?: ((this: UploadBox) => string) | undefined;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { t } from "../../shared/internal";
|
|
3
|
+
import { o_inputs } from "../../inputs/internal";
|
|
4
|
+
export declare class BackUp {
|
|
5
|
+
private static i0;
|
|
6
|
+
static i(): BackUp;
|
|
7
|
+
private constructor();
|
|
8
|
+
download: ({ data_obj }: {
|
|
9
|
+
data_obj: t.AnyRecord | string;
|
|
10
|
+
}) => void;
|
|
11
|
+
open_file_browser: () => void;
|
|
12
|
+
upload: ({ input, }: {
|
|
13
|
+
input: o_inputs.File;
|
|
14
|
+
}, e: ChangeEvent) => Promise<void>;
|
|
15
|
+
private read;
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t } from "../../shared/internal";
|
|
2
|
+
import { o_inputs, i_inputs } from "../../inputs/internal";
|
|
3
|
+
export declare class Sections {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Sections;
|
|
6
|
+
private constructor();
|
|
7
|
+
current_section: string;
|
|
8
|
+
private options;
|
|
9
|
+
init_options: () => void;
|
|
10
|
+
get_shared_input: ({ input_change_val_callback, }: {
|
|
11
|
+
input_change_val_callback: t.CallbackVariadicVoid;
|
|
12
|
+
}) => {
|
|
13
|
+
[index: string]: i_inputs.Input;
|
|
14
|
+
};
|
|
15
|
+
selected_cls: (this: Sections, { section_name }: {
|
|
16
|
+
section_name: string;
|
|
17
|
+
}) => string;
|
|
18
|
+
tab_index: (this: Sections, { section_name }: {
|
|
19
|
+
section_name: string;
|
|
20
|
+
}) => number | undefined;
|
|
21
|
+
change: ({ section_name, callback, }: {
|
|
22
|
+
section_name: string;
|
|
23
|
+
callback?: t.CallbackVoid | undefined;
|
|
24
|
+
}) => void;
|
|
25
|
+
private reload_ext;
|
|
26
|
+
make_shared_sections: ({ download_back_up_callback, download_back_up_final_callback, upload_back_up_callback, restore_defaults_callback, input_change_val_callback, admin_inputs, restore_inputs, include_back_up_help, back_up_help_msg, }: {
|
|
27
|
+
download_back_up_callback: t.CallbackAnyObj;
|
|
28
|
+
download_back_up_final_callback?: t.CallbackVoid | undefined;
|
|
29
|
+
upload_back_up_callback: t.CallbackVariadicVoid;
|
|
30
|
+
restore_defaults_callback: t.CallbackVoid;
|
|
31
|
+
input_change_val_callback: t.CallbackVariadicVoid;
|
|
32
|
+
admin_inputs?: i_inputs.Input[] | undefined;
|
|
33
|
+
restore_inputs?: i_inputs.Input[] | undefined;
|
|
34
|
+
include_back_up_help?: boolean | undefined;
|
|
35
|
+
back_up_help_msg?: string | undefined;
|
|
36
|
+
}) => o_inputs.Section[];
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const init_settings: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./init";
|
|
2
|
+
export * as c_settings from "./components";
|
|
3
|
+
export * as o_schema from "./schema/obj";
|
|
4
|
+
export * as d_settings from "./data";
|
|
5
|
+
export * as d_optional_permissions from "./optional_permissions/data";
|
|
6
|
+
export * as d_schema from "./schema/data";
|
|
7
|
+
export * as s_settings from "./scripts";
|
|
8
|
+
export * as p_settings from "./components/prop_types";
|
|
9
|
+
export * as i_optional_permissions from "./optional_permissions/interfaces";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { i_optional_permissions } from "../../internal";
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
set_permission: ({ name, optional_permission_checkbox_dict, }: {
|
|
7
|
+
name: string;
|
|
8
|
+
optional_permission_checkbox_dict: i_optional_permissions.OptionalPermissionCheckboxDict;
|
|
9
|
+
}) => Promise<void>;
|
|
10
|
+
private set_checkbox_val;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./optional_permission_checkbox_dict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { o_schema } from "../../internal";
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
transform: ({ settings, transform_items, }: {
|
|
7
|
+
settings: any;
|
|
8
|
+
transform_items: o_schema.TransformItem[];
|
|
9
|
+
}) => Promise<any>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./transform_item";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./theme";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t } from "../../shared/internal";
|
|
2
|
+
import { i_inputs } from "../../inputs/internal";
|
|
3
|
+
export declare class Theme {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Theme;
|
|
6
|
+
private constructor();
|
|
7
|
+
change: ({ input, name, additional_theme_callback, }: {
|
|
8
|
+
input: i_inputs.Input;
|
|
9
|
+
name: string;
|
|
10
|
+
additional_theme_callback?: t.CallbackVariadicVoid | undefined;
|
|
11
|
+
}) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const init_page: () => void;
|
|
2
|
+
export declare class App {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): App;
|
|
5
|
+
private constructor();
|
|
6
|
+
private log_error;
|
|
7
|
+
get_ext_version: () => string;
|
|
8
|
+
msg: (msg: string) => string;
|
|
9
|
+
read_env_into_global_var: () => void;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class Main {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Main;
|
|
4
|
+
private constructor();
|
|
5
|
+
get: ({ name, el }: {
|
|
6
|
+
name: string;
|
|
7
|
+
el?: HTMLElement | undefined;
|
|
8
|
+
}) => string;
|
|
9
|
+
set_var: ({ roots, name, val, }: {
|
|
10
|
+
roots: HTMLElement[];
|
|
11
|
+
name: string;
|
|
12
|
+
val: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
set_transition_vars: ({ roots, transition_duration, }: {
|
|
15
|
+
roots: HTMLElement[];
|
|
16
|
+
transition_duration: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./main";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./val";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { browser, Tabs } from 'webextension-polyfill-ts';
|
|
2
|
+
import { t } from "./internal";
|
|
3
|
+
declare global {
|
|
4
|
+
const we: typeof browser;
|
|
5
|
+
}
|
|
6
|
+
export declare const init_page: () => void;
|
|
7
|
+
export declare class Ext {
|
|
8
|
+
private static i0;
|
|
9
|
+
static i(): Ext;
|
|
10
|
+
private constructor();
|
|
11
|
+
private log_error;
|
|
12
|
+
get_ext_version: () => string;
|
|
13
|
+
iterate_all_tabs: (callback: t.CallbackVariadicVoid) => Promise<void>;
|
|
14
|
+
msg: (msg: string) => string;
|
|
15
|
+
get_active_tab: () => Promise<Tabs.Tab | undefined>;
|
|
16
|
+
send_msg: (msg: t.Msg) => Promise<void>;
|
|
17
|
+
send_msg_resp: (msg: t.Msg) => Promise<any>;
|
|
18
|
+
send_msg_to_tab: (id: number, msg: t.Msg) => Promise<void>;
|
|
19
|
+
send_msg_to_tab_resp: (id: number, msg: t.Msg) => Promise<any>;
|
|
20
|
+
send_msg_to_active_tab: (msg: t.Msg) => Promise<void>;
|
|
21
|
+
send_msg_to_active_tab_resp: (msg: t.Msg) => Promise<any>;
|
|
22
|
+
send_msg_to_all_tabs: (msg: t.Msg) => Promise<void>;
|
|
23
|
+
storage_get: (keys?: string | string[] | undefined) => Promise<any>;
|
|
24
|
+
storage_set: (obj: t.AnyRecord, replace?: boolean | undefined) => Promise<void>;
|
|
25
|
+
storage_remove: (keys: string[]) => Promise<void>;
|
|
26
|
+
inject_js_and_css_in_content_script: (js_file_paths: string[], css_file_paths: string[]) => Promise<void>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const init_shared: () => void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./app_ext_globals";
|
|
2
|
+
import "./globals";
|
|
3
|
+
import "./data/data";
|
|
4
|
+
export * from "./x";
|
|
5
|
+
export * from "./svg";
|
|
6
|
+
export * as svg_namespace from "./svg";
|
|
7
|
+
export * as t from "./t";
|
|
8
|
+
export * as vars from "./vars";
|
|
9
|
+
export * from "./functions";
|
|
10
|
+
export * from "./init";
|
|
11
|
+
export * as c_ext_version from "./ext_version/components";
|
|
12
|
+
export * as c_loading_screen from "./loading_screen/components";
|
|
13
|
+
export * as c_tr from "./tr/components";
|
|
14
|
+
export * as o_tr from "./tr/obj";
|
|
15
|
+
export * as d_loading_screen from "./loading_screen/data";
|
|
16
|
+
export * as d_tr from "./tr/data";
|
|
17
|
+
export * as s_css_vars from "./css_vars/scripts";
|
|
18
|
+
export * as s_no_tr from "./no_tr/scripts";
|
|
19
|
+
export * as s_tab_index from "./tab_index/scripts";
|
|
20
|
+
export * as s_theme from "./theme/scripts";
|
|
21
|
+
export * as s_title from "./title/scripts";
|
|
22
|
+
export * as s_utils from "./utils/scripts";
|
|
23
|
+
export * as s_viewport from "./viewport/scripts";
|
|
24
|
+
export * as p_loading_screen from "./loading_screen/components/prop_types";
|
|
25
|
+
export * as p_tr from "./tr/components/prop_types";
|
|
26
|
+
export * as i_data from "./data/interfaces";
|
|
27
|
+
export * as i_tab_index from "./tab_index/interfaces";
|
|
28
|
+
export * as i_tr from "./tr/interfaces";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class Main {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Main;
|
|
4
|
+
private constructor();
|
|
5
|
+
private cls;
|
|
6
|
+
enable: ({ el }?: {
|
|
7
|
+
el?: HTMLElement | ShadowRoot | undefined;
|
|
8
|
+
}) => void;
|
|
9
|
+
disable: ({ el }?: {
|
|
10
|
+
el?: HTMLElement | ShadowRoot | undefined;
|
|
11
|
+
}) => Promise<void>;
|
|
12
|
+
}
|
package/ts/shared/t.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare type XEl = HTMLElement | ShadowRoot | ChildNode | undefined | null;
|
|
2
|
+
export declare type XElNoShadow = HTMLElement | ChildNode | undefined | null;
|
|
3
|
+
export declare type XEls = HTMLElement[] | NodeList | HTMLElement | undefined;
|
|
4
|
+
export declare type Browser = 'chrome' | 'edge' | 'opera' | 'firefox';
|
|
5
|
+
export declare type BaseEl = Document | ShadowRoot | HTMLElement | undefined;
|
|
6
|
+
export declare type Any = string | number | boolean | AnyRecord;
|
|
7
|
+
export declare type AnyUndefined = string | number | boolean | AnyRecord | undefined;
|
|
8
|
+
export declare type AnyArray = string[] | number[] | boolean[] | AnyRecord[];
|
|
9
|
+
export declare type AnyArrayUndefined = string[] | number[] | boolean[] | AnyRecord[] | undefined;
|
|
10
|
+
export declare type AnyRecord = Record<string, any>;
|
|
11
|
+
export declare type EmptyRecord = Record<string, never>;
|
|
12
|
+
export declare type StringRecord = Record<string, string>;
|
|
13
|
+
export declare type CallbackString = () => string;
|
|
14
|
+
export declare type CallbackNumber = () => number;
|
|
15
|
+
export declare type CallbackBoolean = () => boolean;
|
|
16
|
+
export declare type CallbackUndefined = () => undefined;
|
|
17
|
+
export declare type CallbackAnyObj = () => AnyRecord;
|
|
18
|
+
export declare type CallbackVoid = () => void;
|
|
19
|
+
export declare type CallbackAny = () => any;
|
|
20
|
+
export declare type CallbackVariadicString = (...args: any[]) => string;
|
|
21
|
+
export declare type CallbackVariadicNumber = (...args: any[]) => number;
|
|
22
|
+
export declare type CallbackVariadicBoolean = (...args: any[]) => boolean;
|
|
23
|
+
export declare type CallbackVariadicUndefined = (...args: any[]) => undefined;
|
|
24
|
+
export declare type CallbackVariadicAnyObj = (...args: any[]) => AnyRecord;
|
|
25
|
+
export declare type CallbackVariadicVoid = (...args: any[]) => void;
|
|
26
|
+
export declare type CallbackVariadicAny = (...args: any[]) => any;
|
|
27
|
+
export declare type Constructable<T1> = new (args?: T1) => T1;
|
|
28
|
+
export interface Env {
|
|
29
|
+
browser: Browser;
|
|
30
|
+
mode: 'development' | 'production';
|
|
31
|
+
}
|
|
32
|
+
export interface Msg {
|
|
33
|
+
[index: string]: any;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./set_Input_type_event";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { KeyboardEvent } from 'react';
|
|
2
|
+
import { o_color, i_color } from "../../../inputs/internal";
|
|
3
|
+
export declare class Main {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Main;
|
|
6
|
+
outer_is_visible: boolean;
|
|
7
|
+
inner_is_none: boolean;
|
|
8
|
+
private set_input_type;
|
|
9
|
+
bind_set_input_type_f: ({ parent, app_id, }?: {
|
|
10
|
+
parent?: HTMLElement | undefined;
|
|
11
|
+
app_id?: string | undefined;
|
|
12
|
+
}) => void;
|
|
13
|
+
simulate_click_on_enter: (e: KeyboardEvent) => void;
|
|
14
|
+
simulate_color_visualization_click_on_enter: ({ input, i, }: {
|
|
15
|
+
input: o_color.Color;
|
|
16
|
+
i: i_color.I;
|
|
17
|
+
}, e: KeyboardEvent) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t } from "../../internal";
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
set: ({ name, el, additional_theme_callback, }: {
|
|
7
|
+
name: string;
|
|
8
|
+
el?: HTMLElement | undefined;
|
|
9
|
+
additional_theme_callback?: t.CallbackVariadicVoid | undefined;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { p_tr, i_tr } from "../../internal";
|
|
3
|
+
export declare class BaseTr extends React.Component<p_tr.BaseTr> {
|
|
4
|
+
private tr_el_ref;
|
|
5
|
+
transitions: i_tr.Transitions;
|
|
6
|
+
componentDidMount(): void;
|
|
7
|
+
componentDidUpdate(): void;
|
|
8
|
+
render(): JSX.Element;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./base_tr";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { t } from "../../../internal";
|
|
3
|
+
export interface BaseTr {
|
|
4
|
+
name: string;
|
|
5
|
+
tag: any;
|
|
6
|
+
cls: string;
|
|
7
|
+
state: boolean;
|
|
8
|
+
attr?: Record<string, any>;
|
|
9
|
+
style?: Record<string, string | number | undefined>;
|
|
10
|
+
tr_end_unactive?: t.CallbackVoid[];
|
|
11
|
+
tr_end_active?: t.CallbackVoid[];
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./base_tr";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./transition";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { t, i_tr } from "../../internal";
|
|
3
|
+
export declare class Transition {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Transition;
|
|
6
|
+
private constructor();
|
|
7
|
+
handle_transition: ({ name, state, tr_end_unactive, tr_end_active, tr_el_ref, called_from_component_did_update, }: {
|
|
8
|
+
name: string;
|
|
9
|
+
state: boolean;
|
|
10
|
+
tr_end_unactive?: t.CallbackVoid[] | undefined;
|
|
11
|
+
tr_end_active?: t.CallbackVoid[] | undefined;
|
|
12
|
+
tr_el_ref: React.RefObject<HTMLElement>;
|
|
13
|
+
called_from_component_did_update: boolean;
|
|
14
|
+
}, e?: React.TransitionEvent<Element> | undefined) => void;
|
|
15
|
+
transit: ({ transitions, name, state, }: {
|
|
16
|
+
transitions: i_tr.Transitions;
|
|
17
|
+
name: string;
|
|
18
|
+
state: boolean;
|
|
19
|
+
}) => string;
|
|
20
|
+
run_tr_end_callbacks: ({ tr_end_callbacks, }: {
|
|
21
|
+
tr_end_callbacks: t.CallbackVariadicVoid[];
|
|
22
|
+
}, e: React.TransitionEvent) => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./transitions";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./transition";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t } from "../../internal";
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
to_object: ({ arr, section, subsection, }: {
|
|
7
|
+
arr: t.AnyRecord[];
|
|
8
|
+
section?: string | undefined;
|
|
9
|
+
subsection?: string | undefined;
|
|
10
|
+
}) => t.AnyRecord;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const scrollbar_width = 17;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|