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.
Files changed (62) hide show
  1. package/es/_virtual/_commonjs-dynamic-modules.js +6 -0
  2. package/es/_virtual/jszip.min.js +7 -0
  3. package/es/_virtual/jszip.min2.js +4 -0
  4. package/es/drop-down-condition/drop-down-condition.vue.js +5 -223
  5. package/es/drop-down-condition/drop-down-condition.vue2.js +220 -2
  6. package/es/file-download-wrapper/file-download-wrapper.vue.js +265 -0
  7. package/es/file-download-wrapper/file-download-wrapper.vue2.js +4 -0
  8. package/es/file-download-wrapper/index.js +7 -0
  9. package/es/file-download-wrapper/key.js +17 -0
  10. package/es/file-download-wrapper/props.js +12 -0
  11. package/es/file-download-wrapper/style/index.css +66 -0
  12. package/es/height-collapse/height-collapse.vue.js +53 -0
  13. package/es/height-collapse/height-collapse.vue2.js +4 -0
  14. package/es/height-collapse/index.js +7 -0
  15. package/es/height-collapse/props.js +11 -0
  16. package/es/height-collapse/style/index.css +32 -0
  17. package/es/index.js +56 -50
  18. package/es/installs.js +22 -20
  19. package/es/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js +2320 -0
  20. package/es/style.css +99 -4
  21. package/lib/file-download-wrapper/style/index.css +66 -0
  22. package/lib/height-collapse/style/index.css +32 -0
  23. package/lib/style.css +99 -4
  24. package/package.json +4 -3
  25. package/types/src/annex-upload/annex-upload.vue.d.ts +8 -8
  26. package/types/src/annex-upload/index.d.ts +4 -4
  27. package/types/src/components.d.ts +2 -1
  28. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +30 -16
  29. package/types/src/drop-down-condition/props.d.ts +1 -1
  30. package/types/src/file-download-wrapper/file-download-wrapper.d.ts +11 -0
  31. package/types/src/file-download-wrapper/file-download-wrapper.vue.d.ts +4 -0
  32. package/types/src/file-download-wrapper/index.d.ts +8 -0
  33. package/types/src/file-download-wrapper/key.d.ts +20 -0
  34. package/types/src/file-download-wrapper/props.d.ts +21 -0
  35. package/types/src/filter-container/filter-container.d.ts +2 -0
  36. package/types/src/filter-container/props.d.ts +0 -2
  37. package/types/src/filter-wrapper/index.d.ts +2 -1
  38. package/types/src/height-collapse/height-collapse.vue.d.ts +32 -0
  39. package/types/src/height-collapse/index.d.ts +50 -0
  40. package/types/src/height-collapse/props.d.ts +11 -0
  41. package/types/src/help-tag/help-tag.vue.d.ts +5 -5
  42. package/types/src/help-tag/index.d.ts +5 -5
  43. package/types/src/help-tag/props.d.ts +5 -5
  44. package/types/src/operation-log/index.d.ts +2 -2
  45. package/types/src/operation-log/operation-log.vue.d.ts +2 -2
  46. package/types/src/operation-log/props.d.ts +1 -1
  47. package/types/src/scale-screen/props.d.ts +2 -2
  48. package/es/input/index.js +0 -7
  49. package/es/input/input.vue.js +0 -40
  50. package/es/input/input.vue2.js +0 -4
  51. package/es/input/style/index.css +0 -3
  52. package/lib/input/style/index.css +0 -3
  53. package/types/src/drop-down-condition/index.d.ts +0 -462
  54. package/types/src/input/index.d.ts +0 -515
  55. package/types/src/input/input.d.ts +0 -18
  56. package/types/src/input/input.vue.d.ts +0 -513
  57. package/types/src/installs.d.ts +0 -3481
  58. package/types/src/shared/hello.d.ts +0 -1
  59. package/types/src/shared/index.d.ts +0 -2
  60. package/types/src/shared/typeCheck.d.ts +0 -2
  61. package/types/src/shared/types/InferVueDefaults.d.ts +0 -7
  62. 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, "disabled" | "tabindex" | "visible" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose">;
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
- }, "disabled" | "tabindex" | "visible" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "popperRef" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose" | "hide"> & ShallowUnwrapRef<{
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, "disabled" | "tabindex" | "visible" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose">;
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
- }, "disabled" | "tabindex" | "visible" | "width" | "trigger" | "effect" | "popperOptions" | "teleported" | "persistent" | "showArrow" | "offset" | "placement" | "popperRef" | "content" | "triggerKeys" | "enterable" | "showAfter" | "hideAfter" | "autoClose" | "hide"> & ShallowUnwrapRef<{
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
- * @default ''
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, "tabindex" | "tag" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize">;
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
- }, "tabindex" | "tag" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & ShallowUnwrapRef<{
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, "tabindex" | "tag" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize">;
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
- }, "tabindex" | "tag" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & ShallowUnwrapRef<{
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: {
@@ -23,7 +23,7 @@ export interface OperationLogProps {
23
23
  */
24
24
  ifShowDocument: boolean;
25
25
  }
26
- export declare function defaultCopyProps(): {
26
+ export declare function defaultOperationLogProps(): {
27
27
  businessKey: string;
28
28
  businessName: string;
29
29
  topHeight: number;
@@ -31,12 +31,12 @@ export interface ScaleScreenProps {
31
31
  * box包裹样式
32
32
  * @default {}
33
33
  */
34
- boxStyle: Object;
34
+ boxStyle: object;
35
35
  /**
36
36
  * wrapper内层包裹样式
37
37
  * @default {}
38
38
  */
39
- wrapperStyle: Object;
39
+ wrapperStyle: object;
40
40
  }
41
41
  export declare function defaultScaleScreenProps(): {
42
42
  width: number;
package/es/input/index.js DELETED
@@ -1,7 +0,0 @@
1
- import { withInstall as t } from "../utils/install.js";
2
- import o from "./input.vue.js";
3
- const r = t(o);
4
- export {
5
- r as YaheeInput,
6
- r as default
7
- };
@@ -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
- };
@@ -1,4 +0,0 @@
1
- import f from "./input.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,3 +0,0 @@
1
- .yahee-input .el-input {
2
- border: 1px solid red;
3
- }
@@ -1,3 +0,0 @@
1
- .yahee-input .el-input {
2
- border: 1px solid red;
3
- }