@enos5/enos-vue-default 1.5.1 → 1.5.3
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.
- package/dist/components/TableList.vue.d.ts +4 -0
- package/dist/index.css +7 -0
- package/dist/index.js +22 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.css
CHANGED
|
@@ -3776,6 +3776,13 @@
|
|
|
3776
3776
|
syntax: "*";
|
|
3777
3777
|
inherits: false
|
|
3778
3778
|
}
|
|
3779
|
+
|
|
3780
|
+
.date-input[data-v-72ab5905]::-webkit-calendar-picker-indicator {
|
|
3781
|
+
cursor: pointer;
|
|
3782
|
+
}
|
|
3783
|
+
.date-input[data-v-72ab5905]:disabled::-webkit-calendar-picker-indicator {
|
|
3784
|
+
cursor: default;
|
|
3785
|
+
}
|
|
3779
3786
|
.tox {
|
|
3780
3787
|
box-shadow: none;
|
|
3781
3788
|
box-sizing: content-box;
|
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";
|
|
@@ -41,7 +41,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
41
41
|
return _sfc_main$E;
|
|
42
42
|
},
|
|
43
43
|
get DateInput() {
|
|
44
|
-
return
|
|
44
|
+
return DateInput;
|
|
45
45
|
},
|
|
46
46
|
get DialogModal() {
|
|
47
47
|
return _sfc_main$r;
|
|
@@ -1440,7 +1440,7 @@ const _sfc_main$C = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1440
1440
|
return rest;
|
|
1441
1441
|
});
|
|
1442
1442
|
const inputClasses = computed(() => [
|
|
1443
|
-
"w-full rounded-lg border border-neutral-200 bg-white px-4 py-3 text-sm text-neutral-950 shadow-sm outline-none transition-colors focus:border-neutral-900 focus:ring-2 focus:ring-neutral-950/10 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50 dark:focus:border-neutral-100 dark:focus:ring-neutral-100/10",
|
|
1443
|
+
"date-input w-full rounded-lg border border-neutral-200 bg-white px-4 py-3 text-sm text-neutral-950 shadow-sm outline-none transition-colors focus:border-neutral-900 focus:ring-2 focus:ring-neutral-950/10 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50 dark:focus:border-neutral-100 dark:focus:ring-neutral-100/10",
|
|
1444
1444
|
attrs.class
|
|
1445
1445
|
]);
|
|
1446
1446
|
const normalizeDateValue = (rawValue) => {
|
|
@@ -1483,6 +1483,7 @@ const _sfc_main$C = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
1483
1483
|
};
|
|
1484
1484
|
}
|
|
1485
1485
|
});
|
|
1486
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-72ab5905"]]);
|
|
1486
1487
|
const _hoisted_1$p = { class: "relative" };
|
|
1487
1488
|
const _hoisted_2$g = { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" };
|
|
1488
1489
|
const _hoisted_3$a = ["accept"];
|
|
@@ -2256,7 +2257,7 @@ const _sfc_main$v = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
|
2256
2257
|
}), null, 16)) : isSelectType.value ? (openBlock(), createBlock(_sfc_main$D, mergeProps({ key: 4 }, selectBindings.value, {
|
|
2257
2258
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => emit("update:modelValue", $event)),
|
|
2258
2259
|
onBlur: _cache[5] || (_cache[5] = ($event) => emit("blur", $event))
|
|
2259
|
-
}), null, 16)) : isDateType.value ? (openBlock(), createBlock(
|
|
2260
|
+
}), null, 16)) : isDateType.value ? (openBlock(), createBlock(DateInput, mergeProps({ key: 5 }, dateBindings.value, {
|
|
2260
2261
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => emit("update:modelValue", $event)),
|
|
2261
2262
|
onBlur: _cache[7] || (_cache[7] = ($event) => emit("blur", $event))
|
|
2262
2263
|
}), null, 16)) : isTextLikeType.value ? (openBlock(), createBlock(_sfc_main$G, mergeProps({ key: 6 }, textInputBindings.value, {
|
|
@@ -3998,7 +3999,22 @@ const _sfc_main$3 = {
|
|
|
3998
3999
|
"show-deleted-label": __props.searchShowDeletedLabel,
|
|
3999
4000
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchQuery.value = $event),
|
|
4000
4001
|
"onUpdate:showDeleted": updateSearchShowDeleted
|
|
4001
|
-
},
|
|
4002
|
+
}, createSlots({ _: 2 }, [
|
|
4003
|
+
_ctx.$slots["search-fields"] ? {
|
|
4004
|
+
name: "search-fields",
|
|
4005
|
+
fn: withCtx(() => [
|
|
4006
|
+
renderSlot(_ctx.$slots, "search-fields")
|
|
4007
|
+
]),
|
|
4008
|
+
key: "0"
|
|
4009
|
+
} : void 0,
|
|
4010
|
+
_ctx.$slots.controls ? {
|
|
4011
|
+
name: "controls",
|
|
4012
|
+
fn: withCtx(() => [
|
|
4013
|
+
renderSlot(_ctx.$slots, "controls")
|
|
4014
|
+
]),
|
|
4015
|
+
key: "1"
|
|
4016
|
+
} : void 0
|
|
4017
|
+
]), 1032, ["model-value", "placeholder", "count", "count-label", "query-label", "show-deleted", "show-deleted-toggle", "show-deleted-label"])) : createCommentVNode("", true),
|
|
4002
4018
|
createElementVNode("div", {
|
|
4003
4019
|
class: normalizeClass([
|
|
4004
4020
|
"bg-white/90 backdrop-blur-sm dark:bg-neutral-950/90",
|
|
@@ -4814,7 +4830,7 @@ export {
|
|
|
4814
4830
|
_sfc_main$u as CheckboxMultipleInput,
|
|
4815
4831
|
_sfc_main$s as ConfirmationModal,
|
|
4816
4832
|
_sfc_main$E as CustomSelect,
|
|
4817
|
-
|
|
4833
|
+
DateInput,
|
|
4818
4834
|
_sfc_main$r as DialogModal,
|
|
4819
4835
|
_sfc_main$P as Divider,
|
|
4820
4836
|
_sfc_main$q as Dropdown,
|