hs-admin-ui 2.6.6 → 2.6.7

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/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DcqMHq_a.js");exports.Directive=e.index$1;exports.ElConfigProvider=e.ElConfigProvider;exports.Hooks=e.index$2;exports.HsMessage=e.HsMessage;exports.HsMessageBox=e.HsMessageBox;exports.HsNotification=e.HsNotification;exports.HsTree=e.ElTree;exports.Utils=e.index;exports.component=e.component;exports.getFormData=e.getFormData;exports.getLoadData=e.getLoadData;exports.useHsAdminUi=e.useHsAdminUi;exports.zhCn=e.zhCn;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DcqMHq_a.js");exports.Directive=e.index$1;exports.Hooks=e.index$2;exports.HsConfigProvider=e.ElConfigProvider;exports.HsMessage=e.HsMessage;exports.HsMessageBox=e.HsMessageBox;exports.HsNotification=e.HsNotification;exports.HsTree=e.ElTree;exports.Utils=e.index;exports.component=e.component;exports.getFormData=e.getFormData;exports.getLoadData=e.getLoadData;exports.useHsAdminUi=e.useHsAdminUi;exports.zhCn=e.zhCn;
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { a9 as e, a3 as o, aa as i, O as t, a5 as r, a6 as n, a2 as H, a8 as g, a7 as c, ad as d, ac as m, ab as f, a4 as D } from "./index-Bw9uiBWE.mjs";
1
+ import { a9 as e, aa as o, a3 as i, O as t, a5 as r, a6 as H, a2 as n, a8 as g, a7 as c, ad as d, ac as m, ab as f, a4 as D } from "./index-Bw9uiBWE.mjs";
2
2
  export {
3
3
  e as Directive,
4
- o as ElConfigProvider,
5
- i as Hooks,
4
+ o as Hooks,
5
+ i as HsConfigProvider,
6
6
  t as HsMessage,
7
7
  r as HsMessageBox,
8
- n as HsNotification,
9
- H as HsTree,
8
+ H as HsNotification,
9
+ n as HsTree,
10
10
  g as Utils,
11
11
  c as component,
12
12
  d as getFormData,
@@ -4,7 +4,7 @@ import { getLoadData, getFormData, TableInstance, IFormInstance } from '../compo
4
4
  import { HsMessage, HsMessageBox, HsNotification } from '../utils';
5
5
  import { default as component } from '../components/component';
6
6
  import { default as zhCn } from 'element-plus/es/locale/lang/zh-cn';
7
- import { Message as IMessage, ElTree as HsTree, ElConfigProvider } from 'element-plus';
7
+ import { Message as IMessage, ElTree as HsTree, ElConfigProvider as HsConfigProvider } from 'element-plus';
8
8
  import { App } from 'vue';
9
9
 
10
10
  import * as Hooks from '/@/hooks';
@@ -19,5 +19,5 @@ interface OptionsDef {
19
19
  type ITableData = ITable.FormTable;
20
20
  type IFormData = IForm.Form;
21
21
  declare function useHsAdminUi(app: App, options?: OptionsDef): void;
22
- export { HsTree, ElConfigProvider, zhCn };
22
+ export { HsTree, HsConfigProvider, zhCn };
23
23
  export { type ITable, type ITableData, type TableInstance, type IForm, type IFormData, type IFormInstance, type IMessage, HsMessage, HsMessageBox, HsNotification, component, Utils, Directive, Hooks, useHsAdminUi, getLoadData, getFormData, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hs-admin-ui",
3
- "version": "2.6.6",
3
+ "version": "2.6.7",
4
4
  "description": "vue3 + typescript5 + vite5 的框架",
5
5
  "author": "wgd",
6
6
  "private": false,
@@ -25,7 +25,7 @@
25
25
  "scripts": {
26
26
  "dev": "vite --force",
27
27
  "pub": "rm -rf dist && vite build --mode=publish && node publish/pub.mjs",
28
- "build": "vite build && node publish/index.js",
28
+ "build": "rm -rf dist && vite build && node publish/index.js",
29
29
  "build:tsc": "vue-tsc --noEmit",
30
30
  "lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/"
31
31
  },