keli-ui 0.3.5 → 0.3.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.
@@ -4,5 +4,5 @@ import { RouterName, RouterOptions } from '.';
4
4
  * 对应vue-router的api
5
5
  */
6
6
  export declare const appRouter: {
7
- push: (name: RouterName, options: RouterOptions) => Promise<any>;
7
+ push: (name: RouterName, options: RouterOptions) => void;
8
8
  };
@@ -153,11 +153,11 @@ export interface KeliUiConfig {
153
153
  /**
154
154
  * 页面跳转(可选)
155
155
  */
156
- router?: (name: RouterName, options: RouterOptions) => Promise<any>;
156
+ router?: (name: RouterName, options: RouterOptions) => void;
157
157
  }
158
158
  export declare function setKeliUiConfig(userConfig: KeliUiConfig): void;
159
159
  export declare function getKeliUiConfig(): KeliUiConfig;
160
- export declare function getRouterCallback(name: RouterName, options: RouterOptions): Promise<any>;
160
+ export declare function getRouterCallback(name: RouterName, options: RouterOptions): void;
161
161
  export declare function getAppApiCallbacks(): AppApiCallbacks;
162
162
  export declare function getAppTableApiCallbacks(): AppTableApiCallbacks;
163
163
  export declare function getAppEmbeddedApiCallbacks(): AppEmbeddedApiCallbacks;
package/dist/keli-ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as Wu, A as Ef, B as xg, C as Sf, D as xf, E as Tf, F as Tg, G as wf, H as wg, I as Pg, J as Pf, K as Af, L as Ag, M as Cg, N as _g, O as Xi, P as Ig, Q as ap, R as Og, S as Cf, T as _f, U as op, V as kg, W as Ng, X as If, Y as Of, Z as kf, _ as Nf, a as Df, b as jf, c as Mf, d as Lf, et as Rf, f as Bf, g as Ff, h as $f, j as Dg, k as Uf, l as Vf, m as lp, n as qf, o as Ul, p as Wf, q as Hf, r as Gf, s as Kf, tt as zf, u as cp, v as Xf, w as Jf, x as Yf, y as Qf, z as jg } from "./api-CgGVcbfG.js";
1
+ import { $ as Wu, A as Ef, B as xg, C as Sf, D as xf, E as Tf, F as Tg, G as wf, H as wg, I as Pg, J as Pf, K as Af, L as Ag, M as Cg, N as _g, O as Xi, P as Ig, Q as ap, R as Og, S as Cf, T as _f, U as op, V as kg, W as Ng, X as If, Y as Of, Z as kf, _ as Nf, a as Df, b as jf, c as Mf, d as Lf, et as Rf, f as Bf, g as Ff, h as $f, j as Dg, k as Uf, l as Vf, m as lp, n as qf, o as Ul, p as Wf, q as Hf, r as Gf, s as Kf, tt as zf, u as cp, v as Xf, w as Jf, x as Yf, y as Qf, z as jg } from "./api-VujlHEgc.js";
2
2
  import { Fragment as Fn, computed as Wr, createBlock as vt, createCommentVNode as nr, createElementBlock as Rt, createElementVNode as Yt, createSlots as ka, createTextVNode as In, createVNode as mt, defineAsyncComponent as Vl, defineComponent as Tn, guardReactiveProps as up, h as Zf, inject as Hu, markRaw as Ml, mergeModels as an, mergeProps as Yr, nextTick as ri, normalizeClass as Gs, normalizeProps as pp, normalizeStyle as Ks, onBeforeUnmount as dp, onMounted as br, onUnmounted as us, openBlock as et, provide as Gu, reactive as cs, readonly as eh, ref as Dt, renderList as Gn, renderSlot as vi, resolveComponent as ft, resolveDirective as js, resolveDynamicComponent as Jr, shallowRef as Ll, toDisplayString as Ln, toHandlers as th, unref as Vt, useAttrs as fp, useModel as Hn, useTemplateRef as bi, vShow as hp, watch as si, watchEffect as nh, withCtx as nt, withDirectives as As, withModifiers as ii } from "vue";
3
3
  import { Icon as ql } from "@iconify/vue";
4
4
  import { ElButton as Ku, ElMessage as rh, ElMessageBox as zu, ElNotification as sh, dayjs as ih } from "element-plus";
@@ -67117,7 +67117,7 @@ var ky = { class: "dia-container" }, Ny = /* @__PURE__ */ Tn({
67117
67117
  "dataChange"
67118
67118
  ], ["update:dataId"]),
67119
67119
  setup(w, { expose: e, emit: a }) {
67120
- const n = w, u = a, i = Vl(() => import("./ApprovalRecord-vVZRlsOq.js")), t = Dt(), r = Dt(), f = Dt({}), c = Dt([]), o = Hn(w, "dataId"), p = Dt({}), h = Dt({}), v = Dt([]), l = Dt({}), y = Dt(null), g = Dt([]);
67120
+ const n = w, u = a, i = Vl(() => import("./ApprovalRecord-CBHg5KYG.js")), t = Dt(), r = Dt(), f = Dt({}), c = Dt([]), o = Hn(w, "dataId"), p = Dt({}), h = Dt({}), v = Dt([]), l = Dt({}), y = Dt(null), g = Dt([]);
67121
67121
  let S = !1;
67122
67122
  const A = Wr(() => Array.isArray(n.pagePath) ? [...n.pagePath, {
67123
67123
  pageId: n.pageId,