tsv2-library 1.1.0-dev-alpha.7 → 1.1.0-dev-alpha.8

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.
@@ -30463,6 +30463,7 @@ const getWarrantySeverity = (status) => {
30463
30463
  case "Active":
30464
30464
  return "success";
30465
30465
  case "Inactive":
30466
+ case "Deactive":
30466
30467
  return "danger";
30467
30468
  }
30468
30469
  return "dark";
@@ -54125,19 +54126,25 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
54125
54126
  if (!item3.pinned) {
54126
54127
  if (isMaxPinnedColumns.value || !isSelectAble(item3))
54127
54128
  return;
54128
- item3.pinned = true;
54129
- item3.visible = true;
54129
+ const splicedItem = {
54130
+ ...item3,
54131
+ pinned: true,
54132
+ visible: true
54133
+ };
54130
54134
  columnReorderData.value.splice(currentIndex, 1);
54131
54135
  const targetIndex = undraggableCount + pinnedCount;
54132
- columnReorderData.value.splice(targetIndex, 0, item3);
54136
+ columnReorderData.value.splice(targetIndex, 0, splicedItem);
54133
54137
  } else {
54134
- item3.pinned = false;
54138
+ const splicedItem = {
54139
+ ...item3,
54140
+ pinned: false
54141
+ };
54135
54142
  columnReorderData.value.splice(currentIndex, 1);
54136
54143
  const remainingPinnedCount = columnReorderData.value.filter(
54137
54144
  (c) => c.pinned && c.dragable !== false
54138
54145
  ).length;
54139
54146
  const targetIndex = undraggableCount + remainingPinnedCount;
54140
- columnReorderData.value.splice(targetIndex, 0, item3);
54147
+ columnReorderData.value.splice(targetIndex, 0, splicedItem);
54141
54148
  }
54142
54149
  reorderVisibleColumn();
54143
54150
  emit("setColumnVisibilityConfig");