cleek 2.1.0 → 2.1.1

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.
package/dist/cleek.es.js CHANGED
@@ -77,6 +77,11 @@ var functions$1 = {
77
77
  isColumnDisplayed(column) {
78
78
  if (column.isDisplayed === false)
79
79
  return false;
80
+ if (column.unchangeable) {
81
+ if (column.isDisplayed === true)
82
+ return true;
83
+ return false;
84
+ }
80
85
  return true;
81
86
  },
82
87
  getCleekOptions(getCurrentInstance2) {
@@ -13577,12 +13582,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
13577
13582
  console.log("hoola");
13578
13583
  const list = [];
13579
13584
  props.columnsArray.forEach((col) => {
13580
- if (functions$1)
13585
+ if (!col.unchangeable) {
13581
13586
  list.push({
13582
13587
  name: col.name,
13583
13588
  title: col.title,
13584
13589
  value: functions$1.isColumnDisplayed(col)
13585
13590
  });
13591
+ }
13586
13592
  });
13587
13593
  columnsCheckable.value = list;
13588
13594
  }
@@ -13618,7 +13624,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
13618
13624
  };
13619
13625
  }
13620
13626
  });
13621
- var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6ae82d89"]]);
13627
+ var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-e6aed8c8"]]);
13622
13628
  var ckTable_vue_vue_type_style_index_0_scoped_true_lang = "";
13623
13629
  const _hoisted_1$2 = { class: "ck-table" };
13624
13630
  const _hoisted_2 = {