@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,52 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { p_crash_handler } from "../../internal";
|
|
3
|
+
export declare const Body: {
|
|
4
|
+
new (props: p_crash_handler.Body | Readonly<p_crash_handler.Body>): {
|
|
5
|
+
componentDidCatch(err_obj: Error): void;
|
|
6
|
+
render(): JSX.Element | ReactNode;
|
|
7
|
+
context: unknown;
|
|
8
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<p_crash_handler.Body>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
9
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
10
|
+
readonly props: Readonly<p_crash_handler.Body>;
|
|
11
|
+
state: Readonly<{}>;
|
|
12
|
+
refs: {
|
|
13
|
+
[key: string]: React.ReactInstance;
|
|
14
|
+
};
|
|
15
|
+
componentDidMount?(): void;
|
|
16
|
+
shouldComponentUpdate?(nextProps: Readonly<p_crash_handler.Body>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
17
|
+
componentWillUnmount?(): void;
|
|
18
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<p_crash_handler.Body>, prevState: Readonly<{}>): any;
|
|
19
|
+
componentDidUpdate?(prevProps: Readonly<p_crash_handler.Body>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
20
|
+
componentWillMount?(): void;
|
|
21
|
+
UNSAFE_componentWillMount?(): void;
|
|
22
|
+
componentWillReceiveProps?(nextProps: Readonly<p_crash_handler.Body>, nextContext: any): void;
|
|
23
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<p_crash_handler.Body>, nextContext: any): void;
|
|
24
|
+
componentWillUpdate?(nextProps: Readonly<p_crash_handler.Body>, nextState: Readonly<{}>, nextContext: any): void;
|
|
25
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<p_crash_handler.Body>, nextState: Readonly<{}>, nextContext: any): void;
|
|
26
|
+
};
|
|
27
|
+
new (props: p_crash_handler.Body, context: any): {
|
|
28
|
+
componentDidCatch(err_obj: Error): void;
|
|
29
|
+
render(): JSX.Element | ReactNode;
|
|
30
|
+
context: unknown;
|
|
31
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<p_crash_handler.Body>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
32
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
33
|
+
readonly props: Readonly<p_crash_handler.Body>;
|
|
34
|
+
state: Readonly<{}>;
|
|
35
|
+
refs: {
|
|
36
|
+
[key: string]: React.ReactInstance;
|
|
37
|
+
};
|
|
38
|
+
componentDidMount?(): void;
|
|
39
|
+
shouldComponentUpdate?(nextProps: Readonly<p_crash_handler.Body>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
40
|
+
componentWillUnmount?(): void;
|
|
41
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<p_crash_handler.Body>, prevState: Readonly<{}>): any;
|
|
42
|
+
componentDidUpdate?(prevProps: Readonly<p_crash_handler.Body>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
43
|
+
componentWillMount?(): void;
|
|
44
|
+
UNSAFE_componentWillMount?(): void;
|
|
45
|
+
componentWillReceiveProps?(nextProps: Readonly<p_crash_handler.Body>, nextContext: any): void;
|
|
46
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<p_crash_handler.Body>, nextContext: any): void;
|
|
47
|
+
componentWillUpdate?(nextProps: Readonly<p_crash_handler.Body>, nextState: Readonly<{}>, nextContext: any): void;
|
|
48
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<p_crash_handler.Body>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
|
+
};
|
|
50
|
+
getDerivedStateFromError(): any;
|
|
51
|
+
contextType?: React.Context<any> | undefined;
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./page";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./body";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { i_error } from "../../internal";
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
hide_delay: number;
|
|
7
|
+
private highlight_time;
|
|
8
|
+
show_error: (error_obj: i_error.ErrorObj | undefined, error_code: string | undefined, { error_msg_key, silent, persistent, exit, hide_delay, is_notification, notification_msg_key, }?: i_error.ShowError) => void;
|
|
9
|
+
output_error: (error_obj: i_error.ErrorObj, error_code: string) => void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class Msg {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Msg;
|
|
4
|
+
private constructor();
|
|
5
|
+
private advanced_msg_is_visible;
|
|
6
|
+
basic_msg: string;
|
|
7
|
+
advanced_msg: string;
|
|
8
|
+
notification_msg_key: string;
|
|
9
|
+
get advanced_msg_is_visible_cls(): string;
|
|
10
|
+
get more_info_btn_is_visible_cls(): string;
|
|
11
|
+
get main_msg(): string;
|
|
12
|
+
change_visibility_of_advanced_msg: ({ is_visible }: {
|
|
13
|
+
is_visible: boolean;
|
|
14
|
+
}) => void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { i_error } from "../../internal";
|
|
2
|
+
export declare class State {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): State;
|
|
5
|
+
private constructor();
|
|
6
|
+
private is_loaded;
|
|
7
|
+
private is_visible;
|
|
8
|
+
private is_highlighted;
|
|
9
|
+
is_notification: boolean;
|
|
10
|
+
get is_visible_style(): string;
|
|
11
|
+
get is_highlighted_cls(): string;
|
|
12
|
+
get is_notification_cls(): string;
|
|
13
|
+
private is_visible_timeout;
|
|
14
|
+
private is_highlighted_timeout;
|
|
15
|
+
change_state: ({ observable_key, state, }: {
|
|
16
|
+
observable_key: i_error.ObservableKeys;
|
|
17
|
+
state: boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
run_reset_state_timeout: ({ observable_key, delay, }: {
|
|
20
|
+
observable_key: i_error.ObservableKeys;
|
|
21
|
+
delay: number;
|
|
22
|
+
}) => void;
|
|
23
|
+
clear_all_reset_state_timeouts: () => void;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ObservableKeys = 'is_loaded' | 'is_visible' | 'is_highlighted' | 'is_notification';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type TimeoutObservableKeys = 'is_visible_timeout' | 'is_highlighted_timeout';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { i_error } from "../../internal";
|
|
2
|
+
declare global {
|
|
3
|
+
function show_err_ribbon(error_obj: i_error.ErrorObj | undefined, error_code: string | undefined, obj?: i_error.ShowError): void;
|
|
4
|
+
function err<T1>(f: () => T1, error_code: string, obj?: i_error.ShowError): T1;
|
|
5
|
+
function err_async<T1>(f: () => Promise<T1>, error_code: string, obj?: i_error.ShowError): Promise<T1>;
|
|
6
|
+
function throw_err(msg: string): void;
|
|
7
|
+
function throw_err_obj(msg: string): void;
|
|
8
|
+
function err_obj(msg: string): Error;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./globals";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./error/scripts";
|
|
2
|
+
export * as c_crash_handler from "./crash_handler/components";
|
|
3
|
+
export * as c_error from "./error/components";
|
|
4
|
+
export * as d_crash_handler from "./crash_handler/data";
|
|
5
|
+
export * as d_error from "./error/data";
|
|
6
|
+
export * as s_crash_handler from "./crash_handler/scripts";
|
|
7
|
+
export * as s_css from "./css/scripts";
|
|
8
|
+
export * as p_crash_handler from "./crash_handler/components/prop_types";
|
|
9
|
+
export * as p_error from "./error/components/prop_types";
|
|
10
|
+
export * as i_error from "./error/interfaces";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { t } from "../../../shared/internal";
|
|
3
|
+
import { o_color, i_color } from "../../internal";
|
|
4
|
+
export declare class Color {
|
|
5
|
+
private static i0;
|
|
6
|
+
static i(): Color;
|
|
7
|
+
private constructor();
|
|
8
|
+
default_colors: i_color.Color[];
|
|
9
|
+
palette_color_amount: number;
|
|
10
|
+
previous_color: i_color.Color;
|
|
11
|
+
access: ({ input, i }: {
|
|
12
|
+
input: o_color.Color;
|
|
13
|
+
i: i_color.I;
|
|
14
|
+
}) => string;
|
|
15
|
+
access_from_val: ({ val }: {
|
|
16
|
+
val: i_color.Color;
|
|
17
|
+
}) => string;
|
|
18
|
+
set: ({ input, i, color, }: {
|
|
19
|
+
input: o_color.Color;
|
|
20
|
+
i: i_color.I;
|
|
21
|
+
color: i_color.Color;
|
|
22
|
+
}) => void;
|
|
23
|
+
save: ({ input, i, callback, }: {
|
|
24
|
+
input: o_color.Color;
|
|
25
|
+
i: i_color.I;
|
|
26
|
+
callback: t.CallbackVariadicVoid;
|
|
27
|
+
}) => void;
|
|
28
|
+
restore_old_color: () => void;
|
|
29
|
+
convert_pickr_color_to_rgb_string: ({ pickr_color, }: {
|
|
30
|
+
pickr_color: t.AnyRecord;
|
|
31
|
+
}) => string;
|
|
32
|
+
filter_palette_colors: ({ obj }: {
|
|
33
|
+
obj: i_color.ColorPickerState;
|
|
34
|
+
}) => string[];
|
|
35
|
+
select_palette_color: ({ input, i, }: {
|
|
36
|
+
input: o_color.Color;
|
|
37
|
+
i: i_color.I;
|
|
38
|
+
}, e: MouseEvent) => void;
|
|
39
|
+
val_is_palette_color: ({ input }: {
|
|
40
|
+
input: o_color.Color;
|
|
41
|
+
}) => boolean;
|
|
42
|
+
set_previous_color: ({ input, i }: {
|
|
43
|
+
input: o_color.Color;
|
|
44
|
+
i: i_color.I;
|
|
45
|
+
}) => void;
|
|
46
|
+
remove_color: ({ input }: {
|
|
47
|
+
input: o_color.Color;
|
|
48
|
+
}) => void;
|
|
49
|
+
restore_default_palette: ({ input, default_colors, }: {
|
|
50
|
+
input: o_color.Color;
|
|
51
|
+
default_colors?: i_color.Color[] | undefined;
|
|
52
|
+
}) => void;
|
|
53
|
+
reset_previous_vars: () => void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MouseEvent, FocusEvent, KeyboardEvent } from 'react';
|
|
2
|
+
import { o_color, i_color } from "../../internal";
|
|
3
|
+
export declare class Visibility {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Visibility;
|
|
6
|
+
private constructor();
|
|
7
|
+
visible_input: o_color.Color | undefined;
|
|
8
|
+
previously_visible_input: o_color.Color | undefined;
|
|
9
|
+
previously_visible_color_picker_i: i_color.I | undefined;
|
|
10
|
+
private visualization_of_visible_input;
|
|
11
|
+
color_help_is_visible: boolean;
|
|
12
|
+
mark_color_picker_as_closed: ({ input, i, is_closed, }: {
|
|
13
|
+
input: o_color.Color;
|
|
14
|
+
i: i_color.I;
|
|
15
|
+
is_closed: boolean;
|
|
16
|
+
}) => void;
|
|
17
|
+
mark_palette_as_closed: ({ input, is_closed, }: {
|
|
18
|
+
input: o_color.Color;
|
|
19
|
+
is_closed: boolean;
|
|
20
|
+
}) => void;
|
|
21
|
+
change_visibility: ({ input, i, color_picker_state, }: {
|
|
22
|
+
input: o_color.Color;
|
|
23
|
+
i: i_color.I;
|
|
24
|
+
color_picker_state: 'is_initialized' | 'is_visible';
|
|
25
|
+
}, e: MouseEvent | FocusEvent) => Promise<void>;
|
|
26
|
+
hide_main_and_palette: ({ input }: {
|
|
27
|
+
input: o_color.Color;
|
|
28
|
+
}) => void;
|
|
29
|
+
hide_palette_color_pickers: ({ input }: {
|
|
30
|
+
input: o_color.Color;
|
|
31
|
+
}) => void;
|
|
32
|
+
hide_all: (e: MouseEvent) => void;
|
|
33
|
+
hide_color_picker_or_palette_on_esc: (e: KeyboardEvent) => void;
|
|
34
|
+
hide_color_help: ({ input }: {
|
|
35
|
+
input: o_color.Color;
|
|
36
|
+
}) => void;
|
|
37
|
+
hide_color_help_tr_end: () => void;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type Color = string | number;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i_color } from "../../internal";
|
|
2
|
+
declare type Keys = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 29;
|
|
3
|
+
export interface ColorPickerState extends Record<Keys, i_color.ColorPickerStateOne> {
|
|
4
|
+
main: i_color.ColorPickerStateOne;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type I = string | number;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { t } from "../../../shared/internal";
|
|
2
|
+
import { o_inputs, i_color } from "../../internal";
|
|
3
|
+
export declare class Color extends o_inputs.InputBase {
|
|
4
|
+
type?: 'color';
|
|
5
|
+
include_visualization?: boolean;
|
|
6
|
+
include_palette_label?: boolean;
|
|
7
|
+
palette_is_visible?: boolean;
|
|
8
|
+
palette_is_closed?: boolean;
|
|
9
|
+
palette_width?: string;
|
|
10
|
+
palette_height?: string;
|
|
11
|
+
color_picker_width?: string;
|
|
12
|
+
color_picker_height?: string;
|
|
13
|
+
include_remove_color_btn?: boolean;
|
|
14
|
+
include_ok_btn?: boolean;
|
|
15
|
+
state?: i_color.ColorPickerState;
|
|
16
|
+
select_palette_color_callback: t.CallbackVariadicVoid;
|
|
17
|
+
remove_color_callback: t.CallbackVariadicVoid;
|
|
18
|
+
restore_default_palette_callback: t.CallbackVariadicVoid;
|
|
19
|
+
hide_color_help_callback: t.CallbackVoid;
|
|
20
|
+
constructor(obj: Color);
|
|
21
|
+
is_palette_color?: (({ i }: {
|
|
22
|
+
i: i_color.I;
|
|
23
|
+
}) => boolean) | undefined;
|
|
24
|
+
visualization_cls?: (({ i }: {
|
|
25
|
+
i: i_color.I;
|
|
26
|
+
}) => string) | undefined;
|
|
27
|
+
palette_visualization_cls?: (({ i }: {
|
|
28
|
+
i: i_color.I;
|
|
29
|
+
}) => string) | undefined;
|
|
30
|
+
inset_border_cls?: (({ i }: {
|
|
31
|
+
i: i_color.I;
|
|
32
|
+
}) => string) | undefined;
|
|
33
|
+
el_to_show_type?: (({ i }: {
|
|
34
|
+
i: i_color.I;
|
|
35
|
+
}) => string) | undefined;
|
|
36
|
+
color_picker_is_visible?: ((this: Color, { i }: {
|
|
37
|
+
i: i_color.I;
|
|
38
|
+
}) => boolean) | undefined;
|
|
39
|
+
palette_w_is_visible?: ((this: Color) => boolean) | undefined;
|
|
40
|
+
visualization_outline_opened?: ((this: Color, { i }: {
|
|
41
|
+
i: i_color.I;
|
|
42
|
+
}) => string) | undefined;
|
|
43
|
+
visualization_outline_selected?: ((this: Color, { i }: {
|
|
44
|
+
i: i_color.I;
|
|
45
|
+
}) => string) | undefined;
|
|
46
|
+
palette_visualization_outline_selected?: ((this: Color, { i }: {
|
|
47
|
+
i: i_color.I;
|
|
48
|
+
}) => string) | undefined;
|
|
49
|
+
color_picker_is_closed_visibility_cls?: ((this: Color, { i }: {
|
|
50
|
+
i: i_color.I;
|
|
51
|
+
}) => string) | undefined;
|
|
52
|
+
palette_is_closed_visibility_cls?: ((this: Color) => string) | undefined;
|
|
53
|
+
color_help_visibility_cls?: ((this: Color) => string) | undefined;
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./color";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t } from "../../../shared/internal";
|
|
2
|
+
import { o_color, i_color } from "../../internal";
|
|
3
|
+
export declare class ColorPicker {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): ColorPicker;
|
|
6
|
+
private constructor();
|
|
7
|
+
setting_color: boolean;
|
|
8
|
+
init: ({ input, i, color_picker, visualization, }: {
|
|
9
|
+
input: o_color.Color;
|
|
10
|
+
i: i_color.I;
|
|
11
|
+
color_picker: HTMLSpanElement;
|
|
12
|
+
visualization: HTMLButtonElement;
|
|
13
|
+
}) => t.AnyRecord;
|
|
14
|
+
update: ({ pickr, color_picker, input, i, }: {
|
|
15
|
+
pickr: t.AnyRecord;
|
|
16
|
+
color_picker: HTMLSpanElement;
|
|
17
|
+
input: o_color.Color;
|
|
18
|
+
i: i_color.I;
|
|
19
|
+
}) => Promise<void>;
|
|
20
|
+
}
|
|
@@ -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";
|