@web-utils/form-ui 1.0.0-beta71 → 1.0.0-beta73
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 +1 -1
- package/affix/index.d.ts +0 -2
- package/affix/index.mjs +2 -3
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +15 -14
- package/chunks/-fXBgN9b2.mjs +37 -0
- package/chunks/{B3d4fdGH.mjs → -yfgKY3g.mjs} +1 -1
- package/chunks/{BeWNlclr.mjs → -zgWD713.mjs} +44 -40
- package/chunks/{5itVLmv82.mjs → 8A7LSgb4.mjs} +26 -25
- package/chunks/{DoOkwYtO.mjs → Apjns0ZM.mjs} +72 -67
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BD6_5FSI.mjs +178 -0
- package/chunks/BE4V5Vf5.mjs +133 -0
- package/chunks/{DfJJr053.mjs → BGJjAw5E.mjs} +1 -1
- package/chunks/{DhQF2ZlD.mjs → BH7VEktl.mjs} +19 -17
- package/chunks/{CjmfMN1X2.mjs → BI6kCG2j2.mjs} +2 -2
- package/chunks/{6kdakei5.mjs → BYtFzO-8.mjs} +138 -133
- package/chunks/{CaRunrOV2.mjs → B_AUZSOW.mjs} +589 -760
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/{B5voIv4_.mjs → Bes1uXng.mjs} +28 -24
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{D6vTCC1Z2.mjs → BrelfRGo2.mjs} +14 -13
- package/chunks/{Z0BPDZlb.mjs → BsqIRxSS.mjs} +6 -5
- package/chunks/{TtxSplBB.mjs → C--HDCqy.mjs} +13 -10
- package/chunks/{DTUh8o0p2.mjs → C6mb7Nru2.mjs} +4 -4
- package/chunks/{CIybFvu92.mjs → CFoSvMJ-2.mjs} +1 -1
- package/chunks/{Ch_zaHx9.mjs → CO3taG7t2.mjs} +1 -1
- package/chunks/{DNSPORak.mjs → CZUhA3sf.mjs} +298 -4
- package/chunks/Ccxbv7uz2.mjs +34 -0
- package/chunks/Ce4tNNzg2.mjs +63 -0
- package/chunks/{B1GA44yT2.mjs → CelJ2L8A2.mjs} +2 -2
- package/chunks/CjYOitzM2.mjs +31 -0
- package/chunks/Cknuquqx.mjs +32 -0
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/CwyebsNL2.mjs +39 -0
- package/chunks/{9rQitPz7.mjs → D6DYxngS.mjs} +132 -127
- package/chunks/D6YM84Pf2.mjs +29 -0
- package/chunks/{BkEMJ725.mjs → DTq5QLoT.mjs} +43 -39
- package/chunks/{BvcK4D8A2.mjs → DVMfVn-M.mjs} +14 -10
- package/chunks/DVdQHb_v.mjs +50 -0
- package/chunks/{BaLjN8Ow.mjs → Daa7nl7U.mjs} +19 -15
- package/chunks/{D9qn1x3X2.mjs → Dh_BQpvC2.mjs} +2 -2
- package/chunks/DizOY5i8.mjs +69 -0
- package/chunks/{BQNqBw8h2.mjs → DjaV6_cg2.mjs} +2 -2
- package/chunks/{CbbjpJFg2.mjs → Dm3gQGoV2.mjs} +2 -2
- package/chunks/DqW9QtF3.mjs +68 -0
- package/chunks/{DbtlO6wD.mjs → DqWJCka8.mjs} +9 -7
- package/chunks/{BI-ZFlSw2.mjs → DrWUdRj32.mjs} +2 -2
- package/chunks/Dv7YRB2U2.mjs +25 -0
- package/chunks/DyLQsqWJ.mjs +61 -0
- package/chunks/HsHwYW1a.mjs +99 -0
- package/chunks/KDVLIvaS.mjs +30 -0
- package/chunks/{DxL9oojv2.mjs → Lkg7bYLD2.mjs} +73 -74
- package/chunks/{T_jwNKBr.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{BoId6V9J.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/{BvbjlaN02.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{3gUkQF12.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{CDqVJ7U3.mjs → neuEq1De.mjs} +70 -67
- package/chunks/{B8wGY5Hs2.mjs → sWVkgzQt2.mjs} +2 -2
- package/chunks/{Wl17p0C82.mjs → tjwOOiNr2.mjs} +31 -30
- package/code-mirror-editor/index.mjs +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/index.mjs +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +9 -8
- package/data-card/index.mjs +8 -7
- package/data-card-text/index.mjs +8 -7
- package/data-display/index.mjs +9 -8
- package/data-icons/index.mjs +9 -8
- package/data-imgtext/index.mjs +9 -8
- package/data-operatext/index.mjs +8 -7
- package/data-panel/index.mjs +9 -8
- package/data-pay/index.mjs +10 -9
- package/data-price/index.mjs +8 -7
- package/data-progress/index.mjs +10 -9
- package/data-rotate/index.mjs +9 -8
- package/data-table-picker/index.mjs +11 -10
- package/data-tabs/index.mjs +9 -8
- package/dict-render/index.mjs +1 -1
- package/e-charts/index.mjs +2 -2
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.mjs +8 -7
- package/editable-tree/index.mjs +595 -2
- package/element-dialog/index.mjs +1 -1
- package/element-resize-observer/index.mjs +1 -1
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flex-scroller/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/flow-viewer/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.mjs +3 -3
- package/guide-steps/index.mjs +77 -2
- package/helper/dictionary.mjs +1 -1
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +12 -11
- package/image-preview/index.d.ts +1 -153
- package/image-preview/index.mjs +201 -2
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +101 -101
- package/input-number-range/index.mjs +7 -6
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.mjs +1 -1
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +3 -2
- package/package.json +5 -1
- package/page-index/index.mjs +14 -13
- package/page-index-top/index.mjs +12 -10
- package/pageable-table/index.mjs +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/props/col.mjs +1 -1
- package/props/form-item.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/skeleton-panel/index.mjs +3 -2
- package/split-pane/index.mjs +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.mjs +108 -106
- package/tag-render/index.mjs +21 -20
- package/text-ellipsis/index.d.ts +1 -1
- package/text-ellipsis/index.mjs +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +1 -1
- package/vue-video-player/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +47 -46
- package/year-calendar/index.mjs +1 -1
- package/chunks/49634Q2N2.mjs +0 -936
- package/chunks/77cFhiAz.mjs +0 -13
- package/chunks/7JVbVOff2.mjs +0 -46
- package/chunks/B1ATN2my.mjs +0 -26
- package/chunks/B7O8aGqC2.mjs +0 -58
- package/chunks/BBPczt0U.mjs +0 -4
- package/chunks/BBqq6o072.mjs +0 -243
- package/chunks/BCVhSMZN.mjs +0 -1328
- package/chunks/BDVLN2ly.mjs +0 -105
- package/chunks/BEysX5TF2.mjs +0 -1038
- package/chunks/BIj6pa8Z.mjs +0 -15
- package/chunks/BJby9uHB2.mjs +0 -233
- package/chunks/BUAQybGW.mjs +0 -230
- package/chunks/BVIHqL6g.mjs +0 -17
- package/chunks/BVSQ6DfJ.mjs +0 -17
- package/chunks/B__5L22p2.mjs +0 -346
- package/chunks/Baam4z-g.mjs +0 -275
- package/chunks/Bdeug17L.mjs +0 -42
- package/chunks/BecO0t0_2.mjs +0 -2430
- package/chunks/BffxPn8a.mjs +0 -34
- package/chunks/Bgw_3soo.mjs +0 -35
- package/chunks/BjCfQFUL.mjs +0 -54
- package/chunks/BjWs-r2V.mjs +0 -25
- package/chunks/BlB1fEo92.mjs +0 -8
- package/chunks/BrYtAPbN2.mjs +0 -161
- package/chunks/BsKwchVA.mjs +0 -14
- package/chunks/BsM0L7CS.mjs +0 -132
- package/chunks/C5f3Xfsc2.mjs +0 -36
- package/chunks/C7l9aZGE.mjs +0 -577
- package/chunks/CFvkR9Ze2.mjs +0 -31
- package/chunks/CGM03LI5.mjs +0 -588
- package/chunks/CPejK_GQ2.mjs +0 -383
- package/chunks/CQSTyCVP.mjs +0 -6
- package/chunks/CQxz8uUc.mjs +0 -454
- package/chunks/CR29QUwT2.mjs +0 -28
- package/chunks/CWvo-ucD.mjs +0 -446
- package/chunks/C_eGir-J.mjs +0 -17
- package/chunks/Calzy0Az.mjs +0 -1275
- package/chunks/CbgD7y-5.mjs +0 -5
- package/chunks/CbsGuLZz2.mjs +0 -105
- package/chunks/CcT5SsZk.mjs +0 -48
- package/chunks/CdBytH8S.mjs +0 -266
- package/chunks/CiFlMt6Z.mjs +0 -41
- package/chunks/Cjkq49252.mjs +0 -60
- package/chunks/CnCSm3LY2.mjs +0 -4
- package/chunks/CsLrkldT2.mjs +0 -225
- package/chunks/Csiz_xCa2.mjs +0 -273
- package/chunks/Ctd3_wOH2.mjs +0 -6
- package/chunks/Cu2A_1vk2.mjs +0 -106
- package/chunks/CuoF9V8s.mjs +0 -3091
- package/chunks/CwBq1JZV.mjs +0 -250
- package/chunks/CwWfRmD3.mjs +0 -57
- package/chunks/CwqeV7002.mjs +0 -67
- package/chunks/Cy8jqgun2.mjs +0 -41
- package/chunks/D-hj62se2.mjs +0 -525
- package/chunks/D3Xixh5v.mjs +0 -5
- package/chunks/D4oNQiIK.mjs +0 -461
- package/chunks/D8r81QxD.mjs +0 -732
- package/chunks/DL0o_C092.mjs +0 -1093
- package/chunks/DLgn1tQG2.mjs +0 -60
- package/chunks/DStwh2ne.mjs +0 -281
- package/chunks/DXiLi19u2.mjs +0 -33
- package/chunks/DZ0frL1U.mjs +0 -69
- package/chunks/D_qwjNah.mjs +0 -1094
- package/chunks/Dg9Q-Tbi2.mjs +0 -299
- package/chunks/Dls3rTka2.mjs +0 -24
- package/chunks/DnBzQ-xh.mjs +0 -4
- package/chunks/DoNfjRR1.mjs +0 -68
- package/chunks/DrKq_frR.mjs +0 -98
- package/chunks/DsYXqJLZ.mjs +0 -641
- package/chunks/DsZznbt2.mjs +0 -208
- package/chunks/Dsd58O0g.mjs +0 -25
- package/chunks/Dtq1xYk8.mjs +0 -47
- package/chunks/EA6hte7s2.mjs +0 -49
- package/chunks/FeuisuNY2.mjs +0 -88
- package/chunks/GEtlriHC.mjs +0 -188
- package/chunks/GsvG1yFW.mjs +0 -1919
- package/chunks/KGmxNbpi.mjs +0 -21
- package/chunks/Q2Mal3Qn2.mjs +0 -439
- package/chunks/akEzJ4kG.mjs +0 -18
- package/chunks/cMuWbLPt.mjs +0 -196
- package/chunks/gh52LMTG.mjs +0 -12
- package/chunks/hgAOQY9a.mjs +0 -406
- package/chunks/lGc5ksPb.mjs +0 -279
- package/chunks/mD3gmiOy2.mjs +0 -96
- package/chunks/nLBvkerV2.mjs +0 -621
- package/chunks/pZQfJv282.mjs +0 -4
- package/chunks/qrHhuZXg.mjs +0 -465
- package/chunks/uqKZ4RIo.mjs +0 -222
- /package/chunks/{B31ub5xS.mjs → BBvIPqcc.mjs} +0 -0
- /package/chunks/{e70aZf3z.mjs → BoCxKwBf.mjs} +0 -0
- /package/chunks/{h-Uhst9y.mjs → CE67pCwD.mjs} +0 -0
- /package/chunks/{BMTtnkb7.mjs → CQeEP_Tl.mjs} +0 -0
- /package/chunks/{BwYEpK-u.mjs → CaczibeD.mjs} +0 -0
- /package/chunks/{BPpMbPS8.mjs → DZCryyFG.mjs} +0 -0
- /package/chunks/{BVuwiZGi.mjs → Dq63V0CC.mjs} +0 -0
- /package/chunks/{C1RsHtGI.mjs → OEBJ-trG.mjs} +0 -0
- /package/chunks/{7Cv9Cq-02.mjs → fjtZc9Rq2.mjs} +0 -0
package/address-input/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BsqIRxSS.mjs";
|
|
2
2
|
export { e as default };
|
package/affix/index.d.ts
CHANGED
|
@@ -8,12 +8,10 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
8
8
|
offsetTop: number;
|
|
9
9
|
target?: string | undefined;
|
|
10
10
|
offsetBottom?: number | undefined;
|
|
11
|
-
aa?: Function | undefined;
|
|
12
11
|
$props: {
|
|
13
12
|
readonly offsetTop?: number | undefined;
|
|
14
13
|
readonly target?: string | undefined;
|
|
15
14
|
readonly offsetBottom?: number | undefined;
|
|
16
|
-
readonly aa?: Function | undefined;
|
|
17
15
|
};
|
|
18
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
19
17
|
el: HTMLDivElement;
|
package/affix/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, l as t } from "../chunks/
|
|
1
|
+
import { c as e, l as t } from "../chunks/ClVh1Lek.mjs";
|
|
2
2
|
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, normalizeClass as o, normalizeStyle as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, renderSlot as f, unref as p, useTemplateRef as m, vShow as h, withDirectives as g } from "vue";
|
|
3
3
|
import { off as _, on as v } from "@web-utils/core";
|
|
4
4
|
//#region src/components/Affix.vue
|
|
@@ -10,8 +10,7 @@ var y = /* @__PURE__ */ Object.assign({ name: "Affix" }, {
|
|
|
10
10
|
type: Number,
|
|
11
11
|
default: 0
|
|
12
12
|
},
|
|
13
|
-
offsetBottom: Number
|
|
14
|
-
aa: Function
|
|
13
|
+
offsetBottom: Number
|
|
15
14
|
},
|
|
16
15
|
emits: { "on-change": null },
|
|
17
16
|
setup(y, { emit: b }) {
|
package/capsule-tab/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CaczibeD.mjs";
|
|
2
2
|
import { Fragment as t, createElementBlock as n, normalizeClass as r, openBlock as i, renderList as a, toDisplayString as o } from "vue";
|
|
3
3
|
//#region src/components/CapsuleTab.vue
|
|
4
4
|
var s = {
|
package/card/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "../chunks/
|
|
2
|
-
import { t as
|
|
3
|
-
import
|
|
4
|
-
import { t as n } from "../chunks/BwYEpK-u.mjs";
|
|
1
|
+
import { t as e } from "../chunks/CaczibeD.mjs";
|
|
2
|
+
import { ElCol as t, ElRow as n } from "element-plus/es";
|
|
3
|
+
import "element-plus/es/components/base/style/css";
|
|
5
4
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, openBlock as l, renderList as u, renderSlot as d, toDisplayString as f, withCtx as p } from "vue";
|
|
5
|
+
import "element-plus/es/components/row/style/css";
|
|
6
|
+
import "element-plus/es/components/col/style/css";
|
|
6
7
|
//#region src/components/Card.vue
|
|
7
8
|
var m = {
|
|
8
9
|
img: "img",
|
|
@@ -50,8 +51,8 @@ var m = {
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
}, g = { class: "avue-card" }, _ = ["onClick"], v = { class: "avue-card__body" }, y = { class: "avue-card__avatar" }, b = ["src"], x = { class: "avue-card__detail" }, S = { class: "avue-card__title" }, C = { class: "avue-card__info" }, w = { class: "avue-card__menu" };
|
|
53
|
-
function T(
|
|
54
|
-
let O =
|
|
54
|
+
function T(e, m, h, T, E, D) {
|
|
55
|
+
let O = t, k = n;
|
|
55
56
|
return l(), o("div", g, [c(k, {
|
|
56
57
|
span: 24,
|
|
57
58
|
gutter: D.gutter
|
|
@@ -65,25 +66,25 @@ function T(n, m, h, T, E, D) {
|
|
|
65
66
|
onClick: m[0] || (m[0] = (e) => D.rowAdd())
|
|
66
67
|
}, [...m[1] || (m[1] = [s("i", { class: "el-icon-plus" }, null, -1), s("span", null, "添加", -1)])])]),
|
|
67
68
|
_: 1
|
|
68
|
-
}, 8, ["span"])) : a("v-if", !0), (l(!0), o(r, null, u(h.data, (
|
|
69
|
-
key:
|
|
69
|
+
}, 8, ["span"])) : a("v-if", !0), (l(!0), o(r, null, u(h.data, (t, n) => (l(), i(O, {
|
|
70
|
+
key: n,
|
|
70
71
|
span: D.span
|
|
71
72
|
}, {
|
|
72
73
|
default: p(() => [s("div", {
|
|
73
74
|
class: "avue-card__item",
|
|
74
|
-
onClick: (
|
|
75
|
+
onClick: (e) => D.rowClick(t, n)
|
|
75
76
|
}, [s("div", v, [s("div", y, [s("img", {
|
|
76
|
-
src:
|
|
77
|
+
src: t[D.imgKey],
|
|
77
78
|
alt: ""
|
|
78
|
-
}, null, 8, b)]), s("div", x, [s("div", S, f(
|
|
79
|
-
index:
|
|
80
|
-
row:
|
|
79
|
+
}, null, 8, b)]), s("div", x, [s("div", S, f(t[D.titleKey]), 1), s("div", C, f(t[D.infoKey]), 1)])]), s("div", w, [d(e.$slots, "menu", {
|
|
80
|
+
index: n,
|
|
81
|
+
row: t
|
|
81
82
|
})])], 8, _)]),
|
|
82
83
|
_: 2
|
|
83
84
|
}, 1032, ["span"]))), 128))]),
|
|
84
85
|
_: 3
|
|
85
86
|
}, 8, ["gutter"])]);
|
|
86
87
|
}
|
|
87
|
-
var E = /* @__PURE__ */
|
|
88
|
+
var E = /* @__PURE__ */ e(h, [["render", T]]);
|
|
88
89
|
//#endregion
|
|
89
90
|
export { E as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { n as e, o as t } from "./BE4V5Vf5.mjs";
|
|
2
|
+
import { allProps as n, predicate as r } from "../props/input-number.mjs";
|
|
3
|
+
import { ElInputNumber as i } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import { computed as a, createVNode as o, mergeProps as s } from "vue";
|
|
6
|
+
import { isString as c } from "@web-utils/core";
|
|
7
|
+
import "element-plus/es/components/input-number/style/css";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/form/FormInputNumber.vue
|
|
10
|
+
var l = {
|
|
11
|
+
name: "FormInputNumber",
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
props: { ...n },
|
|
14
|
+
emits: { ...e },
|
|
15
|
+
setup(e, { emit: n, slots: l, attrs: u }) {
|
|
16
|
+
let { emitInput: d, render: f, placeholder: p, disabled: m, listeners: h, inputProps: g } = t(e, {
|
|
17
|
+
emit: n,
|
|
18
|
+
slots: l,
|
|
19
|
+
attrs: u,
|
|
20
|
+
predicate: r
|
|
21
|
+
}), _ = a(() => c(e.modelValue) ? Number(e.modelValue) : e.modelValue);
|
|
22
|
+
return () => f({ vNodes: o(i, s(h.value, g.value, {
|
|
23
|
+
style: "width: 100%",
|
|
24
|
+
modelValue: _.value,
|
|
25
|
+
disabled: m.value,
|
|
26
|
+
"onUpdate:modelValue": d,
|
|
27
|
+
placeholder: p.value
|
|
28
|
+
}), {
|
|
29
|
+
prefix: l.prefix || e.prefix ? () => e.prefix : null,
|
|
30
|
+
suffix: l.suffix || e.suffix ? () => e.suffix : e.append,
|
|
31
|
+
"decrease-icon": l["decrease-icon"],
|
|
32
|
+
"increase-icon": l["increase-icon"]
|
|
33
|
+
}) });
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { l as t };
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { t as s } from "./Q2Mal3Qn2.mjs";
|
|
7
|
-
import { t as c } from "./BwYEpK-u.mjs";
|
|
2
|
+
import { t } from "./CaczibeD.mjs";
|
|
3
|
+
import { ElCheckbox as n, ElForm as r, ElFormItem as i, ElInput as a, ElOption as o, ElSelect as s, ElTooltip as c } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import "element-plus/es/components/input/style/css";
|
|
8
6
|
import { Fragment as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, openBlock as g, withCtx as _, withModifiers as v } from "vue";
|
|
7
|
+
import "element-plus/es/components/tooltip/style/css";
|
|
8
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
9
|
+
import "element-plus/es/components/form/style/css";
|
|
10
|
+
import "element-plus/es/components/form-item/style/css";
|
|
11
|
+
import "element-plus/es/components/select/style/css";
|
|
12
|
+
import "element-plus/es/components/option/style/css";
|
|
9
13
|
//#region src/components/bpmn-process-designer/components/penal/multi-instance/ElementMultiInstance.vue
|
|
10
14
|
var y = /* @__PURE__ */ e({ default: () => C }), b = {
|
|
11
15
|
name: "ElementMultiInstance",
|
|
@@ -98,25 +102,25 @@ var y = /* @__PURE__ */ e({ default: () => C }), b = {
|
|
|
98
102
|
}
|
|
99
103
|
}
|
|
100
104
|
}, x = { class: "panel-tab__content element-multi-instance" };
|
|
101
|
-
function S(e,
|
|
102
|
-
let w =
|
|
105
|
+
function S(e, t, y, b, S, C) {
|
|
106
|
+
let w = c, T = o, E = s, D = i, O = a, k = n, A = r;
|
|
103
107
|
return g(), f("div", x, [h(A, {
|
|
104
108
|
"label-width": "100px",
|
|
105
|
-
onSubmit:
|
|
109
|
+
onSubmit: t[12] || (t[12] = v(() => {}, ["prevent"]))
|
|
106
110
|
}, {
|
|
107
111
|
default: _(() => [h(D, { label: "回路特性" }, {
|
|
108
|
-
label: _(() => [
|
|
109
|
-
content: _(() => [...
|
|
112
|
+
label: _(() => [t[15] || (t[15] = m(" 回路特性 ", -1)), h(w, { effect: "light" }, {
|
|
113
|
+
content: _(() => [...t[13] || (t[13] = [p("ul", null, [
|
|
110
114
|
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "并行"), m(" 一次性创建所有任务实例 ")]),
|
|
111
115
|
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "串行"), m(" 完成一个任务实例再创建一个任务实例,直到环节完成 ")]),
|
|
112
116
|
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "循环事件"), m(" 未知 ")])
|
|
113
117
|
], -1)])]),
|
|
114
|
-
default: _(() => [
|
|
118
|
+
default: _(() => [t[14] || (t[14] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
115
119
|
_: 1
|
|
116
120
|
})]),
|
|
117
121
|
default: _(() => [h(E, {
|
|
118
122
|
modelValue: S.loopCharacteristics,
|
|
119
|
-
"onUpdate:modelValue":
|
|
123
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => S.loopCharacteristics = e),
|
|
120
124
|
onChange: C.changeLoopCharacteristicsType
|
|
121
125
|
}, {
|
|
122
126
|
default: _(() => [
|
|
@@ -149,14 +153,14 @@ function S(e, c, y, b, S, C) {
|
|
|
149
153
|
key: "loopCardinality",
|
|
150
154
|
label: "循环基数"
|
|
151
155
|
}, {
|
|
152
|
-
label: _(() => [
|
|
153
|
-
content: _(() => [...
|
|
154
|
-
default: _(() => [
|
|
156
|
+
label: _(() => [t[18] || (t[18] = m(" 循环基数 ", -1)), h(w, { effect: "light" }, {
|
|
157
|
+
content: _(() => [...t[16] || (t[16] = [p("div", null, "与任务实例数相对,可不填", -1)])]),
|
|
158
|
+
default: _(() => [t[17] || (t[17] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
155
159
|
_: 1
|
|
156
160
|
})]),
|
|
157
161
|
default: _(() => [h(O, {
|
|
158
162
|
modelValue: S.loopInstanceForm.loopCardinality,
|
|
159
|
-
"onUpdate:modelValue":
|
|
163
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => S.loopInstanceForm.loopCardinality = e),
|
|
160
164
|
clearable: "",
|
|
161
165
|
onChange: C.updateLoopCardinality
|
|
162
166
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -167,18 +171,18 @@ function S(e, c, y, b, S, C) {
|
|
|
167
171
|
label: "集合名称",
|
|
168
172
|
required: ""
|
|
169
173
|
}, {
|
|
170
|
-
label: _(() => [
|
|
171
|
-
content: _(() => [...
|
|
174
|
+
label: _(() => [t[21] || (t[21] = m(" 集合变量 ", -1)), h(w, { effect: "light" }, {
|
|
175
|
+
content: _(() => [...t[19] || (t[19] = [p("p", null, [
|
|
172
176
|
m(" 流程变量名,设置为 "),
|
|
173
177
|
p("span", { class: "flow-tips-keyword" }, "${handlers}"),
|
|
174
178
|
m(" 就行 ")
|
|
175
179
|
], -1)])]),
|
|
176
|
-
default: _(() => [
|
|
180
|
+
default: _(() => [t[20] || (t[20] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
177
181
|
_: 1
|
|
178
182
|
})]),
|
|
179
183
|
default: _(() => [h(O, {
|
|
180
184
|
modelValue: S.loopInstanceForm.collection,
|
|
181
|
-
"onUpdate:modelValue":
|
|
185
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => S.loopInstanceForm.collection = e),
|
|
182
186
|
clearable: "",
|
|
183
187
|
onChange: C.updateLoopBase
|
|
184
188
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -189,8 +193,8 @@ function S(e, c, y, b, S, C) {
|
|
|
189
193
|
label: "元素名称",
|
|
190
194
|
required: ""
|
|
191
195
|
}, {
|
|
192
|
-
label: _(() => [
|
|
193
|
-
content: _(() => [...
|
|
196
|
+
label: _(() => [t[24] || (t[24] = m(" 元素变量 ", -1)), h(w, { effect: "light" }, {
|
|
197
|
+
content: _(() => [...t[22] || (t[22] = [p("p", null, [
|
|
194
198
|
m(" 流程变量名,设置为 "),
|
|
195
199
|
p("span", { class: "flow-tips-keyword" }, "handler"),
|
|
196
200
|
m(" 就行,注意与\" "),
|
|
@@ -199,12 +203,12 @@ function S(e, c, y, b, S, C) {
|
|
|
199
203
|
p("span", { class: "flow-tips-keyword" }, "分配人员"),
|
|
200
204
|
m(" \"值保持一致 ")
|
|
201
205
|
], -1)])]),
|
|
202
|
-
default: _(() => [
|
|
206
|
+
default: _(() => [t[23] || (t[23] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
203
207
|
_: 1
|
|
204
208
|
})]),
|
|
205
209
|
default: _(() => [h(O, {
|
|
206
210
|
modelValue: S.loopInstanceForm.elementVariable,
|
|
207
|
-
"onUpdate:modelValue":
|
|
211
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => S.loopInstanceForm.elementVariable = e),
|
|
208
212
|
clearable: "",
|
|
209
213
|
onChange: C.updateLoopBase
|
|
210
214
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -214,8 +218,8 @@ function S(e, c, y, b, S, C) {
|
|
|
214
218
|
key: "completionCondition",
|
|
215
219
|
label: "完成条件"
|
|
216
220
|
}, {
|
|
217
|
-
label: _(() => [
|
|
218
|
-
content: _(() => [...
|
|
221
|
+
label: _(() => [t[27] || (t[27] = m(" 完成条件 ", -1)), h(w, { effect: "light" }, {
|
|
222
|
+
content: _(() => [...t[25] || (t[25] = [
|
|
219
223
|
p("p", { class: "flow-tips-title" }, "特殊流程变量:", -1),
|
|
220
224
|
p("ul", null, [
|
|
221
225
|
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfInstances"), m(" 总实例数 ")]),
|
|
@@ -230,12 +234,12 @@ function S(e, c, y, b, S, C) {
|
|
|
230
234
|
], -1),
|
|
231
235
|
p("p", { class: "flow-tips-title" }, "不填要等所有实例完成才会结束该环节", -1)
|
|
232
236
|
])]),
|
|
233
|
-
default: _(() => [
|
|
237
|
+
default: _(() => [t[26] || (t[26] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
234
238
|
_: 1
|
|
235
239
|
})]),
|
|
236
240
|
default: _(() => [h(O, {
|
|
237
241
|
modelValue: S.loopInstanceForm.completionCondition,
|
|
238
|
-
"onUpdate:modelValue":
|
|
242
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => S.loopInstanceForm.completionCondition = e),
|
|
239
243
|
clearable: "",
|
|
240
244
|
onChange: C.updateLoopCondition
|
|
241
245
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -245,30 +249,30 @@ function S(e, c, y, b, S, C) {
|
|
|
245
249
|
key: "async",
|
|
246
250
|
label: "异步状态"
|
|
247
251
|
}, {
|
|
248
|
-
label: _(() => [
|
|
249
|
-
content: _(() => [...
|
|
250
|
-
default: _(() => [
|
|
252
|
+
label: _(() => [t[30] || (t[30] = m(" 异步状态 ", -1)), h(w, { effect: "light" }, {
|
|
253
|
+
content: _(() => [...t[28] || (t[28] = [p("div", null, "目前没用到", -1)])]),
|
|
254
|
+
default: _(() => [t[29] || (t[29] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
251
255
|
_: 1
|
|
252
256
|
})]),
|
|
253
257
|
default: _(() => [
|
|
254
258
|
h(k, {
|
|
255
259
|
modelValue: S.loopInstanceForm.asyncBefore,
|
|
256
|
-
"onUpdate:modelValue":
|
|
260
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => S.loopInstanceForm.asyncBefore = e),
|
|
257
261
|
label: "异步前",
|
|
258
|
-
onChange:
|
|
262
|
+
onChange: t[6] || (t[6] = (e) => C.updateLoopAsync("asyncBefore"))
|
|
259
263
|
}, null, 8, ["modelValue"]),
|
|
260
264
|
h(k, {
|
|
261
265
|
modelValue: S.loopInstanceForm.asyncAfter,
|
|
262
|
-
"onUpdate:modelValue":
|
|
266
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => S.loopInstanceForm.asyncAfter = e),
|
|
263
267
|
label: "异步后",
|
|
264
|
-
onChange:
|
|
268
|
+
onChange: t[8] || (t[8] = (e) => C.updateLoopAsync("asyncAfter"))
|
|
265
269
|
}, null, 8, ["modelValue"]),
|
|
266
270
|
S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(k, {
|
|
267
271
|
key: 0,
|
|
268
272
|
modelValue: S.loopInstanceForm.exclusive,
|
|
269
|
-
"onUpdate:modelValue":
|
|
273
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => S.loopInstanceForm.exclusive = e),
|
|
270
274
|
label: "排除",
|
|
271
|
-
onChange:
|
|
275
|
+
onChange: t[10] || (t[10] = (e) => C.updateLoopAsync("exclusive"))
|
|
272
276
|
}, null, 8, ["modelValue"])) : d("v-if", !0)
|
|
273
277
|
]),
|
|
274
278
|
_: 1
|
|
@@ -280,7 +284,7 @@ function S(e, c, y, b, S, C) {
|
|
|
280
284
|
}, {
|
|
281
285
|
default: _(() => [h(O, {
|
|
282
286
|
modelValue: S.loopInstanceForm.timeCycle,
|
|
283
|
-
"onUpdate:modelValue":
|
|
287
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => S.loopInstanceForm.timeCycle = e),
|
|
284
288
|
clearable: "",
|
|
285
289
|
onChange: C.updateLoopTimeCycle
|
|
286
290
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -290,6 +294,6 @@ function S(e, c, y, b, S, C) {
|
|
|
290
294
|
_: 1
|
|
291
295
|
})]);
|
|
292
296
|
}
|
|
293
|
-
var C = /* @__PURE__ */
|
|
297
|
+
var C = /* @__PURE__ */ t(b, [["render", S]]);
|
|
294
298
|
//#endregion
|
|
295
299
|
export { y as n, C as t };
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import c from "../form-red-table/index.mjs";
|
|
1
|
+
import { m as e } from "./ClVh1Lek.mjs";
|
|
2
|
+
import { formHolderContextKey as t, formViewContextKey as n } from "../constants/index.mjs";
|
|
3
|
+
import { allProps as r, predicate as i } from "../props/form.mjs";
|
|
4
|
+
import a from "../form-advice/index.mjs";
|
|
5
|
+
import o from "../form-red-table/index.mjs";
|
|
6
|
+
import { ElForm as s, ElRow as c } from "element-plus/es";
|
|
7
|
+
import "element-plus/es/components/base/style/css";
|
|
9
8
|
import { computed as l, createVNode as u, inject as d, mergeProps as f, nextTick as p, provide as m, reactive as h, toRef as g, useTemplateRef as _ } from "vue";
|
|
10
9
|
import { animate as v } from "@web-utils/core";
|
|
10
|
+
import "element-plus/es/components/row/style/css";
|
|
11
|
+
import "element-plus/es/components/form/style/css";
|
|
11
12
|
//#endregion
|
|
12
13
|
//#region src/components/form/FormHolder.vue
|
|
13
14
|
var y = {
|
|
14
15
|
name: "FormHolder",
|
|
15
16
|
inheritAttrs: !1,
|
|
16
|
-
props: { ...
|
|
17
|
+
props: { ...r },
|
|
17
18
|
emits: {},
|
|
18
|
-
setup(
|
|
19
|
-
let { autoBindProps: S, listeners: C } =
|
|
19
|
+
setup(r, { slots: y, expose: b, attrs: x }) {
|
|
20
|
+
let { autoBindProps: S, listeners: C } = e(r, { predicate: i }), w = d(n, null), T = _("form"), E = l(() => r.notTableForm === void 0 ? (w == null ? void 0 : w.tableForm) === void 0 ? !1 : w == null ? void 0 : w.tableForm : !r.notTableForm), D = l(() => E.value ? !1 : r.showMessage), O = l(() => {
|
|
20
21
|
let e = {};
|
|
21
|
-
return
|
|
22
|
+
return r.disabledFields && r.disabledFields.forEach((t) => {
|
|
22
23
|
e[t] = !0;
|
|
23
24
|
}), e;
|
|
24
25
|
}), k = l(() => {
|
|
25
26
|
let e = {};
|
|
26
|
-
return
|
|
27
|
+
return r.enabledFields && r.enabledFields.length && r.enabledFields.forEach((t) => {
|
|
27
28
|
e[t] = !0;
|
|
28
29
|
}), e;
|
|
29
30
|
}), A = l(() => {
|
|
30
31
|
let e = {};
|
|
31
|
-
return
|
|
32
|
+
return r.requiredFields && r.requiredFields.length && r.requiredFields.forEach((t) => {
|
|
32
33
|
e[t] = !0;
|
|
33
34
|
}), e;
|
|
34
|
-
}), j = l(() =>
|
|
35
|
+
}), j = l(() => r.disabled === !0 ? !0 : r.disabled), M = g(() => r.enabledFields), N = g(() => r.requiredFields), P = g(() => r.disabledFields), F = async () => {
|
|
35
36
|
await p();
|
|
36
37
|
let e = T.value.$el.querySelector(".el-form-item.is-error");
|
|
37
38
|
e && e.scrollIntoView({
|
|
@@ -67,7 +68,7 @@ var y = {
|
|
|
67
68
|
setInitialValues: (e) => T.value.setInitialValues(e),
|
|
68
69
|
getFields: () => T.value.fields
|
|
69
70
|
});
|
|
70
|
-
return m(
|
|
71
|
+
return m(t, I), b(I), () => u(s, f(C.value, S.value, x, {
|
|
71
72
|
ref: "form",
|
|
72
73
|
class: [
|
|
73
74
|
"form-holder",
|
|
@@ -77,26 +78,26 @@ var y = {
|
|
|
77
78
|
"show-message": D.value
|
|
78
79
|
}), { default: () => {
|
|
79
80
|
if (E.value) {
|
|
80
|
-
var e, t,
|
|
81
|
+
var e, t, n;
|
|
81
82
|
return [
|
|
82
83
|
(e = y.top) == null ? void 0 : e.call(y),
|
|
83
|
-
u(
|
|
84
|
+
u(o, {
|
|
84
85
|
class: { "hide-error-message": E.value },
|
|
85
|
-
columns:
|
|
86
|
-
"col-count":
|
|
86
|
+
columns: r.columns,
|
|
87
|
+
"col-count": r.colCount
|
|
87
88
|
}, { default: () => {
|
|
88
89
|
var e;
|
|
89
|
-
return [(e = y.default) == null ? void 0 : e.call(y),
|
|
90
|
-
"label-colspan":
|
|
91
|
-
"value-colspan":
|
|
90
|
+
return [(e = y.default) == null ? void 0 : e.call(y), r.showAdvice ? u(a, {
|
|
91
|
+
"label-colspan": r.commentLabelColspan,
|
|
92
|
+
"value-colspan": r.commentValueColspan
|
|
92
93
|
}, null) : null];
|
|
93
94
|
} }),
|
|
94
95
|
(t = y.bottom) == null ? void 0 : t.call(y),
|
|
95
|
-
u("div", { class: "red-form-footer" }, [(
|
|
96
|
+
u("div", { class: "red-form-footer" }, [(n = y.footer) == null ? void 0 : n.call(y)])
|
|
96
97
|
];
|
|
97
98
|
} else {
|
|
98
99
|
var i;
|
|
99
|
-
return
|
|
100
|
+
return r.wrapRow ? u(c, null, { default: () => {
|
|
100
101
|
var e;
|
|
101
102
|
return [(e = y.default) == null ? void 0 : e.call(y)];
|
|
102
103
|
} }) : (i = y.default) == null ? void 0 : i.call(y);
|