cisse-vue-ui 0.2.2 → 0.2.4

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.
@@ -48,7 +48,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
48
48
  };
49
49
  }
50
50
  });
51
- const _hoisted_1$7 = { class: "bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 overflow-hidden" };
51
+ const _hoisted_1$7 = { class: "overflow-hidden" };
52
52
  const _hoisted_2$5 = { class: "overflow-x-auto" };
53
53
  const _hoisted_3$3 = { class: "w-full divide-y divide-black/10 text-left dark:divide-white/10" };
54
54
  const _hoisted_4$2 = { class: "bg-black/5 text-sm font-semibold text-gray-600 uppercase dark:bg-white/5 dark:text-gray-400" };
@@ -237,7 +237,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
237
237
  const _hoisted_1$6 = { class: "space-y-3" };
238
238
  const _hoisted_2$4 = {
239
239
  key: 0,
240
- class: "flex items-center gap-3 p-3 bg-gray-50 dark:bg-gray-800/50 rounded-xl"
240
+ class: "flex items-center gap-3 p-3 bg-white dark:bg-slate-950 rounded-lg shadow-md"
241
241
  };
242
242
  const _hoisted_3$2 = { class: "text-sm text-gray-600 dark:text-gray-400" };
243
243
  const _hoisted_4$1 = {
@@ -316,8 +316,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
316
316
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
317
317
  return openBlock(), createElementBlock("div", {
318
318
  key: getKey(item),
319
- class: normalizeClass(["bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 hover:border-primary/30 dark:hover:border-primary/50 hover:shadow-md transition-all duration-200", {
320
- "ring-2 ring-primary border-primary": isSelected(item)
319
+ class: normalizeClass(["bg-white dark:bg-slate-950 rounded-lg shadow-md hover:shadow-lg transition-all duration-200", {
320
+ "ring-2 ring-primary": isSelected(item)
321
321
  }])
322
322
  }, [
323
323
  createElementVNode("div", _hoisted_5$1, [
@@ -626,44 +626,48 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
626
626
  renderSlot(_ctx.$slots, "empty")
627
627
  ]),
628
628
  _: 3
629
- }, 8, ["items", "key-field", "selectable", "selected-items", "selectable-filter"])) : (openBlock(), createBlock(_sfc_main$a, {
630
- key: 1,
631
- items: __props.items,
632
- properties: tableProperties.value,
633
- "key-field": __props.keyField,
634
- selectable: __props.selectable,
635
- "selected-items": __props.selectedItems,
636
- "selectable-filter": __props.selectableFilter,
637
- onSelect: _cache[2] || (_cache[2] = ($event) => emit("select", $event)),
638
- onSelectAll: _cache[3] || (_cache[3] = ($event) => emit("selectAll"))
639
- }, createSlots({
640
- empty: withCtx(() => [
641
- renderSlot(_ctx.$slots, "empty")
629
+ }, 8, ["items", "key-field", "selectable", "selected-items", "selectable-filter"])) : (openBlock(), createBlock(_sfc_main$b, { key: 1 }, {
630
+ default: withCtx(() => [
631
+ createVNode(_sfc_main$a, {
632
+ items: __props.items,
633
+ properties: tableProperties.value,
634
+ "key-field": __props.keyField,
635
+ selectable: __props.selectable,
636
+ "selected-items": __props.selectedItems,
637
+ "selectable-filter": __props.selectableFilter,
638
+ onSelect: _cache[2] || (_cache[2] = ($event) => emit("select", $event)),
639
+ onSelectAll: _cache[3] || (_cache[3] = ($event) => emit("selectAll"))
640
+ }, createSlots({
641
+ empty: withCtx(() => [
642
+ renderSlot(_ctx.$slots, "empty")
643
+ ]),
644
+ _: 2
645
+ }, [
646
+ renderList(__props.columns, (col) => {
647
+ return {
648
+ name: `item-${getColumnKey(col)}`,
649
+ fn: withCtx(({ item, value }) => [
650
+ hasCellSlot(getColumnKey(col)) ? renderSlot(_ctx.$slots, `cell-${getColumnKey(col)}`, {
651
+ key: 0,
652
+ item,
653
+ value: getCellValue(item, getColumnKey(col))
654
+ }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
655
+ createTextVNode(toDisplayString(value), 1)
656
+ ], 64))
657
+ ])
658
+ };
659
+ }),
660
+ hasActionsSlot.value ? {
661
+ name: "action",
662
+ fn: withCtx(({ item }) => [
663
+ renderSlot(_ctx.$slots, "actions", { item })
664
+ ]),
665
+ key: "0"
666
+ } : void 0
667
+ ]), 1032, ["items", "properties", "key-field", "selectable", "selected-items", "selectable-filter"])
642
668
  ]),
643
- _: 2
644
- }, [
645
- renderList(__props.columns, (col) => {
646
- return {
647
- name: `item-${getColumnKey(col)}`,
648
- fn: withCtx(({ item, value }) => [
649
- hasCellSlot(getColumnKey(col)) ? renderSlot(_ctx.$slots, `cell-${getColumnKey(col)}`, {
650
- key: 0,
651
- item,
652
- value: getCellValue(item, getColumnKey(col))
653
- }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
654
- createTextVNode(toDisplayString(value), 1)
655
- ], 64))
656
- ])
657
- };
658
- }),
659
- hasActionsSlot.value ? {
660
- name: "action",
661
- fn: withCtx(({ item }) => [
662
- renderSlot(_ctx.$slots, "actions", { item })
663
- ]),
664
- key: "0"
665
- } : void 0
666
- ]), 1032, ["items", "properties", "key-field", "selectable", "selected-items", "selectable-filter"]))
669
+ _: 3
670
+ }))
667
671
  ]);
668
672
  };
669
673
  }
@@ -1472,4 +1476,4 @@ export {
1472
1476
  _sfc_main$1 as j,
1473
1477
  _sfc_main as k
1474
1478
  };
1475
- //# sourceMappingURL=CollapsibleCard.vue_vue_type_script_setup_true_lang-DqPXkdNI.js.map
1479
+ //# sourceMappingURL=CollapsibleCard.vue_vue_type_script_setup_true_lang-Cymj-zkh.js.map