@blueking/ediatable 0.0.1-beta.25 → 0.0.1-beta.26

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": "@blueking/ediatable",
3
- "version": "0.0.1-beta.25",
3
+ "version": "0.0.1-beta.26",
4
4
  "description": "蓝鲸 Ediatable",
5
5
  "keywords": [
6
6
  "ediatable",
@@ -36,6 +36,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
36
36
  submit: (value: string | number) => void;
37
37
  error: (result: boolean) => void;
38
38
  clear: () => void;
39
+ focus: () => void;
39
40
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
40
41
  placeholder: string;
41
42
  rules: undefined;
@@ -47,6 +48,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
47
48
  precision: number;
48
49
  clearable: boolean;
49
50
  }>>> & {
51
+ onFocus?: (() => any) | undefined;
50
52
  onSubmit?: ((value: string | number) => any) | undefined;
51
53
  onError?: ((result: boolean) => any) | undefined;
52
54
  "onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
@@ -42180,7 +42180,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
42180
42180
  },
42181
42181
  "modelModifiers": {}
42182
42182
  }),
42183
- emits: /* @__PURE__ */ mergeModels(["submit", "error", "clear"], ["update:modelValue"]),
42183
+ emits: /* @__PURE__ */ mergeModels(["submit", "error", "clear", "focus"], ["update:modelValue"]),
42184
42184
  setup(__props, { expose: __expose, emit: __emit }) {
42185
42185
  const props2 = __props;
42186
42186
  const emits = __emit;
@@ -42193,6 +42193,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
42193
42193
  const { message: errorMessage, validator: validator11 } = useValidtor(props2.rules);
42194
42194
  const handleFocus = () => {
42195
42195
  isBlur.value = false;
42196
+ emits("focus");
42196
42197
  };
42197
42198
  const handleChange = (value) => {
42198
42199
  isBlur.value = true;
@@ -49047,7 +49047,7 @@ ${$(r2)}`), n2;
49047
49047
  },
49048
49048
  "modelModifiers": {}
49049
49049
  }),
49050
- emits: /* @__PURE__ */ mergeModels(["submit", "error", "clear"], ["update:modelValue"]),
49050
+ emits: /* @__PURE__ */ mergeModels(["submit", "error", "clear", "focus"], ["update:modelValue"]),
49051
49051
  setup(__props, { expose: __expose, emit: __emit }) {
49052
49052
  const props2 = __props;
49053
49053
  const emits = __emit;
@@ -49060,6 +49060,7 @@ ${$(r2)}`), n2;
49060
49060
  const { message: errorMessage, validator } = useValidtor(props2.rules);
49061
49061
  const handleFocus = () => {
49062
49062
  isBlur.value = false;
49063
+ emits("focus");
49063
49064
  };
49064
49065
  const handleChange = (value) => {
49065
49066
  isBlur.value = true;
@@ -42202,7 +42202,7 @@ ${$(r2)}`), n2;
42202
42202
  },
42203
42203
  "modelModifiers": {}
42204
42204
  }),
42205
- emits: /* @__PURE__ */ __WEBPACK_EXTERNAL_MODULE_vue__.mergeModels(["submit", "error", "clear"], ["update:modelValue"]),
42205
+ emits: /* @__PURE__ */ __WEBPACK_EXTERNAL_MODULE_vue__.mergeModels(["submit", "error", "clear", "focus"], ["update:modelValue"]),
42206
42206
  setup(__props, { expose: __expose, emit: __emit }) {
42207
42207
  const props2 = __props;
42208
42208
  const emits = __emit;
@@ -42215,6 +42215,7 @@ ${$(r2)}`), n2;
42215
42215
  const { message: errorMessage, validator } = useValidtor(props2.rules);
42216
42216
  const handleFocus = () => {
42217
42217
  isBlur.value = false;
42218
+ emits("focus");
42218
42219
  };
42219
42220
  const handleChange = (value) => {
42220
42221
  isBlur.value = true;
@@ -8822,7 +8822,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8822
8822
  },
8823
8823
  "modelModifiers": {}
8824
8824
  }),
8825
- emits: /* @__PURE__ */ mergeModels(["submit", "error", "clear"], ["update:modelValue"]),
8825
+ emits: /* @__PURE__ */ mergeModels(["submit", "error", "clear", "focus"], ["update:modelValue"]),
8826
8826
  setup(__props, { expose: __expose, emit: __emit }) {
8827
8827
  const props = __props;
8828
8828
  const emits = __emit;
@@ -8835,6 +8835,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8835
8835
  const { message: errorMessage, validator } = useValidtor(props.rules);
8836
8836
  const handleFocus = () => {
8837
8837
  isBlur.value = false;
8838
+ emits("focus");
8838
8839
  };
8839
8840
  const handleChange = (value) => {
8840
8841
  isBlur.value = true;
@@ -42209,7 +42209,7 @@ ${$(r2)}`), n2;
42209
42209
  },
42210
42210
  "modelModifiers": {}
42211
42211
  }),
42212
- emits: /* @__PURE__ */ __WEBPACK_EXTERNAL_MODULE_vue__.mergeModels(["submit", "error", "clear"], ["update:modelValue"]),
42212
+ emits: /* @__PURE__ */ __WEBPACK_EXTERNAL_MODULE_vue__.mergeModels(["submit", "error", "clear", "focus"], ["update:modelValue"]),
42213
42213
  setup(__props, { expose: __expose, emit: __emit }) {
42214
42214
  const props2 = __props;
42215
42215
  const emits = __emit;
@@ -42222,6 +42222,7 @@ ${$(r2)}`), n2;
42222
42222
  const { message: errorMessage, validator } = useValidtor(props2.rules);
42223
42223
  const handleFocus = () => {
42224
42224
  isBlur.value = false;
42225
+ emits("focus");
42225
42226
  };
42226
42227
  const handleChange = (value) => {
42227
42228
  isBlur.value = true;
@@ -9363,7 +9363,7 @@ url("data:application/vnd.ms-fontobject;base64,cAkAAMgIAAABAAIAAAAAAAIABQMAAAAAA
9363
9363
  },
9364
9364
  "modelModifiers": {}
9365
9365
  }),
9366
- emits: /* @__PURE__ */ vue.mergeModels(["submit", "error", "clear"], ["update:modelValue"]),
9366
+ emits: /* @__PURE__ */ vue.mergeModels(["submit", "error", "clear", "focus"], ["update:modelValue"]),
9367
9367
  setup(__props, { expose: __expose, emit: __emit }) {
9368
9368
  const props = __props;
9369
9369
  const emits = __emit;
@@ -9376,6 +9376,7 @@ url("data:application/vnd.ms-fontobject;base64,cAkAAMgIAAABAAIAAAAAAAIABQMAAAAAA
9376
9376
  const { message: errorMessage, validator } = useValidtor(props.rules);
9377
9377
  const handleFocus = () => {
9378
9378
  isBlur.value = false;
9379
+ emits("focus");
9379
9380
  };
9380
9381
  const handleChange = (value) => {
9381
9382
  isBlur.value = true;