advanced-ele-ui 0.1.8 → 0.1.9

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/dist/index.d.ts CHANGED
@@ -465,23 +465,23 @@ export declare interface ComponentEvent {
465
465
  * 值发生变化时触发
466
466
  * @notes 适用于`Select` `Input` 等组件
467
467
  */
468
- onChange?: ComponentEventFn<[any]>;
468
+ onChange?: ComponentEventFn<any>;
469
469
  /**
470
470
  * 在点击由 `clearable` 属性生成的清空按钮时触发
471
471
  * @notes 适用于`Select` `Input` 等组件
472
472
  */
473
- onClear?: ComponentEventFn<[void]>;
473
+ onClear?: ComponentEventFn<void>;
474
474
  /**
475
475
  * 输入框失去焦点时触发
476
476
  * @notes 适用于`Select` `Input` 等组件
477
477
  */
478
- onBlur?: ComponentEventFn<[FocusEvent]>;
478
+ onBlur?: ComponentEventFn<FocusEvent>;
479
479
  /**
480
480
  * 输入框获得焦点时触发
481
481
  * @notes 适用于`Select` `Input` 等组件
482
482
  */
483
- onFocus?: ComponentEventFn<[FocusEvent]>;
484
- [key: string]: ComponentEventFn<any[]>;
483
+ onFocus?: ComponentEventFn<FocusEvent>;
484
+ [key: string]: ComponentEventFn<any>;
485
485
  }
486
486
 
487
487
  /**
@@ -493,7 +493,7 @@ export declare interface ComponentEvent {
493
493
  * @param disabled - 表单自身是否禁用
494
494
  * @param excontext - 表单数据源上下文
495
495
  */
496
- export declare type ComponentEventFn<T extends any[] = any[]> = (...args: [...T, Recordable, FormSchema, boolean, Recordable]) => void;
496
+ export declare type ComponentEventFn<T extends any> = (event: T, form: Recordable, column: FormSchema, disabled: boolean, excontext: Recordable) => void;
497
497
 
498
498
  export declare type ComponentName = ContainerName | DecoratorName | InputerName | string;
499
499
 
@@ -693,10 +693,10 @@ export declare type DeepPartial<T> = {
693
693
  declare const _default: {
694
694
  install: (app: App, options?: InstallOptions) => void;
695
695
  version: string;
696
- buildVersion: "dev-20260105-1031";
696
+ buildVersion: "dev-20260105-1629";
697
697
  versionInfo: {
698
698
  readonly version: "0.1.8";
699
- readonly buildVersion: "dev-20260105-1031";
699
+ readonly buildVersion: "dev-20260105-1629";
700
700
  readonly buildTime: string;
701
701
  readonly env: string;
702
702
  };
@@ -2262,7 +2262,7 @@ export declare function getCurrentLocale(): Language;
2262
2262
  */
2263
2263
  export declare function getVersionInfo(): {
2264
2264
  readonly version: "0.1.8";
2265
- readonly buildVersion: "dev-20260105-1031";
2265
+ readonly buildVersion: "dev-20260105-1629";
2266
2266
  readonly buildTime: string;
2267
2267
  readonly env: string;
2268
2268
  };
@@ -3218,7 +3218,11 @@ export declare interface TableEmits {
3218
3218
  (e: 'current-change', currentRow: any): void;
3219
3219
  (e: 'row-click', row: Recordable): void;
3220
3220
  (e: 'value-click', key: string, row: Recordable): void;
3221
- (e: 'action', name: string, row: Recordable): void;
3221
+ (e: 'action', event: {
3222
+ name: string;
3223
+ row: Recordable;
3224
+ index: number;
3225
+ }): void;
3222
3226
  }
3223
3227
 
3224
3228
  /**
@@ -3579,7 +3583,7 @@ export declare type Useful = 'read' | 'edit';
3579
3583
  */
3580
3584
  export declare const VERSION_INFO: {
3581
3585
  readonly version: "0.1.8";
3582
- readonly buildVersion: "dev-20260105-1031";
3586
+ readonly buildVersion: "dev-20260105-1629";
3583
3587
  readonly buildTime: string;
3584
3588
  readonly env: string;
3585
3589
  };
package/dist/index.js CHANGED
@@ -535,7 +535,7 @@ function KT(e, t, n, r, i, o, a) {
535
535
  return a;
536
536
  }
537
537
  function QT(e, t, n, r, i) {
538
- return typeof e == "function" ? (...o) => e(...o, t, n, r, i) : () => {
538
+ return typeof e == "function" ? (o) => e(o, t, n, r, i) : () => {
539
539
  };
540
540
  }
541
541
  function Mn(e, t = "default", n) {
@@ -4773,7 +4773,11 @@ function oR(e, t) {
4773
4773
  props: o,
4774
4774
  emit: a
4775
4775
  } = e, s = (c, d) => {
4776
- a("action", c, n);
4776
+ a("action", {
4777
+ name: c,
4778
+ row: n,
4779
+ index: r
4780
+ });
4777
4781
  try {
4778
4782
  d == null || d(n, r, i, o.form, o.excontext, o.editable);
4779
4783
  } catch (u) {
@@ -89026,7 +89030,7 @@ const xz = /* @__PURE__ */ be({
89026
89030
  // npm 版本
89027
89031
  version: "0.1.8",
89028
89032
  // 构建版本(内部测试用)
89029
- buildVersion: "dev-20260105-1031",
89033
+ buildVersion: "dev-20260105-1629",
89030
89034
  // 构建时间
89031
89035
  buildTime: (/* @__PURE__ */ new Date()).toISOString(),
89032
89036
  // 环境标识
@@ -89056,7 +89060,7 @@ const Qz = (e, t) => {
89056
89060
  }), t != null && t.formImports && Js.registerComponents(t.formImports), t != null && t.tableImports && el.registerComponents(t.tableImports);
89057
89061
  }, c7 = {
89058
89062
  install: Qz,
89059
- version: "0.1.8",
89063
+ version: "0.1.9",
89060
89064
  buildVersion: mc.buildVersion,
89061
89065
  versionInfo: mc
89062
89066
  };