@topvisor/ui 0.9.36-colors-1 → 0.9.36-colors-2
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/{popup-rXUMJeua.es.js → popup-BWh8DRIt.es.js} +2 -2
- package/.chunks/popup-BWh8DRIt.es.js.map +1 -0
- package/.chunks/{popup-COBSXWy_.amd.js → popup-CKfepE91.amd.js} +2 -2
- package/.chunks/popup-CKfepE91.amd.js.map +1 -0
- package/assets/dark.css +1 -1
- package/assets/light.css +1 -1
- package/common/common.d.ts +1 -1
- package/components/forms/avatar/avatar.vue.d.ts +12 -12
- package/components/forms/button/button.d.ts +0 -1
- package/components/forms/button/button.vue.d.ts +11 -12
- package/components/forms/checkbox/checkbox.vue.d.ts +19 -43
- package/components/forms/controlLabel/controlLabel.vue.d.ts +7 -8
- package/components/forms/forms.d.ts +0 -1
- package/components/forms/hint/hint.vue.d.ts +2 -3
- package/components/forms/input/input.d.ts +0 -1
- package/components/forms/input/input.vue.d.ts +11 -12
- package/components/forms/inputDate/inputDate.d.ts +0 -1
- package/components/forms/inputDate/inputDate.vue.d.ts +11 -12
- package/components/forms/radio/radio.vue.d.ts +8 -9
- package/components/forms/select/select.d.ts +0 -1
- package/components/forms/select/select.vue.d.ts +31 -69
- package/components/forms/select/stories/exampleOptions.d.ts +0 -1
- package/components/forms/switcher/switcher.vue.d.ts +8 -9
- package/components/forms/textarea/textarea.vue.d.ts +11 -12
- package/components/formsExt/editArea/editArea.d.ts +0 -1
- package/components/formsExt/editArea/editArea.vue.d.ts +11 -12
- package/components/formsExt/editInput/editInput.d.ts +0 -1
- package/components/formsExt/editInput/editInput.vue.d.ts +3 -4
- package/components/formsExt/formsExt.d.ts +0 -1
- package/components/formsExt/menu/menu.d.ts +0 -1
- package/components/formsExt/menu/menu.vue.d.ts +32 -48
- package/components/formsExt/menu/stories/items.d.ts +0 -1
- package/components/formsExt/radioGroup/radioGroup.d.ts +0 -1
- package/components/formsExt/radioGroup/radioGroup.vue.d.ts +31 -42
- package/components/formsExt/selector2/api.d.ts +0 -1
- package/components/formsExt/selector2/itemMulti.vue.d.ts +3 -4
- package/components/formsExt/selector2/selector2.d.ts +0 -1
- package/components/formsExt/selector2/selector2.vue.d.ts +37 -117
- package/components/popup/lib/popup.d.ts +0 -1
- package/components/popup/lib/worker.d.ts +0 -1
- package/components/popup/popup/listItem.vue.d.ts +11 -12
- package/components/popup/popup/opener.vue.d.ts +11 -12
- package/components/popup/popup/popup.vue.d.ts +11 -12
- package/components/popup/popup/widgetInput.vue.d.ts +32 -82
- package/components/popup/popup.d.ts +0 -1
- package/components/project/project.d.ts +0 -1
- package/components/project/selectorCompetitors/composables.d.ts +0 -1
- package/components/project/selectorCompetitors/selectorCompetitors.d.ts +0 -1
- package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +32 -24
- package/components/tabs/tabs/content.vue.d.ts +7 -8
- package/components/tabs/tabs/tab.vue.d.ts +7 -8
- package/components/tabs/tabs/tabs.vue.d.ts +7 -8
- package/components/tabs/tabs.d.ts +0 -1
- package/components/tabsView/tabsView/menu.vue.d.ts +22 -14
- package/components/tabsView/tabsView/menuItem.vue.d.ts +12 -12
- package/components/tabsView/tabsView/menuTitle.vue.d.ts +8 -8
- package/components/tabsView/tabsView/store.d.ts +1 -2
- package/components/tabsView/tabsView/tabsView.d.ts +0 -1
- package/components/tabsView/tabsView/tabsView.vue.d.ts +34 -34
- package/components/tabsView/tabsView.d.ts +0 -1
- package/core/app.d.ts +0 -1
- package/core/core.d.ts +2 -1
- package/core/directives/focus.d.ts +0 -1
- package/core/directives/sticky.d.ts +0 -1
- package/core/directives/swimUp.d.ts +0 -1
- package/core/directives/tooltip.d.ts +0 -1
- package/core/plugins/core.d.ts +0 -1
- package/core/plugins/i18n.d.ts +0 -1
- package/core/plugins/piniaTPA.d.ts +0 -1
- package/core/utils/price.d.ts +0 -1
- package/core/utils/store/localStorage.d.ts +0 -1
- package/core/utils/store/plugin.d.ts +0 -1
- package/core/utils/store/store.d.ts +0 -1
- package/forms/forms.d.ts +1 -0
- package/forms/helpers.d.ts +1 -0
- package/formsExt/formsExt.d.ts +1 -0
- package/package.json +1 -1
- package/popup/popup.d.ts +1 -0
- package/popup/worker.amd.js +1 -1
- package/popup/worker.d.ts +3 -0
- package/popup/worker.js +1 -1
- package/project/project.d.ts +1 -0
- package/tabs/tabs.d.ts +1 -0
- package/tabsView/tabsView.d.ts +1 -0
- package/utils/check.d.ts +1 -0
- package/utils/clipboard.d.ts +1 -0
- package/utils/date.d.ts +1 -0
- package/utils/device.d.ts +1 -0
- package/utils/dom.d.ts +3 -0
- package/utils/image.d.ts +1 -0
- package/utils/keyboard.d.ts +1 -0
- package/utils/number.d.ts +1 -0
- package/utils/price.d.ts +1 -0
- package/utils/route.d.ts +1 -0
- package/utils/scroll.d.ts +1 -0
- package/utils/store.d.ts +1 -0
- package/utils/string.d.ts +1 -0
- package/utils/system.d.ts +1 -0
- package/utils/url.d.ts +1 -0
- package/.chunks/popup-COBSXWy_.amd.js.map +0 -1
- package/.chunks/popup-rXUMJeua.es.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MaybeRefOrGetter, ComputedRef } from 'vue';
|
|
2
2
|
import { Item } from './selectorCompetitors';
|
|
3
3
|
import { Competitor } from './types/competitor';
|
|
4
|
-
|
|
5
4
|
export declare const useItemsFromCompetitors: (competitors: MaybeRefOrGetter<Competitor[]>, projectId: MaybeRefOrGetter<number>) => ComputedRef<Item[]>;
|
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
import { Props
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
modelValue
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
items: {
|
|
17
|
-
type: PropType< Item[]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
showSelectAllItem: {
|
|
21
|
-
type: PropType<boolean>;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
}>>, {
|
|
1
|
+
import { Props } from './selectorCompetitors';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare let __VLS_typeProps: Props;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: Props['modelValue'];
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
7
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
8
|
+
showSelectAllItem: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (modelValue: number[]) => void;
|
|
11
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
12
|
+
showSelectAllItem: boolean;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((modelValue: number[]) => any) | undefined;
|
|
15
|
+
}, {
|
|
25
16
|
showSelectAllItem: boolean;
|
|
26
17
|
}, {}>;
|
|
27
18
|
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { PropsContent } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
6
5
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<PropsContent>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsContent>>>, {}, {}>;
|
|
8
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
8
|
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
10
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
17
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
18
|
} : {
|
|
@@ -16,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
20
|
required: true;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { PropsTab } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
6
5
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<PropsTab>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsTab>>>, {}, {}>;
|
|
8
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
8
|
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
10
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
17
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
18
|
} : {
|
|
@@ -16,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
20
|
required: true;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { Props } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
buttons?(_: {}): any;
|
|
6
5
|
header?(_: {}): any;
|
|
7
6
|
contents?(_: {}): any;
|
|
8
7
|
};
|
|
9
|
-
declare const __VLS_component: DefineComponent<
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
10
9
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
10
|
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
12
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
14
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
19
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
20
|
} : {
|
|
@@ -18,8 +22,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
18
22
|
required: true;
|
|
19
23
|
};
|
|
20
24
|
};
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -2,7 +2,6 @@ import { ComponentCustomProps } from 'vue';
|
|
|
2
2
|
import { default as Tabs } from './tabs/tabs.vue';
|
|
3
3
|
import { default as TabsTab } from './tabs/tab.vue';
|
|
4
4
|
import { default as TabsContent } from './tabs/content.vue';
|
|
5
|
-
|
|
6
5
|
export declare const TopTabs: typeof Tabs & ComponentCustomProps;
|
|
7
6
|
export declare const TopTabsTab: typeof TabsTab & ComponentCustomProps;
|
|
8
7
|
export declare const TopTabsContent: typeof TabsContent & ComponentCustomProps;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsMenu } from './tabsView';
|
|
2
|
+
import { ModelRef, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare let __VLS_typeProps: PropsMenu;
|
|
4
|
+
declare const isLoading: ModelRef<unknown, string>;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
'isLoading'?: NonNullable<typeof isLoading['value']>;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
2
8
|
declare function __VLS_template(): {
|
|
3
9
|
default?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
4
11
|
};
|
|
5
|
-
declare const __VLS_component: DefineComponent<{
|
|
6
|
-
isLoading:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
12
|
-
isLoading: PropType<any>;
|
|
13
|
-
isShortable: {
|
|
14
|
-
type: PropType<boolean | undefined>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
}>>, {}, {}>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
"update:isLoading": (isLoading: {}) => void;
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
15
|
+
"onUpdate:isLoading"?: ((isLoading: {}) => any) | undefined;
|
|
16
|
+
}, {}, {}>;
|
|
18
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
18
|
export default _default;
|
|
20
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -22,3 +21,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
22
21
|
$slots: S;
|
|
23
22
|
};
|
|
24
23
|
};
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PropsMenuItem } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, Component, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PropsMenuItem>, {
|
|
8
8
|
scrollable: boolean;
|
|
9
9
|
component: undefined;
|
|
10
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PropsMenuItem>, {
|
|
11
11
|
scrollable: boolean;
|
|
12
12
|
component: undefined;
|
|
13
13
|
}>>>, {
|
|
@@ -16,15 +16,6 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
16
16
|
}, {}>;
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
18
|
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
19
|
type __VLS_WithDefaults<P, D> = {
|
|
29
20
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
21
|
default: D[K];
|
|
@@ -38,3 +29,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
38
29
|
$slots: S;
|
|
39
30
|
};
|
|
40
31
|
};
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { PropsMenuTitle } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<PropsMenuTitle>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsMenuTitle>>>, {}, {}>;
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
9
|
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
10
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
16
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
18
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
19
|
} : {
|
|
@@ -16,8 +21,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
21
|
required: true;
|
|
17
22
|
};
|
|
18
23
|
};
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -2,7 +2,6 @@ import { ModelRef, InjectionKey, Slot, Component, Directive, ComputedOptions, Me
|
|
|
2
2
|
import { Props, Store, PropsMenuItem } from './tabsView';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
4
|
import { Store } from '../../../core/utils/store/store';
|
|
5
|
-
|
|
6
5
|
export declare const injectionKey: InjectionKey<Store>;
|
|
7
6
|
/**
|
|
8
7
|
* Инициировать Store компонента
|
|
@@ -126,7 +125,7 @@ export declare const defineTabsStore: (props: Props, model: ModelRef<string | un
|
|
|
126
125
|
__name: string;
|
|
127
126
|
} | {
|
|
128
127
|
props: ComponentPropsOptions<any>;
|
|
129
|
-
emits:
|
|
128
|
+
emits: never[] | {};
|
|
130
129
|
slots: Readonly<{
|
|
131
130
|
[name: string]: Slot<any> | undefined;
|
|
132
131
|
}>;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './tabsView';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare let __VLS_typeProps: Props;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
2
7
|
declare function __VLS_template(): {
|
|
3
8
|
menu?(_: {}): any;
|
|
4
9
|
};
|
|
5
|
-
declare const __VLS_component: DefineComponent<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
type: PropType<boolean>;
|
|
17
|
-
};
|
|
18
|
-
idState: {
|
|
19
|
-
type: PropType<string>;
|
|
20
|
-
};
|
|
21
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
22
|
-
modelValue: PropType<string>;
|
|
23
|
-
showMenuInPopup: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
default: undefined;
|
|
26
|
-
};
|
|
27
|
-
isShortable: {
|
|
28
|
-
type: PropType<boolean>;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
pageMod: {
|
|
32
|
-
type: PropType<boolean>;
|
|
33
|
-
};
|
|
34
|
-
idState: {
|
|
35
|
-
type: PropType<string>;
|
|
36
|
-
};
|
|
37
|
-
}>>, {
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
11
|
+
showMenuInPopup: undefined;
|
|
12
|
+
isShortable: boolean;
|
|
13
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (modelValue: string) => void;
|
|
15
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
16
|
+
showMenuInPopup: undefined;
|
|
17
|
+
isShortable: boolean;
|
|
18
|
+
}>>> & {
|
|
19
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
20
|
+
}, {
|
|
38
21
|
showMenuInPopup: boolean;
|
|
39
22
|
isShortable: boolean;
|
|
40
23
|
}, {}>;
|
|
41
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
25
|
export default _default;
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
43
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
35
|
new (): {
|
|
45
36
|
$slots: S;
|
|
46
37
|
};
|
|
47
38
|
};
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToOption<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -2,7 +2,6 @@ import { ComponentCustomProps } from 'vue';
|
|
|
2
2
|
import { default as TabsView } from './tabsView/tabsView.vue';
|
|
3
3
|
import { default as TabsViewMenuItem } from './tabsView/menuItem.vue';
|
|
4
4
|
import { default as TabsViewMenuTitle } from './tabsView/menuTitle.vue';
|
|
5
|
-
|
|
6
5
|
export declare const TopTabsView: typeof TabsView & ComponentCustomProps;
|
|
7
6
|
export declare const TopTabsViewMenuItem: typeof TabsViewMenuItem & ComponentCustomProps;
|
|
8
7
|
export declare const TopTabsViewMenuTitle: typeof TabsViewMenuTitle & ComponentCustomProps;
|
package/core/app.d.ts
CHANGED
|
@@ -2,6 +2,5 @@ import { default as Core } from './core/core';
|
|
|
2
2
|
import { default as corePlugin } from './plugins/core';
|
|
3
3
|
import { Lang, default as i18nPlugin, useI18n, useI18nLang, useI18nSetLang } from './plugins/i18n';
|
|
4
4
|
import { default as piniaTPAPlugin } from './plugins/piniaTPA';
|
|
5
|
-
|
|
6
5
|
export { Core, useI18n, useI18nLang, useI18nSetLang, corePlugin, i18nPlugin, piniaTPAPlugin, };
|
|
7
6
|
export type { Lang, };
|
package/core/core.d.ts
CHANGED
package/core/plugins/core.d.ts
CHANGED
package/core/plugins/i18n.d.ts
CHANGED
package/core/utils/price.d.ts
CHANGED
package/forms/forms.d.ts
CHANGED
package/forms/helpers.d.ts
CHANGED
package/formsExt/formsExt.d.ts
CHANGED
package/package.json
CHANGED
package/popup/popup.d.ts
CHANGED
package/popup/worker.amd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","exports","../.chunks/forms-2IN9bh7q.amd","../utils/dom.amd","../utils/scroll.amd"],function(require,exports,forms,utils_dom,utils_scroll){"use strict";if(typeof vue>"u")var vue=window.Vue;class WorkerEvents{static init(){document.addEventListener("mouseover",t=>{var o;!(t.target instanceof HTMLElement)||!((o=t.target.dataset)!=null&&o.topPopupOpenByHover)||t.target.click()}),document.addEventListener("scroll",()=>{forms.Core.state.isMobile||forms.Core.state.isMobileUA||Worker$1.getAll().forEach(t=>Worker$1.close(t))}),forms.Events.addOnReize(t=>{forms.Core.state.isMobile&&t.topEvent.widthDiff&&Worker$1.getAll().forEach(o=>Worker$1.close(o))}),document.addEventListener("click",this.onclick)}static async onclick(t){var p,a,r,s,n;if(!(t.target instanceof HTMLElement))return;let o;switch(!0){case!!((p=t.target.dataset)!=null&&p.topPopup):o=t.target;break;case!!((a=t.target.parentElement)!=null&&a.dataset.topPopup):o=t.target.parentElement;break;case!!((s=(r=t.target.parentElement)==null?void 0:r.parentElement)!=null&&s.dataset.topPopup):o=(n=t.target.parentElement)==null?void 0:n.parentElement;break}o&&(o.dataset.topPopupDisabled||o.dataset.topPopupOpened||(t.preventDefault(),await Worker$1.openByOpener(o)))}}let decoratorBeforeOpen,decoratorAfterOpen,decoratorIsIgnoreOuterClick;class Worker{static noClose=!1;static vueConnectors=new Map;static onInitApp(e){e&&(decoratorBeforeOpen=e.decoratorBeforeOpen,decoratorAfterOpen=e.decoratorAfterOpen,decoratorIsIgnoreOuterClick=e.decoratorIsIgnoreOuterClick)}static getPopup(e){return utils_dom.default.storage(e,"Popup")}static getAll(){return utils_dom.default.querySelectorAllArray(document,".top-popup-wrapper")}static getAllVisible(){return utils_dom.default.querySelectorAllVisible(document,".top-popup-wrapper")}static async openByOpener(e){if(!(e instanceof HTMLElement))return;const t={};return t.popup=e.dataset.topPopup,e.dataset.topPopupP&&(t.p=parseInt(e.dataset.topPopupP)),e.dataset.topPopupNotch&&(t.notch=e.dataset.topPopupNotch==="true"||e.dataset.topPopupNotch==="1"),e.dataset.topPopupClass&&(t.class=e.dataset.topPopupClass),e.dataset.topPopupPosBy&&(t.posBy=e.dataset.topPopupPosBy),e.dataset.topPopupFront&&(t.frontSelector=e.dataset.topPopupFront),e.dataset.topPopupInvertX&&(t.invertX=e.dataset.topPopupInvertX==="true"||e.dataset.topPopupInvertX==="1"),e.dataset.topPopupOpenByHover&&(t.openByHover=e.dataset.topPopupOpenByHover==="true"||e.dataset.topPopupOpenByHover==="1"),e.dataset.topPopupUseOriginal&&(t.useOriginal=e.dataset.topPopupUseOriginal==="true"||e.dataset.topPopupUseOriginal==="1"),await Worker.open(e,t)}static async open(elOpener,options){elOpener instanceof HTMLElement&&(elOpener.dataset.topPopupOpened="opened");const{default:Popup}=await new Promise((e,t)=>require(["../.chunks/popup-
|
|
1
|
+
define(["require","exports","../.chunks/forms-2IN9bh7q.amd","../utils/dom.amd","../utils/scroll.amd"],function(require,exports,forms,utils_dom,utils_scroll){"use strict";if(typeof vue>"u")var vue=window.Vue;class WorkerEvents{static init(){document.addEventListener("mouseover",t=>{var o;!(t.target instanceof HTMLElement)||!((o=t.target.dataset)!=null&&o.topPopupOpenByHover)||t.target.click()}),document.addEventListener("scroll",()=>{forms.Core.state.isMobile||forms.Core.state.isMobileUA||Worker$1.getAll().forEach(t=>Worker$1.close(t))}),forms.Events.addOnReize(t=>{forms.Core.state.isMobile&&t.topEvent.widthDiff&&Worker$1.getAll().forEach(o=>Worker$1.close(o))}),document.addEventListener("click",this.onclick)}static async onclick(t){var p,a,r,s,n;if(!(t.target instanceof HTMLElement))return;let o;switch(!0){case!!((p=t.target.dataset)!=null&&p.topPopup):o=t.target;break;case!!((a=t.target.parentElement)!=null&&a.dataset.topPopup):o=t.target.parentElement;break;case!!((s=(r=t.target.parentElement)==null?void 0:r.parentElement)!=null&&s.dataset.topPopup):o=(n=t.target.parentElement)==null?void 0:n.parentElement;break}o&&(o.dataset.topPopupDisabled||o.dataset.topPopupOpened||(t.preventDefault(),await Worker$1.openByOpener(o)))}}let decoratorBeforeOpen,decoratorAfterOpen,decoratorIsIgnoreOuterClick;class Worker{static noClose=!1;static vueConnectors=new Map;static onInitApp(e){e&&(decoratorBeforeOpen=e.decoratorBeforeOpen,decoratorAfterOpen=e.decoratorAfterOpen,decoratorIsIgnoreOuterClick=e.decoratorIsIgnoreOuterClick)}static getPopup(e){return utils_dom.default.storage(e,"Popup")}static getAll(){return utils_dom.default.querySelectorAllArray(document,".top-popup-wrapper")}static getAllVisible(){return utils_dom.default.querySelectorAllVisible(document,".top-popup-wrapper")}static async openByOpener(e){if(!(e instanceof HTMLElement))return;const t={};return t.popup=e.dataset.topPopup,e.dataset.topPopupP&&(t.p=parseInt(e.dataset.topPopupP)),e.dataset.topPopupNotch&&(t.notch=e.dataset.topPopupNotch==="true"||e.dataset.topPopupNotch==="1"),e.dataset.topPopupClass&&(t.class=e.dataset.topPopupClass),e.dataset.topPopupPosBy&&(t.posBy=e.dataset.topPopupPosBy),e.dataset.topPopupFront&&(t.frontSelector=e.dataset.topPopupFront),e.dataset.topPopupInvertX&&(t.invertX=e.dataset.topPopupInvertX==="true"||e.dataset.topPopupInvertX==="1"),e.dataset.topPopupOpenByHover&&(t.openByHover=e.dataset.topPopupOpenByHover==="true"||e.dataset.topPopupOpenByHover==="1"),e.dataset.topPopupUseOriginal&&(t.useOriginal=e.dataset.topPopupUseOriginal==="true"||e.dataset.topPopupUseOriginal==="1"),await Worker.open(e,t)}static async open(elOpener,options){elOpener instanceof HTMLElement&&(elOpener.dataset.topPopupOpened="opened");const{default:Popup}=await new Promise((e,t)=>require(["../.chunks/popup-CKfepE91.amd"],e,t));if(forms.Core.$){const $elOpener=forms.Core.$(elOpener);if($elOpener.data("aftershow")){let afterShow=$elOpener.data("aftershow");typeof afterShow=="string"&&(afterShow=eval(afterShow.replace(/\W/g,""))),$elOpener.one("aftershow.top-menu-popup",afterShow)}if($elOpener.data("afterclose")){let afterclose=$elOpener.data("afterclose");typeof afterclose=="string"&&(afterclose=eval(afterclose.replace(/\W/g,""))),$elOpener.one("afterclose.top-menu-popup",afterclose)}}return options.isFullScreen=forms.Core.state.isMobile,new Popup(elOpener,options)}static close(e){const t=Worker.getPopup(e);t&&t.close()}static recalcPosition(e){const t=Worker.getPopup(e);t&&t.elPopupBody instanceof HTMLElement&&(t.recalcPosition(),utils_scroll.genHasScroll(t.elPopupBody))}static scrollToActive(e){if(!utils_dom.default.querySelectorVisible(e,"ul.top-popup_content > li > .top-active"))return;const o=e.querySelector("ul.top-popup_content"),p=utils_dom.default.querySelectorAllVisible(e,"ul.top-popup_content > li");e.classList.add("top-popup-wrapper-no_animate"),setTimeout(()=>e.classList.remove("top-popup-wrapper-no_animate"),100);let a=100;for(const r of p){if(r.querySelector(":scope > .top-active"))break;r instanceof HTMLElement&&(a+=r.offsetHeight)}if(o instanceof HTMLElement){const r=o.offsetHeight;a>r?o.scrollTop=a-r:o.scrollTop=0}}static decoratorBeforeOpen(e){decoratorBeforeOpen&&decoratorBeforeOpen(e)}static decoratorAfterOpen(e){decoratorAfterOpen&&decoratorAfterOpen(e)}static decoratorIsIgnoreOuterClick(e){return decoratorIsIgnoreOuterClick?decoratorIsIgnoreOuterClick(e):!1}static regVueComponent(e,t){if(Worker.vueConnectors.get(e))throw"Vue component Popup use duplicated id: "+e;Worker.vueConnectors.set(e,t)}static unregVueComponent(e){Worker.vueConnectors.delete(e)}}WorkerEvents.init();const Worker$1=Worker;exports.TopPopupWorker=Worker$1,exports.default=Worker$1,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
2
2
|
//# sourceMappingURL=worker.amd.js.map
|
package/popup/worker.d.ts
CHANGED
package/popup/worker.js
CHANGED
|
@@ -75,7 +75,7 @@ class Worker {
|
|
|
75
75
|
*/
|
|
76
76
|
static async open(elOpener, options) {
|
|
77
77
|
elOpener instanceof HTMLElement && (elOpener.dataset.topPopupOpened = "opened");
|
|
78
|
-
const { default: Popup } = await import("../.chunks/popup-
|
|
78
|
+
const { default: Popup } = await import("../.chunks/popup-BWh8DRIt.es.js");
|
|
79
79
|
if (Core.$) {
|
|
80
80
|
const $elOpener = Core.$(elOpener);
|
|
81
81
|
if ($elOpener.data("aftershow")) {
|
package/project/project.d.ts
CHANGED
package/tabs/tabs.d.ts
CHANGED
package/tabsView/tabsView.d.ts
CHANGED
package/utils/check.d.ts
CHANGED
package/utils/clipboard.d.ts
CHANGED
package/utils/date.d.ts
CHANGED
package/utils/device.d.ts
CHANGED