@enos5/enos-vue-default 1.8.3 → 1.8.5

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.
@@ -419,6 +419,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
419
419
  allowAlpha: boolean;
420
420
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
421
421
  type __VLS_Slots = {
422
+ label?: ((props: {
423
+ label: string;
424
+ for: string | undefined;
425
+ }) => any) | undefined;
426
+ } & {
422
427
  'unsupported-type'?: ((props: {
423
428
  type: string;
424
429
  modelValue: string | number | boolean | unknown[] | null;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import './styles.css';
2
- import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-Ccj_nvDC.js";
2
+ import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-B6stjIPQ.js";
3
3
  export {
4
4
  _ as ActionCard,
5
5
  a as ActionMessage,
@@ -1,4 +1,4 @@
1
- import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-Ccj_nvDC.js";
1
+ import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-B6stjIPQ.js";
2
2
  export {
3
3
  _ as ActionCard,
4
4
  a as ActionMessage,
@@ -3408,11 +3408,17 @@ const _sfc_main$v = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
3408
3408
  }));
3409
3409
  return (_ctx, _cache) => {
3410
3410
  return openBlock(), createElementBlock("div", null, [
3411
- __props.label && !showsInlineChoiceControl.value ? (openBlock(), createElementBlock("label", {
3411
+ !showsInlineChoiceControl.value && (_ctx.$slots.label || __props.label) ? renderSlot(_ctx.$slots, "label", {
3412
3412
  key: 0,
3413
- for: fieldId.value,
3414
- class: "text-base font-semibold text-gray-900 dark:text-gray-50 mb-1 block"
3415
- }, toDisplayString(__props.label), 9, _hoisted_1$j)) : createCommentVNode("", true),
3413
+ label: __props.label,
3414
+ for: fieldId.value
3415
+ }, () => [
3416
+ __props.label ? (openBlock(), createElementBlock("label", {
3417
+ key: 0,
3418
+ for: fieldId.value,
3419
+ class: "text-base font-semibold text-gray-900 dark:text-gray-50 mb-1 block"
3420
+ }, toDisplayString(__props.label), 9, _hoisted_1$j)) : createCommentVNode("", true)
3421
+ ]) : createCommentVNode("", true),
3416
3422
  __props.helperText && !showsInlineChoiceControl.value ? (openBlock(), createElementBlock("span", _hoisted_2$d, toDisplayString(__props.helperText), 1)) : createCommentVNode("", true),
3417
3423
  isTextareaType.value ? (openBlock(), createBlock(_sfc_main$H, mergeProps({ key: 2 }, textAreaBindings.value, {
3418
3424
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event)),
@@ -5201,7 +5207,7 @@ const _sfc_main$3 = {
5201
5207
  ])
5202
5208
  }, [
5203
5209
  createElementVNode("div", {
5204
- class: normalizeClass(["overflow-x-auto", __props.isCard ? "rounded-xl" : ""])
5210
+ class: normalizeClass(["overflow-x-auto", __props.isCard ? "rounded-t-xl" : ""])
5205
5211
  }, [
5206
5212
  createElementVNode("table", _hoisted_2$2, [
5207
5213
  createElementVNode("thead", _hoisted_3$2, [
@@ -5701,7 +5707,7 @@ const _sfc_main$2 = {
5701
5707
  };
5702
5708
  return (_ctx, _cache) => {
5703
5709
  return openBlock(), createElementBlock("div", {
5704
- class: normalizeClass(["bg-white dark:bg-neutral-950", __props.isCard ? "mx-4 animate-fadeIn rounded-xl border border-neutral-200 shadow-sm dark:border-neutral-800 md:mx-0" : ""])
5710
+ class: normalizeClass(["bg-white dark:bg-neutral-950", __props.isCard ? "mx-4 rounded-xl animate-fadeIn border border-neutral-200 shadow-sm dark:border-neutral-800 md:mx-0" : ""])
5705
5711
  }, [
5706
5712
  __props.search ? (openBlock(), createElementBlock("div", {
5707
5713
  key: 0,
@@ -5726,7 +5732,7 @@ const _sfc_main$2 = {
5726
5732
  ], 2)) : createCommentVNode("", true),
5727
5733
  hasData.value ? (openBlock(), createElementBlock("div", {
5728
5734
  key: 1,
5729
- class: normalizeClass(["overflow-x-auto", __props.isCard ? "rounded-xl" : ""])
5735
+ class: normalizeClass(["overflow-x-auto", __props.isCard ? __props.search ? "" : "rounded-t-xl" : ""])
5730
5736
  }, [
5731
5737
  createElementVNode("table", _hoisted_4, [
5732
5738
  createElementVNode("thead", _hoisted_5, [
@@ -6113,4 +6119,4 @@ export {
6113
6119
  _sfc_main$B as y,
6114
6120
  _sfc_main$A as z
6115
6121
  };
6116
- //# sourceMappingURL=plugin-Ccj_nvDC.js.map
6122
+ //# sourceMappingURL=plugin-B6stjIPQ.js.map