@topvisor/ui 0.9.6 → 0.9.8
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-2f8eb2f7.amd.js → datepicker-7w3ISMUW.amd.js} +3 -3
- package/.chunks/datepicker-7w3ISMUW.amd.js.map +1 -0
- package/.chunks/{datepicker-a62ae260.es.js → datepicker-KB2i-H67.es.js} +2 -2
- package/.chunks/{datepicker-a62ae260.es.js.map → datepicker-KB2i-H67.es.js.map} +1 -1
- package/.chunks/forms-AZXCfF-R.amd.js +3 -0
- package/.chunks/forms-AZXCfF-R.amd.js.map +1 -0
- package/.chunks/{forms-260b848a.es.js → forms-iL1swNCF.es.js} +368 -370
- package/.chunks/forms-iL1swNCF.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-Mk92KW3C.es.js +154 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-Mk92KW3C.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-cBt2MlyL.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-cBt2MlyL.amd.js.map +1 -0
- package/.chunks/{popup-3a721019.amd.js → popup-8sqqRRR_.amd.js} +8 -2
- package/.chunks/popup-8sqqRRR_.amd.js.map +1 -0
- package/.chunks/{popup-90783ce2.es.js → popup-gLJT9tg6.es.js} +8 -2
- package/.chunks/popup-gLJT9tg6.es.js.map +1 -0
- package/assets/forms.css +1 -1
- package/assets/light.css +1 -1
- package/assets/tabsView.css +1 -1
- package/core/core.amd.js +1 -1
- package/core/core.js +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.js +1 -1
- package/package.json +2 -5
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +7 -146
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.js +2 -2
- package/src/components/forms/avatar/avatar.stories.d.ts +1 -1
- package/src/components/forms/avatar/avatar.vue.d.ts +1 -1
- package/src/components/forms/button/button.d.ts +2 -2
- package/src/components/forms/button/button.vue.d.ts +1 -1
- package/src/components/forms/checkbox/checkbox.d.ts +1 -4
- package/src/components/forms/checkbox/checkbox.stories.d.ts +8 -32
- package/src/components/forms/checkbox/checkbox.vue.d.ts +41 -15
- package/src/components/forms/controlLabel/controlLabel.vue.d.ts +1 -1
- package/src/components/forms/hint/hint.stories.d.ts +2 -2
- package/src/components/forms/hint/hint.vue.d.ts +1 -1
- package/src/components/forms/input/input.d.ts +2 -2
- package/src/components/forms/input/input.vue.d.ts +1 -1
- package/src/components/forms/inputDate/inputDate.d.ts +2 -2
- package/src/components/forms/inputDate/inputDate.stories.d.ts +1 -1
- package/src/components/forms/inputDate/inputDate.vue.d.ts +1 -1
- package/src/components/forms/inputRange/inputRange.vue.d.ts +1 -1
- package/src/components/forms/radio/radio.vue.d.ts +1 -1
- package/src/components/forms/select/select.d.ts +2 -2
- package/src/components/forms/select/select.stories.d.ts +1 -1
- package/src/components/forms/select/select.vue.d.ts +1 -1
- package/src/components/forms/switcher/switcher.vue.d.ts +1 -1
- package/src/components/forms/textarea/textarea.stories.d.ts +1 -1
- package/src/components/forms/textarea/textarea.vue.d.ts +1 -1
- package/src/components/formsExt/editArea/editArea.d.ts +1 -1
- package/src/components/formsExt/editArea/editArea.stories.d.ts +1 -1
- package/src/components/formsExt/editArea/editArea.vue.d.ts +1 -1
- package/src/components/formsExt/editInput/editInput.d.ts +2 -2
- package/src/components/formsExt/editInput/editInput.vue.d.ts +1 -1
- package/src/components/formsExt/radioGroup/radioGroup.d.ts +2 -2
- package/src/components/formsExt/radioGroup/radioGroup.stories.d.ts +1 -1
- package/src/components/formsExt/radioGroup/radioGroup.vue.d.ts +1 -1
- package/src/components/popup/popup/listItem.vue.d.ts +1 -1
- package/src/components/popup/popup/opener.vue.d.ts +1 -1
- package/src/components/popup/popup/popup.stories.d.ts +79 -0
- package/src/components/popup/popup/popup.vue.d.ts +2 -1
- package/src/components/tabs/tabs/content.vue.d.ts +1 -1
- package/src/components/tabs/tabs/tab.vue.d.ts +1 -1
- package/src/components/tabs/tabs/tabs.stories.d.ts +2 -2
- package/src/components/tabs/tabs/tabs.vue.d.ts +1 -1
- package/src/components/tabsView/tabsView/_MenuItem.stories.d.ts +132 -31
- package/src/components/tabsView/tabsView/_MenuTitle.stories.d.ts +19 -1
- package/src/components/tabsView/tabsView/menu.vue.d.ts +1 -1
- package/src/components/tabsView/tabsView/menuDelimeter.vue.d.ts +1 -1
- package/src/components/tabsView/tabsView/menuItem.vue.d.ts +18 -1
- package/src/components/tabsView/tabsView/menuTitle.vue.d.ts +1 -1
- package/src/components/tabsView/tabsView/tabsView.d.ts +49 -24
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +95 -54
- package/src/components/tabsView/tabsView/tabsView.vue.d.ts +4 -2
- package/src/components/tabsView/tabsView.d.ts +0 -1
- package/src/core/core/core.d.ts +1 -1
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.js +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.js +146 -123
- package/tabsView/tabsView.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/.chunks/datepicker-2f8eb2f7.amd.js.map +0 -1
- package/.chunks/forms-2250b8db.amd.js +0 -3
- package/.chunks/forms-2250b8db.amd.js.map +0 -1
- package/.chunks/forms-260b848a.es.js.map +0 -1
- package/.chunks/popup-3a721019.amd.js.map +0 -1
- package/.chunks/popup-90783ce2.es.js.map +0 -1
- package/src/components/tabsView/tabsView/content.vue.d.ts +0 -19
- /package/assets/{popup.css → listItem.css} +0 -0
package/popup/popup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.js","sources":[
|
|
1
|
+
{"version":3,"file":"popup.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/popup/worker.amd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","exports","../.chunks/forms-
|
|
1
|
+
define(["require","exports","../.chunks/forms-AZXCfF-R.amd","../utils/dom.amd","vue"],function(require,exports,forms,utils_dom,vue){"use strict";if(typeof vue>"u")var vue=window.Vue;class WorkerEvents{static init(){document.addEventListener("mouseover",t=>{var o;(o=t.target.dataset)!=null&&o.topPopupOpenByHover&&t.target.click()}),document.addEventListener("scroll",()=>{forms.Core.isMobile||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 s,r,a,p;let o;switch(!0){case!!((s=t.target.dataset)!=null&&s.topPopup):o=t.target;break;case!!((r=t.target.parentElement)!=null&&r.dataset.topPopup):o=t.target.parentElement;break;case!!((p=(a=t.target.parentElement)==null?void 0:a.parentElement)!=null&&p.dataset.topPopup):o=t.target.parentElement.parentElement;break}o&&(o.dataset.topPopupDisabled||o.dataset.topPopupOpened||(t.preventDefault(),await Worker$1.openByOpener(o)))}}let decoratorBeforeOpen,decoratorAfterOpen,decoratorIsIgnoreOuterClick,i18n={Close:"Close"};class Worker{static noClose=!1;static vueConnectors=new Map;static onInitApp(e){decoratorBeforeOpen=e==null?void 0:e.decoratorBeforeOpen,decoratorAfterOpen=e==null?void 0:e.decoratorAfterOpen,decoratorIsIgnoreOuterClick=e==null?void 0:e.decoratorIsIgnoreOuterClick,i18n=e==null?void 0:e.i18n}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){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),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),e.dataset.topPopupOpenByHover&&(t.openByHover=e.dataset.topPopupOpenByHover),e.dataset.topPopupUseOriginal&&(t.useOriginal=e.dataset.topPopupUseOriginal),await Worker.open(e,t)}static async open(elOpener,options){elOpener.dataset.topPopupOpened="opened";const{default:Popup}=await new Promise((e,t)=>require(["../.chunks/popup-8sqqRRR_.amd"],e,t));if(typeof jQuery=="function"){const $elOpener=jQuery(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,options.i18n=i18n,await 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.recalcPosition(),HelperCommon.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"),s=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 r=100;for(const p of s){if(p.querySelector(":scope > .top-active"))break;r+=p.offsetHeight}const a=o.offsetHeight;r>a?o.scrollTop=r-a: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(Worker,forms.Core);const Worker$1=Worker;exports.PopupWorker=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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Core, E as Events } from "../.chunks/forms-
|
|
1
|
+
import { C as Core, E as Events } from "../.chunks/forms-iL1swNCF.es.js";
|
|
2
2
|
import DOM from "../utils/dom.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
class WorkerEvents {
|
|
@@ -79,7 +79,7 @@ class Worker {
|
|
|
79
79
|
*/
|
|
80
80
|
static async open(elOpener, options) {
|
|
81
81
|
elOpener.dataset.topPopupOpened = "opened";
|
|
82
|
-
const { default: Popup } = await import("../.chunks/popup-
|
|
82
|
+
const { default: Popup } = await import("../.chunks/popup-gLJT9tg6.es.js");
|
|
83
83
|
if (typeof jQuery == "function") {
|
|
84
84
|
const $elOpener = jQuery(elOpener);
|
|
85
85
|
if ($elOpener.data("aftershow")) {
|
|
@@ -24,7 +24,7 @@ declare const meta: {
|
|
|
24
24
|
lastActiveTime: {
|
|
25
25
|
type: import("vue").PropType<string>;
|
|
26
26
|
};
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
image: {
|
|
29
29
|
type: import("vue").PropType<string>;
|
|
30
30
|
required: true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Props } from './avatar';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
3
3
|
size: number;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
5
5
|
size: number;
|
|
6
6
|
}>>>, {
|
|
7
7
|
size: import("./avatar").Size;
|
|
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
3
3
|
color: string;
|
|
4
4
|
styling: string;
|
|
5
5
|
size: string;
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
7
|
color: string;
|
|
8
8
|
styling: string;
|
|
9
9
|
size: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type ModelValue = boolean | string[] | Set<string
|
|
1
|
+
type ModelValue = boolean | string[] | Set<string> | undefined;
|
|
2
2
|
export interface Props {
|
|
3
3
|
/**
|
|
4
4
|
* Может быть одного из трех типов:
|
|
@@ -16,7 +16,4 @@ export interface Props {
|
|
|
16
16
|
indeterminate?: boolean;
|
|
17
17
|
isError?: boolean;
|
|
18
18
|
}
|
|
19
|
-
export interface Emits {
|
|
20
|
-
(e: 'update:modelValue', value: ModelValue): void;
|
|
21
|
-
}
|
|
22
19
|
export {};
|
|
@@ -2,10 +2,7 @@ import type { StoryObj } from '@storybook/vue3';
|
|
|
2
2
|
declare const meta: {
|
|
3
3
|
component: {
|
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
modelValue:
|
|
6
|
-
type: import("vue").PropType<boolean | string[] | Set<string>>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
5
|
+
modelValue: import("vue").PropType<boolean | string[] | Set<string> | undefined>;
|
|
9
6
|
name: {
|
|
10
7
|
type: import("vue").PropType<string>;
|
|
11
8
|
};
|
|
@@ -24,15 +21,8 @@ declare const meta: {
|
|
|
24
21
|
isError: {
|
|
25
22
|
type: import("vue").PropType<boolean>;
|
|
26
23
|
};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
"update:modelValue": (value: boolean | string[] | Set<string>) => void;
|
|
31
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
modelValue: {
|
|
33
|
-
type: import("vue").PropType<boolean | string[] | Set<string>>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
24
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
modelValue: import("vue").PropType<boolean | string[] | Set<string> | undefined>;
|
|
36
26
|
name: {
|
|
37
27
|
type: import("vue").PropType<string>;
|
|
38
28
|
};
|
|
@@ -51,9 +41,7 @@ declare const meta: {
|
|
|
51
41
|
isError: {
|
|
52
42
|
type: import("vue").PropType<boolean>;
|
|
53
43
|
};
|
|
54
|
-
}
|
|
55
|
-
"onUpdate:modelValue"?: ((value: boolean | string[] | Set<string>) => any) | undefined;
|
|
56
|
-
}, {}, true, {}, {}, {
|
|
44
|
+
}>>, {}, true, {}, {}, {
|
|
57
45
|
P: {};
|
|
58
46
|
B: {};
|
|
59
47
|
D: {};
|
|
@@ -61,10 +49,7 @@ declare const meta: {
|
|
|
61
49
|
M: {};
|
|
62
50
|
Defaults: {};
|
|
63
51
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
-
modelValue:
|
|
65
|
-
type: import("vue").PropType<boolean | string[] | Set<string>>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
52
|
+
modelValue: import("vue").PropType<boolean | string[] | Set<string> | undefined>;
|
|
68
53
|
name: {
|
|
69
54
|
type: import("vue").PropType<string>;
|
|
70
55
|
};
|
|
@@ -83,17 +68,12 @@ declare const meta: {
|
|
|
83
68
|
isError: {
|
|
84
69
|
type: import("vue").PropType<boolean>;
|
|
85
70
|
};
|
|
86
|
-
}
|
|
87
|
-
"onUpdate:modelValue"?: ((value: boolean | string[] | Set<string>) => any) | undefined;
|
|
88
|
-
}, {}, {}, {}, {}, {}>;
|
|
71
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
89
72
|
__isFragment?: undefined;
|
|
90
73
|
__isTeleport?: undefined;
|
|
91
74
|
__isSuspense?: undefined;
|
|
92
75
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
-
modelValue:
|
|
94
|
-
type: import("vue").PropType<boolean | string[] | Set<string>>;
|
|
95
|
-
required: true;
|
|
96
|
-
};
|
|
76
|
+
modelValue: import("vue").PropType<boolean | string[] | Set<string> | undefined>;
|
|
97
77
|
name: {
|
|
98
78
|
type: import("vue").PropType<string>;
|
|
99
79
|
};
|
|
@@ -112,11 +92,7 @@ declare const meta: {
|
|
|
112
92
|
isError: {
|
|
113
93
|
type: import("vue").PropType<boolean>;
|
|
114
94
|
};
|
|
115
|
-
}
|
|
116
|
-
"onUpdate:modelValue"?: ((value: boolean | string[] | Set<string>) => any) | undefined;
|
|
117
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
118
|
-
"update:modelValue": (value: boolean | string[] | Set<string>) => void;
|
|
119
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
95
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
120
96
|
$slots: {
|
|
121
97
|
default?(_: {}): any;
|
|
122
98
|
};
|
|
@@ -1,21 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: import("vue").PropType<boolean | string[] | Set<string> | undefined>;
|
|
3
|
+
name: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
description: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
indeterminate: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
isError: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
modelValue: import("vue").PropType<boolean | string[] | Set<string> | undefined>;
|
|
23
|
+
name: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
};
|
|
26
|
+
value: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
};
|
|
29
|
+
description: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
indeterminate: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
isError: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
}>>, {}, {}>, {
|
|
7
42
|
default?(_: {}): any;
|
|
8
43
|
}>;
|
|
9
44
|
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
46
|
new (): {
|
|
21
47
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Props } from './controlLabel';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
}>;
|
|
5
5
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare const meta: {
|
|
|
9
9
|
type: import("vue").PropType<string>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
hint: {
|
|
14
14
|
type: import("vue").PropType<string>;
|
|
15
15
|
required: true;
|
|
@@ -76,7 +76,7 @@ export declare const Tooltip: {
|
|
|
76
76
|
type: import("vue").PropType<string>;
|
|
77
77
|
required: true;
|
|
78
78
|
};
|
|
79
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
79
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
80
|
hint: {
|
|
81
81
|
type: import("vue").PropType<string>;
|
|
82
82
|
required: true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Props } from './hint';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
3
3
|
export default _default;
|
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
5
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Size } from '
|
|
2
|
-
import { sizes } from '
|
|
1
|
+
import type { Size } from '../helpers';
|
|
2
|
+
import { sizes } from '../helpers';
|
|
3
3
|
export interface Props {
|
|
4
4
|
modelValue: string;
|
|
5
5
|
name?: string;
|
|
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
captionType: string;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value: string) => void;
|
|
7
|
-
}, string, import("vue").
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
8
|
size: string;
|
|
9
9
|
captionType: string;
|
|
10
10
|
}>>> & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Props, Emits } from '
|
|
2
|
-
export * from '
|
|
1
|
+
import type { Props, Emits } from '../input/input';
|
|
2
|
+
export * from '../input/input';
|
|
3
3
|
export type { Props, Emits };
|
|
@@ -52,7 +52,7 @@ declare const meta: {
|
|
|
52
52
|
};
|
|
53
53
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
54
|
"update:modelValue": (value: string) => void;
|
|
55
|
-
}, string, import("vue").
|
|
55
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
56
|
icon: {
|
|
57
57
|
type: import("vue").PropType<string>;
|
|
58
58
|
};
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
3
3
|
icon2: string;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string) => void;
|
|
6
|
-
}, string, import("vue").
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
7
|
icon2: string;
|
|
8
8
|
}>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
2
|
from?(_: {}): any;
|
|
3
3
|
to?(_: {}): any;
|
|
4
4
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Props } from './radio';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
3
|
"update:modelValue": (value: string | object) => void;
|
|
4
|
-
}, string, import("vue").
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
5
5
|
"onUpdate:modelValue"?: ((value: string | object) => any) | undefined;
|
|
6
6
|
}, {}, {}>, {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -34,7 +34,7 @@ declare const meta: {
|
|
|
34
34
|
};
|
|
35
35
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
"update:modelValue": (value: string) => void;
|
|
37
|
-
}, string, import("vue").
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
icon: {
|
|
39
39
|
type: import("vue").PropType<string>;
|
|
40
40
|
};
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
3
3
|
size: string;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string) => void;
|
|
6
|
-
}, string, import("vue").
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
7
|
size: string;
|
|
8
8
|
}>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Props } from './switcher';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
3
|
"update:modelValue": (value: boolean | string[] | Set<string>) => void;
|
|
4
|
-
}, string, import("vue").
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
5
5
|
"onUpdate:modelValue"?: ((value: boolean | string[] | Set<string>) => any) | undefined;
|
|
6
6
|
}, {}, {}>, {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -36,7 +36,7 @@ declare const meta: {
|
|
|
36
36
|
};
|
|
37
37
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
38
|
"update:modelValue": (value?: string | undefined) => void;
|
|
39
|
-
}, string, import("vue").
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
40
|
name: {
|
|
41
41
|
type: import("vue").PropType<string>;
|
|
42
42
|
};
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
minHeight: number;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value?: string | undefined) => void;
|
|
7
|
-
}, string, import("vue").
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
8
|
rows: number;
|
|
9
9
|
minHeight: number;
|
|
10
10
|
}>>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Props as TextareaProps } from '
|
|
1
|
+
import type { Props as TextareaProps } from '../../forms/textarea/textarea';
|
|
2
2
|
export interface Props extends TextareaProps {
|
|
3
3
|
/**
|
|
4
4
|
* Поддерживает modelValue и **все другие** props компонента Textarea
|
|
@@ -50,7 +50,7 @@ declare const meta: {
|
|
|
50
50
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
"update:modelValue": (value: string) => void;
|
|
52
52
|
cancel: () => void;
|
|
53
|
-
}, string, import("vue").
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
title: {
|
|
55
55
|
type: import("vue").PropType<string>;
|
|
56
56
|
};
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string) => void;
|
|
8
8
|
cancel: () => void;
|
|
9
|
-
}, string, import("vue").
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
10
|
cancelText: string;
|
|
11
11
|
submitText: string;
|
|
12
12
|
expandable: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Props as InputProps } from '
|
|
2
|
-
import type { Props as ButtonProps } from '
|
|
1
|
+
import type { Props as InputProps } from '../../forms/input/input';
|
|
2
|
+
import type { Props as ButtonProps } from '../../forms/button/button';
|
|
3
3
|
export interface Props {
|
|
4
4
|
modelValue: string;
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Props } from './editInput';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
3
|
"update:modelValue": (value: string) => void;
|
|
4
|
-
}, string, import("vue").
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
5
5
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
6
|
}, {}, {}>, {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Size } from '
|
|
2
|
-
import { sizes } from '
|
|
1
|
+
import type { Size } from '../../forms/helpers';
|
|
2
|
+
import { sizes } from '../../forms/helpers';
|
|
3
3
|
export interface Props {
|
|
4
4
|
modelValue: string;
|
|
5
5
|
/**
|
|
@@ -21,7 +21,7 @@ declare const meta: {
|
|
|
21
21
|
};
|
|
22
22
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (value: string) => void;
|
|
24
|
-
}, string, import("vue").
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
size: {
|
|
26
26
|
type: import("vue").PropType<import("../../forms/helpers").Size>;
|
|
27
27
|
default: string;
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
3
3
|
size: string;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string) => void;
|
|
6
|
-
}, string, import("vue").
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
7
|
size: string;
|
|
8
8
|
}>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -2,7 +2,7 @@ import type { ListItemProps } from './popup';
|
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ListItemProps>, {
|
|
3
3
|
type: string;
|
|
4
4
|
closeByClick: boolean;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ListItemProps>, {
|
|
6
6
|
type: string;
|
|
7
7
|
closeByClick: boolean;
|
|
8
8
|
}>>>, {
|
|
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
3
3
|
pos: string;
|
|
4
4
|
notch: boolean;
|
|
5
5
|
posBy: string;
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OpenerProps>, {
|
|
7
7
|
pos: string;
|
|
8
8
|
notch: boolean;
|
|
9
9
|
posBy: string;
|