@tripup-company/element-ui-extended 0.0.53 → 0.0.56

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.
@@ -24206,7 +24206,7 @@ if (typeof window !== 'undefined') {
24206
24206
  // EXTERNAL MODULE: ./src/styles/index.scss
24207
24207
  var styles = __webpack_require__("b20f");
24208
24208
 
24209
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5a433ff0-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=a7c88da2&scoped=true&
24209
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5a433ff0-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=2d5a8212&scoped=true&
24210
24210
  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._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,{
24211
24211
  topFilter: _vm.topFilter,
24212
24212
  search: _vm.search,
@@ -24216,7 +24216,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
24216
24216
  var staticRenderFns = []
24217
24217
 
24218
24218
 
24219
- // CONCATENATED MODULE: ./src/components/CompositeTable/index.vue?vue&type=template&id=a7c88da2&scoped=true&
24219
+ // CONCATENATED MODULE: ./src/components/CompositeTable/index.vue?vue&type=template&id=2d5a8212&scoped=true&
24220
24220
 
24221
24221
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
24222
24222
  var es_object_to_string = __webpack_require__("d3b7");
@@ -25721,7 +25721,7 @@ var filter_convertor_FilterConverter = /*#__PURE__*/function () {
25721
25721
  var searchArray = [],
25722
25722
  searchFieldsArray = [];
25723
25723
  Object.keys(search).forEach(function (key) {
25724
- if (search[key].operator && search[key].value || ['is_null', 'is_not_null'].includes(search[key].operator) || search[key].value === false) {
25724
+ if (search[key].operator && search[key].value.length || ['is_null', 'is_not_null'].includes(search[key].operator) || search[key].value === false) {
25725
25725
  var filter = filterFactory.createFilter(key, search[key]);
25726
25726
 
25727
25727
  var _filter$applyFilter = filter.applyFilter(),
@@ -26529,7 +26529,8 @@ var QuickSearchFilter_component = normalizeComponent(
26529
26529
  handleFilterChange: function handleFilterChange() {
26530
26530
  this.handleCurrentChange(1);
26531
26531
  },
26532
- handleApplyFilter: function handleApplyFilter() {
26532
+ handleApplyFilter: function handleApplyFilter(search) {
26533
+ this.search = search;
26533
26534
  this.listQueryService.updateListQuery({
26534
26535
  search: this.search
26535
26536
  });
@@ -26548,7 +26549,8 @@ var QuickSearchFilter_component = normalizeComponent(
26548
26549
  });
26549
26550
  this.handleFilterChange({});
26550
26551
  },
26551
- handleApplyTopFilter: function handleApplyTopFilter() {
26552
+ handleApplyTopFilter: function handleApplyTopFilter(topSearch) {
26553
+ this.topSearch = topSearch;
26552
26554
  this.listQueryService.updateListQuery({
26553
26555
  topSearch: this.topSearch
26554
26556
  });
@@ -26584,7 +26586,7 @@ var CompositeTable_component = normalizeComponent(
26584
26586
  staticRenderFns,
26585
26587
  false,
26586
26588
  null,
26587
- "a7c88da2",
26589
+ "2d5a8212",
26588
26590
  null
26589
26591
 
26590
26592
  )
@@ -27791,7 +27793,7 @@ var base_repository_BaseRepository = /*#__PURE__*/function () {
27791
27793
  var _this = this;
27792
27794
 
27793
27795
  return new Promise(function (resolve, reject) {
27794
- _this.request.$request({
27796
+ _this.request.request({
27795
27797
  url: _this.baseUrl,
27796
27798
  method: 'post',
27797
27799
  data: item
@@ -27809,7 +27811,7 @@ var base_repository_BaseRepository = /*#__PURE__*/function () {
27809
27811
 
27810
27812
  var include = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "--";
27811
27813
  return new Promise(function (resolve, reject) {
27812
- _this2.request.$request({
27814
+ _this2.request.request({
27813
27815
  url: _this2.baseUrl + "/" + id + "?include=" + include,
27814
27816
  method: "patch",
27815
27817
  data: item
@@ -27826,7 +27828,7 @@ var base_repository_BaseRepository = /*#__PURE__*/function () {
27826
27828
  var _this3 = this;
27827
27829
 
27828
27830
  return new Promise(function (resolve, reject) {
27829
- _this3.request.$request({
27831
+ _this3.request.request({
27830
27832
  url: _this3.baseUrl + "/" + id,
27831
27833
  method: "delete"
27832
27834
  }).then(function () {
@@ -27843,7 +27845,7 @@ var base_repository_BaseRepository = /*#__PURE__*/function () {
27843
27845
 
27844
27846
  var include = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "--";
27845
27847
  return new Promise(function (resolve, reject) {
27846
- _this4.request.$request({
27848
+ _this4.request.request({
27847
27849
  url: _this4.baseUrl + "/" + id + "?include=" + include,
27848
27850
  method: "get"
27849
27851
  }).then(function (response) {
@@ -27861,7 +27863,7 @@ var base_repository_BaseRepository = /*#__PURE__*/function () {
27861
27863
  var include = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "--";
27862
27864
  var filter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "";
27863
27865
  return new Promise(function (resolve, reject) {
27864
- _this5.request.$request({
27866
+ _this5.request.request({
27865
27867
  url: _this5.baseUrl + "?include=" + include + (filter === "" ? '' : '&selectFilter=' + filter),
27866
27868
  method: "get",
27867
27869
  params: query