codesaaz-core 0.0.1 → 0.0.3

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,27 @@ 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", { item: u })), 256))
8265
+ ], 64)) : (p(), w(pe, { key: 1 }, [
8266
+ (p(), X(vt(e.listHeader || wc))),
8267
+ (p(), X(vt(e.listFilter || Pr))),
8268
+ e.showAddButton ? (p(), X(Vr, { key: 0 })) : Z("", !0),
8269
+ (p(), X(vt(e.listDisplay || gc), La(Ua({ listItemDisplay: e.listItemDisplay })), null, 16)),
8270
+ (p(), X(vt(e.listPagination || zc))),
8271
+ (p(), X(vt(e.listFooter || Sc)))
8272
+ ], 64));
8281
8273
  };
8282
8274
  }
8283
- }, Qc = {
8275
+ }, Jc = {
8284
8276
  install(e, t) {
8285
8277
  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
8278
  }
8287
8279
  };
8288
8280
  export {
8289
- Qc as default,
8281
+ Jc as default,
8290
8282
  Pi as useEntitiesStore,
8291
8283
  pt as useGlobalConfigsStore
8292
8284
  };