@ibiz-template/core 0.7.38-alpha.43 → 0.7.39

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 (61) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +106 -0
  3. package/dist/index.esm.js +1733 -25
  4. package/dist/index.system.min.js +1 -1
  5. package/out/constant/emoji/emoji.d.ts +1 -0
  6. package/out/constant/emoji/emoji.d.ts.map +1 -1
  7. package/out/constant/emoji/emoji.js +1499 -0
  8. package/out/environment/environment.d.ts.map +1 -1
  9. package/out/environment/environment.js +10 -0
  10. package/out/error/http-error/http-error.d.ts.map +1 -1
  11. package/out/error/http-error/http-error.js +11 -1
  12. package/out/ibizsys.d.ts +9 -0
  13. package/out/ibizsys.d.ts.map +1 -1
  14. package/out/ibizsys.js +12 -0
  15. package/out/interface/i-add-in-changed/i-add-in-changed.d.ts +30 -0
  16. package/out/interface/i-add-in-changed/i-add-in-changed.d.ts.map +1 -0
  17. package/out/interface/i-add-in-changed/i-add-in-changed.js +1 -0
  18. package/out/interface/i-devtool-config/i-devtool-config.d.ts +8 -0
  19. package/out/interface/i-devtool-config/i-devtool-config.d.ts.map +1 -1
  20. package/out/interface/i-environment/i-environment.d.ts +46 -0
  21. package/out/interface/i-environment/i-environment.d.ts.map +1 -1
  22. package/out/interface/i-portal-message/i-portal-message.d.ts +5 -4
  23. package/out/interface/i-portal-message/i-portal-message.d.ts.map +1 -1
  24. package/out/interface/index.d.ts +1 -0
  25. package/out/interface/index.d.ts.map +1 -1
  26. package/out/locale/en/index.d.ts +3 -0
  27. package/out/locale/en/index.d.ts.map +1 -1
  28. package/out/locale/en/index.js +3 -0
  29. package/out/locale/zh-CN/index.d.ts +3 -0
  30. package/out/locale/zh-CN/index.d.ts.map +1 -1
  31. package/out/locale/zh-CN/index.js +3 -0
  32. package/out/types.d.ts +2 -0
  33. package/out/types.d.ts.map +1 -1
  34. package/out/utils/cookie-util/cookie-util.d.ts +49 -0
  35. package/out/utils/cookie-util/cookie-util.d.ts.map +1 -0
  36. package/out/utils/cookie-util/cookie-util.js +103 -0
  37. package/out/utils/index.d.ts +1 -0
  38. package/out/utils/index.d.ts.map +1 -1
  39. package/out/utils/index.js +1 -0
  40. package/out/utils/interceptor/core-interceptor.d.ts +10 -0
  41. package/out/utils/interceptor/core-interceptor.d.ts.map +1 -1
  42. package/out/utils/interceptor/core-interceptor.js +60 -1
  43. package/out/utils/interceptor/interceptor.d.ts +9 -0
  44. package/out/utils/interceptor/interceptor.d.ts.map +1 -1
  45. package/out/utils/interceptor/interceptor.js +5 -0
  46. package/out/utils/logger/logger.d.ts.map +1 -1
  47. package/out/utils/logger/logger.js +21 -0
  48. package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts +19 -0
  49. package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts.map +1 -0
  50. package/out/utils/message-center/command/add-in-changed/command-add-in-changed.js +19 -0
  51. package/out/utils/message-center/command/message-command.d.ts +10 -2
  52. package/out/utils/message-center/command/message-command.d.ts.map +1 -1
  53. package/out/utils/message-center/command/message-command.js +13 -2
  54. package/out/utils/net/net.d.ts.map +1 -1
  55. package/out/utils/net/net.js +5 -2
  56. package/out/utils/string-util/string-util.d.ts +15 -8
  57. package/out/utils/string-util/string-util.d.ts.map +1 -1
  58. package/out/utils/string-util/string-util.js +24 -8
  59. package/out/utils/util/util.d.ts.map +1 -1
  60. package/out/utils/util/util.js +4 -7
  61. package/package.json +7 -9
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 千反田丷
3
+ Copyright (c) 2022-present, iBiz
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,106 @@
1
+ # @ibiz-template/core
2
+
3
+ 运行时核心库是项目运行时的核心依赖库,主要提供公共的、通用性的工具、常量和接口定义。
4
+
5
+ ## 📂 项目结构
6
+
7
+ ```javascript
8
+ |─ ─ core
9
+ |─ ─ scripts 工具脚本文件夹
10
+ |─ ─ src 项目工程文件夹
11
+ |─ ─ command 指令文件夹
12
+ |─ ─ command-register.ts 指令注册类
13
+ |─ ─ command.ts 指令控制器类
14
+ |─ ─ interface 指令接口声明
15
+ |─ ─ utils 指令工具方法
16
+ |─ ─ constant 运行时核心常量文件夹
17
+ |─ ─ core 核心全局静态变量类
18
+ |─ ─ emoji 表情符号常量
19
+ |─ ─ http-status-message HTTP 状态码对应的消息
20
+ |─ ─ login-mode 登录模式效验
21
+ |─ ─ menu-permission-mode 菜单权限校验模式定义
22
+ |─ ─ util 工具类常量
23
+ |─ ─ context 上下文处理类
24
+ |─ ─ environment 环境变量默认值
25
+ |─ ─ error 异常类型文件夹
26
+ |─ ─ http-error 网络请求错误
27
+ |─ ─ model-error 模型错误
28
+ |─ ─ notice-error 通知错误
29
+ |─ ─ runtime-error 运行时错误
30
+ |─ ─ runtime-model-error 运行时模型错误
31
+ |─ ─ interface 通用接口声明
32
+ |─ ─ locale 多语言文件夹
33
+ |─ ─ params 视图参数
34
+ |─ ─ utils 通用工具方法文件夹
35
+ |─ ─ bit-mask 权限工具
36
+ |─ ─ click-outside 点击外部区域检测工具
37
+ |─ ─ clone 克隆工具
38
+ |─ ─ color 颜色处理工具
39
+ |─ ─ cookie-util Cookie 操作工具
40
+ |─ ─ data-type 数据类型判断工具
41
+ |─ ─ download-file 文件下载工具
42
+ |─ ─ event 事件管理工具
43
+ |─ ─ history-list 历史记录管理工具
44
+ |─ ─ interceptor 拦截器工具
45
+ |─ ─ logger 日志记录工具
46
+ |─ ─ message-center 消息中心工具文件夹
47
+ |─ ─ base 消息基础模块定义
48
+ |─ ─ command 指令消息文件夹
49
+ |─ ─ add-in-changed 添加变更指令消息
50
+ |─ ─ async-action 异步操作指令消息
51
+ |─ ─ change 数据变更指令消息
52
+ |─ ─ command-base 指令消息基类
53
+ |─ ─ create 创建指令消息
54
+ |─ ─ internal-message 内部消息
55
+ |─ ─ mark-open-data 标记打开数据指令消息
56
+ |─ ─ remove 删除指令消息
57
+ |─ ─ update 更新指令消息
58
+ |─ ─ message-command.ts 指令消息类文件
59
+ |─ ─ console 日志消息
60
+ |─ ─ error 错误消息
61
+ |─ ─ interface 消息接口声明
62
+ |─ ─ message-center.ts 界面消息中心类
63
+ |─ ─ namespace 全局样式处理命名空间工具
64
+ |─ ─ net 全局请求工具
65
+ |─ ─ recursive 递归操作工具
66
+ |─ ─ string-util 字符串处理工具
67
+ |─ ─ style 远程样式处理工具
68
+ |─ ─ sync 同步操作工具文件夹
69
+ |─ ─ await-timeout.ts 异步超时工具
70
+ |─ ─ count-latch.ts 计数插销工具类
71
+ |─ ─ types 工具类型定义文件夹
72
+ |─ ─ upload 文件上传工具
73
+ |─ ─ url-helper URL 路径解析助手
74
+ |─ ─ util 通用工具集合
75
+ |─ ─ ibizsys.ts 全局对象类
76
+ |─ ─ install.ts 安装工具
77
+ |─ ─ types.ts 全局类型定义文件
78
+ |─ ─ test 测试文件夹
79
+ |─ ─ command 指令模块相关测试
80
+ |─ ─ setup.ts 测试环境初始化文件
81
+ |─ ─ utils 工具函数测试集合
82
+ |─ ─ bit-mask 权限工具测试
83
+ |─ ─ click-outside 点击外部区域检测测试
84
+ |─ ─ clone 克隆测试
85
+ |─ ─ color 颜色工具测试
86
+ |─ ─ download-file 文件下载测试
87
+ |─ ─ event 事件管理测试
88
+ |─ ─ history-list 历史记录测试
89
+ |─ ─ message-center 消息中心测试
90
+ |─ ─ namespace 命名空间管理测试
91
+ |─ ─ net 网络请求测试
92
+ |─ ─ recursive 递归操作测试
93
+ |─ ─ string-util 字符串工具测试
94
+ |─ ─ style 远程样式处理测试
95
+ |─ ─ sync 同步操作测试
96
+ |─ ─ types 类型定义测试
97
+ |─ ─ util 工具测试
98
+ ```
99
+
100
+ ## 📌 更改日志
101
+
102
+ 每个版本的详细更改记录在[发行说明](CHANGELOG.md)中。
103
+
104
+ ## 📜 许可证
105
+
106
+ [MIT](LICENSE)