y-design-ssr 0.0.32 → 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/dialog.js CHANGED
@@ -1238,7 +1238,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
1238
1238
  * @Author: ruan fei
1239
1239
  * @Date: 2021-05-17 13:31:08
1240
1240
  * @LastEditors: ruan fei
1241
- * @LastEditTime: 2022-08-16 14:38:01
1241
+ * @LastEditTime: 2022-10-17 11:21:59
1242
1242
  * @FilePath: /yui-vue/packages/popup/src/popup.tsx
1243
1243
  */
1244
1244
 
@@ -1301,6 +1301,10 @@ var _props = {
1301
1301
  lockScroll: {
1302
1302
  type: Boolean,
1303
1303
  default: true
1304
+ },
1305
+ zIndex: {
1306
+ type: Number,
1307
+ default: 101
1304
1308
  }
1305
1309
  };
1306
1310
  /* harmony default export */ var popup = ((0,external_vue_.defineComponent)({
@@ -1366,13 +1370,17 @@ var _props = {
1366
1370
  customClass = props.customClass,
1367
1371
  duration = props.duration,
1368
1372
  onAfterLeave = props.onAfterLeave,
1369
- lockScroll = props.lockScroll;
1373
+ lockScroll = props.lockScroll,
1374
+ zIndex = props.zIndex;
1370
1375
  return (0,external_vue_.createVNode)(external_vue_.Teleport, {
1371
1376
  "to": teleport
1372
1377
  }, {
1373
1378
  default: function _default() {
1374
1379
  return [(0,external_vue_.createVNode)("div", {
1375
- "class": bem()
1380
+ "class": bem(),
1381
+ "style": {
1382
+ zIndex: zIndex
1383
+ }
1376
1384
  }, [(0,external_vue_.createVNode)(mask.default, {
1377
1385
  "modelValue": modelValue,
1378
1386
  "onUpdate:modelValue": function onUpdateModelValue($event) {
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/popup.js CHANGED
@@ -4091,7 +4091,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4091
4091
  * @Author: ruan fei
4092
4092
  * @Date: 2021-05-17 13:31:08
4093
4093
  * @LastEditors: ruan fei
4094
- * @LastEditTime: 2022-08-16 14:38:01
4094
+ * @LastEditTime: 2022-10-17 11:21:59
4095
4095
  * @FilePath: /yui-vue/packages/popup/src/popup.tsx
4096
4096
  */
4097
4097
 
@@ -4154,6 +4154,10 @@ var _props = {
4154
4154
  lockScroll: {
4155
4155
  type: Boolean,
4156
4156
  default: true
4157
+ },
4158
+ zIndex: {
4159
+ type: Number,
4160
+ default: 101
4157
4161
  }
4158
4162
  };
4159
4163
  /* harmony default export */ var popup = ((0,external_vue_.defineComponent)({
@@ -4219,13 +4223,17 @@ var _props = {
4219
4223
  customClass = props.customClass,
4220
4224
  duration = props.duration,
4221
4225
  onAfterLeave = props.onAfterLeave,
4222
- lockScroll = props.lockScroll;
4226
+ lockScroll = props.lockScroll,
4227
+ zIndex = props.zIndex;
4223
4228
  return (0,external_vue_.createVNode)(external_vue_.Teleport, {
4224
4229
  "to": teleport
4225
4230
  }, {
4226
4231
  default: function _default() {
4227
4232
  return [(0,external_vue_.createVNode)("div", {
4228
- "class": bem()
4233
+ "class": bem(),
4234
+ "style": {
4235
+ zIndex: zIndex
4236
+ }
4229
4237
  }, [(0,external_vue_.createVNode)(mask.default, {
4230
4238
  "modelValue": modelValue,
4231
4239
  "onUpdate:modelValue": function onUpdateModelValue($event) {
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
  })
@@ -4870,7 +4872,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4870
4872
  * @Author: ruan fei
4871
4873
  * @Date: 2021-05-17 13:31:08
4872
4874
  * @LastEditors: ruan fei
4873
- * @LastEditTime: 2022-08-16 14:38:01
4875
+ * @LastEditTime: 2022-10-17 11:21:59
4874
4876
  * @FilePath: /yui-vue/packages/popup/src/popup.tsx
4875
4877
  */
4876
4878
 
@@ -4933,6 +4935,10 @@ var _props = {
4933
4935
  lockScroll: {
4934
4936
  type: Boolean,
4935
4937
  default: true
4938
+ },
4939
+ zIndex: {
4940
+ type: Number,
4941
+ default: 101
4936
4942
  }
4937
4943
  };
4938
4944
  /* harmony default export */ var popup = ((0,external_vue_.defineComponent)({
@@ -4998,13 +5004,17 @@ var _props = {
4998
5004
  customClass = props.customClass,
4999
5005
  duration = props.duration,
5000
5006
  onAfterLeave = props.onAfterLeave,
5001
- lockScroll = props.lockScroll;
5007
+ lockScroll = props.lockScroll,
5008
+ zIndex = props.zIndex;
5002
5009
  return (0,external_vue_.createVNode)(external_vue_.Teleport, {
5003
5010
  "to": teleport
5004
5011
  }, {
5005
5012
  default: function _default() {
5006
5013
  return [(0,external_vue_.createVNode)("div", {
5007
- "class": bem()
5014
+ "class": bem(),
5015
+ "style": {
5016
+ zIndex: zIndex
5017
+ }
5008
5018
  }, [(0,external_vue_.createVNode)(mask.default, {
5009
5019
  "modelValue": modelValue,
5010
5020
  "onUpdate:modelValue": function onUpdateModelValue($event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y-design-ssr",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "SSR component library of YUI with Vue3",
5
5
  "author": "yux-fe",
6
6
  "license": "MIT",