@ibiz/model-core 0.1.66 → 0.1.67
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/CHANGELOG.md +6 -0
- package/LICENSE +1 -1
- package/README.md +98 -3
- package/out/control/editor/icode.d.ts +2 -2
- package/package.json +2 -3
- package/src/control/editor/icode.ts +2 -2
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,3 +1,98 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# @ibiz/model-core
|
|
2
|
+
|
|
3
|
+
iBiz网页端模型接口库是一个高度抽象的前端应用层模型对象接口规范,旨在为开发者提供一套标准化、可复用的接口规范,涵盖应用、视图、视图布局、部件、编辑器等核心模型对象。通过定义清晰的接口定义,开发者能够更高效地构建复杂应用,提升代码的可维护性和可扩展性。
|
|
4
|
+
|
|
5
|
+
## 📦 安装
|
|
6
|
+
|
|
7
|
+
使用 npm 或 pnpm 安装:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @ibiz/model-core
|
|
11
|
+
# 或
|
|
12
|
+
pnpm add @ibiz/model-core
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## 📂 项目结构
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
├── src
|
|
19
|
+
│ ├── app
|
|
20
|
+
│ │ ├── appmenu 应用菜单模型
|
|
21
|
+
│ │ ├── bi 智能报表相关模型
|
|
22
|
+
│ │ ├── codelist 代码表模型
|
|
23
|
+
│ │ ├── control 计数器、门户部件模型
|
|
24
|
+
│ │ ├── dataentity 应用实体相关模型
|
|
25
|
+
│ │ ├── func 应用功能模型
|
|
26
|
+
│ │ ├── logic 应用预置逻辑模型
|
|
27
|
+
│ │ ├── mob 应用端特有视图模型
|
|
28
|
+
│ │ ├── msg 应用视图消息模型
|
|
29
|
+
│ │ ├── res 应用引用资源模型、包含插件引用、输入提示数据集等模型
|
|
30
|
+
│ │ ├── theme 应用主题模型
|
|
31
|
+
│ │ ├── util 应用功能配置模型,包含搜索条件存储、搜索条件存储等模型
|
|
32
|
+
│ │ ├── valuerule 应用值规则模型
|
|
33
|
+
│ │ ├── view 应用视图模型
|
|
34
|
+
│ │ ├── wf 工作流相关模型,包含工作流、工作流版本等模型
|
|
35
|
+
│ │ ├── iapp-lan.ts 应用多语言模型
|
|
36
|
+
│ │ ├── iapp-resource.ts 应用资源模型
|
|
37
|
+
│ │ ├── iapplication.ts 前端应用模型
|
|
38
|
+
│ │ └── isub-app-ref.ts 子应用引用模型
|
|
39
|
+
│ ├── codelist 代码表相关模型,包含代码表项等模型
|
|
40
|
+
│ ├── control 部件模型
|
|
41
|
+
│ │ ├── calendar 日历部件
|
|
42
|
+
│ │ ├── captionbar 标题栏部件
|
|
43
|
+
│ │ ├── chart 图表部件
|
|
44
|
+
│ │ ├── counter 计数器相关模型
|
|
45
|
+
│ │ ├── custom 自定义部件
|
|
46
|
+
│ │ ├── dashboard 数据看板部件
|
|
47
|
+
│ │ ├── datainfobar 信息栏部件
|
|
48
|
+
│ │ ├── dataview 卡片部件
|
|
49
|
+
│ │ ├── drctrl dr部件,包含分页导航、数据关系栏等部件
|
|
50
|
+
│ │ ├── editor 编辑器模型
|
|
51
|
+
│ │ ├── expbar 导航部件,包含表格导航、卡片导航、树导航等部件
|
|
52
|
+
│ │ ├── form 表单部件,包含编辑表单、搜索表单等部件
|
|
53
|
+
│ │ ├── grid 表格部件
|
|
54
|
+
│ │ ├── layout 界面布局模型
|
|
55
|
+
│ │ ├── list 列表部件
|
|
56
|
+
│ │ ├── map 地图部件
|
|
57
|
+
│ │ ├── menu 菜单部件
|
|
58
|
+
│ │ ├── panel 面板部件
|
|
59
|
+
│ │ ├── rawitem 直接内容模型
|
|
60
|
+
│ │ ├── reportpanel 报表面板部件
|
|
61
|
+
│ │ ├── searchbar 搜索栏部件
|
|
62
|
+
│ │ ├── titlebar 标题栏模型
|
|
63
|
+
│ │ ├── toolbar 工具栏部件
|
|
64
|
+
│ │ ├── tree 树部件
|
|
65
|
+
│ │ ├── viewpanel 视图布局面板模型
|
|
66
|
+
│ │ ├── wizardpanel 向导面板部件
|
|
67
|
+
│ ├── data 数据项相关模型
|
|
68
|
+
│ ├── dataentity 实体相关模型
|
|
69
|
+
│ │ ├── ac 实体自填模式
|
|
70
|
+
│ │ ├── action 实体行为
|
|
71
|
+
│ │ ├── dataexport 数据导出
|
|
72
|
+
│ │ ├── dataimport 数据导入
|
|
73
|
+
│ │ ├── datamap 数据映射
|
|
74
|
+
│ │ ├── defield 实体属性
|
|
75
|
+
│ │ ├── der 实体关系
|
|
76
|
+
│ │ ├── ds 数据查询
|
|
77
|
+
│ │ ├── logic 实体逻辑
|
|
78
|
+
│ │ ├── mainstate 实体主状态
|
|
79
|
+
│ │ ├── print 实体打印
|
|
80
|
+
│ │ ├── priv 实体操作标识
|
|
81
|
+
│ │ ├── report 实体报表
|
|
82
|
+
│ │ ├── uiaction 界面行为
|
|
83
|
+
│ │ └── wizard 实体向导
|
|
84
|
+
│ ├── msg 消息相关模型,如消息模板
|
|
85
|
+
│ ├── res 系统资源相关模型,如语言资源、系统样式表、系统图片、系统插件等
|
|
86
|
+
│ ├── security 访问控制相关模型,如统一资源等
|
|
87
|
+
│ ├── valuerule 值规则相关模型
|
|
88
|
+
│ ├── view 视图相关模型,如视图引擎、界面行为组等
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## 📌 更改日志
|
|
92
|
+
|
|
93
|
+
每个版本的详细更改记录在[发行说明](CHANGELOG.md)中。
|
|
94
|
+
|
|
95
|
+
## 📜 许可证
|
|
96
|
+
|
|
97
|
+
[MIT](LICENSE)
|
|
98
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ITextArea } from './itext-area';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* 继承父接口类型值[CODE,MOBCODE]
|
|
5
5
|
* @export
|
|
6
6
|
* @interface ICode
|
|
7
7
|
*/
|
|
8
|
-
export interface ICode extends
|
|
8
|
+
export interface ICode extends ITextArea {
|
|
9
9
|
/**
|
|
10
10
|
* 代码类型[CODETYPE]
|
|
11
11
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz/model-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "iBiz网页端模型接口",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "out/index.js",
|
|
8
8
|
"types": "out/index.d.ts",
|
|
9
|
-
"repository": "https://gitee.com/iBizModeling/model-core.git",
|
|
10
9
|
"files": [
|
|
11
10
|
"dist",
|
|
12
11
|
"out",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ITextArea } from './itext-area';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ import { ITextEditor } from './itext-editor';
|
|
|
6
6
|
* @export
|
|
7
7
|
* @interface ICode
|
|
8
8
|
*/
|
|
9
|
-
export interface ICode extends
|
|
9
|
+
export interface ICode extends ITextArea {
|
|
10
10
|
/**
|
|
11
11
|
* 代码类型[CODETYPE]
|
|
12
12
|
* @type {string}
|