@pixelium/web-vue 0.0.1-beta → 0.0.2-fix
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/README.md +21 -10
- package/README.zh.md +21 -10
- package/dist/icon-pa.d.ts +490 -0
- package/dist/index.d.ts +1586 -10
- package/dist/pixelium-vue-icon-pa.cjs +1 -0
- package/dist/pixelium-vue-icon-pa.css +1 -0
- package/dist/pixelium-vue-icon-pa.js +10143 -0
- package/dist/pixelium-vue-icon-pa.umd.cjs +1 -0
- package/dist/pixelium-vue.cjs +12 -1
- package/dist/pixelium-vue.css +1 -1
- package/dist/pixelium-vue.js +5370 -1093
- package/dist/pixelium-vue.umd.cjs +12 -1
- package/es/aside/css.js +1 -1
- package/es/aside/index.js +60 -13
- package/es/auto-complete/css.js +2 -0
- package/es/auto-complete/draw.d.ts +2 -0
- package/es/auto-complete/draw.js +52 -0
- package/es/auto-complete/index.css +123 -0
- package/es/auto-complete/index.d.ts +35 -0
- package/es/auto-complete/index.js +402 -0
- package/es/auto-complete/type.d.ts +192 -0
- package/es/button/css.js +1 -1
- package/es/button/draw.d.ts +1 -2
- package/es/button/draw.js +105 -123
- package/es/button/index.css +24 -14
- package/es/button/index.js +70 -121
- package/es/button-group/css.js +1 -1
- package/es/button-group/index.d.ts +0 -1
- package/es/button-group/index.js +11 -37
- package/es/button-group/type.d.ts +1 -1
- package/es/col/css.js +1 -1
- package/es/col/index.d.ts +2 -2
- package/es/container/css.js +1 -1
- package/es/divider/css.js +1 -1
- package/es/empty/css.js +2 -0
- package/es/empty/index.css +19 -0
- package/es/empty/index.d.ts +17 -0
- package/es/empty/index.js +73 -0
- package/es/empty/type.d.ts +19 -0
- package/es/footer/css.js +1 -1
- package/es/grid/css.js +1 -1
- package/es/grid/index.js +5 -1
- package/es/grid-item/css.js +1 -1
- package/es/grid-item/index.d.ts +1 -1
- package/es/grid-item/index.js +7 -3
- package/es/header/css.js +1 -1
- package/es/icon/css.js +1 -1
- package/es/icon/index.css +0 -3
- package/es/icon/index.js +1 -1
- package/es/icons/css-pa.js +2 -0
- package/es/icons/icon-hn.js +1 -1
- package/es/icons/icon-pa.css +9 -0
- package/es/icons/icon-pa.d.ts +490 -0
- package/es/icons/icon-pa.js +17449 -0
- package/es/index.css +22 -8
- package/es/index.d.ts +18 -1
- package/es/index.js +63 -2
- package/es/input/css.js +2 -0
- package/es/input/draw.d.ts +2 -0
- package/es/input/draw.js +52 -0
- package/es/input/index.css +138 -0
- package/es/input/index.d.ts +50 -0
- package/es/input/index.js +432 -0
- package/es/input/type.d.ts +175 -0
- package/es/input-group/css.js +2 -0
- package/es/input-group/index.css +24 -0
- package/es/input-group/index.d.ts +17 -0
- package/es/input-group/index.js +40 -0
- package/es/input-group/type.d.ts +30 -0
- package/es/input-group-label/css.js +2 -0
- package/es/input-group-label/draw.d.ts +2 -0
- package/es/input-group-label/draw.js +52 -0
- package/es/input-group-label/index.css +50 -0
- package/es/input-group-label/index.d.ts +16 -0
- package/es/input-group-label/index.js +129 -0
- package/es/input-group-label/type.d.ts +30 -0
- package/es/input-number/css.js +2 -0
- package/es/input-number/draw.d.ts +2 -0
- package/es/input-number/draw.js +52 -0
- package/es/input-number/index.css +161 -0
- package/es/input-number/index.d.ts +47 -0
- package/es/input-number/index.js +543 -0
- package/es/input-number/type.d.ts +183 -0
- package/es/input-tag/css.js +2 -0
- package/es/input-tag/draw.d.ts +2 -0
- package/es/input-tag/draw.js +49 -0
- package/es/input-tag/index.css +133 -0
- package/es/input-tag/index.d.ts +73 -0
- package/es/input-tag/index.js +474 -0
- package/es/input-tag/type.d.ts +212 -0
- package/es/link/css.js +1 -1
- package/es/link/index.css +2 -5
- package/es/link/index.js +10 -6
- package/es/main/css.js +1 -1
- package/es/mask/css.js +2 -0
- package/es/mask/index.css +17 -0
- package/es/mask/index.d.ts +8 -0
- package/es/mask/index.js +117 -0
- package/es/mask/type.d.ts +27 -0
- package/es/message/css.js +1 -1
- package/es/message/index.css +26 -26
- package/es/message/index.d.ts +1 -1
- package/es/message/index.js +22 -50
- package/es/message-box/css.js +1 -1
- package/es/message-box/index.js +40 -30
- package/es/message-box/message-box-wrapped.d.ts +0 -1
- package/es/message-box/message-box-wrapped.js +2 -2
- package/es/message-box/message-box.d.ts +2 -1
- package/es/message-box/message-box.js +10 -8
- package/es/message-box/type.d.ts +14 -4
- package/es/option-list/css.js +2 -0
- package/es/option-list/index.css +57 -0
- package/es/option-list/index.d.ts +38 -0
- package/es/option-list/index.js +169 -0
- package/es/option-list/type.d.ts +16 -0
- package/es/popover/css.js +1 -0
- package/es/popover/index.d.ts +203 -0
- package/es/popover/index.js +240 -0
- package/es/popover/type.d.ts +100 -0
- package/es/popup-content/css.js +2 -0
- package/es/popup-content/draw.d.ts +6 -0
- package/es/popup-content/draw.js +151 -0
- package/es/popup-content/index.css +99 -0
- package/es/popup-content/index.d.ts +30 -0
- package/es/popup-content/index.js +1578 -0
- package/es/popup-content/type.d.ts +20 -0
- package/es/popup-trigger/css.js +1 -0
- package/es/popup-trigger/index.d.ts +22 -0
- package/es/popup-trigger/index.js +97 -0
- package/es/popup-trigger/type.d.ts +9 -0
- package/es/row/css.js +1 -1
- package/es/select/css.js +2 -0
- package/es/select/draw.d.ts +2 -0
- package/es/select/draw.js +52 -0
- package/es/select/index.css +152 -0
- package/es/select/index.d.ts +44 -0
- package/es/select/index.js +677 -0
- package/es/select/type.d.ts +252 -0
- package/es/share/const/event-bus-key.d.ts +4 -0
- package/es/share/const/event-bus-key.js +10 -0
- package/es/share/const/index.d.ts +4 -0
- package/es/share/const/index.js +11 -2
- package/es/share/const/provide-key.d.ts +3 -0
- package/es/share/const/provide-key.js +8 -0
- package/es/share/hook/use-click-outside-listener.d.ts +4 -0
- package/es/share/hook/use-click-outside-listener.js +44 -0
- package/es/share/hook/use-composition.d.ts +5 -0
- package/es/share/hook/use-composition.js +17 -0
- package/es/share/hook/use-controlled-mode.d.ts +6 -0
- package/es/share/hook/use-controlled-mode.js +25 -0
- package/es/share/hook/use-dark-mode.js +11 -3
- package/es/share/hook/use-index-of-children.d.ts +2 -1
- package/es/share/hook/use-index-of-children.js +25 -35
- package/es/share/hook/use-resize-observer.js +1 -1
- package/es/share/hook/use-textarea-height.d.ts +5 -0
- package/es/share/hook/use-textarea-height.js +116 -0
- package/es/share/hook/use-watch-global-css-var.d.ts +1 -0
- package/es/share/hook/use-watch-global-css-var.js +19 -0
- package/es/share/hook/use-z-index.d.ts +6 -0
- package/es/share/hook/use-z-index.js +32 -0
- package/es/share/type/index.d.ts +9 -1
- package/es/share/util/color.js +4 -2
- package/es/share/util/common.d.ts +5 -0
- package/es/share/util/common.js +71 -0
- package/es/share/util/event-bus.d.ts +1 -0
- package/es/share/util/event-bus.js +20 -0
- package/es/share/util/plot.d.ts +15 -2
- package/es/share/util/plot.js +200 -30
- package/es/share/util/render.d.ts +1 -0
- package/es/share/util/render.js +10 -2
- package/es/share/util/theme.js +23 -4
- package/es/space/css.js +1 -1
- package/es/space/index.css +5 -0
- package/es/space/index.js +2 -2
- package/es/spin/css.js +2 -0
- package/es/spin/index.css +66 -0
- package/es/spin/index.d.ts +24 -0
- package/es/spin/index.js +104 -0
- package/es/spin/type.d.ts +54 -0
- package/es/tag/css.js +2 -0
- package/es/tag/draw.d.ts +6 -0
- package/es/tag/draw.js +135 -0
- package/es/tag/index.css +372 -0
- package/es/tag/index.d.ts +23 -0
- package/es/tag/index.js +193 -0
- package/es/tag/type.d.ts +58 -0
- package/es/textarea/css.js +2 -0
- package/es/textarea/draw.d.ts +2 -0
- package/es/textarea/draw.js +13 -0
- package/es/textarea/index.css +108 -0
- package/es/textarea/index.d.ts +49 -0
- package/es/textarea/index.js +267 -0
- package/es/textarea/type.d.ts +169 -0
- package/es/tooltip/css.js +1 -0
- package/es/tooltip/index.d.ts +20 -0
- package/es/tooltip/index.js +228 -0
- package/es/tooltip/type.d.ts +77 -0
- package/package.json +17 -3
- package/es/icons/{css.js → css-hn.js} +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Nullish } from 'parsnip-kit';
|
|
4
|
+
import { App, CSSProperties, VNode, nextTick } from 'vue';
|
|
4
5
|
import { JSX } from 'vue/jsx-runtime';
|
|
5
6
|
|
|
6
7
|
declare enum SCREEN_SIZE_TYPE {
|
|
@@ -11,10 +12,19 @@ declare enum SCREEN_SIZE_TYPE {
|
|
|
11
12
|
XL = "xl",
|
|
12
13
|
XXL = "xxl"
|
|
13
14
|
}
|
|
15
|
+
declare const GROUP_OPTION_TYPE = "group";
|
|
14
16
|
export type NumberOrPercentage = number | `${number}%`;
|
|
15
17
|
export type ValidContent = string | (() => VNode | string | JSX.Element);
|
|
16
18
|
export type ValidVNodeContent = () => VNode | JSX.Element;
|
|
17
19
|
export type ValueWithDeviceWidth<T> = Record<SCREEN_SIZE_TYPE, T>;
|
|
20
|
+
interface Option$1<T = any> {
|
|
21
|
+
value: T;
|
|
22
|
+
label: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GroupOption<T = any> {
|
|
25
|
+
children: (Option$1<T> | string)[];
|
|
26
|
+
type: typeof GROUP_OPTION_TYPE;
|
|
27
|
+
}
|
|
18
28
|
export type ButtonProps = {
|
|
19
29
|
/**
|
|
20
30
|
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
@@ -122,7 +132,7 @@ export type ButtonGroupProps = {
|
|
|
122
132
|
*/
|
|
123
133
|
loading?: boolean;
|
|
124
134
|
/**
|
|
125
|
-
* @property {'primary' | 'plain' | 'text' | 'outline'} [variant
|
|
135
|
+
* @property {'primary' | 'plain' | 'text' | 'outline'} [variant]
|
|
126
136
|
* @version 0.0.0-beta
|
|
127
137
|
*/
|
|
128
138
|
variant?: "primary" | "plain" | "text" | "outline";
|
|
@@ -135,7 +145,6 @@ declare const __VLS_component$1: import("vue").DefineComponent<ButtonGroupProps,
|
|
|
135
145
|
shape: "default" | "round";
|
|
136
146
|
size: "medium" | "large" | "small";
|
|
137
147
|
disabled: boolean;
|
|
138
|
-
variant: "primary" | "plain" | "text" | "outline";
|
|
139
148
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
140
149
|
declare const _default$1: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
141
150
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -257,7 +266,12 @@ export type MessageOptions = {
|
|
|
257
266
|
*/
|
|
258
267
|
closable?: boolean;
|
|
259
268
|
/**
|
|
260
|
-
* @property {'top' | 'bottom' | '
|
|
269
|
+
* @property {'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'} [placement='top']
|
|
270
|
+
* @version 0.0.2
|
|
271
|
+
*/
|
|
272
|
+
placement?: MessageBoxProps["placement"];
|
|
273
|
+
/**
|
|
274
|
+
* @property {'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'} [position='top']
|
|
261
275
|
* @version 0.0.0-beta
|
|
262
276
|
*/
|
|
263
277
|
position?: MessageBoxProps["position"];
|
|
@@ -286,12 +300,17 @@ export type MessageBoxProps = {
|
|
|
286
300
|
*/
|
|
287
301
|
messages: MessageProps[];
|
|
288
302
|
/**
|
|
289
|
-
* @property {'top' | 'bottom' | '
|
|
303
|
+
* @property {'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'} [placement='top']
|
|
304
|
+
* @version 0.0.2
|
|
305
|
+
*/
|
|
306
|
+
placement?: "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
307
|
+
/**
|
|
308
|
+
* @property {'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'} [position='top']
|
|
290
309
|
* @version 0.0.0-beta
|
|
291
310
|
*/
|
|
292
|
-
position?: "top" | "bottom" | "
|
|
311
|
+
position?: "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
293
312
|
/**
|
|
294
|
-
* @property {number} [zIndex
|
|
313
|
+
* @property {number} [zIndex]
|
|
295
314
|
* @version 0.0.0-beta
|
|
296
315
|
*/
|
|
297
316
|
zIndex?: number;
|
|
@@ -313,7 +332,6 @@ export type __VLS_Props = MessageBoxProps & {
|
|
|
313
332
|
onClose: (id: string | number | symbol) => any;
|
|
314
333
|
};
|
|
315
334
|
declare const _default$3: import("vue").DefineComponent<__VLS_Props, MessageBoxExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
316
|
-
zIndex: number;
|
|
317
335
|
root: string | HTMLElement;
|
|
318
336
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
319
337
|
export type MessageFunction = (options: ValidContent | MessageOptions) => MessageReturn & {
|
|
@@ -711,12 +729,1555 @@ type __VLS_WithSlots$12<T, S> = T & {
|
|
|
711
729
|
$slots: S;
|
|
712
730
|
};
|
|
713
731
|
};
|
|
732
|
+
export type InputProps = {
|
|
733
|
+
/**
|
|
734
|
+
* @property {string | null} [modelValue]
|
|
735
|
+
* @version 0.0.2
|
|
736
|
+
*/
|
|
737
|
+
modelValue?: string | null;
|
|
738
|
+
/**
|
|
739
|
+
* @property {string | null} [defaultValue]
|
|
740
|
+
* @version 0.0.2
|
|
741
|
+
*/
|
|
742
|
+
defaultValue?: string | null;
|
|
743
|
+
/**
|
|
744
|
+
* @property {string} [placeholder]
|
|
745
|
+
* @version 0.0.2
|
|
746
|
+
*/
|
|
747
|
+
placeholder?: string;
|
|
748
|
+
/**
|
|
749
|
+
* @property {boolean} [password=false]
|
|
750
|
+
* @version 0.0.2
|
|
751
|
+
*/
|
|
752
|
+
password?: boolean;
|
|
753
|
+
/**
|
|
754
|
+
* @property {boolean} [disabled=false]
|
|
755
|
+
* @version 0.0.2
|
|
756
|
+
*/
|
|
757
|
+
disabled?: boolean;
|
|
758
|
+
/**
|
|
759
|
+
* @property {boolean} [readonly=false]
|
|
760
|
+
* @version 0.0.2
|
|
761
|
+
*/
|
|
762
|
+
readonly?: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* @property {boolean} [clearable=false]
|
|
765
|
+
* @version 0.0.2
|
|
766
|
+
*/
|
|
767
|
+
clearable?: boolean;
|
|
768
|
+
/**
|
|
769
|
+
* @property {boolean} [loading=false]
|
|
770
|
+
* @version 0.0.2
|
|
771
|
+
*/
|
|
772
|
+
loading?: boolean;
|
|
773
|
+
/**
|
|
774
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
775
|
+
* @version 0.0.2
|
|
776
|
+
*/
|
|
777
|
+
size?: "medium" | "large" | "small";
|
|
778
|
+
/**
|
|
779
|
+
* @property {'default' | 'round'} [shape='default']
|
|
780
|
+
* @version 0.0.2
|
|
781
|
+
*/
|
|
782
|
+
shape?: "default" | "round";
|
|
783
|
+
/**
|
|
784
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
785
|
+
* @version 0.0.2
|
|
786
|
+
*/
|
|
787
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
788
|
+
/**
|
|
789
|
+
* @property {number} [maxLength]
|
|
790
|
+
* @version 0.0.2
|
|
791
|
+
*/
|
|
792
|
+
maxLength?: number;
|
|
793
|
+
/**
|
|
794
|
+
* @property {boolean} [showCount=false]
|
|
795
|
+
* @version 0.0.2
|
|
796
|
+
*/
|
|
797
|
+
showCount?: boolean;
|
|
798
|
+
/**
|
|
799
|
+
* @property {(value: string) => number} [countGraphemes]
|
|
800
|
+
* @version 0.0.2
|
|
801
|
+
*/
|
|
802
|
+
countGraphemes?: (value: string) => number;
|
|
803
|
+
/**
|
|
804
|
+
* @property {(value: string, limit: number) => string} [sliceGraphemes]
|
|
805
|
+
* @version 0.0.2
|
|
806
|
+
*/
|
|
807
|
+
sliceGraphemes?: (value: string, limit: number) => string;
|
|
808
|
+
/**
|
|
809
|
+
* @property {'success' | 'warning' | 'error' | 'normal'} [status='normal']
|
|
810
|
+
* @version 0.0.2
|
|
811
|
+
*/
|
|
812
|
+
status?: "success" | "warning" | "error" | "normal";
|
|
813
|
+
/**
|
|
814
|
+
* @property {boolean} [autofocus=false]
|
|
815
|
+
* @version 0.0.2
|
|
816
|
+
*/
|
|
817
|
+
autofocus?: boolean;
|
|
818
|
+
/**
|
|
819
|
+
* @property {'text' | 'password' | 'email' | 'tel' | 'url' | 'search'} [nativeType='text']
|
|
820
|
+
* @version 0.0.2
|
|
821
|
+
*/
|
|
822
|
+
nativeType?: "text" | "password" | "email" | "tel" | "url" | "search";
|
|
823
|
+
};
|
|
824
|
+
declare var __VLS_1$11: {}, __VLS_27: {
|
|
825
|
+
value: any;
|
|
826
|
+
count: any;
|
|
827
|
+
maxLength: number | undefined;
|
|
828
|
+
}, __VLS_34: {};
|
|
829
|
+
type __VLS_Slots$13 = {} & {
|
|
830
|
+
prefix?: (props: typeof __VLS_1$11) => any;
|
|
831
|
+
} & {
|
|
832
|
+
count?: (props: typeof __VLS_27) => any;
|
|
833
|
+
} & {
|
|
834
|
+
suffix?: (props: typeof __VLS_34) => any;
|
|
835
|
+
};
|
|
836
|
+
declare const __VLS_component$13: import("vue").DefineComponent<InputProps, {
|
|
837
|
+
focus: () => void;
|
|
838
|
+
blur: () => void;
|
|
839
|
+
clear: () => Promise<void>;
|
|
840
|
+
select: () => void;
|
|
841
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
842
|
+
input: (value: string, e: Event) => any;
|
|
843
|
+
change: (value: string, e?: Event | undefined) => any;
|
|
844
|
+
clear: (value: string) => any;
|
|
845
|
+
blur: (e: FocusEvent) => any;
|
|
846
|
+
focus: (e: FocusEvent) => any;
|
|
847
|
+
"update:modelValue": (value: string) => any;
|
|
848
|
+
}, string, import("vue").PublicProps, Readonly<InputProps> & Readonly<{
|
|
849
|
+
onInput?: ((value: string, e: Event) => any) | undefined;
|
|
850
|
+
onChange?: ((value: string, e?: Event | undefined) => any) | undefined;
|
|
851
|
+
onClear?: ((value: string) => any) | undefined;
|
|
852
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
853
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
854
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
855
|
+
}>, {
|
|
856
|
+
shape: "default" | "round";
|
|
857
|
+
size: "medium" | "large" | "small";
|
|
858
|
+
disabled: boolean;
|
|
859
|
+
loading: boolean;
|
|
860
|
+
password: boolean;
|
|
861
|
+
readonly: boolean;
|
|
862
|
+
clearable: boolean;
|
|
863
|
+
showCount: boolean;
|
|
864
|
+
status: "success" | "warning" | "error" | "normal";
|
|
865
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
866
|
+
declare const _default$16: __VLS_WithSlots$13<typeof __VLS_component$13, __VLS_Slots$13>;
|
|
867
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
868
|
+
new (): {
|
|
869
|
+
$slots: S;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
export type InputNumberProps = {
|
|
873
|
+
/**
|
|
874
|
+
* @property {string | null} [modelValue]
|
|
875
|
+
* @version 0.0.2
|
|
876
|
+
*/
|
|
877
|
+
modelValue?: number | null;
|
|
878
|
+
/**
|
|
879
|
+
* @property {string | null} [defaultValue]
|
|
880
|
+
* @version 0.0.2
|
|
881
|
+
*/
|
|
882
|
+
defaultValue?: number | null;
|
|
883
|
+
/**
|
|
884
|
+
* @property {string} [placeholder]
|
|
885
|
+
* @version 0.0.2
|
|
886
|
+
*/
|
|
887
|
+
placeholder?: string;
|
|
888
|
+
/**
|
|
889
|
+
* @property {boolean} [disabled=false]
|
|
890
|
+
* @version 0.0.2
|
|
891
|
+
*/
|
|
892
|
+
disabled?: boolean;
|
|
893
|
+
/**
|
|
894
|
+
* @property {boolean} [readonly=false]
|
|
895
|
+
* @version 0.0.2
|
|
896
|
+
*/
|
|
897
|
+
readonly?: boolean;
|
|
898
|
+
/**
|
|
899
|
+
* @property {number} [max=Number.MAX_SAFE_INTEGER]
|
|
900
|
+
* @version 0.0.2
|
|
901
|
+
*/
|
|
902
|
+
max?: number;
|
|
903
|
+
/**
|
|
904
|
+
* @property {number} [min=Number.MIN_SAFE_INTEGER]
|
|
905
|
+
* @version 0.0.2
|
|
906
|
+
*/
|
|
907
|
+
min?: number;
|
|
908
|
+
/**
|
|
909
|
+
* @property {number} [step=1]
|
|
910
|
+
* @version 0.0.2
|
|
911
|
+
*/
|
|
912
|
+
step?: number;
|
|
913
|
+
/**
|
|
914
|
+
* @property {number} [precision]
|
|
915
|
+
* @version 0.0.2
|
|
916
|
+
*/
|
|
917
|
+
precision?: number;
|
|
918
|
+
/**
|
|
919
|
+
* @property {boolean} [strickStep=false]
|
|
920
|
+
* @version 0.0.2
|
|
921
|
+
*/
|
|
922
|
+
strickStep?: boolean;
|
|
923
|
+
/**
|
|
924
|
+
* @property {(value: number | Nullish) => string} [format]
|
|
925
|
+
* @version 0.0.2
|
|
926
|
+
*/
|
|
927
|
+
format?: (value: number | Nullish) => string;
|
|
928
|
+
/**
|
|
929
|
+
* @property {(value: string) => boolean} [allowInput]
|
|
930
|
+
* @version 0.0.2
|
|
931
|
+
*/
|
|
932
|
+
allowInput?: (value: string) => boolean;
|
|
933
|
+
/**
|
|
934
|
+
* @property {(value: string) => number} [parse]
|
|
935
|
+
* @version 0.0.2
|
|
936
|
+
*/
|
|
937
|
+
parse?: (value: string) => number;
|
|
938
|
+
/**
|
|
939
|
+
* @property {boolean} [clearable=false]
|
|
940
|
+
* @version 0.0.2
|
|
941
|
+
*/
|
|
942
|
+
clearable?: boolean;
|
|
943
|
+
/**
|
|
944
|
+
* @property {boolean} [loading=false]
|
|
945
|
+
* @version 0.0.2
|
|
946
|
+
*/
|
|
947
|
+
loading?: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
950
|
+
* @version 0.0.2
|
|
951
|
+
*/
|
|
952
|
+
size?: "medium" | "large" | "small";
|
|
953
|
+
/**
|
|
954
|
+
* @property {'default' | 'round'} [shape='default']
|
|
955
|
+
* @version 0.0.2
|
|
956
|
+
*/
|
|
957
|
+
shape?: "default" | "round";
|
|
958
|
+
/**
|
|
959
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
960
|
+
* @version 0.0.2
|
|
961
|
+
*/
|
|
962
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
963
|
+
/**
|
|
964
|
+
* @property {boolean} [buttonPlacement='end']
|
|
965
|
+
* @version 0.0.2
|
|
966
|
+
*/
|
|
967
|
+
buttonPlacement?: "start" | "end" | "both" | "start-reverse" | "end-reverse" | "both-reverse";
|
|
968
|
+
/**
|
|
969
|
+
* @property {'success' | 'warning' | 'error' | 'normal'} [status='normal']
|
|
970
|
+
* @version 0.0.2
|
|
971
|
+
*/
|
|
972
|
+
status?: "success" | "warning" | "error" | "normal";
|
|
973
|
+
/**
|
|
974
|
+
* @property {boolean} [autofocus=false]
|
|
975
|
+
* @version 0.0.2
|
|
976
|
+
*/
|
|
977
|
+
autofocus?: boolean;
|
|
978
|
+
};
|
|
979
|
+
declare var __VLS_1$12: {}, __VLS_52: {};
|
|
980
|
+
type __VLS_Slots$14 = {} & {
|
|
981
|
+
prefix?: (props: typeof __VLS_1$12) => any;
|
|
982
|
+
} & {
|
|
983
|
+
suffix?: (props: typeof __VLS_52) => any;
|
|
984
|
+
};
|
|
985
|
+
declare const __VLS_component$14: import("vue").DefineComponent<InputNumberProps, {
|
|
986
|
+
focus: () => void;
|
|
987
|
+
blur: () => void;
|
|
988
|
+
clear: () => Promise<void>;
|
|
989
|
+
select: () => void;
|
|
990
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
991
|
+
input: (value: number, e: Event) => any;
|
|
992
|
+
change: (value: number, e?: Event | undefined) => any;
|
|
993
|
+
clear: (value: number) => any;
|
|
994
|
+
blur: (e: FocusEvent) => any;
|
|
995
|
+
focus: (e: FocusEvent) => any;
|
|
996
|
+
"update:modelValue": (value: number) => any;
|
|
997
|
+
}, string, import("vue").PublicProps, Readonly<InputNumberProps> & Readonly<{
|
|
998
|
+
onInput?: ((value: number, e: Event) => any) | undefined;
|
|
999
|
+
onChange?: ((value: number, e?: Event | undefined) => any) | undefined;
|
|
1000
|
+
onClear?: ((value: number) => any) | undefined;
|
|
1001
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
1002
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
1003
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1004
|
+
}>, {
|
|
1005
|
+
shape: "default" | "round";
|
|
1006
|
+
size: "medium" | "large" | "small";
|
|
1007
|
+
disabled: boolean;
|
|
1008
|
+
loading: boolean;
|
|
1009
|
+
readonly: boolean;
|
|
1010
|
+
clearable: boolean;
|
|
1011
|
+
status: "success" | "warning" | "error" | "normal";
|
|
1012
|
+
max: number;
|
|
1013
|
+
min: number;
|
|
1014
|
+
step: number;
|
|
1015
|
+
strickStep: boolean;
|
|
1016
|
+
buttonPlacement: "start" | "end" | "both" | "start-reverse" | "end-reverse" | "both-reverse";
|
|
1017
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1018
|
+
declare const _default$17: __VLS_WithSlots$14<typeof __VLS_component$14, __VLS_Slots$14>;
|
|
1019
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
1020
|
+
new (): {
|
|
1021
|
+
$slots: S;
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
export type TextareaProps = {
|
|
1025
|
+
/**
|
|
1026
|
+
* @property {string | null} [modelValue]
|
|
1027
|
+
* @version 0.0.2
|
|
1028
|
+
*/
|
|
1029
|
+
modelValue?: string | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* @property {string | null} [defaultValue]
|
|
1032
|
+
* @version 0.0.2
|
|
1033
|
+
*/
|
|
1034
|
+
defaultValue?: string | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* @property {number} [rows]
|
|
1037
|
+
* @version 0.0.2
|
|
1038
|
+
*/
|
|
1039
|
+
rows?: number;
|
|
1040
|
+
/**
|
|
1041
|
+
* @property {number} [minRows=1]
|
|
1042
|
+
* @version 0.0.2
|
|
1043
|
+
*/
|
|
1044
|
+
minRows?: number;
|
|
1045
|
+
/**
|
|
1046
|
+
* @property {number} [maxRows=Infinity]
|
|
1047
|
+
* @version 0.0.2
|
|
1048
|
+
*/
|
|
1049
|
+
maxRows?: number;
|
|
1050
|
+
/**
|
|
1051
|
+
* @property {boolean} [autoResize=false]
|
|
1052
|
+
* @version 0.0.2
|
|
1053
|
+
*/
|
|
1054
|
+
autoResize?: boolean;
|
|
1055
|
+
/**
|
|
1056
|
+
* @property {boolean} [resize=true]
|
|
1057
|
+
* @version 0.0.2
|
|
1058
|
+
*/
|
|
1059
|
+
resize?: boolean;
|
|
1060
|
+
/**
|
|
1061
|
+
* @property {string} [placeholder]
|
|
1062
|
+
* @version 0.0.2
|
|
1063
|
+
*/
|
|
1064
|
+
placeholder?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* @property {boolean} [disabled=false]
|
|
1067
|
+
* @version 0.0.2
|
|
1068
|
+
*/
|
|
1069
|
+
disabled?: boolean;
|
|
1070
|
+
/**
|
|
1071
|
+
* @property {boolean} [readonly=false]
|
|
1072
|
+
* @version 0.0.2
|
|
1073
|
+
*/
|
|
1074
|
+
readonly?: boolean;
|
|
1075
|
+
/**
|
|
1076
|
+
* @property {boolean} [clearable=false]
|
|
1077
|
+
* @version 0.0.2
|
|
1078
|
+
*/
|
|
1079
|
+
clearable?: boolean;
|
|
1080
|
+
/**
|
|
1081
|
+
* @property {boolean} [loading=false]
|
|
1082
|
+
* @version 0.0.2
|
|
1083
|
+
*/
|
|
1084
|
+
loading?: boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
1087
|
+
* @version 0.0.2
|
|
1088
|
+
*/
|
|
1089
|
+
size?: "medium" | "large" | "small";
|
|
1090
|
+
/**
|
|
1091
|
+
* @property {number} [maxLength]
|
|
1092
|
+
* @version 0.0.2
|
|
1093
|
+
*/
|
|
1094
|
+
maxLength?: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* @property {boolean} [showCount=false]
|
|
1097
|
+
* @version 0.0.2
|
|
1098
|
+
*/
|
|
1099
|
+
showCount?: boolean;
|
|
1100
|
+
/**
|
|
1101
|
+
* @property {(value: string) => number} [countGraphemes]
|
|
1102
|
+
* @version 0.0.2
|
|
1103
|
+
*/
|
|
1104
|
+
countGraphemes?: (value: string) => number;
|
|
1105
|
+
/**
|
|
1106
|
+
* @property {(value: string, limit: number) => string} [sliceGraphemes]
|
|
1107
|
+
* @version 0.0.2
|
|
1108
|
+
*/
|
|
1109
|
+
sliceGraphemes?: (value: string, limit: number) => string;
|
|
1110
|
+
/**
|
|
1111
|
+
* @property {'success' | 'warning' | 'error' | 'normal'} [status='normal']
|
|
1112
|
+
* @version 0.0.2
|
|
1113
|
+
*/
|
|
1114
|
+
status?: "success" | "warning" | "error" | "normal";
|
|
1115
|
+
/**
|
|
1116
|
+
* @property {boolean} [autofocus=false]
|
|
1117
|
+
* @version 0.0.2
|
|
1118
|
+
*/
|
|
1119
|
+
autofocus?: boolean;
|
|
1120
|
+
};
|
|
1121
|
+
declare var __VLS_9: {
|
|
1122
|
+
value: string | Nullish;
|
|
1123
|
+
count: number;
|
|
1124
|
+
maxLength: number | undefined;
|
|
1125
|
+
};
|
|
1126
|
+
type __VLS_Slots$15 = {} & {
|
|
1127
|
+
count?: (props: typeof __VLS_9) => any;
|
|
1128
|
+
};
|
|
1129
|
+
declare const __VLS_component$15: import("vue").DefineComponent<TextareaProps, {
|
|
1130
|
+
focus: () => void;
|
|
1131
|
+
blur: () => void;
|
|
1132
|
+
clear: () => Promise<void>;
|
|
1133
|
+
select: () => void;
|
|
1134
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1135
|
+
input: (value: string, e: Event) => any;
|
|
1136
|
+
change: (value: string, e?: Event | undefined) => any;
|
|
1137
|
+
clear: (value: string) => any;
|
|
1138
|
+
blur: (e: FocusEvent) => any;
|
|
1139
|
+
focus: (e: FocusEvent) => any;
|
|
1140
|
+
"update:modelValue": (value: string) => any;
|
|
1141
|
+
}, string, import("vue").PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
1142
|
+
onInput?: ((value: string, e: Event) => any) | undefined;
|
|
1143
|
+
onChange?: ((value: string, e?: Event | undefined) => any) | undefined;
|
|
1144
|
+
onClear?: ((value: string) => any) | undefined;
|
|
1145
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
1146
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
1147
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1148
|
+
}>, {
|
|
1149
|
+
size: "medium" | "large" | "small";
|
|
1150
|
+
disabled: boolean;
|
|
1151
|
+
loading: boolean;
|
|
1152
|
+
resize: boolean;
|
|
1153
|
+
readonly: boolean;
|
|
1154
|
+
clearable: boolean;
|
|
1155
|
+
showCount: boolean;
|
|
1156
|
+
status: "success" | "warning" | "error" | "normal";
|
|
1157
|
+
minRows: number;
|
|
1158
|
+
maxRows: number;
|
|
1159
|
+
autoResize: boolean;
|
|
1160
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1161
|
+
declare const _default$18: __VLS_WithSlots$15<typeof __VLS_component$15, __VLS_Slots$15>;
|
|
1162
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
1163
|
+
new (): {
|
|
1164
|
+
$slots: S;
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
export type TagProps = {
|
|
1168
|
+
/**
|
|
1169
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
1170
|
+
* @version 0.0.2
|
|
1171
|
+
*/
|
|
1172
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
1173
|
+
/**
|
|
1174
|
+
* @property {'default' | 'round'} [shape='default']
|
|
1175
|
+
* @version 0.0.2
|
|
1176
|
+
*/
|
|
1177
|
+
shape?: "default" | "round";
|
|
1178
|
+
/**
|
|
1179
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
1180
|
+
* @version 0.0.2
|
|
1181
|
+
*/
|
|
1182
|
+
size?: "medium" | "large" | "small";
|
|
1183
|
+
/**
|
|
1184
|
+
* @property {boolean} [disabled=false]
|
|
1185
|
+
* @version 0.0.2
|
|
1186
|
+
*/
|
|
1187
|
+
disabled?: boolean;
|
|
1188
|
+
/**
|
|
1189
|
+
* @property {'primary' | 'plain' | 'outline'} [variant='primary']
|
|
1190
|
+
* @version 0.0.2
|
|
1191
|
+
*/
|
|
1192
|
+
variant?: "primary" | "plain" | "outline";
|
|
1193
|
+
/**
|
|
1194
|
+
* @property {'primary' | 'sakura' | 'success' | 'warning' | 'danger' | 'info'} [theme='primary']
|
|
1195
|
+
* @version 0.0.2
|
|
1196
|
+
*/
|
|
1197
|
+
theme?: "primary" | "sakura" | "success" | "warning" | "danger" | "info";
|
|
1198
|
+
/**
|
|
1199
|
+
* @property {string} [color]
|
|
1200
|
+
* @version 0.0.2
|
|
1201
|
+
*/
|
|
1202
|
+
color?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* @property {boolean} [closable]
|
|
1205
|
+
* @version 0.0.2
|
|
1206
|
+
*/
|
|
1207
|
+
closable?: boolean;
|
|
1208
|
+
};
|
|
1209
|
+
declare var __VLS_1$13: {};
|
|
1210
|
+
type __VLS_Slots$16 = {} & {
|
|
1211
|
+
default?: (props: typeof __VLS_1$13) => any;
|
|
1212
|
+
};
|
|
1213
|
+
declare const __VLS_component$16: import("vue").DefineComponent<TagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1214
|
+
close: (e: MouseEvent) => any;
|
|
1215
|
+
}, string, import("vue").PublicProps, Readonly<TagProps> & Readonly<{
|
|
1216
|
+
onClose?: ((e: MouseEvent) => any) | undefined;
|
|
1217
|
+
}>, {
|
|
1218
|
+
shape: "default" | "round";
|
|
1219
|
+
size: "medium" | "large" | "small";
|
|
1220
|
+
disabled: boolean;
|
|
1221
|
+
variant: "primary" | "plain" | "outline";
|
|
1222
|
+
theme: "primary" | "sakura" | "success" | "warning" | "danger" | "info";
|
|
1223
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1224
|
+
declare const _default$19: __VLS_WithSlots$16<typeof __VLS_component$16, __VLS_Slots$16>;
|
|
1225
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
1226
|
+
new (): {
|
|
1227
|
+
$slots: S;
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
export type InputGroupProps = {
|
|
1231
|
+
/**
|
|
1232
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
1233
|
+
* @version 0.0.2
|
|
1234
|
+
*/
|
|
1235
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
1236
|
+
/**
|
|
1237
|
+
* @property {'default' | 'round'} [shape='default']
|
|
1238
|
+
* @version 0.0.2
|
|
1239
|
+
*/
|
|
1240
|
+
shape?: "default" | "round";
|
|
1241
|
+
/**
|
|
1242
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
1243
|
+
* @version 0.0.2
|
|
1244
|
+
*/
|
|
1245
|
+
size?: "medium" | "large" | "small";
|
|
1246
|
+
/**
|
|
1247
|
+
* @property {boolean} [disabled=false]
|
|
1248
|
+
* @version 0.0.2
|
|
1249
|
+
*/
|
|
1250
|
+
disabled?: boolean;
|
|
1251
|
+
};
|
|
1252
|
+
declare var __VLS_1$14: {};
|
|
1253
|
+
type __VLS_Slots$17 = {} & {
|
|
1254
|
+
default?: (props: typeof __VLS_1$14) => any;
|
|
1255
|
+
};
|
|
1256
|
+
declare const __VLS_component$17: import("vue").DefineComponent<InputGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupProps> & Readonly<{}>, {
|
|
1257
|
+
shape: "default" | "round";
|
|
1258
|
+
size: "medium" | "large" | "small";
|
|
1259
|
+
disabled: boolean;
|
|
1260
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1261
|
+
declare const _default$20: __VLS_WithSlots$17<typeof __VLS_component$17, __VLS_Slots$17>;
|
|
1262
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
1263
|
+
new (): {
|
|
1264
|
+
$slots: S;
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
export type InputGroupLabelProps = {
|
|
1268
|
+
/**
|
|
1269
|
+
* @property {string} [backgroundColor]
|
|
1270
|
+
* @version 0.0.2
|
|
1271
|
+
*/
|
|
1272
|
+
backgroundColor?: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
1275
|
+
* @version 0.0.2
|
|
1276
|
+
*/
|
|
1277
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
1278
|
+
/**
|
|
1279
|
+
* @property {'default' | 'round'} [shape='default']
|
|
1280
|
+
* @version 0.0.2
|
|
1281
|
+
*/
|
|
1282
|
+
shape?: "default" | "round";
|
|
1283
|
+
/**
|
|
1284
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
1285
|
+
* @version 0.0.2
|
|
1286
|
+
*/
|
|
1287
|
+
size?: "medium" | "large" | "small";
|
|
1288
|
+
};
|
|
1289
|
+
declare var __VLS_1$15: {};
|
|
1290
|
+
type __VLS_Slots$18 = {} & {
|
|
1291
|
+
default?: (props: typeof __VLS_1$15) => any;
|
|
1292
|
+
};
|
|
1293
|
+
declare const __VLS_component$18: import("vue").DefineComponent<InputGroupLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupLabelProps> & Readonly<{}>, {
|
|
1294
|
+
shape: "default" | "round";
|
|
1295
|
+
size: "medium" | "large" | "small";
|
|
1296
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1297
|
+
declare const _default$21: __VLS_WithSlots$18<typeof __VLS_component$18, __VLS_Slots$18>;
|
|
1298
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
1299
|
+
new (): {
|
|
1300
|
+
$slots: S;
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
export type InputTagProps = {
|
|
1304
|
+
/**
|
|
1305
|
+
* @property {string[] | null} [modelValue]
|
|
1306
|
+
* @version 0.0.2
|
|
1307
|
+
*/
|
|
1308
|
+
modelValue?: string[] | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* @property {string[] | null} [defaultValue]
|
|
1311
|
+
* @version 0.0.2
|
|
1312
|
+
*/
|
|
1313
|
+
defaultValue?: string[] | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* @property {string | null} [inputValue]
|
|
1316
|
+
* @version 0.0.2
|
|
1317
|
+
*/
|
|
1318
|
+
inputValue?: string | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* @property {string | null} [defaultInputValue]
|
|
1321
|
+
* @version 0.0.2
|
|
1322
|
+
*/
|
|
1323
|
+
defaultInputValue?: string | null;
|
|
1324
|
+
/**
|
|
1325
|
+
* @property {string} [placeholder]
|
|
1326
|
+
* @version 0.0.2
|
|
1327
|
+
*/
|
|
1328
|
+
placeholder?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* @property {boolean} [disabled=false]
|
|
1331
|
+
* @version 0.0.2
|
|
1332
|
+
*/
|
|
1333
|
+
disabled?: boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* @property {boolean} [readonly=false]
|
|
1336
|
+
* @version 0.0.2
|
|
1337
|
+
*/
|
|
1338
|
+
readonly?: boolean;
|
|
1339
|
+
/**
|
|
1340
|
+
* @property {boolean} [clearable=false]
|
|
1341
|
+
* @version 0.0.2
|
|
1342
|
+
*/
|
|
1343
|
+
clearable?: boolean;
|
|
1344
|
+
/**
|
|
1345
|
+
* @property {boolean} [loading=false]
|
|
1346
|
+
* @version 0.0.2
|
|
1347
|
+
*/
|
|
1348
|
+
loading?: boolean;
|
|
1349
|
+
/**
|
|
1350
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
1351
|
+
* @version 0.0.2
|
|
1352
|
+
*/
|
|
1353
|
+
size?: "medium" | "large" | "small";
|
|
1354
|
+
/**
|
|
1355
|
+
* @property {'default' | 'round'} [shape='default']
|
|
1356
|
+
* @version 0.0.2
|
|
1357
|
+
*/
|
|
1358
|
+
shape?: "default" | "round";
|
|
1359
|
+
/**
|
|
1360
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
1361
|
+
* @version 0.0.2
|
|
1362
|
+
*/
|
|
1363
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
1364
|
+
/**
|
|
1365
|
+
* @property {number} [maxLength]
|
|
1366
|
+
* @version 0.0.2
|
|
1367
|
+
*/
|
|
1368
|
+
maxLength?: number;
|
|
1369
|
+
/**
|
|
1370
|
+
* @property {boolean} [collapseTags=false]
|
|
1371
|
+
* @version 0.0.2
|
|
1372
|
+
*/
|
|
1373
|
+
collapseTags?: boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* @property {number} [collapseTags]
|
|
1376
|
+
* @version 0.0.2
|
|
1377
|
+
*/
|
|
1378
|
+
maxDisplayTags?: number;
|
|
1379
|
+
/**
|
|
1380
|
+
* @property {boolean} [collapseTagsPopover=true]
|
|
1381
|
+
* @version 0.0.2
|
|
1382
|
+
*/
|
|
1383
|
+
collapseTagsPopover?: boolean;
|
|
1384
|
+
/**
|
|
1385
|
+
* @property {'primary' | 'sakura' | 'success' | 'warning' | 'danger' | 'info'} [tagTheme='info']
|
|
1386
|
+
* @version 0.0.2
|
|
1387
|
+
*/
|
|
1388
|
+
tagTheme?: TagProps["theme"];
|
|
1389
|
+
/**
|
|
1390
|
+
* @property {'primary' | 'plain' | 'outline'} [tagVariant='plain']
|
|
1391
|
+
* @version 0.0.2
|
|
1392
|
+
*/
|
|
1393
|
+
tagVariant?: TagProps["variant"];
|
|
1394
|
+
/**
|
|
1395
|
+
* @property {string} [tagColor]
|
|
1396
|
+
* @version 0.0.2
|
|
1397
|
+
*/
|
|
1398
|
+
tagColor?: TagProps["color"];
|
|
1399
|
+
/**
|
|
1400
|
+
* @property {'success' | 'warning' | 'error' | 'normal'} [status='normal']
|
|
1401
|
+
* @version 0.0.2
|
|
1402
|
+
*/
|
|
1403
|
+
status?: "success" | "warning" | "error" | "normal";
|
|
1404
|
+
/**
|
|
1405
|
+
* @property {boolean} [autofocus=false]
|
|
1406
|
+
* @version 0.0.2
|
|
1407
|
+
*/
|
|
1408
|
+
autofocus?: boolean;
|
|
1409
|
+
};
|
|
1410
|
+
declare var __VLS_1$16: {}, __VLS_10: {
|
|
1411
|
+
tag: string;
|
|
1412
|
+
index: number;
|
|
1413
|
+
}, __VLS_16: {
|
|
1414
|
+
tag: string;
|
|
1415
|
+
index: number;
|
|
1416
|
+
}, __VLS_26: {
|
|
1417
|
+
tag: string;
|
|
1418
|
+
index: number;
|
|
1419
|
+
}, __VLS_36: {
|
|
1420
|
+
tag: string;
|
|
1421
|
+
index: number;
|
|
1422
|
+
}, __VLS_51: {};
|
|
1423
|
+
type __VLS_Slots$19 = {} & {
|
|
1424
|
+
prefix?: (props: typeof __VLS_1$16) => any;
|
|
1425
|
+
} & {
|
|
1426
|
+
tag?: (props: typeof __VLS_10) => any;
|
|
1427
|
+
} & {
|
|
1428
|
+
tag?: (props: typeof __VLS_16) => any;
|
|
1429
|
+
} & {
|
|
1430
|
+
tag?: (props: typeof __VLS_26) => any;
|
|
1431
|
+
} & {
|
|
1432
|
+
tag?: (props: typeof __VLS_36) => any;
|
|
1433
|
+
} & {
|
|
1434
|
+
suffix?: (props: typeof __VLS_51) => any;
|
|
1435
|
+
};
|
|
1436
|
+
declare const __VLS_component$19: import("vue").DefineComponent<InputTagProps, {
|
|
1437
|
+
focus: () => void;
|
|
1438
|
+
blur: () => void;
|
|
1439
|
+
clear: () => Promise<void>;
|
|
1440
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1441
|
+
input: (value: string, e: Event) => any;
|
|
1442
|
+
change: (value: string[]) => any;
|
|
1443
|
+
clear: (value: string[]) => any;
|
|
1444
|
+
blur: (e: FocusEvent) => any;
|
|
1445
|
+
focus: (e: FocusEvent) => any;
|
|
1446
|
+
"update:modelValue": (value: string[]) => any;
|
|
1447
|
+
tagAdd: (value: string, e: KeyboardEvent) => any;
|
|
1448
|
+
tagClose: (value: string, index: number, e: MouseEvent) => any;
|
|
1449
|
+
"update:inputValue": (value: string) => any;
|
|
1450
|
+
inputChange: (value: string, e?: Event | undefined) => any;
|
|
1451
|
+
}, string, import("vue").PublicProps, Readonly<InputTagProps> & Readonly<{
|
|
1452
|
+
onInput?: ((value: string, e: Event) => any) | undefined;
|
|
1453
|
+
onChange?: ((value: string[]) => any) | undefined;
|
|
1454
|
+
onClear?: ((value: string[]) => any) | undefined;
|
|
1455
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
1456
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
1457
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1458
|
+
onTagAdd?: ((value: string, e: KeyboardEvent) => any) | undefined;
|
|
1459
|
+
onTagClose?: ((value: string, index: number, e: MouseEvent) => any) | undefined;
|
|
1460
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
1461
|
+
onInputChange?: ((value: string, e?: Event | undefined) => any) | undefined;
|
|
1462
|
+
}>, {
|
|
1463
|
+
shape: "default" | "round";
|
|
1464
|
+
size: "medium" | "large" | "small";
|
|
1465
|
+
disabled: boolean;
|
|
1466
|
+
loading: boolean;
|
|
1467
|
+
readonly: boolean;
|
|
1468
|
+
clearable: boolean;
|
|
1469
|
+
status: "success" | "warning" | "error" | "normal";
|
|
1470
|
+
collapseTags: boolean;
|
|
1471
|
+
collapseTagsPopover: boolean;
|
|
1472
|
+
tagTheme: "primary" | "sakura" | "success" | "warning" | "danger" | "info";
|
|
1473
|
+
tagVariant: "primary" | "plain" | "outline";
|
|
1474
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1475
|
+
declare const _default$22: __VLS_WithSlots$19<typeof __VLS_component$19, __VLS_Slots$19>;
|
|
1476
|
+
type __VLS_WithSlots$19<T, S> = T & {
|
|
1477
|
+
new (): {
|
|
1478
|
+
$slots: S;
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
export type TooltipProps = {
|
|
1482
|
+
/**
|
|
1483
|
+
* @property {string} [content]
|
|
1484
|
+
* @version 0.0.2
|
|
1485
|
+
*/
|
|
1486
|
+
content?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* @property {boolean | null} [visible]
|
|
1489
|
+
* @version 0.0.2
|
|
1490
|
+
*/
|
|
1491
|
+
visible?: boolean | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* @property {boolean | null} [defaultVisible]
|
|
1494
|
+
* @version 0.0.2
|
|
1495
|
+
*/
|
|
1496
|
+
defaultVisible?: boolean | null;
|
|
1497
|
+
/**
|
|
1498
|
+
* @property {'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'} [placement='top']
|
|
1499
|
+
* @version 0.0.2
|
|
1500
|
+
*/
|
|
1501
|
+
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1502
|
+
/**
|
|
1503
|
+
* @property {'hover' | 'click'} [trigger='hover']
|
|
1504
|
+
* @version 0.0.2
|
|
1505
|
+
*/
|
|
1506
|
+
trigger?: "hover" | "click";
|
|
1507
|
+
/**
|
|
1508
|
+
* @property {number} [offset=8]
|
|
1509
|
+
* @version 0.0.2
|
|
1510
|
+
*/
|
|
1511
|
+
offset?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* @property {'dark' | 'light'} [variant='dark']
|
|
1514
|
+
* @version 0.0.2
|
|
1515
|
+
*/
|
|
1516
|
+
variant?: "dark" | "light";
|
|
1517
|
+
/**
|
|
1518
|
+
* @property {boolean} [arrow=true]
|
|
1519
|
+
* @version 0.0.2
|
|
1520
|
+
*/
|
|
1521
|
+
arrow?: boolean;
|
|
1522
|
+
/**
|
|
1523
|
+
* @property {boolean} [disabled=false]
|
|
1524
|
+
* @version 0.0.2
|
|
1525
|
+
*/
|
|
1526
|
+
disabled?: boolean;
|
|
1527
|
+
/**
|
|
1528
|
+
* @property {number} [disabled]
|
|
1529
|
+
* @version 0.0.2
|
|
1530
|
+
*/
|
|
1531
|
+
zIndex?: number;
|
|
1532
|
+
/**
|
|
1533
|
+
* @property { HTMLElement | string} [root='body']
|
|
1534
|
+
* @version 0.0.2
|
|
1535
|
+
*/
|
|
1536
|
+
root?: HTMLElement | string;
|
|
1537
|
+
};
|
|
1538
|
+
declare const _default$23: import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1539
|
+
close: (e: MouseEvent) => any;
|
|
1540
|
+
open: (e: MouseEvent) => any;
|
|
1541
|
+
"update:visible": (value: boolean) => any;
|
|
1542
|
+
}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
1543
|
+
onClose?: ((e: MouseEvent) => any) | undefined;
|
|
1544
|
+
onOpen?: ((e: MouseEvent) => any) | undefined;
|
|
1545
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1546
|
+
}>, {
|
|
1547
|
+
variant: "dark" | "light";
|
|
1548
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1549
|
+
root: HTMLElement | string;
|
|
1550
|
+
offset: number;
|
|
1551
|
+
visible: boolean | null;
|
|
1552
|
+
defaultVisible: boolean | null;
|
|
1553
|
+
arrow: boolean;
|
|
1554
|
+
trigger: "hover" | "click";
|
|
1555
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1556
|
+
export type PopoverProps = {
|
|
1557
|
+
/**
|
|
1558
|
+
* @property {string} [content]
|
|
1559
|
+
* @version 0.0.2
|
|
1560
|
+
*/
|
|
1561
|
+
content?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* @property {boolean | null} [visible]
|
|
1564
|
+
* @version 0.0.2
|
|
1565
|
+
*/
|
|
1566
|
+
visible?: boolean | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* @property {boolean | null} [defaultVisible]
|
|
1569
|
+
* @version 0.0.2
|
|
1570
|
+
*/
|
|
1571
|
+
defaultVisible?: boolean | null;
|
|
1572
|
+
/**
|
|
1573
|
+
* @property {'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'} [placement='top']
|
|
1574
|
+
* @version 0.0.2
|
|
1575
|
+
*/
|
|
1576
|
+
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1577
|
+
/**
|
|
1578
|
+
* @property {'hover' | 'click'} [trigger='hover']
|
|
1579
|
+
* @version 0.0.2
|
|
1580
|
+
*/
|
|
1581
|
+
trigger?: "hover" | "click";
|
|
1582
|
+
/**
|
|
1583
|
+
* @property {number} [offset=8]
|
|
1584
|
+
* @version 0.0.2
|
|
1585
|
+
*/
|
|
1586
|
+
offset?: number;
|
|
1587
|
+
/**
|
|
1588
|
+
* @property {'dark' | 'light'} [variant='light']
|
|
1589
|
+
* @version 0.0.2
|
|
1590
|
+
*/
|
|
1591
|
+
variant?: "dark" | "light";
|
|
1592
|
+
/**
|
|
1593
|
+
* @property {boolean} [arrow=true]
|
|
1594
|
+
* @version 0.0.2
|
|
1595
|
+
*/
|
|
1596
|
+
arrow?: boolean;
|
|
1597
|
+
/**
|
|
1598
|
+
* @property {boolean} [disabled=false]
|
|
1599
|
+
* @version 0.0.2
|
|
1600
|
+
*/
|
|
1601
|
+
disabled?: boolean;
|
|
1602
|
+
/**
|
|
1603
|
+
* @property {number} [disabled]
|
|
1604
|
+
* @version 0.0.2
|
|
1605
|
+
*/
|
|
1606
|
+
zIndex?: number;
|
|
1607
|
+
/**
|
|
1608
|
+
* @property { HTMLElement | string} [root='body']
|
|
1609
|
+
* @version 0.0.2
|
|
1610
|
+
*/
|
|
1611
|
+
root?: HTMLElement | string;
|
|
1612
|
+
/**
|
|
1613
|
+
* @property {boolean} [widthEqual=false]
|
|
1614
|
+
* @version 0.0.2
|
|
1615
|
+
*/
|
|
1616
|
+
widthEqual?: boolean;
|
|
1617
|
+
/**
|
|
1618
|
+
* @property {CSSProperties} [contentStyle]
|
|
1619
|
+
* @version 0.0.2
|
|
1620
|
+
*/
|
|
1621
|
+
contentStyle?: CSSProperties;
|
|
1622
|
+
};
|
|
1623
|
+
export type PopupContentProps = {
|
|
1624
|
+
content?: string;
|
|
1625
|
+
visible?: boolean | null;
|
|
1626
|
+
defaultVisible?: boolean | null;
|
|
1627
|
+
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1628
|
+
offset?: number;
|
|
1629
|
+
variant?: "dark" | "light";
|
|
1630
|
+
arrow?: boolean;
|
|
1631
|
+
zIndex?: number;
|
|
1632
|
+
target?: HTMLElement | VNode | null;
|
|
1633
|
+
root?: HTMLElement | string;
|
|
1634
|
+
borderRadius?: number;
|
|
1635
|
+
widthEqual?: boolean;
|
|
1636
|
+
contentStyle?: CSSProperties;
|
|
1637
|
+
};
|
|
1638
|
+
declare const _default$24: import("vue").DefineComponent<PopoverProps, {
|
|
1639
|
+
triggerContent: import("vue").ShallowRef<({
|
|
1640
|
+
$: import("vue").ComponentInternalInstance;
|
|
1641
|
+
$data: {};
|
|
1642
|
+
$props: {
|
|
1643
|
+
readonly content?: string | undefined;
|
|
1644
|
+
readonly visible?: boolean | null | undefined;
|
|
1645
|
+
readonly defaultVisible?: boolean | null | undefined;
|
|
1646
|
+
readonly placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | undefined;
|
|
1647
|
+
readonly offset?: number | undefined;
|
|
1648
|
+
readonly variant?: "dark" | "light" | undefined;
|
|
1649
|
+
readonly arrow?: boolean | undefined;
|
|
1650
|
+
readonly zIndex?: number | undefined;
|
|
1651
|
+
readonly target?: (HTMLElement | VNode | null) | undefined;
|
|
1652
|
+
readonly root?: (HTMLElement | string) | undefined;
|
|
1653
|
+
readonly borderRadius?: number | undefined;
|
|
1654
|
+
readonly widthEqual?: boolean | undefined;
|
|
1655
|
+
readonly contentStyle?: import("vue").CSSProperties | undefined;
|
|
1656
|
+
readonly onContentMouseenter?: ((e: MouseEvent) => any) | undefined;
|
|
1657
|
+
readonly onContentMouseleave?: ((e: MouseEvent) => any) | undefined;
|
|
1658
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
1659
|
+
$attrs: {
|
|
1660
|
+
[x: string]: unknown;
|
|
1661
|
+
};
|
|
1662
|
+
$refs: {
|
|
1663
|
+
[x: string]: unknown;
|
|
1664
|
+
};
|
|
1665
|
+
$slots: Readonly<{
|
|
1666
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
1667
|
+
}>;
|
|
1668
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
1669
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
1670
|
+
$host: Element | null;
|
|
1671
|
+
$emit: ((event: "contentMouseenter", e: MouseEvent) => void) & ((event: "contentMouseleave", e: MouseEvent) => void);
|
|
1672
|
+
$el: any;
|
|
1673
|
+
$options: import("vue").ComponentOptionsBase<Readonly<PopupContentProps> & Readonly<{
|
|
1674
|
+
onContentMouseenter?: ((e: MouseEvent) => any) | undefined;
|
|
1675
|
+
onContentMouseleave?: ((e: MouseEvent) => any) | undefined;
|
|
1676
|
+
}>, {
|
|
1677
|
+
updateRenderState: () => void;
|
|
1678
|
+
content: import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>;
|
|
1679
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1680
|
+
contentMouseenter: (e: MouseEvent) => any;
|
|
1681
|
+
contentMouseleave: (e: MouseEvent) => any;
|
|
1682
|
+
}, string, {
|
|
1683
|
+
variant: "dark" | "light";
|
|
1684
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1685
|
+
root: HTMLElement | string;
|
|
1686
|
+
offset: number;
|
|
1687
|
+
visible: boolean | null;
|
|
1688
|
+
arrow: boolean;
|
|
1689
|
+
widthEqual: boolean;
|
|
1690
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
1691
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1692
|
+
created?: (() => void) | (() => void)[];
|
|
1693
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1694
|
+
mounted?: (() => void) | (() => void)[];
|
|
1695
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1696
|
+
updated?: (() => void) | (() => void)[];
|
|
1697
|
+
activated?: (() => void) | (() => void)[];
|
|
1698
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1699
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1700
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1701
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1702
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1703
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1704
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1705
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1706
|
+
};
|
|
1707
|
+
$forceUpdate: () => void;
|
|
1708
|
+
$nextTick: typeof nextTick;
|
|
1709
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
1710
|
+
R,
|
|
1711
|
+
R,
|
|
1712
|
+
((cleanupFn: () => void) => void)
|
|
1713
|
+
]) => any : (...args: [
|
|
1714
|
+
any,
|
|
1715
|
+
any,
|
|
1716
|
+
((cleanupFn: () => void) => void)
|
|
1717
|
+
]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
1718
|
+
} & Readonly<{
|
|
1719
|
+
variant: "dark" | "light";
|
|
1720
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1721
|
+
root: HTMLElement | string;
|
|
1722
|
+
offset: number;
|
|
1723
|
+
visible: boolean | null;
|
|
1724
|
+
arrow: boolean;
|
|
1725
|
+
widthEqual: boolean;
|
|
1726
|
+
}> & Omit<Readonly<PopupContentProps> & Readonly<{
|
|
1727
|
+
onContentMouseenter?: ((e: MouseEvent) => any) | undefined;
|
|
1728
|
+
onContentMouseleave?: ((e: MouseEvent) => any) | undefined;
|
|
1729
|
+
}>, "content" | ("variant" | "placement" | "root" | "offset" | "visible" | "arrow" | "widthEqual") | "updateRenderState"> & import("vue").ShallowUnwrapRef<{
|
|
1730
|
+
updateRenderState: () => void;
|
|
1731
|
+
content: import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>;
|
|
1732
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
1733
|
+
$slots: {
|
|
1734
|
+
content?: (props: {}) => any;
|
|
1735
|
+
};
|
|
1736
|
+
}) | undefined, ({
|
|
1737
|
+
$: import("vue").ComponentInternalInstance;
|
|
1738
|
+
$data: {};
|
|
1739
|
+
$props: {
|
|
1740
|
+
readonly content?: string | undefined;
|
|
1741
|
+
readonly visible?: boolean | null | undefined;
|
|
1742
|
+
readonly defaultVisible?: boolean | null | undefined;
|
|
1743
|
+
readonly placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | undefined;
|
|
1744
|
+
readonly offset?: number | undefined;
|
|
1745
|
+
readonly variant?: "dark" | "light" | undefined;
|
|
1746
|
+
readonly arrow?: boolean | undefined;
|
|
1747
|
+
readonly zIndex?: number | undefined;
|
|
1748
|
+
readonly target?: (HTMLElement | VNode | null) | undefined;
|
|
1749
|
+
readonly root?: (HTMLElement | string) | undefined;
|
|
1750
|
+
readonly borderRadius?: number | undefined;
|
|
1751
|
+
readonly widthEqual?: boolean | undefined;
|
|
1752
|
+
readonly contentStyle?: import("vue").CSSProperties | undefined;
|
|
1753
|
+
readonly onContentMouseenter?: ((e: MouseEvent) => any) | undefined;
|
|
1754
|
+
readonly onContentMouseleave?: ((e: MouseEvent) => any) | undefined;
|
|
1755
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
1756
|
+
$attrs: {
|
|
1757
|
+
[x: string]: unknown;
|
|
1758
|
+
};
|
|
1759
|
+
$refs: {
|
|
1760
|
+
[x: string]: unknown;
|
|
1761
|
+
};
|
|
1762
|
+
$slots: Readonly<{
|
|
1763
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
1764
|
+
}>;
|
|
1765
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
1766
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
1767
|
+
$host: Element | null;
|
|
1768
|
+
$emit: ((event: "contentMouseenter", e: MouseEvent) => void) & ((event: "contentMouseleave", e: MouseEvent) => void);
|
|
1769
|
+
$el: any;
|
|
1770
|
+
$options: import("vue").ComponentOptionsBase<Readonly<PopupContentProps> & Readonly<{
|
|
1771
|
+
onContentMouseenter?: ((e: MouseEvent) => any) | undefined;
|
|
1772
|
+
onContentMouseleave?: ((e: MouseEvent) => any) | undefined;
|
|
1773
|
+
}>, {
|
|
1774
|
+
updateRenderState: () => void;
|
|
1775
|
+
content: import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>;
|
|
1776
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1777
|
+
contentMouseenter: (e: MouseEvent) => any;
|
|
1778
|
+
contentMouseleave: (e: MouseEvent) => any;
|
|
1779
|
+
}, string, {
|
|
1780
|
+
variant: "dark" | "light";
|
|
1781
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1782
|
+
root: HTMLElement | string;
|
|
1783
|
+
offset: number;
|
|
1784
|
+
visible: boolean | null;
|
|
1785
|
+
arrow: boolean;
|
|
1786
|
+
widthEqual: boolean;
|
|
1787
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
1788
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1789
|
+
created?: (() => void) | (() => void)[];
|
|
1790
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1791
|
+
mounted?: (() => void) | (() => void)[];
|
|
1792
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1793
|
+
updated?: (() => void) | (() => void)[];
|
|
1794
|
+
activated?: (() => void) | (() => void)[];
|
|
1795
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1796
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1797
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1798
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1799
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1800
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1801
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1802
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1803
|
+
};
|
|
1804
|
+
$forceUpdate: () => void;
|
|
1805
|
+
$nextTick: typeof nextTick;
|
|
1806
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
1807
|
+
R,
|
|
1808
|
+
R,
|
|
1809
|
+
((cleanupFn: () => void) => void)
|
|
1810
|
+
]) => any : (...args: [
|
|
1811
|
+
any,
|
|
1812
|
+
any,
|
|
1813
|
+
((cleanupFn: () => void) => void)
|
|
1814
|
+
]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
1815
|
+
} & Readonly<{
|
|
1816
|
+
variant: "dark" | "light";
|
|
1817
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1818
|
+
root: HTMLElement | string;
|
|
1819
|
+
offset: number;
|
|
1820
|
+
visible: boolean | null;
|
|
1821
|
+
arrow: boolean;
|
|
1822
|
+
widthEqual: boolean;
|
|
1823
|
+
}> & Omit<Readonly<PopupContentProps> & Readonly<{
|
|
1824
|
+
onContentMouseenter?: ((e: MouseEvent) => any) | undefined;
|
|
1825
|
+
onContentMouseleave?: ((e: MouseEvent) => any) | undefined;
|
|
1826
|
+
}>, "content" | ("variant" | "placement" | "root" | "offset" | "visible" | "arrow" | "widthEqual") | "updateRenderState"> & import("vue").ShallowUnwrapRef<{
|
|
1827
|
+
updateRenderState: () => void;
|
|
1828
|
+
content: import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>;
|
|
1829
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
1830
|
+
$slots: {
|
|
1831
|
+
content?: (props: {}) => any;
|
|
1832
|
+
};
|
|
1833
|
+
}) | undefined>;
|
|
1834
|
+
updateRenderState: () => void;
|
|
1835
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1836
|
+
close: (e: MouseEvent) => any;
|
|
1837
|
+
open: (e: MouseEvent) => any;
|
|
1838
|
+
"update:visible": (value: boolean) => any;
|
|
1839
|
+
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
1840
|
+
onClose?: ((e: MouseEvent) => any) | undefined;
|
|
1841
|
+
onOpen?: ((e: MouseEvent) => any) | undefined;
|
|
1842
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1843
|
+
}>, {
|
|
1844
|
+
variant: "dark" | "light";
|
|
1845
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1846
|
+
root: HTMLElement | string;
|
|
1847
|
+
offset: number;
|
|
1848
|
+
visible: boolean | null;
|
|
1849
|
+
defaultVisible: boolean | null;
|
|
1850
|
+
arrow: boolean;
|
|
1851
|
+
widthEqual: boolean;
|
|
1852
|
+
trigger: "hover" | "click";
|
|
1853
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1854
|
+
export type EmptyProps = {
|
|
1855
|
+
/**
|
|
1856
|
+
* @property {string} [description='No Data']
|
|
1857
|
+
* @version 0.0.2
|
|
1858
|
+
*/
|
|
1859
|
+
description?: string;
|
|
1860
|
+
};
|
|
1861
|
+
declare var __VLS_1$17: {}, __VLS_8$2: {};
|
|
1862
|
+
type __VLS_Slots$20 = {} & {
|
|
1863
|
+
image?: (props: typeof __VLS_1$17) => any;
|
|
1864
|
+
} & {
|
|
1865
|
+
description?: (props: typeof __VLS_8$2) => any;
|
|
1866
|
+
};
|
|
1867
|
+
declare const __VLS_component$20: import("vue").DefineComponent<EmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
|
|
1868
|
+
description: string;
|
|
1869
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1870
|
+
declare const _default$25: __VLS_WithSlots$20<typeof __VLS_component$20, __VLS_Slots$20>;
|
|
1871
|
+
type __VLS_WithSlots$20<T, S> = T & {
|
|
1872
|
+
new (): {
|
|
1873
|
+
$slots: S;
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
export interface AutoCompleteOption extends Option$1<string> {
|
|
1877
|
+
value: string;
|
|
1878
|
+
disabled?: boolean;
|
|
1879
|
+
}
|
|
1880
|
+
export interface AutoCompleteGroupOption extends GroupOption {
|
|
1881
|
+
label: string;
|
|
1882
|
+
key: string | number | symbol;
|
|
1883
|
+
children: (AutoCompleteOption | string)[];
|
|
1884
|
+
}
|
|
1885
|
+
export type AutoCompleteProps = {
|
|
1886
|
+
/**
|
|
1887
|
+
* @property {string | null} [modelValue]
|
|
1888
|
+
* @version 0.0.2
|
|
1889
|
+
*/
|
|
1890
|
+
modelValue?: string | null;
|
|
1891
|
+
/**
|
|
1892
|
+
* @property {string | null} [defaultValue]
|
|
1893
|
+
* @version 0.0.2
|
|
1894
|
+
*/
|
|
1895
|
+
defaultValue?: string | null;
|
|
1896
|
+
/**
|
|
1897
|
+
* @property {string} [options]
|
|
1898
|
+
* @version 0.0.2
|
|
1899
|
+
*/
|
|
1900
|
+
options?: (string | AutoCompleteOption | AutoCompleteGroupOption)[];
|
|
1901
|
+
/**
|
|
1902
|
+
* @property {string} [placeholder]
|
|
1903
|
+
* @version 0.0.2
|
|
1904
|
+
*/
|
|
1905
|
+
placeholder?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* @property {boolean} [disabled=false]
|
|
1908
|
+
* @version 0.0.2
|
|
1909
|
+
*/
|
|
1910
|
+
disabled?: boolean;
|
|
1911
|
+
/**
|
|
1912
|
+
* @property {boolean} [readonly=false]
|
|
1913
|
+
* @version 0.0.2
|
|
1914
|
+
*/
|
|
1915
|
+
readonly?: boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* @property {boolean} [clearable=false]
|
|
1918
|
+
* @version 0.0.2
|
|
1919
|
+
*/
|
|
1920
|
+
clearable?: boolean;
|
|
1921
|
+
/**
|
|
1922
|
+
* @property {boolean} [loading=false]
|
|
1923
|
+
* @version 0.0.2
|
|
1924
|
+
*/
|
|
1925
|
+
loading?: boolean;
|
|
1926
|
+
/**
|
|
1927
|
+
* @property {boolean} [showPopoverEmpty=false]
|
|
1928
|
+
* @version 0.0.2
|
|
1929
|
+
*/
|
|
1930
|
+
showPopoverEmpty?: boolean;
|
|
1931
|
+
/**
|
|
1932
|
+
* @property {(value: string, optionsFiltered: (string | AutoCompleteOption | AutoCompleteGroupOption)[]) => boolean} [shouldShowPopover]
|
|
1933
|
+
* @version 0.0.2
|
|
1934
|
+
*/
|
|
1935
|
+
shouldShowPopover?: (value: string, optionsFiltered: (string | AutoCompleteOption | AutoCompleteGroupOption)[]) => boolean;
|
|
1936
|
+
/**
|
|
1937
|
+
* @property {(keyword: string, options: (string | AutoCompleteOption | AutoCompleteGroupOption)[]) => (string | AutoCompleteOption | AutoCompleteGroupOption)[]} [filter]
|
|
1938
|
+
* @version 0.0.2
|
|
1939
|
+
*/
|
|
1940
|
+
filter?: (keyword: string, options: (string | AutoCompleteOption | AutoCompleteGroupOption)[]) => (string | AutoCompleteOption | AutoCompleteGroupOption)[];
|
|
1941
|
+
/**
|
|
1942
|
+
* @property {boolean} [append=false]
|
|
1943
|
+
* @version 0.0.2
|
|
1944
|
+
*/
|
|
1945
|
+
append?: boolean;
|
|
1946
|
+
/**
|
|
1947
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
1948
|
+
* @version 0.0.2
|
|
1949
|
+
*/
|
|
1950
|
+
size?: "medium" | "large" | "small";
|
|
1951
|
+
/**
|
|
1952
|
+
* @property {'default' | 'round'} [shape='default']
|
|
1953
|
+
* @version 0.0.2
|
|
1954
|
+
*/
|
|
1955
|
+
shape?: "default" | "round";
|
|
1956
|
+
/**
|
|
1957
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
1958
|
+
* @version 0.0.2
|
|
1959
|
+
*/
|
|
1960
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
1961
|
+
/**
|
|
1962
|
+
* @property {'success' | 'warning' | 'error' | 'normal'} [status='normal']
|
|
1963
|
+
* @version 0.0.2
|
|
1964
|
+
*/
|
|
1965
|
+
status?: "success" | "warning" | "error" | "normal";
|
|
1966
|
+
/**
|
|
1967
|
+
* @property {boolean} [autofocus=false]
|
|
1968
|
+
* @version 0.0.2
|
|
1969
|
+
*/
|
|
1970
|
+
autofocus?: boolean;
|
|
1971
|
+
};
|
|
1972
|
+
declare const _default$26: import("vue").DefineComponent<AutoCompleteProps, {
|
|
1973
|
+
focus: () => void;
|
|
1974
|
+
blur: () => void;
|
|
1975
|
+
clear: () => Promise<void>;
|
|
1976
|
+
select: () => void;
|
|
1977
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1978
|
+
input: (value: string, e: Event) => any;
|
|
1979
|
+
select: (value: string, option: string | AutoCompleteOption, e: MouseEvent) => any;
|
|
1980
|
+
change: (value: string, e?: Event | undefined) => any;
|
|
1981
|
+
clear: (value: string) => any;
|
|
1982
|
+
blur: (e: FocusEvent) => any;
|
|
1983
|
+
focus: (e: FocusEvent) => any;
|
|
1984
|
+
"update:modelValue": (value: string) => any;
|
|
1985
|
+
}, string, import("vue").PublicProps, Readonly<AutoCompleteProps> & Readonly<{
|
|
1986
|
+
onInput?: ((value: string, e: Event) => any) | undefined;
|
|
1987
|
+
onSelect?: ((value: string, option: string | AutoCompleteOption, e: MouseEvent) => any) | undefined;
|
|
1988
|
+
onChange?: ((value: string, e?: Event | undefined) => any) | undefined;
|
|
1989
|
+
onClear?: ((value: string) => any) | undefined;
|
|
1990
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
1991
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
1992
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1993
|
+
}>, {
|
|
1994
|
+
shape: "default" | "round";
|
|
1995
|
+
size: "medium" | "large" | "small";
|
|
1996
|
+
disabled: boolean;
|
|
1997
|
+
loading: boolean;
|
|
1998
|
+
readonly: boolean;
|
|
1999
|
+
clearable: boolean;
|
|
2000
|
+
status: "success" | "warning" | "error" | "normal";
|
|
2001
|
+
options: (string | AutoCompleteOption | AutoCompleteGroupOption)[];
|
|
2002
|
+
showPopoverEmpty: boolean;
|
|
2003
|
+
append: boolean;
|
|
2004
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2005
|
+
export type MaskProps = {
|
|
2006
|
+
/**
|
|
2007
|
+
* @property {string} [color]
|
|
2008
|
+
* @version 0.0.2
|
|
2009
|
+
*/
|
|
2010
|
+
color?: string;
|
|
2011
|
+
/**
|
|
2012
|
+
* @property {number} [step=1]
|
|
2013
|
+
* @version 0.0.2
|
|
2014
|
+
*/
|
|
2015
|
+
step?: number;
|
|
2016
|
+
/**
|
|
2017
|
+
* @property {number} [lineWidth=2]
|
|
2018
|
+
* @version 0.0.2
|
|
2019
|
+
*/
|
|
2020
|
+
lineWidth?: number;
|
|
2021
|
+
/**
|
|
2022
|
+
* @property {boolean} [grid=true]
|
|
2023
|
+
* @version 0.0.2
|
|
2024
|
+
*/
|
|
2025
|
+
grid?: boolean;
|
|
2026
|
+
/**
|
|
2027
|
+
* @property {number} [zIndex=20]
|
|
2028
|
+
* @version 0.0.2
|
|
2029
|
+
*/
|
|
2030
|
+
zIndex?: number;
|
|
2031
|
+
};
|
|
2032
|
+
declare const _default$27: import("vue").DefineComponent<MaskProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaskProps> & Readonly<{}>, {
|
|
2033
|
+
zIndex: number;
|
|
2034
|
+
step: number;
|
|
2035
|
+
grid: boolean;
|
|
2036
|
+
lineWidth: number;
|
|
2037
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2038
|
+
export type SpinProps = {
|
|
2039
|
+
/**
|
|
2040
|
+
* @property {boolean} [loading]
|
|
2041
|
+
* @version 0.0.2
|
|
2042
|
+
*/
|
|
2043
|
+
loading?: boolean;
|
|
2044
|
+
/**
|
|
2045
|
+
* @property {'medium' | 'large' | 'small' | number} [size='medium']
|
|
2046
|
+
* @version 0.0.2
|
|
2047
|
+
*/
|
|
2048
|
+
size?: "medium" | "large" | "small" | number;
|
|
2049
|
+
/**
|
|
2050
|
+
* @property {string} [maskColor]
|
|
2051
|
+
* @version 0.0.2
|
|
2052
|
+
*/
|
|
2053
|
+
maskColor?: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* @property {number} [maskStep=1]
|
|
2056
|
+
* @version 0.0.2
|
|
2057
|
+
*/
|
|
2058
|
+
maskStep?: number;
|
|
2059
|
+
/**
|
|
2060
|
+
* @property {number} [maskLineWidth=2]
|
|
2061
|
+
* @version 0.0.2
|
|
2062
|
+
*/
|
|
2063
|
+
maskLineWidth?: number;
|
|
2064
|
+
/**
|
|
2065
|
+
* @property {boolean} [maskGrid=true]
|
|
2066
|
+
* @version 0.0.2
|
|
2067
|
+
*/
|
|
2068
|
+
maskGrid?: boolean;
|
|
2069
|
+
/**
|
|
2070
|
+
* @property {number} [zIndex=20]
|
|
2071
|
+
* @version 0.0.2
|
|
2072
|
+
*/
|
|
2073
|
+
zIndex?: number;
|
|
2074
|
+
};
|
|
2075
|
+
declare var __VLS_1$18: {}, __VLS_7: {}, __VLS_14: {};
|
|
2076
|
+
type __VLS_Slots$21 = {} & {
|
|
2077
|
+
default?: (props: typeof __VLS_1$18) => any;
|
|
2078
|
+
} & {
|
|
2079
|
+
icon?: (props: typeof __VLS_7) => any;
|
|
2080
|
+
} & {
|
|
2081
|
+
description?: (props: typeof __VLS_14) => any;
|
|
2082
|
+
};
|
|
2083
|
+
declare const __VLS_component$21: import("vue").DefineComponent<SpinProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SpinProps> & Readonly<{}>, {
|
|
2084
|
+
size: "medium" | "large" | "small" | number;
|
|
2085
|
+
loading: boolean;
|
|
2086
|
+
zIndex: number;
|
|
2087
|
+
maskStep: number;
|
|
2088
|
+
maskLineWidth: number;
|
|
2089
|
+
maskGrid: boolean;
|
|
2090
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2091
|
+
declare const _default$28: __VLS_WithSlots$21<typeof __VLS_component$21, __VLS_Slots$21>;
|
|
2092
|
+
type __VLS_WithSlots$21<T, S> = T & {
|
|
2093
|
+
new (): {
|
|
2094
|
+
$slots: S;
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
export interface SelectOption extends Option$1<string> {
|
|
2098
|
+
value: any;
|
|
2099
|
+
disabled?: boolean;
|
|
2100
|
+
}
|
|
2101
|
+
export interface SelectGroupOption extends GroupOption {
|
|
2102
|
+
label: string;
|
|
2103
|
+
key: string | number | symbol;
|
|
2104
|
+
children: (SelectOption | string)[];
|
|
2105
|
+
}
|
|
2106
|
+
export type SelectProps = {
|
|
2107
|
+
/**
|
|
2108
|
+
* @property {any} [modelValue]
|
|
2109
|
+
* @version 0.0.2
|
|
2110
|
+
*/
|
|
2111
|
+
modelValue?: any;
|
|
2112
|
+
/**
|
|
2113
|
+
* @property {any} [defaultValue]
|
|
2114
|
+
* @version 0.0.2
|
|
2115
|
+
*/
|
|
2116
|
+
defaultValue?: any;
|
|
2117
|
+
/**
|
|
2118
|
+
* @property {string} [options]
|
|
2119
|
+
* @version 0.0.2
|
|
2120
|
+
*/
|
|
2121
|
+
options?: (string | SelectOption | SelectGroupOption)[];
|
|
2122
|
+
/**
|
|
2123
|
+
* @property {string} [placeholder]
|
|
2124
|
+
* @version 0.0.2
|
|
2125
|
+
*/
|
|
2126
|
+
placeholder?: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* @property {boolean} [disabled=false]
|
|
2129
|
+
* @version 0.0.2
|
|
2130
|
+
*/
|
|
2131
|
+
disabled?: boolean;
|
|
2132
|
+
/**
|
|
2133
|
+
* @property {boolean} [readonly=false]
|
|
2134
|
+
* @version 0.0.2
|
|
2135
|
+
*/
|
|
2136
|
+
readonly?: boolean;
|
|
2137
|
+
/**
|
|
2138
|
+
* @property {boolean} [clearable=false]
|
|
2139
|
+
* @version 0.0.2
|
|
2140
|
+
*/
|
|
2141
|
+
clearable?: boolean;
|
|
2142
|
+
/**
|
|
2143
|
+
* @property {boolean} [multiple=false]
|
|
2144
|
+
* @version 0.0.2
|
|
2145
|
+
*/
|
|
2146
|
+
multiple?: boolean;
|
|
2147
|
+
/**
|
|
2148
|
+
* @property {boolean} [loading=false]
|
|
2149
|
+
* @version 0.0.2
|
|
2150
|
+
*/
|
|
2151
|
+
loading?: boolean;
|
|
2152
|
+
/**
|
|
2153
|
+
* @property {string | null} [inputValue]
|
|
2154
|
+
* @version 0.0.2
|
|
2155
|
+
*/
|
|
2156
|
+
inputValue?: string | null;
|
|
2157
|
+
/**
|
|
2158
|
+
* @property {string | null} [defaultInputValue]
|
|
2159
|
+
* @version 0.0.2
|
|
2160
|
+
*/
|
|
2161
|
+
defaultInputValue?: string | null;
|
|
2162
|
+
/**
|
|
2163
|
+
* @property {boolean} [filterable=false]
|
|
2164
|
+
* @version 0.0.2
|
|
2165
|
+
*/
|
|
2166
|
+
filterable?: boolean;
|
|
2167
|
+
/**
|
|
2168
|
+
* @property {(value: string, optionsFiltered: (string | SelectOption | SelectGroupOption)[]) => boolean} [shouldShowPopover]
|
|
2169
|
+
* @version 0.0.2
|
|
2170
|
+
*/
|
|
2171
|
+
shouldShowPopover?: (value: string, optionsFiltered: (string | SelectOption | SelectGroupOption)[]) => boolean;
|
|
2172
|
+
/**
|
|
2173
|
+
* @property {(keyword: string, options: (string | SelectOption | SelectGroupOption)[]) => (string | SelectOption | SelectGroupOption)[]} [filter]
|
|
2174
|
+
* @version 0.0.2
|
|
2175
|
+
*/
|
|
2176
|
+
filter?: (keyword: string, options: (string | SelectOption | SelectGroupOption)[]) => (string | SelectOption | SelectGroupOption)[];
|
|
2177
|
+
/**
|
|
2178
|
+
* @property {boolean} [creatable=false]
|
|
2179
|
+
* @version 0.0.2
|
|
2180
|
+
*/
|
|
2181
|
+
creatable?: boolean;
|
|
2182
|
+
/**
|
|
2183
|
+
* @property {boolean} [collapseTags=false]
|
|
2184
|
+
* @version 0.0.2
|
|
2185
|
+
*/
|
|
2186
|
+
collapseTags?: boolean;
|
|
2187
|
+
/**
|
|
2188
|
+
* @property {number} [collapseTags]
|
|
2189
|
+
* @version 0.0.2
|
|
2190
|
+
*/
|
|
2191
|
+
maxDisplayTags?: number;
|
|
2192
|
+
/**
|
|
2193
|
+
* @property {boolean} [collapseTagsPopover=true]
|
|
2194
|
+
* @version 0.0.2
|
|
2195
|
+
*/
|
|
2196
|
+
collapseTagsPopover?: boolean;
|
|
2197
|
+
/**
|
|
2198
|
+
* @property {'primary' | 'sakura' | 'success' | 'warning' | 'danger' | 'info'} [tagTheme='info']
|
|
2199
|
+
* @version 0.0.2
|
|
2200
|
+
*/
|
|
2201
|
+
tagTheme?: TagProps["theme"];
|
|
2202
|
+
/**
|
|
2203
|
+
* @property {'primary' | 'plain' | 'outline'} [tagVariant='plain']
|
|
2204
|
+
* @version 0.0.2
|
|
2205
|
+
*/
|
|
2206
|
+
tagVariant?: TagProps["variant"];
|
|
2207
|
+
/**
|
|
2208
|
+
* @property {string} [tagColor]
|
|
2209
|
+
* @version 0.0.2
|
|
2210
|
+
*/
|
|
2211
|
+
tagColor?: TagProps["color"];
|
|
2212
|
+
/**
|
|
2213
|
+
* @property {'medium' | 'large' | 'small'} [size='medium']
|
|
2214
|
+
* @version 0.0.2
|
|
2215
|
+
*/
|
|
2216
|
+
size?: "medium" | "large" | "small";
|
|
2217
|
+
/**
|
|
2218
|
+
* @property {'default' | 'round'} [shape='default']
|
|
2219
|
+
* @version 0.0.2
|
|
2220
|
+
*/
|
|
2221
|
+
shape?: "default" | "round";
|
|
2222
|
+
/**
|
|
2223
|
+
* @property {NumberOrPercentage | NumberOrPercentage[]} [borderRadius]
|
|
2224
|
+
* @version 0.0.2
|
|
2225
|
+
*/
|
|
2226
|
+
borderRadius?: NumberOrPercentage | NumberOrPercentage[];
|
|
2227
|
+
/**
|
|
2228
|
+
* @property {'success' | 'warning' | 'error' | 'normal'} [status='normal']
|
|
2229
|
+
* @version 0.0.2
|
|
2230
|
+
*/
|
|
2231
|
+
status?: "success" | "warning" | "error" | "normal";
|
|
2232
|
+
};
|
|
2233
|
+
declare const _default$29: import("vue").DefineComponent<SelectProps, {
|
|
2234
|
+
focus: () => void;
|
|
2235
|
+
blur: () => Promise<void>;
|
|
2236
|
+
clear: () => Promise<void>;
|
|
2237
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2238
|
+
input: (value: string, e: Event) => any;
|
|
2239
|
+
select: (value: any, option: string | SelectOption, e: MouseEvent) => any;
|
|
2240
|
+
change: (value: any) => any;
|
|
2241
|
+
clear: (value: any) => any;
|
|
2242
|
+
blur: () => any;
|
|
2243
|
+
focus: () => any;
|
|
2244
|
+
"update:modelValue": (value: any) => any;
|
|
2245
|
+
tagClose: (value: any, e: MouseEvent) => any;
|
|
2246
|
+
"update:inputValue": (value: string) => any;
|
|
2247
|
+
inputChange: (value: string, e?: Event | undefined) => any;
|
|
2248
|
+
}, string, import("vue").PublicProps, Readonly<SelectProps> & Readonly<{
|
|
2249
|
+
onInput?: ((value: string, e: Event) => any) | undefined;
|
|
2250
|
+
onSelect?: ((value: any, option: string | SelectOption, e: MouseEvent) => any) | undefined;
|
|
2251
|
+
onChange?: ((value: any) => any) | undefined;
|
|
2252
|
+
onClear?: ((value: any) => any) | undefined;
|
|
2253
|
+
onBlur?: (() => any) | undefined;
|
|
2254
|
+
onFocus?: (() => any) | undefined;
|
|
2255
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
2256
|
+
onTagClose?: ((value: any, e: MouseEvent) => any) | undefined;
|
|
2257
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
2258
|
+
onInputChange?: ((value: string, e?: Event | undefined) => any) | undefined;
|
|
2259
|
+
}>, {
|
|
2260
|
+
shape: "default" | "round";
|
|
2261
|
+
size: "medium" | "large" | "small";
|
|
2262
|
+
disabled: boolean;
|
|
2263
|
+
loading: boolean;
|
|
2264
|
+
readonly: boolean;
|
|
2265
|
+
clearable: boolean;
|
|
2266
|
+
status: "success" | "warning" | "error" | "normal";
|
|
2267
|
+
options: (string | SelectOption | SelectGroupOption)[];
|
|
2268
|
+
multiple: boolean;
|
|
2269
|
+
collapseTags: boolean;
|
|
2270
|
+
collapseTagsPopover: boolean;
|
|
2271
|
+
tagTheme: "primary" | "sakura" | "success" | "warning" | "danger" | "info";
|
|
2272
|
+
tagVariant: "primary" | "plain" | "outline";
|
|
2273
|
+
filterable: boolean;
|
|
2274
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
714
2275
|
export declare const install: (app: App, options?: {
|
|
715
2276
|
prefix: string;
|
|
716
2277
|
attachToApp?: boolean;
|
|
717
2278
|
attachToWindow?: boolean;
|
|
718
2279
|
}) => void;
|
|
719
|
-
declare const _default$
|
|
2280
|
+
declare const _default$30: {
|
|
720
2281
|
install: (app: App, options?: {
|
|
721
2282
|
prefix: string;
|
|
722
2283
|
attachToApp?: boolean;
|
|
@@ -725,6 +2286,7 @@ declare const _default$16: {
|
|
|
725
2286
|
};
|
|
726
2287
|
|
|
727
2288
|
export {
|
|
2289
|
+
Option$1 as Option,
|
|
728
2290
|
_default as Button,
|
|
729
2291
|
_default$1 as ButtonGroup,
|
|
730
2292
|
_default$10 as Container,
|
|
@@ -733,9 +2295,23 @@ export {
|
|
|
733
2295
|
_default$13 as Header,
|
|
734
2296
|
_default$14 as Footer,
|
|
735
2297
|
_default$15 as Icon,
|
|
736
|
-
_default$16 as
|
|
2298
|
+
_default$16 as Input,
|
|
2299
|
+
_default$17 as InputNumber,
|
|
2300
|
+
_default$18 as Textarea,
|
|
2301
|
+
_default$19 as Tag,
|
|
737
2302
|
_default$2 as Link,
|
|
2303
|
+
_default$20 as InputGroup,
|
|
2304
|
+
_default$21 as InputGroupLabel,
|
|
2305
|
+
_default$22 as InputTag,
|
|
2306
|
+
_default$23 as Tooltip,
|
|
2307
|
+
_default$24 as Popover,
|
|
2308
|
+
_default$25 as Empty,
|
|
2309
|
+
_default$26 as AutoComplete,
|
|
2310
|
+
_default$27 as Mask,
|
|
2311
|
+
_default$28 as Spin,
|
|
2312
|
+
_default$29 as Select,
|
|
738
2313
|
_default$3 as MessageBox,
|
|
2314
|
+
_default$30 as default,
|
|
739
2315
|
_default$4 as Row,
|
|
740
2316
|
_default$5 as Col,
|
|
741
2317
|
_default$6 as Divider,
|