@loftyshaky/shared-app 1.3.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_locales/en/messages.json +49 -28
- package/_locales/ru/messages.json +47 -29
- package/announcement.d.ts +1 -1
- package/announcement.js +1 -1
- package/app.d.ts +1 -1
- package/app.js +1 -1
- package/chunk-error.js +5 -0
- package/chunk-index.js +5 -0
- package/chunk-merge.js +5 -0
- package/chunk-pickr.min.js +1 -1
- package/chunk-title.js +14 -0
- package/chunk-viewport.js +5 -0
- package/dependencies.js +1 -1
- package/dependencies.txt +75 -87
- package/ext.d.ts +1 -1
- package/ext.js +1 -1
- package/globals.d.ts +17 -14
- package/inputs.js +1 -1
- package/js/apps.js +23 -4
- package/js/dependencies.js +4 -0
- package/js/projects_path.js +1 -1
- package/js/webpack.config.js +2 -0
- package/package.json +1 -1
- package/scss/settings/ext_version.scss +2 -2
- package/scss/settings/main.scss +2 -1
- package/scss/settings/sections.scss +1 -0
- package/scss/shared/btns.scss +15 -1
- package/scss/shared/checkboxes.scss +1 -0
- package/scss/shared/colors.scss +1 -1
- package/scss/shared/group.scss +10 -1
- package/scss/shared/help.scss +4 -0
- package/scss/shared/inputs.scss +2 -3
- package/scss/shared/main.scss +10 -0
- package/scss/shared/selects.scss +22 -16
- package/scss/shared/themes/general/template.scss +25 -25
- package/scss/shared/transitions.scss +1 -0
- package/settings.d.ts +1 -1
- package/settings.js +1 -1
- package/shared.d.ts +4 -0
- package/shared.js +5 -0
- package/shared_clean.d.ts +2 -0
- package/shared_clean.js +5 -0
- package/ts/announcement/internal.d.ts +0 -1
- package/ts/dependencies/scripts/dependencies.d.ts +5 -3
- package/ts/error_modules/crash_handler/components/body.d.ts +1 -1
- package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +0 -1
- package/ts/error_modules/crash_handler/data/visibility.d.ts +5 -3
- package/ts/error_modules/crash_handler/scripts/page.d.ts +5 -3
- package/ts/error_modules/css/scripts/css.d.ts +10 -0
- package/ts/error_modules/css/scripts/index.d.ts +1 -1
- package/ts/error_modules/error/components/prop_types/body.d.ts +1 -1
- package/ts/error_modules/error/data/error.d.ts +13 -0
- package/ts/error_modules/error/data/index.d.ts +1 -1
- package/ts/error_modules/error/data/msg.d.ts +5 -3
- package/ts/error_modules/error/data/progress.d.ts +5 -3
- package/ts/error_modules/error/data/state.d.ts +6 -4
- package/ts/error_modules/error/scripts/flash.d.ts +5 -3
- package/ts/error_modules/error/scripts/notification.d.ts +7 -5
- package/ts/error_modules/internal.d.ts +2 -1
- package/ts/error_modules_clean/error/data/error.d.ts +11 -0
- package/ts/error_modules_clean/error/data/index.d.ts +1 -0
- package/ts/{error_modules → error_modules_clean}/error/interfaces/index.d.ts +4 -0
- package/ts/{error_modules → error_modules_clean}/error/interfaces/show_error.d.ts +3 -0
- package/ts/error_modules_clean/error/interfaces/show_error_state_1.d.ts +11 -0
- package/ts/error_modules_clean/error/interfaces/show_error_state_1_f.d.ts +2 -0
- package/ts/error_modules_clean/error/interfaces/show_error_state_2.d.ts +6 -0
- package/ts/error_modules_clean/error/interfaces/show_error_state_2_f.d.ts +2 -0
- package/ts/error_modules_clean/error/scripts/index.d.ts +1 -0
- package/ts/error_modules_clean/internal.d.ts +4 -0
- package/ts/inputs/color/data/color.d.ts +10 -9
- package/ts/inputs/color/data/visibility.d.ts +6 -4
- package/ts/inputs/color/interfaces/index.d.ts +0 -1
- package/ts/inputs/color/obj/color.d.ts +1 -1
- package/ts/inputs/color/scripts/color_picker.d.ts +6 -4
- package/ts/inputs/color/scripts/position.d.ts +5 -3
- package/ts/inputs/components/prop_types/checkbox.d.ts +1 -0
- package/ts/inputs/components/prop_types/input_item.d.ts +0 -1
- package/ts/inputs/components/prop_types/section_btn.d.ts +1 -1
- package/ts/inputs/components/prop_types/text_btn.d.ts +1 -1
- package/ts/inputs/data/help.d.ts +5 -3
- package/ts/inputs/data/index.d.ts +2 -2
- package/ts/inputs/data/input_error.d.ts +6 -4
- package/ts/inputs/data/input_width.d.ts +21 -18
- package/ts/inputs/data/{labelIn_in_putI_iem.d.ts → label_in_input_item.d.ts} +5 -3
- package/ts/inputs/data/nested_input.d.ts +7 -5
- package/ts/inputs/data/text.d.ts +5 -3
- package/ts/inputs/data/upload_box.d.ts +6 -4
- package/ts/inputs/data/val.d.ts +6 -4
- package/ts/inputs/interfaces/btn_option.d.ts +1 -1
- package/ts/inputs/interfaces/state_cond.d.ts +1 -0
- package/ts/inputs/interfaces/text_btn.d.ts +1 -1
- package/ts/inputs/obj/file.d.ts +1 -1
- package/ts/inputs/obj/input_base.d.ts +1 -1
- package/ts/inputs/obj/link.d.ts +1 -1
- package/ts/inputs/obj/text.d.ts +4 -1
- package/ts/inputs/scripts/resolve.d.ts +2 -3
- package/ts/inputs/scripts/upload_box.d.ts +5 -3
- package/ts/settings/components/prop_types/body.d.ts +1 -1
- package/ts/settings/developer_mode/data/developer_mode.d.ts +15 -0
- package/ts/settings/developer_mode/data/index.d.ts +1 -1
- package/ts/settings/internal.d.ts +2 -2
- package/ts/settings/optional_permissions/data/index.d.ts +1 -1
- package/ts/settings/optional_permissions/data/permission.d.ts +17 -0
- package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -0
- package/ts/settings/optional_permissions/interfaces/show_enable_permissions_notification_permission.d.ts +7 -0
- package/ts/settings/{data → sections/data}/back_up.d.ts +8 -6
- package/ts/settings/sections/data/index.d.ts +2 -0
- package/ts/settings/{data → sections/data}/sections.d.ts +22 -20
- package/ts/settings/sections/scripts/index.d.ts +1 -0
- package/ts/settings/sections/scripts/theme.d.ts +14 -0
- package/ts/shared/data/data/cache.d.ts +15 -0
- package/ts/shared/data/data/index.d.ts +3 -1
- package/ts/shared/data/data/settings.d.ts +11 -0
- package/ts/shared/internal.d.ts +1 -17
- package/ts/shared/loading_screen/components/prop_types/body.d.ts +1 -1
- package/ts/shared/loading_screen/data/index.d.ts +1 -1
- package/ts/shared/loading_screen/data/{main.d.ts → visibility.d.ts} +5 -3
- package/ts/shared/loading_screen/scripts/roots.d.ts +5 -3
- package/ts/shared/loading_screen/scripts/tr.d.ts +5 -3
- package/ts/shared/offers/data/index.d.ts +1 -1
- package/ts/shared/offers/data/{main.d.ts → offers.d.ts} +5 -3
- package/ts/shared/offers/scripts/index.d.ts +1 -1
- package/ts/shared/offers/scripts/{main.d.ts → offers.d.ts} +5 -5
- package/ts/shared/schema/data/index.d.ts +1 -1
- package/ts/shared/schema/data/schema.d.ts +14 -0
- package/ts/shared/tab_index/scripts/index.d.ts +1 -1
- package/ts/shared/tab_index/scripts/{main.d.ts → tab_index.d.ts} +7 -5
- package/ts/shared/title/scripts/index.d.ts +1 -1
- package/ts/shared/title/scripts/title.d.ts +8 -0
- package/ts/shared/tr/components/prop_types/base_tr.d.ts +1 -2
- package/ts/shared/tr/data/transition.d.ts +9 -6
- package/ts/shared_clean/announcement/scripts/index.d.ts +1 -0
- package/ts/shared_clean/announcement/scripts/visibility.d.ts +8 -0
- package/ts/{shared → shared_clean}/app.d.ts +5 -3
- package/ts/shared_clean/color/interfaces/index.d.ts +1 -0
- package/ts/shared_clean/color/scripts/colors.d.ts +9 -0
- package/ts/shared_clean/color/scripts/index.d.ts +1 -0
- package/ts/{shared/css_vars/scripts/main.d.ts → shared_clean/css_vars/scripts/css_vars.d.ts} +6 -4
- package/ts/shared_clean/css_vars/scripts/index.d.ts +1 -0
- package/ts/shared_clean/data/data/data.d.ts +1 -0
- package/ts/shared_clean/data/data/index.d.ts +2 -0
- package/ts/shared_clean/data/data/settings.d.ts +16 -0
- package/ts/shared_clean/data/scripts/cache.d.ts +25 -0
- package/ts/shared_clean/data/scripts/index.d.ts +3 -0
- package/ts/shared_clean/data/scripts/settings.d.ts +12 -0
- package/ts/shared_clean/data/scripts/sync.d.ts +11 -0
- package/ts/{shared → shared_clean}/ext.d.ts +8 -3
- package/ts/shared_clean/functions.d.ts +4 -0
- package/ts/shared_clean/globals.d.ts +1 -0
- package/ts/shared_clean/internal.d.ts +22 -0
- package/ts/shared_clean/no_tr/scripts/index.d.ts +1 -0
- package/ts/shared_clean/no_tr/scripts/state.d.ts +14 -0
- package/ts/shared_clean/schema/data/index.d.ts +1 -0
- package/ts/shared_clean/schema/data/schema.d.ts +21 -0
- package/ts/{shared → shared_clean}/schema/obj/transform_item.d.ts +1 -0
- package/ts/shared_clean/service_worker/scripts/index.d.ts +1 -0
- package/ts/{shared/service_worker/scripts/main.d.ts → shared_clean/service_worker/scripts/service_worker.d.ts} +5 -3
- package/ts/shared_clean/theme/scripts/index.d.ts +1 -0
- package/ts/shared_clean/theme/scripts/theme.d.ts +13 -0
- package/ts/shared_clean/title/scripts/index.d.ts +1 -0
- package/ts/shared_clean/title/scripts/title.d.ts +9 -0
- package/ts/shared_clean/utils/scripts/index.d.ts +1 -0
- package/ts/shared_clean/utils/scripts/utils.d.ts +13 -0
- package/ts/shared_clean/viewport/scripts/index.d.ts +1 -0
- package/ts/shared_clean/viewport/scripts/viewport.d.ts +10 -0
- package/ts/{shared → shared_clean}/x.d.ts +16 -4
- package/chunk-main.js +0 -22
- package/chunk-main2.js +0 -5
- package/chunk-main3.js +0 -5
- package/chunk-main4.js +0 -5
- package/index.d.ts +0 -3
- package/index.js +0 -5
- package/ts/announcement/scripts/display.d.ts +0 -6
- package/ts/announcement/scripts/index.d.ts +0 -1
- package/ts/error_modules/css/scripts/main.d.ts +0 -8
- package/ts/error_modules/error/data/main.d.ts +0 -11
- package/ts/settings/data/index.d.ts +0 -2
- package/ts/settings/developer_mode/data/main.d.ts +0 -13
- package/ts/settings/optional_permissions/data/main.d.ts +0 -11
- package/ts/settings/scripts/index.d.ts +0 -1
- package/ts/settings/scripts/theme.d.ts +0 -12
- package/ts/shared/css_vars/scripts/index.d.ts +0 -1
- package/ts/shared/functions.d.ts +0 -3
- package/ts/shared/header/scripts/index.d.ts +0 -1
- package/ts/shared/header/scripts/main.d.ts +0 -6
- package/ts/shared/no_tr/scripts/index.d.ts +0 -1
- package/ts/shared/no_tr/scripts/main.d.ts +0 -12
- package/ts/shared/schema/data/main.d.ts +0 -12
- package/ts/shared/service_worker/scripts/index.d.ts +0 -1
- package/ts/shared/settings/data/index.d.ts +0 -1
- package/ts/shared/settings/data/main.d.ts +0 -15
- package/ts/shared/theme/scripts/index.d.ts +0 -1
- package/ts/shared/theme/scripts/main.d.ts +0 -11
- package/ts/shared/title/scripts/main.d.ts +0 -6
- package/ts/shared/utils/scripts/index.d.ts +0 -1
- package/ts/shared/utils/scripts/main.d.ts +0 -11
- package/ts/shared/viewport/scripts/index.d.ts +0 -1
- package/ts/shared/viewport/scripts/main.d.ts +0 -8
- /package/ts/{error_modules → error_modules_clean}/error/interfaces/error.d.ts +0 -0
- /package/ts/{error_modules → error_modules_clean}/error/interfaces/error_obj.d.ts +0 -0
- /package/ts/{error_modules → error_modules_clean}/error/interfaces/notification_type.d.ts +0 -0
- /package/ts/{error_modules → error_modules_clean}/error/interfaces/observable_keys.d.ts +0 -0
- /package/ts/{error_modules → error_modules_clean}/error/interfaces/show_unable_to_access_settings_error.d.ts +0 -0
- /package/ts/{error_modules → error_modules_clean}/error/interfaces/timeout_observable_keys.d.ts +0 -0
- /package/ts/{shared → error_modules_clean/error/scripts}/globals.d.ts +0 -0
- /package/ts/shared/{app_ext_globals.d.ts → data/data/data.d.ts} +0 -0
- /package/ts/{shared/data/data/main.d.ts → shared_clean/app_ext_globals.d.ts} +0 -0
- /package/ts/{inputs → shared_clean}/color/interfaces/color.d.ts +0 -0
- /package/ts/{shared → shared_clean}/data/interfaces/index.d.ts +0 -0
- /package/ts/{shared → shared_clean}/data/interfaces/val.d.ts +0 -0
- /package/ts/{shared → shared_clean}/schema/obj/index.d.ts +0 -0
- /package/ts/{shared → shared_clean}/t.d.ts +0 -0
- /package/ts/{shared → shared_clean}/vars.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../developer_mode/data/
|
|
1
|
+
export * from '../../developer_mode/data/developer_mode';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './init';
|
|
2
2
|
export * as c_settings from './components';
|
|
3
|
-
export * as d_settings from './data';
|
|
4
3
|
export * as d_developer_mode from './developer_mode/data';
|
|
5
4
|
export * as d_optional_permissions from './optional_permissions/data';
|
|
6
|
-
export * as
|
|
5
|
+
export * as d_sections from './sections/data';
|
|
6
|
+
export * as s_sections from './sections/scripts';
|
|
7
7
|
export * as p_settings from './components/prop_types';
|
|
8
8
|
export * as i_optional_permissions from './optional_permissions/interfaces';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../optional_permissions/data/
|
|
1
|
+
export * from '../../optional_permissions/data/permission';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { i_optional_permissions } from '../../internal';
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
|
+
private constructor();
|
|
6
|
+
set: ({ name, optional_permission_checkbox_dict, set_checkbox_val, }: {
|
|
7
|
+
name: string;
|
|
8
|
+
optional_permission_checkbox_dict: i_optional_permissions.OptionalPermissionCheckboxDict;
|
|
9
|
+
set_checkbox_val?: boolean;
|
|
10
|
+
}) => Promise<boolean>;
|
|
11
|
+
private set_checkbox_val;
|
|
12
|
+
show_enable_permissions_notification: ({ permissions, }: {
|
|
13
|
+
permissions: i_optional_permissions.ShowEnablePermissionsNotificationPermission[];
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
export declare const Permission: Class;
|
|
17
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
|
-
import { t } from '
|
|
3
|
-
import { o_inputs } from '
|
|
4
|
-
|
|
5
|
-
private static
|
|
6
|
-
static
|
|
2
|
+
import { t } from '../../../shared_clean/internal';
|
|
3
|
+
import { o_inputs } from '../../../inputs/internal';
|
|
4
|
+
declare class Class {
|
|
5
|
+
private static instance;
|
|
6
|
+
static get_instance(): Class;
|
|
7
7
|
private constructor();
|
|
8
8
|
download: ({ data_obj, part_i, }: {
|
|
9
9
|
data_obj: t.AnyRecord | string;
|
|
10
|
-
part_i: number |
|
|
10
|
+
part_i: number | "none";
|
|
11
11
|
}) => void;
|
|
12
12
|
open_file_browser: () => void;
|
|
13
13
|
upload: ({ input, }: {
|
|
@@ -15,3 +15,5 @@ export declare class BackUp {
|
|
|
15
15
|
}, e: ChangeEvent) => Promise<void>;
|
|
16
16
|
private read;
|
|
17
17
|
}
|
|
18
|
+
export declare const BackUp: Class;
|
|
19
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t } from '
|
|
2
|
-
import { o_inputs, i_inputs } from '
|
|
3
|
-
|
|
4
|
-
private static
|
|
5
|
-
static
|
|
1
|
+
import { t } from '../../../shared_clean/internal';
|
|
2
|
+
import { o_inputs, i_inputs } from '../../../inputs/internal';
|
|
3
|
+
declare class Class {
|
|
4
|
+
private static instance;
|
|
5
|
+
static get_instance(): Class;
|
|
6
6
|
private constructor();
|
|
7
7
|
current_section: string;
|
|
8
8
|
private options;
|
|
@@ -12,32 +12,34 @@ export declare class Sections {
|
|
|
12
12
|
}) => {
|
|
13
13
|
[index: string]: i_inputs.Input;
|
|
14
14
|
};
|
|
15
|
-
selected_cls: (this:
|
|
15
|
+
selected_cls: (this: Class, { section_name }: {
|
|
16
16
|
section_name: string;
|
|
17
17
|
}) => string;
|
|
18
|
-
tab_index: (this:
|
|
18
|
+
tab_index: (this: Class, { section_name }: {
|
|
19
19
|
section_name: string;
|
|
20
20
|
}) => number | undefined;
|
|
21
21
|
change: ({ section_name, callback, }: {
|
|
22
22
|
section_name: string;
|
|
23
|
-
callback?: t.CallbackVoid
|
|
23
|
+
callback?: t.CallbackVoid;
|
|
24
24
|
}) => void;
|
|
25
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, back_up_inputs, restore_inputs, include_back_up_help,
|
|
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, back_up_inputs, restore_inputs, include_back_up_help, restore_help_msg, download_backup, include_part_i_in_back_up_name, allow_multiple_file_backup_upload, admin_content_is_hideable, admin_change_visibility_of_content_save_callback, }: {
|
|
27
27
|
download_back_up_callback: t.CallbackAnyObj;
|
|
28
|
-
download_back_up_final_callback?: t.CallbackVoid
|
|
28
|
+
download_back_up_final_callback?: t.CallbackVoid;
|
|
29
29
|
upload_back_up_callback: t.CallbackVariadicVoid;
|
|
30
30
|
restore_defaults_callback: t.CallbackVoid;
|
|
31
31
|
input_change_val_callback: t.CallbackVariadicVoid;
|
|
32
|
-
admin_inputs?: i_inputs.Input[]
|
|
33
|
-
back_up_inputs?: i_inputs.Input[]
|
|
34
|
-
restore_inputs?: i_inputs.Input[]
|
|
35
|
-
include_back_up_help?: boolean
|
|
36
|
-
|
|
37
|
-
download_backup?: boolean
|
|
38
|
-
include_part_i_in_back_up_name?: boolean
|
|
39
|
-
allow_multiple_file_backup_upload?: boolean
|
|
40
|
-
admin_content_is_hideable?: boolean
|
|
41
|
-
admin_change_visibility_of_content_save_callback?: t.CallbackVariadicVoid
|
|
32
|
+
admin_inputs?: i_inputs.Input[];
|
|
33
|
+
back_up_inputs?: i_inputs.Input[];
|
|
34
|
+
restore_inputs?: i_inputs.Input[];
|
|
35
|
+
include_back_up_help?: boolean;
|
|
36
|
+
restore_help_msg?: string | undefined;
|
|
37
|
+
download_backup?: boolean;
|
|
38
|
+
include_part_i_in_back_up_name?: boolean;
|
|
39
|
+
allow_multiple_file_backup_upload?: boolean;
|
|
40
|
+
admin_content_is_hideable?: boolean;
|
|
41
|
+
admin_change_visibility_of_content_save_callback?: t.CallbackVariadicVoid;
|
|
42
42
|
}) => o_inputs.Section[];
|
|
43
43
|
}
|
|
44
|
+
export declare const Sections: Class;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../sections/scripts/theme';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t } from '../../../shared_clean/internal';
|
|
2
|
+
import { i_inputs } from '../../../inputs/internal';
|
|
3
|
+
declare class Class {
|
|
4
|
+
private static instance;
|
|
5
|
+
static get_instance(): Class;
|
|
6
|
+
private constructor();
|
|
7
|
+
change: ({ input, name, additional_theme_callback, }: {
|
|
8
|
+
input: i_inputs.Input;
|
|
9
|
+
name: string;
|
|
10
|
+
additional_theme_callback?: t.CallbackVariadicVoid;
|
|
11
|
+
}) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const Theme: Class;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
|
+
private constructor();
|
|
5
|
+
set_data: () => Promise<any>;
|
|
6
|
+
set_settings: ({ settings }: {
|
|
7
|
+
settings: any;
|
|
8
|
+
}) => Promise<any>;
|
|
9
|
+
set: ({ key, val }: {
|
|
10
|
+
key: string;
|
|
11
|
+
val: any;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export declare const Cache: Class;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
|
+
private constructor();
|
|
5
|
+
set: ({ settings }: {
|
|
6
|
+
settings?: any;
|
|
7
|
+
}) => Promise<void>;
|
|
8
|
+
set_from_storage: () => Promise<any>;
|
|
9
|
+
}
|
|
10
|
+
export declare const Settings: Class;
|
|
11
|
+
export {};
|
package/ts/shared/internal.d.ts
CHANGED
|
@@ -1,40 +1,24 @@
|
|
|
1
|
-
import './app_ext_globals';
|
|
2
|
-
import './globals';
|
|
3
1
|
import './data/data';
|
|
4
|
-
export * from './x';
|
|
5
2
|
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
3
|
export * from './init';
|
|
11
4
|
export * as c_app_version from './app_version/components';
|
|
12
5
|
export * as c_loading_screen from './loading_screen/components';
|
|
13
6
|
export * as c_offers from './offers/components';
|
|
14
7
|
export * as c_tr from './tr/components';
|
|
15
8
|
export * as o_offers from './offers/obj';
|
|
16
|
-
export * as o_schema from './schema/obj';
|
|
17
9
|
export * as o_tr from './tr/obj';
|
|
10
|
+
export * as d_data from './data/data';
|
|
18
11
|
export * as d_loading_screen from './loading_screen/data';
|
|
19
12
|
export * as d_offers from './offers/data';
|
|
20
13
|
export * as d_schema from './schema/data';
|
|
21
|
-
export * as d_settings from './settings/data';
|
|
22
14
|
export * as d_tr from './tr/data';
|
|
23
|
-
export * as s_css_vars from './css_vars/scripts';
|
|
24
|
-
export * as s_header from './header/scripts';
|
|
25
15
|
export * as s_loading_screen from './loading_screen/scripts';
|
|
26
|
-
export * as s_no_tr from './no_tr/scripts';
|
|
27
16
|
export * as s_offers from './offers/scripts';
|
|
28
|
-
export * as s_service_worker from './service_worker/scripts';
|
|
29
17
|
export * as s_tab_index from './tab_index/scripts';
|
|
30
|
-
export * as s_theme from './theme/scripts';
|
|
31
18
|
export * as s_title from './title/scripts';
|
|
32
|
-
export * as s_utils from './utils/scripts';
|
|
33
|
-
export * as s_viewport from './viewport/scripts';
|
|
34
19
|
export * as p_loading_screen from './loading_screen/components/prop_types';
|
|
35
20
|
export * as p_offers from './offers/components/prop_types';
|
|
36
21
|
export * as p_tr from './tr/components/prop_types';
|
|
37
|
-
export * as i_data from './data/interfaces';
|
|
38
22
|
export * as i_offers from './offers/interfaces';
|
|
39
23
|
export * as i_tab_index from './tab_index/interfaces';
|
|
40
24
|
export * as i_tr from './tr/interfaces';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../loading_screen/data/
|
|
1
|
+
export * from '../../loading_screen/data/visibility';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
private static
|
|
3
|
-
static
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
4
|
private constructor();
|
|
5
5
|
outer_is_visible: boolean;
|
|
6
6
|
private inner_is_none;
|
|
@@ -10,3 +10,5 @@ export declare class Main {
|
|
|
10
10
|
app_id: string;
|
|
11
11
|
}) => Promise<void>;
|
|
12
12
|
}
|
|
13
|
+
export declare const Visibility: Class;
|
|
14
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
private static
|
|
3
|
-
static
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
4
|
private constructor();
|
|
5
5
|
hide_roots: ({ app_id }: {
|
|
6
6
|
app_id: string;
|
|
@@ -9,3 +9,5 @@ export declare class Roots {
|
|
|
9
9
|
app_id: string;
|
|
10
10
|
}) => void;
|
|
11
11
|
}
|
|
12
|
+
export declare const Roots: Class;
|
|
13
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
private static
|
|
3
|
-
static
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
4
|
private constructor();
|
|
5
5
|
private loading_screen_root_selector;
|
|
6
6
|
enable_no_tr: () => void;
|
|
7
7
|
disable_no_tr: () => void;
|
|
8
8
|
}
|
|
9
|
+
export declare const Tr: Class;
|
|
10
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../offers/data/
|
|
1
|
+
export * from '../../offers/data/offers';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o_offers, i_offers } from '../../internal';
|
|
2
|
-
|
|
3
|
-
private static
|
|
4
|
-
static
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
5
|
private constructor();
|
|
6
6
|
offers_of_type: o_offers.Offer[];
|
|
7
7
|
current_offer_i: number;
|
|
@@ -21,3 +21,5 @@ export declare class Main {
|
|
|
21
21
|
get current_offer_banner_link(): string;
|
|
22
22
|
get current_offer_no(): number;
|
|
23
23
|
}
|
|
24
|
+
export declare const Offers: Class;
|
|
25
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../offers/scripts/
|
|
1
|
+
export * from '../../offers/scripts/offers';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o_offers } from '../../internal';
|
|
2
|
-
|
|
3
|
-
private static
|
|
4
|
-
static
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
5
|
private constructor();
|
|
6
6
|
private enable_offers;
|
|
7
7
|
private clear_new_tab;
|
|
8
|
-
private search_enhancer_for_google;
|
|
9
|
-
private advanced_extension_reloader;
|
|
10
8
|
offers: o_offers.Offer[];
|
|
11
9
|
}
|
|
10
|
+
export declare const Offers: Class;
|
|
11
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../schema/data/
|
|
1
|
+
export * from '../../schema/data/schema';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { o_schema } from '../../../shared_clean/internal';
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
|
+
transform: ({ data_obj, version, transform_items, keys_to_remove, force, }: {
|
|
6
|
+
data_obj: any;
|
|
7
|
+
version: number;
|
|
8
|
+
transform_items: o_schema.TransformItem[];
|
|
9
|
+
keys_to_remove?: string[];
|
|
10
|
+
force?: boolean;
|
|
11
|
+
}) => Promise<any>;
|
|
12
|
+
}
|
|
13
|
+
export declare const Schema: Class;
|
|
14
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../tab_index/scripts/
|
|
1
|
+
export * from '../../tab_index/scripts/tab_index';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { KeyboardEvent } from 'react';
|
|
2
2
|
import { o_color, i_color } from '../../../inputs/internal';
|
|
3
|
-
|
|
4
|
-
private static
|
|
5
|
-
static
|
|
3
|
+
declare class Class {
|
|
4
|
+
private static instance;
|
|
5
|
+
static get_instance(): Class;
|
|
6
6
|
outer_is_visible: boolean;
|
|
7
7
|
inner_is_none: boolean;
|
|
8
8
|
private set_input_type;
|
|
9
9
|
bind_set_input_type_f: ({ parent, app_id, }?: {
|
|
10
|
-
parent?: HTMLElement
|
|
11
|
-
app_id?: string
|
|
10
|
+
parent?: HTMLElement;
|
|
11
|
+
app_id?: string;
|
|
12
12
|
}) => void;
|
|
13
13
|
simulate_click_on_enter: (e: KeyboardEvent) => void;
|
|
14
14
|
simulate_color_visualization_click_on_enter: ({ input, i, }: {
|
|
@@ -16,3 +16,5 @@ export declare class Main {
|
|
|
16
16
|
i: i_color.I;
|
|
17
17
|
}, e: KeyboardEvent) => void;
|
|
18
18
|
}
|
|
19
|
+
export declare const TabIndex: Class;
|
|
20
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../../title/scripts/
|
|
1
|
+
export * from '../../title/scripts/title';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { t
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
static
|
|
2
|
+
import { t } from '../../../shared_clean/internal';
|
|
3
|
+
import { i_tr } from '../../internal';
|
|
4
|
+
declare class Class {
|
|
5
|
+
private static instance;
|
|
6
|
+
static get_instance(): Class;
|
|
6
7
|
private constructor();
|
|
7
8
|
handle_transition: ({ name, state, tr_end_unactive, tr_end_active, tr_el_ref, called_from_component_did_update, }: {
|
|
8
9
|
name: string;
|
|
9
10
|
state: boolean;
|
|
10
|
-
tr_end_unactive?: t.CallbackVoid[]
|
|
11
|
-
tr_end_active?: t.CallbackVoid[]
|
|
11
|
+
tr_end_unactive?: t.CallbackVoid[];
|
|
12
|
+
tr_end_active?: t.CallbackVoid[];
|
|
12
13
|
tr_el_ref: React.RefObject<HTMLElement>;
|
|
13
14
|
called_from_component_did_update: boolean;
|
|
14
15
|
}, e?: React.TransitionEvent) => void;
|
|
@@ -21,3 +22,5 @@ export declare class Transition {
|
|
|
21
22
|
tr_end_callbacks: t.CallbackVariadicVoid[];
|
|
22
23
|
}, e: React.TransitionEvent) => void;
|
|
23
24
|
}
|
|
25
|
+
export declare const Transition: Class;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../announcement/scripts/visibility';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const init_page: () => void;
|
|
2
|
-
|
|
3
|
-
private static
|
|
4
|
-
static
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
5
|
private constructor();
|
|
6
6
|
private log_error;
|
|
7
7
|
[index: string]: any;
|
|
@@ -23,3 +23,5 @@ export declare class App {
|
|
|
23
23
|
input_error: string;
|
|
24
24
|
}[]) => string[];
|
|
25
25
|
}
|
|
26
|
+
export declare const App: Class;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../color/interfaces/color';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../color/scripts/colors';
|
package/ts/{shared/css_vars/scripts/main.d.ts → shared_clean/css_vars/scripts/css_vars.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
private static
|
|
3
|
-
static
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
4
|
private constructor();
|
|
5
5
|
get: ({ name, el }: {
|
|
6
6
|
name: string;
|
|
7
|
-
el?: HTMLElement
|
|
7
|
+
el?: HTMLElement;
|
|
8
8
|
}) => string;
|
|
9
9
|
set_var: ({ roots, name, val, }: {
|
|
10
10
|
roots: HTMLElement[];
|
|
@@ -16,3 +16,5 @@ export declare class Main {
|
|
|
16
16
|
transition_duration: string;
|
|
17
17
|
}) => void;
|
|
18
18
|
}
|
|
19
|
+
export declare const CssVars: Class;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../css_vars/scripts/css_vars';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
|
+
private constructor();
|
|
5
|
+
set: ({ settings, run_in_action, }: {
|
|
6
|
+
settings?: any;
|
|
7
|
+
run_in_action?: any;
|
|
8
|
+
}) => Promise<void>;
|
|
9
|
+
set_from_storage: ({ to_js, run_in_action, set_data, }?: {
|
|
10
|
+
to_js?: any;
|
|
11
|
+
run_in_action?: any;
|
|
12
|
+
set_data?: any;
|
|
13
|
+
}) => Promise<any>;
|
|
14
|
+
}
|
|
15
|
+
export declare const Settings: Class;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
|
+
private constructor();
|
|
5
|
+
get_data: ({ set_from_storage, }?: {
|
|
6
|
+
set_from_storage?: boolean;
|
|
7
|
+
}) => Promise<any>;
|
|
8
|
+
set_data: ({ run_in_action, }?: {
|
|
9
|
+
run_in_action?: any;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
set_settings: ({ settings, run_in_action, }?: {
|
|
12
|
+
settings?: any;
|
|
13
|
+
run_in_action?: any;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
set: ({ key, val, run_in_action, }: {
|
|
16
|
+
key: string;
|
|
17
|
+
val: any;
|
|
18
|
+
run_in_action?: any;
|
|
19
|
+
}) => Promise<void>;
|
|
20
|
+
get: ({ key }: {
|
|
21
|
+
key: string;
|
|
22
|
+
}) => Promise<any>;
|
|
23
|
+
}
|
|
24
|
+
export declare const Cache: Class;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t } from '../../internal';
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
|
+
private constructor();
|
|
6
|
+
apply_unchanged_prefs: ({ settings, additional_unchanged_prefs, }: {
|
|
7
|
+
settings: any;
|
|
8
|
+
additional_unchanged_prefs?: t.AnyRecord;
|
|
9
|
+
}) => t.AnyRecord;
|
|
10
|
+
}
|
|
11
|
+
export declare const Settings: Class;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t, s_data } from '../../internal';
|
|
2
|
+
export declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
|
+
private constructor();
|
|
6
|
+
react_sync: ({ changes, callback, }: {
|
|
7
|
+
changes: any;
|
|
8
|
+
callback: t.CallbackVoid;
|
|
9
|
+
}) => Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export declare const Sync: s_data.Class;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { Tabs } from 'webextension-polyfill';
|
|
2
2
|
import { t } from './internal';
|
|
3
3
|
export declare const init_page: () => void;
|
|
4
|
-
|
|
5
|
-
private static
|
|
6
|
-
static
|
|
4
|
+
declare class Class {
|
|
5
|
+
private static instance;
|
|
6
|
+
static get_instance(): Class;
|
|
7
7
|
private constructor();
|
|
8
8
|
private force_local_storage;
|
|
9
|
+
updating_storage: boolean;
|
|
10
|
+
only_cache: never[];
|
|
11
|
+
private remove_only_cache;
|
|
9
12
|
ext_context_invalidated: () => boolean;
|
|
10
13
|
private log_error;
|
|
11
14
|
get_app_version: () => string;
|
|
@@ -26,3 +29,5 @@ export declare class Ext {
|
|
|
26
29
|
storage_remove: (keys: string[]) => Promise<void>;
|
|
27
30
|
inject_js_and_css_in_content_script: (js_file_paths: string[], css_file_paths: string[]) => Promise<void>;
|
|
28
31
|
}
|
|
32
|
+
export declare const Ext: Class;
|
|
33
|
+
export {};
|