@tripup-company/element-ui-extended 0.0.80 → 0.0.81

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.
@@ -24197,17 +24197,17 @@ if (typeof window !== 'undefined') {
24197
24197
  // EXTERNAL MODULE: ./src/styles/index.scss
24198
24198
  var styles = __webpack_require__("b20f");
24199
24199
 
24200
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3ffeb5ea-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CompositeTable/index.vue?vue&type=template&id=4981e475&scoped=true&
24201
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"composite-table"},[_vm._t("default",function(){return [_c('el-row',{attrs:{"gutter":20}},[_c('el-col',{attrs:{"span":_vm.filters.length ? 18 : 24}},[(_vm.showTopFilter)?_vm._t("top-filter",function(){return [_c('generic-filter',{attrs:{"filters":_vm.filters,"search":_vm.search},on:{"apply:filter":_vm.handleApplyFilter,"reset:filter":_vm.handleResetFilter}})]},null,{ filters: _vm.filters, search: _vm.search, handleApplyFilter: _vm.handleApplyFilter, handleResetFilter: _vm.handleResetFilter }):_vm._e(),_vm._t("quick-search-filter",function(){return [(_vm.topFilter)?_c('quick-search-filter',{attrs:{"filter":_vm.topFilter,"search":_vm.topSearch},on:{"apply:filter":_vm.handleApplyTopFilter,"reset:filter":_vm.handleResetTopFilter}}):_vm._e()]},null,{
24200
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3ffeb5ea-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CompositeTable/index.vue?vue&type=template&id=3aa546cb&scoped=true&
24201
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"composite-table"},[_vm._t("default",function(){return [_c('el-row',{attrs:{"gutter":20}},[_c('el-col',{attrs:{"span":_vm.filters.length && _vm.showRightFilter ? 18 : 24}},[(_vm.showTopFilter)?_vm._t("top-filter",function(){return [_c('generic-filter',{attrs:{"filters":_vm.filters,"search":_vm.search},on:{"apply:filter":_vm.handleApplyFilter,"reset:filter":_vm.handleResetFilter}})]},null,{ filters: _vm.filters, search: _vm.search, handleApplyFilter: _vm.handleApplyFilter, handleResetFilter: _vm.handleResetFilter }):_vm._e(),_vm._t("quick-search-filter",function(){return [(_vm.topFilter)?_c('quick-search-filter',{attrs:{"filter":_vm.topFilter,"search":_vm.topSearch},on:{"apply:filter":_vm.handleApplyTopFilter,"reset:filter":_vm.handleResetTopFilter}}):_vm._e()]},null,{
24202
24202
  topFilter: _vm.topFilter,
24203
24203
  topSearch: _vm.topSearch,
24204
24204
  handleApplyTopFilter: _vm.handleApplyTopFilter,
24205
24205
  handleResetTopFilter: _vm.handleResetTopFilter,
24206
- }),_vm._t("table",function(){return [_c('generic-table',{attrs:{"fields":_vm.fields,"data":_vm.data},on:{"sort:change":_vm.handleChangeSort}})]},null,{ fields: _vm.fields, data: _vm.data }),_c('el-row',[_c('el-col',[_vm._t("paginator",function(){return [_c('generic-paginator',{attrs:{"total":_vm.total,"limit":_vm.limit,"current-page":_vm.currentPage},on:{"size:change":_vm.handleSizeChange,"page:change":_vm.handleCurrentChange}})]},null,{ total: _vm.total, limit: _vm.limit, currentPage: _vm.currentPage })],2)],1)],2),_c('el-col',{attrs:{"span":_vm.filters.length ? 6 : 0}},[(_vm.showLeftFilter)?_vm._t("filter",function(){return [(_vm.filters.length)?_c('generic-filter',{attrs:{"filters":_vm.filters,"search":_vm.search},on:{"apply:filter":_vm.handleApplyFilter,"reset:filter":_vm.handleResetFilter}}):_vm._e()]},null,{ filters: _vm.filters, search: _vm.search, handleApplyFilter: _vm.handleApplyFilter, handleResetFilter: _vm.handleResetFilter }):_vm._e()],2)],1)]})],2)}
24206
+ }),_vm._t("table",function(){return [_c('generic-table',{attrs:{"fields":_vm.fields,"data":_vm.data},on:{"sort:change":_vm.handleChangeSort}})]},null,{ fields: _vm.fields, data: _vm.data }),_c('el-row',[_c('el-col',[_vm._t("paginator",function(){return [_c('generic-paginator',{attrs:{"total":_vm.total,"limit":_vm.limit,"current-page":_vm.currentPage},on:{"size:change":_vm.handleSizeChange,"page:change":_vm.handleCurrentChange}})]},null,{ total: _vm.total, limit: _vm.limit, currentPage: _vm.currentPage })],2)],1)],2),_c('el-col',{attrs:{"span":_vm.filters.length ? 6 : 0}},[(_vm.showRightFilter)?_vm._t("filter",function(){return [(_vm.filters.length)?_c('generic-filter',{attrs:{"filters":_vm.filters,"search":_vm.search},on:{"apply:filter":_vm.handleApplyFilter,"reset:filter":_vm.handleResetFilter}}):_vm._e()]},null,{ filters: _vm.filters, search: _vm.search, handleApplyFilter: _vm.handleApplyFilter, handleResetFilter: _vm.handleResetFilter }):_vm._e()],2)],1)]})],2)}
24207
24207
  var staticRenderFns = []
24208
24208
 
24209
24209
 
24210
- // CONCATENATED MODULE: ./src/components/CompositeTable/index.vue?vue&type=template&id=4981e475&scoped=true&
24210
+ // CONCATENATED MODULE: ./src/components/CompositeTable/index.vue?vue&type=template&id=3aa546cb&scoped=true&
24211
24211
 
24212
24212
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
24213
24213
  var es_object_to_string = __webpack_require__("d3b7");
@@ -25820,7 +25820,7 @@ var filter_convertor_FilterConverter = /*#__PURE__*/function () {
25820
25820
  var searchArray = [],
25821
25821
  searchFieldsArray = [];
25822
25822
  Object.keys(search).forEach(function (key) {
25823
- if (search[key].value === '' || search[key].value instanceof Array && search[key].value.length === 0) {
25823
+ if (search[key].value instanceof Array && search[key].value.length === 0) {
25824
25824
  return true;
25825
25825
  }
25826
25826
 
@@ -26474,7 +26474,7 @@ var QuickSearchFilter_component = normalizeComponent(
26474
26474
  default: false,
26475
26475
  type: Boolean
26476
26476
  },
26477
- showLeftFilter: {
26477
+ showRightFilter: {
26478
26478
  default: true,
26479
26479
  type: Boolean
26480
26480
  },
@@ -26517,13 +26517,18 @@ var QuickSearchFilter_component = normalizeComponent(
26517
26517
  storageKey: {
26518
26518
  default: "storage.key",
26519
26519
  type: String
26520
+ },
26521
+ filterConvertor: {
26522
+ default: function _default() {
26523
+ return new filter_convertor_FilterConverter();
26524
+ },
26525
+ type: Object
26520
26526
  }
26521
26527
  },
26522
26528
  data: function data() {
26523
26529
  var localStorage = new local_storage_service_LocalStorageService(this.storageKey);
26524
26530
  var listQueryService = new list_query_service_ListQueryService(this.$route ? this.$route.name : "storage.key", localStorage);
26525
26531
  var listQueryObj = listQueryService.getListQuery();
26526
- var filterConvertor = new filter_convertor_FilterConverter();
26527
26532
  var search = {};
26528
26533
  var topSearch = {};
26529
26534
 
@@ -26573,7 +26578,6 @@ var QuickSearchFilter_component = normalizeComponent(
26573
26578
  data: [],
26574
26579
  search: search,
26575
26580
  topSearch: topSearch,
26576
- filterConvertor: filterConvertor,
26577
26581
  meta: listQueryService.getListQuery().meta,
26578
26582
  metaModel: new meta_model_MetaModel(),
26579
26583
  listQueryService: listQueryService,
@@ -26739,7 +26743,7 @@ var CompositeTable_component = normalizeComponent(
26739
26743
  staticRenderFns,
26740
26744
  false,
26741
26745
  null,
26742
- "4981e475",
26746
+ "3aa546cb",
26743
26747
  null
26744
26748
 
26745
26749
  )