vue-devui 1.0.0-rc.12 → 1.0.0-rc.15
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/README.md +161 -149
- package/alert/index.umd.js +1 -1
- package/auto-complete/index.es.js +243 -83
- package/auto-complete/index.umd.js +29 -18
- package/auto-complete/style.css +1 -1
- package/avatar/index.umd.js +1 -1
- package/badge/index.umd.js +1 -1
- package/button/index.es.js +23 -43
- package/button/index.umd.js +9 -9
- package/button/style.css +1 -1
- package/card/index.umd.js +1 -1
- package/checkbox/index.es.js +94 -77
- package/checkbox/index.umd.js +26 -15
- package/checkbox/style.css +1 -1
- package/collapse/index.es.js +3 -21
- package/collapse/index.umd.js +1 -1
- package/countdown/index.umd.js +1 -1
- package/date-picker-pro/index.es.js +1423 -248
- package/date-picker-pro/index.umd.js +25 -14
- package/date-picker-pro/style.css +1 -1
- package/drawer/index.es.js +4 -17
- package/drawer/index.umd.js +1 -1
- package/dropdown/index.es.js +12 -23
- package/dropdown/index.umd.js +1 -1
- package/editable-select/index.es.js +260 -105
- package/editable-select/index.umd.js +1 -1
- package/editable-select/style.css +1 -1
- package/form/index.es.js +85 -71
- package/form/index.umd.js +21 -10
- package/fullscreen/index.umd.js +1 -1
- package/grid/index.es.js +7 -20
- package/grid/index.umd.js +1 -1
- package/icon/index.es.js +2 -1
- package/icon/index.umd.js +1 -1
- package/icon/style.css +1 -1
- package/image-preview/index.es.js +12 -23
- package/image-preview/index.umd.js +1 -1
- package/image-preview/style.css +1 -1
- package/input/index.es.js +241 -76
- package/input/index.umd.js +27 -16
- package/input/style.css +1 -1
- package/input-number/index.es.js +2 -20
- package/input-number/index.umd.js +1 -1
- package/layout/index.es.js +1 -1
- package/layout/index.umd.js +1 -1
- package/loading/index.es.js +15 -38
- package/loading/index.umd.js +1 -1
- package/message/index.d.ts +7 -0
- package/message/index.es.js +534 -0
- package/message/index.umd.js +1 -0
- package/message/package.json +7 -0
- package/message/style.css +1 -0
- package/modal/index.es.js +13 -44
- package/modal/index.umd.js +1 -1
- package/modal/style.css +1 -1
- package/notification/index.es.js +45 -54
- package/notification/index.umd.js +1 -1
- package/notification/style.css +1 -1
- package/nuxt/components/Message.js +3 -0
- package/nuxt/components/animationInjectionKey.js +3 -0
- package/nuxt/components/messageProps.js +3 -0
- package/nuxt/components/roundInjectionKey.js +3 -0
- package/nuxt/components/skeletonItemProps.js +3 -0
- package/overlay/index.es.js +1 -1
- package/overlay/index.umd.js +1 -1
- package/package.json +2 -2
- package/pagination/index.es.js +152 -2
- package/pagination/index.umd.js +1 -1
- package/panel/index.umd.js +1 -1
- package/popover/index.es.js +1 -1
- package/popover/index.umd.js +4 -4
- package/progress/index.umd.js +3 -3
- package/radio/index.es.js +91 -75
- package/radio/index.umd.js +28 -17
- package/radio/style.css +1 -1
- package/rate/index.umd.js +1 -1
- package/result/index.es.js +2 -1
- package/result/index.umd.js +1 -1
- package/result/style.css +1 -1
- package/ripple/index.es.js +5 -18
- package/ripple/index.umd.js +1 -1
- package/search/index.es.js +258 -80
- package/search/index.umd.js +27 -16
- package/search/style.css +1 -1
- package/select/index.es.js +352 -146
- package/select/index.umd.js +28 -17
- package/select/style.css +1 -1
- package/skeleton/index.es.js +87 -261
- package/skeleton/index.umd.js +1 -1
- package/skeleton/style.css +1 -1
- package/slider/index.umd.js +1 -1
- package/splitter/index.es.js +175 -32
- package/splitter/index.umd.js +13 -13
- package/statistic/index.es.js +0 -21
- package/statistic/index.umd.js +1 -1
- package/status/index.umd.js +1 -1
- package/steps/index.es.js +2 -1
- package/steps/index.umd.js +1 -1
- package/steps/style.css +1 -1
- package/style.css +1 -1
- package/switch/index.es.js +85 -71
- package/switch/index.umd.js +25 -14
- package/table/index.es.js +465 -130
- package/table/index.umd.js +24 -13
- package/table/style.css +1 -1
- package/tabs/index.es.js +21 -11
- package/tabs/index.umd.js +1 -1
- package/tabs/style.css +1 -1
- package/tag/index.umd.js +1 -1
- package/textarea/index.es.js +88 -72
- package/textarea/index.umd.js +26 -15
- package/time-picker/index.es.js +289 -116
- package/time-picker/index.umd.js +27 -16
- package/time-picker/style.css +1 -1
- package/time-select/index.es.js +352 -146
- package/time-select/index.umd.js +26 -15
- package/time-select/style.css +1 -1
- package/timeline/index.es.js +2 -1
- package/timeline/index.umd.js +1 -1
- package/timeline/style.css +1 -1
- package/tooltip/index.es.js +1 -1
- package/tooltip/index.umd.js +4 -4
- package/tree/index.es.js +515 -144
- package/tree/index.umd.js +26 -15
- package/tree/style.css +1 -1
- package/upload/index.es.js +197 -81
- package/upload/index.umd.js +1 -1
- package/upload/style.css +1 -1
- package/vue-devui.es.js +13710 -12898
- package/vue-devui.umd.js +30 -19
package/splitter/index.es.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => {
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
7
|
-
import { watch, onUnmounted, defineComponent, toRefs, createVNode, Transition, mergeProps, ref, unref, nextTick, Comment, Text, h, Fragment, inject, withDirectives, cloneVNode, computed, onMounted, provide, Teleport, getCurrentInstance, reactive, resolveComponent, onUpdated } from "vue";
|
|
1
|
+
import { watch, onUnmounted, defineComponent, toRefs, createVNode, Transition, mergeProps, ref, nextTick, unref, Comment, Text, Fragment, h, inject, withDirectives, cloneVNode, computed, onMounted, provide, Teleport, reactive, getCurrentInstance, resolveComponent, onUpdated } from "vue";
|
|
8
2
|
import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
|
|
9
3
|
const fixedOverlayProps = {
|
|
10
4
|
modelValue: {
|
|
@@ -1064,7 +1058,7 @@ var lodash = { exports: {} };
|
|
|
1064
1058
|
}
|
|
1065
1059
|
var runInContext = function runInContext2(context) {
|
|
1066
1060
|
context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
|
|
1067
|
-
var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String,
|
|
1061
|
+
var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError = context.TypeError;
|
|
1068
1062
|
var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
|
|
1069
1063
|
var coreJsData = context["__core-js_shared__"];
|
|
1070
1064
|
var funcToString = funcProto.toString;
|
|
@@ -1078,7 +1072,7 @@ var lodash = { exports: {} };
|
|
|
1078
1072
|
var objectCtorString = funcToString.call(Object2);
|
|
1079
1073
|
var oldDash = root._;
|
|
1080
1074
|
var reIsNative = RegExp2("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
1081
|
-
var
|
|
1075
|
+
var Buffer = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array = context.Uint8Array, allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined$1;
|
|
1082
1076
|
var defineProperty = function() {
|
|
1083
1077
|
try {
|
|
1084
1078
|
var func = getNative(Object2, "defineProperty");
|
|
@@ -1088,11 +1082,11 @@ var lodash = { exports: {} };
|
|
|
1088
1082
|
}
|
|
1089
1083
|
}();
|
|
1090
1084
|
var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date && Date.now !== root.Date.now && Date.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
|
|
1091
|
-
var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer =
|
|
1092
|
-
var DataView = getNative(context, "DataView"), Map = getNative(context, "Map"),
|
|
1093
|
-
var metaMap =
|
|
1085
|
+
var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
|
|
1086
|
+
var DataView = getNative(context, "DataView"), Map = getNative(context, "Map"), Promise = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
|
|
1087
|
+
var metaMap = WeakMap && new WeakMap();
|
|
1094
1088
|
var realNames = {};
|
|
1095
|
-
var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(
|
|
1089
|
+
var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise), setCtorString = toSource(Set2), weakMapCtorString = toSource(WeakMap);
|
|
1096
1090
|
var symbolProto = Symbol2 ? Symbol2.prototype : undefined$1, symbolValueOf = symbolProto ? symbolProto.valueOf : undefined$1, symbolToString = symbolProto ? symbolProto.toString : undefined$1;
|
|
1097
1091
|
function lodash2(value) {
|
|
1098
1092
|
if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
|
|
@@ -1545,7 +1539,7 @@ var lodash = { exports: {} };
|
|
|
1545
1539
|
}
|
|
1546
1540
|
function baseDelay(func, wait, args) {
|
|
1547
1541
|
if (typeof func != "function") {
|
|
1548
|
-
throw new
|
|
1542
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1549
1543
|
}
|
|
1550
1544
|
return setTimeout2(function() {
|
|
1551
1545
|
func.apply(undefined$1, args);
|
|
@@ -2340,7 +2334,7 @@ var lodash = { exports: {} };
|
|
|
2340
2334
|
}
|
|
2341
2335
|
function cloneArrayBuffer(arrayBuffer) {
|
|
2342
2336
|
var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
2343
|
-
new
|
|
2337
|
+
new Uint8Array(result2).set(new Uint8Array(arrayBuffer));
|
|
2344
2338
|
return result2;
|
|
2345
2339
|
}
|
|
2346
2340
|
function cloneDataView(dataView, isDeep) {
|
|
@@ -2589,7 +2583,7 @@ var lodash = { exports: {} };
|
|
|
2589
2583
|
while (index2--) {
|
|
2590
2584
|
var func = funcs[index2];
|
|
2591
2585
|
if (typeof func != "function") {
|
|
2592
|
-
throw new
|
|
2586
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
2593
2587
|
}
|
|
2594
2588
|
if (prereq && !wrapper && getFuncName(func) == "wrapper") {
|
|
2595
2589
|
var wrapper = new LodashWrapper([], true);
|
|
@@ -2784,8 +2778,8 @@ var lodash = { exports: {} };
|
|
|
2784
2778
|
return func(number);
|
|
2785
2779
|
};
|
|
2786
2780
|
}
|
|
2787
|
-
var createSet = !(
|
|
2788
|
-
return new
|
|
2781
|
+
var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop : function(values2) {
|
|
2782
|
+
return new Set2(values2);
|
|
2789
2783
|
};
|
|
2790
2784
|
function createToPairs(keysFunc) {
|
|
2791
2785
|
return function(object) {
|
|
@@ -2802,7 +2796,7 @@ var lodash = { exports: {} };
|
|
|
2802
2796
|
function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary2, arity) {
|
|
2803
2797
|
var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
|
|
2804
2798
|
if (!isBindKey && typeof func != "function") {
|
|
2805
|
-
throw new
|
|
2799
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
2806
2800
|
}
|
|
2807
2801
|
var length = partials ? partials.length : 0;
|
|
2808
2802
|
if (!length) {
|
|
@@ -2922,7 +2916,7 @@ var lodash = { exports: {} };
|
|
|
2922
2916
|
object = object.buffer;
|
|
2923
2917
|
other = other.buffer;
|
|
2924
2918
|
case arrayBufferTag:
|
|
2925
|
-
if (object.byteLength != other.byteLength || !equalFunc(new
|
|
2919
|
+
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
|
2926
2920
|
return false;
|
|
2927
2921
|
}
|
|
2928
2922
|
return true;
|
|
@@ -3084,7 +3078,7 @@ var lodash = { exports: {} };
|
|
|
3084
3078
|
return result2;
|
|
3085
3079
|
};
|
|
3086
3080
|
var getTag = baseGetTag;
|
|
3087
|
-
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag ||
|
|
3081
|
+
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
|
|
3088
3082
|
getTag = function(value) {
|
|
3089
3083
|
var result2 = baseGetTag(value), Ctor = result2 == objectTag ? value.constructor : undefined$1, ctorString = Ctor ? toSource(Ctor) : "";
|
|
3090
3084
|
if (ctorString) {
|
|
@@ -4069,7 +4063,7 @@ var lodash = { exports: {} };
|
|
|
4069
4063
|
};
|
|
4070
4064
|
function after(n, func) {
|
|
4071
4065
|
if (typeof func != "function") {
|
|
4072
|
-
throw new
|
|
4066
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4073
4067
|
}
|
|
4074
4068
|
n = toInteger(n);
|
|
4075
4069
|
return function() {
|
|
@@ -4086,7 +4080,7 @@ var lodash = { exports: {} };
|
|
|
4086
4080
|
function before(n, func) {
|
|
4087
4081
|
var result2;
|
|
4088
4082
|
if (typeof func != "function") {
|
|
4089
|
-
throw new
|
|
4083
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4090
4084
|
}
|
|
4091
4085
|
n = toInteger(n);
|
|
4092
4086
|
return function() {
|
|
@@ -4130,7 +4124,7 @@ var lodash = { exports: {} };
|
|
|
4130
4124
|
function debounce(func, wait, options) {
|
|
4131
4125
|
var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
|
|
4132
4126
|
if (typeof func != "function") {
|
|
4133
|
-
throw new
|
|
4127
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4134
4128
|
}
|
|
4135
4129
|
wait = toNumber(wait) || 0;
|
|
4136
4130
|
if (isObject2(options)) {
|
|
@@ -4219,7 +4213,7 @@ var lodash = { exports: {} };
|
|
|
4219
4213
|
}
|
|
4220
4214
|
function memoize(func, resolver) {
|
|
4221
4215
|
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
|
4222
|
-
throw new
|
|
4216
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4223
4217
|
}
|
|
4224
4218
|
var memoized = function() {
|
|
4225
4219
|
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
@@ -4236,7 +4230,7 @@ var lodash = { exports: {} };
|
|
|
4236
4230
|
memoize.Cache = MapCache;
|
|
4237
4231
|
function negate(predicate) {
|
|
4238
4232
|
if (typeof predicate != "function") {
|
|
4239
|
-
throw new
|
|
4233
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4240
4234
|
}
|
|
4241
4235
|
return function() {
|
|
4242
4236
|
var args = arguments;
|
|
@@ -4280,14 +4274,14 @@ var lodash = { exports: {} };
|
|
|
4280
4274
|
});
|
|
4281
4275
|
function rest(func, start) {
|
|
4282
4276
|
if (typeof func != "function") {
|
|
4283
|
-
throw new
|
|
4277
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4284
4278
|
}
|
|
4285
4279
|
start = start === undefined$1 ? start : toInteger(start);
|
|
4286
4280
|
return baseRest(func, start);
|
|
4287
4281
|
}
|
|
4288
4282
|
function spread(func, start) {
|
|
4289
4283
|
if (typeof func != "function") {
|
|
4290
|
-
throw new
|
|
4284
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4291
4285
|
}
|
|
4292
4286
|
start = start == null ? 0 : nativeMax(toInteger(start), 0);
|
|
4293
4287
|
return baseRest(function(args) {
|
|
@@ -4301,7 +4295,7 @@ var lodash = { exports: {} };
|
|
|
4301
4295
|
function throttle(func, wait, options) {
|
|
4302
4296
|
var leading = true, trailing = true;
|
|
4303
4297
|
if (typeof func != "function") {
|
|
4304
|
-
throw new
|
|
4298
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
4305
4299
|
}
|
|
4306
4300
|
if (isObject2(options)) {
|
|
4307
4301
|
leading = "leading" in options ? !!options.leading : leading;
|
|
@@ -5114,7 +5108,7 @@ var lodash = { exports: {} };
|
|
|
5114
5108
|
var length = pairs == null ? 0 : pairs.length, toIteratee = getIteratee();
|
|
5115
5109
|
pairs = !length ? [] : arrayMap(pairs, function(pair) {
|
|
5116
5110
|
if (typeof pair[1] != "function") {
|
|
5117
|
-
throw new
|
|
5111
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
5118
5112
|
}
|
|
5119
5113
|
return [toIteratee(pair[0]), pair[1]];
|
|
5120
5114
|
});
|
|
@@ -6005,6 +5999,155 @@ const splitterBarProps = {
|
|
|
6005
5999
|
}
|
|
6006
6000
|
};
|
|
6007
6001
|
var splitterBar = "";
|
|
6002
|
+
function deepAssign(...objects) {
|
|
6003
|
+
const isObject2 = (obj) => obj && typeof obj === "object";
|
|
6004
|
+
return objects.reduce((prev, from) => {
|
|
6005
|
+
Object.keys(from).forEach((key) => {
|
|
6006
|
+
const pVal = prev[key];
|
|
6007
|
+
const oVal = from[key];
|
|
6008
|
+
if (Array.isArray(pVal) && Array.isArray(oVal)) {
|
|
6009
|
+
prev[key] = Array.from(/* @__PURE__ */ new Set([...oVal, ...pVal]));
|
|
6010
|
+
} else if (isObject2(pVal) && isObject2(oVal)) {
|
|
6011
|
+
prev[key] = deepAssign(pVal, oVal);
|
|
6012
|
+
} else {
|
|
6013
|
+
prev[key] = oVal;
|
|
6014
|
+
}
|
|
6015
|
+
});
|
|
6016
|
+
return prev;
|
|
6017
|
+
}, {});
|
|
6018
|
+
}
|
|
6019
|
+
var zhCN = {
|
|
6020
|
+
pagination: {
|
|
6021
|
+
totalItemText: "\u6240\u6709\u6761\u76EE",
|
|
6022
|
+
goToText: "\u8DF3\u81F3"
|
|
6023
|
+
},
|
|
6024
|
+
accordion: {
|
|
6025
|
+
loading: "\u52A0\u8F7D\u4E2D",
|
|
6026
|
+
noData: "\u6CA1\u6709\u6570\u636E"
|
|
6027
|
+
},
|
|
6028
|
+
autoCompleteDropdown: {
|
|
6029
|
+
latestInput: "\u6700\u8FD1\u8F93\u5165"
|
|
6030
|
+
},
|
|
6031
|
+
cascaderList: {
|
|
6032
|
+
noData: "\u6CA1\u6709\u6570\u636E"
|
|
6033
|
+
},
|
|
6034
|
+
colorPicker: {
|
|
6035
|
+
foundationPanel: "\u57FA\u7840\u9762\u677F",
|
|
6036
|
+
advancedPanel: "\u9AD8\u7EA7\u9762\u677F"
|
|
6037
|
+
},
|
|
6038
|
+
datePickerPro: {
|
|
6039
|
+
ok: "\u786E\u5B9A",
|
|
6040
|
+
placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
|
|
6041
|
+
month1: "1\u6708",
|
|
6042
|
+
month2: "2\u6708",
|
|
6043
|
+
month3: "3\u6708",
|
|
6044
|
+
month4: "4\u6708",
|
|
6045
|
+
month5: "5\u6708",
|
|
6046
|
+
month6: "6\u6708",
|
|
6047
|
+
month7: "7\u6708",
|
|
6048
|
+
month8: "8\u6708",
|
|
6049
|
+
month9: "9\u6708",
|
|
6050
|
+
month10: "10\u6708",
|
|
6051
|
+
month11: "11\u6708",
|
|
6052
|
+
month12: "12\u6708",
|
|
6053
|
+
year: "\u5E74",
|
|
6054
|
+
startPlaceholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",
|
|
6055
|
+
endPlaceholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",
|
|
6056
|
+
getWeekDays() {
|
|
6057
|
+
return ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"];
|
|
6058
|
+
},
|
|
6059
|
+
getTimeArr() {
|
|
6060
|
+
return ["\u65F6", "\u5206", "\u79D2"];
|
|
6061
|
+
},
|
|
6062
|
+
getYearMonthStr(year, month) {
|
|
6063
|
+
return `${year}\u5E74${month}\u6708`;
|
|
6064
|
+
}
|
|
6065
|
+
},
|
|
6066
|
+
editableSelect: {
|
|
6067
|
+
noRelatedRecords: "\u627E\u4E0D\u5230\u76F8\u5173\u8BB0\u5F55",
|
|
6068
|
+
noData: "\u6CA1\u6709\u6570\u636E"
|
|
6069
|
+
},
|
|
6070
|
+
input: {
|
|
6071
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
|
6072
|
+
},
|
|
6073
|
+
splitterBar: {
|
|
6074
|
+
collapse: "\u6536\u8D77",
|
|
6075
|
+
expand: "\u5C55\u5F00"
|
|
6076
|
+
},
|
|
6077
|
+
stepsGuide: {
|
|
6078
|
+
previous: "\u4E0A\u4E00\u6B65",
|
|
6079
|
+
continue: "\u6211\u77E5\u9053\u5566\uFF0C\u7EE7\u7EED",
|
|
6080
|
+
ok: "\u6211\u77E5\u9053\u5566"
|
|
6081
|
+
},
|
|
6082
|
+
table: {
|
|
6083
|
+
selectAll: "\u5168\u9009",
|
|
6084
|
+
ok: "\u786E\u5B9A"
|
|
6085
|
+
},
|
|
6086
|
+
timePopup: {
|
|
6087
|
+
ok: "\u786E\u5B9A"
|
|
6088
|
+
},
|
|
6089
|
+
transfer: {
|
|
6090
|
+
unit: "\u9879",
|
|
6091
|
+
panelUnit: "\u9879",
|
|
6092
|
+
headerUnit: "\u9879",
|
|
6093
|
+
noData: "\u6682\u65E0\u6570\u636E",
|
|
6094
|
+
placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"
|
|
6095
|
+
},
|
|
6096
|
+
tree: {
|
|
6097
|
+
loading: "\u52A0\u8F7D\u4E2D",
|
|
6098
|
+
newNode: "\u65B0\u8282\u70B9",
|
|
6099
|
+
selectPlaceholder: "\u8BF7\u9009\u62E9"
|
|
6100
|
+
},
|
|
6101
|
+
upload: {
|
|
6102
|
+
placeholder: "\u9009\u62E9\u6587\u4EF6",
|
|
6103
|
+
getExistSameNameFilesMsg(sameNames) {
|
|
6104
|
+
return `\u60A8\u4E0A\u4F20\u7684 "${sameNames}" \u5B58\u5728\u91CD\u540D\u6587\u4EF6, \u8BF7\u91CD\u65B0\u9009\u62E9\u6587\u4EF6`;
|
|
6105
|
+
},
|
|
6106
|
+
getAllFilesBeyondMaximalFileSizeMsg(maximalSize) {
|
|
6107
|
+
return `\u6700\u5927\u652F\u6301\u4E0A\u4F20${maximalSize}MB\u7684\u6587\u4EF6, \u60A8\u672C\u6B21\u4E0A\u4F20\u7684\u6240\u6709\u6587\u4EF6\u8D85\u8FC7\u53EF\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F`;
|
|
6108
|
+
},
|
|
6109
|
+
getBeyondMaximalFileSizeMsg(filename, maximalSize) {
|
|
6110
|
+
return `\u6700\u5927\u652F\u6301\u4E0A\u4F20${maximalSize}MB\u7684\u6587\u4EF6, \u60A8\u4E0A\u4F20\u7684\u6587\u4EF6"${filename}"\u8D85\u8FC7\u53EF\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F`;
|
|
6111
|
+
},
|
|
6112
|
+
getNotAllowedFileTypeMsg(filename, scope) {
|
|
6113
|
+
return `\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B: "${scope}", \u60A8\u4E0A\u4F20\u7684\u6587\u4EF6"${filename}"\u4E0D\u5728\u5141\u8BB8\u8303\u56F4\u5185\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u6587\u4EF6`;
|
|
6114
|
+
}
|
|
6115
|
+
},
|
|
6116
|
+
search: {
|
|
6117
|
+
placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u5B57"
|
|
6118
|
+
},
|
|
6119
|
+
select: {
|
|
6120
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
6121
|
+
noDataText: "\u65E0\u6570\u636E",
|
|
6122
|
+
noMatchText: "\u627E\u4E0D\u5230\u76F8\u5173\u8BB0\u5F55",
|
|
6123
|
+
loadingText: "\u52A0\u8F7D\u4E2D..."
|
|
6124
|
+
},
|
|
6125
|
+
tagInput: {
|
|
6126
|
+
maxTagsText: "\u5DF2\u8FBE\u5230\u6700\u5927\u4E2A\u6570\uFF1A"
|
|
6127
|
+
},
|
|
6128
|
+
timeSelect: {
|
|
6129
|
+
placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4"
|
|
6130
|
+
}
|
|
6131
|
+
};
|
|
6132
|
+
const lang = ref("zh-CN");
|
|
6133
|
+
let langMessages = reactive({
|
|
6134
|
+
[lang.value]: zhCN
|
|
6135
|
+
});
|
|
6136
|
+
const Locale = {
|
|
6137
|
+
messages() {
|
|
6138
|
+
return langMessages[lang.value];
|
|
6139
|
+
},
|
|
6140
|
+
lang() {
|
|
6141
|
+
return lang.value;
|
|
6142
|
+
},
|
|
6143
|
+
use(newLang, newMessages) {
|
|
6144
|
+
lang.value = newLang;
|
|
6145
|
+
this.add({ [newLang]: newMessages });
|
|
6146
|
+
},
|
|
6147
|
+
add(newMessages = {}) {
|
|
6148
|
+
langMessages = deepAssign(langMessages, newMessages);
|
|
6149
|
+
}
|
|
6150
|
+
};
|
|
6008
6151
|
const camelize = (name) => name.substring(1).replace(/^\S/, (s) => s.toLocaleLowerCase());
|
|
6009
6152
|
function get(object, path) {
|
|
6010
6153
|
const keys = path.split(".");
|
|
@@ -6018,7 +6161,8 @@ function get(object, path) {
|
|
|
6018
6161
|
function createI18nTranslate(name, app, newPrefix) {
|
|
6019
6162
|
const prefix = newPrefix || camelize(name) + ".";
|
|
6020
6163
|
return (path) => {
|
|
6021
|
-
|
|
6164
|
+
var _a;
|
|
6165
|
+
const messages = ((_a = app == null ? void 0 : app.appContext.config.globalProperties.langMessages) == null ? void 0 : _a.value) || Locale.messages();
|
|
6022
6166
|
const message = get(messages, prefix + path) || get(messages, path);
|
|
6023
6167
|
return message;
|
|
6024
6168
|
};
|
|
@@ -6247,7 +6391,6 @@ var DSplitterBar = defineComponent({
|
|
|
6247
6391
|
});
|
|
6248
6392
|
class SplitterStore {
|
|
6249
6393
|
constructor() {
|
|
6250
|
-
__publicField(this, "state");
|
|
6251
6394
|
this.state = reactive({
|
|
6252
6395
|
panes: [],
|
|
6253
6396
|
splitterContainerSize: 0,
|