@fecp/designer 5.5.61 → 5.5.63

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.
package/lib/designer.css CHANGED
@@ -6216,10 +6216,10 @@ body,
6216
6216
  align-items: center;
6217
6217
  flex-wrap: nowrap;
6218
6218
  }
6219
- .fec-form[data-v-0139a424] {
6219
+ .fec-form[data-v-5127d7fd] {
6220
6220
  height: 100%;
6221
6221
  }
6222
- .fec-form-col[data-v-0139a424] {
6222
+ .fec-form-col[data-v-5127d7fd] {
6223
6223
  padding: 0px !important;
6224
6224
  display: flex !important;
6225
6225
  flex-direction: column;
@@ -6228,22 +6228,22 @@ body,
6228
6228
  border-radius: 4px;
6229
6229
  overflow: hidden;
6230
6230
  }
6231
- [data-v-0139a424] .vgl-layout {
6231
+ [data-v-5127d7fd] .vgl-layout {
6232
6232
  position: relative;
6233
6233
  }
6234
- [data-v-0139a424] .vgl-item {
6234
+ [data-v-5127d7fd] .vgl-item {
6235
6235
  transition: none;
6236
6236
  }
6237
- [data-v-0139a424] .vgl-item > .el-form-item {
6237
+ [data-v-5127d7fd] .vgl-item > .el-form-item {
6238
6238
  width: 100%;
6239
6239
  padding: 6px 8px 0 8px;
6240
6240
  height: calc(100% - 15px);
6241
6241
  display: flex;
6242
6242
  }
6243
- [data-v-0139a424] .vgl-item > .el-form-item.el-form-item--label-top {
6243
+ [data-v-5127d7fd] .vgl-item > .el-form-item.el-form-item--label-top {
6244
6244
  flex-direction: column;
6245
6245
  }
6246
- [data-v-0139a424] .vgl-item > .el-form-item .el-form-item__label {
6246
+ [data-v-5127d7fd] .vgl-item > .el-form-item .el-form-item__label {
6247
6247
  line-height: 20px;
6248
6248
  display: inline-flex;
6249
6249
  align-items: center;
@@ -6257,107 +6257,107 @@ body,
6257
6257
  flex-shrink: 0;
6258
6258
  min-height: 45px;
6259
6259
  }
6260
- [data-v-0139a424] .vgl-item > .el-form-item {
6260
+ [data-v-5127d7fd] .vgl-item > .el-form-item {
6261
6261
  /* .el-form-item__error {
6262
6262
  padding-top: 10px;
6263
6263
  } */
6264
6264
  }
6265
- [data-v-0139a424] .vgl-item > .el-form-item .el-input__wrapper {
6265
+ [data-v-5127d7fd] .vgl-item > .el-form-item .el-input__wrapper {
6266
6266
  padding: 1px 12px;
6267
6267
  }
6268
- [data-v-0139a424] .vgl-item > .el-container {
6268
+ [data-v-5127d7fd] .vgl-item > .el-container {
6269
6269
  height: auto !important;
6270
6270
  }
6271
6271
  @media (min-width: 1720px) {
6272
- [data-v-0139a424] .vgl-item .el-form-item__label {
6272
+ [data-v-5127d7fd] .vgl-item .el-form-item__label {
6273
6273
  max-width: 160px !important;
6274
6274
  }
6275
- [data-v-0139a424] .vgl-item .el-form-item {
6275
+ [data-v-5127d7fd] .vgl-item .el-form-item {
6276
6276
  padding: 6px 8px 0 8px !important;
6277
6277
  }
6278
- [data-v-0139a424] .vgl-item .el-form-item .el-input__wrapper {
6278
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
6279
6279
  padding: 1px 12px;
6280
6280
  }
6281
- [data-v-0139a424] .vgl-item .el-form-item .el-select__wrapper {
6281
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
6282
6282
  padding: 8px 12px;
6283
6283
  }
6284
- .fec-el-form[data-v-0139a424] {
6284
+ .fec-el-form[data-v-5127d7fd] {
6285
6285
  padding: 12px !important;
6286
6286
  }
6287
6287
  }
6288
6288
  /* 标准 PC(1200px ~ 1439px)*/
6289
6289
  @media (min-width: 1366px) and (max-width: 1719px) {
6290
- [data-v-0139a424] .vgl-item .el-form-item__label {
6290
+ [data-v-5127d7fd] .vgl-item .el-form-item__label {
6291
6291
  max-width: 130px !important;
6292
6292
  padding-right: 6px !important;
6293
6293
  }
6294
- [data-v-0139a424] .vgl-item .el-form-item {
6294
+ [data-v-5127d7fd] .vgl-item .el-form-item {
6295
6295
  padding: 6px 0 0 0 !important;
6296
6296
  }
6297
- [data-v-0139a424] .vgl-item .el-form-item .el-input__wrapper {
6297
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
6298
6298
  padding: 1px 8px;
6299
6299
  }
6300
- [data-v-0139a424] .vgl-item .el-form-item .el-select__wrapper {
6300
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
6301
6301
  padding: 8px 8px;
6302
6302
  }
6303
- .fec-el-form[data-v-0139a424] {
6303
+ .fec-el-form[data-v-5127d7fd] {
6304
6304
  padding: 8px !important;
6305
6305
  }
6306
6306
  }
6307
6307
  /* 2. 标准 PC 992px ~ 1199px */
6308
6308
  @media (min-width: 992px) and (max-width: 1365px) {
6309
- [data-v-0139a424] .vgl-item .el-form-item__label {
6309
+ [data-v-5127d7fd] .vgl-item .el-form-item__label {
6310
6310
  max-width: 125px !important;
6311
6311
  padding-right: 4px !important;
6312
6312
  }
6313
- [data-v-0139a424] .vgl-item .el-form-item {
6313
+ [data-v-5127d7fd] .vgl-item .el-form-item {
6314
6314
  padding: 0 !important;
6315
6315
  }
6316
- [data-v-0139a424] .vgl-item .el-form-item .el-input__wrapper {
6316
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
6317
6317
  padding: 1px 6px;
6318
6318
  }
6319
- [data-v-0139a424] .vgl-item .el-form-item .el-select__wrapper {
6319
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
6320
6320
  padding: 8px 6px;
6321
6321
  }
6322
- .fec-el-form[data-v-0139a424] {
6322
+ .fec-el-form[data-v-5127d7fd] {
6323
6323
  padding: 6px !important;
6324
6324
  }
6325
6325
  }
6326
6326
  /* 3. 小屏 PC / 窄窗口 <992px(最小到768px)*/
6327
6327
  @media (max-width: 991px) and (min-width: 768px) {
6328
- [data-v-0139a424] .vgl-item .el-form-item__label {
6328
+ [data-v-5127d7fd] .vgl-item .el-form-item__label {
6329
6329
  max-width: 100px !important;
6330
6330
  padding-right: 4px !important;
6331
6331
  }
6332
- [data-v-0139a424] .vgl-item .el-form-item {
6332
+ [data-v-5127d7fd] .vgl-item .el-form-item {
6333
6333
  padding: 0 !important;
6334
6334
  }
6335
- [data-v-0139a424] .vgl-item .el-form-item .el-input__wrapper {
6335
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
6336
6336
  padding: 1px 4px;
6337
6337
  }
6338
- [data-v-0139a424] .vgl-item .el-form-item .el-select__wrapper {
6338
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
6339
6339
  padding: 8px 4px;
6340
6340
  }
6341
- .fec-el-form[data-v-0139a424] {
6341
+ .fec-el-form[data-v-5127d7fd] {
6342
6342
  padding: 6px !important;
6343
6343
  }
6344
6344
  }
6345
6345
  /* 超小屏 <768px */
6346
6346
  @media (max-width: 767px) {
6347
- [data-v-0139a424] .vgl-item .el-form-item__label {
6347
+ [data-v-5127d7fd] .vgl-item .el-form-item__label {
6348
6348
  max-width: 80px !important;
6349
6349
  padding-right: 4px !important;
6350
6350
  }
6351
- [data-v-0139a424] .vgl-item .el-form-item {
6351
+ [data-v-5127d7fd] .vgl-item .el-form-item {
6352
6352
  padding: 0 !important;
6353
6353
  }
6354
- [data-v-0139a424] .vgl-item .el-form-item .el-input__wrapper {
6354
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
6355
6355
  padding: 1px 2px;
6356
6356
  }
6357
- [data-v-0139a424] .vgl-item .el-form-item .el-select__wrapper {
6357
+ [data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
6358
6358
  padding: 8px 2px;
6359
6359
  }
6360
- .fec-el-form[data-v-0139a424] {
6360
+ .fec-el-form[data-v-5127d7fd] {
6361
6361
  padding: 6px !important;
6362
6362
  }
6363
6363
  }.table-pagination[data-v-142fdd35] {
@@ -6890,24 +6890,24 @@ body,
6890
6890
  :root,:host{--van-highlight-tag-color: var(--van-primary-color)}.van-highlight__tag{color:var(--van-highlight-tag-color)}
6891
6891
  :root,:host{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 50px;--van-list-loading-icon-size: 16px}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}
6892
6892
 
6893
- .mTableContent[data-v-cb55356f] {
6893
+ .mTableContent[data-v-f2f747af] {
6894
6894
  flex: 1;
6895
6895
  height: 100%;
6896
6896
  }
6897
- .mTableContent.notAutoHeight[data-v-cb55356f] {
6897
+ .mTableContent.notAutoHeight[data-v-f2f747af] {
6898
6898
  overflow: auto;
6899
6899
  }
6900
- .mTableContent[data-v-cb55356f] .fixedHead {
6900
+ .mTableContent[data-v-f2f747af] .fixedHead {
6901
6901
  height: 100%;
6902
6902
  overflow: hidden;
6903
6903
  }
6904
- .mTableContent.isCard[data-v-cb55356f] {
6904
+ .mTableContent.isCard[data-v-f2f747af] {
6905
6905
  margin: 12px;
6906
6906
  }
6907
- .mTableContent.isShadow[data-v-cb55356f] {
6907
+ .mTableContent.isShadow[data-v-f2f747af] {
6908
6908
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
6909
6909
  }
6910
- .custom-loading[data-v-cb55356f] {
6910
+ .custom-loading[data-v-f2f747af] {
6911
6911
  height: 100%;
6912
6912
  width: 100%;
6913
6913
  display: flex;
@@ -6915,16 +6915,16 @@ body,
6915
6915
  align-items: center;
6916
6916
  color: var(--van-blue);
6917
6917
  }
6918
- .custom-loading .van-loading__text[data-v-cb55356f] {
6918
+ .custom-loading .van-loading__text[data-v-f2f747af] {
6919
6919
  color: var(--van-blue);
6920
6920
  }
6921
- .fec-table[data-v-cb55356f] .fec-table-row-swipe {
6921
+ .fec-table[data-v-f2f747af] .fec-table-row-swipe {
6922
6922
  display: table;
6923
6923
  }
6924
- .fec-table[data-v-cb55356f] .fec-table-row-swipe .van-swipe-cell__wrapper {
6924
+ .fec-table[data-v-f2f747af] .fec-table-row-swipe .van-swipe-cell__wrapper {
6925
6925
  display: table-row-group;
6926
6926
  }
6927
- .van-swipe-cell__wrapper[data-v-cb55356f] {
6927
+ .van-swipe-cell__wrapper[data-v-f2f747af] {
6928
6928
  display: table-row-group;
6929
6929
  }
6930
6930
  :root,:host{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
@@ -6937,11 +6937,11 @@ body,
6937
6937
  .vue-render-container[data-v-91bc8b03] {
6938
6938
  min-height: 200px;
6939
6939
  }
6940
- .fec-card-list[data-v-5ded7368] {
6940
+ .fec-card-list[data-v-97044b6f] {
6941
6941
  flex: 1;
6942
6942
  overflow: auto;
6943
6943
  }
6944
- .fec-card-list[data-v-5ded7368] .fec-card {
6944
+ .fec-card-list[data-v-97044b6f] .fec-card {
6945
6945
  min-height: 100px;
6946
6946
  }:root,:host{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-item-icon-size: 18px;--van-action-sheet-item-icon-margin-right: var(--van-padding-xs);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__item-icon{font-size:var(--van-action-sheet-item-icon-size);margin-right:var(--van-action-sheet-item-icon-margin-right)}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{width:100%;margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height);overflow-wrap:break-word}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
6947
6947
  :root,:host{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-option-disabled-color: var(--van-text-color-3);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__bar--scrollable{padding-left:var(--van-padding-base);padding-right:var(--van-padding-xs);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-dropdown-menu__bar--scrollable::-webkit-scrollbar{display:none}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__item--grow{flex:1 0 auto;padding-left:var(--van-padding-base);padding-right:var(--van-padding-sm)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}
@@ -47,6 +47,14 @@ const _sfc_main = {
47
47
  vueTemplate: {
48
48
  type: String,
49
49
  default: ""
50
+ },
51
+ enableFilter: {
52
+ type: Boolean,
53
+ default: false
54
+ },
55
+ filterPlaceholder: {
56
+ type: String,
57
+ default: ""
50
58
  }
51
59
  },
52
60
  setup(__props) {
@@ -133,43 +141,50 @@ const _sfc_main = {
133
141
  }
134
142
  }
135
143
  return (_ctx, _cache) => {
144
+ const _component_fec_mobile_search = Vue.resolveComponent("fec-mobile-search");
136
145
  const _component_fec_mobile_card = Vue.resolveComponent("fec-mobile-card");
137
146
  const _component_van_list = index.List;
138
- return Vue.openBlock(), Vue.createBlock(_component_van_list, {
139
- ref_key: "listRef",
140
- ref: listRef,
141
- loading: Vue.unref(loading),
142
- "onUpdate:loading": _cache[0] || (_cache[0] = ($event) => Vue.isRef(loading) ? loading.value = $event : null),
143
- error: Vue.unref(error),
144
- "onUpdate:error": _cache[1] || (_cache[1] = ($event) => Vue.isRef(error) ? error.value = $event : null),
145
- finished: Vue.unref(finished),
146
- disabled: __props.disabledLoad,
147
- offset: __props.offset,
148
- "finished-text": "没有更多了",
149
- "error-text": "请求失败,点击重新加载",
150
- onLoad,
151
- class: "fec-card-list"
152
- }, {
153
- default: Vue.withCtx(() => [
154
- (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(tableData), (item) => {
155
- return Vue.openBlock(), Vue.createBlock(_component_fec_mobile_card, {
156
- key: item.id,
157
- swipeDelete: __props.swipeDelete
158
- }, {
159
- default: Vue.withCtx(() => [
160
- Vue.createVNode(VueRender.default, {
161
- code: __props.vueTemplate,
162
- params: { data: item, eventHandler }
163
- }, null, 8, ["code", "params"])
164
- ]),
165
- _: 2
166
- }, 1032, ["swipeDelete"]);
167
- }), 128))
168
- ]),
169
- _: 1
170
- }, 8, ["loading", "error", "finished", "disabled", "offset"]);
147
+ return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
148
+ __props.enableFilter ? (Vue.openBlock(), Vue.createBlock(_component_fec_mobile_search, {
149
+ key: 0,
150
+ placeholder: __props.filterPlaceholder
151
+ }, null, 8, ["placeholder"])) : Vue.createCommentVNode("", true),
152
+ Vue.createVNode(_component_van_list, {
153
+ ref_key: "listRef",
154
+ ref: listRef,
155
+ loading: Vue.unref(loading),
156
+ "onUpdate:loading": _cache[0] || (_cache[0] = ($event) => Vue.isRef(loading) ? loading.value = $event : null),
157
+ error: Vue.unref(error),
158
+ "onUpdate:error": _cache[1] || (_cache[1] = ($event) => Vue.isRef(error) ? error.value = $event : null),
159
+ finished: Vue.unref(finished),
160
+ disabled: __props.disabledLoad,
161
+ offset: __props.offset,
162
+ "finished-text": "没有更多了",
163
+ "error-text": "请求失败,点击重新加载",
164
+ onLoad,
165
+ class: "fec-card-list"
166
+ }, {
167
+ default: Vue.withCtx(() => [
168
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(tableData), (item) => {
169
+ return Vue.openBlock(), Vue.createBlock(_component_fec_mobile_card, {
170
+ key: item.id,
171
+ swipeDelete: __props.swipeDelete
172
+ }, {
173
+ default: Vue.withCtx(() => [
174
+ Vue.createVNode(VueRender.default, {
175
+ code: __props.vueTemplate,
176
+ params: { data: item, eventHandler }
177
+ }, null, 8, ["code", "params"])
178
+ ]),
179
+ _: 2
180
+ }, 1032, ["swipeDelete"]);
181
+ }), 128))
182
+ ]),
183
+ _: 1
184
+ }, 8, ["loading", "error", "finished", "disabled", "offset"])
185
+ ], 64);
171
186
  };
172
187
  }
173
188
  };
174
- const _CardList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-5ded7368"]]);
189
+ const _CardList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-97044b6f"]]);
175
190
  exports.default = _CardList;
@@ -121,6 +121,14 @@ const _sfc_main = {
121
121
  //左滑编辑
122
122
  type: Boolean,
123
123
  default: false
124
+ },
125
+ enableFilter: {
126
+ type: Boolean,
127
+ default: false
128
+ },
129
+ filterPlaceholder: {
130
+ type: String,
131
+ default: ""
124
132
  }
125
133
  },
126
134
  emits: [
@@ -422,129 +430,136 @@ const _sfc_main = {
422
430
  }
423
431
  }
424
432
  return (_ctx, _cache) => {
433
+ const _component_fec_mobile_search = Vue.resolveComponent("fec-mobile-search");
425
434
  const _component_van_list = index$3.List;
426
435
  const _component_van_cell_group = index$2.CellGroup;
427
- return Vue.openBlock(), Vue.createBlock(_component_van_cell_group, {
428
- class: Vue.normalizeClass(["mTableContent", {
429
- notAutoHeight: !__props.autoHeight,
430
- isShadow: __props.isCard && __props.isShadow,
431
- isCard: __props.isCard
432
- }]),
433
- style: Vue.normalizeStyle("height:" + Vue.unref(compHeight)),
434
- ref_key: "listRef",
435
- ref: listRef,
436
- inset: __props.isCard
437
- }, {
438
- default: Vue.withCtx(() => [
439
- Vue.createVNode(_component_van_list, {
440
- class: Vue.normalizeClass({ fixedHead: __props.isFixedHead }),
441
- loading: Vue.unref(loading),
442
- "onUpdate:loading": _cache[0] || (_cache[0] = ($event) => Vue.isRef(loading) ? loading.value = $event : null),
443
- error: Vue.unref(listError),
444
- "onUpdate:error": _cache[1] || (_cache[1] = ($event) => Vue.isRef(listError) ? listError.value = $event : null),
445
- finished: Vue.unref(listFinished),
446
- disabled: !__props.scrollLoad || __props.isFixedHead,
447
- offset: 0,
448
- "finished-text": "没有更多了",
449
- "error-text": "请求失败,点击重新加载",
450
- onLoad
451
- }, {
452
- default: Vue.withCtx(() => [
453
- Vue.createVNode(Vue.unref(vxeTable.VxeGrid), {
454
- ref_key: "gridRef",
455
- ref: gridRef,
456
- class: "fec-table",
457
- width: "100%",
458
- "auto-resize": "",
459
- data: Vue.unref(tableData),
460
- columns: Vue.unref(columnOptions),
461
- size: __props.size,
462
- headerAlign: "center",
463
- footerAlign: "center",
464
- align: "center",
465
- border: __props.border,
466
- round: __props.round || __props.isCard,
467
- stripe: __props.stripe,
468
- height: __props.isFixedHead ? Vue.unref(compHeight) : "",
469
- loading: Vue.unref(initLoading),
470
- showHeader: __props.showHeader,
471
- onScrollBoundary: onScrollLoads,
472
- virtualYConfig,
473
- onCellClick: cellClickEvent
474
- }, Vue.createSlots({
475
- loading: Vue.withCtx(() => [
476
- _cache[2] || (_cache[2] = Vue.createElementVNode("div", {
477
- class: "custom-loading van-loading van-loading--circular van-list__loading-icon",
478
- "aria-live": "polite",
479
- "aria-busy": "true"
480
- }, [
481
- Vue.createElementVNode("span", { class: "van-loading__spinner van-loading__spinner--circular" }, [
482
- Vue.createElementVNode("svg", {
483
- class: "van-loading__circular",
484
- viewBox: "25 25 50 50"
485
- }, [
486
- Vue.createElementVNode("circle", {
487
- cx: "50",
488
- cy: "50",
489
- r: "20",
490
- fill: "none"
491
- })
436
+ return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
437
+ __props.enableFilter ? (Vue.openBlock(), Vue.createBlock(_component_fec_mobile_search, {
438
+ key: 0,
439
+ placeholder: __props.filterPlaceholder
440
+ }, null, 8, ["placeholder"])) : Vue.createCommentVNode("", true),
441
+ Vue.createVNode(_component_van_cell_group, {
442
+ class: Vue.normalizeClass(["mTableContent", {
443
+ notAutoHeight: !__props.autoHeight,
444
+ isShadow: __props.isCard && __props.isShadow,
445
+ isCard: __props.isCard
446
+ }]),
447
+ style: Vue.normalizeStyle("height:" + Vue.unref(compHeight)),
448
+ ref_key: "listRef",
449
+ ref: listRef,
450
+ inset: __props.isCard
451
+ }, {
452
+ default: Vue.withCtx(() => [
453
+ Vue.createVNode(_component_van_list, {
454
+ class: Vue.normalizeClass({ fixedHead: __props.isFixedHead }),
455
+ loading: Vue.unref(loading),
456
+ "onUpdate:loading": _cache[0] || (_cache[0] = ($event) => Vue.isRef(loading) ? loading.value = $event : null),
457
+ error: Vue.unref(listError),
458
+ "onUpdate:error": _cache[1] || (_cache[1] = ($event) => Vue.isRef(listError) ? listError.value = $event : null),
459
+ finished: Vue.unref(listFinished),
460
+ disabled: !__props.scrollLoad || __props.isFixedHead,
461
+ offset: 0,
462
+ "finished-text": "没有更多了",
463
+ "error-text": "请求失败,点击重新加载",
464
+ onLoad
465
+ }, {
466
+ default: Vue.withCtx(() => [
467
+ Vue.createVNode(Vue.unref(vxeTable.VxeGrid), {
468
+ ref_key: "gridRef",
469
+ ref: gridRef,
470
+ class: "fec-table",
471
+ width: "100%",
472
+ "auto-resize": "",
473
+ data: Vue.unref(tableData),
474
+ columns: Vue.unref(columnOptions),
475
+ size: __props.size,
476
+ headerAlign: "center",
477
+ footerAlign: "center",
478
+ align: "center",
479
+ border: __props.border,
480
+ round: __props.round || __props.isCard,
481
+ stripe: __props.stripe,
482
+ height: __props.isFixedHead ? Vue.unref(compHeight) : "",
483
+ loading: Vue.unref(initLoading),
484
+ showHeader: __props.showHeader,
485
+ onScrollBoundary: onScrollLoads,
486
+ virtualYConfig,
487
+ onCellClick: cellClickEvent
488
+ }, Vue.createSlots({
489
+ loading: Vue.withCtx(() => [
490
+ _cache[2] || (_cache[2] = Vue.createElementVNode("div", {
491
+ class: "custom-loading van-loading van-loading--circular van-list__loading-icon",
492
+ "aria-live": "polite",
493
+ "aria-busy": "true"
494
+ }, [
495
+ Vue.createElementVNode("span", { class: "van-loading__spinner van-loading__spinner--circular" }, [
496
+ Vue.createElementVNode("svg", {
497
+ class: "van-loading__circular",
498
+ viewBox: "25 25 50 50"
499
+ }, [
500
+ Vue.createElementVNode("circle", {
501
+ cx: "50",
502
+ cy: "50",
503
+ r: "20",
504
+ fill: "none"
505
+ })
506
+ ])
507
+ ]),
508
+ Vue.createElementVNode("span", { class: "van-loading__text" }, "加载中...")
509
+ ], -1))
510
+ ]),
511
+ bottom: Vue.withCtx(() => [
512
+ __props.scrollLoad && __props.isFixedHead ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
513
+ Vue.unref(finished) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, " 没有更多了 ")) : Vue.createCommentVNode("", true),
514
+ Vue.unref(loading) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, _cache[3] || (_cache[3] = [
515
+ Vue.createElementVNode("div", {
516
+ class: "van-loading van-loading--circular van-list__loading-icon",
517
+ "aria-live": "polite",
518
+ "aria-busy": "true"
519
+ }, [
520
+ Vue.createElementVNode("span", { class: "van-loading__spinner van-loading__spinner--circular" }, [
521
+ Vue.createElementVNode("svg", {
522
+ class: "van-loading__circular",
523
+ viewBox: "25 25 50 50"
524
+ }, [
525
+ Vue.createElementVNode("circle", {
526
+ cx: "50",
527
+ cy: "50",
528
+ r: "20",
529
+ fill: "none"
530
+ })
531
+ ])
532
+ ]),
533
+ Vue.createElementVNode("span", { class: "van-loading__text" }, "加载中...")
534
+ ], -1)
535
+ ]))) : Vue.createCommentVNode("", true),
536
+ Vue.unref(error) ? (Vue.openBlock(), Vue.createElementBlock("div", {
537
+ key: 2,
538
+ class: "van-list__error-text",
539
+ onClick: errReload
540
+ }, " 请求失败,点击重新加载 ")) : Vue.createCommentVNode("", true)
541
+ ], 64)) : Vue.createCommentVNode("", true)
542
+ ]),
543
+ _: 2
544
+ }, [
545
+ Vue.renderList(_ctx.$slots, (item, key) => {
546
+ return {
547
+ name: key,
548
+ fn: Vue.withCtx(() => [
549
+ key != "bottom" ? Vue.renderSlot(_ctx.$slots, key, { key: 0 }, void 0, true) : Vue.createCommentVNode("", true)
492
550
  ])
493
- ]),
494
- Vue.createElementVNode("span", { class: "van-loading__text" }, "加载中...")
495
- ], -1))
496
- ]),
497
- bottom: Vue.withCtx(() => [
498
- __props.scrollLoad && __props.isFixedHead ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
499
- Vue.unref(finished) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, " 没有更多了 ")) : Vue.createCommentVNode("", true),
500
- Vue.unref(loading) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, _cache[3] || (_cache[3] = [
501
- Vue.createElementVNode("div", {
502
- class: "van-loading van-loading--circular van-list__loading-icon",
503
- "aria-live": "polite",
504
- "aria-busy": "true"
505
- }, [
506
- Vue.createElementVNode("span", { class: "van-loading__spinner van-loading__spinner--circular" }, [
507
- Vue.createElementVNode("svg", {
508
- class: "van-loading__circular",
509
- viewBox: "25 25 50 50"
510
- }, [
511
- Vue.createElementVNode("circle", {
512
- cx: "50",
513
- cy: "50",
514
- r: "20",
515
- fill: "none"
516
- })
517
- ])
518
- ]),
519
- Vue.createElementVNode("span", { class: "van-loading__text" }, "加载中...")
520
- ], -1)
521
- ]))) : Vue.createCommentVNode("", true),
522
- Vue.unref(error) ? (Vue.openBlock(), Vue.createElementBlock("div", {
523
- key: 2,
524
- class: "van-list__error-text",
525
- onClick: errReload
526
- }, " 请求失败,点击重新加载 ")) : Vue.createCommentVNode("", true)
527
- ], 64)) : Vue.createCommentVNode("", true)
528
- ]),
529
- _: 2
530
- }, [
531
- Vue.renderList(_ctx.$slots, (item, key) => {
532
- return {
533
- name: key,
534
- fn: Vue.withCtx(() => [
535
- key != "bottom" ? Vue.renderSlot(_ctx.$slots, key, { key: 0 }, void 0, true) : Vue.createCommentVNode("", true)
536
- ])
537
- };
538
- })
539
- ]), 1032, ["data", "columns", "size", "border", "round", "stripe", "height", "loading", "showHeader"])
540
- ]),
541
- _: 3
542
- }, 8, ["class", "loading", "error", "finished", "disabled"])
543
- ]),
544
- _: 3
545
- }, 8, ["class", "style", "inset"]);
551
+ };
552
+ })
553
+ ]), 1032, ["data", "columns", "size", "border", "round", "stripe", "height", "loading", "showHeader"])
554
+ ]),
555
+ _: 3
556
+ }, 8, ["class", "loading", "error", "finished", "disabled"])
557
+ ]),
558
+ _: 3
559
+ }, 8, ["class", "style", "inset"])
560
+ ], 64);
546
561
  };
547
562
  }
548
563
  };
549
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-cb55356f"]]);
564
+ const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-f2f747af"]]);
550
565
  exports.default = _Table;