@web-utils/component 2.70.0 → 3.0.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/address-input/index.mjs +16 -14
- package/awesome-button/index.mjs +30 -29
- package/card/index.mjs +42 -40
- package/carousel/index.mjs +27 -25
- package/chat/index.mjs +70 -59
- package/chunk-file-uploader/index.mjs +594 -35
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/CountUp.f1a19f35.mjs +124 -0
- package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +8 -0
- package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +32 -0
- package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +356 -0
- package/chunks/ElementDialog.d8f3105c.mjs +211 -0
- package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +95 -0
- package/chunks/EmptyView.e2430422.mjs +51 -0
- package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +23 -0
- package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +37 -0
- package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +65 -0
- package/chunks/FormItem.2920ac0c.mjs +45 -0
- package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +258 -0
- package/chunks/FormItemGroup.41daddb6.mjs +64 -0
- package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +155 -0
- package/chunks/FyCurd.8acd2983.mjs +548 -0
- package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +2945 -0
- package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +47 -0
- package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +151 -0
- package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +22 -0
- package/chunks/FyForm.0294e494.mjs +439 -0
- package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +737 -0
- package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +93 -0
- package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +56 -0
- package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +158 -0
- package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +39 -0
- package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +102 -0
- package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +41 -0
- package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +15 -0
- package/chunks/IconTemp.42c48e1f.mjs +32 -0
- package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +23 -0
- package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +172 -0
- package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +23 -0
- package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +21 -0
- package/chunks/Page.81f4b8d9.mjs +32 -0
- package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +13 -0
- package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +26 -0
- package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +88 -0
- package/chunks/PageableTable.333cbdc1.mjs +335 -0
- package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +148 -0
- package/chunks/ResizeObserver.60f728f0.mjs +54 -0
- package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +13 -0
- package/chunks/TableColumn.8503272e.mjs +106 -0
- package/chunks/Toolbar.5c539dbb.mjs +24 -0
- package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +275 -0
- package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +31 -0
- package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +74 -0
- package/chunks/confirmable-mixin.26e1d0e0.mjs +197 -0
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.816df805.mjs} +5 -5
- package/chunks/{dic.eaac0823.mjs → dic.3b4ba802.mjs} +40 -40
- package/chunks/{event.b5d855dd.mjs → event.4377230d.mjs} +2 -2
- package/chunks/{index.57f871af.mjs → index.d91bd77a.mjs} +7 -7
- package/chunks/{init.47f219b4.mjs → init.f0a03127.mjs} +2 -2
- package/chunks/{util.ae730cde.mjs → util.7844e2c2.mjs} +21 -21
- package/color-picker/index.mjs +200 -32
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/count-up/index.mjs +14 -17
- package/data-box/index.mjs +36 -33
- package/data-card/index.mjs +35 -33
- package/data-cardtext/index.mjs +29 -27
- package/data-display/index.mjs +37 -34
- package/data-icons/index.mjs +32 -29
- package/data-imgtext/index.mjs +30 -27
- package/data-operatext/index.mjs +41 -39
- package/data-panel/index.mjs +39 -36
- package/data-pay/index.mjs +26 -22
- package/data-price/index.mjs +34 -32
- package/data-progress/index.mjs +32 -28
- package/data-rotate/index.mjs +38 -35
- package/data-table-picker/index.mjs +25 -22
- package/data-tabs/index.mjs +35 -32
- package/dialog-form/index.mjs +41 -32
- package/dynamic-table/index.mjs +47 -42
- package/easy-popup/index.mjs +29 -56
- package/editable-progress/index.mjs +16 -14
- package/editable-tree/index.mjs +129 -476
- package/egd-collapse-item/index.mjs +1 -2
- package/element-dialog/index.mjs +37 -126
- package/empty-view/index.mjs +13 -31
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow/index.mjs +105 -40
- package/flow-designer/index.mjs +1190 -1114
- package/flow-node/index.mjs +15 -47
- package/flow-viewer/index.mjs +167 -78
- package/form-block/index.mjs +24 -22
- package/form-cascader/index.mjs +29 -29
- package/form-checkbox-group/index.mjs +76 -31
- package/form-date-picker/index.mjs +21 -20
- package/form-holder/index.mjs +16 -15
- package/form-input/index.mjs +30 -88
- package/form-input-email/index.mjs +28 -28
- package/form-input-id-card/index.mjs +37 -37
- package/form-input-number/index.mjs +219 -59
- package/form-input-phone-number/index.mjs +25 -25
- package/form-input-tag/index.mjs +160 -38
- package/form-input-time/index.mjs +23 -23
- package/form-item/index.mjs +15 -144
- package/form-item-group/index.mjs +15 -163
- package/form-radio-group/index.mjs +39 -38
- package/form-select/index.mjs +33 -32
- package/form-switch/index.mjs +26 -26
- package/form-textarea/index.mjs +26 -26
- package/form-view/index.mjs +46 -42
- package/fy-array/index.mjs +65 -61
- package/fy-cascader/index.mjs +14 -13
- package/fy-checkbox/index.mjs +37 -32
- package/fy-code/index.mjs +11 -14
- package/fy-curd/index.mjs +206 -2795
- package/fy-date/index.mjs +16 -57
- package/fy-draggable/index.mjs +21 -20
- package/fy-dynamic/index.mjs +64 -207
- package/fy-empty/index.mjs +12 -29
- package/fy-form/index.mjs +178 -732
- package/fy-form-design/index.mjs +1738 -1179
- package/fy-input/index.mjs +15 -101
- package/fy-input-color/index.mjs +17 -66
- package/fy-input-icon/index.mjs +21 -116
- package/fy-input-map/index.mjs +27 -24
- package/fy-input-number/index.mjs +23 -22
- package/fy-input-table/index.mjs +22 -18
- package/fy-input-tree/index.mjs +32 -28
- package/fy-progress/index.mjs +24 -23
- package/fy-radio/index.mjs +23 -18
- package/fy-rate/index.mjs +16 -49
- package/fy-select/index.mjs +29 -122
- package/fy-slider/index.mjs +18 -17
- package/fy-switch/index.mjs +21 -20
- package/fy-tabs/index.mjs +14 -48
- package/fy-time/index.mjs +20 -14
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +26 -20
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +76 -74
- package/guide-steps/index.mjs +24 -22
- package/highlight-j-s/index.mjs +19 -29
- package/icon-temp/index.mjs +12 -30
- package/iframe-window/index.mjs +19 -18
- package/image-cropper/index.mjs +53 -51
- package/image-preview/index.mjs +27 -25
- package/input-number/index.mjs +63 -172
- package/input-number-range/index.mjs +24 -23
- package/license/index.mjs +1 -1
- package/loading-view/index.mjs +15 -33
- package/login/index.mjs +40 -35
- package/nav-bar/index.mjs +15 -30
- package/notice/index.mjs +19 -18
- package/package.json +1 -1
- package/page/index.mjs +12 -20
- package/page-header/index.mjs +13 -34
- package/page-index/index.mjs +34 -33
- package/page-index-top/index.mjs +100 -51
- package/page-skeleton/index.mjs +18 -35
- package/page-skeleton-new/index.mjs +16 -15
- package/pageable-table/index.mjs +85 -223
- package/pageable-view/index.mjs +34 -33
- package/present-view/index.mjs +75 -71
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +21 -29
- package/search/index.mjs +29 -27
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/split-pane/index.mjs +40 -45
- package/static-pageable-table/index.mjs +20 -18
- package/swiper/index.mjs +27 -25
- package/table-view/index.mjs +627 -89
- package/tag-render/index.mjs +21 -19
- package/text-ellipsis/index.mjs +13 -12
- package/tinymce-editor/index.mjs +73 -72
- package/toolbar/index.mjs +15 -208
- package/toolbar-button/index.mjs +32 -57
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +112 -104
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +51 -117
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- package/chunks/confirmable-mixin.817b542f.mjs +0 -116
- package/chunks/form-input-mixin.4632ad36.mjs +0 -24
- package/chunks/form-item-mixin.ad148e7b.mjs +0 -140
- package/chunks/input-number-mixin.41a066be.mjs +0 -60
package/toolbar/index.mjs
CHANGED
|
@@ -1,217 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
cancel: {
|
|
10
|
-
label: "取消",
|
|
11
|
-
icon: "fa fa-undo"
|
|
12
|
-
},
|
|
13
|
-
create: {
|
|
14
|
-
label: "新增",
|
|
15
|
-
type: "primary",
|
|
16
|
-
icon: "el-icon-plus"
|
|
17
|
-
},
|
|
18
|
-
save: {
|
|
19
|
-
label: "保存",
|
|
20
|
-
type: "primary",
|
|
21
|
-
icon: "fa fa-save"
|
|
22
|
-
},
|
|
23
|
-
withdraw: {
|
|
24
|
-
label: "撤回",
|
|
25
|
-
type: "primary",
|
|
26
|
-
icon: "fa fa-undo"
|
|
27
|
-
},
|
|
28
|
-
edit: {
|
|
29
|
-
label: "编辑",
|
|
30
|
-
type: "primary",
|
|
31
|
-
icon: "el-icon-edit-outline"
|
|
32
|
-
},
|
|
33
|
-
submit: {
|
|
34
|
-
label: "提交审批",
|
|
35
|
-
type: "primary",
|
|
36
|
-
icon: "fa fa-check"
|
|
37
|
-
},
|
|
38
|
-
publish: {
|
|
39
|
-
label: "发布",
|
|
40
|
-
type: "primary",
|
|
41
|
-
icon: "fa fa-send"
|
|
42
|
-
},
|
|
43
|
-
agree: {
|
|
44
|
-
label: "同意",
|
|
45
|
-
type: "primary",
|
|
46
|
-
icon: "fa fa-check-square-o"
|
|
47
|
-
},
|
|
48
|
-
disagree: {
|
|
49
|
-
label: "不同意",
|
|
50
|
-
type: "primary",
|
|
51
|
-
icon: "fa fa-mail-reply"
|
|
52
|
-
},
|
|
53
|
-
reject: {
|
|
54
|
-
label: "退回",
|
|
55
|
-
type: "primary",
|
|
56
|
-
icon: "fa fa-reply"
|
|
57
|
-
},
|
|
58
|
-
finish: {
|
|
59
|
-
label: "完成",
|
|
60
|
-
type: "primary",
|
|
61
|
-
icon: "fa fa-check-square"
|
|
62
|
-
},
|
|
63
|
-
enable: {
|
|
64
|
-
label: "启用",
|
|
65
|
-
type: "primary",
|
|
66
|
-
icon: "el-icon-circle-check"
|
|
67
|
-
},
|
|
68
|
-
exp: {
|
|
69
|
-
label: "导出",
|
|
70
|
-
type: "primary",
|
|
71
|
-
icon: "el-icon-download"
|
|
72
|
-
},
|
|
73
|
-
imp: {
|
|
74
|
-
label: "导入",
|
|
75
|
-
type: "primary",
|
|
76
|
-
icon: "el-icon-upload"
|
|
77
|
-
},
|
|
78
|
-
del: {
|
|
79
|
-
label: "删除",
|
|
80
|
-
type: "primary",
|
|
81
|
-
icon: "el-icon-delete"
|
|
82
|
-
},
|
|
83
|
-
disabled: {
|
|
84
|
-
label: "禁用",
|
|
85
|
-
type: "primary",
|
|
86
|
-
icon: "el-icon-remove-outline"
|
|
87
|
-
},
|
|
88
|
-
reload: {
|
|
89
|
-
label: "刷新",
|
|
90
|
-
type: "primary",
|
|
91
|
-
icon: "el-icon-refresh"
|
|
92
|
-
},
|
|
93
|
-
search: {
|
|
94
|
-
label: "搜索",
|
|
95
|
-
icon: "el-icon-search",
|
|
96
|
-
separateLine: !1
|
|
97
|
-
}
|
|
98
|
-
}, d = {
|
|
99
|
-
name: "Toolbar",
|
|
100
|
-
provide() {
|
|
101
|
-
return {
|
|
102
|
-
toolbar: this
|
|
103
|
-
};
|
|
104
|
-
},
|
|
105
|
-
props: {
|
|
106
|
-
searchable: Boolean,
|
|
107
|
-
buttons: {
|
|
108
|
-
type: Array,
|
|
109
|
-
default: () => ["back"]
|
|
110
|
-
},
|
|
111
|
-
back: {
|
|
112
|
-
type: Function
|
|
113
|
-
},
|
|
114
|
-
cancel: {
|
|
115
|
-
type: Function
|
|
116
|
-
},
|
|
117
|
-
emitter: {
|
|
118
|
-
type: String,
|
|
119
|
-
default: "self"
|
|
120
|
-
},
|
|
121
|
-
footer: Boolean,
|
|
122
|
-
label: {
|
|
123
|
-
type: Object,
|
|
124
|
-
default: () => ({})
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
methods: {
|
|
128
|
-
goBack() {
|
|
129
|
-
const e = this.$route.path;
|
|
130
|
-
this.$bus("closeTab", e, this);
|
|
131
|
-
},
|
|
132
|
-
fire(e, t) {
|
|
133
|
-
this.emitter === "parent" ? this.$parent && this.$parent.$emit(e, t, this) : this.$emit(e, t, this);
|
|
134
|
-
},
|
|
135
|
-
createButton(e, {
|
|
136
|
-
label: t,
|
|
137
|
-
icon: o,
|
|
138
|
-
type: i,
|
|
139
|
-
separateLine: a = !0
|
|
140
|
-
}) {
|
|
141
|
-
var r;
|
|
142
|
-
const n = this.$createElement;
|
|
143
|
-
let l;
|
|
144
|
-
const s = ((r = this.label) == null ? void 0 : r[e]) || t;
|
|
145
|
-
return ["back", "cancel"].includes(e) ? l = this.goBack : l = (c) => (this.$listeners[e] || b)(c), n("ToolbarButton", {
|
|
146
|
-
attrs: {
|
|
147
|
-
"separate-line": a,
|
|
148
|
-
icon: o,
|
|
149
|
-
label: s,
|
|
150
|
-
footer: this.footer,
|
|
151
|
-
type: i
|
|
152
|
-
},
|
|
153
|
-
on: {
|
|
154
|
-
click: l
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
},
|
|
158
|
-
getLeftButtons() {
|
|
159
|
-
var o, i;
|
|
160
|
-
const {
|
|
161
|
-
createButton: e
|
|
162
|
-
} = this;
|
|
163
|
-
return ((i = (o = this.$scopedSlots)["toolbar-left"]) == null ? void 0 : i.call(o)) || this.buttons.map((a) => {
|
|
164
|
-
var l, s, r, c, p;
|
|
165
|
-
const n = u[a];
|
|
166
|
-
return n ? ((s = (l = this.$scopedSlots)[a]) == null ? void 0 : s.call(l)) || e(a, n) : a === "slot" && (p = (c = (r = this.$scopedSlots).default) == null ? void 0 : c.call(r, {
|
|
167
|
-
buttons: this.buttons,
|
|
168
|
-
footer: this.footer
|
|
169
|
-
})) != null ? p : null;
|
|
170
|
-
});
|
|
171
|
-
},
|
|
172
|
-
getRightButtons() {
|
|
173
|
-
var t, o;
|
|
174
|
-
return ((o = (t = this.$scopedSlots)["toolbar-right"]) == null ? void 0 : o.call(t)) || this.getSearchButton();
|
|
175
|
-
},
|
|
176
|
-
getSearchButton() {
|
|
177
|
-
const {
|
|
178
|
-
createButton: e
|
|
179
|
-
} = this;
|
|
180
|
-
return this.searchable ? e("search", u.search) : null;
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
render() {
|
|
184
|
-
const e = arguments[0];
|
|
185
|
-
return this.footer ? e("div", {
|
|
186
|
-
class: "footer-bar"
|
|
187
|
-
}, [this.getLeftButtons()]) : e("div", {
|
|
188
|
-
class: "toolbar"
|
|
189
|
-
}, [e("div", {
|
|
190
|
-
class: "toolbar-left"
|
|
191
|
-
}, [this.getLeftButtons()]), e("div", {
|
|
192
|
-
class: "toolbar-right"
|
|
193
|
-
}, [this.getRightButtons()])]);
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
let y, m;
|
|
197
|
-
const h = {};
|
|
198
|
-
var _ = /* @__PURE__ */ f(
|
|
199
|
-
d,
|
|
200
|
-
y,
|
|
201
|
-
m,
|
|
1
|
+
import { _ as t } from "../chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs";
|
|
2
|
+
import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
|
+
let _, r;
|
|
4
|
+
const n = {};
|
|
5
|
+
var s = /* @__PURE__ */ o(
|
|
6
|
+
t,
|
|
7
|
+
_,
|
|
8
|
+
r,
|
|
202
9
|
!1,
|
|
203
|
-
|
|
10
|
+
l,
|
|
204
11
|
null,
|
|
205
12
|
null,
|
|
206
13
|
null
|
|
207
14
|
);
|
|
208
|
-
function
|
|
209
|
-
for (let
|
|
210
|
-
this[
|
|
15
|
+
function l(u) {
|
|
16
|
+
for (let e in n)
|
|
17
|
+
this[e] = n[e];
|
|
211
18
|
}
|
|
212
|
-
const
|
|
213
|
-
return
|
|
19
|
+
const a = /* @__PURE__ */ function() {
|
|
20
|
+
return s.exports;
|
|
214
21
|
}();
|
|
215
22
|
export {
|
|
216
|
-
|
|
23
|
+
a as default
|
|
217
24
|
};
|
package/toolbar-button/index.mjs
CHANGED
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var i = (n, t, e) => new Promise((c, s) => {
|
|
2
|
+
var u = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
a(e.next(
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
a(e.next(o));
|
|
5
|
+
} catch (r) {
|
|
6
|
+
s(r);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, p = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
a(e.throw(
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
a(e.throw(o));
|
|
11
|
+
} catch (r) {
|
|
12
|
+
s(r);
|
|
13
13
|
}
|
|
14
|
-
}, a = (
|
|
15
|
-
a((e = e.apply(
|
|
14
|
+
}, a = (o) => o.done ? c(o.value) : Promise.resolve(o.value).then(u, p);
|
|
15
|
+
a((e = e.apply(n, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { isFunction as
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return t.footer || t.toolbar.footer ? e("ElButton", {
|
|
22
|
-
attrs: {
|
|
23
|
-
disabled: t.disabled || t.loading,
|
|
24
|
-
type: t.type
|
|
25
|
-
},
|
|
26
|
-
on: {
|
|
27
|
-
click: t.onClick
|
|
28
|
-
}
|
|
29
|
-
}, [t._v(" " + t._s(t.label) + " ")]) : e("span", {
|
|
30
|
-
staticClass: "form-toolbar-button"
|
|
31
|
-
}, [e("ElButton", {
|
|
32
|
-
attrs: {
|
|
33
|
-
icon: t.icon,
|
|
34
|
-
type: "text",
|
|
35
|
-
disabled: t.disabled || t.loading,
|
|
36
|
-
size: "mini"
|
|
37
|
-
},
|
|
38
|
-
on: {
|
|
39
|
-
click: t.onClick
|
|
40
|
-
}
|
|
41
|
-
}, [t._v(" " + t._s(t.label) + " ")]), t.separateLine ? e("span", {
|
|
42
|
-
staticClass: "separate-line"
|
|
43
|
-
}) : t._e()], 1);
|
|
44
|
-
}, b = [];
|
|
45
|
-
const m = {
|
|
17
|
+
import { isFunction as f } from "@web-utils/core";
|
|
18
|
+
import { s as d, r as _ } from "../chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs";
|
|
19
|
+
import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
20
|
+
const y = {
|
|
46
21
|
name: "ToolbarButton",
|
|
47
22
|
inject: {
|
|
48
23
|
toolbar: {
|
|
@@ -72,37 +47,37 @@ const m = {
|
|
|
72
47
|
};
|
|
73
48
|
},
|
|
74
49
|
methods: {
|
|
75
|
-
onClick(
|
|
76
|
-
return
|
|
50
|
+
onClick(n) {
|
|
51
|
+
return i(this, null, function* () {
|
|
77
52
|
this.loading = !0;
|
|
78
|
-
const { click:
|
|
79
|
-
if (
|
|
53
|
+
const { click: t } = this.$listeners;
|
|
54
|
+
if (f(t))
|
|
80
55
|
try {
|
|
81
|
-
yield
|
|
56
|
+
yield t(n);
|
|
82
57
|
} catch (e) {
|
|
83
58
|
}
|
|
84
59
|
this.loading = !1;
|
|
85
60
|
});
|
|
86
61
|
}
|
|
87
62
|
}
|
|
88
|
-
},
|
|
89
|
-
var
|
|
90
|
-
m,
|
|
91
|
-
f,
|
|
92
|
-
b,
|
|
93
|
-
!1,
|
|
63
|
+
}, l = {};
|
|
64
|
+
var g = /* @__PURE__ */ m(
|
|
94
65
|
y,
|
|
66
|
+
_,
|
|
67
|
+
d,
|
|
68
|
+
!1,
|
|
69
|
+
h,
|
|
95
70
|
null,
|
|
96
71
|
null,
|
|
97
72
|
null
|
|
98
73
|
);
|
|
99
|
-
function
|
|
100
|
-
for (let
|
|
101
|
-
this[
|
|
74
|
+
function h(n) {
|
|
75
|
+
for (let t in l)
|
|
76
|
+
this[t] = l[t];
|
|
102
77
|
}
|
|
103
|
-
const
|
|
104
|
-
return
|
|
78
|
+
const x = /* @__PURE__ */ function() {
|
|
79
|
+
return g.exports;
|
|
105
80
|
}();
|
|
106
81
|
export {
|
|
107
|
-
|
|
82
|
+
x as default
|
|
108
83
|
};
|
package/verify/index.mjs
CHANGED