tsv2-library 1.1.0-dev-alpha.30 → 1.1.0-dev-alpha.32
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.
|
@@ -11,6 +11,7 @@ export interface TreeListData {
|
|
|
11
11
|
}
|
|
12
12
|
export type RoleType = 'Manager' | 'Monitoring' | 'Approval' | 'Staff';
|
|
13
13
|
export interface TreeRoleParams {
|
|
14
|
+
showAll?: boolean;
|
|
14
15
|
systemRole?: SystemRoleAttribute[];
|
|
15
16
|
transactionAttribute?: TransactionAttribute[];
|
|
16
17
|
roleType?: RoleType[];
|
package/dist/tsv2-library.es.js
CHANGED
|
@@ -42175,6 +42175,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
42175
42175
|
const getParamsByPath = () => {
|
|
42176
42176
|
const pathName = window.location.pathname;
|
|
42177
42177
|
switch (true) {
|
|
42178
|
+
case pathName.includes("assets/all"):
|
|
42179
|
+
case pathName.includes("assets/available"):
|
|
42180
|
+
case pathName.includes("assets/registration"):
|
|
42181
|
+
return { showAll: true };
|
|
42178
42182
|
case pathName.includes("group"):
|
|
42179
42183
|
return {
|
|
42180
42184
|
systemRole: ["group"]
|
|
@@ -54750,7 +54754,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
54750
54754
|
const currentPageData = computed(
|
|
54751
54755
|
() => {
|
|
54752
54756
|
var _a;
|
|
54753
|
-
return props.lazy ? currentPageTableData.value : (_a = props.data) == null ? void 0 : _a.slice(
|
|
54757
|
+
return props.lazy ? currentPageTableData.value : (_a = props.data) == null ? void 0 : _a.slice(
|
|
54758
|
+
first3.value,
|
|
54759
|
+
props.usePaginator ? first3.value + tableRows.value : void 0
|
|
54760
|
+
);
|
|
54754
54761
|
}
|
|
54755
54762
|
);
|
|
54756
54763
|
const isSelectedAll = computed(() => {
|
|
@@ -62300,7 +62307,6 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
62300
62307
|
key: 2,
|
|
62301
62308
|
keys: filter4.value.group,
|
|
62302
62309
|
"onUpdate:keys": _cache[2] || (_cache[2] = ($event) => filter4.value.group = $event),
|
|
62303
|
-
"group-params": { showAll: true },
|
|
62304
62310
|
"data-ts-section": "group-filter-input",
|
|
62305
62311
|
"field-label": "Group",
|
|
62306
62312
|
type: "Group"
|
|
@@ -62892,7 +62898,6 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
62892
62898
|
};
|
|
62893
62899
|
const closeDialog = () => {
|
|
62894
62900
|
emit("select", selectedData.value);
|
|
62895
|
-
showValidator.value = false;
|
|
62896
62901
|
visible4.value = false;
|
|
62897
62902
|
};
|
|
62898
62903
|
const resetState = () => {
|
|
@@ -62925,6 +62930,10 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
62925
62930
|
if (value) {
|
|
62926
62931
|
clearFilter3();
|
|
62927
62932
|
parseFilter();
|
|
62933
|
+
showValidator.value = false;
|
|
62934
|
+
selectedData.value = [];
|
|
62935
|
+
searchModel.value = void 0;
|
|
62936
|
+
showFilter.value = false;
|
|
62928
62937
|
containerKey.value++;
|
|
62929
62938
|
dataTableKey.value++;
|
|
62930
62939
|
}
|