br-dionysus 1.19.9 → 1.19.11
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/.claude/settings.local.json +8 -0
- package/README.md +14 -14
- package/attributes.json +1 -1
- package/dist/br-dionysus.es.d.ts +14 -14
- package/dist/br-dionysus.es.js +5 -5
- package/dist/br-dionysus.umd.js +4 -4
- package/dist/index.css +1 -1
- package/package.json +1 -1
- package/packages/MSelectTable/src/MSelectTable.vue +1 -0
- package/packages/MTable/docs/README.md +7 -7
- package/packages/MTable/src/MTable.vue +3 -2
- package/packages/index.ts +4 -4
- package/web-types.json +1 -1
- package/cypress/aaa.umd.js +0 -97
package/README.md
CHANGED
|
@@ -1038,13 +1038,13 @@ sole 必须传递在表格数据内为唯一的值 如id key 等不会发生重
|
|
|
1038
1038
|
|
|
1039
1039
|
### 3) Events
|
|
1040
1040
|
|
|
1041
|
-
| 方法名 | 说明 | 回调参数
|
|
1042
|
-
|
|
1043
|
-
| pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData
|
|
1044
|
-
| update:tableConfig | 表格配置更新 | \[tableConfig: TableConfig]
|
|
1045
|
-
| privateExpandChange | expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件 | [row: any, expandedRows: any[]]
|
|
1046
|
-
| update:selectionCell | 选中单元格更新 | \[string]
|
|
1047
|
-
| 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html
|
|
1041
|
+
| 方法名 | 说明 | 回调参数 |
|
|
1042
|
+
|----------------------|--------------------------------------|------------------------------------------------------------|
|
|
1043
|
+
| pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData |
|
|
1044
|
+
| update:tableConfig | 表格配置更新 | \[tableConfig: TableConfig] |
|
|
1045
|
+
| privateExpandChange | expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件 | [row: any, expandedRows: any[], rowExpandedState: boolean] |
|
|
1046
|
+
| update:selectionCell | 选中单元格更新 | \[string] |
|
|
1047
|
+
| 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html |
|
|
1048
1048
|
|
|
1049
1049
|
### 4) Exposes
|
|
1050
1050
|
|
|
@@ -3973,13 +3973,13 @@ sole 必须传递在表格数据内为唯一的值 如id key 等不会发生重
|
|
|
3973
3973
|
|
|
3974
3974
|
### 3) Events
|
|
3975
3975
|
|
|
3976
|
-
| 方法名 | 说明 | 回调参数
|
|
3977
|
-
|
|
3978
|
-
| pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData
|
|
3979
|
-
| update:tableConfig | 表格配置更新 | \[tableConfig: TableConfig]
|
|
3980
|
-
| privateExpandChange | expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件 | [row: any, expandedRows: any[]]
|
|
3981
|
-
| update:selectionCell | 选中单元格更新 | \[string]
|
|
3982
|
-
| 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html
|
|
3976
|
+
| 方法名 | 说明 | 回调参数 |
|
|
3977
|
+
|----------------------|--------------------------------------|------------------------------------------------------------|
|
|
3978
|
+
| pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData |
|
|
3979
|
+
| update:tableConfig | 表格配置更新 | \[tableConfig: TableConfig] |
|
|
3980
|
+
| privateExpandChange | expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件 | [row: any, expandedRows: any[], rowExpandedState: boolean] |
|
|
3981
|
+
| update:selectionCell | 选中单元格更新 | \[string] |
|
|
3982
|
+
| 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html |
|
|
3983
3983
|
|
|
3984
3984
|
### 4) Exposes
|
|
3985
3985
|
|
package/attributes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"m-dialog/modelValue":{"type":"boolean","description":""},"m-dialog/width":{"type":"string | number","description":"对话框的宽度,默认值为 50%"},"m-dialog/insideHeight":{"type":"number | null","description":"对话框内部空间的高度,默认为null"},"m-dialog/minInsideHeight":{"type":"number","description":"对话框内部空间的最小高度,默认为0(当同时存在maxHeight和minInsideHeight时,以maxHeight为准)"},"m-dialog/maxInsideHeight":{"type":"number","description":"对话框内部空间的最大高度,默认为Infinity"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-dialog/draggable":{"type":"boolean","description":"是否可拖动"},"m-dialog/insideClassName":{"type":"string","description":"对话框内部空间的className"},"m-dialog/drawerMode":{"type":"boolean","description":"抽屉模式"},"m-dialog/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-dialog/update:insideHeight":{"type":"[number]","description":"更新内部容器高度"},"m-dialog/update:modelValue":{"type":"[boolean]","description":""},"m-inline/minWidth":{"type":"number","description":"列最小宽度"},"m-inline/maxWidth":{"type":"number","description":"列最大宽度"},"m-inline/size":{"type":"Size","description":"组件尺寸"},"m-inline/configKey":{"type":"string","description":"配置key"},"m-inline/model":{"type":"Record<string, any> | null","description":"筛选对象"},"m-inline/switch":{"type":"[status: boolean]","description":"切换折叠展开事件"},"m-input-number/modelValue":{"type":"string | number","description":""},"m-input-number/placeholder":{"type":"string","description":""},"m-input-number/disabled":{"type":"boolean","description":"是否禁用数值输入框"},"m-input-number/size":{"type":"string","description":"数值输入框尺寸"},"m-input-number/min":{"type":"number","description":"设置数值输入框允许的最小值"},"m-input-number/max":{"type":"number","description":"设置数值输入框允许的最大值"},"m-input-number/step":{"type":"number","description":"数值输入框步长"},"m-input-number/stepStrictly":{"type":"boolean","description":"是否只能输入 step 的倍数"},"m-input-number/thousandthPlace":{"type":"boolean","description":"输入框是否显示千分位"},"m-input-number/noBorder":{"type":"boolean","description":"是否不要边框"},"m-input-number/noSpacing":{"type":"boolean","description":"不要边距"},"m-input-number/update:modelValue":{"type":"[value: string | number | null]","description":""},"m-input-number/change":{"type":"[value?: number]","description":""},"m-input-number/focus":{"type":"[value: string | number | null]","description":""},"m-input-number/blur":{"type":"[value: string | number | null]","description":""},"m-input-number/input":{"type":"[value: string | number | null]","description":""},"m-select/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select/multiple":{"type":"boolean","description":"多选"},"m-select/modelValue":{"type":"any","description":"选中项绑定值"},"m-select/update:modelValue":{"type":"[value: number | string | boolean | Array<number | string | boolean>]","description":""},"m-select/change":{"type":"[value: any]","description":""},"m-select-table/modelValue":{"type":"string | number | Array<number | string>","description":""},"m-select-table/name":{"type":"string | number | Array<number | string>","description":"显示值"},"m-select-table/placeholder":{"type":"string","description":""},"m-select-table/disabled":{"type":"boolean","description":""},"m-select-table/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table/total":{"type":"number | null","description":"总数据量,当有值时,出现分页器"},"m-select-table/filterMethod":{"type":"Function | null","description":"自定义搜索"},"m-select-table/filterable":{"type":"boolean","description":"是否使用搜索"},"m-select-table/remote":{"type":"boolean","description":"是否使用 远程搜索"},"m-select-table/remoteMethod":{"type":"Function","description":"自定义远程搜索"},"m-select-table/options":{"type":"Option[]","description":""},"m-select-table/tableTitle":{"type":"TableTitle[]","description":""},"m-select-table/multiple":{"type":"boolean","description":"是否多选"},"m-select-table/keywords":{"type":"{ label: string, value: string }","description":"定义默认的 label 和value"},"m-select-table/reserveSelection":{"type":"boolean","description":"是否开启翻页多选"},"m-select-table/tableHeight":{"type":"string | number","description":""},"m-select-table/isAffirmBtn":{"type":"boolean","description":"是否有确认按钮"},"m-select-table/scrollbarAlwaysOn":{"type":"boolean","description":"是否常态显示滚动条"},"m-select-table/allowCreate":{"type":"boolean","description":"是否能够创建条目"},"m-select-table/border":{"type":"boolean","description":"表格边框"},"m-select-table/popupWidth":{"type":"number | string","description":"弹窗的宽度"},"m-select-table/rowStyle":{"type":"Record<string, any>|((data: { row: any, rowIndex: number }) => Record<string, any>)","description":"行的 style 的回调方法,也可以使用一个固定的 Object 为所有行设置一样的 Style"},"m-select-table/cellStyle":{"type":"Record<string, any>|((data: { row: any, column: any, rowIndex: number, columnIndex: number }) => Record<string, any>)","description":"单元格的 style 的回调方法,也可以使用一个固定的 Object 为所有单元格设置一样的 Style"},"m-select-table/update:modelValue":{"type":"[value: string | number | boolean | Array<string | number | boolean>]","description":""},"m-select-table/selected":{"type":"[values: string | number | boolean | Array<string | number | boolean>, rows: Option[] | Option]","description":"单选或多选之后的回调"},"m-select-table/selectMultiple":{"type":"[values: Array<string | number>, rows: Option[]]","description":"多选确认按钮时的回调 配合isAffirmBtn使用"},"m-select-table/toPage":{"type":"[page: Page, query?: string | number | Array<string | number>]","description":"当没有使用filterMethod时候才会有回调否则没有"},"m-select-table/selectChange":{"type":"[values: string | number | Array<string | number>, rows: Option[]]","description":"勾选数据change事件,选中值不发生变化"},"m-select-table/clear":{"type":"[]","description":"用户点击清空按钮时触发"},"m-select-table/removeTag":{"type":"[value: any, index: number]","description":"多选模式下移除tag时触发(标记,待处理)"},"m-select-table-v1/modelValue":{"type":"string | number","description":""},"m-select-table-v1/placeholder":{"type":"string","description":""},"m-select-table-v1/disabled":{"type":"boolean","description":""},"m-select-table-v1/options":{"type":"Option[]","description":""},"m-select-table-v1/tableTitle":{"type":"any[]","description":""},"m-select-table-v1/remoteMethod":{"type":"Function","description":""},"m-select-table-v1/allowCreate":{"type":"boolean","description":""},"m-select-table-v1/focusShow":{"type":"boolean","description":""},"m-select-table-v1/isSelect":{"type":"boolean","description":""},"m-select-table-v1/clearable":{"type":"boolean","description":""},"m-select-table-v1/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table-v1/labelKey":{"type":"string","description":""},"m-select-table-v1/scrollbarAlwaysOn":{"type":"boolean","description":""},"m-select-table-v1/total":{"type":"number | null","description":""},"m-select-table-v1/update:modelValue":{"type":"any","description":""},"m-select-table-v1/selectMultiple":{"type":"any","description":""},"m-select-table-v1/change":{"type":"any","description":""},"m-select-table-v1/selected":{"type":"any","description":""},"m-select-table-v1/clear":{"type":"any","description":""},"m-select-v2/modelValue":{"type":"ValueType","description":""},"m-select-v2/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select-v2/multiple":{"type":"boolean","description":"多选"},"m-select-v2/showAll":{"type":"boolean","description":"是否显示全选"},"m-select-v2/options":{"type":"Option[]","description":"选项"},"m-select-v2/update:modelValue":{"type":"[data: ValueType]","description":""},"m-batch-edit/selectionCell":{"type":"string","description":"选中列"},"m-batch-edit/size":{"type":"'small' | 'large' | ''","description":"组件大小"},"m-batch-edit/tableData":{"type":"Record<string, any>[]","description":"表格数据"},"m-batch-edit/tableTitle":{"type":"TableTitle[] | null","description":"表格列配置"},"m-batch-edit/relevancyTable":{"type":"InstanceType<typeof import('./../../MTable').MTable> | null","description":"关联表格(与tableTitle属性互斥,同时存在时只有tableTitle生效)"},"m-batch-edit/update:tableData":{"type":"[data: Record<string, any>[]]","description":""},"m-table/size":{"type":"'small' | 'large' | ''","description":""},"m-table/sole":{"type":"string","description":""},"m-table/data":{"type":"Record<string, any>[]","description":""},"m-table/filtersValue":{"type":"Record<string, Array<string | number>> | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"m-table/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table/expandProp":{"type":"string","description":"展开图标列(如使用这个属性则必须存在rowKey属性) (标记,约束条件后面解决)"},"m-table/expandRowKeys":{"type":"any[]","description":"可以通过该属性设置 Table 目前的展开行,需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。"},"m-table/rowKey":{"type":"string |((row: any) => string)","description":"行数据的 Key,用来优化 Table 的渲染; 在使用reserve-selection功能与显示树形数据时,该属性是必填的。 类型为 String 时,支持多层访问:user.info.id,但不支持 user.info[0].id,此种情况请使用 Function。"},"m-table/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table/selectionCell":{"type":"string | number | symbol","description":"选中列"},"m-table/summaryMethod":{"type":"((data: { columns: any[], data: any[] }) => string[]) | null","description":"自定义的合计计算方法"},"m-table/circleTotal":{"type":"boolean","description":"是否圈选合计"},"m-table/isCircleCopy":{"type":"boolean","description":"是否启用圈选复制"},"m-table/isBuiltInSelection":{"type":"boolean","description":"启用内置多选(如同时启用了circleTotal,rowKey可实现勾选合计功能)"},"m-table/pasteData":{"type":"[\n data: {\n /** 粘贴行的行数据 */\n editRow: Record<string, any>,\n /** 粘贴列的列名 */\n editColumn: string,\n /** 粘贴的数据 */\n arr: Array<string | number>,\n /** 起始行 */\n rowIndex: number,\n },\n /** 粘贴完成后的表格数据 */\n tableData: Array<Record<string, any>>\n ]","description":"表格粘贴方法"},"m-table/update:tableConfig":{"type":"[tableConfig: TableConfig]","description":"表格配置更新"},"m-table/privateExpandChange":{"type":"[row: any, expandedRows: any[]]","description":"expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件"},"m-table/update:selectionCell":{"type":"[ string | number | symbol ]","description":"选中单元格更新"},"m-table/copyData":{"type":"[ data: { text: string, selection: { startX: number, startY: number, endX: number, endY: number } } ]","description":"复制事件"},"m-table/sortChange":{"type":"[ data: { column: Record<string, any>, prop: string, order: any } ]","description":"当表格的排序条件发生变化的时候会触发该事件"},"m-table-column/filtersValue":{"type":"Record<string, Array<string | number>> | null","description":"列筛选过滤条件(当为null时,不显示筛选图标)"},"m-table-column/filters":{"type":"Array<{ text: string | number, value: string | number }>","description":"过滤选项"},"m-table-column/filterMethod":{"type":"Function | null","description":"过滤方法"},"m-table-column/children":{"type":"Array<PropChildren>","description":""},"m-table-column/isBatchEdit":{"type":"boolean","description":"是否允许批改"},"m-table-column/update:filtersValue":{"type":"any","description":""},"m-table-column-set/modelValue":{"type":"TableConfig","description":"配置"},"m-table-column-set/foldMode":{"type":"boolean","description":"是否为折叠模式"},"m-table-column-set/link":{"type":"boolean","description":"是否为链接按钮"},"m-table-column-set/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"m-table-column-set/change":{"type":"any","description":""},"m-table-v2/size":{"type":"'small' | 'large' | 'default'","description":""},"m-table-v2/data":{"type":"Array<{\n [key: string]: any\n }>","description":""},"m-table-v2/height":{"type":"number","description":"表格高度"},"m-table-v2/border":{"type":"boolean","description":"显示边框"},"m-table-v2/columns":{"type":"TableV2Title[]","description":"表格列配置"},"m-table-v2/filtersValue":{"type":"FilterValue | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"m-table-v2/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table-v2/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table-v2/fixed":{"type":"boolean","description":"单元格宽度是自适应还是固定"},"m-table-v2/estimatedRowHeight":{"type":"number | null","description":"渲染动态的单元格的预估高度"},"m-table-v2/headerHeight":{"type":"number | number[] | null","description":"Header 的高度由height设置。 如果传入数组,它会使 header row 等于数组长度"},"m-table-v2/cellWidthAdaptive":{"type":"boolean","description":"单元格宽度自适应"},"m-table-v2/expandColumnKey":{"type":"string","description":"展开列的key"},"m-table-v2/pasteData":{"type":"[\n data: {\n /** 粘贴行的行数据 */\n editRow: { [key: string]: any },\n /** 粘贴列的列名 */\n editColumn: string,\n /** 粘贴的数据 */\n arr: Array<string | number>,\n /** 起始行 */\n rowIndex: number,\n },\n /** 粘贴完成后的表格数据 */\n tableData: Array<{ [key: string]: any }>\n ]","description":""},"m-table-v2/update:tableConfig":{"type":"[tableConfig: TableConfig]","description":"表格配置更新"},"m-tree-exhibit/data":{"type":"TreeItem[]","description":""},"m-tree-exhibit/nodeClick":{"type":"[Node]","description":"节点点击事件"},"m-tree-exhibit/descriptionClick":{"type":"[url: string]","description":"描述链接点击事件"},"m-virtual-table/columns":{"type":"TableColumn[]","description":"表格列配置"},"m-virtual-table/data":{"type":"Record<string, any>[]","description":"表格数据"},"m-virtual-table/theme":{"type":"'light' | 'dark' | 'auto'","description":"主题模式"},"m-virtual-table/loading":{"type":"boolean","description":"加载状态"},"m-virtual-table/rowHeight":{"type":"number","description":"行高"},"m-virtual-table/height":{"type":"number | string","description":"表格高度"},"m-virtual-table/showExport":{"type":"boolean","description":"是否显示导出按钮"},"m-virtual-table/exportFileName":{"type":"string","description":"导出文件名"},"m-virtual-table/showSelection":{"type":"boolean","description":"是否显示选择列"},"m-virtual-table/selectionWidth":{"type":"number","description":"选择列宽度"},"m-virtual-table/paginationMode":{"type":"'virtual' | 'pagination'","description":"分页模式: 'virtual' 虚拟滚动 | 'pagination' 分页"},"m-virtual-table/currentPage":{"type":"number","description":"当前页码"},"m-virtual-table/pageSize":{"type":"number","description":"每页条数"},"m-virtual-table/total":{"type":"number","description":"数据总条数"},"m-virtual-table/size":{"type":"'small' | 'default' | 'large'","description":"组件尺寸"},"m-virtual-table/border":{"type":"boolean","description":"是否显示边框"},"m-virtual-table/showOverflowTooltip":{"type":"boolean","description":"是否在内容溢出时显示 Tooltip"},"m-virtual-table/rowClick":{"type":"[rowData: any, colData: any, event: any]","description":""},"m-virtual-table/rowDblclick":{"type":"[rowData: any, colData: any, event: any]","description":""},"m-virtual-table/headerDragend":{"type":"[colWidth: number, oldWidth: number, colData: any, args: any]","description":""},"m-virtual-table/scroll":{"type":"[data: { scrollHeight: number; scrollDirection: string; scrollTop: number; viewHeight: number }]","description":""},"m-virtual-table/selectionChange":{"type":"[selectedData: any[]]","description":""},"m-virtual-table/currentChange":{"type":"[currentPage: number]","description":""},"m-virtual-table/sizeChange":{"type":"[pageSize: number]","description":""},"m-virtual-table/export-complete":{"type":"[]","description":""},"m-virtual-table/export-error":{"type":"[error: Error]","description":""},"skin-config/change":{"type":"any","description":""},"tab-page/modelValue":{"type":"MenuItem[]","description":""},"tab-page/activeKey":{"type":"string","description":""},"tab-page/showRightClickMenu":{"type":"boolean","description":""},"tab-page/primaryColor":{"type":"string","description":""},"tab-page/primaryBackgroundColor":{"type":"string | null","description":""},"tab-page/close":{"type":"any","description":""},"tab-page/click":{"type":"any","description":""}}
|
|
1
|
+
{"m-dialog/modelValue":{"type":"boolean","description":""},"m-dialog/width":{"type":"string | number","description":"对话框的宽度,默认值为 50%"},"m-dialog/insideHeight":{"type":"number | null","description":"对话框内部空间的高度,默认为null"},"m-dialog/minInsideHeight":{"type":"number","description":"对话框内部空间的最小高度,默认为0(当同时存在maxHeight和minInsideHeight时,以maxHeight为准)"},"m-dialog/maxInsideHeight":{"type":"number","description":"对话框内部空间的最大高度,默认为Infinity"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-dialog/draggable":{"type":"boolean","description":"是否可拖动"},"m-dialog/insideClassName":{"type":"string","description":"对话框内部空间的className"},"m-dialog/drawerMode":{"type":"boolean","description":"抽屉模式"},"m-dialog/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-dialog/update:insideHeight":{"type":"[number]","description":"更新内部容器高度"},"m-dialog/update:modelValue":{"type":"[boolean]","description":""},"m-inline/minWidth":{"type":"number","description":"列最小宽度"},"m-inline/maxWidth":{"type":"number","description":"列最大宽度"},"m-inline/size":{"type":"Size","description":"组件尺寸"},"m-inline/configKey":{"type":"string","description":"配置key"},"m-inline/model":{"type":"Record<string, any> | null","description":"筛选对象"},"m-inline/switch":{"type":"[status: boolean]","description":"切换折叠展开事件"},"m-input-number/modelValue":{"type":"string | number","description":""},"m-input-number/placeholder":{"type":"string","description":""},"m-input-number/disabled":{"type":"boolean","description":"是否禁用数值输入框"},"m-input-number/size":{"type":"string","description":"数值输入框尺寸"},"m-input-number/min":{"type":"number","description":"设置数值输入框允许的最小值"},"m-input-number/max":{"type":"number","description":"设置数值输入框允许的最大值"},"m-input-number/step":{"type":"number","description":"数值输入框步长"},"m-input-number/stepStrictly":{"type":"boolean","description":"是否只能输入 step 的倍数"},"m-input-number/thousandthPlace":{"type":"boolean","description":"输入框是否显示千分位"},"m-input-number/noBorder":{"type":"boolean","description":"是否不要边框"},"m-input-number/noSpacing":{"type":"boolean","description":"不要边距"},"m-input-number/update:modelValue":{"type":"[value: string | number | null]","description":""},"m-input-number/change":{"type":"[value?: number]","description":""},"m-input-number/focus":{"type":"[value: string | number | null]","description":""},"m-input-number/blur":{"type":"[value: string | number | null]","description":""},"m-input-number/input":{"type":"[value: string | number | null]","description":""},"m-select/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select/multiple":{"type":"boolean","description":"多选"},"m-select/modelValue":{"type":"any","description":"选中项绑定值"},"m-select/update:modelValue":{"type":"[value: number | string | boolean | Array<number | string | boolean>]","description":""},"m-select/change":{"type":"[value: any]","description":""},"m-select-table/modelValue":{"type":"string | number | Array<number | string>","description":""},"m-select-table/name":{"type":"string | number | Array<number | string>","description":"显示值"},"m-select-table/placeholder":{"type":"string","description":""},"m-select-table/disabled":{"type":"boolean","description":""},"m-select-table/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table/total":{"type":"number | null","description":"总数据量,当有值时,出现分页器"},"m-select-table/filterMethod":{"type":"Function | null","description":"自定义搜索"},"m-select-table/filterable":{"type":"boolean","description":"是否使用搜索"},"m-select-table/remote":{"type":"boolean","description":"是否使用 远程搜索"},"m-select-table/remoteMethod":{"type":"Function","description":"自定义远程搜索"},"m-select-table/options":{"type":"Option[]","description":""},"m-select-table/tableTitle":{"type":"TableTitle[]","description":""},"m-select-table/multiple":{"type":"boolean","description":"是否多选"},"m-select-table/keywords":{"type":"{ label: string, value: string }","description":"定义默认的 label 和value"},"m-select-table/reserveSelection":{"type":"boolean","description":"是否开启翻页多选"},"m-select-table/tableHeight":{"type":"string | number","description":""},"m-select-table/isAffirmBtn":{"type":"boolean","description":"是否有确认按钮"},"m-select-table/scrollbarAlwaysOn":{"type":"boolean","description":"是否常态显示滚动条"},"m-select-table/allowCreate":{"type":"boolean","description":"是否能够创建条目"},"m-select-table/border":{"type":"boolean","description":"表格边框"},"m-select-table/popupWidth":{"type":"number | string","description":"弹窗的宽度"},"m-select-table/rowStyle":{"type":"Record<string, any>|((data: { row: any, rowIndex: number }) => Record<string, any>)","description":"行的 style 的回调方法,也可以使用一个固定的 Object 为所有行设置一样的 Style"},"m-select-table/cellStyle":{"type":"Record<string, any>|((data: { row: any, column: any, rowIndex: number, columnIndex: number }) => Record<string, any>)","description":"单元格的 style 的回调方法,也可以使用一个固定的 Object 为所有单元格设置一样的 Style"},"m-select-table/update:modelValue":{"type":"[value: string | number | boolean | Array<string | number | boolean>]","description":""},"m-select-table/selected":{"type":"[values: string | number | boolean | Array<string | number | boolean>, rows: Option[] | Option]","description":"单选或多选之后的回调"},"m-select-table/selectMultiple":{"type":"[values: Array<string | number>, rows: Option[]]","description":"多选确认按钮时的回调 配合isAffirmBtn使用"},"m-select-table/toPage":{"type":"[page: Page, query?: string | number | Array<string | number>]","description":"当没有使用filterMethod时候才会有回调否则没有"},"m-select-table/selectChange":{"type":"[values: string | number | Array<string | number>, rows: Option[]]","description":"勾选数据change事件,选中值不发生变化"},"m-select-table/clear":{"type":"[]","description":"用户点击清空按钮时触发"},"m-select-table/removeTag":{"type":"[value: any, index: number]","description":"多选模式下移除tag时触发(标记,待处理)"},"m-select-table-v1/modelValue":{"type":"string | number","description":""},"m-select-table-v1/placeholder":{"type":"string","description":""},"m-select-table-v1/disabled":{"type":"boolean","description":""},"m-select-table-v1/options":{"type":"Option[]","description":""},"m-select-table-v1/tableTitle":{"type":"any[]","description":""},"m-select-table-v1/remoteMethod":{"type":"Function","description":""},"m-select-table-v1/allowCreate":{"type":"boolean","description":""},"m-select-table-v1/focusShow":{"type":"boolean","description":""},"m-select-table-v1/isSelect":{"type":"boolean","description":""},"m-select-table-v1/clearable":{"type":"boolean","description":""},"m-select-table-v1/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table-v1/labelKey":{"type":"string","description":""},"m-select-table-v1/scrollbarAlwaysOn":{"type":"boolean","description":""},"m-select-table-v1/total":{"type":"number | null","description":""},"m-select-table-v1/update:modelValue":{"type":"any","description":""},"m-select-table-v1/selectMultiple":{"type":"any","description":""},"m-select-table-v1/change":{"type":"any","description":""},"m-select-table-v1/selected":{"type":"any","description":""},"m-select-table-v1/clear":{"type":"any","description":""},"m-select-v2/modelValue":{"type":"ValueType","description":""},"m-select-v2/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select-v2/multiple":{"type":"boolean","description":"多选"},"m-select-v2/showAll":{"type":"boolean","description":"是否显示全选"},"m-select-v2/options":{"type":"Option[]","description":"选项"},"m-select-v2/update:modelValue":{"type":"[data: ValueType]","description":""},"m-batch-edit/selectionCell":{"type":"string","description":"选中列"},"m-batch-edit/size":{"type":"'small' | 'large' | ''","description":"组件大小"},"m-batch-edit/tableData":{"type":"Record<string, any>[]","description":"表格数据"},"m-batch-edit/tableTitle":{"type":"TableTitle[] | null","description":"表格列配置"},"m-batch-edit/relevancyTable":{"type":"InstanceType<typeof import('./../../MTable').MTable> | null","description":"关联表格(与tableTitle属性互斥,同时存在时只有tableTitle生效)"},"m-batch-edit/update:tableData":{"type":"[data: Record<string, any>[]]","description":""},"m-table/size":{"type":"'small' | 'large' | ''","description":""},"m-table/sole":{"type":"string","description":""},"m-table/data":{"type":"Record<string, any>[]","description":""},"m-table/filtersValue":{"type":"Record<string, Array<string | number>> | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"m-table/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table/expandProp":{"type":"string","description":"展开图标列(如使用这个属性则必须存在rowKey属性) (标记,约束条件后面解决)"},"m-table/expandRowKeys":{"type":"any[]","description":"可以通过该属性设置 Table 目前的展开行,需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。"},"m-table/rowKey":{"type":"string |((row: any) => string)","description":"行数据的 Key,用来优化 Table 的渲染; 在使用reserve-selection功能与显示树形数据时,该属性是必填的。 类型为 String 时,支持多层访问:user.info.id,但不支持 user.info[0].id,此种情况请使用 Function。"},"m-table/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table/selectionCell":{"type":"string | number | symbol","description":"选中列"},"m-table/summaryMethod":{"type":"((data: { columns: any[], data: any[] }) => string[]) | null","description":"自定义的合计计算方法"},"m-table/circleTotal":{"type":"boolean","description":"是否圈选合计"},"m-table/isCircleCopy":{"type":"boolean","description":"是否启用圈选复制"},"m-table/isBuiltInSelection":{"type":"boolean","description":"启用内置多选(如同时启用了circleTotal,rowKey可实现勾选合计功能)"},"m-table/pasteData":{"type":"[\n data: {\n /** 粘贴行的行数据 */\n editRow: Record<string, any>,\n /** 粘贴列的列名 */\n editColumn: string,\n /** 粘贴的数据 */\n arr: Array<string | number>,\n /** 起始行 */\n rowIndex: number,\n },\n /** 粘贴完成后的表格数据 */\n tableData: Array<Record<string, any>>\n ]","description":"表格粘贴方法"},"m-table/update:tableConfig":{"type":"[tableConfig: TableConfig]","description":"表格配置更新"},"m-table/privateExpandChange":{"type":"[row: any, expandedRows: any[], rowExpandedState: boolean]","description":"expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件"},"m-table/update:selectionCell":{"type":"[ string | number | symbol ]","description":"选中单元格更新"},"m-table/copyData":{"type":"[ data: { text: string, selection: { startX: number, startY: number, endX: number, endY: number } } ]","description":"复制事件"},"m-table/sortChange":{"type":"[ data: { column: Record<string, any>, prop: string, order: any } ]","description":"当表格的排序条件发生变化的时候会触发该事件"},"m-table-column/filtersValue":{"type":"Record<string, Array<string | number>> | null","description":"列筛选过滤条件(当为null时,不显示筛选图标)"},"m-table-column/filters":{"type":"Array<{ text: string | number, value: string | number }>","description":"过滤选项"},"m-table-column/filterMethod":{"type":"Function | null","description":"过滤方法"},"m-table-column/children":{"type":"Array<PropChildren>","description":""},"m-table-column/isBatchEdit":{"type":"boolean","description":"是否允许批改"},"m-table-column/update:filtersValue":{"type":"any","description":""},"m-table-column-set/modelValue":{"type":"TableConfig","description":"配置"},"m-table-column-set/foldMode":{"type":"boolean","description":"是否为折叠模式"},"m-table-column-set/link":{"type":"boolean","description":"是否为链接按钮"},"m-table-column-set/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"m-table-column-set/change":{"type":"any","description":""},"m-table-v2/size":{"type":"'small' | 'large' | 'default'","description":""},"m-table-v2/data":{"type":"Array<{\n [key: string]: any\n }>","description":""},"m-table-v2/height":{"type":"number","description":"表格高度"},"m-table-v2/border":{"type":"boolean","description":"显示边框"},"m-table-v2/columns":{"type":"TableV2Title[]","description":"表格列配置"},"m-table-v2/filtersValue":{"type":"FilterValue | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"m-table-v2/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table-v2/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table-v2/fixed":{"type":"boolean","description":"单元格宽度是自适应还是固定"},"m-table-v2/estimatedRowHeight":{"type":"number | null","description":"渲染动态的单元格的预估高度"},"m-table-v2/headerHeight":{"type":"number | number[] | null","description":"Header 的高度由height设置。 如果传入数组,它会使 header row 等于数组长度"},"m-table-v2/cellWidthAdaptive":{"type":"boolean","description":"单元格宽度自适应"},"m-table-v2/expandColumnKey":{"type":"string","description":"展开列的key"},"m-table-v2/pasteData":{"type":"[\n data: {\n /** 粘贴行的行数据 */\n editRow: { [key: string]: any },\n /** 粘贴列的列名 */\n editColumn: string,\n /** 粘贴的数据 */\n arr: Array<string | number>,\n /** 起始行 */\n rowIndex: number,\n },\n /** 粘贴完成后的表格数据 */\n tableData: Array<{ [key: string]: any }>\n ]","description":""},"m-table-v2/update:tableConfig":{"type":"[tableConfig: TableConfig]","description":"表格配置更新"},"m-tree-exhibit/data":{"type":"TreeItem[]","description":""},"m-tree-exhibit/nodeClick":{"type":"[Node]","description":"节点点击事件"},"m-tree-exhibit/descriptionClick":{"type":"[url: string]","description":"描述链接点击事件"},"m-virtual-table/columns":{"type":"TableColumn[]","description":"表格列配置"},"m-virtual-table/data":{"type":"Record<string, any>[]","description":"表格数据"},"m-virtual-table/theme":{"type":"'light' | 'dark' | 'auto'","description":"主题模式"},"m-virtual-table/loading":{"type":"boolean","description":"加载状态"},"m-virtual-table/rowHeight":{"type":"number","description":"行高"},"m-virtual-table/height":{"type":"number | string","description":"表格高度"},"m-virtual-table/showExport":{"type":"boolean","description":"是否显示导出按钮"},"m-virtual-table/exportFileName":{"type":"string","description":"导出文件名"},"m-virtual-table/showSelection":{"type":"boolean","description":"是否显示选择列"},"m-virtual-table/selectionWidth":{"type":"number","description":"选择列宽度"},"m-virtual-table/paginationMode":{"type":"'virtual' | 'pagination'","description":"分页模式: 'virtual' 虚拟滚动 | 'pagination' 分页"},"m-virtual-table/currentPage":{"type":"number","description":"当前页码"},"m-virtual-table/pageSize":{"type":"number","description":"每页条数"},"m-virtual-table/total":{"type":"number","description":"数据总条数"},"m-virtual-table/size":{"type":"'small' | 'default' | 'large'","description":"组件尺寸"},"m-virtual-table/border":{"type":"boolean","description":"是否显示边框"},"m-virtual-table/showOverflowTooltip":{"type":"boolean","description":"是否在内容溢出时显示 Tooltip"},"m-virtual-table/rowClick":{"type":"[rowData: any, colData: any, event: any]","description":""},"m-virtual-table/rowDblclick":{"type":"[rowData: any, colData: any, event: any]","description":""},"m-virtual-table/headerDragend":{"type":"[colWidth: number, oldWidth: number, colData: any, args: any]","description":""},"m-virtual-table/scroll":{"type":"[data: { scrollHeight: number; scrollDirection: string; scrollTop: number; viewHeight: number }]","description":""},"m-virtual-table/selectionChange":{"type":"[selectedData: any[]]","description":""},"m-virtual-table/currentChange":{"type":"[currentPage: number]","description":""},"m-virtual-table/sizeChange":{"type":"[pageSize: number]","description":""},"m-virtual-table/export-complete":{"type":"[]","description":""},"m-virtual-table/export-error":{"type":"[error: Error]","description":""},"skin-config/change":{"type":"any","description":""},"tab-page/modelValue":{"type":"MenuItem[]","description":""},"tab-page/activeKey":{"type":"string","description":""},"tab-page/showRightClickMenu":{"type":"boolean","description":""},"tab-page/primaryColor":{"type":"string","description":""},"tab-page/primaryBackgroundColor":{"type":"string | null","description":""},"tab-page/close":{"type":"any","description":""},"tab-page/click":{"type":"any","description":""}}
|
package/dist/br-dionysus.es.d.ts
CHANGED
|
@@ -522,7 +522,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
522
522
|
rowIndex: number;
|
|
523
523
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
524
524
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
525
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
525
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
526
526
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
527
527
|
onCopyData?: ((data: {
|
|
528
528
|
text: string;
|
|
@@ -606,7 +606,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
606
606
|
rowIndex: number;
|
|
607
607
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
608
608
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
609
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
609
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
610
610
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
611
611
|
onCopyData?: ((data: {
|
|
612
612
|
text: string;
|
|
@@ -639,7 +639,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
639
639
|
editColumn: string;
|
|
640
640
|
arr: (string | number)[];
|
|
641
641
|
rowIndex: number;
|
|
642
|
-
}, tableData: Record<string, any>[]) => void) & ((event: "update:tableConfig", tableConfig: TableConfig) => void) & ((event: "privateExpandChange", row: any, expandedRows: any[]) => void) & ((event: "update:selectionCell", args_0: string | number | symbol) => void) & ((event: "copyData", data: {
|
|
642
|
+
}, tableData: Record<string, any>[]) => void) & ((event: "update:tableConfig", tableConfig: TableConfig) => void) & ((event: "privateExpandChange", row: any, expandedRows: any[], rowExpandedState: boolean) => void) & ((event: "update:selectionCell", args_0: string | number | symbol) => void) & ((event: "copyData", data: {
|
|
643
643
|
text: string;
|
|
644
644
|
selection: {
|
|
645
645
|
startX: number;
|
|
@@ -721,7 +721,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
721
721
|
rowIndex: number;
|
|
722
722
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
723
723
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
724
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
724
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
725
725
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
726
726
|
onCopyData?: ((data: {
|
|
727
727
|
text: string;
|
|
@@ -760,7 +760,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
760
760
|
rowIndex: number;
|
|
761
761
|
}, tableData: Record<string, any>[]) => void;
|
|
762
762
|
"update:tableConfig": (tableConfig: TableConfig) => void;
|
|
763
|
-
privateExpandChange: (row: any, expandedRows: any[]) => void;
|
|
763
|
+
privateExpandChange: (row: any, expandedRows: any[], rowExpandedState: boolean) => void;
|
|
764
764
|
"update:selectionCell": (args_0: string | number | symbol) => void;
|
|
765
765
|
copyData: (data: {
|
|
766
766
|
text: string;
|
|
@@ -882,7 +882,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
882
882
|
rowIndex: number;
|
|
883
883
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
884
884
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
885
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
885
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
886
886
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
887
887
|
onCopyData?: ((data: {
|
|
888
888
|
text: string;
|
|
@@ -986,7 +986,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
986
986
|
rowIndex: number;
|
|
987
987
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
988
988
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
989
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
989
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
990
990
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
991
991
|
onCopyData?: ((data: {
|
|
992
992
|
text: string;
|
|
@@ -1070,7 +1070,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
1070
1070
|
rowIndex: number;
|
|
1071
1071
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
1072
1072
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
1073
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
1073
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
1074
1074
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
1075
1075
|
onCopyData?: ((data: {
|
|
1076
1076
|
text: string;
|
|
@@ -1103,7 +1103,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
1103
1103
|
editColumn: string;
|
|
1104
1104
|
arr: (string | number)[];
|
|
1105
1105
|
rowIndex: number;
|
|
1106
|
-
}, tableData: Record<string, any>[]) => void) & ((event: "update:tableConfig", tableConfig: TableConfig) => void) & ((event: "privateExpandChange", row: any, expandedRows: any[]) => void) & ((event: "update:selectionCell", args_0: string | number | symbol) => void) & ((event: "copyData", data: {
|
|
1106
|
+
}, tableData: Record<string, any>[]) => void) & ((event: "update:tableConfig", tableConfig: TableConfig) => void) & ((event: "privateExpandChange", row: any, expandedRows: any[], rowExpandedState: boolean) => void) & ((event: "update:selectionCell", args_0: string | number | symbol) => void) & ((event: "copyData", data: {
|
|
1107
1107
|
text: string;
|
|
1108
1108
|
selection: {
|
|
1109
1109
|
startX: number;
|
|
@@ -1185,7 +1185,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
1185
1185
|
rowIndex: number;
|
|
1186
1186
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
1187
1187
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
1188
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
1188
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
1189
1189
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
1190
1190
|
onCopyData?: ((data: {
|
|
1191
1191
|
text: string;
|
|
@@ -1224,7 +1224,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
1224
1224
|
rowIndex: number;
|
|
1225
1225
|
}, tableData: Record<string, any>[]) => void;
|
|
1226
1226
|
"update:tableConfig": (tableConfig: TableConfig) => void;
|
|
1227
|
-
privateExpandChange: (row: any, expandedRows: any[]) => void;
|
|
1227
|
+
privateExpandChange: (row: any, expandedRows: any[], rowExpandedState: boolean) => void;
|
|
1228
1228
|
"update:selectionCell": (args_0: string | number | symbol) => void;
|
|
1229
1229
|
copyData: (data: {
|
|
1230
1230
|
text: string;
|
|
@@ -1346,7 +1346,7 @@ export declare const MBatchEdit: DefineComponent<__VLS_WithDefaults_5<__VLS_Type
|
|
|
1346
1346
|
rowIndex: number;
|
|
1347
1347
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
1348
1348
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
1349
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
1349
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
1350
1350
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
1351
1351
|
onCopyData?: ((data: {
|
|
1352
1352
|
text: string;
|
|
@@ -2168,7 +2168,7 @@ export declare const MTable: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
|
|
|
2168
2168
|
rowIndex: number;
|
|
2169
2169
|
}, tableData: Record<string, any>[]) => void;
|
|
2170
2170
|
"update:tableConfig": (tableConfig: TableConfig) => void;
|
|
2171
|
-
privateExpandChange: (row: any, expandedRows: any[]) => void;
|
|
2171
|
+
privateExpandChange: (row: any, expandedRows: any[], rowExpandedState: boolean) => void;
|
|
2172
2172
|
"update:selectionCell": (args_0: string | number | symbol) => void;
|
|
2173
2173
|
copyData: (data: {
|
|
2174
2174
|
text: string;
|
|
@@ -2241,7 +2241,7 @@ export declare const MTable: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
|
|
|
2241
2241
|
rowIndex: number;
|
|
2242
2242
|
}, tableData: Record<string, any>[]) => any) | undefined;
|
|
2243
2243
|
"onUpdate:tableConfig"?: ((tableConfig: TableConfig) => any) | undefined;
|
|
2244
|
-
onPrivateExpandChange?: ((row: any, expandedRows: any[]) => any) | undefined;
|
|
2244
|
+
onPrivateExpandChange?: ((row: any, expandedRows: any[], rowExpandedState: boolean) => any) | undefined;
|
|
2245
2245
|
"onUpdate:selectionCell"?: ((args_0: string | number | symbol) => any) | undefined;
|
|
2246
2246
|
onCopyData?: ((data: {
|
|
2247
2247
|
text: string;
|
package/dist/br-dionysus.es.js
CHANGED
|
@@ -1603,7 +1603,7 @@ Vi.valueOf = function() {
|
|
|
1603
1603
|
return Dh(r, r.e <= t.NE || r.e >= t.PE, !0);
|
|
1604
1604
|
};
|
|
1605
1605
|
var Xl = ZM();
|
|
1606
|
-
const rI = (r) => (gd("data-v-
|
|
1606
|
+
const rI = (r) => (gd("data-v-2f6169c6"), r = r(), md(), r), nI = ["data-is-expand"], oI = /* @__PURE__ */ rI(() => /* @__PURE__ */ Mt("img", { src: E_ }, null, -1)), Ha = "br-m-table-identity", sI = 180, aI = /* @__PURE__ */ he({
|
|
1607
1607
|
__name: "MTable",
|
|
1608
1608
|
props: {
|
|
1609
1609
|
size: { default: "" },
|
|
@@ -1805,8 +1805,8 @@ const rI = (r) => (gd("data-v-7134e8e3"), r = r(), md(), r), nI = ["data-is-expa
|
|
|
1805
1805
|
}
|
|
1806
1806
|
return document.body.removeChild(Z), et;
|
|
1807
1807
|
}, L = (X) => {
|
|
1808
|
-
const Z = b.value.filter((
|
|
1809
|
-
w("privateExpandChange", X, Z);
|
|
1808
|
+
const Z = X[n.value], et = b.value.filter((it) => (f?.value || []).includes(it[n.value]));
|
|
1809
|
+
w("privateExpandChange", X, et, (f?.value || []).includes(Z));
|
|
1810
1810
|
}, A = (X, Z = 3) => {
|
|
1811
1811
|
const et = [];
|
|
1812
1812
|
let it = X, st = 0;
|
|
@@ -2017,7 +2017,7 @@ const rI = (r) => (gd("data-v-7134e8e3"), r = r(), md(), r), nI = ["data-is-expa
|
|
|
2017
2017
|
], 40, nI);
|
|
2018
2018
|
};
|
|
2019
2019
|
}
|
|
2020
|
-
}), JM = /* @__PURE__ */ xo(aI, [["__scopeId", "data-v-
|
|
2020
|
+
}), JM = /* @__PURE__ */ xo(aI, [["__scopeId", "data-v-2f6169c6"]]), lI = ["data-mark"], hI = { class: "br-u-body-entity" }, QM = /* @__PURE__ */ he({
|
|
2021
2021
|
__name: "MDialog",
|
|
2022
2022
|
props: {
|
|
2023
2023
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -14218,7 +14218,7 @@ const IG = { key: 0 }, FG = {
|
|
|
14218
14218
|
}, D = (Y = "") => {
|
|
14219
14219
|
d.searchValue = Y.trim(), z();
|
|
14220
14220
|
}, j = ct(!1), V = () => {
|
|
14221
|
-
j.value = !!v.value, !i.disabled && (z(), setTimeout(() => {
|
|
14221
|
+
j.value = !!v.value, !i.disabled && (!d.searchValue && !i.multiple && (d.searchValue = v.value), z(), setTimeout(() => {
|
|
14222
14222
|
x.value || G();
|
|
14223
14223
|
}, 150));
|
|
14224
14224
|
}, $ = () => {
|