el-plus 0.0.83 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +142 -39
  4. package/dist/index.full.min.js +4 -4
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +4 -4
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +140 -40
  9. package/es/components/footer-info/index.d.ts +66 -0
  10. package/es/components/footer-info/index.mjs +8 -0
  11. package/es/components/footer-info/index.mjs.map +1 -0
  12. package/es/components/footer-info/src/footer-info.d.ts +28 -0
  13. package/es/components/footer-info/src/footer-info.mjs +43 -0
  14. package/es/components/footer-info/src/footer-info.mjs.map +1 -0
  15. package/es/components/footer-info/src/footer-info.vue.d.ts +34 -0
  16. package/es/components/footer-info/src/footer-info.vue.mjs +6 -0
  17. package/es/components/footer-info/src/footer-info.vue.mjs.map +1 -0
  18. package/es/components/footer-info/src/footer-info.vue2.mjs +65 -0
  19. package/es/components/footer-info/src/footer-info.vue2.mjs.map +1 -0
  20. package/es/components/footer-info/style/css.d.ts +2 -0
  21. package/es/components/footer-info/style/css.mjs +5 -0
  22. package/es/components/footer-info/style/css.mjs.map +1 -0
  23. package/es/components/footer-info/style/index.d.ts +2 -0
  24. package/es/components/footer-info/style/index.mjs +5 -0
  25. package/es/components/footer-info/style/index.mjs.map +1 -0
  26. package/es/components/index.d.ts +1 -0
  27. package/es/components/index.mjs +2 -0
  28. package/es/components/index.mjs.map +1 -1
  29. package/es/components.mjs +3 -1
  30. package/es/components.mjs.map +1 -1
  31. package/es/index.mjs +2 -0
  32. package/es/index.mjs.map +1 -1
  33. package/es/package.json.mjs +1 -1
  34. package/lib/components/footer-info/index.d.ts +66 -0
  35. package/lib/components/footer-info/index.js +15 -0
  36. package/lib/components/footer-info/index.js.map +1 -0
  37. package/lib/components/footer-info/src/footer-info.d.ts +28 -0
  38. package/lib/components/footer-info/src/footer-info.js +46 -0
  39. package/lib/components/footer-info/src/footer-info.js.map +1 -0
  40. package/lib/components/footer-info/src/footer-info.vue.d.ts +34 -0
  41. package/lib/components/footer-info/src/footer-info.vue.js +10 -0
  42. package/lib/components/footer-info/src/footer-info.vue.js.map +1 -0
  43. package/lib/components/footer-info/src/footer-info.vue2.js +69 -0
  44. package/lib/components/footer-info/src/footer-info.vue2.js.map +1 -0
  45. package/lib/components/footer-info/style/css.d.ts +2 -0
  46. package/lib/components/footer-info/style/css.js +7 -0
  47. package/lib/components/footer-info/style/css.js.map +1 -0
  48. package/lib/components/footer-info/style/index.d.ts +2 -0
  49. package/lib/components/footer-info/style/index.js +7 -0
  50. package/lib/components/footer-info/style/index.js.map +1 -0
  51. package/lib/components/index.d.ts +1 -0
  52. package/lib/components/index.js +5 -0
  53. package/lib/components/index.js.map +1 -1
  54. package/lib/components.js +3 -1
  55. package/lib/components.js.map +1 -1
  56. package/lib/index.js +11 -6
  57. package/lib/index.js.map +1 -1
  58. package/lib/package.json.js +1 -1
  59. package/package.json +1 -1
  60. package/theme-chalk/footer-info.css +1 -0
  61. package/theme-chalk/index.css +1 -1
  62. package/theme-chalk/src/footer-info.scss +18 -0
  63. package/theme-chalk/src/index.scss +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # el-plus
2
2
 
3
+ ## 0.0.84
4
+
5
+ ### Patch Changes
6
+
7
+ - 1
8
+
3
9
  ## 0.0.83
4
10
 
5
11
  ### Patch Changes
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.ep-form{position:relative}.ep-form__fold{bottom:23px;color:#367ef5;cursor:pointer;font-size:14px;position:absolute;right:0;text-align:center;width:70px}.ep-form__fold:hover{text-decoration:underline}.ep-form.is-fold{padding-right:70px}.ep-form .el-form-item--small{margin-bottom:18px}.ep-form .el-form-item--small.is-hide-label .el-form-item__label{display:none}.ep-form .el-form-item--small .el-form-item__label{display:block;height:32px;line-height:32px;overflow:hidden;padding-left:18px;padding-right:6px;text-overflow:ellipsis;white-space:nowrap}.ep-form .el-form-item--small .el-form-item__content{font-size:13px;line-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-input{font-size:13px;height:32px}.ep-form .el-form-item--small .el-form-item__content .el-textarea__inner{font-size:13px!important}.ep-form .el-form-item--small .el-form-item__content .el-select__wrapper{font-size:13px;line-height:32px;min-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-date-editor .el-range-input{font-size:13px}.ep-table{width:100%}.ep-table__action-buttons{white-space:nowrap}.ep-table .el-table{font-size:13px}.ep-table .el-table .el-table__cell .is-edit{cursor:pointer}.ep-table .el-table .el-table__cell .is-edit:hover{color:#409eff}.ep-table .el-table .el-table__cell .is-edit .el-icon{vertical-align:-2px}.ep-table .el-table .el-table__cell.is-center .el-link{margin:0 auto;text-align:center}.ep-table .el-table .cell{line-height:30px}.ep-table .el-table thead tr th{height:42px}.ep-table .el-table thead tr th .cell{line-height:20px}.ep-table .el-table thead tr th .el-checkbox__inner{height:14px;width:14px}.ep-table .el-table td,.ep-table .el-table th{padding:3px 0}.ep-table .el-form-item__error{position:unset;text-align:left}.ep-table .el-form-item{margin-bottom:0}.ep-table .el-form-item .el-form-item__label{padding:0}.ep-table .el-pagination{margin-top:12px;--el-pagination-font-size:13px}.ep-table .el-pagination .el-select{--el-select-font-size:13px}.ep-table .el-pagination .el-select .el-select__wrapper{font-size:13px}.ep-button{height:32px;padding:9px 15px}.ep-button.el-button--text{padding:0}.ep-button.el-button+.el-button{margin-left:10px}.ep-search-list-page #middle{overflow:hidden}.ep-search-list-page__middle-left{float:left}.ep-search-list-page__middle-left>.el-button{margin:16px 0}.ep-search-list-page__middle-right{float:right}.ep-search-list-page__middle-right .el-button{margin:16px 0}.ep-title{width:100%}.ep-title__header{line-height:50px;overflow:hidden}.ep-title__title{float:left;font-size:15px;font-weight:500}.ep-title__toggle{color:#409eff;cursor:pointer;display:inline-block;font-size:14px;font-weight:400;margin-left:10px;white-space:nowrap}.ep-title__toggle .el-icon{transition:transform .3s;vertical-align:-2px}.ep-title.is-expanded .ep-title__toggle .el-icon{transform:rotate(-180deg)}.ep-title__buttons{float:right}.ep-title__content{overflow:hidden;transition:max-height .3s ease-in-out}.ep-header{display:flex;flex-wrap:wrap}.ep-header>.el-button{margin-bottom:10px}.ep-header .el-page-header .el-page-header__left{margin-right:-10px;margin-top:4px}.ep-header .el-page-header .el-page-header__title{white-space:nowrap}.ep-template-promise{position:relative;z-index:8888888888888888}.ep-dialog{padding:20px 25px 30px}.ep-dialog .el-dialog__headerbtn{height:56px}.ep-dialog .el-dialog__headerbtn .el-dialog__close{transform:scale(1.3)}.ep-dialog .el-dialog__header{text-align:center}.ep-dialog .el-dialog__header .el-dialog__title{color:#505050;font-size:16px;font-weight:600;line-height:24px;margin:4px}.ep-dialog .el-dialog__body{padding:25px 0 0}.ep-dialog__footer button{font-size:12px}.ep-choose-dialog__selected-count{color:#409eff;float:left;font-size:16px;line-height:32px}.ep-confirm-dialog{padding-bottom:20px}.ep-confirm-dialog .ep-dialog__footer{padding-top:0}.ep-custom-column__dialog .el-dialog__body{text-align:center}.ep-custom-column__dialog .el-transfer{display:inline-block}.ep-custom-column__dialog .el-transfer-panel__footer{border-bottom:0;height:0}.ep-custom-column__dialog .el-transfer-panel{overflow:visible}.ep-custom-column__dialog .el-transfer__buttons button{width:100px}.ep-custom-column__dialog .el-transfer__buttons button span{font-size:13px}.ep-custom-column__operate{position:absolute;right:-100%;top:50%;transform:translate(calc(25% - 12px),32px)}.ep-custom-column__operate button{width:100px}.ep-custom-column__operate button span{font-size:13px}.no-cn__operate{transform:translate(calc(25% - 520px),32px)}.ep-link{font-size:13px}.ep-uni-vue{background:#fff}.ep-uni-vue__skeleton .el-skeleton__item{margin-top:10px}.ep-attachment__promise{width:100%}.ep-attachment__dialog--normal{background:none;position:static!important}.ep-attachment__dialog--normal .el-overlay-dialog{position:static}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog{margin:0;padding:0;width:auto!important}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog .el-dialog__header{display:none}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog .el-dialog__body{padding:0}.ep-attachment__handler{height:32px;padding:9px 15px}.ep-attachment__handler.el-button--text{padding:0}
1
+ .fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.ep-form{position:relative}.ep-form__fold{bottom:23px;color:#367ef5;cursor:pointer;font-size:14px;position:absolute;right:0;text-align:center;width:70px}.ep-form__fold:hover{text-decoration:underline}.ep-form.is-fold{padding-right:70px}.ep-form .el-form-item--small{margin-bottom:18px}.ep-form .el-form-item--small.is-hide-label .el-form-item__label{display:none}.ep-form .el-form-item--small .el-form-item__label{display:block;height:32px;line-height:32px;overflow:hidden;padding-left:18px;padding-right:6px;text-overflow:ellipsis;white-space:nowrap}.ep-form .el-form-item--small .el-form-item__content{font-size:13px;line-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-input{font-size:13px;height:32px}.ep-form .el-form-item--small .el-form-item__content .el-textarea__inner{font-size:13px!important}.ep-form .el-form-item--small .el-form-item__content .el-select__wrapper{font-size:13px;line-height:32px;min-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-date-editor .el-range-input{font-size:13px}.ep-table{width:100%}.ep-table__action-buttons{white-space:nowrap}.ep-table .el-table{font-size:13px}.ep-table .el-table .el-table__cell .is-edit{cursor:pointer}.ep-table .el-table .el-table__cell .is-edit:hover{color:#409eff}.ep-table .el-table .el-table__cell .is-edit .el-icon{vertical-align:-2px}.ep-table .el-table .el-table__cell.is-center .el-link{margin:0 auto;text-align:center}.ep-table .el-table .cell{line-height:30px}.ep-table .el-table thead tr th{height:42px}.ep-table .el-table thead tr th .cell{line-height:20px}.ep-table .el-table thead tr th .el-checkbox__inner{height:14px;width:14px}.ep-table .el-table td,.ep-table .el-table th{padding:3px 0}.ep-table .el-form-item__error{position:unset;text-align:left}.ep-table .el-form-item{margin-bottom:0}.ep-table .el-form-item .el-form-item__label{padding:0}.ep-table .el-pagination{margin-top:12px;--el-pagination-font-size:13px}.ep-table .el-pagination .el-select{--el-select-font-size:13px}.ep-table .el-pagination .el-select .el-select__wrapper{font-size:13px}.ep-button{height:32px;padding:9px 15px}.ep-button.el-button--text{padding:0}.ep-button.el-button+.el-button{margin-left:10px}.ep-search-list-page #middle{overflow:hidden}.ep-search-list-page__middle-left{float:left}.ep-search-list-page__middle-left>.el-button{margin:16px 0}.ep-search-list-page__middle-right{float:right}.ep-search-list-page__middle-right .el-button{margin:16px 0}.ep-title{width:100%}.ep-title__header{line-height:50px;overflow:hidden}.ep-title__title{float:left;font-size:15px;font-weight:500}.ep-title__toggle{color:#409eff;cursor:pointer;display:inline-block;font-size:14px;font-weight:400;margin-left:10px;white-space:nowrap}.ep-title__toggle .el-icon{transition:transform .3s;vertical-align:-2px}.ep-title.is-expanded .ep-title__toggle .el-icon{transform:rotate(-180deg)}.ep-title__buttons{float:right}.ep-title__content{overflow:hidden;transition:max-height .3s ease-in-out}.ep-header{display:flex;flex-wrap:wrap}.ep-header>.el-button{margin-bottom:10px}.ep-header .el-page-header .el-page-header__left{margin-right:-10px;margin-top:4px}.ep-header .el-page-header .el-page-header__title{white-space:nowrap}.ep-template-promise{position:relative;z-index:8888888888888888}.ep-dialog{padding:20px 25px 30px}.ep-dialog .el-dialog__headerbtn{height:56px}.ep-dialog .el-dialog__headerbtn .el-dialog__close{transform:scale(1.3)}.ep-dialog .el-dialog__header{text-align:center}.ep-dialog .el-dialog__header .el-dialog__title{color:#505050;font-size:16px;font-weight:600;line-height:24px;margin:4px}.ep-dialog .el-dialog__body{padding:25px 0 0}.ep-dialog__footer button{font-size:12px}.ep-choose-dialog__selected-count{color:#409eff;float:left;font-size:16px;line-height:32px}.ep-confirm-dialog{padding-bottom:20px}.ep-confirm-dialog .ep-dialog__footer{padding-top:0}.ep-custom-column__dialog .el-dialog__body{text-align:center}.ep-custom-column__dialog .el-transfer{display:inline-block}.ep-custom-column__dialog .el-transfer-panel__footer{border-bottom:0;height:0}.ep-custom-column__dialog .el-transfer-panel{overflow:visible}.ep-custom-column__dialog .el-transfer__buttons button{width:100px}.ep-custom-column__dialog .el-transfer__buttons button span{font-size:13px}.ep-custom-column__operate{position:absolute;right:-100%;top:50%;transform:translate(calc(25% - 12px),32px)}.ep-custom-column__operate button{width:100px}.ep-custom-column__operate button span{font-size:13px}.no-cn__operate{transform:translate(calc(25% - 520px),32px)}.ep-link{font-size:13px}.ep-uni-vue{background:#fff}.ep-uni-vue__skeleton .el-skeleton__item{margin-top:10px}.ep-attachment__promise{width:100%}.ep-attachment__dialog--normal{background:none;position:static!important}.ep-attachment__dialog--normal .el-overlay-dialog{position:static}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog{margin:0;padding:0;width:auto!important}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog .el-dialog__header{display:none}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog .el-dialog__body{padding:0}.ep-attachment__handler{height:32px;padding:9px 15px}.ep-attachment__handler.el-button--text{padding:0}.ep-footer-info{color:#999;display:flex;font-size:12px;line-height:20px;margin-top:16px;padding-bottom:20px;width:100%}.ep-footer-info__item{margin-right:20px}
@@ -1,4 +1,4 @@
1
- /*! ElPlus v0.0.83 */
1
+ /*! ElPlus v0.0.84 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus'), require('@vue/shared'), require('axios'), require('js-cookie'), require('defu'), require('qs'), require('element-plus/es/components/table/src/table/defaults'), require('@element-plus/icons-vue'), require('mitt'), require('lodash-unified'), require('@vueuse/core'), require('vue-router'), require('js-base64'), require('vue2'), require('vue-router3'), require('dayjs')) :
@@ -1014,7 +1014,7 @@
1014
1014
  }
1015
1015
  });
1016
1016
 
1017
- var _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
1017
+ var _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
1018
1018
  ...{
1019
1019
  name: "EpForm",
1020
1020
  inheritAttrs: false
@@ -1123,7 +1123,7 @@
1123
1123
  }
1124
1124
  });
1125
1125
 
1126
- const EpForm = withInstall(_sfc_main$b);
1126
+ const EpForm = withInstall(_sfc_main$c);
1127
1127
 
1128
1128
  const { t: t$2 } = useLocale();
1129
1129
  const inputProps = {
@@ -1152,7 +1152,7 @@
1152
1152
  };
1153
1153
  const inputEmitsKeys = Object.keys(inputEmits);
1154
1154
 
1155
- var _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1155
+ var _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
1156
1156
  ...{
1157
1157
  name: "EpInput",
1158
1158
  inheritAttrs: false
@@ -1286,7 +1286,7 @@
1286
1286
  }
1287
1287
  });
1288
1288
 
1289
- const EpInput = withInstall(_sfc_main$a);
1289
+ const EpInput = withInstall(_sfc_main$b);
1290
1290
 
1291
1291
  function _isSlot(s) {
1292
1292
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
@@ -1638,7 +1638,7 @@
1638
1638
  }
1639
1639
  };
1640
1640
 
1641
- var _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
1641
+ var _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1642
1642
  ...{
1643
1643
  name: "EpCustomColumn",
1644
1644
  inheritAttrs: false
@@ -1860,7 +1860,7 @@
1860
1860
  }
1861
1861
  });
1862
1862
 
1863
- const EpCustomColumn = withInstall(_sfc_main$9);
1863
+ const EpCustomColumn = withInstall(_sfc_main$a);
1864
1864
 
1865
1865
  const inheritTableProps = {
1866
1866
  ...elTableProps,
@@ -2375,7 +2375,7 @@
2375
2375
  };
2376
2376
  };
2377
2377
 
2378
- var _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
2378
+ var _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
2379
2379
  ...{
2380
2380
  name: "EpTable",
2381
2381
  inheritAttrs: false
@@ -2567,7 +2567,7 @@
2567
2567
  }
2568
2568
  });
2569
2569
 
2570
- const EpTable = withInstall(_sfc_main$8);
2570
+ const EpTable = withInstall(_sfc_main$9);
2571
2571
 
2572
2572
  const searchListPageProps = {
2573
2573
  ...apiProps,
@@ -2833,7 +2833,7 @@
2833
2833
  };
2834
2834
  };
2835
2835
 
2836
- var _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
2836
+ var _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
2837
2837
  ...{ name: "EpSearchListPage" },
2838
2838
  __name: "search-list-page",
2839
2839
  props: searchListPageProps,
@@ -2886,7 +2886,7 @@
2886
2886
  }
2887
2887
  });
2888
2888
 
2889
- const EpSearchListPage = withInstall(_sfc_main$7);
2889
+ const EpSearchListPage = withInstall(_sfc_main$8);
2890
2890
 
2891
2891
  const inheritSelectProps = {
2892
2892
  ...elementPlus.selectProps,
@@ -3014,7 +3014,7 @@
3014
3014
  };
3015
3015
  }
3016
3016
 
3017
- var _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
3017
+ var _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
3018
3018
  ...{
3019
3019
  name: "EpSelect",
3020
3020
  inheritAttrs: false
@@ -3102,7 +3102,7 @@
3102
3102
  }
3103
3103
  });
3104
3104
 
3105
- const EpSelect = withInstall(_sfc_main$6);
3105
+ const EpSelect = withInstall(_sfc_main$7);
3106
3106
 
3107
3107
  const titleProps = {
3108
3108
  // 右侧按钮
@@ -3161,7 +3161,7 @@
3161
3161
  };
3162
3162
  };
3163
3163
 
3164
- var _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3164
+ var _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
3165
3165
  ...{
3166
3166
  name: "EpTitle",
3167
3167
  inheritAttrs: false
@@ -3225,7 +3225,7 @@
3225
3225
  }
3226
3226
  });
3227
3227
 
3228
- const EpTitle = withInstall(_sfc_main$5);
3228
+ const EpTitle = withInstall(_sfc_main$6);
3229
3229
 
3230
3230
  const headerProps = {
3231
3231
  // 页面模式
@@ -3742,7 +3742,7 @@
3742
3742
  };
3743
3743
  };
3744
3744
 
3745
- var _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3745
+ var _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3746
3746
  ...{
3747
3747
  name: "EpAttachment",
3748
3748
  inheritAttrs: false
@@ -3849,9 +3849,9 @@
3849
3849
  }
3850
3850
  });
3851
3851
 
3852
- const EpAttachment = withInstall(_sfc_main$4);
3852
+ const EpAttachment = withInstall(_sfc_main$5);
3853
3853
 
3854
- var _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3854
+ var _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3855
3855
  ...{
3856
3856
  name: "EpHeader",
3857
3857
  inheritAttrs: false
@@ -3889,7 +3889,7 @@
3889
3889
  }
3890
3890
  });
3891
3891
 
3892
- const EpHeader = withInstall(_sfc_main$3);
3892
+ const EpHeader = withInstall(_sfc_main$4);
3893
3893
 
3894
3894
  const { t } = useLocale();
3895
3895
  const datePickerRangeProps = {
@@ -3959,7 +3959,7 @@
3959
3959
  };
3960
3960
  const datePickerRangeEmits = {};
3961
3961
 
3962
- var _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
3962
+ var _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3963
3963
  ...{
3964
3964
  name: "EpDatePickerRange",
3965
3965
  inheritAttrs: false
@@ -4015,7 +4015,7 @@
4015
4015
  }
4016
4016
  });
4017
4017
 
4018
- const EpDatePickerRange = withInstall(_sfc_main$2);
4018
+ const EpDatePickerRange = withInstall(_sfc_main$3);
4019
4019
 
4020
4020
  const linkProps = {
4021
4021
  ...elementPlus.linkProps,
@@ -4032,7 +4032,7 @@
4032
4032
  }
4033
4033
  };
4034
4034
 
4035
- var _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4035
+ var _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4036
4036
  ...{
4037
4037
  name: "EpLink",
4038
4038
  inheritAttrs: false
@@ -4077,7 +4077,7 @@
4077
4077
  }
4078
4078
  });
4079
4079
 
4080
- const EpLink = withInstall(_sfc_main$1);
4080
+ const EpLink = withInstall(_sfc_main$2);
4081
4081
 
4082
4082
  const componentType = ["bpm", "address"];
4083
4083
  const uniVueProps = {
@@ -4301,7 +4301,7 @@
4301
4301
  };
4302
4302
  };
4303
4303
 
4304
- var _sfc_main = /* @__PURE__ */ vue.defineComponent({
4304
+ var _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4305
4305
  ...{
4306
4306
  name: "EpUniVue",
4307
4307
  inheritAttrs: false
@@ -4334,7 +4334,118 @@
4334
4334
  }
4335
4335
  });
4336
4336
 
4337
- const EpUniVue = withInstall(_sfc_main);
4337
+ const EpUniVue = withInstall(_sfc_main$1);
4338
+
4339
+ const getUnifyTime = function(date, format) {
4340
+ if (!date) return date === 0 ? null : date;
4341
+ if (format === "date") {
4342
+ format = "YYYY-MM-DD";
4343
+ } else if (format === "time") {
4344
+ format = "YYYY-MM-DD HH:mm:ss";
4345
+ }
4346
+ if (format === "s") return dayjs(date).startOf("day").valueOf();
4347
+ if (format === "e") return dayjs(date).endOf("day").valueOf();
4348
+ return format ? dayjs(date).format(format) : dayjs(date).valueOf();
4349
+ };
4350
+
4351
+ const defaultFields = [
4352
+ {
4353
+ name: "\u5236\u5355\u4EBA",
4354
+ prop: "creator",
4355
+ formatter: (value, modelValue) => `${modelValue.creator}/${modelValue.creatorName}`
4356
+ },
4357
+ {
4358
+ name: "\u521B\u5EFA\u65F6\u95F4",
4359
+ prop: "createTime",
4360
+ // 如果有createTimestamp,用createTimestamp格式化
4361
+ formatter: (value, modelValue) => modelValue.createTimestamp ? getUnifyTime(modelValue.createTimestamp, "time") : value
4362
+ },
4363
+ {
4364
+ name: "\u6700\u65B0\u4FEE\u6539\u4EBA",
4365
+ prop: "editor",
4366
+ formatter: (value, modelValue) => `${modelValue.editor}/${modelValue.editorName}`
4367
+ },
4368
+ {
4369
+ name: "\u6700\u65B0\u4FEE\u6539\u65F6\u95F4",
4370
+ prop: "editTime",
4371
+ // 如果有editTimestamp,用editTimestamp格式化
4372
+ formatter: (value, modelValue) => modelValue.editTimestamp ? getUnifyTime(modelValue.editTimestamp, "time") : value
4373
+ }
4374
+ ];
4375
+ const footerInfoProps = {
4376
+ modelValue: {
4377
+ type: Object,
4378
+ default: () => ({})
4379
+ },
4380
+ list: {
4381
+ type: Array,
4382
+ default: () => defaultFields
4383
+ },
4384
+ fieldMap: {
4385
+ type: Object,
4386
+ default: () => ({})
4387
+ }
4388
+ };
4389
+
4390
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
4391
+ ...{
4392
+ name: "EpFooterInfo",
4393
+ inheritAttrs: false
4394
+ },
4395
+ __name: "footer-info",
4396
+ props: footerInfoProps,
4397
+ setup(__props) {
4398
+ const bem = createNameSpace("footer-info");
4399
+ const props = __props;
4400
+ const getFieldName = (field) => {
4401
+ const fieldMapValue = props.fieldMap[field.prop];
4402
+ if (fieldMapValue && typeof fieldMapValue === "object" && "name" in fieldMapValue) {
4403
+ return fieldMapValue.name || field.name;
4404
+ }
4405
+ return field.name;
4406
+ };
4407
+ const getFieldValue = (field) => {
4408
+ const fieldMapValue = props.fieldMap[field.prop];
4409
+ if (fieldMapValue) {
4410
+ if (typeof fieldMapValue === "function") {
4411
+ return fieldMapValue(props.modelValue[field.prop], props.modelValue);
4412
+ }
4413
+ if (typeof fieldMapValue === "object" && "formatter" in fieldMapValue) {
4414
+ return fieldMapValue.formatter(
4415
+ props.modelValue[field.prop],
4416
+ props.modelValue
4417
+ );
4418
+ }
4419
+ }
4420
+ if (field.formatter) {
4421
+ return field.formatter(props.modelValue[field.prop], props.modelValue);
4422
+ }
4423
+ return props.modelValue[field.prop] || "";
4424
+ };
4425
+ return (_ctx, _cache) => {
4426
+ return vue.openBlock(), vue.createElementBlock("div", {
4427
+ class: vue.normalizeClass([vue.unref(bem).b(), vue.unref(prepareClassNames)()]),
4428
+ style: vue.normalizeStyle({ ...vue.unref(prepareStyles)() })
4429
+ }, [
4430
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.list, (field, index) => {
4431
+ return vue.openBlock(), vue.createElementBlock("div", {
4432
+ key: index,
4433
+ class: vue.normalizeClass(vue.unref(bem).e("item"))
4434
+ }, [
4435
+ vue.createElementVNode("span", {
4436
+ class: vue.normalizeClass(vue.unref(bem).e("label"))
4437
+ }, vue.toDisplayString(getFieldName(field)), 3),
4438
+ vue.createElementVNode("span", {
4439
+ class: vue.normalizeClass(vue.unref(bem).e("value"))
4440
+ }, vue.toDisplayString(getFieldValue(field)), 3)
4441
+ ], 2);
4442
+ }), 128))
4443
+ ], 6);
4444
+ };
4445
+ }
4446
+ });
4447
+
4448
+ const EpFooterInfo = withInstall(_sfc_main);
4338
4449
 
4339
4450
  var components = [
4340
4451
  EpButtons,
@@ -4349,10 +4460,11 @@
4349
4460
  EpCustomColumn,
4350
4461
  EpLink,
4351
4462
  EpAttachment,
4352
- EpUniVue
4463
+ EpUniVue,
4464
+ EpFooterInfo
4353
4465
  ];
4354
4466
 
4355
- var version = "0.0.83";
4467
+ var version = "0.0.84";
4356
4468
 
4357
4469
  var globalProperties = {
4358
4470
  install(app) {
@@ -4482,18 +4594,6 @@
4482
4594
  });
4483
4595
  };
4484
4596
 
4485
- const getUnifyTime = function(date, format) {
4486
- if (!date) return date === 0 ? null : date;
4487
- if (format === "date") {
4488
- format = "YYYY-MM-DD";
4489
- } else if (format === "time") {
4490
- format = "YYYY-MM-DD HH:mm:ss";
4491
- }
4492
- if (format === "s") return dayjs(date).startOf("day").valueOf();
4493
- if (format === "e") return dayjs(date).endOf("day").valueOf();
4494
- return format ? dayjs(date).format(format) : dayjs(date).valueOf();
4495
- };
4496
-
4497
4597
  const useUtils = () => {
4498
4598
  return {
4499
4599
  getUnifyTime,
@@ -4521,6 +4621,7 @@
4521
4621
  exports.EpButtons = EpButtons;
4522
4622
  exports.EpCustomColumn = EpCustomColumn;
4523
4623
  exports.EpDatePickerRange = EpDatePickerRange;
4624
+ exports.EpFooterInfo = EpFooterInfo;
4524
4625
  exports.EpForm = EpForm;
4525
4626
  exports.EpFormItem = EpFormItem;
4526
4627
  exports.EpHeader = EpHeader;
@@ -4539,10 +4640,12 @@
4539
4640
  exports.datePickerRangeEmits = datePickerRangeEmits;
4540
4641
  exports.datePickerRangeProps = datePickerRangeProps;
4541
4642
  exports.default = plugin;
4643
+ exports.defaultFields = defaultFields;
4542
4644
  exports.expandFormItemPropsKeys = expandFormItemPropsKeys;
4543
4645
  exports.expandFormPropsKeys = expandFormPropsKeys;
4544
4646
  exports.expandSelectPropsKeys = expandSelectPropsKeys;
4545
4647
  exports.expandTablePropsKeys = expandTablePropsKeys;
4648
+ exports.footerInfoProps = footerInfoProps;
4546
4649
  exports.formEmits = formEmits;
4547
4650
  exports.formEmitsKeys = formEmitsKeys;
4548
4651
  exports.formItemProps = formItemProps;