tdesign-vue-next
Version:
TDesign Component for vue-next
69 lines (65 loc) • 2.17 kB
JavaScript
/**
* tdesign v1.19.2
* (c) 2026 tdesign
* @license MIT
*/
import { defineComponent, computed, createVNode } from 'vue';
import { _ as _defineProperty } from '../_chunks/dep-ba214d75.mjs';
import { u as usePrefixClass } from '../_chunks/dep-fbeb2963.mjs';
import { i as isSafari } from '../_chunks/dep-58979704.mjs';
import '../_chunks/dep-e1c62679.mjs';
import 'lodash-es';
import '../_chunks/dep-47c3cae9.mjs';
import '../_chunks/dep-b0b422fe.mjs';
import '../_chunks/dep-feed89df.mjs';
import '../_chunks/dep-5b510fcd.mjs';
import '../config-provider/hooks/useConfig.mjs';
import '../config-provider/utils/context.mjs';
import '../_chunks/dep-e0ab6d55.mjs';
import '../_chunks/dep-75f265c4.mjs';
import '../_chunks/dep-67ffcfeb.mjs';
import '../_chunks/dep-f558ebb8.mjs';
import '../_chunks/dep-edab0e6a.mjs';
import '../_chunks/dep-76dddedf.mjs';
import '../_chunks/dep-d92220c4.mjs';
import '../_chunks/dep-466a8f31.mjs';
import '../_chunks/dep-e66c0337.mjs';
import '../_chunks/dep-c231a5b4.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