@ximatai/muyun-web-app 0.26.4 → 0.26.6
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-DHZ4arBj.js} +1 -1
- package/dist/{EmployeeManagementView-DvmDPxzN.js → EmployeeManagementView-BfGb_ssB.js} +336 -336
- package/dist/MetadataOrchestrationView-BLxigKBh.js +655 -0
- package/dist/{ModuleActionManagementView-DRtYMXOK.js → ModuleActionManagementView-ByJzNkQs.js} +102 -102
- package/dist/{RoleAuthorizationView-CK6Vfdup.js → RoleAuthorizationView-DJSWY3fu.js} +62 -62
- package/dist/{RoleDetailWorkspaceView-BPZcZy-r.js → RoleDetailWorkspaceView-Dfdigf04.js} +1 -1
- package/dist/{RoleManagementView-B7TzzVOm.js → RoleManagementView-D0e9nLwW.js} +295 -295
- package/dist/{SystemUserDetailWorkspaceView-BtEDyU-k.js → SystemUserDetailWorkspaceView-D-UPhCmD.js} +1 -1
- package/dist/{SystemUserManagementView-TKqj92zG.js → SystemUserManagementView-DNKRvmDk.js} +198 -198
- package/dist/{UserDetailWorkspaceView-B6fGrnQ7.js → UserDetailWorkspaceView-BCSCLNSz.js} +1 -1
- package/dist/{UserManagementView-4IJeDSQS.js → UserManagementView-aY2AeeWK.js} +287 -287
- package/dist/index.css +1 -1
- package/dist/index.js +2384 -2410
- package/dist/pageRealtime-Be2xkeKK.js +225 -0
- package/dist/{platform-components-CgMBopmF.js → platform-components-DuAohqJO.js} +2732 -1546
- package/dist/types/app/workbenchRouteSync.d.ts +13 -0
- package/dist/types/consumer/index.d.ts +10 -2
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +8 -1
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +126 -0
- package/dist/types/dynamic-page-runtime/modulePageListRefresh.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageNavigation.d.ts +11 -0
- package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +1 -0
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +1 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +9 -5
- package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +1 -36
- package/dist/types/platform-admin-runtime/workspaceViewHost.d.ts +2 -10
- package/dist/types/platform-admin-runtime/workspaceViews.d.ts +1 -17
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
- package/dist/types/platform-components/FileSizeText.vue.d.ts +10 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +51 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +19 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +15 -0
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +33 -0
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +33 -0
- package/dist/types/platform-components/RecordPanelState.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +47 -2
- package/dist/types/platform-components/RecordStatusTag.vue.d.ts +6 -1
- package/dist/types/platform-components/RecordTagList.vue.d.ts +7 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +17 -0
- package/dist/types/platform-components/fileTransferUpload.d.ts +43 -0
- package/dist/types/platform-components/index.d.ts +14 -1
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -0
- package/dist/types/platform-components/platformFileSize.d.ts +10 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +6 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +21 -3
- package/dist/types/platform-workbench/Workbench.vue.d.ts +2 -2
- package/dist/types/platform-workbench/WorkbenchBrandControl.vue.d.ts +21 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +15 -1
- package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +2 -0
- package/dist/types/platform-workbench/WorkspaceViewOutlet.vue.d.ts +7 -0
- package/dist/types/platform-workbench/index.d.ts +7 -0
- package/dist/types/platform-workbench/menuPointerAim.d.ts +11 -0
- package/dist/types/platform-workbench/workbenchLayout.d.ts +1 -0
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +20 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +8 -0
- package/dist/types/platform-workbench/workspaceViews.d.ts +21 -0
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleActionManagementWorkspaceView.d.ts +1 -1
- package/dist/types/views/roleAuthorizationWorkspaceView.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/userDetailWorkspaceView.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiColorPicker.vue.d.ts +14 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTagList.vue.d.ts +17 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/types.d.ts +3 -9
- package/dist/types/web-contracts/index.d.ts +111 -1
- package/dist/types/web-core/clients.d.ts +6 -1
- package/dist/types/web-core/http.d.ts +12 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +1 -0
- package/dist/{useUserSessionRows-DHsyr2Vy.js → useUserSessionRows-DX9qYU5r.js} +2 -2
- package/dist/workspaceViewSessions-C3GP1UGp.js +2639 -0
- package/package.json +1 -1
- package/dist/MetadataOrchestrationView-2JxJkFEC.js +0 -655
- package/dist/pageRealtime-CJriNmzP.js +0 -140
- package/dist/workspaceViewSessions-BMbyO9O4.js +0 -1571
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { Dn as e, Hn as t, lr as n } from "./platform-components-CgMBopmF.js";
|
|
2
|
-
import { computed as r, onMounted as i, onUnmounted as a, ref as o } from "vue";
|
|
3
|
-
//#region src/platform-admin-runtime/authSession.ts
|
|
4
|
-
var s = "muyun.auth.token";
|
|
5
|
-
function c(e) {
|
|
6
|
-
return l() ?? u(e);
|
|
7
|
-
}
|
|
8
|
-
function l() {
|
|
9
|
-
if (!(typeof window > "u")) return u(window.localStorage.getItem(s));
|
|
10
|
-
}
|
|
11
|
-
function u(e) {
|
|
12
|
-
return e?.trim() || void 0;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region src/platform-admin-runtime/realtime.ts
|
|
16
|
-
var d = t(), f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Set(), m;
|
|
17
|
-
function h(e) {
|
|
18
|
-
let t = e.trim();
|
|
19
|
-
if (!t) throw Error("Module data change subscription requires a moduleAlias");
|
|
20
|
-
let n = f.get(t) ?? {
|
|
21
|
-
moduleAlias: t,
|
|
22
|
-
references: 0
|
|
23
|
-
};
|
|
24
|
-
return n.references += 1, f.set(t, n), !n.active && m && (n.active = v(m, t)), { unsubscribe() {
|
|
25
|
-
--n.references, !(n.references > 0) && (n.active?.unsubscribe(), n.active = void 0, f.delete(t));
|
|
26
|
-
} };
|
|
27
|
-
}
|
|
28
|
-
function g(e) {
|
|
29
|
-
return d.subscribe(e);
|
|
30
|
-
}
|
|
31
|
-
function _(e) {
|
|
32
|
-
return p.add(e), { unsubscribe() {
|
|
33
|
-
p.delete(e);
|
|
34
|
-
} };
|
|
35
|
-
}
|
|
36
|
-
function v(t, n) {
|
|
37
|
-
return t.subscribe(e(n), (e) => {
|
|
38
|
-
d.dispatch(e);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/platform-admin-runtime/pageRealtime.ts
|
|
43
|
-
function y(e) {
|
|
44
|
-
return (t) => {
|
|
45
|
-
let n = t.changes.filter((t) => D(t, e));
|
|
46
|
-
n.length > 0 && e.handler(t, n);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function b(e) {
|
|
50
|
-
E(() => _(e));
|
|
51
|
-
}
|
|
52
|
-
function x(e) {
|
|
53
|
-
E(() => {
|
|
54
|
-
let t = g(y(e)), n = e.moduleAlias ? h(e.moduleAlias) : void 0;
|
|
55
|
-
return { unsubscribe() {
|
|
56
|
-
t.unsubscribe(), n?.unsubscribe();
|
|
57
|
-
} };
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
function S(e) {
|
|
61
|
-
let t = C(e);
|
|
62
|
-
return x({
|
|
63
|
-
moduleAlias: e.moduleAlias,
|
|
64
|
-
handler: (e, n) => t.handleDataChanges(n)
|
|
65
|
-
}), t;
|
|
66
|
-
}
|
|
67
|
-
function C(e) {
|
|
68
|
-
let t = o(), i = r(() => !!t.value);
|
|
69
|
-
function a(n) {
|
|
70
|
-
let r = O(e.recordId);
|
|
71
|
-
return O(e.saving) === !0 || O(e.editing) !== !0 || !n || !r || n !== r ? !1 : (t.value = n, !0);
|
|
72
|
-
}
|
|
73
|
-
function s() {
|
|
74
|
-
t.value = void 0;
|
|
75
|
-
}
|
|
76
|
-
function c(t) {
|
|
77
|
-
let r = e.changeTypes ?? [n.recordUpdated, n.recordDeleted];
|
|
78
|
-
for (let n of t) n.moduleAlias === e.moduleAlias && r.includes(n.type) && a(n.recordId);
|
|
79
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
externalChangedRecordId: t,
|
|
82
|
-
externallyChanged: i,
|
|
83
|
-
markExternalRecordChanged: a,
|
|
84
|
-
clearExternalChanged: s,
|
|
85
|
-
handleDataChanges: c
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function w(e) {
|
|
89
|
-
let t = T(e);
|
|
90
|
-
return a(() => t.dispose()), t;
|
|
91
|
-
}
|
|
92
|
-
function T(e) {
|
|
93
|
-
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r, i = 0, a = !0;
|
|
94
|
-
function o(n) {
|
|
95
|
-
if (!a) return;
|
|
96
|
-
let i = Array.isArray(n) ? n : [n];
|
|
97
|
-
for (let e of i) e && t.add(e);
|
|
98
|
-
t.size === 0 || r || (r = setTimeout(s, e.delay ?? 0));
|
|
99
|
-
}
|
|
100
|
-
function s() {
|
|
101
|
-
if (r = void 0, !a || t.size === 0) return;
|
|
102
|
-
let o = Array.from(t);
|
|
103
|
-
t.clear(), i += 1;
|
|
104
|
-
let s = i;
|
|
105
|
-
o.forEach((e) => n.set(e, s)), e.load({
|
|
106
|
-
keys: o,
|
|
107
|
-
isLatest: (e) => a && n.get(e) === s,
|
|
108
|
-
active: () => a
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
function c() {
|
|
112
|
-
a = !1, l();
|
|
113
|
-
}
|
|
114
|
-
function l() {
|
|
115
|
-
r &&= (clearTimeout(r), void 0), t.clear(), n.clear();
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
enqueue: o,
|
|
119
|
-
reset: l,
|
|
120
|
-
dispose: c
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function E(e) {
|
|
124
|
-
let t;
|
|
125
|
-
i(() => {
|
|
126
|
-
t = e();
|
|
127
|
-
}), a(() => {
|
|
128
|
-
t?.unsubscribe(), t = void 0;
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
function D(e, t) {
|
|
132
|
-
if (t.moduleAlias && e.moduleAlias !== t.moduleAlias) return !1;
|
|
133
|
-
let n = O(t.recordId);
|
|
134
|
-
return n && e.recordId !== n ? !1 : t.predicate?.(e) ?? !0;
|
|
135
|
-
}
|
|
136
|
-
function O(e) {
|
|
137
|
-
return typeof e == "function" ? e() : e;
|
|
138
|
-
}
|
|
139
|
-
//#endregion
|
|
140
|
-
export { w as a, S as i, b as n, c as o, x as r, T as t };
|