@loftyshaky/shared 1.4.0 → 1.6.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/LICENSE.md +21 -0
- package/_locales/de/messages.json +1 -1
- package/_locales/en/messages.json +100 -1
- package/_locales/ru/messages.json +47 -2
- package/announcement.d.ts +2 -2
- package/announcement.js +5 -1
- package/app.d.ts +1 -5
- package/app.js +5 -1
- package/chunk-main.js +22 -0
- package/chunk-main2.js +5 -0
- package/chunk-main3.js +5 -0
- package/chunk-main4.js +5 -0
- package/chunk-pickr.min.js +5 -0
- package/dependencies.d.ts +2 -0
- package/dependencies.js +5 -0
- package/dependencies.txt +863 -0
- package/ext.d.ts +1 -5
- package/ext.js +5 -1
- package/fonts/NotoSans-Regular.ttf +0 -0
- package/globals.d.ts +49 -0
- package/html/dependencies.html +13 -0
- package/index.d.ts +3 -3
- package/index.js +5 -1
- package/inputs.d.ts +2 -2
- package/inputs.js +5 -1
- package/js/apps.js +63 -63
- package/js/dependencies.js +56 -0
- package/js/locales.js +11 -5
- package/js/package/plugins/rollup-plugin-copy.js +169 -169
- package/js/package/plugins/watcher.js +56 -56
- package/js/package/terser.js +18 -18
- package/js/task_scheduler.js +39 -39
- package/js/tsc_alias.js +19 -0
- package/js/webpack.config.js +30 -3
- package/package.json +2 -2
- package/scss/dependencies/body.scss +3 -0
- package/scss/dependencies/hr.scss +3 -0
- package/scss/dependencies/index.scss +5 -0
- package/scss/dependencies/links.scss +3 -0
- package/scss/dependencies/main.scss +3 -0
- package/scss/settings/sections.scss +22 -0
- package/scss/settings/transitions.scss +2 -3
- package/scss/shared/checkboxes.scss +2 -2
- package/scss/shared/close_btn.scss +1 -1
- package/scss/shared/embed/error.scss +2 -2
- package/scss/shared/embed/font_face.scss +1 -2
- package/scss/shared/index.scss +1 -0
- package/scss/shared/inputs.scss +5 -1
- package/scss/shared/inset_border.scss +1 -4
- package/scss/shared/links.scss +4 -0
- package/scss/shared/mixins.scss +11 -7
- package/scss/shared/mods.scss +1 -3
- package/scss/shared/offers.scss +37 -0
- package/scss/shared/selects.scss +8 -2
- package/scss/shared/themes/colors/aqua.scss +15 -6
- package/scss/shared/themes/colors/dark.scss +5 -1
- package/scss/shared/themes/colors/lavender.scss +19 -6
- package/scss/shared/themes/colors/light.scss +5 -1
- package/scss/shared/themes/colors/very_dark.scss +5 -1
- package/scss/shared/themes/general/template.scss +26 -12
- package/scss/shared/themes/general/template_focus.scss +6 -4
- package/scss/shared/transitions.scss +5 -2
- package/scss/shared/upload_box.scss +2 -3
- package/scss/shared/vars.scss +10 -3
- package/settings.d.ts +2 -2
- package/settings.js +5 -1
- package/ts/announcement/components/body.d.ts +2 -3
- package/ts/announcement/components/index.d.ts +1 -1
- package/ts/announcement/internal.d.ts +2 -3
- package/ts/announcement/scripts/display.d.ts +6 -6
- package/ts/announcement/scripts/index.d.ts +1 -2
- package/ts/dependencies/components/body.d.ts +2 -0
- package/ts/dependencies/components/index.d.ts +1 -0
- package/ts/dependencies/internal.d.ts +2 -0
- package/ts/dependencies/scripts/dependencies.d.ts +7 -0
- package/ts/dependencies/scripts/index.d.ts +1 -0
- package/ts/error_modules/crash_handler/components/body.d.ts +52 -52
- package/ts/error_modules/crash_handler/components/index.d.ts +1 -1
- package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -4
- package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -1
- package/ts/error_modules/crash_handler/data/index.d.ts +1 -1
- package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -7
- package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -1
- package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -6
- package/ts/error_modules/css/scripts/index.d.ts +1 -1
- package/ts/error_modules/css/scripts/main.d.ts +8 -8
- package/ts/error_modules/error/components/body.d.ts +3 -3
- package/ts/error_modules/error/components/close_btn.d.ts +2 -2
- package/ts/error_modules/error/components/ext_name.d.ts +2 -2
- package/ts/error_modules/error/components/index.d.ts +6 -6
- package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -2
- package/ts/error_modules/error/components/msg.d.ts +2 -2
- package/ts/error_modules/error/components/progress.d.ts +2 -2
- package/ts/error_modules/error/components/prop_types/body.d.ts +5 -5
- package/ts/error_modules/error/components/prop_types/index.d.ts +1 -1
- package/ts/error_modules/error/data/index.d.ts +4 -4
- package/ts/error_modules/error/data/main.d.ts +11 -11
- package/ts/error_modules/error/data/msg.d.ts +13 -13
- package/ts/error_modules/error/data/progress.d.ts +17 -17
- package/ts/error_modules/error/data/state.d.ts +25 -25
- package/ts/error_modules/error/interfaces/error.d.ts +6 -6
- package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -6
- package/ts/error_modules/error/interfaces/index.d.ts +7 -7
- package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -1
- package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
- package/ts/error_modules/error/interfaces/show_error.d.ts +11 -11
- package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -5
- package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
- package/ts/error_modules/error/scripts/flash.d.ts +11 -11
- package/ts/error_modules/error/scripts/globals.d.ts +1 -12
- package/ts/error_modules/error/scripts/index.d.ts +3 -3
- package/ts/error_modules/error/scripts/notification.d.ts +8 -8
- package/ts/error_modules/init.d.ts +1 -1
- package/ts/error_modules/internal.d.ts +11 -11
- package/ts/inputs/color/components/body.d.ts +3 -3
- package/ts/inputs/color/components/color_picker.d.ts +3 -3
- package/ts/inputs/color/components/fill_shadow.d.ts +3 -3
- package/ts/inputs/color/components/index.d.ts +4 -4
- package/ts/inputs/color/components/prop_types/body.d.ts +4 -4
- package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -7
- package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -5
- package/ts/inputs/color/components/prop_types/index.d.ts +4 -4
- package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -6
- package/ts/inputs/color/components/visualization.d.ts +3 -3
- package/ts/inputs/color/data/color.d.ts +54 -54
- package/ts/inputs/color/data/index.d.ts +2 -2
- package/ts/inputs/color/data/visibility.d.ts +38 -38
- package/ts/inputs/color/interfaces/color.d.ts +1 -1
- package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -6
- package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -5
- package/ts/inputs/color/interfaces/i.d.ts +1 -1
- package/ts/inputs/color/interfaces/index.d.ts +4 -4
- package/ts/inputs/color/obj/color.d.ts +54 -54
- package/ts/inputs/color/obj/index.d.ts +1 -1
- package/ts/inputs/color/scripts/color_picker.d.ts +20 -20
- package/ts/inputs/color/scripts/index.d.ts +2 -2
- package/ts/inputs/color/scripts/position.d.ts +7 -7
- package/ts/inputs/components/btn.d.ts +3 -3
- package/ts/inputs/components/checkbox.d.ts +3 -3
- package/ts/inputs/components/file.d.ts +3 -3
- package/ts/inputs/components/form.d.ts +3 -3
- package/ts/inputs/components/group.d.ts +3 -3
- package/ts/inputs/components/help.d.ts +3 -3
- package/ts/inputs/components/help_btn.d.ts +3 -3
- package/ts/inputs/components/hr.d.ts +3 -3
- package/ts/inputs/components/icon_btn.d.ts +3 -3
- package/ts/inputs/components/index.d.ts +25 -25
- package/ts/inputs/components/input_error.d.ts +3 -3
- package/ts/inputs/components/input_item.d.ts +3 -3
- package/ts/inputs/components/label.d.ts +3 -3
- package/ts/inputs/components/label_in_input_item.d.ts +3 -3
- package/ts/inputs/components/link.d.ts +3 -3
- package/ts/inputs/components/link_btn.d.ts +3 -3
- package/ts/inputs/components/link_icon_btn.d.ts +3 -3
- package/ts/inputs/components/prop_types/btn.d.ts +4 -4
- package/ts/inputs/components/prop_types/checkbox.d.ts +4 -4
- package/ts/inputs/components/prop_types/file.d.ts +4 -4
- package/ts/inputs/components/prop_types/form.d.ts +5 -5
- package/ts/inputs/components/prop_types/group.d.ts +5 -5
- package/ts/inputs/components/prop_types/help.d.ts +4 -4
- package/ts/inputs/components/prop_types/help_btn.d.ts +4 -4
- package/ts/inputs/components/prop_types/hr.d.ts +4 -4
- package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -4
- package/ts/inputs/components/prop_types/index.d.ts +25 -25
- package/ts/inputs/components/prop_types/input_error.d.ts +4 -4
- package/ts/inputs/components/prop_types/input_item.d.ts +7 -7
- package/ts/inputs/components/prop_types/label.d.ts +4 -4
- package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -4
- package/ts/inputs/components/prop_types/link.d.ts +4 -4
- package/ts/inputs/components/prop_types/link_btn.d.ts +4 -4
- package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -5
- package/ts/inputs/components/prop_types/range.d.ts +6 -6
- package/ts/inputs/components/prop_types/section.d.ts +4 -4
- package/ts/inputs/components/prop_types/section_btn.d.ts +7 -6
- package/ts/inputs/components/prop_types/section_content.d.ts +5 -5
- package/ts/inputs/components/prop_types/select.d.ts +6 -6
- package/ts/inputs/components/prop_types/text.d.ts +6 -6
- package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
- package/ts/inputs/components/prop_types/textarea.d.ts +6 -6
- package/ts/inputs/components/prop_types/upload_box.d.ts +5 -5
- package/ts/inputs/components/range.d.ts +3 -3
- package/ts/inputs/components/section.d.ts +3 -3
- package/ts/inputs/components/section_btn.d.ts +3 -3
- package/ts/inputs/components/section_content.d.ts +3 -3
- package/ts/inputs/components/select.d.ts +3 -3
- package/ts/inputs/components/text.d.ts +3 -3
- package/ts/inputs/components/text_btn.d.ts +3 -3
- package/ts/inputs/components/textarea.d.ts +3 -3
- package/ts/inputs/components/upload_box.d.ts +3 -3
- package/ts/inputs/data/help.d.ts +15 -15
- package/ts/inputs/data/index.d.ts +8 -8
- package/ts/inputs/data/input_error.d.ts +12 -12
- package/ts/inputs/data/input_width.d.ts +26 -26
- package/ts/inputs/data/labelIn_in_putI_iem.d.ts +9 -9
- package/ts/inputs/data/nested_input.d.ts +18 -18
- package/ts/inputs/data/text.d.ts +21 -21
- package/ts/inputs/data/upload_box.d.ts +24 -24
- package/ts/inputs/data/val.d.ts +41 -41
- package/ts/inputs/interfaces/btn_option.d.ts +9 -9
- package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
- package/ts/inputs/interfaces/index.d.ts +9 -9
- package/ts/inputs/interfaces/input.d.ts +2 -2
- package/ts/inputs/interfaces/inputs.d.ts +2 -2
- package/ts/inputs/interfaces/links.d.ts +2 -2
- package/ts/inputs/interfaces/options.d.ts +2 -2
- package/ts/inputs/interfaces/sections.d.ts +2 -2
- package/ts/inputs/interfaces/state_cond.d.ts +4 -4
- package/ts/inputs/interfaces/text_btn.d.ts +7 -7
- package/ts/inputs/internal.d.ts +12 -12
- package/ts/inputs/obj/btn.d.ts +6 -6
- package/ts/inputs/obj/checkbox.d.ts +5 -5
- package/ts/inputs/obj/file.d.ts +9 -9
- package/ts/inputs/obj/form.d.ts +7 -7
- package/ts/inputs/obj/group.d.ts +6 -6
- package/ts/inputs/obj/hr.d.ts +5 -5
- package/ts/inputs/obj/icon_btn.d.ts +7 -7
- package/ts/inputs/obj/index.d.ts +18 -18
- package/ts/inputs/obj/input_base.d.ts +45 -44
- package/ts/inputs/obj/label.d.ts +5 -5
- package/ts/inputs/obj/link.d.ts +17 -16
- package/ts/inputs/obj/link_btn.d.ts +6 -6
- package/ts/inputs/obj/option.d.ts +6 -6
- package/ts/inputs/obj/range.d.ts +20 -20
- package/ts/inputs/obj/section.d.ts +31 -28
- package/ts/inputs/obj/select.d.ts +9 -9
- package/ts/inputs/obj/text.d.ts +18 -18
- package/ts/inputs/obj/textarea.d.ts +5 -5
- package/ts/inputs/obj/upload_box.d.ts +18 -18
- package/ts/inputs/scripts/index.d.ts +2 -2
- package/ts/inputs/scripts/resolve.d.ts +7 -7
- package/ts/inputs/scripts/upload_box.d.ts +8 -8
- package/ts/settings/components/body.d.ts +3 -3
- package/ts/settings/components/index.d.ts +1 -1
- package/ts/settings/components/prop_types/body.d.ts +8 -7
- package/ts/settings/components/prop_types/index.d.ts +1 -1
- package/ts/settings/data/back_up.d.ts +17 -17
- package/ts/settings/data/index.d.ts +2 -2
- package/ts/settings/data/sections.d.ts +43 -43
- package/ts/settings/developer_mode/data/index.d.ts +1 -0
- package/ts/settings/developer_mode/data/main.d.ts +13 -0
- package/ts/settings/init.d.ts +1 -1
- package/ts/settings/internal.d.ts +8 -7
- package/ts/settings/optional_permissions/data/index.d.ts +1 -1
- package/ts/settings/optional_permissions/data/main.d.ts +11 -11
- package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -1
- package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -3
- package/ts/settings/scripts/index.d.ts +1 -1
- package/ts/settings/scripts/theme.d.ts +12 -12
- package/ts/shared/app.d.ts +25 -25
- package/ts/shared/app_ext_globals.d.ts +1 -6
- package/ts/shared/app_version/components/body.d.ts +2 -2
- package/ts/shared/app_version/components/index.d.ts +1 -1
- package/ts/shared/css_vars/scripts/index.d.ts +1 -1
- package/ts/shared/css_vars/scripts/main.d.ts +18 -18
- package/ts/shared/data/data/index.d.ts +1 -1
- package/ts/shared/data/data/main.d.ts +1 -4
- package/ts/shared/data/interfaces/index.d.ts +1 -1
- package/ts/shared/data/interfaces/val.d.ts +2 -2
- package/ts/shared/ext.d.ts +28 -27
- package/ts/shared/functions.d.ts +3 -3
- package/ts/shared/globals.d.ts +1 -4
- package/ts/shared/header/scripts/index.d.ts +1 -0
- package/ts/{announcement/scripts/header.d.ts → shared/header/scripts/main.d.ts} +6 -6
- package/ts/shared/init.d.ts +1 -1
- package/ts/shared/internal.d.ts +40 -32
- package/ts/shared/loading_screen/components/body.d.ts +3 -3
- package/ts/shared/loading_screen/components/index.d.ts +1 -1
- package/ts/shared/loading_screen/components/prop_types/body.d.ts +5 -5
- package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -1
- package/ts/shared/loading_screen/data/index.d.ts +1 -1
- package/ts/shared/loading_screen/data/main.d.ts +12 -12
- package/ts/shared/loading_screen/scripts/index.d.ts +2 -2
- package/ts/shared/loading_screen/scripts/roots.d.ts +11 -11
- package/ts/shared/loading_screen/scripts/tr.d.ts +8 -8
- package/ts/shared/no_tr/scripts/index.d.ts +1 -1
- package/ts/shared/no_tr/scripts/main.d.ts +12 -12
- package/ts/shared/offers/components/body.d.ts +3 -0
- package/ts/shared/offers/components/counter.d.ts +2 -0
- package/ts/shared/offers/components/index.d.ts +6 -0
- package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
- package/ts/shared/offers/components/offer.d.ts +3 -0
- package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
- package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
- package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
- package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
- package/ts/shared/offers/components/top_bar.d.ts +2 -0
- package/ts/shared/offers/data/index.d.ts +1 -0
- package/ts/shared/offers/data/main.d.ts +22 -0
- package/ts/shared/offers/interfaces/index.d.ts +1 -0
- package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
- package/ts/shared/offers/obj/index.d.ts +1 -0
- package/ts/shared/offers/obj/offer.d.ts +12 -0
- package/ts/shared/offers/scripts/index.d.ts +1 -0
- package/ts/shared/offers/scripts/main.d.ts +8 -0
- package/ts/shared/schema/data/index.d.ts +1 -1
- package/ts/shared/schema/data/main.d.ts +12 -12
- package/ts/shared/schema/obj/index.d.ts +1 -1
- package/ts/shared/schema/obj/transform_item.d.ts +7 -7
- package/ts/shared/service_worker/scripts/index.d.ts +1 -0
- package/ts/shared/service_worker/scripts/main.d.ts +9 -0
- package/ts/shared/settings/data/index.d.ts +1 -1
- package/ts/shared/settings/data/main.d.ts +15 -15
- package/ts/shared/svg.d.ts +9 -7
- package/ts/shared/t.d.ts +36 -36
- package/ts/shared/tab_index/interfaces/index.d.ts +1 -1
- package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -2
- package/ts/shared/tab_index/scripts/index.d.ts +1 -1
- package/ts/shared/tab_index/scripts/main.d.ts +18 -18
- package/ts/shared/theme/scripts/index.d.ts +1 -1
- package/ts/shared/theme/scripts/main.d.ts +11 -11
- package/ts/shared/title/scripts/index.d.ts +1 -1
- package/ts/shared/title/scripts/main.d.ts +6 -6
- package/ts/shared/tr/components/base_tr.d.ts +9 -9
- package/ts/shared/tr/components/index.d.ts +1 -1
- package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -13
- package/ts/shared/tr/components/prop_types/index.d.ts +1 -1
- package/ts/shared/tr/data/index.d.ts +1 -1
- package/ts/shared/tr/data/transition.d.ts +23 -23
- package/ts/shared/tr/interfaces/index.d.ts +1 -1
- package/ts/shared/tr/interfaces/transitions.d.ts +2 -2
- package/ts/shared/tr/obj/index.d.ts +1 -1
- package/ts/shared/tr/obj/transition.d.ts +8 -8
- package/ts/shared/utils/scripts/index.d.ts +1 -1
- package/ts/shared/utils/scripts/main.d.ts +11 -11
- package/ts/shared/vars.d.ts +2 -2
- package/ts/shared/viewport/scripts/index.d.ts +1 -1
- package/ts/shared/viewport/scripts/main.d.ts +8 -8
- package/ts/shared/x.d.ts +56 -67
- package/chunk-main-87eebf46.js +0 -1
- package/chunk-main-ddb4af78.js +0 -1
- package/chunk-main-dffc29ad.js +0 -9
- package/chunk-pickr.min-4c2d2755.js +0 -1
- package/fonts/noto_sans.woff2 +0 -0
- package/ts/announcement/components/prop_types/body.d.ts +0 -4
- package/ts/announcement/components/prop_types/index.d.ts +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i_optional_permissions } from
|
|
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
|
-
}
|
|
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
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../optional_permissions/interfaces/optional_permission_checkbox_dict';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface OptionalPermissionCheckboxDict {
|
|
2
|
-
[index: string]: any;
|
|
3
|
-
}
|
|
1
|
+
export interface OptionalPermissionCheckboxDict {
|
|
2
|
+
[index: string]: any;
|
|
3
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../scripts/theme';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
import { i_inputs } from
|
|
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
|
-
}
|
|
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
|
+
}
|
package/ts/shared/app.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
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
|
-
[index: string]: any;
|
|
8
|
-
private origin;
|
|
9
|
-
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private
|
|
16
|
-
read_data_into_vars: () => Promise<string>;
|
|
17
|
-
msg: (msg: string) => string;
|
|
18
|
-
read_env_into_global_var: () => Promise<void>;
|
|
19
|
-
get_input_errors: (errors: any, match_rules: {
|
|
20
|
-
field: string;
|
|
21
|
-
rule?: string;
|
|
22
|
-
rules_exclude?: string[];
|
|
23
|
-
input_error: string;
|
|
24
|
-
}[]) => string[];
|
|
25
|
-
}
|
|
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
|
+
[index: string]: any;
|
|
8
|
+
private origin;
|
|
9
|
+
app_root: string;
|
|
10
|
+
private messages_en_json;
|
|
11
|
+
private messages_ru_json;
|
|
12
|
+
private messages_de_json;
|
|
13
|
+
get_app_version: () => string;
|
|
14
|
+
get_language: () => string;
|
|
15
|
+
private content_dir;
|
|
16
|
+
read_data_into_vars: () => Promise<string>;
|
|
17
|
+
msg: (msg: string) => string;
|
|
18
|
+
read_env_into_global_var: () => Promise<void>;
|
|
19
|
+
get_input_errors: (errors: any, match_rules: {
|
|
20
|
+
field: string;
|
|
21
|
+
rule?: string;
|
|
22
|
+
rules_exclude?: string[];
|
|
23
|
+
input_error: string;
|
|
24
|
+
}[]) => string[];
|
|
25
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Body: React.FunctionComponent;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Body: React.FunctionComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../app_version/components/body';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../css_vars/scripts/main';
|
|
@@ -1,18 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../../data/data/main';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../data/interfaces/val';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
export
|
|
1
|
+
import { t } from '../../internal';
|
|
2
|
+
export type Val = t.AnyUndefined;
|
package/ts/shared/ext.d.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private
|
|
9
|
-
|
|
10
|
-
private
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { Tabs } from 'webextension-polyfill';
|
|
2
|
+
import { t } from './internal';
|
|
3
|
+
export declare const init_page: () => void;
|
|
4
|
+
export declare class Ext {
|
|
5
|
+
private static i0;
|
|
6
|
+
static i(): Ext;
|
|
7
|
+
private constructor();
|
|
8
|
+
private force_local_storage;
|
|
9
|
+
ext_context_invalidated: () => boolean;
|
|
10
|
+
private log_error;
|
|
11
|
+
get_app_version: () => string;
|
|
12
|
+
get_app_name: () => 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
|
+
force_local_storage_f: () => void;
|
|
24
|
+
storage_get: (keys?: string | string[], set?: boolean) => Promise<any>;
|
|
25
|
+
storage_set: (obj: t.AnyRecord, replace?: boolean) => Promise<void>;
|
|
26
|
+
storage_remove: (keys: string[]) => Promise<void>;
|
|
27
|
+
inject_js_and_css_in_content_script: (js_file_paths: string[], css_file_paths: string[]) => Promise<void>;
|
|
28
|
+
}
|
package/ts/shared/functions.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
export declare const prevent_default: (e: SyntheticEvent) => void;
|
|
3
|
-
export declare const stop_propagation: (e: SyntheticEvent) => void;
|
|
1
|
+
import { SyntheticEvent } from 'react';
|
|
2
|
+
export declare const prevent_default: (e: SyntheticEvent) => void;
|
|
3
|
+
export declare const stop_propagation: (e: SyntheticEvent) => void;
|
package/ts/shared/globals.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../header/scripts/main';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare class Header {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): Header;
|
|
4
|
-
private constructor();
|
|
5
|
-
get: () => string;
|
|
6
|
-
}
|
|
1
|
+
export declare class Header {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Header;
|
|
4
|
+
private constructor();
|
|
5
|
+
get: () => string;
|
|
6
|
+
}
|
package/ts/shared/init.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const init_shared: () => void;
|
|
1
|
+
export declare const init_shared: () => void;
|
package/ts/shared/internal.d.ts
CHANGED
|
@@ -1,32 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * as svg_namespace from
|
|
7
|
-
export * as t from
|
|
8
|
-
export * as vars from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * as c_app_version from
|
|
12
|
-
export * as c_loading_screen from
|
|
13
|
-
export * as
|
|
14
|
-
export * as
|
|
15
|
-
export * as
|
|
16
|
-
export * as
|
|
17
|
-
export * as
|
|
18
|
-
export * as
|
|
19
|
-
export * as
|
|
20
|
-
export * as
|
|
21
|
-
export * as
|
|
22
|
-
export * as
|
|
23
|
-
export * as
|
|
24
|
-
export * as
|
|
25
|
-
export * as
|
|
26
|
-
export * as
|
|
27
|
-
export * as
|
|
28
|
-
export * as
|
|
29
|
-
export * as
|
|
30
|
-
export * as
|
|
31
|
-
export * as
|
|
32
|
-
export * as
|
|
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_app_version from './app_version/components';
|
|
12
|
+
export * as c_loading_screen from './loading_screen/components';
|
|
13
|
+
export * as c_offers from './offers/components';
|
|
14
|
+
export * as c_tr from './tr/components';
|
|
15
|
+
export * as o_offers from './offers/obj';
|
|
16
|
+
export * as o_schema from './schema/obj';
|
|
17
|
+
export * as o_tr from './tr/obj';
|
|
18
|
+
export * as d_loading_screen from './loading_screen/data';
|
|
19
|
+
export * as d_offers from './offers/data';
|
|
20
|
+
export * as d_schema from './schema/data';
|
|
21
|
+
export * as d_settings from './settings/data';
|
|
22
|
+
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
|
+
export * as s_loading_screen from './loading_screen/scripts';
|
|
26
|
+
export * as s_no_tr from './no_tr/scripts';
|
|
27
|
+
export * as s_offers from './offers/scripts';
|
|
28
|
+
export * as s_service_worker from './service_worker/scripts';
|
|
29
|
+
export * as s_tab_index from './tab_index/scripts';
|
|
30
|
+
export * as s_theme from './theme/scripts';
|
|
31
|
+
export * as s_title from './title/scripts';
|
|
32
|
+
export * as s_utils from './utils/scripts';
|
|
33
|
+
export * as s_viewport from './viewport/scripts';
|
|
34
|
+
export * as p_loading_screen from './loading_screen/components/prop_types';
|
|
35
|
+
export * as p_offers from './offers/components/prop_types';
|
|
36
|
+
export * as p_tr from './tr/components/prop_types';
|
|
37
|
+
export * as i_data from './data/interfaces';
|
|
38
|
+
export * as i_offers from './offers/interfaces';
|
|
39
|
+
export * as i_tab_index from './tab_index/interfaces';
|
|
40
|
+
export * as i_tr from './tr/interfaces';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { p_loading_screen } from
|
|
3
|
-
export declare const Body: React.FunctionComponent<p_loading_screen.Body>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { p_loading_screen } from '../../internal';
|
|
3
|
+
export declare const Body: React.FunctionComponent<p_loading_screen.Body>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../loading_screen/components/body';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
export interface Body {
|
|
3
|
-
app_id: string;
|
|
4
|
-
on_render: t.CallbackVoid;
|
|
5
|
-
}
|
|
1
|
+
import { t } from '../../../internal';
|
|
2
|
+
export interface Body {
|
|
3
|
+
app_id: string;
|
|
4
|
+
on_render: t.CallbackVoid;
|
|
5
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../../loading_screen/components/prop_types/body';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../loading_screen/data/main';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare class Main {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): Main;
|
|
4
|
-
private constructor();
|
|
5
|
-
outer_is_visible: boolean;
|
|
6
|
-
private inner_is_none;
|
|
7
|
-
get inner_visibility_cls(): string;
|
|
8
|
-
show: () => Promise<void>;
|
|
9
|
-
hide: ({ app_id }: {
|
|
10
|
-
app_id: string;
|
|
11
|
-
}) => Promise<void>;
|
|
12
|
-
}
|
|
1
|
+
export declare class Main {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Main;
|
|
4
|
+
private constructor();
|
|
5
|
+
outer_is_visible: boolean;
|
|
6
|
+
private inner_is_none;
|
|
7
|
+
get inner_visibility_cls(): string;
|
|
8
|
+
show: () => Promise<void>;
|
|
9
|
+
hide: ({ app_id }: {
|
|
10
|
+
app_id: string;
|
|
11
|
+
}) => Promise<void>;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from '../../loading_screen/scripts/roots';
|
|
2
|
+
export * from '../../loading_screen/scripts/tr';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare class Roots {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): Roots;
|
|
4
|
-
private constructor();
|
|
5
|
-
hide_roots: ({ app_id }: {
|
|
6
|
-
app_id: string;
|
|
7
|
-
}) => void;
|
|
8
|
-
show_roots: ({ app_id }: {
|
|
9
|
-
app_id: string;
|
|
10
|
-
}) => void;
|
|
11
|
-
}
|
|
1
|
+
export declare class Roots {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Roots;
|
|
4
|
+
private constructor();
|
|
5
|
+
hide_roots: ({ app_id }: {
|
|
6
|
+
app_id: string;
|
|
7
|
+
}) => void;
|
|
8
|
+
show_roots: ({ app_id }: {
|
|
9
|
+
app_id: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare class Tr {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): Tr;
|
|
4
|
-
private constructor();
|
|
5
|
-
private loading_screen_root_selector;
|
|
6
|
-
enable_no_tr: () => void;
|
|
7
|
-
disable_no_tr: () => void;
|
|
8
|
-
}
|
|
1
|
+
export declare class Tr {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Tr;
|
|
4
|
+
private constructor();
|
|
5
|
+
private loading_screen_root_selector;
|
|
6
|
+
enable_no_tr: () => void;
|
|
7
|
+
disable_no_tr: () => void;
|
|
8
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../no_tr/scripts/main';
|
|
@@ -1,12 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from '../../offers/components/body';
|
|
2
|
+
export * from '../../offers/components/counter';
|
|
3
|
+
export * from '../../offers/components/next_offer_btn';
|
|
4
|
+
export * from '../../offers/components/previous_offer_btn';
|
|
5
|
+
export * from '../../offers/components/offer';
|
|
6
|
+
export * from '../../offers/components/top_bar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../offers/data/main';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { o_offers, i_offers } from '../../internal';
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
offers_of_type: o_offers.Offer[];
|
|
7
|
+
current_offer_i: number;
|
|
8
|
+
set_offers: () => void;
|
|
9
|
+
choose_random_prominent_offer: () => void;
|
|
10
|
+
set_offers_of_type: () => void;
|
|
11
|
+
private check_if_is_all_or_current_type_offer;
|
|
12
|
+
found_offers_for_current_locale: () => boolean;
|
|
13
|
+
show_previous_offer: () => void;
|
|
14
|
+
show_next_offer: () => void;
|
|
15
|
+
private get_offer_text_raw;
|
|
16
|
+
get current_offer_text(): string;
|
|
17
|
+
get_current_offer_banner: ({ offer_banner_type, }: {
|
|
18
|
+
offer_banner_type: i_offers.OfferBannerType;
|
|
19
|
+
}) => string | undefined;
|
|
20
|
+
get current_offer_banner_link(): string;
|
|
21
|
+
get current_offer_no(): number;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../offers/interfaces/offer_banner_type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type OfferBannerType = 'horizontal' | 'vertical' | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../offers/obj/offer';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class Offer {
|
|
2
|
+
name?: string;
|
|
3
|
+
exts_whitelist?: string | string[];
|
|
4
|
+
browsers_whitelist?: string | string[];
|
|
5
|
+
countries_whitelist?: string | string[];
|
|
6
|
+
countries_blacklist?: string[];
|
|
7
|
+
is_enabled?: boolean;
|
|
8
|
+
prominent?: boolean;
|
|
9
|
+
has_banner?: boolean;
|
|
10
|
+
force_offer_despite_extension_name_in_its_text?: boolean;
|
|
11
|
+
constructor(obj: Offer);
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../offers/scripts/main';
|