zsysview 0.1.21 → 0.1.23

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-Fr50dLpE.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = { key: 0 }, _hoisted_3 = { key: 0 }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "backup",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx } from "vue";
2
- import { _ as _export_sfc } from "./index-Fr50dLpE.js";
2
+ import { _ as _export_sfc } from "./index-DbuJu7oy.js";
3
3
  const _sfc_main = {}, _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } };
4
4
  function _sfc_render(_ctx, _cache) {
5
5
  const _component_breadcrumb = resolveComponent("breadcrumb"), _component_el_result = resolveComponent("el-result");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
2
- import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-Fr50dLpE.js";
2
+ import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DbuJu7oy.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "change_password",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, onMounted, onUnmounted, createElementBlock, Fragment, unref } from "vue";
2
- import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, n as refresh_default, m as _sfc_main$3 } from "./index-Fr50dLpE.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, n as refresh_default, m as _sfc_main$3 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "department_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { i as _sfc_main$1 } from "./index-Fr50dLpE.js";
2
+ import { i as _sfc_main$1 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "help",
5
5
  setup(__props) {
@@ -48817,7 +48817,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48817
48817
  path: "/main",
48818
48818
  //"/main"
48819
48819
  name: "main",
48820
- component: () => import("./main-wYIX8t9z.js"),
48820
+ component: () => import("./main-BPnFL4uC.js"),
48821
48821
  meta: { requiresAuth: !0, title: "主界面" },
48822
48822
  children: [
48823
48823
  {
@@ -48829,13 +48829,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48829
48829
  path: "/self",
48830
48830
  //个人中心
48831
48831
  meta: { title: "基本信息" },
48832
- component: () => import("./self-NqY2akIt.js")
48832
+ component: () => import("./self-CQDUf0BH.js")
48833
48833
  },
48834
48834
  {
48835
48835
  path: "/notification",
48836
48836
  //个人中心
48837
48837
  meta: { title: "系统消息" },
48838
- component: () => import("./notification-9Iyo0-AE.js")
48838
+ component: () => import("./notification-D_jmODU5.js")
48839
48839
  }
48840
48840
  ]
48841
48841
  },
@@ -48843,7 +48843,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48843
48843
  path: "/password",
48844
48844
  //修改密码
48845
48845
  meta: { title: "修改密码" },
48846
- component: () => import("./change_password-Dey-lcDJ.js")
48846
+ component: () => import("./change_password-Cex82eYk.js")
48847
48847
  },
48848
48848
  {
48849
48849
  path: "/sys",
@@ -48854,61 +48854,61 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48854
48854
  {
48855
48855
  path: "/user",
48856
48856
  meta: { title: "用户管理" },
48857
- component: () => import("./user-BaLwwOYw.js")
48857
+ component: () => import("./user-M3Qa9bV6.js")
48858
48858
  },
48859
48859
  {
48860
48860
  path: "/department",
48861
48861
  meta: { title: "组织架构" },
48862
- component: () => import("./department-BqPrcMvf.js")
48862
+ component: () => import("./department-Dexh9kOC.js")
48863
48863
  },
48864
48864
  {
48865
48865
  path: "/position",
48866
48866
  meta: { title: "职务" },
48867
- component: () => import("./position-BodAuLpc.js")
48867
+ component: () => import("./position-rwBWMPRu.js")
48868
48868
  },
48869
48869
  {
48870
48870
  path: "/role",
48871
48871
  meta: { title: "角色权限" },
48872
- component: () => import("./role-D6KCjfel.js")
48872
+ component: () => import("./role-G-N3Mhwf.js")
48873
48873
  },
48874
48874
  {
48875
48875
  path: "/log",
48876
48876
  meta: { title: "日志" },
48877
- component: () => import("./log-DiV67XKI.js")
48877
+ component: () => import("./log-C03o2uA7.js")
48878
48878
  },
48879
48879
  {
48880
48880
  path: "/backup",
48881
48881
  meta: { title: "备份" },
48882
- component: () => import("./backup-BWYl1mF7.js")
48882
+ component: () => import("./backup-FjzsuVAk.js")
48883
48883
  },
48884
48884
  {
48885
48885
  path: "/systemsetting",
48886
48886
  meta: { title: "高级设置" },
48887
- component: () => import("./systemsetting-DxAavlwu.js")
48887
+ component: () => import("./systemsetting-U4RpeBqz.js")
48888
48888
  }
48889
48889
  ]
48890
48890
  },
48891
48891
  {
48892
48892
  path: "/help",
48893
48893
  meta: { title: "使用帮助" },
48894
- component: () => import("./help-CyO6ubF_.js")
48894
+ component: () => import("./help-ovnC0VAd.js")
48895
48895
  },
48896
48896
  {
48897
48897
  path: "/version",
48898
48898
  meta: { title: "版本记录" },
48899
- component: () => import("./version-AxTX0KNv.js")
48899
+ component: () => import("./version-ClGhjTTJ.js")
48900
48900
  },
48901
48901
  {
48902
48902
  path: "/building",
48903
48903
  meta: { title: "开发中的功能" },
48904
- component: () => import("./building-BpFciGMj.js")
48904
+ component: () => import("./building-Bj-vN1ug.js")
48905
48905
  }
48906
48906
  ]
48907
48907
  },
48908
48908
  {
48909
48909
  path: "/login",
48910
48910
  name: "login",
48911
- component: () => import("./login-BciiSujR.js")
48911
+ component: () => import("./login-sXHipLPC.js")
48912
48912
  }
48913
48913
  ], router = createRouter({
48914
48914
  history: createWebHistory(),
@@ -52259,7 +52259,8 @@ const emitter = mitt(), zsysEventBus = () => ({
52259
52259
  "before-close": handleBeforeClose,
52260
52260
  width: view.width,
52261
52261
  onOpen: open2,
52262
- "close-on-click-modal": !1
52262
+ "close-on-click-modal": !1,
52263
+ "append-to-body": !0
52263
52264
  }, {
52264
52265
  footer: withCtx(() => [
52265
52266
  createElementVNode("div", _hoisted_1$2, [
@@ -52312,8 +52313,9 @@ const emitter = mitt(), zsysEventBus = () => ({
52312
52313
  // module: { type: String, default: "" },
52313
52314
  // closeOnClickModal: { type: Boolean, default: true }
52314
52315
  },
52315
- setup(__props, { expose: __expose }) {
52316
- const props2 = __props, selected = ref([]), view = reactive({
52316
+ emits: ["dialog_sure"],
52317
+ setup(__props, { expose: __expose, emit: __emit }) {
52318
+ const props2 = __props, emit = __emit, selected = ref([]), view = reactive({
52317
52319
  str: "请点右侧选择",
52318
52320
  btn_count: "",
52319
52321
  dialog_show: !1
@@ -52327,41 +52329,53 @@ const emitter = mitt(), zsysEventBus = () => ({
52327
52329
  view.str != "" && (view.str += ","), view.str += item.title;
52328
52330
  }
52329
52331
  }
52330
- const setSelectedItems = (result) => {
52331
- console.log("setSelectedItems"), console.log(result), selected.value = result, showStr();
52332
+ const dialog_sure = (result) => {
52333
+ selected.value = result, showStr(), emit("dialog_sure", result);
52332
52334
  };
52333
52335
  let q2 = props2.quantity || -1, l2 = props2.pre_selection.length;
52334
- return q2 != -1 && l2 > q2 && props2.pre_selection.splice(q2, l2 - q2), selected.value = props2.pre_selection, onMounted(() => {
52336
+ q2 != -1 && l2 > q2 && props2.pre_selection.splice(q2, l2 - q2), selected.value = props2.pre_selection, onMounted(() => {
52335
52337
  showStr();
52336
- }), __expose({
52337
- GetSelectedItems: () => selected.value
52338
+ });
52339
+ const GetSelectedItems = () => selected.value, OpenDialog = () => {
52340
+ view.dialog_show = !0;
52341
+ }, slotMethods = reactive({
52342
+ // 数据操作方法
52343
+ OpenDialog: () => {
52344
+ view.dialog_show = !0;
52345
+ }
52346
+ });
52347
+ return __expose({
52348
+ GetSelectedItems,
52349
+ OpenDialog
52338
52350
  }), (_ctx, _cache) => {
52339
52351
  const _component_el_button = resolveComponent("el-button"), _component_el_input = resolveComponent("el-input");
52340
52352
  return openBlock(), createElementBlock(Fragment, null, [
52341
- createVNode(_component_el_input, {
52342
- modelValue: view.str,
52343
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => view.str = $event),
52344
- readonly: ""
52345
- }, {
52346
- append: withCtx(() => [
52347
- createVNode(_component_el_button, {
52348
- onClick: _cache[0] || (_cache[0] = ($event) => view.dialog_show = !0)
52349
- }, {
52350
- default: withCtx(() => [
52351
- createTextVNode("选择" + toDisplayString(view.btn_count), 1)
52352
- ]),
52353
- _: 1
52354
- })
52355
- ]),
52356
- _: 1
52357
- }, 8, ["modelValue"]),
52353
+ renderSlot(_ctx.$slots, "default", { methods: slotMethods }, () => [
52354
+ createVNode(_component_el_input, {
52355
+ modelValue: view.str,
52356
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => view.str = $event),
52357
+ readonly: ""
52358
+ }, {
52359
+ append: withCtx(() => [
52360
+ createVNode(_component_el_button, {
52361
+ onClick: _cache[0] || (_cache[0] = ($event) => view.dialog_show = !0)
52362
+ }, {
52363
+ default: withCtx(() => [
52364
+ createTextVNode("选择" + toDisplayString(view.btn_count), 1)
52365
+ ]),
52366
+ _: 1
52367
+ })
52368
+ ]),
52369
+ _: 1
52370
+ }, 8, ["modelValue"])
52371
+ ]),
52358
52372
  createVNode(_sfc_main$4, {
52359
52373
  modelValue: view.dialog_show,
52360
52374
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => view.dialog_show = $event),
52361
52375
  pre_selection: props2.pre_selection,
52362
52376
  listconfig: props2.listconfig,
52363
52377
  quantity: props2.quantity,
52364
- onSure: setSelectedItems,
52378
+ onSure: dialog_sure,
52365
52379
  dialog_config: props2.dialog_config
52366
52380
  }, {
52367
52381
  dialoglist: withCtx(() => [
@@ -52625,8 +52639,9 @@ const emitter = mitt(), zsysEventBus = () => ({
52625
52639
  // module: { type: String, default: "" },
52626
52640
  // closeOnClickModal: { type: Boolean, default: true }
52627
52641
  },
52628
- setup(__props, { expose: __expose }) {
52629
- const props2 = __props, s2 = ref(), dialogConfig = reactive({
52642
+ emits: ["dialog_sure"],
52643
+ setup(__props, { expose: __expose, emit: __emit }) {
52644
+ const props2 = __props, emit = __emit, s2 = ref(), dialogConfig = reactive({
52630
52645
  Title: "请选择人员"
52631
52646
  }), listConfig = reactive({
52632
52647
  ApiUrl: HttpApiV1.url_user_list,
@@ -52635,9 +52650,16 @@ const emitter = mitt(), zsysEventBus = () => ({
52635
52650
  ReserveSelection: !0,
52636
52651
  RowIdKey: "uid",
52637
52652
  RowTitleKey: "uname"
52653
+ }), GetSelectedItems = () => s2.value.GetSelectedItems(), dialog_sure = (result) => {
52654
+ emit("dialog_sure", result);
52655
+ }, slotMethods = reactive({
52656
+ // 数据操作方法
52657
+ OpenDialog: () => {
52658
+ s2.value.OpenDialog();
52659
+ }
52638
52660
  });
52639
52661
  return __expose({
52640
- GetSelectedItems: () => s2.value.GetSelectedItems()
52662
+ GetSelectedItems
52641
52663
  }), (_ctx, _cache) => {
52642
52664
  const _component_el_table_column = resolveComponent("el-table-column");
52643
52665
  return openBlock(), createBlock(_sfc_main$3, {
@@ -52646,8 +52668,12 @@ const emitter = mitt(), zsysEventBus = () => ({
52646
52668
  pre_selection: props2.pre_selection,
52647
52669
  listconfig: listConfig,
52648
52670
  quantity: props2.quantity,
52649
- dialog_config: dialogConfig
52671
+ dialog_config: dialogConfig,
52672
+ onDialog_sure: dialog_sure
52650
52673
  }, {
52674
+ default: withCtx(() => [
52675
+ renderSlot(_ctx.$slots, "default", { methods: slotMethods })
52676
+ ]),
52651
52677
  dialoglist: withCtx(() => [
52652
52678
  createVNode(_component_el_table_column, {
52653
52679
  prop: "uname",
@@ -52655,7 +52681,7 @@ const emitter = mitt(), zsysEventBus = () => ({
52655
52681
  "min-width": "100"
52656
52682
  })
52657
52683
  ]),
52658
- _: 1
52684
+ _: 3
52659
52685
  }, 8, ["pre_selection", "listconfig", "quantity", "dialog_config"]);
52660
52686
  };
52661
52687
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-Fr50dLpE.js";
2
+ import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-DbuJu7oy.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "log_setting",
5
5
  setup(__props, { expose: __expose }) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
2
- import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-Fr50dLpE.js";
2
+ import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-DbuJu7oy.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1 = {
5
5
  class: "bg",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, inject, reactive, onMounted, ref, unref, createTextVNode, watch } from "vue";
2
- import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-Fr50dLpE.js";
2
+ import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-DbuJu7oy.js";
3
3
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4
4
  __name: "userMenuItem",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-Fr50dLpE.js";
2
+ import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
4
4
  class: "flex_fill",
5
5
  style: { padding: "0px 20px" }
@@ -1,5 +1,5 @@
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 { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-Fr50dLpE.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "position_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
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 { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-Fr50dLpE.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "role_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1 } from "./index-Fr50dLpE.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "self",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
2
- import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-Fr50dLpE.js";
2
+ import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "systemsetting",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
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 { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4, m as _sfc_main$5 } from "./index-Fr50dLpE.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4, m as _sfc_main$5 } from "./index-DbuJu7oy.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2$1 = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1 } from "./index-Fr50dLpE.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-DbuJu7oy.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px", "white-space": "pre" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "version",
5
5
  setup(__props) {
@@ -66,6 +66,61 @@ pre_selection: {
66
66
  type: PropType<SelectedItem[]>;
67
67
  default: never[];
68
68
  };
69
+ quantity: {
70
+ type: NumberConstructor;
71
+ default: number;
72
+ };
73
+ }>, {
74
+ GetSelectedItems: () => SelectedItem[];
75
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
76
+ dialog_sure: (value: SelectedItem[]) => any;
77
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
78
+ pre_selection: {
79
+ type: PropType<SelectedItem[]>;
80
+ default: never[];
81
+ };
82
+ quantity: {
83
+ type: NumberConstructor;
84
+ default: number;
85
+ };
86
+ }>> & Readonly<{
87
+ onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
88
+ }>, {
89
+ pre_selection: SelectedItem[];
90
+ quantity: number;
91
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
92
+ s: ({
93
+ $: ComponentInternalInstance;
94
+ $data: {};
95
+ $props: Partial<{
96
+ pre_selection: SelectedItem[];
97
+ quantity: number;
98
+ }> & Omit<{
99
+ readonly pre_selection: SelectedItem[];
100
+ readonly listconfig: ListConfig;
101
+ readonly quantity: number;
102
+ readonly dialog_config?: DialogConfig | undefined;
103
+ readonly onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
104
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "pre_selection" | "quantity">;
105
+ $attrs: {
106
+ [x: string]: unknown;
107
+ };
108
+ $refs: {
109
+ [x: string]: unknown;
110
+ };
111
+ $slots: Readonly<{
112
+ [name: string]: Slot<any> | undefined;
113
+ }>;
114
+ $root: ComponentPublicInstance | null;
115
+ $parent: ComponentPublicInstance | null;
116
+ $host: Element | null;
117
+ $emit: (event: "dialog_sure", value: SelectedItem[]) => void;
118
+ $el: any;
119
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
120
+ pre_selection: {
121
+ type: PropType<SelectedItem[]>;
122
+ default: never[];
123
+ };
69
124
  listconfig: {
70
125
  type: PropType<ListConfig>;
71
126
  required: true;
@@ -77,9 +132,40 @@ default: number;
77
132
  dialog_config: {
78
133
  type: PropType<DialogConfig>;
79
134
  };
135
+ }>> & Readonly<{
136
+ onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
80
137
  }>, {
81
138
  GetSelectedItems: () => SelectedItem[];
82
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
139
+ OpenDialog: () => void;
140
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
141
+ dialog_sure: (value: SelectedItem[]) => any;
142
+ }, string, {
143
+ pre_selection: SelectedItem[];
144
+ quantity: number;
145
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
146
+ beforeCreate?: (() => void) | (() => void)[];
147
+ created?: (() => void) | (() => void)[];
148
+ beforeMount?: (() => void) | (() => void)[];
149
+ mounted?: (() => void) | (() => void)[];
150
+ beforeUpdate?: (() => void) | (() => void)[];
151
+ updated?: (() => void) | (() => void)[];
152
+ activated?: (() => void) | (() => void)[];
153
+ deactivated?: (() => void) | (() => void)[];
154
+ beforeDestroy?: (() => void) | (() => void)[];
155
+ beforeUnmount?: (() => void) | (() => void)[];
156
+ destroyed?: (() => void) | (() => void)[];
157
+ unmounted?: (() => void) | (() => void)[];
158
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
159
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
160
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
161
+ };
162
+ $forceUpdate: () => void;
163
+ $nextTick: nextTick;
164
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
165
+ } & Readonly<{
166
+ pre_selection: SelectedItem[];
167
+ quantity: number;
168
+ }> & Omit<Readonly<ExtractPropTypes< {
83
169
  pre_selection: {
84
170
  type: PropType<SelectedItem[]>;
85
171
  default: never[];
@@ -95,12 +181,68 @@ default: number;
95
181
  dialog_config: {
96
182
  type: PropType<DialogConfig>;
97
183
  };
98
- }>> & Readonly<{}>, {
184
+ }>> & Readonly<{
185
+ onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
186
+ }>, "GetSelectedItems" | "OpenDialog" | ("pre_selection" | "quantity")> & ShallowUnwrapRef< {
187
+ GetSelectedItems: () => SelectedItem[];
188
+ OpenDialog: () => void;
189
+ }> & {} & ComponentCustomProperties & {} & {
190
+ $slots: {
191
+ default?(_: {
192
+ methods: {
193
+ OpenDialog: () => void;
194
+ };
195
+ }): any;
196
+ dialoglist?(_: {}): any;
197
+ };
198
+ }) | null;
199
+ }, any>;
200
+
201
+ declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
202
+ pre_selection: {
203
+ type: PropType<SelectedItem[]>;
204
+ default: never[];
205
+ };
206
+ listconfig: {
207
+ type: PropType<ListConfig>;
208
+ required: true;
209
+ };
210
+ quantity: {
211
+ type: NumberConstructor;
212
+ default: number;
213
+ };
214
+ dialog_config: {
215
+ type: PropType<DialogConfig>;
216
+ };
217
+ }>, {
218
+ GetSelectedItems: () => SelectedItem[];
219
+ OpenDialog: () => void;
220
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
221
+ dialog_sure: (value: SelectedItem[]) => any;
222
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
223
+ pre_selection: {
224
+ type: PropType<SelectedItem[]>;
225
+ default: never[];
226
+ };
227
+ listconfig: {
228
+ type: PropType<ListConfig>;
229
+ required: true;
230
+ };
231
+ quantity: {
232
+ type: NumberConstructor;
233
+ default: number;
234
+ };
235
+ dialog_config: {
236
+ type: PropType<DialogConfig>;
237
+ };
238
+ }>> & Readonly<{
239
+ onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
240
+ }>, {
99
241
  pre_selection: SelectedItem[];
100
242
  quantity: number;
101
243
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
102
244
 
103
- declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
245
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
104
246
  modelValue: {
105
247
  type: BooleanConstructor;
106
248
  required: true;
@@ -269,13 +411,139 @@ declare function __VLS_template(): {
269
411
  declare function __VLS_template_2(): {
270
412
  attrs: Partial<{}>;
271
413
  slots: {
414
+ default?(_: {
415
+ methods: {
416
+ OpenDialog: () => void;
417
+ };
418
+ }): any;
419
+ };
420
+ refs: {
421
+ s: ({
422
+ $: ComponentInternalInstance;
423
+ $data: {};
424
+ $props: Partial<{
425
+ pre_selection: SelectedItem[];
426
+ quantity: number;
427
+ }> & Omit<{
428
+ readonly pre_selection: SelectedItem[];
429
+ readonly listconfig: ListConfig;
430
+ readonly quantity: number;
431
+ readonly dialog_config?: DialogConfig | undefined;
432
+ readonly onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
433
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "pre_selection" | "quantity">;
434
+ $attrs: {
435
+ [x: string]: unknown;
436
+ };
437
+ $refs: {
438
+ [x: string]: unknown;
439
+ };
440
+ $slots: Readonly<{
441
+ [name: string]: Slot<any> | undefined;
442
+ }>;
443
+ $root: ComponentPublicInstance | null;
444
+ $parent: ComponentPublicInstance | null;
445
+ $host: Element | null;
446
+ $emit: (event: "dialog_sure", value: SelectedItem[]) => void;
447
+ $el: any;
448
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
449
+ pre_selection: {
450
+ type: PropType<SelectedItem[]>;
451
+ default: never[];
452
+ };
453
+ listconfig: {
454
+ type: PropType<ListConfig>;
455
+ required: true;
456
+ };
457
+ quantity: {
458
+ type: NumberConstructor;
459
+ default: number;
460
+ };
461
+ dialog_config: {
462
+ type: PropType<DialogConfig>;
463
+ };
464
+ }>> & Readonly<{
465
+ onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
466
+ }>, {
467
+ GetSelectedItems: () => SelectedItem[];
468
+ OpenDialog: () => void;
469
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
470
+ dialog_sure: (value: SelectedItem[]) => any;
471
+ }, string, {
472
+ pre_selection: SelectedItem[];
473
+ quantity: number;
474
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
475
+ beforeCreate?: (() => void) | (() => void)[];
476
+ created?: (() => void) | (() => void)[];
477
+ beforeMount?: (() => void) | (() => void)[];
478
+ mounted?: (() => void) | (() => void)[];
479
+ beforeUpdate?: (() => void) | (() => void)[];
480
+ updated?: (() => void) | (() => void)[];
481
+ activated?: (() => void) | (() => void)[];
482
+ deactivated?: (() => void) | (() => void)[];
483
+ beforeDestroy?: (() => void) | (() => void)[];
484
+ beforeUnmount?: (() => void) | (() => void)[];
485
+ destroyed?: (() => void) | (() => void)[];
486
+ unmounted?: (() => void) | (() => void)[];
487
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
488
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
489
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
490
+ };
491
+ $forceUpdate: () => void;
492
+ $nextTick: nextTick;
493
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
494
+ } & Readonly<{
495
+ pre_selection: SelectedItem[];
496
+ quantity: number;
497
+ }> & Omit<Readonly<ExtractPropTypes< {
498
+ pre_selection: {
499
+ type: PropType<SelectedItem[]>;
500
+ default: never[];
501
+ };
502
+ listconfig: {
503
+ type: PropType<ListConfig>;
504
+ required: true;
505
+ };
506
+ quantity: {
507
+ type: NumberConstructor;
508
+ default: number;
509
+ };
510
+ dialog_config: {
511
+ type: PropType<DialogConfig>;
512
+ };
513
+ }>> & Readonly<{
514
+ onDialog_sure?: ((value: SelectedItem[]) => any) | undefined;
515
+ }>, "GetSelectedItems" | "OpenDialog" | ("pre_selection" | "quantity")> & ShallowUnwrapRef< {
516
+ GetSelectedItems: () => SelectedItem[];
517
+ OpenDialog: () => void;
518
+ }> & {} & ComponentCustomProperties & {} & {
519
+ $slots: {
520
+ default?(_: {
521
+ methods: {
522
+ OpenDialog: () => void;
523
+ };
524
+ }): any;
525
+ dialoglist?(_: {}): any;
526
+ };
527
+ }) | null;
528
+ };
529
+ rootEl: any;
530
+ };
531
+
532
+ declare function __VLS_template_3(): {
533
+ attrs: Partial<{}>;
534
+ slots: {
535
+ default?(_: {
536
+ methods: {
537
+ OpenDialog: () => void;
538
+ };
539
+ }): any;
272
540
  dialoglist?(_: {}): any;
273
541
  };
274
542
  refs: {};
275
543
  rootEl: any;
276
544
  };
277
545
 
278
- declare function __VLS_template_3(): {
546
+ declare function __VLS_template_4(): {
279
547
  attrs: Partial<{}>;
280
548
  slots: {
281
549
  dialoglist?(_: {}): any;
@@ -380,6 +648,8 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
380
648
 
381
649
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
382
650
 
651
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
652
+
383
653
  declare type __VLS_WithTemplateSlots<T, S> = T & {
384
654
  new (): {
385
655
  $slots: S;
@@ -398,6 +668,12 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
398
668
  };
399
669
  };
400
670
 
671
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
672
+ new (): {
673
+ $slots: S;
674
+ };
675
+ };
676
+
401
677
  export declare const addFrameRouter: (r: RouteRecordRaw) => void;
402
678
 
403
679
  export declare const addFrameRouters: (rs: RouteRecordRaw[]) => void;
@@ -554,128 +830,11 @@ default: string;
554
830
  module: string;
555
831
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
556
832
 
557
- export declare const zsys_selector: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
833
+ export declare const zsys_selector: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
558
834
 
559
- export declare const zsys_selector_dialog: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
835
+ export declare const zsys_selector_dialog: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
560
836
 
561
- export declare const zsys_user_selctor: DefineComponent<ExtractPropTypes< {
562
- pre_selection: {
563
- type: PropType<SelectedItem[]>;
564
- default: never[];
565
- };
566
- quantity: {
567
- type: NumberConstructor;
568
- default: number;
569
- };
570
- }>, {
571
- GetSelectedItems: () => SelectedItem[];
572
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
573
- pre_selection: {
574
- type: PropType<SelectedItem[]>;
575
- default: never[];
576
- };
577
- quantity: {
578
- type: NumberConstructor;
579
- default: number;
580
- };
581
- }>> & Readonly<{}>, {
582
- pre_selection: SelectedItem[];
583
- quantity: number;
584
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
585
- s: ({
586
- $: ComponentInternalInstance;
587
- $data: {};
588
- $props: Partial<{
589
- pre_selection: SelectedItem[];
590
- quantity: number;
591
- }> & Omit<{
592
- readonly pre_selection: SelectedItem[];
593
- readonly listconfig: ListConfig;
594
- readonly quantity: number;
595
- readonly dialog_config?: DialogConfig | undefined;
596
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "pre_selection" | "quantity">;
597
- $attrs: {
598
- [x: string]: unknown;
599
- };
600
- $refs: {
601
- [x: string]: unknown;
602
- };
603
- $slots: Readonly<{
604
- [name: string]: Slot<any> | undefined;
605
- }>;
606
- $root: ComponentPublicInstance | null;
607
- $parent: ComponentPublicInstance | null;
608
- $host: Element | null;
609
- $emit: (event: string, ...args: any[]) => void;
610
- $el: any;
611
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
612
- pre_selection: {
613
- type: PropType<SelectedItem[]>;
614
- default: never[];
615
- };
616
- listconfig: {
617
- type: PropType<ListConfig>;
618
- required: true;
619
- };
620
- quantity: {
621
- type: NumberConstructor;
622
- default: number;
623
- };
624
- dialog_config: {
625
- type: PropType<DialogConfig>;
626
- };
627
- }>> & Readonly<{}>, {
628
- GetSelectedItems: () => SelectedItem[];
629
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
630
- pre_selection: SelectedItem[];
631
- quantity: number;
632
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
633
- beforeCreate?: (() => void) | (() => void)[];
634
- created?: (() => void) | (() => void)[];
635
- beforeMount?: (() => void) | (() => void)[];
636
- mounted?: (() => void) | (() => void)[];
637
- beforeUpdate?: (() => void) | (() => void)[];
638
- updated?: (() => void) | (() => void)[];
639
- activated?: (() => void) | (() => void)[];
640
- deactivated?: (() => void) | (() => void)[];
641
- beforeDestroy?: (() => void) | (() => void)[];
642
- beforeUnmount?: (() => void) | (() => void)[];
643
- destroyed?: (() => void) | (() => void)[];
644
- unmounted?: (() => void) | (() => void)[];
645
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
646
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
647
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
648
- };
649
- $forceUpdate: () => void;
650
- $nextTick: nextTick;
651
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
652
- } & Readonly<{
653
- pre_selection: SelectedItem[];
654
- quantity: number;
655
- }> & Omit<Readonly<ExtractPropTypes< {
656
- pre_selection: {
657
- type: PropType<SelectedItem[]>;
658
- default: never[];
659
- };
660
- listconfig: {
661
- type: PropType<ListConfig>;
662
- required: true;
663
- };
664
- quantity: {
665
- type: NumberConstructor;
666
- default: number;
667
- };
668
- dialog_config: {
669
- type: PropType<DialogConfig>;
670
- };
671
- }>> & Readonly<{}>, "GetSelectedItems" | ("pre_selection" | "quantity")> & ShallowUnwrapRef< {
672
- GetSelectedItems: () => SelectedItem[];
673
- }> & {} & ComponentCustomProperties & {} & {
674
- $slots: {
675
- dialoglist?(_: {}): any;
676
- };
677
- }) | null;
678
- }, any>;
837
+ export declare const zsys_user_selctor: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
679
838
 
680
839
  export declare const zsysapp: App<Element>;
681
840
 
@@ -1,4 +1,4 @@
1
- import { I, G, F, Z, y, x, i, j, f, H, v, z, m, D, E, B, t, A, k } from "./index-Fr50dLpE.js";
1
+ import { I, G, F, Z, y, x, i, j, f, H, v, z, m, D, E, B, t, A, k } from "./index-DbuJu7oy.js";
2
2
  export {
3
3
  I as GetUserPermission,
4
4
  G as HasPermission,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.1.21",
4
+ "version": "0.1.23",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",