@varlet/ui 3.7.4 → 3.8.0
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/es/action-sheet/style/index.mjs +1 -1
- package/es/checkbox/Checkbox.mjs +11 -13
- package/es/checkbox/checkbox.css +1 -1
- package/es/checkbox-group/CheckboxGroup.mjs +0 -5
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/menu/Menu.mjs +5 -0
- package/es/menu/menu.css +1 -1
- package/es/menu/props.mjs +4 -1
- package/es/menu/usePopover.mjs +11 -0
- package/es/menu-option/MenuOption.mjs +104 -21
- package/es/menu-option/menuOption.css +1 -1
- package/es/menu-option/props.mjs +7 -2
- package/es/menu-option/style/index.mjs +1 -0
- package/es/menu-select/MenuChildren.mjs +237 -0
- package/es/menu-select/MenuSelect.mjs +200 -20
- package/es/menu-select/menuSelect.css +1 -1
- package/es/menu-select/props.mjs +6 -1
- package/es/option/Option.mjs +9 -5
- package/es/option/props.mjs +4 -0
- package/es/radio/Radio.mjs +2 -5
- package/es/radio/radio.css +1 -1
- package/es/select/Select.mjs +3 -2
- package/es/select/useSelectController.mjs +12 -5
- package/es/snackbar/style/index.mjs +1 -1
- package/es/style.css +1 -1
- package/es/uploader/Uploader.mjs +17 -11
- package/es/utils/elements.mjs +14 -1
- package/es/varlet.esm.js +7264 -6858
- package/highlight/web-types.en-US.json +27 -1
- package/highlight/web-types.zh-CN.json +27 -1
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +1149 -610
- package/package.json +7 -7
- package/types/checkbox.d.ts +1 -1
- package/types/checkboxGroup.d.ts +2 -2
- package/types/menuSelect.d.ts +9 -1
- package/types/radioGroup.d.ts +2 -2
- package/types/select.d.ts +1 -1
- package/types/uploader.d.ts +1 -0
- package/umd/varlet.js +8 -8
package/lib/varlet.cjs.js
CHANGED
|
@@ -7,7 +7,7 @@ const context = {
|
|
|
7
7
|
enableRipple: true
|
|
8
8
|
};
|
|
9
9
|
const _ContextComponent = vue.reactive(context);
|
|
10
|
-
var stdin_default$
|
|
10
|
+
var stdin_default$6c = vue.reactive(context);
|
|
11
11
|
function default2(n2) {
|
|
12
12
|
return { all: n2 = n2 || /* @__PURE__ */ new Map(), on: function(t2, e) {
|
|
13
13
|
var i = n2.get(t2);
|
|
@@ -28,36 +28,36 @@ const mitt_star = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePro
|
|
|
28
28
|
__proto__: null,
|
|
29
29
|
default: default2
|
|
30
30
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
31
|
-
var __defProp$
|
|
32
|
-
var __defProps$
|
|
31
|
+
var __defProp$B = Object.defineProperty;
|
|
32
|
+
var __defProps$e = Object.defineProperties;
|
|
33
33
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
34
|
-
var __getOwnPropDescs$
|
|
34
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
35
35
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
36
|
-
var __getOwnPropSymbols$
|
|
37
|
-
var __hasOwnProp$
|
|
38
|
-
var __propIsEnum$
|
|
39
|
-
var __defNormalProp$
|
|
40
|
-
var __spreadValues$
|
|
36
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
37
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
38
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
39
|
+
var __defNormalProp$B = (obj, key3, value) => key3 in obj ? __defProp$B(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
40
|
+
var __spreadValues$B = (a, b) => {
|
|
41
41
|
for (var prop in b || (b = {}))
|
|
42
|
-
if (__hasOwnProp$
|
|
43
|
-
__defNormalProp$
|
|
44
|
-
if (__getOwnPropSymbols$
|
|
45
|
-
for (var prop of __getOwnPropSymbols$
|
|
46
|
-
if (__propIsEnum$
|
|
47
|
-
__defNormalProp$
|
|
42
|
+
if (__hasOwnProp$B.call(b, prop))
|
|
43
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
44
|
+
if (__getOwnPropSymbols$B)
|
|
45
|
+
for (var prop of __getOwnPropSymbols$B(b)) {
|
|
46
|
+
if (__propIsEnum$B.call(b, prop))
|
|
47
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
48
48
|
}
|
|
49
49
|
return a;
|
|
50
50
|
};
|
|
51
|
-
var __spreadProps$
|
|
51
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
52
52
|
var __export = (target, all) => {
|
|
53
53
|
for (var name2 in all)
|
|
54
|
-
__defProp$
|
|
54
|
+
__defProp$B(target, name2, { get: all[name2], enumerable: true });
|
|
55
55
|
};
|
|
56
56
|
var __copyProps = (to, from, except, desc) => {
|
|
57
57
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
58
58
|
for (let key3 of __getOwnPropNames(from))
|
|
59
|
-
if (!__hasOwnProp$
|
|
60
|
-
__defProp$
|
|
59
|
+
if (!__hasOwnProp$B.call(to, key3) && key3 !== except)
|
|
60
|
+
__defProp$B(to, key3, { get: () => from[key3], enumerable: !(desc = __getOwnPropDesc(from, key3)) || desc.enumerable });
|
|
61
61
|
}
|
|
62
62
|
return to;
|
|
63
63
|
};
|
|
@@ -825,7 +825,7 @@ function getRect(element) {
|
|
|
825
825
|
width,
|
|
826
826
|
height
|
|
827
827
|
};
|
|
828
|
-
return __spreadProps$
|
|
828
|
+
return __spreadProps$e(__spreadValues$B({}, rect), {
|
|
829
829
|
toJSON: () => rect
|
|
830
830
|
});
|
|
831
831
|
}
|
|
@@ -861,7 +861,7 @@ function raf() {
|
|
|
861
861
|
});
|
|
862
862
|
}
|
|
863
863
|
function createStorage(storage) {
|
|
864
|
-
return __spreadProps$
|
|
864
|
+
return __spreadProps$e(__spreadValues$B({}, storage), {
|
|
865
865
|
set(key3, value) {
|
|
866
866
|
if (value == null) {
|
|
867
867
|
return;
|
|
@@ -1278,30 +1278,30 @@ var isURL = (val) => {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
return /^(http)|(\.*\/)/.test(val);
|
|
1280
1280
|
};
|
|
1281
|
-
var __defProp$
|
|
1282
|
-
var __getOwnPropSymbols$
|
|
1283
|
-
var __hasOwnProp$
|
|
1284
|
-
var __propIsEnum$
|
|
1285
|
-
var __defNormalProp$
|
|
1286
|
-
var __spreadValues$
|
|
1281
|
+
var __defProp$A = Object.defineProperty;
|
|
1282
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
1283
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
1284
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
1285
|
+
var __defNormalProp$A = (obj, key3, value) => key3 in obj ? __defProp$A(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
1286
|
+
var __spreadValues$A = (a, b) => {
|
|
1287
1287
|
for (var prop in b || (b = {}))
|
|
1288
|
-
if (__hasOwnProp$
|
|
1289
|
-
__defNormalProp$
|
|
1290
|
-
if (__getOwnPropSymbols$
|
|
1291
|
-
for (var prop of __getOwnPropSymbols$
|
|
1292
|
-
if (__propIsEnum$
|
|
1293
|
-
__defNormalProp$
|
|
1288
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
1289
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1290
|
+
if (__getOwnPropSymbols$A)
|
|
1291
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
1292
|
+
if (__propIsEnum$A.call(b, prop))
|
|
1293
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1294
1294
|
}
|
|
1295
1295
|
return a;
|
|
1296
1296
|
};
|
|
1297
1297
|
var __objRest = (source, exclude) => {
|
|
1298
1298
|
var target = {};
|
|
1299
1299
|
for (var prop in source)
|
|
1300
|
-
if (__hasOwnProp$
|
|
1300
|
+
if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1301
1301
|
target[prop] = source[prop];
|
|
1302
|
-
if (source != null && __getOwnPropSymbols$
|
|
1303
|
-
for (var prop of __getOwnPropSymbols$
|
|
1304
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1302
|
+
if (source != null && __getOwnPropSymbols$A)
|
|
1303
|
+
for (var prop of __getOwnPropSymbols$A(source)) {
|
|
1304
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop))
|
|
1305
1305
|
target[prop] = source[prop];
|
|
1306
1306
|
}
|
|
1307
1307
|
return target;
|
|
@@ -1477,7 +1477,7 @@ function useChildren(key3) {
|
|
|
1477
1477
|
removeItem(childProviders, childProvider);
|
|
1478
1478
|
};
|
|
1479
1479
|
const bindChildren = (parentProvider) => {
|
|
1480
|
-
vue.provide(key3, __spreadValues$
|
|
1480
|
+
vue.provide(key3, __spreadValues$A({
|
|
1481
1481
|
childInstances,
|
|
1482
1482
|
collect,
|
|
1483
1483
|
clear: clear2
|
|
@@ -1731,26 +1731,26 @@ function useMotion(options) {
|
|
|
1731
1731
|
reset
|
|
1732
1732
|
};
|
|
1733
1733
|
}
|
|
1734
|
-
var __defProp$
|
|
1735
|
-
var __defProps$
|
|
1736
|
-
var __getOwnPropDescs$
|
|
1737
|
-
var __getOwnPropSymbols$
|
|
1738
|
-
var __hasOwnProp$
|
|
1739
|
-
var __propIsEnum$
|
|
1740
|
-
var __defNormalProp$
|
|
1741
|
-
var __spreadValues$
|
|
1734
|
+
var __defProp$z = Object.defineProperty;
|
|
1735
|
+
var __defProps$d = Object.defineProperties;
|
|
1736
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
1737
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
1738
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
1739
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
1740
|
+
var __defNormalProp$z = (obj, key3, value) => key3 in obj ? __defProp$z(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
1741
|
+
var __spreadValues$z = (a, b) => {
|
|
1742
1742
|
for (var prop in b || (b = {}))
|
|
1743
|
-
if (__hasOwnProp$
|
|
1744
|
-
__defNormalProp$
|
|
1745
|
-
if (__getOwnPropSymbols$
|
|
1746
|
-
for (var prop of __getOwnPropSymbols$
|
|
1747
|
-
if (__propIsEnum$
|
|
1748
|
-
__defNormalProp$
|
|
1743
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
1744
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1745
|
+
if (__getOwnPropSymbols$z)
|
|
1746
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
1747
|
+
if (__propIsEnum$z.call(b, prop))
|
|
1748
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1749
1749
|
}
|
|
1750
1750
|
return a;
|
|
1751
1751
|
};
|
|
1752
|
-
var __spreadProps$
|
|
1753
|
-
var __async$
|
|
1752
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
1753
|
+
var __async$m = (__this, __arguments, generator) => {
|
|
1754
1754
|
return new Promise((resolve, reject) => {
|
|
1755
1755
|
var fulfilled = (value) => {
|
|
1756
1756
|
try {
|
|
@@ -1794,7 +1794,7 @@ function withPropsDefaultsSetter(target, props2) {
|
|
|
1794
1794
|
return;
|
|
1795
1795
|
}
|
|
1796
1796
|
if (isPlainObject(prop)) {
|
|
1797
|
-
props2[key3] = __spreadProps$
|
|
1797
|
+
props2[key3] = __spreadProps$d(__spreadValues$z({}, prop), {
|
|
1798
1798
|
default: value
|
|
1799
1799
|
});
|
|
1800
1800
|
return;
|
|
@@ -1823,7 +1823,7 @@ function mount$1(component) {
|
|
|
1823
1823
|
function mountInstance(component, props2 = {}, eventListener = {}) {
|
|
1824
1824
|
const Host = {
|
|
1825
1825
|
setup() {
|
|
1826
|
-
return () => vue.h(component, __spreadValues$
|
|
1826
|
+
return () => vue.h(component, __spreadValues$z(__spreadValues$z({}, props2), eventListener));
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
const { unmount: unmount2 } = mount$1(Host);
|
|
@@ -1853,7 +1853,7 @@ function isZodResult(result) {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
function useValidation() {
|
|
1855
1855
|
const errorMessage = vue.ref("");
|
|
1856
|
-
const validate = (ruleOrRules, value, apis) => __async$
|
|
1856
|
+
const validate = (ruleOrRules, value, apis) => __async$m(this, null, function* () {
|
|
1857
1857
|
const rules = normalizeToArray(ruleOrRules).filter((rule) => isZodRule(rule) || isFunction(rule));
|
|
1858
1858
|
const results = yield Promise.all(
|
|
1859
1859
|
rules.map((rule) => isZodRule(rule) ? rule.safeParseAsync(value) : rule(value, apis))
|
|
@@ -1875,7 +1875,7 @@ function useValidation() {
|
|
|
1875
1875
|
const resetValidation = () => {
|
|
1876
1876
|
errorMessage.value = "";
|
|
1877
1877
|
};
|
|
1878
|
-
const validateWithTrigger = (validateTrigger, trigger, rules, value, apis) => __async$
|
|
1878
|
+
const validateWithTrigger = (validateTrigger, trigger, rules, value, apis) => __async$m(this, null, function* () {
|
|
1879
1879
|
if (validateTrigger.includes(trigger)) {
|
|
1880
1880
|
(yield validate(rules, value, apis)) && (errorMessage.value = "");
|
|
1881
1881
|
}
|
|
@@ -1933,26 +1933,26 @@ const MaybeVNode = vue.defineComponent({
|
|
|
1933
1933
|
return () => isString(props2.is) ? vue.h(props2.tag, props2.is) : props2.is;
|
|
1934
1934
|
}
|
|
1935
1935
|
});
|
|
1936
|
-
var __defProp$
|
|
1937
|
-
var __defProps$
|
|
1938
|
-
var __getOwnPropDescs$
|
|
1939
|
-
var __getOwnPropSymbols$
|
|
1940
|
-
var __hasOwnProp$
|
|
1941
|
-
var __propIsEnum$
|
|
1942
|
-
var __defNormalProp$
|
|
1943
|
-
var __spreadValues$
|
|
1936
|
+
var __defProp$y = Object.defineProperty;
|
|
1937
|
+
var __defProps$c = Object.defineProperties;
|
|
1938
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
1939
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
1940
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
1941
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
1942
|
+
var __defNormalProp$y = (obj, key3, value) => key3 in obj ? __defProp$y(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
1943
|
+
var __spreadValues$y = (a, b) => {
|
|
1944
1944
|
for (var prop in b || (b = {}))
|
|
1945
|
-
if (__hasOwnProp$
|
|
1946
|
-
__defNormalProp$
|
|
1947
|
-
if (__getOwnPropSymbols$
|
|
1948
|
-
for (var prop of __getOwnPropSymbols$
|
|
1949
|
-
if (__propIsEnum$
|
|
1950
|
-
__defNormalProp$
|
|
1945
|
+
if (__hasOwnProp$y.call(b, prop))
|
|
1946
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
1947
|
+
if (__getOwnPropSymbols$y)
|
|
1948
|
+
for (var prop of __getOwnPropSymbols$y(b)) {
|
|
1949
|
+
if (__propIsEnum$y.call(b, prop))
|
|
1950
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
1951
1951
|
}
|
|
1952
1952
|
return a;
|
|
1953
1953
|
};
|
|
1954
|
-
var __spreadProps$
|
|
1955
|
-
const { n: n$
|
|
1954
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
1955
|
+
const { n: n$1x } = createNamespace("ripple");
|
|
1956
1956
|
const ANIMATION_DURATION$1 = 250;
|
|
1957
1957
|
function setStyles(element) {
|
|
1958
1958
|
const { zIndex, position } = getStyle$1(element);
|
|
@@ -1981,14 +1981,14 @@ function computeRippleStyles(element, event) {
|
|
|
1981
1981
|
function createRipple(event) {
|
|
1982
1982
|
const _ripple = this._ripple;
|
|
1983
1983
|
_ripple.removeRipple();
|
|
1984
|
-
if (_ripple.disabled || _ripple.tasker || !stdin_default$
|
|
1984
|
+
if (_ripple.disabled || _ripple.tasker || !stdin_default$6c.enableRipple) {
|
|
1985
1985
|
return;
|
|
1986
1986
|
}
|
|
1987
1987
|
const task = () => {
|
|
1988
1988
|
_ripple.tasker = null;
|
|
1989
1989
|
const { x, y, centerX, centerY, size } = computeRippleStyles(this, event);
|
|
1990
1990
|
const ripple = document.createElement("div");
|
|
1991
|
-
ripple.classList.add(n$
|
|
1991
|
+
ripple.classList.add(n$1x());
|
|
1992
1992
|
ripple.style.opacity = `0`;
|
|
1993
1993
|
ripple.style.transform = `translate(${x}px, ${y}px) scale3d(.3, .3, .3)`;
|
|
1994
1994
|
ripple.style.width = `${size}px`;
|
|
@@ -2007,7 +2007,7 @@ function createRipple(event) {
|
|
|
2007
2007
|
function removeRipple() {
|
|
2008
2008
|
const _ripple = this._ripple;
|
|
2009
2009
|
const task = () => {
|
|
2010
|
-
const ripples = this.querySelectorAll(`.${n$
|
|
2010
|
+
const ripples = this.querySelectorAll(`.${n$1x()}`);
|
|
2011
2011
|
if (!ripples.length) {
|
|
2012
2012
|
return;
|
|
2013
2013
|
}
|
|
@@ -2024,7 +2024,7 @@ function removeRipple() {
|
|
|
2024
2024
|
_ripple.tasker ? window.setTimeout(task, 30) : task();
|
|
2025
2025
|
}
|
|
2026
2026
|
function forbidRippleTask() {
|
|
2027
|
-
if (!supportTouch() || !stdin_default$
|
|
2027
|
+
if (!supportTouch() || !stdin_default$6c.enableRipple) {
|
|
2028
2028
|
return;
|
|
2029
2029
|
}
|
|
2030
2030
|
const _ripple = this._ripple;
|
|
@@ -2048,7 +2048,7 @@ function removeKeyboardRipple() {
|
|
|
2048
2048
|
}
|
|
2049
2049
|
function mounted$2(el, binding) {
|
|
2050
2050
|
var _a;
|
|
2051
|
-
el._ripple = __spreadProps$
|
|
2051
|
+
el._ripple = __spreadProps$c(__spreadValues$y({
|
|
2052
2052
|
tasker: null
|
|
2053
2053
|
}, (_a = binding.value) != null ? _a : {}), {
|
|
2054
2054
|
removeRipple: removeRipple.bind(el)
|
|
@@ -2082,7 +2082,7 @@ function updated$2(el, binding) {
|
|
|
2082
2082
|
};
|
|
2083
2083
|
const diff2 = newBinding.color !== ((_c = el._ripple) == null ? void 0 : _c.color) || newBinding.disabled !== ((_d = el._ripple) == null ? void 0 : _d.disabled);
|
|
2084
2084
|
if (diff2) {
|
|
2085
|
-
el._ripple = __spreadValues$
|
|
2085
|
+
el._ripple = __spreadValues$y({
|
|
2086
2086
|
tasker: newBinding.disabled ? null : (_e = el._ripple) == null ? void 0 : _e.tasker,
|
|
2087
2087
|
removeRipple: (_f = el._ripple) == null ? void 0 : _f.removeRipple
|
|
2088
2088
|
}, newBinding);
|
|
@@ -2097,7 +2097,7 @@ const Ripple = {
|
|
|
2097
2097
|
}
|
|
2098
2098
|
};
|
|
2099
2099
|
const _RippleComponent = Ripple;
|
|
2100
|
-
var stdin_default$
|
|
2100
|
+
var stdin_default$6b = Ripple;
|
|
2101
2101
|
const props$1l = {
|
|
2102
2102
|
show: Boolean,
|
|
2103
2103
|
position: {
|
|
@@ -2144,17 +2144,17 @@ const props$1l = {
|
|
|
2144
2144
|
// internal for Dialog
|
|
2145
2145
|
onRouteChange: defineListenerProp()
|
|
2146
2146
|
};
|
|
2147
|
-
const { n: n$
|
|
2147
|
+
const { n: n$1w } = createNamespace("");
|
|
2148
2148
|
function resolveLock() {
|
|
2149
|
-
const lockCounts = Object.keys(stdin_default$
|
|
2150
|
-
lockCounts <= 0 ? document.body.classList.remove(n$
|
|
2149
|
+
const lockCounts = Object.keys(stdin_default$6c.locks).length;
|
|
2150
|
+
lockCounts <= 0 ? document.body.classList.remove(n$1w("$--lock")) : document.body.classList.add(n$1w("$--lock"));
|
|
2151
2151
|
}
|
|
2152
2152
|
function addLock(uid) {
|
|
2153
|
-
stdin_default$
|
|
2153
|
+
stdin_default$6c.locks[uid] = 1;
|
|
2154
2154
|
resolveLock();
|
|
2155
2155
|
}
|
|
2156
2156
|
function releaseLock(uid) {
|
|
2157
|
-
delete stdin_default$
|
|
2157
|
+
delete stdin_default$6c.locks[uid];
|
|
2158
2158
|
resolveLock();
|
|
2159
2159
|
}
|
|
2160
2160
|
function useLock(source, useSource) {
|
|
@@ -2212,13 +2212,13 @@ function useLock(source, useSource) {
|
|
|
2212
2212
|
});
|
|
2213
2213
|
}
|
|
2214
2214
|
function useZIndex(source, count) {
|
|
2215
|
-
const zIndex = vue.ref(stdin_default$
|
|
2215
|
+
const zIndex = vue.ref(stdin_default$6c.zIndex);
|
|
2216
2216
|
vue.watch(
|
|
2217
2217
|
source,
|
|
2218
2218
|
(newValue) => {
|
|
2219
2219
|
if (newValue) {
|
|
2220
|
-
stdin_default$
|
|
2221
|
-
zIndex.value = stdin_default$
|
|
2220
|
+
stdin_default$6c.zIndex += process.env.NODE_ENV === "test" ? 0 : count;
|
|
2221
|
+
zIndex.value = stdin_default$6c.zIndex;
|
|
2222
2222
|
}
|
|
2223
2223
|
},
|
|
2224
2224
|
{ immediate: true }
|
|
@@ -2282,29 +2282,29 @@ function usePopupItems() {
|
|
|
2282
2282
|
bindPopupItems: bindChildren
|
|
2283
2283
|
};
|
|
2284
2284
|
}
|
|
2285
|
-
var __defProp$
|
|
2286
|
-
var __getOwnPropSymbols$
|
|
2287
|
-
var __hasOwnProp$
|
|
2288
|
-
var __propIsEnum$
|
|
2289
|
-
var __defNormalProp$
|
|
2290
|
-
var __spreadValues$
|
|
2285
|
+
var __defProp$x = Object.defineProperty;
|
|
2286
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
2287
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
2288
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
2289
|
+
var __defNormalProp$x = (obj, key3, value) => key3 in obj ? __defProp$x(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
2290
|
+
var __spreadValues$x = (a, b) => {
|
|
2291
2291
|
for (var prop in b || (b = {}))
|
|
2292
|
-
if (__hasOwnProp$
|
|
2293
|
-
__defNormalProp$
|
|
2294
|
-
if (__getOwnPropSymbols$
|
|
2295
|
-
for (var prop of __getOwnPropSymbols$
|
|
2296
|
-
if (__propIsEnum$
|
|
2297
|
-
__defNormalProp$
|
|
2292
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
2293
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2294
|
+
if (__getOwnPropSymbols$x)
|
|
2295
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
2296
|
+
if (__propIsEnum$x.call(b, prop))
|
|
2297
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2298
2298
|
}
|
|
2299
2299
|
return a;
|
|
2300
2300
|
};
|
|
2301
2301
|
const {
|
|
2302
|
-
name: name$
|
|
2303
|
-
n: n$
|
|
2302
|
+
name: name$1o,
|
|
2303
|
+
n: n$1v,
|
|
2304
2304
|
classes: classes$1c
|
|
2305
2305
|
} = createNamespace("popup");
|
|
2306
|
-
var stdin_default$
|
|
2307
|
-
name: name$
|
|
2306
|
+
var stdin_default$6a = vue.defineComponent({
|
|
2307
|
+
name: name$1o,
|
|
2308
2308
|
inheritAttrs: false,
|
|
2309
2309
|
props: props$1l,
|
|
2310
2310
|
setup(props2, {
|
|
@@ -2354,8 +2354,8 @@ var stdin_default$69 = vue.defineComponent({
|
|
|
2354
2354
|
overlayStyle
|
|
2355
2355
|
} = props2;
|
|
2356
2356
|
return vue.createVNode("div", {
|
|
2357
|
-
"class": classes$1c(n$
|
|
2358
|
-
"style": __spreadValues$
|
|
2357
|
+
"class": classes$1c(n$1v("overlay"), overlayClass),
|
|
2358
|
+
"style": __spreadValues$x({
|
|
2359
2359
|
zIndex: normalizedZIndex.value - 1
|
|
2360
2360
|
}, overlayStyle),
|
|
2361
2361
|
"onClick": hidePopup
|
|
@@ -2363,7 +2363,7 @@ var stdin_default$69 = vue.defineComponent({
|
|
|
2363
2363
|
}
|
|
2364
2364
|
function renderContent() {
|
|
2365
2365
|
return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
|
|
2366
|
-
"class": classes$1c(n$
|
|
2366
|
+
"class": classes$1c(n$1v("content"), n$1v(`--${props2.position}`), [props2.defaultStyle, n$1v("--content-background-color")], [props2.defaultStyle, n$1v("$-elevation--3")], [props2.safeArea, n$1v("--safe-area")], [props2.safeAreaTop, n$1v("--safe-area-top")]),
|
|
2367
2367
|
"style": {
|
|
2368
2368
|
zIndex: normalizedZIndex.value
|
|
2369
2369
|
},
|
|
@@ -2373,17 +2373,17 @@ var stdin_default$69 = vue.defineComponent({
|
|
|
2373
2373
|
}
|
|
2374
2374
|
function renderPopup() {
|
|
2375
2375
|
return vue.createVNode(vue.Transition, {
|
|
2376
|
-
"name": n$
|
|
2376
|
+
"name": n$1v("$-fade"),
|
|
2377
2377
|
"onAfterEnter": props2.onOpened,
|
|
2378
2378
|
"onAfterLeave": props2.onClosed
|
|
2379
2379
|
}, {
|
|
2380
2380
|
default: () => [vue.withDirectives(vue.createVNode("div", {
|
|
2381
|
-
"class": classes$1c(n$
|
|
2381
|
+
"class": classes$1c(n$1v("$--box"), n$1v(), [!props2.overlay, n$1v("--pointer-events-none")]),
|
|
2382
2382
|
"style": {
|
|
2383
2383
|
zIndex: normalizedZIndex.value - 2
|
|
2384
2384
|
}
|
|
2385
2385
|
}, [props2.overlay && renderOverlay(), vue.createVNode(vue.Transition, {
|
|
2386
|
-
"name": props2.transition || n$
|
|
2386
|
+
"name": props2.transition || n$1v(`$-pop-${props2.position}`)
|
|
2387
2387
|
}, {
|
|
2388
2388
|
default: () => [renderContent()]
|
|
2389
2389
|
})]), [[vue.vShow, props2.show]])]
|
|
@@ -2416,10 +2416,10 @@ var stdin_default$69 = vue.defineComponent({
|
|
|
2416
2416
|
};
|
|
2417
2417
|
}
|
|
2418
2418
|
});
|
|
2419
|
-
withInstall(stdin_default$
|
|
2420
|
-
withPropsDefaultsSetter(stdin_default$
|
|
2421
|
-
const _PopupComponent = stdin_default$
|
|
2422
|
-
var stdin_default$
|
|
2419
|
+
withInstall(stdin_default$6a);
|
|
2420
|
+
withPropsDefaultsSetter(stdin_default$6a, props$1l);
|
|
2421
|
+
const _PopupComponent = stdin_default$6a;
|
|
2422
|
+
var stdin_default$69 = stdin_default$6a;
|
|
2423
2423
|
const props$1k = {
|
|
2424
2424
|
name: String,
|
|
2425
2425
|
size: [Number, String],
|
|
@@ -2578,10 +2578,22 @@ function formatStyleVars(styleVars) {
|
|
|
2578
2578
|
function padStartFlex(style) {
|
|
2579
2579
|
return style === "start" || style === "end" ? `flex-${style}` : style;
|
|
2580
2580
|
}
|
|
2581
|
+
function isDisplayNoneElement(element) {
|
|
2582
|
+
let parent = element;
|
|
2583
|
+
while (parent && parent !== document.documentElement) {
|
|
2584
|
+
if (getStyle$1(parent).display === "none") {
|
|
2585
|
+
return true;
|
|
2586
|
+
}
|
|
2587
|
+
parent = parent.parentNode;
|
|
2588
|
+
}
|
|
2589
|
+
return false;
|
|
2590
|
+
}
|
|
2581
2591
|
const focusableSelector = ["button", "input", "select", "textarea", "[tabindex]", "[href]"].map((s) => `${s}:not([disabled])`).join(", ");
|
|
2582
2592
|
function focusChildElementByKey(hostElement, parentElement, key3) {
|
|
2583
2593
|
var _a;
|
|
2584
|
-
const focusableElements = parentElement.querySelectorAll(focusableSelector)
|
|
2594
|
+
const focusableElements = Array.from(parentElement.querySelectorAll(focusableSelector)).filter(
|
|
2595
|
+
(element) => !isDisplayNoneElement(element)
|
|
2596
|
+
);
|
|
2585
2597
|
if (!focusableElements.length) {
|
|
2586
2598
|
return;
|
|
2587
2599
|
}
|
|
@@ -2609,7 +2621,7 @@ function focusChildElementByKey(hostElement, parentElement, key3) {
|
|
|
2609
2621
|
}
|
|
2610
2622
|
}
|
|
2611
2623
|
}
|
|
2612
|
-
var __async$
|
|
2624
|
+
var __async$l = (__this, __arguments, generator) => {
|
|
2613
2625
|
return new Promise((resolve, reject) => {
|
|
2614
2626
|
var fulfilled = (value) => {
|
|
2615
2627
|
try {
|
|
@@ -2629,8 +2641,8 @@ var __async$j = (__this, __arguments, generator) => {
|
|
|
2629
2641
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
2630
2642
|
});
|
|
2631
2643
|
};
|
|
2632
|
-
const { name: name$
|
|
2633
|
-
function __render__$
|
|
2644
|
+
const { name: name$1n, n: n$1u, classes: classes$1b } = createNamespace("icon");
|
|
2645
|
+
function __render__$1s(_ctx, _cache) {
|
|
2634
2646
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.isURL(_ctx.name) ? "img" : "i"), {
|
|
2635
2647
|
class: vue.normalizeClass(
|
|
2636
2648
|
_ctx.classes(
|
|
@@ -2652,15 +2664,15 @@ function __render__$1r(_ctx, _cache) {
|
|
|
2652
2664
|
onClick: _ctx.onClick
|
|
2653
2665
|
}, null, 8, ["class", "style", "src", "onClick"]);
|
|
2654
2666
|
}
|
|
2655
|
-
const __sfc__$
|
|
2656
|
-
name: name$
|
|
2667
|
+
const __sfc__$1v = vue.defineComponent({
|
|
2668
|
+
name: name$1n,
|
|
2657
2669
|
props: props$1k,
|
|
2658
2670
|
setup(props2) {
|
|
2659
2671
|
const nextName = vue.ref("");
|
|
2660
2672
|
const animateInProgress = vue.ref(false);
|
|
2661
2673
|
vue.watch(() => props2.name, handleNameChange, { immediate: true });
|
|
2662
2674
|
function handleNameChange(newName, oldName) {
|
|
2663
|
-
return __async$
|
|
2675
|
+
return __async$l(this, null, function* () {
|
|
2664
2676
|
const { transition } = props2;
|
|
2665
2677
|
if (oldName == null || toNumber(transition) === 0) {
|
|
2666
2678
|
nextName.value = newName;
|
|
@@ -2679,7 +2691,7 @@ const __sfc__$1u = vue.defineComponent({
|
|
|
2679
2691
|
return {
|
|
2680
2692
|
nextName,
|
|
2681
2693
|
animateInProgress,
|
|
2682
|
-
n: n$
|
|
2694
|
+
n: n$1u,
|
|
2683
2695
|
classes: classes$1b,
|
|
2684
2696
|
isURL,
|
|
2685
2697
|
toNumber,
|
|
@@ -2687,18 +2699,18 @@ const __sfc__$1u = vue.defineComponent({
|
|
|
2687
2699
|
};
|
|
2688
2700
|
}
|
|
2689
2701
|
});
|
|
2690
|
-
__sfc__$
|
|
2691
|
-
var stdin_default$
|
|
2692
|
-
withInstall(stdin_default$
|
|
2693
|
-
withPropsDefaultsSetter(stdin_default$
|
|
2694
|
-
const _IconComponent = stdin_default$
|
|
2695
|
-
var stdin_default$
|
|
2702
|
+
__sfc__$1v.render = __render__$1s;
|
|
2703
|
+
var stdin_default$68 = __sfc__$1v;
|
|
2704
|
+
withInstall(stdin_default$68);
|
|
2705
|
+
withPropsDefaultsSetter(stdin_default$68, props$1k);
|
|
2706
|
+
const _IconComponent = stdin_default$68;
|
|
2707
|
+
var stdin_default$67 = stdin_default$68;
|
|
2696
2708
|
const props$1j = {
|
|
2697
2709
|
hovering: Boolean,
|
|
2698
2710
|
focusing: Boolean
|
|
2699
2711
|
};
|
|
2700
|
-
const { name: name$
|
|
2701
|
-
function __render__$
|
|
2712
|
+
const { name: name$1m, n: n$1t, classes: classes$1a } = createNamespace("hover-overlay");
|
|
2713
|
+
function __render__$1r(_ctx, _cache) {
|
|
2702
2714
|
return vue.openBlock(), vue.createElementBlock(
|
|
2703
2715
|
"div",
|
|
2704
2716
|
{
|
|
@@ -2709,19 +2721,19 @@ function __render__$1q(_ctx, _cache) {
|
|
|
2709
2721
|
/* CLASS */
|
|
2710
2722
|
);
|
|
2711
2723
|
}
|
|
2712
|
-
const __sfc__$
|
|
2713
|
-
name: name$
|
|
2724
|
+
const __sfc__$1u = vue.defineComponent({
|
|
2725
|
+
name: name$1m,
|
|
2714
2726
|
props: props$1j,
|
|
2715
2727
|
setup: () => ({
|
|
2716
|
-
n: n$
|
|
2728
|
+
n: n$1t,
|
|
2717
2729
|
classes: classes$1a,
|
|
2718
2730
|
inMobile
|
|
2719
2731
|
})
|
|
2720
2732
|
});
|
|
2721
|
-
__sfc__$
|
|
2722
|
-
var stdin_default$
|
|
2723
|
-
withInstall(stdin_default$
|
|
2724
|
-
withPropsDefaultsSetter(stdin_default$
|
|
2733
|
+
__sfc__$1u.render = __render__$1r;
|
|
2734
|
+
var stdin_default$66 = __sfc__$1u;
|
|
2735
|
+
withInstall(stdin_default$66);
|
|
2736
|
+
withPropsDefaultsSetter(stdin_default$66, props$1j);
|
|
2725
2737
|
function useHoverOverlay() {
|
|
2726
2738
|
const hovering = vue.ref(false);
|
|
2727
2739
|
const handleHovering = (value) => {
|
|
@@ -2732,8 +2744,8 @@ function useHoverOverlay() {
|
|
|
2732
2744
|
handleHovering
|
|
2733
2745
|
};
|
|
2734
2746
|
}
|
|
2735
|
-
const _HoverOverlayComponent = stdin_default$
|
|
2736
|
-
var stdin_default$
|
|
2747
|
+
const _HoverOverlayComponent = stdin_default$66;
|
|
2748
|
+
var stdin_default$65 = stdin_default$66;
|
|
2737
2749
|
function shouldDisabled(arg) {
|
|
2738
2750
|
if (!arg) {
|
|
2739
2751
|
return false;
|
|
@@ -2854,9 +2866,9 @@ const Hover = {
|
|
|
2854
2866
|
}
|
|
2855
2867
|
};
|
|
2856
2868
|
const _HoverComponent = Hover;
|
|
2857
|
-
var stdin_default$
|
|
2858
|
-
const { name: name$
|
|
2859
|
-
function __render__$
|
|
2869
|
+
var stdin_default$64 = Hover;
|
|
2870
|
+
const { name: name$1l, n: n$1s, classes: classes$19 } = createNamespace("action-sheet");
|
|
2871
|
+
function __render__$1q(_ctx, _cache) {
|
|
2860
2872
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
2861
2873
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
2862
2874
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
@@ -2896,13 +2908,13 @@ function __render__$1p(_ctx, _cache) {
|
|
|
2896
2908
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
2897
2909
|
]);
|
|
2898
2910
|
}
|
|
2899
|
-
const __sfc__$
|
|
2900
|
-
name: name$
|
|
2911
|
+
const __sfc__$1t = vue.defineComponent({
|
|
2912
|
+
name: name$1l,
|
|
2901
2913
|
components: {
|
|
2902
|
-
VarHoverOverlay: stdin_default$
|
|
2903
|
-
VarIcon: stdin_default$
|
|
2914
|
+
VarHoverOverlay: stdin_default$65,
|
|
2915
|
+
VarIcon: stdin_default$67
|
|
2904
2916
|
},
|
|
2905
|
-
directives: { Ripple: stdin_default$
|
|
2917
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
2906
2918
|
props: {
|
|
2907
2919
|
name: String,
|
|
2908
2920
|
className: String,
|
|
@@ -2916,31 +2928,31 @@ const __sfc__$1s = vue.defineComponent({
|
|
|
2916
2928
|
const { hovering, handleHovering } = useHoverOverlay();
|
|
2917
2929
|
return {
|
|
2918
2930
|
hovering,
|
|
2919
|
-
n: n$
|
|
2931
|
+
n: n$1s,
|
|
2920
2932
|
classes: classes$19,
|
|
2921
2933
|
handleHovering
|
|
2922
2934
|
};
|
|
2923
2935
|
}
|
|
2924
2936
|
});
|
|
2925
|
-
__sfc__$
|
|
2926
|
-
var stdin_default$
|
|
2927
|
-
var __defProp$
|
|
2928
|
-
var __getOwnPropSymbols$
|
|
2929
|
-
var __hasOwnProp$
|
|
2930
|
-
var __propIsEnum$
|
|
2931
|
-
var __defNormalProp$
|
|
2932
|
-
var __spreadValues$
|
|
2937
|
+
__sfc__$1t.render = __render__$1q;
|
|
2938
|
+
var stdin_default$63 = __sfc__$1t;
|
|
2939
|
+
var __defProp$w = Object.defineProperty;
|
|
2940
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
2941
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
2942
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
2943
|
+
var __defNormalProp$w = (obj, key3, value) => key3 in obj ? __defProp$w(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
2944
|
+
var __spreadValues$w = (a, b) => {
|
|
2933
2945
|
for (var prop in b || (b = {}))
|
|
2934
|
-
if (__hasOwnProp$
|
|
2935
|
-
__defNormalProp$
|
|
2936
|
-
if (__getOwnPropSymbols$
|
|
2937
|
-
for (var prop of __getOwnPropSymbols$
|
|
2938
|
-
if (__propIsEnum$
|
|
2939
|
-
__defNormalProp$
|
|
2946
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
2947
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2948
|
+
if (__getOwnPropSymbols$w)
|
|
2949
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
2950
|
+
if (__propIsEnum$w.call(b, prop))
|
|
2951
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2940
2952
|
}
|
|
2941
2953
|
return a;
|
|
2942
2954
|
};
|
|
2943
|
-
const props$1i = __spreadValues$
|
|
2955
|
+
const props$1i = __spreadValues$w({
|
|
2944
2956
|
show: Boolean,
|
|
2945
2957
|
title: String,
|
|
2946
2958
|
actions: {
|
|
@@ -2971,7 +2983,7 @@ const props$1i = __spreadValues$u({
|
|
|
2971
2983
|
"onRouteChange",
|
|
2972
2984
|
"onKeyEscape"
|
|
2973
2985
|
]));
|
|
2974
|
-
var stdin_default$
|
|
2986
|
+
var stdin_default$62 = {
|
|
2975
2987
|
// Dialog
|
|
2976
2988
|
dialogTitle: "提示",
|
|
2977
2989
|
dialogConfirmButtonText: "确认",
|
|
@@ -3076,7 +3088,7 @@ var stdin_default$61 = {
|
|
|
3076
3088
|
// time-picker
|
|
3077
3089
|
timePickerHint: "选择时间"
|
|
3078
3090
|
};
|
|
3079
|
-
var stdin_default$
|
|
3091
|
+
var stdin_default$61 = {
|
|
3080
3092
|
// Dialog
|
|
3081
3093
|
dialogTitle: "Hint",
|
|
3082
3094
|
dialogConfirmButtonText: "Confirm",
|
|
@@ -3181,7 +3193,7 @@ var stdin_default$60 = {
|
|
|
3181
3193
|
// time-picker
|
|
3182
3194
|
timePickerHint: "SELECT TIME"
|
|
3183
3195
|
};
|
|
3184
|
-
var stdin_default$
|
|
3196
|
+
var stdin_default$60 = {
|
|
3185
3197
|
// Dialog
|
|
3186
3198
|
dialogTitle: "提示",
|
|
3187
3199
|
dialogConfirmButtonText: "確認",
|
|
@@ -3283,8 +3295,8 @@ var stdin_default$5$ = {
|
|
|
3283
3295
|
paginationPage: "頁",
|
|
3284
3296
|
paginationJump: "前往"
|
|
3285
3297
|
};
|
|
3286
|
-
var stdin_default$
|
|
3287
|
-
var stdin_default$
|
|
3298
|
+
var stdin_default$5$ = stdin_default$60;
|
|
3299
|
+
var stdin_default$5_ = {
|
|
3288
3300
|
// Dialog
|
|
3289
3301
|
dialogTitle: "اشاره",
|
|
3290
3302
|
dialogConfirmButtonText: "تایید",
|
|
@@ -3389,19 +3401,19 @@ var stdin_default$5Z = {
|
|
|
3389
3401
|
// time-picker
|
|
3390
3402
|
timePickerHint: "انتخاب زمان"
|
|
3391
3403
|
};
|
|
3392
|
-
var __defProp$
|
|
3393
|
-
var __getOwnPropSymbols$
|
|
3394
|
-
var __hasOwnProp$
|
|
3395
|
-
var __propIsEnum$
|
|
3396
|
-
var __defNormalProp$
|
|
3397
|
-
var __spreadValues$
|
|
3404
|
+
var __defProp$v = Object.defineProperty;
|
|
3405
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
3406
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
3407
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
3408
|
+
var __defNormalProp$v = (obj, key3, value) => key3 in obj ? __defProp$v(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
3409
|
+
var __spreadValues$v = (a, b) => {
|
|
3398
3410
|
for (var prop in b || (b = {}))
|
|
3399
|
-
if (__hasOwnProp$
|
|
3400
|
-
__defNormalProp$
|
|
3401
|
-
if (__getOwnPropSymbols$
|
|
3402
|
-
for (var prop of __getOwnPropSymbols$
|
|
3403
|
-
if (__propIsEnum$
|
|
3404
|
-
__defNormalProp$
|
|
3411
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
3412
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
3413
|
+
if (__getOwnPropSymbols$v)
|
|
3414
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
3415
|
+
if (__propIsEnum$v.call(b, prop))
|
|
3416
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
3405
3417
|
}
|
|
3406
3418
|
return a;
|
|
3407
3419
|
};
|
|
@@ -3424,7 +3436,7 @@ function useLocale() {
|
|
|
3424
3436
|
console.warn(`The ${lang} does not exist. You can mount a language message using the add method`);
|
|
3425
3437
|
return;
|
|
3426
3438
|
}
|
|
3427
|
-
messages2.value[lang] = __spreadValues$
|
|
3439
|
+
messages2.value[lang] = __spreadValues$v(__spreadValues$v({}, messages2.value[lang]), message);
|
|
3428
3440
|
use2(lang);
|
|
3429
3441
|
};
|
|
3430
3442
|
const t2 = (id) => {
|
|
@@ -3442,14 +3454,14 @@ function useLocale() {
|
|
|
3442
3454
|
};
|
|
3443
3455
|
}
|
|
3444
3456
|
const { messages, currentMessage, add: add$2, use, merge, t } = useLocale();
|
|
3445
|
-
add$2("zh-CN", stdin_default$
|
|
3457
|
+
add$2("zh-CN", stdin_default$62);
|
|
3446
3458
|
use("zh-CN");
|
|
3447
3459
|
const _LocaleComponent = {
|
|
3448
|
-
zhCN: stdin_default$
|
|
3449
|
-
enUS: stdin_default$
|
|
3450
|
-
zhTW: stdin_default$
|
|
3451
|
-
zhHK: stdin_default$
|
|
3452
|
-
faIR: stdin_default$
|
|
3460
|
+
zhCN: stdin_default$62,
|
|
3461
|
+
enUS: stdin_default$61,
|
|
3462
|
+
zhTW: stdin_default$60,
|
|
3463
|
+
zhHK: stdin_default$5$,
|
|
3464
|
+
faIR: stdin_default$5_,
|
|
3453
3465
|
messages,
|
|
3454
3466
|
currentMessage,
|
|
3455
3467
|
add: add$2,
|
|
@@ -3458,12 +3470,12 @@ const _LocaleComponent = {
|
|
|
3458
3470
|
t,
|
|
3459
3471
|
useLocale
|
|
3460
3472
|
};
|
|
3461
|
-
var stdin_default$
|
|
3462
|
-
zhCN: stdin_default$
|
|
3463
|
-
enUS: stdin_default$
|
|
3464
|
-
zhTW: stdin_default$
|
|
3465
|
-
zhHK: stdin_default$
|
|
3466
|
-
faIR: stdin_default$
|
|
3473
|
+
var stdin_default$5Z = {
|
|
3474
|
+
zhCN: stdin_default$62,
|
|
3475
|
+
enUS: stdin_default$61,
|
|
3476
|
+
zhTW: stdin_default$60,
|
|
3477
|
+
zhHK: stdin_default$5$,
|
|
3478
|
+
faIR: stdin_default$5_,
|
|
3467
3479
|
messages,
|
|
3468
3480
|
currentMessage,
|
|
3469
3481
|
add: add$2,
|
|
@@ -3482,8 +3494,8 @@ function injectLocaleProvider() {
|
|
|
3482
3494
|
}
|
|
3483
3495
|
return vue.inject(LOCALE_PROVIDER_KEY);
|
|
3484
3496
|
}
|
|
3485
|
-
const { name: name$
|
|
3486
|
-
function __render__$
|
|
3497
|
+
const { name: name$1k, n: n$1r, classes: classes$18 } = createNamespace("action-sheet");
|
|
3498
|
+
function __render__$1p(_ctx, _cache) {
|
|
3487
3499
|
const _component_var_action_item = vue.resolveComponent("var-action-item");
|
|
3488
3500
|
const _component_var_popup = vue.resolveComponent("var-popup");
|
|
3489
3501
|
return vue.openBlock(), vue.createBlock(_component_var_popup, {
|
|
@@ -3556,12 +3568,12 @@ function __render__$1o(_ctx, _cache) {
|
|
|
3556
3568
|
/* FORWARDED */
|
|
3557
3569
|
}, 8, ["class", "overlay", "overlay-class", "overlay-style", "lock-scroll", "close-on-click-overlay", "close-on-key-escape", "teleport", "safe-area", "show", "onOpen", "onClose", "onClosed", "onOpened", "onRouteChange", "onKeyEscape"]);
|
|
3558
3570
|
}
|
|
3559
|
-
const __sfc__$
|
|
3560
|
-
name: name$
|
|
3561
|
-
directives: { Ripple: stdin_default$
|
|
3571
|
+
const __sfc__$1s = vue.defineComponent({
|
|
3572
|
+
name: name$1k,
|
|
3573
|
+
directives: { Ripple: stdin_default$6b },
|
|
3562
3574
|
components: {
|
|
3563
|
-
VarPopup: stdin_default$
|
|
3564
|
-
VarActionItem: stdin_default$
|
|
3575
|
+
VarPopup: stdin_default$69,
|
|
3576
|
+
VarActionItem: stdin_default$63
|
|
3565
3577
|
},
|
|
3566
3578
|
inheritAttrs: false,
|
|
3567
3579
|
props: props$1i,
|
|
@@ -3582,34 +3594,34 @@ const __sfc__$1r = vue.defineComponent({
|
|
|
3582
3594
|
show,
|
|
3583
3595
|
pt,
|
|
3584
3596
|
t,
|
|
3585
|
-
n: n$
|
|
3597
|
+
n: n$1r,
|
|
3586
3598
|
classes: classes$18,
|
|
3587
3599
|
handleSelect
|
|
3588
3600
|
};
|
|
3589
3601
|
}
|
|
3590
3602
|
});
|
|
3591
|
-
__sfc__$
|
|
3592
|
-
var stdin_default$
|
|
3593
|
-
var __defProp$
|
|
3594
|
-
var __getOwnPropSymbols$
|
|
3595
|
-
var __hasOwnProp$
|
|
3596
|
-
var __propIsEnum$
|
|
3597
|
-
var __defNormalProp$
|
|
3598
|
-
var __spreadValues$
|
|
3603
|
+
__sfc__$1s.render = __render__$1p;
|
|
3604
|
+
var stdin_default$5Y = __sfc__$1s;
|
|
3605
|
+
var __defProp$u = Object.defineProperty;
|
|
3606
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
3607
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
3608
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
3609
|
+
var __defNormalProp$u = (obj, key3, value) => key3 in obj ? __defProp$u(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
3610
|
+
var __spreadValues$u = (a, b) => {
|
|
3599
3611
|
for (var prop in b || (b = {}))
|
|
3600
|
-
if (__hasOwnProp$
|
|
3601
|
-
__defNormalProp$
|
|
3602
|
-
if (__getOwnPropSymbols$
|
|
3603
|
-
for (var prop of __getOwnPropSymbols$
|
|
3604
|
-
if (__propIsEnum$
|
|
3605
|
-
__defNormalProp$
|
|
3612
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
3613
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
3614
|
+
if (__getOwnPropSymbols$u)
|
|
3615
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
3616
|
+
if (__propIsEnum$u.call(b, prop))
|
|
3617
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
3606
3618
|
}
|
|
3607
3619
|
return a;
|
|
3608
3620
|
};
|
|
3609
3621
|
let singletonOptions$3;
|
|
3610
3622
|
let defaultOptions$3 = {};
|
|
3611
3623
|
function normalizeOptions$3(options = {}) {
|
|
3612
|
-
return __spreadValues$
|
|
3624
|
+
return __spreadValues$u(__spreadValues$u({}, defaultOptions$3), options);
|
|
3613
3625
|
}
|
|
3614
3626
|
function ActionSheet(options) {
|
|
3615
3627
|
if (!inBrowser()) {
|
|
@@ -3620,7 +3632,7 @@ function ActionSheet(options) {
|
|
|
3620
3632
|
const reactiveActionSheetOptions = vue.reactive(normalizeOptions$3(options));
|
|
3621
3633
|
reactiveActionSheetOptions.teleport = "body";
|
|
3622
3634
|
singletonOptions$3 = reactiveActionSheetOptions;
|
|
3623
|
-
const { unmountInstance } = mountInstance(stdin_default$
|
|
3635
|
+
const { unmountInstance } = mountInstance(stdin_default$5Y, reactiveActionSheetOptions, {
|
|
3624
3636
|
onSelect: (action) => {
|
|
3625
3637
|
call(reactiveActionSheetOptions.onSelect, action);
|
|
3626
3638
|
resolve(action);
|
|
@@ -3660,12 +3672,12 @@ ActionSheet.close = function() {
|
|
|
3660
3672
|
});
|
|
3661
3673
|
}
|
|
3662
3674
|
};
|
|
3663
|
-
ActionSheet.Component = stdin_default$
|
|
3664
|
-
withInstall(stdin_default$
|
|
3665
|
-
withInstall(stdin_default$
|
|
3675
|
+
ActionSheet.Component = stdin_default$5Y;
|
|
3676
|
+
withInstall(stdin_default$5Y);
|
|
3677
|
+
withInstall(stdin_default$5Y, ActionSheet);
|
|
3666
3678
|
withPropsDefaultsSetter(ActionSheet, props$1i);
|
|
3667
|
-
const _ActionSheetComponent = stdin_default$
|
|
3668
|
-
var stdin_default$
|
|
3679
|
+
const _ActionSheetComponent = stdin_default$5Y;
|
|
3680
|
+
var stdin_default$5X = ActionSheet;
|
|
3669
3681
|
const props$1h = {
|
|
3670
3682
|
type: {
|
|
3671
3683
|
type: String,
|
|
@@ -3685,14 +3697,14 @@ const props$1h = {
|
|
|
3685
3697
|
},
|
|
3686
3698
|
onClose: defineListenerProp()
|
|
3687
3699
|
};
|
|
3688
|
-
const { name: name$
|
|
3700
|
+
const { name: name$1j, n: n$1q, classes: classes$17 } = createNamespace("alert");
|
|
3689
3701
|
const iconTypeMap = {
|
|
3690
3702
|
success: "checkbox-marked-circle",
|
|
3691
3703
|
warning: "warning",
|
|
3692
3704
|
info: "information",
|
|
3693
3705
|
danger: "error"
|
|
3694
3706
|
};
|
|
3695
|
-
function __render__$
|
|
3707
|
+
function __render__$1o(_ctx, _cache) {
|
|
3696
3708
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
3697
3709
|
return vue.openBlock(), vue.createElementBlock(
|
|
3698
3710
|
"div",
|
|
@@ -3789,10 +3801,10 @@ function __render__$1n(_ctx, _cache) {
|
|
|
3789
3801
|
/* CLASS, STYLE */
|
|
3790
3802
|
);
|
|
3791
3803
|
}
|
|
3792
|
-
const __sfc__$
|
|
3793
|
-
name: name$
|
|
3804
|
+
const __sfc__$1r = vue.defineComponent({
|
|
3805
|
+
name: name$1j,
|
|
3794
3806
|
components: {
|
|
3795
|
-
VarIcon: stdin_default$
|
|
3807
|
+
VarIcon: stdin_default$67
|
|
3796
3808
|
},
|
|
3797
3809
|
props: props$1h,
|
|
3798
3810
|
setup(props2) {
|
|
@@ -3801,7 +3813,7 @@ const __sfc__$1q = vue.defineComponent({
|
|
|
3801
3813
|
call(props2.onClose, e);
|
|
3802
3814
|
}
|
|
3803
3815
|
return {
|
|
3804
|
-
n: n$
|
|
3816
|
+
n: n$1q,
|
|
3805
3817
|
classes: classes$17,
|
|
3806
3818
|
iconTypeMap,
|
|
3807
3819
|
isInternalType,
|
|
@@ -3810,12 +3822,12 @@ const __sfc__$1q = vue.defineComponent({
|
|
|
3810
3822
|
};
|
|
3811
3823
|
}
|
|
3812
3824
|
});
|
|
3813
|
-
__sfc__$
|
|
3814
|
-
var stdin_default$
|
|
3815
|
-
withInstall(stdin_default$
|
|
3816
|
-
withPropsDefaultsSetter(stdin_default$
|
|
3817
|
-
const _AlertComponent = stdin_default$
|
|
3818
|
-
var stdin_default$
|
|
3825
|
+
__sfc__$1r.render = __render__$1o;
|
|
3826
|
+
var stdin_default$5W = __sfc__$1r;
|
|
3827
|
+
withInstall(stdin_default$5W);
|
|
3828
|
+
withPropsDefaultsSetter(stdin_default$5W, props$1h);
|
|
3829
|
+
const _AlertComponent = stdin_default$5W;
|
|
3830
|
+
var stdin_default$5V = stdin_default$5W;
|
|
3819
3831
|
const props$1g = {
|
|
3820
3832
|
color: String,
|
|
3821
3833
|
textColor: String,
|
|
@@ -3840,8 +3852,8 @@ const props$1g = {
|
|
|
3840
3852
|
fixed: Boolean,
|
|
3841
3853
|
placeholder: Boolean
|
|
3842
3854
|
};
|
|
3843
|
-
const { name: name$
|
|
3844
|
-
function __render__$
|
|
3855
|
+
const { name: name$1i, n: n$1p, classes: classes$16 } = createNamespace("app-bar");
|
|
3856
|
+
function __render__$1n(_ctx, _cache) {
|
|
3845
3857
|
return vue.openBlock(), vue.createElementBlock(
|
|
3846
3858
|
vue.Fragment,
|
|
3847
3859
|
null,
|
|
@@ -3971,8 +3983,8 @@ function __render__$1m(_ctx, _cache) {
|
|
|
3971
3983
|
/* STABLE_FRAGMENT */
|
|
3972
3984
|
);
|
|
3973
3985
|
}
|
|
3974
|
-
const __sfc__$
|
|
3975
|
-
name: name$
|
|
3986
|
+
const __sfc__$1q = vue.defineComponent({
|
|
3987
|
+
name: name$1i,
|
|
3976
3988
|
props: props$1g,
|
|
3977
3989
|
setup(props2, { slots }) {
|
|
3978
3990
|
const appBar = vue.ref(null);
|
|
@@ -4017,7 +4029,7 @@ const __sfc__$1p = vue.defineComponent({
|
|
|
4017
4029
|
rootStyles,
|
|
4018
4030
|
paddingLeft,
|
|
4019
4031
|
paddingRight,
|
|
4020
|
-
n: n$
|
|
4032
|
+
n: n$1p,
|
|
4021
4033
|
classes: classes$16,
|
|
4022
4034
|
formatElevation,
|
|
4023
4035
|
appBar,
|
|
@@ -4025,12 +4037,12 @@ const __sfc__$1p = vue.defineComponent({
|
|
|
4025
4037
|
};
|
|
4026
4038
|
}
|
|
4027
4039
|
});
|
|
4028
|
-
__sfc__$
|
|
4029
|
-
var stdin_default$
|
|
4030
|
-
withInstall(stdin_default$
|
|
4031
|
-
withPropsDefaultsSetter(stdin_default$
|
|
4032
|
-
const _AppBarComponent = stdin_default$
|
|
4033
|
-
var stdin_default$
|
|
4040
|
+
__sfc__$1q.render = __render__$1n;
|
|
4041
|
+
var stdin_default$5U = __sfc__$1q;
|
|
4042
|
+
withInstall(stdin_default$5U);
|
|
4043
|
+
withPropsDefaultsSetter(stdin_default$5U, props$1g);
|
|
4044
|
+
const _AppBarComponent = stdin_default$5U;
|
|
4045
|
+
var stdin_default$5T = stdin_default$5U;
|
|
4034
4046
|
const props$1f = {
|
|
4035
4047
|
errorMessage: {
|
|
4036
4048
|
type: String,
|
|
@@ -4041,10 +4053,10 @@ const props$1f = {
|
|
|
4041
4053
|
default: ""
|
|
4042
4054
|
}
|
|
4043
4055
|
};
|
|
4044
|
-
const { name: name$
|
|
4045
|
-
const _hoisted_1$
|
|
4056
|
+
const { name: name$1h, n: n$1o } = createNamespace("form-details");
|
|
4057
|
+
const _hoisted_1$A = { key: 0 };
|
|
4046
4058
|
const _hoisted_2$9 = { key: 0 };
|
|
4047
|
-
function __render__$
|
|
4059
|
+
function __render__$1m(_ctx, _cache) {
|
|
4048
4060
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
4049
4061
|
name: _ctx.n()
|
|
4050
4062
|
}, {
|
|
@@ -4068,7 +4080,7 @@ function __render__$1l(_ctx, _cache) {
|
|
|
4068
4080
|
default: vue.withCtx(() => [
|
|
4069
4081
|
_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4070
4082
|
"div",
|
|
4071
|
-
_hoisted_1$
|
|
4083
|
+
_hoisted_1$A,
|
|
4072
4084
|
vue.toDisplayString(_ctx.errorMessage),
|
|
4073
4085
|
1
|
|
4074
4086
|
/* TEXT */
|
|
@@ -4117,17 +4129,17 @@ function __render__$1l(_ctx, _cache) {
|
|
|
4117
4129
|
/* FORWARDED */
|
|
4118
4130
|
}, 8, ["name"]);
|
|
4119
4131
|
}
|
|
4120
|
-
const __sfc__$
|
|
4121
|
-
name: name$
|
|
4132
|
+
const __sfc__$1p = vue.defineComponent({
|
|
4133
|
+
name: name$1h,
|
|
4122
4134
|
props: props$1f,
|
|
4123
|
-
setup: () => ({ n: n$
|
|
4135
|
+
setup: () => ({ n: n$1o })
|
|
4124
4136
|
});
|
|
4125
|
-
__sfc__$
|
|
4126
|
-
var stdin_default$
|
|
4127
|
-
withInstall(stdin_default$
|
|
4128
|
-
withPropsDefaultsSetter(stdin_default$
|
|
4129
|
-
const _FormDetailsComponent = stdin_default$
|
|
4130
|
-
var stdin_default$
|
|
4137
|
+
__sfc__$1p.render = __render__$1m;
|
|
4138
|
+
var stdin_default$5S = __sfc__$1p;
|
|
4139
|
+
withInstall(stdin_default$5S);
|
|
4140
|
+
withPropsDefaultsSetter(stdin_default$5S, props$1f);
|
|
4141
|
+
const _FormDetailsComponent = stdin_default$5S;
|
|
4142
|
+
var stdin_default$5R = stdin_default$5S;
|
|
4131
4143
|
const props$1e = {
|
|
4132
4144
|
value: {
|
|
4133
4145
|
type: null,
|
|
@@ -4203,7 +4215,7 @@ function useSwipeResizeDispatcher() {
|
|
|
4203
4215
|
bindSwipeResizeDispatcher: bindParent
|
|
4204
4216
|
};
|
|
4205
4217
|
}
|
|
4206
|
-
var __async$
|
|
4218
|
+
var __async$k = (__this, __arguments, generator) => {
|
|
4207
4219
|
return new Promise((resolve, reject) => {
|
|
4208
4220
|
var fulfilled = (value) => {
|
|
4209
4221
|
try {
|
|
@@ -4223,9 +4235,9 @@ var __async$i = (__this, __arguments, generator) => {
|
|
|
4223
4235
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
4224
4236
|
});
|
|
4225
4237
|
};
|
|
4226
|
-
const { name: name$
|
|
4227
|
-
const _hoisted_1$
|
|
4228
|
-
function __render__$
|
|
4238
|
+
const { name: name$1g, n: n$1n, classes: classes$15 } = createNamespace("field-decorator");
|
|
4239
|
+
const _hoisted_1$z = ["for"];
|
|
4240
|
+
function __render__$1l(_ctx, _cache) {
|
|
4229
4241
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
4230
4242
|
return vue.openBlock(), vue.createElementBlock(
|
|
4231
4243
|
"div",
|
|
@@ -4304,7 +4316,7 @@ function __render__$1k(_ctx, _cache) {
|
|
|
4304
4316
|
1
|
|
4305
4317
|
/* TEXT */
|
|
4306
4318
|
)
|
|
4307
|
-
], 14, _hoisted_1$
|
|
4319
|
+
], 14, _hoisted_1$z)) : vue.createCommentVNode("v-if", true),
|
|
4308
4320
|
vue.createElementVNode(
|
|
4309
4321
|
"div",
|
|
4310
4322
|
{
|
|
@@ -4419,9 +4431,9 @@ function __render__$1k(_ctx, _cache) {
|
|
|
4419
4431
|
/* CLASS */
|
|
4420
4432
|
);
|
|
4421
4433
|
}
|
|
4422
|
-
const __sfc__$
|
|
4423
|
-
name: name$
|
|
4424
|
-
components: { VarIcon: stdin_default$
|
|
4434
|
+
const __sfc__$1o = vue.defineComponent({
|
|
4435
|
+
name: name$1g,
|
|
4436
|
+
components: { VarIcon: stdin_default$67 },
|
|
4425
4437
|
props: props$1e,
|
|
4426
4438
|
setup(props2) {
|
|
4427
4439
|
const placeholderTextEl = vue.ref(null);
|
|
@@ -4454,7 +4466,7 @@ const __sfc__$1n = vue.defineComponent({
|
|
|
4454
4466
|
if (popup) {
|
|
4455
4467
|
vue.watch(
|
|
4456
4468
|
() => popup.show.value,
|
|
4457
|
-
(show) => __async$
|
|
4469
|
+
(show) => __async$k(this, null, function* () {
|
|
4458
4470
|
if (show) {
|
|
4459
4471
|
yield doubleRaf();
|
|
4460
4472
|
resize();
|
|
@@ -4465,10 +4477,10 @@ const __sfc__$1n = vue.defineComponent({
|
|
|
4465
4477
|
function computePlaceholderState() {
|
|
4466
4478
|
const { hint, value, composing } = props2;
|
|
4467
4479
|
if (!hint && (!isEmpty(value) || composing)) {
|
|
4468
|
-
return n$
|
|
4480
|
+
return n$1n("--placeholder-hidden");
|
|
4469
4481
|
}
|
|
4470
4482
|
if (isFloating.value) {
|
|
4471
|
-
return n$
|
|
4483
|
+
return n$1n("--placeholder-hint");
|
|
4472
4484
|
}
|
|
4473
4485
|
}
|
|
4474
4486
|
function handleClear(e) {
|
|
@@ -4499,7 +4511,7 @@ const __sfc__$1n = vue.defineComponent({
|
|
|
4499
4511
|
transitionDisabled,
|
|
4500
4512
|
resize,
|
|
4501
4513
|
computePlaceholderState,
|
|
4502
|
-
n: n$
|
|
4514
|
+
n: n$1n,
|
|
4503
4515
|
classes: classes$15,
|
|
4504
4516
|
isEmpty,
|
|
4505
4517
|
handleClear,
|
|
@@ -4507,32 +4519,32 @@ const __sfc__$1n = vue.defineComponent({
|
|
|
4507
4519
|
};
|
|
4508
4520
|
}
|
|
4509
4521
|
});
|
|
4510
|
-
__sfc__$
|
|
4511
|
-
var stdin_default$
|
|
4512
|
-
withInstall(stdin_default$
|
|
4513
|
-
withPropsDefaultsSetter(stdin_default$
|
|
4514
|
-
const _FieldDecoratorComponent = stdin_default$
|
|
4515
|
-
var stdin_default$
|
|
4516
|
-
var __defProp$
|
|
4517
|
-
var __defProps$
|
|
4518
|
-
var __getOwnPropDescs$
|
|
4519
|
-
var __getOwnPropSymbols$
|
|
4520
|
-
var __hasOwnProp$
|
|
4521
|
-
var __propIsEnum$
|
|
4522
|
-
var __defNormalProp$
|
|
4523
|
-
var __spreadValues$
|
|
4522
|
+
__sfc__$1o.render = __render__$1l;
|
|
4523
|
+
var stdin_default$5Q = __sfc__$1o;
|
|
4524
|
+
withInstall(stdin_default$5Q);
|
|
4525
|
+
withPropsDefaultsSetter(stdin_default$5Q, props$1e);
|
|
4526
|
+
const _FieldDecoratorComponent = stdin_default$5Q;
|
|
4527
|
+
var stdin_default$5P = stdin_default$5Q;
|
|
4528
|
+
var __defProp$t = Object.defineProperty;
|
|
4529
|
+
var __defProps$b = Object.defineProperties;
|
|
4530
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
4531
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
4532
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
4533
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
4534
|
+
var __defNormalProp$t = (obj, key3, value) => key3 in obj ? __defProp$t(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
4535
|
+
var __spreadValues$t = (a, b) => {
|
|
4524
4536
|
for (var prop in b || (b = {}))
|
|
4525
|
-
if (__hasOwnProp$
|
|
4526
|
-
__defNormalProp$
|
|
4527
|
-
if (__getOwnPropSymbols$
|
|
4528
|
-
for (var prop of __getOwnPropSymbols$
|
|
4529
|
-
if (__propIsEnum$
|
|
4530
|
-
__defNormalProp$
|
|
4537
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
4538
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
4539
|
+
if (__getOwnPropSymbols$t)
|
|
4540
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
4541
|
+
if (__propIsEnum$t.call(b, prop))
|
|
4542
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
4531
4543
|
}
|
|
4532
4544
|
return a;
|
|
4533
4545
|
};
|
|
4534
|
-
var __spreadProps$
|
|
4535
|
-
const props$1d = __spreadProps$
|
|
4546
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
4547
|
+
const props$1d = __spreadProps$b(__spreadValues$t({
|
|
4536
4548
|
modelValue: String,
|
|
4537
4549
|
modelModifiers: {
|
|
4538
4550
|
type: Object,
|
|
@@ -4592,31 +4604,31 @@ const props$1d = __spreadProps$a(__spreadValues$r({
|
|
|
4592
4604
|
}
|
|
4593
4605
|
// internal end
|
|
4594
4606
|
});
|
|
4595
|
-
var __defProp$
|
|
4596
|
-
var __defProps$
|
|
4597
|
-
var __getOwnPropDescs$
|
|
4598
|
-
var __getOwnPropSymbols$
|
|
4599
|
-
var __hasOwnProp$
|
|
4600
|
-
var __propIsEnum$
|
|
4601
|
-
var __defNormalProp$
|
|
4602
|
-
var __spreadValues$
|
|
4607
|
+
var __defProp$s = Object.defineProperty;
|
|
4608
|
+
var __defProps$a = Object.defineProperties;
|
|
4609
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
4610
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
4611
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
4612
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
4613
|
+
var __defNormalProp$s = (obj, key3, value) => key3 in obj ? __defProp$s(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
4614
|
+
var __spreadValues$s = (a, b) => {
|
|
4603
4615
|
for (var prop in b || (b = {}))
|
|
4604
|
-
if (__hasOwnProp$
|
|
4605
|
-
__defNormalProp$
|
|
4606
|
-
if (__getOwnPropSymbols$
|
|
4607
|
-
for (var prop of __getOwnPropSymbols$
|
|
4608
|
-
if (__propIsEnum$
|
|
4609
|
-
__defNormalProp$
|
|
4616
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
4617
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
4618
|
+
if (__getOwnPropSymbols$s)
|
|
4619
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
4620
|
+
if (__propIsEnum$s.call(b, prop))
|
|
4621
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
4610
4622
|
}
|
|
4611
4623
|
return a;
|
|
4612
4624
|
};
|
|
4613
|
-
var __spreadProps$
|
|
4625
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
4614
4626
|
const FORM_BIND_FORM_ITEM_KEY = Symbol("FORM_BIND_FORM_ITEM_KEY");
|
|
4615
4627
|
function useForm() {
|
|
4616
4628
|
const { parentProvider, index, bindParent } = useParent(FORM_BIND_FORM_ITEM_KEY);
|
|
4617
4629
|
const instance = vue.getCurrentInstance();
|
|
4618
4630
|
const bindForm = bindParent ? (formItemProvider) => {
|
|
4619
|
-
bindParent(__spreadProps$
|
|
4631
|
+
bindParent(__spreadProps$a(__spreadValues$s({}, formItemProvider), { instance }));
|
|
4620
4632
|
} : null;
|
|
4621
4633
|
return {
|
|
4622
4634
|
index,
|
|
@@ -4632,11 +4644,11 @@ function useFormItems() {
|
|
|
4632
4644
|
bindFormItems: bindChildren
|
|
4633
4645
|
};
|
|
4634
4646
|
}
|
|
4635
|
-
const { name: name$
|
|
4636
|
-
const _hoisted_1$
|
|
4647
|
+
const { name: name$1f, n: n$1m, classes: classes$14 } = createNamespace("input");
|
|
4648
|
+
const _hoisted_1$y = ["placeholder", "enterkeyhint"];
|
|
4637
4649
|
const _hoisted_2$8 = ["autocomplete", "id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
|
|
4638
4650
|
const _hoisted_3$4 = ["autocomplete", "id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
|
|
4639
|
-
function __render__$
|
|
4651
|
+
function __render__$1k(_ctx, _cache) {
|
|
4640
4652
|
const _component_var_field_decorator = vue.resolveComponent("var-field-decorator");
|
|
4641
4653
|
const _component_var_form_details = vue.resolveComponent("var-form-details");
|
|
4642
4654
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -4687,7 +4699,7 @@ function __render__$1j(_ctx, _cache) {
|
|
|
4687
4699
|
"--input-placeholder-color": _ctx.placeholderColor
|
|
4688
4700
|
}),
|
|
4689
4701
|
enterkeyhint: _ctx.enterkeyhint
|
|
4690
|
-
}, null, 14, _hoisted_1$
|
|
4702
|
+
}, null, 14, _hoisted_1$y)) : vue.createCommentVNode("v-if", true),
|
|
4691
4703
|
_ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
|
|
4692
4704
|
key: 1,
|
|
4693
4705
|
class: vue.normalizeClass(
|
|
@@ -4792,11 +4804,11 @@ function __render__$1j(_ctx, _cache) {
|
|
|
4792
4804
|
/* CLASS, NEED_HYDRATION */
|
|
4793
4805
|
);
|
|
4794
4806
|
}
|
|
4795
|
-
const __sfc__$
|
|
4796
|
-
name: name$
|
|
4807
|
+
const __sfc__$1n = vue.defineComponent({
|
|
4808
|
+
name: name$1f,
|
|
4797
4809
|
components: {
|
|
4798
|
-
VarFormDetails: stdin_default$
|
|
4799
|
-
VarFieldDecorator: stdin_default$
|
|
4810
|
+
VarFormDetails: stdin_default$5R,
|
|
4811
|
+
VarFieldDecorator: stdin_default$5P
|
|
4800
4812
|
},
|
|
4801
4813
|
props: props$1d,
|
|
4802
4814
|
setup(props2) {
|
|
@@ -4976,7 +4988,7 @@ const __sfc__$1m = vue.defineComponent({
|
|
|
4976
4988
|
maxlengthText,
|
|
4977
4989
|
formDisabled: form == null ? void 0 : form.disabled,
|
|
4978
4990
|
formReadonly: form == null ? void 0 : form.readonly,
|
|
4979
|
-
n: n$
|
|
4991
|
+
n: n$1m,
|
|
4980
4992
|
classes: classes$14,
|
|
4981
4993
|
isEmpty,
|
|
4982
4994
|
handleFocus,
|
|
@@ -4996,12 +5008,12 @@ const __sfc__$1m = vue.defineComponent({
|
|
|
4996
5008
|
};
|
|
4997
5009
|
}
|
|
4998
5010
|
});
|
|
4999
|
-
__sfc__$
|
|
5000
|
-
var stdin_default$
|
|
5001
|
-
withInstall(stdin_default$
|
|
5002
|
-
withPropsDefaultsSetter(stdin_default$
|
|
5003
|
-
const _InputComponent = stdin_default$
|
|
5004
|
-
var stdin_default$
|
|
5011
|
+
__sfc__$1n.render = __render__$1k;
|
|
5012
|
+
var stdin_default$5O = __sfc__$1n;
|
|
5013
|
+
withInstall(stdin_default$5O);
|
|
5014
|
+
withPropsDefaultsSetter(stdin_default$5O, props$1d);
|
|
5015
|
+
const _InputComponent = stdin_default$5O;
|
|
5016
|
+
var stdin_default$5N = stdin_default$5O;
|
|
5005
5017
|
const props$1c = {
|
|
5006
5018
|
show: Boolean,
|
|
5007
5019
|
disabled: Boolean,
|
|
@@ -5050,7 +5062,10 @@ const props$1c = {
|
|
|
5050
5062
|
onClose: defineListenerProp(),
|
|
5051
5063
|
onClosed: defineListenerProp(),
|
|
5052
5064
|
onClickOutside: defineListenerProp(),
|
|
5053
|
-
"onUpdate:show": defineListenerProp()
|
|
5065
|
+
"onUpdate:show": defineListenerProp(),
|
|
5066
|
+
// internal start
|
|
5067
|
+
cascadeOptimization: Boolean
|
|
5068
|
+
// internal end
|
|
5054
5069
|
};
|
|
5055
5070
|
var hash$1 = {
|
|
5056
5071
|
left: "right",
|
|
@@ -6317,26 +6332,26 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
6317
6332
|
var createPopper = /* @__PURE__ */ popperGenerator({
|
|
6318
6333
|
defaultModifiers
|
|
6319
6334
|
});
|
|
6320
|
-
var __defProp$
|
|
6321
|
-
var __defProps$
|
|
6322
|
-
var __getOwnPropDescs$
|
|
6323
|
-
var __getOwnPropSymbols$
|
|
6324
|
-
var __hasOwnProp$
|
|
6325
|
-
var __propIsEnum$
|
|
6326
|
-
var __defNormalProp$
|
|
6327
|
-
var __spreadValues$
|
|
6335
|
+
var __defProp$r = Object.defineProperty;
|
|
6336
|
+
var __defProps$9 = Object.defineProperties;
|
|
6337
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
6338
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
6339
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
6340
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
6341
|
+
var __defNormalProp$r = (obj, key3, value) => key3 in obj ? __defProp$r(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
6342
|
+
var __spreadValues$r = (a, b) => {
|
|
6328
6343
|
for (var prop in b || (b = {}))
|
|
6329
|
-
if (__hasOwnProp$
|
|
6330
|
-
__defNormalProp$
|
|
6331
|
-
if (__getOwnPropSymbols$
|
|
6332
|
-
for (var prop of __getOwnPropSymbols$
|
|
6333
|
-
if (__propIsEnum$
|
|
6334
|
-
__defNormalProp$
|
|
6344
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
6345
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
6346
|
+
if (__getOwnPropSymbols$r)
|
|
6347
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
6348
|
+
if (__propIsEnum$r.call(b, prop))
|
|
6349
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
6335
6350
|
}
|
|
6336
6351
|
return a;
|
|
6337
6352
|
};
|
|
6338
|
-
var __spreadProps$
|
|
6339
|
-
var __async$
|
|
6353
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
6354
|
+
var __async$j = (__this, __arguments, generator) => {
|
|
6340
6355
|
return new Promise((resolve, reject) => {
|
|
6341
6356
|
var fulfilled = (value) => {
|
|
6342
6357
|
try {
|
|
@@ -6377,6 +6392,7 @@ function usePopover(options) {
|
|
|
6377
6392
|
let reference2 = void 0;
|
|
6378
6393
|
let enterPopover = false;
|
|
6379
6394
|
let enterReference = false;
|
|
6395
|
+
let allowClose = true;
|
|
6380
6396
|
useEventListener(() => window, "keydown", handleKeydown);
|
|
6381
6397
|
vue.watch(() => [options.offsetX, options.offsetY, options.placement, options.strategy], resize);
|
|
6382
6398
|
vue.watch(() => options.disabled, close);
|
|
@@ -6460,7 +6476,7 @@ function usePopover(options) {
|
|
|
6460
6476
|
open();
|
|
6461
6477
|
}
|
|
6462
6478
|
function handleReferenceMouseleave() {
|
|
6463
|
-
return __async$
|
|
6479
|
+
return __async$j(this, null, function* () {
|
|
6464
6480
|
if (options.trigger !== "hover") {
|
|
6465
6481
|
return;
|
|
6466
6482
|
}
|
|
@@ -6477,9 +6493,12 @@ function usePopover(options) {
|
|
|
6477
6493
|
return;
|
|
6478
6494
|
}
|
|
6479
6495
|
enterPopover = true;
|
|
6496
|
+
if (options.cascadeOptimization) {
|
|
6497
|
+
allowClose = false;
|
|
6498
|
+
}
|
|
6480
6499
|
}
|
|
6481
6500
|
function handlePopoverMouseleave() {
|
|
6482
|
-
return __async$
|
|
6501
|
+
return __async$j(this, null, function* () {
|
|
6483
6502
|
if (options.trigger !== "hover") {
|
|
6484
6503
|
return;
|
|
6485
6504
|
}
|
|
@@ -6611,15 +6630,15 @@ function usePopover(options) {
|
|
|
6611
6630
|
function getPopperOptions() {
|
|
6612
6631
|
const { placement, skidding, distance } = getPosition();
|
|
6613
6632
|
const modifiers = [
|
|
6614
|
-
__spreadProps$
|
|
6633
|
+
__spreadProps$9(__spreadValues$r({}, flip$1), {
|
|
6615
6634
|
enabled: show.value
|
|
6616
6635
|
}),
|
|
6617
|
-
__spreadProps$
|
|
6636
|
+
__spreadProps$9(__spreadValues$r({}, offset$1), {
|
|
6618
6637
|
options: {
|
|
6619
6638
|
offset: [skidding, distance]
|
|
6620
6639
|
}
|
|
6621
6640
|
}),
|
|
6622
|
-
__spreadProps$
|
|
6641
|
+
__spreadProps$9(__spreadValues$r({}, computeStyles$1), {
|
|
6623
6642
|
options: {
|
|
6624
6643
|
adaptive: false,
|
|
6625
6644
|
gpuAcceleration: false
|
|
@@ -6649,6 +6668,9 @@ function usePopover(options) {
|
|
|
6649
6668
|
}
|
|
6650
6669
|
return targetReference;
|
|
6651
6670
|
}
|
|
6671
|
+
function setAllowClose(value) {
|
|
6672
|
+
allowClose = value;
|
|
6673
|
+
}
|
|
6652
6674
|
function setReference(newReference) {
|
|
6653
6675
|
destroyPopperInstance();
|
|
6654
6676
|
reference2 = newReference;
|
|
@@ -6672,6 +6694,9 @@ function usePopover(options) {
|
|
|
6672
6694
|
call(options["onUpdate:show"], true);
|
|
6673
6695
|
}
|
|
6674
6696
|
function close() {
|
|
6697
|
+
if (!allowClose) {
|
|
6698
|
+
return;
|
|
6699
|
+
}
|
|
6675
6700
|
show.value = false;
|
|
6676
6701
|
call(options["onUpdate:show"], false);
|
|
6677
6702
|
}
|
|
@@ -6686,13 +6711,14 @@ function usePopover(options) {
|
|
|
6686
6711
|
handlePopoverMouseleave,
|
|
6687
6712
|
handleClosed,
|
|
6688
6713
|
setReference,
|
|
6714
|
+
setAllowClose,
|
|
6689
6715
|
resize,
|
|
6690
6716
|
open,
|
|
6691
6717
|
close
|
|
6692
6718
|
};
|
|
6693
6719
|
}
|
|
6694
|
-
const { name: name$
|
|
6695
|
-
function __render__$
|
|
6720
|
+
const { name: name$1e, n: n$1l, classes: classes$13 } = createNamespace("menu");
|
|
6721
|
+
function __render__$1j(_ctx, _cache) {
|
|
6696
6722
|
return vue.openBlock(), vue.createElementBlock(
|
|
6697
6723
|
"div",
|
|
6698
6724
|
{
|
|
@@ -6752,8 +6778,8 @@ function __render__$1i(_ctx, _cache) {
|
|
|
6752
6778
|
/* CLASS */
|
|
6753
6779
|
);
|
|
6754
6780
|
}
|
|
6755
|
-
const __sfc__$
|
|
6756
|
-
name: name$
|
|
6781
|
+
const __sfc__$1m = vue.defineComponent({
|
|
6782
|
+
name: name$1e,
|
|
6757
6783
|
props: props$1c,
|
|
6758
6784
|
setup(props2) {
|
|
6759
6785
|
const { disabled: teleportDisabled } = useTeleport();
|
|
@@ -6767,6 +6793,7 @@ const __sfc__$1l = vue.defineComponent({
|
|
|
6767
6793
|
handlePopoverMouseleave,
|
|
6768
6794
|
handlePopoverClose,
|
|
6769
6795
|
handleClosed,
|
|
6796
|
+
setAllowClose,
|
|
6770
6797
|
// expose
|
|
6771
6798
|
open,
|
|
6772
6799
|
// expose
|
|
@@ -6776,6 +6803,9 @@ const __sfc__$1l = vue.defineComponent({
|
|
|
6776
6803
|
// expose
|
|
6777
6804
|
setReference
|
|
6778
6805
|
} = usePopover(props2);
|
|
6806
|
+
function allowClose() {
|
|
6807
|
+
setAllowClose(true);
|
|
6808
|
+
}
|
|
6779
6809
|
return {
|
|
6780
6810
|
popover,
|
|
6781
6811
|
host,
|
|
@@ -6783,9 +6813,10 @@ const __sfc__$1l = vue.defineComponent({
|
|
|
6783
6813
|
show,
|
|
6784
6814
|
zIndex,
|
|
6785
6815
|
teleportDisabled,
|
|
6816
|
+
allowClose,
|
|
6786
6817
|
formatElevation,
|
|
6787
6818
|
toSizeUnit,
|
|
6788
|
-
n: n$
|
|
6819
|
+
n: n$1l,
|
|
6789
6820
|
classes: classes$13,
|
|
6790
6821
|
handlePopoverMouseenter,
|
|
6791
6822
|
handlePopoverMouseleave,
|
|
@@ -6798,12 +6829,12 @@ const __sfc__$1l = vue.defineComponent({
|
|
|
6798
6829
|
};
|
|
6799
6830
|
}
|
|
6800
6831
|
});
|
|
6801
|
-
__sfc__$
|
|
6802
|
-
var stdin_default$
|
|
6803
|
-
withInstall(stdin_default$
|
|
6804
|
-
withPropsDefaultsSetter(stdin_default$
|
|
6805
|
-
const _MenuComponent = stdin_default$
|
|
6806
|
-
var stdin_default$
|
|
6832
|
+
__sfc__$1m.render = __render__$1j;
|
|
6833
|
+
var stdin_default$5M = __sfc__$1m;
|
|
6834
|
+
withInstall(stdin_default$5M);
|
|
6835
|
+
withPropsDefaultsSetter(stdin_default$5M, props$1c);
|
|
6836
|
+
const _MenuComponent = stdin_default$5M;
|
|
6837
|
+
var stdin_default$5L = stdin_default$5M;
|
|
6807
6838
|
const props$1b = {
|
|
6808
6839
|
modelValue: {
|
|
6809
6840
|
type: [String, Number, Boolean, Object, Array],
|
|
@@ -6858,9 +6889,9 @@ function useCheckboxGroup() {
|
|
|
6858
6889
|
bindCheckboxGroup: bindParent
|
|
6859
6890
|
};
|
|
6860
6891
|
}
|
|
6861
|
-
const { name: name$
|
|
6862
|
-
const _hoisted_1$
|
|
6863
|
-
function __render__$
|
|
6892
|
+
const { name: name$1d, n: n$1k, classes: classes$12 } = createNamespace("checkbox");
|
|
6893
|
+
const _hoisted_1$x = ["tabindex"];
|
|
6894
|
+
function __render__$1i(_ctx, _cache) {
|
|
6864
6895
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
6865
6896
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
6866
6897
|
const _component_var_form_details = vue.resolveComponent("var-form-details");
|
|
@@ -6896,7 +6927,7 @@ function __render__$1h(_ctx, _cache) {
|
|
|
6896
6927
|
}, [
|
|
6897
6928
|
_ctx.isIndeterminate ? vue.renderSlot(_ctx.$slots, "indeterminate-icon", { key: 0 }, () => [
|
|
6898
6929
|
vue.createVNode(_component_var_icon, {
|
|
6899
|
-
class: vue.normalizeClass(_ctx.
|
|
6930
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
6900
6931
|
name: "minus-box",
|
|
6901
6932
|
size: _ctx.iconSize,
|
|
6902
6933
|
"var-checkbox-cover": ""
|
|
@@ -6904,7 +6935,7 @@ function __render__$1h(_ctx, _cache) {
|
|
|
6904
6935
|
]) : vue.createCommentVNode("v-if", true),
|
|
6905
6936
|
_ctx.checked && !_ctx.isIndeterminate ? vue.renderSlot(_ctx.$slots, "checked-icon", { key: 1 }, () => [
|
|
6906
6937
|
vue.createVNode(_component_var_icon, {
|
|
6907
|
-
class: vue.normalizeClass(_ctx.
|
|
6938
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
6908
6939
|
name: "checkbox-marked",
|
|
6909
6940
|
size: _ctx.iconSize,
|
|
6910
6941
|
"var-checkbox-cover": ""
|
|
@@ -6912,7 +6943,7 @@ function __render__$1h(_ctx, _cache) {
|
|
|
6912
6943
|
]) : vue.createCommentVNode("v-if", true),
|
|
6913
6944
|
!_ctx.checked && !_ctx.isIndeterminate ? vue.renderSlot(_ctx.$slots, "unchecked-icon", { key: 2 }, () => [
|
|
6914
6945
|
vue.createVNode(_component_var_icon, {
|
|
6915
|
-
class: vue.normalizeClass(_ctx.
|
|
6946
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
6916
6947
|
name: "checkbox-blank-outline",
|
|
6917
6948
|
size: _ctx.iconSize,
|
|
6918
6949
|
"var-checkbox-cover": ""
|
|
@@ -6922,7 +6953,7 @@ function __render__$1h(_ctx, _cache) {
|
|
|
6922
6953
|
hovering: !_ctx.disabled && !_ctx.formDisabled && _ctx.hovering,
|
|
6923
6954
|
focusing: !_ctx.disabled && !_ctx.formDisabled && _ctx.isFocusing
|
|
6924
6955
|
}, null, 8, ["hovering", "focusing"])
|
|
6925
|
-
], 46, _hoisted_1$
|
|
6956
|
+
], 46, _hoisted_1$x)), [
|
|
6926
6957
|
[_directive_hover, _ctx.handleHovering, "desktop"],
|
|
6927
6958
|
[_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }]
|
|
6928
6959
|
]),
|
|
@@ -6955,13 +6986,13 @@ function __render__$1h(_ctx, _cache) {
|
|
|
6955
6986
|
/* CLASS */
|
|
6956
6987
|
);
|
|
6957
6988
|
}
|
|
6958
|
-
const __sfc__$
|
|
6959
|
-
name: name$
|
|
6960
|
-
directives: { Ripple: stdin_default$
|
|
6989
|
+
const __sfc__$1l = vue.defineComponent({
|
|
6990
|
+
name: name$1d,
|
|
6991
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
6961
6992
|
components: {
|
|
6962
|
-
VarIcon: stdin_default$
|
|
6963
|
-
VarFormDetails: stdin_default$
|
|
6964
|
-
VarHoverOverlay: stdin_default$
|
|
6993
|
+
VarIcon: stdin_default$67,
|
|
6994
|
+
VarFormDetails: stdin_default$5R,
|
|
6995
|
+
VarHoverOverlay: stdin_default$65
|
|
6965
6996
|
},
|
|
6966
6997
|
props: props$1b,
|
|
6967
6998
|
setup(props2) {
|
|
@@ -6971,7 +7002,6 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
6971
7002
|
const isIndeterminate = useVModel(props2, "indeterminate");
|
|
6972
7003
|
const checked = vue.computed(() => value.value === props2.checkedValue);
|
|
6973
7004
|
const checkedValue = vue.computed(() => props2.checkedValue);
|
|
6974
|
-
const withAnimation = vue.ref(false);
|
|
6975
7005
|
const { checkboxGroup, bindCheckboxGroup } = useCheckboxGroup();
|
|
6976
7006
|
const { hovering, handleHovering } = useHoverOverlay();
|
|
6977
7007
|
const { form, bindForm } = useForm();
|
|
@@ -6988,8 +7018,7 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
6988
7018
|
sync,
|
|
6989
7019
|
validate,
|
|
6990
7020
|
resetValidation,
|
|
6991
|
-
reset
|
|
6992
|
-
resetWithAnimation
|
|
7021
|
+
reset
|
|
6993
7022
|
};
|
|
6994
7023
|
call(bindCheckboxGroup, checkboxProvider);
|
|
6995
7024
|
call(bindForm, checkboxProvider);
|
|
@@ -7004,8 +7033,7 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
7004
7033
|
function change(changedValue) {
|
|
7005
7034
|
const { checkedValue: checkedValue2, onChange } = props2;
|
|
7006
7035
|
value.value = changedValue;
|
|
7007
|
-
isIndeterminate.value
|
|
7008
|
-
call(onChange, value.value);
|
|
7036
|
+
call(onChange, value.value, isIndeterminate.value);
|
|
7009
7037
|
validateWithTrigger("onChange");
|
|
7010
7038
|
changedValue === checkedValue2 ? checkboxGroup == null ? void 0 : checkboxGroup.onChecked(checkedValue2) : checkboxGroup == null ? void 0 : checkboxGroup.onUnchecked(checkedValue2);
|
|
7011
7039
|
}
|
|
@@ -7018,7 +7046,12 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
7018
7046
|
if ((form == null ? void 0 : form.readonly.value) || readonly) {
|
|
7019
7047
|
return;
|
|
7020
7048
|
}
|
|
7021
|
-
|
|
7049
|
+
if (isIndeterminate.value === true) {
|
|
7050
|
+
isIndeterminate.value = false;
|
|
7051
|
+
call(props2.onChange, value.value, isIndeterminate.value);
|
|
7052
|
+
validateWithTrigger("onChange");
|
|
7053
|
+
return;
|
|
7054
|
+
}
|
|
7022
7055
|
const maximum = checkboxGroup ? checkboxGroup.checkedCount.value >= Number(checkboxGroup.max.value) : false;
|
|
7023
7056
|
if (!checked.value && maximum) {
|
|
7024
7057
|
return;
|
|
@@ -7032,9 +7065,6 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
7032
7065
|
const { checkedValue: checkedValue2, uncheckedValue } = props2;
|
|
7033
7066
|
value.value = values.includes(checkedValue2) ? checkedValue2 : uncheckedValue;
|
|
7034
7067
|
}
|
|
7035
|
-
function resetWithAnimation() {
|
|
7036
|
-
withAnimation.value = false;
|
|
7037
|
-
}
|
|
7038
7068
|
function reset() {
|
|
7039
7069
|
value.value = props2.uncheckedValue;
|
|
7040
7070
|
resetValidation();
|
|
@@ -7075,14 +7105,13 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
7075
7105
|
action,
|
|
7076
7106
|
isFocusing,
|
|
7077
7107
|
isIndeterminate,
|
|
7078
|
-
withAnimation,
|
|
7079
7108
|
checked,
|
|
7080
7109
|
errorMessage,
|
|
7081
7110
|
checkboxGroupErrorMessage: checkboxGroup == null ? void 0 : checkboxGroup.errorMessage,
|
|
7082
7111
|
formDisabled: form == null ? void 0 : form.disabled,
|
|
7083
7112
|
formReadonly: form == null ? void 0 : form.readonly,
|
|
7084
7113
|
hovering,
|
|
7085
|
-
n: n$
|
|
7114
|
+
n: n$1k,
|
|
7086
7115
|
classes: classes$12,
|
|
7087
7116
|
handleHovering,
|
|
7088
7117
|
handleClick,
|
|
@@ -7094,12 +7123,12 @@ const __sfc__$1k = vue.defineComponent({
|
|
|
7094
7123
|
};
|
|
7095
7124
|
}
|
|
7096
7125
|
});
|
|
7097
|
-
__sfc__$
|
|
7098
|
-
var stdin_default$
|
|
7099
|
-
withInstall(stdin_default$
|
|
7100
|
-
withPropsDefaultsSetter(stdin_default$
|
|
7101
|
-
const _CheckboxComponent = stdin_default$
|
|
7102
|
-
var stdin_default$
|
|
7126
|
+
__sfc__$1l.render = __render__$1i;
|
|
7127
|
+
var stdin_default$5K = __sfc__$1l;
|
|
7128
|
+
withInstall(stdin_default$5K);
|
|
7129
|
+
withPropsDefaultsSetter(stdin_default$5K, props$1b);
|
|
7130
|
+
const _CheckboxComponent = stdin_default$5K;
|
|
7131
|
+
var stdin_default$5J = stdin_default$5K;
|
|
7103
7132
|
const MENU_SELECT_BIND_MENU_OPTION_KEY = Symbol("MENU_SELECT_BIND_MENU_OPTION_KEY");
|
|
7104
7133
|
function useMenuOptions() {
|
|
7105
7134
|
const { length, childProviders, bindChildren } = useChildren(
|
|
@@ -7130,26 +7159,58 @@ const props$1a = {
|
|
|
7130
7159
|
type: Boolean,
|
|
7131
7160
|
default: true
|
|
7132
7161
|
},
|
|
7133
|
-
// internal
|
|
7134
|
-
option: Object
|
|
7162
|
+
// internal start
|
|
7163
|
+
option: Object,
|
|
7164
|
+
childrenTrigger: Boolean,
|
|
7165
|
+
highlight: Boolean,
|
|
7166
|
+
onKeyArrowX: defineListenerProp()
|
|
7167
|
+
// internal end
|
|
7135
7168
|
};
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7169
|
+
var __async$i = (__this, __arguments, generator) => {
|
|
7170
|
+
return new Promise((resolve, reject) => {
|
|
7171
|
+
var fulfilled = (value) => {
|
|
7172
|
+
try {
|
|
7173
|
+
step(generator.next(value));
|
|
7174
|
+
} catch (e) {
|
|
7175
|
+
reject(e);
|
|
7176
|
+
}
|
|
7177
|
+
};
|
|
7178
|
+
var rejected = (value) => {
|
|
7179
|
+
try {
|
|
7180
|
+
step(generator.throw(value));
|
|
7181
|
+
} catch (e) {
|
|
7182
|
+
reject(e);
|
|
7183
|
+
}
|
|
7184
|
+
};
|
|
7185
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
7186
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
7187
|
+
});
|
|
7188
|
+
};
|
|
7189
|
+
const { name: name$1c, n: n$1j, classes: classes$11 } = createNamespace("menu-option");
|
|
7190
|
+
const _hoisted_1$w = ["tabindex"];
|
|
7191
|
+
function __render__$1h(_ctx, _cache) {
|
|
7139
7192
|
const _component_var_checkbox = vue.resolveComponent("var-checkbox");
|
|
7140
7193
|
const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
|
|
7194
|
+
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
7141
7195
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
7142
7196
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
7143
7197
|
const _directive_hover = vue.resolveDirective("hover");
|
|
7144
7198
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
7145
7199
|
ref: "root",
|
|
7146
7200
|
class: vue.normalizeClass(
|
|
7147
|
-
_ctx.classes(
|
|
7201
|
+
_ctx.classes(
|
|
7202
|
+
_ctx.n(),
|
|
7203
|
+
_ctx.n("$--box"),
|
|
7204
|
+
_ctx.n(`--${_ctx.size}`),
|
|
7205
|
+
[_ctx.optionSelected, _ctx.n("--selected-color")],
|
|
7206
|
+
[_ctx.disabled, _ctx.n("--disabled")],
|
|
7207
|
+
[_ctx.childrenTrigger, _ctx.n("--children-trigger")]
|
|
7208
|
+
)
|
|
7148
7209
|
),
|
|
7149
7210
|
tabindex: _ctx.disabled ? void 0 : "-1",
|
|
7150
|
-
onClick: _cache[
|
|
7151
|
-
onFocus: _cache[
|
|
7152
|
-
onBlur: _cache[
|
|
7211
|
+
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleClick && _ctx.handleClick(...args)),
|
|
7212
|
+
onFocus: _cache[4] || (_cache[4] = ($event) => _ctx.isFocusing = true),
|
|
7213
|
+
onBlur: _cache[5] || (_cache[5] = ($event) => _ctx.isFocusing = false)
|
|
7153
7214
|
}, [
|
|
7154
7215
|
vue.createElementVNode(
|
|
7155
7216
|
"div",
|
|
@@ -7165,11 +7226,13 @@ function __render__$1g(_ctx, _cache) {
|
|
|
7165
7226
|
ref: "checkbox",
|
|
7166
7227
|
modelValue: _ctx.optionSelected,
|
|
7167
7228
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.optionSelected = $event),
|
|
7229
|
+
indeterminate: _ctx.optionIndeterminate,
|
|
7230
|
+
"onUpdate:indeterminate": _cache[1] || (_cache[1] = ($event) => _ctx.optionIndeterminate = $event),
|
|
7168
7231
|
disabled: _ctx.disabled,
|
|
7169
|
-
onClick: _cache[
|
|
7232
|
+
onClick: _cache[2] || (_cache[2] = vue.withModifiers(() => {
|
|
7170
7233
|
}, ["stop"])),
|
|
7171
7234
|
onChange: _ctx.handleSelect
|
|
7172
|
-
}, null, 8, ["modelValue", "disabled", "onChange"])) : vue.createCommentVNode("v-if", true),
|
|
7235
|
+
}, null, 8, ["modelValue", "indeterminate", "disabled", "onChange"])) : vue.createCommentVNode("v-if", true),
|
|
7173
7236
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
7174
7237
|
vue.createElementVNode(
|
|
7175
7238
|
"div",
|
|
@@ -7186,29 +7249,55 @@ function __render__$1g(_ctx, _cache) {
|
|
|
7186
7249
|
/* CLASS */
|
|
7187
7250
|
)
|
|
7188
7251
|
]),
|
|
7252
|
+
_ctx.childrenTrigger ? (vue.openBlock(), vue.createElementBlock(
|
|
7253
|
+
"div",
|
|
7254
|
+
{
|
|
7255
|
+
key: 1,
|
|
7256
|
+
class: vue.normalizeClass(_ctx.n("arrow"))
|
|
7257
|
+
},
|
|
7258
|
+
[
|
|
7259
|
+
vue.createVNode(_component_var_icon, {
|
|
7260
|
+
"var-menu-option-cover": "",
|
|
7261
|
+
class: vue.normalizeClass(_ctx.n("arrow-icon")),
|
|
7262
|
+
name: "chevron-right"
|
|
7263
|
+
}, null, 8, ["class"])
|
|
7264
|
+
],
|
|
7265
|
+
2
|
|
7266
|
+
/* CLASS */
|
|
7267
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
7189
7268
|
vue.createVNode(_component_var_hover_overlay, {
|
|
7190
|
-
hovering: _ctx.hovering && !_ctx.disabled,
|
|
7269
|
+
hovering: (_ctx.hovering || _ctx.highlight) && !_ctx.disabled,
|
|
7191
7270
|
focusing: _ctx.isFocusing && !_ctx.disabled
|
|
7192
7271
|
}, null, 8, ["hovering", "focusing"])
|
|
7193
|
-
], 42, _hoisted_1$
|
|
7272
|
+
], 42, _hoisted_1$w)), [
|
|
7194
7273
|
[_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple }],
|
|
7195
7274
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
7196
7275
|
]);
|
|
7197
7276
|
}
|
|
7198
|
-
const __sfc__$
|
|
7199
|
-
name: name$
|
|
7200
|
-
directives: { Ripple: stdin_default$
|
|
7277
|
+
const __sfc__$1k = vue.defineComponent({
|
|
7278
|
+
name: name$1c,
|
|
7279
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
7201
7280
|
components: {
|
|
7202
|
-
VarCheckbox: stdin_default$
|
|
7203
|
-
VarHoverOverlay: stdin_default$
|
|
7281
|
+
VarCheckbox: stdin_default$5J,
|
|
7282
|
+
VarHoverOverlay: stdin_default$65,
|
|
7283
|
+
VarIcon: stdin_default$67,
|
|
7204
7284
|
MaybeVNode
|
|
7205
7285
|
},
|
|
7206
7286
|
props: props$1a,
|
|
7207
7287
|
setup(props2) {
|
|
7208
7288
|
const root = vue.ref();
|
|
7289
|
+
const checkbox = vue.ref();
|
|
7209
7290
|
const isFocusing = vue.ref(false);
|
|
7210
7291
|
const optionSelected = vue.ref(false);
|
|
7292
|
+
const optionIndeterminate = vue.ref(false);
|
|
7211
7293
|
const selected = vue.computed(() => optionSelected.value);
|
|
7294
|
+
const indeterminate = vue.computed(() => optionIndeterminate.value);
|
|
7295
|
+
const value = vue.computed(() => props2.value);
|
|
7296
|
+
const disabled = vue.computed(() => props2.disabled);
|
|
7297
|
+
const ripple = vue.computed(() => props2.ripple);
|
|
7298
|
+
const { menuSelect, bindMenuSelect } = useMenuSelect();
|
|
7299
|
+
const { size, multiple, onSelect, computeLabel } = menuSelect;
|
|
7300
|
+
const { hovering, handleHovering } = useHoverOverlay();
|
|
7212
7301
|
const labelVNode = vue.computed(
|
|
7213
7302
|
() => {
|
|
7214
7303
|
var _a;
|
|
@@ -7223,14 +7312,13 @@ const __sfc__$1j = vue.defineComponent({
|
|
|
7223
7312
|
) : props2.label;
|
|
7224
7313
|
}
|
|
7225
7314
|
);
|
|
7226
|
-
const value = vue.computed(() => props2.value);
|
|
7227
|
-
const { menuSelect, bindMenuSelect } = useMenuSelect();
|
|
7228
|
-
const { size, multiple, onSelect, computeLabel } = menuSelect;
|
|
7229
|
-
const { hovering, handleHovering } = useHoverOverlay();
|
|
7230
7315
|
const menuOptionProvider = {
|
|
7231
7316
|
label: labelVNode,
|
|
7232
7317
|
value,
|
|
7233
7318
|
selected,
|
|
7319
|
+
disabled,
|
|
7320
|
+
ripple,
|
|
7321
|
+
indeterminate,
|
|
7234
7322
|
sync
|
|
7235
7323
|
};
|
|
7236
7324
|
vue.watch([() => props2.label, () => props2.value], computeLabel);
|
|
@@ -7241,9 +7329,31 @@ const __sfc__$1j = vue.defineComponent({
|
|
|
7241
7329
|
if (props2.disabled) {
|
|
7242
7330
|
return;
|
|
7243
7331
|
}
|
|
7244
|
-
|
|
7332
|
+
if (!multiple.value && props2.childrenTrigger) {
|
|
7333
|
+
return;
|
|
7334
|
+
}
|
|
7335
|
+
if (multiple.value && optionIndeterminate.value) {
|
|
7336
|
+
optionIndeterminate.value = false;
|
|
7337
|
+
optionSelected.value = false;
|
|
7338
|
+
onSelect(menuOptionProvider);
|
|
7339
|
+
return;
|
|
7340
|
+
}
|
|
7341
|
+
if (multiple.value && !optionIndeterminate.value) {
|
|
7342
|
+
optionSelected.value = !optionSelected.value;
|
|
7343
|
+
}
|
|
7344
|
+
onSelect(menuOptionProvider);
|
|
7245
7345
|
}
|
|
7246
7346
|
function handleKeydown(event) {
|
|
7347
|
+
var _a;
|
|
7348
|
+
if (!isFocusing.value && !((_a = checkbox.value) == null ? void 0 : _a.isFocusing)) {
|
|
7349
|
+
return;
|
|
7350
|
+
}
|
|
7351
|
+
if (event.key === "ArrowRight") {
|
|
7352
|
+
call(props2.onKeyArrowX, event.key);
|
|
7353
|
+
}
|
|
7354
|
+
if (event.key === "ArrowLeft") {
|
|
7355
|
+
call(props2.onKeyArrowX, event.key);
|
|
7356
|
+
}
|
|
7247
7357
|
if (!isFocusing.value) {
|
|
7248
7358
|
return;
|
|
7249
7359
|
}
|
|
@@ -7264,23 +7374,28 @@ const __sfc__$1j = vue.defineComponent({
|
|
|
7264
7374
|
}
|
|
7265
7375
|
}
|
|
7266
7376
|
function handleSelect() {
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7377
|
+
return __async$i(this, null, function* () {
|
|
7378
|
+
yield vue.nextTick();
|
|
7379
|
+
onSelect(menuOptionProvider);
|
|
7380
|
+
});
|
|
7271
7381
|
}
|
|
7272
|
-
function sync(checked) {
|
|
7382
|
+
function sync(checked, indeterminate2) {
|
|
7273
7383
|
optionSelected.value = checked;
|
|
7384
|
+
if (isBoolean(indeterminate2)) {
|
|
7385
|
+
optionIndeterminate.value = indeterminate2;
|
|
7386
|
+
}
|
|
7274
7387
|
}
|
|
7275
7388
|
return {
|
|
7276
7389
|
root,
|
|
7390
|
+
checkbox,
|
|
7277
7391
|
optionSelected,
|
|
7392
|
+
optionIndeterminate,
|
|
7278
7393
|
size,
|
|
7279
7394
|
multiple,
|
|
7280
7395
|
hovering,
|
|
7281
7396
|
isFocusing,
|
|
7282
7397
|
labelVNode,
|
|
7283
|
-
n: n$
|
|
7398
|
+
n: n$1j,
|
|
7284
7399
|
classes: classes$11,
|
|
7285
7400
|
handleHovering,
|
|
7286
7401
|
handleClick,
|
|
@@ -7288,32 +7403,32 @@ const __sfc__$1j = vue.defineComponent({
|
|
|
7288
7403
|
};
|
|
7289
7404
|
}
|
|
7290
7405
|
});
|
|
7291
|
-
__sfc__$
|
|
7292
|
-
var stdin_default$
|
|
7293
|
-
withInstall(stdin_default$
|
|
7294
|
-
withPropsDefaultsSetter(stdin_default$
|
|
7295
|
-
const _MenuOptionComponent = stdin_default$
|
|
7296
|
-
var stdin_default$
|
|
7297
|
-
var __defProp$
|
|
7298
|
-
var __defProps$
|
|
7299
|
-
var __getOwnPropDescs$
|
|
7300
|
-
var __getOwnPropSymbols$
|
|
7301
|
-
var __hasOwnProp$
|
|
7302
|
-
var __propIsEnum$
|
|
7303
|
-
var __defNormalProp$
|
|
7304
|
-
var __spreadValues$
|
|
7406
|
+
__sfc__$1k.render = __render__$1h;
|
|
7407
|
+
var stdin_default$5I = __sfc__$1k;
|
|
7408
|
+
withInstall(stdin_default$5I);
|
|
7409
|
+
withPropsDefaultsSetter(stdin_default$5I, props$1a);
|
|
7410
|
+
const _MenuOptionComponent = stdin_default$5I;
|
|
7411
|
+
var stdin_default$5H = stdin_default$5I;
|
|
7412
|
+
var __defProp$q = Object.defineProperty;
|
|
7413
|
+
var __defProps$8 = Object.defineProperties;
|
|
7414
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
7415
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
7416
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
7417
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
7418
|
+
var __defNormalProp$q = (obj, key3, value) => key3 in obj ? __defProp$q(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
7419
|
+
var __spreadValues$q = (a, b) => {
|
|
7305
7420
|
for (var prop in b || (b = {}))
|
|
7306
|
-
if (__hasOwnProp$
|
|
7307
|
-
__defNormalProp$
|
|
7308
|
-
if (__getOwnPropSymbols$
|
|
7309
|
-
for (var prop of __getOwnPropSymbols$
|
|
7310
|
-
if (__propIsEnum$
|
|
7311
|
-
__defNormalProp$
|
|
7421
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
7422
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
7423
|
+
if (__getOwnPropSymbols$q)
|
|
7424
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
7425
|
+
if (__propIsEnum$q.call(b, prop))
|
|
7426
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
7312
7427
|
}
|
|
7313
7428
|
return a;
|
|
7314
7429
|
};
|
|
7315
|
-
var __spreadProps$
|
|
7316
|
-
const props$19 = __spreadProps$
|
|
7430
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
7431
|
+
const props$19 = __spreadProps$8(__spreadValues$q({
|
|
7317
7432
|
modelValue: {
|
|
7318
7433
|
type: [String, Number, Boolean, Array],
|
|
7319
7434
|
default: void 0
|
|
@@ -7330,6 +7445,10 @@ const props$19 = __spreadProps$7(__spreadValues$o({
|
|
|
7330
7445
|
type: String,
|
|
7331
7446
|
default: "value"
|
|
7332
7447
|
},
|
|
7448
|
+
childrenKey: {
|
|
7449
|
+
type: String,
|
|
7450
|
+
default: "children"
|
|
7451
|
+
},
|
|
7333
7452
|
size: {
|
|
7334
7453
|
type: String,
|
|
7335
7454
|
default: "normal"
|
|
@@ -7340,7 +7459,8 @@ const props$19 = __spreadProps$7(__spreadValues$o({
|
|
|
7340
7459
|
type: Boolean,
|
|
7341
7460
|
default: true
|
|
7342
7461
|
},
|
|
7343
|
-
"onUpdate:modelValue": defineListenerProp()
|
|
7462
|
+
"onUpdate:modelValue": defineListenerProp(),
|
|
7463
|
+
onSelect: defineListenerProp()
|
|
7344
7464
|
}, pickProps(props$1c, [
|
|
7345
7465
|
"show",
|
|
7346
7466
|
"disabled",
|
|
@@ -7366,12 +7486,239 @@ const props$19 = __spreadProps$7(__spreadValues$o({
|
|
|
7366
7486
|
onKeyEscape: defineListenerProp()
|
|
7367
7487
|
// internal end
|
|
7368
7488
|
});
|
|
7489
|
+
var __defProp$p = Object.defineProperty;
|
|
7490
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
7491
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
7492
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
7493
|
+
var __defNormalProp$p = (obj, key3, value) => key3 in obj ? __defProp$p(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
7494
|
+
var __spreadValues$p = (a, b) => {
|
|
7495
|
+
for (var prop in b || (b = {}))
|
|
7496
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
7497
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
7498
|
+
if (__getOwnPropSymbols$p)
|
|
7499
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
7500
|
+
if (__propIsEnum$p.call(b, prop))
|
|
7501
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
7502
|
+
}
|
|
7503
|
+
return a;
|
|
7504
|
+
};
|
|
7505
|
+
var __async$h = (__this, __arguments, generator) => {
|
|
7506
|
+
return new Promise((resolve, reject) => {
|
|
7507
|
+
var fulfilled = (value) => {
|
|
7508
|
+
try {
|
|
7509
|
+
step(generator.next(value));
|
|
7510
|
+
} catch (e) {
|
|
7511
|
+
reject(e);
|
|
7512
|
+
}
|
|
7513
|
+
};
|
|
7514
|
+
var rejected = (value) => {
|
|
7515
|
+
try {
|
|
7516
|
+
step(generator.throw(value));
|
|
7517
|
+
} catch (e) {
|
|
7518
|
+
reject(e);
|
|
7519
|
+
}
|
|
7520
|
+
};
|
|
7521
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
7522
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
7523
|
+
});
|
|
7524
|
+
};
|
|
7525
|
+
const { name: name$1b, n: n$1i } = createNamespace("menu-children");
|
|
7526
|
+
const _hoisted_1$v = { ref: "menuOptions" };
|
|
7527
|
+
function __render__$1g(_ctx, _cache) {
|
|
7528
|
+
const _component_var_menu_option = vue.resolveComponent("var-menu-option");
|
|
7529
|
+
const _component_var_menu_children = vue.resolveComponent("var-menu-children");
|
|
7530
|
+
const _component_var_menu = vue.resolveComponent("var-menu");
|
|
7531
|
+
return vue.openBlock(), vue.createBlock(_component_var_menu, {
|
|
7532
|
+
ref: "menu",
|
|
7533
|
+
trigger: "hover",
|
|
7534
|
+
placement: "right-start",
|
|
7535
|
+
"cascade-optimization": "",
|
|
7536
|
+
"var-menu-children-cover": "",
|
|
7537
|
+
class: vue.normalizeClass(_ctx.n()),
|
|
7538
|
+
disabled: _ctx.disabled,
|
|
7539
|
+
teleport: false,
|
|
7540
|
+
"close-on-click-reference": false,
|
|
7541
|
+
show: _ctx.show,
|
|
7542
|
+
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => _ctx.show = $event)
|
|
7543
|
+
}, vue.createSlots({
|
|
7544
|
+
default: vue.withCtx(() => [
|
|
7545
|
+
vue.createVNode(_component_var_menu_option, {
|
|
7546
|
+
ref: "trigger",
|
|
7547
|
+
"children-trigger": "",
|
|
7548
|
+
label: _ctx.option[_ctx.labelKey],
|
|
7549
|
+
value: _ctx.option[_ctx.valueKey],
|
|
7550
|
+
option: _ctx.option,
|
|
7551
|
+
ripple: _ctx.option.ripple,
|
|
7552
|
+
disabled: _ctx.option.disabled,
|
|
7553
|
+
highlight: _ctx.highlightOptions.some((_option) => _option.value === _ctx.option.value),
|
|
7554
|
+
onKeyArrowX: _ctx.handleArrowRight,
|
|
7555
|
+
onMouseenter: _ctx.handleMouseenter
|
|
7556
|
+
}, null, 8, ["label", "value", "option", "ripple", "disabled", "highlight", "onKeyArrowX", "onMouseenter"])
|
|
7557
|
+
]),
|
|
7558
|
+
_: 2
|
|
7559
|
+
/* DYNAMIC */
|
|
7560
|
+
}, [
|
|
7561
|
+
_ctx.options.length ? {
|
|
7562
|
+
name: "menu",
|
|
7563
|
+
fn: vue.withCtx(() => [
|
|
7564
|
+
vue.createElementVNode(
|
|
7565
|
+
"div",
|
|
7566
|
+
_hoisted_1$v,
|
|
7567
|
+
[
|
|
7568
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
7569
|
+
vue.Fragment,
|
|
7570
|
+
null,
|
|
7571
|
+
vue.renderList(_ctx.options, (option) => {
|
|
7572
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
7573
|
+
vue.Fragment,
|
|
7574
|
+
{
|
|
7575
|
+
key: option[_ctx.valueKey]
|
|
7576
|
+
},
|
|
7577
|
+
[
|
|
7578
|
+
option[_ctx.childrenKey] ? (vue.openBlock(), vue.createBlock(_component_var_menu_children, {
|
|
7579
|
+
key: 0,
|
|
7580
|
+
ref_for: true,
|
|
7581
|
+
ref: "menuChildren",
|
|
7582
|
+
"parent-show": _ctx.show,
|
|
7583
|
+
option,
|
|
7584
|
+
options: option[_ctx.childrenKey],
|
|
7585
|
+
"highlight-options": _ctx.highlightOptions,
|
|
7586
|
+
disabled: option.disabled,
|
|
7587
|
+
onKeyArrowX: _ctx.handleArrowLeft,
|
|
7588
|
+
onKeyArrowRightOpen: ($event) => _ctx.allowChildrenClose(option),
|
|
7589
|
+
onMouseenter: ($event) => _ctx.allowChildrenClose(option)
|
|
7590
|
+
}, null, 8, ["parent-show", "option", "options", "highlight-options", "disabled", "onKeyArrowX", "onKeyArrowRightOpen", "onMouseenter"])) : (vue.openBlock(), vue.createBlock(_component_var_menu_option, {
|
|
7591
|
+
key: 1,
|
|
7592
|
+
label: option[_ctx.labelKey],
|
|
7593
|
+
value: option[_ctx.valueKey],
|
|
7594
|
+
option,
|
|
7595
|
+
ripple: option.ripple,
|
|
7596
|
+
disabled: option.disabled,
|
|
7597
|
+
onKeyArrowX: _ctx.handleArrowLeft,
|
|
7598
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => _ctx.allowChildrenClose())
|
|
7599
|
+
}, null, 8, ["label", "value", "option", "ripple", "disabled", "onKeyArrowX"]))
|
|
7600
|
+
],
|
|
7601
|
+
64
|
|
7602
|
+
/* STABLE_FRAGMENT */
|
|
7603
|
+
);
|
|
7604
|
+
}),
|
|
7605
|
+
128
|
|
7606
|
+
/* KEYED_FRAGMENT */
|
|
7607
|
+
))
|
|
7608
|
+
],
|
|
7609
|
+
512
|
|
7610
|
+
/* NEED_PATCH */
|
|
7611
|
+
)
|
|
7612
|
+
]),
|
|
7613
|
+
key: "0"
|
|
7614
|
+
} : void 0
|
|
7615
|
+
]), 1032, ["class", "disabled", "show"]);
|
|
7616
|
+
}
|
|
7617
|
+
const __sfc__$1j = vue.defineComponent({
|
|
7618
|
+
name: name$1b,
|
|
7619
|
+
components: {
|
|
7620
|
+
VarMenu: stdin_default$5M,
|
|
7621
|
+
VarMenuOption: stdin_default$5I
|
|
7622
|
+
},
|
|
7623
|
+
props: __spreadValues$p({
|
|
7624
|
+
parentShow: Boolean,
|
|
7625
|
+
disabled: Boolean,
|
|
7626
|
+
option: {
|
|
7627
|
+
type: Object,
|
|
7628
|
+
required: true
|
|
7629
|
+
},
|
|
7630
|
+
highlightOptions: pickProps(props$19, "options"),
|
|
7631
|
+
onKeyArrowX: defineListenerProp(),
|
|
7632
|
+
onKeyArrowRightOpen: defineListenerProp(),
|
|
7633
|
+
onMouseenter: defineListenerProp()
|
|
7634
|
+
}, pickProps(props$19, ["options", "valueKey", "labelKey", "childrenKey"])),
|
|
7635
|
+
setup(props2) {
|
|
7636
|
+
const show = vue.ref(false);
|
|
7637
|
+
const menu = vue.ref();
|
|
7638
|
+
const trigger = vue.ref();
|
|
7639
|
+
const menuOptions = vue.ref();
|
|
7640
|
+
const menuChildren = vue.ref();
|
|
7641
|
+
vue.watch(
|
|
7642
|
+
() => props2.parentShow,
|
|
7643
|
+
(value) => {
|
|
7644
|
+
if (!value) {
|
|
7645
|
+
show.value = false;
|
|
7646
|
+
}
|
|
7647
|
+
},
|
|
7648
|
+
{ immediate: true }
|
|
7649
|
+
);
|
|
7650
|
+
function handleArrowRight(key3) {
|
|
7651
|
+
return __async$h(this, null, function* () {
|
|
7652
|
+
var _a;
|
|
7653
|
+
call(props2.onKeyArrowX, key3);
|
|
7654
|
+
if (key3 !== "ArrowRight") {
|
|
7655
|
+
return;
|
|
7656
|
+
}
|
|
7657
|
+
call(props2.onKeyArrowRightOpen);
|
|
7658
|
+
(_a = menu.value) == null ? void 0 : _a.open();
|
|
7659
|
+
yield raf();
|
|
7660
|
+
focusChildElementByKey(menu.value.$el, menuOptions.value, "ArrowDown");
|
|
7661
|
+
});
|
|
7662
|
+
}
|
|
7663
|
+
function handleArrowLeft(key3) {
|
|
7664
|
+
var _a;
|
|
7665
|
+
if (key3 !== "ArrowLeft") {
|
|
7666
|
+
return;
|
|
7667
|
+
}
|
|
7668
|
+
allowClose();
|
|
7669
|
+
close();
|
|
7670
|
+
(_a = trigger.value) == null ? void 0 : _a.$el.focus();
|
|
7671
|
+
}
|
|
7672
|
+
function close() {
|
|
7673
|
+
var _a;
|
|
7674
|
+
(_a = menu.value) == null ? void 0 : _a.close();
|
|
7675
|
+
}
|
|
7676
|
+
function allowClose() {
|
|
7677
|
+
var _a;
|
|
7678
|
+
(_a = menu.value) == null ? void 0 : _a.allowClose();
|
|
7679
|
+
}
|
|
7680
|
+
function allowChildrenClose(option) {
|
|
7681
|
+
var _a;
|
|
7682
|
+
(_a = menuChildren.value) == null ? void 0 : _a.forEach((child) => {
|
|
7683
|
+
child.allowClose();
|
|
7684
|
+
if (option == null) {
|
|
7685
|
+
child.close();
|
|
7686
|
+
return;
|
|
7687
|
+
}
|
|
7688
|
+
if (child.option.value === option.value) {
|
|
7689
|
+
return;
|
|
7690
|
+
}
|
|
7691
|
+
child.close();
|
|
7692
|
+
});
|
|
7693
|
+
}
|
|
7694
|
+
function handleMouseenter() {
|
|
7695
|
+
call(props2.onMouseenter);
|
|
7696
|
+
}
|
|
7697
|
+
return {
|
|
7698
|
+
show,
|
|
7699
|
+
menu,
|
|
7700
|
+
trigger,
|
|
7701
|
+
menuOptions,
|
|
7702
|
+
menuChildren,
|
|
7703
|
+
n: n$1i,
|
|
7704
|
+
close,
|
|
7705
|
+
handleArrowLeft,
|
|
7706
|
+
handleArrowRight,
|
|
7707
|
+
handleMouseenter,
|
|
7708
|
+
allowClose,
|
|
7709
|
+
allowChildrenClose
|
|
7710
|
+
};
|
|
7711
|
+
}
|
|
7712
|
+
});
|
|
7713
|
+
__sfc__$1j.render = __render__$1g;
|
|
7714
|
+
var stdin_default$5G = __sfc__$1j;
|
|
7369
7715
|
function useSelectController(options) {
|
|
7370
7716
|
const {
|
|
7371
7717
|
multiple: multipleGetter,
|
|
7372
7718
|
modelValue: modelValueGetter,
|
|
7373
7719
|
optionProviders: optionProvidersGetter,
|
|
7374
|
-
optionProvidersLength: optionProvidersLengthGetter
|
|
7720
|
+
optionProvidersLength: optionProvidersLengthGetter,
|
|
7721
|
+
optionIsIndeterminate
|
|
7375
7722
|
} = options;
|
|
7376
7723
|
const label = vue.ref("");
|
|
7377
7724
|
const labels = vue.ref([]);
|
|
@@ -7399,35 +7746,61 @@ function useSelectController(options) {
|
|
|
7399
7746
|
}
|
|
7400
7747
|
return (_a = option == null ? void 0 : option.label.value) != null ? _a : "";
|
|
7401
7748
|
}
|
|
7402
|
-
function
|
|
7749
|
+
function getOptionProviderKey({ value, label: label2 }) {
|
|
7403
7750
|
var _a;
|
|
7404
7751
|
return (_a = value.value) != null ? _a : label2.value;
|
|
7405
7752
|
}
|
|
7406
7753
|
function getSelectedValue(option) {
|
|
7407
7754
|
const multiple = multipleGetter();
|
|
7408
7755
|
const options2 = optionProvidersGetter();
|
|
7409
|
-
return multiple ? options2.filter(({ selected }) => selected.value).map(
|
|
7756
|
+
return multiple ? options2.filter(({ selected }) => selected.value).map(getOptionProviderKey) : getOptionProviderKey(option);
|
|
7410
7757
|
}
|
|
7411
7758
|
function syncOptions() {
|
|
7412
7759
|
const multiple = multipleGetter();
|
|
7413
7760
|
const modelValue = modelValueGetter();
|
|
7414
7761
|
const options2 = optionProvidersGetter();
|
|
7415
7762
|
if (multiple) {
|
|
7416
|
-
options2.forEach(
|
|
7763
|
+
options2.forEach(
|
|
7764
|
+
(option) => option.sync(
|
|
7765
|
+
modelValue.includes(getOptionProviderKey(option)),
|
|
7766
|
+
optionIsIndeterminate ? optionIsIndeterminate(option) : void 0
|
|
7767
|
+
)
|
|
7768
|
+
);
|
|
7417
7769
|
} else {
|
|
7418
|
-
options2.forEach((option) => option.sync(modelValue ===
|
|
7770
|
+
options2.forEach((option) => option.sync(modelValue === getOptionProviderKey(option)));
|
|
7419
7771
|
}
|
|
7420
7772
|
computeLabel();
|
|
7421
7773
|
}
|
|
7422
7774
|
return {
|
|
7423
7775
|
label,
|
|
7424
7776
|
labels,
|
|
7777
|
+
getOptionProviderKey,
|
|
7425
7778
|
computeLabel,
|
|
7426
7779
|
getSelectedValue
|
|
7427
7780
|
};
|
|
7428
7781
|
}
|
|
7782
|
+
var __defProp$o = Object.defineProperty;
|
|
7783
|
+
var __defProps$7 = Object.defineProperties;
|
|
7784
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
7785
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
7786
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
7787
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
7788
|
+
var __defNormalProp$o = (obj, key3, value) => key3 in obj ? __defProp$o(obj, key3, { enumerable: true, configurable: true, writable: true, value }) : obj[key3] = value;
|
|
7789
|
+
var __spreadValues$o = (a, b) => {
|
|
7790
|
+
for (var prop in b || (b = {}))
|
|
7791
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
7792
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
7793
|
+
if (__getOwnPropSymbols$o)
|
|
7794
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
7795
|
+
if (__propIsEnum$o.call(b, prop))
|
|
7796
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
7797
|
+
}
|
|
7798
|
+
return a;
|
|
7799
|
+
};
|
|
7800
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
7429
7801
|
const { name: name$1a, n: n$1h, classes: classes$10 } = createNamespace("menu-select");
|
|
7430
7802
|
function __render__$1f(_ctx, _cache) {
|
|
7803
|
+
const _component_var_menu_children = vue.resolveComponent("var-menu-children");
|
|
7431
7804
|
const _component_var_menu_option = vue.resolveComponent("var-menu-option");
|
|
7432
7805
|
const _component_var_menu = vue.resolveComponent("var-menu");
|
|
7433
7806
|
return vue.openBlock(), vue.createBlock(_component_var_menu, {
|
|
@@ -7449,7 +7822,7 @@ function __render__$1f(_ctx, _cache) {
|
|
|
7449
7822
|
"close-on-click-reference": _ctx.closeOnClickReference,
|
|
7450
7823
|
"close-on-key-escape": false,
|
|
7451
7824
|
show: _ctx.show,
|
|
7452
|
-
"onUpdate:show": _cache[
|
|
7825
|
+
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => _ctx.show = $event),
|
|
7453
7826
|
onOpen: _ctx.onOpen,
|
|
7454
7827
|
onOpened: _ctx.onOpened,
|
|
7455
7828
|
onClose: _ctx.onClose,
|
|
@@ -7464,22 +7837,44 @@ function __render__$1f(_ctx, _cache) {
|
|
|
7464
7837
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("menu"), _ctx.formatElevation(_ctx.elevation, 3), [_ctx.scrollable, _ctx.n("--scrollable")]))
|
|
7465
7838
|
},
|
|
7466
7839
|
[
|
|
7467
|
-
|
|
7840
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
7468
7841
|
vue.Fragment,
|
|
7469
|
-
|
|
7842
|
+
null,
|
|
7470
7843
|
vue.renderList(_ctx.options, (option) => {
|
|
7471
|
-
return vue.openBlock(), vue.
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7844
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
7845
|
+
vue.Fragment,
|
|
7846
|
+
{
|
|
7847
|
+
key: option[_ctx.valueKey]
|
|
7848
|
+
},
|
|
7849
|
+
[
|
|
7850
|
+
option[_ctx.childrenKey] ? (vue.openBlock(), vue.createBlock(_component_var_menu_children, {
|
|
7851
|
+
key: 0,
|
|
7852
|
+
ref_for: true,
|
|
7853
|
+
ref: "menuChildren",
|
|
7854
|
+
"parent-show": _ctx.show,
|
|
7855
|
+
option,
|
|
7856
|
+
options: option[_ctx.childrenKey],
|
|
7857
|
+
"highlight-options": _ctx.highlightOptions,
|
|
7858
|
+
disabled: option.disabled,
|
|
7859
|
+
onKeyArrowRightOpen: ($event) => _ctx.allowChildrenClose(option),
|
|
7860
|
+
onMouseenter: ($event) => _ctx.allowChildrenClose(option)
|
|
7861
|
+
}, null, 8, ["parent-show", "option", "options", "highlight-options", "disabled", "onKeyArrowRightOpen", "onMouseenter"])) : (vue.openBlock(), vue.createBlock(_component_var_menu_option, {
|
|
7862
|
+
key: 1,
|
|
7863
|
+
label: option[_ctx.labelKey],
|
|
7864
|
+
value: option[_ctx.valueKey],
|
|
7865
|
+
option,
|
|
7866
|
+
ripple: option.ripple,
|
|
7867
|
+
disabled: option.disabled,
|
|
7868
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => _ctx.allowChildrenClose())
|
|
7869
|
+
}, null, 8, ["label", "value", "option", "ripple", "disabled"]))
|
|
7870
|
+
],
|
|
7871
|
+
64
|
|
7872
|
+
/* STABLE_FRAGMENT */
|
|
7873
|
+
);
|
|
7479
7874
|
}),
|
|
7480
7875
|
128
|
|
7481
7876
|
/* KEYED_FRAGMENT */
|
|
7482
|
-
))
|
|
7877
|
+
)),
|
|
7483
7878
|
vue.renderSlot(_ctx.$slots, "options")
|
|
7484
7879
|
],
|
|
7485
7880
|
2
|
|
@@ -7495,18 +7890,44 @@ function __render__$1f(_ctx, _cache) {
|
|
|
7495
7890
|
}
|
|
7496
7891
|
const __sfc__$1i = vue.defineComponent({
|
|
7497
7892
|
name: name$1a,
|
|
7498
|
-
components: { VarMenu: stdin_default$
|
|
7893
|
+
components: { VarMenu: stdin_default$5L, VarMenuOption: stdin_default$5H, VarMenuChildren: stdin_default$5G },
|
|
7499
7894
|
props: props$19,
|
|
7500
7895
|
setup(props2) {
|
|
7501
|
-
const menu = vue.ref(null);
|
|
7502
|
-
const menuOptionsRef = vue.ref(null);
|
|
7503
7896
|
const show = useVModel(props2, "show");
|
|
7897
|
+
const menu = vue.ref();
|
|
7898
|
+
const menuOptionsRef = vue.ref();
|
|
7899
|
+
const menuChildren = vue.ref();
|
|
7900
|
+
const enhancedOptions = vue.computed(() => enhance(props2.options));
|
|
7504
7901
|
const { menuOptions, length, bindMenuOptions } = useMenuOptions();
|
|
7505
|
-
const { computeLabel, getSelectedValue } = useSelectController({
|
|
7902
|
+
const { computeLabel, getSelectedValue, getOptionProviderKey } = useSelectController({
|
|
7506
7903
|
modelValue: () => props2.modelValue,
|
|
7507
7904
|
multiple: () => props2.multiple,
|
|
7508
7905
|
optionProviders: () => menuOptions,
|
|
7509
|
-
optionProvidersLength: () => length.value
|
|
7906
|
+
optionProvidersLength: () => length.value,
|
|
7907
|
+
optionIsIndeterminate(optionProvider) {
|
|
7908
|
+
var _a;
|
|
7909
|
+
const enhancedOption = getEnhancedOption(optionProvider.value.value);
|
|
7910
|
+
if (!enhancedOption) {
|
|
7911
|
+
return false;
|
|
7912
|
+
}
|
|
7913
|
+
const children = ((_a = enhancedOption._children) != null ? _a : []).filter((option) => !option.disabled);
|
|
7914
|
+
const selectedChildren = children.filter((option) => props2.modelValue.includes(option.value));
|
|
7915
|
+
return selectedChildren.length > 0 && selectedChildren.length < children.length;
|
|
7916
|
+
}
|
|
7917
|
+
});
|
|
7918
|
+
const highlightOptions = vue.computed(() => {
|
|
7919
|
+
const { multiple, modelValue } = props2;
|
|
7920
|
+
if (multiple) {
|
|
7921
|
+
return [];
|
|
7922
|
+
}
|
|
7923
|
+
const selectedOption = enhancedOptions.value.find((option) => option.value === modelValue);
|
|
7924
|
+
const highlightOptions2 = [];
|
|
7925
|
+
let parent = selectedOption == null ? void 0 : selectedOption._parent;
|
|
7926
|
+
while (parent) {
|
|
7927
|
+
highlightOptions2.push(parent);
|
|
7928
|
+
parent = parent._parent;
|
|
7929
|
+
}
|
|
7930
|
+
return highlightOptions2;
|
|
7510
7931
|
});
|
|
7511
7932
|
const menuSelectProvider = {
|
|
7512
7933
|
size: vue.computed(() => props2.size),
|
|
@@ -7516,14 +7937,108 @@ const __sfc__$1i = vue.defineComponent({
|
|
|
7516
7937
|
};
|
|
7517
7938
|
bindMenuOptions(menuSelectProvider);
|
|
7518
7939
|
useEventListener(() => window, "keydown", handleKeydown);
|
|
7519
|
-
function
|
|
7940
|
+
function getEnhancedOption(value) {
|
|
7941
|
+
return enhancedOptions.value.find((option) => option.value === value);
|
|
7942
|
+
}
|
|
7943
|
+
function getOptionProvider(value) {
|
|
7944
|
+
return menuOptions.find((optionProvider) => optionProvider.value.value === value);
|
|
7945
|
+
}
|
|
7946
|
+
function getOptionChildren(option) {
|
|
7947
|
+
return option[props2.childrenKey];
|
|
7948
|
+
}
|
|
7949
|
+
function flatten(options) {
|
|
7950
|
+
const flattenOptions = [];
|
|
7951
|
+
baseFlatten(options);
|
|
7952
|
+
function baseFlatten(options2) {
|
|
7953
|
+
options2.forEach((option) => {
|
|
7954
|
+
flattenOptions.push(option);
|
|
7955
|
+
const children = getOptionChildren(option);
|
|
7956
|
+
if (children) {
|
|
7957
|
+
baseFlatten(children);
|
|
7958
|
+
}
|
|
7959
|
+
});
|
|
7960
|
+
}
|
|
7961
|
+
return flattenOptions;
|
|
7962
|
+
}
|
|
7963
|
+
function enhance(options) {
|
|
7964
|
+
function baseEnhance(options2, parent) {
|
|
7965
|
+
return options2.map((option) => {
|
|
7966
|
+
option = __spreadProps$7(__spreadValues$o({}, option), { _rawOption: option });
|
|
7967
|
+
if (parent) {
|
|
7968
|
+
option._parent = parent;
|
|
7969
|
+
}
|
|
7970
|
+
const children = getOptionChildren(option);
|
|
7971
|
+
if (children) {
|
|
7972
|
+
const enhancedChildren = baseEnhance(children, option);
|
|
7973
|
+
option[props2.childrenKey] = enhancedChildren;
|
|
7974
|
+
option._children = flatten(enhancedChildren);
|
|
7975
|
+
}
|
|
7976
|
+
return option;
|
|
7977
|
+
});
|
|
7978
|
+
}
|
|
7979
|
+
return flatten(baseEnhance(options));
|
|
7980
|
+
}
|
|
7981
|
+
function onSelect(optionProvider) {
|
|
7982
|
+
var _a, _b;
|
|
7520
7983
|
const { multiple, closeOnSelect } = props2;
|
|
7521
|
-
|
|
7984
|
+
const { value, label, selected, disabled, ripple } = optionProvider;
|
|
7985
|
+
const enhancedOption = getEnhancedOption(value.value);
|
|
7986
|
+
if (enhancedOption) {
|
|
7987
|
+
const childrenValues = ((_a = enhancedOption._children) != null ? _a : []).filter((option) => !option.disabled).map((option) => option.value);
|
|
7988
|
+
if (multiple && selected.value) {
|
|
7989
|
+
menuOptions.forEach((optionProvider2) => {
|
|
7990
|
+
if (childrenValues.includes(optionProvider2.value.value)) {
|
|
7991
|
+
optionProvider2.sync(true, false);
|
|
7992
|
+
}
|
|
7993
|
+
});
|
|
7994
|
+
broadcastParentOption(enhancedOption);
|
|
7995
|
+
}
|
|
7996
|
+
if (multiple && !selected.value) {
|
|
7997
|
+
menuOptions.forEach((optionProvider2) => {
|
|
7998
|
+
if (childrenValues.includes(optionProvider2.value.value)) {
|
|
7999
|
+
optionProvider2.sync(false, false);
|
|
8000
|
+
}
|
|
8001
|
+
});
|
|
8002
|
+
broadcastParentOption(enhancedOption);
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
8005
|
+
const selectedValue = getSelectedValue(optionProvider);
|
|
8006
|
+
const selectedOption = (_b = enhancedOption == null ? void 0 : enhancedOption._rawOption) != null ? _b : {
|
|
8007
|
+
value: value.value,
|
|
8008
|
+
label: label.value,
|
|
8009
|
+
disabled: disabled.value,
|
|
8010
|
+
ripple: ripple.value
|
|
8011
|
+
};
|
|
8012
|
+
call(props2.onSelect, getOptionProviderKey(optionProvider), selectedOption);
|
|
8013
|
+
call(props2["onUpdate:modelValue"], selectedValue);
|
|
7522
8014
|
if (!multiple && closeOnSelect) {
|
|
7523
8015
|
menu.value.$el.focus();
|
|
7524
8016
|
close();
|
|
7525
8017
|
}
|
|
7526
8018
|
}
|
|
8019
|
+
function broadcastParentOption(enhancedOption) {
|
|
8020
|
+
let parentOption = enhancedOption._parent;
|
|
8021
|
+
while (parentOption) {
|
|
8022
|
+
const parentOptionProvider = getOptionProvider(parentOption.value);
|
|
8023
|
+
const parentOptionChildren = getOptionChildren(parentOption).filter((option) => !option.disabled);
|
|
8024
|
+
const isAllChildrenUnselected = parentOptionChildren.every((option) => {
|
|
8025
|
+
const optionProvider = getOptionProvider(option.value);
|
|
8026
|
+
return !optionProvider.selected.value;
|
|
8027
|
+
});
|
|
8028
|
+
const isAllChildrenSelected = parentOptionChildren.every((option) => {
|
|
8029
|
+
const optionProvider = getOptionProvider(option.value);
|
|
8030
|
+
return optionProvider.selected.value;
|
|
8031
|
+
});
|
|
8032
|
+
if (isAllChildrenUnselected) {
|
|
8033
|
+
parentOptionProvider.sync(false, false);
|
|
8034
|
+
} else if (isAllChildrenSelected) {
|
|
8035
|
+
parentOptionProvider.sync(true, false);
|
|
8036
|
+
} else {
|
|
8037
|
+
parentOptionProvider.sync(false, true);
|
|
8038
|
+
}
|
|
8039
|
+
parentOption = parentOption._parent;
|
|
8040
|
+
}
|
|
8041
|
+
}
|
|
7527
8042
|
function handleKeydown(event) {
|
|
7528
8043
|
if (props2.disabled || !show.value) {
|
|
7529
8044
|
return;
|
|
@@ -7542,6 +8057,20 @@ const __sfc__$1i = vue.defineComponent({
|
|
|
7542
8057
|
focusChildElementByKey(menu.value.$el, menuOptionsRef.value, key3);
|
|
7543
8058
|
}
|
|
7544
8059
|
}
|
|
8060
|
+
function allowChildrenClose(option) {
|
|
8061
|
+
var _a;
|
|
8062
|
+
(_a = menuChildren.value) == null ? void 0 : _a.forEach((child) => {
|
|
8063
|
+
child.allowClose();
|
|
8064
|
+
if (option == null) {
|
|
8065
|
+
child.close();
|
|
8066
|
+
return;
|
|
8067
|
+
}
|
|
8068
|
+
if (child.option.value === option.value) {
|
|
8069
|
+
return;
|
|
8070
|
+
}
|
|
8071
|
+
child.close();
|
|
8072
|
+
});
|
|
8073
|
+
}
|
|
7545
8074
|
function open() {
|
|
7546
8075
|
var _a;
|
|
7547
8076
|
(_a = menu.value) == null ? void 0 : _a.open();
|
|
@@ -7562,8 +8091,11 @@ const __sfc__$1i = vue.defineComponent({
|
|
|
7562
8091
|
show,
|
|
7563
8092
|
menu,
|
|
7564
8093
|
menuOptionsRef,
|
|
8094
|
+
menuChildren,
|
|
8095
|
+
highlightOptions,
|
|
7565
8096
|
n: n$1h,
|
|
7566
8097
|
classes: classes$10,
|
|
8098
|
+
allowChildrenClose,
|
|
7567
8099
|
formatElevation,
|
|
7568
8100
|
open,
|
|
7569
8101
|
close,
|
|
@@ -7783,10 +8315,10 @@ function __render__$1e(_ctx, _cache) {
|
|
|
7783
8315
|
const __sfc__$1h = vue.defineComponent({
|
|
7784
8316
|
name: name$19,
|
|
7785
8317
|
components: {
|
|
7786
|
-
VarInput: stdin_default$
|
|
8318
|
+
VarInput: stdin_default$5N,
|
|
7787
8319
|
VarMenuSelect: stdin_default$5E,
|
|
7788
|
-
VarMenuOption: stdin_default$
|
|
7789
|
-
VarFormDetails: stdin_default$
|
|
8320
|
+
VarMenuOption: stdin_default$5H,
|
|
8321
|
+
VarFormDetails: stdin_default$5R
|
|
7790
8322
|
},
|
|
7791
8323
|
props: props$18,
|
|
7792
8324
|
setup(props2) {
|
|
@@ -8785,9 +9317,9 @@ const __sfc__$1d = vue.defineComponent({
|
|
|
8785
9317
|
name: name$15,
|
|
8786
9318
|
components: {
|
|
8787
9319
|
VarLoading: stdin_default$5v,
|
|
8788
|
-
VarHoverOverlay: stdin_default$
|
|
9320
|
+
VarHoverOverlay: stdin_default$65
|
|
8789
9321
|
},
|
|
8790
|
-
directives: { Ripple: stdin_default$
|
|
9322
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
8791
9323
|
props: props$14,
|
|
8792
9324
|
setup(props2) {
|
|
8793
9325
|
const isFocusing = vue.ref(false);
|
|
@@ -8932,7 +9464,7 @@ const __sfc__$1c = vue.defineComponent({
|
|
|
8932
9464
|
name: name$14,
|
|
8933
9465
|
components: {
|
|
8934
9466
|
VarButton: stdin_default$5t,
|
|
8935
|
-
VarIcon: stdin_default$
|
|
9467
|
+
VarIcon: stdin_default$67
|
|
8936
9468
|
},
|
|
8937
9469
|
inheritAttrs: false,
|
|
8938
9470
|
props: props$13,
|
|
@@ -9099,7 +9631,7 @@ function __render__$18(_ctx, _cache) {
|
|
|
9099
9631
|
}
|
|
9100
9632
|
const __sfc__$1b = vue.defineComponent({
|
|
9101
9633
|
name: name$13,
|
|
9102
|
-
components: { VarIcon: stdin_default$
|
|
9634
|
+
components: { VarIcon: stdin_default$67 },
|
|
9103
9635
|
inheritAttrs: false,
|
|
9104
9636
|
props: props$12,
|
|
9105
9637
|
setup(props2) {
|
|
@@ -9494,9 +10026,9 @@ const __sfc__$19 = vue.defineComponent({
|
|
|
9494
10026
|
name: name$11,
|
|
9495
10027
|
components: {
|
|
9496
10028
|
VarBadge: stdin_default$5p,
|
|
9497
|
-
VarIcon: stdin_default$
|
|
10029
|
+
VarIcon: stdin_default$67
|
|
9498
10030
|
},
|
|
9499
|
-
directives: { Ripple: stdin_default$
|
|
10031
|
+
directives: { Ripple: stdin_default$6b },
|
|
9500
10032
|
props: props$10,
|
|
9501
10033
|
setup(props2) {
|
|
9502
10034
|
const name2 = vue.computed(() => props2.name);
|
|
@@ -10006,9 +10538,9 @@ function __render__$12(_ctx, _cache) {
|
|
|
10006
10538
|
}
|
|
10007
10539
|
const __sfc__$15 = vue.defineComponent({
|
|
10008
10540
|
name: name$Z,
|
|
10009
|
-
directives: { Ripple: stdin_default$
|
|
10541
|
+
directives: { Ripple: stdin_default$6b },
|
|
10010
10542
|
components: {
|
|
10011
|
-
VarIcon: stdin_default$
|
|
10543
|
+
VarIcon: stdin_default$67,
|
|
10012
10544
|
VarButton: stdin_default$5t
|
|
10013
10545
|
},
|
|
10014
10546
|
props: props$Y,
|
|
@@ -10241,8 +10773,8 @@ function __render__$11(_ctx, _cache) {
|
|
|
10241
10773
|
}
|
|
10242
10774
|
const __sfc__$14 = vue.defineComponent({
|
|
10243
10775
|
name: name$Y,
|
|
10244
|
-
components: { VarIcon: stdin_default$
|
|
10245
|
-
directives: { Ripple: stdin_default$
|
|
10776
|
+
components: { VarIcon: stdin_default$67 },
|
|
10777
|
+
directives: { Ripple: stdin_default$6b },
|
|
10246
10778
|
props: props$X,
|
|
10247
10779
|
setup(props2) {
|
|
10248
10780
|
const borderOffsetStyles = vue.computed(() => {
|
|
@@ -10353,7 +10885,7 @@ function __render__$10(_ctx, _cache) {
|
|
|
10353
10885
|
}
|
|
10354
10886
|
const __sfc__$13 = vue.defineComponent({
|
|
10355
10887
|
name: name$X,
|
|
10356
|
-
components: { VarFormDetails: stdin_default$
|
|
10888
|
+
components: { VarFormDetails: stdin_default$5R, VarCheckbox: stdin_default$5J, MaybeVNode },
|
|
10357
10889
|
props: props$W,
|
|
10358
10890
|
setup(props2) {
|
|
10359
10891
|
const max2 = vue.computed(() => props2.max);
|
|
@@ -10409,20 +10941,15 @@ const __sfc__$13 = vue.defineComponent({
|
|
|
10409
10941
|
function syncCheckboxes() {
|
|
10410
10942
|
checkboxes.forEach(({ sync }) => sync(props2.modelValue));
|
|
10411
10943
|
}
|
|
10412
|
-
function resetWithAnimation() {
|
|
10413
|
-
checkboxes.forEach((checkbox) => checkbox.resetWithAnimation());
|
|
10414
|
-
}
|
|
10415
10944
|
function checkAll2() {
|
|
10416
10945
|
const checkedValues = checkboxes.map(({ checkedValue }) => checkedValue.value);
|
|
10417
10946
|
const changedModelValue = uniq(checkedValues);
|
|
10418
|
-
resetWithAnimation();
|
|
10419
10947
|
call(props2["onUpdate:modelValue"], changedModelValue);
|
|
10420
10948
|
return changedModelValue;
|
|
10421
10949
|
}
|
|
10422
10950
|
function inverseAll() {
|
|
10423
10951
|
const checkedValues = checkboxes.filter(({ checked }) => !checked.value).map(({ checkedValue }) => checkedValue.value);
|
|
10424
10952
|
const changedModelValue = uniq(checkedValues);
|
|
10425
|
-
resetWithAnimation();
|
|
10426
10953
|
call(props2["onUpdate:modelValue"], changedModelValue);
|
|
10427
10954
|
return changedModelValue;
|
|
10428
10955
|
}
|
|
@@ -10533,7 +11060,7 @@ function __render__$$(_ctx, _cache) {
|
|
|
10533
11060
|
const __sfc__$12 = vue.defineComponent({
|
|
10534
11061
|
name: name$W,
|
|
10535
11062
|
components: {
|
|
10536
|
-
VarIcon: stdin_default$
|
|
11063
|
+
VarIcon: stdin_default$67
|
|
10537
11064
|
},
|
|
10538
11065
|
inheritAttrs: false,
|
|
10539
11066
|
props: props$V,
|
|
@@ -11140,7 +11667,7 @@ function __render__$X(_ctx, _cache) {
|
|
|
11140
11667
|
const __sfc__$_ = vue.defineComponent({
|
|
11141
11668
|
name: name$S,
|
|
11142
11669
|
components: {
|
|
11143
|
-
VarIcon: stdin_default$
|
|
11670
|
+
VarIcon: stdin_default$67
|
|
11144
11671
|
},
|
|
11145
11672
|
props: props$R,
|
|
11146
11673
|
setup(props2) {
|
|
@@ -13818,10 +14345,10 @@ const __sfc__$W = vue.defineComponent({
|
|
|
13818
14345
|
name: name$O,
|
|
13819
14346
|
components: {
|
|
13820
14347
|
VarButton: stdin_default$5t,
|
|
13821
|
-
VarIcon: stdin_default$
|
|
13822
|
-
VarFormDetails: stdin_default$
|
|
14348
|
+
VarIcon: stdin_default$67,
|
|
14349
|
+
VarFormDetails: stdin_default$5R
|
|
13823
14350
|
},
|
|
13824
|
-
directives: { Ripple: stdin_default$
|
|
14351
|
+
directives: { Ripple: stdin_default$6b },
|
|
13825
14352
|
inheritAttrs: false,
|
|
13826
14353
|
props: props$N,
|
|
13827
14354
|
setup(props2) {
|
|
@@ -14559,7 +15086,7 @@ const __sfc__$V = vue.defineComponent({
|
|
|
14559
15086
|
name: "PanelHeader",
|
|
14560
15087
|
components: {
|
|
14561
15088
|
VarButton: stdin_default$5t,
|
|
14562
|
-
VarIcon: stdin_default$
|
|
15089
|
+
VarIcon: stdin_default$67
|
|
14563
15090
|
},
|
|
14564
15091
|
props: {
|
|
14565
15092
|
date: {
|
|
@@ -16509,7 +17036,7 @@ function __render__$M(_ctx, _cache) {
|
|
|
16509
17036
|
const __sfc__$P = vue.defineComponent({
|
|
16510
17037
|
name: name$L,
|
|
16511
17038
|
components: {
|
|
16512
|
-
VarPopup: stdin_default$
|
|
17039
|
+
VarPopup: stdin_default$69,
|
|
16513
17040
|
VarButton: stdin_default$5t
|
|
16514
17041
|
},
|
|
16515
17042
|
inheritAttrs: false,
|
|
@@ -17476,7 +18003,7 @@ var stdin_default$4A = vue.defineComponent({
|
|
|
17476
18003
|
"elevation": props2.elevation,
|
|
17477
18004
|
"iconContainer": true
|
|
17478
18005
|
}, {
|
|
17479
|
-
default: () => [vue.createVNode(stdin_default$
|
|
18006
|
+
default: () => [vue.createVNode(stdin_default$67, {
|
|
17480
18007
|
"var-fab-cover": true,
|
|
17481
18008
|
"class": classes$z([isActive.value, n$J("trigger-active-icon"), n$J("trigger-inactive-icon")]),
|
|
17482
18009
|
"name": isActive.value ? props2.activeIcon : props2.inactiveIcon,
|
|
@@ -17984,7 +18511,7 @@ const __sfc__$H = vue.defineComponent({
|
|
|
17984
18511
|
name: name$C,
|
|
17985
18512
|
directives: {
|
|
17986
18513
|
Lazy: stdin_default$5B,
|
|
17987
|
-
Ripple: stdin_default$
|
|
18514
|
+
Ripple: stdin_default$6b
|
|
17988
18515
|
},
|
|
17989
18516
|
props: props$B,
|
|
17990
18517
|
setup(props2, { slots }) {
|
|
@@ -18251,8 +18778,8 @@ function __render__$E(_ctx, _cache) {
|
|
|
18251
18778
|
}
|
|
18252
18779
|
const __sfc__$G = vue.defineComponent({
|
|
18253
18780
|
name: name$B,
|
|
18254
|
-
directives: { Hover: stdin_default$
|
|
18255
|
-
components: { VarButton: stdin_default$5t, VarIcon: stdin_default$
|
|
18781
|
+
directives: { Hover: stdin_default$64 },
|
|
18782
|
+
components: { VarButton: stdin_default$5t, VarIcon: stdin_default$67 },
|
|
18256
18783
|
props: props$A,
|
|
18257
18784
|
setup(props2) {
|
|
18258
18785
|
const swipeEl = vue.ref(null);
|
|
@@ -18825,8 +19352,8 @@ const __sfc__$E = vue.defineComponent({
|
|
|
18825
19352
|
components: {
|
|
18826
19353
|
VarSwipe: stdin_default$4p,
|
|
18827
19354
|
VarSwipeItem: stdin_default$4n,
|
|
18828
|
-
VarPopup: stdin_default$
|
|
18829
|
-
VarIcon: stdin_default$
|
|
19355
|
+
VarPopup: stdin_default$69,
|
|
19356
|
+
VarIcon: stdin_default$67
|
|
18830
19357
|
},
|
|
18831
19358
|
inheritAttrs: false,
|
|
18832
19359
|
props: props$z,
|
|
@@ -19696,7 +20223,7 @@ function __render__$y(_ctx, _cache) {
|
|
|
19696
20223
|
}
|
|
19697
20224
|
const __sfc__$A = vue.defineComponent({
|
|
19698
20225
|
name: name$v,
|
|
19699
|
-
directives: { Ripple: stdin_default$
|
|
20226
|
+
directives: { Ripple: stdin_default$6b },
|
|
19700
20227
|
components: { VarLoading: stdin_default$5v },
|
|
19701
20228
|
props: props$v,
|
|
19702
20229
|
setup(props2) {
|
|
@@ -19790,7 +20317,7 @@ var stdin_default$4c = vue.defineComponent({
|
|
|
19790
20317
|
return () => vue.createVNode("div", {
|
|
19791
20318
|
"class": classes$q(n$x(), [props2.error, n$x("--error")]),
|
|
19792
20319
|
"style": {
|
|
19793
|
-
zIndex: stdin_default$
|
|
20320
|
+
zIndex: stdin_default$6c.zIndex + 10,
|
|
19794
20321
|
width: `${props2.value}%`,
|
|
19795
20322
|
opacity: props2.opacity,
|
|
19796
20323
|
height: toSizeUnit(props2.height),
|
|
@@ -19989,6 +20516,10 @@ const props$s = {
|
|
|
19989
20516
|
label: {},
|
|
19990
20517
|
value: {},
|
|
19991
20518
|
disabled: Boolean,
|
|
20519
|
+
ripple: {
|
|
20520
|
+
type: Boolean,
|
|
20521
|
+
default: true
|
|
20522
|
+
},
|
|
19992
20523
|
// internal
|
|
19993
20524
|
option: Object
|
|
19994
20525
|
};
|
|
@@ -20052,16 +20583,16 @@ function __render__$x(_ctx, _cache) {
|
|
|
20052
20583
|
focusing: _ctx.isFocusing && !_ctx.disabled
|
|
20053
20584
|
}, null, 8, ["hovering", "focusing"])
|
|
20054
20585
|
], 46, _hoisted_1$g)), [
|
|
20055
|
-
[_directive_ripple, { disabled: _ctx.disabled }],
|
|
20586
|
+
[_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple }],
|
|
20056
20587
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
20057
20588
|
]);
|
|
20058
20589
|
}
|
|
20059
20590
|
const __sfc__$y = vue.defineComponent({
|
|
20060
20591
|
name: name$s,
|
|
20061
|
-
directives: { Ripple: stdin_default$
|
|
20592
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
20062
20593
|
components: {
|
|
20063
|
-
VarCheckbox: stdin_default$
|
|
20064
|
-
VarHoverOverlay: stdin_default$
|
|
20594
|
+
VarCheckbox: stdin_default$5J,
|
|
20595
|
+
VarHoverOverlay: stdin_default$65,
|
|
20065
20596
|
MaybeVNode
|
|
20066
20597
|
},
|
|
20067
20598
|
props: props$s,
|
|
@@ -20070,6 +20601,12 @@ const __sfc__$y = vue.defineComponent({
|
|
|
20070
20601
|
const isFocusing = vue.ref(false);
|
|
20071
20602
|
const optionSelected = vue.ref(false);
|
|
20072
20603
|
const selected = vue.computed(() => optionSelected.value);
|
|
20604
|
+
const value = vue.computed(() => props2.value);
|
|
20605
|
+
const disabled = vue.computed(() => props2.disabled);
|
|
20606
|
+
const ripple = vue.computed(() => props2.ripple);
|
|
20607
|
+
const { select, bindSelect } = useSelect();
|
|
20608
|
+
const { multiple, focusColor, onSelect, computeLabel } = select;
|
|
20609
|
+
const { hovering, handleHovering } = useHoverOverlay();
|
|
20073
20610
|
const labelVNode = vue.computed(
|
|
20074
20611
|
() => {
|
|
20075
20612
|
var _a;
|
|
@@ -20083,13 +20620,11 @@ const __sfc__$y = vue.defineComponent({
|
|
|
20083
20620
|
) : props2.label;
|
|
20084
20621
|
}
|
|
20085
20622
|
);
|
|
20086
|
-
const value = vue.computed(() => props2.value);
|
|
20087
|
-
const { select, bindSelect } = useSelect();
|
|
20088
|
-
const { multiple, focusColor, onSelect, computeLabel } = select;
|
|
20089
|
-
const { hovering, handleHovering } = useHoverOverlay();
|
|
20090
20623
|
const optionProvider = {
|
|
20091
20624
|
label: labelVNode,
|
|
20092
20625
|
value,
|
|
20626
|
+
disabled,
|
|
20627
|
+
ripple,
|
|
20093
20628
|
selected,
|
|
20094
20629
|
sync
|
|
20095
20630
|
};
|
|
@@ -20529,11 +21064,11 @@ const __sfc__$x = vue.defineComponent({
|
|
|
20529
21064
|
name: name$q,
|
|
20530
21065
|
components: {
|
|
20531
21066
|
VarMenuSelect: stdin_default$5E,
|
|
20532
|
-
VarMenuOption: stdin_default$
|
|
20533
|
-
VarIcon: stdin_default$
|
|
20534
|
-
VarInput: stdin_default$
|
|
21067
|
+
VarMenuOption: stdin_default$5H,
|
|
21068
|
+
VarIcon: stdin_default$67,
|
|
21069
|
+
VarInput: stdin_default$5N
|
|
20535
21070
|
},
|
|
20536
|
-
directives: { Ripple: stdin_default$
|
|
21071
|
+
directives: { Ripple: stdin_default$6b },
|
|
20537
21072
|
props: props$q,
|
|
20538
21073
|
setup(props2) {
|
|
20539
21074
|
const quickJumperValue = vue.ref("");
|
|
@@ -20738,7 +21273,7 @@ function __render__$v(_ctx, _cache) {
|
|
|
20738
21273
|
}
|
|
20739
21274
|
const __sfc__$w = vue.defineComponent({
|
|
20740
21275
|
name: name$p,
|
|
20741
|
-
directives: { Ripple: stdin_default$
|
|
21276
|
+
directives: { Ripple: stdin_default$6b },
|
|
20742
21277
|
props: props$p,
|
|
20743
21278
|
setup(props2) {
|
|
20744
21279
|
function handleClick(e) {
|
|
@@ -21048,7 +21583,7 @@ const __sfc__$v = vue.defineComponent({
|
|
|
21048
21583
|
name: name$o,
|
|
21049
21584
|
components: {
|
|
21050
21585
|
VarButton: stdin_default$5t,
|
|
21051
|
-
VarPopup: stdin_default$
|
|
21586
|
+
VarPopup: stdin_default$69
|
|
21052
21587
|
},
|
|
21053
21588
|
inheritAttrs: false,
|
|
21054
21589
|
props: props$o,
|
|
@@ -21764,7 +22299,7 @@ function __render__$s(_ctx, _cache) {
|
|
|
21764
22299
|
}
|
|
21765
22300
|
const __sfc__$t = vue.defineComponent({
|
|
21766
22301
|
name: name$m,
|
|
21767
|
-
components: { VarIcon: stdin_default$
|
|
22302
|
+
components: { VarIcon: stdin_default$67 },
|
|
21768
22303
|
props: props$m,
|
|
21769
22304
|
setup(props2) {
|
|
21770
22305
|
const controlPosition = vue.ref(0);
|
|
@@ -22002,14 +22537,14 @@ function __render__$r(_ctx, _cache) {
|
|
|
22002
22537
|
}, [
|
|
22003
22538
|
_ctx.checked ? vue.renderSlot(_ctx.$slots, "checked-icon", { key: 0 }, () => [
|
|
22004
22539
|
vue.createVNode(_component_var_icon, {
|
|
22005
|
-
class: vue.normalizeClass(_ctx.
|
|
22540
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
22006
22541
|
"var-radio-cover": "",
|
|
22007
22542
|
name: "radio-marked",
|
|
22008
22543
|
size: _ctx.iconSize
|
|
22009
22544
|
}, null, 8, ["class", "size"])
|
|
22010
22545
|
]) : vue.renderSlot(_ctx.$slots, "unchecked-icon", { key: 1 }, () => [
|
|
22011
22546
|
vue.createVNode(_component_var_icon, {
|
|
22012
|
-
class: vue.normalizeClass(_ctx.
|
|
22547
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
22013
22548
|
"var-radio-cover": "",
|
|
22014
22549
|
name: "radio-blank",
|
|
22015
22550
|
size: _ctx.iconSize
|
|
@@ -22054,11 +22589,11 @@ function __render__$r(_ctx, _cache) {
|
|
|
22054
22589
|
}
|
|
22055
22590
|
const __sfc__$s = vue.defineComponent({
|
|
22056
22591
|
name: name$l,
|
|
22057
|
-
directives: { Ripple: stdin_default$
|
|
22592
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
22058
22593
|
components: {
|
|
22059
|
-
VarIcon: stdin_default$
|
|
22060
|
-
VarFormDetails: stdin_default$
|
|
22061
|
-
VarHoverOverlay: stdin_default$
|
|
22594
|
+
VarIcon: stdin_default$67,
|
|
22595
|
+
VarFormDetails: stdin_default$5R,
|
|
22596
|
+
VarHoverOverlay: stdin_default$65
|
|
22062
22597
|
},
|
|
22063
22598
|
inheritAttrs: false,
|
|
22064
22599
|
props: props$l,
|
|
@@ -22067,7 +22602,6 @@ const __sfc__$s = vue.defineComponent({
|
|
|
22067
22602
|
const isFocusing = vue.ref(false);
|
|
22068
22603
|
const value = useVModel(props2, "modelValue");
|
|
22069
22604
|
const checked = vue.computed(() => value.value === props2.checkedValue);
|
|
22070
|
-
const withAnimation = vue.ref(false);
|
|
22071
22605
|
const { radioGroup, bindRadioGroup } = useRadioGroup();
|
|
22072
22606
|
const { hovering, handleHovering } = useHoverOverlay();
|
|
22073
22607
|
const { form, bindForm } = useForm();
|
|
@@ -22143,7 +22677,6 @@ const __sfc__$s = vue.defineComponent({
|
|
|
22143
22677
|
if ((form == null ? void 0 : form.readonly.value) || readonly) {
|
|
22144
22678
|
return;
|
|
22145
22679
|
}
|
|
22146
|
-
withAnimation.value = true;
|
|
22147
22680
|
change(checked.value ? uncheckedValue : checkedValue);
|
|
22148
22681
|
}
|
|
22149
22682
|
function handleTextClick() {
|
|
@@ -22171,7 +22704,6 @@ const __sfc__$s = vue.defineComponent({
|
|
|
22171
22704
|
return {
|
|
22172
22705
|
action,
|
|
22173
22706
|
isFocusing,
|
|
22174
|
-
withAnimation,
|
|
22175
22707
|
checked,
|
|
22176
22708
|
errorMessage,
|
|
22177
22709
|
radioGroupErrorMessage: radioGroup == null ? void 0 : radioGroup.errorMessage,
|
|
@@ -22276,7 +22808,7 @@ function __render__$q(_ctx, _cache) {
|
|
|
22276
22808
|
}
|
|
22277
22809
|
const __sfc__$r = vue.defineComponent({
|
|
22278
22810
|
name: name$k,
|
|
22279
|
-
components: { VarFormDetails: stdin_default$
|
|
22811
|
+
components: { VarFormDetails: stdin_default$5R, VarRadio: stdin_default$3V, MaybeVNode },
|
|
22280
22812
|
props: props$k,
|
|
22281
22813
|
setup(props2) {
|
|
22282
22814
|
const { length, radios, bindRadios } = useRadios();
|
|
@@ -22482,11 +23014,11 @@ function __render__$p(_ctx, _cache) {
|
|
|
22482
23014
|
const __sfc__$q = vue.defineComponent({
|
|
22483
23015
|
name: name$j,
|
|
22484
23016
|
components: {
|
|
22485
|
-
VarIcon: stdin_default$
|
|
22486
|
-
VarFormDetails: stdin_default$
|
|
22487
|
-
VarHoverOverlay: stdin_default$
|
|
23017
|
+
VarIcon: stdin_default$67,
|
|
23018
|
+
VarFormDetails: stdin_default$5R,
|
|
23019
|
+
VarHoverOverlay: stdin_default$65
|
|
22488
23020
|
},
|
|
22489
|
-
directives: { Ripple: stdin_default$
|
|
23021
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
22490
23022
|
props: props$j,
|
|
22491
23023
|
setup(props2) {
|
|
22492
23024
|
const currentHoveringValue = vue.ref(-1);
|
|
@@ -23107,8 +23639,9 @@ function __render__$g(_ctx, _cache) {
|
|
|
23107
23639
|
label: option[_ctx.labelKey],
|
|
23108
23640
|
value: option[_ctx.valueKey],
|
|
23109
23641
|
option,
|
|
23110
|
-
disabled: option.disabled
|
|
23111
|
-
|
|
23642
|
+
disabled: option.disabled,
|
|
23643
|
+
ripple: option.ripple
|
|
23644
|
+
}, null, 8, ["label", "value", "option", "disabled", "ripple"]);
|
|
23112
23645
|
}),
|
|
23113
23646
|
128
|
|
23114
23647
|
/* KEYED_FRAGMENT */
|
|
@@ -23307,12 +23840,12 @@ function __render__$g(_ctx, _cache) {
|
|
|
23307
23840
|
const __sfc__$h = vue.defineComponent({
|
|
23308
23841
|
name: name$g,
|
|
23309
23842
|
components: {
|
|
23310
|
-
VarIcon: stdin_default$
|
|
23311
|
-
VarMenu: stdin_default$
|
|
23843
|
+
VarIcon: stdin_default$67,
|
|
23844
|
+
VarMenu: stdin_default$5L,
|
|
23312
23845
|
VarChip: stdin_default$57,
|
|
23313
23846
|
VarOption: stdin_default$47,
|
|
23314
|
-
VarFieldDecorator: stdin_default$
|
|
23315
|
-
VarFormDetails: stdin_default$
|
|
23847
|
+
VarFieldDecorator: stdin_default$5P,
|
|
23848
|
+
VarFormDetails: stdin_default$5R,
|
|
23316
23849
|
MaybeVNode
|
|
23317
23850
|
},
|
|
23318
23851
|
props: props$g,
|
|
@@ -23985,10 +24518,10 @@ function __render__$e(_ctx, _cache) {
|
|
|
23985
24518
|
const __sfc__$f = vue.defineComponent({
|
|
23986
24519
|
name: name$e,
|
|
23987
24520
|
components: {
|
|
23988
|
-
VarFormDetails: stdin_default$
|
|
23989
|
-
VarHoverOverlay: stdin_default$
|
|
24521
|
+
VarFormDetails: stdin_default$5R,
|
|
24522
|
+
VarHoverOverlay: stdin_default$65
|
|
23990
24523
|
},
|
|
23991
|
-
directives: { Hover: stdin_default$
|
|
24524
|
+
directives: { Hover: stdin_default$64 },
|
|
23992
24525
|
props: props$e,
|
|
23993
24526
|
setup(props2) {
|
|
23994
24527
|
const maxDistance = vue.ref(0);
|
|
@@ -24536,7 +25069,7 @@ const __sfc__$e = vue.defineComponent({
|
|
|
24536
25069
|
name: "VarSnackbarCore",
|
|
24537
25070
|
components: {
|
|
24538
25071
|
VarLoading: stdin_default$5v,
|
|
24539
|
-
VarIcon: stdin_default$
|
|
25072
|
+
VarIcon: stdin_default$67
|
|
24540
25073
|
},
|
|
24541
25074
|
props: props$d,
|
|
24542
25075
|
setup(props2) {
|
|
@@ -24744,7 +25277,7 @@ const TransitionGroupHost = {
|
|
|
24744
25277
|
});
|
|
24745
25278
|
return vue.createVNode(vue.TransitionGroup, vue.mergeProps(transitionGroupProps, {
|
|
24746
25279
|
"style": {
|
|
24747
|
-
zIndex: stdin_default$
|
|
25280
|
+
zIndex: stdin_default$6c.zIndex
|
|
24748
25281
|
},
|
|
24749
25282
|
"onAfterEnter": opened,
|
|
24750
25283
|
"onAfterLeave": removeUniqOption
|
|
@@ -25092,7 +25625,7 @@ function __render__$b(_ctx, _cache) {
|
|
|
25092
25625
|
}
|
|
25093
25626
|
const __sfc__$c = vue.defineComponent({
|
|
25094
25627
|
name: name$b,
|
|
25095
|
-
components: { VarIcon: stdin_default$
|
|
25628
|
+
components: { VarIcon: stdin_default$67 },
|
|
25096
25629
|
props: props$b,
|
|
25097
25630
|
setup() {
|
|
25098
25631
|
const { index, steps, bindSteps } = useSteps();
|
|
@@ -25385,10 +25918,10 @@ function __render__$9(_ctx, _cache) {
|
|
|
25385
25918
|
const __sfc__$9 = vue.defineComponent({
|
|
25386
25919
|
name: name$8,
|
|
25387
25920
|
components: {
|
|
25388
|
-
VarFormDetails: stdin_default$
|
|
25389
|
-
VarHoverOverlay: stdin_default$
|
|
25921
|
+
VarFormDetails: stdin_default$5R,
|
|
25922
|
+
VarHoverOverlay: stdin_default$65
|
|
25390
25923
|
},
|
|
25391
|
-
directives: { Ripple: stdin_default$
|
|
25924
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
25392
25925
|
props: props$8,
|
|
25393
25926
|
setup(props2) {
|
|
25394
25927
|
const switchRef = vue.ref(null);
|
|
@@ -25580,7 +26113,7 @@ function __render__$8(_ctx, _cache) {
|
|
|
25580
26113
|
}
|
|
25581
26114
|
const __sfc__$8 = vue.defineComponent({
|
|
25582
26115
|
name: name$7,
|
|
25583
|
-
directives: { Ripple: stdin_default$
|
|
26116
|
+
directives: { Ripple: stdin_default$6b },
|
|
25584
26117
|
props: props$7,
|
|
25585
26118
|
setup(props2) {
|
|
25586
26119
|
const tabEl = vue.ref(null);
|
|
@@ -30217,17 +30750,23 @@ function __render__$1(_ctx, _cache) {
|
|
|
30217
30750
|
3
|
|
30218
30751
|
/* TEXT, CLASS */
|
|
30219
30752
|
),
|
|
30220
|
-
_ctx.removable ?
|
|
30753
|
+
_ctx.removable ? vue.renderSlot(_ctx.$slots, "remove-button", {
|
|
30221
30754
|
key: 0,
|
|
30222
|
-
|
|
30223
|
-
|
|
30224
|
-
|
|
30225
|
-
|
|
30226
|
-
|
|
30227
|
-
|
|
30228
|
-
|
|
30229
|
-
},
|
|
30230
|
-
|
|
30755
|
+
remove: () => {
|
|
30756
|
+
_ctx.handleRemove(f);
|
|
30757
|
+
}
|
|
30758
|
+
}, () => [
|
|
30759
|
+
vue.createElementVNode("div", {
|
|
30760
|
+
class: vue.normalizeClass(_ctx.n("file-close")),
|
|
30761
|
+
onClick: vue.withModifiers(($event) => _ctx.handleRemove(f), ["stop"])
|
|
30762
|
+
}, [
|
|
30763
|
+
vue.createVNode(_component_var_icon, {
|
|
30764
|
+
class: vue.normalizeClass(_ctx.n("file-close-icon")),
|
|
30765
|
+
"var-uploader-cover": "",
|
|
30766
|
+
name: "delete"
|
|
30767
|
+
}, null, 8, ["class"])
|
|
30768
|
+
], 10, _hoisted_2$1)
|
|
30769
|
+
]) : vue.createCommentVNode("v-if", true),
|
|
30231
30770
|
f.cover ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
30232
30771
|
key: 1,
|
|
30233
30772
|
role: "img",
|
|
@@ -30362,12 +30901,12 @@ function __render__$1(_ctx, _cache) {
|
|
|
30362
30901
|
}
|
|
30363
30902
|
const __sfc__$1 = vue.defineComponent({
|
|
30364
30903
|
name: name$1,
|
|
30365
|
-
directives: { Ripple: stdin_default$
|
|
30904
|
+
directives: { Ripple: stdin_default$6b, Hover: stdin_default$64 },
|
|
30366
30905
|
components: {
|
|
30367
|
-
VarIcon: stdin_default$
|
|
30368
|
-
VarPopup: stdin_default$
|
|
30369
|
-
VarFormDetails: stdin_default$
|
|
30370
|
-
VarHoverOverlay: stdin_default$
|
|
30906
|
+
VarIcon: stdin_default$67,
|
|
30907
|
+
VarPopup: stdin_default$69,
|
|
30908
|
+
VarFormDetails: stdin_default$5R,
|
|
30909
|
+
VarHoverOverlay: stdin_default$65
|
|
30371
30910
|
},
|
|
30372
30911
|
props: props$1,
|
|
30373
30912
|
setup(props2) {
|
|
@@ -30941,11 +31480,11 @@ withInstall(stdin_default$1);
|
|
|
30941
31480
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
30942
31481
|
const _WatermarkComponent = stdin_default$1;
|
|
30943
31482
|
var stdin_default = stdin_default$1;
|
|
30944
|
-
const version = "3.
|
|
31483
|
+
const version = "3.8.0";
|
|
30945
31484
|
function install(app) {
|
|
30946
|
-
stdin_default$
|
|
30947
|
-
stdin_default$
|
|
30948
|
-
stdin_default$
|
|
31485
|
+
stdin_default$5X.install && app.use(stdin_default$5X);
|
|
31486
|
+
stdin_default$5V.install && app.use(stdin_default$5V);
|
|
31487
|
+
stdin_default$5T.install && app.use(stdin_default$5T);
|
|
30949
31488
|
stdin_default$5C.install && app.use(stdin_default$5C);
|
|
30950
31489
|
stdin_default$5z.install && app.use(stdin_default$5z);
|
|
30951
31490
|
stdin_default$5x.install && app.use(stdin_default$5x);
|
|
@@ -30959,7 +31498,7 @@ function install(app) {
|
|
|
30959
31498
|
stdin_default$5f.install && app.use(stdin_default$5f);
|
|
30960
31499
|
stdin_default$5d.install && app.use(stdin_default$5d);
|
|
30961
31500
|
stdin_default$5b.install && app.use(stdin_default$5b);
|
|
30962
|
-
stdin_default$
|
|
31501
|
+
stdin_default$5J.install && app.use(stdin_default$5J);
|
|
30963
31502
|
stdin_default$59.install && app.use(stdin_default$59);
|
|
30964
31503
|
stdin_default$57.install && app.use(stdin_default$57);
|
|
30965
31504
|
stdin_default$55.install && app.use(stdin_default$55);
|
|
@@ -30967,7 +31506,7 @@ function install(app) {
|
|
|
30967
31506
|
stdin_default$51.install && app.use(stdin_default$51);
|
|
30968
31507
|
stdin_default$4$.install && app.use(stdin_default$4$);
|
|
30969
31508
|
stdin_default$4Z.install && app.use(stdin_default$4Z);
|
|
30970
|
-
stdin_default$
|
|
31509
|
+
stdin_default$6c.install && app.use(stdin_default$6c);
|
|
30971
31510
|
stdin_default$4X.install && app.use(stdin_default$4X);
|
|
30972
31511
|
stdin_default$4V.install && app.use(stdin_default$4V);
|
|
30973
31512
|
stdin_default$4T.install && app.use(stdin_default$4T);
|
|
@@ -30977,42 +31516,42 @@ function install(app) {
|
|
|
30977
31516
|
stdin_default$4F.install && app.use(stdin_default$4F);
|
|
30978
31517
|
stdin_default$4B.install && app.use(stdin_default$4B);
|
|
30979
31518
|
stdin_default$4z.install && app.use(stdin_default$4z);
|
|
30980
|
-
stdin_default$
|
|
31519
|
+
stdin_default$5P.install && app.use(stdin_default$5P);
|
|
30981
31520
|
stdin_default$4x.install && app.use(stdin_default$4x);
|
|
30982
31521
|
stdin_default$4v.install && app.use(stdin_default$4v);
|
|
30983
|
-
stdin_default$
|
|
31522
|
+
stdin_default$5R.install && app.use(stdin_default$5R);
|
|
30984
31523
|
stdin_default$4t.install && app.use(stdin_default$4t);
|
|
30985
|
-
stdin_default$63.install && app.use(stdin_default$63);
|
|
30986
31524
|
stdin_default$64.install && app.use(stdin_default$64);
|
|
30987
|
-
stdin_default$
|
|
31525
|
+
stdin_default$65.install && app.use(stdin_default$65);
|
|
31526
|
+
stdin_default$67.install && app.use(stdin_default$67);
|
|
30988
31527
|
stdin_default$4r.install && app.use(stdin_default$4r);
|
|
30989
31528
|
stdin_default$4l.install && app.use(stdin_default$4l);
|
|
30990
31529
|
stdin_default$4j.install && app.use(stdin_default$4j);
|
|
30991
31530
|
stdin_default$4h.install && app.use(stdin_default$4h);
|
|
30992
|
-
stdin_default$
|
|
31531
|
+
stdin_default$5N.install && app.use(stdin_default$5N);
|
|
30993
31532
|
stdin_default$5B.install && app.use(stdin_default$5B);
|
|
30994
31533
|
stdin_default$4f.install && app.use(stdin_default$4f);
|
|
30995
31534
|
stdin_default$4d.install && app.use(stdin_default$4d);
|
|
30996
31535
|
stdin_default$5v.install && app.use(stdin_default$5v);
|
|
30997
31536
|
stdin_default$4b.install && app.use(stdin_default$4b);
|
|
30998
|
-
stdin_default$
|
|
31537
|
+
stdin_default$5Z.install && app.use(stdin_default$5Z);
|
|
30999
31538
|
stdin_default$49.install && app.use(stdin_default$49);
|
|
31000
|
-
stdin_default$
|
|
31001
|
-
stdin_default$
|
|
31539
|
+
stdin_default$5L.install && app.use(stdin_default$5L);
|
|
31540
|
+
stdin_default$5H.install && app.use(stdin_default$5H);
|
|
31002
31541
|
stdin_default$5E.install && app.use(stdin_default$5E);
|
|
31003
31542
|
stdin_default$47.install && app.use(stdin_default$47);
|
|
31004
31543
|
stdin_default$45.install && app.use(stdin_default$45);
|
|
31005
31544
|
stdin_default$43.install && app.use(stdin_default$43);
|
|
31006
31545
|
stdin_default$41.install && app.use(stdin_default$41);
|
|
31007
31546
|
stdin_default$3$.install && app.use(stdin_default$3$);
|
|
31008
|
-
stdin_default$
|
|
31547
|
+
stdin_default$69.install && app.use(stdin_default$69);
|
|
31009
31548
|
stdin_default$3Z.install && app.use(stdin_default$3Z);
|
|
31010
31549
|
stdin_default$3X.install && app.use(stdin_default$3X);
|
|
31011
31550
|
stdin_default$3V.install && app.use(stdin_default$3V);
|
|
31012
31551
|
stdin_default$3T.install && app.use(stdin_default$3T);
|
|
31013
31552
|
stdin_default$3R.install && app.use(stdin_default$3R);
|
|
31014
31553
|
stdin_default$3J.install && app.use(stdin_default$3J);
|
|
31015
|
-
stdin_default$
|
|
31554
|
+
stdin_default$6b.install && app.use(stdin_default$6b);
|
|
31016
31555
|
stdin_default$3H.install && app.use(stdin_default$3H);
|
|
31017
31556
|
stdin_default$3F.install && app.use(stdin_default$3F);
|
|
31018
31557
|
stdin_default$3D.install && app.use(stdin_default$3D);
|
|
@@ -31040,9 +31579,9 @@ function install(app) {
|
|
|
31040
31579
|
const index_bundle = {
|
|
31041
31580
|
version,
|
|
31042
31581
|
install,
|
|
31043
|
-
ActionSheet: stdin_default$
|
|
31044
|
-
Alert: stdin_default$
|
|
31045
|
-
AppBar: stdin_default$
|
|
31582
|
+
ActionSheet: stdin_default$5X,
|
|
31583
|
+
Alert: stdin_default$5V,
|
|
31584
|
+
AppBar: stdin_default$5T,
|
|
31046
31585
|
AutoComplete: stdin_default$5C,
|
|
31047
31586
|
Avatar: stdin_default$5z,
|
|
31048
31587
|
AvatarGroup: stdin_default$5x,
|
|
@@ -31056,7 +31595,7 @@ const index_bundle = {
|
|
|
31056
31595
|
ButtonGroup: stdin_default$5f,
|
|
31057
31596
|
Card: stdin_default$5d,
|
|
31058
31597
|
Cell: stdin_default$5b,
|
|
31059
|
-
Checkbox: stdin_default$
|
|
31598
|
+
Checkbox: stdin_default$5J,
|
|
31060
31599
|
CheckboxGroup: stdin_default$59,
|
|
31061
31600
|
Chip: stdin_default$57,
|
|
31062
31601
|
Code: stdin_default$55,
|
|
@@ -31064,7 +31603,7 @@ const index_bundle = {
|
|
|
31064
31603
|
Collapse: stdin_default$51,
|
|
31065
31604
|
CollapseItem: stdin_default$4$,
|
|
31066
31605
|
CollapseTransition: stdin_default$4Z,
|
|
31067
|
-
Context: stdin_default$
|
|
31606
|
+
Context: stdin_default$6c,
|
|
31068
31607
|
CountTo: stdin_default$4X,
|
|
31069
31608
|
Countdown: stdin_default$4V,
|
|
31070
31609
|
Counter: stdin_default$4T,
|
|
@@ -31074,42 +31613,42 @@ const index_bundle = {
|
|
|
31074
31613
|
Drag: stdin_default$4F,
|
|
31075
31614
|
Ellipsis: stdin_default$4B,
|
|
31076
31615
|
Fab: stdin_default$4z,
|
|
31077
|
-
FieldDecorator: stdin_default$
|
|
31616
|
+
FieldDecorator: stdin_default$5P,
|
|
31078
31617
|
FloatingPanel: stdin_default$4x,
|
|
31079
31618
|
Form: stdin_default$4v,
|
|
31080
|
-
FormDetails: stdin_default$
|
|
31619
|
+
FormDetails: stdin_default$5R,
|
|
31081
31620
|
HighlighterProvider: stdin_default$4t,
|
|
31082
|
-
Hover: stdin_default$
|
|
31083
|
-
HoverOverlay: stdin_default$
|
|
31084
|
-
Icon: stdin_default$
|
|
31621
|
+
Hover: stdin_default$64,
|
|
31622
|
+
HoverOverlay: stdin_default$65,
|
|
31623
|
+
Icon: stdin_default$67,
|
|
31085
31624
|
Image: stdin_default$4r,
|
|
31086
31625
|
ImagePreview: stdin_default$4l,
|
|
31087
31626
|
IndexAnchor: stdin_default$4j,
|
|
31088
31627
|
IndexBar: stdin_default$4h,
|
|
31089
|
-
Input: stdin_default$
|
|
31628
|
+
Input: stdin_default$5N,
|
|
31090
31629
|
Lazy: stdin_default$5B,
|
|
31091
31630
|
Link: stdin_default$4f,
|
|
31092
31631
|
List: stdin_default$4d,
|
|
31093
31632
|
Loading: stdin_default$5v,
|
|
31094
31633
|
LoadingBar: stdin_default$4b,
|
|
31095
|
-
Locale: stdin_default$
|
|
31634
|
+
Locale: stdin_default$5Z,
|
|
31096
31635
|
LocaleProvider: stdin_default$49,
|
|
31097
|
-
Menu: stdin_default$
|
|
31098
|
-
MenuOption: stdin_default$
|
|
31636
|
+
Menu: stdin_default$5L,
|
|
31637
|
+
MenuOption: stdin_default$5H,
|
|
31099
31638
|
MenuSelect: stdin_default$5E,
|
|
31100
31639
|
Option: stdin_default$47,
|
|
31101
31640
|
Overlay: stdin_default$45,
|
|
31102
31641
|
Pagination: stdin_default$43,
|
|
31103
31642
|
Paper: stdin_default$41,
|
|
31104
31643
|
Picker: stdin_default$3$,
|
|
31105
|
-
Popup: stdin_default$
|
|
31644
|
+
Popup: stdin_default$69,
|
|
31106
31645
|
Progress: stdin_default$3Z,
|
|
31107
31646
|
PullRefresh: stdin_default$3X,
|
|
31108
31647
|
Radio: stdin_default$3V,
|
|
31109
31648
|
RadioGroup: stdin_default$3T,
|
|
31110
31649
|
Rate: stdin_default$3R,
|
|
31111
31650
|
Result: stdin_default$3J,
|
|
31112
|
-
Ripple: stdin_default$
|
|
31651
|
+
Ripple: stdin_default$6b,
|
|
31113
31652
|
Row: stdin_default$3H,
|
|
31114
31653
|
Select: stdin_default$3F,
|
|
31115
31654
|
Skeleton: stdin_default$3D,
|
|
@@ -31134,9 +31673,9 @@ const index_bundle = {
|
|
|
31134
31673
|
Uploader: stdin_default$2,
|
|
31135
31674
|
Watermark: stdin_default
|
|
31136
31675
|
};
|
|
31137
|
-
exports.ActionSheet = stdin_default$
|
|
31138
|
-
exports.Alert = stdin_default$
|
|
31139
|
-
exports.AppBar = stdin_default$
|
|
31676
|
+
exports.ActionSheet = stdin_default$5X;
|
|
31677
|
+
exports.Alert = stdin_default$5V;
|
|
31678
|
+
exports.AppBar = stdin_default$5T;
|
|
31140
31679
|
exports.AutoComplete = stdin_default$5C;
|
|
31141
31680
|
exports.Avatar = stdin_default$5z;
|
|
31142
31681
|
exports.AvatarGroup = stdin_default$5x;
|
|
@@ -31150,7 +31689,7 @@ exports.Button = stdin_default$5t;
|
|
|
31150
31689
|
exports.ButtonGroup = stdin_default$5f;
|
|
31151
31690
|
exports.Card = stdin_default$5d;
|
|
31152
31691
|
exports.Cell = stdin_default$5b;
|
|
31153
|
-
exports.Checkbox = stdin_default$
|
|
31692
|
+
exports.Checkbox = stdin_default$5J;
|
|
31154
31693
|
exports.CheckboxGroup = stdin_default$59;
|
|
31155
31694
|
exports.Chip = stdin_default$57;
|
|
31156
31695
|
exports.Code = stdin_default$55;
|
|
@@ -31158,7 +31697,7 @@ exports.Col = stdin_default$53;
|
|
|
31158
31697
|
exports.Collapse = stdin_default$51;
|
|
31159
31698
|
exports.CollapseItem = stdin_default$4$;
|
|
31160
31699
|
exports.CollapseTransition = stdin_default$4Z;
|
|
31161
|
-
exports.Context = stdin_default$
|
|
31700
|
+
exports.Context = stdin_default$6c;
|
|
31162
31701
|
exports.CountTo = stdin_default$4X;
|
|
31163
31702
|
exports.Countdown = stdin_default$4V;
|
|
31164
31703
|
exports.Counter = stdin_default$4T;
|
|
@@ -31168,28 +31707,28 @@ exports.Divider = stdin_default$4H;
|
|
|
31168
31707
|
exports.Drag = stdin_default$4F;
|
|
31169
31708
|
exports.Ellipsis = stdin_default$4B;
|
|
31170
31709
|
exports.Fab = stdin_default$4z;
|
|
31171
|
-
exports.FieldDecorator = stdin_default$
|
|
31710
|
+
exports.FieldDecorator = stdin_default$5P;
|
|
31172
31711
|
exports.FloatingPanel = stdin_default$4x;
|
|
31173
31712
|
exports.Form = stdin_default$4v;
|
|
31174
|
-
exports.FormDetails = stdin_default$
|
|
31713
|
+
exports.FormDetails = stdin_default$5R;
|
|
31175
31714
|
exports.HighlighterProvider = stdin_default$4t;
|
|
31176
|
-
exports.Hover = stdin_default$
|
|
31177
|
-
exports.HoverOverlay = stdin_default$
|
|
31178
|
-
exports.Icon = stdin_default$
|
|
31715
|
+
exports.Hover = stdin_default$64;
|
|
31716
|
+
exports.HoverOverlay = stdin_default$65;
|
|
31717
|
+
exports.Icon = stdin_default$67;
|
|
31179
31718
|
exports.Image = stdin_default$4r;
|
|
31180
31719
|
exports.ImagePreview = stdin_default$4l;
|
|
31181
31720
|
exports.IndexAnchor = stdin_default$4j;
|
|
31182
31721
|
exports.IndexBar = stdin_default$4h;
|
|
31183
|
-
exports.Input = stdin_default$
|
|
31722
|
+
exports.Input = stdin_default$5N;
|
|
31184
31723
|
exports.Lazy = stdin_default$5B;
|
|
31185
31724
|
exports.Link = stdin_default$4f;
|
|
31186
31725
|
exports.List = stdin_default$4d;
|
|
31187
31726
|
exports.Loading = stdin_default$5v;
|
|
31188
31727
|
exports.LoadingBar = stdin_default$4b;
|
|
31189
|
-
exports.Locale = stdin_default$
|
|
31728
|
+
exports.Locale = stdin_default$5Z;
|
|
31190
31729
|
exports.LocaleProvider = stdin_default$49;
|
|
31191
|
-
exports.Menu = stdin_default$
|
|
31192
|
-
exports.MenuOption = stdin_default$
|
|
31730
|
+
exports.Menu = stdin_default$5L;
|
|
31731
|
+
exports.MenuOption = stdin_default$5H;
|
|
31193
31732
|
exports.MenuSelect = stdin_default$5E;
|
|
31194
31733
|
exports.Option = stdin_default$47;
|
|
31195
31734
|
exports.Overlay = stdin_default$45;
|
|
@@ -31197,14 +31736,14 @@ exports.PIXEL = PIXEL;
|
|
|
31197
31736
|
exports.Pagination = stdin_default$43;
|
|
31198
31737
|
exports.Paper = stdin_default$41;
|
|
31199
31738
|
exports.Picker = stdin_default$3$;
|
|
31200
|
-
exports.Popup = stdin_default$
|
|
31739
|
+
exports.Popup = stdin_default$69;
|
|
31201
31740
|
exports.Progress = stdin_default$3Z;
|
|
31202
31741
|
exports.PullRefresh = stdin_default$3X;
|
|
31203
31742
|
exports.Radio = stdin_default$3V;
|
|
31204
31743
|
exports.RadioGroup = stdin_default$3T;
|
|
31205
31744
|
exports.Rate = stdin_default$3R;
|
|
31206
31745
|
exports.Result = stdin_default$3J;
|
|
31207
|
-
exports.Ripple = stdin_default$
|
|
31746
|
+
exports.Ripple = stdin_default$6b;
|
|
31208
31747
|
exports.Row = stdin_default$3H;
|
|
31209
31748
|
exports.SNACKBAR_TYPE = SNACKBAR_TYPE;
|
|
31210
31749
|
exports.Select = stdin_default$3F;
|
|
@@ -31357,8 +31896,8 @@ exports.dialogProps = props$K;
|
|
|
31357
31896
|
exports.dividerProps = props$J;
|
|
31358
31897
|
exports.dragProps = props$I;
|
|
31359
31898
|
exports.ellipsisProps = props$G;
|
|
31360
|
-
exports.enUS = stdin_default$
|
|
31361
|
-
exports.faIR = stdin_default$
|
|
31899
|
+
exports.enUS = stdin_default$61;
|
|
31900
|
+
exports.faIR = stdin_default$5_;
|
|
31362
31901
|
exports.fabProps = props$F;
|
|
31363
31902
|
exports.fieldDecoratorProps = props$1e;
|
|
31364
31903
|
exports.formDetailsProps = props$1f;
|
|
@@ -31419,6 +31958,6 @@ exports.useHoverOverlay = useHoverOverlay;
|
|
|
31419
31958
|
exports.useLocale = useLocale;
|
|
31420
31959
|
exports.version = version;
|
|
31421
31960
|
exports.watermarkProps = props;
|
|
31422
|
-
exports.zhCN = stdin_default$
|
|
31423
|
-
exports.zhHK = stdin_default$
|
|
31424
|
-
exports.zhTW = stdin_default$
|
|
31961
|
+
exports.zhCN = stdin_default$62;
|
|
31962
|
+
exports.zhHK = stdin_default$5$;
|
|
31963
|
+
exports.zhTW = stdin_default$60;
|