@creatorsn/vfluent3 0.3.78 → 0.3.80

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.
@@ -38,7 +38,7 @@ export declare const FvTabView: import("../../types/plugins/component-plugin").C
38
38
  readonly styleMode?: string | undefined;
39
39
  readonly overflowMode?: string | undefined;
40
40
  };
41
- $emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
41
+ $emit: (event: "add" | "change" | "click" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
42
42
  }, {
43
43
  thisItems: never[];
44
44
  thisValue: null;
@@ -139,7 +139,7 @@ export declare const FvTabView: import("../../types/plugins/component-plugin").C
139
139
  readonly styleMode?: string | undefined;
140
140
  readonly overflowMode?: string | undefined;
141
141
  };
142
- $emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
142
+ $emit: (event: "add" | "change" | "click" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
143
143
  }, {
144
144
  thisItems: never[];
145
145
  thisValue: null;
@@ -237,7 +237,7 @@ export declare const FvTabView: import("../../types/plugins/component-plugin").C
237
237
  readonly styleMode?: string | undefined;
238
238
  readonly overflowMode?: string | undefined;
239
239
  };
240
- $emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
240
+ $emit: (event: "add" | "change" | "click" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
241
241
  }, {
242
242
  thisItems: never[];
243
243
  thisValue: null;
@@ -37,7 +37,7 @@ declare const _default: {
37
37
  readonly styleMode?: string | undefined;
38
38
  readonly overflowMode?: string | undefined;
39
39
  };
40
- $emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
40
+ $emit: (event: "add" | "change" | "click" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
41
41
  }, {
42
42
  thisItems: never[];
43
43
  thisValue: null;
@@ -138,7 +138,7 @@ declare const _default: {
138
138
  readonly styleMode?: string | undefined;
139
139
  readonly overflowMode?: string | undefined;
140
140
  };
141
- $emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
141
+ $emit: (event: "add" | "change" | "click" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
142
142
  }, {
143
143
  thisItems: never[];
144
144
  thisValue: null;
@@ -236,7 +236,7 @@ declare const _default: {
236
236
  readonly styleMode?: string | undefined;
237
237
  readonly overflowMode?: string | undefined;
238
238
  };
239
- $emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
239
+ $emit: (event: "add" | "change" | "click" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
240
240
  }, {
241
241
  thisItems: never[];
242
242
  thisValue: null;
package/dist/vfluent3.js CHANGED
@@ -18825,7 +18825,7 @@ const ub = { class: "tab-view-wrapper" }, hb = { class: "tab-view-container" },
18825
18825
  return !e || !i ? !1 : e.key !== void 0 && i.key !== void 0 ? e.key === i.key : this.itemTitle(e) === this.itemTitle(i);
18826
18826
  },
18827
18827
  itemClick(e) {
18828
- this.isDisabled || !this.valueTrigger(e.show) || this.valueTrigger(e.disabled) || (this.thisValue = e);
18828
+ this.isDisabled || !this.valueTrigger(e.show) || this.valueTrigger(e.disabled) || (this.thisValue = e, this.$emit("click", e));
18829
18829
  },
18830
18830
  tabDraggable(e) {
18831
18831
  return this.draggable && !this.isDisabled && !this.valueTrigger(e.disabled) && this.valueTrigger(e.draggable) !== !1;
@@ -19051,6 +19051,7 @@ const pb = Object.assign(gb, {
19051
19051
  "update:modelValue",
19052
19052
  "update:items",
19053
19053
  "change",
19054
+ "click",
19054
19055
  "add",
19055
19056
  "reorder",
19056
19057
  "close"