@opentinyvue/vue-dialog-select 3.23.0 → 3.24.1
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 +5 -1
- package/lib/pc.js +7 -4
- package/package.json +13 -13
- package/src/pc.vue.d.ts +48 -40
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) {
|
|
@@ -114,7 +118,7 @@ var DialogSelect = defineComponent({
|
|
|
114
118
|
});
|
|
115
119
|
}
|
|
116
120
|
});
|
|
117
|
-
var version = "3.
|
|
121
|
+
var version = "3.undefined";
|
|
118
122
|
DialogSelect.install = function(Vue) {
|
|
119
123
|
Vue.component(DialogSelect.name, DialogSelect);
|
|
120
124
|
};
|
package/lib/pc.js
CHANGED
|
@@ -62,9 +62,11 @@ var _sfc_main = defineComponent({
|
|
|
62
62
|
"before-page-change",
|
|
63
63
|
"change",
|
|
64
64
|
// tiny 新增
|
|
65
|
-
"resize"
|
|
65
|
+
"resize",
|
|
66
|
+
"clear",
|
|
67
|
+
"delete"
|
|
66
68
|
],
|
|
67
|
-
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"]),
|
|
68
70
|
components: {
|
|
69
71
|
TinyDialogBox: DialogBox,
|
|
70
72
|
TinyButton: Button,
|
|
@@ -131,7 +133,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
131
133
|
"append-to-body": "",
|
|
132
134
|
"modal-append-to-body": "",
|
|
133
135
|
"close-on-press-escape": false,
|
|
134
|
-
"close-on-click-modal": false
|
|
136
|
+
"close-on-click-modal": false,
|
|
137
|
+
"lock-scroll": _ctx.lockScroll
|
|
135
138
|
}, _ctx.dialogOp, {
|
|
136
139
|
onOpen: _cache[8] || (_cache[8] = function($event) {
|
|
137
140
|
return _ctx.$emit("open", $event);
|
|
@@ -386,7 +389,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
386
389
|
return [renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(params)))];
|
|
387
390
|
}),
|
|
388
391
|
key: "0"
|
|
389
|
-
} : void 0]), 1040, ["class", "visible"]);
|
|
392
|
+
} : void 0]), 1040, ["class", "visible", "lock-scroll"]);
|
|
390
393
|
}
|
|
391
394
|
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
392
395
|
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dialog-select",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.1",
|
|
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.
|
|
11
|
-
"@opentinyvue/vue-common": "~3.
|
|
12
|
-
"@opentinyvue/vue-dialog-box": "~3.
|
|
13
|
-
"@opentinyvue/vue-button": "~3.
|
|
14
|
-
"@opentinyvue/vue-pager": "~3.
|
|
15
|
-
"@opentinyvue/vue-grid": "~3.
|
|
16
|
-
"@opentinyvue/vue-split": "~3.
|
|
17
|
-
"@opentinyvue/vue-selected-box": "~3.
|
|
18
|
-
"@opentinyvue/vue-input": "~3.
|
|
19
|
-
"@opentinyvue/vue-tree": "~3.
|
|
20
|
-
"@opentinyvue/vue-theme": "~3.
|
|
21
|
-
"@opentinyvue/vue-icon": "~3.
|
|
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"
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"types": "index.d.ts"
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
2
|
visible?: any;
|
|
3
|
+
selectedBoxOp?: any;
|
|
4
|
+
popseletor?: any;
|
|
5
|
+
gridOp?: any;
|
|
6
|
+
multi?: any;
|
|
7
|
+
valueField?: any;
|
|
8
|
+
textField?: any;
|
|
9
|
+
remoteSearch?: any;
|
|
10
|
+
showSelectedBox?: any;
|
|
11
|
+
treeOp?: any;
|
|
12
|
+
autoLookup?: any;
|
|
13
|
+
lookupMethod?: any;
|
|
3
14
|
tiny_mode?: any;
|
|
4
15
|
tiny_mode_root?: any;
|
|
5
16
|
tiny_template?: any;
|
|
@@ -7,26 +18,28 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
7
18
|
_constants?: any;
|
|
8
19
|
tiny_theme?: any;
|
|
9
20
|
tiny_chart_theme?: any;
|
|
10
|
-
|
|
11
|
-
valueField?: any;
|
|
21
|
+
tiny_mcp_config?: any;
|
|
12
22
|
beforeClose?: any;
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
lockScroll?: any;
|
|
24
|
+
valueSplit?: any;
|
|
15
25
|
textSplit?: any;
|
|
26
|
+
dialogOp?: any;
|
|
27
|
+
showPager?: any;
|
|
28
|
+
pagerOp?: any;
|
|
29
|
+
mainHeight?: any;
|
|
30
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("resize" | "change" | "close" | "clear" | "delete" | "update:visible" | "closed" | "open" | "current-change" | "size-change" | "before-page-change" | "opened" | "drag-start" | "drag-end" | "drag-move" | "prev-click" | "next-click")[], "resize" | "change" | "close" | "clear" | "delete" | "update:visible" | "closed" | "open" | "current-change" | "size-change" | "before-page-change" | "opened" | "drag-start" | "drag-end" | "drag-move" | "prev-click" | "next-click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
31
|
+
visible?: any;
|
|
16
32
|
selectedBoxOp?: any;
|
|
17
33
|
popseletor?: any;
|
|
34
|
+
gridOp?: any;
|
|
18
35
|
multi?: any;
|
|
36
|
+
valueField?: any;
|
|
37
|
+
textField?: any;
|
|
19
38
|
remoteSearch?: any;
|
|
20
39
|
showSelectedBox?: any;
|
|
40
|
+
treeOp?: any;
|
|
21
41
|
autoLookup?: any;
|
|
22
42
|
lookupMethod?: any;
|
|
23
|
-
valueSplit?: any;
|
|
24
|
-
dialogOp?: any;
|
|
25
|
-
showPager?: any;
|
|
26
|
-
pagerOp?: any;
|
|
27
|
-
mainHeight?: any;
|
|
28
|
-
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("resize" | "change" | "close" | "update:visible" | "open" | "closed" | "opened" | "drag-start" | "drag-move" | "drag-end" | "current-change" | "size-change" | "before-page-change" | "prev-click" | "next-click")[], "resize" | "change" | "close" | "update:visible" | "open" | "closed" | "opened" | "drag-start" | "drag-move" | "drag-end" | "current-change" | "size-change" | "before-page-change" | "prev-click" | "next-click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
29
|
-
visible?: any;
|
|
30
43
|
tiny_mode?: any;
|
|
31
44
|
tiny_mode_root?: any;
|
|
32
45
|
tiny_template?: any;
|
|
@@ -34,20 +47,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
34
47
|
_constants?: any;
|
|
35
48
|
tiny_theme?: any;
|
|
36
49
|
tiny_chart_theme?: any;
|
|
37
|
-
|
|
38
|
-
valueField?: any;
|
|
50
|
+
tiny_mcp_config?: any;
|
|
39
51
|
beforeClose?: any;
|
|
40
|
-
|
|
41
|
-
treeOp?: any;
|
|
42
|
-
textSplit?: any;
|
|
43
|
-
selectedBoxOp?: any;
|
|
44
|
-
popseletor?: any;
|
|
45
|
-
multi?: any;
|
|
46
|
-
remoteSearch?: any;
|
|
47
|
-
showSelectedBox?: any;
|
|
48
|
-
autoLookup?: any;
|
|
49
|
-
lookupMethod?: any;
|
|
52
|
+
lockScroll?: any;
|
|
50
53
|
valueSplit?: any;
|
|
54
|
+
textSplit?: any;
|
|
51
55
|
dialogOp?: any;
|
|
52
56
|
showPager?: any;
|
|
53
57
|
pagerOp?: any;
|
|
@@ -56,20 +60,33 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
56
60
|
onResize?: ((...args: any[]) => any) | undefined;
|
|
57
61
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
58
62
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
59
65
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
60
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
61
66
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
|
|
63
|
-
"onDrag-start"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
"onDrag-move"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
"onDrag-end"?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
66
68
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
67
69
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
68
70
|
"onBefore-page-change"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onOpened?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onDrag-start"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
"onDrag-end"?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
"onDrag-move"?: ((...args: any[]) => any) | undefined;
|
|
69
75
|
"onPrev-click"?: ((...args: any[]) => any) | undefined;
|
|
70
76
|
"onNext-click"?: ((...args: any[]) => any) | undefined;
|
|
71
77
|
}, {
|
|
72
78
|
readonly visible?: any;
|
|
79
|
+
readonly selectedBoxOp?: any;
|
|
80
|
+
readonly popseletor?: any;
|
|
81
|
+
readonly gridOp?: any;
|
|
82
|
+
readonly multi?: any;
|
|
83
|
+
readonly valueField?: any;
|
|
84
|
+
readonly textField?: any;
|
|
85
|
+
readonly remoteSearch?: any;
|
|
86
|
+
readonly showSelectedBox?: any;
|
|
87
|
+
readonly treeOp?: any;
|
|
88
|
+
readonly autoLookup?: any;
|
|
89
|
+
readonly lookupMethod?: any;
|
|
73
90
|
readonly tiny_mode?: any;
|
|
74
91
|
readonly tiny_mode_root?: any;
|
|
75
92
|
readonly tiny_template?: any;
|
|
@@ -77,20 +94,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
77
94
|
readonly _constants?: any;
|
|
78
95
|
readonly tiny_theme?: any;
|
|
79
96
|
readonly tiny_chart_theme?: any;
|
|
80
|
-
readonly
|
|
81
|
-
readonly valueField?: any;
|
|
97
|
+
readonly tiny_mcp_config?: any;
|
|
82
98
|
readonly beforeClose?: any;
|
|
83
|
-
readonly
|
|
84
|
-
readonly treeOp?: any;
|
|
85
|
-
readonly textSplit?: any;
|
|
86
|
-
readonly selectedBoxOp?: any;
|
|
87
|
-
readonly popseletor?: any;
|
|
88
|
-
readonly multi?: any;
|
|
89
|
-
readonly remoteSearch?: any;
|
|
90
|
-
readonly showSelectedBox?: any;
|
|
91
|
-
readonly autoLookup?: any;
|
|
92
|
-
readonly lookupMethod?: any;
|
|
99
|
+
readonly lockScroll?: any;
|
|
93
100
|
readonly valueSplit?: any;
|
|
101
|
+
readonly textSplit?: any;
|
|
94
102
|
readonly dialogOp?: any;
|
|
95
103
|
readonly showPager?: any;
|
|
96
104
|
readonly pagerOp?: any;
|