@newview/ui 1.1.68 → 1.1.69

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/package.json CHANGED
@@ -1,73 +1,73 @@
1
1
  {
2
- "name": "@newview/ui",
3
- "version": "1.1.68",
4
- "author": "newview",
5
- "type": "module",
6
- "main": "./dist/newview-ui.umd.cjs",
7
- "module": "./dist/newview-ui.js",
8
- "typings": "types/index.d.ts",
9
- "files": ["dist/*", "types/*", "package.json", "tsconfig.json", "tsconfig.node.json", "vite.config.ts", "README.md"],
10
- "exports": {
11
- "./dist/style.css": "./dist/style.css",
12
- "./css": "./dist/style.css",
13
- ".": {
14
- "import": "./dist/newview-ui.js",
15
- "require": "./dist/newview-ui.umd.cjs"
16
- }
17
- },
18
- "scripts": {
19
- "dev": "vite",
20
- "build": "run-p type-check build-watch",
21
- "preview": "vite preview",
22
- "build-only": "vite build",
23
- "build-watch": "vite build --watch",
24
- "type-check": "vue-tsc --noEmit",
25
- "p": "npm publish --access public",
26
- "build-p": "run-p type-check build-only p"
27
- },
28
- "dependencies": {
29
- "@js-preview/docx": "^1.6.2",
30
- "@newview/base-vue": "^1.1.0",
31
- "@newview/infrastructure": "^1.1.0",
32
- "@newview/tools": "^1.1.0",
33
- "@microsoft/fetch-event-source": "^2.0.1",
34
- "gsap": "^3.12.5",
35
- "particlesjs": "^2.2.3",
36
- "three": "^0.160.1",
37
- "md-editor-v3": "^4.20.2",
38
- "ace-builds": "1.23.1",
39
- "axios": "1.6.2",
40
- "bin-editor-next": "1.1.0",
41
- "dayjs": "1.11.7",
42
- "docx": "8.2.2",
43
- "jquery": "3.6.3",
44
- "jszip": "3.10.1",
45
- "linq": "4.0.1",
46
- "monaco-editor": "0.36.1",
47
- "qrcodejs2": "0.0.2",
48
- "sass": "1.56.2",
49
- "sortablejs": "^1.15.0",
50
- "view-ui-plus": "1.3.1",
51
- "vue": "3.2.45",
52
- "vue-draggable-next": "^2.2.1",
53
- "vue-router": "4.1.6",
54
- "vuedraggable": "^4.1.0",
55
- "vxe-table": "4.3.7",
56
- "x2js": "3.4.4",
57
- "xe-utils": "3.5.7",
58
- "xlsx-style-vite": "0.0.2",
59
- "xlsx": "0.15.6"
60
- },
61
- "devDependencies": {
62
- "@types/file-saver": "2.0.5",
63
- "@types/jquery": "3.5.16",
64
- "@types/node": "^18.11.18",
65
- "@vitejs/plugin-vue": "4.0.0",
66
- "file-saver": "2.0.5",
67
- "npm-run-all": "4.1.5",
68
- "terser": "5.16.8",
69
- "typescript": "4.9.3",
70
- "vite": "4.0.0",
71
- "vue-tsc": "1.0.11"
72
- }
2
+ "name": "@newview/ui",
3
+ "version": "1.1.69",
4
+ "author": "newview",
5
+ "type": "module",
6
+ "main": "./dist/newview-ui.umd.cjs",
7
+ "module": "./dist/newview-ui.js",
8
+ "typings": "types/index.d.ts",
9
+ "files": ["dist/*", "types/*", "package.json", "tsconfig.json", "tsconfig.node.json", "vite.config.ts", "README.md"],
10
+ "exports": {
11
+ "./dist/style.css": "./dist/style.css",
12
+ "./css": "./dist/style.css",
13
+ ".": {
14
+ "import": "./dist/newview-ui.js",
15
+ "require": "./dist/newview-ui.umd.cjs"
16
+ }
17
+ },
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "build": "run-p type-check build-watch",
21
+ "preview": "vite preview",
22
+ "build-only": "vite build",
23
+ "build-watch": "vite build --watch",
24
+ "type-check": "vue-tsc --noEmit",
25
+ "p": "npm publish --access public",
26
+ "build-p": "run-p type-check build-only p"
27
+ },
28
+ "dependencies": {
29
+ "@js-preview/docx": "^1.6.2",
30
+ "@newview/base-vue": "^1.1.0",
31
+ "@newview/infrastructure": "^1.1.0",
32
+ "@newview/tools": "^1.1.0",
33
+ "@microsoft/fetch-event-source": "^2.0.1",
34
+ "gsap": "^3.12.5",
35
+ "particlesjs": "^2.2.3",
36
+ "three": "^0.160.1",
37
+ "md-editor-v3": "^4.20.2",
38
+ "ace-builds": "1.23.1",
39
+ "axios": "1.6.2",
40
+ "bin-editor-next": "1.1.0",
41
+ "dayjs": "1.11.7",
42
+ "docx": "8.2.2",
43
+ "jquery": "3.6.3",
44
+ "jszip": "3.10.1",
45
+ "linq": "4.0.1",
46
+ "monaco-editor": "0.36.1",
47
+ "qrcodejs2": "0.0.2",
48
+ "sass": "1.56.2",
49
+ "sortablejs": "^1.15.0",
50
+ "view-ui-plus": "1.3.1",
51
+ "vue": "3.2.45",
52
+ "vue-draggable-next": "^2.2.1",
53
+ "vue-router": "4.1.6",
54
+ "vuedraggable": "^4.1.0",
55
+ "vxe-table": "4.3.7",
56
+ "x2js": "3.4.4",
57
+ "xe-utils": "3.5.7",
58
+ "xlsx-style-vite": "0.0.2",
59
+ "xlsx": "0.15.6"
60
+ },
61
+ "devDependencies": {
62
+ "@types/file-saver": "2.0.5",
63
+ "@types/jquery": "3.5.16",
64
+ "@types/node": "^18.11.18",
65
+ "@vitejs/plugin-vue": "4.0.0",
66
+ "file-saver": "2.0.5",
67
+ "npm-run-all": "4.1.5",
68
+ "terser": "5.16.8",
69
+ "typescript": "4.9.3",
70
+ "vite": "4.0.0",
71
+ "vue-tsc": "1.0.11"
72
+ }
73
73
  }
@@ -45,6 +45,27 @@ export interface IconSelectProp {
45
45
  onChange?: (event?: any, item?: ComFormItem) => any;
46
46
  }
47
47
 
48
+ export interface mileProp{
49
+ /**
50
+ * 是否只读
51
+ */
52
+ readonly?:Boolean
53
+
54
+ /**
55
+ * 桩号显示前缀 K、ZK、YK
56
+ */
57
+ prefix?:String
58
+
59
+ /**
60
+ * 占位文本
61
+ */
62
+ placeholder?: string;
63
+
64
+ /**
65
+ * 桩号发生改变时触发
66
+ */
67
+ onChange?: (param:{number:string,mile:string}) => any;
68
+ }
48
69
  /**
49
70
  * 数据转换参数
50
71
  */
@@ -1719,7 +1740,7 @@ export interface ComFormItem {
1719
1740
  */
1720
1741
  type?: "Switch" | "Label" | "Button" | "ButtonNoCol" | "Input" | "InputNumber" | "Select" | "Radio" | "Checkbox" |
1721
1742
  "TreeSelect" | "City" | "AutoComplete" | "Slider" | "DatePicker" | "TimePicker" | "Cascader" |
1722
- "TagSelect" | "Rate" | "ColorPicker" | "IconSelect" | "UploadFile" | 'TextEditor' | 'DicSelect' | 'Structure' | 'StructureType' | "UploadFileList" | "CASign";
1743
+ "TagSelect" | "Rate" | "ColorPicker" | "IconSelect" | "UploadFile" | 'TextEditor' | 'DicSelect' | 'Structure' | 'StructureType' | "UploadFileList" | "CASign" | "Mile";
1723
1744
 
1724
1745
  /**
1725
1746
  * Switch 参数
@@ -1811,6 +1832,11 @@ export interface ComFormItem {
1811
1832
  */
1812
1833
  iconSelectProp?: IconSelectProp;
1813
1834
 
1835
+ /**
1836
+ * 桩号填写参数
1837
+ */
1838
+ mileProp?:mileProp;
1839
+
1814
1840
  /**
1815
1841
  * 对应表单域 model 里的字段
1816
1842
  */
package/types/Grid.d.ts CHANGED
@@ -253,6 +253,30 @@ export interface GridSwProp {
253
253
  falseColor?: string
254
254
  }
255
255
 
256
+ /**
257
+ * 桩号列参数
258
+ */
259
+ export interface GridMileProp {
260
+ /**
261
+ * 是否只读
262
+ */
263
+ readonly?:Boolean
264
+
265
+ /**
266
+ * 桩号显示前缀 K、ZK、YK
267
+ */
268
+ prefix?:String
269
+
270
+ /**
271
+ * 占位文本
272
+ */
273
+ placeholder?: string;
274
+
275
+ /**
276
+ * 桩号发生改变时触发
277
+ */
278
+ onChange?: (param:{number:string,mile:string,row,field}) => any;
279
+ }
256
280
 
257
281
  /**
258
282
  * Option
@@ -539,7 +563,7 @@ export interface GridColumn extends VxeColumnProps {
539
563
  /**
540
564
  * 列类型
541
565
  */
542
- colType?: "ch" | "ed" | "password" | "auto" | "num" | "select" | "date" | "time" | "ro" | "seq" | "radio" | "checkbox" | "expand" | "treeSelect" | "switch" | "color";
566
+ colType?: "ch" | "ed" | "password" | "auto" | "num" | "select" | "date" | "time" | "ro" | "seq" | "radio" | "checkbox" | "expand" | "treeSelect" | "switch" | "color" | "mile";
543
567
 
544
568
  /**
545
569
  * 行按钮
@@ -611,6 +635,11 @@ export interface GridColumn extends VxeColumnProps {
611
635
  */
612
636
  switchConfig?: GridSwProp;
613
637
 
638
+ /**
639
+ * 桩号列参数
640
+ */
641
+ mileConfig?: GridMileProp;
642
+
614
643
  /**
615
644
  * 禁用
616
645
  */
@@ -252,6 +252,30 @@ export interface GridSwPropJava {
252
252
  falseColor?: string
253
253
  }
254
254
 
255
+ /**
256
+ * 桩号列参数
257
+ */
258
+ export interface GridMilePropJava {
259
+ /**
260
+ * 是否只读
261
+ */
262
+ readonly?:Boolean
263
+
264
+ /**
265
+ * 桩号显示前缀 K、ZK、YK
266
+ */
267
+ prefix?:String
268
+
269
+ /**
270
+ * 占位文本
271
+ */
272
+ placeholder?: string;
273
+
274
+ /**
275
+ * 桩号发生改变时触发
276
+ */
277
+ onChange?: (param:{number:string,mile:string,row,field}) => any;
278
+ }
255
279
 
256
280
  /**
257
281
  * Option
@@ -515,7 +539,7 @@ export interface GridColumnJava extends VxeColumnProps {
515
539
  /**
516
540
  * 列类型
517
541
  */
518
- colType?: "ch" | "ed" | "password" | "auto" | "num" | "select" | "date" | "time" | "ro" | "seq" | "radio" | "checkbox" | "expand" | "treeSelect" | "switch" | "color";
542
+ colType?: "ch" | "ed" | "password" | "auto" | "num" | "select" | "date" | "time" | "ro" | "seq" | "radio" | "checkbox" | "expand" | "treeSelect" | "switch" | "color" | "mile";
519
543
 
520
544
  /**
521
545
  * 行按钮
@@ -586,6 +610,11 @@ export interface GridColumnJava extends VxeColumnProps {
586
610
  * sw列参数
587
611
  */
588
612
  switchConfig?: GridSwPropJava;
613
+
614
+ /**
615
+ * 桩号列参数
616
+ */
617
+ mileConfig?: GridMilePropJava;
589
618
 
590
619
  /**
591
620
  * 禁用