yxuse 3.0.88 → 3.0.90

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/lib/index.es14.js CHANGED
@@ -1,22 +1,37 @@
1
- import { a as http, U as URL } from "./index.es12.js";
2
- const uploadResourceApi = (params, config) => http.post(`${URL["ttc"].INTEGRATED_BASE_URL}/file/upload`, params, config);
3
- const getGroupListApi = () => http.get(
4
- `${URL["ttc"].INTEGRATED_BASE_URL}/resource/group/list`,
5
- {},
6
- {
7
- headers: { noLoading: true }
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ class YxSubscribe {
5
+ constructor() {
6
+ __publicField(this, "subscribers");
7
+ this.subscribers = {};
8
8
  }
9
- );
10
- const getResourceListApi = (groupUuid, sign) => http.get(`${URL["ttc"].INTEGRATED_BASE_URL}/resource/file/list/${sign}/${groupUuid}`, {}, { headers: { noLoading: true } });
11
- const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
- __proto__: null,
13
- getGroupListApi,
14
- getResourceListApi,
15
- uploadResourceApi
16
- }, Symbol.toStringTag, { value: "Module" }));
9
+ subscribe(sub, fn) {
10
+ if (!this.subscribers[sub]) {
11
+ this.subscribers[sub] = [];
12
+ }
13
+ this.subscribers[sub].push(fn);
14
+ }
15
+ unsubscribe(sub, fn) {
16
+ const subscribers = this.subscribers[sub];
17
+ if (!fn) return this.subscribers[sub] = [];
18
+ if (subscribers) {
19
+ const index = subscribers.indexOf(fn);
20
+ if (index !== -1) {
21
+ subscribers.splice(index, 1);
22
+ }
23
+ }
24
+ }
25
+ publish(message) {
26
+ const subscribers = this.subscribers[message.type];
27
+ if (subscribers) {
28
+ subscribers.forEach((fn) => {
29
+ fn(message.data);
30
+ });
31
+ }
32
+ }
33
+ }
34
+ const yxSubscribe = new YxSubscribe();
17
35
  export {
18
- getResourceListApi as a,
19
- getGroupListApi as g,
20
- index as i,
21
- uploadResourceApi as u
36
+ yxSubscribe as y
22
37
  };
@@ -0,0 +1,22 @@
1
+ import { a as http, U as URL } from "./index.es12.js";
2
+ const uploadResourceApi = (params, config) => http.post(`${URL["ttc"].INTEGRATED_BASE_URL}/file/upload`, params, config);
3
+ const getGroupListApi = () => http.get(
4
+ `${URL["ttc"].INTEGRATED_BASE_URL}/resource/group/list`,
5
+ {},
6
+ {
7
+ headers: { noLoading: true }
8
+ }
9
+ );
10
+ const getResourceListApi = (groupUuid, sign) => http.get(`${URL["ttc"].INTEGRATED_BASE_URL}/resource/file/list/${sign}/${groupUuid}`, {}, { headers: { noLoading: true } });
11
+ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
+ __proto__: null,
13
+ getGroupListApi,
14
+ getResourceListApi,
15
+ uploadResourceApi
16
+ }, Symbol.toStringTag, { value: "Module" }));
17
+ export {
18
+ getResourceListApi as a,
19
+ getGroupListApi as g,
20
+ index as i,
21
+ uploadResourceApi as u
22
+ };
package/lib/index.es2.js CHANGED
@@ -1,10 +1,13 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { g as getToken, s as showFullScreenLoading, h as hideFullScreenLoading, c as checkStatus, a as http, y as yxSubscribe } from "./index.es12.js";
4
+ import { g as getToken, s as showFullScreenLoading, h as hideFullScreenLoading, c as checkStatus, a as http } from "./index.es12.js";
5
5
  import { a as areColorsSimilar, c as copyText, e as enumToArray, g as getCownDownTime, b as getSelectOptions, i as isColorEqual, d as isDarkColor, n as notifyMessageToSystems, r as receiveMessage, u as useConfirm, y as yxMessage } from "./index.es13.js";
6
+ import { y as yxSubscribe } from "./index.es14.js";
6
7
  import "element-plus";
7
8
  import "element-plus/es/components/message/style/index";
9
+ import "element-plus/es/components/message-box/style/index";
10
+ import "./vendor-dayjs.es.js";
8
11
  import { m as mqtt_minExports } from "./vendor-mqtt.es.js";
9
12
  function buildQuery(params) {
10
13
  if (!params) return "";
package/lib/index.es3.js CHANGED
@@ -7,7 +7,7 @@ import "element-plus/es/components/loading/style/index";
7
7
  import "element-plus/es/components/message/style/css";
8
8
  import "element-plus/es/components/loading/style/css";
9
9
  import "./vendor-mqtt.es.js";
10
- import { g as getGroupListApi, a as getResourceListApi } from "./index.es14.js";
10
+ import { g as getGroupListApi, a as getResourceListApi } from "./index.es15.js";
11
11
  const ICON_GROUP_NAME = "yxIcon";
12
12
  const initYxIcon = () => {
13
13
  getYxIconGroupUuid();
package/lib/index.es4.js CHANGED
@@ -1,5 +1,48 @@
1
- import { a as http, U as URL, l as index$1 } from "./index.es12.js";
2
- import { i as index } from "./index.es14.js";
1
+ import { a as http, U as URL, l as index$2 } from "./index.es12.js";
2
+ import { i as index$1 } from "./index.es15.js";
3
+ import "element-plus";
4
+ import "element-plus/es/components/message/style/index";
5
+ import "element-plus/es/components/message-box/style/index";
6
+ import "./vendor-dayjs.es.js";
7
+ import { y as yxSubscribe } from "./index.es14.js";
8
+ import "element-plus/es/components/loading/style/index";
9
+ import "element-plus/es/components/message/style/css";
10
+ import "element-plus/es/components/loading/style/css";
11
+ import "./vendor-mqtt.es.js";
12
+ const GLOBAL_SYSTEM_CONFIG_KEY = "GlobalConfig";
13
+ const getGlobalName = (systemName = "ttc") => {
14
+ return `${systemName}${GLOBAL_SYSTEM_CONFIG_KEY}`;
15
+ };
16
+ const getStorage = (systemName) => {
17
+ return localStorage.getItem(`${getGlobalName(systemName)}`) ?? "{}";
18
+ };
19
+ const setStorage = (systemName, value) => {
20
+ localStorage.setItem(`${getGlobalName(systemName)}`, JSON.stringify(value));
21
+ };
22
+ const setGlobalSystemConfig = (config, systemName = "ttc") => {
23
+ const GlobalState = getStorage(systemName);
24
+ const newGlobalState = { ...JSON.parse(GlobalState), ...config };
25
+ setStorage(systemName, newGlobalState);
26
+ yxSubscribe.publish({ type: "globalSystemConfigChange", data: newGlobalState });
27
+ };
28
+ const changeGlobalSystemConfig = (key, value, systemName = "ttc") => {
29
+ const GlobalState = getStorage(systemName);
30
+ const newGlobalState = { ...JSON.parse(GlobalState), [key]: value };
31
+ setStorage(systemName, newGlobalState);
32
+ };
33
+ const getGlobalSystemConfig = (key, systemName = "ttc") => {
34
+ const GlobalState = JSON.parse(getStorage(systemName));
35
+ if (key) {
36
+ return GlobalState[key] ?? "";
37
+ }
38
+ return GlobalState;
39
+ };
40
+ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ __proto__: null,
42
+ changeGlobalSystemConfig,
43
+ getGlobalSystemConfig,
44
+ setGlobalSystemConfig
45
+ }, Symbol.toStringTag, { value: "Module" }));
3
46
  const getUserSelectSatelliteList = async (systemName = "ttc") => {
4
47
  const data = await http.get(`${URL[systemName].INTEGRATED_BASE_URL}/basic/data/satellite/select`);
5
48
  return data;
@@ -16,8 +59,9 @@ const getCommentUntreatedCount = async (systemName = "ttc") => {
16
59
  };
17
60
  const api2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
61
  __proto__: null,
19
- assets: index,
20
- auth: index$1,
62
+ assets: index$1,
63
+ auth: index$2,
64
+ config: index,
21
65
  getCommentUntreatedCount,
22
66
  getUserSelectAnteList,
23
67
  getUserSelectSatelliteList,
@@ -25,8 +69,11 @@ const api2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
25
69
  }, Symbol.toStringTag, { value: "Module" }));
26
70
  export {
27
71
  api2 as a,
28
- getUserThemeList as b,
29
- getUserSelectSatelliteList as c,
30
- getUserSelectAnteList as d,
31
- getCommentUntreatedCount as g
72
+ getCommentUntreatedCount as b,
73
+ getUserThemeList as c,
74
+ getUserSelectSatelliteList as d,
75
+ getUserSelectAnteList as e,
76
+ getGlobalSystemConfig as g,
77
+ index as i,
78
+ setGlobalSystemConfig as s
32
79
  };
package/lib/index.es5.js CHANGED
@@ -8,24 +8,25 @@ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot
8
8
  var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var _elId;
11
- import { g as getCommentUntreatedCount, b as getUserThemeList } from "./index.es4.js";
11
+ import { b as getCommentUntreatedCount, c as getUserThemeList } from "./index.es4.js";
12
12
  import { ref, defineComponent, onBeforeMount, onMounted, nextTick, watch, createVNode, withModifiers, resolveComponent, mergeProps, isVNode, createElementBlock, openBlock, createStaticVNode, createElementVNode, withDirectives, toDisplayString, vShow, createBlock, Transition, withCtx, normalizeClass, createCommentVNode, normalizeStyle, Fragment, renderList, resolveDynamicComponent, useCssVars, version, createApp } from "vue";
13
13
  import "xlsx";
14
14
  import "./vendor-file-saver.es.js";
15
15
  import "xlsx-js-style";
16
16
  import { S as Sortable } from "./vendor-sortablejs.es.js";
17
17
  import "element-plus";
18
- import { d as changeSystemConfig, e as getSystemConfig, a as http, B as BC_LANG_NAME, i as BC_THEME_NAME, y as yxSubscribe, k as setSystemConfig } from "./index.es12.js";
18
+ import { e as changeSystemConfig, f as getSystemConfig, a as http, B as BC_LANG_NAME, i as BC_THEME_NAME, k as setSystemConfig } from "./index.es12.js";
19
19
  import { i as isColorEqual } from "./index.es13.js";
20
+ import { y as yxSubscribe } from "./index.es14.js";
20
21
  import "element-plus/es/components/message/style/index";
21
22
  import "element-plus/es/components/loading/style/index";
22
23
  import "element-plus/es/components/message/style/css";
23
24
  import "element-plus/es/components/loading/style/css";
24
25
  import "./vendor-mqtt.es.js";
25
26
  import { l as localforage } from "./vendor-localforage.es.js";
26
- import { _ } from "./vendor-lodash.es.js";
27
27
  import "element-plus/es/components/message-box/style/index";
28
28
  import "./vendor-dayjs.es.js";
29
+ import { _ } from "./vendor-lodash.es.js";
29
30
  import "./index.es7.js";
30
31
  import "./index.es11.js";
31
32
  import "element-plus/es/components/dialog/style/index";
@@ -1341,6 +1342,7 @@ const _Toolbar = class _Toolbar {
1341
1342
  _elId = new WeakMap();
1342
1343
  _Toolbar.instance = null;
1343
1344
  let Toolbar = _Toolbar;
1345
+ const TTC_THTEME_KEY = "ttcGlobalState";
1344
1346
  const install = async (config2) => {
1345
1347
  var _a;
1346
1348
  config2 = { ...defaultConfig, ...config2 };
@@ -1390,13 +1392,13 @@ const initTtcFont = () => {
1390
1392
  document.head.appendChild(style);
1391
1393
  };
1392
1394
  const saveCssVar = ({ themeCssVar, themeId }) => {
1393
- const ttcGlobalState = localStorage.getItem("ttcGlobalState") || "{}";
1395
+ const ttcGlobalState = localStorage.getItem(TTC_THTEME_KEY) || "{}";
1394
1396
  const globalState = JSON.parse(ttcGlobalState);
1395
1397
  globalState.theme = {
1396
1398
  themeCssVar,
1397
1399
  id: themeId
1398
1400
  };
1399
- localStorage.setItem("ttcGlobalState", JSON.stringify(globalState));
1401
+ localStorage.setItem(TTC_THTEME_KEY, JSON.stringify(globalState));
1400
1402
  };
1401
1403
  const changeTheme = async (theme3) => {
1402
1404
  const themeCssVar = await setCssVar(theme3.themeUrl);
@@ -1463,13 +1465,13 @@ const getDefaultThemeUrl = async () => {
1463
1465
  };
1464
1466
  const getCurTheme = () => {
1465
1467
  var _a;
1466
- const ttcGlobalState = localStorage.getItem("ttcGlobalState");
1468
+ const ttcGlobalState = localStorage.getItem(TTC_THTEME_KEY);
1467
1469
  const theme3 = ttcGlobalState && ((_a = JSON.parse(ttcGlobalState)) == null ? void 0 : _a.theme);
1468
1470
  return (theme3 == null ? void 0 : theme3.id) || null;
1469
1471
  };
1470
1472
  const getCurThemeCssVar = () => {
1471
1473
  var _a;
1472
- const ttcGlobalState = localStorage.getItem("ttcGlobalState");
1474
+ const ttcGlobalState = localStorage.getItem(TTC_THTEME_KEY);
1473
1475
  const theme3 = ttcGlobalState && ((_a = JSON.parse(ttcGlobalState)) == null ? void 0 : _a.theme);
1474
1476
  return (theme3 == null ? void 0 : theme3.themeCssVar) || {};
1475
1477
  };
Binary file
package/lib/index.es6.js CHANGED
@@ -5,7 +5,7 @@ import "xlsx-js-style";
5
5
  import { S as Sortable } from "./vendor-sortablejs.es.js";
6
6
  import { _ as _export_sfc, T as Toolbar, Y as YxTablePro } from "./index.es5.js";
7
7
  import { genFileId } from "element-plus";
8
- import { j as jumpToHome, b as getUserConfig, d as changeSystemConfig, y as yxSubscribe, e as getSystemConfig } from "./index.es12.js";
8
+ import { j as jumpToHome, b as getUserConfig } from "./index.es12.js";
9
9
  import "element-plus/es/components/message/style/index";
10
10
  import "element-plus/es/components/message-box/style/index";
11
11
  import "./vendor-dayjs.es.js";
@@ -13,7 +13,9 @@ import "element-plus/es/components/loading/style/index";
13
13
  import "element-plus/es/components/message/style/css";
14
14
  import "element-plus/es/components/loading/style/css";
15
15
  import "./vendor-mqtt.es.js";
16
- import { u as uploadResourceApi } from "./index.es14.js";
16
+ import { u as uploadResourceApi } from "./index.es15.js";
17
+ import { s as setGlobalSystemConfig, g as getGlobalSystemConfig } from "./index.es4.js";
18
+ import { y as yxSubscribe } from "./index.es14.js";
17
19
  const _hoisted_1$4 = { class: "dialog-footer flex justify-end" };
18
20
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
19
21
  __name: "index",
@@ -874,12 +876,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
874
876
  ...formProps
875
877
  } = form;
876
878
  return createVNode(resolveComponent("el-form-item"), mergeProps({
877
- "class": `${formLayout === "vertical" ? "flex flex-col " : ""} ${(formStyle == null ? void 0 : formStyle.formItemClassName) ?? ""} ${className ?? ""} ${!form.label ? "no-label-item" : ""}`
878
- }, formProps, {
879
+ "class": `${formLayout === "vertical" ? "flex flex-col " : ""} ${(formStyle == null ? void 0 : formStyle.formItemClassName) ?? ""} ${className ?? ""} ${!form.label ? "no-label-item" : ""}`,
879
880
  "prop": form.prop,
880
881
  "labelWidth": formStyle == null ? void 0 : formStyle.labelWidth,
881
882
  "key": form.prop
882
- }), {
883
+ }, formProps), {
883
884
  default: () => {
884
885
  if (form == null ? void 0 : form.render) return form == null ? void 0 : form.render(formData.value);
885
886
  if (form.renderType) return dynamicComponent(form);
@@ -955,7 +956,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
955
956
  };
956
957
  }
957
958
  });
958
- const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-03f9a267"]]);
959
+ const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7611548b"]]);
959
960
  let versionKey, curVersion, updateApp;
960
961
  const updateSysVersion = () => {
961
962
  localStorage.setItem(versionKey, curVersion);
@@ -1162,14 +1163,14 @@ const _sfc_main$1 = {
1162
1163
  },
1163
1164
  data() {
1164
1165
  return {
1165
- customConfig: getSystemConfig("globalSystemConfig")
1166
+ customConfig: getGlobalSystemConfig()
1166
1167
  };
1167
1168
  },
1168
1169
  async created() {
1169
- await this.getSystemConfig();
1170
1170
  yxSubscribe.subscribe("globalSystemConfigChange", () => {
1171
- this.customConfig = getSystemConfig("globalSystemConfig");
1171
+ this.customConfig = getGlobalSystemConfig();
1172
1172
  });
1173
+ await this.getSystemConfig();
1173
1174
  },
1174
1175
  methods: {
1175
1176
  async getSystemConfig() {
@@ -1180,7 +1181,7 @@ const _sfc_main$1 = {
1180
1181
  ...defaultCustomConfig,
1181
1182
  ...data.data
1182
1183
  };
1183
- changeSystemConfig("globalSystemConfig", this.customConfig);
1184
+ setGlobalSystemConfig(this.customConfig);
1184
1185
  } catch (e) {
1185
1186
  }
1186
1187
  },
@@ -1211,7 +1212,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1211
1212
  }, toDisplayString((_d = $data.customConfig) == null ? void 0 : _d.title), 5)) : createCommentVNode("", true)
1212
1213
  ], 2);
1213
1214
  }
1214
- const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-2b4474e1"]]);
1215
+ const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-f9e99774"]]);
1215
1216
  class LogoTitleRender {
1216
1217
  constructor(props, domId = "system-logo-title") {
1217
1218
  this.render(props, domId);
Binary file
package/lib/index.es7.js CHANGED
@@ -1,5 +1,13 @@
1
1
  import { createI18n } from "vue-i18n";
2
- import { e as getSystemConfig } from "./index.es12.js";
2
+ import { f as getSystemConfig } from "./index.es12.js";
3
+ import "element-plus";
4
+ import "element-plus/es/components/message/style/index";
5
+ import "element-plus/es/components/message-box/style/index";
6
+ import "./vendor-dayjs.es.js";
7
+ import "element-plus/es/components/loading/style/index";
8
+ import "element-plus/es/components/message/style/css";
9
+ import "element-plus/es/components/loading/style/css";
10
+ import "./vendor-mqtt.es.js";
3
11
  const messages = {};
4
12
  window.lang = getSystemConfig("lang");
5
13
  const yxi18n = createI18n({
package/lib/index.es8.js CHANGED
@@ -1,4 +1,4 @@
1
- import { f as getUserIsHaveBtnPower } from "./index.es12.js";
1
+ import { d as getUserIsHaveBtnPower } from "./index.es12.js";
2
2
  const auth = {
3
3
  mounted(el, binding) {
4
4
  controlShowByUserPower(el, binding);
package/lib/theme.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs5.js");require("./index.cjs4.js"),require("vue"),require("xlsx"),require("./vendor-file-saver.cjs.js"),require("xlsx-js-style"),require("./vendor-sortablejs.cjs.js"),require("element-plus"),require("./index.cjs12.js"),require("./index.cjs13.js"),require("element-plus/es/components/message/style/index"),require("element-plus/es/components/loading/style/index"),require("element-plus/es/components/message/style/css"),require("element-plus/es/components/loading/style/css"),require("./vendor-mqtt.cjs.js"),require("./index.cjs7.js"),require("./index.cjs11.js"),require("element-plus/es/components/message-box/style/index"),require("element-plus/es/components/dialog/style/index"),require("element-plus/es/components/button/style/index"),require("element-plus/es/components/drawer/style/index"),exports.changeTheme=e.changeTheme,exports.findColorByTheme=e.findColorByTheme,exports.getCurTheme=e.getCurTheme,exports.getCurThemeCssVar=e.getCurThemeCssVar,exports.getDefaultThemeUrl=e.getDefaultThemeUrl,exports.getGroupColor=e.getGroupColor,exports.install=e.install,exports.installCssVarInSystemTheme=e.installCssVarInSystemTheme,exports.saveCssVar=e.saveCssVar,exports.setCssVar=e.setCssVar,exports.updateTheme=e.updateTheme;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs5.js");require("./index.cjs4.js"),require("vue"),require("xlsx"),require("./vendor-file-saver.cjs.js"),require("xlsx-js-style"),require("./vendor-sortablejs.cjs.js"),require("element-plus"),require("./index.cjs12.js"),require("./index.cjs13.js"),require("./index.cjs14.js"),require("element-plus/es/components/message/style/index"),require("element-plus/es/components/loading/style/index"),require("element-plus/es/components/message/style/css"),require("element-plus/es/components/loading/style/css"),require("./vendor-mqtt.cjs.js"),require("./index.cjs7.js"),require("./index.cjs11.js"),require("element-plus/es/components/message-box/style/index"),require("element-plus/es/components/dialog/style/index"),require("element-plus/es/components/button/style/index"),require("element-plus/es/components/drawer/style/index"),exports.changeTheme=e.changeTheme,exports.findColorByTheme=e.findColorByTheme,exports.getCurTheme=e.getCurTheme,exports.getCurThemeCssVar=e.getCurThemeCssVar,exports.getDefaultThemeUrl=e.getDefaultThemeUrl,exports.getGroupColor=e.getGroupColor,exports.install=e.install,exports.installCssVarInSystemTheme=e.installCssVarInSystemTheme,exports.saveCssVar=e.saveCssVar,exports.setCssVar=e.setCssVar,exports.updateTheme=e.updateTheme;
package/lib/theme.es.js CHANGED
@@ -8,6 +8,7 @@ import "./vendor-sortablejs.es.js";
8
8
  import "element-plus";
9
9
  import "./index.es12.js";
10
10
  import "./index.es13.js";
11
+ import "./index.es14.js";
11
12
  import "element-plus/es/components/message/style/index";
12
13
  import "element-plus/es/components/loading/style/index";
13
14
  import "element-plus/es/components/message/style/css";
package/lib/utils.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs12.js"),s=require("./index.cjs13.js"),o=require("./index.cjs2.js");exports.http=e.http,exports.yxSubscribe=e.yxSubscribe,exports.areColorsSimilar=s.areColorsSimilar,exports.copyText=s.copyText,exports.enumToArray=s.enumToArray,exports.getCownDownTime=s.getCownDownTime,exports.getSelectOptions=s.getSelectOptions,exports.isColorEqual=s.isColorEqual,exports.isDarkColor=s.isDarkColor,exports.notifyMessageToSystems=s.notifyMessageToSystems,exports.receiveMessage=s.receiveMessage,exports.useConfirm=s.useConfirm,exports.yxMessage=s.yxMessage,exports.MQ=o.MQ,exports.WS=o.Ws,exports.yxFecth=o.yxFecth;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs12.js"),s=require("./index.cjs13.js"),r=require("./index.cjs14.js"),o=require("./index.cjs2.js");exports.http=e.http,exports.areColorsSimilar=s.areColorsSimilar,exports.copyText=s.copyText,exports.enumToArray=s.enumToArray,exports.getCownDownTime=s.getCownDownTime,exports.getSelectOptions=s.getSelectOptions,exports.isColorEqual=s.isColorEqual,exports.isDarkColor=s.isDarkColor,exports.notifyMessageToSystems=s.notifyMessageToSystems,exports.receiveMessage=s.receiveMessage,exports.useConfirm=s.useConfirm,exports.yxMessage=s.yxMessage,exports.yxSubscribe=r.yxSubscribe,exports.MQ=o.MQ,exports.WS=o.Ws,exports.yxFecth=o.yxFecth;
package/lib/utils.es.js CHANGED
@@ -1,5 +1,6 @@
1
- import { a, y } from "./index.es12.js";
2
- import { a as a2, c, e, g, b, i, d, n, r, u, y as y2 } from "./index.es13.js";
1
+ import { a } from "./index.es12.js";
2
+ import { a as a2, c, e, g, b, i, d, n, r, u, y } from "./index.es13.js";
3
+ import { y as y2 } from "./index.es14.js";
3
4
  import { M, W, y as y3 } from "./index.es2.js";
4
5
  export {
5
6
  M as MQ,
@@ -16,6 +17,6 @@ export {
16
17
  r as receiveMessage,
17
18
  u as useConfirm,
18
19
  y3 as yxFecth,
19
- y2 as yxMessage,
20
- y as yxSubscribe
20
+ y as yxMessage,
21
+ y2 as yxSubscribe
21
22
  };
package/lib/yxIcon.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),require("./index.cjs12.js"),require("element-plus"),require("element-plus/es/components/message/style/index"),require("element-plus/es/components/message-box/style/index"),require("./vendor-dayjs.cjs.js"),require("element-plus/es/components/loading/style/index"),require("element-plus/es/components/message/style/css"),require("element-plus/es/components/loading/style/css"),require("./vendor-mqtt.cjs.js"),require("./index.cjs14.js");const e=require("./index.cjs3.js");exports.default=e.index;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),require("./index.cjs12.js"),require("element-plus"),require("element-plus/es/components/message/style/index"),require("element-plus/es/components/message-box/style/index"),require("./vendor-dayjs.cjs.js"),require("element-plus/es/components/loading/style/index"),require("element-plus/es/components/message/style/css"),require("element-plus/es/components/loading/style/css"),require("./vendor-mqtt.cjs.js"),require("./index.cjs15.js");const e=require("./index.cjs3.js");exports.default=e.index;
package/lib/yxIcon.es.js CHANGED
@@ -7,7 +7,7 @@ import "element-plus/es/components/loading/style/index";
7
7
  import "element-plus/es/components/message/style/css";
8
8
  import "element-plus/es/components/loading/style/css";
9
9
  import "./vendor-mqtt.es.js";
10
- import "./index.es14.js";
10
+ import "./index.es15.js";
11
11
  import { i } from "./index.es3.js";
12
12
  export {
13
13
  i as default
package/lib/yxi18n.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),require("vue-i18n"),require("./index.cjs12.js");const e=require("./index.cjs7.js");exports.default=e.yxi18n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),require("vue-i18n"),require("./index.cjs12.js"),require("element-plus"),require("element-plus/es/components/message/style/index"),require("element-plus/es/components/message-box/style/index"),require("./vendor-dayjs.cjs.js"),require("element-plus/es/components/loading/style/index"),require("element-plus/es/components/message/style/css"),require("element-plus/es/components/loading/style/css"),require("./vendor-mqtt.cjs.js");const e=require("./index.cjs7.js");exports.default=e.yxi18n;
package/lib/yxi18n.es.js CHANGED
@@ -1,5 +1,13 @@
1
1
  import "vue-i18n";
2
2
  import "./index.es12.js";
3
+ import "element-plus";
4
+ import "element-plus/es/components/message/style/index";
5
+ import "element-plus/es/components/message-box/style/index";
6
+ import "./vendor-dayjs.es.js";
7
+ import "element-plus/es/components/loading/style/index";
8
+ import "element-plus/es/components/message/style/css";
9
+ import "element-plus/es/components/loading/style/css";
10
+ import "./vendor-mqtt.es.js";
3
11
  import { a } from "./index.es7.js";
4
12
  export {
5
13
  a as default