@das-fed/ui 6.4.0-beta.7 → 6.4.0-dev.10
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/package.json +5 -5
- package/packages/business-components/device-panel/index.js +10094 -9817
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/index.js +432 -152
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +603 -323
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1122 -841
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +1758 -1477
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +719 -439
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +819 -538
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +1969 -1691
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +619 -338
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/index.js +614 -257
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +6025 -5129
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/image-viewer/index.d.ts +0 -9
- package/packages/components/image-viewer/index.js +29 -34
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/image-viewer/src/Index.vue.d.ts +0 -3
- package/packages/components/image-viewer/src/hooks/use-handler-image-src.d.ts +1 -2
- package/packages/components/image-viewer/src/type.d.ts +0 -3
- package/packages/components/image-viewer/style.css +1 -1
- package/packages/components/image-viewer/style.css.gz +0 -0
- package/packages/components/search-form/index.js +11 -13
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/table/index.js +127 -127
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tree/index.js +70 -70
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +30 -29
- package/packages/components/tree-select/index.js.gz +0 -0
|
@@ -4869,6 +4869,10 @@ const Uy = Vr(aR, {
|
|
|
4869
4869
|
ButtonGroup: jy
|
|
4870
4870
|
});
|
|
4871
4871
|
_i(jy);
|
|
4872
|
+
var qi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4873
|
+
function uR(e) {
|
|
4874
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4875
|
+
}
|
|
4872
4876
|
const No = /* @__PURE__ */ new Map();
|
|
4873
4877
|
let um;
|
|
4874
4878
|
Ft && (document.addEventListener("mousedown", (e) => um = e), document.addEventListener("mouseup", (e) => {
|
|
@@ -4883,7 +4887,7 @@ function cm(e, t) {
|
|
|
4883
4887
|
f || d || g || h || v || y || t.value(o, i);
|
|
4884
4888
|
};
|
|
4885
4889
|
}
|
|
4886
|
-
const
|
|
4890
|
+
const cR = {
|
|
4887
4891
|
beforeMount(e, t) {
|
|
4888
4892
|
No.has(e) || No.set(e, []), No.get(e).push({
|
|
4889
4893
|
documentHandler: cm(e, t),
|
|
@@ -4953,9 +4957,9 @@ var dd = { ie: function() {
|
|
|
4953
4957
|
return In() || ud;
|
|
4954
4958
|
}, ipad: function() {
|
|
4955
4959
|
return In() || fd;
|
|
4956
|
-
} },
|
|
4960
|
+
} }, fR = dd, Ns = !!(typeof window < "u" && window.document && window.document.createElement), dR = { canUseDOM: Ns, canUseWorkers: typeof Worker < "u", canUseEventListeners: Ns && !!(window.addEventListener || window.attachEvent), canUseViewport: Ns && !!window.screen, isInWorker: !Ns }, qy = dR, Xy;
|
|
4957
4961
|
qy.canUseDOM && (Xy = document.implementation && document.implementation.hasFeature && document.implementation.hasFeature("", "") !== !0);
|
|
4958
|
-
function
|
|
4962
|
+
function pR(e, t) {
|
|
4959
4963
|
if (!qy.canUseDOM || t && !("addEventListener" in document)) return !1;
|
|
4960
4964
|
var n = "on" + e, o = n in document;
|
|
4961
4965
|
if (!o) {
|
|
@@ -4964,15 +4968,15 @@ function dR(e, t) {
|
|
|
4964
4968
|
}
|
|
4965
4969
|
return !o && Xy && e === "wheel" && (o = document.implementation.hasFeature("Events.wheel", "3.0")), o;
|
|
4966
4970
|
}
|
|
4967
|
-
var
|
|
4971
|
+
var hR = pR, dm = 10, pm = 40, hm = 800;
|
|
4968
4972
|
function Jy(e) {
|
|
4969
4973
|
var t = 0, n = 0, o = 0, i = 0;
|
|
4970
4974
|
return "detail" in e && (n = e.detail), "wheelDelta" in e && (n = -e.wheelDelta / 120), "wheelDeltaY" in e && (n = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = n, n = 0), o = t * dm, i = n * dm, "deltaY" in e && (i = e.deltaY), "deltaX" in e && (o = e.deltaX), (o || i) && e.deltaMode && (e.deltaMode == 1 ? (o *= pm, i *= pm) : (o *= hm, i *= hm)), o && !t && (t = o < 1 ? -1 : 1), i && !n && (n = i < 1 ? -1 : 1), { spinX: t, spinY: n, pixelX: o, pixelY: i };
|
|
4971
4975
|
}
|
|
4972
4976
|
Jy.getEventType = function() {
|
|
4973
|
-
return
|
|
4977
|
+
return fR.firefox() ? "DOMMouseScroll" : hR("wheel") ? "wheel" : "mousewheel";
|
|
4974
4978
|
};
|
|
4975
|
-
var
|
|
4979
|
+
var vR = Jy;
|
|
4976
4980
|
/**
|
|
4977
4981
|
* Checks if an event is supported in the current execution environment.
|
|
4978
4982
|
*
|
|
@@ -4987,17 +4991,17 @@ var hR = Jy;
|
|
|
4987
4991
|
* @internal
|
|
4988
4992
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
4989
4993
|
*/
|
|
4990
|
-
const
|
|
4994
|
+
const gR = function(e, t) {
|
|
4991
4995
|
if (e && e.addEventListener) {
|
|
4992
4996
|
const n = function(o) {
|
|
4993
|
-
const i =
|
|
4997
|
+
const i = vR(o);
|
|
4994
4998
|
t && Reflect.apply(t, this, [o, i]);
|
|
4995
4999
|
};
|
|
4996
5000
|
e.addEventListener("wheel", n, { passive: !0 });
|
|
4997
5001
|
}
|
|
4998
|
-
},
|
|
5002
|
+
}, mR = {
|
|
4999
5003
|
beforeMount(e, t) {
|
|
5000
|
-
|
|
5004
|
+
gR(e, t.value);
|
|
5001
5005
|
}
|
|
5002
5006
|
}, Zy = {
|
|
5003
5007
|
modelValue: {
|
|
@@ -5041,7 +5045,7 @@ const vR = function(e, t) {
|
|
|
5041
5045
|
}, Qy = {
|
|
5042
5046
|
[Bu]: (e) => po(e) || dn(e) || Sa(e),
|
|
5043
5047
|
change: (e) => po(e) || dn(e) || Sa(e)
|
|
5044
|
-
}, Ci = Symbol("checkboxGroupContextKey"),
|
|
5048
|
+
}, Ci = Symbol("checkboxGroupContextKey"), yR = ({
|
|
5045
5049
|
model: e,
|
|
5046
5050
|
isChecked: t
|
|
5047
5051
|
}) => {
|
|
@@ -5054,7 +5058,7 @@ const vR = function(e, t) {
|
|
|
5054
5058
|
isDisabled: ap(N(() => (n == null ? void 0 : n.disabled.value) || o.value)),
|
|
5055
5059
|
isLimitDisabled: o
|
|
5056
5060
|
};
|
|
5057
|
-
},
|
|
5061
|
+
}, bR = (e, {
|
|
5058
5062
|
model: t,
|
|
5059
5063
|
isLimitExceeded: n,
|
|
5060
5064
|
hasOwnLabel: o,
|
|
@@ -5085,7 +5089,7 @@ const vR = function(e, t) {
|
|
|
5085
5089
|
handleChange: h,
|
|
5086
5090
|
onClickRoot: v
|
|
5087
5091
|
};
|
|
5088
|
-
},
|
|
5092
|
+
}, wR = (e) => {
|
|
5089
5093
|
const t = D(!1), { emit: n } = bt(), o = Re(Ci, void 0), i = N(() => bl(o) === !1), l = D(!1);
|
|
5090
5094
|
return {
|
|
5091
5095
|
model: N({
|
|
@@ -5101,7 +5105,7 @@ const vR = function(e, t) {
|
|
|
5101
5105
|
isGroup: i,
|
|
5102
5106
|
isLimitExceeded: l
|
|
5103
5107
|
};
|
|
5104
|
-
},
|
|
5108
|
+
}, _R = (e, t, { model: n }) => {
|
|
5105
5109
|
const o = Re(Ci, void 0), i = D(!1), l = N(() => {
|
|
5106
5110
|
const d = n.value;
|
|
5107
5111
|
return Sa(d) ? d : wa(d) ? _a(e.label) ? d.map(qv).some((g) => SI(g, e.label)) : d.map(qv).includes(e.label) : d != null ? d === e.trueLabel : !!d;
|
|
@@ -5121,30 +5125,30 @@ const vR = function(e, t) {
|
|
|
5121
5125
|
checkboxSize: c,
|
|
5122
5126
|
hasOwnLabel: f
|
|
5123
5127
|
};
|
|
5124
|
-
},
|
|
5128
|
+
}, CR = (e, { model: t }) => {
|
|
5125
5129
|
function n() {
|
|
5126
5130
|
wa(t.value) && !t.value.includes(e.label) ? t.value.push(e.label) : t.value = e.trueLabel || !0;
|
|
5127
5131
|
}
|
|
5128
5132
|
e.checked && n();
|
|
5129
5133
|
}, eb = (e, t) => {
|
|
5130
|
-
const { formItem: n } = ju(), { model: o, isGroup: i, isLimitExceeded: l } =
|
|
5134
|
+
const { formItem: n } = ju(), { model: o, isGroup: i, isLimitExceeded: l } = wR(e), {
|
|
5131
5135
|
isFocused: u,
|
|
5132
5136
|
isChecked: c,
|
|
5133
5137
|
checkboxButtonSize: f,
|
|
5134
5138
|
checkboxSize: d,
|
|
5135
5139
|
hasOwnLabel: g
|
|
5136
|
-
} =
|
|
5140
|
+
} = _R(e, t, { model: o }), { isDisabled: h } = yR({ model: o, isChecked: c }), { inputId: v, isLabeledByFormItem: y } = Py(e, {
|
|
5137
5141
|
formItemContext: n,
|
|
5138
5142
|
disableIdGeneration: g,
|
|
5139
5143
|
disableIdManagement: i
|
|
5140
|
-
}), { handleChange: m, onClickRoot: w } =
|
|
5144
|
+
}), { handleChange: m, onClickRoot: w } = bR(e, {
|
|
5141
5145
|
model: o,
|
|
5142
5146
|
isLimitExceeded: l,
|
|
5143
5147
|
hasOwnLabel: g,
|
|
5144
5148
|
isDisabled: h,
|
|
5145
5149
|
isLabeledByFormItem: y
|
|
5146
5150
|
});
|
|
5147
|
-
return
|
|
5151
|
+
return CR(e, { model: o }), {
|
|
5148
5152
|
inputId: v,
|
|
5149
5153
|
isLabeledByFormItem: y,
|
|
5150
5154
|
isChecked: c,
|
|
@@ -5157,10 +5161,10 @@ const vR = function(e, t) {
|
|
|
5157
5161
|
handleChange: m,
|
|
5158
5162
|
onClickRoot: w
|
|
5159
5163
|
};
|
|
5160
|
-
},
|
|
5164
|
+
}, SR = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"], ER = ["id", "indeterminate", "disabled", "value", "name", "tabindex"], xR = he({
|
|
5161
5165
|
name: "ElCheckbox"
|
|
5162
|
-
}),
|
|
5163
|
-
...
|
|
5166
|
+
}), OR = /* @__PURE__ */ he({
|
|
5167
|
+
...xR,
|
|
5164
5168
|
props: Zy,
|
|
5165
5169
|
emits: Qy,
|
|
5166
5170
|
setup(e) {
|
|
@@ -5214,7 +5218,7 @@ const vR = function(e, t) {
|
|
|
5214
5218
|
onBlur: T[3] || (T[3] = (I) => c.value = !1),
|
|
5215
5219
|
onClick: T[4] || (T[4] = vr(() => {
|
|
5216
5220
|
}, ["stop"]))
|
|
5217
|
-
}, null, 42,
|
|
5221
|
+
}, null, 42, SR)), [
|
|
5218
5222
|
[iu, S(g)]
|
|
5219
5223
|
]) : Tt((j(), ne("input", {
|
|
5220
5224
|
key: 1,
|
|
@@ -5232,7 +5236,7 @@ const vR = function(e, t) {
|
|
|
5232
5236
|
onBlur: T[8] || (T[8] = (I) => c.value = !1),
|
|
5233
5237
|
onClick: T[9] || (T[9] = vr(() => {
|
|
5234
5238
|
}, ["stop"]))
|
|
5235
|
-
}, null, 42,
|
|
5239
|
+
}, null, 42, ER)), [
|
|
5236
5240
|
[iu, S(g)]
|
|
5237
5241
|
]),
|
|
5238
5242
|
Se("span", {
|
|
@@ -5253,11 +5257,11 @@ const vR = function(e, t) {
|
|
|
5253
5257
|
}, 8, ["class", "aria-controls", "onClick"]));
|
|
5254
5258
|
}
|
|
5255
5259
|
});
|
|
5256
|
-
var
|
|
5257
|
-
const
|
|
5260
|
+
var TR = /* @__PURE__ */ ut(OR, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);
|
|
5261
|
+
const AR = ["name", "tabindex", "disabled", "true-value", "false-value"], IR = ["name", "tabindex", "disabled", "value"], PR = he({
|
|
5258
5262
|
name: "ElCheckboxButton"
|
|
5259
|
-
}),
|
|
5260
|
-
...
|
|
5263
|
+
}), RR = /* @__PURE__ */ he({
|
|
5264
|
+
...PR,
|
|
5261
5265
|
props: Zy,
|
|
5262
5266
|
emits: Qy,
|
|
5263
5267
|
setup(e) {
|
|
@@ -5302,7 +5306,7 @@ const TR = ["name", "tabindex", "disabled", "true-value", "false-value"], AR = [
|
|
|
5302
5306
|
onBlur: m[3] || (m[3] = (w) => o.value = !1),
|
|
5303
5307
|
onClick: m[4] || (m[4] = vr(() => {
|
|
5304
5308
|
}, ["stop"]))
|
|
5305
|
-
}, null, 42,
|
|
5309
|
+
}, null, 42, AR)), [
|
|
5306
5310
|
[iu, S(c)]
|
|
5307
5311
|
]) : Tt((j(), ne("input", {
|
|
5308
5312
|
key: 1,
|
|
@@ -5318,7 +5322,7 @@ const TR = ["name", "tabindex", "disabled", "true-value", "false-value"], AR = [
|
|
|
5318
5322
|
onBlur: m[8] || (m[8] = (w) => o.value = !1),
|
|
5319
5323
|
onClick: m[9] || (m[9] = vr(() => {
|
|
5320
5324
|
}, ["stop"]))
|
|
5321
|
-
}, null, 42,
|
|
5325
|
+
}, null, 42, IR)), [
|
|
5322
5326
|
[iu, S(c)]
|
|
5323
5327
|
]),
|
|
5324
5328
|
y.$slots.default || y.label ? (j(), ne("span", {
|
|
@@ -5333,8 +5337,8 @@ const TR = ["name", "tabindex", "disabled", "true-value", "false-value"], AR = [
|
|
|
5333
5337
|
], 2));
|
|
5334
5338
|
}
|
|
5335
5339
|
});
|
|
5336
|
-
var tb = /* @__PURE__ */ ut(
|
|
5337
|
-
const
|
|
5340
|
+
var tb = /* @__PURE__ */ ut(RR, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);
|
|
5341
|
+
const $R = At({
|
|
5338
5342
|
modelValue: {
|
|
5339
5343
|
type: Ve(Array),
|
|
5340
5344
|
default: () => []
|
|
@@ -5354,15 +5358,15 @@ const RR = At({
|
|
|
5354
5358
|
type: Boolean,
|
|
5355
5359
|
default: !0
|
|
5356
5360
|
}
|
|
5357
|
-
}),
|
|
5361
|
+
}), kR = {
|
|
5358
5362
|
[Bu]: (e) => wa(e),
|
|
5359
5363
|
change: (e) => wa(e)
|
|
5360
|
-
},
|
|
5364
|
+
}, LR = he({
|
|
5361
5365
|
name: "ElCheckboxGroup"
|
|
5362
|
-
}),
|
|
5363
|
-
...
|
|
5364
|
-
props:
|
|
5365
|
-
emits:
|
|
5366
|
+
}), MR = /* @__PURE__ */ he({
|
|
5367
|
+
...LR,
|
|
5368
|
+
props: $R,
|
|
5369
|
+
emits: kR,
|
|
5366
5370
|
setup(e, { emit: t }) {
|
|
5367
5371
|
const n = e, o = st("checkbox"), { formItem: i } = ju(), { inputId: l, isLabeledByFormItem: u } = Py(n, {
|
|
5368
5372
|
formItemContext: i
|
|
@@ -5407,31 +5411,31 @@ const RR = At({
|
|
|
5407
5411
|
};
|
|
5408
5412
|
}
|
|
5409
5413
|
});
|
|
5410
|
-
var nb = /* @__PURE__ */ ut(
|
|
5411
|
-
const xa = Vr(
|
|
5414
|
+
var nb = /* @__PURE__ */ ut(MR, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);
|
|
5415
|
+
const xa = Vr(TR, {
|
|
5412
5416
|
CheckboxButton: tb,
|
|
5413
5417
|
CheckboxGroup: nb
|
|
5414
5418
|
});
|
|
5415
5419
|
_i(tb);
|
|
5416
5420
|
_i(nb);
|
|
5417
|
-
const
|
|
5421
|
+
const NR = /* @__PURE__ */ he({
|
|
5418
5422
|
inheritAttrs: !1
|
|
5419
5423
|
});
|
|
5420
|
-
function
|
|
5424
|
+
function FR(e, t, n, o, i, l) {
|
|
5421
5425
|
return Me(e.$slots, "default");
|
|
5422
5426
|
}
|
|
5423
|
-
var
|
|
5424
|
-
const
|
|
5427
|
+
var DR = /* @__PURE__ */ ut(NR, [["render", FR], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);
|
|
5428
|
+
const BR = /* @__PURE__ */ he({
|
|
5425
5429
|
name: "ElCollectionItem",
|
|
5426
5430
|
inheritAttrs: !1
|
|
5427
5431
|
});
|
|
5428
|
-
function
|
|
5432
|
+
function HR(e, t, n, o, i, l) {
|
|
5429
5433
|
return Me(e.$slots, "default");
|
|
5430
5434
|
}
|
|
5431
|
-
var
|
|
5435
|
+
var zR = /* @__PURE__ */ ut(BR, [["render", HR], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);
|
|
5432
5436
|
const rb = "data-el-collection-item", ob = (e) => {
|
|
5433
5437
|
const t = `El${e}Collection`, n = `${t}Item`, o = Symbol(t), i = Symbol(n), l = {
|
|
5434
|
-
...
|
|
5438
|
+
...DR,
|
|
5435
5439
|
name: t,
|
|
5436
5440
|
setup() {
|
|
5437
5441
|
const c = D(null), f = /* @__PURE__ */ new Map();
|
|
@@ -5448,7 +5452,7 @@ const rb = "data-el-collection-item", ob = (e) => {
|
|
|
5448
5452
|
});
|
|
5449
5453
|
}
|
|
5450
5454
|
}, u = {
|
|
5451
|
-
...
|
|
5455
|
+
...zR,
|
|
5452
5456
|
name: n,
|
|
5453
5457
|
setup(c, { attrs: f }) {
|
|
5454
5458
|
const d = D(null), g = Re(o, void 0);
|
|
@@ -5472,7 +5476,7 @@ const rb = "data-el-collection-item", ob = (e) => {
|
|
|
5472
5476
|
ElCollection: l,
|
|
5473
5477
|
ElCollectionItem: u
|
|
5474
5478
|
};
|
|
5475
|
-
},
|
|
5479
|
+
}, WR = At({
|
|
5476
5480
|
style: { type: Ve([String, Array, Object]) },
|
|
5477
5481
|
currentTabId: {
|
|
5478
5482
|
type: Ve(String)
|
|
@@ -5491,11 +5495,11 @@ const rb = "data-el-collection-item", ob = (e) => {
|
|
|
5491
5495
|
onFocus: Function,
|
|
5492
5496
|
onMousedown: Function
|
|
5493
5497
|
}), {
|
|
5494
|
-
ElCollection:
|
|
5495
|
-
ElCollectionItem:
|
|
5498
|
+
ElCollection: jR,
|
|
5499
|
+
ElCollectionItem: UR,
|
|
5496
5500
|
COLLECTION_INJECTION_KEY: dp,
|
|
5497
|
-
COLLECTION_ITEM_INJECTION_KEY:
|
|
5498
|
-
} = ob("RovingFocusGroup"), pp = Symbol("elRovingFocusGroup"), ab = Symbol("elRovingFocusGroupItem"),
|
|
5501
|
+
COLLECTION_ITEM_INJECTION_KEY: KR
|
|
5502
|
+
} = ob("RovingFocusGroup"), pp = Symbol("elRovingFocusGroup"), ab = Symbol("elRovingFocusGroupItem"), GR = {
|
|
5499
5503
|
ArrowLeft: "prev",
|
|
5500
5504
|
ArrowUp: "prev",
|
|
5501
5505
|
ArrowRight: "next",
|
|
@@ -5504,18 +5508,18 @@ const rb = "data-el-collection-item", ob = (e) => {
|
|
|
5504
5508
|
Home: "first",
|
|
5505
5509
|
PageDown: "last",
|
|
5506
5510
|
End: "last"
|
|
5507
|
-
},
|
|
5508
|
-
const o =
|
|
5509
|
-
return
|
|
5510
|
-
},
|
|
5511
|
+
}, VR = (e, t) => e, YR = (e, t, n) => {
|
|
5512
|
+
const o = VR(e.key);
|
|
5513
|
+
return GR[o];
|
|
5514
|
+
}, qR = (e, t) => e.map((n, o) => e[(o + t) % e.length]), hp = (e) => {
|
|
5511
5515
|
const { activeElement: t } = document;
|
|
5512
5516
|
for (const n of e)
|
|
5513
5517
|
if (n === t || (n.focus(), t !== document.activeElement))
|
|
5514
5518
|
return;
|
|
5515
|
-
}, vm = "currentTabIdChange", gm = "rovingFocusGroup.entryFocus",
|
|
5519
|
+
}, vm = "currentTabIdChange", gm = "rovingFocusGroup.entryFocus", XR = { bubbles: !1, cancelable: !0 }, JR = he({
|
|
5516
5520
|
name: "ElRovingFocusGroupImpl",
|
|
5517
5521
|
inheritAttrs: !1,
|
|
5518
|
-
props:
|
|
5522
|
+
props: WR,
|
|
5519
5523
|
emits: [vm, "entryFocus"],
|
|
5520
5524
|
setup(e, { emit: t }) {
|
|
5521
5525
|
var n;
|
|
@@ -5539,7 +5543,7 @@ const rb = "data-el-collection-item", ob = (e) => {
|
|
|
5539
5543
|
}, (w) => {
|
|
5540
5544
|
const _ = !S(l), { target: T, currentTarget: I } = w;
|
|
5541
5545
|
if (T === I && _ && !S(i)) {
|
|
5542
|
-
const L = new Event(gm,
|
|
5546
|
+
const L = new Event(gm, XR);
|
|
5543
5547
|
if (I == null || I.dispatchEvent(L), !L.defaultPrevented) {
|
|
5544
5548
|
const O = c().filter((H) => H.focusable), x = O.find((H) => H.active), P = O.find((H) => H.id === S(o)), $ = [x, P, ...O].filter(Boolean).map((H) => H.ref);
|
|
5545
5549
|
hp($);
|
|
@@ -5572,18 +5576,18 @@ const rb = "data-el-collection-item", ob = (e) => {
|
|
|
5572
5576
|
}), Fr(u, gm, m);
|
|
5573
5577
|
}
|
|
5574
5578
|
});
|
|
5575
|
-
function
|
|
5579
|
+
function ZR(e, t, n, o, i, l) {
|
|
5576
5580
|
return Me(e.$slots, "default");
|
|
5577
5581
|
}
|
|
5578
|
-
var
|
|
5579
|
-
const
|
|
5582
|
+
var QR = /* @__PURE__ */ ut(JR, [["render", ZR], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);
|
|
5583
|
+
const e$ = he({
|
|
5580
5584
|
name: "ElRovingFocusGroup",
|
|
5581
5585
|
components: {
|
|
5582
|
-
ElFocusGroupCollection:
|
|
5583
|
-
ElRovingFocusGroupImpl:
|
|
5586
|
+
ElFocusGroupCollection: jR,
|
|
5587
|
+
ElRovingFocusGroupImpl: QR
|
|
5584
5588
|
}
|
|
5585
5589
|
});
|
|
5586
|
-
function
|
|
5590
|
+
function t$(e, t, n, o, i, l) {
|
|
5587
5591
|
const u = dt("el-roving-focus-group-impl"), c = dt("el-focus-group-collection");
|
|
5588
5592
|
return j(), ve(c, null, {
|
|
5589
5593
|
default: re(() => [
|
|
@@ -5597,10 +5601,10 @@ function e$(e, t, n, o, i, l) {
|
|
|
5597
5601
|
_: 3
|
|
5598
5602
|
});
|
|
5599
5603
|
}
|
|
5600
|
-
var
|
|
5601
|
-
const
|
|
5604
|
+
var n$ = /* @__PURE__ */ ut(e$, [["render", t$], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);
|
|
5605
|
+
const r$ = he({
|
|
5602
5606
|
components: {
|
|
5603
|
-
ElRovingFocusCollectionItem:
|
|
5607
|
+
ElRovingFocusCollectionItem: UR
|
|
5604
5608
|
},
|
|
5605
5609
|
props: {
|
|
5606
5610
|
focusable: {
|
|
@@ -5632,7 +5636,7 @@ const n$ = he({
|
|
|
5632
5636
|
}
|
|
5633
5637
|
if (_ !== T)
|
|
5634
5638
|
return;
|
|
5635
|
-
const I =
|
|
5639
|
+
const I = YR(y);
|
|
5636
5640
|
if (I) {
|
|
5637
5641
|
y.preventDefault();
|
|
5638
5642
|
let O = u().filter((x) => x.focusable).map((x) => x.ref);
|
|
@@ -5645,7 +5649,7 @@ const n$ = he({
|
|
|
5645
5649
|
case "next": {
|
|
5646
5650
|
I === "prev" && O.reverse();
|
|
5647
5651
|
const x = O.indexOf(T);
|
|
5648
|
-
O = o.value ?
|
|
5652
|
+
O = o.value ? qR(O, x + 1) : O.slice(x + 1);
|
|
5649
5653
|
break;
|
|
5650
5654
|
}
|
|
5651
5655
|
}
|
|
@@ -5668,7 +5672,7 @@ const n$ = he({
|
|
|
5668
5672
|
};
|
|
5669
5673
|
}
|
|
5670
5674
|
});
|
|
5671
|
-
function
|
|
5675
|
+
function o$(e, t, n, o, i, l) {
|
|
5672
5676
|
const u = dt("el-roving-focus-collection-item");
|
|
5673
5677
|
return j(), ve(u, {
|
|
5674
5678
|
id: e.id,
|
|
@@ -5681,7 +5685,7 @@ function r$(e, t, n, o, i, l) {
|
|
|
5681
5685
|
_: 3
|
|
5682
5686
|
}, 8, ["id", "focusable", "active"]);
|
|
5683
5687
|
}
|
|
5684
|
-
var
|
|
5688
|
+
var a$ = /* @__PURE__ */ ut(r$, [["render", o$], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);
|
|
5685
5689
|
const Xs = At({
|
|
5686
5690
|
trigger: El.trigger,
|
|
5687
5691
|
effect: {
|
|
@@ -5756,26 +5760,26 @@ const Xs = At({
|
|
|
5756
5760
|
icon: {
|
|
5757
5761
|
type: vu
|
|
5758
5762
|
}
|
|
5759
|
-
}),
|
|
5763
|
+
}), i$ = At({
|
|
5760
5764
|
onKeydown: { type: Ve(Function) }
|
|
5761
|
-
}),
|
|
5765
|
+
}), l$ = [
|
|
5762
5766
|
Xt.down,
|
|
5763
5767
|
Xt.pageDown,
|
|
5764
5768
|
Xt.home
|
|
5765
|
-
], lb = [Xt.up, Xt.pageUp, Xt.end],
|
|
5766
|
-
ElCollection:
|
|
5767
|
-
ElCollectionItem:
|
|
5768
|
-
COLLECTION_INJECTION_KEY:
|
|
5769
|
-
COLLECTION_ITEM_INJECTION_KEY:
|
|
5770
|
-
} = ob("Dropdown"), Ku = Symbol("elDropdown"), { ButtonGroup:
|
|
5769
|
+
], lb = [Xt.up, Xt.pageUp, Xt.end], s$ = [...l$, ...lb], {
|
|
5770
|
+
ElCollection: u$,
|
|
5771
|
+
ElCollectionItem: c$,
|
|
5772
|
+
COLLECTION_INJECTION_KEY: f$,
|
|
5773
|
+
COLLECTION_ITEM_INJECTION_KEY: d$
|
|
5774
|
+
} = ob("Dropdown"), Ku = Symbol("elDropdown"), { ButtonGroup: p$ } = Uy, h$ = he({
|
|
5771
5775
|
name: "ElDropdown",
|
|
5772
5776
|
components: {
|
|
5773
5777
|
ElButton: Uy,
|
|
5774
|
-
ElButtonGroup:
|
|
5778
|
+
ElButtonGroup: p$,
|
|
5775
5779
|
ElScrollbar: ip,
|
|
5776
|
-
ElDropdownCollection:
|
|
5780
|
+
ElDropdownCollection: u$,
|
|
5777
5781
|
ElTooltip: fp,
|
|
5778
|
-
ElRovingFocusGroup:
|
|
5782
|
+
ElRovingFocusGroup: n$,
|
|
5779
5783
|
ElOnlyChild: My,
|
|
5780
5784
|
ElIcon: Ur,
|
|
5781
5785
|
ArrowDown: J0
|
|
@@ -5880,7 +5884,7 @@ const Xs = At({
|
|
|
5880
5884
|
};
|
|
5881
5885
|
}
|
|
5882
5886
|
});
|
|
5883
|
-
function
|
|
5887
|
+
function v$(e, t, n, o, i, l) {
|
|
5884
5888
|
var u;
|
|
5885
5889
|
const c = dt("el-dropdown-collection"), f = dt("el-roving-focus-group"), d = dt("el-scrollbar"), g = dt("el-only-child"), h = dt("el-tooltip"), v = dt("el-button"), y = dt("arrow-down"), m = dt("el-icon"), w = dt("el-button-group");
|
|
5886
5890
|
return j(), ne("div", {
|
|
@@ -6005,8 +6009,8 @@ function h$(e, t, n, o, i, l) {
|
|
|
6005
6009
|
})) : xe("v-if", !0)
|
|
6006
6010
|
], 2);
|
|
6007
6011
|
}
|
|
6008
|
-
var
|
|
6009
|
-
const
|
|
6012
|
+
var g$ = /* @__PURE__ */ ut(h$, [["render", v$], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);
|
|
6013
|
+
const m$ = he({
|
|
6010
6014
|
name: "DropdownItemImpl",
|
|
6011
6015
|
components: {
|
|
6012
6016
|
ElIcon: Ur
|
|
@@ -6014,7 +6018,7 @@ const g$ = he({
|
|
|
6014
6018
|
props: ib,
|
|
6015
6019
|
emits: ["pointermove", "pointerleave", "click", "clickimpl"],
|
|
6016
6020
|
setup(e, { emit: t }) {
|
|
6017
|
-
const n = st("dropdown"), { role: o } = Re(Ku, void 0), { collectionItemRef: i } = Re(
|
|
6021
|
+
const n = st("dropdown"), { role: o } = Re(Ku, void 0), { collectionItemRef: i } = Re(d$, void 0), { collectionItemRef: l } = Re(KR, void 0), {
|
|
6018
6022
|
rovingFocusGroupItemRef: u,
|
|
6019
6023
|
tabIndex: c,
|
|
6020
6024
|
handleFocus: f,
|
|
@@ -6038,8 +6042,8 @@ const g$ = he({
|
|
|
6038
6042
|
handleMousedown: g
|
|
6039
6043
|
};
|
|
6040
6044
|
}
|
|
6041
|
-
}),
|
|
6042
|
-
function
|
|
6045
|
+
}), y$ = ["aria-disabled", "tabindex", "role"];
|
|
6046
|
+
function b$(e, t, n, o, i, l) {
|
|
6043
6047
|
const u = dt("el-icon");
|
|
6044
6048
|
return j(), ne(vt, null, [
|
|
6045
6049
|
e.divided ? (j(), ne("li", _n({
|
|
@@ -6066,22 +6070,22 @@ function y$(e, t, n, o, i, l) {
|
|
|
6066
6070
|
_: 1
|
|
6067
6071
|
})) : xe("v-if", !0),
|
|
6068
6072
|
Me(e.$slots, "default")
|
|
6069
|
-
], 16,
|
|
6073
|
+
], 16, y$)
|
|
6070
6074
|
], 64);
|
|
6071
6075
|
}
|
|
6072
|
-
var
|
|
6076
|
+
var w$ = /* @__PURE__ */ ut(m$, [["render", b$], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);
|
|
6073
6077
|
const sb = () => {
|
|
6074
6078
|
const e = Re("elDropdown", {}), t = N(() => e == null ? void 0 : e.dropdownSize);
|
|
6075
6079
|
return {
|
|
6076
6080
|
elDropdown: e,
|
|
6077
6081
|
_elDropdownSize: t
|
|
6078
6082
|
};
|
|
6079
|
-
},
|
|
6083
|
+
}, _$ = he({
|
|
6080
6084
|
name: "ElDropdownItem",
|
|
6081
6085
|
components: {
|
|
6082
|
-
ElDropdownCollectionItem:
|
|
6083
|
-
ElRovingFocusItem:
|
|
6084
|
-
ElDropdownItemImpl:
|
|
6086
|
+
ElDropdownCollectionItem: c$,
|
|
6087
|
+
ElRovingFocusItem: a$,
|
|
6088
|
+
ElDropdownItemImpl: w$
|
|
6085
6089
|
},
|
|
6086
6090
|
inheritAttrs: !1,
|
|
6087
6091
|
props: ib,
|
|
@@ -6119,7 +6123,7 @@ const sb = () => {
|
|
|
6119
6123
|
};
|
|
6120
6124
|
}
|
|
6121
6125
|
});
|
|
6122
|
-
function
|
|
6126
|
+
function C$(e, t, n, o, i, l) {
|
|
6123
6127
|
var u;
|
|
6124
6128
|
const c = dt("el-dropdown-item-impl"), f = dt("el-roving-focus-item"), d = dt("el-dropdown-collection-item");
|
|
6125
6129
|
return j(), ve(d, {
|
|
@@ -6148,12 +6152,12 @@ function _$(e, t, n, o, i, l) {
|
|
|
6148
6152
|
_: 3
|
|
6149
6153
|
}, 8, ["disabled", "text-value"]);
|
|
6150
6154
|
}
|
|
6151
|
-
var ub = /* @__PURE__ */ ut(
|
|
6152
|
-
const
|
|
6155
|
+
var ub = /* @__PURE__ */ ut(_$, [["render", C$], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);
|
|
6156
|
+
const S$ = he({
|
|
6153
6157
|
name: "ElDropdownMenu",
|
|
6154
|
-
props:
|
|
6158
|
+
props: i$,
|
|
6155
6159
|
setup(e) {
|
|
6156
|
-
const t = st("dropdown"), { _elDropdownSize: n } = sb(), o = n.value, { focusTrapRef: i, onKeydown: l } = Re(Dy, void 0), { contentRef: u, role: c, triggerId: f } = Re(Ku, void 0), { collectionRef: d, getItems: g } = Re(
|
|
6160
|
+
const t = st("dropdown"), { _elDropdownSize: n } = sb(), o = n.value, { focusTrapRef: i, onKeydown: l } = Re(Dy, void 0), { contentRef: u, role: c, triggerId: f } = Re(Ku, void 0), { collectionRef: d, getItems: g } = Re(f$, void 0), {
|
|
6157
6161
|
rovingFocusGroupRef: h,
|
|
6158
6162
|
rovingFocusGroupRootStyle: v,
|
|
6159
6163
|
tabIndex: y,
|
|
@@ -6165,7 +6169,7 @@ const C$ = he({
|
|
|
6165
6169
|
(C = e.onKeydown) == null || C.call(e, P);
|
|
6166
6170
|
}, (P) => {
|
|
6167
6171
|
const { currentTarget: C, code: $, target: H } = P;
|
|
6168
|
-
if (C.contains(H), Xt.tab === $ && P.stopImmediatePropagation(), P.preventDefault(), H !== S(u) || !
|
|
6172
|
+
if (C.contains(H), Xt.tab === $ && P.stopImmediatePropagation(), P.preventDefault(), H !== S(u) || !s$.includes($))
|
|
6169
6173
|
return;
|
|
6170
6174
|
const V = g().filter((J) => !J.disabled).map((J) => J.ref);
|
|
6171
6175
|
lb.includes($) && V.reverse(), hp(V);
|
|
@@ -6186,8 +6190,8 @@ const C$ = he({
|
|
|
6186
6190
|
onMousedown: _
|
|
6187
6191
|
};
|
|
6188
6192
|
}
|
|
6189
|
-
}),
|
|
6190
|
-
function
|
|
6193
|
+
}), E$ = ["role", "aria-labelledby"];
|
|
6194
|
+
function x$(e, t, n, o, i, l) {
|
|
6191
6195
|
return j(), ne("ul", {
|
|
6192
6196
|
ref: e.dropdownListWrapperRef,
|
|
6193
6197
|
class: be(e.dropdownKls),
|
|
@@ -6201,13 +6205,13 @@ function E$(e, t, n, o, i, l) {
|
|
|
6201
6205
|
onMousedown: t[3] || (t[3] = vr((...u) => e.onMousedown && e.onMousedown(...u), ["self"]))
|
|
6202
6206
|
}, [
|
|
6203
6207
|
Me(e.$slots, "default")
|
|
6204
|
-
], 46,
|
|
6208
|
+
], 46, E$);
|
|
6205
6209
|
}
|
|
6206
|
-
var cb = /* @__PURE__ */ ut(
|
|
6207
|
-
const
|
|
6210
|
+
var cb = /* @__PURE__ */ ut(S$, [["render", x$], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);
|
|
6211
|
+
const O$ = Vr(g$, {
|
|
6208
6212
|
DropdownItem: ub,
|
|
6209
6213
|
DropdownMenu: cb
|
|
6210
|
-
}),
|
|
6214
|
+
}), T$ = _i(ub), A$ = _i(cb), I$ = At({
|
|
6211
6215
|
trigger: El.trigger,
|
|
6212
6216
|
placement: Xs.placement,
|
|
6213
6217
|
disabled: El.disabled,
|
|
@@ -6259,20 +6263,20 @@ const x$ = Vr(v$, {
|
|
|
6259
6263
|
"onUpdate:visible": {
|
|
6260
6264
|
type: Function
|
|
6261
6265
|
}
|
|
6262
|
-
}),
|
|
6266
|
+
}), P$ = {
|
|
6263
6267
|
"update:visible": (e) => Sa(e),
|
|
6264
6268
|
"before-enter": () => !0,
|
|
6265
6269
|
"before-leave": () => !0,
|
|
6266
6270
|
"after-enter": () => !0,
|
|
6267
6271
|
"after-leave": () => !0
|
|
6268
|
-
},
|
|
6272
|
+
}, R$ = "onUpdate:visible", $$ = he({
|
|
6269
6273
|
name: "ElPopover"
|
|
6270
|
-
}),
|
|
6271
|
-
|
|
6272
|
-
props:
|
|
6273
|
-
emits:
|
|
6274
|
+
}), k$ = /* @__PURE__ */ he({
|
|
6275
|
+
...$$,
|
|
6276
|
+
props: I$,
|
|
6277
|
+
emits: P$,
|
|
6274
6278
|
setup(e, { expose: t, emit: n }) {
|
|
6275
|
-
const o = e, i = N(() => o[
|
|
6279
|
+
const o = e, i = N(() => o[R$]), l = st("popover"), u = D(), c = N(() => {
|
|
6276
6280
|
var _;
|
|
6277
6281
|
return (_ = S(u)) == null ? void 0 : _.popperRef;
|
|
6278
6282
|
}), f = N(() => [
|
|
@@ -6343,12 +6347,12 @@ const x$ = Vr(v$, {
|
|
|
6343
6347
|
}, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]));
|
|
6344
6348
|
}
|
|
6345
6349
|
});
|
|
6346
|
-
var
|
|
6350
|
+
var L$ = /* @__PURE__ */ ut(k$, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);
|
|
6347
6351
|
const mm = (e, t) => {
|
|
6348
6352
|
const n = t.arg || t.value, o = n == null ? void 0 : n.popperRef;
|
|
6349
6353
|
o && (o.triggerRef = e);
|
|
6350
6354
|
};
|
|
6351
|
-
var
|
|
6355
|
+
var M$ = {
|
|
6352
6356
|
mounted(e, t) {
|
|
6353
6357
|
mm(e, t);
|
|
6354
6358
|
},
|
|
@@ -6356,13 +6360,9 @@ var L$ = {
|
|
|
6356
6360
|
mm(e, t);
|
|
6357
6361
|
}
|
|
6358
6362
|
};
|
|
6359
|
-
const
|
|
6360
|
-
directive:
|
|
6363
|
+
const N$ = "popover", F$ = GI(M$, N$), fb = Vr(L$, {
|
|
6364
|
+
directive: F$
|
|
6361
6365
|
});
|
|
6362
|
-
var qi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6363
|
-
function F$(e) {
|
|
6364
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6365
|
-
}
|
|
6366
6366
|
/*!
|
|
6367
6367
|
* escape-html
|
|
6368
6368
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
@@ -6400,7 +6400,7 @@ function H$(e) {
|
|
|
6400
6400
|
}
|
|
6401
6401
|
return u !== l ? i + t.substring(u, l) : i;
|
|
6402
6402
|
}
|
|
6403
|
-
const z$ = /* @__PURE__ */
|
|
6403
|
+
const z$ = /* @__PURE__ */ uR(B$), Af = function(e) {
|
|
6404
6404
|
var t;
|
|
6405
6405
|
return (t = e.target) == null ? void 0 : t.closest("td");
|
|
6406
6406
|
}, W$ = function(e, t, n, o, i) {
|
|
@@ -7358,7 +7358,7 @@ const { CheckboxGroup: o8 } = xa, a8 = he({
|
|
|
7358
7358
|
ArrowDown: J0,
|
|
7359
7359
|
ArrowUp: MI
|
|
7360
7360
|
},
|
|
7361
|
-
directives: { ClickOutside:
|
|
7361
|
+
directives: { ClickOutside: cR },
|
|
7362
7362
|
props: {
|
|
7363
7363
|
placement: {
|
|
7364
7364
|
type: String,
|
|
@@ -8617,7 +8617,7 @@ let I8 = 1;
|
|
|
8617
8617
|
const P8 = he({
|
|
8618
8618
|
name: "ElTable",
|
|
8619
8619
|
directives: {
|
|
8620
|
-
Mousewheel:
|
|
8620
|
+
Mousewheel: mR
|
|
8621
8621
|
},
|
|
8622
8622
|
components: {
|
|
8623
8623
|
TableHeader: v8,
|
|
@@ -15422,7 +15422,7 @@ const Hb = Symbol(), _p = (e) => (zx("data-v-ea6c2779"), e = e(), Wx(), e), G5 =
|
|
|
15422
15422
|
/** 获取当前条件下的全量id @params totalCount 总数量 */
|
|
15423
15423
|
getCurrentParamsIds: _o
|
|
15424
15424
|
}), (k, ee) => {
|
|
15425
|
-
const ue = xa, we = Ur, Pe =
|
|
15425
|
+
const ue = xa, we = Ur, Pe = T$, pt = A$, an = O$, Zt = fb;
|
|
15426
15426
|
return j(), ne("div", {
|
|
15427
15427
|
ref_key: "cotainer",
|
|
15428
15428
|
ref: f,
|