@webitel/ui-sdk 3.2.49 → 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.umd.js
CHANGED
|
@@ -20103,7 +20103,8 @@ var lodash_debounce = __webpack_require__(296);
|
|
|
20103
20103
|
var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
|
|
20104
20104
|
;// CONCATENATED MODULE: ./src/scripts/debounce.js
|
|
20105
20105
|
|
|
20106
|
-
|
|
20106
|
+
const debounce = (fn, wait = 1000, options) => lodash_debounce_default()(fn, wait, options);
|
|
20107
|
+
/* harmony default export */ var scripts_debounce = (debounce);
|
|
20107
20108
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
20108
20109
|
|
|
20109
20110
|
const wt_search_barvue_type_script_setup_true_lang_js_withScopeId = n => (_pushScopeId("data-v-382d3bcd"), n = n(), _popScopeId(), n);
|
|
@@ -20141,7 +20142,7 @@ const wt_search_barvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
|
20141
20142
|
emit
|
|
20142
20143
|
}) {
|
|
20143
20144
|
const props = __props;
|
|
20144
|
-
const search =
|
|
20145
|
+
const search = scripts_debounce(value => {
|
|
20145
20146
|
emit('search', value);
|
|
20146
20147
|
}, 1000);
|
|
20147
20148
|
function handleInput(value) {
|
|
@@ -22143,7 +22144,7 @@ const isEmpty_isEmpty = value => {
|
|
|
22143
22144
|
},
|
|
22144
22145
|
created() {
|
|
22145
22146
|
this.fetchOptions();
|
|
22146
|
-
this.fetchOptions =
|
|
22147
|
+
this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
|
|
22147
22148
|
}
|
|
22148
22149
|
});
|
|
22149
22150
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
@@ -24745,7 +24746,7 @@ function wt_paginationvue_type_template_id_811b3464_scoped_true_render(_ctx, _ca
|
|
|
24745
24746
|
defaultSize: '10'
|
|
24746
24747
|
}),
|
|
24747
24748
|
created() {
|
|
24748
|
-
if (this.debounce) this.changeSize =
|
|
24749
|
+
if (this.debounce) this.changeSize = scripts_debounce(this.changeSize, this.debounceDelay);
|
|
24749
24750
|
},
|
|
24750
24751
|
methods: {
|
|
24751
24752
|
inputHandler(value) {
|