@arbocollab/arbo-web-search 1.0.3 → 1.0.4
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/cjs/index.cjs.js +11 -11
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/css/main.css +1 -1
- package/dist/es/index.es.js +123 -95
- package/dist/es/index.es.js.map +1 -1
- package/dist/umd/index.umd.js +12 -12
- package/dist/umd/index.umd.js.map +1 -1
- package/package.json +4 -3
package/dist/es/index.es.js
CHANGED
|
@@ -19018,6 +19018,72 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
19018
19018
|
};
|
|
19019
19019
|
}
|
|
19020
19020
|
});
|
|
19021
|
+
const useUserStore = /* @__PURE__ */ defineStore$1("user", () => {
|
|
19022
|
+
const { makeRequest } = useApi();
|
|
19023
|
+
const userInformation = ref();
|
|
19024
|
+
const userConfig = ref();
|
|
19025
|
+
const userPermission = ref();
|
|
19026
|
+
const globalSearchStore = useGlobalSearchStore();
|
|
19027
|
+
const { wsUserRootRoleId } = storeToRefs$1(globalSearchStore);
|
|
19028
|
+
const wsUserRoles = ref();
|
|
19029
|
+
const apiMap = createApiMap();
|
|
19030
|
+
const wsInformation = ref();
|
|
19031
|
+
const getUserData = async () => {
|
|
19032
|
+
const getDataConfig = apiMap.getUserInformation(void 0);
|
|
19033
|
+
const res = await makeRequest(getDataConfig);
|
|
19034
|
+
userInformation.value = res;
|
|
19035
|
+
return res;
|
|
19036
|
+
};
|
|
19037
|
+
const getWsInformation = async () => {
|
|
19038
|
+
const getDataConfig = apiMap.getWsInformation(void 0);
|
|
19039
|
+
const res = await makeRequest(getDataConfig);
|
|
19040
|
+
wsInformation.value = res.data[0];
|
|
19041
|
+
wsUserRoles.value = res.data[0].ws_user_role_id;
|
|
19042
|
+
await getUserRootRole(res.data[0].ws_user_role_id);
|
|
19043
|
+
return res;
|
|
19044
|
+
};
|
|
19045
|
+
const getUserConfig = async () => {
|
|
19046
|
+
const getDataConfig = apiMap.getUserConfig(void 0);
|
|
19047
|
+
const res = await makeRequest(getDataConfig);
|
|
19048
|
+
userConfig.value = res;
|
|
19049
|
+
return res;
|
|
19050
|
+
};
|
|
19051
|
+
const getUserPermission = async () => {
|
|
19052
|
+
const getDataConfig = apiMap.getUserPermission(void 0);
|
|
19053
|
+
const res = await makeRequest(getDataConfig);
|
|
19054
|
+
userPermission.value = Object.fromEntries(res.map((item) => [item, true]));
|
|
19055
|
+
return res;
|
|
19056
|
+
};
|
|
19057
|
+
const getUserRootRole = async (id) => {
|
|
19058
|
+
const getDataConfig = apiMap.getUserRootRole(id);
|
|
19059
|
+
const res = await makeRequest(getDataConfig);
|
|
19060
|
+
wsUserRootRoleId.value = res.ws_role.ws_root_role_id;
|
|
19061
|
+
return res;
|
|
19062
|
+
};
|
|
19063
|
+
const getUserInformation = async () => {
|
|
19064
|
+
await Promise.all([getUserData(), getUserPermission(), getUserConfig()]);
|
|
19065
|
+
};
|
|
19066
|
+
const userPermissionConfig = computed(() => {
|
|
19067
|
+
var _a25, _b25, _c, _d, _e2, _f;
|
|
19068
|
+
return {
|
|
19069
|
+
canOpenReview: ((_a25 = userPermission.value) == null ? void 0 : _a25.media_getReviewUserInterface_read) == true,
|
|
19070
|
+
canOpenProject: ((_b25 = userPermission.value) == null ? void 0 : _b25.project_getProjectDirectoryUserInterface_read) == true,
|
|
19071
|
+
canOpenSceneHub: true,
|
|
19072
|
+
canOpenPeopleInsight: ((_c = userPermission.value) == null ? void 0 : _c.peopleTile_getInsightsInterface_read) == true,
|
|
19073
|
+
canOpenPeopleDetail: ((_d = userPermission.value) == null ? void 0 : _d.people_getListOfWorkspaceUsers_read) == true,
|
|
19074
|
+
canOpenTakeUpdate: ((_e2 = userPermission.value) == null ? void 0 : _e2.update_getUpdateUserInterface_read) == true,
|
|
19075
|
+
canOpenTakeWoohoo: ((_f = userPermission.value) == null ? void 0 : _f.woohoo_getWoohooUserInterface_read) == true
|
|
19076
|
+
};
|
|
19077
|
+
});
|
|
19078
|
+
return {
|
|
19079
|
+
userInformation,
|
|
19080
|
+
userPermission,
|
|
19081
|
+
userPermissionConfig,
|
|
19082
|
+
getUserInformation,
|
|
19083
|
+
getUserConfig,
|
|
19084
|
+
getWsInformation
|
|
19085
|
+
};
|
|
19086
|
+
});
|
|
19021
19087
|
const _hoisted_1$c = ["id"];
|
|
19022
19088
|
const _hoisted_2$7 = {
|
|
19023
19089
|
key: 0,
|
|
@@ -19120,7 +19186,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19120
19186
|
selectedIndex.value = -1;
|
|
19121
19187
|
}
|
|
19122
19188
|
}
|
|
19189
|
+
const { userPermissionConfig } = storeToRefs$1(useUserStore());
|
|
19123
19190
|
const handleOpenPeopleInsight = (_e2, data) => {
|
|
19191
|
+
if (!userPermissionConfig.value.canOpenPeopleInsight) {
|
|
19192
|
+
return;
|
|
19193
|
+
}
|
|
19124
19194
|
const ws_code = api.get(WS_CODE);
|
|
19125
19195
|
const people_id = data == null ? void 0 : data.id;
|
|
19126
19196
|
const link = createLink("people_insight", {
|
|
@@ -19129,7 +19199,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19129
19199
|
});
|
|
19130
19200
|
window.open(link, "_blank");
|
|
19131
19201
|
};
|
|
19132
|
-
const
|
|
19202
|
+
const handleOpenReview = (_e2, data) => {
|
|
19203
|
+
if (!userPermissionConfig.value.canOpenReview) {
|
|
19204
|
+
return;
|
|
19205
|
+
}
|
|
19133
19206
|
const ws_code = api.get(WS_CODE);
|
|
19134
19207
|
const scene_id = data == null ? void 0 : data.id;
|
|
19135
19208
|
const take_id = data == null ? void 0 : data.entity_path[data.entity_path.length - 1].id;
|
|
@@ -19140,15 +19213,23 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19140
19213
|
});
|
|
19141
19214
|
window.open(link, "_blank");
|
|
19142
19215
|
};
|
|
19143
|
-
const
|
|
19144
|
-
|
|
19145
|
-
|
|
19146
|
-
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
|
|
19216
|
+
const wscode = computed(() => {
|
|
19217
|
+
return api.get(WS_CODE);
|
|
19218
|
+
});
|
|
19219
|
+
const baseDomain = "https://app.tessr.us";
|
|
19220
|
+
const openMode = (e2, data) => {
|
|
19221
|
+
const { parent_id, id } = data || {};
|
|
19222
|
+
const ws_code = wscode.value;
|
|
19223
|
+
if (!id) return;
|
|
19224
|
+
const link = parent_id ? `${baseDomain}/${ws_code}/pl/dir/${parent_id}?f=${id}` : `${baseDomain}/${ws_code}/pl/dir?f=${id}`;
|
|
19150
19225
|
pressActionHandler(e2, link);
|
|
19151
19226
|
};
|
|
19227
|
+
const handleOpenTakeProject = (e2, data) => {
|
|
19228
|
+
if (!userPermissionConfig.value.canOpenProject) {
|
|
19229
|
+
return;
|
|
19230
|
+
}
|
|
19231
|
+
openMode(e2, data);
|
|
19232
|
+
};
|
|
19152
19233
|
const handelEnter = (event, card) => {
|
|
19153
19234
|
switch (props.type) {
|
|
19154
19235
|
case "people":
|
|
@@ -19158,13 +19239,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19158
19239
|
handleOpenTakeProject(event, card);
|
|
19159
19240
|
break;
|
|
19160
19241
|
case "item":
|
|
19161
|
-
|
|
19242
|
+
handleOpenReview(event, card);
|
|
19162
19243
|
break;
|
|
19163
19244
|
case "recent_accessed":
|
|
19164
19245
|
if (card.entity) {
|
|
19165
19246
|
handleOpenTakeProject(event, card.entity);
|
|
19166
19247
|
} else if (card.item) {
|
|
19167
|
-
|
|
19248
|
+
handleOpenReview(event, card.item);
|
|
19168
19249
|
} else {
|
|
19169
19250
|
handleOpenPeopleInsight(event, card);
|
|
19170
19251
|
}
|
|
@@ -19454,7 +19535,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19454
19535
|
__name: "CardLayout",
|
|
19455
19536
|
props: {
|
|
19456
19537
|
archived: { type: Boolean },
|
|
19457
|
-
blocked: { type: Boolean }
|
|
19538
|
+
blocked: { type: Boolean },
|
|
19539
|
+
disabled: { type: Boolean }
|
|
19458
19540
|
},
|
|
19459
19541
|
setup(__props) {
|
|
19460
19542
|
const props = __props;
|
|
@@ -19468,7 +19550,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19468
19550
|
return (_ctx, _cache) => {
|
|
19469
19551
|
const _component_TessMoreActions = resolveComponent("TessMoreActions");
|
|
19470
19552
|
return openBlock(), createElementBlock("div", {
|
|
19471
|
-
class: normalizeClass(["card-layout", {
|
|
19553
|
+
class: normalizeClass(["card-layout", {
|
|
19554
|
+
selected: selected.value,
|
|
19555
|
+
"has-progress": hasSlot("progress"),
|
|
19556
|
+
archived: props.archived,
|
|
19557
|
+
disabled: props.disabled
|
|
19558
|
+
}])
|
|
19472
19559
|
}, [
|
|
19473
19560
|
createBaseVNode("div", _hoisted_1$b, [
|
|
19474
19561
|
renderSlot(_ctx.$slots, "left", {}, () => [
|
|
@@ -49363,72 +49450,6 @@ function ni() {
|
|
|
49363
49450
|
}
|
|
49364
49451
|
ni();
|
|
49365
49452
|
createPinia();
|
|
49366
|
-
const useUserStore = /* @__PURE__ */ defineStore$1("user", () => {
|
|
49367
|
-
const { makeRequest } = useApi();
|
|
49368
|
-
const userInformation = ref();
|
|
49369
|
-
const userConfig = ref();
|
|
49370
|
-
const userPermission = ref();
|
|
49371
|
-
const globalSearchStore = useGlobalSearchStore();
|
|
49372
|
-
const { wsUserRootRoleId } = storeToRefs$1(globalSearchStore);
|
|
49373
|
-
const wsUserRoles = ref();
|
|
49374
|
-
const apiMap = createApiMap();
|
|
49375
|
-
const wsInformation = ref();
|
|
49376
|
-
const getUserData = async () => {
|
|
49377
|
-
const getDataConfig = apiMap.getUserInformation(void 0);
|
|
49378
|
-
const res = await makeRequest(getDataConfig);
|
|
49379
|
-
userInformation.value = res;
|
|
49380
|
-
return res;
|
|
49381
|
-
};
|
|
49382
|
-
const getWsInformation = async () => {
|
|
49383
|
-
const getDataConfig = apiMap.getWsInformation(void 0);
|
|
49384
|
-
const res = await makeRequest(getDataConfig);
|
|
49385
|
-
wsInformation.value = res.data[0];
|
|
49386
|
-
wsUserRoles.value = res.data[0].ws_user_role_id;
|
|
49387
|
-
await getUserRootRole(res.data[0].ws_user_role_id);
|
|
49388
|
-
return res;
|
|
49389
|
-
};
|
|
49390
|
-
const getUserConfig = async () => {
|
|
49391
|
-
const getDataConfig = apiMap.getUserConfig(void 0);
|
|
49392
|
-
const res = await makeRequest(getDataConfig);
|
|
49393
|
-
userConfig.value = res;
|
|
49394
|
-
return res;
|
|
49395
|
-
};
|
|
49396
|
-
const getUserPermission = async () => {
|
|
49397
|
-
const getDataConfig = apiMap.getUserPermission(void 0);
|
|
49398
|
-
const res = await makeRequest(getDataConfig);
|
|
49399
|
-
userPermission.value = Object.fromEntries(res.map((item) => [item, true]));
|
|
49400
|
-
return res;
|
|
49401
|
-
};
|
|
49402
|
-
const getUserRootRole = async (id) => {
|
|
49403
|
-
const getDataConfig = apiMap.getUserRootRole(id);
|
|
49404
|
-
const res = await makeRequest(getDataConfig);
|
|
49405
|
-
wsUserRootRoleId.value = res.ws_role.ws_root_role_id;
|
|
49406
|
-
return res;
|
|
49407
|
-
};
|
|
49408
|
-
const getUserInformation = async () => {
|
|
49409
|
-
await Promise.all([getUserData(), getUserPermission(), getUserConfig()]);
|
|
49410
|
-
};
|
|
49411
|
-
const userPermissionConfig = computed(() => {
|
|
49412
|
-
var _a25, _b25, _c, _d, _e2, _f;
|
|
49413
|
-
return {
|
|
49414
|
-
canOpenReview: ((_a25 = userPermission.value) == null ? void 0 : _a25.media_getReviewUserInterface_read) == true,
|
|
49415
|
-
canOpenProject: ((_b25 = userPermission.value) == null ? void 0 : _b25.project_getProjectDirectoryUserInterface_read) == true,
|
|
49416
|
-
canOpenSceneHub: true,
|
|
49417
|
-
canOpenPeopleInsight: ((_c = userPermission.value) == null ? void 0 : _c.peopleTile_getInsightsInterface_read) == true,
|
|
49418
|
-
canOpenPeopleDetail: ((_d = userPermission.value) == null ? void 0 : _d.people_getListOfWorkspaceUsers_read) == true,
|
|
49419
|
-
canOpenTakeUpdate: ((_e2 = userPermission.value) == null ? void 0 : _e2.update_getUpdateUserInterface_read) == true,
|
|
49420
|
-
canOpenTakeWoohoo: ((_f = userPermission.value) == null ? void 0 : _f.woohoo_getWoohooUserInterface_read) == true
|
|
49421
|
-
};
|
|
49422
|
-
});
|
|
49423
|
-
return {
|
|
49424
|
-
userInformation,
|
|
49425
|
-
userPermission,
|
|
49426
|
-
userPermissionConfig,
|
|
49427
|
-
getUserInformation,
|
|
49428
|
-
getUserConfig,
|
|
49429
|
-
getWsInformation
|
|
49430
|
-
};
|
|
49431
|
-
});
|
|
49432
49453
|
const _hoisted_1$a = { class: "avatar" };
|
|
49433
49454
|
const _hoisted_2$5 = { class: "information" };
|
|
49434
49455
|
const _hoisted_3$5 = { class: "user-name" };
|
|
@@ -49530,7 +49551,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
49530
49551
|
const _component_TessMoreActions = resolveComponent("TessMoreActions");
|
|
49531
49552
|
return openBlock(), createBlock(_sfc_main$j, {
|
|
49532
49553
|
"more-actions-props": unref(userMoreAction),
|
|
49533
|
-
class: "people-card"
|
|
49554
|
+
class: "people-card",
|
|
49555
|
+
disabled: !unref(userPermissionConfig).canOpenPeopleInsight
|
|
49534
49556
|
}, {
|
|
49535
49557
|
left: withCtx(() => [
|
|
49536
49558
|
createBaseVNode("div", _hoisted_1$a, [
|
|
@@ -49565,7 +49587,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
49565
49587
|
];
|
|
49566
49588
|
}),
|
|
49567
49589
|
_: 1
|
|
49568
|
-
}, 8, ["more-actions-props"]);
|
|
49590
|
+
}, 8, ["more-actions-props", "disabled"]);
|
|
49569
49591
|
};
|
|
49570
49592
|
}
|
|
49571
49593
|
});
|
|
@@ -50021,7 +50043,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
50021
50043
|
const _component_TessMoreActions = resolveComponent("TessMoreActions");
|
|
50022
50044
|
return props.data ? (openBlock(), createBlock(_sfc_main$j, {
|
|
50023
50045
|
key: 0,
|
|
50024
|
-
class: normalizeClass(["project-card", { archived: props.data.status == 0 }])
|
|
50046
|
+
class: normalizeClass(["project-card", { archived: props.data.status == 0 }]),
|
|
50047
|
+
disabled: !unref(userPermissionConfig).canOpenProject
|
|
50025
50048
|
}, {
|
|
50026
50049
|
left: withCtx(() => [
|
|
50027
50050
|
createVNode(_component_ArboThumbnail, {
|
|
@@ -50086,11 +50109,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
50086
50109
|
createVNode(_sfc_main$e, mergeProps({ class: "arbo-ui-styles progress-bar" }, projectBarProps.value), null, 16)
|
|
50087
50110
|
]),
|
|
50088
50111
|
_: 1
|
|
50089
|
-
}, 8, ["class"])) : createCommentVNode("", true);
|
|
50112
|
+
}, 8, ["class", "disabled"])) : createCommentVNode("", true);
|
|
50090
50113
|
};
|
|
50091
50114
|
}
|
|
50092
50115
|
});
|
|
50093
|
-
const ProjectCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
50116
|
+
const ProjectCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-bd28bd28"]]);
|
|
50094
50117
|
const _sfc_main$c = {};
|
|
50095
50118
|
const _hoisted_1$6 = { class: "skeleton-wrapper" };
|
|
50096
50119
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -50140,6 +50163,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50140
50163
|
data: {}
|
|
50141
50164
|
},
|
|
50142
50165
|
setup(__props) {
|
|
50166
|
+
const vArboTooltip = p$3;
|
|
50143
50167
|
const takeId = computed(() => {
|
|
50144
50168
|
var _a25, _b25, _c, _d;
|
|
50145
50169
|
return (_d = (_c = (_a25 = props.data) == null ? void 0 : _a25.entity_path) == null ? void 0 : _c[((_b25 = props.data) == null ? void 0 : _b25.entity_path.length) - 1]) == null ? void 0 : _d.id;
|
|
@@ -50201,7 +50225,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50201
50225
|
navigator.clipboard.writeText(link);
|
|
50202
50226
|
};
|
|
50203
50227
|
const openProjectDirectory = (e2) => {
|
|
50204
|
-
const link = linkConfig.value.take_prk.link
|
|
50228
|
+
const link = `${linkConfig.value.take_prk.link}?f=${props.data.id}`;
|
|
50205
50229
|
clickActionHandler(e2, link);
|
|
50206
50230
|
};
|
|
50207
50231
|
const { userPermissionConfig } = storeToRefs$1(useUserStore());
|
|
@@ -50410,11 +50434,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50410
50434
|
const _component_TessBreadcrumb = resolveComponent("TessBreadcrumb");
|
|
50411
50435
|
const _component_TessAvatarGroup = resolveComponent("TessAvatarGroup");
|
|
50412
50436
|
const _component_TessHoverTile = resolveComponent("TessHoverTile");
|
|
50413
|
-
const _directive_arbo_tooltip = resolveDirective("arbo-tooltip");
|
|
50414
50437
|
return props.data ? (openBlock(), createBlock(_sfc_main$j, {
|
|
50415
50438
|
key: 0,
|
|
50416
50439
|
class: "scene-card",
|
|
50417
|
-
archived: isArchivedScene.value
|
|
50440
|
+
archived: isArchivedScene.value,
|
|
50441
|
+
disabled: !unref(userPermissionConfig).canOpenReview
|
|
50418
50442
|
}, {
|
|
50419
50443
|
left: withCtx(() => {
|
|
50420
50444
|
var _a25;
|
|
@@ -50428,7 +50452,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50428
50452
|
disabled: false,
|
|
50429
50453
|
onClick: openHub
|
|
50430
50454
|
}), null, 16, ["thumbnail"]), [
|
|
50431
|
-
[
|
|
50455
|
+
[unref(vArboTooltip), { content: "Open Scene Hub", hideOnClick: false, delay: [500, 0] }]
|
|
50432
50456
|
])
|
|
50433
50457
|
];
|
|
50434
50458
|
}),
|
|
@@ -50450,7 +50474,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50450
50474
|
}), null, 16, ["onShow", "onHide"])
|
|
50451
50475
|
]),
|
|
50452
50476
|
detail: withCtx(({ width }) => {
|
|
50453
|
-
var _a25;
|
|
50477
|
+
var _a25, _b25;
|
|
50454
50478
|
return [
|
|
50455
50479
|
createBaseVNode("div", _hoisted_1$4, [
|
|
50456
50480
|
createBaseVNode("div", {
|
|
@@ -50463,7 +50487,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50463
50487
|
createVNode(_component_TessBreadcrumb, mergeProps({ class: "arbo-ui-styles" }, { ...breadcrumbTemp.value, width, disabled: true }), null, 16)
|
|
50464
50488
|
], 2),
|
|
50465
50489
|
createBaseVNode("div", _hoisted_2$2, [
|
|
50466
|
-
|
|
50490
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
50491
|
+
createTextVNode(toDisplayString((_a25 = props.data) == null ? void 0 : _a25.name), 1)
|
|
50492
|
+
])), [
|
|
50493
|
+
[unref(vArboTooltip), { content: (_b25 = props.data) == null ? void 0 : _b25.name, delay: [1e3, 0] }]
|
|
50494
|
+
]),
|
|
50467
50495
|
assignedUsers.value.data.length > 0 ? (openBlock(), createBlock(_component_TessAvatarGroup, mergeProps({
|
|
50468
50496
|
key: 0,
|
|
50469
50497
|
class: "arbo-ui-styles"
|
|
@@ -50485,12 +50513,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
50485
50513
|
"layout-color": (_b25 = (_a25 = props.data) == null ? void 0 : _a25.template_flow_status) == null ? void 0 : _b25.color
|
|
50486
50514
|
}, null, 8, ["background-color", "layout-color"])
|
|
50487
50515
|
])), [
|
|
50488
|
-
[
|
|
50516
|
+
[unref(vArboTooltip), { content: statusTooltipContent.value, delay: [500, 0] }]
|
|
50489
50517
|
])
|
|
50490
50518
|
];
|
|
50491
50519
|
}),
|
|
50492
50520
|
_: 1
|
|
50493
|
-
}, 8, ["archived"])) : (openBlock(), createBlock(SceneSkeleton, { key: 1 }));
|
|
50521
|
+
}, 8, ["archived", "disabled"])) : (openBlock(), createBlock(SceneSkeleton, { key: 1 }));
|
|
50494
50522
|
};
|
|
50495
50523
|
}
|
|
50496
50524
|
});
|
|
@@ -50536,13 +50564,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
50536
50564
|
};
|
|
50537
50565
|
switch (data.type) {
|
|
50538
50566
|
case "people":
|
|
50539
|
-
result.data = data.
|
|
50567
|
+
result.data = data == null ? void 0 : data.ws_user_role;
|
|
50540
50568
|
break;
|
|
50541
50569
|
case "entity":
|
|
50542
|
-
result.data = data.entity;
|
|
50570
|
+
result.data = data == null ? void 0 : data.entity;
|
|
50543
50571
|
break;
|
|
50544
50572
|
case "item":
|
|
50545
|
-
result.data = data.item;
|
|
50573
|
+
result.data = data == null ? void 0 : data.item;
|
|
50546
50574
|
break;
|
|
50547
50575
|
}
|
|
50548
50576
|
return result;
|
|
@@ -51098,7 +51126,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51098
51126
|
};
|
|
51099
51127
|
}
|
|
51100
51128
|
});
|
|
51101
|
-
const version = "1.0.
|
|
51129
|
+
const version = "1.0.4";
|
|
51102
51130
|
const components = {
|
|
51103
51131
|
ArboTabs: j$4,
|
|
51104
51132
|
ArboToggle: q$3,
|