bp-aicc-editor 1.2.521 → 1.2.523

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.
Files changed (112) hide show
  1. package/lib/{ScreenPreview-CV95NWOd.js → ScreenPreview-yUHo60be.js} +51 -105
  2. package/lib/atlas-BMjKIOwk.js +3891 -0
  3. package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
  4. package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
  5. package/lib/config-provider-Bui8m4GV.js +62 -0
  6. package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
  7. package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
  8. package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
  9. package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
  10. package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
  11. package/lib/dropdown-CWvnuJsO.js +105 -0
  12. package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
  13. package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
  14. package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
  15. package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
  16. package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
  17. package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
  18. package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
  19. package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
  20. package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
  21. package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
  22. package/lib/index-BBMItxtW.js +619 -0
  23. package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
  24. package/lib/index-BMn8EzMD.js +1027 -0
  25. package/lib/index-BNTW8F-9.js +322 -0
  26. package/lib/index-BTI518b1.js +69 -0
  27. package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
  28. package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
  29. package/lib/index-BfI55Ioc.js +404 -0
  30. package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
  31. package/lib/index-C35Yp3i8.js +545 -0
  32. package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
  33. package/lib/index-CC28_8Jl.js +567 -0
  34. package/lib/index-CDhmvVt8.js +338 -0
  35. package/lib/index-CDx0y0fp.js +144 -0
  36. package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
  37. package/lib/index-CNCgXPiO.js +235 -0
  38. package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
  39. package/lib/index-CW6ljdNf.js +1582 -0
  40. package/lib/index-C_WopEui.js +513 -0
  41. package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
  42. package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
  43. package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
  44. package/lib/index-CmzuNM9v.js +32 -0
  45. package/lib/index-CrxcAFt8.js +5343 -0
  46. package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
  47. package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
  48. package/lib/index-D6J7coU0.js +129 -0
  49. package/lib/index-DDHxrdAo.js +1773 -0
  50. package/lib/index-DDL-yqq0.js +1401 -0
  51. package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
  52. package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
  53. package/lib/index-DPOanmXI.js +887 -0
  54. package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
  55. package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
  56. package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
  57. package/lib/index-DVyjilLy.js +51 -0
  58. package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
  59. package/lib/index-Dj2qCwPD.js +178 -0
  60. package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
  61. package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
  62. package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
  63. package/lib/index-NqqOvc6V.js +169 -0
  64. package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
  65. package/lib/index-bOWjoplU.js +448 -0
  66. package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
  67. package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
  68. package/lib/index.es.js +4 -4
  69. package/lib/index.umd.js +46 -40
  70. package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
  71. package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
  72. package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
  73. package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
  74. package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
  75. package/lib/page-config-CHP07Ndf.js +253 -0
  76. package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
  77. package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
  78. package/lib/raf-CJog_tcv.js +6 -0
  79. package/lib/refs-DZMysoBI.js +8 -0
  80. package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
  81. package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
  82. package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
  83. package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
  84. package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
  85. package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
  86. package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
  87. package/lib/scroll-CWfl60Tu.js +58 -0
  88. package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
  89. package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
  90. package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
  91. package/lib/strings-BvUQWzDM.js +6 -0
  92. package/lib/style.css +1 -1
  93. package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
  94. package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
  95. package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
  96. package/lib/use-global-config-D_yoqf3Q.js +90 -0
  97. package/lib/validator-BOXH2OMA.js +5 -0
  98. package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
  99. package/package.json +1 -1
  100. package/lib/atlas-DsmLq2V0.js +0 -38
  101. package/lib/el-overlay-BK0_UIU6.js +0 -704
  102. package/lib/index-B1yAU2Cb.js +0 -390
  103. package/lib/index-BCFXuK7k.js +0 -68
  104. package/lib/index-BD4Jwo8Z.js +0 -449
  105. package/lib/index-BMWqf88L.js +0 -356
  106. package/lib/index-Belsn8kt.js +0 -107
  107. package/lib/index-CIADz1i0.js +0 -8494
  108. package/lib/index-DKTrbqcA.js +0 -56
  109. package/lib/index-Ge_d2xqD.js +0 -127
  110. package/lib/page-config-Cmsi8Vpr.js +0 -582
  111. package/lib/strings-_mHAdgA4.js +0 -6
  112. package/lib/use-global-config-CflpFoxU.js +0 -115
@@ -1,4 +1,4 @@
1
- import { bw as t } from "./index-CZJriuFt.js";
1
+ import { bW as t } from "./index-B8QqTLfg.js";
2
2
  class i extends t {
3
3
  config = {
4
4
  contentText: "按钮",
@@ -1,4 +1,4 @@
1
- import { a as s, bb as t } from "./index-CZJriuFt.js";
1
+ import { a as s, bg as t } from "./index-B8QqTLfg.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { nextTick as o } from "vue";
4
4
  const l = a("cache", {
@@ -0,0 +1,62 @@
1
+ import { defineComponent as p, watch as s, renderSlot as l } from "vue";
2
+ import { p as u } from "./use-global-config-D_yoqf3Q.js";
3
+ import { u as m } from "./index-CmzuNM9v.js";
4
+ import { e as d, f as e, a6 as c } from "./index-B8QqTLfg.js";
5
+ const f = d({
6
+ a11y: {
7
+ type: Boolean,
8
+ default: !0
9
+ },
10
+ locale: {
11
+ type: e(Object)
12
+ },
13
+ size: c,
14
+ button: {
15
+ type: e(Object)
16
+ },
17
+ card: {
18
+ type: e(Object)
19
+ },
20
+ dialog: {
21
+ type: e(Object)
22
+ },
23
+ link: {
24
+ type: e(Object)
25
+ },
26
+ experimentalFeatures: {
27
+ type: e(Object)
28
+ },
29
+ keyboardNavigation: {
30
+ type: Boolean,
31
+ default: !0
32
+ },
33
+ message: {
34
+ type: e(Object)
35
+ },
36
+ zIndex: Number,
37
+ namespace: {
38
+ type: String,
39
+ default: "el"
40
+ },
41
+ ...m
42
+ }), g = {
43
+ placement: "top"
44
+ }, O = p({
45
+ name: "ElConfigProvider",
46
+ props: f,
47
+ setup(o, { slots: i }) {
48
+ const t = u(o);
49
+ return s(
50
+ () => o.message,
51
+ (a) => {
52
+ var r, n;
53
+ Object.assign(g, (n = (r = t?.value) == null ? void 0 : r.message) != null ? n : {}, a ?? {});
54
+ },
55
+ { immediate: !0, deep: !0 }
56
+ ), () => l(i, "default", { config: t?.value });
57
+ }
58
+ });
59
+ export {
60
+ O as C,
61
+ g as m
62
+ };
@@ -1,4 +1,4 @@
1
- import { bw as o } from "./index-CZJriuFt.js";
1
+ import { bW as o } from "./index-B8QqTLfg.js";
2
2
  class t extends o {
3
3
  config = {
4
4
  title: "容器组1",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as e, createElementVNode as c } from "vue";
2
- import { _ as n } from "./index-CZJriuFt.js";
2
+ import { _ as n } from "./index-B8QqTLfg.js";
3
3
  const s = {}, p = {
4
4
  t: "1640065251938",
5
5
  class: "icon",
@@ -1,5 +1,5 @@
1
1
  import { defineStore as m } from "pinia";
2
- import { a as r, u as a, b6 as b, aR as d, bv as h } from "./index-CZJriuFt.js";
2
+ import { a as r, u as a, bb as d, ae as b, bS as h } from "./index-B8QqTLfg.js";
3
3
  const p = m("blueprint", {
4
4
  state: () => ({
5
5
  flows: [],
@@ -39,38 +39,38 @@ function l(e) {
39
39
  }
40
40
  async function x(e, s) {
41
41
  const n = /* @__PURE__ */ Object.assign({
42
- "./components-basic/button-base/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bH),
43
- "./components-basic/button-base/schema.ts": () => import("./schema-BsnIOGBI.js"),
44
- "./components-basic/button-base/src/button-base.ts": () => import("./button-base-DHNVBrQ9.js"),
45
- "./components-basic/container-group/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bI),
42
+ "./components-basic/button-base/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.c4),
43
+ "./components-basic/button-base/schema.ts": () => import("./schema-BaFWGeFt.js"),
44
+ "./components-basic/button-base/src/button-base.ts": () => import("./button-base-CXl1z-_m.js"),
45
+ "./components-basic/container-group/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.c5),
46
46
  "./components-basic/container-group/schema.ts": () => import("./schema-mKILiNny.js"),
47
- "./components-basic/container-group/src/container-group.ts": () => import("./container-group-DqAcKEBy.js"),
48
- "./components-basic/divider/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bJ),
47
+ "./components-basic/container-group/src/container-group.ts": () => import("./container-group-D6Extorz.js"),
48
+ "./components-basic/divider/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.c6),
49
49
  "./components-basic/divider/schema.ts": () => import("./schema-xTyU9nfp.js"),
50
- "./components-basic/divider/src/divider.ts": () => import("./divider-BazBGRgV.js"),
51
- "./components-basic/image/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bK),
52
- "./components-basic/image/schema.ts": () => import("./schema-BflqDw-a.js"),
53
- "./components-basic/image/src/image.ts": () => import("./image-C5ZAY3yt.js"),
54
- "./components-basic/multiline-text/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bL),
50
+ "./components-basic/divider/src/divider.ts": () => import("./divider-B3K_URZc.js"),
51
+ "./components-basic/image/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.c7),
52
+ "./components-basic/image/schema.ts": () => import("./schema-iosjRxCC.js"),
53
+ "./components-basic/image/src/image.ts": () => import("./image-Cu7JTK9-.js"),
54
+ "./components-basic/multiline-text/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.c8),
55
55
  "./components-basic/multiline-text/schema.ts": () => import("./schema-BYHwNOUT.js"),
56
- "./components-basic/multiline-text/src/multiline-text.ts": () => import("./multiline-text-D89kYrA2.js"),
57
- "./components-basic/navigation/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bM),
58
- "./components-basic/navigation/schema.ts": () => import("./schema-_APJMUW3.js"),
59
- "./components-basic/navigation/src/navigation.ts": () => import("./navigation-YAGxZ0OT.js"),
60
- "./components-basic/slider/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bO),
61
- "./components-basic/slider/schema.ts": () => import("./schema-qKI1F8Bt.js"),
62
- "./components-basic/slider/src/slider.ts": () => import("./index-CZJriuFt.js").then((t) => t.bN),
63
- "./components-basic/stepper/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bP),
64
- "./components-basic/stepper/schema.ts": () => import("./schema-Bo30dbBx.js"),
65
- "./components-basic/stepper/src/stepper.ts": () => import("./stepper-D5EFeJWG.js"),
66
- "./components-basic/switch/index.ts": () => import("./index-CZJriuFt.js").then((t) => t.bQ),
67
- "./components-basic/switch/schema.ts": () => import("./schema-BavJE-SK.js"),
68
- "./components-basic/switch/src/switch.ts": () => import("./switch-B0dR4LM_.js")
56
+ "./components-basic/multiline-text/src/multiline-text.ts": () => import("./multiline-text-CPJdCWJ7.js"),
57
+ "./components-basic/navigation/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.c9),
58
+ "./components-basic/navigation/schema.ts": () => import("./schema-CUR-UK2S.js"),
59
+ "./components-basic/navigation/src/navigation.ts": () => import("./navigation-ZLJaBOUj.js"),
60
+ "./components-basic/slider/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.cb),
61
+ "./components-basic/slider/schema.ts": () => import("./schema-geZfujv8.js"),
62
+ "./components-basic/slider/src/slider.ts": () => import("./index-B8QqTLfg.js").then((t) => t.ca),
63
+ "./components-basic/stepper/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.cc),
64
+ "./components-basic/stepper/schema.ts": () => import("./schema-tuPllxn6.js"),
65
+ "./components-basic/stepper/src/stepper.ts": () => import("./stepper-Bud1Jppr.js"),
66
+ "./components-basic/switch/index.ts": () => import("./index-B8QqTLfg.js").then((t) => t.cd),
67
+ "./components-basic/switch/schema.ts": () => import("./schema-WUk7XVq7.js"),
68
+ "./components-basic/switch/src/switch.ts": () => import("./switch-VlaUmSpJ.js")
69
69
  });
70
- if (a(), s?.type === b.layer)
70
+ if (a(), s?.type === d.layer)
71
71
  return r().createGroup({
72
72
  ...s,
73
- id: d("Group")
73
+ id: b("Group")
74
74
  // screenId: editorStore.screen.id,
75
75
  }), null;
76
76
  const o = l(h(e.substring(1))), c = Object.keys(n);
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
- import { _ as n } from "./index-CZJriuFt.js";
2
+ import { _ as n } from "./index-B8QqTLfg.js";
3
3
  const r = {}, s = {
4
4
  t: "1640065018551",
5
5
  class: "icon",
@@ -1,4 +1,4 @@
1
- import { bw as t } from "./index-CZJriuFt.js";
1
+ import { bW as t } from "./index-B8QqTLfg.js";
2
2
  class i extends t {
3
3
  config = {
4
4
  direction: "horizontal",
@@ -0,0 +1,105 @@
1
+ import { e as p, f as e, Y as a, b0 as t, bC as n, bv as r, N as o } from "./index-B8QqTLfg.js";
2
+ const l = p({
3
+ trigger: {
4
+ ...r.trigger,
5
+ type: e([
6
+ String,
7
+ Array
8
+ ])
9
+ },
10
+ triggerKeys: {
11
+ type: e(Array),
12
+ default: () => [
13
+ o.enter,
14
+ o.numpadEnter,
15
+ o.space,
16
+ o.down
17
+ ]
18
+ },
19
+ virtualTriggering: r.virtualTriggering,
20
+ virtualRef: r.virtualRef,
21
+ effect: {
22
+ ...t.effect,
23
+ default: "light"
24
+ },
25
+ type: {
26
+ type: e(String)
27
+ },
28
+ placement: {
29
+ type: e(String),
30
+ default: "bottom"
31
+ },
32
+ popperOptions: {
33
+ type: e(Object),
34
+ default: () => ({})
35
+ },
36
+ id: String,
37
+ size: {
38
+ type: String,
39
+ default: ""
40
+ },
41
+ splitButton: Boolean,
42
+ hideOnClick: {
43
+ type: Boolean,
44
+ default: !0
45
+ },
46
+ loop: {
47
+ type: Boolean,
48
+ default: !0
49
+ },
50
+ showArrow: {
51
+ type: Boolean,
52
+ default: !0
53
+ },
54
+ showTimeout: {
55
+ type: Number,
56
+ default: 150
57
+ },
58
+ hideTimeout: {
59
+ type: Number,
60
+ default: 150
61
+ },
62
+ tabindex: {
63
+ type: e([Number, String]),
64
+ default: 0
65
+ },
66
+ maxHeight: {
67
+ type: e([Number, String]),
68
+ default: ""
69
+ },
70
+ popperClass: t.popperClass,
71
+ popperStyle: t.popperStyle,
72
+ disabled: Boolean,
73
+ role: {
74
+ type: String,
75
+ values: n,
76
+ default: "menu"
77
+ },
78
+ buttonProps: {
79
+ type: e(Object)
80
+ },
81
+ teleported: t.teleported,
82
+ appendTo: t.appendTo,
83
+ persistent: {
84
+ type: Boolean,
85
+ default: !0
86
+ }
87
+ }), d = p({
88
+ command: {
89
+ type: [Object, String, Number],
90
+ default: () => ({})
91
+ },
92
+ disabled: Boolean,
93
+ divided: Boolean,
94
+ textValue: String,
95
+ icon: {
96
+ type: a
97
+ }
98
+ }), u = p({
99
+ onKeydown: { type: e(Function) }
100
+ });
101
+ export {
102
+ d as a,
103
+ u as b,
104
+ l as d
105
+ };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as o, createElementVNode as c } from "vue";
2
- import { _ as s } from "./index-CZJriuFt.js";
2
+ import { _ as s } from "./index-B8QqTLfg.js";
3
3
  const n = {}, r = {
4
4
  t: "1640066119610",
5
5
  class: "icon",
@@ -1,10 +1,10 @@
1
- import { ref as L, computed as _, defineComponent as qe, reactive as pe, watch as re, provide as De, toRefs as ze, createElementBlock as Ue, openBlock as ve, normalizeClass as k, renderSlot as ee, inject as ne, onMounted as ke, onBeforeUnmount as Ke, onUpdated as lt, createVNode as ie, Fragment as ut, nextTick as Ge, useSlots as dt, unref as T, createElementVNode as Se, withCtx as ue, createBlock as ct, createCommentVNode as je, resolveDynamicComponent as pt, normalizeStyle as Re, createTextVNode as vt, toDisplayString as Ne, TransitionGroup as mt } from "vue";
2
- import { K as ae, a5 as Ve, j as Je, b as xe, d as se, H as Ze, aa as me, F as K, k as Ye, I as He, n as Oe, bk as Ee, ak as Qe, bl as ge, y as gt, D as ht, M as yt, bm as bt, o as We, bn as Ie, w as wt, aw as Ft } from "./index-CZJriuFt.js";
3
- import { g as de } from "./use-global-config-CflpFoxU.js";
1
+ import { ref as L, computed as _, defineComponent as qe, reactive as pe, watch as re, provide as De, toRefs as ze, createElementBlock as Ue, openBlock as ve, normalizeClass as k, renderSlot as ee, inject as ne, onMounted as ke, onBeforeUnmount as Ze, onUpdated as lt, createVNode as ie, Fragment as ut, nextTick as Ge, useSlots as dt, unref as T, createElementVNode as Se, withCtx as ue, createBlock as ct, createCommentVNode as je, resolveDynamicComponent as pt, normalizeStyle as Re, createTextVNode as vt, toDisplayString as Ve, TransitionGroup as mt } from "vue";
2
+ import { R as ae, V as Ne, ak as Je, e as xe, f as se, Z as Ke, ai as me, a5 as Z, g as Ye, at as He, h as Oe, bD as Ee, az as Qe, bk as ge, al as gt, b6 as ht, r as yt, bE as bt, v as We, bF as Ie, w as wt, an as Ft } from "./index-B8QqTLfg.js";
3
+ import { g as de } from "./use-global-config-D_yoqf3Q.js";
4
4
  const qt = xe({
5
5
  size: {
6
6
  type: String,
7
- values: Ze
7
+ values: Ke
8
8
  },
9
9
  disabled: Boolean
10
10
  }), xt = xe({
@@ -49,7 +49,7 @@ const qt = xe({
49
49
  default: !0
50
50
  }
51
51
  }), Ot = {
52
- validate: (i, e, t) => (ae(i) || Ve(i)) && Je(e) && Ve(t)
52
+ validate: (i, e, t) => (ae(i) || Ne(i)) && Je(e) && Ne(t)
53
53
  }, Et = "ElForm";
54
54
  function _t() {
55
55
  const i = L([]), e = _(() => {
@@ -60,7 +60,7 @@ function _t() {
60
60
  });
61
61
  function t(s) {
62
62
  const a = i.value.indexOf(s);
63
- return a === -1 && e.value === "0" && K(Et, `unexpected width ${s}`), a;
63
+ return a === -1 && e.value === "0" && Z(Et, `unexpected width ${s}`), a;
64
64
  }
65
65
  function r(s, a) {
66
66
  if (s && a) {
@@ -107,7 +107,7 @@ const H = (i, e) => {
107
107
  c.prop && a.splice(a.indexOf(c), 1);
108
108
  }, O = (c = []) => {
109
109
  if (!r.model) {
110
- K(Q, "model is required for resetFields to work.");
110
+ Z(Q, "model is required for resetFields to work.");
111
111
  return;
112
112
  }
113
113
  H(a, c).forEach((m) => m.resetField());
@@ -115,12 +115,12 @@ const H = (i, e) => {
115
115
  H(a, c).forEach((m) => m.clearValidate());
116
116
  }, d = _(() => {
117
117
  const c = !!r.model;
118
- return c || K(Q, "model is required for validate to work."), c;
118
+ return c || Z(Q, "model is required for validate to work."), c;
119
119
  }), y = (c) => {
120
120
  if (a.length === 0)
121
121
  return [];
122
122
  const m = H(a, c);
123
- return m.length ? m : (K(Q, "please pass correct props!"), []);
123
+ return m.length ? m : (Z(Q, "please pass correct props!"), []);
124
124
  }, l = async (c) => v(void 0, c), R = async (c = []) => {
125
125
  if (!d.value)
126
126
  return !1;
@@ -131,10 +131,10 @@ const H = (i, e) => {
131
131
  for (const E of m)
132
132
  try {
133
133
  await E.validate(""), E.validateState === "error" && !E.error && E.resetField();
134
- } catch (N) {
134
+ } catch (V) {
135
135
  x = {
136
136
  ...x,
137
- ...N
137
+ ...V
138
138
  };
139
139
  }
140
140
  return Object.keys(x).length === 0 ? !0 : Promise.reject(x);
@@ -143,10 +143,10 @@ const H = (i, e) => {
143
143
  const E = !Qe(m);
144
144
  try {
145
145
  return x = await R(c), x === !0 && await m?.(x), x;
146
- } catch (N) {
147
- if (N instanceof Error)
148
- throw N;
149
- const B = N;
146
+ } catch (V) {
147
+ if (V instanceof Error)
148
+ throw V;
149
+ const B = V;
150
150
  if (r.scrollToError && s.value) {
151
151
  const $ = s.value.querySelector(`.${f.b()}-item.is-error`);
152
152
  $?.scrollIntoView(r.scrollIntoViewOptions);
@@ -161,7 +161,7 @@ const H = (i, e) => {
161
161
  return re(
162
162
  () => r.rules,
163
163
  () => {
164
- r.validateOnRuleChange && l().catch((c) => K(c));
164
+ r.validateOnRuleChange && l().catch((c) => Z(c));
165
165
  },
166
166
  { deep: !0, flush: "post" }
167
167
  ), De(
@@ -211,17 +211,17 @@ function C() {
211
211
  }, C.apply(this, arguments);
212
212
  }
213
213
  function St(i, e) {
214
- i.prototype = Object.create(e.prototype), i.prototype.constructor = i, Z(i, e);
214
+ i.prototype = Object.create(e.prototype), i.prototype.constructor = i, K(i, e);
215
215
  }
216
216
  function he(i) {
217
217
  return he = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
218
218
  return t.__proto__ || Object.getPrototypeOf(t);
219
219
  }, he(i);
220
220
  }
221
- function Z(i, e) {
222
- return Z = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
221
+ function K(i, e) {
222
+ return K = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
223
223
  return r.__proto__ = n, r;
224
- }, Z(i, e);
224
+ }, K(i, e);
225
225
  }
226
226
  function jt() {
227
227
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
@@ -238,7 +238,7 @@ function te(i, e, t) {
238
238
  var o = [null];
239
239
  o.push.apply(o, s);
240
240
  var f = Function.bind.apply(n, o), F = new f();
241
- return a && Z(F, a.prototype), F;
241
+ return a && K(F, a.prototype), F;
242
242
  }, te.apply(null, arguments);
243
243
  }
244
244
  function Rt(i) {
@@ -264,10 +264,10 @@ function ye(i) {
264
264
  writable: !0,
265
265
  configurable: !0
266
266
  }
267
- }), Z(n, r);
267
+ }), K(n, r);
268
268
  }, ye(i);
269
269
  }
270
- var Nt = /%[sdj%]/g, Xe = function() {
270
+ var Vt = /%[sdj%]/g, Xe = function() {
271
271
  };
272
272
  typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (Xe = function(e, t) {
273
273
  typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && t.every(function(r) {
@@ -289,7 +289,7 @@ function W(i) {
289
289
  if (typeof i == "function")
290
290
  return i.apply(null, t);
291
291
  if (typeof i == "string") {
292
- var a = i.replace(Nt, function(o) {
292
+ var a = i.replace(Vt, function(o) {
293
293
  if (o === "%%")
294
294
  return "%";
295
295
  if (n >= s)
@@ -314,11 +314,11 @@ function W(i) {
314
314
  }
315
315
  return i;
316
316
  }
317
- function Vt(i) {
317
+ function Nt(i) {
318
318
  return i === "string" || i === "url" || i === "hex" || i === "email" || i === "date" || i === "pattern";
319
319
  }
320
320
  function A(i, e) {
321
- return !!(i == null || e === "array" && Array.isArray(i) && !i.length || Vt(e) && typeof i == "string" && !i);
321
+ return !!(i == null || e === "array" && Array.isArray(i) && !i.length || Nt(e) && typeof i == "string" && !i);
322
322
  }
323
323
  function Wt(i, e, t) {
324
324
  var r = [], n = 0, s = i.length;
@@ -528,7 +528,7 @@ var et = function(e, t, r, n, s, a) {
528
528
  g.required(e, t, n, a, s, "string"), A(t, "string") || (g.type(e, t, n, a, s), g.range(e, t, n, a, s), g.pattern(e, t, n, a, s), e.whitespace === !0 && g.whitespace(e, t, n, a, s));
529
529
  }
530
530
  r(a);
531
- }, Kt = function(e, t, r, n, s) {
531
+ }, Zt = function(e, t, r, n, s) {
532
532
  var a = [], o = e.required || !e.required && n.hasOwnProperty(e.field);
533
533
  if (o) {
534
534
  if (A(t) && !e.required)
@@ -552,7 +552,7 @@ var et = function(e, t, r, n, s, a) {
552
552
  g.required(e, t, n, a, s), t !== void 0 && g.type(e, t, n, a, s);
553
553
  }
554
554
  r(a);
555
- }, Zt = function(e, t, r, n, s) {
555
+ }, Kt = function(e, t, r, n, s) {
556
556
  var a = [], o = e.required || !e.required && n.hasOwnProperty(e.field);
557
557
  if (o) {
558
558
  if (A(t) && !e.required)
@@ -640,10 +640,10 @@ var et = function(e, t, r, n, s, a) {
640
640
  r(a);
641
641
  }, J = {
642
642
  string: kt,
643
- method: Kt,
643
+ method: Zt,
644
644
  number: Gt,
645
645
  boolean: Jt,
646
- regexp: Zt,
646
+ regexp: Kt,
647
647
  integer: Yt,
648
648
  float: Ht,
649
649
  array: Qt,
@@ -789,19 +789,19 @@ var Fe = we(), Y = /* @__PURE__ */ (function() {
789
789
  else {
790
790
  if (l.required && !d.value)
791
791
  return l.message !== void 0 ? E = [].concat(l.message).map(Le(l, o)) : f.error && (E = [f.error(l, W(f.messages.required, l.field))]), y(E);
792
- var N = {};
793
- l.defaultField && Object.keys(d.value).map(function(V) {
794
- N[V] = l.defaultField;
795
- }), N = C({}, N, d.rule.fields);
792
+ var V = {};
793
+ l.defaultField && Object.keys(d.value).map(function(N) {
794
+ V[N] = l.defaultField;
795
+ }), V = C({}, V, d.rule.fields);
796
796
  var B = {};
797
- Object.keys(N).forEach(function(V) {
798
- var I = N[V], oe = Array.isArray(I) ? I : [I];
799
- B[V] = oe.map(v.bind(null, V));
797
+ Object.keys(V).forEach(function(N) {
798
+ var I = V[N], oe = Array.isArray(I) ? I : [I];
799
+ B[N] = oe.map(v.bind(null, N));
800
800
  });
801
801
  var $ = new i(B);
802
- $.messages(f.messages), d.rule.options && (d.rule.options.messages = f.messages, d.rule.options.error = f.error), $.validate(d.value, d.rule.options || f, function(V) {
802
+ $.messages(f.messages), d.rule.options && (d.rule.options.messages = f.messages, d.rule.options.error = f.error), $.validate(d.value, d.rule.options || f, function(N) {
803
803
  var I = [];
804
- E && E.length && I.push.apply(I, E), V && V.length && I.push.apply(I, V), y(I.length ? I : null);
804
+ E && E.length && I.push.apply(I, E), N && N.length && I.push.apply(I, N), y(I.length ? I : null);
805
805
  });
806
806
  }
807
807
  }
@@ -886,7 +886,7 @@ const sr = [
886
886
  },
887
887
  size: {
888
888
  type: String,
889
- values: Ze
889
+ values: Ke
890
890
  }
891
891
  }), Ce = "ElLabelWrap";
892
892
  var fr = qe({
@@ -914,7 +914,7 @@ var fr = qe({
914
914
  }, F = () => f("update");
915
915
  return ke(() => {
916
916
  F();
917
- }), Ke(() => {
917
+ }), Ze(() => {
918
918
  f("remove");
919
919
  }), lt(() => F()), re(a, (p, h) => {
920
920
  i.updateAll && t?.registerLabelWidth(p, h);
@@ -987,11 +987,11 @@ const lr = ["role", "aria-labelledby"], ur = qe({
987
987
  ]), m = _(() => t.prop ? ae(t.prop) ? t.prop.join(".") : t.prop : ""), x = _(() => !!(t.label || r.label)), E = _(() => {
988
988
  var u;
989
989
  return (u = t.for) != null ? u : F.value.length === 1 ? F.value[0] : void 0;
990
- }), N = _(() => !E.value && x.value), B = !!s, $ = _(() => {
990
+ }), V = _(() => !E.value && x.value), B = !!s, $ = _(() => {
991
991
  const u = n?.model;
992
992
  if (!(!u || !t.prop))
993
993
  return de(u, t.prop).value;
994
- }), V = _(() => {
994
+ }), N = _(() => {
995
995
  const { required: u } = t, b = [];
996
996
  t.rules && b.push(...me(t.rules));
997
997
  const j = n?.rules;
@@ -1011,8 +1011,8 @@ const lr = ["role", "aria-labelledby"], ur = qe({
1011
1011
  b.push({ required: u });
1012
1012
  }
1013
1013
  return b;
1014
- }), I = _(() => V.value.length > 0), oe = (u) => V.value.filter((j) => !j.trigger || !u ? !0 : ae(j.trigger) ? j.trigger.includes(u) : j.trigger === u).map(({ trigger: j, ...S }) => S), rt = _(
1015
- () => V.value.some((u) => u.required)
1014
+ }), I = _(() => N.value.length > 0), oe = (u) => N.value.filter((j) => !j.trigger || !u ? !0 : ae(j.trigger) ? j.trigger.includes(u) : j.trigger === u).map(({ trigger: j, ...S }) => S), rt = _(
1015
+ () => N.value.some((u) => u.required)
1016
1016
  ), nt = _(
1017
1017
  () => {
1018
1018
  var u;
@@ -1075,7 +1075,7 @@ const lr = ["role", "aria-labelledby"], ur = qe({
1075
1075
  validateState: p,
1076
1076
  labelId: f,
1077
1077
  inputIds: F,
1078
- isGroup: N,
1078
+ isGroup: V,
1079
1079
  hasLabel: x,
1080
1080
  fieldValue: $,
1081
1081
  addInputId: ot,
@@ -1087,7 +1087,7 @@ const lr = ["role", "aria-labelledby"], ur = qe({
1087
1087
  });
1088
1088
  return De(ge, le), ke(() => {
1089
1089
  t.prop && (n?.addField(le), P = Ie($.value));
1090
- }), Ke(() => {
1090
+ }), Ze(() => {
1091
1091
  n?.removeField(le);
1092
1092
  }), e({
1093
1093
  size: a,
@@ -1102,8 +1102,8 @@ const lr = ["role", "aria-labelledby"], ur = qe({
1102
1102
  ref_key: "formItemRef",
1103
1103
  ref: O,
1104
1104
  class: k(v.value),
1105
- role: N.value ? "group" : void 0,
1106
- "aria-labelledby": N.value ? T(f) : void 0
1105
+ role: V.value ? "group" : void 0,
1106
+ "aria-labelledby": V.value ? T(f) : void 0
1107
1107
  }, [
1108
1108
  ie(T(fr), {
1109
1109
  "is-auto-width": l.value.width === "auto",
@@ -1120,7 +1120,7 @@ const lr = ["role", "aria-labelledby"], ur = qe({
1120
1120
  default: ue(() => [
1121
1121
  ee(u.$slots, "label", { label: _e.value }, () => [
1122
1122
  vt(
1123
- Ne(_e.value),
1123
+ Ve(_e.value),
1124
1124
  1
1125
1125
  )
1126
1126
  ])
@@ -1151,7 +1151,7 @@ const lr = ["role", "aria-labelledby"], ur = qe({
1151
1151
  {
1152
1152
  class: k(c.value)
1153
1153
  },
1154
- Ne(w.value),
1154
+ Ve(w.value),
1155
1155
  3
1156
1156
  )
1157
1157
  ]) : je("v-if", !0)
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, computed as a, createElementBlock as c, openBlock as i, normalizeClass as p, createBlock as f, createCommentVNode as t, renderSlot as m, unref as v, withCtx as w, resolveDynamicComponent as E } from "vue";
2
- import { b as _, i as B, k as S, j as k, n as $, E as L, w as P } from "./index-CZJriuFt.js";
3
- import { b as D } from "./use-global-config-CflpFoxU.js";
4
- import { u as I } from "./index-BWPVi43E.js";
2
+ import { e as _, Y as B, g as S, ak as k, h as $, E as L, w as P } from "./index-B8QqTLfg.js";
3
+ import { a as D } from "./use-global-config-D_yoqf3Q.js";
4
+ import { u as I } from "./index-BZxUAT4z.js";
5
5
  const N = _({
6
6
  type: {
7
7
  type: String,
@@ -24,7 +24,7 @@ const N = _({
24
24
  }
25
25
  }), T = {
26
26
  click: (s) => s instanceof MouseEvent
27
- }, j = ["href", "target"], z = C({
27
+ }, z = ["href", "target"], G = C({
28
28
  name: "ElLink",
29
29
  __name: "link",
30
30
  props: N,
@@ -41,7 +41,7 @@ const N = _({
41
41
  },
42
42
  a(() => k(n.underline))
43
43
  );
44
- const l = $("link"), b = a(() => {
44
+ const l = $("link"), g = a(() => {
45
45
  var e, o, r;
46
46
  return [
47
47
  l.b(),
@@ -54,14 +54,14 @@ const N = _({
54
54
  var e, o, r;
55
55
  return k(n.underline) ? n.underline ? "hover" : "never" : (r = (o = n.underline) != null ? o : (e = u.value) == null ? void 0 : e.underline) != null ? r : "hover";
56
56
  });
57
- function g(e) {
57
+ function b(e) {
58
58
  n.disabled || y("click", e);
59
59
  }
60
60
  return (e, o) => (i(), c("a", {
61
- class: p(b.value),
61
+ class: p(g.value),
62
62
  href: e.disabled || !e.href ? void 0 : e.href,
63
63
  target: e.disabled || !e.href ? void 0 : e.target,
64
- onClick: g
64
+ onClick: b
65
65
  }, [
66
66
  e.icon ? (i(), f(v(L), { key: 0 }, {
67
67
  default: w(() => [
@@ -81,11 +81,11 @@ const N = _({
81
81
  2
82
82
  )) : t("v-if", !0),
83
83
  e.$slots.icon ? m(e.$slots, "icon", { key: 2 }) : t("v-if", !0)
84
- ], 10, j));
84
+ ], 10, z));
85
85
  }
86
86
  });
87
- var G = /* @__PURE__ */ S(z, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);
88
- const q = P(G);
87
+ var K = /* @__PURE__ */ S(G, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);
88
+ const j = P(K);
89
89
  export {
90
- q as E
90
+ j as E
91
91
  };