@opentinyvue/vue-dialog-select 3.24.0 → 3.25.0

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/lib/index.js CHANGED
@@ -104,6 +104,10 @@ var DialogSelect = defineComponent({
104
104
  mainHeight: {
105
105
  type: Number,
106
106
  default: 290
107
+ },
108
+ lockScroll: {
109
+ type: Boolean,
110
+ default: true
107
111
  }
108
112
  }),
109
113
  setup: function setup(props, context) {
package/lib/pc.js CHANGED
@@ -66,7 +66,7 @@ var _sfc_main = defineComponent({
66
66
  "clear",
67
67
  "delete"
68
68
  ],
69
- props: [].concat(props, ["dialogOp", "visible", "popseletor", "multi", "gridOp", "textField", "textSplit", "valueField", "valueSplit", "remoteSearch", "showPager", "pagerOp", "showSelectedBox", "selectedBoxOp", "treeOp", "beforeClose", "autoLookup", "lookupMethod", "mainHeight"]),
69
+ props: [].concat(props, ["dialogOp", "visible", "popseletor", "multi", "gridOp", "textField", "textSplit", "valueField", "valueSplit", "remoteSearch", "showPager", "pagerOp", "showSelectedBox", "selectedBoxOp", "treeOp", "beforeClose", "autoLookup", "lookupMethod", "mainHeight", "lockScroll"]),
70
70
  components: {
71
71
  TinyDialogBox: DialogBox,
72
72
  TinyButton: Button,
@@ -133,7 +133,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
133
133
  "append-to-body": "",
134
134
  "modal-append-to-body": "",
135
135
  "close-on-press-escape": false,
136
- "close-on-click-modal": false
136
+ "close-on-click-modal": false,
137
+ "lock-scroll": _ctx.lockScroll
137
138
  }, _ctx.dialogOp, {
138
139
  onOpen: _cache[8] || (_cache[8] = function($event) {
139
140
  return _ctx.$emit("open", $event);
@@ -388,7 +389,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
388
389
  return [renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(params)))];
389
390
  }),
390
391
  key: "0"
391
- } : void 0]), 1040, ["class", "visible"]);
392
+ } : void 0]), 1040, ["class", "visible", "lock-scroll"]);
392
393
  }
393
394
  var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
394
395
 
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dialog-select",
3
- "version": "3.24.0",
3
+ "version": "3.25.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-renderless": "~3.24.0",
11
- "@opentinyvue/vue-common": "~3.24.0",
12
- "@opentinyvue/vue-dialog-box": "~3.24.0",
13
- "@opentinyvue/vue-button": "~3.24.0",
14
- "@opentinyvue/vue-pager": "~3.24.0",
15
- "@opentinyvue/vue-grid": "~3.24.0",
16
- "@opentinyvue/vue-split": "~3.24.0",
17
- "@opentinyvue/vue-selected-box": "~3.24.0",
18
- "@opentinyvue/vue-input": "~3.24.0",
19
- "@opentinyvue/vue-tree": "~3.24.0",
20
- "@opentinyvue/vue-theme": "~3.24.0",
21
- "@opentinyvue/vue-icon": "~3.24.0"
10
+ "@opentinyvue/vue-renderless": "~3.25.0",
11
+ "@opentinyvue/vue-common": "~3.25.0",
12
+ "@opentinyvue/vue-dialog-box": "~3.25.0",
13
+ "@opentinyvue/vue-button": "~3.25.0",
14
+ "@opentinyvue/vue-pager": "~3.25.0",
15
+ "@opentinyvue/vue-grid": "~3.25.0",
16
+ "@opentinyvue/vue-split": "~3.25.0",
17
+ "@opentinyvue/vue-selected-box": "~3.25.0",
18
+ "@opentinyvue/vue-input": "~3.25.0",
19
+ "@opentinyvue/vue-tree": "~3.25.0",
20
+ "@opentinyvue/vue-theme": "~3.25.0",
21
+ "@opentinyvue/vue-icon": "~3.25.0"
22
22
  },
23
23
  "license": "MIT",
24
24
  "types": "index.d.ts"
package/src/pc.vue.d.ts CHANGED
@@ -10,6 +10,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
10
10
  tiny_mcp_config?: any;
11
11
  textField?: any;
12
12
  valueField?: any;
13
+ lockScroll?: any;
13
14
  beforeClose?: any;
14
15
  gridOp?: any;
15
16
  treeOp?: any;
@@ -38,6 +39,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
38
39
  tiny_mcp_config?: any;
39
40
  textField?: any;
40
41
  valueField?: any;
42
+ lockScroll?: any;
41
43
  beforeClose?: any;
42
44
  gridOp?: any;
43
45
  treeOp?: any;
@@ -84,6 +86,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
84
86
  readonly tiny_mcp_config?: any;
85
87
  readonly textField?: any;
86
88
  readonly valueField?: any;
89
+ readonly lockScroll?: any;
87
90
  readonly beforeClose?: any;
88
91
  readonly gridOp?: any;
89
92
  readonly treeOp?: any;