@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
28 lines (25 loc) • 831 B
JavaScript
import '../../../utils/index.mjs';
import '../../../hooks/index.mjs';
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
import { useColorProp } from '../../../hooks/use-common-props/index.mjs';
import { isString, isObject } from '@vue/shared';
import { isNumber } from '../../../utils/types.mjs';
const tableTrProps = buildProps({
color: useColorProp,
data: {
type: definePropType([String, Number, Object]),
default: null
},
isSelected: {
type: Boolean,
default: null
},
notClickSelected: { type: Boolean },
openExpandOnlyTd: { type: Boolean }
});
const tableTrEmits = {
click: (event) => event instanceof Event,
selected: (value) => isString(value) || isNumber(value) || isObject(value)
};
export { tableTrEmits, tableTrProps };
//# sourceMappingURL=tr.mjs.map