@enos5/enos-vue-default 1.5.0 → 1.5.2

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.
@@ -183,6 +183,10 @@ type __VLS_Slots = {
183
183
  column: unknown;
184
184
  index: number;
185
185
  }) => any) | undefined;
186
+ } & {
187
+ 'search-fields'?: ((props: {}) => any) | undefined;
188
+ } & {
189
+ controls?: ((props: {}) => any) | undefined;
186
190
  } & {
187
191
  actions?: ((props: {
188
192
  item: unknown;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, toDisplayString, createBlock, createCommentVNode, renderSlot, createVNode, Transition, withCtx, mergeProps, useSlots, unref, withDirectives, vShow, useAttrs, vModelCheckbox, onMounted, nextTick, onBeforeUnmount, Teleport, withModifiers, onUnmounted, inject, provide, defineComponent, isVNode, cloneVNode, resolveDynamicComponent, createTextVNode, h, vModelText } from "vue";
1
+ import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, toDisplayString, createBlock, createCommentVNode, renderSlot, createVNode, Transition, withCtx, mergeProps, useSlots, unref, withDirectives, vShow, useAttrs, vModelCheckbox, onMounted, nextTick, onBeforeUnmount, Teleport, withModifiers, onUnmounted, inject, provide, defineComponent, isVNode, cloneVNode, resolveDynamicComponent, createTextVNode, h, vModelText, createSlots } from "vue";
2
2
  import { LockClosedIcon, ChevronDownIcon, PhotoIcon, ExclamationCircleIcon, ExclamationTriangleIcon, ChevronUpIcon, MagnifyingGlassIcon, CheckIcon, PencilSquareIcon } from "@heroicons/vue/24/outline";
3
3
  import Editor from "@tinymce/tinymce-vue";
4
4
  import { Link } from "@inertiajs/vue3";
@@ -3998,7 +3998,22 @@ const _sfc_main$3 = {
3998
3998
  "show-deleted-label": __props.searchShowDeletedLabel,
3999
3999
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchQuery.value = $event),
4000
4000
  "onUpdate:showDeleted": updateSearchShowDeleted
4001
- }, null, 8, ["model-value", "placeholder", "count", "count-label", "query-label", "show-deleted", "show-deleted-toggle", "show-deleted-label"])) : createCommentVNode("", true),
4001
+ }, createSlots({ _: 2 }, [
4002
+ _ctx.$slots["search-fields"] ? {
4003
+ name: "search-fields",
4004
+ fn: withCtx(() => [
4005
+ renderSlot(_ctx.$slots, "search-fields")
4006
+ ]),
4007
+ key: "0"
4008
+ } : void 0,
4009
+ _ctx.$slots.controls ? {
4010
+ name: "controls",
4011
+ fn: withCtx(() => [
4012
+ renderSlot(_ctx.$slots, "controls")
4013
+ ]),
4014
+ key: "1"
4015
+ } : void 0
4016
+ ]), 1032, ["model-value", "placeholder", "count", "count-label", "query-label", "show-deleted", "show-deleted-toggle", "show-deleted-label"])) : createCommentVNode("", true),
4002
4017
  createElementVNode("div", {
4003
4018
  class: normalizeClass([
4004
4019
  "bg-white/90 backdrop-blur-sm dark:bg-neutral-950/90",