ebuilds-shared 0.1.3 → 0.1.5

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 (68) hide show
  1. package/dist/chunk-2HIGYC6X.mjs +103 -0
  2. package/dist/{chunk-RLGKFHYX.js → chunk-7KNYDZK3.js} +10 -46
  3. package/dist/{chunk-NYKVFN6V.mjs → chunk-EJOG7JQT.mjs} +10 -46
  4. package/dist/chunk-NKUZRJRI.js +103 -0
  5. package/dist/{chunk-TJ475X6H.js → chunk-SXCTVJBQ.js} +1 -1
  6. package/dist/{chunk-AZ4N2JGX.mjs → chunk-UZQBIKY2.mjs} +1 -1
  7. package/dist/edit-ZMQBX23S.svg +1 -0
  8. package/dist/file-KMPKPA5Y.svg +1 -0
  9. package/dist/freeze-left-OBZRK5VG.svg +1 -0
  10. package/dist/freeze-right-RNNLJNXY.svg +1 -0
  11. package/dist/icons/edit.d.mts +2 -0
  12. package/dist/icons/edit.d.ts +2 -0
  13. package/dist/icons/edit.js +7 -0
  14. package/dist/icons/edit.mjs +7 -0
  15. package/dist/icons/file.d.mts +2 -0
  16. package/dist/icons/file.d.ts +2 -0
  17. package/dist/icons/file.js +7 -0
  18. package/dist/icons/file.mjs +7 -0
  19. package/dist/icons/freeze-left.d.mts +2 -0
  20. package/dist/icons/freeze-left.d.ts +2 -0
  21. package/dist/icons/freeze-left.js +7 -0
  22. package/dist/icons/freeze-left.mjs +7 -0
  23. package/dist/icons/freeze-right.d.mts +2 -0
  24. package/dist/icons/freeze-right.d.ts +2 -0
  25. package/dist/icons/freeze-right.js +7 -0
  26. package/dist/icons/freeze-right.mjs +7 -0
  27. package/dist/icons/locate.d.mts +2 -0
  28. package/dist/icons/locate.d.ts +2 -0
  29. package/dist/icons/locate.js +7 -0
  30. package/dist/icons/locate.mjs +7 -0
  31. package/dist/icons/menu-default.d.mts +2 -0
  32. package/dist/icons/menu-default.d.ts +2 -0
  33. package/dist/icons/menu-default.js +7 -0
  34. package/dist/icons/menu-default.mjs +7 -0
  35. package/dist/icons/menu-unfold-one.d.mts +2 -0
  36. package/dist/icons/menu-unfold-one.d.ts +2 -0
  37. package/dist/icons/menu-unfold-one.js +7 -0
  38. package/dist/icons/menu-unfold-one.mjs +7 -0
  39. package/dist/icons/subnode-add.d.mts +2 -0
  40. package/dist/icons/subnode-add.d.ts +2 -0
  41. package/dist/icons/subnode-add.js +7 -0
  42. package/dist/icons/subnode-add.mjs +7 -0
  43. package/dist/icons/theme.d.mts +2 -0
  44. package/dist/icons/theme.d.ts +2 -0
  45. package/dist/icons/theme.js +7 -0
  46. package/dist/icons/theme.mjs +7 -0
  47. package/dist/index.js +4 -4
  48. package/dist/index.mjs +3 -3
  49. package/dist/locate-MH33ULC5.svg +1 -0
  50. package/dist/menu-default-6Z5RZNAO.svg +1 -0
  51. package/dist/menu-unfold-one-AXIXOR5S.svg +1 -0
  52. package/dist/stores/index.d.mts +3 -1
  53. package/dist/stores/index.d.ts +3 -1
  54. package/dist/stores/index.js +2 -2
  55. package/dist/stores/index.mjs +1 -1
  56. package/dist/subnode-add-OTHWQE7F.svg +1 -0
  57. package/dist/theme-PFGRSFJF.svg +1 -0
  58. package/dist/uno-config/index.d.mts +2 -2
  59. package/dist/uno-config/index.d.ts +2 -2
  60. package/dist/uno-config/index.js +2 -2
  61. package/dist/uno-config/index.mjs +1 -1
  62. package/dist/utils/index.js +2 -2
  63. package/dist/utils/index.mjs +1 -1
  64. package/dist/vite-config/index.js +2 -2
  65. package/dist/vite-config/index.mjs +1 -1
  66. package/package.json +80 -79
  67. package/dist/chunk-CUXFXKGW.js +0 -79
  68. package/dist/chunk-ESXS2BQB.mjs +0 -79
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-QGM4M3NI.js');
2
+
3
+ // src/icons/theme.svg
4
+ var theme_default = "../theme-PFGRSFJF.svg";
5
+
6
+
7
+ exports.default = theme_default;
@@ -0,0 +1,7 @@
1
+ import "../chunk-6DZX6EAA.mjs";
2
+
3
+ // src/icons/theme.svg
4
+ var theme_default = "../theme-PFGRSFJF.svg";
5
+ export {
6
+ theme_default as default
7
+ };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCUXFXKGWjs = require('./chunk-CUXFXKGW.js');
3
+ var _chunkNKUZRJRIjs = require('./chunk-NKUZRJRI.js');
4
4
 
5
5
 
6
6
 
@@ -29,10 +29,10 @@ var _chunkCUXFXKGWjs = require('./chunk-CUXFXKGW.js');
29
29
 
30
30
 
31
31
 
32
- var _chunkRLGKFHYXjs = require('./chunk-RLGKFHYX.js');
32
+ var _chunk7KNYDZK3js = require('./chunk-7KNYDZK3.js');
33
33
 
34
34
 
35
- var _chunkTJ475X6Hjs = require('./chunk-TJ475X6H.js');
35
+ var _chunkSXCTVJBQjs = require('./chunk-SXCTVJBQ.js');
36
36
  require('./chunk-QGM4M3NI.js');
37
37
 
38
38
 
@@ -64,4 +64,4 @@ require('./chunk-QGM4M3NI.js');
64
64
 
65
65
 
66
66
 
67
- exports.clamp = _chunkRLGKFHYXjs.clamp; exports.createBaseViteConfig = _chunkTJ475X6Hjs.createBaseViteConfig; exports.createFunctionalComponent = _chunkRLGKFHYXjs.createFunctionalComponent; exports.createUnoConfig = _chunkCUXFXKGWjs.createUnoConfig; exports.duplicateRemovalCompleteSort = _chunkRLGKFHYXjs.duplicateRemovalCompleteSort; exports.encryptPwd = _chunkRLGKFHYXjs.encryptPwd; exports.filterMenu = _chunkRLGKFHYXjs.filterMenu; exports.formatNumber = _chunkRLGKFHYXjs.formatNumber; exports.getDecimalPart = _chunkRLGKFHYXjs.getDecimalPart; exports.getIntegerPart = _chunkRLGKFHYXjs.getIntegerPart; exports.isInteger = _chunkRLGKFHYXjs.isInteger; exports.isNumber = _chunkRLGKFHYXjs.isNumber; exports.jsonp = _chunkRLGKFHYXjs.jsonp; exports.listSort = _chunkRLGKFHYXjs.listSort; exports.numberToChinese = _chunkRLGKFHYXjs.numberToChinese; exports.padZero = _chunkRLGKFHYXjs.padZero; exports.parseFormattedNumber = _chunkRLGKFHYXjs.parseFormattedNumber; exports.prototypeInterceptor = _chunkRLGKFHYXjs.prototypeInterceptor; exports.request = _chunkRLGKFHYXjs.request; exports.roundOrTruncate = _chunkRLGKFHYXjs.roundOrTruncate; exports.setupPermission = _chunkRLGKFHYXjs.setupPermission; exports.store = _chunkRLGKFHYXjs.store; exports.timeFix = _chunkRLGKFHYXjs.timeFix; exports.updateDocumentTitle = _chunkRLGKFHYXjs.updateDocumentTitle; exports.useCommonStore = _chunkRLGKFHYXjs.useCommonStore; exports.useDbStore = _chunkRLGKFHYXjs.useDbStore; exports.useLoginHook = _chunkRLGKFHYXjs.useLoginHook; exports.useMenuStore = _chunkRLGKFHYXjs.useMenuStore; exports.welcome = _chunkRLGKFHYXjs.welcome;
67
+ exports.clamp = _chunk7KNYDZK3js.clamp; exports.createBaseViteConfig = _chunkSXCTVJBQjs.createBaseViteConfig; exports.createFunctionalComponent = _chunk7KNYDZK3js.createFunctionalComponent; exports.createUnoConfig = _chunkNKUZRJRIjs.createUnoConfig; exports.duplicateRemovalCompleteSort = _chunk7KNYDZK3js.duplicateRemovalCompleteSort; exports.encryptPwd = _chunk7KNYDZK3js.encryptPwd; exports.filterMenu = _chunk7KNYDZK3js.filterMenu; exports.formatNumber = _chunk7KNYDZK3js.formatNumber; exports.getDecimalPart = _chunk7KNYDZK3js.getDecimalPart; exports.getIntegerPart = _chunk7KNYDZK3js.getIntegerPart; exports.isInteger = _chunk7KNYDZK3js.isInteger; exports.isNumber = _chunk7KNYDZK3js.isNumber; exports.jsonp = _chunk7KNYDZK3js.jsonp; exports.listSort = _chunk7KNYDZK3js.listSort; exports.numberToChinese = _chunk7KNYDZK3js.numberToChinese; exports.padZero = _chunk7KNYDZK3js.padZero; exports.parseFormattedNumber = _chunk7KNYDZK3js.parseFormattedNumber; exports.prototypeInterceptor = _chunk7KNYDZK3js.prototypeInterceptor; exports.request = _chunk7KNYDZK3js.request; exports.roundOrTruncate = _chunk7KNYDZK3js.roundOrTruncate; exports.setupPermission = _chunk7KNYDZK3js.setupPermission; exports.store = _chunk7KNYDZK3js.store; exports.timeFix = _chunk7KNYDZK3js.timeFix; exports.updateDocumentTitle = _chunk7KNYDZK3js.updateDocumentTitle; exports.useCommonStore = _chunk7KNYDZK3js.useCommonStore; exports.useDbStore = _chunk7KNYDZK3js.useDbStore; exports.useLoginHook = _chunk7KNYDZK3js.useLoginHook; exports.useMenuStore = _chunk7KNYDZK3js.useMenuStore; exports.welcome = _chunk7KNYDZK3js.welcome;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createUnoConfig
3
- } from "./chunk-ESXS2BQB.mjs";
3
+ } from "./chunk-2HIGYC6X.mjs";
4
4
  import {
5
5
  clamp,
6
6
  createFunctionalComponent,
@@ -29,10 +29,10 @@ import {
29
29
  useLoginHook,
30
30
  useMenuStore,
31
31
  welcome
32
- } from "./chunk-NYKVFN6V.mjs";
32
+ } from "./chunk-EJOG7JQT.mjs";
33
33
  import {
34
34
  createBaseViteConfig
35
- } from "./chunk-AZ4N2JGX.mjs";
35
+ } from "./chunk-UZQBIKY2.mjs";
36
36
  import "./chunk-6DZX6EAA.mjs";
37
37
  export {
38
38
  clamp,
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><!-- Icon from IonIcons by Ben Sperry - https://github.com/ionic-team/ionicons/blob/main/LICENSE --><path d="M256 176c-44.004 0-80.001 36-80.001 80 0 44.004 35.997 80 80.001 80 44.005 0 79.999-35.996 79.999-80 0-44-35.994-80-79.999-80zm190.938 58.667c-9.605-88.531-81.074-160-169.605-169.599V32h-42.666v33.067c-88.531 9.599-160 81.068-169.604 169.599H32v42.667h33.062c9.604 88.531 81.072 160 169.604 169.604V480h42.666v-33.062c88.531-9.604 160-81.073 169.605-169.604H480v-42.667h-33.062zM256 405.333c-82.137 0-149.334-67.198-149.334-149.333 0-82.136 67.197-149.333 149.334-149.333 82.135 0 149.332 67.198 149.332 149.333S338.135 405.333 256 405.333z" fill="currentColor"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="#bdcbc7" d="M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="#bdcbc7" stroke-linejoin="round" stroke-width="4"><path stroke-linecap="round" d="M8 10.5h32m-16 9h16m-16 9h16m-32 9h32"/><path fill="#bdcbc7" d="m16 19l-8 5l8 5z"/></g></svg>
@@ -235,9 +235,10 @@ interface CommonState {
235
235
  content: {
236
236
  title: string;
237
237
  content: string[];
238
- };
238
+ }[];
239
239
  }[];
240
240
  themeColor: string;
241
+ updateLogLoaded: boolean;
241
242
  }
242
243
  declare const useCommonStore: pinia.StoreDefinition<"common", CommonState, {
243
244
  getCurlBaseUrl(): CommonState["curlBaseUrl"];
@@ -249,6 +250,7 @@ declare const useCommonStore: pinia.StoreDefinition<"common", CommonState, {
249
250
  getSystemTitle(): CommonState["systemTitle"];
250
251
  getPublicUrl(): string;
251
252
  getThemeColor(): CommonState["themeColor"];
253
+ getUpdateLogLoaded(): CommonState["updateLogLoaded"];
252
254
  }, {
253
255
  /**
254
256
  * 加载配置
@@ -235,9 +235,10 @@ interface CommonState {
235
235
  content: {
236
236
  title: string;
237
237
  content: string[];
238
- };
238
+ }[];
239
239
  }[];
240
240
  themeColor: string;
241
+ updateLogLoaded: boolean;
241
242
  }
242
243
  declare const useCommonStore: pinia.StoreDefinition<"common", CommonState, {
243
244
  getCurlBaseUrl(): CommonState["curlBaseUrl"];
@@ -249,6 +250,7 @@ declare const useCommonStore: pinia.StoreDefinition<"common", CommonState, {
249
250
  getSystemTitle(): CommonState["systemTitle"];
250
251
  getPublicUrl(): string;
251
252
  getThemeColor(): CommonState["themeColor"];
253
+ getUpdateLogLoaded(): CommonState["updateLogLoaded"];
252
254
  }, {
253
255
  /**
254
256
  * 加载配置
@@ -3,11 +3,11 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkRLGKFHYXjs = require('../chunk-RLGKFHYX.js');
6
+ var _chunk7KNYDZK3js = require('../chunk-7KNYDZK3.js');
7
7
  require('../chunk-QGM4M3NI.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- exports.store = _chunkRLGKFHYXjs.store; exports.useCommonStore = _chunkRLGKFHYXjs.useCommonStore; exports.useDbStore = _chunkRLGKFHYXjs.useDbStore; exports.useMenuStore = _chunkRLGKFHYXjs.useMenuStore;
13
+ exports.store = _chunk7KNYDZK3js.store; exports.useCommonStore = _chunk7KNYDZK3js.useCommonStore; exports.useDbStore = _chunk7KNYDZK3js.useDbStore; exports.useMenuStore = _chunk7KNYDZK3js.useMenuStore;
@@ -3,7 +3,7 @@ import {
3
3
  useCommonStore,
4
4
  useDbStore,
5
5
  useMenuStore
6
- } from "../chunk-NYKVFN6V.mjs";
6
+ } from "../chunk-EJOG7JQT.mjs";
7
7
  import "../chunk-6DZX6EAA.mjs";
8
8
  export {
9
9
  store,
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="#bdcbc7" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M14.5 19.5h-1c-2.828 0-4.243 0-5.121-.879C7.5 17.743 7.5 16.328 7.5 13.5v-2m0-3.5v3.5m0 0H12"/><path d="M14.5 19.5c0-1.178 0-1.768.351-2.134C15.204 17 15.77 17 16.9 17h1.2c1.131 0 1.697 0 2.048.366c.352.366.352.956.352 2.134s0 1.768-.352 2.134c-.35.366-.917.366-2.048.366h-1.2c-1.131 0-1.697 0-2.048-.366c-.352-.366-.352-.956-.352-2.134ZM5.786 2h3.428C11.29 2 11.5 3.11 11.5 5s-.211 3-2.286 3H5.786C3.71 8 3.5 6.89 3.5 5s.211-3 2.286-3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M17.5 9v5m2.5-2.5h-5"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="#bdcbc7" d="M2.75 12A9.25 9.25 0 0 0 12 21.25V2.75A9.25 9.25 0 0 0 2.75 12"/><path stroke="#bdcbc7" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 21.25a9.25 9.25 0 0 0 0-18.5m0 18.5a9.25 9.25 0 0 1 0-18.5m0 18.5V2.75"/></g></svg>
@@ -1,8 +1,8 @@
1
- import * as unocss from 'unocss';
1
+ import { PresetOptions, UserConfig } from 'unocss';
2
2
 
3
3
  /**
4
4
  * 创建 UnoCSS 配置
5
5
  */
6
- declare function createUnoConfig(): unocss.UserConfig<object>;
6
+ declare function createUnoConfig(iconCollections?: PresetOptions['collections']): UserConfig;
7
7
 
8
8
  export { createUnoConfig, createUnoConfig as default };
@@ -1,8 +1,8 @@
1
- import * as unocss from 'unocss';
1
+ import { PresetOptions, UserConfig } from 'unocss';
2
2
 
3
3
  /**
4
4
  * 创建 UnoCSS 配置
5
5
  */
6
- declare function createUnoConfig(): unocss.UserConfig<object>;
6
+ declare function createUnoConfig(iconCollections?: PresetOptions['collections']): UserConfig;
7
7
 
8
8
  export { createUnoConfig, createUnoConfig as default };
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkCUXFXKGWjs = require('../chunk-CUXFXKGW.js');
4
+ var _chunkNKUZRJRIjs = require('../chunk-NKUZRJRI.js');
5
5
  require('../chunk-QGM4M3NI.js');
6
6
 
7
7
 
8
8
 
9
- exports.createUnoConfig = _chunkCUXFXKGWjs.createUnoConfig; exports.default = _chunkCUXFXKGWjs.uno_config_default;
9
+ exports.createUnoConfig = _chunkNKUZRJRIjs.createUnoConfig; exports.default = _chunkNKUZRJRIjs.uno_config_default;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createUnoConfig,
3
3
  uno_config_default
4
- } from "../chunk-ESXS2BQB.mjs";
4
+ } from "../chunk-2HIGYC6X.mjs";
5
5
  import "../chunk-6DZX6EAA.mjs";
6
6
  export {
7
7
  createUnoConfig,
@@ -22,7 +22,7 @@
22
22
 
23
23
 
24
24
 
25
- var _chunkRLGKFHYXjs = require('../chunk-RLGKFHYX.js');
25
+ var _chunk7KNYDZK3js = require('../chunk-7KNYDZK3.js');
26
26
  require('../chunk-QGM4M3NI.js');
27
27
 
28
28
 
@@ -48,4 +48,4 @@ require('../chunk-QGM4M3NI.js');
48
48
 
49
49
 
50
50
 
51
- exports.clamp = _chunkRLGKFHYXjs.clamp; exports.createFunctionalComponent = _chunkRLGKFHYXjs.createFunctionalComponent; exports.duplicateRemovalCompleteSort = _chunkRLGKFHYXjs.duplicateRemovalCompleteSort; exports.encryptPwd = _chunkRLGKFHYXjs.encryptPwd; exports.filterMenu = _chunkRLGKFHYXjs.filterMenu; exports.formatNumber = _chunkRLGKFHYXjs.formatNumber; exports.getDecimalPart = _chunkRLGKFHYXjs.getDecimalPart; exports.getIntegerPart = _chunkRLGKFHYXjs.getIntegerPart; exports.isInteger = _chunkRLGKFHYXjs.isInteger; exports.isNumber = _chunkRLGKFHYXjs.isNumber; exports.jsonp = _chunkRLGKFHYXjs.jsonp; exports.listSort = _chunkRLGKFHYXjs.listSort; exports.numberToChinese = _chunkRLGKFHYXjs.numberToChinese; exports.padZero = _chunkRLGKFHYXjs.padZero; exports.parseFormattedNumber = _chunkRLGKFHYXjs.parseFormattedNumber; exports.prototypeInterceptor = _chunkRLGKFHYXjs.prototypeInterceptor; exports.request = _chunkRLGKFHYXjs.request; exports.roundOrTruncate = _chunkRLGKFHYXjs.roundOrTruncate; exports.setupPermission = _chunkRLGKFHYXjs.setupPermission; exports.timeFix = _chunkRLGKFHYXjs.timeFix; exports.updateDocumentTitle = _chunkRLGKFHYXjs.updateDocumentTitle; exports.useLoginHook = _chunkRLGKFHYXjs.useLoginHook; exports.welcome = _chunkRLGKFHYXjs.welcome;
51
+ exports.clamp = _chunk7KNYDZK3js.clamp; exports.createFunctionalComponent = _chunk7KNYDZK3js.createFunctionalComponent; exports.duplicateRemovalCompleteSort = _chunk7KNYDZK3js.duplicateRemovalCompleteSort; exports.encryptPwd = _chunk7KNYDZK3js.encryptPwd; exports.filterMenu = _chunk7KNYDZK3js.filterMenu; exports.formatNumber = _chunk7KNYDZK3js.formatNumber; exports.getDecimalPart = _chunk7KNYDZK3js.getDecimalPart; exports.getIntegerPart = _chunk7KNYDZK3js.getIntegerPart; exports.isInteger = _chunk7KNYDZK3js.isInteger; exports.isNumber = _chunk7KNYDZK3js.isNumber; exports.jsonp = _chunk7KNYDZK3js.jsonp; exports.listSort = _chunk7KNYDZK3js.listSort; exports.numberToChinese = _chunk7KNYDZK3js.numberToChinese; exports.padZero = _chunk7KNYDZK3js.padZero; exports.parseFormattedNumber = _chunk7KNYDZK3js.parseFormattedNumber; exports.prototypeInterceptor = _chunk7KNYDZK3js.prototypeInterceptor; exports.request = _chunk7KNYDZK3js.request; exports.roundOrTruncate = _chunk7KNYDZK3js.roundOrTruncate; exports.setupPermission = _chunk7KNYDZK3js.setupPermission; exports.timeFix = _chunk7KNYDZK3js.timeFix; exports.updateDocumentTitle = _chunk7KNYDZK3js.updateDocumentTitle; exports.useLoginHook = _chunk7KNYDZK3js.useLoginHook; exports.welcome = _chunk7KNYDZK3js.welcome;
@@ -22,7 +22,7 @@ import {
22
22
  updateDocumentTitle,
23
23
  useLoginHook,
24
24
  welcome
25
- } from "../chunk-NYKVFN6V.mjs";
25
+ } from "../chunk-EJOG7JQT.mjs";
26
26
  import "../chunk-6DZX6EAA.mjs";
27
27
  export {
28
28
  clamp,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkTJ475X6Hjs = require('../chunk-TJ475X6H.js');
3
+ var _chunkSXCTVJBQjs = require('../chunk-SXCTVJBQ.js');
4
4
  require('../chunk-QGM4M3NI.js');
5
5
 
6
6
 
7
- exports.createBaseViteConfig = _chunkTJ475X6Hjs.createBaseViteConfig;
7
+ exports.createBaseViteConfig = _chunkSXCTVJBQjs.createBaseViteConfig;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createBaseViteConfig
3
- } from "../chunk-AZ4N2JGX.mjs";
3
+ } from "../chunk-UZQBIKY2.mjs";
4
4
  import "../chunk-6DZX6EAA.mjs";
5
5
  export {
6
6
  createBaseViteConfig
package/package.json CHANGED
@@ -1,79 +1,80 @@
1
- {
2
- "name": "ebuilds-shared",
3
- "publishConfig": {
4
- "access": "public"
5
- },
6
- "version": "0.1.3",
7
- "description": "共享工具库和类型定义",
8
- "author": "ebuilds",
9
- "license": "MIT",
10
- "keywords": [
11
- "shared",
12
- "utils",
13
- "vue",
14
- "pinia",
15
- "vite"
16
- ],
17
- "main": "dist/index.js",
18
- "module": "dist/index.mjs",
19
- "types": "dist/index.d.ts",
20
- "exports": {
21
- ".": {
22
- "default": "./dist/index.mjs",
23
- "import": "./dist/index.mjs",
24
- "require": "./dist/index.js",
25
- "types": "./dist/index.d.ts"
26
- },
27
- "./utils": {
28
- "default": "./dist/utils/index.mjs",
29
- "import": "./dist/utils/index.mjs",
30
- "require": "./dist/utils/index.js",
31
- "types": "./dist/utils/index.d.ts"
32
- },
33
- "./stores": {
34
- "default": "./dist/stores/index.mjs",
35
- "import": "./dist/stores/index.mjs",
36
- "require": "./dist/stores/index.js",
37
- "types": "./dist/stores/index.d.ts"
38
- },
39
- "./vite-config": {
40
- "default": "./dist/vite-config/index.mjs",
41
- "import": "./dist/vite-config/index.mjs",
42
- "require": "./dist/vite-config/index.js",
43
- "types": "./dist/vite-config/index.d.mts"
44
- },
45
- "./uno-config": {
46
- "default": "./dist/uno-config/index.mjs",
47
- "import": "./dist/uno-config/index.mjs",
48
- "require": "./dist/uno-config/index.js",
49
- "types": "./dist/uno-config/index.d.ts"
50
- },
51
- "./functionalComponent": {
52
- "default": "./dist/functionalComponent/index.mjs",
53
- "import": "./dist/functionalComponent/index.mjs",
54
- "require": "./dist/functionalComponent/index.js",
55
- "types": "./dist/functionalComponent/index.d.ts"
56
- },
57
- "./styles": "./dist/styles/index.css"
58
- },
59
- "files": [
60
- "dist"
61
- ],
62
- "scripts": {
63
- "build": "tsup --config tsup.config.ts",
64
- "dev": "tsup --config tsup.config.ts --watch",
65
- "lint": "eslint --quiet \"src/**/*.{ts,tsx}\"",
66
- "lint:fix": "eslint --quiet \"src/**/*.{ts,tsx}\" --fix",
67
- "pub": "npm publish"
68
- },
69
- "peerDependencies": {
70
- "pinia": "3.0.1"
71
- },
72
- "dependencies": {
73
- "axios": "^1.8.4",
74
- "jsencrypt": "^3.3.2"
75
- },
76
- "devDependencies": {
77
- "tsup": "^8.0.2"
78
- }
79
- }
1
+ {
2
+ "name": "ebuilds-shared",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "0.1.5",
7
+ "description": "共享工具库和类型定义",
8
+ "author": "ebuilds",
9
+ "license": "MIT",
10
+ "keywords": [
11
+ "shared",
12
+ "utils",
13
+ "vue",
14
+ "pinia",
15
+ "vite"
16
+ ],
17
+ "main": "dist/index.js",
18
+ "module": "dist/index.mjs",
19
+ "types": "dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "default": "./dist/index.mjs",
23
+ "import": "./dist/index.mjs",
24
+ "require": "./dist/index.js",
25
+ "types": "./dist/index.d.ts"
26
+ },
27
+ "./utils": {
28
+ "default": "./dist/utils/index.mjs",
29
+ "import": "./dist/utils/index.mjs",
30
+ "require": "./dist/utils/index.js",
31
+ "types": "./dist/utils/index.d.ts"
32
+ },
33
+ "./stores": {
34
+ "default": "./dist/stores/index.mjs",
35
+ "import": "./dist/stores/index.mjs",
36
+ "require": "./dist/stores/index.js",
37
+ "types": "./dist/stores/index.d.ts"
38
+ },
39
+ "./vite-config": {
40
+ "default": "./dist/vite-config/index.mjs",
41
+ "import": "./dist/vite-config/index.mjs",
42
+ "require": "./dist/vite-config/index.js",
43
+ "types": "./dist/vite-config/index.d.mts"
44
+ },
45
+ "./uno-config": {
46
+ "default": "./dist/uno-config/index.mjs",
47
+ "import": "./dist/uno-config/index.mjs",
48
+ "require": "./dist/uno-config/index.js",
49
+ "types": "./dist/uno-config/index.d.ts"
50
+ },
51
+ "./functionalComponent": {
52
+ "default": "./dist/functionalComponent/index.mjs",
53
+ "import": "./dist/functionalComponent/index.mjs",
54
+ "require": "./dist/functionalComponent/index.js",
55
+ "types": "./dist/functionalComponent/index.d.ts"
56
+ },
57
+ "./styles": "./dist/styles/index.css"
58
+ },
59
+ "files": [
60
+ "dist"
61
+ ],
62
+ "scripts": {
63
+ "build": "tsup --config tsup.config.ts",
64
+ "dev": "tsup --config tsup.config.ts --watch",
65
+ "lint": "eslint --quiet \"src/**/*.{ts,tsx}\"",
66
+ "lint:fix": "eslint --quiet \"src/**/*.{ts,tsx}\" --fix",
67
+ "pub": "npm publish"
68
+ },
69
+ "peerDependencies": {
70
+ "pinia": "3.0.1"
71
+ },
72
+ "dependencies": {
73
+ "axios": "^1.8.4",
74
+ "jsencrypt": "^3.3.2"
75
+ },
76
+ "devDependencies": {
77
+ "@monorepo/ebuilds-ui": "workspace:*",
78
+ "tsup": "^8.0.2"
79
+ }
80
+ }
@@ -1,79 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// src/uno-config/index.ts
2
- var _unocss = require('unocss');
3
- function createUnoConfig() {
4
- return _unocss.defineConfig.call(void 0, {
5
- presets: [
6
- _unocss.presetUno.call(void 0, ),
7
- _unocss.presetAttributify.call(void 0, ),
8
- _unocss.presetTypography.call(void 0, ),
9
- _unocss.presetIcons.call(void 0, {
10
- scale: 1.2,
11
- warn: true,
12
- extraProperties: {
13
- display: "inline-block",
14
- "vertical-align": "middle"
15
- },
16
- collections: {
17
- "icon-park-solid": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/icon-park-solid.json"))).then((i) => i.default),
18
- "line-md": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/line-md.json"))).then((i) => i.default),
19
- proicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/proicons.json"))).then((i) => i.default),
20
- mdi: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/mdi.json"))).then((i) => i.default),
21
- "pepicons-pop": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/pepicons-pop.json"))).then((i) => i.default),
22
- ep: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ep.json"))).then((i) => i.default),
23
- famicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/famicons.json"))).then((i) => i.default),
24
- picon: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/picon.json"))).then((i) => i.default),
25
- ic: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ic.json"))).then((i) => i.default),
26
- "akar-icons": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/akar-icons.json"))).then((i) => i.default),
27
- solar: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/solar.json"))).then((i) => i.default),
28
- bx: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/bx.json"))).then((i) => i.default),
29
- mingcute: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/mingcute.json"))).then((i) => i.default),
30
- lucide: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/lucide.json"))).then((i) => i.default),
31
- "icon-park-outline": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/icon-park-outline.json"))).then((i) => i.default),
32
- subway: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/subway.json"))).then((i) => i.default),
33
- mage: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/mage.json"))).then((i) => i.default),
34
- clarity: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/clarity.json"))).then((i) => i.default),
35
- cil: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/cil.json"))).then((i) => i.default),
36
- "lets-icons": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/lets-icons.json"))).then((i) => i.default),
37
- "eos-icons": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/eos-icons.json"))).then((i) => i.default),
38
- gridicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/gridicons.json"))).then((i) => i.default),
39
- hugeicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/hugeicons.json"))).then((i) => i.default),
40
- wpf: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/wpf.json"))).then((i) => i.default),
41
- bi: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/bi.json"))).then((i) => i.default),
42
- ph: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ph.json"))).then((i) => i.default),
43
- ri: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ri.json"))).then((i) => i.default),
44
- typcn: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/typcn.json"))).then((i) => i.default),
45
- fluent: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/fluent.json"))).then((i) => i.default),
46
- "material-symbols": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/material-symbols.json"))).then((i) => i.default),
47
- basil: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/basil.json"))).then((i) => i.default),
48
- carbon: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/carbon.json"))).then((i) => i.default),
49
- healthicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/healthicons.json"))).then((i) => i.default),
50
- ix: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ix.json"))).then((i) => i.default),
51
- "material-symbols-light": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/material-symbols-light.json"))).then((i) => i.default)
52
- }
53
- })
54
- ],
55
- shortcuts: [
56
- {
57
- "flex-center": "flex items-center justify-center",
58
- "content-auto": "content-visibility-auto",
59
- "border-bottom": "border-b border-[#ebeef5] border-b-solid",
60
- "portal-title": "border-bottom p-x-15px p-y-10px flex items-center justify-between",
61
- "dashboard-title": "h-30px font-600 line-height-30px ml2 flex-inline",
62
- "custom-card": "rounded-10px bg-white p10px",
63
- "custom-border": "border border-solid border-[#E0E0E0]"
64
- }
65
- ],
66
- transformers: [
67
- _unocss.transformerDirectives.call(void 0, ),
68
- // 启用 @apply 指令
69
- _unocss.transformerVariantGroup.call(void 0, )
70
- // 启用 hover:(bg-blue text-white) 语法
71
- ]
72
- });
73
- }
74
- var uno_config_default = createUnoConfig;
75
-
76
-
77
-
78
-
79
- exports.createUnoConfig = createUnoConfig; exports.uno_config_default = uno_config_default;
@@ -1,79 +0,0 @@
1
- // src/uno-config/index.ts
2
- import { defineConfig, presetAttributify, presetIcons, presetTypography, presetUno, transformerDirectives, transformerVariantGroup } from "unocss";
3
- function createUnoConfig() {
4
- return defineConfig({
5
- presets: [
6
- presetUno(),
7
- presetAttributify(),
8
- presetTypography(),
9
- presetIcons({
10
- scale: 1.2,
11
- warn: true,
12
- extraProperties: {
13
- display: "inline-block",
14
- "vertical-align": "middle"
15
- },
16
- collections: {
17
- "icon-park-solid": () => import("@iconify/json/json/icon-park-solid.json").then((i) => i.default),
18
- "line-md": () => import("@iconify/json/json/line-md.json").then((i) => i.default),
19
- proicons: () => import("@iconify/json/json/proicons.json").then((i) => i.default),
20
- mdi: () => import("@iconify/json/json/mdi.json").then((i) => i.default),
21
- "pepicons-pop": () => import("@iconify/json/json/pepicons-pop.json").then((i) => i.default),
22
- ep: () => import("@iconify/json/json/ep.json").then((i) => i.default),
23
- famicons: () => import("@iconify/json/json/famicons.json").then((i) => i.default),
24
- picon: () => import("@iconify/json/json/picon.json").then((i) => i.default),
25
- ic: () => import("@iconify/json/json/ic.json").then((i) => i.default),
26
- "akar-icons": () => import("@iconify/json/json/akar-icons.json").then((i) => i.default),
27
- solar: () => import("@iconify/json/json/solar.json").then((i) => i.default),
28
- bx: () => import("@iconify/json/json/bx.json").then((i) => i.default),
29
- mingcute: () => import("@iconify/json/json/mingcute.json").then((i) => i.default),
30
- lucide: () => import("@iconify/json/json/lucide.json").then((i) => i.default),
31
- "icon-park-outline": () => import("@iconify/json/json/icon-park-outline.json").then((i) => i.default),
32
- subway: () => import("@iconify/json/json/subway.json").then((i) => i.default),
33
- mage: () => import("@iconify/json/json/mage.json").then((i) => i.default),
34
- clarity: () => import("@iconify/json/json/clarity.json").then((i) => i.default),
35
- cil: () => import("@iconify/json/json/cil.json").then((i) => i.default),
36
- "lets-icons": () => import("@iconify/json/json/lets-icons.json").then((i) => i.default),
37
- "eos-icons": () => import("@iconify/json/json/eos-icons.json").then((i) => i.default),
38
- gridicons: () => import("@iconify/json/json/gridicons.json").then((i) => i.default),
39
- hugeicons: () => import("@iconify/json/json/hugeicons.json").then((i) => i.default),
40
- wpf: () => import("@iconify/json/json/wpf.json").then((i) => i.default),
41
- bi: () => import("@iconify/json/json/bi.json").then((i) => i.default),
42
- ph: () => import("@iconify/json/json/ph.json").then((i) => i.default),
43
- ri: () => import("@iconify/json/json/ri.json").then((i) => i.default),
44
- typcn: () => import("@iconify/json/json/typcn.json").then((i) => i.default),
45
- fluent: () => import("@iconify/json/json/fluent.json").then((i) => i.default),
46
- "material-symbols": () => import("@iconify/json/json/material-symbols.json").then((i) => i.default),
47
- basil: () => import("@iconify/json/json/basil.json").then((i) => i.default),
48
- carbon: () => import("@iconify/json/json/carbon.json").then((i) => i.default),
49
- healthicons: () => import("@iconify/json/json/healthicons.json").then((i) => i.default),
50
- ix: () => import("@iconify/json/json/ix.json").then((i) => i.default),
51
- "material-symbols-light": () => import("@iconify/json/json/material-symbols-light.json").then((i) => i.default)
52
- }
53
- })
54
- ],
55
- shortcuts: [
56
- {
57
- "flex-center": "flex items-center justify-center",
58
- "content-auto": "content-visibility-auto",
59
- "border-bottom": "border-b border-[#ebeef5] border-b-solid",
60
- "portal-title": "border-bottom p-x-15px p-y-10px flex items-center justify-between",
61
- "dashboard-title": "h-30px font-600 line-height-30px ml2 flex-inline",
62
- "custom-card": "rounded-10px bg-white p10px",
63
- "custom-border": "border border-solid border-[#E0E0E0]"
64
- }
65
- ],
66
- transformers: [
67
- transformerDirectives(),
68
- // 启用 @apply 指令
69
- transformerVariantGroup()
70
- // 启用 hover:(bg-blue text-white) 语法
71
- ]
72
- });
73
- }
74
- var uno_config_default = createUnoConfig;
75
-
76
- export {
77
- createUnoConfig,
78
- uno_config_default
79
- };