@loftyshaky/shared-app 1.0.2 → 1.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/LICENSE.md +21 -0
- package/_locales/de/messages.json +1 -1
- package/_locales/en/messages.json +119 -2
- package/_locales/ru/messages.json +65 -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/env.js +11 -3
- package/js/locales.js +23 -8
- 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 +35 -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/section_btns.scss +52 -52
- package/scss/settings/sections.scss +22 -0
- package/scss/settings/transitions.scss +3 -13
- package/scss/shared/btns.scss +69 -16
- package/scss/shared/checkboxes.scss +38 -38
- package/scss/shared/close_btn.scss +18 -0
- package/scss/shared/color_pickers.scss +93 -93
- package/scss/shared/colors.scss +90 -84
- package/scss/shared/embed/error.scss +45 -28
- package/scss/shared/embed/font_face.scss +1 -2
- package/scss/shared/focus.scss +15 -9
- package/scss/shared/functions.scss +5 -0
- package/scss/shared/help.scss +3 -5
- package/scss/shared/index.scss +5 -0
- package/scss/shared/input_btns.scss +12 -11
- package/scss/shared/input_error.scss +3 -0
- package/scss/shared/inputs.scss +90 -70
- package/scss/shared/inset_border.scss +1 -8
- package/scss/shared/link_btns.scss +8 -0
- package/scss/shared/links.scss +12 -0
- package/scss/shared/main.scss +3 -0
- package/scss/shared/mixins.scss +60 -6
- package/scss/shared/mods.scss +11 -5
- package/scss/shared/offers.scss +37 -0
- package/scss/shared/scrollbar.scss +35 -35
- package/scss/shared/selects.scss +8 -2
- package/scss/shared/themes/colors/aqua.scss +48 -0
- package/scss/shared/themes/colors/dark.scss +51 -12
- package/scss/shared/themes/colors/lavender.scss +52 -0
- package/scss/shared/themes/colors/light.scss +51 -12
- package/scss/shared/themes/colors/very_dark.scss +51 -12
- package/scss/shared/themes/general/aqua_theme.scss +9 -0
- package/scss/shared/themes/general/dark_theme.scss +3 -1
- package/scss/shared/themes/general/lavender_theme.scss +9 -0
- package/scss/shared/themes/general/light_theme.scss +3 -1
- package/scss/shared/themes/general/template.scss +123 -75
- package/scss/shared/themes/general/template_focus.scss +24 -10
- package/scss/shared/themes/general/very_dark_theme.scss +3 -1
- package/scss/shared/transitions.scss +23 -2
- package/scss/shared/upload_box.scss +80 -67
- package/scss/shared/vars.scss +15 -2
- 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 -4
- package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -0
- package/ts/error_modules/error/components/msg.d.ts +2 -2
- package/ts/error_modules/error/components/progress.d.ts +2 -0
- 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 -3
- package/ts/error_modules/error/data/main.d.ts +11 -10
- package/ts/error_modules/error/data/msg.d.ts +13 -15
- package/ts/error_modules/error/data/progress.d.ts +17 -0
- package/ts/error_modules/error/data/state.d.ts +25 -24
- 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 -5
- package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -0
- package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
- package/ts/error_modules/error/interfaces/show_error.d.ts +11 -6
- package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -0
- package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
- package/ts/error_modules/error/scripts/flash.d.ts +11 -0
- package/ts/error_modules/error/scripts/globals.d.ts +1 -9
- package/ts/error_modules/error/scripts/index.d.ts +3 -1
- package/ts/error_modules/error/scripts/notification.d.ts +8 -0
- package/ts/error_modules/init.d.ts +1 -0
- package/ts/error_modules/internal.d.ts +11 -10
- 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 -0
- 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 -21
- package/ts/inputs/components/input_error.d.ts +3 -0
- 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 -0
- 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 -0
- 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 -0
- 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 -21
- package/ts/inputs/components/prop_types/input_error.d.ts +4 -0
- 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 -0
- 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 -0
- package/ts/inputs/components/prop_types/range.d.ts +6 -4
- 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 -4
- package/ts/inputs/components/prop_types/select.d.ts +6 -4
- package/ts/inputs/components/prop_types/text.d.ts +6 -4
- package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
- package/ts/inputs/components/prop_types/textarea.d.ts +6 -4
- package/ts/inputs/components/prop_types/upload_box.d.ts +5 -4
- 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 -7
- package/ts/inputs/data/input_error.d.ts +12 -0
- package/ts/inputs/data/input_width.d.ts +26 -22
- package/ts/inputs/data/{label.d.ts → 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 -20
- package/ts/inputs/data/val.d.ts +41 -36
- package/ts/inputs/interfaces/btn_option.d.ts +9 -0
- package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
- package/ts/inputs/interfaces/index.d.ts +9 -8
- 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 -5
- package/ts/inputs/obj/checkbox.d.ts +5 -5
- package/ts/inputs/obj/file.d.ts +9 -8
- package/ts/inputs/obj/form.d.ts +7 -0
- 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 -6
- package/ts/inputs/obj/index.d.ts +18 -16
- package/ts/inputs/obj/input_base.d.ts +45 -37
- package/ts/inputs/obj/label.d.ts +5 -0
- package/ts/inputs/obj/link.d.ts +17 -12
- package/ts/inputs/obj/link_btn.d.ts +6 -5
- 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 -17
- package/ts/inputs/obj/select.d.ts +9 -9
- package/ts/inputs/obj/text.d.ts +18 -17
- package/ts/inputs/obj/textarea.d.ts +5 -5
- package/ts/inputs/obj/upload_box.d.ts +18 -14
- package/ts/inputs/scripts/index.d.ts +2 -2
- package/ts/inputs/scripts/resolve.d.ts +7 -5
- 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 -16
- package/ts/settings/data/index.d.ts +2 -2
- package/ts/settings/data/sections.d.ts +43 -37
- 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 -9
- 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 -18
- 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 -29
- 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 -0
- package/ts/shared/schema/data/main.d.ts +12 -0
- package/ts/shared/schema/obj/index.d.ts +1 -0
- package/ts/{settings → 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 -0
- package/ts/shared/settings/data/main.d.ts +15 -0
- package/ts/shared/svg.d.ts +9 -7
- package/ts/shared/t.d.ts +36 -34
- 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 -1
- 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 -60
- package/chunk-main-303525a1.js +0 -1
- package/chunk-main-3865bde3.js +0 -9
- package/chunk-main-6b1a6024.js +0 -1
- package/chunk-pickr.min-ee5e2c4f.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
- package/ts/settings/schema/data/index.d.ts +0 -1
- package/ts/settings/schema/data/main.d.ts +0 -10
- package/ts/settings/schema/obj/index.d.ts +0 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Михаил Винокуров
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"error_msg_label": {
|
|
12
12
|
"message": "Error message: "
|
|
13
13
|
},
|
|
14
|
+
"error_keep_visible_msg_text": {
|
|
15
|
+
"message": "Click anywhere to keep this message visible."
|
|
16
|
+
},
|
|
14
17
|
"error_more_info_btn_text": {
|
|
15
18
|
"message": "More info"
|
|
16
19
|
},
|
|
@@ -26,6 +29,9 @@
|
|
|
26
29
|
"announcement_title_text": {
|
|
27
30
|
"message": "Announcement"
|
|
28
31
|
},
|
|
32
|
+
"dependencies_title_text": {
|
|
33
|
+
"message": "Dependencies"
|
|
34
|
+
},
|
|
29
35
|
"browse_link_btn_text": {
|
|
30
36
|
"message": "Browse"
|
|
31
37
|
},
|
|
@@ -53,6 +59,9 @@
|
|
|
53
59
|
"admin_section_text": {
|
|
54
60
|
"message": "Admin"
|
|
55
61
|
},
|
|
62
|
+
"offers_section_text": {
|
|
63
|
+
"message": "Offers"
|
|
64
|
+
},
|
|
56
65
|
"download_back_up_btn_text": {
|
|
57
66
|
"message": "Download back up"
|
|
58
67
|
},
|
|
@@ -66,7 +75,7 @@
|
|
|
66
75
|
"message": "Reload extension"
|
|
67
76
|
},
|
|
68
77
|
"options_page_theme_label_text": {
|
|
69
|
-
"message": "
|
|
78
|
+
"message": "Settings page theme"
|
|
70
79
|
},
|
|
71
80
|
"transition_duration_label_text": {
|
|
72
81
|
"message": "Animation duration (ms)"
|
|
@@ -74,6 +83,15 @@
|
|
|
74
83
|
"enable_cut_features_label_text": {
|
|
75
84
|
"message": "Enable cut features"
|
|
76
85
|
},
|
|
86
|
+
"persistent_service_worker_label_text": {
|
|
87
|
+
"message": "Persistent service worker"
|
|
88
|
+
},
|
|
89
|
+
"developer_mode_label_text": {
|
|
90
|
+
"message": "Show hidden developer settings"
|
|
91
|
+
},
|
|
92
|
+
"offers_are_visible_label_text": {
|
|
93
|
+
"message": "Show offers"
|
|
94
|
+
},
|
|
77
95
|
"light_option_text": {
|
|
78
96
|
"message": "Light"
|
|
79
97
|
},
|
|
@@ -83,6 +101,12 @@
|
|
|
83
101
|
"very_dark_option_text": {
|
|
84
102
|
"message": "Very dark"
|
|
85
103
|
},
|
|
104
|
+
"lavender_option_text": {
|
|
105
|
+
"message": "Lavender"
|
|
106
|
+
},
|
|
107
|
+
"aqua_option_text": {
|
|
108
|
+
"message": "Aqua"
|
|
109
|
+
},
|
|
86
110
|
"admin_help_text": {
|
|
87
111
|
"message": "Developer/experimental features."
|
|
88
112
|
},
|
|
@@ -95,12 +119,24 @@
|
|
|
95
119
|
"hide_link_btn_text": {
|
|
96
120
|
"message": "Hide"
|
|
97
121
|
},
|
|
122
|
+
"previous_offer_btn_title": {
|
|
123
|
+
"message": "Previous offer"
|
|
124
|
+
},
|
|
125
|
+
"next_offer_btn_title": {
|
|
126
|
+
"message": "Next offer"
|
|
127
|
+
},
|
|
98
128
|
"remove_color_link_btn_text": {
|
|
99
129
|
"message": "Remove color"
|
|
100
130
|
},
|
|
101
131
|
"restore_default_palette_link_btn_text": {
|
|
102
132
|
"message": "Restore default palette"
|
|
103
133
|
},
|
|
134
|
+
"show_content_link_btn_text": {
|
|
135
|
+
"message": "Show these settings ⯆"
|
|
136
|
+
},
|
|
137
|
+
"hide_content_link_btn_text": {
|
|
138
|
+
"message": "Hide these settings ⯅"
|
|
139
|
+
},
|
|
104
140
|
"color_help_text": {
|
|
105
141
|
"message": "Right-click on the main or palette color buttons to choose a custom color. You can also do this by selecting the main or palette color buttons by Tab and then hitting Ctrl/Shift/Alt + Enter."
|
|
106
142
|
},
|
|
@@ -119,13 +155,94 @@
|
|
|
119
155
|
"support_page_link_text": {
|
|
120
156
|
"message": "📢 Support page"
|
|
121
157
|
},
|
|
158
|
+
"theme_path_link_text": {
|
|
159
|
+
"message": "🛠️ Create your own Chrome theme with the ThemePath app"
|
|
160
|
+
},
|
|
161
|
+
"dependencies_link_text": {
|
|
162
|
+
"message": "🧩 Dependencies"
|
|
163
|
+
},
|
|
164
|
+
"privacy_policy_link_href": {
|
|
165
|
+
"message": "https://github.com/loftyshaky/extensions-privacy-policy/blob/main/extensions-privacy-policy.md"
|
|
166
|
+
},
|
|
167
|
+
"facebook_page_link_href": {
|
|
168
|
+
"message": "https://www.facebook.com/browservery"
|
|
169
|
+
},
|
|
170
|
+
"support_page_link_href": {
|
|
171
|
+
"message": "https://groups.google.com/g/browservery"
|
|
172
|
+
},
|
|
173
|
+
"theme_path_link_href": {
|
|
174
|
+
"message": "https://apps.microsoft.com/detail/9NMBWGHTQMPD"
|
|
175
|
+
},
|
|
176
|
+
"dependencies_link_href": {
|
|
177
|
+
"message": "dependencies.html"
|
|
178
|
+
},
|
|
179
|
+
"offer_clear_new_tab_text": {
|
|
180
|
+
"message": "Install the @Clear New Tab@ extension to remove everything from the new tab page and display any image, gif or video in it as a wallpaper."
|
|
181
|
+
},
|
|
182
|
+
"offer_empty_new_tab_page_text": {
|
|
183
|
+
"message": "Install the @Empty New Tab Page@ extension to replace the default new tab page with a blank page."
|
|
184
|
+
},
|
|
185
|
+
"offer_search_enhancer_for_google_text": {
|
|
186
|
+
"message": "Install the @Search Enhancer for Google™@ extension to add infinite scroll, favicons, server locations, \"View image\" button, \"Download image\" button and more to Google search."
|
|
187
|
+
},
|
|
188
|
+
"offer_scroll_to_top_text": {
|
|
189
|
+
"message": "Install the @Scroll to Top@ extension to quickly scroll to top or bottom of the page and then return to the previous position."
|
|
190
|
+
},
|
|
191
|
+
"offer_close_other_tabs_text": {
|
|
192
|
+
"message": "Install the @Close Other Tabs@ extension to close other tabs with one click on the extension icon, via context menu or with keyboard shortcuts."
|
|
193
|
+
},
|
|
194
|
+
"offer_advanced_extension_reloader_text": {
|
|
195
|
+
"message": "Install the @Advanced Extension Reloader@ extension to reload an unpacked extension with one click, hotkey or automatically (extension for developers)."
|
|
196
|
+
},
|
|
197
|
+
"offer_clear_new_tab_chrome_link_href": {
|
|
198
|
+
"message": "https://chromewebstore.google.com/detail/felphkbfjadmcejnibcmcncimlappdde"
|
|
199
|
+
},
|
|
200
|
+
"offer_clear_new_tab_edge_link_href": {
|
|
201
|
+
"message": "https://microsoftedge.microsoft.com/addons/detail/ifphophaconbhfmkpdlfldelkjpjmlbj"
|
|
202
|
+
},
|
|
203
|
+
"offer_clear_new_tab_firefox_link_href": {
|
|
204
|
+
"message": "https://addons.mozilla.org/firefox/addon/clear-new-tab"
|
|
205
|
+
},
|
|
206
|
+
"offer_search_enhancer_for_google_chrome_link_href": {
|
|
207
|
+
"message": "https://chromewebstore.google.com/detail/pipbbdfondfipmjmdkmggihiknhmcfhd"
|
|
208
|
+
},
|
|
209
|
+
"offer_search_enhancer_for_google_edge_link_href": {
|
|
210
|
+
"message": "https://microsoftedge.microsoft.com/addons/detail/hfbafhkogonfgpkdopodhajncnodbbhd"
|
|
211
|
+
},
|
|
212
|
+
"offer_advanced_extension_reloader_chrome_link_href": {
|
|
213
|
+
"message": "https://chromewebstore.google.com/detail/hagknokdofkmojolcpbddjfdjhnjdkae"
|
|
214
|
+
},
|
|
215
|
+
"offer_advanced_extension_reloader_edge_link_href": {
|
|
216
|
+
"message": "https://microsoftedge.microsoft.com/addons/detail/bcpgohifjmmcoiemghdamamlkbcbgifg"
|
|
217
|
+
},
|
|
218
|
+
"offer_empty_new_tab_page_chrome_link_href": {
|
|
219
|
+
"message": "https://chromewebstore.google.com/detail/odjfoclbnmllekbhpbgopiiaelcpeimb"
|
|
220
|
+
},
|
|
221
|
+
"offer_empty_new_tab_page_edge_link_href": {
|
|
222
|
+
"message": "https://microsoftedge.microsoft.com/addons/detail/cbdaoffmmppingmciephekphbcfngkkk"
|
|
223
|
+
},
|
|
224
|
+
"offer_scroll_to_top_chrome_link_href": {
|
|
225
|
+
"message": "https://chromewebstore.google.com/detail/obebfhocibioiakindbigklnhhknkcdc"
|
|
226
|
+
},
|
|
227
|
+
"offer_scroll_to_top_edge_link_href": {
|
|
228
|
+
"message": "https://microsoftedge.microsoft.com/addons/detail/cjmbcpckfanombcljcmgnhbdobjblbkk"
|
|
229
|
+
},
|
|
230
|
+
"offer_close_other_tabs_chrome_link_href": {
|
|
231
|
+
"message": "https://chromewebstore.google.com/detail/higiahnfphokonkjalljdfgjhafdjbil"
|
|
232
|
+
},
|
|
122
233
|
"restore_defaults_confirm": {
|
|
123
234
|
"message": "Restore default settings?"
|
|
124
235
|
},
|
|
125
236
|
"restore_default_palette_confirm": {
|
|
126
237
|
"message": "Restore default palette?"
|
|
127
238
|
},
|
|
239
|
+
"youre_now_a_developer_notification": {
|
|
240
|
+
"message": "You're now a developer!"
|
|
241
|
+
},
|
|
128
242
|
"invalid_file_type_back_up_error": {
|
|
129
243
|
"message": "Invalid file type. Upload a backed up json file."
|
|
244
|
+
},
|
|
245
|
+
"unable_to_access_settings_error": {
|
|
246
|
+
"message": "Fatal error. Unable to access settings."
|
|
130
247
|
}
|
|
131
|
-
}
|
|
248
|
+
}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"error_msg_label": {
|
|
12
12
|
"message": "Сообщение ошибки: "
|
|
13
13
|
},
|
|
14
|
+
"error_keep_visible_msg_text": {
|
|
15
|
+
"message": "Нажмите в любое место чтобы отменить скрытие этого сообщения."
|
|
16
|
+
},
|
|
14
17
|
"error_more_info_btn_text": {
|
|
15
18
|
"message": "Больше информации"
|
|
16
19
|
},
|
|
@@ -50,6 +53,9 @@
|
|
|
50
53
|
"admin_section_text": {
|
|
51
54
|
"message": "Администрирование"
|
|
52
55
|
},
|
|
56
|
+
"offers_section_text": {
|
|
57
|
+
"message": "Предложения"
|
|
58
|
+
},
|
|
53
59
|
"download_back_up_btn_text": {
|
|
54
60
|
"message": "Скачать резорвную копию"
|
|
55
61
|
},
|
|
@@ -60,7 +66,7 @@
|
|
|
60
66
|
"message": "Восстановить настройки по умолчанию"
|
|
61
67
|
},
|
|
62
68
|
"reload_ext_btn_text": {
|
|
63
|
-
"message": "
|
|
69
|
+
"message": "Перезагрузить расширение"
|
|
64
70
|
},
|
|
65
71
|
"options_page_theme_label_text": {
|
|
66
72
|
"message": "Тема страницы насроек"
|
|
@@ -71,6 +77,15 @@
|
|
|
71
77
|
"enable_cut_features_label_text": {
|
|
72
78
|
"message": "Включить вырезанные функции"
|
|
73
79
|
},
|
|
80
|
+
"persistent_service_worker_label_text": {
|
|
81
|
+
"message": "Персистентный service worker"
|
|
82
|
+
},
|
|
83
|
+
"developer_mode_label_text": {
|
|
84
|
+
"message": "Показывать скрытые настройки для разработчиков"
|
|
85
|
+
},
|
|
86
|
+
"offers_are_visible_label_text": {
|
|
87
|
+
"message": "Показывать предложения"
|
|
88
|
+
},
|
|
74
89
|
"light_option_text": {
|
|
75
90
|
"message": "Светлая"
|
|
76
91
|
},
|
|
@@ -80,6 +95,12 @@
|
|
|
80
95
|
"very_dark_option_text": {
|
|
81
96
|
"message": "Очень тёмная"
|
|
82
97
|
},
|
|
98
|
+
"lavender_option_text": {
|
|
99
|
+
"message": "Лаванда"
|
|
100
|
+
},
|
|
101
|
+
"aqua_option_text": {
|
|
102
|
+
"message": "Морская волна"
|
|
103
|
+
},
|
|
83
104
|
"admin_help_text": {
|
|
84
105
|
"message": "Функции для разработчиков/экспериментальные функции."
|
|
85
106
|
},
|
|
@@ -92,12 +113,24 @@
|
|
|
92
113
|
"hide_link_btn_text": {
|
|
93
114
|
"message": "Скрыть"
|
|
94
115
|
},
|
|
116
|
+
"previous_offer_btn_title": {
|
|
117
|
+
"message": "Предыдущее предложение"
|
|
118
|
+
},
|
|
119
|
+
"next_offer_btn_title": {
|
|
120
|
+
"message": "Следующее предложение"
|
|
121
|
+
},
|
|
95
122
|
"remove_color_link_btn_text": {
|
|
96
123
|
"message": "Удалить цвет"
|
|
97
124
|
},
|
|
98
125
|
"restore_default_palette_link_btn_text": {
|
|
99
126
|
"message": "Восстановить палитру по-умолчанию"
|
|
100
127
|
},
|
|
128
|
+
"show_content_link_btn_text": {
|
|
129
|
+
"message": "Показать эти настройки ⯆"
|
|
130
|
+
},
|
|
131
|
+
"hide_content_link_btn_text": {
|
|
132
|
+
"message": "Скрыть эти настройки ⯅"
|
|
133
|
+
},
|
|
101
134
|
"color_help_text": {
|
|
102
135
|
"message": "Кликните правой кнопкой мыши на основную кнопку цвета или кнопку цвета из палитры чтобы выбрать пользовательский цвет. Вы также можете сделать это, выбрав основную кнопку цвета или кнопку цвета из палитры с помощью Tab и затем нажать Ctrl/Shift/Alt + Enter."
|
|
103
136
|
},
|
|
@@ -116,13 +149,43 @@
|
|
|
116
149
|
"support_page_link_text": {
|
|
117
150
|
"message": "📢 Страница поддержки"
|
|
118
151
|
},
|
|
152
|
+
"dependencies_link_text": {
|
|
153
|
+
"message": "🧩 Зависимости"
|
|
154
|
+
},
|
|
155
|
+
"theme_path_link_text": {
|
|
156
|
+
"message": "🛠️ Создайте свою собственную тему для Chrome с помощью приложения ThemePath"
|
|
157
|
+
},
|
|
158
|
+
"offer_clear_new_tab_text": {
|
|
159
|
+
"message": "Установите расширение @Clear New Tab@ позволяющее убрать все со страницы новой вкладки и отображать любое изображение, гифку или видео в качестве обоев."
|
|
160
|
+
},
|
|
161
|
+
"offer_empty_new_tab_page_text": {
|
|
162
|
+
"message": "Установите расширение @Пустая новая вкладка@ позволяющее заменить стадартную новую вкладку на пустую страницу."
|
|
163
|
+
},
|
|
164
|
+
"offer_search_enhancer_for_google_text": {
|
|
165
|
+
"message": "Установите расширение @Search Enhancer for Google™@ чтобы добавить автоматическую загрузку страниц, фавиконы, местоположение серверов, кнопку \"Открыть в полном размере\", кнопку \"Скачать картинку\" и другое к поисковику Google."
|
|
166
|
+
},
|
|
167
|
+
"offer_scroll_to_top_text": {
|
|
168
|
+
"message": "Установите расширение @Scroll to Top@ для быстрой прокрутки вверх или вниз страницы и возвращения на предыдущую позицию."
|
|
169
|
+
},
|
|
170
|
+
"offer_close_other_tabs_text": {
|
|
171
|
+
"message": "Установите расширение @Закрыть другие вкладки@ позволяющее закрывать другие вкладки в один клик на иконку расширения, через контекстное меню или с помощью сочетаний клавиш."
|
|
172
|
+
},
|
|
173
|
+
"offer_advanced_extension_reloader_text": {
|
|
174
|
+
"message": "Установите расширение @Advanced Extension Reloader@ позволяющее перезагрузагружать распакованное расширение в один клик, горячей клавишей или автоматически (расширение для разработчиков)."
|
|
175
|
+
},
|
|
119
176
|
"restore_defaults_confirm": {
|
|
120
177
|
"message": "Восстановить настройки по умолчанию?"
|
|
121
178
|
},
|
|
122
179
|
"restore_default_palette_confirm": {
|
|
123
180
|
"message": "Восстановить палитру по-умолчанию?"
|
|
124
181
|
},
|
|
182
|
+
"youre_now_a_developer_notification": {
|
|
183
|
+
"message": "Вы стали разработчиком!"
|
|
184
|
+
},
|
|
125
185
|
"invalid_file_type_back_up_error": {
|
|
126
186
|
"message": "Недопустимый тип файла. Загрузите ранее скачаный json файл резервной копии."
|
|
187
|
+
},
|
|
188
|
+
"unable_to_access_settings_error": {
|
|
189
|
+
"message": "Неустранимая ошибка. Не удалось получить доступ к настройкам."
|
|
127
190
|
}
|
|
128
|
-
}
|
|
191
|
+
}
|
package/announcement.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { c_announcement, s_announcement } from
|
|
1
|
+
import './ts/shared/internal';
|
|
2
|
+
export { c_announcement, s_announcement } from './ts/announcement/internal';
|
package/announcement.js
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
"use strict";var main=require("./chunk-main.js"),React=require("react"),main$1=require("./chunk-main4.js");require("react-dom");const Body=main.observer((()=>React.createElement("div",{className:"main"},React.createElement("h1",{className:"header"},main$1.Header.i().get()),React.createElement("div",{className:"msg_to_user",dangerouslySetInnerHTML:{__html:app.msg(`msg_to_user_${env.browser}_text`)}}))));var index$1=Object.freeze({__proto__:null,Body:Body});var index=Object.freeze({__proto__:null,Display:class{static i(){return this.i0||(this.i0=new this)}constructor(){this.display_announcement=()=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){we.tabs.create({url:we.runtime.getURL("announcement.html")})}))),"shr_1231")}}});exports.c_announcement=index$1,exports.s_announcement=index;
|
package/app.d.ts
CHANGED
package/app.js
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
"use strict";var main$1=require("./chunk-main.js"),main=require("./chunk-main2.js");require("react"),require("react-dom"),globalThis.page="front_end",globalThis.is_node="undefined"!=typeof process&&"node"===process.release.name;globalThis.misplaced_dependency=culprit_page=>err((()=>{if(page!==culprit_page){const msg=`DEPENDENCIES FROM THE OTHER PAGE ACCIDENTALLY LOADED INTO THIS PAGE!!!\nCULPRIT PAGE: ${culprit_page.toUpperCase()}`;"back_end"===page?console.log(msg):alert(msg)}}),"shr_1193");class App{static i(){return this.i0||(this.i0=new this)}constructor(){this.log_error=(error_obj,error_code)=>{main.Main.i().output_error(error_obj,error_code)},this.origin=globalThis.location?globalThis.location.origin:"",this.app_root="",this.get_app_version=()=>{try{return env.version}catch(error_obj){this.log_error(error_obj,"shr_1238")}return""},this.get_language=()=>n(data)&&n(data.settings)&&data.settings.locale?data.settings.locale:"en",this.content_dir=()=>{try{if(globalThis.is_node){return require("path").join(this.app_root,"public","assets")}return n(env)&&"adonis_app"===env.env?`${this.origin}/assets/`:"dist/"}catch(error_obj){this.log_error(error_obj,"shr_1237")}return""},this.read_data_into_vars=()=>main$1.__awaiter(this,void 0,void 0,(function*(){try{const set_messages_json=({locale:locale})=>main$1.__awaiter(this,void 0,void 0,(function*(){try{if(globalThis.is_node){const path=require("path"),fs=require("fs-extra"),messages_path=path.join(this.content_dir(),"_locales",locale,"messages.json");fs.existsSync(messages_path)&&(this[`messages_${locale}_json`]=fs.readJSONSync(messages_path))}else{const path=`${this.content_dir()}_locales/${locale}/messages.json`;if((yield fetch(path,{method:"HEAD"})).ok){const response=yield fetch(path);this[`messages_${locale}_json`]=yield response.json()}}}catch(error_obj){this.log_error(error_obj,"shr_1233")}}));yield set_messages_json({locale:"en"}),yield set_messages_json({locale:"ru"}),yield set_messages_json({locale:"de"})}catch(error_obj){this.log_error(error_obj,"shr_1191")}return""})),this.msg=msg=>{try{const get_msgs=({user_language:user_language})=>this[`messages_${user_language}_json`]||{},user_language=this.get_language(),is_english=user_language.includes("en"),en_msgs=get_msgs({user_language:"en"}),localized_msgs=is_english?void 0:get_msgs({user_language:user_language});let msg_2=n(en_msgs[msg])&&n(en_msgs[msg].message)?en_msgs[msg].message:"";return is_english||(msg_2=n(localized_msgs)&&n(localized_msgs[msg])&&n(localized_msgs[msg].message)?localized_msgs[msg].message:msg_2),n(msg_2)?msg_2:""}catch(error_obj){this.log_error(error_obj,"shr_1192")}return""},this.read_env_into_global_var=()=>main$1.__awaiter(this,void 0,void 0,(function*(){try{let env_file_text="";if(globalThis.is_node){const path=require("path");env_file_text=require("fs-extra").readFileSync(path.join(this.content_dir(),"env.js"),{encoding:"utf8"})}else{const response=yield fetch(`${this.origin}/env.js`);env_file_text=yield response.text()}globalThis.env=JSON.parse(env_file_text.replace("globalThis.env = ",""))}catch(error_obj){this.log_error(error_obj,"shr_1232")}})),this.get_input_errors=(errors,match_rules)=>{try{const input_errors=[];if(!errors.success)return errors.messages.errors.forEach((error=>{match_rules.forEach((match_rule=>{const exclusion_matched=n(match_rule.rules_exclude)&&match_rule.rules_exclude.some((rule_exclude=>rule_exclude===match_rule.rule));!(error.field!==match_rule.field||n(match_rule.rule)&&error.rule!==match_rule.rule||exclusion_matched)&&input_errors.push(match_rule.input_error)}))})),input_errors}catch(error_obj){this.log_error(error_obj,"shr_1242")}return[]}}}globalThis.app=App.i(),err((()=>{const title=globalThis.document?document.querySelector("title"):void 0;globalThis.page=n(title)&&n(title.dataset.page)?title.dataset.page:"back_end"}),"shr_1190"),exports.App=App;
|