@jeecg/online 1.0.1
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/AuthButtonConfig.js +140 -0
- package/AuthButtonTree.js +183 -0
- package/AuthDataConfig.js +243 -0
- package/AuthDataTree.js +160 -0
- package/AuthFieldConfig.js +167 -0
- package/AuthFieldTree.js +273 -0
- package/AuthManagerDrawer.js +125 -0
- package/AuthSetterModal.js +317 -0
- package/CgformCopyList.js +253 -0
- package/CgformModal.js +748 -0
- package/CgreportModal.js +673 -0
- package/ChartAutoRender.js +69 -0
- package/ChartDoubleRender.js +154 -0
- package/ChartSingleRender.js +132 -0
- package/ChartTabsRender.js +218 -0
- package/CheckDictTable.js +121 -0
- package/CodeGeneratorModal.js +293 -0
- package/CustomButtonList.js +413 -0
- package/DBAttributeTable.js +278 -0
- package/DbToOnlineModal.js +190 -0
- package/EnhanceJavaModal.js +304 -0
- package/EnhanceJsHistory.js +231 -0
- package/EnhanceJsModal.js +293 -0
- package/EnhanceSqlModal.js +305 -0
- package/ErrorTip.js +21 -0
- package/ExtendConfigModal.js +142 -0
- package/FieldTable.js +185 -0
- package/FileSelectModal.js +102 -0
- package/ForeignKeyTable.js +78 -0
- package/FormSchemaFactory.js +938 -0
- package/GraphreportAutoChart.js +352 -0
- package/GraphreportList.js +239 -0
- package/GraphreportModal.js +559 -0
- package/IndexTable.js +96 -0
- package/JOnlineSearchSelect.js +107 -0
- package/LICENSE +7 -0
- package/LeftDepart.js +96 -0
- package/LeftRole.js +95 -0
- package/LeftUser.js +114 -0
- package/ModalFormDemo.js +84 -0
- package/OnlineAutoList.js +410 -0
- package/OnlineAutoModal.js +265 -0
- package/OnlineAutoTreeList.js +513 -0
- package/OnlineCustomModal.js +269 -0
- package/OnlineForm.js +809 -0
- package/OnlineQueryForm.js +442 -0
- package/OnlineSearchFormItem.js +428 -0
- package/OnlineSelectCascade.js +217 -0
- package/OnlineSubForm.js +200 -0
- package/OnlineSuperQuery.js +912 -0
- package/OnlineSuperQueryValComponent.js +8 -0
- package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +172 -0
- package/PageAttributeTable.js +242 -0
- package/ParamsTable.js +71 -0
- package/ProcessOnlineForm.js +183 -0
- package/QueryTable.js +128 -0
- package/README.md +23 -0
- package/_arrayPush.js +276 -0
- package/auth.api.js +43 -0
- package/auth.data.js +144 -0
- package/cgform.data.js +235 -0
- package/cloneDeep.js +475 -0
- package/enhance.api.js +120 -0
- package/enhance.data.js +196 -0
- package/graphreport.api.js +23 -0
- package/index.js +64 -0
- package/index2.js +336 -0
- package/index3.js +799 -0
- package/isArray.js +47 -0
- package/main.index.js +6 -0
- package/package.json +6 -0
- package/pick.js +238 -0
- package/style.css +1 -0
- package/toString.js +31 -0
- package/useAutoForm.js +4274 -0
- package/useCgformList.js +353 -0
- package/useChartRender.js +405 -0
- package/useMessageOnline.js +71 -0
- package/useOnlineTest.js +26866 -0
- package/useSchemas.js +505 -0
- package/useTableColumns.js +1154 -0
- package/useTableSync.js +105 -0
package/isArray.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
2
|
+
var freeGlobal$1 = freeGlobal;
|
|
3
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
4
|
+
var root = freeGlobal$1 || freeSelf || Function("return this")();
|
|
5
|
+
var root$1 = root;
|
|
6
|
+
var Symbol$1 = root$1.Symbol;
|
|
7
|
+
var Symbol$2 = Symbol$1;
|
|
8
|
+
var objectProto$1 = Object.prototype;
|
|
9
|
+
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
10
|
+
var nativeObjectToString$1 = objectProto$1.toString;
|
|
11
|
+
var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
12
|
+
function getRawTag(value) {
|
|
13
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
14
|
+
try {
|
|
15
|
+
value[symToStringTag$1] = void 0;
|
|
16
|
+
var unmasked = true;
|
|
17
|
+
} catch (e) {
|
|
18
|
+
}
|
|
19
|
+
var result = nativeObjectToString$1.call(value);
|
|
20
|
+
if (unmasked) {
|
|
21
|
+
if (isOwn) {
|
|
22
|
+
value[symToStringTag$1] = tag;
|
|
23
|
+
} else {
|
|
24
|
+
delete value[symToStringTag$1];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
29
|
+
var objectProto = Object.prototype;
|
|
30
|
+
var nativeObjectToString = objectProto.toString;
|
|
31
|
+
function objectToString(value) {
|
|
32
|
+
return nativeObjectToString.call(value);
|
|
33
|
+
}
|
|
34
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
35
|
+
var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
36
|
+
function baseGetTag(value) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value === void 0 ? undefinedTag : nullTag;
|
|
39
|
+
}
|
|
40
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
41
|
+
}
|
|
42
|
+
function isObjectLike(value) {
|
|
43
|
+
return value != null && typeof value == "object";
|
|
44
|
+
}
|
|
45
|
+
var isArray = Array.isArray;
|
|
46
|
+
var isArray$1 = isArray;
|
|
47
|
+
export { Symbol$2 as S, isArray$1 as a, baseGetTag as b, freeGlobal$1 as f, isObjectLike as i, root$1 as r };
|
package/main.index.js
ADDED
package/package.json
ADDED
package/pick.js
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { a as isArray, S as Symbol$1 } from "./isArray.js";
|
|
2
|
+
import { i as isSymbol, t as toString } from "./toString.js";
|
|
3
|
+
import { k as defineProperty, h as MapCache, e as isArguments, j as arrayPush, c as isLength, f as isIndex, i as isObject, a as assignValue } from "./_arrayPush.js";
|
|
4
|
+
function identity(value) {
|
|
5
|
+
return value;
|
|
6
|
+
}
|
|
7
|
+
function apply(func, thisArg, args) {
|
|
8
|
+
switch (args.length) {
|
|
9
|
+
case 0:
|
|
10
|
+
return func.call(thisArg);
|
|
11
|
+
case 1:
|
|
12
|
+
return func.call(thisArg, args[0]);
|
|
13
|
+
case 2:
|
|
14
|
+
return func.call(thisArg, args[0], args[1]);
|
|
15
|
+
case 3:
|
|
16
|
+
return func.call(thisArg, args[0], args[1], args[2]);
|
|
17
|
+
}
|
|
18
|
+
return func.apply(thisArg, args);
|
|
19
|
+
}
|
|
20
|
+
var HOT_COUNT = 800, HOT_SPAN = 16;
|
|
21
|
+
var nativeNow = Date.now;
|
|
22
|
+
function shortOut(func) {
|
|
23
|
+
var count = 0, lastCalled = 0;
|
|
24
|
+
return function() {
|
|
25
|
+
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
26
|
+
lastCalled = stamp;
|
|
27
|
+
if (remaining > 0) {
|
|
28
|
+
if (++count >= HOT_COUNT) {
|
|
29
|
+
return arguments[0];
|
|
30
|
+
}
|
|
31
|
+
} else {
|
|
32
|
+
count = 0;
|
|
33
|
+
}
|
|
34
|
+
return func.apply(void 0, arguments);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function constant(value) {
|
|
38
|
+
return function() {
|
|
39
|
+
return value;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
var baseSetToString = !defineProperty ? identity : function(func, string) {
|
|
43
|
+
return defineProperty(func, "toString", {
|
|
44
|
+
"configurable": true,
|
|
45
|
+
"enumerable": false,
|
|
46
|
+
"value": constant(string),
|
|
47
|
+
"writable": true
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var baseSetToString$1 = baseSetToString;
|
|
51
|
+
var setToString = shortOut(baseSetToString$1);
|
|
52
|
+
var setToString$1 = setToString;
|
|
53
|
+
var nativeMax = Math.max;
|
|
54
|
+
function overRest(func, start, transform) {
|
|
55
|
+
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
56
|
+
return function() {
|
|
57
|
+
var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
|
|
58
|
+
while (++index < length) {
|
|
59
|
+
array[index] = args[start + index];
|
|
60
|
+
}
|
|
61
|
+
index = -1;
|
|
62
|
+
var otherArgs = Array(start + 1);
|
|
63
|
+
while (++index < start) {
|
|
64
|
+
otherArgs[index] = args[index];
|
|
65
|
+
}
|
|
66
|
+
otherArgs[start] = transform(array);
|
|
67
|
+
return apply(func, this, otherArgs);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
|
|
71
|
+
function isKey(value, object) {
|
|
72
|
+
if (isArray(value)) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
var type = typeof value;
|
|
76
|
+
if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
80
|
+
}
|
|
81
|
+
var FUNC_ERROR_TEXT = "Expected a function";
|
|
82
|
+
function memoize(func, resolver) {
|
|
83
|
+
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
|
84
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
85
|
+
}
|
|
86
|
+
var memoized = function() {
|
|
87
|
+
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
88
|
+
if (cache.has(key)) {
|
|
89
|
+
return cache.get(key);
|
|
90
|
+
}
|
|
91
|
+
var result = func.apply(this, args);
|
|
92
|
+
memoized.cache = cache.set(key, result) || cache;
|
|
93
|
+
return result;
|
|
94
|
+
};
|
|
95
|
+
memoized.cache = new (memoize.Cache || MapCache)();
|
|
96
|
+
return memoized;
|
|
97
|
+
}
|
|
98
|
+
memoize.Cache = MapCache;
|
|
99
|
+
var MAX_MEMOIZE_SIZE = 500;
|
|
100
|
+
function memoizeCapped(func) {
|
|
101
|
+
var result = memoize(func, function(key) {
|
|
102
|
+
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
103
|
+
cache.clear();
|
|
104
|
+
}
|
|
105
|
+
return key;
|
|
106
|
+
});
|
|
107
|
+
var cache = result.cache;
|
|
108
|
+
return result;
|
|
109
|
+
}
|
|
110
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
111
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
112
|
+
var stringToPath = memoizeCapped(function(string) {
|
|
113
|
+
var result = [];
|
|
114
|
+
if (string.charCodeAt(0) === 46) {
|
|
115
|
+
result.push("");
|
|
116
|
+
}
|
|
117
|
+
string.replace(rePropName, function(match, number, quote, subString) {
|
|
118
|
+
result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
|
|
119
|
+
});
|
|
120
|
+
return result;
|
|
121
|
+
});
|
|
122
|
+
var stringToPath$1 = stringToPath;
|
|
123
|
+
function castPath(value, object) {
|
|
124
|
+
if (isArray(value)) {
|
|
125
|
+
return value;
|
|
126
|
+
}
|
|
127
|
+
return isKey(value, object) ? [value] : stringToPath$1(toString(value));
|
|
128
|
+
}
|
|
129
|
+
var INFINITY = 1 / 0;
|
|
130
|
+
function toKey(value) {
|
|
131
|
+
if (typeof value == "string" || isSymbol(value)) {
|
|
132
|
+
return value;
|
|
133
|
+
}
|
|
134
|
+
var result = value + "";
|
|
135
|
+
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
136
|
+
}
|
|
137
|
+
function baseGet(object, path) {
|
|
138
|
+
path = castPath(path, object);
|
|
139
|
+
var index = 0, length = path.length;
|
|
140
|
+
while (object != null && index < length) {
|
|
141
|
+
object = object[toKey(path[index++])];
|
|
142
|
+
}
|
|
143
|
+
return index && index == length ? object : void 0;
|
|
144
|
+
}
|
|
145
|
+
var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
|
|
146
|
+
function isFlattenable(value) {
|
|
147
|
+
return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
148
|
+
}
|
|
149
|
+
function baseFlatten(array, depth, predicate, isStrict, result) {
|
|
150
|
+
var index = -1, length = array.length;
|
|
151
|
+
predicate || (predicate = isFlattenable);
|
|
152
|
+
result || (result = []);
|
|
153
|
+
while (++index < length) {
|
|
154
|
+
var value = array[index];
|
|
155
|
+
if (depth > 0 && predicate(value)) {
|
|
156
|
+
if (depth > 1) {
|
|
157
|
+
baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
158
|
+
} else {
|
|
159
|
+
arrayPush(result, value);
|
|
160
|
+
}
|
|
161
|
+
} else if (!isStrict) {
|
|
162
|
+
result[result.length] = value;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
}
|
|
167
|
+
function flatten(array) {
|
|
168
|
+
var length = array == null ? 0 : array.length;
|
|
169
|
+
return length ? baseFlatten(array, 1) : [];
|
|
170
|
+
}
|
|
171
|
+
function flatRest(func) {
|
|
172
|
+
return setToString$1(overRest(func, void 0, flatten), func + "");
|
|
173
|
+
}
|
|
174
|
+
function baseHasIn(object, key) {
|
|
175
|
+
return object != null && key in Object(object);
|
|
176
|
+
}
|
|
177
|
+
function hasPath(object, path, hasFunc) {
|
|
178
|
+
path = castPath(path, object);
|
|
179
|
+
var index = -1, length = path.length, result = false;
|
|
180
|
+
while (++index < length) {
|
|
181
|
+
var key = toKey(path[index]);
|
|
182
|
+
if (!(result = object != null && hasFunc(object, key))) {
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
object = object[key];
|
|
186
|
+
}
|
|
187
|
+
if (result || ++index != length) {
|
|
188
|
+
return result;
|
|
189
|
+
}
|
|
190
|
+
length = object == null ? 0 : object.length;
|
|
191
|
+
return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
|
|
192
|
+
}
|
|
193
|
+
function hasIn(object, path) {
|
|
194
|
+
return object != null && hasPath(object, path, baseHasIn);
|
|
195
|
+
}
|
|
196
|
+
function baseSet(object, path, value, customizer) {
|
|
197
|
+
if (!isObject(object)) {
|
|
198
|
+
return object;
|
|
199
|
+
}
|
|
200
|
+
path = castPath(path, object);
|
|
201
|
+
var index = -1, length = path.length, lastIndex = length - 1, nested = object;
|
|
202
|
+
while (nested != null && ++index < length) {
|
|
203
|
+
var key = toKey(path[index]), newValue = value;
|
|
204
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
205
|
+
return object;
|
|
206
|
+
}
|
|
207
|
+
if (index != lastIndex) {
|
|
208
|
+
var objValue = nested[key];
|
|
209
|
+
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
210
|
+
if (newValue === void 0) {
|
|
211
|
+
newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
assignValue(nested, key, newValue);
|
|
215
|
+
nested = nested[key];
|
|
216
|
+
}
|
|
217
|
+
return object;
|
|
218
|
+
}
|
|
219
|
+
function basePickBy(object, paths, predicate) {
|
|
220
|
+
var index = -1, length = paths.length, result = {};
|
|
221
|
+
while (++index < length) {
|
|
222
|
+
var path = paths[index], value = baseGet(object, path);
|
|
223
|
+
if (predicate(value, path)) {
|
|
224
|
+
baseSet(result, castPath(path, object), value);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return result;
|
|
228
|
+
}
|
|
229
|
+
function basePick(object, paths) {
|
|
230
|
+
return basePickBy(object, paths, function(value, path) {
|
|
231
|
+
return hasIn(object, path);
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
var pick = flatRest(function(object, paths) {
|
|
235
|
+
return object == null ? {} : basePick(object, paths);
|
|
236
|
+
});
|
|
237
|
+
var pick$1 = pick;
|
|
238
|
+
export { pick$1 as p };
|
package/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.onl-cgform-ext-config-form.ant-form-inline[data-v-5fbb254e] .ant-form-item{margin-bottom:8px}.enhance-list[data-v-3b0bad10] .ant-list-items .ant-list-item{position:relative;height:42px;line-height:42px;transition:background-color .3s}.enhance-list[data-v-3b0bad10] .ant-list-items .bg-blue{background-color:"#2db7f5"}.enhance-list[data-v-3b0bad10] .ant-list-items .bg-blue a{color:#fff}.enhance-list[data-v-3b0bad10] .ant-list-items a{color:#000000d9;display:block;position:absolute;width:100%;height:100%}.enhance-list[data-v-3b0bad10] .ant-list-header{color:#000;padding-top:5px;padding-bottom:5px}.auth-field-config[data-v-a4e37bde] .ant-checkbox+span{padding-left:2px}.onl-auth-tree-btns[data-v-73e2c712]{margin-left:10px}.onl-auth-tree-btns button[data-v-73e2c712]{margin:0 5px 0 2px}.onl-auth-tree-btns[data-v-3285957e]{margin-left:10px}.onl-auth-tree-btns button[data-v-3285957e]{margin:0 5px 0 2px}.onl-auth-tree-btns[data-v-23685c7d]{margin-left:10px}.onl-auth-tree-btns button[data-v-23685c7d]{margin:0 5px 0 2px}.search-field[data-v-39167fbc]{padding:10px 20px;margin-bottom:20px;background-color:#fff}.search-field[data-v-39167fbc] .ant-calendar-picker{width:100%}.search-field[data-v-39167fbc] .range-query .range-span{width:12px;text-align:center;display:inline-block}.search-field[data-v-39167fbc] .range-query .ant-form-item-control .ant-calendar-picker{width:calc(50% - 8px)}.search-field[data-v-39167fbc] .range-query .ant-form-item-control .ant-calendar-picker .ant-input{width:100%}.search-field[data-v-39167fbc] .range-query .ant-form-item-control .ant-input,.search-field[data-v-39167fbc] .range-query .ant-form-item-control .ant-input-number{width:calc(50% - 8px)}.error-tip[data-v-7e37d703]{padding:20px;background:white;text-align:center;font-size:24px;font-weight:700}.group-query-string[data-v-94518ffc]{width:20px;display:inline-block;text-align:center}.jeecg-basic-table-form-container.p-0[data-v-94518ffc]{padding:0}.group-query-strig[data-v-213184f5]{width:30px;text-align:center;display:inline-block}.jeecg-online-search[data-v-213184f5] .ant-form-item-label{flex:0 0 auto!important;width:auto}.jeecg-online-search[data-v-213184f5] .ant-form-item-control{max-width:100%;padding-right:16px}.jeecg-online-search[data-v-213184f5] .label-text{max-width:var(--0d13e305);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:break-word}.jee-super-query-form .ant-form-item[data-v-08fc9755]{margin-bottom:9px}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-switcher{width:0px}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-node-content-wrapper{width:100%}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-node-content-wrapper:hover{background-color:#e6f7ff!important;border-radius:0}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-treenode-switcher-close .ant-tree-title{display:inline-block;width:calc(100% - 30px)}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-treenode-switcher-close .ant-tree-title>div{display:flex;justify-content:space-between}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-treenode-switcher-close .ant-tree-title>div .icon-cancle{display:none;color:#666}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-treenode-switcher-close .ant-tree-title>div .icon-cancle:hover{color:#000}.j-super-query-history-tree[data-v-08fc9755] .ant-tree-treenode-switcher-close:hover .icon-cancle{display:inline-block!important}.j-super-query-history-tree[data-v-08fc9755] .ant-card-body,.j-super-query-history-card[data-v-08fc9755] .ant-card-body,.j-super-query-history-card[data-v-08fc9755].ant-card-head-title{padding:0}@media only screen and (max-width: 1050px){[data-v-08fc9755] .jee-super-query-form .ant-space{flex-direction:column;gap:0!important;margin-bottom:16px!important}[data-v-08fc9755] .jee-super-query-form .ant-space-item{width:100%}[data-v-08fc9755] .jee-super-query-form .ant-form-item{width:100%!important}}.cust-onl-form .ant-input-disabled[data-v-9b256bc4]{background-color:#fff;color:#000}.cust-onl-form .ant-select-disabled .ant-select-selection[data-v-9b256bc4]{background:#fff;color:#000}.cust-onl-form .ant-input-number-disabled[data-v-9b256bc4]{background-color:#fff;color:#000}.j-table-force-nowrap td,.j-table-force-nowrap th{white-space:nowrap}.j-table-force-nowrap .ant-table-selection-column{padding:12px 22px!important}.j-table-force-nowrap.ant-table-wrapper .ant-table-content{overflow-x:auto}.online-cell-image{height:25px!important;margin:0 auto;max-width:80px;font-size:12px;font-style:italic}
|
package/toString.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { i as isObjectLike, b as baseGetTag, S as Symbol$1, a as isArray } from "./isArray.js";
|
|
2
|
+
var symbolTag = "[object Symbol]";
|
|
3
|
+
function isSymbol(value) {
|
|
4
|
+
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
5
|
+
}
|
|
6
|
+
function arrayMap(array, iteratee) {
|
|
7
|
+
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
8
|
+
while (++index < length) {
|
|
9
|
+
result[index] = iteratee(array[index], index, array);
|
|
10
|
+
}
|
|
11
|
+
return result;
|
|
12
|
+
}
|
|
13
|
+
var INFINITY = 1 / 0;
|
|
14
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
15
|
+
function baseToString(value) {
|
|
16
|
+
if (typeof value == "string") {
|
|
17
|
+
return value;
|
|
18
|
+
}
|
|
19
|
+
if (isArray(value)) {
|
|
20
|
+
return arrayMap(value, baseToString) + "";
|
|
21
|
+
}
|
|
22
|
+
if (isSymbol(value)) {
|
|
23
|
+
return symbolToString ? symbolToString.call(value) : "";
|
|
24
|
+
}
|
|
25
|
+
var result = value + "";
|
|
26
|
+
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
27
|
+
}
|
|
28
|
+
function toString(value) {
|
|
29
|
+
return value == null ? "" : baseToString(value);
|
|
30
|
+
}
|
|
31
|
+
export { isSymbol as i, toString as t };
|