@newview/ui 1.1.18 → 1.1.19

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@newview/ui",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "author": "newview",
5
5
  "type": "module",
6
6
  "main": "./dist/newview-ui.umd.cjs",
@@ -972,7 +972,7 @@ export interface DatePickerProp {
972
972
  /**
973
973
  * 展示的日期格式
974
974
  */
975
- format?: Date;
975
+ format?: string;
976
976
 
977
977
  /**
978
978
  * 日期选择器出现的位置,可选值为`top` `top-start` `top-end` `bottom` `bottom-start` `bottom-end` `left` `left-start` `left-end` `right` `right-start` `right-end`
@@ -1514,7 +1514,7 @@ export interface ComFormItem {
1514
1514
  */
1515
1515
  type?: "Switch" | "Label" | "Button" | "Input" | "InputNumber" | "Select" | "Radio" | "Checkbox" |
1516
1516
  "TreeSelect" | "City" | "AutoComplete" | "Slider" | "DatePicker" | "TimePicker" | "Cascader" |
1517
- "TagSelect" | "Rate" | "ColorPicker" | "IconSelect" | "UploadFile" | 'TextEditor';
1517
+ "TagSelect" | "Rate" | "ColorPicker" | "IconSelect" | "UploadFile" | 'TextEditor' | 'DicSelect';
1518
1518
 
1519
1519
  /**
1520
1520
  * Switch 参数
@@ -1649,6 +1649,19 @@ export interface ComFormItem {
1649
1649
  * 文本高度
1650
1650
  */
1651
1651
  textHeight?: number;
1652
+
1653
+ /**
1654
+ * 只读模式下文本区域是否有边框
1655
+ */
1656
+ textBorder?: boolean;
1657
+ /**
1658
+ * 字典项code
1659
+ */
1660
+ dicCode?: string;
1661
+ /**
1662
+ * 字典项所在的平台Id 默认当前平台
1663
+ */
1664
+ dicPId?: number
1652
1665
  }
1653
1666
 
1654
1667
  import type { DefineComponent } from 'vue';
package/types/Grid.d.ts CHANGED
@@ -226,6 +226,15 @@ export interface GridChProp {
226
226
  }
227
227
 
228
228
 
229
+ /**
230
+ * Option
231
+ */
232
+ export interface FilterSelectOptionProp {
233
+ value: any,
234
+ label?: any,
235
+ text?: any,
236
+ checked?: boolean
237
+ }
229
238
  /**
230
239
  * 表头筛选配置
231
240
  */
@@ -238,6 +247,11 @@ export interface GridFilterProp {
238
247
  * 下拉列表数据
239
248
  */
240
249
  options?:FilterSelectOptionProp[]
250
+ /**
251
+ * 下拉选项是否多选
252
+ */
253
+ multiple?:boolean
254
+
241
255
  }
242
256
 
243
257
  /**
package/vite.config.ts CHANGED
@@ -35,7 +35,14 @@ export default defineConfig({
35
35
  "vue",
36
36
  "@vue-office/docx",
37
37
  "vuedraggable",
38
- "sortablejs"
38
+ "sortablejs",
39
+ "ace-builds",
40
+ "axios",
41
+ "bin-editor-next",
42
+ "docx",
43
+ "vue-demi",
44
+ "vue-draggable-next"
45
+
39
46
  ],
40
47
  output: {
41
48
  globals: {