@platforma-sdk/ui-vue 1.17.0 → 1.17.2

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/lib.js +14 -14
  3. package/dist/lib.umd.cjs +4 -4
  4. package/dist/src/components/PlAgDataTable/sources/file-source.d.ts +1 -1
  5. package/dist/src/components/PlAgDataTable/sources/file-source.d.ts.map +1 -1
  6. package/dist/src/components/PlAgDataTable/sources/table-source-heterogeneous.d.ts.map +1 -1
  7. package/dist/src/components/PlAgDataTable/sources/table-source.d.ts.map +1 -1
  8. package/dist/src/components/PlAgDataTable/types.d.ts.map +1 -1
  9. package/dist/src/defineApp.d.ts.map +1 -1
  10. package/dist/src/types.d.ts.map +1 -1
  11. package/dist/style.css +1 -1
  12. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  13. package/eslint.config.mjs +4 -0
  14. package/package.json +6 -10
  15. package/src/assets/block.scss +1 -0
  16. package/src/components/BlockLayout.vue +1 -1
  17. package/src/components/PlAgDataTable/PlAgDataTable.vue +4 -4
  18. package/src/components/PlAgDataTable/PlAgOverlayLoading.vue +2 -2
  19. package/src/components/PlAgDataTable/PlAgOverlayNoRows.vue +1 -1
  20. package/src/components/PlAgDataTable/sources/file-source.ts +8 -8
  21. package/src/components/PlAgDataTable/sources/row-number.ts +5 -5
  22. package/src/components/PlAgDataTable/sources/table-source-heterogeneous.ts +5 -5
  23. package/src/components/PlAgDataTable/sources/table-source.ts +10 -10
  24. package/src/components/PlAgDataTable/types.ts +11 -11
  25. package/src/components/PlAgDataTableToolsPanel/PlAgDataTableToolsPanel.vue +1 -1
  26. package/src/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue +1 -1
  27. package/src/components/PlTableFilters/PlTableFilterEntry.vue +8 -8
  28. package/src/components/PlTableFilters/PlTableFilters.vue +1 -1
  29. package/src/components/PlTableFilters/filters_logic.ts +4 -4
  30. package/src/defineApp.ts +0 -1
  31. package/src/types.static-test.ts +2 -2
  32. package/src/types.ts +12 -12
  33. package/src/urls.ts +1 -1
  34. package/.eslintignore +0 -2
  35. package/.eslintrc.json +0 -56
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.17.2
4
+
5
+ ### Patch Changes
6
+
7
+ - ec3bffe: Create a shareable eslint config as an npm package (and use it)
8
+ - Updated dependencies [ec3bffe]
9
+ - @milaboratories/uikit@2.2.27
10
+
3
11
  ## 1.17.0
4
12
 
5
13
  ### Patch Changes
package/dist/lib.js CHANGED
@@ -79,7 +79,7 @@ function hc(t, e, n = !0) {
79
79
  return function(...a) {
80
80
  i = () => {
81
81
  t.apply(this, a), r = (/* @__PURE__ */ new Date()).getTime() + e, i = null, n && setTimeout(() => {
82
- i && i();
82
+ i == null || i();
83
83
  }, e);
84
84
  }, (/* @__PURE__ */ new Date()).getTime() > r && i();
85
85
  };
@@ -8060,8 +8060,7 @@ const Ag = Symbol(), Ll = () => sl(Ag), JA = ["value"], QA = { key: 1 }, eT = /*
8060
8060
  edit: !1
8061
8061
  }), a = T(() => r.valueType), l = (h) => {
8062
8062
  var f;
8063
- let g = (f = h.target) == null ? void 0 : f.value;
8064
- const b = x(a), w = kA(() => b === "integer" ? parseInt(g, 10) : b === "float" ? Number(g) : g);
8063
+ const g = (f = h.target) == null ? void 0 : f.value, b = x(a), w = kA(() => b === "integer" ? parseInt(g, 10) : b === "float" ? Number(g) : g);
8065
8064
  n("update:modelValue", w), i.edit = !1;
8066
8065
  }, u = ie(), d = (h) => {
8067
8066
  !h.metaKey && r.editable && (i.edit = !0, requestAnimationFrame(() => {
@@ -8928,7 +8927,7 @@ function nP(t, e, n = !0) {
8928
8927
  return function(...a) {
8929
8928
  i = () => {
8930
8929
  t.apply(this, a), r = (/* @__PURE__ */ new Date()).getTime() + e, i = null, n && setTimeout(() => {
8931
- i && i();
8930
+ i == null || i();
8932
8931
  }, e);
8933
8932
  }, (/* @__PURE__ */ new Date()).getTime() > r && i();
8934
8933
  };
@@ -8961,13 +8960,13 @@ window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").addEventL
8961
8960
  const oP = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", Wf = ie(oP), yc = sP("theme");
8962
8961
  function aP(t) {
8963
8962
  const e = T(() => yc.value ? yc.value : Wf.value), n = (i) => {
8964
- Wf.value = i, t && t(i);
8963
+ Wf.value = i, t == null || t(i);
8965
8964
  };
8966
8965
  function r() {
8967
8966
  yc.value = e.value === "light" ? "dark" : (e.value, "light");
8968
8967
  }
8969
8968
  return Oe(e, (i) => {
8970
- t && t(x(i));
8969
+ t == null || t(x(i));
8971
8970
  }), Pt(() => {
8972
8971
  Vc.add(n);
8973
8972
  }), Zr(() => {
@@ -9641,7 +9640,7 @@ const XP = /* @__PURE__ */ vn(qP, [["render", YP]]), _c = /* @__PURE__ */ new Ma
9641
9640
  };
9642
9641
  const u = nP(() => window.dispatchEvent(new CustomEvent("adjust")), 1e3), d = () => {
9643
9642
  a.open = !0;
9644
- for (let [z, C] of _c.entries())
9643
+ for (const [z, C] of _c.entries())
9645
9644
  z !== r && C();
9646
9645
  }, h = () => {
9647
9646
  a.open = !1, n("tooltip:close");
@@ -22307,7 +22306,7 @@ const kd = aS(), BG = ["onClick"], UG = /* @__PURE__ */ le({
22307
22306
  ]);
22308
22307
  };
22309
22308
  }
22310
- }), k3 = /* @__PURE__ */ Ed(HG, [["__scopeId", "data-v-c7bbbf69"]]), jG = {
22309
+ }), k3 = /* @__PURE__ */ Ed(HG, [["__scopeId", "data-v-b7dd8d29"]]), jG = {
22311
22310
  key: 1,
22312
22311
  class: "alert-error"
22313
22312
  }, qG = { key: 2 }, A3 = /* @__PURE__ */ le({
@@ -22356,20 +22355,21 @@ const kd = aS(), BG = ["onClick"], UG = /* @__PURE__ */ le({
22356
22355
  setup(t) {
22357
22356
  const e = t;
22358
22357
  function n() {
22358
+ var r, i;
22359
22359
  if (e.params.invokeRowsOnDoubleClick) {
22360
- const r = e.params.api, i = {
22360
+ const a = e.params.api, l = {
22361
22361
  rowPinned: e.params.node.rowPinned,
22362
- api: r,
22362
+ api: a,
22363
22363
  rowIndex: e.params.node.rowIndex,
22364
- context: r,
22364
+ context: a,
22365
22365
  type: "rowDoubleClicked",
22366
22366
  node: e.params.node,
22367
22367
  data: e.params.data,
22368
22368
  event: null
22369
22369
  };
22370
- r.dispatchEvent(i);
22370
+ a.dispatchEvent(l);
22371
22371
  } else
22372
- e.params.onClick && e.params.onClick(e.params);
22372
+ (i = (r = e.params).onClick) == null || i.call(r, e.params);
22373
22373
  }
22374
22374
  return (r, i) => (y(), E("div", YG, [
22375
22375
  P("div", XG, ce(r.params.value), 1),
@@ -23707,7 +23707,7 @@ const eB = { class: "d-flex flex-column gap-24" }, hv = /* @__PURE__ */ le({
23707
23707
  return V;
23708
23708
  });
23709
23709
  (() => {
23710
- let M = e.value.state;
23710
+ const M = e.value.state;
23711
23711
  typeof M == "object" && !Array.isArray(M) && (e.value.state = Object.entries(M).map(([V, Z]) => ({
23712
23712
  columnId: V,
23713
23713
  filter: Z,