inl-ui 0.1.63 → 0.1.64

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 CHANGED
@@ -1,49 +1,49 @@
1
- # 工业PC ui库
2
-
3
- 前端通用库,包括组件、hooks、utils等。
4
-
5
- ### 运行
6
-
7
- + 开发模式 yarn dev
8
- + 生产打包 yarn build
9
- + 生成文档 yarn build:docs
10
- + 打包图扑工具 yarn buildtp
11
-
12
- ### 使用方法
13
-
14
- ```javascript
15
- import inl from 'inl-ui';
16
- import 'inl-ui/dist/style.css';
17
-
18
- vue.use(inl)
19
- ```
20
-
21
-
22
-
23
- ### 激活主题
24
-
25
- **vite.config.ts**
26
-
27
- ```javascript
28
- const additionalData = require("inl-ui/dist/theme").default;
29
-
30
- ...
31
-
32
- css: {
33
- preprocessorOptions: {
34
- less: {
35
- javascriptEnabled: true,
36
- additionalData,
37
- },
38
- },
39
- },
40
- ```
41
-
42
- ### 文档链接
43
-
44
- ##### [组件文档](./src/components/README.md)
45
-
46
- ##### [hooks文档](./src/hooks/README.md)
47
-
48
- ##### [Utils文档](./src/utils/README.md)
49
-
1
+ # 工业PC ui库
2
+
3
+ 前端通用库,包括组件、hooks、utils等。
4
+
5
+ ### 运行
6
+
7
+ + 开发模式 yarn dev
8
+ + 生产打包 yarn build
9
+ + 生成文档 yarn build:docs
10
+ + 打包图扑工具 yarn buildtp
11
+
12
+ ### 使用方法
13
+
14
+ ```javascript
15
+ import inl from 'inl-ui';
16
+ import 'inl-ui/dist/style.css';
17
+
18
+ vue.use(inl)
19
+ ```
20
+
21
+
22
+
23
+ ### 激活主题
24
+
25
+ **vite.config.ts**
26
+
27
+ ```javascript
28
+ const additionalData = require("inl-ui/dist/theme").default;
29
+
30
+ ...
31
+
32
+ css: {
33
+ preprocessorOptions: {
34
+ less: {
35
+ javascriptEnabled: true,
36
+ additionalData,
37
+ },
38
+ },
39
+ },
40
+ ```
41
+
42
+ ### 文档链接
43
+
44
+ ##### [组件文档](./src/components/README.md)
45
+
46
+ ##### [hooks文档](./src/hooks/README.md)
47
+
48
+ ##### [Utils文档](./src/utils/README.md)
49
+
@@ -9473,7 +9473,7 @@ var Tree = vue.defineComponent({
9473
9473
  "onExpand": onExpand,
9474
9474
  "checkable": props.checkable,
9475
9475
  "fieldNames": {
9476
- key: "uniqueField"
9476
+ key: "uuid"
9477
9477
  }
9478
9478
  }, {
9479
9479
  title: item => {
@@ -9781,6 +9781,7 @@ const VideoBoxV2 = vue.defineComponent({
9781
9781
  "class": "changeCameraDialog"
9782
9782
  }, [showChangeDialog.value ? vue.createVNode(Tree, {
9783
9783
  "checkable": true,
9784
+ "checkedKeys": [camera.value.uuid],
9784
9785
  "onCheckChange": checkChange
9785
9786
  }, null) : ""])]
9786
9787
  });
@@ -9839,7 +9840,7 @@ const VideoBoxV2 = vue.defineComponent({
9839
9840
  "class": "tool",
9840
9841
  "onClick": () => {}
9841
9842
  }, [_prop.btns.map(btn => {
9842
- if (!(btn !== "close" && btn !== "fullScreen" && btn !== "look")) {
9843
+ if (!(camera.value?.brandTypeCode === "MP4" && btn !== "close" && btn !== "fullScreen" && btn !== "look" && btn !== "change")) {
9843
9844
  switch (btn) {
9844
9845
  case "change":
9845
9846
  return vue.createVNode("img", {
@@ -9445,7 +9445,7 @@ var Tree = defineComponent({
9445
9445
  "onExpand": onExpand,
9446
9446
  "checkable": props.checkable,
9447
9447
  "fieldNames": {
9448
- key: "uniqueField"
9448
+ key: "uuid"
9449
9449
  }
9450
9450
  }, {
9451
9451
  title: item => {
@@ -9753,6 +9753,7 @@ const VideoBoxV2 = defineComponent({
9753
9753
  "class": "changeCameraDialog"
9754
9754
  }, [showChangeDialog.value ? createVNode(Tree, {
9755
9755
  "checkable": true,
9756
+ "checkedKeys": [camera.value.uuid],
9756
9757
  "onCheckChange": checkChange
9757
9758
  }, null) : ""])]
9758
9759
  });
@@ -9811,7 +9812,7 @@ const VideoBoxV2 = defineComponent({
9811
9812
  "class": "tool",
9812
9813
  "onClick": () => {}
9813
9814
  }, [_prop.btns.map(btn => {
9814
- if (!(btn !== "close" && btn !== "fullScreen" && btn !== "look")) {
9815
+ if (!(camera.value?.brandTypeCode === "MP4" && btn !== "close" && btn !== "fullScreen" && btn !== "look" && btn !== "change")) {
9815
9816
  switch (btn) {
9816
9817
  case "change":
9817
9818
  return createVNode("img", {