@fangzhongya/fang-ui 0.1.84 → 0.1.85

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.
@@ -49,6 +49,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
49
49
  emit("update:modelValue", v);
50
50
  }
51
51
  });
52
+ const onBlur = () => {
53
+ emit("blur");
54
+ };
52
55
  return (_ctx, _cache) => {
53
56
  return vue.openBlock(), vue.createElementBlock("div", {
54
57
  class: vue.normalizeClass(vue.unref(cs).z("other"))
@@ -58,7 +61,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
58
61
  modelValue: value.value,
59
62
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
60
63
  title: "自定义设置",
61
- type: "other"
64
+ type: "other",
65
+ onBlur
62
66
  }), null, 16, ["modelValue"])
63
67
  ], 2);
64
68
  };
@@ -47,6 +47,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  emit("update:modelValue", v);
48
48
  }
49
49
  });
50
+ const onBlur = () => {
51
+ emit("blur");
52
+ };
50
53
  return (_ctx, _cache) => {
51
54
  return openBlock(), createElementBlock("div", {
52
55
  class: normalizeClass(unref(cs).z("other"))
@@ -56,7 +59,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
56
59
  modelValue: value.value,
57
60
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
58
61
  title: "自定义设置",
59
- type: "other"
62
+ type: "other",
63
+ onBlur
60
64
  }), null, 16, ["modelValue"])
61
65
  ], 2);
62
66
  };
@@ -141,6 +141,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
141
141
  const t = type.value;
142
142
  return obj[t] || other_vue_vue_type_script_setup_true_lang.default;
143
143
  });
144
+ const onBlur = () => {
145
+ emit("blur");
146
+ };
144
147
  __expose({
145
148
  ...data.dataExpose,
146
149
  getType
@@ -154,7 +157,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
154
157
  types: typeobjs.value,
155
158
  type: type.value,
156
159
  modelValue: value.value,
157
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
160
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
161
+ onBlur
158
162
  }), null, 16, ["types", "type", "modelValue"]))
159
163
  ], 10, _hoisted_1);
160
164
  };
@@ -139,6 +139,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
139
  const t = type.value;
140
140
  return obj[t] || _sfc_main$3;
141
141
  });
142
+ const onBlur = () => {
143
+ emit("blur");
144
+ };
142
145
  __expose({
143
146
  ...dataExpose,
144
147
  getType
@@ -152,7 +155,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
155
  types: typeobjs.value,
153
156
  type: type.value,
154
157
  modelValue: value.value,
155
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
158
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
159
+ onBlur
156
160
  }), null, 16, ["types", "type", "modelValue"]))
157
161
  ], 10, _hoisted_1);
158
162
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1770606686984,
4
+ "lastModified": 1770607889534,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.84",
4
+ "version": "0.1.85",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -57,8 +57,8 @@
57
57
  "@fang-ui/directives": "0.0.1-0",
58
58
  "@fang-ui/locale": "0.0.1-0",
59
59
  "@fang-ui/theme": "0.0.1-0",
60
- "@fang-ui/types": "0.0.1-0",
61
- "@fang-ui/utils": "0.0.1-0"
60
+ "@fang-ui/utils": "0.0.1-0",
61
+ "@fang-ui/types": "0.0.1-0"
62
62
  },
63
63
  "main": "./dist/index.cjs",
64
64
  "module": "./dist/index.js",
File without changes