@web-utils/form-ui 1.0.0-beta77 → 1.0.0-beta79
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/address-input/index.d.ts +52 -0
- package/affix/index.d.ts +30 -0
- package/awesome-button/index.d.ts +60 -0
- package/capsule-tab/index.d.ts +30 -0
- package/card/index.d.ts +41 -0
- package/chunks/{Dhdoa4M6.mjs → 22GsbC-1.mjs} +1 -1
- package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
- package/chunks/{l5bfIjYm.mjs → B8NokGUg.mjs} +4715 -5034
- package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
- package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
- package/chunks/{D5_ezGUV2.mjs → BVUClQOx.mjs} +2 -2
- package/chunks/{Dpzw7Rtp.mjs → BWTQ3qdg.mjs} +1 -1
- package/chunks/{uDwSrV7X2.mjs → Bo8lYN4n2.mjs} +2 -2
- package/chunks/{D6qJXu04.mjs → Bs926z902.mjs} +48 -49
- package/chunks/{BVsvRLea2.mjs → Bu1M7um22.mjs} +2 -2
- package/chunks/{CeEYChF4.mjs → Bvn6wnku.mjs} +2 -2
- package/chunks/{CyQmVphZ.mjs → C-zPVdz-.mjs} +35 -35
- package/chunks/{BZRmdKBG.mjs → CDalOJtl2.mjs} +65 -66
- package/chunks/{lPQBM7xc2.mjs → CGmbnjKL.mjs} +2 -2
- package/chunks/{kAaQhLJs2.mjs → COA3tHyu2.mjs} +1 -1
- package/chunks/{CVM0lwn22.mjs → CONqKD47.mjs} +2 -2
- package/chunks/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
- package/chunks/{BK6DiJfX2.mjs → ChP-pNSi2.mjs} +3 -3
- package/chunks/{DMDsZeqv.mjs → CiMBKxeJ.mjs} +1 -1
- package/chunks/{Dgwcljur.mjs → CkLpOk7H.mjs} +1 -1
- package/chunks/{CI-pH-gR2.mjs → Co0M4G3P.mjs} +1 -1
- package/chunks/{DS4Iw8Y42.mjs → D6mInNk02.mjs} +80 -78
- package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
- package/chunks/{Bq9KMIsC.mjs → DMSbDBCP.mjs} +143 -143
- package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
- package/chunks/{DFa2J7ul.mjs → D_q3C3v4.mjs} +130 -130
- package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
- package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
- package/chunks/{Bh2SlzOo.mjs → DgH_4qOn2.mjs} +3 -0
- package/chunks/{CeI6Qrij.mjs → DhqOVe4S.mjs} +100 -99
- package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
- package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
- package/chunks/{JjnlFlI02.mjs → Dz_TTgwF2.mjs} +92 -90
- package/chunks/{C3pzNRoU2.mjs → T2V8nxIu.mjs} +363 -362
- package/chunks/{BLBHnUme2.mjs → Zdhb_SRi2.mjs} +1 -1
- package/chunks/{BvlU_Z6D2.mjs → eX0Esdvw2.mjs} +1 -1
- package/chunks/{CoPlnbwi2.mjs → hBvPGqka.mjs} +2 -2
- package/chunks/{BkoWiWEW.mjs → mqi8hesW2.mjs} +190 -191
- package/chunks/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
- package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
- package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
- package/chunks/{C0gLPKS8.mjs → tqW2DSco.mjs} +48 -47
- package/code-mirror-editor/index.d.ts +50 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirmable/index.d.ts +93 -0
- package/context-menu/index.d.ts +183 -0
- package/count-up/index.d.ts +70 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/data-box/index.d.ts +30 -0
- package/data-card/index.d.ts +20 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-display/index.d.ts +20 -0
- package/data-icons/index.d.ts +21 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-panel/index.d.ts +19 -0
- package/data-pay/index.d.ts +19 -0
- package/data-price/index.d.ts +17 -0
- package/data-progress/index.d.ts +19 -0
- package/data-rotate/index.d.ts +21 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.mjs +16 -15
- package/data-tabs/index.d.ts +21 -0
- package/dict-render/index.d.ts +28 -0
- package/e-charts/index.d.ts +79 -0
- package/easy-popup/index.d.ts +114 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.mjs +111 -110
- package/element-dialog/index.d.ts +376 -0
- package/element-resize-observer/index.d.ts +8 -0
- package/empty-view/index.d.ts +29 -0
- package/error-view/index.d.ts +25 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-scroll-area/index.d.ts +22 -0
- package/flex-scroller/index.d.ts +26 -0
- package/flow-designer/index.d.ts +286 -0
- package/flow-designer/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/flow-viewer/index.d.ts +62 -0
- package/form-advice/index.d.ts +9 -0
- package/form-button/index.d.ts +123 -0
- package/form-card/index.d.ts +14 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.mjs +1 -1
- package/form-cell/index.d.ts +25 -0
- package/form-checkbox/index.d.ts +314 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +480 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +162 -0
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +220 -0
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +378 -0
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +376 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +376 -0
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +329 -0
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +376 -0
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +270 -0
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +441 -0
- package/form-input-time/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +40 -0
- package/form-item-group/index.d.ts +92 -0
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +190 -0
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +374 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +325 -0
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.d.ts +21 -0
- package/form-row/index.d.ts +11 -0
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +606 -0
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +352 -0
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +343 -0
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +287 -0
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +235 -0
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.d.ts +226 -0
- package/form-view/index.mjs +2 -2
- package/guide-steps/index.d.ts +31 -0
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.d.ts +18 -0
- package/iframe-window/index.d.ts +9 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-preview/index.d.ts +61 -0
- package/image-viewer/index.d.ts +25 -0
- package/index.css +1 -1
- package/index.d.ts +119 -119
- package/index.mjs +121 -121
- package/input-number-range/index.d.ts +41 -0
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.d.ts +65 -0
- package/name-avatar/index.d.ts +62 -0
- package/nav-bar/index.d.ts +21 -0
- package/package.json +1 -1
- package/page/index.d.ts +21 -0
- package/page-header/index.d.ts +27 -0
- package/page-index/index.d.ts +82 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/pageable-table/index.d.ts +400 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +1 -1
- package/props/date.d.ts +1 -4
- package/props/date.mjs +18 -5
- package/sign-panel/index.d.ts +85 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.mjs +1 -1
- package/stateful/index.d.ts +92 -0
- package/sub-table/index.d.ts +109 -0
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.d.ts +109 -0
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.d.ts +27 -0
- package/table-column/index.d.ts +163 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-view/index.d.ts +346 -0
- package/table-view/index.mjs +92 -90
- package/tag-render/index.d.ts +48 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/toolbar/index.d.ts +129 -0
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.d.ts +189 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tree-select/index.d.ts +1489 -0
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +117 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +1 -1
- package/chunks/CjjJimnU.mjs +0 -20
- /package/chunks/{tJ_t87kJ.mjs → 6dNVtIN32.mjs} +0 -0
- /package/chunks/{CJ7Ai-mH2.mjs → B1luuf_A2.mjs} +0 -0
- /package/chunks/{B1jgu0ci.mjs → BAG_R87k2.mjs} +0 -0
- /package/chunks/{gNfZhMJk2.mjs → BM5LdxU72.mjs} +0 -0
- /package/chunks/{CZeL7oiY2.mjs → BhHMGhJ8.mjs} +0 -0
- /package/chunks/{z6tpYT0z.mjs → BwL9Xz1F.mjs} +0 -0
- /package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
- /package/chunks/{b_78-Wov2.mjs → FZqu01np2.mjs} +0 -0
- /package/chunks/{hPAfGilD.mjs → KOJEsarR2.mjs} +0 -0
- /package/chunks/{3UWcbJcG.mjs → PEU1JRcN2.mjs} +0 -0
package/table-view/index.mjs
CHANGED
|
@@ -5,20 +5,22 @@ import { processButtons as i, reloadTable as a } from "../api/index.mjs";
|
|
|
5
5
|
import { cellClickHandlerContextKey as o, tableViewContextKey as s } from "../constants/index.mjs";
|
|
6
6
|
import { t as c } from "../chunks/mnqSaATq.mjs";
|
|
7
7
|
import l from "../editable-tree/index.mjs";
|
|
8
|
-
import { s as u } from "../chunks/
|
|
8
|
+
import { s as u } from "../chunks/CkLpOk7H.mjs";
|
|
9
9
|
import d from "../form-item-config-provider/index.mjs";
|
|
10
|
-
import { t as f } from "../chunks/
|
|
11
|
-
import { ElCollapseTransition as p, ElForm as m, ElFormItem as h,
|
|
10
|
+
import { t as f } from "../chunks/DgH_4qOn2.mjs";
|
|
11
|
+
import { ElCollapseTransition as p, ElForm as m, ElFormItem as h, ElMessage as g, ElMessageBox as _, ElRow as v } from "element-plus/es";
|
|
12
12
|
import "element-plus/es/components/base/style/css";
|
|
13
|
-
import { Transition as
|
|
14
|
-
import { hasOwn as
|
|
13
|
+
import { Transition as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as w, createTextVNode as T, createVNode as E, mergeProps as D, normalizeClass as O, normalizeStyle as k, openBlock as A, renderList as j, renderSlot as M, toDisplayString as N, toHandlers as P, vShow as F, withCtx as I, withDirectives as L, withModifiers as R } from "vue";
|
|
14
|
+
import { hasOwn as z, isArray as B, isFunction as V, isString as H, toStringArray as U, trace as W, warning as G } from "@web-utils/core";
|
|
15
|
+
import "element-plus/es/components/message/style/css";
|
|
15
16
|
import "element-plus/es/components/row/style/css";
|
|
16
|
-
import
|
|
17
|
-
import "
|
|
17
|
+
import "element-plus/es/components/message-box/style/css";
|
|
18
|
+
import { merge as K } from "@web-utils/integrations/lodash";
|
|
18
19
|
import "element-plus/es/components/form-item/style/css";
|
|
20
|
+
import "element-plus/es/components/form/style/css";
|
|
19
21
|
import "element-plus/es/components/collapse-transition/style/css";
|
|
20
22
|
//#region src/components/form/TableView.vue
|
|
21
|
-
var
|
|
23
|
+
var q = [
|
|
22
24
|
"back",
|
|
23
25
|
"create",
|
|
24
26
|
"save",
|
|
@@ -38,20 +40,20 @@ var G = [
|
|
|
38
40
|
"disabled",
|
|
39
41
|
"reload",
|
|
40
42
|
"slot"
|
|
41
|
-
],
|
|
43
|
+
], J = {
|
|
42
44
|
name: "TableView",
|
|
43
45
|
bus: {
|
|
44
46
|
reloadTableView(e) {
|
|
45
|
-
if (this._viewIds) if (
|
|
47
|
+
if (this._viewIds) if (H(e) || B(e)) {
|
|
46
48
|
let t = e;
|
|
47
|
-
|
|
48
|
-
} else
|
|
49
|
+
H(t) && (t = t.split(",")), this._viewIds.some((e) => t.includes(e)) && (W.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
|
|
50
|
+
} else G.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
|
|
49
51
|
},
|
|
50
52
|
reloadTreeView(e) {
|
|
51
|
-
if (this._viewIds) if (
|
|
53
|
+
if (this._viewIds) if (H(e) || B(e)) {
|
|
52
54
|
let t = e;
|
|
53
|
-
|
|
54
|
-
} else
|
|
55
|
+
H(t) && (t = t.split(",")), this._viewIds.some((e) => t.includes(e)) && this.$refs.tree && (W.call(this.$parent || {}, "reloadTreeView"), this.reloadTree());
|
|
56
|
+
} else G.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
|
|
55
57
|
}
|
|
56
58
|
},
|
|
57
59
|
provide() {
|
|
@@ -124,19 +126,19 @@ var G = [
|
|
|
124
126
|
},
|
|
125
127
|
computed: {
|
|
126
128
|
buttonSlots() {
|
|
127
|
-
return
|
|
129
|
+
return q.filter((e) => this.$slots[e]);
|
|
128
130
|
},
|
|
129
131
|
toolbarProps() {
|
|
130
132
|
var e, t;
|
|
131
|
-
let n =
|
|
132
|
-
return r = r || [], n.buttons = r, n.buttons = i(n.buttons), n.buttons =
|
|
133
|
+
let n = K({}, this.toolbarAttrs, {}), r = (n == null ? void 0 : n.buttons) || this.$parent.buttons;
|
|
134
|
+
return r = r || [], n.buttons = r, n.buttons = i(n.buttons), n.buttons = U(n.buttons), n.searchable = !!((e = (t = this.$slots)["search-form"]) != null && e.call(t)), n;
|
|
133
135
|
},
|
|
134
136
|
treeProps() {
|
|
135
|
-
return e(
|
|
137
|
+
return e(K({}, this.treeAttrs, {
|
|
136
138
|
treeProps: {
|
|
137
139
|
children: "children",
|
|
138
140
|
label: "label",
|
|
139
|
-
isLeaf: (e) =>
|
|
141
|
+
isLeaf: (e) => z(e, "hasChildren") ? !e.hasChildren : z(e, "hasChild") ? !e.hasChild : !0
|
|
140
142
|
},
|
|
141
143
|
show: !1,
|
|
142
144
|
lazy: !0,
|
|
@@ -153,14 +155,14 @@ var G = [
|
|
|
153
155
|
highlightCurrentRow: !0,
|
|
154
156
|
api: t
|
|
155
157
|
};
|
|
156
|
-
return e(
|
|
158
|
+
return e(K({}, this.tableAttrs, n));
|
|
157
159
|
},
|
|
158
160
|
searchPanelProps() {
|
|
159
161
|
let t = {
|
|
160
162
|
width: 350,
|
|
161
163
|
model: this.searchModel || {}
|
|
162
164
|
};
|
|
163
|
-
return e(
|
|
165
|
+
return e(K({}, this.searchPanelAttrs, t));
|
|
164
166
|
},
|
|
165
167
|
toolbarEventHandlers() {
|
|
166
168
|
if (this.toolbarListeners) {
|
|
@@ -217,12 +219,12 @@ var G = [
|
|
|
217
219
|
async del() {
|
|
218
220
|
var e;
|
|
219
221
|
let t = this.deleteApi || this.$parent.del;
|
|
220
|
-
if (!((e = this.toolbarListeners) != null && e.del) &&
|
|
222
|
+
if (!((e = this.toolbarListeners) != null && e.del) && V(t)) {
|
|
221
223
|
if (!this.selectedRows.length) {
|
|
222
|
-
|
|
224
|
+
g.warning(this.selectTips || "请选择要删除的记录!");
|
|
223
225
|
return;
|
|
224
226
|
}
|
|
225
|
-
await
|
|
227
|
+
await _.confirm(this.deleteTips || `您确定要删除选中的[<span class="break-word" style="color: orange">${this.selectedRows.length}</span>]行记录吗?`, "系统提示", {
|
|
226
228
|
type: "warning",
|
|
227
229
|
modal: !0,
|
|
228
230
|
dangerouslyUseHTMLString: !0,
|
|
@@ -231,7 +233,7 @@ var G = [
|
|
|
231
233
|
if (e === "confirm") try {
|
|
232
234
|
n.confirmButtonLoading = !0, n.confirmButtonText = "删除...";
|
|
233
235
|
let e = await t.call(this, this.selectedRows.map((e) => e[this.rowKey]));
|
|
234
|
-
|
|
236
|
+
g.success(e.data.msg || "删除成功"), this.reloadTableAndTree(), a();
|
|
235
237
|
} catch {}
|
|
236
238
|
r();
|
|
237
239
|
}
|
|
@@ -267,43 +269,43 @@ var G = [
|
|
|
267
269
|
return this.$refs.table.tableColumns;
|
|
268
270
|
}
|
|
269
271
|
}
|
|
270
|
-
},
|
|
272
|
+
}, Y = { class: "table-view-wrapper" }, X = {
|
|
271
273
|
key: 0,
|
|
272
274
|
class: "search-form-top"
|
|
273
|
-
},
|
|
274
|
-
function
|
|
275
|
-
let s = c,
|
|
276
|
-
return
|
|
275
|
+
}, Z = { class: "table-view-content-wrapper" }, Q = { class: "table-view-content" }, $ = { class: "table-view-table" }, ee = { class: "slide-panel-content" }, te = { class: "slide-panel-actions" };
|
|
276
|
+
function ne(e, t, n, i, a, o) {
|
|
277
|
+
let s = c, g = u, _ = v, z = d, B = m, V = p, H = f, U = l, W = r, G = h;
|
|
278
|
+
return A(), S("div", { class: O(["table-view", {
|
|
277
279
|
embed: n.embed,
|
|
278
280
|
"has-tree": o.treeProps.show
|
|
279
|
-
}]) }, [
|
|
280
|
-
|
|
281
|
-
n.searchFormPosition === "top" ? (
|
|
282
|
-
default:
|
|
281
|
+
}]) }, [C("div", Y, [
|
|
282
|
+
x("搜索条件"),
|
|
283
|
+
n.searchFormPosition === "top" ? (A(), b(V, { key: 0 }, {
|
|
284
|
+
default: I(() => [o.toolbarProps.searchable ? L((A(), S("div", X, [E(B, {
|
|
283
285
|
ref: "form",
|
|
284
286
|
"label-position": "right",
|
|
285
287
|
model: n.searchModel || o.searchPanelProps.model,
|
|
286
288
|
"label-width": n.labelWidth,
|
|
287
|
-
onSubmitCapture:
|
|
289
|
+
onSubmitCapture: R(o.onSearchClick, ["prevent"])
|
|
288
290
|
}, {
|
|
289
|
-
default:
|
|
290
|
-
default:
|
|
291
|
-
default:
|
|
291
|
+
default: I(() => [E(z, { reactive: "" }, {
|
|
292
|
+
default: I(() => [E(_, { gutter: 0 }, {
|
|
293
|
+
default: I(() => [M(e.$slots, "search-form", {}, () => [t[3] || (t[3] = C("p", null, "请添加搜索条件!", -1))]), E(g, {
|
|
292
294
|
class: "search-actions",
|
|
293
295
|
"hide-label": "",
|
|
294
296
|
"fixed-span": 24
|
|
295
297
|
}, {
|
|
296
|
-
default:
|
|
298
|
+
default: I(() => [E(s, {
|
|
297
299
|
type: "primary",
|
|
298
300
|
"native-type": "submit"
|
|
299
301
|
}, {
|
|
300
|
-
default:
|
|
302
|
+
default: I(() => [...t[4] || (t[4] = [T("开始搜索", -1)])]),
|
|
301
303
|
_: 1
|
|
302
|
-
}),
|
|
304
|
+
}), E(s, {
|
|
303
305
|
style: { "margin-left": "10px" },
|
|
304
306
|
onClick: o.onClearClick
|
|
305
307
|
}, {
|
|
306
|
-
default:
|
|
308
|
+
default: I(() => [...t[5] || (t[5] = [T("清除条件", -1)])]),
|
|
307
309
|
_: 1
|
|
308
310
|
}, 8, ["onClick"])]),
|
|
309
311
|
_: 1
|
|
@@ -317,11 +319,11 @@ function ee(e, t, n, i, a, o) {
|
|
|
317
319
|
"model",
|
|
318
320
|
"label-width",
|
|
319
321
|
"onSubmitCapture"
|
|
320
|
-
])], 512)), [[
|
|
322
|
+
])], 512)), [[F, a.isSearchVisible]]) : x("v-if", !0)]),
|
|
321
323
|
_: 3
|
|
322
|
-
})) :
|
|
323
|
-
|
|
324
|
-
n.showToolbar ? (
|
|
324
|
+
})) : x("v-if", !0),
|
|
325
|
+
x("顶部工具条"),
|
|
326
|
+
n.showToolbar ? (A(), b(H, D({ key: 1 }, o.toolbarProps, {
|
|
325
327
|
refreshable: "",
|
|
326
328
|
onSearch: o.toggleSearch,
|
|
327
329
|
onSettings: t[0] || (t[0] = () => e.$refs.table.toggleSettings()),
|
|
@@ -330,20 +332,20 @@ function ee(e, t, n, i, a, o) {
|
|
|
330
332
|
onReload: o.reloadTableAndTree,
|
|
331
333
|
onExp: o.exp,
|
|
332
334
|
onImp: t[1] || (t[1] = (e) => a.importDialogVisible = !0)
|
|
333
|
-
},
|
|
335
|
+
}, P(o.toolbarEventHandlers)), w({ _: 2 }, [
|
|
334
336
|
e.$slots["toolbar-button"] ? {
|
|
335
337
|
name: "default",
|
|
336
|
-
fn:
|
|
338
|
+
fn: I(() => [M(e.$slots, "toolbar-button", { selectedRows: a.selectedRows })]),
|
|
337
339
|
key: "0"
|
|
338
340
|
} : void 0,
|
|
339
341
|
e.$slots["toolbar-left"] ? {
|
|
340
342
|
name: "toolbar-left",
|
|
341
|
-
fn:
|
|
343
|
+
fn: I(() => [M(e.$slots, "toolbar-left", { selectedRows: a.selectedRows })]),
|
|
342
344
|
key: "1"
|
|
343
345
|
} : void 0,
|
|
344
346
|
e.$slots["toolbar-right"] ? {
|
|
345
347
|
name: "toolbar-right",
|
|
346
|
-
fn:
|
|
348
|
+
fn: I(() => [M(e.$slots, "toolbar-right", {
|
|
347
349
|
del: o.del,
|
|
348
350
|
create: o.create,
|
|
349
351
|
reload: o.reloadTableAndTree,
|
|
@@ -353,12 +355,12 @@ function ee(e, t, n, i, a, o) {
|
|
|
353
355
|
} : void 0,
|
|
354
356
|
e.$slots["toolbar-right-button"] ? {
|
|
355
357
|
name: "toolbar-right-button",
|
|
356
|
-
fn:
|
|
358
|
+
fn: I(() => [M(e.$slots, "toolbar-right-button")]),
|
|
357
359
|
key: "3"
|
|
358
360
|
} : void 0,
|
|
359
|
-
|
|
361
|
+
j(o.buttonSlots, (t) => ({
|
|
360
362
|
name: t,
|
|
361
|
-
fn:
|
|
363
|
+
fn: I(() => [M(e.$slots, t, { selectedRows: a.selectedRows })])
|
|
362
364
|
}))
|
|
363
365
|
]), 1040, [
|
|
364
366
|
"onSearch",
|
|
@@ -366,27 +368,27 @@ function ee(e, t, n, i, a, o) {
|
|
|
366
368
|
"onCreate",
|
|
367
369
|
"onReload",
|
|
368
370
|
"onExp"
|
|
369
|
-
])) :
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
o.treeProps.show ? (
|
|
371
|
+
])) : x("v-if", !0),
|
|
372
|
+
C("div", Z, [
|
|
373
|
+
C("div", Q, [
|
|
374
|
+
x("侧栏"),
|
|
375
|
+
o.treeProps.show ? (A(), S("div", {
|
|
374
376
|
key: 0,
|
|
375
377
|
ref: "treeScroller",
|
|
376
378
|
class: "table-view-sidebar",
|
|
377
379
|
onScroll: t[2] || (t[2] = (...e) => o.onTreeScroll && o.onTreeScroll(...e))
|
|
378
|
-
}, [
|
|
379
|
-
default:
|
|
380
|
+
}, [x("<div style=\"font-size: 16px\">视图导航</div>"), E(U, D({ ref: "tree" }, o.treeProps, { readonly: "" }, P(o.toHyphenateKey(n.treeListeners))), {
|
|
381
|
+
default: I(({ node: t, data: n }) => [M(e.$slots, "tree-node", {
|
|
380
382
|
node: t,
|
|
381
383
|
data: n
|
|
382
|
-
}, () => [
|
|
384
|
+
}, () => [C("span", null, [C("i", { class: O([t.childNodes.length > 0 ? t.expanded ? "el-icon-folder-opened" : "el-icon-folder" : "el-icon-tickets", "node-icon"]) }, null, 2), M(e.$slots, "tree-label", {
|
|
383
385
|
node: t,
|
|
384
386
|
data: n
|
|
385
|
-
}, () => [
|
|
387
|
+
}, () => [T(N(t.label), 1)])])])]),
|
|
386
388
|
_: 3
|
|
387
|
-
}, 16)], 544)) :
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
}, 16)], 544)) : x("v-if", !0),
|
|
390
|
+
x("表格"),
|
|
391
|
+
C("div", $, [E(W, D({
|
|
390
392
|
ref: "table",
|
|
391
393
|
border: n.border,
|
|
392
394
|
class: [{
|
|
@@ -399,15 +401,15 @@ function ee(e, t, n, i, a, o) {
|
|
|
399
401
|
"row-key": n.rowKey,
|
|
400
402
|
"row-db-click": o.rowDbClick,
|
|
401
403
|
data: n.data
|
|
402
|
-
},
|
|
404
|
+
}, P(o.toHyphenateKey(n.tableListeners)), {
|
|
403
405
|
onRowDblclick: o.rowDbClick,
|
|
404
406
|
onSelectionChange: o.onSelectionChange
|
|
405
|
-
}),
|
|
406
|
-
default:
|
|
407
|
+
}), w({
|
|
408
|
+
default: I(() => [M(e.$slots, "columns")]),
|
|
407
409
|
_: 2
|
|
408
|
-
}, [
|
|
410
|
+
}, [j(o.tableScopeSlotNames, (t) => ({
|
|
409
411
|
name: t,
|
|
410
|
-
fn:
|
|
412
|
+
fn: I(({ row: n }) => [M(e.$slots, t, { row: n })])
|
|
411
413
|
}))]), 1040, [
|
|
412
414
|
"border",
|
|
413
415
|
"class",
|
|
@@ -418,40 +420,40 @@ function ee(e, t, n, i, a, o) {
|
|
|
418
420
|
"onSelectionChange"
|
|
419
421
|
])])
|
|
420
422
|
]),
|
|
421
|
-
|
|
422
|
-
n.searchFormPosition === "right" ? (
|
|
423
|
+
x("搜索条件"),
|
|
424
|
+
n.searchFormPosition === "right" ? (A(), b(y, {
|
|
423
425
|
key: 0,
|
|
424
426
|
name: "slide"
|
|
425
427
|
}, {
|
|
426
|
-
default:
|
|
428
|
+
default: I(() => [o.toolbarProps.searchable ? L((A(), S("div", {
|
|
427
429
|
key: 0,
|
|
428
|
-
style:
|
|
430
|
+
style: k({ width: `${o.searchPanelProps.width}px` }),
|
|
429
431
|
class: "slide-panel"
|
|
430
|
-
}, [
|
|
432
|
+
}, [x("<div class=\"slide-panel-line\">\n <div class=\"slide-panel-line-indicator\"></div>\n </div>"), C("div", ee, [E(B, {
|
|
431
433
|
ref: "form",
|
|
432
434
|
"label-position": "right",
|
|
433
435
|
model: n.searchModel || o.searchPanelProps.model,
|
|
434
436
|
"label-width": n.labelWidth,
|
|
435
|
-
onSubmitCapture:
|
|
437
|
+
onSubmitCapture: R(o.onSearchClick, ["prevent"])
|
|
436
438
|
}, {
|
|
437
|
-
default:
|
|
439
|
+
default: I(() => [E(z, {
|
|
438
440
|
block: "",
|
|
439
441
|
"wrap-col": !1
|
|
440
442
|
}, {
|
|
441
|
-
default:
|
|
442
|
-
default:
|
|
443
|
+
default: I(() => [E(_, { gutter: 0 }, {
|
|
444
|
+
default: I(() => [M(e.$slots, "search-form", {}, () => [t[6] || (t[6] = C("p", null, "请添加搜索条件!", -1))])]),
|
|
443
445
|
_: 3
|
|
444
446
|
})]),
|
|
445
447
|
_: 3
|
|
446
|
-
}),
|
|
447
|
-
default:
|
|
448
|
+
}), E(G, { "label-width": "0" }, {
|
|
449
|
+
default: I(() => [C("div", te, [E(s, {
|
|
448
450
|
type: "primary",
|
|
449
451
|
"native-type": "submit"
|
|
450
452
|
}, {
|
|
451
|
-
default:
|
|
453
|
+
default: I(() => [...t[7] || (t[7] = [T("开始搜索", -1)])]),
|
|
452
454
|
_: 1
|
|
453
|
-
}),
|
|
454
|
-
default:
|
|
455
|
+
}), E(s, { onClick: o.onClearClick }, {
|
|
456
|
+
default: I(() => [...t[8] || (t[8] = [T("清除条件", -1)])]),
|
|
455
457
|
_: 1
|
|
456
458
|
}, 8, ["onClick"])])]),
|
|
457
459
|
_: 1
|
|
@@ -461,13 +463,13 @@ function ee(e, t, n, i, a, o) {
|
|
|
461
463
|
"model",
|
|
462
464
|
"label-width",
|
|
463
465
|
"onSubmitCapture"
|
|
464
|
-
])])], 4)), [[
|
|
466
|
+
])])], 4)), [[F, a.isSearchVisible]]) : x("v-if", !0)]),
|
|
465
467
|
_: 3
|
|
466
|
-
})) :
|
|
468
|
+
})) : x("v-if", !0)
|
|
467
469
|
]),
|
|
468
|
-
|
|
470
|
+
M(e.$slots, "default")
|
|
469
471
|
])], 2);
|
|
470
472
|
}
|
|
471
|
-
var
|
|
473
|
+
var re = /* @__PURE__ */ n(J, [["render", ne]]);
|
|
472
474
|
//#endregion
|
|
473
|
-
export {
|
|
475
|
+
export { re as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
enable: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
count: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
tags: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
transfer: {
|
|
15
|
+
type: FunctionConstructor;
|
|
16
|
+
default: null;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {
|
|
19
|
+
internalTags(): any[];
|
|
20
|
+
}, {
|
|
21
|
+
getTagName(tag: any): any;
|
|
22
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("add" | "close")[], "add" | "close", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
23
|
+
enable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
count: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
tags: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
default: () => never[];
|
|
34
|
+
};
|
|
35
|
+
transfer: {
|
|
36
|
+
type: FunctionConstructor;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
enable: boolean;
|
|
44
|
+
count: boolean;
|
|
45
|
+
tags: unknown[];
|
|
46
|
+
transfer: Function;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
content: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
direction: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
rows: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
expandText: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
collapseText: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
symbol: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
lineHeight: {
|
|
27
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {
|
|
31
|
+
ellipsis: {
|
|
32
|
+
leading: string;
|
|
33
|
+
tailing: string;
|
|
34
|
+
};
|
|
35
|
+
maxHeight: number;
|
|
36
|
+
exceeded: boolean;
|
|
37
|
+
expanded: boolean;
|
|
38
|
+
}, {}, {
|
|
39
|
+
/**
|
|
40
|
+
* 创建虚拟 container,内容为 props.content 的内容
|
|
41
|
+
*/
|
|
42
|
+
createContainer(): void;
|
|
43
|
+
/**
|
|
44
|
+
* 展开收起
|
|
45
|
+
* @param type
|
|
46
|
+
*/
|
|
47
|
+
clickHandle(type: any): void;
|
|
48
|
+
/**
|
|
49
|
+
* 文本点击
|
|
50
|
+
*/
|
|
51
|
+
handleClick(): void;
|
|
52
|
+
/**
|
|
53
|
+
* 计算省略号的位置
|
|
54
|
+
* @param container
|
|
55
|
+
*/
|
|
56
|
+
calcEllipse(container: any): void;
|
|
57
|
+
tailorMiddle(leftPart: any, rightPart: any, container: any): any;
|
|
58
|
+
/**
|
|
59
|
+
* 计算 start/end 省略
|
|
60
|
+
* @param left
|
|
61
|
+
* @param right
|
|
62
|
+
* @param container
|
|
63
|
+
* @return {{leading: string}|{tailing: string}|*}
|
|
64
|
+
*/
|
|
65
|
+
tailor(left: any, right: any, container: any): {
|
|
66
|
+
leading: string;
|
|
67
|
+
} | {
|
|
68
|
+
tailing: string;
|
|
69
|
+
} | any;
|
|
70
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
71
|
+
content: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
direction: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
rows: {
|
|
80
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
expandText: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
collapseText: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
symbol: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
lineHeight: {
|
|
96
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{
|
|
100
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
}>, {
|
|
103
|
+
symbol: string;
|
|
104
|
+
rows: string | number;
|
|
105
|
+
content: string;
|
|
106
|
+
direction: string;
|
|
107
|
+
expandText: string;
|
|
108
|
+
collapseText: string;
|
|
109
|
+
lineHeight: string | number;
|
|
110
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
111
|
+
export default _default;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { toolbarContextKey } from '../../constants';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
|
+
searchable: BooleanConstructor;
|
|
4
|
+
refreshable: BooleanConstructor;
|
|
5
|
+
buttons: {
|
|
6
|
+
type: ArrayConstructor;
|
|
7
|
+
default: () => string[];
|
|
8
|
+
};
|
|
9
|
+
back: FunctionConstructor;
|
|
10
|
+
cancel: FunctionConstructor;
|
|
11
|
+
emitter: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
footer: BooleanConstructor;
|
|
16
|
+
label: ObjectConstructor;
|
|
17
|
+
}>, {}, {}, {}, {
|
|
18
|
+
goBack(): void;
|
|
19
|
+
createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
|
|
20
|
+
label: any;
|
|
21
|
+
icon: any;
|
|
22
|
+
type: any;
|
|
23
|
+
separateLine?: boolean | undefined;
|
|
24
|
+
loadable: any;
|
|
25
|
+
circle: any;
|
|
26
|
+
onClick: any;
|
|
27
|
+
title: any;
|
|
28
|
+
}): any;
|
|
29
|
+
getLeftButtons(): any[];
|
|
30
|
+
getRightButtons(): any[];
|
|
31
|
+
getSearchButton(): any;
|
|
32
|
+
getRefreshButton(): any;
|
|
33
|
+
getSettingsButton(): any;
|
|
34
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
35
|
+
searchable: BooleanConstructor;
|
|
36
|
+
refreshable: BooleanConstructor;
|
|
37
|
+
buttons: {
|
|
38
|
+
type: ArrayConstructor;
|
|
39
|
+
default: () => string[];
|
|
40
|
+
};
|
|
41
|
+
back: FunctionConstructor;
|
|
42
|
+
cancel: FunctionConstructor;
|
|
43
|
+
emitter: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
footer: BooleanConstructor;
|
|
48
|
+
label: ObjectConstructor;
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
footer: boolean;
|
|
51
|
+
searchable: boolean;
|
|
52
|
+
refreshable: boolean;
|
|
53
|
+
buttons: unknown[];
|
|
54
|
+
emitter: string;
|
|
55
|
+
}, {}, {}, {}, string, () => {
|
|
56
|
+
[toolbarContextKey]: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
57
|
+
searchable: BooleanConstructor;
|
|
58
|
+
refreshable: BooleanConstructor;
|
|
59
|
+
buttons: {
|
|
60
|
+
type: ArrayConstructor;
|
|
61
|
+
default: () => string[];
|
|
62
|
+
};
|
|
63
|
+
back: FunctionConstructor;
|
|
64
|
+
cancel: FunctionConstructor;
|
|
65
|
+
emitter: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
footer: BooleanConstructor;
|
|
70
|
+
label: ObjectConstructor;
|
|
71
|
+
}>> & Readonly<{}>, {}, {}, {}, {
|
|
72
|
+
goBack(): void;
|
|
73
|
+
createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
|
|
74
|
+
label: any;
|
|
75
|
+
icon: any;
|
|
76
|
+
type: any;
|
|
77
|
+
separateLine?: boolean | undefined;
|
|
78
|
+
loadable: any;
|
|
79
|
+
circle: any;
|
|
80
|
+
onClick: any;
|
|
81
|
+
title: any;
|
|
82
|
+
}): any;
|
|
83
|
+
getLeftButtons(): any[];
|
|
84
|
+
getRightButtons(): any[];
|
|
85
|
+
getSearchButton(): any;
|
|
86
|
+
getRefreshButton(): any;
|
|
87
|
+
getSettingsButton(): any;
|
|
88
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {}, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
89
|
+
P: {};
|
|
90
|
+
B: {};
|
|
91
|
+
D: {};
|
|
92
|
+
C: {};
|
|
93
|
+
M: {};
|
|
94
|
+
Defaults: {};
|
|
95
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
96
|
+
searchable: BooleanConstructor;
|
|
97
|
+
refreshable: BooleanConstructor;
|
|
98
|
+
buttons: {
|
|
99
|
+
type: ArrayConstructor;
|
|
100
|
+
default: () => string[];
|
|
101
|
+
};
|
|
102
|
+
back: FunctionConstructor;
|
|
103
|
+
cancel: FunctionConstructor;
|
|
104
|
+
emitter: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
footer: BooleanConstructor;
|
|
109
|
+
label: ObjectConstructor;
|
|
110
|
+
}>> & Readonly<{}>, {}, {}, {}, {
|
|
111
|
+
goBack(): void;
|
|
112
|
+
createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
|
|
113
|
+
label: any;
|
|
114
|
+
icon: any;
|
|
115
|
+
type: any;
|
|
116
|
+
separateLine?: boolean | undefined;
|
|
117
|
+
loadable: any;
|
|
118
|
+
circle: any;
|
|
119
|
+
onClick: any;
|
|
120
|
+
title: any;
|
|
121
|
+
}): any;
|
|
122
|
+
getLeftButtons(): any[];
|
|
123
|
+
getRightButtons(): any[];
|
|
124
|
+
getSearchButton(): any;
|
|
125
|
+
getRefreshButton(): any;
|
|
126
|
+
getSettingsButton(): any;
|
|
127
|
+
}, {}>;
|
|
128
|
+
}, true, {}, any>;
|
|
129
|
+
export default _default;
|
package/toolbar/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DgH_4qOn2.mjs";
|
|
2
2
|
export { e as default };
|