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