@shaonq/vue 1.1.14 → 1.1.15

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 (3) hide show
  1. package/lib/index.d.ts +45 -2
  2. package/lib/index.js +430 -424
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3,9 +3,11 @@ import { Button } from '@arco-design/web-vue';
3
3
  import { Component } from 'vue';
4
4
  import { ComponentOptionsMixin } from 'vue';
5
5
  import { ComponentProvideOptions } from 'vue';
6
+ import { ComputedOptions } from 'vue';
6
7
  import { DefineComponent } from 'vue';
7
8
  import { ExtractPropTypes } from 'vue';
8
9
  import { FormItem } from '@arco-design/web-vue';
10
+ import { MethodOptions } from 'vue';
9
11
  import { Modal } from '@arco-design/web-vue';
10
12
  import { ModalConfig } from '@arco-design/web-vue';
11
13
  import { ModalMethod } from '@arco-design/web-vue';
@@ -173,6 +175,12 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
173
175
  };
174
176
  };
175
177
 
178
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
179
+ new (): {
180
+ $slots: S;
181
+ };
182
+ };
183
+
176
184
  declare type ButtonInstance = InstanceType<typeof Button>;
177
185
 
178
186
  /** 组件属性处理函数签名 */
@@ -930,6 +938,12 @@ export declare type OrcFormItem = {
930
938
  note?: string;
931
939
  };
932
940
 
941
+ export declare const OrcFormLayer: Component<any, any, any, ComputedOptions, MethodOptions, {}, any>;
942
+
943
+ export declare const OrcFormSpace: __VLS_WithTemplateSlots_7< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
944
+ default?(_: {}): any;
945
+ }>;
946
+
933
947
  /**
934
948
  * 表单提交数据结构
935
949
  */
@@ -945,6 +959,8 @@ export declare type OrcFormSubmit = {
945
959
  };
946
960
  };
947
961
 
962
+ export declare const OrcFormTable: Component<any, any, any, ComputedOptions, MethodOptions, {}, any>;
963
+
948
964
  declare type OrcFormUtil = {
949
965
  /**
950
966
  * 获取/查询选项数据
@@ -995,7 +1011,7 @@ export declare const OrcHiddenView: __VLS_WithTemplateSlots_2< DefineComponent<E
995
1011
  default?(_: {}): any;
996
1012
  }>;
997
1013
 
998
- export declare const OrcHiPrint: __VLS_WithTemplateSlots_7< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<Props_3>, {
1014
+ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<Props_3>, {
999
1015
  template: undefined;
1000
1016
  fields: undefined;
1001
1017
  printData: undefined;
@@ -1093,7 +1109,34 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_7< DefineComponent<Extr
1093
1109
  printData: Record<string, any>;
1094
1110
  fields: FieldOption[];
1095
1111
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
1096
- toolbar?(_: {}): any;
1112
+ "toolbar-left"?(_: {
1113
+ tools: {
1114
+ clearPaper(): void;
1115
+ toPdf(printData: any, pdfName?: string): void;
1116
+ toPrint(printData: any): void;
1117
+ updateJson(str: string): void;
1118
+ exportJson(): string;
1119
+ setElsAlign(type?: "bottom" | "left" | "right" | "top" | "horizontal" | "vertical" | "distributeHor" | "distributeVer" | undefined): void;
1120
+ setElsSpace(h?: boolean): void;
1121
+ setEleSelectByField(): void;
1122
+ getSelectEls(): any[];
1123
+ updateOption<T>(key: string, value: T): void;
1124
+ };
1125
+ }): any;
1126
+ "toolbar-right"?(_: {
1127
+ tools: {
1128
+ clearPaper(): void;
1129
+ toPdf(printData: any, pdfName?: string): void;
1130
+ toPrint(printData: any): void;
1131
+ updateJson(str: string): void;
1132
+ exportJson(): string;
1133
+ setElsAlign(type?: "bottom" | "left" | "right" | "top" | "horizontal" | "vertical" | "distributeHor" | "distributeVer" | undefined): void;
1134
+ setElsSpace(h?: boolean): void;
1135
+ setEleSelectByField(): void;
1136
+ getSelectEls(): any[];
1137
+ updateOption<T>(key: string, value: T): void;
1138
+ };
1139
+ }): any;
1097
1140
  }>;
1098
1141
 
1099
1142
  export declare interface OrcHiPrintData extends Record<string, any> {