@quicktvui/naddons 1.0.0-rc.0 → 1.0.0-rc.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/dist/components/GridTabs/GridTabs.vue.d.ts +56 -2
- package/dist/components/GridTabs/useGridTabs.d.ts +5 -1
- package/dist/components/HsvBackground/HsvBackground.vue.d.ts +7 -19
- package/dist/components/HsvBackground/index.d.ts +9 -2
- package/dist/components/NaButton/NaButton.vue.d.ts +24 -0
- package/dist/components/NaButton/NaButtonBase.vue.d.ts +60 -0
- package/dist/components/NaButton/index.d.ts +13 -0
- package/dist/components/NaCheckbox/NaCheckbox.vue.d.ts +108 -0
- package/dist/components/NaCheckbox/index.d.ts +13 -0
- package/dist/components/NaCheckboxGroup/NaCheckboxGroup.vue.d.ts +103 -0
- package/dist/components/NaCheckboxGroup/index.d.ts +13 -0
- package/dist/components/NaInputView/NaInputView.vue.d.ts +42 -0
- package/dist/components/NaInputView/NaInputViewBase.vue.d.ts +46 -0
- package/dist/components/NaInputView/index.d.ts +13 -0
- package/dist/components/NaRadioGroup/NaRadioGroup.vue.d.ts +103 -0
- package/dist/components/NaRadioGroup/index.d.ts +13 -0
- package/dist/components/NaSettingSwitch/NaSettingSwitch.vue.d.ts +111 -0
- package/dist/components/NaSettingSwitch/index.d.ts +6 -0
- package/dist/components/NaSwitcher/NaSwitcher.vue.d.ts +50 -0
- package/dist/components/NaSwitcher/index.d.ts +13 -0
- package/dist/components/SvgImage/SvgImage.vue.d.ts +26 -0
- package/dist/components/SvgImage/index.d.ts +13 -0
- package/dist/core/AddonProvider.d.ts +14 -1
- package/dist/index.d.ts +33 -1
- package/dist/modules/AddonEnvModule.d.ts +4 -0
- package/dist/modules/ExtraUIConfigModule.d.ts +7 -0
- package/dist/modules/GridTabsConfigModule.d.ts +7 -0
- package/dist/naddons.cjs.js +1 -1
- package/dist/naddons.es.js +1528 -622
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +50 -0
- package/package.json +1 -1
|
@@ -1,9 +1,63 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
protocolVersion?: string | undefined;
|
|
3
|
+
pageSpec?: string | undefined;
|
|
4
|
+
/** Set the initial Tabs structure (the skeleton/shell). */
|
|
5
|
+
tabsData?: string | undefined;
|
|
6
|
+
/** Dispatch dynamic actions (e.g. UPDATE_ITEM, APPEND_SUB_ITEMS) */
|
|
7
|
+
actionPayload?: string | undefined;
|
|
8
|
+
}>>, {
|
|
2
9
|
getNativeNode: () => any;
|
|
3
|
-
|
|
10
|
+
dispatchAction: (...args: any[]) => void;
|
|
11
|
+
scrollToTop: (...args: any[]) => void;
|
|
12
|
+
getFocusState: (...args: any[]) => void;
|
|
13
|
+
getItemRect: (...args: any[]) => void;
|
|
14
|
+
requestFocus: (...args: any[]) => void;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
onTabSelected: (payload?: any) => void;
|
|
17
|
+
onTabClick: (payload?: any) => void;
|
|
18
|
+
onTabNeedsData: (payload?: any) => void;
|
|
19
|
+
onLoadMore: (payload?: any) => void;
|
|
20
|
+
onScroll: (payload?: any) => void;
|
|
21
|
+
onScrollStateChanged: (payload?: any) => void;
|
|
22
|
+
onItemPresence: (payload?: any) => void;
|
|
23
|
+
onTabFocused: (payload?: any) => void;
|
|
24
|
+
onItemClick: (payload?: any) => void;
|
|
25
|
+
onItemLongClick: (payload?: any) => void;
|
|
26
|
+
onItemFocused: (payload?: any) => void;
|
|
27
|
+
onProtocolMismatch: (payload?: any) => void;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
protocolVersion?: string | undefined;
|
|
30
|
+
pageSpec?: string | undefined;
|
|
31
|
+
/** Set the initial Tabs structure (the skeleton/shell). */
|
|
32
|
+
tabsData?: string | undefined;
|
|
33
|
+
/** Dispatch dynamic actions (e.g. UPDATE_ITEM, APPEND_SUB_ITEMS) */
|
|
34
|
+
actionPayload?: string | undefined;
|
|
35
|
+
}>>> & Readonly<{
|
|
36
|
+
onOnScroll?: ((payload?: any) => any) | undefined;
|
|
37
|
+
onOnTabSelected?: ((payload?: any) => any) | undefined;
|
|
38
|
+
onOnTabClick?: ((payload?: any) => any) | undefined;
|
|
39
|
+
onOnTabNeedsData?: ((payload?: any) => any) | undefined;
|
|
40
|
+
onOnLoadMore?: ((payload?: any) => any) | undefined;
|
|
41
|
+
onOnScrollStateChanged?: ((payload?: any) => any) | undefined;
|
|
42
|
+
onOnItemPresence?: ((payload?: any) => any) | undefined;
|
|
43
|
+
onOnTabFocused?: ((payload?: any) => any) | undefined;
|
|
44
|
+
onOnItemClick?: ((payload?: any) => any) | undefined;
|
|
45
|
+
onOnItemLongClick?: ((payload?: any) => any) | undefined;
|
|
46
|
+
onOnItemFocused?: ((payload?: any) => any) | undefined;
|
|
47
|
+
onOnProtocolMismatch?: ((payload?: any) => any) | undefined;
|
|
48
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
4
49
|
default?(_: {}): any;
|
|
5
50
|
}>;
|
|
6
51
|
export default _default;
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
7
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
62
|
new (): {
|
|
9
63
|
$slots: S;
|
|
@@ -108,6 +108,7 @@ export interface GTCallbacks<I extends GTItem = GTItem> {
|
|
|
108
108
|
onLoadMore?: (tabId: string, cursor: number, itemId: string) => Promise<I[]>;
|
|
109
109
|
onItemPresence?: (event: any) => void;
|
|
110
110
|
onTabSelected?: (event: any) => void;
|
|
111
|
+
onTabClick?: (event: any) => void;
|
|
111
112
|
onItemClick?: (payload: GTItemEventPayload) => void;
|
|
112
113
|
onItemLongClick?: (payload: GTItemEventPayload) => void;
|
|
113
114
|
onItemFocused?: (payload: GTItemEventPayload) => void;
|
|
@@ -142,5 +143,8 @@ export interface UseGridTabsReturn<T extends GTTab = GTTab, I extends GTItem = G
|
|
|
142
143
|
getFocusState: () => Promise<any>;
|
|
143
144
|
getItemRect: (itemId: string) => Promise<any>;
|
|
144
145
|
requestFocus: (itemId: string) => void;
|
|
146
|
+
updatePageSpec: (partialSpec: any) => void;
|
|
147
|
+
reloadAll: (newSpec: any, newTabs: any[]) => void;
|
|
148
|
+
scrollToTop: () => void;
|
|
145
149
|
}
|
|
146
|
-
export declare function useGridTabs<T extends GTTab = GTTab, I extends GTItem = GTItem>(gridRef: any,
|
|
150
|
+
export declare function useGridTabs<T extends GTTab = GTTab, I extends GTItem = GTItem>(gridRef: any, initialConfig?: GTConfig): UseGridTabsReturn<T, I>;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<
|
|
2
|
-
hue?:
|
|
3
|
-
|
|
4
|
-
hue: number;
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
hue?: any;
|
|
3
|
+
hueDuration?: any;
|
|
5
4
|
}>>, {
|
|
6
5
|
getNativeNode: () => any;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
8
|
-
hue?:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}>>> & Readonly<{}>, {
|
|
12
|
-
hue: number;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
hue?: any;
|
|
8
|
+
hueDuration?: any;
|
|
9
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
14
10
|
default?(_: {}): any;
|
|
15
11
|
}>;
|
|
16
12
|
export default _default;
|
|
@@ -23,14 +19,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
23
19
|
required: true;
|
|
24
20
|
};
|
|
25
21
|
};
|
|
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
|
-
} & {};
|
|
34
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
23
|
new (): {
|
|
36
24
|
$slots: S;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
1
|
+
import type { App } from 'vue';
|
|
2
2
|
import HsvBackground from './HsvBackground.vue';
|
|
3
3
|
export declare const HsvBackgroundPlugin: {
|
|
4
|
-
install(app: App)
|
|
4
|
+
install: (app: App) => void;
|
|
5
5
|
};
|
|
6
6
|
export { HsvBackground };
|
|
7
|
+
export default HsvBackgroundPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
HsvBackground: typeof HsvBackground;
|
|
11
|
+
'qt-hsv-background': typeof HsvBackground;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
width?: string | number | undefined;
|
|
3
|
+
height?: string | number | undefined;
|
|
4
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
width?: string | number | undefined;
|
|
6
|
+
height?: string | number | undefined;
|
|
7
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
text?: string | undefined;
|
|
3
|
+
icon?: string | undefined;
|
|
4
|
+
iconSize?: any;
|
|
5
|
+
iconSpace?: any;
|
|
6
|
+
layoutDirection?: string | undefined;
|
|
7
|
+
fontSize?: any;
|
|
8
|
+
maxLines?: any;
|
|
9
|
+
textColor?: string | undefined;
|
|
10
|
+
focusTextColor?: string | undefined;
|
|
11
|
+
backgroundColor?: string | undefined;
|
|
12
|
+
focusBackgroundColor?: string | undefined;
|
|
13
|
+
normalBorderWidth?: any;
|
|
14
|
+
normalBorderColor?: string | undefined;
|
|
15
|
+
focusBorderColor?: string | undefined;
|
|
16
|
+
cornerRadius?: any;
|
|
17
|
+
focusScale?: any;
|
|
18
|
+
enableFocusBorder?: boolean | undefined;
|
|
19
|
+
}>>, {
|
|
20
|
+
getNativeNode: () => any;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
onButtonCustomEvent: (payload?: any) => void;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
+
text?: string | undefined;
|
|
25
|
+
icon?: string | undefined;
|
|
26
|
+
iconSize?: any;
|
|
27
|
+
iconSpace?: any;
|
|
28
|
+
layoutDirection?: string | undefined;
|
|
29
|
+
fontSize?: any;
|
|
30
|
+
maxLines?: any;
|
|
31
|
+
textColor?: string | undefined;
|
|
32
|
+
focusTextColor?: string | undefined;
|
|
33
|
+
backgroundColor?: string | undefined;
|
|
34
|
+
focusBackgroundColor?: string | undefined;
|
|
35
|
+
normalBorderWidth?: any;
|
|
36
|
+
normalBorderColor?: string | undefined;
|
|
37
|
+
focusBorderColor?: string | undefined;
|
|
38
|
+
cornerRadius?: any;
|
|
39
|
+
focusScale?: any;
|
|
40
|
+
enableFocusBorder?: boolean | undefined;
|
|
41
|
+
}>>> & Readonly<{
|
|
42
|
+
onOnButtonCustomEvent?: ((payload?: any) => any) | undefined;
|
|
43
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import NaButton from './NaButton.vue';
|
|
3
|
+
export declare const NaButtonPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { NaButton };
|
|
7
|
+
export default NaButtonPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
NaButton: typeof NaButton;
|
|
11
|
+
'qt-na-button': typeof NaButton;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
text?: string | undefined;
|
|
3
|
+
checked?: boolean | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
checkedIcon?: string | undefined;
|
|
6
|
+
uncheckedIcon?: string | undefined;
|
|
7
|
+
iconSize?: any;
|
|
8
|
+
iconSpace?: any;
|
|
9
|
+
layoutDirection?: string | undefined;
|
|
10
|
+
gravity?: string | undefined;
|
|
11
|
+
paddingX?: any;
|
|
12
|
+
showBackground?: boolean | undefined;
|
|
13
|
+
fontSize?: any;
|
|
14
|
+
textColor?: any;
|
|
15
|
+
focusTextColor?: any;
|
|
16
|
+
checkedTextColor?: any;
|
|
17
|
+
focusCheckedTextColor?: any;
|
|
18
|
+
disabledTextColor?: any;
|
|
19
|
+
iconColor?: any;
|
|
20
|
+
focusIconColor?: any;
|
|
21
|
+
checkedIconColor?: any;
|
|
22
|
+
focusCheckedIconColor?: any;
|
|
23
|
+
disabledIconColor?: any;
|
|
24
|
+
iconInnerColor?: any;
|
|
25
|
+
focusIconInnerColor?: any;
|
|
26
|
+
checkedIconInnerColor?: any;
|
|
27
|
+
focusCheckedIconInnerColor?: any;
|
|
28
|
+
disabledIconInnerColor?: any;
|
|
29
|
+
focusMode?: string | undefined;
|
|
30
|
+
bgColor?: any;
|
|
31
|
+
focusBgColor?: any;
|
|
32
|
+
checkedBgColor?: any;
|
|
33
|
+
focusCheckedBgColor?: any;
|
|
34
|
+
disabledBgColor?: any;
|
|
35
|
+
borderColor?: any;
|
|
36
|
+
focusBorderColor?: any;
|
|
37
|
+
checkedBorderColor?: any;
|
|
38
|
+
focusCheckedBorderColor?: any;
|
|
39
|
+
disabledBorderColor?: any;
|
|
40
|
+
cornerRadius?: any;
|
|
41
|
+
focusScale?: any;
|
|
42
|
+
type?: string | undefined;
|
|
43
|
+
}>>, {
|
|
44
|
+
getNativeNode: () => any;
|
|
45
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
onCheckedChange: (payload?: any) => void;
|
|
47
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
48
|
+
text?: string | undefined;
|
|
49
|
+
checked?: boolean | undefined;
|
|
50
|
+
disabled?: boolean | undefined;
|
|
51
|
+
checkedIcon?: string | undefined;
|
|
52
|
+
uncheckedIcon?: string | undefined;
|
|
53
|
+
iconSize?: any;
|
|
54
|
+
iconSpace?: any;
|
|
55
|
+
layoutDirection?: string | undefined;
|
|
56
|
+
gravity?: string | undefined;
|
|
57
|
+
paddingX?: any;
|
|
58
|
+
showBackground?: boolean | undefined;
|
|
59
|
+
fontSize?: any;
|
|
60
|
+
textColor?: any;
|
|
61
|
+
focusTextColor?: any;
|
|
62
|
+
checkedTextColor?: any;
|
|
63
|
+
focusCheckedTextColor?: any;
|
|
64
|
+
disabledTextColor?: any;
|
|
65
|
+
iconColor?: any;
|
|
66
|
+
focusIconColor?: any;
|
|
67
|
+
checkedIconColor?: any;
|
|
68
|
+
focusCheckedIconColor?: any;
|
|
69
|
+
disabledIconColor?: any;
|
|
70
|
+
iconInnerColor?: any;
|
|
71
|
+
focusIconInnerColor?: any;
|
|
72
|
+
checkedIconInnerColor?: any;
|
|
73
|
+
focusCheckedIconInnerColor?: any;
|
|
74
|
+
disabledIconInnerColor?: any;
|
|
75
|
+
focusMode?: string | undefined;
|
|
76
|
+
bgColor?: any;
|
|
77
|
+
focusBgColor?: any;
|
|
78
|
+
checkedBgColor?: any;
|
|
79
|
+
focusCheckedBgColor?: any;
|
|
80
|
+
disabledBgColor?: any;
|
|
81
|
+
borderColor?: any;
|
|
82
|
+
focusBorderColor?: any;
|
|
83
|
+
checkedBorderColor?: any;
|
|
84
|
+
focusCheckedBorderColor?: any;
|
|
85
|
+
disabledBorderColor?: any;
|
|
86
|
+
cornerRadius?: any;
|
|
87
|
+
focusScale?: any;
|
|
88
|
+
type?: string | undefined;
|
|
89
|
+
}>>> & Readonly<{
|
|
90
|
+
onOnCheckedChange?: ((payload?: any) => any) | undefined;
|
|
91
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
92
|
+
default?(_: {}): any;
|
|
93
|
+
}>;
|
|
94
|
+
export default _default;
|
|
95
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
96
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
97
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
98
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
99
|
+
} : {
|
|
100
|
+
type: import('vue').PropType<T[K]>;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import NaCheckbox from './NaCheckbox.vue';
|
|
3
|
+
export declare const NaCheckboxPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { NaCheckbox };
|
|
7
|
+
export default NaCheckboxPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
NaCheckbox: typeof NaCheckbox;
|
|
11
|
+
'qt-na-checkbox': typeof NaCheckbox;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: () => any[];
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
options: {
|
|
7
|
+
type: () => Array<{
|
|
8
|
+
label: string;
|
|
9
|
+
value: any;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
props?: any;
|
|
12
|
+
}>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
direction: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
itemWidth: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
itemHeight: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
itemGap: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
gravity: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
showBackground: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>, {
|
|
40
|
+
groupStyle: import("vue").ComputedRef<{
|
|
41
|
+
display: string;
|
|
42
|
+
flexDirection: any;
|
|
43
|
+
alignItems: string;
|
|
44
|
+
}>;
|
|
45
|
+
getItemStyle: (item: any, index: number) => any;
|
|
46
|
+
onItemClick: (item: any) => void;
|
|
47
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: () => any[];
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
options: {
|
|
53
|
+
type: () => Array<{
|
|
54
|
+
label: string;
|
|
55
|
+
value: any;
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
props?: any;
|
|
58
|
+
}>;
|
|
59
|
+
default: () => never[];
|
|
60
|
+
};
|
|
61
|
+
direction: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
itemWidth: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
itemHeight: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
itemGap: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
gravity: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
showBackground: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
86
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
87
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
}>, {
|
|
89
|
+
gravity: string;
|
|
90
|
+
showBackground: boolean;
|
|
91
|
+
modelValue: any[];
|
|
92
|
+
options: {
|
|
93
|
+
label: string;
|
|
94
|
+
value: any;
|
|
95
|
+
disabled?: boolean | undefined;
|
|
96
|
+
props?: any;
|
|
97
|
+
}[];
|
|
98
|
+
direction: string;
|
|
99
|
+
itemWidth: number;
|
|
100
|
+
itemHeight: number;
|
|
101
|
+
itemGap: number;
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import NaCheckboxGroup from './NaCheckboxGroup.vue';
|
|
3
|
+
export declare const NaCheckboxGroupPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { NaCheckboxGroup };
|
|
7
|
+
export default NaCheckboxGroupPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
NaCheckboxGroup: typeof NaCheckboxGroup;
|
|
11
|
+
'qt-na-checkbox-group': typeof NaCheckboxGroup;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
inputSize?: "small" | "large" | "medium" | undefined;
|
|
3
|
+
}>, {
|
|
4
|
+
inputSize: string;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
onChange: (...args: any[]) => void;
|
|
7
|
+
onInputClick: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
inputSize?: "small" | "large" | "medium" | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
inputSize: string;
|
|
12
|
+
}>>> & Readonly<{
|
|
13
|
+
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onOnInputClick?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
inputSize: "small" | "large" | "medium";
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
text?: string | undefined;
|
|
3
|
+
placeholder?: string | undefined;
|
|
4
|
+
type?: string | undefined;
|
|
5
|
+
status?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
inputSize?: string | undefined;
|
|
8
|
+
cursorVisible?: boolean | undefined;
|
|
9
|
+
useSystemKeyboard?: boolean | undefined;
|
|
10
|
+
trailingIcon?: string | undefined;
|
|
11
|
+
}>>, {
|
|
12
|
+
getNativeNode: () => any;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
onInputClick: (payload?: any) => void;
|
|
15
|
+
onChange: (payload?: any) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
text?: string | undefined;
|
|
18
|
+
placeholder?: string | undefined;
|
|
19
|
+
type?: string | undefined;
|
|
20
|
+
status?: string | undefined;
|
|
21
|
+
disabled?: boolean | undefined;
|
|
22
|
+
inputSize?: string | undefined;
|
|
23
|
+
cursorVisible?: boolean | undefined;
|
|
24
|
+
useSystemKeyboard?: boolean | undefined;
|
|
25
|
+
trailingIcon?: string | undefined;
|
|
26
|
+
}>>> & Readonly<{
|
|
27
|
+
onOnChange?: ((payload?: any) => any) | undefined;
|
|
28
|
+
onOnInputClick?: ((payload?: any) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
30
|
+
default?(_: {}): any;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import NaInputView from './NaInputView.vue';
|
|
3
|
+
export declare const NaInputViewPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { NaInputView };
|
|
7
|
+
export default NaInputViewPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
NaInputView: typeof NaInputView;
|
|
11
|
+
'qt-na-input-view': typeof NaInputView;
|
|
12
|
+
}
|
|
13
|
+
}
|