@topvisor/ui 1.0.41 → 1.0.42-TopSelector.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/{core-D2o3elGA.amd.js → core-CNHOrWnw.amd.js} +2 -2
- package/.chunks/{core-D2o3elGA.amd.js.map → core-CNHOrWnw.amd.js.map} +1 -1
- package/.chunks/{core-CwjGTMhd.es.js → core-kP5TitXz.es.js} +4 -4
- package/.chunks/{core-CwjGTMhd.es.js.map → core-kP5TitXz.es.js.map} +1 -1
- package/.chunks/{datepicker-Byyye2pn.amd.js → datepicker-DnMEQ2c7.amd.js} +2 -2
- package/.chunks/{datepicker-Byyye2pn.amd.js.map → datepicker-DnMEQ2c7.amd.js.map} +1 -1
- package/.chunks/{datepicker-N83oX3hx.es.js → datepicker-yhtd7Tx4.es.js} +2 -2
- package/.chunks/{datepicker-N83oX3hx.es.js.map → datepicker-yhtd7Tx4.es.js.map} +1 -1
- package/.chunks/{dialog_selectorRegions-pDIYvl7b.amd.js → dialog_selectorRegions-B7ylHRje.amd.js} +2 -2
- package/.chunks/{dialog_selectorRegions-pDIYvl7b.amd.js.map → dialog_selectorRegions-B7ylHRje.amd.js.map} +1 -1
- package/.chunks/{dialog_selectorRegions-lYV2SJBx.es.js → dialog_selectorRegions-C7d9L2z3.es.js} +4 -4
- package/.chunks/{dialog_selectorRegions-lYV2SJBx.es.js.map → dialog_selectorRegions-C7d9L2z3.es.js.map} +1 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C0n3o7PD.amd.js +2 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C0n3o7PD.amd.js.map +1 -0
- package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-X3S_WcSV.es.js → dialogs.vue_vue_type_script_setup_true_lang-ma6AxkKH.es.js} +113 -97
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-ma6AxkKH.es.js.map +1 -0
- package/.chunks/forms-BduN5hFf.amd.js +3 -0
- package/.chunks/{forms-DO87ZZk9.amd.js.map → forms-BduN5hFf.amd.js.map} +1 -1
- package/.chunks/{forms-C-fyoosd.es.js → forms-CiEXUPjB.es.js} +482 -470
- package/.chunks/{forms-C-fyoosd.es.js.map → forms-CiEXUPjB.es.js.map} +1 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CXMPz7WD.es.js +184 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CXMPz7WD.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DUKoPDjZ.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DUKoPDjZ.amd.js.map +1 -0
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-Bi9Z81pC.es.js → menu.vue_vue_type_style_index_0_lang--iamwNSE.es.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-Bi9Z81pC.es.js.map → menu.vue_vue_type_style_index_0_lang--iamwNSE.es.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-7eYwnVLw.amd.js → menu.vue_vue_type_style_index_0_lang-C9cIXmj2.amd.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-7eYwnVLw.amd.js.map → menu.vue_vue_type_style_index_0_lang-C9cIXmj2.amd.js.map} +1 -1
- package/.chunks/{notice-B8nfJMJN.amd.js → notice-CEYLelBs.amd.js} +2 -2
- package/.chunks/{notice-B8nfJMJN.amd.js.map → notice-CEYLelBs.amd.js.map} +1 -1
- package/.chunks/{notice-DCONQ8rR.es.js → notice-D13FhiHA.es.js} +2 -2
- package/.chunks/{notice-DCONQ8rR.es.js.map → notice-D13FhiHA.es.js.map} +1 -1
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-Dze2ZUr3.es.js → page.vue_vue_type_script_setup_true_lang-B6YquNpa.es.js} +4 -4
- package/.chunks/page.vue_vue_type_script_setup_true_lang-B6YquNpa.es.js.map +1 -0
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-Cg3dLy7K.amd.js → page.vue_vue_type_script_setup_true_lang-DpmKeCWn.amd.js} +2 -2
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DpmKeCWn.amd.js.map +1 -0
- package/.chunks/popup-C5-ffkMJ.amd.js +2 -0
- package/.chunks/popup-C5-ffkMJ.amd.js.map +1 -0
- package/.chunks/{popup-PpCQY5Zi.es.js → popup-a5ndofEo.es.js} +107 -74
- package/.chunks/popup-a5ndofEo.es.js.map +1 -0
- package/.chunks/{utils-DAIrXU57.amd.js → utils-BgjhCn4H.amd.js} +2 -2
- package/.chunks/{utils-DAIrXU57.amd.js.map → utils-BgjhCn4H.amd.js.map} +1 -1
- package/.chunks/{utils-DsICGMuv.es.js → utils-DUw1K93-.es.js} +2 -2
- package/.chunks/{utils-DsICGMuv.es.js.map → utils-DUw1K93-.es.js.map} +1 -1
- package/.chunks/utils-DWmOkm95.amd.js +2 -0
- package/.chunks/utils-DWmOkm95.amd.js.map +1 -0
- package/.chunks/{utils-BcKnFj1j.es.js → utils-DvEz97O5.es.js} +246 -169
- package/.chunks/utils-DvEz97O5.es.js.map +1 -0
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/formsExt.css +1 -1
- package/assets/notice.css +1 -1
- package/assets/project.css +1 -1
- package/charts/charts.amd.js +1 -1
- package/charts/charts.js +1 -1
- package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +3 -0
- package/components/dialog/lib/types.d.ts +23 -0
- package/components/dialog/lib/utils.d.ts +8 -8
- package/components/dialog/lib/utils.globalEvents.d.ts +2 -2
- package/components/dialog/lib/worker.d.ts +12 -11
- package/components/forms/button/button.vue.d.ts +2 -5
- package/components/forms/button/types.d.ts +10 -0
- package/components/formsExt/formsExt.d.ts +2 -0
- package/components/formsExt/policy/policy.vue.d.ts +4 -0
- package/components/formsExt/policy/types.d.ts +10 -0
- package/components/formsExt/selector2/composables/useAPI.d.ts +1 -1
- package/components/formsExt/selector2/composables/useMenu.d.ts +5 -1
- package/components/formsExt/selector2/selector2.vue.d.ts +10 -177
- package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +1 -2
- package/components/formsExt/selector2/types.d.ts +48 -22
- package/components/popup/alert/alert.vue.d.ts +1 -10
- package/components/popup/alert/types.d.ts +2 -2
- package/components/popup/confirm/confirm.vue.d.ts +1 -12
- package/components/popup/confirm/types.d.ts +1 -1
- package/components/popup/lib/popup.d.ts +6 -2
- package/components/popup/lib/worker.d.ts +6 -4
- package/components/popup/popup/opener.vue.d.ts +11 -17
- package/components/popup/popup/popup.vue.d.ts +30 -32
- package/components/popup/popup/types.d.ts +20 -11
- package/components/popup/prompt/prompt.vue.d.ts +1 -12
- package/components/popup/prompt/types.d.ts +1 -1
- package/core/app.amd.js +1 -1
- package/core/app.js +5 -5
- package/core/core/core.d.ts +1 -1
- package/core/core/options.d.ts +7 -6
- package/core/core/state.d.ts +1 -1
- package/core/plugins/core.d.ts +1 -1
- package/core/utils/date.d.ts +30 -12
- package/core/utils/dom.d.ts +11 -1
- package/core/utils/string.d.ts +1 -1
- package/dialog/dialog.amd.js +1 -1
- package/dialog/dialog.js +2 -2
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +434 -311
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/demo.html +15 -1
- package/icomoon/fonts/Topvisor-2.eot +0 -0
- package/icomoon/fonts/Topvisor-2.svg +1 -0
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +1 -1
- package/icomoon/style.css +8 -5
- package/layout/layout.amd.js +1 -1
- package/layout/layout.js +1 -1
- package/package.json +1 -1
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +27 -24
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.js +30 -21
- 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 +6 -6
- package/project/project.js.map +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.js +1 -1
- package/utils/clipboard.amd.js +1 -1
- package/utils/clipboard.js +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +4 -3
- 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 +27 -22
- package/utils/dom.js.map +1 -1
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/price.amd.js +1 -1
- package/utils/price.js +1 -1
- package/utils/searchers.amd.js +1 -1
- package/utils/searchers.js +3 -3
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.js +34 -30
- package/utils/string.js.map +1 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B14m3p7q.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B14m3p7q.amd.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-X3S_WcSV.es.js.map +0 -1
- package/.chunks/forms-DO87ZZk9.amd.js +0 -3
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BJTTvdc7.es.js +0 -181
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BJTTvdc7.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DDQSxC8E.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DDQSxC8E.amd.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-Cg3dLy7K.amd.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-Dze2ZUr3.es.js.map +0 -1
- package/.chunks/popup-PpCQY5Zi.es.js.map +0 -1
- package/.chunks/popup-XXfdNLmr.amd.js +0 -2
- package/.chunks/popup-XXfdNLmr.amd.js.map +0 -1
- package/.chunks/utils-BcKnFj1j.es.js.map +0 -1
- package/.chunks/utils-pvFg1FqE.amd.js +0 -2
- package/.chunks/utils-pvFg1FqE.amd.js.map +0 -1
- package/icomoon/Topvisor icons.json +0 -6612
|
@@ -29,6 +29,16 @@ export interface Props {
|
|
|
29
29
|
isActive?: boolean;
|
|
30
30
|
isProgress?: boolean;
|
|
31
31
|
}
|
|
32
|
+
export interface Slots {
|
|
33
|
+
/**
|
|
34
|
+
* Текст в кнопке
|
|
35
|
+
*/
|
|
36
|
+
default?(props: {}): any;
|
|
37
|
+
/**
|
|
38
|
+
* HTML в кнопке
|
|
39
|
+
*/
|
|
40
|
+
html?(props: {}): any;
|
|
41
|
+
}
|
|
32
42
|
/**
|
|
33
43
|
* Определение событий
|
|
34
44
|
*/
|
|
@@ -6,6 +6,7 @@ import { default as CheckboxGroup } from './checkboxGroup/checkboxGroup.vue';
|
|
|
6
6
|
import { default as Selector2 } from './selector2/selector2.vue';
|
|
7
7
|
import { default as Menu } from './menu/menu.vue';
|
|
8
8
|
import { default as Info } from './info/info.vue';
|
|
9
|
+
import { default as Policy } from './policy/policy.vue';
|
|
9
10
|
export declare const TopEditArea: typeof EditArea & ComponentCustomProps;
|
|
10
11
|
export declare const TopEditInput: typeof EditInput & ComponentCustomProps;
|
|
11
12
|
export declare const TopRadioGroup: typeof RadioGroup & ComponentCustomProps;
|
|
@@ -13,3 +14,4 @@ export declare const TopCheckboxGroup: typeof CheckboxGroup & ComponentCustomPro
|
|
|
13
14
|
export declare const TopSelector2: typeof Selector2 & ComponentCustomProps;
|
|
14
15
|
export declare const TopMenu: typeof Menu & ComponentCustomProps;
|
|
15
16
|
export declare const TopInfo: typeof Info & ComponentCustomProps;
|
|
17
|
+
export declare const TopPolicy: typeof Policy & ComponentCustomProps;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -26,5 +26,5 @@ export declare const useAPI: (apiRequest: Props["apiRequest"], minLength: number
|
|
|
26
26
|
}[]>;
|
|
27
27
|
isLoading: Ref<boolean, boolean>;
|
|
28
28
|
loadAppend: () => Promise<void>;
|
|
29
|
-
setSearchTextAndLoad: (
|
|
29
|
+
setSearchTextAndLoad: (newSearchText: string, useDebounce?: boolean) => void;
|
|
30
30
|
};
|
|
@@ -4,9 +4,13 @@ import { API } from './useAPI';
|
|
|
4
4
|
/**
|
|
5
5
|
* Функционал поиска
|
|
6
6
|
*/
|
|
7
|
-
export declare const useMenu: (model: Ref<Props["modelValue"]>, items: Ref<Props["items"]>, multiselect: Props["multiselect"], appendAllValue: Ref<Props["appendAllValue"]>, appendSearchToResult: Ref<Props["appendSearchToResult"]>, api: API) => {
|
|
7
|
+
export declare const useMenu: (model: Ref<Props["modelValue"]>, items: Ref<Props["items"]>, multiselect: Props["multiselect"], appendAllValue: Ref<Props["appendAllValue"]>, appendSearchToResult: Ref<Props["appendSearchToResult"]>, searchType: Ref<Props["searchType"]>, minLength: number, api: API) => {
|
|
8
8
|
searchText: Ref<string, string>;
|
|
9
9
|
resetSearch: () => void;
|
|
10
|
+
genIsShort: () => boolean;
|
|
10
11
|
items: ComputedRef<Item[]>;
|
|
11
12
|
itemsForShow: ComputedRef<Item[]>;
|
|
13
|
+
selectItem: (item: Item) => void;
|
|
14
|
+
selectNextItem: () => void;
|
|
15
|
+
deleteItemById: (id: Item["id"]) => Promise<void>;
|
|
12
16
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Item, Props, Slots, Size } from './types';
|
|
2
2
|
import { TopLibPopup } from '../../popup/lib/popup';
|
|
3
|
-
import {
|
|
4
|
-
import { PopupEvent, Props } from '../../popup/popup/types';
|
|
5
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
3
|
+
import { ShallowUnwrapRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
6
4
|
type __VLS_Props = Props;
|
|
7
5
|
type __VLS_PublicProps = {
|
|
8
6
|
modelValue: Props['modelValue'];
|
|
@@ -11,93 +9,11 @@ declare function __VLS_template(): {
|
|
|
11
9
|
attrs: Partial<{}>;
|
|
12
10
|
slots: Readonly<Slots> & Slots;
|
|
13
11
|
refs: {
|
|
14
|
-
popupRef:
|
|
15
|
-
$: ComponentInternalInstance;
|
|
16
|
-
$data: {};
|
|
17
|
-
$props: {
|
|
18
|
-
readonly id?: string | undefined;
|
|
19
|
-
readonly class?: string | undefined;
|
|
20
|
-
readonly transitionDuration?: number | undefined;
|
|
21
|
-
readonly footerSupportLink?: string | undefined;
|
|
22
|
-
readonly pos?: "0" | "1" | "2" | "3" | "4" | undefined;
|
|
23
|
-
readonly notch?: boolean | undefined;
|
|
24
|
-
readonly openByHover?: boolean | undefined;
|
|
25
|
-
readonly posBy?: "fixed" | "left" | "right" | undefined;
|
|
26
|
-
readonly onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
27
|
-
readonly onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
28
|
-
readonly onScrollContentList?: ((e: Event) => any) | undefined;
|
|
29
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
30
|
-
$attrs: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
};
|
|
33
|
-
$refs: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
$slots: Readonly<{
|
|
37
|
-
[name: string]: Slot<any> | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
$root: ComponentPublicInstance | null;
|
|
40
|
-
$parent: ComponentPublicInstance | null;
|
|
41
|
-
$host: Element | null;
|
|
42
|
-
$emit: ((event: "close", popupEvent: PopupEvent) => void) & ((event: "open", popupEvent: PopupEvent) => void) & ((event: "scrollContentList", e: Event) => void);
|
|
43
|
-
$el: any;
|
|
44
|
-
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
|
45
|
-
onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
46
|
-
onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
47
|
-
onScrollContentList?: ((e: Event) => any) | undefined;
|
|
48
|
-
}>, {
|
|
49
|
-
popup: TopLibPopup | undefined;
|
|
50
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
51
|
-
close: (popupEvent: PopupEvent) => any;
|
|
52
|
-
open: (popupEvent: PopupEvent) => any;
|
|
53
|
-
scrollContentList: (e: Event) => any;
|
|
54
|
-
}, string, {
|
|
55
|
-
id: string;
|
|
56
|
-
posBy: "fixed" | "left" | "right";
|
|
57
|
-
pos: "0" | "1" | "2" | "3" | "4";
|
|
58
|
-
notch: boolean;
|
|
59
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
60
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
61
|
-
created?: (() => void) | (() => void)[];
|
|
62
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
63
|
-
mounted?: (() => void) | (() => void)[];
|
|
64
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
65
|
-
updated?: (() => void) | (() => void)[];
|
|
66
|
-
activated?: (() => void) | (() => void)[];
|
|
67
|
-
deactivated?: (() => void) | (() => void)[];
|
|
68
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
69
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
70
|
-
destroyed?: (() => void) | (() => void)[];
|
|
71
|
-
unmounted?: (() => void) | (() => void)[];
|
|
72
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
73
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
74
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
75
|
-
};
|
|
76
|
-
$forceUpdate: () => void;
|
|
77
|
-
$nextTick: nextTick;
|
|
78
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
79
|
-
} & Readonly<{
|
|
12
|
+
popupRef: ShallowUnwrapRef<{
|
|
80
13
|
id: string;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}> & Omit<Readonly< Props> & Readonly<{
|
|
85
|
-
onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
86
|
-
onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
87
|
-
onScrollContentList?: ((e: Event) => any) | undefined;
|
|
88
|
-
}>, ("id" | "posBy" | "pos" | "notch") | "popup"> & ShallowUnwrapRef<{
|
|
89
|
-
popup: TopLibPopup | undefined;
|
|
90
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
91
|
-
$slots: {
|
|
92
|
-
opener?(_: {}): any;
|
|
93
|
-
header?(_: {}): any;
|
|
94
|
-
widget?(_: {}): any;
|
|
95
|
-
content?(_: {}): any;
|
|
96
|
-
contentList?(_: {}): any;
|
|
97
|
-
footer?(_: {}): any;
|
|
98
|
-
};
|
|
99
|
-
}) | null;
|
|
100
|
-
elRef: HTMLDivElement;
|
|
14
|
+
popup: TopLibPopup<undefined> | undefined;
|
|
15
|
+
}> | null;
|
|
16
|
+
subcomponentSelector: unknown;
|
|
101
17
|
};
|
|
102
18
|
rootEl: any;
|
|
103
19
|
};
|
|
@@ -109,97 +25,14 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
109
25
|
}>, {
|
|
110
26
|
size: Size;
|
|
111
27
|
items: Item[];
|
|
28
|
+
searchType: "none" | "inline" | "popup";
|
|
112
29
|
minLength: number;
|
|
113
|
-
showSelectedInInput: boolean;
|
|
114
|
-
showSearch: boolean;
|
|
115
30
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
116
|
-
popupRef:
|
|
117
|
-
$: ComponentInternalInstance;
|
|
118
|
-
$data: {};
|
|
119
|
-
$props: {
|
|
120
|
-
readonly id?: string | undefined;
|
|
121
|
-
readonly class?: string | undefined;
|
|
122
|
-
readonly transitionDuration?: number | undefined;
|
|
123
|
-
readonly footerSupportLink?: string | undefined;
|
|
124
|
-
readonly pos?: "0" | "1" | "2" | "3" | "4" | undefined;
|
|
125
|
-
readonly notch?: boolean | undefined;
|
|
126
|
-
readonly openByHover?: boolean | undefined;
|
|
127
|
-
readonly posBy?: "fixed" | "left" | "right" | undefined;
|
|
128
|
-
readonly onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
129
|
-
readonly onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
130
|
-
readonly onScrollContentList?: ((e: Event) => any) | undefined;
|
|
131
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
132
|
-
$attrs: {
|
|
133
|
-
[x: string]: unknown;
|
|
134
|
-
};
|
|
135
|
-
$refs: {
|
|
136
|
-
[x: string]: unknown;
|
|
137
|
-
};
|
|
138
|
-
$slots: Readonly<{
|
|
139
|
-
[name: string]: Slot<any> | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
$root: ComponentPublicInstance | null;
|
|
142
|
-
$parent: ComponentPublicInstance | null;
|
|
143
|
-
$host: Element | null;
|
|
144
|
-
$emit: ((event: "close", popupEvent: PopupEvent) => void) & ((event: "open", popupEvent: PopupEvent) => void) & ((event: "scrollContentList", e: Event) => void);
|
|
145
|
-
$el: any;
|
|
146
|
-
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
|
147
|
-
onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
148
|
-
onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
149
|
-
onScrollContentList?: ((e: Event) => any) | undefined;
|
|
150
|
-
}>, {
|
|
151
|
-
popup: TopLibPopup | undefined;
|
|
152
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
153
|
-
close: (popupEvent: PopupEvent) => any;
|
|
154
|
-
open: (popupEvent: PopupEvent) => any;
|
|
155
|
-
scrollContentList: (e: Event) => any;
|
|
156
|
-
}, string, {
|
|
157
|
-
id: string;
|
|
158
|
-
posBy: "fixed" | "left" | "right";
|
|
159
|
-
pos: "0" | "1" | "2" | "3" | "4";
|
|
160
|
-
notch: boolean;
|
|
161
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
162
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
163
|
-
created?: (() => void) | (() => void)[];
|
|
164
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
165
|
-
mounted?: (() => void) | (() => void)[];
|
|
166
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
167
|
-
updated?: (() => void) | (() => void)[];
|
|
168
|
-
activated?: (() => void) | (() => void)[];
|
|
169
|
-
deactivated?: (() => void) | (() => void)[];
|
|
170
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
171
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
172
|
-
destroyed?: (() => void) | (() => void)[];
|
|
173
|
-
unmounted?: (() => void) | (() => void)[];
|
|
174
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
175
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
176
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
177
|
-
};
|
|
178
|
-
$forceUpdate: () => void;
|
|
179
|
-
$nextTick: nextTick;
|
|
180
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
181
|
-
} & Readonly<{
|
|
31
|
+
popupRef: ShallowUnwrapRef<{
|
|
182
32
|
id: string;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}> & Omit<Readonly< Props> & Readonly<{
|
|
187
|
-
onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
188
|
-
onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
189
|
-
onScrollContentList?: ((e: Event) => any) | undefined;
|
|
190
|
-
}>, ("id" | "posBy" | "pos" | "notch") | "popup"> & ShallowUnwrapRef<{
|
|
191
|
-
popup: TopLibPopup | undefined;
|
|
192
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
193
|
-
$slots: {
|
|
194
|
-
opener?(_: {}): any;
|
|
195
|
-
header?(_: {}): any;
|
|
196
|
-
widget?(_: {}): any;
|
|
197
|
-
content?(_: {}): any;
|
|
198
|
-
contentList?(_: {}): any;
|
|
199
|
-
footer?(_: {}): any;
|
|
200
|
-
};
|
|
201
|
-
}) | null;
|
|
202
|
-
elRef: HTMLDivElement;
|
|
33
|
+
popup: TopLibPopup<undefined> | undefined;
|
|
34
|
+
}> | null;
|
|
35
|
+
subcomponentSelector: unknown;
|
|
203
36
|
}, any>;
|
|
204
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
205
38
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const dummyAPIRequest: {
|
|
1
|
+
export declare const dummyAPIRequest: {
|
|
2
2
|
params: {
|
|
3
3
|
offset: undefined;
|
|
4
4
|
limit: undefined;
|
|
@@ -7,4 +7,3 @@ declare const dummyAPIRequest: {
|
|
|
7
7
|
cache: Map<any, any>;
|
|
8
8
|
call(): Promise<unknown>;
|
|
9
9
|
};
|
|
10
|
-
export default dummyAPIRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Size } from '../../forms/helpers';
|
|
2
|
+
import { Props as ButtonProps } from '../../forms/button/types';
|
|
2
3
|
export interface Props {
|
|
3
4
|
/**
|
|
4
5
|
* Выбранный элемент
|
|
@@ -9,22 +10,35 @@ export interface Props {
|
|
|
9
10
|
/**
|
|
10
11
|
* Список вариантов для выбора
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* При работе с apiRequest, всегда выводится перед результатами apiRequest
|
|
13
14
|
*/
|
|
14
15
|
items?: Item[];
|
|
16
|
+
title?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
size?: Size;
|
|
19
|
+
isError?: boolean;
|
|
15
20
|
/**
|
|
16
|
-
*
|
|
21
|
+
* Тип поиска по элементам
|
|
22
|
+
*
|
|
23
|
+
* - none: без поиска
|
|
24
|
+
* - inline: сам Selector является полем ввода, только для `multiselect = false`
|
|
25
|
+
* - popup: поиск будет в popup
|
|
26
|
+
*
|
|
27
|
+
* Для мобильной версии `inline` всегда заменяется на `popup`
|
|
17
28
|
*
|
|
18
29
|
* Константа, после установки менять нельзя
|
|
19
30
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
31
|
+
searchType?: 'none' | 'inline' | 'popup';
|
|
32
|
+
/**
|
|
33
|
+
* Текст для placeholder поля поиска
|
|
34
|
+
*/
|
|
35
|
+
placeholder?: string;
|
|
24
36
|
/**
|
|
25
37
|
* Если указан, будет выполнена загрузка результатов через API
|
|
26
38
|
*
|
|
27
39
|
* Константа, после установки заменять нельзя
|
|
40
|
+
*
|
|
41
|
+
* @subcategory apiRequest
|
|
28
42
|
*/
|
|
29
43
|
apiRequest?: {
|
|
30
44
|
params: {
|
|
@@ -42,27 +56,35 @@ export interface Props {
|
|
|
42
56
|
/**
|
|
43
57
|
* Минимальная длина для выполнения поиска
|
|
44
58
|
*
|
|
45
|
-
* Для apiRequest
|
|
46
|
-
*
|
|
47
59
|
* Константа, после установки менять нельзя
|
|
60
|
+
*
|
|
61
|
+
* @subcategory apiRequest
|
|
48
62
|
*/
|
|
49
63
|
minLength?: number;
|
|
50
64
|
/**
|
|
51
|
-
* Использовать
|
|
52
|
-
*
|
|
53
|
-
* Для apiRequest
|
|
65
|
+
* Использовать кэширование
|
|
54
66
|
*
|
|
55
67
|
* Константа, после установки менять нельзя
|
|
68
|
+
*
|
|
69
|
+
* @subcategory apiRequest
|
|
56
70
|
*/
|
|
57
71
|
useCache?: boolean;
|
|
58
72
|
/**
|
|
59
73
|
* Добавить в результаты item = {id:null, name:search}, где search - введенная строка в поле поиска
|
|
60
74
|
*/
|
|
61
75
|
appendSearchToResult?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Режим выбора нескольких вариантов
|
|
78
|
+
*
|
|
79
|
+
* Константа, после установки менять нельзя
|
|
80
|
+
*
|
|
81
|
+
* @subcategory Multiselect
|
|
82
|
+
*/
|
|
83
|
+
multiselect?: boolean;
|
|
62
84
|
/**
|
|
63
85
|
* Добавить вариант: "Все"
|
|
64
86
|
*
|
|
65
|
-
*
|
|
87
|
+
* @subcategory Single select
|
|
66
88
|
*/
|
|
67
89
|
appendAllValue?: boolean;
|
|
68
90
|
/**
|
|
@@ -70,23 +92,27 @@ export interface Props {
|
|
|
70
92
|
*
|
|
71
93
|
* Работает с props.items без учета apiRequest
|
|
72
94
|
*
|
|
73
|
-
*
|
|
95
|
+
* Нельзя использовать с кнопкой
|
|
96
|
+
*
|
|
97
|
+
* @subcategory Single select
|
|
74
98
|
*/
|
|
75
99
|
addChanger?: boolean;
|
|
76
100
|
/**
|
|
77
|
-
*
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Выводить в placeholder поля поиска выбранное значение modelValue.name
|
|
101
|
+
* Настройки кнопки
|
|
102
|
+
*
|
|
103
|
+
* Если не указан будет использоваться стандартный стиль селектора
|
|
82
104
|
*
|
|
83
|
-
*
|
|
105
|
+
* @subcategory Single select
|
|
84
106
|
*/
|
|
85
|
-
|
|
107
|
+
buttonProps?: ButtonProps;
|
|
86
108
|
/**
|
|
87
|
-
* Выводить
|
|
109
|
+
* Выводить в placeholder поля поиска выбранное значение `modelValue.name`
|
|
110
|
+
*
|
|
111
|
+
* Всегда включено для `searchType` = `inline`
|
|
112
|
+
*
|
|
113
|
+
* @subcategory Single select
|
|
88
114
|
*/
|
|
89
|
-
|
|
115
|
+
selectedAsPlaceholder?: boolean;
|
|
90
116
|
}
|
|
91
117
|
export interface Slots {
|
|
92
118
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { PopupEvent } from '../popup/types';
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
attrs: Partial<{}>;
|
|
6
5
|
slots: {
|
|
@@ -13,15 +12,7 @@ declare function __VLS_template(): {
|
|
|
13
12
|
rootEl: any;
|
|
14
13
|
};
|
|
15
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
-
close: (popupEvent: PopupEvent) => any;
|
|
18
|
-
open: (popupEvent: PopupEvent) => any;
|
|
19
|
-
scrollContentList: (e: Event) => any;
|
|
20
|
-
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
-
onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
22
|
-
onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
23
|
-
onScrollContentList?: ((e: Event) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, any, string, PublicProps, any, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
25
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
17
|
export default _default;
|
|
27
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props as PopupProps } from '../popup/types';
|
|
2
|
+
export type { Emits } from '../popup/types';
|
|
2
3
|
export interface Props extends PopupProps {
|
|
3
4
|
/**
|
|
4
5
|
* Текст кнопки
|
|
5
6
|
*/
|
|
6
7
|
submitText?: string;
|
|
7
8
|
}
|
|
8
|
-
export type Emits = {} & PopupEmits;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PopupEvent } from '../popup/types';
|
|
2
1
|
import { Props } from './types';
|
|
3
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
declare function __VLS_template(): {
|
|
@@ -13,17 +12,7 @@ declare function __VLS_template(): {
|
|
|
13
12
|
rootEl: any;
|
|
14
13
|
};
|
|
15
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
-
close: (popupEvent: PopupEvent) => any;
|
|
18
|
-
open: (popupEvent: PopupEvent) => any;
|
|
19
|
-
submit: () => any;
|
|
20
|
-
scrollContentList: (e: Event) => any;
|
|
21
|
-
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
-
onClose?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
23
|
-
onOpen?: ((popupEvent: PopupEvent) => any) | undefined;
|
|
24
|
-
onSubmit?: (() => any) | undefined;
|
|
25
|
-
onScrollContentList?: ((e: Event) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, any, string, PublicProps, any, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
27
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
17
|
export default _default;
|
|
29
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -13,7 +13,7 @@ export interface Props extends PopupProps {
|
|
|
13
13
|
*/
|
|
14
14
|
isWarning?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export type Emits = PopupEmits & {
|
|
16
|
+
export type Emits<T extends Record<string, any> | undefined> = PopupEmits<T> & {
|
|
17
17
|
/**
|
|
18
18
|
* Будет вызвано при нажатии кнопок или закрытии окна
|
|
19
19
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as Component } from '../../component';
|
|
2
|
+
import { OpenerProps } from '../popup/types';
|
|
2
3
|
export interface PopupOptions {
|
|
3
4
|
popup?: string;
|
|
4
5
|
id?: string;
|
|
@@ -21,9 +22,11 @@ export interface PopupOptions {
|
|
|
21
22
|
* - aftershow.top-menu-popup
|
|
22
23
|
* - afterclose.top-menu-popup
|
|
23
24
|
*/
|
|
24
|
-
export declare class TopLibPopup extends Component {
|
|
25
|
+
export declare class TopLibPopup<T extends Record<string, any> | undefined = undefined> extends Component {
|
|
25
26
|
static componentName: string;
|
|
26
|
-
el: HTMLElement
|
|
27
|
+
el: HTMLElement & {
|
|
28
|
+
__TopPopupOpenerProps: OpenerProps<T>;
|
|
29
|
+
};
|
|
27
30
|
elActiveByDefault: boolean | undefined;
|
|
28
31
|
elPopup: HTMLElement | undefined;
|
|
29
32
|
elPopupInner: HTMLElement | undefined;
|
|
@@ -32,6 +35,7 @@ export declare class TopLibPopup extends Component {
|
|
|
32
35
|
elPopupBody: HTMLElement | undefined | null;
|
|
33
36
|
elPopupFooter: HTMLElement | undefined | null;
|
|
34
37
|
elFront: HTMLElement | undefined | null;
|
|
38
|
+
openerIsInput: boolean;
|
|
35
39
|
popupParent: TopLibPopup | undefined;
|
|
36
40
|
$: JQuery<HTMLElement> | undefined;
|
|
37
41
|
elStartPosition: HTMLElement | undefined | null;
|
|
@@ -29,6 +29,8 @@ declare class Worker {
|
|
|
29
29
|
* Вернуть объект компонента popup, привязанный к элементу
|
|
30
30
|
*/
|
|
31
31
|
static getPopup(elPopup: HTMLElement): TopLibPopup;
|
|
32
|
+
static getElPopupOpener(el: Element): HTMLElement | null;
|
|
33
|
+
static getPopupFromOpener(el: HTMLElement): TopLibPopup | null;
|
|
32
34
|
/**
|
|
33
35
|
* Вернуть все элементы с Popup
|
|
34
36
|
*/
|
|
@@ -48,14 +50,14 @@ declare class Worker {
|
|
|
48
50
|
* @param options - опции Popup
|
|
49
51
|
*/
|
|
50
52
|
private static open;
|
|
51
|
-
static close(elPopup: HTMLElement): void;
|
|
53
|
+
static close(elPopup: HTMLElement, restoreFocus?: boolean): void;
|
|
52
54
|
static recalcPosition(elPopup: HTMLElement): void;
|
|
53
55
|
/**
|
|
54
56
|
* Скролл к активному элементу списка
|
|
55
57
|
*/
|
|
56
58
|
static scrollToActive(elPopup: HTMLElement): void;
|
|
57
|
-
static decoratorBeforeOpen(popup: TopLibPopup): void;
|
|
58
|
-
static decoratorAfterOpen(popup: TopLibPopup): void;
|
|
59
|
+
static decoratorBeforeOpen(popup: TopLibPopup<any>): void;
|
|
60
|
+
static decoratorAfterOpen(popup: TopLibPopup<any>): void;
|
|
59
61
|
static decoratorIsIgnoreOuterClick(e: MouseEvent): boolean;
|
|
60
62
|
/**
|
|
61
63
|
* Зарегистрировать Vue компонент
|
|
@@ -68,7 +70,7 @@ declare class Worker {
|
|
|
68
70
|
*/
|
|
69
71
|
static unregVueComponent(id: string): void;
|
|
70
72
|
/**
|
|
71
|
-
*
|
|
73
|
+
* Сгенерировать элемент для открытия popup
|
|
72
74
|
*/
|
|
73
75
|
static genElPopupOpener(tagName: string, props: OpenerProps, ...elsChildrens: HTMLElement[] | string[]): HTMLElement;
|
|
74
76
|
}
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import { OpenerProps } from './types';
|
|
2
|
-
import {
|
|
3
|
-
declare
|
|
4
|
-
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
declare const _default: <T extends Record<string, any> | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & OpenerProps<T> & Partial<{}>> & PublicProps;
|
|
5
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
6
|
+
attrs: any;
|
|
5
7
|
slots: {
|
|
6
8
|
default?(_: {}): any;
|
|
7
9
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
emit: {};
|
|
11
|
+
}>) => VNode & {
|
|
12
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
10
13
|
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<OpenerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OpenerProps> & Readonly<{}>, {
|
|
13
|
-
posBy: "fixed" | "left" | "right";
|
|
14
|
-
pos: "0" | "1" | "2" | "3" | "4";
|
|
15
|
-
notch: boolean;
|
|
16
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
14
|
export default _default;
|
|
19
|
-
type
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
};
|
|
15
|
+
type __VLS_PrettifyLocal<T> = {
|
|
16
|
+
[K in keyof T]: T[K];
|
|
17
|
+
} & {};
|