@webitel/ui-sdk 3.2.48 → 3.2.50
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/dist/ui-sdk.common.js +5 -4
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.umd.js +5 -4
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/modules/Filters/components/filter-table-fields.vue +61 -0
- package/src/scripts/debounce.js +4 -1
package/dist/ui-sdk.common.js
CHANGED
|
@@ -20085,7 +20085,8 @@ var lodash_debounce = __webpack_require__(296);
|
|
|
20085
20085
|
var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
|
|
20086
20086
|
;// CONCATENATED MODULE: ./src/scripts/debounce.js
|
|
20087
20087
|
|
|
20088
|
-
|
|
20088
|
+
const debounce = (fn, wait = 1000, options) => lodash_debounce_default()(fn, wait, options);
|
|
20089
|
+
/* harmony default export */ var scripts_debounce = (debounce);
|
|
20089
20090
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-search-bar/wt-search-bar.vue?vue&type=script&setup=true&lang=js
|
|
20090
20091
|
|
|
20091
20092
|
const wt_search_barvue_type_script_setup_true_lang_js_withScopeId = n => (_pushScopeId("data-v-382d3bcd"), n = n(), _popScopeId(), n);
|
|
@@ -20123,7 +20124,7 @@ const wt_search_barvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
|
20123
20124
|
emit
|
|
20124
20125
|
}) {
|
|
20125
20126
|
const props = __props;
|
|
20126
|
-
const search =
|
|
20127
|
+
const search = scripts_debounce(value => {
|
|
20127
20128
|
emit('search', value);
|
|
20128
20129
|
}, 1000);
|
|
20129
20130
|
function handleInput(value) {
|
|
@@ -22125,7 +22126,7 @@ const isEmpty_isEmpty = value => {
|
|
|
22125
22126
|
},
|
|
22126
22127
|
created() {
|
|
22127
22128
|
this.fetchOptions();
|
|
22128
|
-
this.fetchOptions =
|
|
22129
|
+
this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
|
|
22129
22130
|
}
|
|
22130
22131
|
});
|
|
22131
22132
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-select/wt-select.vue?vue&type=script&lang=js
|
|
@@ -24727,7 +24728,7 @@ function wt_paginationvue_type_template_id_811b3464_scoped_true_render(_ctx, _ca
|
|
|
24727
24728
|
defaultSize: '10'
|
|
24728
24729
|
}),
|
|
24729
24730
|
created() {
|
|
24730
|
-
if (this.debounce) this.changeSize =
|
|
24731
|
+
if (this.debounce) this.changeSize = scripts_debounce(this.changeSize, this.debounceDelay);
|
|
24731
24732
|
},
|
|
24732
24733
|
methods: {
|
|
24733
24734
|
inputHandler(value) {
|