@fangzhongya/fang-ui 0.1.40 → 0.1.41

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.
@@ -279,16 +279,16 @@ function useSetSlot(obj, data, slots, options, emit, index, scope) {
279
279
  if (slotname) {
280
280
  const slot = slots[slotname];
281
281
  if (slot) {
282
- const value = vue.computed({
282
+ let value = (scope == null ? void 0 : scope.value) ?? vue.computed({
283
283
  get() {
284
284
  return getValue(obj, data, index);
285
285
  },
286
- set(value2) {
287
- setValue(value2, obj, data);
286
+ set(v) {
287
+ setValue(v, obj, data);
288
288
  }
289
289
  });
290
290
  const componObj = getComponObj(
291
- value.value,
291
+ value == null ? void 0 : value.value,
292
292
  obj,
293
293
  data,
294
294
  options,
@@ -277,16 +277,16 @@ function useSetSlot(obj, data, slots, options, emit, index, scope) {
277
277
  if (slotname) {
278
278
  const slot = slots[slotname];
279
279
  if (slot) {
280
- const value = computed({
280
+ let value = (scope == null ? void 0 : scope.value) ?? computed({
281
281
  get() {
282
282
  return getValue(obj, data, index);
283
283
  },
284
- set(value2) {
285
- setValue(value2, obj, data);
284
+ set(v) {
285
+ setValue(v, obj, data);
286
286
  }
287
287
  });
288
288
  const componObj = getComponObj(
289
- value.value,
289
+ value == null ? void 0 : value.value,
290
290
  obj,
291
291
  data,
292
292
  options,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1764388705761,
4
+ "lastModified": 1764397468025,
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.40",
4
+ "version": "0.1.41",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -53,11 +53,11 @@
53
53
  "@fang-ui/components": "0.0.1-0",
54
54
  "@fang-ui/directives": "0.0.1-0",
55
55
  "@fang-ui/hooks": "0.0.1-0",
56
- "@fang-ui/icons": "0.0.1-0",
57
56
  "@fang-ui/locale": "0.0.1-0",
57
+ "@fang-ui/utils": "0.0.1-0",
58
58
  "@fang-ui/theme": "0.0.1-0",
59
59
  "@fang-ui/types": "0.0.1-0",
60
- "@fang-ui/utils": "0.0.1-0"
60
+ "@fang-ui/icons": "0.0.1-0"
61
61
  },
62
62
  "main": "./dist/index.cjs",
63
63
  "module": "./dist/index.js",
File without changes