bt-core-app 1.4.413 → 1.4.414

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.
@@ -23851,7 +23851,7 @@ function QM(e) {
23851
23851
  }
23852
23852
  function Qi(e, t, n) {
23853
23853
  var ll, rl;
23854
- const a = Gx(), l = wr(), r = (n == null ? void 0 : n.idSelector) ?? ((ve) => ve.id), i = (n == null ? void 0 : n.isNotSetup) == !0 ? void 0 : cd({
23854
+ const a = Gx(), l = wr(), r = (n == null ? void 0 : n.idSelector) ?? e.idSelector ?? ((ve) => ve.id), i = (n == null ? void 0 : n.isNotSetup) == !0 ? void 0 : cd({
23855
23855
  bladeGroup: e.bladeGroup,
23856
23856
  bladeName: e.bladeName,
23857
23857
  onUpdate: () => {
@@ -24411,6 +24411,7 @@ const nT = {
24411
24411
  filterToggle: { type: Boolean },
24412
24412
  headers: {},
24413
24413
  hideActions: { type: Boolean },
24414
+ idSelector: {},
24414
24415
  isSingle: { type: Boolean },
24415
24416
  itemBladeName: {},
24416
24417
  itemID: {},
@@ -39057,6 +39058,7 @@ const _E = /* @__PURE__ */ js(SE, [["render", CE]]), ME = /* @__PURE__ */ Je({
39057
39058
  filterToggle: { type: Boolean },
39058
39059
  headers: {},
39059
39060
  hideActions: { type: Boolean },
39061
+ idSelector: {},
39060
39062
  isSingle: { type: Boolean },
39061
39063
  itemBladeName: {},
39062
39064
  itemID: {},
@@ -39398,6 +39400,7 @@ const _E = /* @__PURE__ */ js(SE, [["render", CE]]), ME = /* @__PURE__ */ Je({
39398
39400
  filterToggle: { type: Boolean },
39399
39401
  headers: {},
39400
39402
  hideActions: { type: Boolean },
39403
+ idSelector: {},
39401
39404
  isSingle: { type: Boolean },
39402
39405
  itemBladeName: {},
39403
39406
  itemID: {},
package/dist/index.d.ts CHANGED
@@ -815,6 +815,7 @@ export declare interface ListProps<T, TSave, TReturn> {
815
815
  filterToggle?: boolean;
816
816
  headers?: TableColumn[];
817
817
  hideActions?: boolean;
818
+ idSelector?: <T>(item: T) => string;
818
819
  isSingle?: boolean;
819
820
  itemBladeName?: string;
820
821
  itemID?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.413",
3
+ "version": "1.4.414",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {