@ximatai/muyun-web-app 0.26.5 → 0.26.7
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-rm9ujeiQ.js → EmployeeDetailWorkspaceView-DYJLlkSz.js} +1 -1
- package/dist/EmployeeManagementView-taxWUa7g.js +1778 -0
- package/dist/{MetadataOrchestrationView-DaPNQML7.js → MetadataOrchestrationView-B-CPudJl.js} +151 -151
- package/dist/ModuleActionManagementView-CmVj0e0C.js +597 -0
- package/dist/{RoleAuthorizationView-qQvn7M75.js → RoleAuthorizationView-q_6CsBYq.js} +194 -194
- package/dist/{RoleDetailWorkspaceView-C-vaKeZM.js → RoleDetailWorkspaceView-DmJlJgAj.js} +1 -1
- package/dist/{RoleManagementView-C3nxfub2.js → RoleManagementView-HCa9rH0f.js} +466 -466
- package/dist/{SystemUserDetailWorkspaceView-FIbfff00.js → SystemUserDetailWorkspaceView-U6Ij0US1.js} +1 -1
- package/dist/SystemUserManagementView-C1CkKivH.js +758 -0
- package/dist/{UserDetailWorkspaceView-M--ndn6x.js → UserDetailWorkspaceView-OPYvD6mH.js} +1 -1
- package/dist/{UserManagementView-MSXf4fno.js → UserManagementView-gbCL9SnC.js} +226 -226
- package/dist/index.css +1 -1
- package/dist/index.js +3309 -2288
- package/dist/pageRealtime-CzJlr9hs.js +225 -0
- package/dist/{platform-components-_3KlZZf5.js → platform-components-DKKWbNrz.js} +4196 -1790
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +33 -0
- package/dist/types/app/LoginView.vue.d.ts +4 -1
- package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +20 -0
- package/dist/types/app/lockedTabPreference.d.ts +6 -0
- package/dist/types/app/themeSkinPreference.d.ts +11 -0
- package/dist/types/app/workbenchRouteSync.d.ts +13 -0
- package/dist/types/app/workbenchStartup.d.ts +14 -1
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +43 -0
- package/dist/types/consumer/index.d.ts +24 -1
- package/dist/types/consumer/userPreferencePersistence.d.ts +7 -0
- package/dist/types/consumer/workbenchNavigation.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +8 -1
- package/dist/types/dynamic-page-runtime/index.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +144 -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 +70 -0
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +30 -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/RecordDetailLayout.vue.d.ts +8 -6
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +5 -5
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +6 -6
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +29 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +8 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +1 -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/SingleImageFileReferenceField.vue.d.ts +23 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +25 -0
- package/dist/types/platform-components/fileTransferUpload.d.ts +43 -0
- package/dist/types/platform-components/index.d.ts +15 -1
- package/dist/types/platform-components/platformErrorFeedback.d.ts +4 -0
- package/dist/types/platform-components/platformFileSize.d.ts +10 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +12 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +24 -3
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +1 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +1 -1
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchBrandControl.vue.d.ts +41 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +39 -1
- package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +2 -0
- package/dist/types/platform-workbench/WorkbenchSidebarMenuEntry.vue.d.ts +19 -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/menuHoverClickIntent.d.ts +10 -0
- package/dist/types/platform-workbench/menuPointerAim.d.ts +11 -0
- package/dist/types/platform-workbench/workbenchLayout.d.ts +4 -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/applicationManagementState.d.ts +1 -1
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +1 -1
- package/dist/types/views/fieldSpecManagementState.d.ts +1 -1
- package/dist/types/views/fieldUiControlManagementState.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/tenantManagementState.d.ts +11 -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/UiDataTable.vue.d.ts +1 -1
- 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/UiTabs.vue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/components/UiTagList.vue.d.ts +17 -0
- package/dist/types/vue-ui-antdv/components/UiThemeProvider.vue.d.ts +21 -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 +6 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +58 -0
- package/dist/types/vue-ui-antdv/themeGlobalScope.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -9
- package/dist/types/web-contracts/index.d.ts +168 -0
- package/dist/types/web-core/clients.d.ts +14 -1
- package/dist/types/web-core/http.d.ts +12 -1
- package/dist/types/web-core/index.d.ts +2 -0
- package/dist/types/web-core/mock.d.ts +3 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +1 -0
- package/dist/types/web-core/userPreferences.d.ts +24 -0
- package/dist/{useUserSessionRows-iAqK_cUy.js → useUserSessionRows-CBHEzRFQ.js} +2 -2
- package/dist/workspaceViewSessions-DkB9myrq.js +3252 -0
- package/package.json +1 -1
- package/dist/EmployeeManagementView-DyYMWQ64.js +0 -1706
- package/dist/ModuleActionManagementView-BFoPGqzC.js +0 -597
- package/dist/SystemUserManagementView-m6vwJDxI.js +0 -761
- package/dist/pageRealtime-4LXXvVW7.js +0 -140
- package/dist/workspaceViewSessions-DW0wbyQ_.js +0 -1448
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { Tn as e, Ut as t, in as n } from "./platform-components-_3KlZZf5.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 = n(), 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(e, n) {
|
|
37
|
-
return e.subscribe(t(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(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
|
-
}
|
|
73
|
-
function s() {
|
|
74
|
-
n.value = void 0;
|
|
75
|
-
}
|
|
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
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
externalChangedRecordId: n,
|
|
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 };
|