cosey 0.3.13 → 0.3.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.
@@ -137,6 +137,7 @@ export interface FormSlots {
137
137
  export interface FormEmits extends /* @vue-ignore */ EmitFn<ElFormEmits> {
138
138
  }
139
139
  export interface FormExpose {
140
+ reset: () => void;
140
141
  submit: () => Promise<any>;
141
142
  validate: (callback?: FormValidateCallback) => FormValidationResult;
142
143
  validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
@@ -120,6 +120,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
120
120
  };
121
121
  disabled: BooleanConstructor;
122
122
  }>, {
123
+ reset: () => void;
123
124
  submit: () => Promise<any>;
124
125
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
125
126
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -126,6 +126,7 @@ declare const _Form: {
126
126
  }>> & Readonly<{
127
127
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
128
128
  }>, {
129
+ reset: () => void;
129
130
  submit: () => Promise<any>;
130
131
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
131
132
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -284,6 +285,7 @@ declare const _Form: {
284
285
  }>> & Readonly<{
285
286
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
286
287
  }>, {
288
+ reset: () => void;
287
289
  submit: () => Promise<any>;
288
290
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
289
291
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -437,6 +439,7 @@ declare const _Form: {
437
439
  }>> & Readonly<{
438
440
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
439
441
  }>, {
442
+ reset: () => void;
440
443
  submit: () => Promise<any>;
441
444
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
442
445
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -136,6 +136,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
136
136
  };
137
137
  disabled: BooleanConstructor;
138
138
  }>, {
139
+ reset: () => void;
139
140
  submit: () => Promise<any>;
140
141
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
141
142
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -139,6 +139,7 @@ declare const _FormQuery: {
139
139
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
140
140
  "onUpdate:collapsed"?: ((val: boolean) => any) | undefined;
141
141
  }>, {
142
+ reset: () => void;
142
143
  submit: () => Promise<any>;
143
144
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
144
145
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -318,6 +319,7 @@ declare const _FormQuery: {
318
319
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
319
320
  "onUpdate:collapsed"?: ((val: boolean) => any) | undefined;
320
321
  }>, {
322
+ reset: () => void;
321
323
  submit: () => Promise<any>;
322
324
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
323
325
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -491,6 +493,7 @@ declare const _FormQuery: {
491
493
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
492
494
  "onUpdate:collapsed"?: ((val: boolean) => any) | undefined;
493
495
  }>, {
496
+ reset: () => void;
494
497
  submit: () => Promise<any>;
495
498
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
496
499
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -273,6 +273,7 @@ declare const _Table: {
273
273
  collapseAll: () => void;
274
274
  getFetchParams: () => Record<string, any>;
275
275
  getFullFetchParams: () => Record<string, any>;
276
+ reset: () => void;
276
277
  submit: () => Promise<any>;
277
278
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
278
279
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -599,6 +600,7 @@ declare const _Table: {
599
600
  collapseAll: () => void;
600
601
  getFetchParams: () => Record<string, any>;
601
602
  getFullFetchParams: () => Record<string, any>;
603
+ reset: () => void;
602
604
  submit: () => Promise<any>;
603
605
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
604
606
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -783,6 +785,7 @@ declare const _Table: {
783
785
  collapseAll: () => void;
784
786
  getFetchParams: () => Record<string, any>;
785
787
  getFullFetchParams: () => Record<string, any>;
788
+ reset: () => void;
786
789
  submit: () => Promise<any>;
787
790
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
788
791
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -140,6 +140,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
140
140
  };
141
141
  disabled: BooleanConstructor;
142
142
  }>, {
143
+ reset: () => void;
143
144
  submit: () => Promise<any>;
144
145
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
145
146
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -150,6 +150,7 @@ export interface TableSlots {
150
150
  'toolbar-left'?: (props: Record<string, never>) => any;
151
151
  'toolbar-right'?: (props: Record<string, never>) => any;
152
152
  'before-table'?: (props: Record<string, never>) => any;
153
+ 'stats-table'?: (props: Record<string, never>) => any;
153
154
  }
154
155
  export declare const elSlotsName: readonly ["default", "append", "empty"];
155
156
  export interface TableCustomExpose {
@@ -133,6 +133,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
133
133
  collapseAll: () => void;
134
134
  getFetchParams: () => Record<string, any>;
135
135
  getFullFetchParams: () => Record<string, any>;
136
+ reset: () => void;
136
137
  submit: () => Promise<any>;
137
138
  validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
138
139
  validateField: (props?: import("@vueuse/core").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
@@ -1,4 +1,4 @@
1
- import { defineComponent, useSlots, unref, computed, ref, useTemplateRef, mergeProps, watch, onMounted, onBeforeUnmount, resolveComponent, resolveDirective, withDirectives, createElementBlock, openBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, createVNode, createBlock, renderSlot, withCtx, createSlots, Fragment, renderList, Teleport, vShow, normalizeProps, guardReactiveProps } from 'vue';
1
+ import { defineComponent, useSlots, unref, computed, ref, useTemplateRef, mergeProps, watch, onMounted, onBeforeUnmount, resolveComponent, resolveDirective, withDirectives, createElementBlock, openBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, createVNode, renderSlot, createBlock, withCtx, createSlots, Fragment, renderList, Teleport, vShow, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { merge, cloneDeep, get } from 'lodash-es';
3
3
  import { reactiveComputed, reactiveOmit } from '@vueuse/core';
4
4
  import { useNamespace, useZIndex, ElButton, Mousewheel } from 'element-plus';
@@ -476,7 +476,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
476
476
  key: 1,
477
477
  class: normalizeClass(`${unref(prefixCls)}-before-table`)
478
478
  }, [renderSlot(_ctx.$slots, "before-table")], 2
479
- /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
479
+ /* CLASS */)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "stats-table"), createElementVNode("div", {
480
480
  class: normalizeClass(`${unref(prefixCls)}-table`)
481
481
  }, [createVNode(_component_el_table, mergeProps({
482
482
  ref_key: "elTableRef",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",