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