@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/address-input/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
1
|
+
import n from "element-ui/lib/input";
|
|
2
|
+
import d from "element-ui/lib/cascader";
|
|
3
|
+
import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
4
|
var i = function() {
|
|
5
|
-
var e = this,
|
|
5
|
+
var e = this, s = e.$createElement, t = e._self._c || s;
|
|
6
6
|
return t("div", {
|
|
7
7
|
staticClass: "address-input-wrapper flex-row"
|
|
8
8
|
}, [t("div", {
|
|
9
9
|
staticClass: "address-input-item-wrapper"
|
|
10
|
-
}, [t(
|
|
10
|
+
}, [t(d, {
|
|
11
11
|
attrs: {
|
|
12
12
|
options: e.options,
|
|
13
13
|
disabled: e.inputDisabled,
|
|
@@ -18,22 +18,22 @@ var i = function() {
|
|
|
18
18
|
},
|
|
19
19
|
model: {
|
|
20
20
|
value: e.internalVal.address,
|
|
21
|
-
callback: function(
|
|
22
|
-
e.$set(e.internalVal, "address",
|
|
21
|
+
callback: function(a) {
|
|
22
|
+
e.$set(e.internalVal, "address", a);
|
|
23
23
|
},
|
|
24
24
|
expression: "internalVal.address"
|
|
25
25
|
}
|
|
26
26
|
})], 1), t("div", {
|
|
27
27
|
staticClass: "address-input-item-wrapper flex-item"
|
|
28
|
-
}, [t(
|
|
28
|
+
}, [t(n, {
|
|
29
29
|
attrs: {
|
|
30
30
|
placeholder: "请输入详细地址!",
|
|
31
31
|
disabled: e.inputDisabled
|
|
32
32
|
},
|
|
33
33
|
model: {
|
|
34
34
|
value: e.internalVal.detailAddress,
|
|
35
|
-
callback: function(
|
|
36
|
-
e.$set(e.internalVal, "detailAddress",
|
|
35
|
+
callback: function(a) {
|
|
36
|
+
e.$set(e.internalVal, "detailAddress", a);
|
|
37
37
|
},
|
|
38
38
|
expression: "internalVal.detailAddress"
|
|
39
39
|
}
|
|
@@ -92,8 +92,8 @@ const u = {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
},
|
|
96
|
-
var p = /* @__PURE__ */
|
|
95
|
+
}, l = {};
|
|
96
|
+
var p = /* @__PURE__ */ r(
|
|
97
97
|
u,
|
|
98
98
|
i,
|
|
99
99
|
o,
|
|
@@ -104,8 +104,8 @@ var p = /* @__PURE__ */ n(
|
|
|
104
104
|
null
|
|
105
105
|
);
|
|
106
106
|
function c(e) {
|
|
107
|
-
for (let
|
|
108
|
-
this[
|
|
107
|
+
for (let s in l)
|
|
108
|
+
this[s] = l[s];
|
|
109
109
|
}
|
|
110
110
|
const v = /* @__PURE__ */ function() {
|
|
111
111
|
return p.exports;
|
package/chat/index.mjs
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { formatDate as
|
|
2
|
-
import { s as r } from "../chunks/util.
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import p from "element-ui/lib/form
|
|
6
|
-
import _ from "element-ui/lib/form";
|
|
1
|
+
import { formatDate as m } from "@web-utils/integrations/dayjs";
|
|
2
|
+
import { s as r } from "../chunks/util.ae730cde.mjs";
|
|
3
|
+
import c from "element-ui/lib/input";
|
|
4
|
+
import f from "element-ui/lib/form-item";
|
|
5
|
+
import p from "element-ui/lib/form";
|
|
7
6
|
import l from "element-ui/lib/button";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { n as
|
|
15
|
-
var
|
|
7
|
+
import _ from "element-ui/lib/tooltip";
|
|
8
|
+
import d from "element-ui/lib/dropdown-item";
|
|
9
|
+
import h from "element-ui/lib/scrollbar";
|
|
10
|
+
import g from "element-ui/lib/popover";
|
|
11
|
+
import y from "element-ui/lib/dropdown-menu";
|
|
12
|
+
import v from "element-ui/lib/dropdown";
|
|
13
|
+
import { n as b } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
14
|
+
var w = function() {
|
|
16
15
|
var t = this, o = t.$createElement, e = t._self._c || o;
|
|
17
16
|
return e("div", {
|
|
18
17
|
staticClass: "avue-chat",
|
|
@@ -90,7 +89,7 @@ var x = function() {
|
|
|
90
89
|
return e("li", {
|
|
91
90
|
key: a,
|
|
92
91
|
on: {
|
|
93
|
-
click: function(
|
|
92
|
+
click: function(C) {
|
|
94
93
|
return t.handleItemMsg(s);
|
|
95
94
|
}
|
|
96
95
|
}
|
|
@@ -146,7 +145,7 @@ var x = function() {
|
|
|
146
145
|
}
|
|
147
146
|
}), e("div", {
|
|
148
147
|
staticClass: "web__msg-menu"
|
|
149
|
-
}, [e(
|
|
148
|
+
}, [e(v, {
|
|
150
149
|
staticClass: "web__msg-submit",
|
|
151
150
|
attrs: {
|
|
152
151
|
"split-button": "",
|
|
@@ -160,7 +159,7 @@ var x = function() {
|
|
|
160
159
|
scopedSlots: t._u([{
|
|
161
160
|
key: "dropdown",
|
|
162
161
|
fn: function() {
|
|
163
|
-
return [e(
|
|
162
|
+
return [e(y, [e(d, [e(g, {
|
|
164
163
|
attrs: {
|
|
165
164
|
placement: "top",
|
|
166
165
|
width: "160"
|
|
@@ -184,7 +183,7 @@ var x = function() {
|
|
|
184
183
|
},
|
|
185
184
|
expression: "visible"
|
|
186
185
|
}
|
|
187
|
-
}, [e(
|
|
186
|
+
}, [e(c, {
|
|
188
187
|
staticStyle: {
|
|
189
188
|
"margin-bottom": "10px"
|
|
190
189
|
},
|
|
@@ -226,19 +225,19 @@ var x = function() {
|
|
|
226
225
|
on: {
|
|
227
226
|
click: t.addKey
|
|
228
227
|
}
|
|
229
|
-
}, [t._v(" 确定 ")])], 1)], 1)], 1), e(
|
|
228
|
+
}, [t._v(" 确定 ")])], 1)], 1)], 1), e(h, {
|
|
230
229
|
staticStyle: {
|
|
231
230
|
height: "100px"
|
|
232
231
|
}
|
|
233
232
|
}, t._l(t.keylist, function(i, n) {
|
|
234
|
-
return e(
|
|
233
|
+
return e(d, {
|
|
235
234
|
key: n,
|
|
236
235
|
nativeOn: {
|
|
237
236
|
click: function(s) {
|
|
238
237
|
return t.sendKey(i);
|
|
239
238
|
}
|
|
240
239
|
}
|
|
241
|
-
}, [e(
|
|
240
|
+
}, [e(_, {
|
|
242
241
|
attrs: {
|
|
243
242
|
effect: "dark",
|
|
244
243
|
content: i,
|
|
@@ -249,7 +248,7 @@ var x = function() {
|
|
|
249
248
|
},
|
|
250
249
|
proxy: !0
|
|
251
250
|
}])
|
|
252
|
-
}, [t._v(" 发送 ")])], 1)])])]), t._t("default")], 2), t.upload.box ? e("div", [e(
|
|
251
|
+
}, [t._v(" 发送 ")])], 1)])])]), t._t("default")], 2), t.upload.box ? e("div", [e("ElementDialog", {
|
|
253
252
|
attrs: {
|
|
254
253
|
title: t.upload.title,
|
|
255
254
|
"body-padding": !1,
|
|
@@ -285,12 +284,12 @@ var x = function() {
|
|
|
285
284
|
},
|
|
286
285
|
proxy: !0
|
|
287
286
|
}], null, !1, 99567638)
|
|
288
|
-
}, [e(
|
|
287
|
+
}, [e(p, {
|
|
289
288
|
ref: "form",
|
|
290
289
|
attrs: {
|
|
291
290
|
model: t.upload
|
|
292
291
|
}
|
|
293
|
-
}, [e(
|
|
292
|
+
}, [e(f, {
|
|
294
293
|
attrs: {
|
|
295
294
|
prop: "src",
|
|
296
295
|
rules: [{
|
|
@@ -298,7 +297,7 @@ var x = function() {
|
|
|
298
297
|
message: "地址不能为空"
|
|
299
298
|
}]
|
|
300
299
|
}
|
|
301
|
-
}, [e(
|
|
300
|
+
}, [e(c, {
|
|
302
301
|
staticStyle: {
|
|
303
302
|
"margin-bottom": "10px"
|
|
304
303
|
},
|
|
@@ -317,7 +316,7 @@ var x = function() {
|
|
|
317
316
|
},
|
|
318
317
|
expression: "upload.src"
|
|
319
318
|
}
|
|
320
|
-
})], 1)], 1)], 1)], 1) : t._e(), t.show ? e("div", [e(
|
|
319
|
+
})], 1)], 1)], 1)], 1) : t._e(), t.show ? e("div", [e("ElementDialog", {
|
|
321
320
|
staticClass: "web__dialog",
|
|
322
321
|
attrs: {
|
|
323
322
|
visible: t.show,
|
|
@@ -358,8 +357,8 @@ var x = function() {
|
|
|
358
357
|
controls: "controls"
|
|
359
358
|
}
|
|
360
359
|
}) : t._e()])], 1) : t._e()]);
|
|
361
|
-
},
|
|
362
|
-
const
|
|
360
|
+
}, x = [];
|
|
361
|
+
const S = {
|
|
363
362
|
name: "Chat",
|
|
364
363
|
props: {
|
|
365
364
|
beforeOpen: Function,
|
|
@@ -499,7 +498,7 @@ const k = {
|
|
|
499
498
|
// text为内容
|
|
500
499
|
pushMsg(t = {}) {
|
|
501
500
|
const o = t.mine === !0, e = t.text || {}, n = {
|
|
502
|
-
date: t.date ||
|
|
501
|
+
date: t.date || m(Date.now(), "YYYY-MM-DD HH:mm:ss"),
|
|
503
502
|
text: (() => typeof e != "object" ? {
|
|
504
503
|
text: e
|
|
505
504
|
} : e)(),
|
|
@@ -566,24 +565,24 @@ const k = {
|
|
|
566
565
|
}), this.notice && this.getNotification(t.text || t);
|
|
567
566
|
}
|
|
568
567
|
}
|
|
569
|
-
},
|
|
570
|
-
var
|
|
571
|
-
k,
|
|
572
|
-
x,
|
|
568
|
+
}, u = {};
|
|
569
|
+
var k = /* @__PURE__ */ b(
|
|
573
570
|
S,
|
|
571
|
+
w,
|
|
572
|
+
x,
|
|
574
573
|
!1,
|
|
575
|
-
|
|
574
|
+
$,
|
|
576
575
|
null,
|
|
577
576
|
null,
|
|
578
577
|
null
|
|
579
578
|
);
|
|
580
|
-
function
|
|
581
|
-
for (let o in
|
|
582
|
-
this[o] =
|
|
579
|
+
function $(t) {
|
|
580
|
+
for (let o in u)
|
|
581
|
+
this[o] = u[o];
|
|
583
582
|
}
|
|
584
|
-
const
|
|
585
|
-
return
|
|
583
|
+
const H = /* @__PURE__ */ function() {
|
|
584
|
+
return k.exports;
|
|
586
585
|
}();
|
|
587
586
|
export {
|
|
588
|
-
|
|
587
|
+
H as default
|
|
589
588
|
};
|