inl-ui 0.1.1-rc.99 → 0.1.2
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/README.md +35 -27
- package/dist/components/index.cjs +864 -83
- package/dist/components/index.d.ts +186 -45
- package/dist/components/index.js +859 -82
- package/dist/components/style.css +2 -1
- package/dist/hooks/index.cjs +14 -4
- package/dist/hooks/index.d.ts +2 -4
- package/dist/hooks/index.js +14 -4
- package/dist/iconfont.js +7 -7
- package/dist/index.cjs +897 -88
- package/dist/index.d.ts +229 -77
- package/dist/index.js +904 -95
- package/dist/style.css +2 -1
- package/dist/tplib/index.cjs +37 -1
- package/dist/tplib/index.d.ts +7 -3
- package/dist/tplib/index.js +36 -2
- package/dist/video/index.cjs +336 -28
- package/dist/video/index.d.ts +47 -32
- package/dist/video/index.js +337 -30
- package/dist/video/style.css +2 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,41 +1,49 @@
|
|
|
1
|
-
# 工业
|
|
1
|
+
# 工业PC ui库
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
前端通用库,包括组件、hooks、utils等。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### 运行
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
+ 开发模式 yarn dev
|
|
8
|
+
+ 生产打包 yarn build
|
|
9
|
+
+ 生成文档 yarn build:docs
|
|
10
|
+
+ 打包图扑工具 yarn buildtp
|
|
8
11
|
|
|
9
|
-
###
|
|
12
|
+
### 使用方法
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
```javascript
|
|
15
|
+
import inl from 'inl-ui';
|
|
16
|
+
import 'inl-ui/dist/style.css';
|
|
12
17
|
|
|
18
|
+
vue.use(inl)
|
|
19
|
+
```
|
|
13
20
|
|
|
14
|
-
#### 基座组件(base)
|
|
15
21
|
|
|
16
|
-
#### 报警组件(alarm)
|
|
17
22
|
|
|
18
|
-
###
|
|
23
|
+
### 激活主题
|
|
19
24
|
|
|
20
|
-
|
|
21
|
-
2. [视频播放组件](./src/components/videoPlayer/README.md)
|
|
22
|
-
3. [顶部导航菜单组件](./src/components/headerMenu/README.md)
|
|
25
|
+
**vite.config.ts**
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
```javascript
|
|
28
|
+
const additionalData = require("inl-ui/dist/theme").default;
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
> 开发规则,该主题依赖于 [ant-vue](https://www.antdv.com/components) 最新版本
|
|
30
|
+
...
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
>
|
|
38
|
-
<a-input v-model:value="formState.username" />
|
|
39
|
-
</a-form-item>
|
|
40
|
-
</a-form>
|
|
32
|
+
css: {
|
|
33
|
+
preprocessorOptions: {
|
|
34
|
+
less: {
|
|
35
|
+
javascriptEnabled: true,
|
|
36
|
+
additionalData,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
41
40
|
```
|
|
41
|
+
|
|
42
|
+
### 文档链接
|
|
43
|
+
|
|
44
|
+
##### [组件文档](./src/components/README.md)
|
|
45
|
+
|
|
46
|
+
##### [hooks文档](./src/hooks/README.md)
|
|
47
|
+
|
|
48
|
+
##### [Utils文档](./src/utils/README.md)
|
|
49
|
+
|