@loftyshaky/shared 1.5.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 +44 -20
- package/_locales/ru/messages.json +6 -18
- 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/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 +26 -3
- package/package.json +1 -1
- 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/transitions.scss +1 -1
- 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/inputs.scss +4 -1
- package/scss/shared/inset_border.scss +1 -4
- package/scss/shared/mixins.scss +11 -7
- package/scss/shared/mods.scss +1 -3
- 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 +16 -10
- package/scss/shared/themes/general/template_focus.scss +6 -4
- package/scss/shared/transitions.scss +1 -1
- package/scss/shared/upload_box.scss +2 -3
- package/scss/shared/vars.scss +9 -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 -7
- 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 -45
- 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 -31
- 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 -8
- 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 -1
- package/ts/settings/developer_mode/data/main.d.ts +13 -13
- package/ts/settings/init.d.ts +1 -1
- package/ts/settings/internal.d.ts +8 -8
- 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 -30
- 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 -39
- 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 -3
- package/ts/shared/offers/components/counter.d.ts +2 -2
- package/ts/shared/offers/components/index.d.ts +6 -6
- package/ts/shared/offers/components/next_offer_btn.d.ts +2 -2
- package/ts/shared/offers/components/offer.d.ts +3 -3
- package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -2
- package/ts/shared/offers/components/prop_types/body.d.ts +5 -5
- package/ts/shared/offers/components/prop_types/index.d.ts +2 -2
- package/ts/shared/offers/components/prop_types/offer.d.ts +4 -4
- package/ts/shared/offers/components/top_bar.d.ts +2 -2
- package/ts/shared/offers/data/index.d.ts +1 -1
- package/ts/shared/offers/data/main.d.ts +22 -22
- package/ts/shared/offers/interfaces/index.d.ts +1 -1
- package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -1
- package/ts/shared/offers/obj/index.d.ts +1 -1
- package/ts/shared/offers/obj/offer.d.ts +12 -10
- package/ts/shared/offers/scripts/index.d.ts +1 -1
- package/ts/shared/offers/scripts/main.d.ts +8 -8
- 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 -1
- package/ts/shared/service_worker/scripts/main.d.ts +9 -9
- 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 -9
- 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 -69
- package/chunk-main-061e9d8b.js +0 -1
- package/chunk-main-499559bc.js +0 -9
- package/chunk-main-999e7bd1.js +0 -1
- package/chunk-pickr.min-e5a99742.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 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../service_worker/scripts/main';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class ServiceWorker {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): ServiceWorker;
|
|
4
|
-
private constructor();
|
|
5
|
-
private make_persistent_intervals;
|
|
6
|
-
private persistent_service_worker;
|
|
7
|
-
make_persistent: () => Promise<void>;
|
|
8
|
-
private clear_make_persistent_intervals;
|
|
9
|
-
}
|
|
1
|
+
export declare class ServiceWorker {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): ServiceWorker;
|
|
4
|
+
private constructor();
|
|
5
|
+
private make_persistent_intervals;
|
|
6
|
+
private persistent_service_worker;
|
|
7
|
+
make_persistent: () => Promise<void>;
|
|
8
|
+
private clear_make_persistent_intervals;
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../settings/data/main';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
export declare class Main {
|
|
3
|
-
private static i0;
|
|
4
|
-
static i(): Main;
|
|
5
|
-
private constructor();
|
|
6
|
-
set: ({ settings, settings_are_corrupt, }?: {
|
|
7
|
-
settings?: any;
|
|
8
|
-
settings_are_corrupt?: boolean | undefined;
|
|
9
|
-
}) => Promise<void>;
|
|
10
|
-
change: ({ key, val }: {
|
|
11
|
-
key: string;
|
|
12
|
-
val: t.AnyUndefined;
|
|
13
|
-
}) => Promise<void>;
|
|
14
|
-
set_from_storage: () => Promise<void>;
|
|
15
|
-
}
|
|
1
|
+
import { t } from '../../internal';
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
set: ({ settings, settings_are_corrupt, }?: {
|
|
7
|
+
settings?: any;
|
|
8
|
+
settings_are_corrupt?: boolean | undefined;
|
|
9
|
+
}) => Promise<void>;
|
|
10
|
+
change: ({ key, val }: {
|
|
11
|
+
key: string;
|
|
12
|
+
val: t.AnyUndefined;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
set_from_storage: () => Promise<void>;
|
|
15
|
+
}
|
package/ts/shared/svg.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
Check: string;
|
|
3
|
-
Close: string;
|
|
4
|
-
Help: string;
|
|
5
|
-
Hourglass: string;
|
|
6
|
-
NavigateBefore: string;
|
|
7
|
-
NavigateNext: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const svg: SvgType;
|
|
1
|
+
export type SvgType = {
|
|
2
|
+
Check: string;
|
|
3
|
+
Close: string;
|
|
4
|
+
Help: string;
|
|
5
|
+
Hourglass: string;
|
|
6
|
+
NavigateBefore: string;
|
|
7
|
+
NavigateNext: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const svg: SvgType;
|
package/ts/shared/t.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export interface Env {
|
|
29
|
-
version: string;
|
|
30
|
-
browser: Browser;
|
|
31
|
-
mode: 'development' | 'production';
|
|
32
|
-
env: 'ext' | 'app' | 'adonis_app';
|
|
33
|
-
}
|
|
34
|
-
export interface Msg {
|
|
35
|
-
[index: string]: any;
|
|
36
|
-
}
|
|
1
|
+
export type XEl = HTMLElement | ShadowRoot | ChildNode | undefined | null;
|
|
2
|
+
export type XElNoShadow = HTMLElement | ChildNode | undefined | null;
|
|
3
|
+
export type XEls = HTMLElement[] | NodeList | HTMLElement | undefined;
|
|
4
|
+
export type Browser = 'chrome' | 'edge' | 'opera' | 'firefox';
|
|
5
|
+
export type BaseEl = Document | ShadowRoot | HTMLElement | undefined;
|
|
6
|
+
export type Any = string | number | boolean | AnyRecord;
|
|
7
|
+
export type AnyUndefined = string | number | boolean | AnyRecord | undefined;
|
|
8
|
+
export type AnyArray = string[] | number[] | boolean[] | AnyRecord[];
|
|
9
|
+
export type AnyArrayUndefined = string[] | number[] | boolean[] | AnyRecord[] | undefined;
|
|
10
|
+
export type AnyRecord = Record<string, any>;
|
|
11
|
+
export type EmptyRecord = Record<string, never>;
|
|
12
|
+
export type StringRecord = Record<string, string>;
|
|
13
|
+
export type CallbackString = () => string;
|
|
14
|
+
export type CallbackNumber = () => number;
|
|
15
|
+
export type CallbackBoolean = () => boolean;
|
|
16
|
+
export type CallbackUndefined = () => undefined;
|
|
17
|
+
export type CallbackAnyObj = () => AnyRecord;
|
|
18
|
+
export type CallbackVoid = () => void;
|
|
19
|
+
export type CallbackAny = () => any;
|
|
20
|
+
export type CallbackVariadicString = (...args: any[]) => string;
|
|
21
|
+
export type CallbackVariadicNumber = (...args: any[]) => number;
|
|
22
|
+
export type CallbackVariadicBoolean = (...args: any[]) => boolean;
|
|
23
|
+
export type CallbackVariadicUndefined = (...args: any[]) => undefined;
|
|
24
|
+
export type CallbackVariadicAnyObj = (...args: any[]) => AnyRecord;
|
|
25
|
+
export type CallbackVariadicVoid = (...args: any[]) => void;
|
|
26
|
+
export type CallbackVariadicAny = (...args: any[]) => any;
|
|
27
|
+
export type Constructable<T1> = new (args?: T1) => T1;
|
|
28
|
+
export interface Env {
|
|
29
|
+
version: string;
|
|
30
|
+
browser: Browser;
|
|
31
|
+
mode: 'development' | 'production';
|
|
32
|
+
env: 'ext' | 'app' | 'adonis_app';
|
|
33
|
+
}
|
|
34
|
+
export interface Msg {
|
|
35
|
+
[index: string]: any;
|
|
36
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../tab_index/interfaces/set_Input_type_event';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MouseEvent, KeyboardEvent } from 'react';
|
|
2
|
-
export
|
|
1
|
+
import { MouseEvent, KeyboardEvent } from 'react';
|
|
2
|
+
export type SetInputTypeEvent = MouseEvent | KeyboardEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../tab_index/scripts/main';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { KeyboardEvent } from 'react';
|
|
2
|
-
import { o_color, i_color } from
|
|
3
|
-
export declare class Main {
|
|
4
|
-
private static i0;
|
|
5
|
-
static i(): Main;
|
|
6
|
-
outer_is_visible: boolean;
|
|
7
|
-
inner_is_none: boolean;
|
|
8
|
-
private set_input_type;
|
|
9
|
-
bind_set_input_type_f: ({ parent, app_id, }?: {
|
|
10
|
-
parent?: HTMLElement | undefined;
|
|
11
|
-
app_id?: string | undefined;
|
|
12
|
-
}) => void;
|
|
13
|
-
simulate_click_on_enter: (e: KeyboardEvent) => void;
|
|
14
|
-
simulate_color_visualization_click_on_enter: ({ input, i, }: {
|
|
15
|
-
input: o_color.Color;
|
|
16
|
-
i: i_color.I;
|
|
17
|
-
}, e: KeyboardEvent) => void;
|
|
18
|
-
}
|
|
1
|
+
import { KeyboardEvent } from 'react';
|
|
2
|
+
import { o_color, i_color } from '../../../inputs/internal';
|
|
3
|
+
export declare class Main {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Main;
|
|
6
|
+
outer_is_visible: boolean;
|
|
7
|
+
inner_is_none: boolean;
|
|
8
|
+
private set_input_type;
|
|
9
|
+
bind_set_input_type_f: ({ parent, app_id, }?: {
|
|
10
|
+
parent?: HTMLElement | undefined;
|
|
11
|
+
app_id?: string | undefined;
|
|
12
|
+
}) => void;
|
|
13
|
+
simulate_click_on_enter: (e: KeyboardEvent) => void;
|
|
14
|
+
simulate_color_visualization_click_on_enter: ({ input, i, }: {
|
|
15
|
+
input: o_color.Color;
|
|
16
|
+
i: i_color.I;
|
|
17
|
+
}, e: KeyboardEvent) => void;
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../theme/scripts/main';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
export declare class Main {
|
|
3
|
-
private static i0;
|
|
4
|
-
static i(): Main;
|
|
5
|
-
private constructor();
|
|
6
|
-
set: ({ name, el, additional_theme_callback, }: {
|
|
7
|
-
name: string;
|
|
8
|
-
el?: HTMLElement | undefined;
|
|
9
|
-
additional_theme_callback?: t.CallbackVariadicVoid | undefined;
|
|
10
|
-
}) => Promise<void>;
|
|
11
|
-
}
|
|
1
|
+
import { t } from '../../internal';
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
set: ({ name, el, additional_theme_callback, }: {
|
|
7
|
+
name: string;
|
|
8
|
+
el?: HTMLElement | undefined;
|
|
9
|
+
additional_theme_callback?: t.CallbackVariadicVoid | undefined;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../title/scripts/main';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare class Main {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): Main;
|
|
4
|
-
private constructor();
|
|
5
|
-
set: () => void;
|
|
6
|
-
}
|
|
1
|
+
export declare class Main {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Main;
|
|
4
|
+
private constructor();
|
|
5
|
+
set: () => void;
|
|
6
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { p_tr, i_tr } from
|
|
3
|
-
export declare class BaseTr extends React.Component<p_tr.BaseTr> {
|
|
4
|
-
private tr_el_ref;
|
|
5
|
-
transitions: i_tr.Transitions;
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
componentDidUpdate(): void;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { p_tr, i_tr } from '../../internal';
|
|
3
|
+
export declare class BaseTr extends React.Component<p_tr.BaseTr> {
|
|
4
|
+
private tr_el_ref;
|
|
5
|
+
transitions: i_tr.Transitions;
|
|
6
|
+
componentDidMount(): void;
|
|
7
|
+
componentDidUpdate(): void;
|
|
8
|
+
render(): JSX.Element;
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../tr/components/base_tr';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { t } from
|
|
3
|
-
export interface BaseTr {
|
|
4
|
-
name: string;
|
|
5
|
-
tag: any;
|
|
6
|
-
cls: string;
|
|
7
|
-
state: boolean;
|
|
8
|
-
attr?: Record<string, any>;
|
|
9
|
-
style?: Record<string, string | number | undefined>;
|
|
10
|
-
tr_end_unactive?: t.CallbackVoid[];
|
|
11
|
-
tr_end_active?: t.CallbackVoid[];
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { t } from '../../../internal';
|
|
3
|
+
export interface BaseTr {
|
|
4
|
+
name: string;
|
|
5
|
+
tag: any;
|
|
6
|
+
cls: string;
|
|
7
|
+
state: boolean;
|
|
8
|
+
attr?: Record<string, any>;
|
|
9
|
+
style?: Record<string, string | number | undefined>;
|
|
10
|
+
tr_end_unactive?: t.CallbackVoid[];
|
|
11
|
+
tr_end_active?: t.CallbackVoid[];
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../../tr/components/prop_types/base_tr';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../tr/data/transition';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { t, i_tr } from
|
|
3
|
-
export declare class Transition {
|
|
4
|
-
private static i0;
|
|
5
|
-
static i(): Transition;
|
|
6
|
-
private constructor();
|
|
7
|
-
handle_transition: ({ name, state, tr_end_unactive, tr_end_active, tr_el_ref, called_from_component_did_update, }: {
|
|
8
|
-
name: string;
|
|
9
|
-
state: boolean;
|
|
10
|
-
tr_end_unactive?: t.CallbackVoid[] | undefined;
|
|
11
|
-
tr_end_active?: t.CallbackVoid[] | undefined;
|
|
12
|
-
tr_el_ref: React.RefObject<HTMLElement>;
|
|
13
|
-
called_from_component_did_update: boolean;
|
|
14
|
-
}, e?: React.TransitionEvent) => void;
|
|
15
|
-
transit: ({ transitions, name, state, }: {
|
|
16
|
-
transitions: i_tr.Transitions;
|
|
17
|
-
name: string;
|
|
18
|
-
state: boolean;
|
|
19
|
-
}) => string;
|
|
20
|
-
run_tr_end_callbacks: ({ tr_end_callbacks, }: {
|
|
21
|
-
tr_end_callbacks: t.CallbackVariadicVoid[];
|
|
22
|
-
}, e: React.TransitionEvent) => void;
|
|
23
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { t, i_tr } from '../../internal';
|
|
3
|
+
export declare class Transition {
|
|
4
|
+
private static i0;
|
|
5
|
+
static i(): Transition;
|
|
6
|
+
private constructor();
|
|
7
|
+
handle_transition: ({ name, state, tr_end_unactive, tr_end_active, tr_el_ref, called_from_component_did_update, }: {
|
|
8
|
+
name: string;
|
|
9
|
+
state: boolean;
|
|
10
|
+
tr_end_unactive?: t.CallbackVoid[] | undefined;
|
|
11
|
+
tr_end_active?: t.CallbackVoid[] | undefined;
|
|
12
|
+
tr_el_ref: React.RefObject<HTMLElement>;
|
|
13
|
+
called_from_component_did_update: boolean;
|
|
14
|
+
}, e?: React.TransitionEvent) => void;
|
|
15
|
+
transit: ({ transitions, name, state, }: {
|
|
16
|
+
transitions: i_tr.Transitions;
|
|
17
|
+
name: string;
|
|
18
|
+
state: boolean;
|
|
19
|
+
}) => string;
|
|
20
|
+
run_tr_end_callbacks: ({ tr_end_callbacks, }: {
|
|
21
|
+
tr_end_callbacks: t.CallbackVariadicVoid[];
|
|
22
|
+
}, e: React.TransitionEvent) => void;
|
|
23
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../tr/interfaces/transitions';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o_tr } from
|
|
2
|
-
export
|
|
1
|
+
import { o_tr } from '../../internal';
|
|
2
|
+
export type Transitions = Record<string, o_tr.Transition>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../tr/obj/transition';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare class Transition {
|
|
2
|
-
unactive_cls: string;
|
|
3
|
-
active_cls: string;
|
|
4
|
-
constructor(obj: {
|
|
5
|
-
unactive_cls: string;
|
|
6
|
-
active_cls: string;
|
|
7
|
-
});
|
|
8
|
-
}
|
|
1
|
+
export declare class Transition {
|
|
2
|
+
unactive_cls: string;
|
|
3
|
+
active_cls: string;
|
|
4
|
+
constructor(obj: {
|
|
5
|
+
unactive_cls: string;
|
|
6
|
+
active_cls: string;
|
|
7
|
+
});
|
|
8
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../utils/scripts/main';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
export declare class Main {
|
|
3
|
-
private static i0;
|
|
4
|
-
static i(): Main;
|
|
5
|
-
private constructor();
|
|
6
|
-
to_object: ({ arr, section, subsection, }: {
|
|
7
|
-
arr: t.AnyRecord[];
|
|
8
|
-
section?: string | undefined;
|
|
9
|
-
subsection?: string | undefined;
|
|
10
|
-
}) => t.AnyRecord;
|
|
11
|
-
}
|
|
1
|
+
import { t } from '../../internal';
|
|
2
|
+
export declare class Main {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): Main;
|
|
5
|
+
private constructor();
|
|
6
|
+
to_object: ({ arr, section, subsection, }: {
|
|
7
|
+
arr: t.AnyRecord[];
|
|
8
|
+
section?: string | undefined;
|
|
9
|
+
subsection?: string | undefined;
|
|
10
|
+
}) => t.AnyRecord;
|
|
11
|
+
}
|
package/ts/shared/vars.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const scrollbar_width = 17;
|
|
2
|
-
export declare const transpaerent_1px_png = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";
|
|
1
|
+
export declare const scrollbar_width = 17;
|
|
2
|
+
export declare const transpaerent_1px_png = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from '../../viewport/scripts/main';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare class Main {
|
|
2
|
-
private static i0;
|
|
3
|
-
static i(): Main;
|
|
4
|
-
private constructor();
|
|
5
|
-
get_dim: ({ dim }: {
|
|
6
|
-
dim: 'width' | 'height';
|
|
7
|
-
}) => number;
|
|
8
|
-
}
|
|
1
|
+
export declare class Main {
|
|
2
|
+
private static i0;
|
|
3
|
+
static i(): Main;
|
|
4
|
+
private constructor();
|
|
5
|
+
get_dim: ({ dim }: {
|
|
6
|
+
dim: 'width' | 'height';
|
|
7
|
+
}) => number;
|
|
8
|
+
}
|
package/ts/shared/x.d.ts
CHANGED
|
@@ -1,69 +1,56 @@
|
|
|
1
|
-
import { t } from
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
convert_base64_to_blob: (base64: string) => Promise<Blob>;
|
|
58
|
-
chunk_str: (str: string, len: number) => string[];
|
|
59
|
-
bytes_to_base64: (bytes: number) => number;
|
|
60
|
-
copy_text: (text: string) => void;
|
|
61
|
-
copy_img: (img_url: string) => void;
|
|
62
|
-
px: (val: string | number | undefined) => string;
|
|
63
|
-
insert_invisible_chars_in_title: () => void;
|
|
64
|
-
async_debounce<F extends (...args: any[]) => Promise<any>>(f: F, wait?: number): (...args: Parameters<F>) => ReturnType<F>;
|
|
65
|
-
private gcd;
|
|
66
|
-
get_aspect_ratio: (width: number, height: number) => string;
|
|
67
|
-
percentage: (partial_val: number, total_val: number, round_down?: boolean) => number;
|
|
68
|
-
pastel_color: () => string;
|
|
69
|
-
}
|
|
1
|
+
import { t } from './internal';
|
|
2
|
+
export declare class X {
|
|
3
|
+
private static i0;
|
|
4
|
+
static i(): X;
|
|
5
|
+
private constructor();
|
|
6
|
+
in_service_worker: boolean;
|
|
7
|
+
invisible_chars: string;
|
|
8
|
+
private manifest;
|
|
9
|
+
get_asset_path: () => Promise<void>;
|
|
10
|
+
private all;
|
|
11
|
+
create: <T1 extends keyof HTMLElementTagNameMap>(el_type: T1, cls: string) => HTMLElementTagNameMap[T1];
|
|
12
|
+
append: (parent: t.XEl, child: t.XElNoShadow) => void;
|
|
13
|
+
as_first: (parent: t.XEl, child: t.XElNoShadow) => void;
|
|
14
|
+
before: (el_to_insert_before: t.XElNoShadow, child: t.XEl) => void;
|
|
15
|
+
after: (el_to_insert_after: t.XElNoShadow, child: t.XEl) => void;
|
|
16
|
+
remove: (els: t.XEls) => void;
|
|
17
|
+
matches: (el: HTMLElement | undefined, selector: string) => boolean;
|
|
18
|
+
closest: <T1>(el: HTMLElement | undefined, selector: string) => T1 | undefined;
|
|
19
|
+
add_cls: (els: t.XEls, cls: string) => void;
|
|
20
|
+
remove_cls: (els: t.XEls, cls: string) => void;
|
|
21
|
+
move_item: (from: number, to: number, arr: t.AnyArray) => void;
|
|
22
|
+
insert_item: (position: number, items: t.AnyArray, arr: t.AnyArray) => any[];
|
|
23
|
+
remove_item: (i: number, arr: t.AnyArray) => void;
|
|
24
|
+
bind: (els: Window | Document | t.XEls, event: string, f: t.CallbackVariadicVoid) => void;
|
|
25
|
+
css: (filename: string, parent: HTMLHeadElement | ShadowRoot | undefined, cls?: string) => HTMLLinkElement | undefined;
|
|
26
|
+
dynamic_css: (parent: HTMLHeadElement | ShadowRoot, cls: string, css: string) => HTMLStyleElement;
|
|
27
|
+
get_css_val: (el: HTMLElement, key: string) => string;
|
|
28
|
+
get_numeric_css_val: (el: HTMLElement, key: string) => number;
|
|
29
|
+
get_float_css_val: (el: HTMLElement, key: string) => number;
|
|
30
|
+
str_is_number: (val: string) => boolean;
|
|
31
|
+
delay: (delay: number) => Promise<void>;
|
|
32
|
+
id: () => string;
|
|
33
|
+
unique_id: () => string;
|
|
34
|
+
range: (min: number, max: number) => number;
|
|
35
|
+
rand_bool: () => boolean;
|
|
36
|
+
convert_string_bool: (bool: string) => boolean;
|
|
37
|
+
range_arr: (end: number, start?: number) => number[];
|
|
38
|
+
cls: (classes: (string | undefined)[]) => string;
|
|
39
|
+
get_prop: <T1, T2 extends keyof T1>(obj: T1, key: T2) => T1[T2];
|
|
40
|
+
set_prop: <T1, T2 extends keyof T1>(obj: T1, key: T2, val: T1[T2]) => T1;
|
|
41
|
+
sanitize_filename: (filename: string, new_character?: string) => string;
|
|
42
|
+
convert_blob_to_base64: (blob: Blob) => Promise<string>;
|
|
43
|
+
convert_base64_to_blob: (base64: string) => Promise<Blob>;
|
|
44
|
+
chunk_str: (str: string, len: number) => string[];
|
|
45
|
+
bytes_to_base64: (bytes: number) => number;
|
|
46
|
+
copy_text: (text: string) => void;
|
|
47
|
+
copy_img: (img_url: string) => void;
|
|
48
|
+
px: (val: string | number | undefined) => string;
|
|
49
|
+
insert_invisible_chars_in_title: () => void;
|
|
50
|
+
async_debounce<F extends (...args: any[]) => Promise<any>>(f: F, wait?: number): (...args: Parameters<F>) => ReturnType<F>;
|
|
51
|
+
private gcd;
|
|
52
|
+
get_aspect_ratio: (width: number, height: number) => string;
|
|
53
|
+
percentage: (partial_val: number, total_val: number, round_down?: boolean) => number;
|
|
54
|
+
wrap_link_in_a: (text: string) => string;
|
|
55
|
+
pastel_color: () => string;
|
|
56
|
+
}
|
package/chunk-main-061e9d8b.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var main=require("./chunk-main-499559bc.js");require("react");class Main$1{constructor(){this.cls="no_tr",this.enable=({el:el=document.head}={el:document.head})=>err((()=>{x.css(this.cls,el)}),"shr_1120"),this.disable=({el:el=document.head}={el:document.head})=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){yield x.delay(500);const tr_link=sb(el,`.${this.cls}_link`);x.remove(tr_link)}))),"shr_1121")}static i(){return this.i0||(this.i0=new this)}}exports.Main=Main$1,exports.Main$1=class{constructor(){this.set=({name:name,el:el=document.head,additional_theme_callback:additional_theme_callback})=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){Main$1.i().enable({el:el});const name_final=`${name}_theme`,loading_screen_root_el=s('div[class^="root"][class*="loading_screen"]');x.css(name_final,el,"theme_link"),n(loading_screen_root_el)&&n(loading_screen_root_el.shadowRoot)&&x.css(name_final,loading_screen_root_el.shadowRoot,"theme_link"),n(additional_theme_callback)&&additional_theme_callback({name:name,el:el}),yield Main$1.i().disable({el:el})}))),"shr_1129")}static i(){return this.i0||(this.i0=new this)}};
|