aead4cb42c2abf95fe62826f3131c77cda789e86052dfa0a2c3f0b87fc5a2037111c42db7688e1932ad800b746baa3d80b1e9c0dd4d2910b061a4d8ddf9025 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { defineComponent } from 'vue';
  2. import { COMPONENT_NAME } from './constants.mjs';
  3. import { columnAlignment } from '../../../constants/column-alignment.mjs';
  4. import { buildProps } from '../../../utils/vue/props/runtime.mjs';
  5. const descriptionItemProps = buildProps({
  6. label: {
  7. type: String,
  8. default: ""
  9. },
  10. span: {
  11. type: Number,
  12. default: 1
  13. },
  14. rowspan: {
  15. type: Number,
  16. default: 1
  17. },
  18. width: {
  19. type: [String, Number],
  20. default: ""
  21. },
  22. minWidth: {
  23. type: [String, Number],
  24. default: ""
  25. },
  26. labelWidth: {
  27. type: [String, Number],
  28. default: ""
  29. },
  30. align: {
  31. type: String,
  32. values: columnAlignment,
  33. default: "left"
  34. },
  35. labelAlign: {
  36. type: String,
  37. values: columnAlignment
  38. },
  39. className: {
  40. type: String,
  41. default: ""
  42. },
  43. labelClassName: {
  44. type: String,
  45. default: ""
  46. }
  47. });
  48. const DescriptionItem = defineComponent({
  49. name: COMPONENT_NAME,
  50. props: descriptionItemProps
  51. });
  52. export { DescriptionItem as default, descriptionItemProps };
  53. //# sourceMappingURL=description-item.mjs.map