@factoringplus/pl-components-pack-v3 0.4.66 → 0.4.67

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.
@@ -41596,6 +41596,10 @@ const _sfc_main$2 = {
41596
41596
  type: Object,
41597
41597
  required: true
41598
41598
  },
41599
+ getValid: {
41600
+ type: Boolean,
41601
+ default: false
41602
+ },
41599
41603
  checked: {
41600
41604
  type: Boolean,
41601
41605
  default: true
@@ -41608,7 +41612,7 @@ const _sfc_main$2 = {
41608
41612
  const formSelect = ref();
41609
41613
  let select2 = ref("");
41610
41614
  select2.value = props.modelValue;
41611
- let { modelValue: validateValue } = toRefs(props);
41615
+ let { modelValue: validateValue, getValid } = toRefs(props);
41612
41616
  const ruleForm = ref({
41613
41617
  [props.prop]: validateValue
41614
41618
  });
@@ -41618,10 +41622,12 @@ const _sfc_main$2 = {
41618
41622
  const blurSelect = async () => {
41619
41623
  selected.value = false;
41620
41624
  setTimeout(() => {
41621
- formSelect.value.validate(() => {
41622
- });
41625
+ formSelect.value.validate();
41623
41626
  }, 200);
41624
41627
  };
41628
+ watch(getValid, () => {
41629
+ blurSelect();
41630
+ });
41625
41631
  watch(select2, (value) => {
41626
41632
  selected.value = false;
41627
41633
  emit2("update:modelValue", value);