@ibiz-template/mob-theme 0.2.18 → 3.0.0
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/LICENSE +21 -0
- package/README.md +100 -0
- package/package.json +6 -8
- package/CHANGELOG.md +0 -197
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-present, iBiz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# @ibiz-template/mob-theme
|
|
2
|
+
|
|
3
|
+
移动端主题样式库,包含所有视图、部件预定义布局模型,同时也包含主题的颜色、间距、圆角、遮罩等主题配置,包含亮色主题、暗色主题。
|
|
4
|
+
|
|
5
|
+
## 📂 项目结构
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
|── mob-theme
|
|
9
|
+
├── src
|
|
10
|
+
├── index.ts
|
|
11
|
+
├── publish 预置布局模型
|
|
12
|
+
│ ├── app-index-view-layout-blank-mode.ts 应用首页视图布局_空白模式
|
|
13
|
+
│ ├── app-index-view-layout.ts 首页视图布局面板
|
|
14
|
+
│ ├── app-login-view.ts 应用登录视图
|
|
15
|
+
│ ├── app-wf-step-trace-view-layout.ts 应用流程跟踪视图布局面板
|
|
16
|
+
│ ├── control-layout 预置部件布局模型
|
|
17
|
+
│ │ ├── control-layout-model-repository-mob-tree-exp-bar-layout.ts 移动端树导航栏布局面板
|
|
18
|
+
│ │ └── control-layout-model-repository-mob-tree-layout.ts 移动端树部件布局布局面板
|
|
19
|
+
│ ├── index.ts
|
|
20
|
+
│ └── mob-view-layout-model-repository 预置视图布局模型
|
|
21
|
+
│ ├── mob-view-layout-model-repository-de-mob-calendar-view-9-layout.ts 实体移动端日历视图(部件视图)布局面板布局面板
|
|
22
|
+
│ ├── mob-view-layout-model-repository-de-mob-calendar-view-layout.ts 实体移动端日历视图布局面板
|
|
23
|
+
│ ├── mob-view-layout-model-repository-de-mob-chart-view-9-layout.ts 实体移动端图表视图(部件视图)布局面板布局面板
|
|
24
|
+
│ ├── mob-view-layout-model-repository-de-mob-chart-view-layout.ts 实体移动端图表视图布局面板
|
|
25
|
+
│ ├── mob-view-layout-model-repository-de-mob-data-view-layout.ts 实体移动端卡片视图布局面板
|
|
26
|
+
│ ├── mob-view-layout-model-repository-de-mob-edit-view-3-layout.ts 实体移动端编辑视图分页关系布局面板(预置模型)
|
|
27
|
+
│ ├── mob-view-layout-model-repository-de-mob-edit-view-9-layout.ts 实体移动端编辑视图(部件视图)布局面板布局面板
|
|
28
|
+
│ ├── mob-view-layout-model-repository-de-mob-edit-view-layout.ts 实体移动端编辑视图布局面板
|
|
29
|
+
│ ├── mob-view-layout-model-repository-de-mob-list-view-layout.ts 实体移动端列表视图布局面板
|
|
30
|
+
│ ├── mob-view-layout-model-repository-de-mob-m-pickup-view-layout.ts 实体移动端多数据选择视图布局面板
|
|
31
|
+
│ ├── mob-view-layout-model-repository-de-mob-md-view-9-layout.ts 实体移动端多数据视图(部件视图)布局面板布局面板
|
|
32
|
+
│ ├── mob-view-layout-model-repository-de-mob-md-view-layout.ts 实体移动端多数据视图布局面板
|
|
33
|
+
│ ├── mob-view-layout-model-repository-de-mob-option-view-layout.ts 实体移动端操作视图布局面板
|
|
34
|
+
│ ├── mob-view-layout-model-repository-de-mob-pickup-md-view-layout.ts 实体移动端选择多数据视图(部件视图)布局面板
|
|
35
|
+
│ ├── mob-view-layout-model-repository-de-mob-pickup-tree-view-layout.ts 实体移动端选择树视图(部件视图)布局面板
|
|
36
|
+
│ ├── mob-view-layout-model-repository-de-mob-pickup-view-layout.ts 实体移动端数据选择视图布局面板
|
|
37
|
+
│ ├── mob-view-layout-model-repository-de-mob-tab-exp-view-9-layout.ts 实体移动端分页导航视图(部件视图)布局面板布局面板
|
|
38
|
+
│ ├── mob-view-layout-model-repository-de-mob-tab-exp-view-layout.ts 实体移动端分页导航视图布局面板
|
|
39
|
+
│ ├── mob-view-layout-model-repository-de-mob-tree-exp-view-layout.ts 移动端树导航视图布局面板
|
|
40
|
+
│ ├── mob-view-layout-model-repository-de-mob-tree-view-layout.ts 实体移动端树视图布局面板
|
|
41
|
+
│ ├── mob-view-layout-model-repository-de-mob-wf-dyna-action-view-layout.ts 实体移动端工作流动态操作视图布局面板(预置模型)
|
|
42
|
+
│ ├── mob-view-layout-model-repository-de-mob-wf-dyna-edit-view-3-layout.ts 实体移动端工作流动态编辑视图分页关系布局面板(预置模型)
|
|
43
|
+
│ ├── mob-view-layout-model-repository-de-mob-wf-dyna-edit-view-layout.ts 实体移动端工作流动态编辑视图布局面板(预置模型)
|
|
44
|
+
│ ├── mob-view-layout-model-repository-de-mob-wf-dyna-start-view-layout.ts 实体移动端工作流动态启动视图布局面板(预置模型)
|
|
45
|
+
│ └── mob-view-layout-model-repository-de-mob-wizard-view-layout.ts 实体移动端向导视图布局面板
|
|
46
|
+
└── theme
|
|
47
|
+
├── elements
|
|
48
|
+
│ └── index.scss dom元素样式
|
|
49
|
+
├── generic
|
|
50
|
+
│ ├── index.scss
|
|
51
|
+
│ └── vant.scss vant重写样式
|
|
52
|
+
├── index.scss
|
|
53
|
+
├── objects
|
|
54
|
+
│ ├── index.scss
|
|
55
|
+
│ └── state
|
|
56
|
+
│ └── state.scss 默认组件样式扩展
|
|
57
|
+
├── theme
|
|
58
|
+
│ ├── dark
|
|
59
|
+
│ │ └── dark-theme.scss 暗色主题样式
|
|
60
|
+
│ ├── index.scss
|
|
61
|
+
│ └── light
|
|
62
|
+
│ └── light-theme.scss 亮色主题样式
|
|
63
|
+
├── tumps
|
|
64
|
+
│ └── index.scss 特异性样式,可使用important
|
|
65
|
+
└── var.scss 默认变量
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## 📦 开发
|
|
69
|
+
|
|
70
|
+
1. 启动开发环境
|
|
71
|
+
|
|
72
|
+
进入 mob-theme 终端后,执行以下命令启动开发环境:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pnpm dev
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
2. 将 mob-theme 包链接到全局
|
|
79
|
+
|
|
80
|
+
等待开发环境启动完成后,将 mob-theme 包添加pnpm link到全局:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
pnpm link --global
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
3. 链接依赖项目
|
|
87
|
+
|
|
88
|
+
在依赖此包的项目工作空间中,安装依赖后执行以下命令link插件包:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
pnpm link --global "@ibiz-template/mob-theme"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## 📌 更改日志
|
|
95
|
+
|
|
96
|
+
每个版本的详细更改记录在[发行说明](CHANGELOG.md)中。
|
|
97
|
+
|
|
98
|
+
## 📜 许可证
|
|
99
|
+
|
|
100
|
+
[MIT](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/mob-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "移动端主题样式库",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"main": "lib/index.cjs",
|
|
6
7
|
"types": "es/index.d.ts",
|
|
@@ -10,15 +11,11 @@
|
|
|
10
11
|
"require": "./lib/index.cjs"
|
|
11
12
|
}
|
|
12
13
|
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "https://gitee.com/iBizModeling/ibiz-template-vue-theme.git"
|
|
16
|
-
},
|
|
17
14
|
"files": [
|
|
18
15
|
"dist",
|
|
19
16
|
"es",
|
|
20
17
|
"lib",
|
|
21
|
-
"
|
|
18
|
+
"README.md"
|
|
22
19
|
],
|
|
23
20
|
"scripts": {
|
|
24
21
|
"dev": "ibiz-temp build -w",
|
|
@@ -29,12 +26,13 @@
|
|
|
29
26
|
"publish:beta": "npm run build && npm publish --access public --tag=beta",
|
|
30
27
|
"publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
|
|
31
28
|
},
|
|
32
|
-
"author": "
|
|
29
|
+
"author": "iBiz",
|
|
33
30
|
"license": "MIT",
|
|
34
31
|
"devDependencies": {
|
|
35
32
|
"@ibiz-template/theme": "0.3.0"
|
|
36
33
|
},
|
|
37
34
|
"dependencies": {
|
|
38
35
|
"@ibiz-template/runtime": "^0.4.3"
|
|
39
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"gitHead": "dacfca01d26c4e935350c1b650a7190ec4524fc4"
|
|
40
38
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
# 版本变更日志
|
|
2
|
-
|
|
3
|
-
这个项目的所有关键变化都将记录在此文件中.
|
|
4
|
-
|
|
5
|
-
此日志格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
|
|
6
|
-
并且此项目遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
|
|
10
|
-
## [0.2.18] - 2024-11-05
|
|
11
|
-
|
|
12
|
-
### Add
|
|
13
|
-
|
|
14
|
-
- 新增支持移动端登录视图
|
|
15
|
-
- 新增支持移动端树导航视图
|
|
16
|
-
|
|
17
|
-
### Changed
|
|
18
|
-
|
|
19
|
-
- 更新移动端Vant搜索框默认样式
|
|
20
|
-
|
|
21
|
-
## [0.2.13] - 2024-03-21
|
|
22
|
-
|
|
23
|
-
### Changed
|
|
24
|
-
|
|
25
|
-
- 样式更新
|
|
26
|
-
|
|
27
|
-
## [0.2.12] - 2023-12-28
|
|
28
|
-
|
|
29
|
-
### Changed
|
|
30
|
-
|
|
31
|
-
- 标题栏布局更新
|
|
32
|
-
|
|
33
|
-
## [0.2.11] - 2023-12-07
|
|
34
|
-
|
|
35
|
-
### Changed
|
|
36
|
-
|
|
37
|
-
- 默认主题加载变更为未配置扩展主题包时才加载
|
|
38
|
-
|
|
39
|
-
### Fixed
|
|
40
|
-
|
|
41
|
-
- 修复多选视图布局占位异常
|
|
42
|
-
|
|
43
|
-
## [0.2.10] - 2023-11-29
|
|
44
|
-
|
|
45
|
-
### Added
|
|
46
|
-
|
|
47
|
-
- 新增向导视图布局面板
|
|
48
|
-
|
|
49
|
-
## [0.2.9] - 2023-11-16
|
|
50
|
-
|
|
51
|
-
### Added
|
|
52
|
-
|
|
53
|
-
- 多数据选择视图布局支持搜索栏
|
|
54
|
-
- 亮色主题色变量更新
|
|
55
|
-
- vant主题变量更正
|
|
56
|
-
|
|
57
|
-
## [0.2.8] - 2023-11-14
|
|
58
|
-
|
|
59
|
-
### Changed
|
|
60
|
-
|
|
61
|
-
- 视图通用头部剧中对齐 工具栏俩侧宽度固定
|
|
62
|
-
- 基础样式调整
|
|
63
|
-
- vant样式变量调整
|
|
64
|
-
|
|
65
|
-
## [0.2.7] - 2023-11-12
|
|
66
|
-
|
|
67
|
-
### Changed
|
|
68
|
-
|
|
69
|
-
- 更新基础视图通用头部布局
|
|
70
|
-
- 更新vant主题样式
|
|
71
|
-
|
|
72
|
-
## [0.2.6] - 2023-11-01
|
|
73
|
-
|
|
74
|
-
### Changed
|
|
75
|
-
|
|
76
|
-
- 视图通用工具栏按钮占位默认占满
|
|
77
|
-
- 编辑视图3头部收缩值调整
|
|
78
|
-
- 更新vant dialog样式
|
|
79
|
-
|
|
80
|
-
### Added
|
|
81
|
-
|
|
82
|
-
- 新增移动端实体操作视图布局模型
|
|
83
|
-
- 新增移动端实体日历视图布局模型
|
|
84
|
-
- 新增移动端实体图表视图布局模型
|
|
85
|
-
- 移动端实体分页导航视图部件视图布局模型
|
|
86
|
-
- 移动端实体图表视图部件视图布局模型
|
|
87
|
-
- 移动端实体日历视图部件视图布局模型
|
|
88
|
-
- 移动端应用首页视图_空白模式视图布局模型
|
|
89
|
-
|
|
90
|
-
## [0.2.5] - 2023-10-23
|
|
91
|
-
|
|
92
|
-
### Changed
|
|
93
|
-
|
|
94
|
-
- 移动端vant通用样式更新
|
|
95
|
-
|
|
96
|
-
## [0.2.4] - 2023-10-18
|
|
97
|
-
|
|
98
|
-
### Changed
|
|
99
|
-
|
|
100
|
-
- 移动端滚动条隐藏
|
|
101
|
-
- 移动端vant主题样式更新
|
|
102
|
-
- 移动端基础变量更新
|
|
103
|
-
- 移动端通用布局头部占位调整
|
|
104
|
-
|
|
105
|
-
## [0.2.2] - 2023-08-23
|
|
106
|
-
|
|
107
|
-
### Fixed
|
|
108
|
-
|
|
109
|
-
- 编译文件内容异常
|
|
110
|
-
|
|
111
|
-
## [0.2.1] - 2023-08-22
|
|
112
|
-
|
|
113
|
-
### Changed
|
|
114
|
-
|
|
115
|
-
- 选择视图布局更新
|
|
116
|
-
|
|
117
|
-
### Fixed
|
|
118
|
-
|
|
119
|
-
- 修复移动端实体工作流动态编辑视图(分页关系)高度丢失
|
|
120
|
-
- 修复移动端实体工作流动态编辑视图高度丢失
|
|
121
|
-
- 修复移动端实体工作流动态操作视图高度丢失
|
|
122
|
-
- 修复移动端实体首页视图高度丢失
|
|
123
|
-
|
|
124
|
-
## [0.1.8] - 2023-07-06
|
|
125
|
-
|
|
126
|
-
### Added
|
|
127
|
-
|
|
128
|
-
- 移动端实体数据视图
|
|
129
|
-
- 移动端实体列表视图
|
|
130
|
-
|
|
131
|
-
## [0.1.7] - 2023-07-03
|
|
132
|
-
|
|
133
|
-
### Added
|
|
134
|
-
|
|
135
|
-
- 应用流程跟踪视图
|
|
136
|
-
|
|
137
|
-
## [0.1.6] - 2023-07-03
|
|
138
|
-
|
|
139
|
-
### Added
|
|
140
|
-
|
|
141
|
-
- 实体移动端选择树视图(部件视图)
|
|
142
|
-
|
|
143
|
-
## [0.1.5] - 2023-06-29
|
|
144
|
-
|
|
145
|
-
### Changed
|
|
146
|
-
|
|
147
|
-
- 视图布局优化
|
|
148
|
-
|
|
149
|
-
## [0.1.4] - 2023-06-27
|
|
150
|
-
|
|
151
|
-
### Added
|
|
152
|
-
|
|
153
|
-
- 移动端实体树视图
|
|
154
|
-
- 移动端实体工作流动态编辑视图
|
|
155
|
-
- 移动端实体工作流动态编辑视图(分页关系)
|
|
156
|
-
- 移动端实体工作流动态操作视图
|
|
157
|
-
|
|
158
|
-
## [0.1.3] - 2023-06-20
|
|
159
|
-
|
|
160
|
-
### Changed
|
|
161
|
-
|
|
162
|
-
- view_caption 改为 view_captionbar
|
|
163
|
-
|
|
164
|
-
## [0.1.2] - 2023-06-19
|
|
165
|
-
|
|
166
|
-
### Added
|
|
167
|
-
|
|
168
|
-
- 选择视图补充确定和取消按钮
|
|
169
|
-
|
|
170
|
-
## [0.1.1] - 2023-06-19
|
|
171
|
-
|
|
172
|
-
### Added
|
|
173
|
-
|
|
174
|
-
- 移动端实体多数据选择视图
|
|
175
|
-
- 移动端实体数据选择视图
|
|
176
|
-
- 移动端实体选择多数据视图(部件视图)
|
|
177
|
-
|
|
178
|
-
## [0.1.0] - 2023-06-19
|
|
179
|
-
|
|
180
|
-
### Added
|
|
181
|
-
|
|
182
|
-
- 移动端实体分页导航视图
|
|
183
|
-
|
|
184
|
-
## [0.0.2] - 2023-06-15
|
|
185
|
-
|
|
186
|
-
### Added
|
|
187
|
-
|
|
188
|
-
- 移动端实体编辑视图(部件视图)
|
|
189
|
-
- 移动端实体多数据视图(部件视图)
|
|
190
|
-
|
|
191
|
-
## [0.0.1] - 2023-06-13
|
|
192
|
-
|
|
193
|
-
### Added
|
|
194
|
-
|
|
195
|
-
- 首页默认布局
|
|
196
|
-
- 多数据视图默认布局
|
|
197
|
-
- 编辑视图默认布局
|