@94ai/nf-variable-select 3.3.38 → 3.3.39

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,1026 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vueDemi = require("vue-demi");
4
4
  const commonUtils = require("@94ai/common-utils");
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 fails$a = function(exec2) {
11
- try {
12
- return !!exec2();
13
- } catch (error) {
14
- return true;
15
- }
16
- };
17
- var fails$9 = fails$a;
18
- var functionBindNative = !fails$9(function() {
19
- var test2 = (function() {
20
- }).bind();
21
- return typeof test2 != "function" || test2.hasOwnProperty("prototype");
22
- });
23
- var NATIVE_BIND$3 = functionBindNative;
24
- var FunctionPrototype$1 = Function.prototype;
25
- var call$5 = FunctionPrototype$1.call;
26
- var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$1.bind.bind(call$5, call$5);
27
- var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function(fn) {
28
- return function() {
29
- return call$5.apply(fn, arguments);
30
- };
31
- };
32
- var uncurryThis$c = functionUncurryThis;
33
- var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
34
- var check = function(it) {
35
- return it && it.Math === Math && it;
36
- };
37
- var global$d = (
38
- // eslint-disable-next-line es/no-global-this -- safe
39
- check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
40
- check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
41
- function() {
42
- return this;
43
- }() || commonjsGlobal || Function("return this")()
44
- );
45
- var NATIVE_BIND$2 = functionBindNative;
46
- var FunctionPrototype = Function.prototype;
47
- var apply$2 = FunctionPrototype.apply;
48
- var call$4 = FunctionPrototype.call;
49
- var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$2 ? call$4.bind(apply$2) : function() {
50
- return call$4.apply(apply$2, arguments);
51
- });
52
- var uncurryThis$b = functionUncurryThis;
53
- var toString$3 = uncurryThis$b({}.toString);
54
- var stringSlice = uncurryThis$b("".slice);
55
- var classofRaw$2 = function(it) {
56
- return stringSlice(toString$3(it), 8, -1);
57
- };
58
- var classofRaw$1 = classofRaw$2;
59
- var uncurryThis$a = functionUncurryThis;
60
- var functionUncurryThisClause = function(fn) {
61
- if (classofRaw$1(fn) === "Function")
62
- return uncurryThis$a(fn);
63
- };
64
- var documentAll$2 = typeof document == "object" && document.all;
65
- var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
66
- var documentAll_1 = {
67
- all: documentAll$2,
68
- IS_HTMLDDA
69
- };
70
- var $documentAll$1 = documentAll_1;
71
- var documentAll$1 = $documentAll$1.all;
72
- var isCallable$b = $documentAll$1.IS_HTMLDDA ? function(argument) {
73
- return typeof argument == "function" || argument === documentAll$1;
74
- } : function(argument) {
75
- return typeof argument == "function";
76
- };
77
- var objectGetOwnPropertyDescriptor = {};
78
- var fails$8 = fails$a;
79
- var descriptors = !fails$8(function() {
80
- return Object.defineProperty({}, 1, {
81
- get: function() {
82
- return 7;
83
- }
84
- })[1] !== 7;
85
- });
86
- var NATIVE_BIND$1 = functionBindNative;
87
- var call$3 = Function.prototype.call;
88
- var functionCall = NATIVE_BIND$1 ? call$3.bind(call$3) : function() {
89
- return call$3.apply(call$3, arguments);
90
- };
91
- var objectPropertyIsEnumerable = {};
92
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
93
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
94
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
95
- 1: 2
96
- }, 1);
97
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
98
- var descriptor = getOwnPropertyDescriptor$1(this, V);
99
- return !!descriptor && descriptor.enumerable;
100
- } : $propertyIsEnumerable;
101
- var createPropertyDescriptor$2 = function(bitmap, value) {
102
- return {
103
- enumerable: !(bitmap & 1),
104
- configurable: !(bitmap & 2),
105
- writable: !(bitmap & 4),
106
- value
107
- };
108
- };
109
- var uncurryThis$9 = functionUncurryThis;
110
- var fails$7 = fails$a;
111
- var classof$5 = classofRaw$2;
112
- var $Object$3 = Object;
113
- var split = uncurryThis$9("".split);
114
- var indexedObject = fails$7(function() {
115
- return !$Object$3("z").propertyIsEnumerable(0);
116
- }) ? function(it) {
117
- return classof$5(it) === "String" ? split(it, "") : $Object$3(it);
118
- } : $Object$3;
119
- var isNullOrUndefined$2 = function(it) {
120
- return it === null || it === void 0;
121
- };
122
- var isNullOrUndefined$1 = isNullOrUndefined$2;
123
- var $TypeError$7 = TypeError;
124
- var requireObjectCoercible$3 = function(it) {
125
- if (isNullOrUndefined$1(it))
126
- throw new $TypeError$7("Can't call method on " + it);
127
- return it;
128
- };
129
- var IndexedObject$1 = indexedObject;
130
- var requireObjectCoercible$2 = requireObjectCoercible$3;
131
- var toIndexedObject$2 = function(it) {
132
- return IndexedObject$1(requireObjectCoercible$2(it));
133
- };
134
- var isCallable$a = isCallable$b;
135
- var $documentAll = documentAll_1;
136
- var documentAll = $documentAll.all;
137
- var isObject$6 = $documentAll.IS_HTMLDDA ? function(it) {
138
- return typeof it == "object" ? it !== null : isCallable$a(it) || it === documentAll;
139
- } : function(it) {
140
- return typeof it == "object" ? it !== null : isCallable$a(it);
141
- };
142
- var path$4 = {};
143
- var path$3 = path$4;
144
- var global$c = global$d;
145
- var isCallable$9 = isCallable$b;
146
- var aFunction = function(variable) {
147
- return isCallable$9(variable) ? variable : void 0;
148
- };
149
- var getBuiltIn$2 = function(namespace, method2) {
150
- return arguments.length < 2 ? aFunction(path$3[namespace]) || aFunction(global$c[namespace]) : path$3[namespace] && path$3[namespace][method2] || global$c[namespace] && global$c[namespace][method2];
151
- };
152
- var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
153
- var global$b = global$d;
154
- var userAgent = engineUserAgent;
155
- var process = global$b.process;
156
- var Deno = global$b.Deno;
157
- var versions = process && process.versions || Deno && Deno.version;
158
- var v8 = versions && versions.v8;
159
- var match, version;
160
- if (v8) {
161
- match = v8.split(".");
162
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
163
- }
164
- if (!version && userAgent) {
165
- match = userAgent.match(/Edge\/(\d+)/);
166
- if (!match || match[1] >= 74) {
167
- match = userAgent.match(/Chrome\/(\d+)/);
168
- if (match)
169
- version = +match[1];
170
- }
171
- }
172
- var engineV8Version = version;
173
- var V8_VERSION$1 = engineV8Version;
174
- var fails$6 = fails$a;
175
- var global$a = global$d;
176
- var $String$3 = global$a.String;
177
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$6(function() {
178
- var symbol = Symbol("symbol detection");
179
- return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
180
- !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
181
- });
182
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
183
- var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
184
- var getBuiltIn$1 = getBuiltIn$2;
185
- var isCallable$8 = isCallable$b;
186
- var isPrototypeOf$3 = objectIsPrototypeOf;
187
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
188
- var $Object$2 = Object;
189
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function(it) {
190
- return typeof it == "symbol";
191
- } : function(it) {
192
- var $Symbol = getBuiltIn$1("Symbol");
193
- return isCallable$8($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
194
- };
195
- var $String$2 = String;
196
- var tryToString$1 = function(argument) {
197
- try {
198
- return $String$2(argument);
199
- } catch (error) {
200
- return "Object";
201
- }
202
- };
203
- var isCallable$7 = isCallable$b;
204
- var tryToString = tryToString$1;
205
- var $TypeError$6 = TypeError;
206
- var aCallable$2 = function(argument) {
207
- if (isCallable$7(argument))
208
- return argument;
209
- throw new $TypeError$6(tryToString(argument) + " is not a function");
210
- };
211
- var aCallable$1 = aCallable$2;
212
- var isNullOrUndefined = isNullOrUndefined$2;
213
- var getMethod$1 = function(V, P) {
214
- var func = V[P];
215
- return isNullOrUndefined(func) ? void 0 : aCallable$1(func);
216
- };
217
- var call$2 = functionCall;
218
- var isCallable$6 = isCallable$b;
219
- var isObject$5 = isObject$6;
220
- var $TypeError$5 = TypeError;
221
- var ordinaryToPrimitive$1 = function(input, pref) {
222
- var fn, val;
223
- if (pref === "string" && isCallable$6(fn = input.toString) && !isObject$5(val = call$2(fn, input)))
224
- return val;
225
- if (isCallable$6(fn = input.valueOf) && !isObject$5(val = call$2(fn, input)))
226
- return val;
227
- if (pref !== "string" && isCallable$6(fn = input.toString) && !isObject$5(val = call$2(fn, input)))
228
- return val;
229
- throw new $TypeError$5("Can't convert object to primitive value");
230
- };
231
- var shared$1 = { exports: {} };
232
- var global$9 = global$d;
233
- var defineProperty = Object.defineProperty;
234
- var defineGlobalProperty$1 = function(key, value) {
235
- try {
236
- defineProperty(global$9, key, {
237
- value,
238
- configurable: true,
239
- writable: true
240
- });
241
- } catch (error) {
242
- global$9[key] = value;
243
- }
244
- return value;
245
- };
246
- var global$8 = global$d;
247
- var defineGlobalProperty = defineGlobalProperty$1;
248
- var SHARED = "__core-js_shared__";
249
- var store$2 = global$8[SHARED] || defineGlobalProperty(SHARED, {});
250
- var sharedStore = store$2;
251
- var store$1 = sharedStore;
252
- (shared$1.exports = function(key, value) {
253
- return store$1[key] || (store$1[key] = value !== void 0 ? value : {});
254
- })("versions", []).push({
255
- version: "3.33.2",
256
- mode: "pure",
257
- copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
258
- license: "https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",
259
- source: "https://github.com/zloirock/core-js"
260
- });
261
- var sharedExports = shared$1.exports;
262
- var requireObjectCoercible$1 = requireObjectCoercible$3;
263
- var $Object$1 = Object;
264
- var toObject$2 = function(argument) {
265
- return $Object$1(requireObjectCoercible$1(argument));
266
- };
267
- var uncurryThis$8 = functionUncurryThis;
268
- var toObject$1 = toObject$2;
269
- var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
270
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
271
- return hasOwnProperty(toObject$1(it), key);
272
- };
273
- var uncurryThis$7 = functionUncurryThis;
274
- var id = 0;
275
- var postfix = Math.random();
276
- var toString$2 = uncurryThis$7(1 .toString);
277
- var uid$1 = function(key) {
278
- return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$2(++id + postfix, 36);
279
- };
280
- var global$7 = global$d;
281
- var shared = sharedExports;
282
- var hasOwn$2 = hasOwnProperty_1;
283
- var uid = uid$1;
284
- var NATIVE_SYMBOL = symbolConstructorDetection;
285
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
286
- var Symbol$1 = global$7.Symbol;
287
- var WellKnownSymbolsStore = shared("wks");
288
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1["for"] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
289
- var wellKnownSymbol$7 = function(name) {
290
- if (!hasOwn$2(WellKnownSymbolsStore, name)) {
291
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$2(Symbol$1, name) ? Symbol$1[name] : createWellKnownSymbol("Symbol." + name);
292
- }
293
- return WellKnownSymbolsStore[name];
294
- };
295
- var call$1 = functionCall;
296
- var isObject$4 = isObject$6;
297
- var isSymbol$1 = isSymbol$2;
298
- var getMethod = getMethod$1;
299
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
300
- var wellKnownSymbol$6 = wellKnownSymbol$7;
301
- var $TypeError$4 = TypeError;
302
- var TO_PRIMITIVE = wellKnownSymbol$6("toPrimitive");
303
- var toPrimitive$1 = function(input, pref) {
304
- if (!isObject$4(input) || isSymbol$1(input))
305
- return input;
306
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
307
- var result;
308
- if (exoticToPrim) {
309
- if (pref === void 0)
310
- pref = "default";
311
- result = call$1(exoticToPrim, input, pref);
312
- if (!isObject$4(result) || isSymbol$1(result))
313
- return result;
314
- throw new $TypeError$4("Can't convert object to primitive value");
315
- }
316
- if (pref === void 0)
317
- pref = "number";
318
- return ordinaryToPrimitive(input, pref);
319
- };
320
- var toPrimitive = toPrimitive$1;
321
- var isSymbol = isSymbol$2;
322
- var toPropertyKey$2 = function(argument) {
323
- var key = toPrimitive(argument, "string");
324
- return isSymbol(key) ? key : key + "";
325
- };
326
- var global$6 = global$d;
327
- var isObject$3 = isObject$6;
328
- var document$1 = global$6.document;
329
- var EXISTS = isObject$3(document$1) && isObject$3(document$1.createElement);
330
- var documentCreateElement = function(it) {
331
- return EXISTS ? document$1.createElement(it) : {};
332
- };
333
- var DESCRIPTORS$4 = descriptors;
334
- var fails$5 = fails$a;
335
- var createElement = documentCreateElement;
336
- var ie8DomDefine = !DESCRIPTORS$4 && !fails$5(function() {
337
- return Object.defineProperty(createElement("div"), "a", {
338
- get: function() {
339
- return 7;
340
- }
341
- }).a !== 7;
342
- });
343
- var DESCRIPTORS$3 = descriptors;
344
- var call = functionCall;
345
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
346
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
347
- var toIndexedObject$1 = toIndexedObject$2;
348
- var toPropertyKey$1 = toPropertyKey$2;
349
- var hasOwn$1 = hasOwnProperty_1;
350
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
351
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
352
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
353
- O = toIndexedObject$1(O);
354
- P = toPropertyKey$1(P);
355
- if (IE8_DOM_DEFINE$1)
356
- try {
357
- return $getOwnPropertyDescriptor$1(O, P);
358
- } catch (error) {
359
- }
360
- if (hasOwn$1(O, P))
361
- return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
362
- };
363
- var fails$4 = fails$a;
364
- var isCallable$5 = isCallable$b;
365
- var replacement = /#|\.prototype\./;
366
- var isForced$1 = function(feature, detection) {
367
- var value = data[normalize(feature)];
368
- return value === POLYFILL ? true : value === NATIVE ? false : isCallable$5(detection) ? fails$4(detection) : !!detection;
369
- };
370
- var normalize = isForced$1.normalize = function(string) {
371
- return String(string).replace(replacement, ".").toLowerCase();
372
- };
373
- var data = isForced$1.data = {};
374
- var NATIVE = isForced$1.NATIVE = "N";
375
- var POLYFILL = isForced$1.POLYFILL = "P";
376
- var isForced_1 = isForced$1;
377
- var uncurryThis$6 = functionUncurryThisClause;
378
- var aCallable = aCallable$2;
379
- var NATIVE_BIND = functionBindNative;
380
- var bind$2 = uncurryThis$6(uncurryThis$6.bind);
381
- var functionBindContext = function(fn, that) {
382
- aCallable(fn);
383
- return that === void 0 ? fn : NATIVE_BIND ? bind$2(fn, that) : function() {
384
- return fn.apply(that, arguments);
385
- };
386
- };
387
- var objectDefineProperty = {};
388
- var DESCRIPTORS$2 = descriptors;
389
- var fails$3 = fails$a;
390
- var v8PrototypeDefineBug = DESCRIPTORS$2 && fails$3(function() {
391
- return Object.defineProperty(function() {
392
- }, "prototype", {
393
- value: 42,
394
- writable: false
395
- }).prototype !== 42;
396
- });
397
- var isObject$2 = isObject$6;
398
- var $String$1 = String;
399
- var $TypeError$3 = TypeError;
400
- var anObject$1 = function(argument) {
401
- if (isObject$2(argument))
402
- return argument;
403
- throw new $TypeError$3($String$1(argument) + " is not an object");
404
- };
405
- var DESCRIPTORS$1 = descriptors;
406
- var IE8_DOM_DEFINE = ie8DomDefine;
407
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
408
- var anObject = anObject$1;
409
- var toPropertyKey = toPropertyKey$2;
410
- var $TypeError$2 = TypeError;
411
- var $defineProperty = Object.defineProperty;
412
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
413
- var ENUMERABLE = "enumerable";
414
- var CONFIGURABLE = "configurable";
415
- var WRITABLE = "writable";
416
- objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty2(O, P, Attributes) {
417
- anObject(O);
418
- P = toPropertyKey(P);
419
- anObject(Attributes);
420
- if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
421
- var current = $getOwnPropertyDescriptor(O, P);
422
- if (current && current[WRITABLE]) {
423
- O[P] = Attributes.value;
424
- Attributes = {
425
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
426
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
427
- writable: false
428
- };
429
- }
430
- }
431
- return $defineProperty(O, P, Attributes);
432
- } : $defineProperty : function defineProperty3(O, P, Attributes) {
433
- anObject(O);
434
- P = toPropertyKey(P);
435
- anObject(Attributes);
436
- if (IE8_DOM_DEFINE)
437
- try {
438
- return $defineProperty(O, P, Attributes);
439
- } catch (error) {
440
- }
441
- if ("get" in Attributes || "set" in Attributes)
442
- throw new $TypeError$2("Accessors not supported");
443
- if ("value" in Attributes)
444
- O[P] = Attributes.value;
445
- return O;
446
- };
447
- var DESCRIPTORS = descriptors;
448
- var definePropertyModule = objectDefineProperty;
449
- var createPropertyDescriptor = createPropertyDescriptor$2;
450
- var createNonEnumerableProperty$1 = DESCRIPTORS ? function(object, key, value) {
451
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
452
- } : function(object, key, value) {
453
- object[key] = value;
454
- return object;
455
- };
456
- var global$5 = global$d;
457
- var apply$1 = functionApply;
458
- var uncurryThis$5 = functionUncurryThisClause;
459
- var isCallable$4 = isCallable$b;
460
- var getOwnPropertyDescriptor2 = objectGetOwnPropertyDescriptor.f;
461
- var isForced = isForced_1;
462
- var path$2 = path$4;
463
- var bind$1 = functionBindContext;
464
- var createNonEnumerableProperty = createNonEnumerableProperty$1;
465
- var hasOwn2 = hasOwnProperty_1;
466
- var wrapConstructor = function(NativeConstructor) {
467
- var Wrapper = function(a, b, c) {
468
- if (this instanceof Wrapper) {
469
- switch (arguments.length) {
470
- case 0:
471
- return new NativeConstructor();
472
- case 1:
473
- return new NativeConstructor(a);
474
- case 2:
475
- return new NativeConstructor(a, b);
476
- }
477
- return new NativeConstructor(a, b, c);
478
- }
479
- return apply$1(NativeConstructor, this, arguments);
480
- };
481
- Wrapper.prototype = NativeConstructor.prototype;
482
- return Wrapper;
483
- };
484
- var _export = function(options, source) {
485
- var TARGET = options.target;
486
- var GLOBAL = options.global;
487
- var STATIC = options.stat;
488
- var PROTO = options.proto;
489
- var nativeSource = GLOBAL ? global$5 : STATIC ? global$5[TARGET] : (global$5[TARGET] || {}).prototype;
490
- var target = GLOBAL ? path$2 : path$2[TARGET] || createNonEnumerableProperty(path$2, TARGET, {})[TARGET];
491
- var targetPrototype = target.prototype;
492
- var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
493
- var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
494
- for (key in source) {
495
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
496
- USE_NATIVE = !FORCED && nativeSource && hasOwn2(nativeSource, key);
497
- targetProperty = target[key];
498
- if (USE_NATIVE)
499
- if (options.dontCallGetSet) {
500
- descriptor = getOwnPropertyDescriptor2(nativeSource, key);
501
- nativeProperty = descriptor && descriptor.value;
502
- } else
503
- nativeProperty = nativeSource[key];
504
- sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
505
- if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
506
- continue;
507
- if (options.bind && USE_NATIVE)
508
- resultProperty = bind$1(sourceProperty, global$5);
509
- else if (options.wrap && USE_NATIVE)
510
- resultProperty = wrapConstructor(sourceProperty);
511
- else if (PROTO && isCallable$4(sourceProperty))
512
- resultProperty = uncurryThis$5(sourceProperty);
513
- else
514
- resultProperty = sourceProperty;
515
- if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
516
- createNonEnumerableProperty(resultProperty, "sham", true);
517
- }
518
- createNonEnumerableProperty(target, key, resultProperty);
519
- if (PROTO) {
520
- VIRTUAL_PROTOTYPE = TARGET + "Prototype";
521
- if (!hasOwn2(path$2, VIRTUAL_PROTOTYPE)) {
522
- createNonEnumerableProperty(path$2, VIRTUAL_PROTOTYPE, {});
523
- }
524
- createNonEnumerableProperty(path$2[VIRTUAL_PROTOTYPE], key, sourceProperty);
525
- if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {
526
- createNonEnumerableProperty(targetPrototype, key, sourceProperty);
527
- }
528
- }
529
- }
530
- };
531
- var ceil = Math.ceil;
532
- var floor = Math.floor;
533
- var mathTrunc = Math.trunc || function trunc(x) {
534
- var n = +x;
535
- return (n > 0 ? floor : ceil)(n);
536
- };
537
- var trunc2 = mathTrunc;
538
- var toIntegerOrInfinity$2 = function(argument) {
539
- var number = +argument;
540
- return number !== number || number === 0 ? 0 : trunc2(number);
541
- };
542
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
543
- var min$1 = Math.min;
544
- var toLength$1 = function(argument) {
545
- return argument > 0 ? min$1(toIntegerOrInfinity$1(argument), 9007199254740991) : 0;
546
- };
547
- var toLength = toLength$1;
548
- var lengthOfArrayLike$2 = function(obj) {
549
- return toLength(obj.length);
550
- };
551
- var classof$4 = classofRaw$2;
552
- var isArray$1 = Array.isArray || function isArray(argument) {
553
- return classof$4(argument) === "Array";
554
- };
555
- var wellKnownSymbol$5 = wellKnownSymbol$7;
556
- var TO_STRING_TAG$1 = wellKnownSymbol$5("toStringTag");
557
- var test = {};
558
- test[TO_STRING_TAG$1] = "z";
559
- var toStringTagSupport = String(test) === "[object z]";
560
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
561
- var isCallable$3 = isCallable$b;
562
- var classofRaw = classofRaw$2;
563
- var wellKnownSymbol$4 = wellKnownSymbol$7;
564
- var TO_STRING_TAG = wellKnownSymbol$4("toStringTag");
565
- var $Object = Object;
566
- var CORRECT_ARGUMENTS = classofRaw(function() {
567
- return arguments;
568
- }()) === "Arguments";
569
- var tryGet = function(it, key) {
570
- try {
571
- return it[key];
572
- } catch (error) {
573
- }
574
- };
575
- var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
576
- var O, tag, result;
577
- return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable$3(O.callee) ? "Arguments" : result;
578
- };
579
- var uncurryThis$4 = functionUncurryThis;
580
- var isCallable$2 = isCallable$b;
581
- var store = sharedStore;
582
- var functionToString = uncurryThis$4(Function.toString);
583
- if (!isCallable$2(store.inspectSource)) {
584
- store.inspectSource = function(it) {
585
- return functionToString(it);
586
- };
587
- }
588
- var inspectSource$1 = store.inspectSource;
589
- var uncurryThis$3 = functionUncurryThis;
590
- var fails$2 = fails$a;
591
- var isCallable$1 = isCallable$b;
592
- var classof$2 = classof$3;
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$3(constructorRegExp.exec);
601
- var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
602
- var isConstructorModern = function isConstructor(argument) {
603
- if (!isCallable$1(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$1(argument))
614
- return false;
615
- switch (classof$2(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$2(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$1 = isObject$6;
637
- var wellKnownSymbol$3 = wellKnownSymbol$7;
638
- var SPECIES$1 = wellKnownSymbol$3("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$1(C)) {
647
- C = C[SPECIES$1];
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$2 = functionUncurryThis;
660
- var IndexedObject = indexedObject;
661
- var toObject = toObject$2;
662
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
663
- var arraySpeciesCreate = arraySpeciesCreate$1;
664
- var push = uncurryThis$2([].push);
665
- var createMethod$1 = 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$1(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$1(0),
716
- // `Array.prototype.map` method
717
- // https://tc39.es/ecma262/#sec-array.prototype.map
718
- map: createMethod$1(1),
719
- // `Array.prototype.filter` method
720
- // https://tc39.es/ecma262/#sec-array.prototype.filter
721
- filter: createMethod$1(2),
722
- // `Array.prototype.some` method
723
- // https://tc39.es/ecma262/#sec-array.prototype.some
724
- some: createMethod$1(3),
725
- // `Array.prototype.every` method
726
- // https://tc39.es/ecma262/#sec-array.prototype.every
727
- every: createMethod$1(4),
728
- // `Array.prototype.find` method
729
- // https://tc39.es/ecma262/#sec-array.prototype.find
730
- find: createMethod$1(5),
731
- // `Array.prototype.findIndex` method
732
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
733
- findIndex: createMethod$1(6),
734
- // `Array.prototype.filterReject` method
735
- // https://github.com/tc39/proposal-array-filtering
736
- filterReject: createMethod$1(7)
737
- };
738
- var fails$1 = fails$a;
739
- var wellKnownSymbol$2 = wellKnownSymbol$7;
740
- var V8_VERSION = engineV8Version;
741
- var SPECIES = wellKnownSymbol$2("species");
742
- var arrayMethodHasSpeciesSupport$2 = function(METHOD_NAME) {
743
- return V8_VERSION >= 51 || !fails$1(function() {
744
- var array = [];
745
- var constructor = array.constructor = {};
746
- constructor[SPECIES] = function() {
747
- return {
748
- foo: 1
749
- };
750
- };
751
- return array[METHOD_NAME](Boolean).foo !== 1;
752
- });
753
- };
754
- var $$5 = _export;
755
- var $map = arrayIteration.map;
756
- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
757
- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1("map");
758
- $$5({
759
- target: "Array",
760
- proto: true,
761
- forced: !HAS_SPECIES_SUPPORT$1
762
- }, {
763
- map: function map(callbackfn) {
764
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
765
- }
766
- });
767
- var global$4 = global$d;
768
- var path$1 = path$4;
769
- var getBuiltInPrototypeMethod$4 = function(CONSTRUCTOR, METHOD) {
770
- var Namespace = path$1[CONSTRUCTOR + "Prototype"];
771
- var pureMethod = Namespace && Namespace[METHOD];
772
- if (pureMethod)
773
- return pureMethod;
774
- var NativeConstructor = global$4[CONSTRUCTOR];
775
- var NativePrototype = NativeConstructor && NativeConstructor.prototype;
776
- return NativePrototype && NativePrototype[METHOD];
777
- };
778
- var getBuiltInPrototypeMethod$3 = getBuiltInPrototypeMethod$4;
779
- var map$6 = getBuiltInPrototypeMethod$3("Array", "map");
780
- var isPrototypeOf$2 = objectIsPrototypeOf;
781
- var method$1 = map$6;
782
- var ArrayPrototype$2 = Array.prototype;
783
- var map$5 = function(it) {
784
- var own = it.map;
785
- return it === ArrayPrototype$2 || isPrototypeOf$2(ArrayPrototype$2, it) && own === ArrayPrototype$2.map ? method$1 : own;
786
- };
787
- var parent$a = map$5;
788
- var map$4 = parent$a;
789
- var parent$9 = map$4;
790
- var map$3 = parent$9;
791
- var parent$8 = map$3;
792
- var map$2 = parent$8;
793
- var map$1 = map$2;
794
- var map2 = map$1;
795
- const _mapInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(map2);
796
- var $$4 = _export;
797
- var $filter = arrayIteration.filter;
798
- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
799
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("filter");
800
- $$4({
801
- target: "Array",
802
- proto: true,
803
- forced: !HAS_SPECIES_SUPPORT
804
- }, {
805
- filter: function filter(callbackfn) {
806
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
807
- }
808
- });
809
- var getBuiltInPrototypeMethod$2 = getBuiltInPrototypeMethod$4;
810
- var filter$6 = getBuiltInPrototypeMethod$2("Array", "filter");
811
- var isPrototypeOf$1 = objectIsPrototypeOf;
812
- var method = filter$6;
813
- var ArrayPrototype$1 = Array.prototype;
814
- var filter$5 = function(it) {
815
- var own = it.filter;
816
- return it === ArrayPrototype$1 || isPrototypeOf$1(ArrayPrototype$1, it) && own === ArrayPrototype$1.filter ? method : own;
817
- };
818
- var parent$7 = filter$5;
819
- var filter$4 = parent$7;
820
- var parent$6 = filter$4;
821
- var filter$3 = parent$6;
822
- var parent$5 = filter$3;
823
- var filter$2 = parent$5;
824
- var filter$1 = filter$2;
825
- var filter2 = filter$1;
826
- const _filterInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(filter2);
827
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
828
- var max = Math.max;
829
- var min = Math.min;
830
- var toAbsoluteIndex$1 = function(index, length) {
831
- var integer = toIntegerOrInfinity(index);
832
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
833
- };
834
- var toIndexedObject = toIndexedObject$2;
835
- var toAbsoluteIndex = toAbsoluteIndex$1;
836
- var lengthOfArrayLike = lengthOfArrayLike$2;
837
- var createMethod = function(IS_INCLUDES) {
838
- return function($this, el, fromIndex) {
839
- var O = toIndexedObject($this);
840
- var length = lengthOfArrayLike(O);
841
- var index = toAbsoluteIndex(fromIndex, length);
842
- var value;
843
- if (IS_INCLUDES && el !== el)
844
- while (length > index) {
845
- value = O[index++];
846
- if (value !== value)
847
- return true;
848
- }
849
- else
850
- for (; length > index; index++) {
851
- if ((IS_INCLUDES || index in O) && O[index] === el)
852
- return IS_INCLUDES || index || 0;
853
- }
854
- return !IS_INCLUDES && -1;
855
- };
856
- };
857
- var arrayIncludes = {
858
- // `Array.prototype.includes` method
859
- // https://tc39.es/ecma262/#sec-array.prototype.includes
860
- includes: createMethod(true),
861
- // `Array.prototype.indexOf` method
862
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
863
- indexOf: createMethod(false)
864
- };
865
- var $$3 = _export;
866
- var $includes = arrayIncludes.includes;
867
- var fails = fails$a;
868
- var BROKEN_ON_SPARSE = fails(function() {
869
- return !Array(1).includes();
870
- });
871
- $$3({
872
- target: "Array",
873
- proto: true,
874
- forced: BROKEN_ON_SPARSE
875
- }, {
876
- includes: function includes(el) {
877
- return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
878
- }
879
- });
880
- var getBuiltInPrototypeMethod$1 = getBuiltInPrototypeMethod$4;
881
- var includes$7 = getBuiltInPrototypeMethod$1("Array", "includes");
882
- var isObject = isObject$6;
883
- var classof$1 = classofRaw$2;
884
- var wellKnownSymbol$1 = wellKnownSymbol$7;
885
- var MATCH$1 = wellKnownSymbol$1("match");
886
- var isRegexp = function(it) {
887
- var isRegExp2;
888
- return isObject(it) && ((isRegExp2 = it[MATCH$1]) !== void 0 ? !!isRegExp2 : classof$1(it) === "RegExp");
889
- };
890
- var isRegExp = isRegexp;
891
- var $TypeError$1 = TypeError;
892
- var notARegexp = function(it) {
893
- if (isRegExp(it)) {
894
- throw new $TypeError$1("The method doesn't accept regular expressions");
895
- }
896
- return it;
897
- };
898
- var classof = classof$3;
899
- var $String = String;
900
- var toString$1 = function(argument) {
901
- if (classof(argument) === "Symbol")
902
- throw new TypeError("Cannot convert a Symbol value to a string");
903
- return $String(argument);
904
- };
905
- var wellKnownSymbol = wellKnownSymbol$7;
906
- var MATCH = wellKnownSymbol("match");
907
- var correctIsRegexpLogic = function(METHOD_NAME) {
908
- var regexp = /./;
909
- try {
910
- "/./"[METHOD_NAME](regexp);
911
- } catch (error1) {
912
- try {
913
- regexp[MATCH] = false;
914
- return "/./"[METHOD_NAME](regexp);
915
- } catch (error2) {
916
- }
917
- }
918
- return false;
919
- };
920
- var $$2 = _export;
921
- var uncurryThis$1 = functionUncurryThis;
922
- var notARegExp = notARegexp;
923
- var requireObjectCoercible = requireObjectCoercible$3;
924
- var toString = toString$1;
925
- var correctIsRegExpLogic = correctIsRegexpLogic;
926
- var stringIndexOf = uncurryThis$1("".indexOf);
927
- $$2({
928
- target: "String",
929
- proto: true,
930
- forced: !correctIsRegExpLogic("includes")
931
- }, {
932
- includes: function includes2(searchString) {
933
- return !!~stringIndexOf(toString(requireObjectCoercible(this)), toString(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : void 0);
934
- }
935
- });
936
- var getBuiltInPrototypeMethod = getBuiltInPrototypeMethod$4;
937
- var includes$6 = getBuiltInPrototypeMethod("String", "includes");
938
- var isPrototypeOf = objectIsPrototypeOf;
939
- var arrayMethod = includes$7;
940
- var stringMethod = includes$6;
941
- var ArrayPrototype = Array.prototype;
942
- var StringPrototype = String.prototype;
943
- var includes$5 = function(it) {
944
- var own = it.includes;
945
- if (it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)
946
- return arrayMethod;
947
- if (typeof it == "string" || it === StringPrototype || isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes) {
948
- return stringMethod;
949
- }
950
- return own;
951
- };
952
- var parent$4 = includes$5;
953
- var includes$4 = parent$4;
954
- var parent$3 = includes$4;
955
- var includes$3 = parent$3;
956
- var parent$2 = includes$3;
957
- var includes$2 = parent$2;
958
- var includes$1 = includes$2;
959
- var includes3 = includes$1;
960
- const _includesInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(includes3);
961
- var engineIsBun = typeof Bun == "function" && Bun && typeof Bun.version == "string";
962
- var uncurryThis = functionUncurryThis;
963
- var arraySlice$1 = uncurryThis([].slice);
964
- var $TypeError = TypeError;
965
- var validateArgumentsLength$1 = function(passed, required) {
966
- if (passed < required)
967
- throw new $TypeError("Not enough arguments");
968
- return passed;
969
- };
970
- var global$3 = global$d;
971
- var apply = functionApply;
972
- var isCallable = isCallable$b;
973
- var ENGINE_IS_BUN = engineIsBun;
974
- var USER_AGENT = engineUserAgent;
975
- var arraySlice = arraySlice$1;
976
- var validateArgumentsLength = validateArgumentsLength$1;
977
- var Function$1 = global$3.Function;
978
- var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && function() {
979
- var version2 = global$3.Bun.version.split(".");
980
- return version2.length < 3 || version2[0] === "0" && (version2[1] < 3 || version2[1] === "3" && version2[2] === "0");
981
- }();
982
- var schedulersFix$2 = function(scheduler, hasTimeArg) {
983
- var firstParamIndex = hasTimeArg ? 2 : 1;
984
- return WRAP ? function(handler, timeout) {
985
- var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;
986
- var fn = isCallable(handler) ? handler : Function$1(handler);
987
- var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];
988
- var callback = boundArgs ? function() {
989
- apply(fn, this, params);
990
- } : fn;
991
- return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);
992
- } : scheduler;
993
- };
994
- var $$1 = _export;
995
- var global$2 = global$d;
996
- var schedulersFix$1 = schedulersFix$2;
997
- var setInterval = schedulersFix$1(global$2.setInterval, true);
998
- $$1({
999
- global: true,
1000
- bind: true,
1001
- forced: global$2.setInterval !== setInterval
1002
- }, {
1003
- setInterval
1004
- });
1005
- var $ = _export;
1006
- var global$1 = global$d;
1007
- var schedulersFix = schedulersFix$2;
1008
- var setTimeout$5 = schedulersFix(global$1.setTimeout, true);
1009
- $({
1010
- global: true,
1011
- bind: true,
1012
- forced: global$1.setTimeout !== setTimeout$5
1013
- }, {
1014
- setTimeout: setTimeout$5
1015
- });
1016
- var path = path$4;
1017
- var setTimeout$4 = path.setTimeout;
1018
- var parent$1 = setTimeout$4;
1019
- var setTimeout$3 = parent$1;
1020
- var parent = setTimeout$3;
1021
- var setTimeout$2 = parent;
1022
- var setTimeout$1 = setTimeout$2;
1023
- var setTimeout = setTimeout$1;
1024
- const _setTimeout = /* @__PURE__ */ getDefaultExportFromCjs(setTimeout);
1025
- var __sfc_main = vueDemi.defineComponent({
6
+ const __sfc_main = vueDemi.defineComponent({
1026
7
  name: "nf-variable-select"
1027
8
  });
1028
9
  __sfc_main.props = {
@@ -1030,128 +11,122 @@ __sfc_main.props = {
1030
11
  key: "noMatchDesc",
1031
12
  required: false,
1032
13
  type: String,
1033
- "default": "无匹配数据"
14
+ default: "无匹配数据"
1034
15
  },
1035
16
  placeholder: {
1036
17
  key: "placeholder",
1037
18
  required: false,
1038
19
  type: String,
1039
- "default": "输入变量名搜索"
20
+ default: "输入变量名搜索"
1040
21
  },
1041
22
  keyAlias: {
1042
23
  key: "keyAlias",
1043
24
  required: false,
1044
25
  type: String,
1045
- "default": "paramId"
26
+ default: "paramId"
1046
27
  },
1047
28
  valueAlias: {
1048
29
  key: "valueAlias",
1049
30
  required: false,
1050
31
  type: String,
1051
- "default": "name"
32
+ default: "name"
1052
33
  },
1053
34
  data: {
1054
35
  key: "data",
1055
36
  required: false,
1056
37
  type: Array,
1057
- "default": function _default() {
1058
- return [];
1059
- }
38
+ default: () => []
1060
39
  },
1061
40
  placement: {
1062
41
  key: "placement",
1063
42
  required: false,
1064
43
  type: String,
1065
- "default": "bottom"
44
+ default: "bottom"
1066
45
  },
1067
46
  width: {
1068
47
  key: "width",
1069
48
  required: false,
1070
49
  type: [String, Number],
1071
- "default": "160"
50
+ default: "160"
1072
51
  },
1073
52
  trigger: {
1074
53
  key: "trigger",
1075
54
  required: false,
1076
55
  type: String,
1077
- "default": "click"
56
+ default: "click"
1078
57
  },
1079
58
  popperClass: {
1080
59
  key: "popperClass",
1081
60
  required: false,
1082
61
  type: String,
1083
- "default": ""
62
+ default: ""
1084
63
  },
1085
64
  disabled: {
1086
65
  key: "disabled",
1087
66
  required: false,
1088
67
  type: Boolean,
1089
- "default": false
68
+ default: false
1090
69
  },
1091
70
  offset: {
1092
71
  key: "offset",
1093
72
  required: false,
1094
73
  type: Number,
1095
- "default": 0
74
+ default: 0
1096
75
  },
1097
76
  transition: {
1098
77
  key: "transition",
1099
78
  required: false,
1100
79
  type: String,
1101
- "default": "fade-in-linear"
80
+ default: "fade-in-linear"
1102
81
  },
1103
82
  visibleArrow: {
1104
83
  key: "visibleArrow",
1105
84
  required: false,
1106
85
  type: Boolean,
1107
- "default": true
86
+ default: true
1108
87
  },
1109
88
  popperOptions: {
1110
89
  key: "popperOptions",
1111
90
  required: false,
1112
91
  type: Object,
1113
- "default": function _default2() {
1114
- return {
1115
- boundariesElement: "body",
1116
- gpuAcceleration: false
1117
- };
1118
- }
92
+ default: () => ({
93
+ boundariesElement: "body",
94
+ gpuAcceleration: false
95
+ })
1119
96
  },
1120
97
  openDelay: {
1121
98
  key: "openDelay",
1122
99
  required: false,
1123
100
  type: Number,
1124
- "default": void 0
101
+ default: void 0
1125
102
  },
1126
103
  closeDelay: {
1127
104
  key: "closeDelay",
1128
105
  required: false,
1129
106
  type: Number,
1130
- "default": 200
107
+ default: 200
1131
108
  },
1132
109
  tabindex: {
1133
110
  key: "tabindex",
1134
111
  required: false,
1135
112
  type: Number,
1136
- "default": 0
113
+ default: 0
1137
114
  },
1138
115
  size: {
1139
116
  key: "size",
1140
117
  required: false,
1141
118
  type: String,
1142
- "default": "mini"
119
+ default: "mini"
1143
120
  }
1144
121
  };
1145
- __sfc_main.setup = function(__props, __ctx) {
1146
- var props = __props;
1147
- var emit = __ctx.emit;
1148
- var keyword = vueDemi.ref();
1149
- var allList = vueDemi.ref([]);
1150
- var list = vueDemi.computed(function() {
1151
- var _context2, _context3;
122
+ __sfc_main.setup = (__props, __ctx) => {
123
+ const props = __props;
124
+ const emit = __ctx.emit;
125
+ const keyword = vueDemi.ref();
126
+ const allList = vueDemi.ref([]);
127
+ const list = vueDemi.computed(() => {
1152
128
  if (!keyword.value) {
1153
- var _context;
1154
- return _mapInstanceProperty(_context = allList.value).call(_context, function(item) {
129
+ return allList.value.map((item) => {
1155
130
  if (item[props.keyAlias]) {
1156
131
  return item;
1157
132
  }
@@ -1159,10 +134,9 @@ __sfc_main.setup = function(__props, __ctx) {
1159
134
  return item;
1160
135
  });
1161
136
  }
1162
- return _mapInstanceProperty(_context2 = _filterInstanceProperty(_context3 = allList.value).call(_context3, function(item) {
1163
- var _context4;
1164
- return _includesInstanceProperty(_context4 = item[props.valueAlias]).call(_context4, keyword.value);
1165
- })).call(_context2, function(item) {
137
+ return allList.value.filter((item) => {
138
+ return item[props.valueAlias].includes(keyword.value);
139
+ }).map((item) => {
1166
140
  if (item[props.keyAlias]) {
1167
141
  return item;
1168
142
  }
@@ -1170,19 +144,19 @@ __sfc_main.setup = function(__props, __ctx) {
1170
144
  return item;
1171
145
  });
1172
146
  });
1173
- vueDemi.watch(function() {
147
+ vueDemi.watch(() => {
1174
148
  return props.data;
1175
- }, function() {
149
+ }, () => {
1176
150
  allList.value = props.data || [];
1177
151
  }, {
1178
152
  deep: true,
1179
153
  immediate: true
1180
154
  });
1181
- var handleItem = function handleItem2(item) {
155
+ const handleItem = (item) => {
1182
156
  emit("variate-click", item);
1183
157
  };
1184
- var popHideHandle = function popHideHandle2() {
1185
- var timer = _setTimeout(function() {
158
+ const popHideHandle = () => {
159
+ let timer = setTimeout(() => {
1186
160
  clearTimeout(timer);
1187
161
  timer = void 0;
1188
162
  keyword.value = "";
@@ -1217,13 +191,13 @@ var _sfc_render = function render() {
1217
191
  "tabindex": _vm.tabindex
1218
192
  },
1219
193
  on: {
1220
- "after-enter": function afterEnter($event) {
194
+ "after-enter": function($event) {
1221
195
  return _vm.$emit("after-enter");
1222
196
  },
1223
- "after-leave": function afterLeave($event) {
197
+ "after-leave": function($event) {
1224
198
  return _vm.$emit("after-leave");
1225
199
  },
1226
- "show": function show($event) {
200
+ "show": function($event) {
1227
201
  return _vm.$emit("show");
1228
202
  },
1229
203
  "hide": _vm.popHideHandle
@@ -1245,7 +219,7 @@ var _sfc_render = function render() {
1245
219
  },
1246
220
  model: {
1247
221
  value: _vm.keyword,
1248
- callback: function callback($$v) {
222
+ callback: function($$v) {
1249
223
  _vm.keyword = $$v;
1250
224
  },
1251
225
  expression: "keyword"
@@ -1257,7 +231,7 @@ var _sfc_render = function render() {
1257
231
  key: item[_vm.keyAlias],
1258
232
  staticClass: "nf-variable-select-variate-item",
1259
233
  on: {
1260
- "click": function click($event) {
234
+ "click": function($event) {
1261
235
  return _vm.handleItem(item);
1262
236
  }
1263
237
  }
@@ -1269,7 +243,7 @@ var _sfc_render = function render() {
1269
243
  var _sfc_staticRenderFns = [];
1270
244
  var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
1271
245
  const NfVariableSelect = __component__.exports;
1272
- NfVariableSelect.install = function(app) {
246
+ NfVariableSelect.install = (app) => {
1273
247
  app.component("nf-variable-select", NfVariableSelect);
1274
248
  };
1275
249
  exports.default = NfVariableSelect;