codesaaz-core 0.0.1 → 0.0.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.
@@ -8224,7 +8224,7 @@ const Sc = /* @__PURE__ */ Le(bc, [["render", _c]]), Ec = { class: "my-2" }, xc
8224
8224
  ], 64);
8225
8225
  };
8226
8226
  }
8227
- }, Hc = { class: "flex flex-col" }, jr = {
8227
+ }, jr = {
8228
8228
  __name: "EntityList",
8229
8229
  props: {
8230
8230
  entityName: String,
@@ -8234,7 +8234,7 @@ const Sc = /* @__PURE__ */ Le(bc, [["render", _c]]), Ec = { class: "my-2" }, xc
8234
8234
  listFooter: String,
8235
8235
  listFilter: String,
8236
8236
  listPagination: String,
8237
- listAddBtn: Boolean,
8237
+ showAddButton: Boolean,
8238
8238
  listFilerSlot: Boolean,
8239
8239
  className: {
8240
8240
  type: String,
@@ -8258,35 +8258,33 @@ const Sc = /* @__PURE__ */ Le(bc, [["render", _c]]), Ec = { class: "my-2" }, xc
8258
8258
  { immediate: !0 }
8259
8259
  ), (a, s) => {
8260
8260
  var i, o, l;
8261
- return p(), w("div", Hc, [
8262
- a.$slots["list-display"] ? (p(), w(pe, { key: 0 }, [
8263
- e.listAddBtn ? (p(), X(Vr, { key: 0 })) : Z("", !0),
8264
- e.listFilerSlot ? (p(), X(vt(e.listFilter || Pr), { key: 1 })) : Z("", !0),
8265
- (p(!0), w(pe, null, Te(((l = (o = (i = M(t)) == null ? void 0 : i.state) == null ? void 0 : o.data) == null ? void 0 : l.result) || [], (u) => ja(a.$slots, "list-display", {
8266
- key: u.id,
8267
- firstName: u.first_name,
8268
- lastName: u.last_name,
8269
- email: u.email,
8270
- customerId: u.id
8271
- })), 128))
8272
- ], 64)) : (p(), w(pe, { key: 1 }, [
8273
- (p(), X(vt(e.listHeader || wc))),
8274
- (p(), X(vt(e.listFilter || Pr))),
8275
- e.listAddBtn ? (p(), X(Vr, { key: 0 })) : Z("", !0),
8276
- (p(), X(vt(e.listDisplay || gc), La(Ua({ listItemDisplay: e.listItemDisplay })), null, 16)),
8277
- (p(), X(vt(e.listPagination || zc))),
8278
- (p(), X(vt(e.listFooter || Sc)))
8279
- ], 64))
8280
- ]);
8261
+ return a.$slots["list-item-display"] ? (p(), w(pe, { key: 0 }, [
8262
+ e.showAddButton ? (p(), X(Vr, { key: 0 })) : Z("", !0),
8263
+ e.listFilerSlot ? (p(), X(vt(e.listFilter || Pr), { key: 1 })) : Z("", !0),
8264
+ (p(!0), w(pe, null, Te(((l = (o = (i = M(t)) == null ? void 0 : i.state) == null ? void 0 : o.data) == null ? void 0 : l.result) || [], (u) => ja(a.$slots, "list-item-display", {
8265
+ key: u.id,
8266
+ firstName: u.first_name,
8267
+ lastName: u.last_name,
8268
+ email: u.email,
8269
+ customerId: u.id
8270
+ })), 128))
8271
+ ], 64)) : (p(), w(pe, { key: 1 }, [
8272
+ (p(), X(vt(e.listHeader || wc))),
8273
+ (p(), X(vt(e.listFilter || Pr))),
8274
+ e.showAddButton ? (p(), X(Vr, { key: 0 })) : Z("", !0),
8275
+ (p(), X(vt(e.listDisplay || gc), La(Ua({ listItemDisplay: e.listItemDisplay })), null, 16)),
8276
+ (p(), X(vt(e.listPagination || zc))),
8277
+ (p(), X(vt(e.listFooter || Sc)))
8278
+ ], 64));
8281
8279
  };
8282
8280
  }
8283
- }, Qc = {
8281
+ }, Jc = {
8284
8282
  install(e, t) {
8285
8283
  e.component("CSEntityGrid", vr), e.component("csentitygrid", vr), e.component("CSEntityList", jr), e.component("csentitylist", jr), e.component("CSEntityBarChart", Tr), e.component("csentitybarchart", Tr), e.component("CSEntityLineChart", Dr), e.component("csentitylinechart", Dr), e.component("CSEntityPieChart", Ar), e.component("csentitypiechart", Ar), e.component("CSEntityPolarChart", Ir), e.component("csentitypolarchart", Ir), e.component("CSEntityRadarChart", Fr), e.component("csentityradarchart", Fr), e.component("CSEntity360View", Rr), e.component("csentity360view", Rr);
8286
8284
  }
8287
8285
  };
8288
8286
  export {
8289
- Qc as default,
8287
+ Jc as default,
8290
8288
  Pi as useEntitiesStore,
8291
8289
  pt as useGlobalConfigsStore
8292
8290
  };