halo-fe 1.0.7 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. package/dist/main.js +2234 -1871
  2. package/dist/{vendor-underscore-DVTek3G4.js → vendor-underscore-B0BCaBxV.js} +58 -58
  3. package/esm/coms/RichText.vue.d.ts +1 -1
  4. package/esm/coms/Timer.vue.d.ts +20 -0
  5. package/esm/coms/index.d.ts +4 -1
  6. package/esm/coms/tables/Table.vue.d.ts +2 -0
  7. package/esm/coms/tables/index.d.ts +1 -0
  8. package/esm/coms/tabs/Tab.vue.d.ts +12 -0
  9. package/esm/coms/tabs/TabPane.vue.d.ts +2 -0
  10. package/esm/coms/tabs/index.d.ts +2 -0
  11. package/esm/coms/tabs/types/TabProps.d.ts +7 -0
  12. package/esm/coms/tabs/types/index.d.ts +2 -0
  13. package/esm/drivers/IDisposable.d.ts +6 -0
  14. package/esm/drivers/bridges/IBridge.d.ts +1 -5
  15. package/esm/drivers/builders/Builder.d.ts +8 -0
  16. package/esm/drivers/builders/BuilderFactory.d.ts +9 -0
  17. package/esm/drivers/builders/IBuilder.d.ts +7 -0
  18. package/esm/drivers/builders/implement/JsonBuilder.d.ts +5 -0
  19. package/esm/drivers/builders/implement/MongoBuilder.d.ts +5 -0
  20. package/esm/drivers/builders/implement/MySqlBuilder.d.ts +5 -0
  21. package/esm/drivers/builders/implement/SqlBuilder.d.ts +5 -0
  22. package/esm/drivers/builders/index.d.ts +2 -0
  23. package/esm/drivers/cdns/CdnFactory.d.ts +1 -1
  24. package/esm/drivers/cdns/ICdn.d.ts +2 -1
  25. package/esm/drivers/cdns/implements/BootCdn.d.ts +2 -2
  26. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +2 -2
  27. package/esm/drivers/cdns/implements/LocalCdn.d.ts +1 -2
  28. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +2 -2
  29. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +2 -2
  30. package/esm/drivers/cdns/index.d.ts +2 -1
  31. package/esm/drivers/encoders/EncoderFactory.d.ts +1 -1
  32. package/esm/drivers/encoders/index.d.ts +2 -1
  33. package/esm/drivers/excels/Excel.d.ts +10 -0
  34. package/esm/drivers/excels/ExcelFactory.d.ts +1 -1
  35. package/esm/drivers/excels/IExcel.d.ts +2 -9
  36. package/esm/drivers/excels/implements/XlsxExcel.d.ts +4 -4
  37. package/esm/drivers/excels/index.d.ts +2 -1
  38. package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -1
  39. package/esm/drivers/explainers/IExplainer.d.ts +1 -1
  40. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +3 -0
  41. package/esm/drivers/explainers/index.d.ts +2 -1
  42. package/esm/drivers/features/FeatureFactory.d.ts +1 -1
  43. package/esm/drivers/features/IFeature.d.ts +1 -1
  44. package/esm/drivers/features/index.d.ts +2 -1
  45. package/esm/drivers/hashers/HasherFactory.d.ts +1 -1
  46. package/esm/drivers/hashers/IHasher.d.ts +0 -1
  47. package/esm/drivers/hashers/index.d.ts +2 -1
  48. package/esm/drivers/https/HttpFactory.d.ts +6 -1
  49. package/esm/drivers/https/IHttp.d.ts +2 -6
  50. package/esm/drivers/https/index.d.ts +2 -1
  51. package/esm/drivers/index.d.ts +3 -1
  52. package/esm/drivers/providers/IProvider.d.ts +5 -1
  53. package/esm/drivers/providers/Provider.d.ts +9 -9
  54. package/esm/drivers/providers/ProviderFactory.d.ts +5 -1
  55. package/esm/drivers/providers/implements/CookieProvider.d.ts +15 -1
  56. package/esm/drivers/providers/implements/StorageProvider.d.ts +29 -0
  57. package/esm/drivers/providers/index.d.ts +2 -1
  58. package/esm/drivers/signers/ISigner.d.ts +1 -1
  59. package/esm/drivers/signers/SignerFactory.d.ts +1 -1
  60. package/esm/drivers/signers/index.d.ts +2 -1
  61. package/esm/drivers/ssos/ISso.d.ts +5 -8
  62. package/esm/drivers/ssos/Sso.d.ts +18 -0
  63. package/esm/drivers/ssos/SsoFactory.d.ts +2 -3
  64. package/esm/drivers/ssos/entities/SsoUser.d.ts +6 -0
  65. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +11 -9
  66. package/esm/drivers/ssos/implements/BearerSso.d.ts +11 -10
  67. package/esm/drivers/ssos/implements/NioSso.d.ts +9 -7
  68. package/esm/drivers/ssos/implements/SecretSso.d.ts +9 -9
  69. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +4 -7
  70. package/esm/drivers/ssos/index.d.ts +3 -1
  71. package/esm/drivers/tasks/ITask.d.ts +10 -3
  72. package/esm/drivers/tasks/Task.d.ts +2 -0
  73. package/esm/drivers/tasks/TaskFactory.d.ts +9 -0
  74. package/esm/drivers/tasks/implement/MemoryTask.d.ts +2 -0
  75. package/esm/drivers/tasks/index.d.ts +2 -1
  76. package/esm/drivers/types/IDispose.d.ts +10 -0
  77. package/esm/drivers/types/IDriver.d.ts +10 -0
  78. package/esm/drivers/types/IOpen.d.ts +10 -0
  79. package/esm/drivers/types/index.d.ts +4 -0
  80. package/esm/drivers/videos/IVideo.d.ts +4 -0
  81. package/esm/drivers/videos/VideoFactory.d.ts +4 -1
  82. package/esm/drivers/videos/index.d.ts +2 -1
  83. package/esm/drivers/voices/IVoice.d.ts +2 -2
  84. package/esm/drivers/voices/Voice.d.ts +5 -2
  85. package/esm/drivers/voices/VoiceFactory.d.ts +1 -1
  86. package/esm/drivers/voices/index.d.ts +2 -1
  87. package/esm/factories/Factories.d.ts +55 -0
  88. package/esm/factories/Factory.d.ts +38 -0
  89. package/esm/factories/IFactory.d.ts +27 -0
  90. package/esm/factories/index.d.ts +26 -0
  91. package/esm/factorying/Factories.d.ts +59 -0
  92. package/esm/factorying/Factory.d.ts +38 -0
  93. package/esm/factorying/IFactory.d.ts +27 -0
  94. package/esm/factorying/index.d.ts +23 -0
  95. package/esm/helpers/ArrayHelper.d.ts +44 -32
  96. package/esm/helpers/DictionaryHelper.d.ts +12 -0
  97. package/esm/helpers/TimeHelper.d.ts +1 -1
  98. package/esm/helpers/index.d.ts +1 -2
  99. package/esm/main.d.ts +1 -0
  100. package/esm/plugins/Ref.d.ts +7 -0
  101. package/esm/plugins/index.d.ts +2 -1
  102. package/esm/svcs/implement/SettingSvc.d.ts +24 -0
  103. package/esm/svcs/index.d.ts +26 -2
  104. package/esm/utilities/ListDelta.d.ts +10 -0
  105. package/esm/utilities/index.d.ts +4 -3
  106. package/package.json +7 -7
@@ -1,7 +1,6 @@
1
1
  import ConfigSvc from "./implement/ConfigSvc";
2
2
  import EnvSvc from "./implement/EnvSvc";
3
3
  import LogSvc from "./implement/LogSvc";
4
- import SettingSvc from "./implement/SettingSvc";
5
4
  import SocketSvc from "./implement/SocketSvc";
6
5
  import UserSvc from "./implement/UserSvc";
7
6
  import SvcFactory from "./SvcFactory";
@@ -28,7 +27,32 @@ declare let driverSvc: {
28
27
  };
29
28
  declare let envSvc: EnvSvc;
30
29
  declare let logSvc: LogSvc;
31
- declare let settingSvc: SettingSvc;
30
+ declare let settingSvc: {
31
+ loaded: boolean;
32
+ particles: boolean;
33
+ home: string;
34
+ background: any;
35
+ font: string;
36
+ language: string;
37
+ layout: string;
38
+ theme: string;
39
+ themes: any[];
40
+ layouts: any[];
41
+ backgrounds: any[];
42
+ locales: any[];
43
+ fonts: any;
44
+ ssos: any[];
45
+ size: string;
46
+ watermark: any;
47
+ app: string;
48
+ env: string;
49
+ central: any;
50
+ business: any;
51
+ upload: any;
52
+ version: any;
53
+ init: () => Promise<void>;
54
+ load: () => Promise<any>;
55
+ };
32
56
  declare let socketSvc: SocketSvc;
33
57
  declare let userSvc: UserSvc;
34
58
  export { configSvc, driverSvc, envSvc, logSvc, settingSvc, socketSvc, userSvc, SvcFactory };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 列表数据变动对比
3
+ */
4
+ declare class ListDelta {
5
+ /**
6
+ * 对比数据变动
7
+ */
8
+ delta<T>(oldEntities: T[], newEntities: T[], keys: string[], props: []): void;
9
+ }
10
+ export default ListDelta;
@@ -1,5 +1,6 @@
1
- import MouseUtility from "./MouseUtility";
2
- import KeyboardUtility from "./KeyboardUtility";
3
1
  import EventUtility from "./EventUtility";
2
+ import KeyboardUtility from "./KeyboardUtility";
3
+ import ListDelta from "./ListDelta";
4
+ import MouseUtility from "./MouseUtility";
4
5
  export * from "./types";
5
- export { MouseUtility, KeyboardUtility, EventUtility, };
6
+ export { EventUtility, KeyboardUtility, ListDelta, MouseUtility, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-fe",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Halo front end sdk",
5
5
  "scripts": {
6
6
  "halo-fe:tsc": "vue-tsc",
@@ -37,17 +37,17 @@
37
37
  "moment": "2.30.1",
38
38
  "monaco-editor": "0.50.0",
39
39
  "quill": "2.0.2",
40
- "underscore": "1.13.6",
40
+ "underscore": "1.13.7",
41
41
  "underscore.string": "3.3.6",
42
- "vue": "3.4.33",
42
+ "vue": "3.4.34",
43
43
  "xlsx-js-style": "1.2.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/node": "20.14.11",
47
- "@vitejs/plugin-vue": "5.0.5",
46
+ "@types/node": "22.0.0",
47
+ "@vitejs/plugin-vue": "5.1.1",
48
48
  "@vitejs/plugin-vue-jsx": "4.0.0",
49
49
  "sass": "1.77.8",
50
- "vite": "5.3.4",
51
- "vue-tsc": "2.0.26"
50
+ "vite": "5.3.5",
51
+ "vue-tsc": "2.0.29"
52
52
  }
53
53
  }