@ximatai/muyun-web-app 0.26.4 → 0.26.5
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/{EmployeeDetailWorkspaceView-BySbWjCV.js → EmployeeDetailWorkspaceView-rm9ujeiQ.js} +1 -1
- package/dist/{EmployeeManagementView-DvmDPxzN.js → EmployeeManagementView-DyYMWQ64.js} +486 -486
- package/dist/{MetadataOrchestrationView-2JxJkFEC.js → MetadataOrchestrationView-DaPNQML7.js} +203 -203
- package/dist/ModuleActionManagementView-BFoPGqzC.js +597 -0
- package/dist/{RoleAuthorizationView-CK6Vfdup.js → RoleAuthorizationView-qQvn7M75.js} +68 -68
- package/dist/{RoleDetailWorkspaceView-BPZcZy-r.js → RoleDetailWorkspaceView-C-vaKeZM.js} +1 -1
- package/dist/{RoleManagementView-B7TzzVOm.js → RoleManagementView-C3nxfub2.js} +486 -486
- package/dist/{SystemUserDetailWorkspaceView-BtEDyU-k.js → SystemUserDetailWorkspaceView-FIbfff00.js} +1 -1
- package/dist/SystemUserManagementView-m6vwJDxI.js +761 -0
- package/dist/{UserDetailWorkspaceView-B6fGrnQ7.js → UserDetailWorkspaceView-M--ndn6x.js} +1 -1
- package/dist/{UserManagementView-4IJeDSQS.js → UserManagementView-MSXf4fno.js} +302 -302
- package/dist/index.css +1 -1
- package/dist/index.js +2237 -2237
- package/dist/{pageRealtime-CJriNmzP.js → pageRealtime-4LXXvVW7.js} +14 -14
- package/dist/{platform-components-CgMBopmF.js → platform-components-_3KlZZf5.js} +1166 -1168
- package/dist/types/consumer/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +12 -0
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +14 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -1
- package/dist/{useUserSessionRows-DHsyr2Vy.js → useUserSessionRows-iAqK_cUy.js} +2 -2
- package/dist/workspaceViewSessions-DW0wbyQ_.js +1448 -0
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-DRtYMXOK.js +0 -597
- package/dist/SystemUserManagementView-TKqj92zG.js +0 -761
- package/dist/workspaceViewSessions-BMbyO9O4.js +0 -1571
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tn as e, Ut as t, in as n } from "./platform-components-_3KlZZf5.js";
|
|
2
2
|
import { computed as r, onMounted as i, onUnmounted as a, ref as o } from "vue";
|
|
3
3
|
//#region src/platform-admin-runtime/authSession.ts
|
|
4
4
|
var s = "muyun.auth.token";
|
|
@@ -13,7 +13,7 @@ function u(e) {
|
|
|
13
13
|
}
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/platform-admin-runtime/realtime.ts
|
|
16
|
-
var d =
|
|
16
|
+
var d = n(), f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Set(), m;
|
|
17
17
|
function h(e) {
|
|
18
18
|
let t = e.trim();
|
|
19
19
|
if (!t) throw Error("Module data change subscription requires a moduleAlias");
|
|
@@ -33,8 +33,8 @@ function _(e) {
|
|
|
33
33
|
p.delete(e);
|
|
34
34
|
} };
|
|
35
35
|
}
|
|
36
|
-
function v(
|
|
37
|
-
return
|
|
36
|
+
function v(e, n) {
|
|
37
|
+
return e.subscribe(t(n), (e) => {
|
|
38
38
|
d.dispatch(e);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -64,21 +64,21 @@ function S(e) {
|
|
|
64
64
|
handler: (e, n) => t.handleDataChanges(n)
|
|
65
65
|
}), t;
|
|
66
66
|
}
|
|
67
|
-
function C(
|
|
68
|
-
let
|
|
69
|
-
function a(
|
|
70
|
-
let r = O(
|
|
71
|
-
return O(
|
|
67
|
+
function C(t) {
|
|
68
|
+
let n = o(), i = r(() => !!n.value);
|
|
69
|
+
function a(e) {
|
|
70
|
+
let r = O(t.recordId);
|
|
71
|
+
return O(t.saving) === !0 || O(t.editing) !== !0 || !e || !r || e !== r ? !1 : (n.value = e, !0);
|
|
72
72
|
}
|
|
73
73
|
function s() {
|
|
74
|
-
|
|
74
|
+
n.value = void 0;
|
|
75
75
|
}
|
|
76
|
-
function c(
|
|
77
|
-
let r =
|
|
78
|
-
for (let
|
|
76
|
+
function c(n) {
|
|
77
|
+
let r = t.changeTypes ?? [e.recordUpdated, e.recordDeleted];
|
|
78
|
+
for (let e of n) e.moduleAlias === t.moduleAlias && r.includes(e.type) && a(e.recordId);
|
|
79
79
|
}
|
|
80
80
|
return {
|
|
81
|
-
externalChangedRecordId:
|
|
81
|
+
externalChangedRecordId: n,
|
|
82
82
|
externallyChanged: i,
|
|
83
83
|
markExternalRecordChanged: a,
|
|
84
84
|
clearExternalChanged: s,
|