UNPKG

tdesign-vue-next

Version:
69 lines (65 loc) 2.17 kB
/** * tdesign v1.20.2 * (c) 2026 tdesign * @license MIT */ import { defineComponent, computed, createVNode } from 'vue'; import { _ as _defineProperty } from '../_chunks/dep-98dac781.mjs'; import { u as usePrefixClass } from '../_chunks/dep-9ce910b6.mjs'; import { i as isSafari } from '../_chunks/dep-9b3b77bb.mjs'; import '../_chunks/dep-f038e2b4.mjs'; import 'lodash-es'; import '../_chunks/dep-557b68dd.mjs'; import '../_chunks/dep-26d65784.mjs'; import '../_chunks/dep-05bddb06.mjs'; import '../_chunks/dep-57027bda.mjs'; import '../config-provider/hooks/useConfig.mjs'; import '../config-provider/utils/context.mjs'; import '../_chunks/dep-57949dcd.mjs'; import '../_chunks/dep-cafb5eac.mjs'; import '../_chunks/dep-f1da7269.mjs'; import '../_chunks/dep-ea5fbe21.mjs'; import '../_chunks/dep-192d0c88.mjs'; import '../_chunks/dep-652c99fe.mjs'; import '../_chunks/dep-5b369203.mjs'; import '../_chunks/dep-a4f55e3b.mjs'; import '../_chunks/dep-920eff5b.mjs'; import '../_chunks/dep-4de66dd0.mjs'; var FakeArrow = defineComponent({ name: "TFakeArrow", props: { isActive: { type: Boolean }, overlayClassName: { type: [String, Object, Array] }, overlayStyle: { type: [Object, String] } }, setup: function setup(props) { var COMPONENT_NAME = usePrefixClass("fake-arrow"); var classes = computed(function () { return [COMPONENT_NAME.value, _defineProperty(_defineProperty({}, "".concat(COMPONENT_NAME.value, "--transform"), isSafari()), "".concat(COMPONENT_NAME.value, "--active"), props.isActive), props.overlayClassName]; }); return function () { return createVNode("svg", { "class": classes.value, "width": "16", "height": "16", "viewBox": "0 0 16 16", "fill": "none", "xmlns": "http://www.w3.org/2000/svg", "style": props.overlayStyle }, [createVNode("path", { "d": "M3.75 5.7998L7.99274 10.0425L12.2361 5.79921", "stroke": "black", "stroke-opacity": "0.9", "stroke-width": "1.3" }, null)]); }; } }); export { FakeArrow as default }; //# sourceMappingURL=fake-arrow.mjs.map