@maxtropy/v-components 0.1.16-beta.23 → 0.1.16-beta.24

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.
@@ -26165,7 +26165,7 @@ function qs() {
26165
26165
  function hh() {
26166
26166
  return window.__MICRO_APP_ENVIRONMENT__ ? window.__MICRO_APP_BASE_ROUTE__ ?? "" : window.__MICRO_APP_BASE_APPLICATION__ ? "/" + window.location.pathname.split("/")[1] : "";
26167
26167
  }
26168
- function k5() {
26168
+ function S5() {
26169
26169
  var n;
26170
26170
  window.$location = window.__MICRO_APP_ENVIRONMENT__ ? window.microApp.location : window.location;
26171
26171
  const e = qs();
@@ -26211,7 +26211,7 @@ function k5() {
26211
26211
  o.originId === 1 ? o.origin = window.SELECTSTAFFORIGIN : o.originId === 2 ? o.origin = window.IOTPLATFORMORIGIN : o.originId === 3 ? o.origin = window.DMEPLATFORMSORIGIN : o.originId === 4 && (o.origin = window.IDSPLATFORMORIGIN);
26212
26212
  }), window.RAW_ALARMWORKORDER = window.ALARMWORKORDER, window.ALARMWORKORDER = window.location.origin + t + "/ms-wo", window.RAW_JXDINTEGRATED = window.JXDINTEGRATED, window.JXDINTEGRATED = window.location.origin + t + "/ms-ji", window.RAW_AIANALYSIS = window.AIANALYSIS, window.AIANALYSIS = window.location.origin + t + "/ms-ai", window.RAW_ZYFMES = window.ZYFMES, window.ZYFMES = window.location.origin + t + "/ms-zm", window.RAW_PVANALYSIS = window.PVANALYSIS, window.PVANALYSIS = window.location.origin + t + "/ms-pa", window.RAW_RBTHERMAL = window.RBTHERMAL, window.RBTHERMAL = window.location.origin + t + "/ms-rt", window.RAW_BSSANALYSIS = window.BSSANALYSIS, window.BSSANALYSIS = window.location.origin + t + "/ms-ba", window.RAW_EVCHARGING = window.EVCHARGING, window.EVCHARGING = window.location.origin + t + "/ms-ec", window.RAW_CARBONANALYSIS = window.CARBONANALYSIS, window.CARBONANALYSIS = window.location.origin + t + "/ms-ca", window.RAW_ENERGY = window.ENERGY, window.ENERGY = window.location.origin + t + "/ms-en", window.RAW_GHGPC = window.GHGPC, window.GHGPC = window.location.origin + t + "/ms-gp", window.RAW_PROCESS = window.PROCESS, window.PROCESS = window.location.origin + t + "/ms-pr";
26213
26213
  }
26214
- function S5(e) {
26214
+ function M5(e) {
26215
26215
  window.__MICRO_APP_ENVIRONMENT__ && e.afterEach((t, n) => {
26216
26216
  t.fullPath !== n.fullPath && window.rawWindow.dispatchEvent(new PopStateEvent("popstate", { state: null }));
26217
26217
  });
@@ -29240,10 +29240,10 @@ var xh = { exports: {} };
29240
29240
  })();
29241
29241
  })(xh);
29242
29242
  var t5 = xh.exports;
29243
- const Oh = /* @__PURE__ */ Rn(t5), n5 = (e) => (qa("data-v-7ed0a5c8"), e = e(), Za(), e), o5 = {
29243
+ const Oh = /* @__PURE__ */ Rn(t5), n5 = (e) => (qa("data-v-af7e9551"), e = e(), Za(), e), o5 = {
29244
29244
  key: 0,
29245
29245
  class: "mx-form-title-text"
29246
- }, r5 = /* @__PURE__ */ n5(() => /* @__PURE__ */ Q("span", { class: "mx-form-title-border" }, null, -1)), a5 = /* @__PURE__ */ Y({
29246
+ }, r5 = /* @__PURE__ */ n5(() => /* @__PURE__ */ Q("span", { class: "mx-form-title-border" }, null, -1)), a5 = { key: 1 }, l5 = /* @__PURE__ */ Y({
29247
29247
  __name: "FormTitle",
29248
29248
  props: {
29249
29249
  title: { type: [String, Object, Number, Boolean, null, Array] },
@@ -29267,23 +29267,25 @@ const Oh = /* @__PURE__ */ Rn(t5), n5 = (e) => (qa("data-v-7ed0a5c8"), e = e(),
29267
29267
  Le(ie(o.title), 1)
29268
29268
  ], !0)
29269
29269
  ])) : J("", !0),
29270
- o.extraContent ? ne(o.$slots, "extra", { key: 1 }, () => [
29271
- Le(ie(o.extraContent), 1)
29272
- ], !0) : J("", !0)
29270
+ o.extraContent || o.$slots.extra ? (C(), R("div", a5, [
29271
+ ne(o.$slots, "extra", {}, () => [
29272
+ Le(ie(o.extraContent), 1)
29273
+ ], !0)
29274
+ ])) : J("", !0)
29273
29275
  ], 6));
29274
29276
  }
29275
29277
  });
29276
- const Oa = /* @__PURE__ */ ht(a5, [["__scopeId", "data-v-7ed0a5c8"]]);
29278
+ const Oa = /* @__PURE__ */ ht(l5, [["__scopeId", "data-v-af7e9551"]]);
29277
29279
  Oa.install = (e) => {
29278
29280
  e.component(Oa.__name, Oa);
29279
29281
  };
29280
- const l5 = {
29282
+ const s5 = {
29281
29283
  key: 0,
29282
29284
  class: "mx-title-wrapper"
29283
- }, s5 = {
29285
+ }, i5 = {
29284
29286
  key: 0,
29285
29287
  class: "mx-content-title"
29286
- }, i5 = /* @__PURE__ */ Y({
29288
+ }, u5 = /* @__PURE__ */ Y({
29287
29289
  __name: "SubContent",
29288
29290
  props: {
29289
29291
  title: { type: [String, Object, Number, Boolean, null, Array] },
@@ -29301,8 +29303,8 @@ const l5 = {
29301
29303
  class: S(n.value),
29302
29304
  style: Pe(o.style)
29303
29305
  }, [
29304
- o.title || o.extraContent ? (C(), R("div", l5, [
29305
- o.title ? (C(), R("div", s5, [
29306
+ o.title || o.extraContent ? (C(), R("div", s5, [
29307
+ o.title ? (C(), R("div", i5, [
29306
29308
  ne(o.$slots, "title", {}, () => [
29307
29309
  Le(ie(o.title), 1)
29308
29310
  ], !0)
@@ -29315,7 +29317,7 @@ const l5 = {
29315
29317
  ], 6));
29316
29318
  }
29317
29319
  });
29318
- const Pa = /* @__PURE__ */ ht(i5, [["__scopeId", "data-v-a8bd4c94"]]);
29320
+ const Pa = /* @__PURE__ */ ht(u5, [["__scopeId", "data-v-a8bd4c94"]]);
29319
29321
  Pa.install = (e) => {
29320
29322
  e.component(Pa.__name, Pa);
29321
29323
  };
@@ -29373,14 +29375,14 @@ const ap = {
29373
29375
  MxFormContent: xa,
29374
29376
  MxFormTitle: Oa,
29375
29377
  MxSubContent: Pa
29376
- }, u5 = (e) => {
29378
+ }, c5 = (e) => {
29377
29379
  for (const t in ap)
29378
29380
  e.component(t, ap[t]);
29379
- }, c5 = (e, t) => {
29380
- u5(e);
29381
- }, d5 = {
29381
+ }, d5 = (e, t) => {
29382
+ c5(e);
29383
+ }, f5 = {
29382
29384
  // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
29383
- install: c5
29385
+ install: d5
29384
29386
  }, lp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29385
29387
  __proto__: null,
29386
29388
  AuthorizedPermission: la,
@@ -29436,7 +29438,7 @@ const ap = {
29436
29438
  SwitchStaff: qr,
29437
29439
  SystemContent: oa,
29438
29440
  UserContent: na,
29439
- default: d5,
29441
+ default: f5,
29440
29442
  useIntegratedAuthorityList: Gs,
29441
29443
  usePermission: vh,
29442
29444
  useStaffTitle: gh
@@ -29445,40 +29447,40 @@ function dl(e) {
29445
29447
  let t = e;
29446
29448
  return lv(e) || en(e) || ks(e) ? t = { message: t, customClass: "mx-message" } : Object.prototype.toString.call(e) === "[object Object]" && (t.type === "info" && (t.icon = Es(zs)), t.customClass = e.customClass ? `mx-message ${e.customClass}` : "mx-message"), t;
29447
29449
  }
29448
- const $o = (e = {}, t) => to(dl(e), t), f5 = (e, t) => to.info(dl(e), t), p5 = (e, t) => to.success(dl(e), t), v5 = (e, t) => to.warning(dl(e), t), g5 = (e, t) => to.error(dl(e), t);
29449
- $o.info = f5;
29450
- $o.success = p5;
29451
- $o.warning = v5;
29452
- $o.error = g5;
29450
+ const $o = (e = {}, t) => to(dl(e), t), p5 = (e, t) => to.info(dl(e), t), v5 = (e, t) => to.success(dl(e), t), g5 = (e, t) => to.warning(dl(e), t), m5 = (e, t) => to.error(dl(e), t);
29451
+ $o.info = p5;
29452
+ $o.success = v5;
29453
+ $o.warning = g5;
29454
+ $o.error = m5;
29453
29455
  $o.closeAll = to.closeAll;
29454
29456
  $o._context = to._context;
29455
- const m5 = (e, t) => (e.install = (n) => {
29457
+ const h5 = (e, t) => (e.install = (n) => {
29456
29458
  e._context = n._context, n.config.globalProperties[t] = e;
29457
- }, e), M5 = m5($o, "$mxMessage");
29458
- function h5(e) {
29459
+ }, e), T5 = h5($o, "$mxMessage");
29460
+ function A5(e) {
29459
29461
  let t = {};
29460
29462
  return typeof e == "string" || en(e) ? t = { message: e, customClass: "mx-notification" } : Object.prototype.toString.call(e) === "[object Object]" && (t = { ...e }, t.customClass = `mx-notification ${e.customClass}`, e.type === "info" && (t.icon = Es(zs), t.type = null)), {
29461
29463
  ...t
29462
29464
  };
29463
29465
  }
29464
29466
  const Ph = function(e = {}) {
29465
- return lh(h5(e));
29467
+ return lh(A5(e));
29466
29468
  };
29467
29469
  Ph.closeAll = lh.closeAll;
29468
- const T5 = Ph, A5 = 100, x5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29470
+ const x5 = Ph, y5 = 100, O5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29469
29471
  __proto__: null,
29470
- MAGIC_NUM: A5
29472
+ MAGIC_NUM: y5
29471
29473
  }, Symbol.toStringTag, { value: "Module" }));
29472
- function y5(e) {
29474
+ function b5(e) {
29473
29475
  for (const t in lp)
29474
29476
  e.component(t, lp[t]);
29475
29477
  }
29476
- const O5 = { install: y5 };
29478
+ const P5 = { install: b5 };
29477
29479
  export {
29478
29480
  la as AuthorizedPermission,
29479
29481
  aa as BasicLayout,
29480
29482
  ra as BreadCrumb,
29481
- x5 as Const,
29483
+ O5 as Const,
29482
29484
  Zr as HeadNavigation,
29483
29485
  ca as MxAlert,
29484
29486
  sn as MxButton,
@@ -29500,9 +29502,9 @@ export {
29500
29502
  Oa as MxFormTitle,
29501
29503
  _r as MxInput,
29502
29504
  Gr as MxInputNumber,
29503
- M5 as MxMessage,
29505
+ T5 as MxMessage,
29504
29506
  QR as MxMessageBox,
29505
- T5 as MxNotification,
29507
+ x5 as MxNotification,
29506
29508
  Pc as MxOption,
29507
29509
  Fc as MxOptionGroup,
29508
29510
  Ia as MxPagination,
@@ -29534,15 +29536,15 @@ export {
29534
29536
  Ao as THEME_STORE_KEY,
29535
29537
  $t as Themes,
29536
29538
  na as UserContent,
29537
- O5 as default,
29539
+ P5 as default,
29538
29540
  qs as getBase,
29539
29541
  gN as getIntegratedAuthorityCurrent,
29540
29542
  pN as getMenuCurrent,
29541
29543
  hh as getMicroAppBaseRoute,
29542
29544
  dN as getSystemConfig,
29543
29545
  js as getTenantCurrent,
29544
- k5 as microAppRewrite,
29545
- S5 as microAppRouterHandle,
29546
+ S5 as microAppRewrite,
29547
+ M5 as microAppRouterHandle,
29546
29548
  cN as refreshCurrrent,
29547
29549
  qf as themeClass,
29548
29550
  Ys as useCurrent,