zsysview 0.0.28 → 0.0.30
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/README.md +3 -4
- package/dist/{backup-BKq6sQjF.js → backup-DQdKrJO4.js} +4 -4
- package/dist/{breadcrumb.vue_vue_type_script_setup_true_lang-Ca489fLF.js → breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js} +1 -2
- package/dist/{change_password-DHURkzza.js → change_password-BzInFtql.js} +4 -4
- package/dist/{department-nsjoJXue.js → department-BoO7nCBo.js} +6 -6
- package/dist/{desktop-CcKDaeCI.js → desktop-CmmGdzlM.js} +1 -1
- package/dist/http_api_v1-DiDJPhUb.js +2755 -0
- package/dist/index-Cz5HRyMQ.js +49346 -0
- package/dist/{log-4jRKPEKy.js → log-DJ828XBW.js} +4 -4
- package/dist/{login-Df4BMtP8.js → login-a_df4G1c.js} +3 -3
- package/dist/{main-CaR_6gzq.js → main-Ch20XSe9.js} +3 -4
- package/dist/{message-CVTa4Hb1.js → message-DddMzbN_.js} +1 -1
- package/dist/{position-UV9V8NKa.js → position-CuBw2NRy.js} +7 -6
- package/dist/{role-Co7zqJq3.js → role-57H8JS8y.js} +7 -7
- package/dist/{self-CZaIzR2G.js → self-DXpu_EV-.js} +2 -2
- package/dist/{user-D8k4kb-7.js → user-C1FtP_9V.js} +7 -6
- package/dist/{zsys_delbutton.vue_vue_type_script_setup_true_lang-JGPGvAqL.js → zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js} +3 -3
- package/dist/zsys_eventBus-NYpVNvQ4.js +36 -0
- package/dist/{zsyslist.vue_vue_type_script_setup_true_lang-C714Dj9O.js → zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js} +4 -5
- package/dist/zsysview.es.js +1 -2
- package/package.json +1 -1
- package/dist/http_api_v1-CkjqXdob.js +0 -1008
- package/dist/index-BGMV_V_g.js +0 -6688
- package/dist/index-DG0x9mYD.js +0 -327
- package/dist/zsys_eventBus-CZOk9fTb.js +0 -178
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
6
6
|
import { f as formatDateTime } from "./zsys_time-4KclnYJN.js";
|
|
7
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "log_setting",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode } from "vue";
|
|
2
|
-
import { Z as ZSYSMessage } from "./message-
|
|
3
|
-
import {
|
|
2
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
3
|
+
import { i as useRouter, t as useRoute, _ as _export_sfc } from "./index-Cz5HRyMQ.js";
|
|
4
4
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
5
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
6
6
|
const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "login",
|
|
8
8
|
setup(__props) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createCommentVNode, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, reactive, onMounted, createTextVNode, unref, watch } from "vue";
|
|
2
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
3
|
-
import { h as house_default, u as user_default, o as odometer_default, c as collection_default, s as set_up_default, v as video_camera_default, l as location_default, d as document_default, b as bell_default, a as office_building_default, e as avatar_default, r as reading_default, f as copy_document_default, g as setting_default, i as arrow_down_default } from "./index-
|
|
4
|
-
import {
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-CVTa4Hb1.js";
|
|
2
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
3
|
+
import { h as house_default, u as user_default, o as odometer_default, c as collection_default, s as set_up_default, v as video_camera_default, l as location_default, d as document_default, b as bell_default, a as office_building_default, e as avatar_default, r as reading_default, f as copy_document_default, g as setting_default, _ as _export_sfc, i as useRouter, j as arrow_down_default, k as useTokenStore } from "./index-Cz5HRyMQ.js";
|
|
4
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
6
5
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "userMenuItem",
|
|
8
7
|
props: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
6
|
+
import { m as useMagicKeys, w as whenever } from "./index-Cz5HRyMQ.js";
|
|
7
|
+
import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
|
|
8
|
+
import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js";
|
|
8
9
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "position_edit_dialog",
|
|
10
11
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
-
import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { Z as ZSYSMessage } from "./message-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
5
|
+
import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js";
|
|
6
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
7
|
+
import { m as useMagicKeys, w as whenever, _ as _export_sfc } from "./index-Cz5HRyMQ.js";
|
|
8
|
+
import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
|
|
9
9
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "role_edit_dialog",
|
|
11
11
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
|
|
3
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
4
4
|
const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "self",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createCommentVNode, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, computed, unref } from "vue";
|
|
2
|
-
import { _ as _sfc_main$3 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
6
|
-
import {
|
|
2
|
+
import { _ as _sfc_main$3 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
6
|
+
import { m as useMagicKeys, w as whenever } from "./index-Cz5HRyMQ.js";
|
|
7
|
+
import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
|
|
7
8
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
8
|
-
import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js";
|
|
9
10
|
import { f as formatDateTime } from "./zsys_time-4KclnYJN.js";
|
|
10
11
|
const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
|
|
11
12
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, withCtx, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
3
|
-
import { Z as ZSYSMessage } from "./message-
|
|
4
|
-
import { z as zsysEventBus } from "./zsys_eventBus-
|
|
2
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
3
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
4
|
+
import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "zsys_delbutton",
|
|
7
7
|
props: {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function mitt(n) {
|
|
2
|
+
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
|
3
|
+
var i = n.get(t);
|
|
4
|
+
i ? i.push(e) : n.set(t, [e]);
|
|
5
|
+
}, off: function(t, e) {
|
|
6
|
+
var i = n.get(t);
|
|
7
|
+
i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t, []));
|
|
8
|
+
}, emit: function(t, e) {
|
|
9
|
+
var i = n.get(t);
|
|
10
|
+
i && i.slice().map(function(n2) {
|
|
11
|
+
n2(e);
|
|
12
|
+
}), (i = n.get("*")) && i.slice().map(function(n2) {
|
|
13
|
+
n2(t, e);
|
|
14
|
+
});
|
|
15
|
+
} };
|
|
16
|
+
}
|
|
17
|
+
const emitter = mitt(), zsysEventBus = () => ({
|
|
18
|
+
// 触发事件
|
|
19
|
+
emit: emitter.emit,
|
|
20
|
+
// 监听事件
|
|
21
|
+
on: emitter.on,
|
|
22
|
+
// 取消监听
|
|
23
|
+
off: emitter.off,
|
|
24
|
+
// 一次性监听
|
|
25
|
+
once: (event, handler) => {
|
|
26
|
+
const onceHandler = (payload) => {
|
|
27
|
+
handler(payload), emitter.off(event, onceHandler);
|
|
28
|
+
};
|
|
29
|
+
emitter.on(event, onceHandler);
|
|
30
|
+
},
|
|
31
|
+
// 清空所有监听
|
|
32
|
+
clearAll: emitter.all.clear
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
zsysEventBus as z
|
|
36
|
+
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, reactive, watch, resolveComponent, createElementBlock, openBlock, createCommentVNode, createElementVNode, createBlock, toDisplayString, withCtx, createTextVNode, createVNode, Fragment, renderList, unref, ref, withDirectives, withModifiers, vShow, renderSlot, withKeys, onMounted, onUnmounted, resolveDirective } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
4
|
-
import { Z as ZSYSMessage } from "./message-
|
|
5
|
-
import {
|
|
6
|
-
import { _ as _export_sfc } from "./index-BGMV_V_g.js";
|
|
2
|
+
import { m as useMagicKeys, w as whenever, _ as _export_sfc, n as refresh_default, p as search_default } from "./index-Cz5HRyMQ.js";
|
|
3
|
+
import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
|
|
4
|
+
import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
|
|
5
|
+
import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
|
|
7
6
|
const _hoisted_1$1 = { style: { "padding-left": "20px", "padding-right": "20px", "padding-top": "6px" } }, _hoisted_2 = {
|
|
8
7
|
key: 0,
|
|
9
8
|
style: { "font-size": "x-large" }
|
package/dist/zsysview.es.js
CHANGED