@loftyshaky/shared 1.10.0 → 2.0.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 +11 -8
- package/_locales/ru/messages.json +7 -7
- 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-pickr.min.js +1 -1
- package/chunk-title.js +14 -0
- package/chunk-viewport.js +5 -0
- package/dependencies.js +1 -1
- 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 +7 -1
- package/js/dependencies.js +4 -0
- package/js/webpack.config.js +2 -0
- package/package.json +1 -1
- package/scss/shared/help.scss +4 -0
- package/scss/shared/selects.scss +22 -16
- 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/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 +6 -4
- 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 +2 -0
- package/ts/error_modules_clean/error/interfaces/show_error_state_1.d.ts +10 -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 +5 -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 +5 -3
- 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/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 +7 -5
- 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 +5 -3
- package/ts/inputs/data/text.d.ts +5 -3
- package/ts/inputs/data/upload_box.d.ts +5 -3
- 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/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 +14 -0
- package/ts/settings/{data → settings/data}/back_up.d.ts +7 -5
- package/ts/settings/settings/data/index.d.ts +2 -0
- package/ts/settings/{data → settings/data}/sections.d.ts +9 -7
- package/ts/settings/settings/scripts/index.d.ts +1 -0
- package/ts/settings/settings/scripts/theme.d.ts +14 -0
- package/ts/shared/data/data/index.d.ts +1 -1
- package/ts/shared/internal.d.ts +0 -16
- 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 +12 -0
- package/ts/shared/settings/data/index.d.ts +1 -1
- package/ts/shared/settings/data/settings.d.ts +12 -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} +5 -3
- 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 -1
- package/ts/shared/tr/data/transition.d.ts +7 -4
- 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} +5 -3
- 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 +1 -0
- package/ts/shared_clean/data/scripts/cache.d.ts +13 -0
- package/ts/shared_clean/data/scripts/index.d.ts +1 -0
- package/ts/{shared → shared_clean}/ext.d.ts +5 -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/no_tr/scripts/main.d.ts → shared_clean/no_tr/scripts/state.d.ts} +5 -3
- package/ts/shared_clean/schema/data/index.d.ts +1 -0
- package/ts/shared_clean/schema/data/schema.d.ts +17 -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_clean/service_worker/scripts/service_worker.d.ts +13 -0
- package/ts/shared_clean/settings/data/index.d.ts +1 -0
- package/ts/shared_clean/settings/data/settings.d.ts +21 -0
- package/ts/shared_clean/theme/scripts/index.d.ts +1 -0
- package/ts/{shared/theme/scripts/main.d.ts → shared_clean/theme/scripts/theme.d.ts} +5 -3
- 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/utils/scripts/main.d.ts → shared_clean/utils/scripts/utils.d.ts} +5 -3
- 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 +5 -3
- 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/schema/data/main.d.ts +0 -12
- package/ts/shared/service_worker/scripts/index.d.ts +0 -1
- package/ts/shared/service_worker/scripts/main.d.ts +0 -9
- package/ts/shared/settings/data/main.d.ts +0 -15
- package/ts/shared/theme/scripts/index.d.ts +0 -1
- package/ts/shared/title/scripts/main.d.ts +0 -6
- package/ts/shared/utils/scripts/index.d.ts +0 -1
- 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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { o_schema } from '../../internal';
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
|
+
transform: ({ data, transform_items, keys_to_remove, force, run_in_action, }: {
|
|
6
|
+
data: any;
|
|
7
|
+
transform_items: o_schema.TransformItem[];
|
|
8
|
+
keys_to_remove?: string[] | undefined;
|
|
9
|
+
force?: boolean | undefined;
|
|
10
|
+
run_in_action?: any;
|
|
11
|
+
}) => Promise<any>;
|
|
12
|
+
replace: ({ data }: {
|
|
13
|
+
data: any;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
export declare const Schema: Class;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../service_worker/scripts/service_worker';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare class Class {
|
|
2
|
+
private static instance;
|
|
3
|
+
static get_instance(): Class;
|
|
4
|
+
private constructor();
|
|
5
|
+
private make_persistent_intervals;
|
|
6
|
+
private persistent_service_worker;
|
|
7
|
+
make_persistent: ({ settings }?: {
|
|
8
|
+
settings?: any;
|
|
9
|
+
}) => Promise<void>;
|
|
10
|
+
private clear_make_persistent_intervals;
|
|
11
|
+
}
|
|
12
|
+
export declare const ServiceWorker: Class;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../settings/data/settings';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t } from '../../internal';
|
|
2
|
+
declare class Class {
|
|
3
|
+
private static instance;
|
|
4
|
+
static get_instance(): Class;
|
|
5
|
+
private constructor();
|
|
6
|
+
set: ({ settings, settings_are_corrupt, run_in_action, }: {
|
|
7
|
+
settings?: any;
|
|
8
|
+
settings_are_corrupt?: boolean | undefined;
|
|
9
|
+
run_in_action?: any;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
change: ({ key, val }: {
|
|
12
|
+
key: string;
|
|
13
|
+
val: t.AnyUndefined;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
set_from_storage: ({ to_js, run_in_action, }?: {
|
|
16
|
+
to_js?: any;
|
|
17
|
+
run_in_action?: any;
|
|
18
|
+
}) => Promise<any>;
|
|
19
|
+
}
|
|
20
|
+
export declare const Settings: Class;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../theme/scripts/theme';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t } 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
|
set: ({ name, el, additional_theme_callback, }: {
|
|
7
7
|
name: string;
|
|
@@ -9,3 +9,5 @@ export declare class Main {
|
|
|
9
9
|
additional_theme_callback?: t.CallbackVariadicVoid | undefined;
|
|
10
10
|
}) => Promise<void>;
|
|
11
11
|
}
|
|
12
|
+
export declare const Theme: Class;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../title/scripts/title';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../utils/scripts/utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t } 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
|
to_object: ({ arr, section, subsection, }: {
|
|
7
7
|
arr: t.AnyRecord[];
|
|
@@ -9,3 +9,5 @@ export declare class Main {
|
|
|
9
9
|
subsection?: string | undefined;
|
|
10
10
|
}) => t.AnyRecord;
|
|
11
11
|
}
|
|
12
|
+
export declare const Utils: Class;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../viewport/scripts/viewport';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t } 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
|
in_service_worker: boolean;
|
|
7
7
|
invisible_chars: string;
|
|
@@ -54,3 +54,5 @@ export declare class X {
|
|
|
54
54
|
wrap_link_in_a: (text: string) => string;
|
|
55
55
|
pastel_color: () => string;
|
|
56
56
|
}
|
|
57
|
+
export declare const X: Class;
|
|
58
|
+
export {};
|