@94ai/nf-form-item 3.3.36 → 3.3.38

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.
@@ -3,148 +3,941 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vueDemi = require("vue-demi");
4
4
  const elementUi = require("element-ui");
5
5
  const vue2RuntimeHelpers = require("@94ai/vue2-runtime-helpers");
6
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
7
+ function getDefaultExportFromCjs(x) {
8
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
9
+ }
10
+ var check = function(it) {
11
+ return it && it.Math === Math && it;
12
+ };
13
+ var global$a = (
14
+ // eslint-disable-next-line es/no-global-this -- safe
15
+ check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
16
+ check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
17
+ function() {
18
+ return this;
19
+ }() || commonjsGlobal || Function("return this")()
20
+ );
21
+ var shared$1 = { exports: {} };
22
+ var global$9 = global$a;
23
+ var defineProperty = Object.defineProperty;
24
+ var defineGlobalProperty$1 = function(key, value) {
25
+ try {
26
+ defineProperty(global$9, key, {
27
+ value,
28
+ configurable: true,
29
+ writable: true
30
+ });
31
+ } catch (error) {
32
+ global$9[key] = value;
33
+ }
34
+ return value;
35
+ };
36
+ var global$8 = global$a;
37
+ var defineGlobalProperty = defineGlobalProperty$1;
38
+ var SHARED = "__core-js_shared__";
39
+ var store$2 = global$8[SHARED] || defineGlobalProperty(SHARED, {});
40
+ var sharedStore = store$2;
41
+ var store$1 = sharedStore;
42
+ (shared$1.exports = function(key, value) {
43
+ return store$1[key] || (store$1[key] = value !== void 0 ? value : {});
44
+ })("versions", []).push({
45
+ version: "3.33.2",
46
+ mode: "pure",
47
+ copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
48
+ license: "https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",
49
+ source: "https://github.com/zloirock/core-js"
50
+ });
51
+ var sharedExports = shared$1.exports;
52
+ var fails$9 = function(exec2) {
53
+ try {
54
+ return !!exec2();
55
+ } catch (error) {
56
+ return true;
57
+ }
58
+ };
59
+ var fails$8 = fails$9;
60
+ var functionBindNative = !fails$8(function() {
61
+ var test2 = (function() {
62
+ }).bind();
63
+ return typeof test2 != "function" || test2.hasOwnProperty("prototype");
64
+ });
65
+ var NATIVE_BIND$3 = functionBindNative;
66
+ var FunctionPrototype$1 = Function.prototype;
67
+ var call$5 = FunctionPrototype$1.call;
68
+ var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$1.bind.bind(call$5, call$5);
69
+ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function(fn) {
70
+ return function() {
71
+ return call$5.apply(fn, arguments);
72
+ };
73
+ };
74
+ var isNullOrUndefined$2 = function(it) {
75
+ return it === null || it === void 0;
76
+ };
77
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
78
+ var $TypeError$5 = TypeError;
79
+ var requireObjectCoercible$2 = function(it) {
80
+ if (isNullOrUndefined$1(it))
81
+ throw new $TypeError$5("Can't call method on " + it);
82
+ return it;
83
+ };
84
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
85
+ var $Object$3 = Object;
86
+ var toObject$2 = function(argument) {
87
+ return $Object$3(requireObjectCoercible$1(argument));
88
+ };
89
+ var uncurryThis$a = functionUncurryThis;
90
+ var toObject$1 = toObject$2;
91
+ var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
92
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
93
+ return hasOwnProperty(toObject$1(it), key);
94
+ };
95
+ var uncurryThis$9 = functionUncurryThis;
96
+ var id = 0;
97
+ var postfix = Math.random();
98
+ var toString$1 = uncurryThis$9(1 .toString);
99
+ var uid$1 = function(key) {
100
+ return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$1(++id + postfix, 36);
101
+ };
102
+ var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
103
+ var global$7 = global$a;
104
+ var userAgent = engineUserAgent;
105
+ var process = global$7.process;
106
+ var Deno = global$7.Deno;
107
+ var versions = process && process.versions || Deno && Deno.version;
108
+ var v8 = versions && versions.v8;
109
+ var match, version;
110
+ if (v8) {
111
+ match = v8.split(".");
112
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
113
+ }
114
+ if (!version && userAgent) {
115
+ match = userAgent.match(/Edge\/(\d+)/);
116
+ if (!match || match[1] >= 74) {
117
+ match = userAgent.match(/Chrome\/(\d+)/);
118
+ if (match)
119
+ version = +match[1];
120
+ }
121
+ }
122
+ var engineV8Version = version;
123
+ var V8_VERSION = engineV8Version;
124
+ var fails$7 = fails$9;
125
+ var global$6 = global$a;
126
+ var $String$2 = global$6.String;
127
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function() {
128
+ var symbol = Symbol("symbol detection");
129
+ return !$String$2(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
130
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
131
+ });
132
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
133
+ var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
134
+ var global$5 = global$a;
135
+ var shared = sharedExports;
136
+ var hasOwn$3 = hasOwnProperty_1;
137
+ var uid = uid$1;
138
+ var NATIVE_SYMBOL = symbolConstructorDetection;
139
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
140
+ var Symbol$1 = global$5.Symbol;
141
+ var WellKnownSymbolsStore = shared("wks");
142
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1["for"] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
143
+ var wellKnownSymbol$4 = function(name) {
144
+ if (!hasOwn$3(WellKnownSymbolsStore, name)) {
145
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$3(Symbol$1, name) ? Symbol$1[name] : createWellKnownSymbol("Symbol." + name);
146
+ }
147
+ return WellKnownSymbolsStore[name];
148
+ };
149
+ var wellKnownSymbol$3 = wellKnownSymbol$4;
150
+ var TO_STRING_TAG$1 = wellKnownSymbol$3("toStringTag");
151
+ var test = {};
152
+ test[TO_STRING_TAG$1] = "z";
153
+ var toStringTagSupport = String(test) === "[object z]";
154
+ var documentAll$2 = typeof document == "object" && document.all;
155
+ var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
156
+ var documentAll_1 = {
157
+ all: documentAll$2,
158
+ IS_HTMLDDA
159
+ };
160
+ var $documentAll$1 = documentAll_1;
161
+ var documentAll$1 = $documentAll$1.all;
162
+ var isCallable$a = $documentAll$1.IS_HTMLDDA ? function(argument) {
163
+ return typeof argument == "function" || argument === documentAll$1;
164
+ } : function(argument) {
165
+ return typeof argument == "function";
166
+ };
167
+ var uncurryThis$8 = functionUncurryThis;
168
+ var toString = uncurryThis$8({}.toString);
169
+ var stringSlice = uncurryThis$8("".slice);
170
+ var classofRaw$2 = function(it) {
171
+ return stringSlice(toString(it), 8, -1);
172
+ };
173
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
174
+ var isCallable$9 = isCallable$a;
175
+ var classofRaw$1 = classofRaw$2;
176
+ var wellKnownSymbol$2 = wellKnownSymbol$4;
177
+ var TO_STRING_TAG = wellKnownSymbol$2("toStringTag");
178
+ var $Object$2 = Object;
179
+ var CORRECT_ARGUMENTS = classofRaw$1(function() {
180
+ return arguments;
181
+ }()) === "Arguments";
182
+ var tryGet = function(it, key) {
183
+ try {
184
+ return it[key];
185
+ } catch (error) {
186
+ }
187
+ };
188
+ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function(it) {
189
+ var O, tag, result;
190
+ return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object$2(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw$1(O) : (result = classofRaw$1(O)) === "Object" && isCallable$9(O.callee) ? "Arguments" : result;
191
+ };
192
+ var uncurryThis$7 = functionUncurryThis;
193
+ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
194
+ var NATIVE_BIND$2 = functionBindNative;
195
+ var FunctionPrototype = Function.prototype;
196
+ var apply$1 = FunctionPrototype.apply;
197
+ var call$4 = FunctionPrototype.call;
198
+ var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$2 ? call$4.bind(apply$1) : function() {
199
+ return call$4.apply(apply$1, arguments);
200
+ });
201
+ var classofRaw = classofRaw$2;
202
+ var uncurryThis$6 = functionUncurryThis;
203
+ var functionUncurryThisClause = function(fn) {
204
+ if (classofRaw(fn) === "Function")
205
+ return uncurryThis$6(fn);
206
+ };
207
+ var objectGetOwnPropertyDescriptor = {};
208
+ var fails$6 = fails$9;
209
+ var descriptors = !fails$6(function() {
210
+ return Object.defineProperty({}, 1, {
211
+ get: function() {
212
+ return 7;
213
+ }
214
+ })[1] !== 7;
215
+ });
216
+ var NATIVE_BIND$1 = functionBindNative;
217
+ var call$3 = Function.prototype.call;
218
+ var functionCall = NATIVE_BIND$1 ? call$3.bind(call$3) : function() {
219
+ return call$3.apply(call$3, arguments);
220
+ };
221
+ var objectPropertyIsEnumerable = {};
222
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
223
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
224
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
225
+ 1: 2
226
+ }, 1);
227
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
228
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
229
+ return !!descriptor && descriptor.enumerable;
230
+ } : $propertyIsEnumerable;
231
+ var createPropertyDescriptor$2 = function(bitmap, value) {
232
+ return {
233
+ enumerable: !(bitmap & 1),
234
+ configurable: !(bitmap & 2),
235
+ writable: !(bitmap & 4),
236
+ value
237
+ };
238
+ };
239
+ var uncurryThis$5 = functionUncurryThis;
240
+ var fails$5 = fails$9;
241
+ var classof$3 = classofRaw$2;
242
+ var $Object$1 = Object;
243
+ var split = uncurryThis$5("".split);
244
+ var indexedObject = fails$5(function() {
245
+ return !$Object$1("z").propertyIsEnumerable(0);
246
+ }) ? function(it) {
247
+ return classof$3(it) === "String" ? split(it, "") : $Object$1(it);
248
+ } : $Object$1;
249
+ var IndexedObject$1 = indexedObject;
250
+ var requireObjectCoercible = requireObjectCoercible$2;
251
+ var toIndexedObject$1 = function(it) {
252
+ return IndexedObject$1(requireObjectCoercible(it));
253
+ };
254
+ var isCallable$8 = isCallable$a;
255
+ var $documentAll = documentAll_1;
256
+ var documentAll = $documentAll.all;
257
+ var isObject$5 = $documentAll.IS_HTMLDDA ? function(it) {
258
+ return typeof it == "object" ? it !== null : isCallable$8(it) || it === documentAll;
259
+ } : function(it) {
260
+ return typeof it == "object" ? it !== null : isCallable$8(it);
261
+ };
262
+ var path$3 = {};
263
+ var path$2 = path$3;
264
+ var global$4 = global$a;
265
+ var isCallable$7 = isCallable$a;
266
+ var aFunction = function(variable) {
267
+ return isCallable$7(variable) ? variable : void 0;
268
+ };
269
+ var getBuiltIn$2 = function(namespace, method2) {
270
+ return arguments.length < 2 ? aFunction(path$2[namespace]) || aFunction(global$4[namespace]) : path$2[namespace] && path$2[namespace][method2] || global$4[namespace] && global$4[namespace][method2];
271
+ };
272
+ var getBuiltIn$1 = getBuiltIn$2;
273
+ var isCallable$6 = isCallable$a;
274
+ var isPrototypeOf$1 = objectIsPrototypeOf;
275
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
276
+ var $Object = Object;
277
+ var isSymbol$2 = USE_SYMBOL_AS_UID ? function(it) {
278
+ return typeof it == "symbol";
279
+ } : function(it) {
280
+ var $Symbol = getBuiltIn$1("Symbol");
281
+ return isCallable$6($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object(it));
282
+ };
283
+ var $String$1 = String;
284
+ var tryToString$1 = function(argument) {
285
+ try {
286
+ return $String$1(argument);
287
+ } catch (error) {
288
+ return "Object";
289
+ }
290
+ };
291
+ var isCallable$5 = isCallable$a;
292
+ var tryToString = tryToString$1;
293
+ var $TypeError$4 = TypeError;
294
+ var aCallable$2 = function(argument) {
295
+ if (isCallable$5(argument))
296
+ return argument;
297
+ throw new $TypeError$4(tryToString(argument) + " is not a function");
298
+ };
299
+ var aCallable$1 = aCallable$2;
300
+ var isNullOrUndefined = isNullOrUndefined$2;
301
+ var getMethod$1 = function(V, P) {
302
+ var func = V[P];
303
+ return isNullOrUndefined(func) ? void 0 : aCallable$1(func);
304
+ };
305
+ var call$2 = functionCall;
306
+ var isCallable$4 = isCallable$a;
307
+ var isObject$4 = isObject$5;
308
+ var $TypeError$3 = TypeError;
309
+ var ordinaryToPrimitive$1 = function(input, pref) {
310
+ var fn, val;
311
+ if (pref === "string" && isCallable$4(fn = input.toString) && !isObject$4(val = call$2(fn, input)))
312
+ return val;
313
+ if (isCallable$4(fn = input.valueOf) && !isObject$4(val = call$2(fn, input)))
314
+ return val;
315
+ if (pref !== "string" && isCallable$4(fn = input.toString) && !isObject$4(val = call$2(fn, input)))
316
+ return val;
317
+ throw new $TypeError$3("Can't convert object to primitive value");
318
+ };
319
+ var call$1 = functionCall;
320
+ var isObject$3 = isObject$5;
321
+ var isSymbol$1 = isSymbol$2;
322
+ var getMethod = getMethod$1;
323
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
324
+ var wellKnownSymbol$1 = wellKnownSymbol$4;
325
+ var $TypeError$2 = TypeError;
326
+ var TO_PRIMITIVE = wellKnownSymbol$1("toPrimitive");
327
+ var toPrimitive$1 = function(input, pref) {
328
+ if (!isObject$3(input) || isSymbol$1(input))
329
+ return input;
330
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
331
+ var result;
332
+ if (exoticToPrim) {
333
+ if (pref === void 0)
334
+ pref = "default";
335
+ result = call$1(exoticToPrim, input, pref);
336
+ if (!isObject$3(result) || isSymbol$1(result))
337
+ return result;
338
+ throw new $TypeError$2("Can't convert object to primitive value");
339
+ }
340
+ if (pref === void 0)
341
+ pref = "number";
342
+ return ordinaryToPrimitive(input, pref);
343
+ };
344
+ var toPrimitive = toPrimitive$1;
345
+ var isSymbol = isSymbol$2;
346
+ var toPropertyKey$2 = function(argument) {
347
+ var key = toPrimitive(argument, "string");
348
+ return isSymbol(key) ? key : key + "";
349
+ };
350
+ var global$3 = global$a;
351
+ var isObject$2 = isObject$5;
352
+ var document$1 = global$3.document;
353
+ var EXISTS = isObject$2(document$1) && isObject$2(document$1.createElement);
354
+ var documentCreateElement = function(it) {
355
+ return EXISTS ? document$1.createElement(it) : {};
356
+ };
357
+ var DESCRIPTORS$4 = descriptors;
358
+ var fails$4 = fails$9;
359
+ var createElement = documentCreateElement;
360
+ var ie8DomDefine = !DESCRIPTORS$4 && !fails$4(function() {
361
+ return Object.defineProperty(createElement("div"), "a", {
362
+ get: function() {
363
+ return 7;
364
+ }
365
+ }).a !== 7;
366
+ });
367
+ var DESCRIPTORS$3 = descriptors;
368
+ var call = functionCall;
369
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
370
+ var createPropertyDescriptor$1 = createPropertyDescriptor$2;
371
+ var toIndexedObject = toIndexedObject$1;
372
+ var toPropertyKey$1 = toPropertyKey$2;
373
+ var hasOwn$2 = hasOwnProperty_1;
374
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
375
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
376
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
377
+ O = toIndexedObject(O);
378
+ P = toPropertyKey$1(P);
379
+ if (IE8_DOM_DEFINE$1)
380
+ try {
381
+ return $getOwnPropertyDescriptor$1(O, P);
382
+ } catch (error) {
383
+ }
384
+ if (hasOwn$2(O, P))
385
+ return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
386
+ };
387
+ var fails$3 = fails$9;
388
+ var isCallable$3 = isCallable$a;
389
+ var replacement = /#|\.prototype\./;
390
+ var isForced$1 = function(feature, detection) {
391
+ var value = data[normalize(feature)];
392
+ return value === POLYFILL ? true : value === NATIVE ? false : isCallable$3(detection) ? fails$3(detection) : !!detection;
393
+ };
394
+ var normalize = isForced$1.normalize = function(string) {
395
+ return String(string).replace(replacement, ".").toLowerCase();
396
+ };
397
+ var data = isForced$1.data = {};
398
+ var NATIVE = isForced$1.NATIVE = "N";
399
+ var POLYFILL = isForced$1.POLYFILL = "P";
400
+ var isForced_1 = isForced$1;
401
+ var uncurryThis$4 = functionUncurryThisClause;
402
+ var aCallable = aCallable$2;
403
+ var NATIVE_BIND = functionBindNative;
404
+ var bind$2 = uncurryThis$4(uncurryThis$4.bind);
405
+ var functionBindContext = function(fn, that) {
406
+ aCallable(fn);
407
+ return that === void 0 ? fn : NATIVE_BIND ? bind$2(fn, that) : function() {
408
+ return fn.apply(that, arguments);
409
+ };
410
+ };
411
+ var objectDefineProperty = {};
412
+ var DESCRIPTORS$2 = descriptors;
413
+ var fails$2 = fails$9;
414
+ var v8PrototypeDefineBug = DESCRIPTORS$2 && fails$2(function() {
415
+ return Object.defineProperty(function() {
416
+ }, "prototype", {
417
+ value: 42,
418
+ writable: false
419
+ }).prototype !== 42;
420
+ });
421
+ var isObject$1 = isObject$5;
422
+ var $String = String;
423
+ var $TypeError$1 = TypeError;
424
+ var anObject$1 = function(argument) {
425
+ if (isObject$1(argument))
426
+ return argument;
427
+ throw new $TypeError$1($String(argument) + " is not an object");
428
+ };
429
+ var DESCRIPTORS$1 = descriptors;
430
+ var IE8_DOM_DEFINE = ie8DomDefine;
431
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
432
+ var anObject = anObject$1;
433
+ var toPropertyKey = toPropertyKey$2;
434
+ var $TypeError = TypeError;
435
+ var $defineProperty = Object.defineProperty;
436
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
437
+ var ENUMERABLE = "enumerable";
438
+ var CONFIGURABLE = "configurable";
439
+ var WRITABLE = "writable";
440
+ objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty2(O, P, Attributes) {
441
+ anObject(O);
442
+ P = toPropertyKey(P);
443
+ anObject(Attributes);
444
+ if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
445
+ var current = $getOwnPropertyDescriptor(O, P);
446
+ if (current && current[WRITABLE]) {
447
+ O[P] = Attributes.value;
448
+ Attributes = {
449
+ configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
450
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
451
+ writable: false
452
+ };
453
+ }
454
+ }
455
+ return $defineProperty(O, P, Attributes);
456
+ } : $defineProperty : function defineProperty3(O, P, Attributes) {
457
+ anObject(O);
458
+ P = toPropertyKey(P);
459
+ anObject(Attributes);
460
+ if (IE8_DOM_DEFINE)
461
+ try {
462
+ return $defineProperty(O, P, Attributes);
463
+ } catch (error) {
464
+ }
465
+ if ("get" in Attributes || "set" in Attributes)
466
+ throw new $TypeError("Accessors not supported");
467
+ if ("value" in Attributes)
468
+ O[P] = Attributes.value;
469
+ return O;
470
+ };
471
+ var DESCRIPTORS = descriptors;
472
+ var definePropertyModule = objectDefineProperty;
473
+ var createPropertyDescriptor = createPropertyDescriptor$2;
474
+ var createNonEnumerableProperty$1 = DESCRIPTORS ? function(object, key, value) {
475
+ return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
476
+ } : function(object, key, value) {
477
+ object[key] = value;
478
+ return object;
479
+ };
480
+ var global$2 = global$a;
481
+ var apply = functionApply;
482
+ var uncurryThis$3 = functionUncurryThisClause;
483
+ var isCallable$2 = isCallable$a;
484
+ var getOwnPropertyDescriptor2 = objectGetOwnPropertyDescriptor.f;
485
+ var isForced = isForced_1;
486
+ var path$1 = path$3;
487
+ var bind$1 = functionBindContext;
488
+ var createNonEnumerableProperty = createNonEnumerableProperty$1;
489
+ var hasOwn$1 = hasOwnProperty_1;
490
+ var wrapConstructor = function(NativeConstructor) {
491
+ var Wrapper = function(a, b, c) {
492
+ if (this instanceof Wrapper) {
493
+ switch (arguments.length) {
494
+ case 0:
495
+ return new NativeConstructor();
496
+ case 1:
497
+ return new NativeConstructor(a);
498
+ case 2:
499
+ return new NativeConstructor(a, b);
500
+ }
501
+ return new NativeConstructor(a, b, c);
502
+ }
503
+ return apply(NativeConstructor, this, arguments);
504
+ };
505
+ Wrapper.prototype = NativeConstructor.prototype;
506
+ return Wrapper;
507
+ };
508
+ var _export = function(options, source) {
509
+ var TARGET = options.target;
510
+ var GLOBAL = options.global;
511
+ var STATIC = options.stat;
512
+ var PROTO = options.proto;
513
+ var nativeSource = GLOBAL ? global$2 : STATIC ? global$2[TARGET] : (global$2[TARGET] || {}).prototype;
514
+ var target = GLOBAL ? path$1 : path$1[TARGET] || createNonEnumerableProperty(path$1, TARGET, {})[TARGET];
515
+ var targetPrototype = target.prototype;
516
+ var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
517
+ var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
518
+ for (key in source) {
519
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
520
+ USE_NATIVE = !FORCED && nativeSource && hasOwn$1(nativeSource, key);
521
+ targetProperty = target[key];
522
+ if (USE_NATIVE)
523
+ if (options.dontCallGetSet) {
524
+ descriptor = getOwnPropertyDescriptor2(nativeSource, key);
525
+ nativeProperty = descriptor && descriptor.value;
526
+ } else
527
+ nativeProperty = nativeSource[key];
528
+ sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
529
+ if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
530
+ continue;
531
+ if (options.bind && USE_NATIVE)
532
+ resultProperty = bind$1(sourceProperty, global$2);
533
+ else if (options.wrap && USE_NATIVE)
534
+ resultProperty = wrapConstructor(sourceProperty);
535
+ else if (PROTO && isCallable$2(sourceProperty))
536
+ resultProperty = uncurryThis$3(sourceProperty);
537
+ else
538
+ resultProperty = sourceProperty;
539
+ if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
540
+ createNonEnumerableProperty(resultProperty, "sham", true);
541
+ }
542
+ createNonEnumerableProperty(target, key, resultProperty);
543
+ if (PROTO) {
544
+ VIRTUAL_PROTOTYPE = TARGET + "Prototype";
545
+ if (!hasOwn$1(path$1, VIRTUAL_PROTOTYPE)) {
546
+ createNonEnumerableProperty(path$1, VIRTUAL_PROTOTYPE, {});
547
+ }
548
+ createNonEnumerableProperty(path$1[VIRTUAL_PROTOTYPE], key, sourceProperty);
549
+ if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {
550
+ createNonEnumerableProperty(targetPrototype, key, sourceProperty);
551
+ }
552
+ }
553
+ }
554
+ };
555
+ var ceil = Math.ceil;
556
+ var floor = Math.floor;
557
+ var mathTrunc = Math.trunc || function trunc(x) {
558
+ var n = +x;
559
+ return (n > 0 ? floor : ceil)(n);
560
+ };
561
+ var trunc2 = mathTrunc;
562
+ var toIntegerOrInfinity$1 = function(argument) {
563
+ var number = +argument;
564
+ return number !== number || number === 0 ? 0 : trunc2(number);
565
+ };
566
+ var toIntegerOrInfinity = toIntegerOrInfinity$1;
567
+ var min = Math.min;
568
+ var toLength$1 = function(argument) {
569
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 9007199254740991) : 0;
570
+ };
571
+ var toLength = toLength$1;
572
+ var lengthOfArrayLike$1 = function(obj) {
573
+ return toLength(obj.length);
574
+ };
575
+ var classof$2 = classofRaw$2;
576
+ var isArray$1 = Array.isArray || function isArray(argument) {
577
+ return classof$2(argument) === "Array";
578
+ };
579
+ var uncurryThis$2 = functionUncurryThis;
580
+ var isCallable$1 = isCallable$a;
581
+ var store = sharedStore;
582
+ var functionToString = uncurryThis$2(Function.toString);
583
+ if (!isCallable$1(store.inspectSource)) {
584
+ store.inspectSource = function(it) {
585
+ return functionToString(it);
586
+ };
587
+ }
588
+ var inspectSource$1 = store.inspectSource;
589
+ var uncurryThis$1 = functionUncurryThis;
590
+ var fails$1 = fails$9;
591
+ var isCallable = isCallable$a;
592
+ var classof$1 = classof$4;
593
+ var getBuiltIn = getBuiltIn$2;
594
+ var inspectSource = inspectSource$1;
595
+ var noop = function() {
596
+ };
597
+ var empty = [];
598
+ var construct = getBuiltIn("Reflect", "construct");
599
+ var constructorRegExp = /^\s*(?:class|function)\b/;
600
+ var exec = uncurryThis$1(constructorRegExp.exec);
601
+ var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
602
+ var isConstructorModern = function isConstructor(argument) {
603
+ if (!isCallable(argument))
604
+ return false;
605
+ try {
606
+ construct(noop, empty, argument);
607
+ return true;
608
+ } catch (error) {
609
+ return false;
610
+ }
611
+ };
612
+ var isConstructorLegacy = function isConstructor2(argument) {
613
+ if (!isCallable(argument))
614
+ return false;
615
+ switch (classof$1(argument)) {
616
+ case "AsyncFunction":
617
+ case "GeneratorFunction":
618
+ case "AsyncGeneratorFunction":
619
+ return false;
620
+ }
621
+ try {
622
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
623
+ } catch (error) {
624
+ return true;
625
+ }
626
+ };
627
+ isConstructorLegacy.sham = true;
628
+ var isConstructor$1 = !construct || fails$1(function() {
629
+ var called;
630
+ return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
631
+ called = true;
632
+ }) || called;
633
+ }) ? isConstructorLegacy : isConstructorModern;
634
+ var isArray2 = isArray$1;
635
+ var isConstructor3 = isConstructor$1;
636
+ var isObject = isObject$5;
637
+ var wellKnownSymbol = wellKnownSymbol$4;
638
+ var SPECIES = wellKnownSymbol("species");
639
+ var $Array = Array;
640
+ var arraySpeciesConstructor$1 = function(originalArray) {
641
+ var C;
642
+ if (isArray2(originalArray)) {
643
+ C = originalArray.constructor;
644
+ if (isConstructor3(C) && (C === $Array || isArray2(C.prototype)))
645
+ C = void 0;
646
+ else if (isObject(C)) {
647
+ C = C[SPECIES];
648
+ if (C === null)
649
+ C = void 0;
650
+ }
651
+ }
652
+ return C === void 0 ? $Array : C;
653
+ };
654
+ var arraySpeciesConstructor = arraySpeciesConstructor$1;
655
+ var arraySpeciesCreate$1 = function(originalArray, length) {
656
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
657
+ };
658
+ var bind = functionBindContext;
659
+ var uncurryThis = functionUncurryThis;
660
+ var IndexedObject = indexedObject;
661
+ var toObject = toObject$2;
662
+ var lengthOfArrayLike = lengthOfArrayLike$1;
663
+ var arraySpeciesCreate = arraySpeciesCreate$1;
664
+ var push = uncurryThis([].push);
665
+ var createMethod = function(TYPE) {
666
+ var IS_MAP = TYPE === 1;
667
+ var IS_FILTER = TYPE === 2;
668
+ var IS_SOME = TYPE === 3;
669
+ var IS_EVERY = TYPE === 4;
670
+ var IS_FIND_INDEX = TYPE === 6;
671
+ var IS_FILTER_REJECT = TYPE === 7;
672
+ var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
673
+ return function($this, callbackfn, that, specificCreate) {
674
+ var O = toObject($this);
675
+ var self2 = IndexedObject(O);
676
+ var boundFunction = bind(callbackfn, that);
677
+ var length = lengthOfArrayLike(self2);
678
+ var index = 0;
679
+ var create = specificCreate || arraySpeciesCreate;
680
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : void 0;
681
+ var value, result;
682
+ for (; length > index; index++)
683
+ if (NO_HOLES || index in self2) {
684
+ value = self2[index];
685
+ result = boundFunction(value, index, O);
686
+ if (TYPE) {
687
+ if (IS_MAP)
688
+ target[index] = result;
689
+ else if (result)
690
+ switch (TYPE) {
691
+ case 3:
692
+ return true;
693
+ case 5:
694
+ return value;
695
+ case 6:
696
+ return index;
697
+ case 2:
698
+ push(target, value);
699
+ }
700
+ else
701
+ switch (TYPE) {
702
+ case 4:
703
+ return false;
704
+ case 7:
705
+ push(target, value);
706
+ }
707
+ }
708
+ }
709
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
710
+ };
711
+ };
712
+ var arrayIteration = {
713
+ // `Array.prototype.forEach` method
714
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
715
+ forEach: createMethod(0),
716
+ // `Array.prototype.map` method
717
+ // https://tc39.es/ecma262/#sec-array.prototype.map
718
+ map: createMethod(1),
719
+ // `Array.prototype.filter` method
720
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
721
+ filter: createMethod(2),
722
+ // `Array.prototype.some` method
723
+ // https://tc39.es/ecma262/#sec-array.prototype.some
724
+ some: createMethod(3),
725
+ // `Array.prototype.every` method
726
+ // https://tc39.es/ecma262/#sec-array.prototype.every
727
+ every: createMethod(4),
728
+ // `Array.prototype.find` method
729
+ // https://tc39.es/ecma262/#sec-array.prototype.find
730
+ find: createMethod(5),
731
+ // `Array.prototype.findIndex` method
732
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
733
+ findIndex: createMethod(6),
734
+ // `Array.prototype.filterReject` method
735
+ // https://github.com/tc39/proposal-array-filtering
736
+ filterReject: createMethod(7)
737
+ };
738
+ var fails = fails$9;
739
+ var arrayMethodIsStrict$1 = function(METHOD_NAME, argument) {
740
+ var method2 = [][METHOD_NAME];
741
+ return !!method2 && fails(function() {
742
+ method2.call(null, argument || function() {
743
+ return 1;
744
+ }, 1);
745
+ });
746
+ };
747
+ var $forEach = arrayIteration.forEach;
748
+ var arrayMethodIsStrict = arrayMethodIsStrict$1;
749
+ var STRICT_METHOD = arrayMethodIsStrict("forEach");
750
+ var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn) {
751
+ return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
752
+ } : [].forEach;
753
+ var $ = _export;
754
+ var forEach$7 = arrayForEach;
755
+ $({
756
+ target: "Array",
757
+ proto: true,
758
+ forced: [].forEach !== forEach$7
759
+ }, {
760
+ forEach: forEach$7
761
+ });
762
+ var global$1 = global$a;
763
+ var path = path$3;
764
+ var getBuiltInPrototypeMethod$1 = function(CONSTRUCTOR, METHOD) {
765
+ var Namespace = path[CONSTRUCTOR + "Prototype"];
766
+ var pureMethod = Namespace && Namespace[METHOD];
767
+ if (pureMethod)
768
+ return pureMethod;
769
+ var NativeConstructor = global$1[CONSTRUCTOR];
770
+ var NativePrototype = NativeConstructor && NativeConstructor.prototype;
771
+ return NativePrototype && NativePrototype[METHOD];
772
+ };
773
+ var getBuiltInPrototypeMethod = getBuiltInPrototypeMethod$1;
774
+ var forEach$6 = getBuiltInPrototypeMethod("Array", "forEach");
775
+ var parent$2 = forEach$6;
776
+ var forEach$5 = parent$2;
777
+ var classof = classof$4;
778
+ var hasOwn2 = hasOwnProperty_1;
779
+ var isPrototypeOf = objectIsPrototypeOf;
780
+ var method = forEach$5;
781
+ var ArrayPrototype = Array.prototype;
782
+ var DOMIterables = {
783
+ DOMTokenList: true,
784
+ NodeList: true
785
+ };
786
+ var forEach$4 = function(it) {
787
+ var own = it.forEach;
788
+ return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach || hasOwn2(DOMIterables, classof(it)) ? method : own;
789
+ };
790
+ var parent$1 = forEach$4;
791
+ var forEach$3 = parent$1;
792
+ var parent = forEach$3;
793
+ var forEach$2 = parent;
794
+ var forEach$1 = forEach$2;
795
+ var forEach2 = forEach$1;
796
+ const _forEachInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(forEach2);
6
797
  const _sfc_main = vueDemi.defineComponent({
7
798
  name: "NfFormItem",
8
- extends: elementUi.FormItem,
799
+ "extends": elementUi.FormItem,
9
800
  props: {
10
801
  hidden: {
11
802
  type: Boolean,
12
- default: false
803
+ "default": false
13
804
  }
14
805
  },
15
- data() {
806
+ data: function data2() {
16
807
  return {
17
808
  isExpand: true,
18
809
  initExpand: false
19
810
  };
20
811
  },
21
812
  watch: {
22
- labelPosition() {
813
+ labelPosition: function labelPosition() {
23
814
  this.refreshButtonList();
24
815
  },
25
- columns() {
816
+ columns: function columns() {
26
817
  this.refreshButtonList();
27
818
  },
28
- inline() {
819
+ inline: function inline() {
29
820
  this.refreshButtonList();
30
821
  },
31
- isCollapse() {
32
- var _a;
33
- this.isExpand = !((_a = this.form) == null ? void 0 : _a.isCollapse);
822
+ isCollapse: function isCollapse() {
823
+ var _this$form;
824
+ this.isExpand = !((_this$form = this.form) !== null && _this$form !== void 0 && _this$form.isCollapse);
34
825
  if (this.initExpand) {
35
826
  this.switchMode();
36
827
  }
37
828
  }
38
829
  },
39
- mounted() {
40
- var _a, _b;
41
- if ((_a = this.form) == null ? void 0 : _a.init) {
42
- (_b = this.form) == null ? void 0 : _b.getFormItems();
43
- }
44
- vueDemi.nextTick(() => {
45
- var _a2;
46
- if (!this.initExpand) {
47
- this.isExpand = !((_a2 = this.form) == null ? void 0 : _a2.isCollapse);
48
- if (!this.isExpand) {
49
- this.refreshButtonList();
830
+ mounted: function mounted() {
831
+ var _this$form2, _this = this;
832
+ if ((_this$form2 = this.form) !== null && _this$form2 !== void 0 && _this$form2.init) {
833
+ var _this$form3;
834
+ (_this$form3 = this.form) === null || _this$form3 === void 0 || _this$form3.getFormItems();
835
+ }
836
+ vueDemi.nextTick(function() {
837
+ if (!_this.initExpand) {
838
+ var _this$form4;
839
+ _this.isExpand = !((_this$form4 = _this.form) !== null && _this$form4 !== void 0 && _this$form4.isCollapse);
840
+ if (!_this.isExpand) {
841
+ _this.refreshButtonList();
50
842
  }
51
- this.initExpand = true;
843
+ _this.initExpand = true;
52
844
  } else {
53
- this.refreshButtonList();
845
+ _this.refreshButtonList();
54
846
  }
55
847
  });
56
848
  },
57
849
  computed: {
58
- expandBtnTooltipDesc() {
59
- var _a;
60
- return (_a = this.form) == null ? void 0 : _a.expandBtnTooltipDesc;
850
+ expandBtnTooltipDesc: function expandBtnTooltipDesc() {
851
+ var _this$form5;
852
+ return (_this$form5 = this.form) === null || _this$form5 === void 0 ? void 0 : _this$form5.expandBtnTooltipDesc;
61
853
  },
62
- shrinkBtnTooltipDesc() {
63
- var _a;
64
- return (_a = this.form) == null ? void 0 : _a.shrinkBtnTooltipDesc;
854
+ shrinkBtnTooltipDesc: function shrinkBtnTooltipDesc() {
855
+ var _this$form6;
856
+ return (_this$form6 = this.form) === null || _this$form6 === void 0 ? void 0 : _this$form6.shrinkBtnTooltipDesc;
65
857
  },
66
- downIcon() {
67
- var _a;
68
- return (_a = this.form) == null ? void 0 : _a.downIcon;
858
+ downIcon: function downIcon() {
859
+ var _this$form7;
860
+ return (_this$form7 = this.form) === null || _this$form7 === void 0 ? void 0 : _this$form7.downIcon;
69
861
  },
70
- upIcon() {
71
- var _a;
72
- return (_a = this.form) == null ? void 0 : _a.upIcon;
862
+ upIcon: function upIcon() {
863
+ var _this$form8;
864
+ return (_this$form8 = this.form) === null || _this$form8 === void 0 ? void 0 : _this$form8.upIcon;
73
865
  },
74
- isCollapse() {
75
- var _a;
76
- return (_a = this.form) == null ? void 0 : _a.isCollapse;
866
+ isCollapse: function isCollapse2() {
867
+ var _this$form9;
868
+ return (_this$form9 = this.form) === null || _this$form9 === void 0 ? void 0 : _this$form9.isCollapse;
77
869
  },
78
- labelPosition() {
79
- var _a;
80
- return (_a = this.form) == null ? void 0 : _a.labelPosition;
870
+ labelPosition: function labelPosition2() {
871
+ var _this$form10;
872
+ return (_this$form10 = this.form) === null || _this$form10 === void 0 ? void 0 : _this$form10.labelPosition;
81
873
  },
82
- inline() {
83
- var _a;
84
- return (_a = this.form) == null ? void 0 : _a.inline;
874
+ inline: function inline2() {
875
+ var _this$form11;
876
+ return (_this$form11 = this.form) === null || _this$form11 === void 0 ? void 0 : _this$form11.inline;
85
877
  },
86
- columns() {
87
- var _a;
88
- return (_a = this.form) == null ? void 0 : _a.columns;
878
+ columns: function columns2() {
879
+ var _this$form12;
880
+ return (_this$form12 = this.form) === null || _this$form12 === void 0 ? void 0 : _this$form12.columns;
89
881
  },
90
- expandBtnType() {
91
- var _a;
92
- return (_a = this.form) == null ? void 0 : _a.expandBtnType;
882
+ expandBtnType: function expandBtnType() {
883
+ var _this$form13;
884
+ return (_this$form13 = this.form) === null || _this$form13 === void 0 ? void 0 : _this$form13.expandBtnType;
93
885
  },
94
- expandBtnIcon() {
95
- var _a;
96
- return (_a = this.form) == null ? void 0 : _a.expandBtnIcon;
886
+ expandBtnIcon: function expandBtnIcon() {
887
+ var _this$form14;
888
+ return (_this$form14 = this.form) === null || _this$form14 === void 0 ? void 0 : _this$form14.expandBtnIcon;
97
889
  },
98
- expandBtnPlain() {
99
- var _a;
100
- return (_a = this.form) == null ? void 0 : _a.expandBtnPlain;
890
+ expandBtnPlain: function expandBtnPlain() {
891
+ var _this$form15;
892
+ return (_this$form15 = this.form) === null || _this$form15 === void 0 ? void 0 : _this$form15.expandBtnPlain;
101
893
  },
102
- expandBtnSize() {
103
- var _a;
104
- return (_a = this.form) == null ? void 0 : _a.expandBtnSize;
894
+ expandBtnSize: function expandBtnSize() {
895
+ var _this$form16;
896
+ return (_this$form16 = this.form) === null || _this$form16 === void 0 ? void 0 : _this$form16.expandBtnSize;
105
897
  },
106
- expandBtnRound() {
107
- var _a;
108
- return (_a = this.form) == null ? void 0 : _a.expandBtnRound;
898
+ expandBtnRound: function expandBtnRound() {
899
+ var _this$form17;
900
+ return (_this$form17 = this.form) === null || _this$form17 === void 0 ? void 0 : _this$form17.expandBtnRound;
109
901
  },
110
- expandBtnCircle() {
111
- var _a;
112
- return (_a = this.form) == null ? void 0 : _a.expandBtnCircle;
902
+ expandBtnCircle: function expandBtnCircle() {
903
+ var _this$form18;
904
+ return (_this$form18 = this.form) === null || _this$form18 === void 0 ? void 0 : _this$form18.expandBtnCircle;
113
905
  },
114
- expandBtnLoading() {
115
- var _a;
116
- return (_a = this.form) == null ? void 0 : _a.expandBtnLoading;
906
+ expandBtnLoading: function expandBtnLoading() {
907
+ var _this$form19;
908
+ return (_this$form19 = this.form) === null || _this$form19 === void 0 ? void 0 : _this$form19.expandBtnLoading;
117
909
  },
118
- expandBtnDisabled() {
119
- var _a;
120
- return (_a = this.form) == null ? void 0 : _a.expandBtnDisabled;
910
+ expandBtnDisabled: function expandBtnDisabled() {
911
+ var _this$form20;
912
+ return (_this$form20 = this.form) === null || _this$form20 === void 0 ? void 0 : _this$form20.expandBtnDisabled;
121
913
  },
122
- showBtn() {
123
- var _a, _b;
914
+ showBtn: function showBtn() {
915
+ var _this$form21, _this$form22;
124
916
  if (this.hidden)
125
917
  return false;
126
- if (!((_a = this.form) == null ? void 0 : _a.showBtn))
918
+ if (!((_this$form21 = this.form) !== null && _this$form21 !== void 0 && _this$form21.showBtn))
127
919
  return false;
128
- return ((_b = this.form) == null ? void 0 : _b.formItems.length) > this.columns;
920
+ return ((_this$form22 = this.form) === null || _this$form22 === void 0 ? void 0 : _this$form22.formItems.length) > this.columns;
129
921
  },
130
- isLastItem() {
131
- var _a, _b;
922
+ isLastItem: function isLastItem() {
923
+ var _this$form23, _items;
132
924
  if (!this.showBtn)
133
925
  return false;
134
- const items = (_a = this.form) == null ? void 0 : _a.formItems;
135
- return this._uid === ((_b = items == null ? void 0 : items[(items == null ? void 0 : items.length) - 1]) == null ? void 0 : _b._uid);
926
+ var items = (_this$form23 = this.form) === null || _this$form23 === void 0 ? void 0 : _this$form23.formItems;
927
+ return this._uid === (items === null || items === void 0 || (_items = items[(items === null || items === void 0 ? void 0 : items.length) - 1]) === null || _items === void 0 ? void 0 : _items._uid);
136
928
  }
137
929
  },
138
930
  methods: {
139
- refreshButtonList() {
140
- var _a, _b;
141
- if ((_a = this.form) == null ? void 0 : _a.showBtn) {
142
- (_b = this.form) == null ? void 0 : _b.formItems.forEach((item, index) => {
143
- var _a2, _b2;
144
- const idx = index + 1;
145
- item.$el.style.display = ((_a2 = this.form) == null ? void 0 : _a2.inline) ? "inline-block" : "block";
146
- if (idx > this.columns - 1 && idx < ((_b2 = this.form) == null ? void 0 : _b2.formItems.length)) {
147
- if (!this.isExpand) {
931
+ refreshButtonList: function refreshButtonList() {
932
+ var _this$form24, _this2 = this;
933
+ if ((_this$form24 = this.form) !== null && _this$form24 !== void 0 && _this$form24.showBtn) {
934
+ var _this$form25, _context;
935
+ (_this$form25 = this.form) === null || _this$form25 === void 0 || _forEachInstanceProperty(_context = _this$form25.formItems).call(_context, function(item, index) {
936
+ var _this2$form, _this2$form2;
937
+ var idx = index + 1;
938
+ item.$el.style.display = (_this2$form = _this2.form) !== null && _this2$form !== void 0 && _this2$form.inline ? "inline-block" : "block";
939
+ if (idx > _this2.columns - 1 && idx < ((_this2$form2 = _this2.form) === null || _this2$form2 === void 0 ? void 0 : _this2$form2.formItems.length)) {
940
+ if (!_this2.isExpand) {
148
941
  item.$el.style.display = "none";
149
942
  }
150
943
  }
@@ -152,9 +945,9 @@ const _sfc_main = vueDemi.defineComponent({
152
945
  }
153
946
  },
154
947
  // 切换显示模式
155
- switchMode(e) {
156
- var _a;
157
- let target = event.target;
948
+ switchMode: function switchMode(e) {
949
+ var _this$form26;
950
+ var target = event.target;
158
951
  if (target.nodeName == "SPAN") {
159
952
  target = event.target.parentNode;
160
953
  } else if (target.nodeName == "I") {
@@ -162,7 +955,7 @@ const _sfc_main = vueDemi.defineComponent({
162
955
  }
163
956
  target.blur();
164
957
  this.isExpand = !this.isExpand;
165
- (_a = this.form) == null ? void 0 : _a.$emit("isCollapseChange", this.isExpand);
958
+ (_this$form26 = this.form) === null || _this$form26 === void 0 || _this$form26.$emit("isCollapseChange", this.isExpand);
166
959
  this.refreshButtonList();
167
960
  }
168
961
  }
@@ -172,7 +965,7 @@ var _sfc_render = function render() {
172
965
  _vm._self._setupProxy;
173
966
  return _c("div", {
174
967
  staticClass: "el-form-item nf-form-item",
175
- class: [{
968
+ "class": [{
176
969
  "el-form-item--feedback": _vm.elForm && _vm.elForm.statusIcon,
177
970
  "is-error": _vm.validateState === "error",
178
971
  "is-validating": _vm.validateState === "validating",
@@ -222,7 +1015,7 @@ var _sfc_render = function render() {
222
1015
  }
223
1016
  }, [_c("i", {
224
1017
  staticClass: "iconfont nf-fs12",
225
- class: _vm.isExpand ? _vm.upIcon : _vm.downIcon
1018
+ "class": _vm.isExpand ? _vm.upIcon : _vm.downIcon
226
1019
  })])], 1)], 1) : _vm._e()], 2) : _vm._t("default"), _c("transition", {
227
1020
  attrs: {
228
1021
  "name": "el-zoom-in-top"
@@ -230,7 +1023,7 @@ var _sfc_render = function render() {
230
1023
  }, [_vm.validateState === "error" && _vm.showMessage && _vm.form.showMessage ? _vm._t("error", function() {
231
1024
  return [_c("div", {
232
1025
  staticClass: "el-form-item__error",
233
- class: {
1026
+ "class": {
234
1027
  "el-form-item__error--inline": typeof _vm.inlineMessage === "boolean" ? _vm.inlineMessage : _vm.elForm && _vm.elForm.inlineMessage || false
235
1028
  }
236
1029
  }, [_vm._v(" " + _vm._s(_vm.validateMessage) + " ")])];
@@ -241,7 +1034,7 @@ var _sfc_render = function render() {
241
1034
  var _sfc_staticRenderFns = [];
242
1035
  var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
243
1036
  const NfFormItem = __component__.exports;
244
- NfFormItem.install = (app) => {
1037
+ NfFormItem.install = function(app) {
245
1038
  app.component("nf-form-item", NfFormItem);
246
1039
  };
247
1040
  exports.default = NfFormItem;