yahee-components 0.0.65 → 0.0.67

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 (76) hide show
  1. package/es/api/server.js +2 -2
  2. package/es/api/tool.js +1 -1
  3. package/es/complex-search/complex-search.vue.js +27 -23
  4. package/es/complex-search/props.js +6 -4
  5. package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/fetch.js +29 -29
  6. package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/Axios.js +1 -1
  7. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +181 -0
  8. package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/env/data.js +1 -1
  9. package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/toFormData.js +16 -14
  10. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +222 -0
  11. package/es/node_modules/.pnpm/{element-plus@2.9.7_vue@3.5.13_typescript@5.8.3_ → element-plus@2.10.2_vue@3.5.17_typescript@5.8.3_}/node_modules/element-plus/es/locale/lang/zh-cn.js +1 -1
  12. package/es/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +526 -526
  13. package/es/packages/components/api/log-server.js +2 -2
  14. package/es/packages/components/api/server.js +2 -2
  15. package/es/packages/components/api/tool.js +1 -1
  16. package/es/packages/components/api/upload-server.js +2 -2
  17. package/es/utils/translate.js +2 -2
  18. package/package.json +1 -3
  19. package/types/src/annex-upload/annex-upload.vue.d.ts +649 -435
  20. package/types/src/annex-upload/index.d.ts +321 -214
  21. package/types/src/complex-search/props.d.ts +11 -3
  22. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +264 -55
  23. package/types/src/drop-down-condition/index.d.ts +264 -55
  24. package/types/src/input/index.d.ts +189 -62
  25. package/types/src/input/input.vue.d.ts +189 -62
  26. package/types/src/operation-log/index.d.ts +199 -55
  27. package/types/src/operation-log/operation-log.vue.d.ts +199 -55
  28. package/es/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/core/AxiosHeaders.js +0 -173
  29. package/es/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/utils.js +0 -221
  30. package/types/src/complex-search/complex-search.vue.d.ts +0 -208
  31. package/types/src/complex-search/index.d.ts +0 -212
  32. package/types/src/installs.d.ts +0 -1863
  33. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/index.js +0 -0
  34. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/adapters.js +0 -0
  35. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/xhr.js +0 -0
  36. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/axios.js +0 -0
  37. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/CancelToken.js +0 -0
  38. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/CanceledError.js +0 -0
  39. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/isCancel.js +0 -0
  40. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/AxiosError.js +0 -0
  41. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/InterceptorManager.js +0 -0
  42. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/buildFullPath.js +0 -0
  43. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/dispatchRequest.js +0 -0
  44. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/mergeConfig.js +0 -0
  45. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/settle.js +0 -0
  46. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/transformData.js +0 -0
  47. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/defaults/index.js +0 -0
  48. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/defaults/transitional.js +0 -0
  49. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -0
  50. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -0
  51. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/bind.js +0 -0
  52. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/buildURL.js +0 -0
  53. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/combineURLs.js +0 -0
  54. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/composeSignals.js +0 -0
  55. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/cookies.js +0 -0
  56. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/formDataToJSON.js +0 -0
  57. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -0
  58. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isAxiosError.js +0 -0
  59. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -0
  60. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/null.js +0 -0
  61. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/parseHeaders.js +0 -0
  62. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/parseProtocol.js +0 -0
  63. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/progressEventReducer.js +0 -0
  64. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/resolveConfig.js +0 -0
  65. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/speedometer.js +0 -0
  66. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/spread.js +0 -0
  67. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/throttle.js +0 -0
  68. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -0
  69. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/trackStream.js +0 -0
  70. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/validator.js +0 -0
  71. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -0
  72. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -0
  73. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -0
  74. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/index.js +0 -0
  75. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/common/utils.js +0 -0
  76. /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/index.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import { OperationLogProps } from './operation-log';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, PropType, CSSProperties, Ref, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
- import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, PropType, Ref, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
+ import { ScrollbarDirection } from 'element-plus';
4
4
  import { OnCleanup } from '@vue/reactivity';
5
5
  declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OperationLogProps> & Readonly<{}>, {
6
6
  businessKey: string;
@@ -50,40 +50,41 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
50
50
  $: ComponentInternalInstance;
51
51
  $data: {};
52
52
  $props: Partial<{
53
- readonly height: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
54
- readonly maxHeight: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
53
+ readonly height: string | number;
54
+ readonly maxHeight: string | number;
55
55
  readonly always: boolean;
56
- readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
56
+ readonly tabindex: string | number;
57
57
  readonly minSize: number;
58
- readonly native: EpPropMergeType<BooleanConstructor, unknown, unknown>;
58
+ readonly native: boolean;
59
59
  readonly wrapStyle: StyleValue;
60
- readonly wrapClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
61
- readonly viewClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
62
- readonly viewStyle: EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
60
+ readonly wrapClass: string | unknown[];
61
+ readonly viewClass: string | unknown[];
62
+ readonly viewStyle: string | unknown[] | Record<string, any>;
63
63
  readonly tag: string;
64
64
  readonly noresize: boolean;
65
65
  }> & Omit<{
66
66
  readonly tag: string;
67
- readonly height: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
68
- readonly maxHeight: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
69
- readonly native: EpPropMergeType<BooleanConstructor, unknown, unknown>;
67
+ readonly always: boolean;
68
+ readonly height: string | number;
69
+ readonly maxHeight: string | number;
70
+ readonly native: boolean;
70
71
  readonly wrapStyle: StyleValue;
71
- readonly wrapClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
72
- readonly viewClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
73
- readonly viewStyle: EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
72
+ readonly wrapClass: string | unknown[];
73
+ readonly viewClass: string | unknown[];
74
+ readonly viewStyle: string | unknown[] | Record<string, any>;
74
75
  readonly noresize: boolean;
75
- readonly always: boolean;
76
76
  readonly minSize: number;
77
77
  readonly ariaLabel?: string;
78
78
  readonly id?: string;
79
- readonly tabindex?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
79
+ readonly tabindex?: string | number;
80
80
  readonly role?: string;
81
81
  readonly ariaOrientation?: string;
82
82
  onScroll?: ((args_0: {
83
83
  scrollTop: number;
84
84
  scrollLeft: number;
85
85
  }) => any) | undefined;
86
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "tabindex" | "tag" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "always" | "minSize">;
86
+ "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
87
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "tabindex" | "tag" | "always" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "minSize">;
87
88
  $attrs: {
88
89
  [x: string]: unknown;
89
90
  };
@@ -96,10 +97,10 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
96
97
  $root: ComponentPublicInstance | null;
97
98
  $parent: ComponentPublicInstance | null;
98
99
  $host: Element | null;
99
- $emit: (event: "scroll", args_0: {
100
+ $emit: ((event: "scroll", args_0: {
100
101
  scrollTop: number;
101
102
  scrollLeft: number;
102
- }) => void;
103
+ }) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
103
104
  $el: any;
104
105
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
105
106
  readonly ariaLabel: StringConstructor;
@@ -109,18 +110,88 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
109
110
  readonly validator: ((val: unknown) => boolean) | undefined;
110
111
  __epPropKey: true;
111
112
  };
112
- readonly height: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
113
- readonly maxHeight: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
114
- readonly native: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
115
- readonly wrapStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
116
- readonly wrapClass: EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
117
- readonly viewClass: EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
118
- readonly viewStyle: EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
113
+ readonly height: {
114
+ readonly type: PropType<string | number>;
115
+ readonly required: false;
116
+ readonly validator: ((val: unknown) => boolean) | undefined;
117
+ __epPropKey: true;
118
+ } & {
119
+ readonly default: "";
120
+ };
121
+ readonly maxHeight: {
122
+ readonly type: PropType<string | number>;
123
+ readonly required: false;
124
+ readonly validator: ((val: unknown) => boolean) | undefined;
125
+ __epPropKey: true;
126
+ } & {
127
+ readonly default: "";
128
+ };
129
+ readonly native: {
130
+ readonly type: PropType<boolean>;
131
+ readonly required: false;
132
+ readonly validator: ((val: unknown) => boolean) | undefined;
133
+ __epPropKey: true;
134
+ } & {
135
+ readonly default: false;
136
+ };
137
+ readonly wrapStyle: {
138
+ readonly type: PropType<StyleValue>;
139
+ readonly required: false;
140
+ readonly validator: ((val: unknown) => boolean) | undefined;
141
+ __epPropKey: true;
142
+ } & {
143
+ readonly default: "";
144
+ };
145
+ readonly wrapClass: {
146
+ readonly type: PropType<string | unknown[]>;
147
+ readonly required: false;
148
+ readonly validator: ((val: unknown) => boolean) | undefined;
149
+ __epPropKey: true;
150
+ } & {
151
+ readonly default: "";
152
+ };
153
+ readonly viewClass: {
154
+ readonly type: PropType<string | unknown[]>;
155
+ readonly required: false;
156
+ readonly validator: ((val: unknown) => boolean) | undefined;
157
+ __epPropKey: true;
158
+ } & {
159
+ readonly default: "";
160
+ };
161
+ readonly viewStyle: {
162
+ readonly type: PropType<string | unknown[] | Record<string, any>>;
163
+ readonly required: false;
164
+ readonly validator: ((val: unknown) => boolean) | undefined;
165
+ __epPropKey: true;
166
+ } & {
167
+ readonly default: "";
168
+ };
119
169
  readonly noresize: BooleanConstructor;
120
- readonly tag: EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
170
+ readonly tag: {
171
+ readonly type: PropType<string>;
172
+ readonly required: false;
173
+ readonly validator: ((val: unknown) => boolean) | undefined;
174
+ __epPropKey: true;
175
+ } & {
176
+ readonly default: "div";
177
+ };
121
178
  readonly always: BooleanConstructor;
122
- readonly minSize: EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
123
- readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>;
179
+ readonly minSize: {
180
+ readonly type: PropType<number>;
181
+ readonly required: false;
182
+ readonly validator: ((val: unknown) => boolean) | undefined;
183
+ __epPropKey: true;
184
+ } & {
185
+ readonly default: 20;
186
+ };
187
+ readonly tabindex: {
188
+ readonly type: PropType<string | number>;
189
+ readonly required: false;
190
+ readonly validator: ((val: unknown) => boolean) | undefined;
191
+ __epPropKey: true;
192
+ } & {
193
+ readonly default: undefined;
194
+ };
124
195
  readonly id: StringConstructor;
125
196
  readonly role: StringConstructor;
126
197
  }>> & {
@@ -128,6 +199,7 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
128
199
  scrollTop: number;
129
200
  scrollLeft: number;
130
201
  }) => any) | undefined;
202
+ "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
131
203
  }, {
132
204
  wrapRef: Ref<HTMLDivElement | undefined>;
133
205
  update: () => void;
@@ -143,17 +215,18 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
143
215
  scrollTop: number;
144
216
  scrollLeft: number;
145
217
  }) => void;
218
+ "end-reached": (direction: ScrollbarDirection) => void;
146
219
  }, string, {
147
- readonly height: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
148
- readonly maxHeight: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
220
+ readonly height: string | number;
221
+ readonly maxHeight: string | number;
149
222
  readonly always: boolean;
150
- readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
223
+ readonly tabindex: string | number;
151
224
  readonly minSize: number;
152
- readonly native: EpPropMergeType<BooleanConstructor, unknown, unknown>;
225
+ readonly native: boolean;
153
226
  readonly wrapStyle: StyleValue;
154
- readonly wrapClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
155
- readonly viewClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
156
- readonly viewStyle: EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
227
+ readonly wrapClass: string | unknown[];
228
+ readonly viewClass: string | unknown[];
229
+ readonly viewStyle: string | unknown[] | Record<string, any>;
157
230
  readonly tag: string;
158
231
  readonly noresize: boolean;
159
232
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -177,16 +250,16 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
177
250
  $nextTick: nextTick;
178
251
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
179
252
  } & Readonly<{
180
- readonly height: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
181
- readonly maxHeight: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
253
+ readonly height: string | number;
254
+ readonly maxHeight: string | number;
182
255
  readonly always: boolean;
183
- readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
256
+ readonly tabindex: string | number;
184
257
  readonly minSize: number;
185
- readonly native: EpPropMergeType<BooleanConstructor, unknown, unknown>;
258
+ readonly native: boolean;
186
259
  readonly wrapStyle: StyleValue;
187
- readonly wrapClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
188
- readonly viewClass: EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
189
- readonly viewStyle: EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
260
+ readonly wrapClass: string | unknown[];
261
+ readonly viewClass: string | unknown[];
262
+ readonly viewStyle: string | unknown[] | Record<string, any>;
190
263
  readonly tag: string;
191
264
  readonly noresize: boolean;
192
265
  }> & Omit<Readonly< ExtractPropTypes<{
@@ -197,18 +270,88 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
197
270
  readonly validator: ((val: unknown) => boolean) | undefined;
198
271
  __epPropKey: true;
199
272
  };
200
- readonly height: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
201
- readonly maxHeight: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
202
- readonly native: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
203
- readonly wrapStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
204
- readonly wrapClass: EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
205
- readonly viewClass: EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
206
- readonly viewStyle: EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
273
+ readonly height: {
274
+ readonly type: PropType<string | number>;
275
+ readonly required: false;
276
+ readonly validator: ((val: unknown) => boolean) | undefined;
277
+ __epPropKey: true;
278
+ } & {
279
+ readonly default: "";
280
+ };
281
+ readonly maxHeight: {
282
+ readonly type: PropType<string | number>;
283
+ readonly required: false;
284
+ readonly validator: ((val: unknown) => boolean) | undefined;
285
+ __epPropKey: true;
286
+ } & {
287
+ readonly default: "";
288
+ };
289
+ readonly native: {
290
+ readonly type: PropType<boolean>;
291
+ readonly required: false;
292
+ readonly validator: ((val: unknown) => boolean) | undefined;
293
+ __epPropKey: true;
294
+ } & {
295
+ readonly default: false;
296
+ };
297
+ readonly wrapStyle: {
298
+ readonly type: PropType<StyleValue>;
299
+ readonly required: false;
300
+ readonly validator: ((val: unknown) => boolean) | undefined;
301
+ __epPropKey: true;
302
+ } & {
303
+ readonly default: "";
304
+ };
305
+ readonly wrapClass: {
306
+ readonly type: PropType<string | unknown[]>;
307
+ readonly required: false;
308
+ readonly validator: ((val: unknown) => boolean) | undefined;
309
+ __epPropKey: true;
310
+ } & {
311
+ readonly default: "";
312
+ };
313
+ readonly viewClass: {
314
+ readonly type: PropType<string | unknown[]>;
315
+ readonly required: false;
316
+ readonly validator: ((val: unknown) => boolean) | undefined;
317
+ __epPropKey: true;
318
+ } & {
319
+ readonly default: "";
320
+ };
321
+ readonly viewStyle: {
322
+ readonly type: PropType<string | unknown[] | Record<string, any>>;
323
+ readonly required: false;
324
+ readonly validator: ((val: unknown) => boolean) | undefined;
325
+ __epPropKey: true;
326
+ } & {
327
+ readonly default: "";
328
+ };
207
329
  readonly noresize: BooleanConstructor;
208
- readonly tag: EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
330
+ readonly tag: {
331
+ readonly type: PropType<string>;
332
+ readonly required: false;
333
+ readonly validator: ((val: unknown) => boolean) | undefined;
334
+ __epPropKey: true;
335
+ } & {
336
+ readonly default: "div";
337
+ };
209
338
  readonly always: BooleanConstructor;
210
- readonly minSize: EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
211
- readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>;
339
+ readonly minSize: {
340
+ readonly type: PropType<number>;
341
+ readonly required: false;
342
+ readonly validator: ((val: unknown) => boolean) | undefined;
343
+ __epPropKey: true;
344
+ } & {
345
+ readonly default: 20;
346
+ };
347
+ readonly tabindex: {
348
+ readonly type: PropType<string | number>;
349
+ readonly required: false;
350
+ readonly validator: ((val: unknown) => boolean) | undefined;
351
+ __epPropKey: true;
352
+ } & {
353
+ readonly default: undefined;
354
+ };
212
355
  readonly id: StringConstructor;
213
356
  readonly role: StringConstructor;
214
357
  }>> & {
@@ -216,7 +359,8 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
216
359
  scrollTop: number;
217
360
  scrollLeft: number;
218
361
  }) => any) | undefined;
219
- }, "tabindex" | "tag" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "always" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & ShallowUnwrapRef<{
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<{
220
364
  wrapRef: Ref<HTMLDivElement | undefined>;
221
365
  update: () => void;
222
366
  scrollTo: {
@@ -1,173 +0,0 @@
1
- import i from "../utils.js";
2
- import S from "../helpers/parseHeaders.js";
3
- const h = Symbol("internals");
4
- function l(r) {
5
- return r && String(r).trim().toLowerCase();
6
- }
7
- function p(r) {
8
- return r === !1 || r == null ? r : i.isArray(r) ? r.map(p) : String(r);
9
- }
10
- function d(r) {
11
- const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
12
- let s;
13
- for (; s = n.exec(r); )
14
- t[s[1]] = s[2];
15
- return t;
16
- }
17
- const A = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
18
- function g(r, t, n, s, e) {
19
- if (i.isFunction(s))
20
- return s.call(this, t, n);
21
- if (e && (t = n), !!i.isString(t)) {
22
- if (i.isString(s))
23
- return t.indexOf(s) !== -1;
24
- if (i.isRegExp(s))
25
- return s.test(t);
26
- }
27
- }
28
- function E(r) {
29
- return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
30
- }
31
- function H(r, t) {
32
- const n = i.toCamelCase(" " + t);
33
- ["get", "set", "has"].forEach((s) => {
34
- Object.defineProperty(r, s + n, {
35
- value: function(e, o, f) {
36
- return this[s].call(this, t, e, o, f);
37
- },
38
- configurable: !0
39
- });
40
- });
41
- }
42
- class b {
43
- constructor(t) {
44
- t && this.set(t);
45
- }
46
- set(t, n, s) {
47
- const e = this;
48
- function o(c, u, a) {
49
- const y = l(u);
50
- if (!y)
51
- throw new Error("header name must be a non-empty string");
52
- const m = i.findKey(e, y);
53
- (!m || e[m] === void 0 || a === !0 || a === void 0 && e[m] !== !1) && (e[m || u] = p(c));
54
- }
55
- const f = (c, u) => i.forEach(c, (a, y) => o(a, y, u));
56
- if (i.isPlainObject(t) || t instanceof this.constructor)
57
- f(t, n);
58
- else if (i.isString(t) && (t = t.trim()) && !A(t))
59
- f(S(t), n);
60
- else if (i.isHeaders(t))
61
- for (const [c, u] of t.entries())
62
- o(u, c, s);
63
- else
64
- t != null && o(n, t, s);
65
- return this;
66
- }
67
- get(t, n) {
68
- if (t = l(t), t) {
69
- const s = i.findKey(this, t);
70
- if (s) {
71
- const e = this[s];
72
- if (!n)
73
- return e;
74
- if (n === !0)
75
- return d(e);
76
- if (i.isFunction(n))
77
- return n.call(this, e, s);
78
- if (i.isRegExp(n))
79
- return n.exec(e);
80
- throw new TypeError("parser must be boolean|regexp|function");
81
- }
82
- }
83
- }
84
- has(t, n) {
85
- if (t = l(t), t) {
86
- const s = i.findKey(this, t);
87
- return !!(s && this[s] !== void 0 && (!n || g(this, this[s], s, n)));
88
- }
89
- return !1;
90
- }
91
- delete(t, n) {
92
- const s = this;
93
- let e = !1;
94
- function o(f) {
95
- if (f = l(f), f) {
96
- const c = i.findKey(s, f);
97
- c && (!n || g(s, s[c], c, n)) && (delete s[c], e = !0);
98
- }
99
- }
100
- return i.isArray(t) ? t.forEach(o) : o(t), e;
101
- }
102
- clear(t) {
103
- const n = Object.keys(this);
104
- let s = n.length, e = !1;
105
- for (; s--; ) {
106
- const o = n[s];
107
- (!t || g(this, this[o], o, t, !0)) && (delete this[o], e = !0);
108
- }
109
- return e;
110
- }
111
- normalize(t) {
112
- const n = this, s = {};
113
- return i.forEach(this, (e, o) => {
114
- const f = i.findKey(s, o);
115
- if (f) {
116
- n[f] = p(e), delete n[o];
117
- return;
118
- }
119
- const c = t ? E(o) : String(o).trim();
120
- c !== o && delete n[o], n[c] = p(e), s[c] = !0;
121
- }), this;
122
- }
123
- concat(...t) {
124
- return this.constructor.concat(this, ...t);
125
- }
126
- toJSON(t) {
127
- const n = /* @__PURE__ */ Object.create(null);
128
- return i.forEach(this, (s, e) => {
129
- s != null && s !== !1 && (n[e] = t && i.isArray(s) ? s.join(", ") : s);
130
- }), n;
131
- }
132
- [Symbol.iterator]() {
133
- return Object.entries(this.toJSON())[Symbol.iterator]();
134
- }
135
- toString() {
136
- return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(`
137
- `);
138
- }
139
- get [Symbol.toStringTag]() {
140
- return "AxiosHeaders";
141
- }
142
- static from(t) {
143
- return t instanceof this ? t : new this(t);
144
- }
145
- static concat(t, ...n) {
146
- const s = new this(t);
147
- return n.forEach((e) => s.set(e)), s;
148
- }
149
- static accessor(t) {
150
- const s = (this[h] = this[h] = {
151
- accessors: {}
152
- }).accessors, e = this.prototype;
153
- function o(f) {
154
- const c = l(f);
155
- s[c] || (H(e, f), s[c] = !0);
156
- }
157
- return i.isArray(t) ? t.forEach(o) : o(t), this;
158
- }
159
- }
160
- b.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
161
- i.reduceDescriptors(b.prototype, ({ value: r }, t) => {
162
- let n = t[0].toUpperCase() + t.slice(1);
163
- return {
164
- get: () => r,
165
- set(s) {
166
- this[n] = s;
167
- }
168
- };
169
- });
170
- i.freezeMethods(b);
171
- export {
172
- b as default
173
- };