You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB

4 years ago
  1. ! function (e) {
  2. "use strict";
  3. var a = new Date();
  4. var dateFormat = "yyyy-mm-dd";
  5. var t = function () { };
  6. t.prototype.init = function () {
  7. $("#datepicker").datepicker('getFormattedDate', {
  8. format: dateFormat
  9. }),
  10. $(".datepicker-autoclose").datepicker({
  11. autoclose: !0,
  12. todayHighlight: !0
  13. }),
  14. $("#datepicker-inline").datepicker(),
  15. $("#datepicker-multiple-date").datepicker({
  16. format: dateFormat,
  17. clearBtn: !0,
  18. multidate: !0,
  19. multidateSeparator: ","
  20. }),
  21. $("#date-range").datepicker({
  22. toggleActive: !0,
  23. format: dateFormat,
  24. startDate: '2019-01-01',
  25. endDate: '0d'
  26. //defaultViewDate: 'today'
  27. })
  28. }, e.AdvancedForm = new t, e.AdvancedForm.Constructor = t
  29. }(window.$),
  30. function (e) {
  31. "use strict";
  32. e.AdvancedForm.init()
  33. }(window.$);