groupsConfig.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?php
  2. /**
  3. * Groups configuration for default Minify implementation
  4. * @package Minify
  5. */
  6. /**
  7. * You may wish to use the Minify URI Builder app to suggest
  8. * changes. http://yourdomain/min/builder/
  9. *
  10. * See http://code.google.com/p/minify/wiki/CustomSource for other ideas
  11. **/
  12. $static_path = dirname(__DIR__). "/static/";
  13. $core_path = $static_path. "admin/js/core/";
  14. $libs_path = $static_path. "libs/";
  15. return [
  16. 'core_js' => [ // 默认加载
  17. $core_path. "jquery.min.js",
  18. $core_path. "bootstrap.min.js",
  19. $core_path. "jquery.slimscroll.min.js",
  20. $core_path. "jquery.scrollLock.min.js",
  21. $core_path. "jquery.appear.min.js",
  22. $core_path. "jquery.countTo.min.js",
  23. $core_path. "jquery.placeholder.min.js",
  24. $core_path. "js.cookie.min.js",
  25. $libs_path. "magnific-popup/magnific-popup.min.js",
  26. $static_path. "admin/js/app.js",
  27. $static_path. "admin/js/dolphin.js",
  28. $static_path. "admin/js/builder/form.js",
  29. $static_path. "admin/js/builder/aside.js",
  30. $static_path. "admin/js/builder/table.js",
  31. $libs_path. "viewer/viewer.min.js"
  32. ],
  33. 'core_css' => [ // 默认加载
  34. $libs_path. "magnific-popup/magnific-popup.min.css",
  35. $static_path. "admin/css/bootstrap.min.css",
  36. $static_path. "admin/css/oneui.css",
  37. $static_path. "admin/css/dolphin.css",
  38. $libs_path. "viewer/viewer.min.css"
  39. ],
  40. 'libs_js' => [ // 默认加载
  41. $libs_path. "bootstrap-notify/bootstrap-notify.min.js",
  42. $libs_path. "sweetalert/sweetalert.min.js",
  43. ],
  44. 'libs_css' => [ // 默认加载
  45. $libs_path. "sweetalert/sweetalert.min.css",
  46. ],
  47. 'datepicker_js' => [ // 日期选择
  48. $libs_path. "bootstrap-datepicker/bootstrap-datepicker.min.js",
  49. $libs_path. "bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js",
  50. ],
  51. 'datepicker_css' => [ // 日期选择
  52. $libs_path. "bootstrap-datepicker/bootstrap-datepicker3.min.css",
  53. ],
  54. 'datetimepicker_js' => [ // 日期时间选择
  55. $libs_path. "bootstrap-datetimepicker/moment.min.js",
  56. $libs_path. "bootstrap-datetimepicker/bootstrap-datetimepicker.min.js",
  57. $libs_path. "bootstrap-datetimepicker/locale/zh-cn.js",
  58. ],
  59. 'moment_js' => [
  60. $libs_path. "bootstrap-datetimepicker/moment.min.js",
  61. ],
  62. 'datetimepicker_css' => [ // 日期时间选择
  63. $libs_path. "bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"
  64. ],
  65. 'webuploader_js' => [ // 文件或图片上传
  66. $libs_path. "webuploader/webuploader.min.js",
  67. ],
  68. 'webuploader_css' => [ // 文件或图片上传
  69. $libs_path. "webuploader/webuploader.css",
  70. ],
  71. 'select2_js' => [ // 下拉框
  72. $libs_path. "select2/select2.full.min.js",
  73. $libs_path. "select2/i18n/zh-CN.js",
  74. ],
  75. 'select2_css' => [ // 下拉框
  76. $libs_path. "select2/select2.min.css",
  77. $libs_path. "select2/select2-bootstrap.min.css",
  78. ],
  79. 'tags_js' => [ // 标签
  80. $libs_path. "jquery-tags-input/jquery.tagsinput.min.js",
  81. ],
  82. 'tags_css' => [ // 标签
  83. $libs_path. "jquery-tags-input/jquery.tagsinput.min.css",
  84. ],
  85. 'validate_js' => [ // 验证
  86. $libs_path. "jquery-validation/jquery.validate.min.js",
  87. ],
  88. 'editable_js' => [ // 快速编辑
  89. $libs_path. "bootstrap3-editable/js/bootstrap-editable.js",
  90. ],
  91. 'editable_css' => [ // 快速编辑
  92. $libs_path. "bootstrap3-editable/css/bootstrap-editable.css",
  93. ],
  94. 'colorpicker_js' => [ // 取色器
  95. $libs_path. "bootstrap-colorpicker/bootstrap-colorpicker.min.js",
  96. ],
  97. 'colorpicker_css' => [ // 取色器
  98. $libs_path. "bootstrap-colorpicker/css/bootstrap-colorpicker.min.css",
  99. ],
  100. 'editormd_js' => [ // markdown编辑器
  101. $libs_path. "editormd/editormd.min.js",
  102. ],
  103. 'jcrop_js' => [ // 图片裁剪
  104. $libs_path. "jcrop/js/Jcrop.min.js",
  105. ],
  106. 'jcrop_css' => [ // 图片裁剪
  107. $libs_path. "jcrop/css/Jcrop.min.css",
  108. ],
  109. 'masked_inputs_js' => [ // 格式文本
  110. $libs_path. "masked-inputs/jquery.maskedinput.min.js",
  111. ],
  112. 'rangeslider_js' => [ // 范围
  113. $libs_path. "ion-rangeslider/js/ion.rangeSlider.min.js",
  114. ],
  115. 'rangeslider_css' => [ // 范围
  116. $libs_path. "ion-rangeslider/css/ion.rangeSlider.min.css",
  117. $libs_path. "ion-rangeslider/css/ion.rangeSlider.skinHTML5.min.css",
  118. ],
  119. 'nestable_js' => [ // 拖拽排序
  120. $libs_path. "jquery-nestable/jquery.nestable.js",
  121. ],
  122. 'nestable_css' => [ // 拖拽排序
  123. $libs_path. "jquery-nestable/jquery.nestable.css",
  124. ],
  125. 'wangeditor_js' => [ // wang编辑器
  126. $libs_path. "wang-editor/js/wangEditor.min.js",
  127. ],
  128. 'wangeditor_css' => [ // wang编辑器
  129. $libs_path. "wang-editor/css/wangEditor.min.css",
  130. ],
  131. 'summernote_js' => [ // summernote编辑器
  132. $libs_path. "summernote/summernote.min.js",
  133. $libs_path. "summernote/lang/summernote-zh-CN.js",
  134. ],
  135. 'summernote_css' => [ // summernote编辑器
  136. $libs_path. "summernote/summernote.min.css",
  137. ],
  138. 'jqueryui_js' => [ // jqueryui
  139. $libs_path. "jquery-ui/jquery-ui.min.js",
  140. ],
  141. 'daterangepicker_js' => [ // 日期时间范围
  142. $libs_path. "bootstrap-daterangepicker/daterangepicker.js",
  143. ],
  144. 'daterangepicker_css' => [ // 日期时间范围
  145. $libs_path. "bootstrap-daterangepicker/daterangepicker.css",
  146. ]
  147. ];