@enos5/enos-vue-default 1.8.3 → 1.8.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.
@@ -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-CG0XGuww.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-CG0XGuww.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)),
@@ -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-CG0XGuww.js.map