zzz-pc-view 0.0.31 → 0.0.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zzz-pc-view",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
@@ -548,6 +548,12 @@ export declare abstract class CurdHandler<T extends object = object, P extends P
548
548
  * @returns {boolean} - 导出数据请求的加载状态,true 表示正在加载,false 表示加载完成。
549
549
  */
550
550
  get exportLoadStatus(): boolean;
551
+ /**
552
+ * 执行数据导出操作。
553
+ * 此方法通过 `exportRequestUtil` 发起导出请求,处理请求结果并记录错误信息。
554
+ *
555
+ * @returns {Promise<any>} 一个 Promise,代表导出请求的结果。
556
+ */
551
557
  export(): Promise<void>;
552
558
  /**
553
559
  * 创建一个浅引用,用于存储当前步骤的索引。
package/src/index.es.js CHANGED
@@ -4008,6 +4008,12 @@ class CurdHandler extends FilterHandler {
4008
4008
  get exportLoadStatus() {
4009
4009
  return this.exportRequestUtil.loadStatus;
4010
4010
  }
4011
+ /**
4012
+ * 执行数据导出操作。
4013
+ * 此方法通过 `exportRequestUtil` 发起导出请求,处理请求结果并记录错误信息。
4014
+ *
4015
+ * @returns {Promise<any>} 一个 Promise,代表导出请求的结果。
4016
+ */
4011
4017
  export() {
4012
4018
  return this.exportRequestUtil.requestData(this.api.export(this.query)).then(fn).catch(console.error).finally(() => {
4013
4019
  });
@@ -1,9 +1,10 @@
1
+ import { ZUtils } from '../../../index-decorators';
1
2
  import { BaseOptionViewProps, ModelValueEmit } from '../utils';
2
3
  declare const _default: <T extends object = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
5
  readonly onChange?: ((value: any) => any) | undefined;
5
6
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<any, object>> & import('vue').PublicProps;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<ZUtils.KeyValType, T>> & import('vue').PublicProps;
7
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
9
  attrs: any;
9
10
  slots: {};
@@ -1,9 +1,10 @@
1
+ import { ZUtils } from '../../../index-decorators';
1
2
  import { BaseOptionViewProps, ModelValueEmit } from '../utils';
2
3
  declare const _default: <T extends object = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
5
  readonly onChange?: ((value: any) => any) | undefined;
5
6
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<any, object>> & import('vue').PublicProps;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<ZUtils.KeyValType, T>> & import('vue').PublicProps;
7
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
9
  attrs: any;
9
10
  slots: {};
@@ -1,9 +1,10 @@
1
+ import { ZUtils } from '../../../index-decorators';
1
2
  import { BaseOptionViewProps, ModelValueEmit } from '../utils';
2
3
  declare const _default: <T extends object = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
5
  readonly onChange?: ((value: any) => any) | undefined;
5
6
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<any, object>> & import('vue').PublicProps;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<ZUtils.KeyValType, T>> & import('vue').PublicProps;
7
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
9
  attrs: any;
9
10
  slots: {};
@@ -1,9 +1,10 @@
1
+ import { ZUtils } from '../../../index-decorators';
1
2
  import { BaseOptionViewProps, ModelValueEmit } from '../utils';
2
3
  declare const _default: <T extends object = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
5
  readonly onChange?: ((value: any) => any) | undefined;
5
6
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<any, object>> & import('vue').PublicProps;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & Partial<{}> & BaseOptionViewProps<ZUtils.KeyValType, T>> & import('vue').PublicProps;
7
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
9
  attrs: any;
9
10
  slots: {};