time-select.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var iconsVue = require('@element-plus/icons-vue');
  4. var runtime = require('../../../utils/vue/props/runtime.js');
  5. var index = require('../../../hooks/use-size/index.js');
  6. var index$1 = require('../../../hooks/use-empty-values/index.js');
  7. const timeSelectProps = runtime.buildProps({
  8. format: {
  9. type: String,
  10. default: "HH:mm"
  11. },
  12. modelValue: String,
  13. disabled: Boolean,
  14. editable: {
  15. type: Boolean,
  16. default: true
  17. },
  18. effect: {
  19. type: runtime.definePropType(String),
  20. default: "light"
  21. },
  22. clearable: {
  23. type: Boolean,
  24. default: true
  25. },
  26. size: index.useSizeProp,
  27. placeholder: String,
  28. start: {
  29. type: String,
  30. default: "09:00"
  31. },
  32. end: {
  33. type: String,
  34. default: "18:00"
  35. },
  36. step: {
  37. type: String,
  38. default: "00:30"
  39. },
  40. minTime: String,
  41. maxTime: String,
  42. includeEndTime: {
  43. type: Boolean,
  44. default: false
  45. },
  46. name: String,
  47. prefixIcon: {
  48. type: runtime.definePropType([String, Object]),
  49. default: () => iconsVue.Clock
  50. },
  51. clearIcon: {
  52. type: runtime.definePropType([String, Object]),
  53. default: () => iconsVue.CircleClose
  54. },
  55. ...index$1.useEmptyValuesProps
  56. });
  57. exports.timeSelectProps = timeSelectProps;
  58. //# sourceMappingURL=time-select.js.map