@stsdti/funky-ui-kit 1.3.2 → 1.3.3
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/funky-ui-kit.es.js +34 -28
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/funky-ui-kit.es.js
CHANGED
|
@@ -17191,7 +17191,10 @@ class UIUtils {
|
|
|
17191
17191
|
cleanup();
|
|
17192
17192
|
}
|
|
17193
17193
|
});
|
|
17194
|
-
|
|
17194
|
+
const app2 = getApp();
|
|
17195
|
+
if (app2 == null ? void 0 : app2._context) {
|
|
17196
|
+
vNode.appContext = app2._context;
|
|
17197
|
+
}
|
|
17195
17198
|
render$2(vNode, container);
|
|
17196
17199
|
});
|
|
17197
17200
|
}
|
|
@@ -39413,7 +39416,7 @@ const _sfc_main$o = {
|
|
|
39413
39416
|
return changeLog.value.filter((item) => item.operation === OPERATION_ADD).map((item) => item.id);
|
|
39414
39417
|
});
|
|
39415
39418
|
const isLoadingLeft = ref(false);
|
|
39416
|
-
const isLoadingRight = ref(
|
|
39419
|
+
const isLoadingRight = ref(false);
|
|
39417
39420
|
const tableDataLeft = ref(TableUtils.createTableData());
|
|
39418
39421
|
const tableDataRight = ref(TableUtils.createTableData());
|
|
39419
39422
|
const listLeft = computed(() => lodashExports.get(tableDataLeft.value, "data", []));
|
|
@@ -39436,6 +39439,7 @@ const _sfc_main$o = {
|
|
|
39436
39439
|
var _a3;
|
|
39437
39440
|
isLoadingLeft.value = true;
|
|
39438
39441
|
if (!props2.tableFiltersLeft) {
|
|
39442
|
+
isLoadingLeft.value = false;
|
|
39439
39443
|
return;
|
|
39440
39444
|
}
|
|
39441
39445
|
let tableRequestLeft = lodashExports.cloneDeep(props2.tableFiltersLeft);
|
|
@@ -39464,6 +39468,7 @@ const _sfc_main$o = {
|
|
|
39464
39468
|
var _a3;
|
|
39465
39469
|
isLoadingRight.value = true;
|
|
39466
39470
|
if (!props2.tableFiltersRight) {
|
|
39471
|
+
isLoadingRight.value = false;
|
|
39467
39472
|
return;
|
|
39468
39473
|
}
|
|
39469
39474
|
let tableRequestRight = lodashExports.cloneDeep(props2.tableFiltersRight);
|
|
@@ -39527,46 +39532,47 @@ const _sfc_main$o = {
|
|
|
39527
39532
|
changeLogDictionary.value = newChangelogDictionary;
|
|
39528
39533
|
};
|
|
39529
39534
|
const reset2 = () => {
|
|
39530
|
-
|
|
39531
|
-
|
|
39532
|
-
|
|
39535
|
+
if (lodashExports.isEmpty(changeLog.value)) {
|
|
39536
|
+
fetchRightTable();
|
|
39537
|
+
fetchLeftTable();
|
|
39538
|
+
} else {
|
|
39539
|
+
changeLog.value = [];
|
|
39540
|
+
}
|
|
39533
39541
|
};
|
|
39534
39542
|
watch(
|
|
39535
|
-
|
|
39536
|
-
props2.tableFiltersLeft,
|
|
39537
|
-
searchLeft.value,
|
|
39538
|
-
changeLogRemoved.value,
|
|
39539
|
-
changeLogAdded.value,
|
|
39540
|
-
paginationDataLeft.value,
|
|
39541
|
-
|
|
39543
|
+
[
|
|
39544
|
+
() => props2.tableFiltersLeft,
|
|
39545
|
+
() => searchLeft.value,
|
|
39546
|
+
() => changeLogRemoved.value,
|
|
39547
|
+
() => changeLogAdded.value,
|
|
39548
|
+
() => paginationDataLeft.value.current_page,
|
|
39549
|
+
() => paginationDataLeft.value.per_page,
|
|
39550
|
+
() => isPaginationFull.value
|
|
39542
39551
|
],
|
|
39543
39552
|
() => {
|
|
39544
39553
|
fetchLeftTable();
|
|
39545
|
-
}
|
|
39554
|
+
},
|
|
39555
|
+
{ immediate: props2.fetchOnMount }
|
|
39546
39556
|
);
|
|
39547
39557
|
watch(
|
|
39548
|
-
|
|
39549
|
-
props2.tableFiltersRight,
|
|
39550
|
-
searchRight.value,
|
|
39551
|
-
changeLogRemoved.value,
|
|
39552
|
-
changeLogAdded.value,
|
|
39553
|
-
paginationDataRight.value,
|
|
39554
|
-
|
|
39558
|
+
[
|
|
39559
|
+
() => props2.tableFiltersRight,
|
|
39560
|
+
() => searchRight.value,
|
|
39561
|
+
() => changeLogRemoved.value,
|
|
39562
|
+
() => changeLogAdded.value,
|
|
39563
|
+
() => paginationDataRight.value.current_page,
|
|
39564
|
+
() => paginationDataRight.value.per_page,
|
|
39565
|
+
() => isPaginationFull.value
|
|
39555
39566
|
],
|
|
39556
39567
|
() => {
|
|
39557
39568
|
fetchRightTable();
|
|
39558
|
-
}
|
|
39569
|
+
},
|
|
39570
|
+
{ immediate: props2.fetchOnMount }
|
|
39559
39571
|
);
|
|
39560
39572
|
onMounted(() => {
|
|
39561
39573
|
emits("mounted", { fetchLeftTable, fetchRightTable, reset: reset2 });
|
|
39562
|
-
if (props2.fetchOnMount) {
|
|
39563
|
-
fetchRightTable();
|
|
39564
|
-
fetchLeftTable();
|
|
39565
|
-
}
|
|
39566
|
-
});
|
|
39567
|
-
__expose({
|
|
39568
|
-
reset: reset2
|
|
39569
39574
|
});
|
|
39575
|
+
__expose({ reset: reset2 });
|
|
39570
39576
|
return (_ctx, _cache2) => {
|
|
39571
39577
|
const _component_app_pagination = resolveComponent("app-pagination");
|
|
39572
39578
|
return openBlock(), createBlock(_sfc_main$p, {
|