hlrender 0.0.177 → 0.0.178
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/{_pdf-317bc6f3.js → _pdf-b71eb3a2.js} +8 -13
- package/{_txt-7b949515.js → _txt-4c847026.js} +12 -17
- package/{affix-widget-9207f038.js → affix-widget-3822f1b6.js} +9 -9
- package/{alert-widget-4fef71cd.js → alert-widget-4109e599.js} +9 -9
- package/{anchor-widget-cc68335e.js → anchor-widget-9d73c8bd.js} +6 -6
- package/{auto-complete-widget-b714c2cb.js → auto-complete-widget-f811a74d.js} +8 -8
- package/{avatar-widget-9574b39d.js → avatar-widget-33e80629.js} +9 -9
- package/{backtop-widget-a5eca504.js → backtop-widget-1c049f6c.js} +9 -9
- package/{badge-widget-d9872eab.js → badge-widget-1206f583.js} +9 -9
- package/{barcode-widget-4749ab4c.js → barcode-widget-fb354868.js} +6 -6
- package/{baseImp-7c10e06f.js → baseImp-74358689.js} +2481 -2428
- package/{breadcrumb-widget-7836f8c8.js → breadcrumb-widget-547a0859.js} +6 -6
- package/{button-widget-24507e9b.js → button-widget-358f892f.js} +9 -9
- package/{cache-widget-4bc571cd.js → cache-widget-f6528a65.js} +7 -7
- package/{card-widget-f3d9b72c.js → card-widget-40dd25bd.js} +7 -7
- package/{carousel-widget-6a9263d4.js → carousel-widget-226df74d.js} +6 -6
- package/{cascader-widget-db38ee85.js → cascader-widget-33c2c790.js} +7 -7
- package/{chart-widget-f36e7ce4.js → chart-widget-0c48ae2a.js} +6 -6
- package/{checkbox-widget-c0f9c731.js → checkbox-widget-09deb0f7.js} +7 -7
- package/{collapse-widget-e32e03b5.js → collapse-widget-a734357f.js} +6 -6
- package/{color-picker-widget-1ef94584.js → color-picker-widget-c6cb894e.js} +7 -7
- package/{cont-cell-widget-35a5916b.js → cont-cell-widget-da4502ca.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-33b53d5f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a9c335c7.js} +4 -4
- package/{cont-widget-9c950465.js → cont-widget-9bbbc04f.js} +4 -4
- package/{content-wrapper-9a9a58fd.js → content-wrapper-328786cf.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-1a97e6d8.js → content-wrapper.vue_vue_type_script_setup_true_lang-086b3e7c.js} +1 -1
- package/{date-picker-range-widget-18fdbe6b.js → date-picker-range-widget-cbc80be3.js} +7 -7
- package/{date-picker-widget-49be6e8f.js → date-picker-widget-a2b0194e.js} +7 -7
- package/{default-slot-widget-a17b8bd5.js → default-slot-widget-9e6f7f10.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8d29a9f1.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9c2b932b.js} +4 -4
- package/{descriptions-widget-9371e63c.js → descriptions-widget-5627507d.js} +7 -7
- package/{dialog-widget-2a719a74.js → dialog-widget-ce7423d6.js} +8 -8
- package/{divider-widget-90bae394.js → divider-widget-78c2501e.js} +9 -9
- package/{drag-wrapper-1332b433.js → drag-wrapper-688823be.js} +4 -4
- package/{drawer-widget-1a47581a.js → drawer-widget-bdd554c0.js} +8 -8
- package/{dropdown-widget-073acc95.js → dropdown-widget-a622d22b.js} +7 -7
- package/{empty-widget-3f0ee988.js → empty-widget-40af32a1.js} +9 -9
- package/{feedback-widget-5b02e922.js → feedback-widget-42cd83bd.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-1ba6f038.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-69e1d8c4.js} +4 -4
- package/{file-upload-widget-34bdf667.js → file-upload-widget-d88d1725.js} +11 -11
- package/{form-item-wrapper-d3f84c31.js → form-item-wrapper-4d2d7514.js} +3 -3
- package/{form-widget-bf82ca0b.js → form-widget-13c241c2.js} +7 -7
- package/{grid-col-widget-f8795824.js → grid-col-widget-dc1c5d58.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7167df0e.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-964c1f24.js} +4 -4
- package/{grid-widget-ea1650f4.js → grid-widget-fe2ceaa6.js} +4 -4
- package/{html-text-widget-7e5724b2.js → html-text-widget-d1a0e2d7.js} +7 -7
- package/{icon-widget-92003a36.js → icon-widget-7f1c1ffe.js} +6 -6
- package/{iframe-widget-3ea63bf2.js → iframe-widget-e6b6d3c3.js} +6 -6
- package/{image-widget-ecb13112.js → image-widget-f7cec160.js} +6 -6
- package/{index-5d0afdf0.js → index-40bd7378.js} +1 -1
- package/{input-number-widget-90ab04a6.js → input-number-widget-8ab04681.js} +7 -7
- package/{input-widget-8d10b761.js → input-widget-128b8043.js} +8 -8
- package/{link-widget-431ee016.js → link-widget-c59a3af7.js} +9 -9
- package/{ltable-col-widget-63b6db5d.js → ltable-col-widget-d60e05a7.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b0d289c1.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ad945c70.js} +6 -6
- package/{ltable-widget-494200ef.js → ltable-widget-84d705a9.js} +4 -4
- package/{menu-widget-be8da106.js → menu-widget-51fa8ebf.js} +7 -7
- package/{model-widget-bfff3e69.js → model-widget-72f84576.js} +6 -6
- package/{multirow-9e79dcb4.js → multirow-b81796ba.js} +3 -3
- package/{multirow-widget-d06aa994.js → multirow-widget-857645a1.js} +7 -7
- package/package.json +2 -2
- package/{pagination-widget-f02783e5.js → pagination-widget-529651d2.js} +6 -6
- package/{picture-upload-widget-387f4ca3.js → picture-upload-widget-760d7e55.js} +8 -8
- package/{progress-widget-0c5d549b.js → progress-widget-9aeeb537.js} +7 -7
- package/{qrcode-widget-a9003efb.js → qrcode-widget-10122dd0.js} +6 -6
- package/{radio-widget-cef9550c.js → radio-widget-284fa4e4.js} +7 -7
- package/{range-widget-f25b50f9.js → range-widget-247b638a.js} +8 -8
- package/{rate-widget-8be5bede.js → rate-widget-8a1b4a43.js} +7 -7
- package/render.es.js +24 -24
- package/render.umd.js +140 -140
- package/{result-widget-3bee57e8.js → result-widget-324fca77.js} +7 -7
- package/{rich-editor-widget copy-5c1fc2a9.js → rich-editor-widget copy-81a6e286.js } +7 -7
- package/{rich-editor-widget-10fec57c.js → rich-editor-widget-6a7956ef.js} +7 -7
- package/{router-widget-623e5135.js → router-widget-7324920a.js} +6 -6
- package/{select-widget-e7d94313.js → select-widget-ae85783f.js} +7 -7
- package/{sfc-c4701d42.js → sfc-269dc463.js} +3 -3
- package/{sfcview-906666d3.js → sfcview-2757de69.js} +2 -2
- package/{share-field-8c51b298.js → share-field-89794a33.js} +4 -4
- package/share-file-d4bc6636.js +203 -0
- package/{slider-widget-6078c6af.js → slider-widget-e6ed7922.js} +7 -7
- package/{slot-af0a5b79.js → slot-2f0eb6d6.js} +1 -1
- package/{static-text-widget-5d4bcf72.js → static-text-widget-c1ea2197.js} +7 -7
- package/{steps-widget-29787f76.js → steps-widget-80952ef8.js} +6 -6
- package/{subMenu-widget-d88cea7e.js → subMenu-widget-86a23ad6.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-4635eee5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-acf31f7d.js} +1 -1
- package/{switch-widget-b03e4b13.js → switch-widget-943e6303.js} +7 -7
- package/{tab-pane-widget-e44390fc.js → tab-pane-widget-2674be67.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-580aca6e.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b0463f9d.js} +4 -4
- package/{table-col-widget-f5fb46ef.js → table-col-widget-b1b25766.js} +6 -6
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cddffcc0.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-896b5c0c.js} +4 -4
- package/{table-widget-a8f9ccd4.js → table-widget-d91f6349.js} +8 -8
- package/{tabs-widget-617fb52a.js → tabs-widget-8b0d126a.js} +5 -5
- package/{tag-widget-f7ca3d64.js → tag-widget-5897779d.js} +9 -9
- package/{text-widget-e6b97d3b.js → text-widget-83f1c943.js} +9 -9
- package/{textarea-widget-eded7ef7.js → textarea-widget-44c8b1b3.js} +7 -7
- package/{time-picker-range-widget-346fafac.js → time-picker-range-widget-61c58e95.js} +7 -7
- package/{time-picker-widget-4fd3f968.js → time-picker-widget-1c8cb08d.js} +7 -7
- package/{time-select-widget-cbbe9cf6.js → time-select-widget-544b745a.js} +7 -7
- package/{tmpl-widget-dd6468d2.js → tmpl-widget-79319450.js} +7 -7
- package/{tree-select-widget-d17f97a3.js → tree-select-widget-5ad4be72.js} +7 -7
- package/{tree-widget-e7712a84.js → tree-widget-7dac2c45.js} +6 -6
- package/{verifycode-widget-08f2455a.js → verifycode-widget-518b117a.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-35a28f0e.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js} +2 -2
- package/{wrapper-widget-ee9fa725.js → wrapper-widget-cad18865.js} +4 -4
- package/share-file-f45c2e3d.js +0 -240
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as re, ref as k, computed as Q, reactive as Oe, onMounted as Ce, resolveComponent as F, resolveDirective as ke, openBlock as v, createBlock as z, mergeProps as X, unref as t, withCtx as j, withDirectives as je, createElementBlock as Y, createVNode as Z, createTextVNode as ee, toDisplayString as Ee, createCommentVNode as te, toHandlers as Re, Fragment as Te, renderList as De } from "vue";
|
|
2
2
|
import { I as Ie } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as Ve } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { b as We } from "./share-field-
|
|
3
|
+
import { _ as Ve } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
4
|
+
import { b as We } from "./share-field-89794a33.js";
|
|
5
5
|
import { w as Me, g as Ue } from "./expression-e0d36dd3.js";
|
|
6
|
-
import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
6
|
+
import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-896b5c0c.js";
|
|
7
7
|
import { x as Ae, e as I, g as ae, a as Be, f as Le, t as $e, o as Ge } from "./enum-type-28540fae.js";
|
|
8
|
-
import { F as Ke } from "./slot-
|
|
9
|
-
import { c as He, p as oe } from "./multirow-
|
|
10
|
-
import { L as Je, g as qe, P as ne, b as Qe, d as Xe } from "./baseImp-
|
|
8
|
+
import { F as Ke } from "./slot-2f0eb6d6.js";
|
|
9
|
+
import { c as He, p as oe } from "./multirow-b81796ba.js";
|
|
10
|
+
import { L as Je, g as qe, P as ne, b as Qe, d as Xe } from "./baseImp-74358689.js";
|
|
11
11
|
import { S as Ye } from "./enum-type-64982c5e.js";
|
|
12
12
|
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-40bd7378.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./index-3d73dd39.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-4c53f983.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-688823be.js";
|
|
23
23
|
import "./dialog-3a1cc9fa.js";
|
|
24
24
|
import "element-plus";
|
|
25
25
|
function Ze() {
|
|
@@ -2,11 +2,11 @@ import { defineComponent as y, computed as _, ref as L, resolveComponent as R, r
|
|
|
2
2
|
import { c as n, k as Q } from "./enum-type-28540fae.js";
|
|
3
3
|
import { g as X, w as Y } from "./expression-e0d36dd3.js";
|
|
4
4
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { b as ee } from "./share-field-
|
|
6
|
-
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
8
|
-
import { u as oe } from "./index-
|
|
9
|
-
import { B as T } from "./baseImp-
|
|
5
|
+
import { b as ee } from "./share-field-89794a33.js";
|
|
6
|
+
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
7
|
+
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b0463f9d.js";
|
|
8
|
+
import { u as oe } from "./index-40bd7378.js";
|
|
9
|
+
import { B as T } from "./baseImp-74358689.js";
|
|
10
10
|
const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
11
11
|
...se,
|
|
12
12
|
__name: "tabs-widget",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9c2b932b.js";
|
|
4
4
|
import { w as d } from "./expression-e0d36dd3.js";
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
5
|
+
import { b as _ } from "./share-field-89794a33.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-28540fae.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
9
|
+
import "./index-40bd7378.js";
|
|
10
10
|
import "./uuid-4999945f.js";
|
|
11
11
|
import "./enum-type-64982c5e.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-74358689.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
14
|
import "./dialog-3a1cc9fa.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-3d73dd39.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-4c53f983.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-2f0eb6d6.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-086b3e7c.js";
|
|
22
|
+
import "./drag-wrapper-688823be.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-b81796ba.js";
|
|
26
26
|
const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
|
|
27
27
|
...u,
|
|
28
28
|
__name: "tag-widget",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9c2b932b.js";
|
|
4
4
|
import { w as d } from "./expression-e0d36dd3.js";
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
5
|
+
import { b as _ } from "./share-field-89794a33.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-28540fae.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
9
|
+
import "./index-40bd7378.js";
|
|
10
10
|
import "./uuid-4999945f.js";
|
|
11
11
|
import "./enum-type-64982c5e.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-74358689.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
14
|
import "./dialog-3a1cc9fa.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-3d73dd39.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-4c53f983.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-2f0eb6d6.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-086b3e7c.js";
|
|
22
|
+
import "./drag-wrapper-688823be.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-b81796ba.js";
|
|
26
26
|
const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
|
|
27
27
|
...u,
|
|
28
28
|
__name: "text-widget",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { b as V } from "./share-field-
|
|
2
|
+
import { b as V } from "./share-field-89794a33.js";
|
|
3
3
|
import { I as b } from "./field-base-5547436d.js";
|
|
4
|
-
import v from "./form-item-wrapper-
|
|
4
|
+
import v from "./form-item-wrapper-4d2d7514.js";
|
|
5
5
|
import { w as I } from "./expression-e0d36dd3.js";
|
|
6
6
|
import "./enum-type-28540fae.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-b81796ba.js";
|
|
8
|
+
import "./baseImp-74358689.js";
|
|
9
9
|
import "./enum-type-64982c5e.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
11
|
import "./dialog-3a1cc9fa.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-4999945f.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-40bd7378.js";
|
|
16
|
+
import "./slot-2f0eb6d6.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
19
19
|
import "./index-3d73dd39.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-4c53f983.js";
|
|
@@ -2,20 +2,20 @@ import { defineComponent as _, computed as x, resolveComponent as z, openBlock a
|
|
|
2
2
|
import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-28540fae.js";
|
|
3
3
|
import { b as m, d as n } from "./uuid-4999945f.js";
|
|
4
4
|
import { I as S } from "./field-base-5547436d.js";
|
|
5
|
-
import { b as W } from "./share-field-
|
|
6
|
-
import D from "./form-item-wrapper-
|
|
5
|
+
import { b as W } from "./share-field-89794a33.js";
|
|
6
|
+
import D from "./form-item-wrapper-4d2d7514.js";
|
|
7
7
|
import { w as H } from "./expression-e0d36dd3.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
9
|
+
import "./multirow-b81796ba.js";
|
|
10
|
+
import "./baseImp-74358689.js";
|
|
11
11
|
import "./enum-type-64982c5e.js";
|
|
12
12
|
import "./icon-a0e0cdb0.js";
|
|
13
13
|
import "./dialog-3a1cc9fa.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
16
|
+
import "./index-40bd7378.js";
|
|
17
|
+
import "./slot-2f0eb6d6.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
19
19
|
import "./index-3d73dd39.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-4c53f983.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as a, resolveComponent as C, openBlock as p, createBlock as m, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as b } from "vue";
|
|
2
2
|
import { e as x, c as z } from "./enum-type-28540fae.js";
|
|
3
|
-
import { b as I } from "./share-field-
|
|
3
|
+
import { b as I } from "./share-field-89794a33.js";
|
|
4
4
|
import { I as K } from "./field-base-5547436d.js";
|
|
5
|
-
import P from "./form-item-wrapper-
|
|
5
|
+
import P from "./form-item-wrapper-4d2d7514.js";
|
|
6
6
|
import { w as B } from "./expression-e0d36dd3.js";
|
|
7
7
|
import { t as E } from "./uuid-4999945f.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-b81796ba.js";
|
|
9
|
+
import "./baseImp-74358689.js";
|
|
10
10
|
import "./enum-type-64982c5e.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
12
|
import "./dialog-3a1cc9fa.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-40bd7378.js";
|
|
16
|
+
import "./slot-2f0eb6d6.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
19
19
|
import "./index-3d73dd39.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-4c53f983.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
2
|
import { e as V } from "./enum-type-28540fae.js";
|
|
3
|
-
import { b } from "./share-field-
|
|
3
|
+
import { b } from "./share-field-89794a33.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
5
|
+
import x from "./form-item-wrapper-4d2d7514.js";
|
|
6
6
|
import { w as z } from "./expression-e0d36dd3.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-b81796ba.js";
|
|
8
|
+
import "./baseImp-74358689.js";
|
|
9
9
|
import "./enum-type-64982c5e.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
11
|
import "./dialog-3a1cc9fa.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-4999945f.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-40bd7378.js";
|
|
16
|
+
import "./slot-2f0eb6d6.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
19
19
|
import "./index-3d73dd39.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-4c53f983.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
|
|
2
2
|
import { e as E, t as J, f as q } from "./enum-type-28540fae.js";
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { b as H } from "./share-field-
|
|
5
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
7
|
-
import { i as Q, d as U } from "./slot-
|
|
8
|
-
import { c as X } from "./multirow-
|
|
4
|
+
import { b as H } from "./share-field-89794a33.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-688823be.js";
|
|
7
|
+
import { i as Q, d as U } from "./slot-2f0eb6d6.js";
|
|
8
|
+
import { c as X } from "./multirow-b81796ba.js";
|
|
9
9
|
import { g as Y } from "./expression-e0d36dd3.js";
|
|
10
10
|
import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-74358689.js";
|
|
13
13
|
import "./enum-type-64982c5e.js";
|
|
14
14
|
import "./dialog-3a1cc9fa.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-4999945f.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-40bd7378.js";
|
|
19
19
|
import "./index-3d73dd39.js";
|
|
20
20
|
import "./fieldobj-4c53f983.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
|
|
2
2
|
import { s as f, t as D } from "./enum-type-28540fae.js";
|
|
3
3
|
import { I as te } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as oe } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
4
|
+
import { b as oe } from "./share-field-89794a33.js";
|
|
5
|
+
import re from "./form-item-wrapper-4d2d7514.js";
|
|
6
6
|
import { g as y, w as le } from "./expression-e0d36dd3.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-b81796ba.js";
|
|
9
|
+
import "./baseImp-74358689.js";
|
|
10
10
|
import "./enum-type-64982c5e.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
12
|
import "./dialog-3a1cc9fa.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
16
|
+
import "./index-40bd7378.js";
|
|
17
|
+
import "./slot-2f0eb6d6.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
19
19
|
import "./index-3d73dd39.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-4c53f983.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { b as U } from "./share-field-89794a33.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
5
5
|
import { g as n, w as G } from "./expression-e0d36dd3.js";
|
|
6
6
|
import { s as a } from "./enum-type-28540fae.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-b81796ba.js";
|
|
9
|
+
import "./baseImp-74358689.js";
|
|
10
10
|
import "./enum-type-64982c5e.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
12
|
import "./dialog-3a1cc9fa.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-40bd7378.js";
|
|
17
|
+
import "./slot-2f0eb6d6.js";
|
|
18
18
|
import "./index-3d73dd39.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-4c53f983.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
2
|
import { w as V } from "./expression-e0d36dd3.js";
|
|
3
3
|
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as T } from "./share-field-
|
|
5
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { b as T } from "./share-field-89794a33.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
6
6
|
import { R as E } from "./enum-type-28540fae.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
@@ -10,14 +10,14 @@ import "./uuid-4999945f.js";
|
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./multirow-b81796ba.js";
|
|
14
|
+
import "./baseImp-74358689.js";
|
|
15
15
|
import "./enum-type-64982c5e.js";
|
|
16
16
|
import "./icon-a0e0cdb0.js";
|
|
17
17
|
import "./dialog-3a1cc9fa.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
19
|
+
import "./index-40bd7378.js";
|
|
20
|
+
import "./slot-2f0eb6d6.js";
|
|
21
21
|
import "./index-3d73dd39.js";
|
|
22
22
|
import "./fieldobj-4c53f983.js";
|
|
23
23
|
const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as le, resolveComponent as U, openBlock as l, createElementBlock as v, Fragment as j, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as r, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as L, withModifiers as w, unref as n, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as de, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
2
|
import { e as g, c as ue, R as oe } from "./enum-type-28540fae.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { a as re, i as fe, j as we, k as ve } from "./index-
|
|
4
|
+
import { a as re, i as fe, j as we, k as ve } from "./index-40bd7378.js";
|
|
5
5
|
import { S as m } from "./index-3d73dd39.js";
|
|
6
|
-
import { f as he } from "./baseImp-
|
|
6
|
+
import { f as he } from "./baseImp-74358689.js";
|
|
7
7
|
import { c as X, S as ye } from "./enum-type-64982c5e.js";
|
|
8
8
|
import { u as We } from "./fieldobj-4c53f983.js";
|
|
9
9
|
import { g as N } from "./expression-e0d36dd3.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
4
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as A } from "./drag-wrapper-688823be.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7219a47.js";
|
|
5
5
|
import { w as F } from "./expression-e0d36dd3.js";
|
|
6
6
|
import { W as v } from "./enum-type-64982c5e.js";
|
|
7
|
-
import { b as N, a as $ } from "./share-field-
|
|
8
|
-
import { c as E } from "./slot-
|
|
7
|
+
import { b as N, a as $ } from "./share-field-89794a33.js";
|
|
8
|
+
import { c as E } from "./slot-2f0eb6d6.js";
|
|
9
9
|
function H(i) {
|
|
10
10
|
const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: f, fieldKey: g, fieldObj: m } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
|
|
11
11
|
l(v.setDisabled, { flag: o });
|
package/share-file-f45c2e3d.js
DELETED
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
import { reactive as Ue, ref as A, computed as I } from "vue";
|
|
2
|
-
import { m as fe, f as O, e as g, d as we, c as Se, t as ye, E as D, i as T } from "./enum-type-28540fae.js";
|
|
3
|
-
import { b as Ee } from "./share-field-8c51b298.js";
|
|
4
|
-
import { f as a } from "./expression-e0d36dd3.js";
|
|
5
|
-
import { H as xe, $ as De, f as U } from "./baseImp-7c10e06f.js";
|
|
6
|
-
import { g as Re } from "./uuid-4999945f.js";
|
|
7
|
-
import { ah as R } from "./enum-type-64982c5e.js";
|
|
8
|
-
const be = (v) => new Promise((m) => {
|
|
9
|
-
if (!v) {
|
|
10
|
-
m({ isSuccess: !1 });
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
xe.get(v, {
|
|
14
|
-
responseType: "blob",
|
|
15
|
-
timeout: 1e3 * 60 * 60
|
|
16
|
-
}).then((l) => {
|
|
17
|
-
m({ isSuccess: !0, data: l == null ? void 0 : l.data });
|
|
18
|
-
}).catch((l) => {
|
|
19
|
-
m({ isSuccess: !1, message: l.message });
|
|
20
|
-
});
|
|
21
|
-
}), Ce = (v, m) => new Promise((l) => {
|
|
22
|
-
if (!v || !m) {
|
|
23
|
-
l({ isSuccess: !1, message: "empty file" });
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const s = document.createElement("a"), d = document.querySelector("body");
|
|
27
|
-
try {
|
|
28
|
-
return s.href = window.URL.createObjectURL(v), s.download = m, s.style.display = "none", d == null || d.appendChild(s), s.click(), d == null || d.removeChild(s), window.URL.revokeObjectURL(s.href), !0;
|
|
29
|
-
} catch (S) {
|
|
30
|
-
l({ isSuccess: !1, message: "download error" }), fe.error("download error", S);
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
}), Me = (v, m) => new Promise((l, s) => {
|
|
34
|
-
be(v).then((d) => {
|
|
35
|
-
if (d == null || !d.isSuccess) {
|
|
36
|
-
l(d);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
Ce(d.data, m).then((S) => {
|
|
40
|
-
l(S);
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
function Pe(v) {
|
|
45
|
-
const m = (e) => {
|
|
46
|
-
var r = [e];
|
|
47
|
-
const t = O(f());
|
|
48
|
-
T(t) || ((t == null ? void 0 : t.length) || 0) <= 0 || !Array.isArray(t) ? E(r) : E([...t, ...r]);
|
|
49
|
-
}, l = (e) => {
|
|
50
|
-
const r = f();
|
|
51
|
-
r.splice(e, 1), E(r);
|
|
52
|
-
};
|
|
53
|
-
let s = Ue([]);
|
|
54
|
-
const d = (e) => {
|
|
55
|
-
var n;
|
|
56
|
-
if (!(!e || e.length <= 0)) {
|
|
57
|
-
var r = Se(ye(D(e) || [], !0)), t = (n = Array.from(r)) == null ? void 0 : n.map((o) => (o.orgUrl = o == null ? void 0 : o.url, p(a.onBuildUrl) && (o.url = i(a.onBuildUrl, { orgUrl: o.orgUrl, disposition: R.preview })), o.uid <= 0 && (o.uid = Re()), o));
|
|
58
|
-
s.splice(0, s == null ? void 0 : s.length, ...t);
|
|
59
|
-
}
|
|
60
|
-
}, S = (e) => {
|
|
61
|
-
var r = O(e);
|
|
62
|
-
d(r);
|
|
63
|
-
}, j = () => {
|
|
64
|
-
h.value.clearFiles(), d([]);
|
|
65
|
-
}, P = (e, r) => {
|
|
66
|
-
let t = D(f());
|
|
67
|
-
const n = Object.assign({
|
|
68
|
-
name: e.name,
|
|
69
|
-
url: e.url,
|
|
70
|
-
size: e.size,
|
|
71
|
-
uid: e.uid,
|
|
72
|
-
type: e.type
|
|
73
|
-
}, r);
|
|
74
|
-
m(n), b(t);
|
|
75
|
-
}, b = (e) => {
|
|
76
|
-
G(f()), Q(f(), e);
|
|
77
|
-
}, H = (e) => {
|
|
78
|
-
const r = (s == null ? void 0 : s.findIndex((t) => (t == null ? void 0 : t.uid) === e)) || 0;
|
|
79
|
-
r >= 0 && (s.splice(r, 1), V(r));
|
|
80
|
-
}, V = (e) => {
|
|
81
|
-
let r = D(f());
|
|
82
|
-
l(e), b(r);
|
|
83
|
-
}, { fieldEditor: h, fieldKey: L, fieldModel: $, getValue: f, setValue: E, field: N, attrs: y, extendAttrs: u, events: q, slots: J, exposed: K, syncUpdateFormModel: G, emitFieldDataChange: Q, existEvent: p, handleEvent: i, rules: W, fieldObj: X } = Ee({ ...v, extInitFieldModel: S, exResetField: j }), C = A({ key: "" }), M = A(), Y = I(() => {
|
|
84
|
-
var e;
|
|
85
|
-
return s.length >= ((e = u.value) == null ? void 0 : e.limit);
|
|
86
|
-
}), Z = I(() => {
|
|
87
|
-
var e;
|
|
88
|
-
return (e = u.value) == null ? void 0 : e.uploadTip;
|
|
89
|
-
}), F = (e, r) => {
|
|
90
|
-
var n;
|
|
91
|
-
let t = (n = y.value) == null ? void 0 : n.limit;
|
|
92
|
-
U.warning(g.i18nt("render.hint.uploadExceed").replace("${uploadLimit}", t));
|
|
93
|
-
}, ee = (e, r) => {
|
|
94
|
-
let t = {
|
|
95
|
-
key: r.name
|
|
96
|
-
//文件名
|
|
97
|
-
};
|
|
98
|
-
if (p(a.getData)) {
|
|
99
|
-
const n = i(a.getData, { keyName: e });
|
|
100
|
-
T(n) || Object.assign(t, n);
|
|
101
|
-
}
|
|
102
|
-
return t;
|
|
103
|
-
}, re = () => i(a.getHeaders), te = (e, r, t) => {
|
|
104
|
-
let n = !1, o = e == null ? void 0 : e.name.substring((e == null ? void 0 : e.name.lastIndexOf(".")) + 1);
|
|
105
|
-
if (r && (r == null ? void 0 : r.length) > 0 && (n = r.some((ge) => o.toLowerCase() === ge.toLowerCase())), !n)
|
|
106
|
-
return U.error(g.i18nt("render.hint.unsupportedFileType") + o), !1;
|
|
107
|
-
let c = !1, w = 5;
|
|
108
|
-
return t && (w = t), c = (e.size || 0) / 1024 / 1024 <= w, c ? !0 : (U.error(g.i18nt("render.hint.fileSizeExceed") + w + "MB"), !1);
|
|
109
|
-
}, ne = (e) => {
|
|
110
|
-
if (!p(a.beforeUpload))
|
|
111
|
-
return !0;
|
|
112
|
-
let r = i(a.beforeUpload, { file: e });
|
|
113
|
-
return typeof r == "boolean" ? r : !1;
|
|
114
|
-
}, oe = (e) => {
|
|
115
|
-
var o, c, w;
|
|
116
|
-
let r = (o = u.value) == null ? void 0 : o.accept, t = (c = u == null ? void 0 : u.value) == null ? void 0 : c.fileMaxSize, n = (w = u == null ? void 0 : u.value) == null ? void 0 : w.dataName;
|
|
117
|
-
return te(e, r, t) ? (C.value = ee(n, e), M.value = re(), ne(e)) : !1;
|
|
118
|
-
}, se = (e, r) => {
|
|
119
|
-
i(a.onChangeFn, { uploadFile: e, uploadFiles: r });
|
|
120
|
-
}, ae = (e, r, t) => {
|
|
121
|
-
var c;
|
|
122
|
-
if (r.status !== "success") {
|
|
123
|
-
B(r, t);
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
if (p(a.isUploadSuccess)) {
|
|
127
|
-
var n = i(a.isUploadSuccess, { response: e, uploadFile: r, uploadFiles: t });
|
|
128
|
-
if (!(n != null && n.isSuccess)) {
|
|
129
|
-
B(r, t), U.error((n == null ? void 0 : n.message) || g.i18nt("designer.hint.failToUpload"));
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
let o = e;
|
|
134
|
-
p(a.onSuccess) && (o = i(a.onSuccess, { response: e, uploadFile: r, uploadFiles: t })), P({ ...r, type: (c = r == null ? void 0 : r.raw) == null ? void 0 : c.type }, o), d(f());
|
|
135
|
-
}, B = (e, r) => {
|
|
136
|
-
const t = (r == null ? void 0 : r.findIndex((n) => (n == null ? void 0 : n.uid) === (e == null ? void 0 : e.uid))) || 0;
|
|
137
|
-
t >= 0 && r.splice(t, 1);
|
|
138
|
-
}, ie = (e, r, t) => {
|
|
139
|
-
p(a.onError) ? i(a.onError, { error: e, uploadFile: r, uploadFiles: t }) : U.error(g.i18nt("render.hint.uploadError") + e);
|
|
140
|
-
}, _ = () => {
|
|
141
|
-
var e, r;
|
|
142
|
-
(r = (e = h.value) == null ? void 0 : e.submit) == null || r.call(e);
|
|
143
|
-
}, de = (e) => {
|
|
144
|
-
var r, t;
|
|
145
|
-
(t = (r = h.value) == null ? void 0 : r.abort) == null || t.call(r, e);
|
|
146
|
-
}, le = (e) => {
|
|
147
|
-
var r, t;
|
|
148
|
-
(t = (r = h.value) == null ? void 0 : r.clearFiles) == null || t.call(r, e);
|
|
149
|
-
}, ue = (e) => {
|
|
150
|
-
var r, t;
|
|
151
|
-
(t = (r = h.value) == null ? void 0 : r.handleStart) == null || t.call(r, e);
|
|
152
|
-
}, ce = (e) => {
|
|
153
|
-
var r, t;
|
|
154
|
-
(t = (r = h.value) == null ? void 0 : r.handleRemove) == null || t.call(r, e);
|
|
155
|
-
}, k = (e) => {
|
|
156
|
-
var t;
|
|
157
|
-
if ((t = y.value) != null && t.beforeRemove) {
|
|
158
|
-
var r = i(a.beforeRemove, { uploadFile: e, uploadFiles: s });
|
|
159
|
-
if (!r)
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
De.delete().then((n) => {
|
|
163
|
-
var o, c;
|
|
164
|
-
z(e, s), (c = (o = h.value) == null ? void 0 : o.handleRemove) == null || c.call(o, e);
|
|
165
|
-
});
|
|
166
|
-
}, z = (e, r) => {
|
|
167
|
-
H(e == null ? void 0 : e.uid), i(a.onRemove, { uploadFile: e, uploadFiles: r });
|
|
168
|
-
}, me = (e) => {
|
|
169
|
-
var n;
|
|
170
|
-
var r = x(e);
|
|
171
|
-
let t = r == null ? void 0 : r.orgUrl;
|
|
172
|
-
return p(a.onBuildUrl) && (t = i(a.onBuildUrl, { orgUrl: t, disposition: R.preview })), t ? (n = y.value) != null && n.onPreview ? (e.url = t, i(a.onPreview, { file: { ...e, type: r == null ? void 0 : r.type } }), { url: t, file: r, previewed: !0 }) : { url: t, file: r, previewed: !1 } : (U.error(g.i18nt("designer.hint.fileIsEmpty")), { url: t, file: r, previewed: !1 });
|
|
173
|
-
}, pe = (e) => {
|
|
174
|
-
var t, n;
|
|
175
|
-
let r = (t = x(e)) == null ? void 0 : t.orgUrl;
|
|
176
|
-
if ((n = u.value) != null && n.onDownload) {
|
|
177
|
-
e.url = r, i(a.onDownload, { file: e });
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
if (p(a.onBuildUrl) && (r = i(a.onBuildUrl, { orgUrl: r, disposition: R.download })), !r) {
|
|
181
|
-
U.error(g.i18nt("designer.hint.fileToDownload"));
|
|
182
|
-
return;
|
|
183
|
-
}
|
|
184
|
-
Me(r, e.name).then((o) => {
|
|
185
|
-
(o == null || !(o != null && o.isSuccess)) && U.error((o == null ? void 0 : o.message) || g.i18nt("designer.hint.fileToDownload"));
|
|
186
|
-
});
|
|
187
|
-
}, ve = (e, r) => !!(e != null && e.uid) && (e == null ? void 0 : e.uid) == (r == null ? void 0 : r.uid), x = (e) => {
|
|
188
|
-
var r = s == null ? void 0 : s.find((t) => (t == null ? void 0 : t.uid) === (e == null ? void 0 : e.uid));
|
|
189
|
-
return r ? { ...e, ...r } : e;
|
|
190
|
-
}, he = (e, r) => !p(e) || i(e, { file: r });
|
|
191
|
-
return (() => {
|
|
192
|
-
we(y.value, {
|
|
193
|
-
beforeUpload: oe,
|
|
194
|
-
onRemove: z,
|
|
195
|
-
onSuccess: ae,
|
|
196
|
-
onError: ie,
|
|
197
|
-
onExceed: F
|
|
198
|
-
}, !0);
|
|
199
|
-
})(), {
|
|
200
|
-
rules: W,
|
|
201
|
-
field: N,
|
|
202
|
-
fieldKey: L,
|
|
203
|
-
attrs: y,
|
|
204
|
-
extendAttrs: u,
|
|
205
|
-
events: q,
|
|
206
|
-
fieldObj: X,
|
|
207
|
-
fileList: s,
|
|
208
|
-
fieldEditor: h,
|
|
209
|
-
uploadBtnHidden: Y,
|
|
210
|
-
uploadData: C,
|
|
211
|
-
uploadHeaders: M,
|
|
212
|
-
uploadTip: Z,
|
|
213
|
-
slots: J,
|
|
214
|
-
fieldModel: $,
|
|
215
|
-
handleDownload: pe,
|
|
216
|
-
exterPreview: me,
|
|
217
|
-
handleEvent: i,
|
|
218
|
-
existEvent: p,
|
|
219
|
-
submitToServer: _,
|
|
220
|
-
handleManualRemove: k,
|
|
221
|
-
//单独给出,采用attrs绑定方式,会提示onChange传入了Array
|
|
222
|
-
handleStatusChange: se,
|
|
223
|
-
getRealFile: x,
|
|
224
|
-
isSameFile: ve,
|
|
225
|
-
isAllow: he,
|
|
226
|
-
exposed: {
|
|
227
|
-
...K,
|
|
228
|
-
submit: _,
|
|
229
|
-
abort: de,
|
|
230
|
-
handleStart: ue,
|
|
231
|
-
handleRemove: ce,
|
|
232
|
-
clearFiles: le,
|
|
233
|
-
handleManualRemove: k
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
export {
|
|
238
|
-
be as g,
|
|
239
|
-
Pe as u
|
|
240
|
-
};
|