y-design-ssr 0.0.33 → 0.0.34

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/libs/list.js CHANGED
@@ -5044,6 +5044,8 @@ var _createNamespace = (0,utils/* createNamespace */.do)('list'),
5044
5044
  }
5045
5045
  });
5046
5046
  return function () {
5047
+ var _slots$loading;
5048
+
5047
5049
  return (0,external_vue_.createVNode)("div", {
5048
5050
  "ref": listRef,
5049
5051
  "class": "".concat(bem(), " ").concat(props.virtual ? bem({
@@ -5076,7 +5078,7 @@ var _createNamespace = (0,utils/* createNamespace */.do)('list'),
5076
5078
  "class": bem({
5077
5079
  loading: true
5078
5080
  })
5079
- }, [props.loadingText]), stateRef.value === 'finished' && (0,external_vue_.createVNode)("div", {
5081
+ }, [((_slots$loading = slots.loading) === null || _slots$loading === void 0 ? void 0 : _slots$loading.call(slots)) || props.loadingText]), stateRef.value === 'finished' && (0,external_vue_.createVNode)("div", {
5080
5082
  "class": bem({
5081
5083
  finished: true
5082
5084
  })
package/libs/yui.js CHANGED
@@ -4053,6 +4053,8 @@ var _createNamespace = (0,utils/* createNamespace */.do)('list'),
4053
4053
  }
4054
4054
  });
4055
4055
  return function () {
4056
+ var _slots$loading;
4057
+
4056
4058
  return (0,external_vue_.createVNode)("div", {
4057
4059
  "ref": listRef,
4058
4060
  "class": "".concat(bem(), " ").concat(props.virtual ? bem({
@@ -4085,7 +4087,7 @@ var _createNamespace = (0,utils/* createNamespace */.do)('list'),
4085
4087
  "class": bem({
4086
4088
  loading: true
4087
4089
  })
4088
- }, [props.loadingText]), stateRef.value === 'finished' && (0,external_vue_.createVNode)("div", {
4090
+ }, [((_slots$loading = slots.loading) === null || _slots$loading === void 0 ? void 0 : _slots$loading.call(slots)) || props.loadingText]), stateRef.value === 'finished' && (0,external_vue_.createVNode)("div", {
4089
4091
  "class": bem({
4090
4092
  finished: true
4091
4093
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y-design-ssr",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "SSR component library of YUI with Vue3",
5
5
  "author": "yux-fe",
6
6
  "license": "MIT",