tsv2-library 1.0.61-alpha.57 → 1.0.61-alpha.58

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.
@@ -68206,7 +68206,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
68206
68206
  const _hoisted_1$h = { class: "flex flex-row gap-3 items-end" };
68207
68207
  const _hoisted_2$b = { class: "w-full" };
68208
68208
  const _hoisted_3$7 = {
68209
- key: 0,
68209
+ key: 1,
68210
68210
  class: "flex w-full justify-end"
68211
68211
  };
68212
68212
  const _hoisted_4$5 = { class: "'!mt-0 font-light text-xs text-general-500'" };
@@ -68379,19 +68379,27 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
68379
68379
  ]),
68380
68380
  _: 2
68381
68381
  }, 1032, ["disabled", "invalid", "onClick"]),
68382
- props.fileExtensions || props.fileRequirements ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
68383
- createElementVNode("small", _hoisted_4$5, [
68384
- _ctx.fileRequirements ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
68385
- createTextVNode(toDisplayString$1(_ctx.fileRequirements), 1)
68386
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
68387
- createTextVNode(toDisplayString$1(props.maxFileSize ? `${props.fileExtensions}. max file ${Math.round(props.maxFileSize / BYTES_TO_MEGABYTES)} MB` : `${props.fileExtensions} file`), 1)
68388
- ], 64))
68389
- ])
68390
- ])) : createCommentVNode("", true),
68391
- props.showValidatorMessage ? (openBlock(), createBlock(_sfc_main$19, {
68392
- key: 1,
68393
- message: field2.errorMessage
68394
- }, null, 8, ["message"])) : createCommentVNode("", true)
68382
+ props.fileExtensions || props.fileRequirements || field2.errorMessage || props.validatorMessage ? (openBlock(), createElementBlock("div", {
68383
+ key: 0,
68384
+ class: normalizeClass([{
68385
+ "justify-between": field2.errorMessage,
68386
+ "justify-end": !field2.errorMessage
68387
+ }, "flex w-full"])
68388
+ }, [
68389
+ props.showValidatorMessage ? (openBlock(), createBlock(_sfc_main$19, {
68390
+ key: 0,
68391
+ message: field2.errorMessage
68392
+ }, null, 8, ["message"])) : createCommentVNode("", true),
68393
+ props.fileExtensions || props.fileRequirements ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
68394
+ createElementVNode("small", _hoisted_4$5, [
68395
+ _ctx.fileRequirements ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
68396
+ createTextVNode(toDisplayString$1(_ctx.fileRequirements), 1)
68397
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
68398
+ createTextVNode(toDisplayString$1(props.maxFileSize ? `${props.fileExtensions}. max file ${Math.round(props.maxFileSize / BYTES_TO_MEGABYTES)} MB` : `${props.fileExtensions} file`), 1)
68399
+ ], 64))
68400
+ ])
68401
+ ])) : createCommentVNode("", true)
68402
+ ], 2)) : createCommentVNode("", true)
68395
68403
  ]),
68396
68404
  _: 2
68397
68405
  }, 1032, ["label", "mandatory"])