@topvisor/ui 1.0.16 → 1.0.18-autofocus-3
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/.chunks/{datepicker-DW_EVh8-.amd.js → datepicker-2XyFBnpB.amd.js} +2 -2
- package/.chunks/{datepicker-DW_EVh8-.amd.js.map → datepicker-2XyFBnpB.amd.js.map} +1 -1
- package/.chunks/{datepicker-CDFryb2R.es.js → datepicker-CUB0U_lQ.es.js} +2 -2
- package/.chunks/{datepicker-CDFryb2R.es.js.map → datepicker-CUB0U_lQ.es.js.map} +1 -1
- package/.chunks/forms-CgS7En_e.amd.js +3 -0
- package/.chunks/{forms-CORLOoYZ.amd.js.map → forms-CgS7En_e.amd.js.map} +1 -1
- package/.chunks/forms-cAFIQajo.es.js +1995 -0
- package/.chunks/{forms-DmpPuKKh.es.js.map → forms-cAFIQajo.es.js.map} +1 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DwVG6MzF.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DwVG6MzF.amd.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DxPx80QT.es.js +181 -0
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Cry_LWLq.es.js.map → listItem.vue_vue_type_script_setup_true_lang-DxPx80QT.es.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-BQFq184r.es.js → menu.vue_vue_type_style_index_0_lang-BoLzlJHY.es.js} +24 -24
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-BQFq184r.es.js.map → menu.vue_vue_type_style_index_0_lang-BoLzlJHY.es.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-Chd1ygyG.amd.js → menu.vue_vue_type_style_index_0_lang-Dpm2Wnt9.amd.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-Chd1ygyG.amd.js.map → menu.vue_vue_type_style_index_0_lang-Dpm2Wnt9.amd.js.map} +1 -1
- package/.chunks/{notice-BNik2ZIo.es.js → notice-DRCVp0mf.es.js} +2 -2
- package/.chunks/{notice-BNik2ZIo.es.js.map → notice-DRCVp0mf.es.js.map} +1 -1
- package/.chunks/{notice-BnvlWLlj.amd.js → notice-EerveAd9.amd.js} +2 -2
- package/.chunks/{notice-BnvlWLlj.amd.js.map → notice-EerveAd9.amd.js.map} +1 -1
- package/.chunks/popup-D6-5Xu_J.amd.js +2 -0
- package/.chunks/{popup-Dm9xIxVU.amd.js.map → popup-D6-5Xu_J.amd.js.map} +1 -1
- package/.chunks/{popup-BxLi2sMk.es.js → popup-DZDWzqMA.es.js} +4 -4
- package/.chunks/{popup-BxLi2sMk.es.js.map → popup-DZDWzqMA.es.js.map} +1 -1
- package/.chunks/punycode.es6-C2yitnNb.amd.js.map +1 -1
- package/.chunks/punycode.es6-CNI-zL6U.es.js.map +1 -1
- package/.chunks/store-CX_6ZXhO.es.js.map +1 -1
- package/.chunks/store-esTid5oI.amd.js.map +1 -1
- package/.chunks/{utils-k0wIxxij.amd.js → utils-CQcFLRGs.amd.js} +2 -2
- package/.chunks/{utils-k0wIxxij.amd.js.map → utils-CQcFLRGs.amd.js.map} +1 -1
- package/.chunks/{utils-DFwHp4q7.es.js → utils-DP2t2MXK.es.js} +85 -87
- package/.chunks/utils-DP2t2MXK.es.js.map +1 -0
- package/.chunks/{utils-CKpKCxOO.es.js → utils-DTkdtW9l.es.js} +78 -78
- package/.chunks/{utils-CKpKCxOO.es.js.map → utils-DTkdtW9l.es.js.map} +1 -1
- package/.chunks/utils-kDi9Zfjp.amd.js +2 -0
- package/.chunks/utils-kDi9Zfjp.amd.js.map +1 -0
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/formsExt.css +1 -1
- package/assets/layout.css +1 -1
- package/assets/themes/dark-th.css +1 -1
- package/assets/themes/dark.css +1 -1
- package/assets/themes/light.css +1 -1
- package/charts/charts.amd.js +1 -1
- package/charts/charts.amd.js.map +1 -1
- package/charts/charts.js +1 -1
- package/components/charts/miniChart/miniChart.vue.d.ts +5 -5
- package/components/charts/miniCharts/miniCharts.vue.d.ts +9 -6
- package/components/core/notice/item/item.vue.d.ts +1 -1
- package/components/dialog/dialog/dialog.vue.d.ts +3 -2
- package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +1 -1
- package/components/dialog/dialog/page/page.vue.d.ts +2 -1
- package/components/forms/avatar/avatar.vue.d.ts +1 -1
- package/components/forms/button/button.vue.d.ts +2 -1
- package/components/forms/button/types.d.ts +1 -0
- package/components/forms/checkbox/checkbox.vue.d.ts +7 -6
- package/components/forms/controlLabel/controlLabel.vue.d.ts +3 -2
- package/components/forms/hint/hint.vue.d.ts +1 -1
- package/components/forms/input/input.vue.d.ts +2 -1
- package/components/forms/inputDate/inputDate.vue.d.ts +3 -1
- package/components/forms/inputRange/inputRange.vue.d.ts +3 -2
- package/components/forms/loadbar/loadbar.vue.d.ts +1 -1
- package/components/forms/radio/radio.vue.d.ts +3 -2
- package/components/forms/select/select.vue.d.ts +5 -5
- package/components/forms/switcher/switcher.vue.d.ts +3 -2
- package/components/formsExt/editArea/editArea.vue.d.ts +1 -1
- package/components/formsExt/editInput/editInput.vue.d.ts +1 -1
- package/components/formsExt/formsExt.d.ts +2 -0
- package/components/formsExt/info/info.vue.d.ts +22 -0
- package/components/formsExt/info/types.d.ts +15 -0
- package/components/formsExt/menu/menu.vue.d.ts +7 -5
- package/components/formsExt/radioGroup/radioGroup.vue.d.ts +7 -5
- package/components/formsExt/selector2/itemMulti.vue.d.ts +1 -1
- package/components/formsExt/selector2/selector2.vue.d.ts +96 -8
- package/components/layout/islandRows/islandRows.vue.d.ts +3 -2
- package/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +3 -2
- package/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +18 -0
- package/components/layout/layout.d.ts +2 -0
- package/components/layout/rows/rows.vue.d.ts +3 -2
- package/components/popup/alert/alert.vue.d.ts +2 -1
- package/components/popup/confirm/confirm.vue.d.ts +2 -1
- package/components/popup/popup/listItem.vue.d.ts +2 -1
- package/components/popup/popup/opener.vue.d.ts +2 -1
- package/components/popup/popup/popup.vue.d.ts +2 -1
- package/components/popup/popup/widgetInput.vue.d.ts +4 -4
- package/components/popup/prompt/prompt.vue.d.ts +2 -1
- package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +5 -5
- package/components/project/selectorRegion/selectorRegion.vue.d.ts +7 -7
- package/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +5 -3
- package/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +6 -5
- package/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +1 -1
- package/components/project/tagSelector/tagSelector.vue.d.ts +6 -6
- package/components/tabs/tabs/content.vue.d.ts +3 -2
- package/components/tabs/tabs/tab.vue.d.ts +2 -1
- package/components/tabs/tabs/tabs.vue.d.ts +3 -2
- package/components/tabsView/tabsView/menu.vue.d.ts +9 -6
- package/components/tabsView/tabsView/menuDelimeter.vue.d.ts +1 -1
- package/components/tabsView/tabsView/menuItem.vue.d.ts +2 -1
- package/components/tabsView/tabsView/menuTitle.vue.d.ts +2 -1
- package/components/tabsView/tabsView/store.d.ts +5 -5
- package/components/tabsView/tabsView/tabsView.vue.d.ts +9 -6
- package/core/app.amd.js +1 -1
- package/core/app.amd.js.map +1 -1
- package/core/app.js +209 -162
- package/core/app.js.map +1 -1
- package/core/directives/focus.d.ts +3 -1
- package/core/directives/scrollIntoView.d.ts +3 -0
- package/core/directives/scrollShadow.d.ts +15 -0
- package/core/utils/number.d.ts +6 -0
- package/core/utils/scroll.d.ts +3 -2
- package/core/utils/string.d.ts +1 -1
- package/dialog/dialog.amd.js +1 -1
- package/dialog/dialog.amd.js.map +1 -1
- package/dialog/dialog.js +84 -79
- package/dialog/dialog.js.map +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/forms/helpers.amd.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +330 -290
- package/formsExt/formsExt.js.map +1 -1
- package/layout/layout.amd.js +1 -1
- package/layout/layout.amd.js.map +1 -1
- package/layout/layout.js +33 -25
- package/layout/layout.js.map +1 -1
- package/package.json +31 -31
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +17 -17
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.js +9 -10
- package/popup/worker.js.map +1 -1
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.js +307 -307
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.js +37 -37
- package/utils/check.amd.js +1 -1
- package/utils/check.amd.js.map +1 -1
- package/utils/check.js +1 -1
- package/utils/check.js.map +1 -1
- package/utils/clipboard.amd.js +1 -1
- package/utils/clipboard.amd.js.map +1 -1
- package/utils/clipboard.js +1 -1
- package/utils/clipboard.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.js +1 -1
- package/utils/dom.amd.js +1 -1
- package/utils/dom.amd.js.map +1 -1
- package/utils/dom.js +30 -30
- package/utils/dom.js.map +1 -1
- package/utils/image.amd.js.map +1 -1
- package/utils/keyboard.amd.js.map +1 -1
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/number.amd.js +1 -1
- package/utils/number.amd.js.map +1 -1
- package/utils/number.js +7 -3
- package/utils/number.js.map +1 -1
- package/utils/price.amd.js +1 -1
- package/utils/price.amd.js.map +1 -1
- package/utils/price.js +1 -1
- package/utils/price.js.map +1 -1
- package/utils/route.amd.js +1 -1
- package/utils/route.amd.js.map +1 -1
- package/utils/route.js +5 -5
- package/utils/route.js.map +1 -1
- package/utils/scroll.amd.js +1 -1
- package/utils/scroll.amd.js.map +1 -1
- package/utils/scroll.js +19 -14
- package/utils/scroll.js.map +1 -1
- package/utils/searchers.amd.js.map +1 -1
- package/utils/searchers.js.map +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.js +48 -47
- package/utils/string.js.map +1 -1
- package/utils/system.amd.js.map +1 -1
- package/utils/system.js.map +1 -1
- package/utils/url.amd.js.map +1 -1
- package/utils/url.js.map +1 -1
- package/web-types.json +41 -0
- package/.chunks/forms-CORLOoYZ.amd.js +0 -3
- package/.chunks/forms-DmpPuKKh.es.js +0 -1944
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BZar2z_p.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BZar2z_p.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-Cry_LWLq.es.js +0 -174
- package/.chunks/popup-Dm9xIxVU.amd.js +0 -2
- package/.chunks/utils-COOeS9rk.amd.js +0 -2
- package/.chunks/utils-COOeS9rk.amd.js.map +0 -1
- package/.chunks/utils-DFwHp4q7.es.js.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ComponentCustomProps } from 'vue';
|
|
2
2
|
import { default as IslandRows } from './islandRows/islandRows.vue';
|
|
3
3
|
import { default as IslandRowsRow } from './islandRows/islandRowsRow/islandRowsRow.vue';
|
|
4
|
+
import { default as IslandRowsSubTitle } from './islandRows/islandRowsSubTitle/islandRowsSubTitle.vue';
|
|
4
5
|
import { default as Rows } from './rows/rows.vue';
|
|
5
6
|
export declare const TopIslandRows: typeof IslandRows & ComponentCustomProps;
|
|
6
7
|
export declare const TopIslandRowsRow: typeof IslandRowsRow & ComponentCustomProps;
|
|
8
|
+
export declare const TopIslandRowsSubTitle: typeof IslandRowsSubTitle & ComponentCustomProps;
|
|
7
9
|
export declare const TopRows: typeof Rows & ComponentCustomProps;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
13
|
gap: "none" | "xs" | "s" | "m" | "l";
|
|
13
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,6 +2,7 @@ import { Props } from './alert';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { PopupEvent } from '../popup/popup';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
opener?(_: {}): any;
|
|
7
8
|
header?(_: {}): any;
|
|
@@ -9,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
9
10
|
footer?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: any;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -2,6 +2,7 @@ import { PopupEvent } from '../popup/popup';
|
|
|
2
2
|
import { Props } from './confirm';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
opener?(_: {}): any;
|
|
7
8
|
header?(_: {}): any;
|
|
@@ -9,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
9
10
|
footer?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: any;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ListItemProps } from './popup';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<ListItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ListItemProps> & Readonly<{}>, {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { OpenerProps } from './popup';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<OpenerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OpenerProps> & Readonly<{}>, {
|
|
@@ -2,6 +2,7 @@ import { default as PopupClass } from '../lib/popup';
|
|
|
2
2
|
import { Props, PopupEvent } from './popup';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
opener?(_: {}): any;
|
|
7
8
|
header?(_: {}): any;
|
|
@@ -11,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
11
12
|
footer?(_: {}): any;
|
|
12
13
|
};
|
|
13
14
|
refs: {};
|
|
14
|
-
|
|
15
|
+
rootEl: any;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: DefineComponent<Props, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Props } from '../../forms/input/input';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
declare const __VLS_defaults: {
|
|
5
5
|
modelValue: string;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_PublicProps = {
|
|
8
8
|
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
9
|
-
} &
|
|
9
|
+
} & __VLS_Props;
|
|
10
10
|
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
12
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: ((
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
addCleaner: boolean;
|
|
16
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,6 +2,7 @@ import { PopupEvent } from '../popup/popup';
|
|
|
2
2
|
import { Props } from './prompt';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
opener?(_: {}): any;
|
|
7
8
|
header?(_: {}): any;
|
|
@@ -9,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
9
10
|
footer?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: any;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Props } from './selectorCompetitors';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue?: Props['modelValue'];
|
|
6
|
-
} &
|
|
6
|
+
} & __VLS_Props;
|
|
7
7
|
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (
|
|
8
|
+
"update:modelValue": (value: number[]) => any;
|
|
9
9
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((
|
|
10
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
showSelectAllItem: boolean;
|
|
13
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
14
|
export default _default;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { Props, Region, SearcherIndexed, SearcherByKey, Searcher } from './selectorRegion';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue: Props['modelValue'];
|
|
6
6
|
'modelValueSingle'?: Props['modelValueSingle'];
|
|
7
|
-
} &
|
|
7
|
+
} & __VLS_Props;
|
|
8
8
|
declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
9
9
|
getSearcher: () => SearcherIndexed | undefined;
|
|
10
10
|
getRegion: () => Region | undefined;
|
|
11
11
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (
|
|
12
|
+
"update:modelValue": (value: number[]) => any;
|
|
13
13
|
compareRegions: (searcherByKey: SearcherByKey) => any;
|
|
14
|
-
"update:modelValueSingle": (
|
|
14
|
+
"update:modelValueSingle": (value: number | undefined) => any;
|
|
15
15
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((
|
|
16
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
17
17
|
onCompareRegions?: ((searcherByKey: SearcherByKey) => any) | undefined;
|
|
18
|
-
"onUpdate:modelValueSingle"?: ((
|
|
18
|
+
"onUpdate:modelValueSingle"?: ((value: number | undefined) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
addChanger: boolean;
|
|
21
21
|
searchers: Searcher[];
|
|
22
22
|
addSearcherIcon: boolean;
|
|
23
23
|
addRegionIcon: boolean;
|
|
24
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
'name': Props['name'];
|
|
6
|
-
} &
|
|
6
|
+
} & __VLS_Props;
|
|
7
7
|
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
8
|
select: () => any;
|
|
9
9
|
exclude: () => any;
|
|
@@ -14,5 +14,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
14
14
|
onExclude?: (() => any) | undefined;
|
|
15
15
|
"onUpdate:name"?: ((...args: unknown[]) => any) | undefined;
|
|
16
16
|
onUnselect?: (() => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
17
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
18
|
+
elName: HTMLSpanElement;
|
|
19
|
+
}, any>;
|
|
18
20
|
export default _default;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue: Props['modelValue'];
|
|
6
|
-
} &
|
|
6
|
+
} & __VLS_Props;
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: any;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (
|
|
17
|
+
"update:modelValue": (value: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-13" | "-14" | "-15" | "-16" | "-17" | "-18" | "-19" | "-20")[]) => any;
|
|
17
18
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((
|
|
19
|
+
"onUpdate:modelValue"?: ((value: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-13" | "-14" | "-15" | "-16" | "-17" | "-18" | "-19" | "-20")[]) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
22
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
3
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4
4
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FiltersAction, Props, Tag } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue: Props['modelValue'];
|
|
6
6
|
'tags'?: Tag[];
|
|
7
|
-
} &
|
|
7
|
+
} & __VLS_Props;
|
|
8
8
|
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (
|
|
9
|
+
"update:modelValue": (value: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-13" | "-14" | "-15" | "-16" | "-17" | "-18" | "-19" | "-20")[]) => any;
|
|
10
10
|
selector: (tagsIds: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-13" | "-14" | "-15" | "-16" | "-17" | "-18" | "-19" | "-20")[]) => any;
|
|
11
11
|
setter: (event: {
|
|
12
12
|
tagsIds: Tag["id"][];
|
|
@@ -16,9 +16,9 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
16
16
|
payload?: Record<string, any>;
|
|
17
17
|
}) => any;
|
|
18
18
|
tagsChanged: (tags: Tag[]) => any;
|
|
19
|
-
"update:tags": (
|
|
19
|
+
"update:tags": (value: Tag[]) => any;
|
|
20
20
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((
|
|
21
|
+
"onUpdate:modelValue"?: ((value: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-13" | "-14" | "-15" | "-16" | "-17" | "-18" | "-19" | "-20")[]) => any) | undefined;
|
|
22
22
|
onSelector?: ((tagsIds: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-13" | "-14" | "-15" | "-16" | "-17" | "-18" | "-19" | "-20")[]) => any) | undefined;
|
|
23
23
|
onSetter?: ((event: {
|
|
24
24
|
tagsIds: Tag["id"][];
|
|
@@ -28,7 +28,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
28
28
|
payload?: Record<string, any>;
|
|
29
29
|
}) => any) | undefined;
|
|
30
30
|
onTagsChanged?: ((tags: Tag[]) => any) | undefined;
|
|
31
|
-
"onUpdate:tags"?: ((
|
|
31
|
+
"onUpdate:tags"?: ((value: Tag[]) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
tagsMax: number;
|
|
34
34
|
requiredForSetter: boolean;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { PropsContent } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: DefineComponent<PropsContent, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PropsContent> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
12
|
+
declare const __VLS_component: DefineComponent<PropsContent, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PropsContent> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
14
|
export default _default;
|
|
14
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { PropsTab } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<PropsTab, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PropsTab> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Props } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
buttons?(_: {}): any;
|
|
6
7
|
header?(_: {}): any;
|
|
7
8
|
contents?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
14
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PropsMenu } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = PropsMenu;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
'isLoading'?: any;
|
|
6
|
-
} &
|
|
6
|
+
} & __VLS_Props;
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
default?(_: {}): any;
|
|
@@ -12,14 +13,16 @@ declare function __VLS_template(): {
|
|
|
12
13
|
refs: {
|
|
13
14
|
elRef: HTMLDivElement;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
-
"update:isLoading": (
|
|
20
|
+
"update:isLoading": (value: any) => any;
|
|
20
21
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
-
"onUpdate:isLoading"?: ((
|
|
22
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
22
|
+
"onUpdate:isLoading"?: ((value: any) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
24
|
+
elRef: HTMLDivElement;
|
|
25
|
+
}, HTMLDivElement>;
|
|
23
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
27
|
export default _default;
|
|
25
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
3
3
|
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { PropsMenuItem } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, Component, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
default?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: any;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<PropsMenuItem, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PropsMenuItem> & Readonly<{}>, {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { PropsMenuTitle } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
default?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: any;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<PropsMenuTitle, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PropsMenuTitle> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionKey, ModelRef, Slot, Component, ComputedOptions, MethodOptions, Directive, WatchCallback, WatchOptions, ComponentProvideOptions, DebuggerEvent, ComponentPublicInstance, ComponentPropsOptions } from 'vue';
|
|
2
|
-
import { Props, Store
|
|
2
|
+
import { Props, Store } from './tabsView';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
4
|
import { Store } from '../../../core/utils/store/store';
|
|
5
5
|
export declare const injectionKey: InjectionKey<Store>;
|
|
@@ -34,7 +34,7 @@ export declare const defineTabsStore: (props: Props, model: ModelRef<string | un
|
|
|
34
34
|
serverPrefetch: () => void | Promise<any>;
|
|
35
35
|
compilerOptions: {
|
|
36
36
|
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
37
|
-
whitespace?:
|
|
37
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
38
38
|
comments?: boolean | undefined;
|
|
39
39
|
delimiters?: [string, string] | undefined;
|
|
40
40
|
};
|
|
@@ -86,7 +86,7 @@ export declare const defineTabsStore: (props: Props, model: ModelRef<string | un
|
|
|
86
86
|
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
87
87
|
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
88
88
|
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
89
|
-
MODE?:
|
|
89
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
90
90
|
};
|
|
91
91
|
data: (this: any, vm: any) => any;
|
|
92
92
|
computed: ComputedOptions;
|
|
@@ -174,7 +174,7 @@ export declare const defineTabsStore: (props: Props, model: ModelRef<string | un
|
|
|
174
174
|
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
175
175
|
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
176
176
|
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
177
|
-
MODE?:
|
|
177
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
178
178
|
};
|
|
179
179
|
__isBuiltIn: boolean;
|
|
180
180
|
__file: string;
|
|
@@ -184,7 +184,7 @@ export declare const defineTabsStore: (props: Props, model: ModelRef<string | un
|
|
|
184
184
|
__isTeleport: never;
|
|
185
185
|
__isSuspense: never;
|
|
186
186
|
} | undefined;
|
|
187
|
-
scrollable?:
|
|
187
|
+
scrollable?: boolean | undefined;
|
|
188
188
|
} & Store;
|
|
189
189
|
/**
|
|
190
190
|
* Получить Store компонента
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { Props } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue?: string;
|
|
6
|
-
} &
|
|
6
|
+
} & __VLS_Props;
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
menu?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {
|
|
12
13
|
componentRef: unknown;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (
|
|
19
|
+
"update:modelValue": (value: string) => any;
|
|
19
20
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
22
|
}>, {
|
|
22
23
|
showMenuInPopup: boolean;
|
|
23
24
|
isShortable: boolean;
|
|
24
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
26
|
+
componentRef: unknown;
|
|
27
|
+
}, HTMLDivElement>;
|
|
25
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
29
|
export default _default;
|
|
27
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/core/app.amd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","exports","../.chunks/forms-
|
|
1
|
+
define(["require","exports","../.chunks/forms-CgS7En_e.amd","vue","../popup/worker.amd","../.chunks/utils-CQcFLRGs.amd","../utils/dom.amd","../utils/clipboard.amd","../utils/string.amd","../utils/route.amd"],function(d,c,a,g,u,f,D,F,R,U){"use strict";if(typeof g>"u")var g=window.Vue;class V{static isInited=!1;static init(){this.isInited||(this.isInited=!0,document.addEventListener("mouseover",t=>{var e;!(t.target instanceof HTMLElement)||!((e=t.target.dataset)!=null&&e.topPopupOpenByHover)||t.target.click()}),document.addEventListener("scroll",()=>{a.Core.state.isMobile||a.Core.state.isMobileUA||u.TopPopupWorker.getAll().forEach(t=>u.TopPopupWorker.close(t))}),a.Events.addOnReize(t=>{a.Core.state.isMobile&&t.topEvent.widthDiff&&u.TopPopupWorker.getAll().forEach(e=>u.TopPopupWorker.close(e))}),document.addEventListener("click",this.onclick))}static async onclick(t){var n,i,s,r,l;if(!(t.target instanceof HTMLElement))return;let e;switch(!0){case!!((n=t.target.dataset)!=null&&n.topPopup):e=t.target;break;case!!((i=t.target.parentElement)!=null&&i.dataset.topPopup):e=t.target.parentElement;break;case!!((r=(s=t.target.parentElement)==null?void 0:s.parentElement)!=null&&r.dataset.topPopup):e=(l=t.target.parentElement)==null?void 0:l.parentElement;break}e&&(e.dataset.topPopupDisabled||e.dataset.topPopupOpened||(t.preventDefault(),await u.TopPopupWorker.openByOpener(e)))}}let S;const G={mounted:async(o,t)=>{S||(S=(await new Promise((s,r)=>d(["../utils/dom.amd"],s,r))).storage);const e=t.arg,n=t.value;S(o,e,n)}};let P,w=[],y;const W=async()=>{if(!w.length)return;w[0].focus(),w=[]},_=async o=>{P||(P=await new Promise((t,e)=>d(["../utils/lodash.amd"],t,e))),y||(y=P.debounce(W,30)),w.push(o),y()},j={mounted:function(o,t){o.__TOP_V_FOCUS_VALUE=t.value??!0,(t.value??!0)&&_(o)},updated:function(o,t){t.modifiers.onupdate&&o.__TOP_V_FOCUS_VALUE!==(t.value??!0)&&(o.__TOP_V_FOCUS_VALUE=t.value??!0,(t.value??!0)&&_(o))}};let v,k;const A=o=>(typeof o=="boolean"||(o?o={...o}:o={},o.behavior??="smooth",o.block??="nearest",o.inline??="nearest"),o);let b,L;const B=async()=>{if(!b)return;const o=await O(b);o.isVisible&&b.scrollIntoView(o.scrollIntoViewOptions)},N=async o=>{k||(k=await new Promise((t,e)=>d(["../utils/lodash.amd"],t,e))),L||(L=k.debounce(B,30)),b=o,L()},O=async(o,t)=>{v||(v=await new Promise((n,i)=>d(["../utils/dom.amd"],n,i)));let e=v.storage(o,"v-top-scrollIntoView");return e||(e={isVisible:D.isVisible(o),scrollIntoViewOptions:A(t)},v.storage(o,"v-top-scrollIntoView",e)),e},J={async mounted(o,t){await O(o,t.value),t.modifiers.immediate&&N(o)},async updated(o,t){const e=await O(o,t.value);e.scrollIntoViewOptions=A(t.value);const n=D.isVisible(o);n&&e.isVisible!==n&&N(o),e.isVisible=n}};let p;const Y={async mounted(o){p||(p=await new Promise((t,e)=>d(["../utils/scroll.amd"],t,e))),p.connectScrollShadow(o)},async unmounted(o){p||(p=await new Promise((t,e)=>d(["../utils/scroll.amd"],t,e))),p.unconnectScrollShadow(o)}};let m;const z={mounted(o,t,e){const n=t.value||"top-sticky";m=new IntersectionObserver(i=>{let s=i[0].intersectionRatio<1;s&&t.modifiers.bottom&&i[0].intersectionRect.y===0&&(s=!1),o.classList.toggle(n,s)},{threshold:[1]}),m.observe(o)},unmounted(o,t,e){m==null||m.disconnect()}};let M=!1,T;const E=new Map,Q=(o,t)=>{const{distance:e,percent:n}=o.directiveSwipUpOptions,i=o.getBoundingClientRect().top,s=t*n/100/e,r=(t-i)/s;r<=e?o.style.transform=`translateY(${e-r}px)`:o.style.transform="translateY(0px)"},K=o=>{let t=window.innerHeight;window.addEventListener("scroll",()=>{E.forEach(e=>Q(e,t))},{passive:!0}),T=new IntersectionObserver(e=>{t=window.innerHeight,e.forEach(n=>{const i=n.target;if(n.intersectionRatio<.1?E.delete(i):E.set(i,i),n.intersectionRatio===0){const{distance:s}=i.directiveSwipUpOptions;i.style.transform=`translateY(${s}px)`}})},{threshold:.1})},X={mounted(o,t,e){var n,i;a.Core.state.isMobileUA||(o.directiveSwipUpOptions={distance:((n=t.value)==null?void 0:n.distance)??100,percent:((i=t.value)==null?void 0:i.percent)??30},M||(K(),M=!0),T.observe(o))},unmounted(o,t,e){E.delete(o),T==null||T.unobserve(o)}},I=o=>{var t,e;if(!((e=(t=a.Core.$)==null?void 0:t.ui)!=null&&e.tooltip)){console.info("Для работы v-top-tooltip требуется глобальная загрузка jQuery UI Tooltip");return}return a.Core.$(o)},H=(o,t)=>{var n;const e=o.value??{};return e.content??=(n=t.props)==null?void 0:n.title,e.content=String(e.content).replace(/\r\n|\r|\n/g,"<br>"),e.position??={my:"bottom-18px",at:"top center"},e},Z={mounted(o,t,e){var n;(n=I(o))==null||n.tooltip(H(t,e))},updated(o,t,e,n){var r;const i=H(t,e),s=(r=I(o))==null?void 0:r.tooltip("instance");s&&(s.options={...s.options,...i})},unmounted(o,t,e){var n;(n=I(o))==null||n.tooltip("destroy")}},x=g.defineAsyncComponent(()=>new Promise((o,t)=>d(["../.chunks/notice-EerveAd9.amd"],o,t)));window.vd=console.log;const q={install:(o,t)=>{o.config.globalProperties.$core=a.Core,o.config.globalProperties.$vd=console.log;for(const e in t)a.Core.state[e]=t[e];t.widthForMobile&&(a.Core.widthForMobile=t.widthForMobile),t.themeName&&(a.Core.themeName=t.themeName),a.Core._setState(),t.topPopupOptions&&(u.TopPopupWorker.options=t.topPopupOptions),V.init(),f.TopDialogWorker.init(t.topDialogOptions),o.directive("top-data",G),o.directive("top-focus",j),o.directive("top-scroll-into-view",J),o.directive("top-scroll-shadow",Y),o.directive("top-sticky",z),o.directive("top-swim-up",X),o.directive("top-tooltip",Z),o.component("TopAvatar",a.TopAvatar),o.component("TopButton",a.TopButton),o.component("TopCheckbox",a.TopCheckbox),o.component("TopControlLabel",a.TopControlLabel),o.component("TopHint",a.TopHint),o.component("TopInput",a.TopInput),o.component("TopInputDate",a.TopInputDate),o.component("TopInputRange",a.TopInputRange),o.component("TopLoadbar",a.TopLoadbar),o.component("TopRadio",a.TopRadio),o.component("TopSelect",a.TopSelect),o.component("TopSwitcher",a.TopSwitcher),o.component("TopTextarea",a.TopTextarea),o.component("TopNotice",x),o.component("TopDialogs",f._sfc_main)}};class tt{#e;#t;#o;#n;#c;#i=[];#s=[];#l=[];#a=[];constructor(t){var n;this.#t=t.store,this.#e=this.#t.$id,this.#o=t.options.Page,this.#n=t.options.user,this.#c=t.options.Api,this.#i=t.options.tpaNamesUrlHash||[],this.#s=t.options.tpaNamesStorage||[],this.#l=t.options.tpaNamesStorageLocal||[],this.#a=t.options.tpaNamesGuestLink||[],t.store.genGuestLink=(i,s)=>this.genGuestLink(i,s),(n=this.#n.guest_data)!=null&&n.data||(this.#u(),this.#u(!0),this.#f()),this.#T(),this.#w();const e=a.debounce(()=>{this.#g(),this.#m()});t.store.$subscribe(e)}async genGuestLink(t,e){const n=this.#p();e=Object.assign(e,Object.fromEntries(n));const i=await this.#c.gen(t,"fetchColumn").call({},e);i!=null&&i.errors||await F.guestLinkToClipboard(i.result)}#p(){const t=new Map;return this.#a.forEach(e=>{const n=R.camelToSnakeCase(e);t.set(n,this.#t[e])}),t}#r(t){t.forEach((e,n)=>{const i=this.#t[n];if(e!=null&&i!==void 0&&e!=null&&e.constructor&&e.constructor===i.constructor){if(n.indexOf("date")===0&&!Array.isArray(e)){if(typeof e=="string"&&!/\d\d\d\d-\d\d-\d\d/.test(e))return}this.#t[n]=e}})}#h(t){const e=new Map;return t.forEach((n,i)=>{n!==null&&(n=JSON.stringify(n),e.set(i,n))}),e}#d(t){const e=new Map;return t.forEach((n,i)=>{if(!(n==null||n==="false")){try{if(typeof n=="string"&&!/^\d\d\d\d-\d\d-\d\d$/.test(n)&&(n=JSON.parse(n)),n==null||n==="false")return}catch{}e.set(i,n)}}),e}#f(){let t;try{t=JSON.parse(U.getHash(this.#e))}catch{}if(!t)return;const e=new Map;this.#i.forEach(n=>{const i=t[n];i&&e.set(n,i)}),this.#r(e)}#g(){const t=new Map;this.#i.forEach(i=>{const s=this.#t[i];t.set(i,s)});const e=Object.fromEntries(t),n=JSON.stringify(e);U.setHash(this.#e,n)}#u(t=!1){const e=new Map;let n="state:"+this.#e;t&&(n="state:"+this.#e+":"+location.pathname),this.#s.forEach(s=>{const r=localStorage.getItem(n+":"+s);e.set(s,r)});const i=this.#d(e);this.#r(i)}#m(t=!1){const e=new Map;let n=this.#s,i="state:"+this.#e;t&&(n=this.#l,i="state:"+this.#e+":"+location.pathname),n.forEach(r=>{const l=this.#t[r];e.set(r,l)});const s=this.#h(e);n.forEach(r=>{const l=s.get(r);localStorage.setItem(i+":"+r,l)})}#T(){var s,r,l;const t=(r=(s=this.#n)==null?void 0:s.guest_data)==null?void 0:r.data;if(!t)return;this.#n.id===-1&&(this.#n.positionsReverseDates=t.positionsReverseDates);const e=new Map;this.#a.forEach(h=>{const C=t[h];e.set(h,C)});const n=this.#d(e);this.#r(n);const i=$(".mod_guest_title");if(((l=this.#t.competitorsIds)==null?void 0:l.length)===1&&this.#o.page.data.competitors){let h=this.#o.page.data.competitors.filter(C=>C.id===t.competitorsIds[0]);h.length&&($("a",i).attr("href","http://"+h[0].url),$("a",i).text(h[0].name))}}#w(){this.#t.regionsIndexes&&g.watch(this.#t.regionsIndexes,t=>{if(!t.length)return;t.forEach((i,s)=>t[s]=i);const e=TplProjectSelectorRegion.genSearchersMap(),n=[];e.forEach(i=>{i.regions.forEach(s=>{s.index!==-1&&n.push(s.index)})}),this.#t.regionsIndexes=t.filter(i=>n.includes(i))},{immediate:!0}),this.#t.competitorsIds&&g.watch(this.#t.competitorsIds,t=>{if(!t.length)return;t.forEach((n,i)=>t[i]=n);const e=[this.#o.page.data.project.id];this.#o.page.data.project.competitors.forEach(n=>{n.on>=0&&e.push(n.id)}),this.#t.competitorsIds=t.filter(n=>e.includes(n))},{immediate:!0})}}const et=o=>{var e,n,i,s;const t=o;!((e=t.options.tpaNamesUrlHash)!=null&&e.length)&&!((n=t.options.tpaNamesStorage)!=null&&n.length)&&!((i=t.options.tpaNamesStorageLocal)!=null&&i.length)&&!((s=t.options.tpaNamesGuestLink)!=null&&s.length)||new tt(t)};c.Core=a.Core,c.i18nPlugin=a.i18n,c.useI18n=a.useI18n,c.useI18nLang=a.useI18nLang,c.useI18nSetLang=a.useI18nSetLang,c.TopDialogWorker=f.TopDialogWorker,c.useAsyncTopDialog=f.useAsyncTopDialog,c.useTopDialog=f.useTopDialog,c.corePlugin=q,c.piniaTPAPlugin=et,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
|
|
2
2
|
//# sourceMappingURL=app.amd.js.map
|