yahee-components 0.0.100 → 0.0.103
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/es/_virtual/_commonjs-dynamic-modules.js +6 -0
- package/es/_virtual/jszip.min.js +7 -0
- package/es/_virtual/jszip.min2.js +4 -0
- package/es/drop-down-condition/drop-down-condition.vue.js +5 -223
- package/es/drop-down-condition/drop-down-condition.vue2.js +220 -2
- package/es/file-download-wrapper/file-download-wrapper.vue.js +265 -0
- package/es/file-download-wrapper/file-download-wrapper.vue2.js +4 -0
- package/es/file-download-wrapper/index.js +7 -0
- package/es/file-download-wrapper/key.js +17 -0
- package/es/file-download-wrapper/props.js +12 -0
- package/es/file-download-wrapper/style/index.css +66 -0
- package/es/height-collapse/height-collapse.vue.js +53 -0
- package/es/height-collapse/height-collapse.vue2.js +4 -0
- package/es/height-collapse/index.js +7 -0
- package/es/height-collapse/props.js +11 -0
- package/es/height-collapse/style/index.css +32 -0
- package/es/index.js +56 -50
- package/es/installs.js +22 -20
- package/es/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js +2320 -0
- package/es/style.css +99 -4
- package/lib/file-download-wrapper/style/index.css +66 -0
- package/lib/height-collapse/style/index.css +32 -0
- package/lib/style.css +99 -4
- package/package.json +4 -3
- package/types/src/annex-upload/annex-upload.vue.d.ts +8 -8
- package/types/src/annex-upload/index.d.ts +4 -4
- package/types/src/components.d.ts +2 -1
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +30 -16
- package/types/src/drop-down-condition/props.d.ts +1 -1
- package/types/src/file-download-wrapper/file-download-wrapper.d.ts +11 -0
- package/types/src/file-download-wrapper/file-download-wrapper.vue.d.ts +4 -0
- package/types/src/file-download-wrapper/index.d.ts +8 -0
- package/types/src/file-download-wrapper/key.d.ts +20 -0
- package/types/src/file-download-wrapper/props.d.ts +21 -0
- package/types/src/filter-container/filter-container.d.ts +2 -0
- package/types/src/filter-container/props.d.ts +0 -2
- package/types/src/filter-wrapper/index.d.ts +2 -1
- package/types/src/height-collapse/height-collapse.vue.d.ts +32 -0
- package/types/src/height-collapse/index.d.ts +50 -0
- package/types/src/height-collapse/props.d.ts +11 -0
- package/types/src/help-tag/help-tag.vue.d.ts +5 -5
- package/types/src/help-tag/index.d.ts +5 -5
- package/types/src/help-tag/props.d.ts +5 -5
- package/types/src/operation-log/index.d.ts +2 -2
- package/types/src/operation-log/operation-log.vue.d.ts +2 -2
- package/types/src/operation-log/props.d.ts +1 -1
- package/types/src/scale-screen/props.d.ts +2 -2
- package/es/input/index.js +0 -7
- package/es/input/input.vue.js +0 -40
- package/es/input/input.vue2.js +0 -4
- package/es/input/style/index.css +0 -3
- package/lib/input/style/index.css +0 -3
- package/types/src/drop-down-condition/index.d.ts +0 -462
- package/types/src/input/index.d.ts +0 -515
- package/types/src/input/input.d.ts +0 -18
- package/types/src/input/input.vue.d.ts +0 -513
- package/types/src/installs.d.ts +0 -3481
- package/types/src/shared/hello.d.ts +0 -1
- package/types/src/shared/index.d.ts +0 -2
- package/types/src/shared/typeCheck.d.ts +0 -2
- package/types/src/shared/types/InferVueDefaults.d.ts +0 -7
- package/types/src/shared/types/index.d.ts +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HeightCollapseProps } from './props';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
contentRef: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<HeightCollapseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
change: (isExpand: boolean) => any;
|
|
16
|
+
}, string, PublicProps, Readonly<HeightCollapseProps> & Readonly<{
|
|
17
|
+
onChange?: (isExpand: boolean) => any;
|
|
18
|
+
}>, {
|
|
19
|
+
maxHeight: number;
|
|
20
|
+
defaultExpand: boolean;
|
|
21
|
+
expandTitle: string;
|
|
22
|
+
collapseTitle: string;
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
24
|
+
contentRef: HTMLDivElement;
|
|
25
|
+
}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
import { HeightCollapseProps } from './props';
|
|
4
|
+
export declare const YaheeHeightCollapse: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< HeightCollapseProps> & Readonly<{
|
|
6
|
+
onChange?: (isExpand: boolean) => any;
|
|
7
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
change: (isExpand: boolean) => any;
|
|
9
|
+
}, PublicProps, {
|
|
10
|
+
maxHeight: number;
|
|
11
|
+
defaultExpand: boolean;
|
|
12
|
+
expandTitle: string;
|
|
13
|
+
collapseTitle: string;
|
|
14
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
15
|
+
contentRef: HTMLDivElement;
|
|
16
|
+
}, any, ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly< HeightCollapseProps> & Readonly<{
|
|
24
|
+
onChange?: (isExpand: boolean) => any;
|
|
25
|
+
}>, {}, {}, {}, {}, {
|
|
26
|
+
maxHeight: number;
|
|
27
|
+
defaultExpand: boolean;
|
|
28
|
+
expandTitle: string;
|
|
29
|
+
collapseTitle: string;
|
|
30
|
+
}>;
|
|
31
|
+
__isFragment?: never;
|
|
32
|
+
__isTeleport?: never;
|
|
33
|
+
__isSuspense?: never;
|
|
34
|
+
} & ComponentOptionsBase<Readonly< HeightCollapseProps> & Readonly<{
|
|
35
|
+
onChange?: (isExpand: boolean) => any;
|
|
36
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
change: (isExpand: boolean) => any;
|
|
38
|
+
}, string, {
|
|
39
|
+
maxHeight: number;
|
|
40
|
+
defaultExpand: boolean;
|
|
41
|
+
expandTitle: string;
|
|
42
|
+
collapseTitle: string;
|
|
43
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
44
|
+
$slots: {
|
|
45
|
+
default?(_: {}): any;
|
|
46
|
+
};
|
|
47
|
+
})> & Record<string, any>;
|
|
48
|
+
export default YaheeHeightCollapse;
|
|
49
|
+
export * from './height-collapse.vue';
|
|
50
|
+
export * from './props';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface HeightCollapseProps {
|
|
2
|
+
/** 收起状态下的最大高度,超出则显示展开按钮 */
|
|
3
|
+
maxHeight?: number;
|
|
4
|
+
/** 是否默认展开 */
|
|
5
|
+
defaultExpand?: boolean;
|
|
6
|
+
/** 展开状态下的hover提示文案 */
|
|
7
|
+
expandTitle?: string;
|
|
8
|
+
/** 收起状态下的hover提示文案 */
|
|
9
|
+
collapseTitle?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function defaultHeightCollapseProps(): Required<HeightCollapseProps>;
|
|
@@ -65,7 +65,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
65
65
|
readonly showArrow: boolean;
|
|
66
66
|
}> & Omit<{
|
|
67
67
|
readonly disabled: boolean;
|
|
68
|
-
readonly tabindex: string | number;
|
|
69
68
|
readonly width: string | number;
|
|
70
69
|
readonly trigger: TooltipTriggerType | TooltipTriggerType[];
|
|
71
70
|
readonly effect: PopperEffect;
|
|
@@ -74,16 +73,17 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
74
73
|
readonly persistent: boolean;
|
|
75
74
|
readonly showArrow: boolean;
|
|
76
75
|
readonly placement: Placement;
|
|
76
|
+
readonly tabindex: string | number;
|
|
77
77
|
readonly content: string;
|
|
78
78
|
readonly triggerKeys: string[];
|
|
79
79
|
readonly enterable: boolean;
|
|
80
80
|
readonly showAfter: number;
|
|
81
81
|
readonly hideAfter: number;
|
|
82
82
|
readonly autoClose: number;
|
|
83
|
-
readonly transition?: string;
|
|
84
|
-
readonly title?: string;
|
|
85
83
|
readonly visible?: boolean;
|
|
84
|
+
readonly transition?: string;
|
|
86
85
|
readonly appendTo?: string | HTMLElement;
|
|
86
|
+
readonly title?: string;
|
|
87
87
|
readonly popperClass?: string | {
|
|
88
88
|
[x: string]: boolean;
|
|
89
89
|
} | (string | {
|
|
@@ -114,7 +114,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
114
114
|
"onAfter-leave"?: (() => any) | undefined;
|
|
115
115
|
"onBefore-enter"?: (() => any) | undefined;
|
|
116
116
|
"onBefore-leave"?: (() => any) | undefined;
|
|
117
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
117
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "visible" | "disabled" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "tabindex" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose">;
|
|
118
118
|
$attrs: {
|
|
119
119
|
[x: string]: unknown;
|
|
120
120
|
};
|
|
@@ -576,7 +576,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
576
576
|
"onAfter-leave"?: (() => any) | undefined;
|
|
577
577
|
"onBefore-enter"?: (() => any) | undefined;
|
|
578
578
|
"onBefore-leave"?: (() => any) | undefined;
|
|
579
|
-
}, "
|
|
579
|
+
}, "visible" | "disabled" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "tabindex" | "popperRef" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose" | "hide"> & ShallowUnwrapRef<{
|
|
580
580
|
popperRef: ComputedRef< PopperInstance | undefined>;
|
|
581
581
|
hide: () => void;
|
|
582
582
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -66,7 +66,6 @@ export declare const YaheeHelpTag: SFCWithInstall<DefineComponent<ExtractPropTyp
|
|
|
66
66
|
readonly showArrow: boolean;
|
|
67
67
|
}> & Omit<{
|
|
68
68
|
readonly disabled: boolean;
|
|
69
|
-
readonly tabindex: string | number;
|
|
70
69
|
readonly width: string | number;
|
|
71
70
|
readonly trigger: TooltipTriggerType | TooltipTriggerType[];
|
|
72
71
|
readonly effect: PopperEffect;
|
|
@@ -75,16 +74,17 @@ export declare const YaheeHelpTag: SFCWithInstall<DefineComponent<ExtractPropTyp
|
|
|
75
74
|
readonly persistent: boolean;
|
|
76
75
|
readonly showArrow: boolean;
|
|
77
76
|
readonly placement: Placement;
|
|
77
|
+
readonly tabindex: string | number;
|
|
78
78
|
readonly content: string;
|
|
79
79
|
readonly triggerKeys: string[];
|
|
80
80
|
readonly enterable: boolean;
|
|
81
81
|
readonly showAfter: number;
|
|
82
82
|
readonly hideAfter: number;
|
|
83
83
|
readonly autoClose: number;
|
|
84
|
-
readonly transition?: string;
|
|
85
|
-
readonly title?: string;
|
|
86
84
|
readonly visible?: boolean;
|
|
85
|
+
readonly transition?: string;
|
|
87
86
|
readonly appendTo?: string | HTMLElement;
|
|
87
|
+
readonly title?: string;
|
|
88
88
|
readonly popperClass?: string | {
|
|
89
89
|
[x: string]: boolean;
|
|
90
90
|
} | (string | {
|
|
@@ -115,7 +115,7 @@ export declare const YaheeHelpTag: SFCWithInstall<DefineComponent<ExtractPropTyp
|
|
|
115
115
|
"onAfter-leave"?: (() => any) | undefined;
|
|
116
116
|
"onBefore-enter"?: (() => any) | undefined;
|
|
117
117
|
"onBefore-leave"?: (() => any) | undefined;
|
|
118
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
118
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "visible" | "disabled" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "tabindex" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose">;
|
|
119
119
|
$attrs: {
|
|
120
120
|
[x: string]: unknown;
|
|
121
121
|
};
|
|
@@ -577,7 +577,7 @@ export declare const YaheeHelpTag: SFCWithInstall<DefineComponent<ExtractPropTyp
|
|
|
577
577
|
"onAfter-leave"?: (() => any) | undefined;
|
|
578
578
|
"onBefore-enter"?: (() => any) | undefined;
|
|
579
579
|
"onBefore-leave"?: (() => any) | undefined;
|
|
580
|
-
}, "
|
|
580
|
+
}, "visible" | "disabled" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "tabindex" | "popperRef" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose" | "hide"> & ShallowUnwrapRef<{
|
|
581
581
|
popperRef: ComputedRef< PopperInstance | undefined>;
|
|
582
582
|
hide: () => void;
|
|
583
583
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -10,13 +10,13 @@ export interface HelpTagProps {
|
|
|
10
10
|
*/
|
|
11
11
|
tipsId: string;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
tipsContentSize: () =>
|
|
13
|
+
* 提示内容宽度高度定义
|
|
14
|
+
* @default ''
|
|
15
|
+
*/
|
|
16
|
+
tipsContentSize: () => {
|
|
17
17
|
width: number;
|
|
18
18
|
height: number;
|
|
19
|
-
}
|
|
19
|
+
};
|
|
20
20
|
}
|
|
21
21
|
export declare function defaultHelpTagProps(): {
|
|
22
22
|
tipsContentSize: () => {
|
|
@@ -85,7 +85,7 @@ export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<Operation
|
|
|
85
85
|
scrollLeft: number;
|
|
86
86
|
}) => any) | undefined;
|
|
87
87
|
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
88
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
88
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "tag" | "tabindex" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize">;
|
|
89
89
|
$attrs: {
|
|
90
90
|
[x: string]: unknown;
|
|
91
91
|
};
|
|
@@ -361,7 +361,7 @@ export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<Operation
|
|
|
361
361
|
scrollLeft: number;
|
|
362
362
|
}) => any) | undefined;
|
|
363
363
|
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
364
|
-
}, "
|
|
364
|
+
}, "tag" | "tabindex" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & ShallowUnwrapRef<{
|
|
365
365
|
wrapRef: Ref<HTMLDivElement | undefined>;
|
|
366
366
|
update: () => void;
|
|
367
367
|
scrollTo: {
|
|
@@ -84,7 +84,7 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
|
|
|
84
84
|
scrollLeft: number;
|
|
85
85
|
}) => any) | undefined;
|
|
86
86
|
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
87
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
87
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "tag" | "tabindex" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize">;
|
|
88
88
|
$attrs: {
|
|
89
89
|
[x: string]: unknown;
|
|
90
90
|
};
|
|
@@ -360,7 +360,7 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
|
|
|
360
360
|
scrollLeft: number;
|
|
361
361
|
}) => any) | undefined;
|
|
362
362
|
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
363
|
-
}, "
|
|
363
|
+
}, "tag" | "tabindex" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & ShallowUnwrapRef<{
|
|
364
364
|
wrapRef: Ref<HTMLDivElement | undefined>;
|
|
365
365
|
update: () => void;
|
|
366
366
|
scrollTo: {
|
|
@@ -31,12 +31,12 @@ export interface ScaleScreenProps {
|
|
|
31
31
|
* box包裹样式
|
|
32
32
|
* @default {}
|
|
33
33
|
*/
|
|
34
|
-
boxStyle:
|
|
34
|
+
boxStyle: object;
|
|
35
35
|
/**
|
|
36
36
|
* wrapper内层包裹样式
|
|
37
37
|
* @default {}
|
|
38
38
|
*/
|
|
39
|
-
wrapperStyle:
|
|
39
|
+
wrapperStyle: object;
|
|
40
40
|
}
|
|
41
41
|
export declare function defaultScaleScreenProps(): {
|
|
42
42
|
width: number;
|
package/es/input/index.js
DELETED
package/es/input/input.vue.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, computed as r, ref as f, createElementBlock as c, openBlock as V, createVNode as _, unref as b } from "vue";
|
|
2
|
-
import { ElInput as v } from "element-plus";
|
|
3
|
-
import "element-plus/theme-chalk/src/base.scss";
|
|
4
|
-
import "element-plus/theme-chalk/src/input.scss";
|
|
5
|
-
const x = { class: "yahee-input" }, E = /* @__PURE__ */ i({
|
|
6
|
-
name: "YaheeInput",
|
|
7
|
-
__name: "input",
|
|
8
|
-
props: {
|
|
9
|
-
modelValue: { default: "" },
|
|
10
|
-
disabled: { type: Boolean, default: !1 }
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:modelValue"],
|
|
13
|
-
setup(u, { expose: n, emit: d }) {
|
|
14
|
-
const p = d, t = u, o = r({
|
|
15
|
-
get: () => t.modelValue,
|
|
16
|
-
set: (e) => {
|
|
17
|
-
p("update:modelValue", e);
|
|
18
|
-
}
|
|
19
|
-
}), l = f();
|
|
20
|
-
function s() {
|
|
21
|
-
var e;
|
|
22
|
-
(e = l.value) == null || e.focus();
|
|
23
|
-
}
|
|
24
|
-
return n({
|
|
25
|
-
focus: s
|
|
26
|
-
}), (e, a) => (V(), c("div", x, [
|
|
27
|
-
_(b(v), {
|
|
28
|
-
ref_key: "inputRef",
|
|
29
|
-
ref: l,
|
|
30
|
-
modelValue: o.value,
|
|
31
|
-
"onUpdate:modelValue": a[0] || (a[0] = (m) => o.value = m),
|
|
32
|
-
type: "text",
|
|
33
|
-
disabled: t.disabled
|
|
34
|
-
}, null, 8, ["modelValue", "disabled"])
|
|
35
|
-
]));
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
E as default
|
|
40
|
-
};
|
package/es/input/input.vue2.js
DELETED
package/es/input/style/index.css
DELETED