@web-utils/component 3.0.2 → 3.0.3
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 +14 -14
- package/chat/index.mjs +39 -40
- package/chunk-file-uploader/index.mjs +35 -594
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/FormTemp.d079292b.mjs +139 -0
- package/chunks/{dataformat.816df805.mjs → dataformat.e655611c.mjs} +6 -6
- package/chunks/detail.d6f8e347.mjs +29 -0
- package/chunks/{dic.3b4ba802.mjs → dic.eaac0823.mjs} +40 -40
- package/chunks/{event.4377230d.mjs → event.10295951.mjs} +2 -2
- package/chunks/form-input-mixin.78a567bc.mjs +24 -0
- package/chunks/form-item-mixin.57cb2019.mjs +140 -0
- package/chunks/{index.d91bd77a.mjs → index.57f871af.mjs} +7 -7
- package/chunks/{init.f0a03127.mjs → init.47f219b4.mjs} +2 -2
- package/chunks/input-number-mixin.41a066be.mjs +60 -0
- package/chunks/{util.7844e2c2.mjs → util.ae730cde.mjs} +21 -21
- package/count-up/index.mjs +17 -14
- package/data-box/index.mjs +18 -19
- package/data-display/index.mjs +17 -18
- package/data-icons/index.mjs +16 -17
- package/data-panel/index.mjs +20 -21
- package/data-pay/index.mjs +15 -16
- package/data-progress/index.mjs +19 -20
- package/data-rotate/index.mjs +35 -36
- package/data-table-picker/index.mjs +23 -25
- package/data-tabs/index.mjs +15 -16
- package/dialog-form/index.mjs +11 -12
- package/dynamic-table/index.mjs +34 -35
- package/easy-popup/index.mjs +56 -29
- package/editable-tree/index.mjs +485 -134
- package/element-dialog/index.mjs +127 -37
- package/empty-view/index.mjs +31 -13
- 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 +40 -105
- package/flow-designer/index.mjs +555 -615
- package/flow-node/index.mjs +47 -15
- package/flow-viewer/index.mjs +78 -167
- package/form-cascader/index.mjs +24 -24
- package/form-checkbox-group/index.mjs +35 -79
- package/form-date-picker/index.mjs +22 -22
- package/form-holder/index.mjs +1 -1
- package/form-input/index.mjs +86 -28
- package/form-input-email/index.mjs +18 -18
- package/form-input-id-card/index.mjs +27 -27
- package/form-input-number/index.mjs +59 -219
- package/form-input-phone-number/index.mjs +27 -27
- package/form-input-tag/index.mjs +38 -160
- package/form-input-time/index.mjs +16 -16
- package/form-item/index.mjs +146 -15
- package/form-item-group/index.mjs +164 -14
- package/form-radio-group/index.mjs +41 -41
- package/form-select/index.mjs +20 -20
- package/form-switch/index.mjs +19 -19
- package/form-textarea/index.mjs +29 -29
- package/form-view/index.mjs +42 -46
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +15 -15
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +2824 -210
- package/fy-date/index.mjs +59 -17
- package/fy-draggable/index.mjs +1 -1
- package/fy-dynamic/index.mjs +208 -64
- package/fy-empty/index.mjs +29 -12
- package/fy-form/index.mjs +743 -178
- package/fy-form-design/index.mjs +1013 -1540
- package/fy-input/index.mjs +105 -17
- package/fy-input-color/index.mjs +67 -16
- package/fy-input-icon/index.mjs +119 -23
- package/fy-input-map/index.mjs +14 -15
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +19 -21
- package/fy-input-tree/index.mjs +3 -3
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.mjs +50 -16
- package/fy-select/index.mjs +126 -29
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +1 -1
- package/fy-tabs/index.mjs +51 -15
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +23 -25
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +2 -2
- package/highlight-j-s/index.mjs +29 -19
- package/icon-temp/index.mjs +30 -12
- package/iframe-window/index.mjs +18 -19
- package/image-cropper/index.mjs +22 -23
- package/image-preview/index.mjs +1 -1
- package/input-number/index.mjs +173 -63
- package/license/index.mjs +1 -1
- package/loading-view/index.mjs +33 -15
- package/login/index.mjs +1 -1
- package/nav-bar/index.mjs +31 -15
- package/package.json +1 -1
- package/page/index.mjs +20 -12
- package/page-header/index.mjs +34 -13
- package/page-index-top/index.mjs +53 -100
- package/page-skeleton/index.mjs +35 -18
- package/page-skeleton-new/index.mjs +15 -16
- package/pageable-table/index.mjs +228 -86
- package/pageable-view/index.mjs +1 -1
- package/present-view/index.mjs +71 -75
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +29 -21
- package/search/index.mjs +9 -9
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/split-pane/index.mjs +45 -40
- package/swiper/index.mjs +13 -14
- package/table-view/index.mjs +97 -631
- package/text-ellipsis/index.mjs +1 -1
- package/tinymce-editor/index.mjs +63 -63
- package/toolbar/index.mjs +208 -15
- package/toolbar-button/index.mjs +56 -30
- package/verify/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +118 -49
- package/chunks/CountUp.f1a19f35.mjs +0 -124
- package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +0 -8
- package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +0 -32
- package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +0 -356
- package/chunks/ElementDialog.d8f3105c.mjs +0 -211
- package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +0 -95
- package/chunks/EmptyView.e2430422.mjs +0 -51
- package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +0 -23
- package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +0 -37
- package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +0 -65
- package/chunks/FormItem.2920ac0c.mjs +0 -45
- package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +0 -258
- package/chunks/FormItemGroup.41daddb6.mjs +0 -64
- package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +0 -155
- package/chunks/FyCurd.8acd2983.mjs +0 -548
- package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +0 -2945
- package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +0 -47
- package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +0 -151
- package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +0 -22
- package/chunks/FyForm.0294e494.mjs +0 -439
- package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +0 -737
- package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +0 -93
- package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +0 -56
- package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +0 -158
- package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +0 -39
- package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +0 -102
- package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +0 -41
- package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +0 -15
- package/chunks/IconTemp.42c48e1f.mjs +0 -32
- package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +0 -23
- package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +0 -172
- package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +0 -23
- package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +0 -21
- package/chunks/Page.81f4b8d9.mjs +0 -32
- package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +0 -13
- package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +0 -26
- package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +0 -88
- package/chunks/PageableTable.333cbdc1.mjs +0 -335
- package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +0 -148
- package/chunks/ResizeObserver.60f728f0.mjs +0 -54
- package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +0 -13
- package/chunks/TableColumn.8503272e.mjs +0 -106
- package/chunks/Toolbar.5c539dbb.mjs +0 -24
- package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +0 -275
- package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +0 -31
- package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +0 -74
package/fy-select/index.mjs
CHANGED
|
@@ -1,13 +1,110 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { s as
|
|
3
|
-
import { b as
|
|
4
|
-
import { isBlank as
|
|
5
|
-
import { p as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
1
|
+
import { p as c, e as u } from "../chunks/event.10295951.mjs";
|
|
2
|
+
import { s as d } from "../chunks/dic.eaac0823.mjs";
|
|
3
|
+
import { b as p } from "../chunks/util.ae730cde.mjs";
|
|
4
|
+
import { isBlank as _ } from "@web-utils/core";
|
|
5
|
+
import { p as f } from "../chunks/packages.1fc9ccba.mjs";
|
|
6
|
+
import s from "element-ui/lib/option";
|
|
7
|
+
import h from "element-ui/lib/checkbox";
|
|
8
|
+
import m from "element-ui/lib/option-group";
|
|
9
|
+
import y from "element-ui/lib/select";
|
|
10
|
+
import { n as g } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
11
|
+
var v = function() {
|
|
12
|
+
var e = this, a = e.$createElement, l = e._self._c || a;
|
|
13
|
+
return l(y, {
|
|
14
|
+
ref: "main",
|
|
15
|
+
staticClass: "avue-select",
|
|
16
|
+
attrs: {
|
|
17
|
+
size: e.size,
|
|
18
|
+
loading: e.loading,
|
|
19
|
+
"loading-text": e.loadingText,
|
|
20
|
+
multiple: e.multiple,
|
|
21
|
+
filterable: e.remote ? !0 : e.filterable,
|
|
22
|
+
remote: e.remote,
|
|
23
|
+
readonly: e.readonly,
|
|
24
|
+
"no-match-text": e.noMatchText,
|
|
25
|
+
"no-data-text": e.noDataText,
|
|
26
|
+
"remote-method": e.remote ? e.handleRemoteMethod : void 0,
|
|
27
|
+
"popper-class": e.popperClass,
|
|
28
|
+
"popper-append-to-body": e.popperAppendToBody,
|
|
29
|
+
"collapse-tags": e.tags,
|
|
30
|
+
clearable: e.clearableVal,
|
|
31
|
+
placeholder: e.placeholder,
|
|
32
|
+
"multiple-limit": e.limit,
|
|
33
|
+
"allow-create": e.allowCreate,
|
|
34
|
+
"default-first-option": e.defaultFirstOption,
|
|
35
|
+
disabled: e.disabled
|
|
36
|
+
},
|
|
37
|
+
on: {
|
|
38
|
+
focus: e.handleFocus,
|
|
39
|
+
blur: e.handleBlur,
|
|
40
|
+
change: e.changeSelect
|
|
41
|
+
},
|
|
42
|
+
nativeOn: {
|
|
43
|
+
click: function(t) {
|
|
44
|
+
return e.handleClick.apply(null, arguments);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
model: {
|
|
48
|
+
value: e.text,
|
|
49
|
+
callback: function(t) {
|
|
50
|
+
e.text = t;
|
|
51
|
+
},
|
|
52
|
+
expression: "text"
|
|
53
|
+
}
|
|
54
|
+
}, [e.group ? e._l(e.netDic, function(t, o) {
|
|
55
|
+
return l(m, {
|
|
56
|
+
key: o,
|
|
57
|
+
attrs: {
|
|
58
|
+
label: e.getLabelText(t)
|
|
59
|
+
}
|
|
60
|
+
}, e._l(t[e.groupsKey], function(n, r) {
|
|
61
|
+
return l(s, {
|
|
62
|
+
key: r,
|
|
63
|
+
attrs: {
|
|
64
|
+
disabled: n[e.disabledKey],
|
|
65
|
+
label: e.getLabelText(n),
|
|
66
|
+
value: n[e.valueKey]
|
|
67
|
+
}
|
|
68
|
+
}, [e.$scopedSlots.default ? e._t("default", null, {
|
|
69
|
+
label: e.labelKey,
|
|
70
|
+
value: e.valueKey,
|
|
71
|
+
item: n
|
|
72
|
+
}) : [l("span", [e._v(e._s(e.getLabelText(n)))]), n[e.descKey] ? l("span", {
|
|
73
|
+
staticClass: "avue-select__desc"
|
|
74
|
+
}, [e._v(e._s(n[e.descKey]))]) : e._e()]], 2);
|
|
75
|
+
}), 1);
|
|
76
|
+
}) : [e.all && e.multiple ? l(h, {
|
|
77
|
+
staticClass: "avue-select__check",
|
|
78
|
+
on: {
|
|
79
|
+
change: e.selectAll
|
|
80
|
+
},
|
|
81
|
+
model: {
|
|
82
|
+
value: e.checkAll,
|
|
83
|
+
callback: function(t) {
|
|
84
|
+
e.checkAll = t;
|
|
85
|
+
},
|
|
86
|
+
expression: "checkAll"
|
|
87
|
+
}
|
|
88
|
+
}, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, o) {
|
|
89
|
+
return l(s, {
|
|
90
|
+
key: o,
|
|
91
|
+
attrs: {
|
|
92
|
+
disabled: t[e.disabledKey],
|
|
93
|
+
label: e.getLabelText(t),
|
|
94
|
+
value: t[e.valueKey]
|
|
95
|
+
}
|
|
96
|
+
}, [e.$scopedSlots.default ? e._t("default", null, {
|
|
97
|
+
label: e.labelKey,
|
|
98
|
+
value: e.valueKey,
|
|
99
|
+
item: t
|
|
100
|
+
}) : [l("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? l("span", {
|
|
101
|
+
staticClass: "avue-select__desc"
|
|
102
|
+
}, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
|
|
103
|
+
})]], 2);
|
|
104
|
+
}, b = [];
|
|
105
|
+
const x = {
|
|
9
106
|
name: "FySelect",
|
|
10
|
-
mixins: [
|
|
107
|
+
mixins: [c, u],
|
|
11
108
|
props: {
|
|
12
109
|
loadingText: {
|
|
13
110
|
type: String
|
|
@@ -65,7 +162,7 @@ const f = {
|
|
|
65
162
|
},
|
|
66
163
|
watch: {
|
|
67
164
|
text(e) {
|
|
68
|
-
|
|
165
|
+
_(e) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(p) : this.text));
|
|
69
166
|
},
|
|
70
167
|
dic: {
|
|
71
168
|
handler(e) {
|
|
@@ -80,24 +177,24 @@ const f = {
|
|
|
80
177
|
methods: {
|
|
81
178
|
setSort() {
|
|
82
179
|
if (!window.Sortable) {
|
|
83
|
-
|
|
180
|
+
f.logs("Sortable");
|
|
84
181
|
return;
|
|
85
182
|
}
|
|
86
183
|
const e = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
|
|
87
184
|
window.Sortable.create(e, {
|
|
88
185
|
animation: 100,
|
|
89
|
-
onEnd: (
|
|
90
|
-
const
|
|
91
|
-
this.value.splice(
|
|
186
|
+
onEnd: (a) => {
|
|
187
|
+
const l = this.value.splice(a.oldIndex, 1)[0];
|
|
188
|
+
this.value.splice(a.newIndex, 0, l);
|
|
92
189
|
}
|
|
93
190
|
});
|
|
94
191
|
},
|
|
95
192
|
handleRemoteMethod(e) {
|
|
96
|
-
this.loading = !0,
|
|
193
|
+
this.loading = !0, d({
|
|
97
194
|
column: this.column,
|
|
98
195
|
value: e
|
|
99
|
-
}).then((
|
|
100
|
-
this.loading = !1, this.netDic =
|
|
196
|
+
}).then((a) => {
|
|
197
|
+
this.loading = !1, this.netDic = a;
|
|
101
198
|
});
|
|
102
199
|
},
|
|
103
200
|
selectAll() {
|
|
@@ -109,24 +206,24 @@ const f = {
|
|
|
109
206
|
this.checkAll = e.length === this.netDic.length;
|
|
110
207
|
}
|
|
111
208
|
}
|
|
112
|
-
},
|
|
113
|
-
var
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
209
|
+
}, i = {};
|
|
210
|
+
var S = /* @__PURE__ */ g(
|
|
211
|
+
x,
|
|
212
|
+
v,
|
|
213
|
+
b,
|
|
117
214
|
!1,
|
|
118
|
-
|
|
215
|
+
k,
|
|
119
216
|
null,
|
|
120
217
|
null,
|
|
121
218
|
null
|
|
122
219
|
);
|
|
123
|
-
function
|
|
124
|
-
for (let
|
|
125
|
-
this[
|
|
220
|
+
function k(e) {
|
|
221
|
+
for (let a in i)
|
|
222
|
+
this[a] = i[a];
|
|
126
223
|
}
|
|
127
|
-
const
|
|
128
|
-
return
|
|
224
|
+
const M = /* @__PURE__ */ function() {
|
|
225
|
+
return S.exports;
|
|
129
226
|
}();
|
|
130
227
|
export {
|
|
131
|
-
|
|
228
|
+
M as default
|
|
132
229
|
};
|
package/fy-slider/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as r, e as i } from "../chunks/event.
|
|
2
|
-
import { s as l } from "../chunks/util.
|
|
1
|
+
import { p as r, e as i } from "../chunks/event.10295951.mjs";
|
|
2
|
+
import { s as l } from "../chunks/util.ae730cde.mjs";
|
|
3
3
|
import a from "element-ui/lib/slider";
|
|
4
4
|
import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
5
5
|
var m = function() {
|
package/fy-switch/index.mjs
CHANGED
package/fy-tabs/index.mjs
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import r from "element-ui/lib/tab-pane";
|
|
2
|
+
import s from "element-ui/lib/tabs";
|
|
3
|
+
import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
|
+
var u = function() {
|
|
5
|
+
var t = this, o = t.$createElement, e = t._self._c || o;
|
|
6
|
+
return e("div", {
|
|
7
|
+
staticClass: "avue-tabs"
|
|
8
|
+
}, [e(s, {
|
|
9
|
+
attrs: {
|
|
10
|
+
"tab-position": t.parentOption.position,
|
|
11
|
+
type: t.parentOption.type
|
|
12
|
+
},
|
|
13
|
+
model: {
|
|
14
|
+
value: t.active,
|
|
15
|
+
callback: function(n) {
|
|
16
|
+
t.active = n;
|
|
17
|
+
},
|
|
18
|
+
expression: "active"
|
|
19
|
+
}
|
|
20
|
+
}, t._l(t.columnOption, function(n, a) {
|
|
21
|
+
return e(r, {
|
|
22
|
+
key: a,
|
|
23
|
+
attrs: {
|
|
24
|
+
name: `${a}`,
|
|
25
|
+
disabled: n.disabled
|
|
26
|
+
},
|
|
27
|
+
scopedSlots: t._u([{
|
|
28
|
+
key: "label",
|
|
29
|
+
fn: function() {
|
|
30
|
+
return [e("span", [e("i", {
|
|
31
|
+
class: n.icon
|
|
32
|
+
}), t._v(" " + t._s(n.label) + " ")])];
|
|
33
|
+
},
|
|
34
|
+
proxy: !0
|
|
35
|
+
}], null, !0)
|
|
36
|
+
});
|
|
37
|
+
}), 1)], 1);
|
|
38
|
+
}, p = [];
|
|
39
|
+
const l = {
|
|
4
40
|
name: "FyTabs",
|
|
5
41
|
props: {
|
|
6
42
|
option: {
|
|
@@ -35,24 +71,24 @@ const i = {
|
|
|
35
71
|
this.active = `${t}`;
|
|
36
72
|
}
|
|
37
73
|
}
|
|
38
|
-
},
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
74
|
+
}, i = {};
|
|
75
|
+
var _ = /* @__PURE__ */ c(
|
|
76
|
+
l,
|
|
77
|
+
u,
|
|
78
|
+
p,
|
|
43
79
|
!1,
|
|
44
|
-
|
|
80
|
+
m,
|
|
45
81
|
null,
|
|
46
82
|
null,
|
|
47
83
|
null
|
|
48
84
|
);
|
|
49
|
-
function
|
|
50
|
-
for (let
|
|
51
|
-
this[
|
|
85
|
+
function m(t) {
|
|
86
|
+
for (let o in i)
|
|
87
|
+
this[o] = i[o];
|
|
52
88
|
}
|
|
53
|
-
const
|
|
54
|
-
return
|
|
89
|
+
const f = /* @__PURE__ */ function() {
|
|
90
|
+
return _.exports;
|
|
55
91
|
}();
|
|
56
92
|
export {
|
|
57
|
-
|
|
93
|
+
f as default
|
|
58
94
|
};
|
package/fy-time/index.mjs
CHANGED
package/fy-title/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as r, e as _ } from "../chunks/event.
|
|
1
|
+
import { p as r, e as _ } from "../chunks/event.10295951.mjs";
|
|
2
2
|
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var o = function() {
|
|
4
4
|
var e = this, t = e.$createElement, n = e._self._c || t;
|
package/fy-tree/index.mjs
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { s as d, o as l,
|
|
1
|
+
import { s as d, o as l, a as r } from "../chunks/util.ae730cde.mjs";
|
|
2
2
|
import { p as u } from "../chunks/permission.ce5d2121.mjs";
|
|
3
3
|
import { isBlank as p } from "@web-utils/core";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import v from "
|
|
9
|
-
|
|
10
|
-
import { n as b } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
11
|
-
var g = function() {
|
|
4
|
+
import f from "element-ui/lib/tree";
|
|
5
|
+
import m from "element-ui/lib/scrollbar";
|
|
6
|
+
import y from "element-ui/lib/button";
|
|
7
|
+
import _ from "element-ui/lib/input";
|
|
8
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
9
|
+
var k = function() {
|
|
12
10
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
13
11
|
return t("div", {
|
|
14
12
|
staticClass: "avue-tree"
|
|
15
13
|
}, [e.optVal(e.option.filter, !0) ? t("div", {
|
|
16
14
|
staticClass: "avue-tree__filter"
|
|
17
|
-
}, [t(
|
|
15
|
+
}, [t(_, {
|
|
18
16
|
attrs: {
|
|
19
17
|
placeholder: e.optVal(e.option.filterText, "输入关键字进行过滤"),
|
|
20
18
|
size: e.size
|
|
@@ -26,7 +24,7 @@ var g = function() {
|
|
|
26
24
|
},
|
|
27
25
|
expression: "filterValue"
|
|
28
26
|
}
|
|
29
|
-
}), e.optVal(e.option.addBtn, !0) ? t(
|
|
27
|
+
}), e.optVal(e.option.addBtn, !0) ? t(y, {
|
|
30
28
|
directives: [{
|
|
31
29
|
name: "permission",
|
|
32
30
|
rawName: "v-permission",
|
|
@@ -40,9 +38,9 @@ var g = function() {
|
|
|
40
38
|
on: {
|
|
41
39
|
click: e.parentAdd
|
|
42
40
|
}
|
|
43
|
-
}) : e._t("addBtn")], 2) : e._e(), t(
|
|
41
|
+
}) : e._t("addBtn")], 2) : e._e(), t(m, {
|
|
44
42
|
staticClass: "avue-tree__content"
|
|
45
|
-
}, [t(
|
|
43
|
+
}, [t(f, {
|
|
46
44
|
directives: [{
|
|
47
45
|
name: "loading",
|
|
48
46
|
rawName: "v-loading",
|
|
@@ -130,7 +128,7 @@ var g = function() {
|
|
|
130
128
|
}
|
|
131
129
|
}, [e._v(" " + e._s(e.menuIcon("delBtn")) + " ")]) : e._e(), e._t("menu", null, {
|
|
132
130
|
node: e.node
|
|
133
|
-
})], 2) : e._e(), e.box ? t("div", [t(
|
|
131
|
+
})], 2) : e._e(), e.box ? t("div", [t("ElementDialog", {
|
|
134
132
|
attrs: {
|
|
135
133
|
title: e.node[e.labelKey] || e.title,
|
|
136
134
|
visible: e.box,
|
|
@@ -142,7 +140,7 @@ var g = function() {
|
|
|
142
140
|
e.box = n;
|
|
143
141
|
}
|
|
144
142
|
}
|
|
145
|
-
}, [t(
|
|
143
|
+
}, [t("FyForm", {
|
|
146
144
|
ref: "form",
|
|
147
145
|
attrs: {
|
|
148
146
|
option: e.formOption
|
|
@@ -158,8 +156,8 @@ var g = function() {
|
|
|
158
156
|
expression: "form"
|
|
159
157
|
}
|
|
160
158
|
})], 1)], 1) : e._e()], 1);
|
|
161
|
-
},
|
|
162
|
-
const
|
|
159
|
+
}, b = [];
|
|
160
|
+
const x = {
|
|
163
161
|
name: "FyTree",
|
|
164
162
|
directives: {
|
|
165
163
|
permission: u
|
|
@@ -414,23 +412,23 @@ const C = {
|
|
|
414
412
|
}
|
|
415
413
|
}
|
|
416
414
|
}, c = {};
|
|
417
|
-
var
|
|
418
|
-
C,
|
|
419
|
-
g,
|
|
415
|
+
var g = /* @__PURE__ */ v(
|
|
420
416
|
x,
|
|
417
|
+
k,
|
|
418
|
+
b,
|
|
421
419
|
!1,
|
|
422
|
-
|
|
420
|
+
C,
|
|
423
421
|
null,
|
|
424
422
|
null,
|
|
425
423
|
null
|
|
426
424
|
);
|
|
427
|
-
function
|
|
425
|
+
function C(e) {
|
|
428
426
|
for (let i in c)
|
|
429
427
|
this[i] = c[i];
|
|
430
428
|
}
|
|
431
|
-
const
|
|
432
|
-
return
|
|
429
|
+
const P = /* @__PURE__ */ function() {
|
|
430
|
+
return g.exports;
|
|
433
431
|
}();
|
|
434
432
|
export {
|
|
435
|
-
|
|
433
|
+
P as default
|
|
436
434
|
};
|
package/fy-u-editor/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var h = (e, t, r) => new Promise((o, i) => {
|
|
|
28
28
|
});
|
|
29
29
|
import "@wangeditor/editor/dist/css/style.css";
|
|
30
30
|
import { createEditor as x, createToolbar as A } from "@wangeditor/editor";
|
|
31
|
-
import {
|
|
31
|
+
import { p as O } from "../chunks/util.ae730cde.mjs";
|
|
32
32
|
import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
33
33
|
const K = (e) => {
|
|
34
34
|
const { region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: a } = e;
|
package/fy-upload/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as I, e as N } from "../chunks/event.
|
|
2
|
-
import { B,
|
|
1
|
+
import { p as I, e as N } from "../chunks/event.10295951.mjs";
|
|
2
|
+
import { B, i as F, p as K } from "../chunks/util.ae730cde.mjs";
|
|
3
3
|
import { p as A } from "../chunks/packages.1fc9ccba.mjs";
|
|
4
4
|
import { isBlank as b } from "@web-utils/core";
|
|
5
5
|
import L from "element-ui/lib/button";
|
package/highlight-j-s/index.mjs
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from "highlight.js/lib/core";
|
|
2
2
|
import "highlight.js/styles/atom-one-dark-reasonable.css";
|
|
3
|
-
import { escapeHtml as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { escapeHtml as l } from "@web-utils/core";
|
|
4
|
+
import { n as g } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
5
|
+
var s = function() {
|
|
6
|
+
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
7
|
+
return n("pre", {
|
|
8
|
+
staticClass: "highlight-js"
|
|
9
|
+
}, [n("code", {
|
|
10
|
+
class: e.className,
|
|
11
|
+
domProps: {
|
|
12
|
+
innerHTML: e._s(e.highlighted.value)
|
|
13
|
+
}
|
|
14
|
+
})]);
|
|
15
|
+
}, r = [];
|
|
16
|
+
const o = {
|
|
7
17
|
name: "HighlightJS",
|
|
8
18
|
props: {
|
|
9
19
|
language: String,
|
|
@@ -20,13 +30,13 @@ const s = {
|
|
|
20
30
|
return this.detectedLanguage ? `hljs ${this.detectedLanguage}` : "";
|
|
21
31
|
},
|
|
22
32
|
highlighted() {
|
|
23
|
-
if (!this.language && !
|
|
33
|
+
if (!this.language && !a.getLanguage(this.language))
|
|
24
34
|
return console.warn(`The language "${this.language}" you specified could not be found.`), {
|
|
25
35
|
language: "",
|
|
26
|
-
value:
|
|
36
|
+
value: l(this.code)
|
|
27
37
|
};
|
|
28
38
|
let e = {};
|
|
29
|
-
return !this.language || this.autodetect ? e =
|
|
39
|
+
return !this.language || this.autodetect ? e = a.highlightAuto(this.code) : e = a.highlight(this.code, {
|
|
30
40
|
language: this.language,
|
|
31
41
|
ignoreIllegals: this.ignoreIllegals
|
|
32
42
|
}), e;
|
|
@@ -43,24 +53,24 @@ const s = {
|
|
|
43
53
|
}
|
|
44
54
|
}
|
|
45
55
|
}
|
|
46
|
-
},
|
|
47
|
-
var
|
|
56
|
+
}, i = {};
|
|
57
|
+
var u = /* @__PURE__ */ g(
|
|
58
|
+
o,
|
|
48
59
|
s,
|
|
49
|
-
|
|
50
|
-
i,
|
|
60
|
+
r,
|
|
51
61
|
!1,
|
|
52
|
-
|
|
62
|
+
h,
|
|
53
63
|
null,
|
|
54
64
|
null,
|
|
55
65
|
null
|
|
56
66
|
);
|
|
57
|
-
function
|
|
58
|
-
for (let
|
|
59
|
-
this[
|
|
67
|
+
function h(e) {
|
|
68
|
+
for (let t in i)
|
|
69
|
+
this[t] = i[t];
|
|
60
70
|
}
|
|
61
|
-
const
|
|
62
|
-
return
|
|
71
|
+
const p = /* @__PURE__ */ function() {
|
|
72
|
+
return u.exports;
|
|
63
73
|
}();
|
|
64
74
|
export {
|
|
65
|
-
|
|
75
|
+
p as default
|
|
66
76
|
};
|
package/icon-temp/index.mjs
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as a } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var l = function() {
|
|
3
|
+
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
4
|
+
return n("span", {
|
|
5
|
+
staticClass: "avue-icon",
|
|
6
|
+
class: {
|
|
7
|
+
"avue-icon--small": e.small
|
|
8
|
+
}
|
|
9
|
+
}, [e.text.includes("#") ? n("svg", {
|
|
10
|
+
attrs: {
|
|
11
|
+
"aria-hidden": "true"
|
|
12
|
+
}
|
|
13
|
+
}, [n("use", {
|
|
14
|
+
attrs: {
|
|
15
|
+
"xlink:href": e.text
|
|
16
|
+
}
|
|
17
|
+
})]) : n("i", {
|
|
18
|
+
class: e.text
|
|
19
|
+
})]);
|
|
20
|
+
}, o = [];
|
|
3
21
|
const r = {
|
|
4
22
|
name: "IconTemp",
|
|
5
23
|
props: {
|
|
@@ -9,24 +27,24 @@ const r = {
|
|
|
9
27
|
default: ""
|
|
10
28
|
}
|
|
11
29
|
}
|
|
12
|
-
},
|
|
13
|
-
var
|
|
30
|
+
}, s = {};
|
|
31
|
+
var c = /* @__PURE__ */ a(
|
|
14
32
|
r,
|
|
33
|
+
l,
|
|
15
34
|
o,
|
|
16
|
-
e,
|
|
17
35
|
!1,
|
|
18
|
-
|
|
36
|
+
_,
|
|
19
37
|
null,
|
|
20
38
|
null,
|
|
21
39
|
null
|
|
22
40
|
);
|
|
23
|
-
function
|
|
24
|
-
for (let
|
|
25
|
-
this[
|
|
41
|
+
function _(e) {
|
|
42
|
+
for (let t in s)
|
|
43
|
+
this[t] = s[t];
|
|
26
44
|
}
|
|
27
|
-
const
|
|
28
|
-
return
|
|
45
|
+
const u = /* @__PURE__ */ function() {
|
|
46
|
+
return c.exports;
|
|
29
47
|
}();
|
|
30
48
|
export {
|
|
31
|
-
|
|
49
|
+
u as default
|
|
32
50
|
};
|
package/iframe-window/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
return n(s, e._g(e._b({
|
|
1
|
+
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var s = function() {
|
|
3
|
+
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
4
|
+
return r("ElementDialog", e._g(e._b({
|
|
6
5
|
attrs: {
|
|
7
6
|
"custom-class": "iframe-window",
|
|
8
7
|
embed: "",
|
|
@@ -14,7 +13,7 @@ var i = function() {
|
|
|
14
13
|
scopedSlots: e._u([{
|
|
15
14
|
key: "default",
|
|
16
15
|
fn: function() {
|
|
17
|
-
return [
|
|
16
|
+
return [r("iframe", {
|
|
18
17
|
staticClass: "iframe-window-iframe",
|
|
19
18
|
attrs: {
|
|
20
19
|
src: e.url,
|
|
@@ -25,8 +24,8 @@ var i = function() {
|
|
|
25
24
|
proxy: !0
|
|
26
25
|
}])
|
|
27
26
|
}, "ElementDialog", e.$attrs, !1), e.$listeners));
|
|
28
|
-
},
|
|
29
|
-
const
|
|
27
|
+
}, a = [];
|
|
28
|
+
const i = {
|
|
30
29
|
name: "IframeWindow",
|
|
31
30
|
props: {
|
|
32
31
|
title: {
|
|
@@ -39,24 +38,24 @@ const a = {
|
|
|
39
38
|
},
|
|
40
39
|
visible: Boolean
|
|
41
40
|
}
|
|
42
|
-
},
|
|
43
|
-
var
|
|
44
|
-
a,
|
|
41
|
+
}, n = {};
|
|
42
|
+
var o = /* @__PURE__ */ l(
|
|
45
43
|
i,
|
|
46
|
-
|
|
44
|
+
s,
|
|
45
|
+
a,
|
|
47
46
|
!1,
|
|
48
|
-
|
|
47
|
+
_,
|
|
49
48
|
null,
|
|
50
49
|
null,
|
|
51
50
|
null
|
|
52
51
|
);
|
|
53
|
-
function
|
|
54
|
-
for (let t in
|
|
55
|
-
this[t] =
|
|
52
|
+
function _(e) {
|
|
53
|
+
for (let t in n)
|
|
54
|
+
this[t] = n[t];
|
|
56
55
|
}
|
|
57
|
-
const
|
|
58
|
-
return
|
|
56
|
+
const f = /* @__PURE__ */ function() {
|
|
57
|
+
return o.exports;
|
|
59
58
|
}();
|
|
60
59
|
export {
|
|
61
|
-
|
|
60
|
+
f as default
|
|
62
61
|
};
|