@factoringplus/pl-components-pack-v3 0.5.16-pre-05 → 0.5.16-pre-06

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.
@@ -27367,10 +27367,10 @@ var lodash = { exports: {} };
27367
27367
  }
27368
27368
  return index;
27369
27369
  }
27370
- function countHolders(array4, placeholder2) {
27370
+ function countHolders(array4, placeholder) {
27371
27371
  var length = array4.length, result = 0;
27372
27372
  while (length--) {
27373
- if (array4[length] === placeholder2) {
27373
+ if (array4[length] === placeholder) {
27374
27374
  ++result;
27375
27375
  }
27376
27376
  }
@@ -27409,11 +27409,11 @@ var lodash = { exports: {} };
27409
27409
  return func(transform(arg));
27410
27410
  };
27411
27411
  }
27412
- function replaceHolders(array4, placeholder2) {
27412
+ function replaceHolders(array4, placeholder) {
27413
27413
  var index = -1, length = array4.length, resIndex = 0, result = [];
27414
27414
  while (++index < length) {
27415
27415
  var value = array4[index];
27416
- if (value === placeholder2 || value === PLACEHOLDER) {
27416
+ if (value === placeholder || value === PLACEHOLDER) {
27417
27417
  array4[index] = PLACEHOLDER;
27418
27418
  result[resIndex++] = index;
27419
27419
  }
@@ -28968,11 +28968,11 @@ var lodash = { exports: {} };
28968
28968
  function createCurry(func, bitmask, arity) {
28969
28969
  var Ctor = createCtor(func);
28970
28970
  function wrapper() {
28971
- var length = arguments.length, args = Array2(length), index = length, placeholder2 = getHolder(wrapper);
28971
+ var length = arguments.length, args = Array2(length), index = length, placeholder = getHolder(wrapper);
28972
28972
  while (index--) {
28973
28973
  args[index] = arguments[index];
28974
28974
  }
28975
- var holders = length < 3 && args[0] !== placeholder2 && args[length - 1] !== placeholder2 ? [] : replaceHolders(args, placeholder2);
28975
+ var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);
28976
28976
  length -= holders.length;
28977
28977
  if (length < arity) {
28978
28978
  return createRecurry(func, bitmask, createHybrid, wrapper.placeholder, undefined$1, args, holders, undefined$1, undefined$1, arity - length);
@@ -29042,7 +29042,7 @@ var lodash = { exports: {} };
29042
29042
  args[index] = arguments[index];
29043
29043
  }
29044
29044
  if (isCurried) {
29045
- var placeholder2 = getHolder(wrapper), holdersCount = countHolders(args, placeholder2);
29045
+ var placeholder = getHolder(wrapper), holdersCount = countHolders(args, placeholder);
29046
29046
  }
29047
29047
  if (partials) {
29048
29048
  args = composeArgs(args, partials, holders, isCurried);
@@ -29052,7 +29052,7 @@ var lodash = { exports: {} };
29052
29052
  }
29053
29053
  length -= holdersCount;
29054
29054
  if (isCurried && length < arity) {
29055
- var newHolders = replaceHolders(args, placeholder2);
29055
+ var newHolders = replaceHolders(args, placeholder);
29056
29056
  return createRecurry(func, bitmask, createHybrid, wrapper.placeholder, thisArg, args, newHolders, argPos, ary2, arity - length);
29057
29057
  }
29058
29058
  var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
@@ -29161,7 +29161,7 @@ var lodash = { exports: {} };
29161
29161
  return operator(value, other);
29162
29162
  };
29163
29163
  }
29164
- function createRecurry(func, bitmask, wrapFunc, placeholder2, thisArg, partials, holders, argPos, ary2, arity) {
29164
+ function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary2, arity) {
29165
29165
  var isCurry = bitmask & WRAP_CURRY_FLAG, newHolders = isCurry ? holders : undefined$1, newHoldersRight = isCurry ? undefined$1 : holders, newPartials = isCurry ? partials : undefined$1, newPartialsRight = isCurry ? undefined$1 : partials;
29166
29166
  bitmask |= isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG;
29167
29167
  bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);
@@ -29184,7 +29184,7 @@ var lodash = { exports: {} };
29184
29184
  if (isLaziable(func)) {
29185
29185
  setData(result2, newData);
29186
29186
  }
29187
- result2.placeholder = placeholder2;
29187
+ result2.placeholder = placeholder;
29188
29188
  return setWrapToString(result2, func, bitmask);
29189
29189
  }
29190
29190
  function createRound(methodName) {
@@ -37975,7 +37975,7 @@ const _sfc_main$o = {
37975
37975
  const selectedValue = ref("");
37976
37976
  const ruleForm = ref({});
37977
37977
  const modelValue = ref("");
37978
- const memoryInput = ref("");
37978
+ const memoryInput = ref(null);
37979
37979
  const memoryInputOnBlur = (event) => {
37980
37980
  memoryInput.value = event.target.value;
37981
37981
  };
@@ -38002,10 +38002,10 @@ const _sfc_main$o = {
38002
38002
  const change = (item) => {
38003
38003
  if (memoryBlur.value)
38004
38004
  blockMemoryBlur.value = true;
38005
- console.log("IN-change", blockMemoryBlur.value, placeholder);
38006
38005
  if (item.target)
38007
38006
  return;
38008
38007
  emit2("change", item);
38008
+ memoryInput.value = null;
38009
38009
  setTimeout(() => {
38010
38010
  suggestionBox.value.blur();
38011
38011
  }, 0);
@@ -38015,22 +38015,22 @@ const _sfc_main$o = {
38015
38015
  };
38016
38016
  const suggestion = ref(null);
38017
38017
  const validateInpBlur = (event) => {
38018
- console.log("blockMemoryBlur.value", blockMemoryBlur.value, placeholder);
38019
- setTimeout(() => {
38020
- console.log("blockMemoryBlur.value 2", blockMemoryBlur.value, placeholder);
38021
- if (blockMemoryBlur.value) {
38022
- blockMemoryBlur.value = false;
38023
- } else if (memoryBlur.value) {
38024
- emit2("change", {
38025
- id: uniqid(),
38026
- value: memoryInput.value,
38027
- dadata: false
38028
- });
38029
- }
38030
- }, 300);
38031
- setTimeout(() => {
38032
- suggestion.value.validate();
38033
- }, 300);
38018
+ if (event == null ? void 0 : event.sourceCapabilities) {
38019
+ setTimeout(() => {
38020
+ if (blockMemoryBlur.value) {
38021
+ blockMemoryBlur.value = false;
38022
+ } else if (memoryBlur.value && memoryInput.value) {
38023
+ emit2("change", {
38024
+ id: uniqid(),
38025
+ value: memoryInput.value,
38026
+ dadata: false
38027
+ });
38028
+ }
38029
+ }, 10);
38030
+ setTimeout(() => {
38031
+ suggestion.value.validate();
38032
+ }, 10);
38033
+ }
38034
38034
  };
38035
38035
  watch(getValidate, (newVal) => {
38036
38036
  if (newVal) {