@juzhenfe/page-model 3.10.5 → 3.11.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/dist/components/buttons-renderer/components/button-item-render/index.vue.d.ts +28 -0
- package/dist/components/buttons-renderer/index.vue.d.ts +18 -0
- package/dist/components/page-model/components/selectable-operate/index.vue.d.ts +18 -0
- package/dist/index.es.js +107 -67
- package/dist/index.umd.js +3 -3
- package/dist/types/common.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _sfc_main: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: {
|
|
4
|
+
/**
|
|
5
|
+
* 渲染文本
|
|
6
|
+
*/
|
|
7
|
+
text: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 自定义渲染
|
|
13
|
+
*/
|
|
14
|
+
renderFn: {
|
|
15
|
+
type: FunctionConstructor;
|
|
16
|
+
default: any;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 渲染上下文
|
|
20
|
+
*/
|
|
21
|
+
context: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
render(): any;
|
|
27
|
+
};
|
|
28
|
+
export default _sfc_main;
|
|
@@ -33,6 +33,24 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
handleCommand: (command: string) => void;
|
|
34
34
|
handleButtonClick: (index: number) => void;
|
|
35
35
|
readonly ArrowDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
36
|
+
ButtonItemRender: {
|
|
37
|
+
name: string;
|
|
38
|
+
props: {
|
|
39
|
+
text: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
renderFn: {
|
|
44
|
+
type: FunctionConstructor;
|
|
45
|
+
default: any;
|
|
46
|
+
};
|
|
47
|
+
context: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
default: any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
render(): any;
|
|
53
|
+
};
|
|
36
54
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "upd" | "del" | "custom")[], "add" | "upd" | "del" | "custom", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
55
|
els: {
|
|
38
56
|
type: ArrayConstructor;
|
|
@@ -47,6 +47,24 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
47
47
|
handleCommand: (command: string) => void;
|
|
48
48
|
handleButtonClick: (index: number) => void;
|
|
49
49
|
readonly ArrowDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
50
|
+
ButtonItemRender: {
|
|
51
|
+
name: string;
|
|
52
|
+
props: {
|
|
53
|
+
text: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
renderFn: {
|
|
58
|
+
type: FunctionConstructor;
|
|
59
|
+
default: any;
|
|
60
|
+
};
|
|
61
|
+
context: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
default: any;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
render(): any;
|
|
67
|
+
};
|
|
50
68
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "upd" | "del" | "custom")[], "add" | "upd" | "del" | "custom", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
69
|
els: {
|
|
52
70
|
type: ArrayConstructor;
|
package/dist/index.es.js
CHANGED
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { reactive, defineComponent, openBlock, createElementBlock, computed, ref, resolveComponent, normalizeClass, unref, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock, createElementVNode, toDisplayString, nextTick, watch, markRaw, getCurrentInstance, resolveDynamicComponent, renderSlot,
|
|
7
|
+
import { reactive, defineComponent, openBlock, createElementBlock, computed, ref, resolveComponent, normalizeClass, unref, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock, createElementVNode, toDisplayString, nextTick, watch, markRaw, getCurrentInstance, resolveDynamicComponent, renderSlot, h, inject, withModifiers, toRefs, onUnmounted, useSlots, toHandlers, createSlots, createTextVNode, onMounted, createCommentVNode, render, pushScopeId, popScopeId, resolveDirective, withDirectives, vShow, Teleport, normalizeStyle, onActivated, watchEffect, normalizeProps, guardReactiveProps, provide, Transition } from "vue";
|
|
8
8
|
import { ElMessage, ElLoading, ElMessageBox } from "element-plus";
|
|
9
9
|
function defineConfig(config) {
|
|
10
10
|
return reactive(config);
|
|
@@ -185,7 +185,7 @@ const _hoisted_1$x = { class: "scenes-tab" };
|
|
|
185
185
|
const __default__$o = {
|
|
186
186
|
name: "ScenesTab"
|
|
187
187
|
};
|
|
188
|
-
const _sfc_main$
|
|
188
|
+
const _sfc_main$Z = defineComponent({
|
|
189
189
|
...__default__$o,
|
|
190
190
|
setup(__props, { expose: __expose }) {
|
|
191
191
|
const getValue2 = () => {
|
|
@@ -203,7 +203,7 @@ var index_vue_vue_type_style_index_0_lang$d = "";
|
|
|
203
203
|
const __default__$n = {
|
|
204
204
|
name: "NormalTab"
|
|
205
205
|
};
|
|
206
|
-
const _sfc_main$
|
|
206
|
+
const _sfc_main$Y = defineComponent({
|
|
207
207
|
...__default__$n,
|
|
208
208
|
props: {
|
|
209
209
|
panes: {},
|
|
@@ -1427,7 +1427,7 @@ var index_vue_vue_type_style_index_0_lang$c = "";
|
|
|
1427
1427
|
const __default__$m = {
|
|
1428
1428
|
name: "TopTabs"
|
|
1429
1429
|
};
|
|
1430
|
-
const _sfc_main$
|
|
1430
|
+
const _sfc_main$X = defineComponent({
|
|
1431
1431
|
...__default__$m,
|
|
1432
1432
|
props: {
|
|
1433
1433
|
tabs: {},
|
|
@@ -1448,12 +1448,12 @@ const _sfc_main$W = defineComponent({
|
|
|
1448
1448
|
const tabComponent = computed(() => {
|
|
1449
1449
|
if (props.tabs.useScene) {
|
|
1450
1450
|
return {
|
|
1451
|
-
component: _sfc_main$
|
|
1451
|
+
component: _sfc_main$Z,
|
|
1452
1452
|
props: props.tabs.sceneTab
|
|
1453
1453
|
};
|
|
1454
1454
|
} else {
|
|
1455
1455
|
return {
|
|
1456
|
-
component: _sfc_main$
|
|
1456
|
+
component: _sfc_main$Y,
|
|
1457
1457
|
props: {
|
|
1458
1458
|
panes: props.tabs.panes,
|
|
1459
1459
|
props: props.tabs.props
|
|
@@ -2077,7 +2077,7 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
2077
2077
|
}
|
|
2078
2078
|
return target;
|
|
2079
2079
|
};
|
|
2080
|
-
const _sfc_main$
|
|
2080
|
+
const _sfc_main$W = defineComponent({
|
|
2081
2081
|
name: "ArrowDownBold"
|
|
2082
2082
|
});
|
|
2083
2083
|
const _hoisted_1$w = {
|
|
@@ -2097,8 +2097,8 @@ const _hoisted_3$o = [
|
|
|
2097
2097
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2098
2098
|
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$o);
|
|
2099
2099
|
}
|
|
2100
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2101
|
-
const _sfc_main$
|
|
2100
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$j]]);
|
|
2101
|
+
const _sfc_main$V = defineComponent({
|
|
2102
2102
|
name: "ArrowDown"
|
|
2103
2103
|
});
|
|
2104
2104
|
const _hoisted_1$v = {
|
|
@@ -2118,8 +2118,8 @@ const _hoisted_3$n = [
|
|
|
2118
2118
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2119
2119
|
return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$n);
|
|
2120
2120
|
}
|
|
2121
|
-
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2122
|
-
const _sfc_main$
|
|
2121
|
+
var arrowDown = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$i]]);
|
|
2122
|
+
const _sfc_main$U = defineComponent({
|
|
2123
2123
|
name: "CaretBottom"
|
|
2124
2124
|
});
|
|
2125
2125
|
const _hoisted_1$u = {
|
|
@@ -2139,8 +2139,8 @@ const _hoisted_3$m = [
|
|
|
2139
2139
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2140
2140
|
return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$m);
|
|
2141
2141
|
}
|
|
2142
|
-
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2143
|
-
const _sfc_main$
|
|
2142
|
+
var caretBottom = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$h]]);
|
|
2143
|
+
const _sfc_main$T = defineComponent({
|
|
2144
2144
|
name: "CaretRight"
|
|
2145
2145
|
});
|
|
2146
2146
|
const _hoisted_1$t = {
|
|
@@ -2160,8 +2160,8 @@ const _hoisted_3$l = [
|
|
|
2160
2160
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2161
2161
|
return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$l);
|
|
2162
2162
|
}
|
|
2163
|
-
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2164
|
-
const _sfc_main$
|
|
2163
|
+
var caretRight = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$g]]);
|
|
2164
|
+
const _sfc_main$S = defineComponent({
|
|
2165
2165
|
name: "CaretTop"
|
|
2166
2166
|
});
|
|
2167
2167
|
const _hoisted_1$s = {
|
|
@@ -2181,8 +2181,8 @@ const _hoisted_3$k = [
|
|
|
2181
2181
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2182
2182
|
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$k);
|
|
2183
2183
|
}
|
|
2184
|
-
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2185
|
-
const _sfc_main$
|
|
2184
|
+
var caretTop = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$f]]);
|
|
2185
|
+
const _sfc_main$R = defineComponent({
|
|
2186
2186
|
name: "CirclePlusFilled"
|
|
2187
2187
|
});
|
|
2188
2188
|
const _hoisted_1$r = {
|
|
@@ -2202,8 +2202,8 @@ const _hoisted_3$j = [
|
|
|
2202
2202
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2203
2203
|
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$j);
|
|
2204
2204
|
}
|
|
2205
|
-
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2206
|
-
const _sfc_main$
|
|
2205
|
+
var circlePlusFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$e]]);
|
|
2206
|
+
const _sfc_main$Q = defineComponent({
|
|
2207
2207
|
name: "CirclePlus"
|
|
2208
2208
|
});
|
|
2209
2209
|
const _hoisted_1$q = {
|
|
@@ -2233,8 +2233,8 @@ const _hoisted_5$4 = [
|
|
|
2233
2233
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2234
2234
|
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_5$4);
|
|
2235
2235
|
}
|
|
2236
|
-
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2237
|
-
const _sfc_main$
|
|
2236
|
+
var circlePlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$d]]);
|
|
2237
|
+
const _sfc_main$P = defineComponent({
|
|
2238
2238
|
name: "Download"
|
|
2239
2239
|
});
|
|
2240
2240
|
const _hoisted_1$p = {
|
|
@@ -2254,8 +2254,8 @@ const _hoisted_3$h = [
|
|
|
2254
2254
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2255
2255
|
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$h);
|
|
2256
2256
|
}
|
|
2257
|
-
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2258
|
-
const _sfc_main$
|
|
2257
|
+
var download = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$c]]);
|
|
2258
|
+
const _sfc_main$O = defineComponent({
|
|
2259
2259
|
name: "Edit"
|
|
2260
2260
|
});
|
|
2261
2261
|
const _hoisted_1$o = {
|
|
@@ -2280,8 +2280,8 @@ const _hoisted_4$6 = [
|
|
|
2280
2280
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2281
2281
|
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_4$6);
|
|
2282
2282
|
}
|
|
2283
|
-
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2284
|
-
const _sfc_main$
|
|
2283
|
+
var edit = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$b]]);
|
|
2284
|
+
const _sfc_main$N = defineComponent({
|
|
2285
2285
|
name: "Filter"
|
|
2286
2286
|
});
|
|
2287
2287
|
const _hoisted_1$n = {
|
|
@@ -2301,8 +2301,8 @@ const _hoisted_3$f = [
|
|
|
2301
2301
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2302
2302
|
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$f);
|
|
2303
2303
|
}
|
|
2304
|
-
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2305
|
-
const _sfc_main$
|
|
2304
|
+
var filter = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$a]]);
|
|
2305
|
+
const _sfc_main$M = defineComponent({
|
|
2306
2306
|
name: "FullScreen"
|
|
2307
2307
|
});
|
|
2308
2308
|
const _hoisted_1$m = {
|
|
@@ -2322,8 +2322,8 @@ const _hoisted_3$e = [
|
|
|
2322
2322
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2323
2323
|
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$e);
|
|
2324
2324
|
}
|
|
2325
|
-
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2326
|
-
const _sfc_main$
|
|
2325
|
+
var fullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$9]]);
|
|
2326
|
+
const _sfc_main$L = defineComponent({
|
|
2327
2327
|
name: "Grid"
|
|
2328
2328
|
});
|
|
2329
2329
|
const _hoisted_1$l = {
|
|
@@ -2343,8 +2343,8 @@ const _hoisted_3$d = [
|
|
|
2343
2343
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2344
2344
|
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$d);
|
|
2345
2345
|
}
|
|
2346
|
-
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2347
|
-
const _sfc_main$
|
|
2346
|
+
var grid = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$8]]);
|
|
2347
|
+
const _sfc_main$K = defineComponent({
|
|
2348
2348
|
name: "Loading"
|
|
2349
2349
|
});
|
|
2350
2350
|
const _hoisted_1$k = {
|
|
@@ -2364,8 +2364,8 @@ const _hoisted_3$c = [
|
|
|
2364
2364
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2365
2365
|
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$c);
|
|
2366
2366
|
}
|
|
2367
|
-
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2368
|
-
const _sfc_main$
|
|
2367
|
+
var loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$7]]);
|
|
2368
|
+
const _sfc_main$J = defineComponent({
|
|
2369
2369
|
name: "Menu"
|
|
2370
2370
|
});
|
|
2371
2371
|
const _hoisted_1$j = {
|
|
@@ -2385,8 +2385,8 @@ const _hoisted_3$b = [
|
|
|
2385
2385
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2386
2386
|
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$b);
|
|
2387
2387
|
}
|
|
2388
|
-
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2389
|
-
const _sfc_main$
|
|
2388
|
+
var menu = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$6]]);
|
|
2389
|
+
const _sfc_main$I = defineComponent({
|
|
2390
2390
|
name: "QuestionFilled"
|
|
2391
2391
|
});
|
|
2392
2392
|
const _hoisted_1$i = {
|
|
@@ -2406,8 +2406,8 @@ const _hoisted_3$a = [
|
|
|
2406
2406
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2407
2407
|
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$a);
|
|
2408
2408
|
}
|
|
2409
|
-
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2410
|
-
const _sfc_main$
|
|
2409
|
+
var questionFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$5]]);
|
|
2410
|
+
const _sfc_main$H = defineComponent({
|
|
2411
2411
|
name: "RefreshLeft"
|
|
2412
2412
|
});
|
|
2413
2413
|
const _hoisted_1$h = {
|
|
@@ -2427,8 +2427,8 @@ const _hoisted_3$9 = [
|
|
|
2427
2427
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2428
2428
|
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$9);
|
|
2429
2429
|
}
|
|
2430
|
-
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2431
|
-
const _sfc_main$
|
|
2430
|
+
var refreshLeft = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$4]]);
|
|
2431
|
+
const _sfc_main$G = defineComponent({
|
|
2432
2432
|
name: "RemoveFilled"
|
|
2433
2433
|
});
|
|
2434
2434
|
const _hoisted_1$g = {
|
|
@@ -2448,8 +2448,8 @@ const _hoisted_3$8 = [
|
|
|
2448
2448
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2449
2449
|
return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$8);
|
|
2450
2450
|
}
|
|
2451
|
-
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2452
|
-
const _sfc_main$
|
|
2451
|
+
var removeFilled = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$3]]);
|
|
2452
|
+
const _sfc_main$F = defineComponent({
|
|
2453
2453
|
name: "Remove"
|
|
2454
2454
|
});
|
|
2455
2455
|
const _hoisted_1$f = {
|
|
@@ -2474,8 +2474,8 @@ const _hoisted_4$5 = [
|
|
|
2474
2474
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2475
2475
|
return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_4$5);
|
|
2476
2476
|
}
|
|
2477
|
-
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2478
|
-
const _sfc_main$
|
|
2477
|
+
var remove = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$2]]);
|
|
2478
|
+
const _sfc_main$E = defineComponent({
|
|
2479
2479
|
name: "Select"
|
|
2480
2480
|
});
|
|
2481
2481
|
const _hoisted_1$e = {
|
|
@@ -2495,8 +2495,8 @@ const _hoisted_3$6 = [
|
|
|
2495
2495
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2496
2496
|
return openBlock(), createElementBlock("svg", _hoisted_1$e, _hoisted_3$6);
|
|
2497
2497
|
}
|
|
2498
|
-
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2499
|
-
const _sfc_main$
|
|
2498
|
+
var select = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$1]]);
|
|
2499
|
+
const _sfc_main$D = defineComponent({
|
|
2500
2500
|
name: "Tools"
|
|
2501
2501
|
});
|
|
2502
2502
|
const _hoisted_1$d = {
|
|
@@ -2516,11 +2516,35 @@ const _hoisted_3$5 = [
|
|
|
2516
2516
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2517
2517
|
return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_3$5);
|
|
2518
2518
|
}
|
|
2519
|
-
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2519
|
+
var tools = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render]]);
|
|
2520
2520
|
const formManagerProvideKey = Symbol("form-manager");
|
|
2521
2521
|
const registerPropertyProvideKey = Symbol("registerProperty");
|
|
2522
2522
|
const isOpenAuthButtonProvideKey = Symbol("isOpenAuthButton");
|
|
2523
2523
|
const authButtonsProvideKey = Symbol("authButtons");
|
|
2524
|
+
const _sfc_main$C = {
|
|
2525
|
+
name: "ButtonItemRender",
|
|
2526
|
+
props: {
|
|
2527
|
+
text: {
|
|
2528
|
+
type: String,
|
|
2529
|
+
default: ""
|
|
2530
|
+
},
|
|
2531
|
+
renderFn: {
|
|
2532
|
+
type: Function,
|
|
2533
|
+
default: null
|
|
2534
|
+
},
|
|
2535
|
+
context: {
|
|
2536
|
+
type: Object,
|
|
2537
|
+
default: null
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
render() {
|
|
2541
|
+
if (this.renderFn) {
|
|
2542
|
+
return this.renderFn.call(this.context);
|
|
2543
|
+
} else {
|
|
2544
|
+
return h("span", this.text);
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
};
|
|
2524
2548
|
var index_vue_vue_type_style_index_0_lang$b = "";
|
|
2525
2549
|
const __default__$l = {
|
|
2526
2550
|
name: "ButtonRenderer"
|
|
@@ -2653,7 +2677,11 @@ const _sfc_main$B = defineComponent({
|
|
|
2653
2677
|
) : false
|
|
2654
2678
|
}, {
|
|
2655
2679
|
default: withCtx(() => [
|
|
2656
|
-
|
|
2680
|
+
createVNode(_sfc_main$C, {
|
|
2681
|
+
context: _ctx.context,
|
|
2682
|
+
"render-fn": cButton.renderFn,
|
|
2683
|
+
text: cButton.text
|
|
2684
|
+
}, null, 8, ["context", "render-fn", "text"])
|
|
2657
2685
|
]),
|
|
2658
2686
|
_: 2
|
|
2659
2687
|
}, 1032, ["command", "disabled"]);
|
|
@@ -2667,7 +2695,11 @@ const _sfc_main$B = defineComponent({
|
|
|
2667
2695
|
onClick: withModifiers(($event) => handleButtonClick(index2), ["stop"])
|
|
2668
2696
|
}), {
|
|
2669
2697
|
default: withCtx(() => [
|
|
2670
|
-
|
|
2698
|
+
createVNode(_sfc_main$C, {
|
|
2699
|
+
context: _ctx.context,
|
|
2700
|
+
"render-fn": button.renderFn,
|
|
2701
|
+
text: button.text
|
|
2702
|
+
}, null, 8, ["context", "render-fn", "text"]),
|
|
2671
2703
|
createVNode(_component_el_icon, { style: { "margin-left": "2px" } }, {
|
|
2672
2704
|
default: withCtx(() => [
|
|
2673
2705
|
createVNode(unref(arrowDown))
|
|
@@ -2692,7 +2724,11 @@ const _sfc_main$B = defineComponent({
|
|
|
2692
2724
|
onClick: withModifiers(($event) => handleButtonClick(index2), ["stop"])
|
|
2693
2725
|
}), {
|
|
2694
2726
|
default: withCtx(() => [
|
|
2695
|
-
|
|
2727
|
+
createVNode(_sfc_main$C, {
|
|
2728
|
+
context: _ctx.context,
|
|
2729
|
+
"render-fn": button.renderFn,
|
|
2730
|
+
text: button.text
|
|
2731
|
+
}, null, 8, ["context", "render-fn", "text"])
|
|
2696
2732
|
]),
|
|
2697
2733
|
_: 2
|
|
2698
2734
|
}, 1040, ["icon", "onClick"])
|
|
@@ -4113,7 +4149,6 @@ const DEFAULT_PAGINATION_CONFIG = {
|
|
|
4113
4149
|
show: true,
|
|
4114
4150
|
pageSizes: [10, 15, 20, 30, 40, 50, 70, 100, 150, 200, 500, 1e3, 2e3, 5e3],
|
|
4115
4151
|
background: false,
|
|
4116
|
-
small: true,
|
|
4117
4152
|
size: "small",
|
|
4118
4153
|
layout: "total, sizes, prev, pager, next, jumper"
|
|
4119
4154
|
};
|
|
@@ -4842,22 +4877,26 @@ const _sfc_main$v = defineComponent({
|
|
|
4842
4877
|
});
|
|
4843
4878
|
var index_vue_vue_type_style_index_0_lang$7 = "";
|
|
4844
4879
|
const _hoisted_1$b = { class: "el-table__header-cell" };
|
|
4845
|
-
const _hoisted_2$6 =
|
|
4846
|
-
|
|
4880
|
+
const _hoisted_2$6 = {
|
|
4881
|
+
key: 0,
|
|
4882
|
+
style: { "color": "red" }
|
|
4883
|
+
};
|
|
4884
|
+
const _hoisted_3$4 = ["data-index", "editable", "cell-key"];
|
|
4885
|
+
const _hoisted_4$4 = {
|
|
4847
4886
|
key: 0,
|
|
4848
4887
|
class: "el-table-cell_editable"
|
|
4849
4888
|
};
|
|
4850
|
-
const
|
|
4851
|
-
const
|
|
4889
|
+
const _hoisted_5$3 = { class: "el-table-cell_editable-inputer" };
|
|
4890
|
+
const _hoisted_6$2 = {
|
|
4852
4891
|
key: 0,
|
|
4853
4892
|
class: "el-table-cell_loading"
|
|
4854
4893
|
};
|
|
4855
|
-
const
|
|
4894
|
+
const _hoisted_7$2 = {
|
|
4856
4895
|
key: 1,
|
|
4857
4896
|
class: "empty-edit"
|
|
4858
4897
|
};
|
|
4859
|
-
const
|
|
4860
|
-
const
|
|
4898
|
+
const _hoisted_8 = { key: 0 };
|
|
4899
|
+
const _hoisted_9 = ["onClick"];
|
|
4861
4900
|
const __default__$i = {
|
|
4862
4901
|
name: "TableColumn"
|
|
4863
4902
|
};
|
|
@@ -4962,8 +5001,9 @@ const _sfc_main$u = defineComponent({
|
|
|
4962
5001
|
}, column.props), {
|
|
4963
5002
|
header: withCtx(($header) => [
|
|
4964
5003
|
createElementVNode("div", _hoisted_1$b, [
|
|
5004
|
+
column.required ? (openBlock(), createElementBlock("span", _hoisted_2$6, "*")) : createCommentVNode("", true),
|
|
4965
5005
|
column.helpText || column.icon ? (openBlock(), createBlock(_component_el_icon, {
|
|
4966
|
-
key:
|
|
5006
|
+
key: 1,
|
|
4967
5007
|
title: column.helpText
|
|
4968
5008
|
}, {
|
|
4969
5009
|
default: withCtx(() => [
|
|
@@ -4996,9 +5036,9 @@ const _sfc_main$u = defineComponent({
|
|
|
4996
5036
|
columnEl.columnKey,
|
|
4997
5037
|
row[tableManager.value.rowKey]
|
|
4998
5038
|
)
|
|
4999
|
-
) ? (openBlock(), createElementBlock("div",
|
|
5039
|
+
) ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
5000
5040
|
column.editData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
5001
|
-
createElementVNode("div",
|
|
5041
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
5002
5042
|
createVNode(_sfc_main$z, {
|
|
5003
5043
|
modelValue: row[column.editData.prop || column.prop],
|
|
5004
5044
|
renderFn: column.editData.renderFn,
|
|
@@ -5025,7 +5065,7 @@ const _sfc_main$u = defineComponent({
|
|
|
5025
5065
|
columnEl.columnKey,
|
|
5026
5066
|
row[tableManager.value.rowKey]
|
|
5027
5067
|
) + "-loading"
|
|
5028
|
-
) ? (openBlock(), createElementBlock("div",
|
|
5068
|
+
) ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
5029
5069
|
createVNode(_component_el_icon, { class: "is-loading" }, {
|
|
5030
5070
|
default: withCtx(() => [
|
|
5031
5071
|
createVNode(unref(loading))
|
|
@@ -5033,7 +5073,7 @@ const _sfc_main$u = defineComponent({
|
|
|
5033
5073
|
_: 1
|
|
5034
5074
|
})
|
|
5035
5075
|
])) : createCommentVNode("", true)
|
|
5036
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
5076
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_7$2, "\u8BE5\u5217\u672A\u8BBE\u7F6E\u7F16\u8F91\u7EC4\u4EF6"))
|
|
5037
5077
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
5038
5078
|
column.renderFn && $index !== -1 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
5039
5079
|
key: 0,
|
|
@@ -5043,7 +5083,7 @@ const _sfc_main$u = defineComponent({
|
|
|
5043
5083
|
row,
|
|
5044
5084
|
index: $index
|
|
5045
5085
|
}, null, 8, ["render-fn", "context", "row", "index"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
5046
|
-
column.prop ? (openBlock(), createElementBlock("span",
|
|
5086
|
+
column.prop ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(row[column.prop]), 1)) : createCommentVNode("", true)
|
|
5047
5087
|
], 64)),
|
|
5048
5088
|
column.editData ? (openBlock(), createElementBlock("span", {
|
|
5049
5089
|
key: 2,
|
|
@@ -5056,9 +5096,9 @@ const _sfc_main$u = defineComponent({
|
|
|
5056
5096
|
]),
|
|
5057
5097
|
_: 1
|
|
5058
5098
|
})
|
|
5059
|
-
], 8,
|
|
5099
|
+
], 8, _hoisted_9)) : createCommentVNode("", true)
|
|
5060
5100
|
], 64))
|
|
5061
|
-
], 10,
|
|
5101
|
+
], 10, _hoisted_3$4))
|
|
5062
5102
|
]),
|
|
5063
5103
|
_: 2
|
|
5064
5104
|
}, 1040, ["label", "prop", "width", "min-width", "fixed", "column-key"]);
|
|
@@ -10746,7 +10786,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
10746
10786
|
key: 0,
|
|
10747
10787
|
class: normalizeClass(unref(createBEMName)("top-tabs"))
|
|
10748
10788
|
}, [
|
|
10749
|
-
hasTabs.value ? (openBlock(), createBlock(_sfc_main$
|
|
10789
|
+
hasTabs.value ? (openBlock(), createBlock(_sfc_main$X, {
|
|
10750
10790
|
key: 0,
|
|
10751
10791
|
tabs: uConfig.value.tabs,
|
|
10752
10792
|
manager,
|
|
@@ -11753,7 +11793,7 @@ const defineEditableTable = function(config) {
|
|
|
11753
11793
|
};
|
|
11754
11794
|
var iconfont = "";
|
|
11755
11795
|
const name = "@juzhenfe/page-model";
|
|
11756
|
-
const version = "3.
|
|
11796
|
+
const version = "3.11.1";
|
|
11757
11797
|
const types = "dist/main.d.ts";
|
|
11758
11798
|
const main = "dist/index.umd.js";
|
|
11759
11799
|
const keywords = [
|