@web-utils/form-ui 1.0.0-beta72 → 1.0.0-beta74
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 -16
- package/chunks/-fXBgN9b2.mjs +37 -0
- package/chunks/{-UHCmZBh.mjs → -yfgKY3g.mjs} +1 -1
- package/chunks/{Ciy3EJGG2.mjs → -zgWD713.mjs} +44 -45
- package/chunks/{qFn9SqfB2.mjs → 7_9hAeqb.mjs} +72 -73
- package/chunks/{CidE_6Q52.mjs → 8A7LSgb4.mjs} +26 -27
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BE4V5Vf5.mjs +133 -0
- package/chunks/{Diidem-9.mjs → BGJjAw5E.mjs} +1 -1
- package/chunks/{BJNI7n9Z.mjs → BH7VEktl.mjs} +19 -19
- package/chunks/{BrJzSp9f.mjs → BI6kCG2j2.mjs} +2 -2
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{DWjZMJ1e2.mjs → Bj0kgDOA.mjs} +132 -133
- package/chunks/{DmEOzzaP2.mjs → BrelfRGo2.mjs} +14 -14
- package/chunks/{X6BItEt1.mjs → BsqIRxSS.mjs} +6 -7
- package/chunks/{Bnm0osro.mjs → Byy1rvPO.mjs} +13 -16
- package/chunks/{iPHgzcZ0.mjs → C6mb7Nru2.mjs} +4 -4
- package/chunks/{Bhkk9TmJ2.mjs → CFoSvMJ-2.mjs} +1 -1
- package/chunks/{Vrr45MGv.mjs → CO3taG7t2.mjs} +1 -1
- package/chunks/{QAHALDuF2.mjs → CWBRpkHy.mjs} +138 -139
- package/chunks/Ccxbv7uz2.mjs +34 -0
- package/chunks/Ce4tNNzg2.mjs +63 -0
- package/chunks/{SEQG09ut.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/{CJl5ZiUq2.mjs → D4Pd8rZi.mjs} +28 -30
- package/chunks/D6YM84Pf2.mjs +29 -0
- package/chunks/{DlROUHPJ2.mjs → DTq5QLoT.mjs} +43 -43
- package/chunks/{5oaTzHT-2.mjs → DVMfVn-M.mjs} +14 -13
- package/chunks/DVdQHb_v.mjs +50 -0
- package/chunks/{YS7hFnUB2.mjs → Daa7nl7U.mjs} +19 -19
- package/chunks/{D6TSUCGL.mjs → Dh_BQpvC2.mjs} +2 -2
- package/chunks/DizOY5i8.mjs +69 -0
- package/chunks/{Czi7_tAe.mjs → DjaV6_cg2.mjs} +2 -2
- package/chunks/{CKWgRCN52.mjs → Dm3gQGoV2.mjs} +2 -2
- package/chunks/DqW9QtF3.mjs +68 -0
- package/chunks/{CKbOqPFm2.mjs → DqWJCka8.mjs} +9 -9
- package/chunks/{CIerTjpq2.mjs → DrWUdRj32.mjs} +2 -2
- package/chunks/{BrSZZNRc.mjs → DucSg7Mt.mjs} +70 -72
- 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/{BHwRv4F0.mjs → Lkg7bYLD2.mjs} +73 -74
- package/chunks/OBTStTaa.mjs +179 -0
- package/chunks/{DSnICEQN.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{C9nRNgwm2.mjs → QTy8g5MS.mjs} +589 -763
- package/chunks/{CsA_9MVv.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/_q6JzJYp.mjs +773 -0
- package/chunks/{BiYsC43_.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{D2FNAA1a.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{BJuAz5lX2.mjs → sWVkgzQt2.mjs} +2 -2
- package/chunks/{DN2qkQvd.mjs → tjwOOiNr2.mjs} +31 -32
- 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 -10
- package/data-card/index.mjs +8 -9
- package/data-card-text/index.mjs +8 -9
- package/data-display/index.mjs +9 -10
- package/data-icons/index.mjs +9 -10
- package/data-imgtext/index.mjs +9 -11
- package/data-operatext/index.mjs +8 -9
- package/data-panel/index.mjs +9 -10
- package/data-pay/index.mjs +10 -12
- package/data-price/index.mjs +8 -9
- package/data-progress/index.mjs +10 -11
- package/data-rotate/index.mjs +9 -10
- package/data-table-picker/index.mjs +11 -12
- package/data-tabs/index.mjs +9 -10
- 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 -8
- package/editable-tree/index.mjs +595 -2
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +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-designer/style.css +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-checkbox-group/style.css +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/guide-steps/style.css +1 -1
- 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-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +101 -101
- package/input-number-range/index.mjs +7 -7
- 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 -4
- package/package.json +5 -1
- package/page-index/index.mjs +14 -14
- package/page-index-top/index.mjs +12 -12
- package/pageable-table/index.mjs +1 -1
- package/pageable-table/style.css +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 -3
- 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 +109 -110
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +21 -23
- 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 -50
- package/year-calendar/index.mjs +1 -1
- package/year-calendar/style.css +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/BCwAowl1.mjs +0 -589
- package/chunks/BDVLN2ly.mjs +0 -105
- package/chunks/BEIlrURf.mjs +0 -251
- package/chunks/BEysX5TF2.mjs +0 -1038
- package/chunks/BHVyaqk0.mjs +0 -736
- package/chunks/BIj6pa8Z.mjs +0 -15
- package/chunks/BMWg0Wyj.mjs +0 -223
- package/chunks/BOsml5YC.mjs +0 -69
- package/chunks/BPwFiWYl2.mjs +0 -226
- package/chunks/BVIHqL6g.mjs +0 -17
- package/chunks/BVSQ6DfJ.mjs +0 -17
- package/chunks/BWqFKbFT.mjs +0 -1
- package/chunks/B__5L22p2.mjs +0 -346
- package/chunks/Bcpewc6H.mjs +0 -1279
- package/chunks/Bdeug17L.mjs +0 -42
- package/chunks/BffxPn8a.mjs +0 -34
- package/chunks/BgKQXQO_.mjs +0 -3093
- 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/BmP9lQmT.mjs +0 -1
- package/chunks/BrYtAPbN2.mjs +0 -161
- package/chunks/BsKwchVA.mjs +0 -14
- package/chunks/Bxo1Of95.mjs +0 -479
- package/chunks/BzFYbCpR.mjs +0 -25
- package/chunks/C6puxasG.mjs +0 -34
- package/chunks/C7l9aZGE.mjs +0 -577
- package/chunks/CDRNaOEg2.mjs +0 -274
- package/chunks/CG7AYiWy.mjs +0 -1
- package/chunks/CLzc_j7_.mjs +0 -234
- package/chunks/CQSTyCVP.mjs +0 -6
- package/chunks/CQxz8uUc.mjs +0 -454
- package/chunks/CU8bKuD12.mjs +0 -237
- package/chunks/CUF58PQ6.mjs +0 -1
- package/chunks/CUMFv5zJ2.mjs +0 -136
- package/chunks/C_eGir-J.mjs +0 -17
- package/chunks/Cb6Zx6UC.mjs +0 -29
- package/chunks/Cb_S4x_i2.mjs +0 -1098
- package/chunks/CbgD7y-5.mjs +0 -5
- package/chunks/CbsGuLZz2.mjs +0 -105
- package/chunks/CcT5SsZk.mjs +0 -48
- package/chunks/CcnjxILx.mjs +0 -1
- package/chunks/ChkCT6Mm.mjs +0 -4
- package/chunks/CiFlMt6Z.mjs +0 -41
- package/chunks/CiOqOUkG.mjs +0 -1
- package/chunks/CkXf_DVJ2.mjs +0 -1
- package/chunks/CnCSm3LY2.mjs +0 -4
- package/chunks/CnqWFDqp2.mjs +0 -244
- package/chunks/Cq0oEWRi2.mjs +0 -384
- package/chunks/CtBIjjQc2.mjs +0 -58
- package/chunks/Ctd3_wOH2.mjs +0 -6
- package/chunks/CuoYjthQ.mjs +0 -643
- package/chunks/CwhXr2Qc.mjs +0 -1
- package/chunks/D-hj62se2.mjs +0 -525
- package/chunks/D3VpXXqv.mjs +0 -1331
- package/chunks/D3Xixh5v.mjs +0 -5
- package/chunks/D4oNQiIK.mjs +0 -461
- package/chunks/D7O9ov79.mjs +0 -447
- package/chunks/D8fid28s2.mjs +0 -42
- package/chunks/DJdhVUFO2.mjs +0 -2435
- package/chunks/DJo_1CEK2.mjs +0 -61
- package/chunks/DMBx2EQl.mjs +0 -107
- package/chunks/DOCwznnS.mjs +0 -62
- package/chunks/DStwh2ne.mjs +0 -281
- package/chunks/D_5z5Xeq2.mjs +0 -37
- package/chunks/Df9VO_Wn2.mjs +0 -2
- package/chunks/Dg9Q-Tbi2.mjs +0 -299
- package/chunks/Diyl8upM.mjs +0 -277
- package/chunks/DjIPzCCR.mjs +0 -2
- package/chunks/DnBzQ-xh.mjs +0 -4
- package/chunks/Dp195RgF.mjs +0 -2
- package/chunks/Dqu1Etz62.mjs +0 -52
- package/chunks/DrKq_frR.mjs +0 -98
- package/chunks/DrXfCf172.mjs +0 -440
- package/chunks/DsZznbt2.mjs +0 -208
- package/chunks/Dsd58O0g.mjs +0 -25
- package/chunks/DssopN-n2.mjs +0 -97
- package/chunks/Dtq1xYk8.mjs +0 -47
- package/chunks/FeuisuNY2.mjs +0 -88
- package/chunks/GEtlriHC.mjs +0 -188
- package/chunks/GsvG1yFW.mjs +0 -1919
- package/chunks/IheQdJ0z.mjs +0 -267
- package/chunks/KGmxNbpi.mjs +0 -21
- package/chunks/PNyFONog2.mjs +0 -69
- package/chunks/T70m4caR.mjs +0 -1095
- package/chunks/ZBsqmcIN2.mjs +0 -622
- package/chunks/akEzJ4kG.mjs +0 -18
- package/chunks/fX1GD0G5.mjs +0 -70
- package/chunks/gh52LMTG.mjs +0 -12
- package/chunks/hgAOQY9a.mjs +0 -406
- package/chunks/iu5J8EF_.mjs +0 -197
- package/chunks/lGc5ksPb.mjs +0 -279
- package/chunks/pZQfJv282.mjs +0 -4
- package/chunks/qrHhuZXg.mjs +0 -465
- package/chunks/r8gDbwly.mjs +0 -1
- package/chunks/vpwjmKdg2.mjs +0 -32
- package/css/style.css +0 -1
- package/css/style10.css +0 -1
- package/css/style11.css +0 -1
- package/css/style12.css +0 -1
- package/css/style13.css +0 -1
- package/css/style14.css +0 -1
- package/css/style15.css +0 -1
- package/css/style16.css +0 -1
- package/css/style17.css +0 -1
- package/css/style18.css +0 -1
- package/css/style19.css +0 -1
- package/css/style2.css +0 -1
- package/css/style20.css +0 -1
- package/css/style21.css +0 -1
- package/css/style22.css +0 -1
- package/css/style23.css +0 -1
- package/css/style24.css +0 -1
- package/css/style25.css +0 -1
- package/css/style26.css +0 -1
- package/css/style27.css +0 -1
- package/css/style28.css +0 -1
- package/css/style29.css +0 -1
- package/css/style3.css +0 -1
- package/css/style4.css +0 -1
- package/css/style5.css +0 -1
- package/css/style6.css +0 -1
- package/css/style7.css +0 -1
- package/css/style8.css +0 -1
- package/css/style9.css +0 -1
- package/form-date-picker/style.css +0 -1
- package/form-image/style.css +0 -1
- package/form-input-time/style.css +0 -1
- package/form-radio-group/style.css +0 -1
- package/form-rate/style.css +0 -1
- package/form-time-select/style.css +0 -1
- /package/chunks/{CZnBtJW02.mjs → BBvIPqcc.mjs} +0 -0
- /package/chunks/{iIozz7ce.mjs → BoCxKwBf.mjs} +0 -0
- /package/chunks/{BxRjXAwz.mjs → CE67pCwD.mjs} +0 -0
- /package/chunks/{DWhGFQkb2.mjs → CQeEP_Tl.mjs} +0 -0
- /package/chunks/{BQ0e8kIi.mjs → CaczibeD.mjs} +0 -0
- /package/chunks/{B_80qPvY.mjs → DZCryyFG.mjs} +0 -0
- /package/chunks/{q5iCsXNv.mjs → Dq63V0CC.mjs} +0 -0
- /package/chunks/{CRjUGi_-.mjs → OEBJ-trG.mjs} +0 -0
- /package/chunks/{GYddfy8T.mjs → fjtZc9Rq2.mjs} +0 -0
package/chunks/Cq0oEWRi2.mjs
DELETED
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
import "./CjjJimnU.mjs";
|
|
2
|
-
import { s as e, t } from "./DrKq_frR.mjs";
|
|
3
|
-
import { t as n } from "./KGmxNbpi.mjs";
|
|
4
|
-
import { t as r } from "./gh52LMTG.mjs";
|
|
5
|
-
import { t as i } from "./D4oNQiIK.mjs";
|
|
6
|
-
import { n as a, r as o, t as s } from "./BDVLN2ly.mjs";
|
|
7
|
-
import { n as c } from "./GEtlriHC.mjs";
|
|
8
|
-
import { n as l, t as u } from "./DsZznbt2.mjs";
|
|
9
|
-
import { t as d } from "./B1ATN2my.mjs";
|
|
10
|
-
import { m as f } from "./D-hj62se2.mjs";
|
|
11
|
-
import { a as p, i as m, n as h, o as g, r as _, t as v } from "./CnqWFDqp2.mjs";
|
|
12
|
-
/* empty css */
|
|
13
|
-
import { Transition as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as T, createVNode as E, defineComponent as D, getCurrentInstance as O, inject as k, mergeModels as A, mergeProps as j, normalizeClass as M, normalizeStyle as N, openBlock as P, provide as ee, ref as F, renderSlot as I, resolveDynamicComponent as L, toDisplayString as R, toHandlers as z, unref as B, useModel as V, useSlots as H, useTemplateRef as U, vShow as W, withCtx as G, withDirectives as te, withModifiers as K } from "vue";
|
|
14
|
-
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/utils/vue/refs.mjs
|
|
15
|
-
var q = (...e) => (t) => {
|
|
16
|
-
e.forEach((e) => {
|
|
17
|
-
e.value = t;
|
|
18
|
-
});
|
|
19
|
-
}, J = ["aria-level"], Y = ["aria-label"], X = ["id"], ne = /* @__PURE__ */ D({
|
|
20
|
-
name: "ElDialogContent",
|
|
21
|
-
__name: "dialog-content",
|
|
22
|
-
props: g,
|
|
23
|
-
emits: p,
|
|
24
|
-
setup(e, { expose: t }) {
|
|
25
|
-
let { t: n } = c(), { Close: r } = d, a = e, { dialogRef: s, headerRef: u, bodyId: f, ns: p, style: m } = k(h), { focusTrapRef: g } = k(l), _ = q(g, s), v = b(() => !!a.draggable), { resetPosition: y, updatePosition: T, isDragging: D } = o(s, u, v, b(() => !!a.overflow)), O = b(() => [
|
|
26
|
-
p.b(),
|
|
27
|
-
p.is("fullscreen", a.fullscreen),
|
|
28
|
-
p.is("draggable", v.value),
|
|
29
|
-
p.is("dragging", D.value),
|
|
30
|
-
p.is("align-center", !!a.alignCenter),
|
|
31
|
-
{ [p.m("center")]: a.center }
|
|
32
|
-
]);
|
|
33
|
-
return t({
|
|
34
|
-
resetPosition: y,
|
|
35
|
-
updatePosition: T
|
|
36
|
-
}), (t, a) => (P(), C("div", {
|
|
37
|
-
ref: B(_),
|
|
38
|
-
class: M(O.value),
|
|
39
|
-
style: N(B(m)),
|
|
40
|
-
tabindex: "-1"
|
|
41
|
-
}, [
|
|
42
|
-
w("header", {
|
|
43
|
-
ref_key: "headerRef",
|
|
44
|
-
ref: u,
|
|
45
|
-
class: M([
|
|
46
|
-
B(p).e("header"),
|
|
47
|
-
e.headerClass,
|
|
48
|
-
{ "show-close": e.showClose }
|
|
49
|
-
])
|
|
50
|
-
}, [I(t.$slots, "header", {}, () => [w("span", {
|
|
51
|
-
role: "heading",
|
|
52
|
-
"aria-level": e.ariaLevel,
|
|
53
|
-
class: M(B(p).e("title"))
|
|
54
|
-
}, R(e.title), 11, J)]), e.showClose ? (P(), C("button", {
|
|
55
|
-
key: 0,
|
|
56
|
-
"aria-label": B(n)("el.dialog.close"),
|
|
57
|
-
class: M(B(p).e("headerbtn")),
|
|
58
|
-
type: "button",
|
|
59
|
-
onClick: a[0] || (a[0] = (e) => t.$emit("close"))
|
|
60
|
-
}, [E(B(i), { class: M(B(p).e("close")) }, {
|
|
61
|
-
default: G(() => [(P(), x(L(e.closeIcon || B(r))))]),
|
|
62
|
-
_: 1
|
|
63
|
-
}, 8, ["class"])], 10, Y)) : S("v-if", !0)], 2),
|
|
64
|
-
w("div", {
|
|
65
|
-
id: B(f),
|
|
66
|
-
class: M([B(p).e("body"), e.bodyClass])
|
|
67
|
-
}, [I(t.$slots, "default")], 10, X),
|
|
68
|
-
t.$slots.footer ? (P(), C("footer", {
|
|
69
|
-
key: 0,
|
|
70
|
-
class: M([B(p).e("footer"), e.footerClass])
|
|
71
|
-
}, [I(t.$slots, "footer")], 2)) : S("v-if", !0)
|
|
72
|
-
], 6));
|
|
73
|
-
}
|
|
74
|
-
}), re = [
|
|
75
|
-
"aria-label",
|
|
76
|
-
"aria-labelledby",
|
|
77
|
-
"aria-describedby"
|
|
78
|
-
], Z = t(/* @__PURE__ */ D({
|
|
79
|
-
name: "ElDialog",
|
|
80
|
-
inheritAttrs: !1,
|
|
81
|
-
__name: "dialog",
|
|
82
|
-
props: m,
|
|
83
|
-
emits: _,
|
|
84
|
-
setup(t, { expose: i }) {
|
|
85
|
-
let o = t, c = H();
|
|
86
|
-
r({
|
|
87
|
-
scope: "el-dialog",
|
|
88
|
-
from: "the title slot",
|
|
89
|
-
replacement: "the header slot",
|
|
90
|
-
version: "3.0.0",
|
|
91
|
-
ref: "https://element-plus.org/en-US/component/dialog.html#slots"
|
|
92
|
-
}, b(() => !!c.title));
|
|
93
|
-
let l = e("dialog"), d = F(), f = F(), p = F(), { visible: m, titleId: g, bodyId: _, style: C, overlayDialogStyle: D, rendered: O, transitionConfig: k, zIndex: A, _draggable: L, _alignCenter: R, _overflow: z, penetrable: V, handleClose: U, onModalClick: K, onOpenAutoFocus: q, onCloseAutoFocus: J, onCloseRequested: Y, onFocusoutPrevented: X, bringToFront: Z, closing: Q } = v(o, d);
|
|
94
|
-
ee(h, {
|
|
95
|
-
dialogRef: d,
|
|
96
|
-
headerRef: f,
|
|
97
|
-
bodyId: _,
|
|
98
|
-
ns: l,
|
|
99
|
-
rendered: O,
|
|
100
|
-
style: C
|
|
101
|
-
});
|
|
102
|
-
let $ = a(K);
|
|
103
|
-
return i({
|
|
104
|
-
visible: m,
|
|
105
|
-
dialogContentRef: p,
|
|
106
|
-
resetPosition: () => {
|
|
107
|
-
var e;
|
|
108
|
-
(e = p.value) == null || e.resetPosition();
|
|
109
|
-
},
|
|
110
|
-
handleClose: U
|
|
111
|
-
}), (e, r) => (P(), x(B(n), {
|
|
112
|
-
to: t.appendTo,
|
|
113
|
-
disabled: t.appendTo === "body" ? !t.appendToBody : !1
|
|
114
|
-
}, {
|
|
115
|
-
default: G(() => [E(y, j(B(k), { persisted: "" }), {
|
|
116
|
-
default: G(() => [te(E(B(s), {
|
|
117
|
-
"custom-mask-event": "",
|
|
118
|
-
mask: t.modal,
|
|
119
|
-
"overlay-class": [
|
|
120
|
-
t.modalClass ?? "",
|
|
121
|
-
`${B(l).namespace.value}-modal-dialog`,
|
|
122
|
-
B(l).is("penetrable", B(V))
|
|
123
|
-
],
|
|
124
|
-
"z-index": B(A)
|
|
125
|
-
}, {
|
|
126
|
-
default: G(() => [w("div", {
|
|
127
|
-
role: "dialog",
|
|
128
|
-
"aria-modal": "true",
|
|
129
|
-
"aria-label": t.title || void 0,
|
|
130
|
-
"aria-labelledby": t.title ? void 0 : B(g),
|
|
131
|
-
"aria-describedby": B(_),
|
|
132
|
-
class: M([`${B(l).namespace.value}-overlay-dialog`, B(l).is("closing", B(Q))]),
|
|
133
|
-
style: N(B(D)),
|
|
134
|
-
onClick: r[0] || (r[0] = (...e) => B($).onClick && B($).onClick(...e)),
|
|
135
|
-
onMousedown: r[1] || (r[1] = (...e) => B($).onMousedown && B($).onMousedown(...e)),
|
|
136
|
-
onMouseup: r[2] || (r[2] = (...e) => B($).onMouseup && B($).onMouseup(...e))
|
|
137
|
-
}, [E(B(u), {
|
|
138
|
-
loop: "",
|
|
139
|
-
trapped: B(m),
|
|
140
|
-
"focus-start-el": "container",
|
|
141
|
-
onFocusAfterTrapped: B(q),
|
|
142
|
-
onFocusAfterReleased: B(J),
|
|
143
|
-
onFocusoutPrevented: B(X),
|
|
144
|
-
onReleaseRequested: B(Y)
|
|
145
|
-
}, {
|
|
146
|
-
default: G(() => [B(O) ? (P(), x(ne, j({
|
|
147
|
-
key: 0,
|
|
148
|
-
ref_key: "dialogContentRef",
|
|
149
|
-
ref: p
|
|
150
|
-
}, e.$attrs, {
|
|
151
|
-
center: t.center,
|
|
152
|
-
"align-center": B(R),
|
|
153
|
-
"close-icon": t.closeIcon,
|
|
154
|
-
draggable: B(L),
|
|
155
|
-
overflow: B(z),
|
|
156
|
-
fullscreen: t.fullscreen,
|
|
157
|
-
"header-class": t.headerClass,
|
|
158
|
-
"body-class": t.bodyClass,
|
|
159
|
-
"footer-class": t.footerClass,
|
|
160
|
-
"show-close": t.showClose,
|
|
161
|
-
title: t.title,
|
|
162
|
-
"aria-level": t.headerAriaLevel,
|
|
163
|
-
onClose: B(U),
|
|
164
|
-
onMousedown: B(Z)
|
|
165
|
-
}), T({
|
|
166
|
-
header: G(() => [e.$slots.title ? I(e.$slots, "title", { key: 1 }) : I(e.$slots, "header", {
|
|
167
|
-
key: 0,
|
|
168
|
-
close: B(U),
|
|
169
|
-
titleId: B(g),
|
|
170
|
-
titleClass: B(l).e("title")
|
|
171
|
-
})]),
|
|
172
|
-
default: G(() => [I(e.$slots, "default")]),
|
|
173
|
-
_: 2
|
|
174
|
-
}, [e.$slots.footer ? {
|
|
175
|
-
name: "footer",
|
|
176
|
-
fn: G(() => [I(e.$slots, "footer")]),
|
|
177
|
-
key: "0"
|
|
178
|
-
} : void 0]), 1040, [
|
|
179
|
-
"center",
|
|
180
|
-
"align-center",
|
|
181
|
-
"close-icon",
|
|
182
|
-
"draggable",
|
|
183
|
-
"overflow",
|
|
184
|
-
"fullscreen",
|
|
185
|
-
"header-class",
|
|
186
|
-
"body-class",
|
|
187
|
-
"footer-class",
|
|
188
|
-
"show-close",
|
|
189
|
-
"title",
|
|
190
|
-
"aria-level",
|
|
191
|
-
"onClose",
|
|
192
|
-
"onMousedown"
|
|
193
|
-
])) : S("v-if", !0)]),
|
|
194
|
-
_: 3
|
|
195
|
-
}, 8, [
|
|
196
|
-
"trapped",
|
|
197
|
-
"onFocusAfterTrapped",
|
|
198
|
-
"onFocusAfterReleased",
|
|
199
|
-
"onFocusoutPrevented",
|
|
200
|
-
"onReleaseRequested"
|
|
201
|
-
])], 46, re)]),
|
|
202
|
-
_: 3
|
|
203
|
-
}, 8, [
|
|
204
|
-
"mask",
|
|
205
|
-
"overlay-class",
|
|
206
|
-
"z-index"
|
|
207
|
-
]), [[W, B(m)]])]),
|
|
208
|
-
_: 3
|
|
209
|
-
}, 16)]),
|
|
210
|
-
_: 3
|
|
211
|
-
}, 8, ["to", "disabled"]));
|
|
212
|
-
}
|
|
213
|
-
})), Q = {
|
|
214
|
-
modelValue: {
|
|
215
|
-
type: Boolean,
|
|
216
|
-
default: !1
|
|
217
|
-
},
|
|
218
|
-
title: {
|
|
219
|
-
type: String,
|
|
220
|
-
default: ""
|
|
221
|
-
},
|
|
222
|
-
width: [String, Number],
|
|
223
|
-
fullscreen: {
|
|
224
|
-
type: Boolean,
|
|
225
|
-
default: !1
|
|
226
|
-
},
|
|
227
|
-
top: {
|
|
228
|
-
type: String,
|
|
229
|
-
default: ""
|
|
230
|
-
},
|
|
231
|
-
modal: {
|
|
232
|
-
type: Boolean,
|
|
233
|
-
default: !0
|
|
234
|
-
},
|
|
235
|
-
modalPenetrable: {
|
|
236
|
-
type: Boolean,
|
|
237
|
-
default: !1
|
|
238
|
-
},
|
|
239
|
-
modalClass: String,
|
|
240
|
-
headerClass: String,
|
|
241
|
-
bodyClass: String,
|
|
242
|
-
footerClass: String,
|
|
243
|
-
appendToBody: {
|
|
244
|
-
type: Boolean,
|
|
245
|
-
default: !0
|
|
246
|
-
},
|
|
247
|
-
appendTo: [String, Object],
|
|
248
|
-
lockScroll: {
|
|
249
|
-
type: Boolean,
|
|
250
|
-
default: !0
|
|
251
|
-
},
|
|
252
|
-
openDelay: {
|
|
253
|
-
type: Number,
|
|
254
|
-
default: 0
|
|
255
|
-
},
|
|
256
|
-
closeDelay: {
|
|
257
|
-
type: Number,
|
|
258
|
-
default: 0
|
|
259
|
-
},
|
|
260
|
-
closeOnClickModal: { type: Boolean },
|
|
261
|
-
closeOnPressEscape: {
|
|
262
|
-
type: Boolean,
|
|
263
|
-
default: !0
|
|
264
|
-
},
|
|
265
|
-
showClose: {
|
|
266
|
-
type: Boolean,
|
|
267
|
-
default: !0
|
|
268
|
-
},
|
|
269
|
-
beforeClose: Function,
|
|
270
|
-
draggable: {
|
|
271
|
-
type: Boolean,
|
|
272
|
-
default: !0
|
|
273
|
-
},
|
|
274
|
-
overflow: {
|
|
275
|
-
type: Boolean,
|
|
276
|
-
default: !1
|
|
277
|
-
},
|
|
278
|
-
center: {
|
|
279
|
-
type: Boolean,
|
|
280
|
-
default: !1
|
|
281
|
-
},
|
|
282
|
-
alignCenter: {
|
|
283
|
-
type: Boolean,
|
|
284
|
-
default: !1
|
|
285
|
-
},
|
|
286
|
-
destroyOnClose: {
|
|
287
|
-
type: Boolean,
|
|
288
|
-
default: !1
|
|
289
|
-
},
|
|
290
|
-
closeIcon: [String, Object],
|
|
291
|
-
zIndex: Number,
|
|
292
|
-
headerAriaLevel: {
|
|
293
|
-
type: String,
|
|
294
|
-
default: "2"
|
|
295
|
-
},
|
|
296
|
-
transition: [String, Object],
|
|
297
|
-
customClass: {
|
|
298
|
-
type: String,
|
|
299
|
-
default: ""
|
|
300
|
-
},
|
|
301
|
-
height: String,
|
|
302
|
-
embed: Boolean,
|
|
303
|
-
showFullscreen: Boolean,
|
|
304
|
-
showFullScreen: Boolean,
|
|
305
|
-
bodyPadding: {
|
|
306
|
-
type: Boolean,
|
|
307
|
-
default: !0
|
|
308
|
-
}
|
|
309
|
-
}, $ = {
|
|
310
|
-
embed: !0,
|
|
311
|
-
height: !0,
|
|
312
|
-
showFullscreen: !0,
|
|
313
|
-
showFullScreen: !0,
|
|
314
|
-
fullscreen: !0,
|
|
315
|
-
showClose: !0,
|
|
316
|
-
bodyPadding: !0
|
|
317
|
-
}, ie = (e) => $[e] !== !0, ae = { class: "dialog-title" }, oe = { class: "dialog-header-buttons" }, se = /* @__PURE__ */ Object.assign({
|
|
318
|
-
name: "ElementDialog",
|
|
319
|
-
inheritAttrs: !1
|
|
320
|
-
}, {
|
|
321
|
-
__name: "ElementDialog",
|
|
322
|
-
props: /* @__PURE__ */ A({ ...Q }, {
|
|
323
|
-
modelValue: {
|
|
324
|
-
type: Boolean,
|
|
325
|
-
default: !1
|
|
326
|
-
},
|
|
327
|
-
modelModifiers: {}
|
|
328
|
-
}),
|
|
329
|
-
emits: /* @__PURE__ */ A({ "toggle-fullscreen": null }, ["update:modelValue"]),
|
|
330
|
-
setup(e, { expose: t, emit: n }) {
|
|
331
|
-
let r = V(e, "modelValue"), i = e, a = n, { autoBindProps: o, listeners: s } = f(i, {
|
|
332
|
-
predicate: ie,
|
|
333
|
-
removeOn: !0
|
|
334
|
-
}), c = U("dialog"), l = F(i.fullscreen), u = () => {
|
|
335
|
-
l.value = !l.value, a("toggle-fullscreen", l.value);
|
|
336
|
-
}, d = b(() => l.value ? "100%" : i.height), p = O(), m = () => {
|
|
337
|
-
i.embed ? (p.parent.emit("update:visible", !1), p.parent.emit("update:modelValue", !1)) : c.value.handleClose();
|
|
338
|
-
};
|
|
339
|
-
return t({
|
|
340
|
-
close: m,
|
|
341
|
-
hide: m
|
|
342
|
-
}), (e, t) => {
|
|
343
|
-
let n = Z;
|
|
344
|
-
return P(), x(n, j({
|
|
345
|
-
ref: "dialog",
|
|
346
|
-
modelValue: r.value,
|
|
347
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value = e)
|
|
348
|
-
}, B(o), {
|
|
349
|
-
class: e.$attrs.class,
|
|
350
|
-
"show-close": !1,
|
|
351
|
-
fullscreen: B(l),
|
|
352
|
-
"body-class": `${e.bodyClass || ""}${e.bodyPadding ? "" : " no-padding"}`,
|
|
353
|
-
style: { "--dialog-body-height": B(d) }
|
|
354
|
-
}, z(B(s))), T({
|
|
355
|
-
header: G(() => [S(" @slot 对话框标题的内容;会替换标题部分,但会移除关闭按钮 "), I(e.$slots, "header", {}, () => [w("div", ae, R(e.title), 1), w("div", oe, [e.showFullscreen || e.showFullScreen ? (P(), C("i", {
|
|
356
|
-
key: 0,
|
|
357
|
-
class: M(["dialog-header-button", {
|
|
358
|
-
"el-icon-full-screen": !e.fullscreen,
|
|
359
|
-
"el-icon-copy-document": e.fullscreen
|
|
360
|
-
}]),
|
|
361
|
-
onClick: K(u, ["stop"])
|
|
362
|
-
}, null, 2)) : S("v-if", !0), e.showClose ? (P(), C("i", {
|
|
363
|
-
key: 1,
|
|
364
|
-
class: "dialog-header-button el-icon-close",
|
|
365
|
-
onClick: K(m, ["stop"])
|
|
366
|
-
})) : S("v-if", !0)])])]),
|
|
367
|
-
default: G(() => [S(" @slot 对话框的默认内容 "), I(e.$slots, "default")]),
|
|
368
|
-
_: 2
|
|
369
|
-
}, [e.$slots.footer ? {
|
|
370
|
-
name: "footer",
|
|
371
|
-
fn: G(() => [S(" @slot Dialog 按钮操作区的内容 "), I(e.$slots, "footer", { close: m })]),
|
|
372
|
-
key: "0"
|
|
373
|
-
} : void 0]), 1040, [
|
|
374
|
-
"modelValue",
|
|
375
|
-
"class",
|
|
376
|
-
"fullscreen",
|
|
377
|
-
"body-class",
|
|
378
|
-
"style"
|
|
379
|
-
]);
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
});
|
|
383
|
-
//#endregion
|
|
384
|
-
export { se as t };
|
package/chunks/CtBIjjQc2.mjs
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import "./CjjJimnU.mjs";
|
|
2
|
-
import { t as e } from "./Cb_S4x_i2.mjs";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { allProps as t, predicate as n } from "../props/cascader.mjs";
|
|
5
|
-
import { n as r, o as i } from "./CUMFv5zJ2.mjs";
|
|
6
|
-
import { useDictionary as a } from "../hook/useDictionary.mjs";
|
|
7
|
-
import { computed as o, createVNode as s, mergeProps as c } from "vue";
|
|
8
|
-
import { findTreeChildren as l, isArray as u, isString as d, setParent as f } from "@web-utils/core";
|
|
9
|
-
import { cloneDeep as p } from "@web-utils/integrations/lodash";
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/components/form/FormCascader.vue
|
|
12
|
-
var m = {
|
|
13
|
-
name: "FormCascader",
|
|
14
|
-
props: { ...t },
|
|
15
|
-
emits: { ...r },
|
|
16
|
-
setup(t, { emit: r, slots: m, attrs: h }) {
|
|
17
|
-
let { emitInput: g, render: _, placeholder: v, disabled: y, listeners: b, inputProps: x } = i(t, {
|
|
18
|
-
emit: r,
|
|
19
|
-
slots: m,
|
|
20
|
-
attrs: h,
|
|
21
|
-
predicate: n
|
|
22
|
-
}), { dictItems: S } = a(t), C = o(() => {
|
|
23
|
-
if (t.dictType) return S.value;
|
|
24
|
-
if (t.options) {
|
|
25
|
-
let e = p(t.options);
|
|
26
|
-
return t.last && f(e), e;
|
|
27
|
-
} else return [];
|
|
28
|
-
}), w = o(() => {
|
|
29
|
-
if (t.join) return u(t.modelValue) ? t.modelValue : d(t.modelValue) ? t.modelValue.split(t.separator) : [];
|
|
30
|
-
if (t.last) {
|
|
31
|
-
let [e] = l(C.value, (e) => e[t.valueKey] === t.modelValue), n = [];
|
|
32
|
-
for (; e;) n.push(e[t.valueKey]), e = e.parent;
|
|
33
|
-
return n.reverse();
|
|
34
|
-
}
|
|
35
|
-
return t.modelValue;
|
|
36
|
-
}), T = (e) => {
|
|
37
|
-
t.join && u(e) ? g(e.join(t.separator)) : g(t.last ? e[e.length - 1] : e);
|
|
38
|
-
};
|
|
39
|
-
return () => _({ vNodes: s(e, c(b.value, x.value, {
|
|
40
|
-
style: "width: 100%",
|
|
41
|
-
class: { "is-readonly": t.readonly },
|
|
42
|
-
"model-value": w.value,
|
|
43
|
-
options: C.value,
|
|
44
|
-
props: {
|
|
45
|
-
checkStrictly: t.checkStrictly,
|
|
46
|
-
label: t.labelKey,
|
|
47
|
-
value: t.valueKey,
|
|
48
|
-
emitPath: t.emitPath,
|
|
49
|
-
expandTrigger: "hover"
|
|
50
|
-
},
|
|
51
|
-
disabled: y.value,
|
|
52
|
-
placeholder: v.value,
|
|
53
|
-
"onUpdate:modelValue": T
|
|
54
|
-
}), null) });
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
//#endregion
|
|
58
|
-
export { m as t };
|