@epxing/core 5.3.0-beta.1 → 5.3.0-beta.2

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.
Files changed (72) hide show
  1. package/API.md +6 -4
  2. package/README.md +2 -3
  3. package/dist/src/Container.js +1 -0
  4. package/dist/src/api/config.js +1 -0
  5. package/dist/src/api/createHttp.js +1 -0
  6. package/dist/src/api/index.js +1 -0
  7. package/dist/src/app-layout.js +1 -0
  8. package/dist/src/app.js +1 -0
  9. package/dist/src/axios.js +1 -0
  10. package/dist/src/capture-ref.js +1 -0
  11. package/dist/src/components/draggable/index.js +1 -0
  12. package/dist/src/create-app.js +1 -0
  13. package/dist/src/directives/clickoutside.js +1 -0
  14. package/dist/src/directives/global.js +1 -0
  15. package/dist/src/index.js +1 -0
  16. package/dist/src/lazy-library.js +1 -0
  17. package/dist/src/loadComponent.js +1 -0
  18. package/dist/src/loadLibrary.js +1 -0
  19. package/dist/src/menu-route.js +1 -0
  20. package/dist/src/mixins/component.js +1 -0
  21. package/dist/src/mixins/custom-option.js +1 -0
  22. package/dist/src/mixins/el-locale.js +1 -0
  23. package/dist/src/mixins/global.js +1 -0
  24. package/dist/src/mixins/index.js +1 -0
  25. package/dist/src/mixins/methods-to-prototype.js +1 -0
  26. package/dist/src/mixins/optimized-global.js +1 -0
  27. package/dist/src/mixins/popper.js +1 -0
  28. package/dist/src/navigation.js +1 -0
  29. package/dist/src/package-install.js +1 -0
  30. package/dist/src/plugins/element-plus.js +1 -0
  31. package/dist/src/plugins/i18n.js +1 -0
  32. package/dist/src/plugins/library-locale.js +1 -0
  33. package/dist/src/progress-bar.js +1 -0
  34. package/dist/src/public-api.js +1 -0
  35. package/dist/src/register-components.js +1 -0
  36. package/dist/src/remote-deps.js +1 -0
  37. package/dist/src/router/config.js +1 -0
  38. package/dist/src/router/index.js +1 -0
  39. package/dist/src/router/public.js +1 -0
  40. package/dist/src/runtime-services.js +1 -0
  41. package/dist/src/runtime-utils/fieldFactory.js +1 -0
  42. package/dist/src/runtime-utils/meta.js +1 -0
  43. package/dist/src/runtime-utils/pdf.viewer.js +1 -0
  44. package/dist/src/runtime-utils/util.js +1 -0
  45. package/dist/src/shallow-same.js +1 -0
  46. package/dist/src/shared-packages.js +1 -0
  47. package/dist/src/store/actions.js +1 -0
  48. package/dist/src/store/create-store.js +1 -0
  49. package/dist/src/store/index.js +1 -0
  50. package/dist/src/store/lru.js +1 -0
  51. package/dist/src/store/modules/config.js +1 -0
  52. package/dist/src/store/modules/file.js +1 -0
  53. package/dist/src/store/modules/index.js +1 -0
  54. package/dist/src/store/modules/list.js +1 -0
  55. package/dist/src/store/modules/locale.js +1 -0
  56. package/dist/src/store/modules/meta.js +1 -0
  57. package/dist/src/store/modules/page.js +1 -0
  58. package/dist/src/store/modules/router.js +1 -0
  59. package/dist/src/store/modules/tabs.js +1 -0
  60. package/dist/src/store/modules/user.js +1 -0
  61. package/dist/src/style-presets.js +1 -0
  62. package/dist/src/ui-settings.js +1 -0
  63. package/dist/src/viewport.js +1 -0
  64. package/dist/src/vue.bus.js +1 -0
  65. package/dist/src/vue2-cancel-token-compat.js +1 -0
  66. package/dist/src/vue2-remote-shim.js +1 -0
  67. package/dist/src/vue2-render-compat.js +1 -0
  68. package/dist/src/vue2-select-style-compat.js +1 -0
  69. package/dist/src/watermark.js +1 -0
  70. package/dist/src/xss.js +1 -0
  71. package/dist/src/z-index.js +1 -0
  72. package/package.json +6 -5
package/API.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  Vue 3 应用启动、公共混入、实体请求、元数据、状态、路由和运行时服务。
4
4
 
5
- 本页对应包版本 `5.3.0-beta.1`。导出名、子路径和签名从当前源码、package.json 与类型声明生成。
5
+ 本页对应包版本 `5.3.0-beta.2`。导出名、子路径和签名从当前源码、package.json 与类型声明生成。
6
6
 
7
7
  ## 安装与使用
8
8
 
9
9
 
10
10
  ```sh
11
- pnpm add @epxing/core
11
+ pnpm add @epxing/core@5.3.0-beta.2
12
12
  ```
13
13
 
14
14
 
@@ -27,7 +27,9 @@ app.mount('#app')
27
27
 
28
28
  createApp 返回 Vue App,可继续 app.use / app.component / app.mount。自建 Vue 应用时使用 app.use(EpxCore, { store, router, http });store 与 router 必须提供。产品 HTTP 客户端需实现页面实际调用的实体协议,方法和参数见 HttpClient 与 EntityRequest 类型。
29
29
 
30
- 仅安装 core 会创建核心运行环境;产品插件负责业务路由和页面。需要基础组件、业务选择器、设计器或看板时,另外安装对应包并引入其 style.css。getSystemMeta/getSysId/usePlugin 等依赖当前系统上下文,初始化系统后再调用。
30
+ 仅安装 core 会创建核心运行环境;产品插件负责业务路由和页面。需要基础组件、业务选择器、设计器或看板时,另外安装并导入对应包,样式自动加载。getSystemMeta/getSysId/usePlugin 等依赖当前系统上下文,初始化系统后再调用。
31
+
32
+ 本版 JS 入口自动加载本包聚合样式,根导入和稳定子路径均无需手动 import style.css;保留显式样式入口以兼容旧代码。样式按包加载,产品覆盖样式放在框架导入之后。
31
33
 
32
34
  ## 根入口完整导出
33
35
 
@@ -497,7 +499,7 @@ createApp(options?: CreateAppOptions): App<any>
497
499
  | `@epxing/core/mixins` | `default`、`global`、`component` | 混入集合:component 与 ComponentMixin 相同,global 与 GlobalMixin 相同。 [详细参考](../../docs/revision/core/api/mixins/index.md) |
498
500
  | `@epxing/core/router` | `routerConfig`、`createFrameRouter`、`default`、`FrameRouterOptions`(类型) | 平台基础 routes 与 beforeEach,供产品自行组装 router 时复用。 |
499
501
  | `@epxing/core/event-bus` | `createEventBus`、`getEventBus`、`default`、`EventBus`(类型)、`EventListener`(类型) | 该模块提供平台运行或配置能力;下方按真实导出、依赖和调用事实说明接口。 [详细参考](../../docs/revision/core/api/vue.bus.md) |
500
- | `@epxing/core/style.css` | 样式副作用入口 | 在产品入口引入一次。 |
502
+ | `@epxing/core/style.css` | 可选的显式样式入口 | JS 入口自动加载本包样式;保留此路径以兼容旧代码。 |
501
503
 
502
504
  ## 子路径补充导出
503
505
 
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  [完整公开 API、导入方式与示例](./API.md)
4
4
 
5
+ 从 5.3.0-beta.2 起,导入本包 JS 时自动加载包级样式,根入口和稳定子路径均无需手动引入 style.css。显式样式入口继续兼容旧代码;产品覆盖样式放在框架导入之后。
6
+
5
7
  可独立安装的框架运行时核心。提供初始化插件、请求、组件 mixin、元数据类、字段工厂与导航服务,不自动安装业务组件。
6
8
 
7
9
  产品常用导出:`mixins`、`ComponentMixin`、`http`、`util`、`getSystemMeta/getFileUrl/getSysId/toLogin/usePlugin/runExpByScope`、`Meta/FieldFactory/createFieldFactory`、`createFrameStore/createStoreModules/storeModules`、`createFrameRouter/routerConfig`、`getEventBus/createEventBus`。默认 core 对象也提供这些 API;稳定子路径包括 `/util`、`/mixins`、`/router`、`/store`、`/event-bus`。`runExpByScope.call(vm, ...)` 保留组件作用域。
@@ -13,8 +15,6 @@
13
15
  ```js
14
16
  import core, { createApp } from '@epxing/core'
15
17
  import hr from './hr'
16
- import '@epxing/core/style.css'
17
- import '@epxing/component/style.css' // 产品使用组件包时导入
18
18
 
19
19
  const app = core.createApp() // 也可以 createApp()
20
20
  app.use(hr)
@@ -44,7 +44,6 @@ app.mount('#app')
44
44
  import { createApp } from 'vue'
45
45
  import { createRouter, createWebHashHistory } from 'vue-router'
46
46
  import EpxCore, { createFrameStore, createCore, ComponentMixin, createFieldFactory } from '@epxing/core'
47
- import '@epxing/core/style.css'
48
47
 
49
48
  const store = createFrameStore()
50
49
  const router = createRouter({ history: createWebHashHistory(), routes: [] })
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { mapState } from "vuex";
2
3
  import { evalWith } from "@epxing/utils/src/eval-with";
3
4
  import { isCustomOption } from "./mixins/custom-option.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  const api = {
2
3
  // 通用请求
3
4
  $request: {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import axios from "../axios.js";
2
3
  import { ensureIcons, collectIconNames } from "@epxing/icons/src/runtime.mjs";
3
4
  const MENU_ACTIONS = /* @__PURE__ */ new Set([
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { getConfiguredRuntimeService } from "../runtime-services.js";
2
3
  import axios from "../axios.js";
3
4
  import api from "./config.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  function getAppNavMode(appConfig = {}, pageConfig = {}) {
2
3
  let config = {};
3
4
  try {
package/dist/src/app.js CHANGED
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { __vitePreload as __epxPackagePreload } from "../_virtual/preload-helper.js";
2
3
  let _app = null;
3
4
  let compatModulePromise = null;
package/dist/src/axios.js CHANGED
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { __vitePreload as __epxPackagePreload } from "../_virtual/preload-helper.js";
2
3
  import axios$1 from "axios";
3
4
  import util from "./runtime-utils/util.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  function captureRef(vm, name) {
2
3
  const setter = (el) => {
3
4
  const inst = vm && vm.$;
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { __vitePreload as __epxPackagePreload } from "../../../_virtual/preload-helper.js";
2
3
  import { Comment, h, Fragment } from "vue";
3
4
  const containerRegistry = /* @__PURE__ */ new WeakMap();
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { createApp, h } from "vue";
2
3
  import { createRouter, createWebHashHistory, RouterView } from "vue-router";
3
4
  import { createFrameStore } from "./store/create-store.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  const nodeList = [];
2
3
  const ctx = "@@clickoutsideContext";
3
4
  let startClick;
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  const directive = {
2
3
  install(Vue, options = { time: 1500 }) {
3
4
  Vue.directive("longpress", {
package/dist/src/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import * as src_publicApi from "./public-api.js";
2
3
  import * as utils from "@epxing/utils/src/public";
3
4
  import * as Vue from "vue";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { defineAsyncComponent } from "vue";
2
3
  const winLibs = () => {
3
4
  if (typeof window === "undefined") return {};
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { __vitePreload as __epxPackagePreload } from "../_virtual/preload-helper.js";
2
3
  import { loadBusinessComponents } from "./runtime-services.js";
3
4
  import { defineAsyncComponent } from "vue";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import util from "./runtime-utils/util.js";
2
3
  import client from "./api/index.js";
3
4
  import ensureRemoteDeps from "./remote-deps.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { shallowRef } from "vue";
2
3
  function getMenuKey(menu) {
3
4
  if (!menu) return "";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { mapGetters, mapState } from "vuex";
2
3
  import { evalWith } from "@epxing/utils/src/eval-with";
3
4
  import util from "../runtime-utils/util.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  const EPX_OPTION_KEYS = ["Config", "Preview", "parent", "destory"];
2
3
  const VUE_OPTION_KEYS = ["name", "mixins", "inject", "provide", "_Ctor", "__file", "_base", "_compiled", "beforeCreate", "created", "berforeMount", "beforeMount", "mounted", "beforeUpdate", "updated", "beforeDestroy", "destroyed", "beforeUnmount", "unmounted", "activated", "deactivated", "errorCaptured", "renderTracked", "renderTriggered", "serverPrefetch", "props", "data", "methods", "computed", "watch", "components", "directives", "filters", "render", "staticRenderFns", "setup", "emits", "expose", "inheritAttrs", "compatConfig", "extends", "el", "template", "delimiters", ...EPX_OPTION_KEYS];
3
4
  function isCustomOption(key, value) {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { epConfig } from "../plugins/element-plus.js";
2
3
  function t(path, fallback = "") {
3
4
  const value = String(path).split(".").reduce((o, k) => o == null ? o : o[k], epConfig.locale);
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { mapGetters, mapState } from "vuex";
2
3
  import { isCustomOption } from "./custom-option.js";
3
4
  import { evalWith } from "@epxing/utils/src/eval-with";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import component from "./component.js";
2
3
  import global from "./global.js";
3
4
  const index = {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { isSafeFn } from "@epxing/utils/src/security";
2
3
  import { evalWith } from "@epxing/utils/src/eval-with";
3
4
  import nav, { activateMenu } from "../navigation.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import global from "./global.js";
2
3
  const INSTANCE_METHOD_NAMES = ["commonAction", "downloadFile", "$setPageConfig", "$setCompConfigs"];
3
4
  const instanceMethods = INSTANCE_METHOD_NAMES.reduce((methods, name) => {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { createPopper } from "@popperjs/core";
2
3
  import { nextZIndex } from "../z-index.js";
3
4
  const stop = (e) => e.stopPropagation();
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { nextTick } from "vue";
2
3
  import { runtimeRouter, runtimeStore } from "./runtime-services.js";
3
4
  import { roleStorage, findMenuByKey, getMenuKey, menuLocation, effectiveRouteName } from "./menu-route.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import newXss from "./xss.js";
2
3
  import * as lodash from "lodash-es";
3
4
  import axios from "./axios.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { __vitePreload as __epxPackagePreload } from "../../_virtual/preload-helper.js";
2
3
  import { reactive, defineAsyncComponent, h } from "vue";
3
4
  import { provideGlobalConfig } from "element-plus/es/components/config-provider/index.mjs";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { reactive } from "vue";
2
3
  class I18n {
3
4
  constructor({ locale = "zh-CN", messages = {}, fallbackMessages = {} }) {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { setElementPlusLocale } from "./element-plus.js";
2
3
  import moment from "@epxing/utils/src/moment-compat";
3
4
  const LOCALE_CONFIGS = {
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import NProgress from "nprogress";
2
3
  import { watch } from "vue";
3
4
  import uiSettings from "./ui-settings.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { installCore } from "./package-install.js";
2
3
  import { default as default2 } from "./mixins/component.js";
3
4
  import { default as default3 } from "./mixins/global.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  function installComponents(app, components, { byKey = false } = {}) {
2
3
  const safeApp = new Proxy(app, {
3
4
  get(target, key) {
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  const depsUrl = (jsUrl) => {
2
3
  const noQuery = String(jsUrl).replace(/\?.*$/, "");
3
4
  return noQuery.replace(/\.[^./]+$/, ".deps.json");
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { runtimeRouteComponent, getRuntimeService, runtimeStore } from "../runtime-services.js";
2
3
  import { isEmpty } from "lodash-es";
3
4
  import util from "../runtime-utils/util.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { createRouter, createWebHistory, createWebHashHistory } from "vue-router";
2
3
  import routes, { beforeEach } from "./config.js";
3
4
  let mode = "hash";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { createRouter, createWebHashHistory } from "vue-router";
2
3
  import routes, { beforeEach } from "./config.js";
3
4
  const routerConfig = { routes, beforeEach };
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  const services = /* @__PURE__ */ Object.create(null);
2
3
  const routeComponents = /* @__PURE__ */ new Map();
3
4
  let businessLoader;
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { runtimeStore } from "../runtime-services.js";
2
3
  import { ADD_META, ADD_LIST } from "../store/actions.js";
3
4
  import { isString } from "lodash-es";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import util from "./util.js";
2
3
  class Meta {
3
4
  constructor(props = {}) {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import util from "./util.js";
2
3
  const DEFAULT_CACHE_SIZE = 10;
3
4
  function binarySearchFirstItem(items, condition) {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { __vitePreload as __epxPackagePreload } from "../../_virtual/preload-helper.js";
2
3
  import storage, { getXsrfToken } from "@epxing/utils/src/storage";
3
4
  import { setStoredToken, getStoredToken, removeStoredToken, consumeUrlToken } from "@epxing/utils/src/token-storage";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  function shallowSame(a, b) {
2
3
  if (a === b) return true;
3
4
  if (!a || !b || typeof a !== "object" || typeof b !== "object") return false;
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { installComponents } from "./register-components.js";
2
3
  function publishSharedPackage(name, api) {
3
4
  const registry = globalThis.__EPX_PACKAGES__ || (globalThis.__EPX_PACKAGES__ = /* @__PURE__ */ Object.create(null));
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  const ADD_LIST = "ADD_LIST";
2
3
  const ADD_OBJECT_COUNT = "ADD_OBJECT_COUNT";
3
4
  const ADD_OBJECT = "ADD_OBJECT";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { createStore } from "vuex";
2
3
  import modules from "./modules/index.js";
3
4
  function cloneState(value) {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { createStore } from "vuex";
2
3
  import modules from "./modules/index.js";
3
4
  const store = createStore({
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  const DEFAULTS = {
2
3
  soft: 50,
3
4
  // 软上限:超过之后开始回收冷数据
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { GET_MENU, GET_APP_CONFIG, GET_SYSTEM_CONFIG, GET_VIEWPORT, SWITCH_MENU_SHOW, CLEAR_MENU } from "../actions.js";
2
3
  import { ElMessage } from "element-plus/es/components/message/index.mjs";
3
4
  import client from "../../api/index.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import client from "../../api/index.js";
2
3
  const ADD_FILE = "ADD_FILE";
3
4
  const file = {
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import config from "./config.js";
2
3
  import file from "./file.js";
3
4
  import list from "./list.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { markRaw } from "vue";
2
3
  import client from "../../api/index.js";
3
4
  import { ADD_TAG, ADD_LIST, ADD_OBJECT_COUNT, ADD_OBJECT } from "../actions.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import client from "../../api/index.js";
2
3
  import util from "../../runtime-utils/util.js";
3
4
  import storage from "@epxing/utils/src/storage";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { markRaw } from "vue";
2
3
  import client from "../../api/index.js";
3
4
  import Meta from "../../runtime-utils/meta.js";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { markRaw } from "vue";
2
3
  import client from "../../api/index.js";
3
4
  import Page from "@epxing/utils/src/page";
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { SET_ROUTER_RELOAD, SET_ROUTER_QUERY, DELETE_MENU_ROUTER, POP_MENU_ROUTER, PUSH_MENU_ROUTER, DELETE_MODULE_ROUTER, POP_MODULE_ROUTER, PUSH_MODULE_ROUTER, CLEAR_TABS_ROUTER, CLEAR_ROUTER, DELETE_ROUTER, PICK_ROUTER, SET_ROUTER, PUSH_ROUTER } from "../actions.js";
2
3
  const router = {
3
4
  state: {
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { SET_TAB_QUERY, CLEAR_TAG_TABS, CLEAR_TABS, DESTORY_TAG_TAB, DESTORY_TAB, SELECT_TAB, CREATE_TAB } from "../actions.js";
2
3
  const DELETE_TABS = "DELETE_TABS";
3
4
  const randomString = () => {
@@ -1,3 +1,4 @@
1
+ import '../../../style.css';
1
2
  import { GET_USER_INFO, GET_USER, DELETE_USER } from "../actions.js";
2
3
  import client from "../../api/index.js";
3
4
  const user = {
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import uiSettings, { AXIS_ATTRS } from "./ui-settings.js";
2
3
  const STYLE_PRESETS = [
3
4
  { key: "default", name: "默认", styleRadius: "", styleFont: "", styleDensity: "", styleElevation: "" },
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { reactive, watch } from "vue";
2
3
  const AXIS_ATTRS = {
3
4
  styleRadius: "data-radius",
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  function applyViewportAttr(isMobile) {
2
3
  const el = typeof document !== "undefined" && document.documentElement;
3
4
  if (!el) return;
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { getApp } from "./app.js";
2
3
  function createEventBus() {
3
4
  const all = /* @__PURE__ */ new Map();
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import axios from "axios";
2
3
  const tokens = /* @__PURE__ */ new WeakMap();
3
4
  function adaptLegacyCancelToken(config) {
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import * as Vue from "vue";
2
3
  import { installSetAttributeGuard, vue2RenderHelpersMixin } from "./vue2-render-compat.js";
3
4
  import { enableLegacySelectStyles } from "./vue2-select-style-compat.js";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import * as Vue from "vue";
2
3
  const { h, createTextVNode, createCommentVNode, renderList, resolveComponent, resolveDirective, withCtx, withDirectives, vShow, vModelText, vModelCheckbox, vModelSelect } = Vue;
3
4
  const PROP_RENAME = {
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  const productStyles = /* @__PURE__ */ new Map();
2
3
  let enabled = false;
3
4
  const marker = ":where([data-epx-vue2-select] *)";
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { watch } from "vue";
2
3
  import store from "./store/index.js";
3
4
  import uiSettings, { DEFAULTS } from "./ui-settings.js";
package/dist/src/xss.js CHANGED
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import xss from "xss";
2
3
  const newXss = new xss.FilterXSS({
3
4
  whiteList: {
@@ -1,3 +1,4 @@
1
+ import '../style.css';
1
2
  import { useZIndex } from "element-plus/es/hooks/use-z-index/index.mjs";
2
3
  const { nextZIndex: epNextZIndex } = useZIndex();
3
4
  function nextZIndex() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epxing/core",
3
- "version": "5.3.0-beta.1",
3
+ "version": "5.3.0-beta.2",
4
4
  "description": "平台内核:store/router/api/axios/mixins/plugins/draggable(不含平台安装器 install/frame——那是 epx-frame 聚合包的事)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -123,9 +123,9 @@
123
123
  "xss": "^1.0.14",
124
124
  "dayjs": "^1.11.21",
125
125
  "jsencrypt": "^3.1.0",
126
- "@epxing/utils": "^5.3.0-beta.1",
127
- "@epxing/theme": "^5.3.0-beta.1",
128
- "@epxing/icons": "^5.3.0-beta.1"
126
+ "@epxing/theme": "^5.3.0-beta.2",
127
+ "@epxing/icons": "^5.3.0-beta.2",
128
+ "@epxing/utils": "^5.3.0-beta.2"
129
129
  },
130
130
  "peerDependencies": {
131
131
  "element-plus": "2.14.3",
@@ -145,7 +145,8 @@
145
145
  "./dist/src/store/**",
146
146
  "./dist/src/mixins/**",
147
147
  "./dist/src/runtime-utils/util.js",
148
- "./dist/src/runtime-services.js"
148
+ "./dist/src/runtime-services.js",
149
+ "./dist/**/*.js"
149
150
  ],
150
151
  "publishConfig": {
151
152
  "access": "public",