@das-fed/ui 6.4.0-dev.61 → 6.4.0-dev.62
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/esm-map.json +2 -1
- package/package.json +5 -5
- package/packages/business-components/app-container/index.js +21 -27
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/style-theme.d.ts +0 -5
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/app-container/theme/index.d.ts +0 -1
- package/packages/business-components/device-panel/index.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/dealAlarm.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/historyList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/liveList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/logDetail.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/dealAlarm.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/historyList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/liveList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/logDetail.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/preview/index.vue.d.ts +2 -2
- package/packages/business-components/model-table-dialog/index.d.ts +65 -65
- package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +12 -12
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +2 -2
- package/packages/business-components/process-form/i18n/index.d.ts +10 -0
- package/packages/business-components/process-form/index.js +141 -139
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +3 -3
- package/packages/components/autocomplete/index.d.ts +9 -9
- package/packages/components/autocomplete/src/index.vue.d.ts +1 -1
- package/packages/components/calendar/index.d.ts +5 -5
- package/packages/components/calendar/src/Index.vue.d.ts +2 -2
- package/packages/components/calendar/src/old-Index.vue.d.ts +2 -2
- package/packages/components/cascader/index.d.ts +9 -9
- package/packages/components/cascader/src/Index.vue.d.ts +1 -1
- package/packages/components/color-picker/index.js +4 -4
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/src/type.d.ts +6 -3
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/date-picker/index.d.ts +25 -25
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +2 -2
- package/packages/components/dialog/index.js +1 -1
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/index.js +2 -2
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dimple-layout/style.css +1 -1
- package/packages/components/dimple-layout/style.css.gz +0 -0
- package/packages/components/edit-table/index.d.ts +24 -4
- package/packages/components/edit-table/index.js +1248 -1125
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/components/index.d.ts +1 -0
- package/packages/components/edit-table/src/components/row-button/index.vue.d.ts +5 -0
- package/packages/components/edit-table/src/components/row-button/type.d.ts +13 -0
- package/packages/components/edit-table/src/index.vue.d.ts +7 -3
- package/packages/components/edit-table/src/type.d.ts +15 -3
- package/packages/components/edit-table/src/utils.d.ts +1 -1
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/empty/index.d.ts +3 -3
- package/packages/components/empty/src/Index.vue.d.ts +1 -1
- package/packages/components/pagination/index.d.ts +23 -23
- package/packages/components/pagination/src/Pagination.vue.d.ts +3 -3
- package/packages/components/popup-mask/index.d.ts +9 -9
- package/packages/components/popup-mask/src/Index.vue.d.ts +1 -1
- package/packages/components/search-form/src/InputSelect.vue.d.ts +2 -2
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +2 -2
- package/packages/components/select/index.js +17 -17
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-input/index.d.ts +2 -2
- package/packages/components/select-input/src/Index.vue.d.ts +2 -2
- package/packages/components/table/index.d.ts +18 -18
- package/packages/components/table/src/Table.vue.d.ts +1 -1
- package/packages/components/table/src/hooks/use-operation.d.ts +1 -1
- package/packages/components/table/src/table-column/index.vue.d.ts +1 -1
- package/packages/components/tooltip/index.js +43 -42
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/icons/index.d.ts +1 -0
- package/packages/icons/index.js +1 -0
- package/packages/icons/input-select/index.d.ts +1 -0
- package/packages/icons/input-select/index.js +17 -0
- package/packages/icons/input-select/index.js.gz +0 -0
- package/packages/icons/input-select/index.vue.d.ts +16 -0
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RowButton } from './row-button/index.vue';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Props } from './type';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
3
|
+
errorModelZIndex: number;
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -1043,13 +1043,13 @@ declare function __VLS_template(): {
|
|
|
1043
1043
|
[x: string]: any;
|
|
1044
1044
|
}, string, {
|
|
1045
1045
|
emptyText: string;
|
|
1046
|
-
selectionRows: any[];
|
|
1047
1046
|
highlightRowId: any[];
|
|
1048
1047
|
pageSizes: number[];
|
|
1049
1048
|
headerCellClassName: import("element-plus").CellCls;
|
|
1050
1049
|
rowClassName: import("element-plus").ColumnCls;
|
|
1051
1050
|
paginationProps: any;
|
|
1052
1051
|
currentRodioSelection: string | number;
|
|
1052
|
+
selectionRows: any[];
|
|
1053
1053
|
selectionIds: any[];
|
|
1054
1054
|
hideSelectionText: boolean;
|
|
1055
1055
|
showOperationColumn: boolean;
|
|
@@ -1090,13 +1090,13 @@ declare function __VLS_template(): {
|
|
|
1090
1090
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
1091
1091
|
} & Readonly<{
|
|
1092
1092
|
emptyText: string;
|
|
1093
|
-
selectionRows: any[];
|
|
1094
1093
|
highlightRowId: any[];
|
|
1095
1094
|
pageSizes: number[];
|
|
1096
1095
|
headerCellClassName: import("element-plus").CellCls;
|
|
1097
1096
|
rowClassName: import("element-plus").ColumnCls;
|
|
1098
1097
|
paginationProps: any;
|
|
1099
1098
|
currentRodioSelection: string | number;
|
|
1099
|
+
selectionRows: any[];
|
|
1100
1100
|
selectionIds: any[];
|
|
1101
1101
|
hideSelectionText: boolean;
|
|
1102
1102
|
showOperationColumn: boolean;
|
|
@@ -1117,7 +1117,7 @@ declare function __VLS_template(): {
|
|
|
1117
1117
|
sumText: string;
|
|
1118
1118
|
}> & Omit<Readonly<import("../../table/src/type").Props> & Readonly<{
|
|
1119
1119
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
1120
|
-
}>, "$table" | "tableScrollTop" | "getCurrentParamsIds" | ("emptyText" | "
|
|
1120
|
+
}>, "$table" | "tableScrollTop" | "getCurrentParamsIds" | ("emptyText" | "highlightRowId" | "pageSizes" | "headerCellClassName" | "rowClassName" | "paginationProps" | "currentRodioSelection" | "selectionRows" | "selectionIds" | "hideSelectionText" | "showOperationColumn" | "operationOptions" | "delay" | "showCustomContent" | "disabledIdsList" | "highPerformance" | "sumText")> & import("vue").ShallowUnwrapRef<{
|
|
1121
1121
|
$table: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1122
1122
|
data: {
|
|
1123
1123
|
type: import("vue").PropType<any[]>;
|
|
@@ -2060,11 +2060,15 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
2060
2060
|
clearValidate: () => void;
|
|
2061
2061
|
/** 修改校验规则 */
|
|
2062
2062
|
changeRules: (key: string, callback?: (rule: any, checkFn: any) => void) => void;
|
|
2063
|
+
/** 清除某一单元格的校验信息 */
|
|
2064
|
+
removeCellError: (row: any, prop?: string) => void;
|
|
2063
2065
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2066
|
+
"update:selection-rows": (selectionRows: any[]) => any;
|
|
2064
2067
|
addRow: () => any;
|
|
2065
2068
|
removeRow: () => any;
|
|
2066
2069
|
sortEnd: (oldData: any[], newData: any[], oldIndex: number, newIndex: number) => any;
|
|
2067
2070
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
2071
|
+
"onUpdate:selection-rows"?: ((selectionRows: any[]) => any) | undefined;
|
|
2068
2072
|
onAddRow?: (() => any) | undefined;
|
|
2069
2073
|
onRemoveRow?: (() => any) | undefined;
|
|
2070
2074
|
onSortEnd?: ((oldData: any[], newData: any[], oldIndex: number, newIndex: number) => any) | undefined;
|
|
@@ -3,7 +3,7 @@ import type { CellCls } from 'element-plus'
|
|
|
3
3
|
type DateType = 'date' | 'dateTime' | 'week' | 'month' | 'quarter' | 'year' | 'time'
|
|
4
4
|
type DateRangeType = 'dateRange' | 'dateTimeRange' | 'weekRange' | 'monthRange' | 'yearRange' | 'timeRange'
|
|
5
5
|
|
|
6
|
-
export type otherType = 'text' | 'slot' | 'radio' | 'checkbox' | 'switch' | 'slot'
|
|
6
|
+
export type otherType = 'text' | 'button' | 'slot' | 'radio' | 'checkbox' | 'switch' | 'slot'
|
|
7
7
|
|
|
8
8
|
export type FormType =
|
|
9
9
|
| 'input'
|
|
@@ -67,6 +67,9 @@ export type ListConfig = {
|
|
|
67
67
|
errorMessage?: string | ((row: any, index: number) => string)
|
|
68
68
|
|
|
69
69
|
|
|
70
|
+
click?: (val: any, row: any, column: any, index: number) => void
|
|
71
|
+
|
|
72
|
+
|
|
70
73
|
input?: (val: any, row: any, column: any, index: number) => void
|
|
71
74
|
|
|
72
75
|
|
|
@@ -88,7 +91,7 @@ export type ListConfig = {
|
|
|
88
91
|
borderType?: any
|
|
89
92
|
|
|
90
93
|
|
|
91
|
-
itemProps?: Record<any, any>
|
|
94
|
+
itemProps?: Record<any, any> | ((row: any, column: any, index: number) => Record<any, any>)
|
|
92
95
|
|
|
93
96
|
|
|
94
97
|
inputWidth?: string
|
|
@@ -96,6 +99,11 @@ export type ListConfig = {
|
|
|
96
99
|
|
|
97
100
|
|
|
98
101
|
|
|
102
|
+
btnName?: string
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
99
107
|
keywordProp?: string
|
|
100
108
|
|
|
101
109
|
|
|
@@ -128,6 +136,7 @@ export type ListConfig = {
|
|
|
128
136
|
|
|
129
137
|
|
|
130
138
|
|
|
139
|
+
|
|
131
140
|
|
|
132
141
|
cascaderNameProp?: string
|
|
133
142
|
}
|
|
@@ -176,6 +185,8 @@ export interface Emits {
|
|
|
176
185
|
|
|
177
186
|
|
|
178
187
|
(e: 'sortEnd', oldData: any[], newData: any[], oldIndex: number, newIndex: number): void
|
|
188
|
+
|
|
189
|
+
(e: 'update:selection-rows', selectionRows: any[]): void
|
|
179
190
|
}
|
|
180
191
|
|
|
181
192
|
export interface Slots {
|
|
@@ -226,5 +237,6 @@ export type Exposes = {
|
|
|
226
237
|
|
|
227
238
|
changeRules: (key: string, callback?: (rule: any, checkFn: any) => void) => void
|
|
228
239
|
|
|
229
|
-
|
|
240
|
+
|
|
241
|
+
removeCellError: (row: any, prop: string) => void
|
|
230
242
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getMode: (config: any, row: any, column: any, $index: numbe
|
|
|
7
7
|
* @returns {boolean} 是否显示
|
|
8
8
|
*/
|
|
9
9
|
export declare const isShow: (types: FormType[], type: FormType) => boolean;
|
|
10
|
-
export declare const getItemAttrs: (itemProps: any) => any;
|
|
10
|
+
export declare const getItemAttrs: (itemProps: any, options?: {}) => any;
|
|
11
11
|
export declare const useDefined: (val: any, row: any, column: any, index: number, defaultValue: any) => any;
|
|
12
12
|
export declare const getOptions: (config: any, row: any, column: any, $index: number) => any;
|
|
13
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell{padding:4.5px 0}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell{padding:0 4px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content{width:100%;height:30px;display:flex;align-items:center;justify-content:space-between}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center{overflow:hidden;height:100%;display:flex;align-items:center}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .center-box_y{height:100%;display:flex;flex-direction:column;justify-content:center}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table_text{height:30px;line-height:30px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table_text-flex-box{width:100%;height:30px;display:flex;align-items:center;padding:0 8px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table_text-flex-box .item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .el-input .el-input__inner::placeholder,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .ant-select-selection-placeholder{font-size:12px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-radio,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-checkbox,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-switch,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-cascader .el-input__wrapper,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-date-picker .ant-picker,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-range-picker .ant-picker,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-tree-select .das-tree-select__selct-text-content,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-autocomplete .input-text-content{padding-left:8px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-radio .ant-radio-wrapper{margin-right:0}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-checkbox .label.label-min-width{min-width:unset;margin-left:0}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell
|
|
1
|
+
@charset "UTF-8";.edit-table-row-botton[data-v-4aeee1b0]{width:100%;height:100%}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell{padding:4.5px 0}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell{padding:0 4px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content{width:100%;height:30px;display:flex;align-items:center;justify-content:space-between}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center{overflow:hidden;height:100%;display:flex;align-items:center}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .center-box_y{height:100%;display:flex;flex-direction:column;justify-content:center}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table-button-container{padding:0 8px;width:100%}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table_text{height:30px;line-height:30px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table_text-flex-box{width:100%;height:30px;display:flex;align-items:center;padding:0 8px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .edit-table_text-flex-box .item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .el-input .el-input__inner::placeholder,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .form-center .ant-select-selection-placeholder{font-size:12px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-radio,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-checkbox,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-switch,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-cascader .el-input__wrapper,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-date-picker .ant-picker,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-range-picker .ant-picker,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-tree-select .das-tree-select__selct-text-content,.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-autocomplete .input-text-content{padding-left:8px}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-radio .ant-radio-wrapper{margin-right:0}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell.das-edit-table-column__cell .cell .form-content .das-ui-checkbox .label.label-min-width{min-width:unset;margin-left:0}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell:not(.is-view) .das-ui-input-dialog-select-content{background-color:#fff}.das-ui-table .das-ui-edit-table .el-table__body-wrapper .el-table__body .el-table__row .el-table__cell:not(.is-view) .das-ui-tree-select .das-tree-select__select-content{height:30px!important}
|
|
Binary file
|
|
@@ -4,9 +4,9 @@ declare const DasEmpty: import("@das-fed/utils").SFCWithInstall<{
|
|
|
4
4
|
size: "default" | "large" | "small" | "custom";
|
|
5
5
|
title: string;
|
|
6
6
|
image: string;
|
|
7
|
-
description: string;
|
|
8
7
|
showImage: boolean;
|
|
9
8
|
showDescription: boolean;
|
|
9
|
+
description: string;
|
|
10
10
|
imageSize: number;
|
|
11
11
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
12
12
|
P: {};
|
|
@@ -19,9 +19,9 @@ declare const DasEmpty: import("@das-fed/utils").SFCWithInstall<{
|
|
|
19
19
|
size: "default" | "large" | "small" | "custom";
|
|
20
20
|
title: string;
|
|
21
21
|
image: string;
|
|
22
|
-
description: string;
|
|
23
22
|
showImage: boolean;
|
|
24
23
|
showDescription: boolean;
|
|
24
|
+
description: string;
|
|
25
25
|
imageSize: number;
|
|
26
26
|
}>;
|
|
27
27
|
__isFragment?: never;
|
|
@@ -31,9 +31,9 @@ declare const DasEmpty: import("@das-fed/utils").SFCWithInstall<{
|
|
|
31
31
|
size: "default" | "large" | "small" | "custom";
|
|
32
32
|
title: string;
|
|
33
33
|
image: string;
|
|
34
|
-
description: string;
|
|
35
34
|
showImage: boolean;
|
|
36
35
|
showDescription: boolean;
|
|
36
|
+
description: string;
|
|
37
37
|
imageSize: number;
|
|
38
38
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
39
39
|
$slots: {
|
|
@@ -13,9 +13,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
13
13
|
size: "default" | "large" | "small" | "custom";
|
|
14
14
|
title: string;
|
|
15
15
|
image: string;
|
|
16
|
-
description: string;
|
|
17
16
|
showImage: boolean;
|
|
18
17
|
showDescription: boolean;
|
|
18
|
+
description: string;
|
|
19
19
|
imageSize: number;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -58,11 +58,11 @@ declare const DasPaginationRef: () => import("vue").Ref<({
|
|
|
58
58
|
small: boolean;
|
|
59
59
|
disabled: boolean;
|
|
60
60
|
modelValue: number;
|
|
61
|
-
background: boolean;
|
|
62
|
-
simple: boolean;
|
|
63
|
-
total: number;
|
|
64
61
|
pageSize: number;
|
|
62
|
+
total: number;
|
|
65
63
|
pageSizes: number[];
|
|
64
|
+
background: boolean;
|
|
65
|
+
simple: boolean;
|
|
66
66
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
67
67
|
beforeCreate?: (() => void) | (() => void)[];
|
|
68
68
|
created?: (() => void) | (() => void)[];
|
|
@@ -87,11 +87,11 @@ declare const DasPaginationRef: () => import("vue").Ref<({
|
|
|
87
87
|
small: boolean;
|
|
88
88
|
disabled: boolean;
|
|
89
89
|
modelValue: number;
|
|
90
|
-
background: boolean;
|
|
91
|
-
simple: boolean;
|
|
92
|
-
total: number;
|
|
93
90
|
pageSize: number;
|
|
91
|
+
total: number;
|
|
94
92
|
pageSizes: number[];
|
|
93
|
+
background: boolean;
|
|
94
|
+
simple: boolean;
|
|
95
95
|
}> & Omit<Readonly<import("./src/type.js").PaginationProps> & Readonly<{
|
|
96
96
|
"onUpdate:modelValue"?: ((currentPage: number) => any) | undefined;
|
|
97
97
|
"onCurrent-change"?: ((pageSize: number) => any) | undefined;
|
|
@@ -101,7 +101,7 @@ declare const DasPaginationRef: () => import("vue").Ref<({
|
|
|
101
101
|
"onNext-click"?: ((currentPage: number) => any) | undefined;
|
|
102
102
|
"onFirst-click"?: ((currentPage: number) => any) | undefined;
|
|
103
103
|
"onLast-click"?: ((currentPage: number) => any) | undefined;
|
|
104
|
-
}>, "small" | "disabled" | "modelValue" | "
|
|
104
|
+
}>, "small" | "disabled" | "modelValue" | "pageSize" | "total" | "pageSizes" | "background" | "simple"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
105
105
|
$slots: {
|
|
106
106
|
default?(_: {}): any;
|
|
107
107
|
};
|
|
@@ -164,11 +164,11 @@ declare const DasPaginationRef: () => import("vue").Ref<({
|
|
|
164
164
|
small: boolean;
|
|
165
165
|
disabled: boolean;
|
|
166
166
|
modelValue: number;
|
|
167
|
-
background: boolean;
|
|
168
|
-
simple: boolean;
|
|
169
|
-
total: number;
|
|
170
167
|
pageSize: number;
|
|
168
|
+
total: number;
|
|
171
169
|
pageSizes: number[];
|
|
170
|
+
background: boolean;
|
|
171
|
+
simple: boolean;
|
|
172
172
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
173
173
|
beforeCreate?: (() => void) | (() => void)[];
|
|
174
174
|
created?: (() => void) | (() => void)[];
|
|
@@ -193,11 +193,11 @@ declare const DasPaginationRef: () => import("vue").Ref<({
|
|
|
193
193
|
small: boolean;
|
|
194
194
|
disabled: boolean;
|
|
195
195
|
modelValue: number;
|
|
196
|
-
background: boolean;
|
|
197
|
-
simple: boolean;
|
|
198
|
-
total: number;
|
|
199
196
|
pageSize: number;
|
|
197
|
+
total: number;
|
|
200
198
|
pageSizes: number[];
|
|
199
|
+
background: boolean;
|
|
200
|
+
simple: boolean;
|
|
201
201
|
}> & Omit<Readonly<import("./src/type.js").PaginationProps> & Readonly<{
|
|
202
202
|
"onUpdate:modelValue"?: ((currentPage: number) => any) | undefined;
|
|
203
203
|
"onCurrent-change"?: ((pageSize: number) => any) | undefined;
|
|
@@ -207,7 +207,7 @@ declare const DasPaginationRef: () => import("vue").Ref<({
|
|
|
207
207
|
"onNext-click"?: ((currentPage: number) => any) | undefined;
|
|
208
208
|
"onFirst-click"?: ((currentPage: number) => any) | undefined;
|
|
209
209
|
"onLast-click"?: ((currentPage: number) => any) | undefined;
|
|
210
|
-
}>, "small" | "disabled" | "modelValue" | "
|
|
210
|
+
}>, "small" | "disabled" | "modelValue" | "pageSize" | "total" | "pageSizes" | "background" | "simple"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
211
211
|
$slots: {
|
|
212
212
|
default?(_: {}): any;
|
|
213
213
|
};
|
|
@@ -235,11 +235,11 @@ declare const DasPagination: import("@das-fed/utils").SFCWithInstall<{
|
|
|
235
235
|
small: boolean;
|
|
236
236
|
disabled: boolean;
|
|
237
237
|
modelValue: number;
|
|
238
|
-
background: boolean;
|
|
239
|
-
simple: boolean;
|
|
240
|
-
total: number;
|
|
241
238
|
pageSize: number;
|
|
239
|
+
total: number;
|
|
242
240
|
pageSizes: number[];
|
|
241
|
+
background: boolean;
|
|
242
|
+
simple: boolean;
|
|
243
243
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
244
244
|
P: {};
|
|
245
245
|
B: {};
|
|
@@ -260,11 +260,11 @@ declare const DasPagination: import("@das-fed/utils").SFCWithInstall<{
|
|
|
260
260
|
small: boolean;
|
|
261
261
|
disabled: boolean;
|
|
262
262
|
modelValue: number;
|
|
263
|
-
background: boolean;
|
|
264
|
-
simple: boolean;
|
|
265
|
-
total: number;
|
|
266
263
|
pageSize: number;
|
|
264
|
+
total: number;
|
|
267
265
|
pageSizes: number[];
|
|
266
|
+
background: boolean;
|
|
267
|
+
simple: boolean;
|
|
268
268
|
}>;
|
|
269
269
|
__isFragment?: never;
|
|
270
270
|
__isTeleport?: never;
|
|
@@ -291,11 +291,11 @@ declare const DasPagination: import("@das-fed/utils").SFCWithInstall<{
|
|
|
291
291
|
small: boolean;
|
|
292
292
|
disabled: boolean;
|
|
293
293
|
modelValue: number;
|
|
294
|
-
background: boolean;
|
|
295
|
-
simple: boolean;
|
|
296
|
-
total: number;
|
|
297
294
|
pageSize: number;
|
|
295
|
+
total: number;
|
|
298
296
|
pageSizes: number[];
|
|
297
|
+
background: boolean;
|
|
298
|
+
simple: boolean;
|
|
299
299
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
300
300
|
$slots: {
|
|
301
301
|
default?(_: {}): any;
|
|
@@ -132,11 +132,11 @@ declare const __VLS_component: import("vue").DefineComponent<PaginationProps, {}
|
|
|
132
132
|
small: boolean;
|
|
133
133
|
disabled: boolean;
|
|
134
134
|
modelValue: number;
|
|
135
|
-
background: boolean;
|
|
136
|
-
simple: boolean;
|
|
137
|
-
total: number;
|
|
138
135
|
pageSize: number;
|
|
136
|
+
total: number;
|
|
139
137
|
pageSizes: number[];
|
|
138
|
+
background: boolean;
|
|
139
|
+
simple: boolean;
|
|
140
140
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
141
141
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
142
142
|
export default _default;
|
|
@@ -41,9 +41,9 @@ declare const DasPopupMaskRef: () => import("vue").Ref<({
|
|
|
41
41
|
visible: boolean;
|
|
42
42
|
closeOnClickModal: boolean;
|
|
43
43
|
closeOnPressEscape: boolean;
|
|
44
|
+
showClose: boolean;
|
|
44
45
|
appendToBody: boolean;
|
|
45
46
|
lockScroll: boolean;
|
|
46
|
-
showClose: boolean;
|
|
47
47
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
48
48
|
beforeCreate?: (() => void) | (() => void)[];
|
|
49
49
|
created?: (() => void) | (() => void)[];
|
|
@@ -68,15 +68,15 @@ declare const DasPopupMaskRef: () => import("vue").Ref<({
|
|
|
68
68
|
visible: boolean;
|
|
69
69
|
closeOnClickModal: boolean;
|
|
70
70
|
closeOnPressEscape: boolean;
|
|
71
|
+
showClose: boolean;
|
|
71
72
|
appendToBody: boolean;
|
|
72
73
|
lockScroll: boolean;
|
|
73
|
-
showClose: boolean;
|
|
74
74
|
}> & Omit<Readonly<{
|
|
75
75
|
visible?: boolean;
|
|
76
76
|
} & import("./src/type.js").Props> & Readonly<{
|
|
77
77
|
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
78
78
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
79
|
-
}>, "visible" | "closeOnClickModal" | "closeOnPressEscape" | "
|
|
79
|
+
}>, "visible" | "closeOnClickModal" | "closeOnPressEscape" | "showClose" | "appendToBody" | "lockScroll"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
80
80
|
$slots: {
|
|
81
81
|
default?(_: {}): any;
|
|
82
82
|
"close-icon"?(_: {}): any;
|
|
@@ -123,9 +123,9 @@ declare const DasPopupMaskRef: () => import("vue").Ref<({
|
|
|
123
123
|
visible: boolean;
|
|
124
124
|
closeOnClickModal: boolean;
|
|
125
125
|
closeOnPressEscape: boolean;
|
|
126
|
+
showClose: boolean;
|
|
126
127
|
appendToBody: boolean;
|
|
127
128
|
lockScroll: boolean;
|
|
128
|
-
showClose: boolean;
|
|
129
129
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
130
130
|
beforeCreate?: (() => void) | (() => void)[];
|
|
131
131
|
created?: (() => void) | (() => void)[];
|
|
@@ -150,15 +150,15 @@ declare const DasPopupMaskRef: () => import("vue").Ref<({
|
|
|
150
150
|
visible: boolean;
|
|
151
151
|
closeOnClickModal: boolean;
|
|
152
152
|
closeOnPressEscape: boolean;
|
|
153
|
+
showClose: boolean;
|
|
153
154
|
appendToBody: boolean;
|
|
154
155
|
lockScroll: boolean;
|
|
155
|
-
showClose: boolean;
|
|
156
156
|
}> & Omit<Readonly<{
|
|
157
157
|
visible?: boolean;
|
|
158
158
|
} & import("./src/type.js").Props> & Readonly<{
|
|
159
159
|
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
160
160
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
161
|
-
}>, "visible" | "closeOnClickModal" | "closeOnPressEscape" | "
|
|
161
|
+
}>, "visible" | "closeOnClickModal" | "closeOnPressEscape" | "showClose" | "appendToBody" | "lockScroll"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
162
162
|
$slots: {
|
|
163
163
|
default?(_: {}): any;
|
|
164
164
|
"close-icon"?(_: {}): any;
|
|
@@ -179,9 +179,9 @@ declare const DasPopupMask: import("@das-fed/utils").SFCWithInstall<{
|
|
|
179
179
|
visible: boolean;
|
|
180
180
|
closeOnClickModal: boolean;
|
|
181
181
|
closeOnPressEscape: boolean;
|
|
182
|
+
showClose: boolean;
|
|
182
183
|
appendToBody: boolean;
|
|
183
184
|
lockScroll: boolean;
|
|
184
|
-
showClose: boolean;
|
|
185
185
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
186
186
|
P: {};
|
|
187
187
|
B: {};
|
|
@@ -198,9 +198,9 @@ declare const DasPopupMask: import("@das-fed/utils").SFCWithInstall<{
|
|
|
198
198
|
visible: boolean;
|
|
199
199
|
closeOnClickModal: boolean;
|
|
200
200
|
closeOnPressEscape: boolean;
|
|
201
|
+
showClose: boolean;
|
|
201
202
|
appendToBody: boolean;
|
|
202
203
|
lockScroll: boolean;
|
|
203
|
-
showClose: boolean;
|
|
204
204
|
}>;
|
|
205
205
|
__isFragment?: never;
|
|
206
206
|
__isTeleport?: never;
|
|
@@ -219,9 +219,9 @@ declare const DasPopupMask: import("@das-fed/utils").SFCWithInstall<{
|
|
|
219
219
|
visible: boolean;
|
|
220
220
|
closeOnClickModal: boolean;
|
|
221
221
|
closeOnPressEscape: boolean;
|
|
222
|
+
showClose: boolean;
|
|
222
223
|
appendToBody: boolean;
|
|
223
224
|
lockScroll: boolean;
|
|
224
|
-
showClose: boolean;
|
|
225
225
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
226
226
|
$slots: {
|
|
227
227
|
default?(_: {}): any;
|
|
@@ -34,9 +34,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
34
34
|
visible: (typeof innerVisible)["value"];
|
|
35
35
|
closeOnClickModal: boolean;
|
|
36
36
|
closeOnPressEscape: boolean;
|
|
37
|
+
showClose: boolean;
|
|
37
38
|
appendToBody: boolean;
|
|
38
39
|
lockScroll: boolean;
|
|
39
|
-
showClose: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
42
|
export default _default;
|
|
@@ -13,15 +13,15 @@ interface SelctProps {
|
|
|
13
13
|
}
|
|
14
14
|
declare const _default: import("vue").DefineComponent<SelctProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
selectChange: (value: string | number) => any;
|
|
17
16
|
"update:optionValue": (value: string | number) => any;
|
|
17
|
+
selectChange: (value: string | number) => any;
|
|
18
18
|
dateRangeChange: (value: any) => any;
|
|
19
19
|
openDialogHandle: () => any;
|
|
20
20
|
openDialogChange: (value: any) => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<SelctProps> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
23
|
-
onSelectChange?: ((value: string | number) => any) | undefined;
|
|
24
23
|
"onUpdate:optionValue"?: ((value: string | number) => any) | undefined;
|
|
24
|
+
onSelectChange?: ((value: string | number) => any) | undefined;
|
|
25
25
|
onDateRangeChange?: ((value: any) => any) | undefined;
|
|
26
26
|
onOpenDialogHandle?: (() => any) | undefined;
|
|
27
27
|
onOpenDialogChange?: ((value: any) => any) | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { Props } from './hooks/searchFormItem';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
3
|
"update:modelValue": (value: string) => any;
|
|
4
|
-
selectChange: (value: string | number) => any;
|
|
5
4
|
"update:optionValue": (value: string | number) => any;
|
|
5
|
+
selectChange: (value: string | number) => any;
|
|
6
6
|
dateRangeChange: (value: any) => any;
|
|
7
7
|
openDialogHandle: () => any;
|
|
8
8
|
openDialogChange: (value: any) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
-
onSelectChange?: ((value: string | number) => any) | undefined;
|
|
12
11
|
"onUpdate:optionValue"?: ((value: string | number) => any) | undefined;
|
|
12
|
+
onSelectChange?: ((value: string | number) => any) | undefined;
|
|
13
13
|
onDateRangeChange?: ((value: any) => any) | undefined;
|
|
14
14
|
onOpenDialogHandle?: (() => any) | undefined;
|
|
15
15
|
onOpenDialogChange?: ((value: any) => any) | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/select/style.css';
|
|
2
2
|
import { withInstall as Me } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as
|
|
3
|
+
import { defineComponent as ze, useCssVars as nl, computed as d, ref as r, useSlots as il, onMounted as ie, onUnmounted as xe, watchEffect as ue, watch as Ce, nextTick as k, resolveComponent as ul, openBlock as u, createElementBlock as b, normalizeClass as dl, normalizeStyle as T, createVNode as x, unref as n, withCtx as p, withDirectives as U, createTextVNode as X, toDisplayString as I, createBlock as W, mergeProps as _e, isRef as cl, withModifiers as j, createSlots as vl, renderSlot as C, normalizeProps as G, guardReactiveProps as J, Fragment as Q, createCommentVNode as S, createElementVNode as m, withKeys as fl, Teleport as pl } from "vue";
|
|
4
4
|
import { Select as ml, Tag as de } from "ant-design-vue";
|
|
5
5
|
import "ant-design-vue/es/select/style/css";
|
|
6
6
|
import "ant-design-vue/es/tag/style/css";
|
|
@@ -17,15 +17,15 @@ import { useZIndex as wl } from "@das-fed/utils/hooks/popup-manager/use-zindex";
|
|
|
17
17
|
import { t as P, setI18nRule as kl } from "@das-fed/web/packages/i18n/index";
|
|
18
18
|
import { useModelValue as Tl } from "@das-fed/utils/vue";
|
|
19
19
|
import { SelectOption as Il } from "ant-design-vue/es";
|
|
20
|
-
const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key: 0 },
|
|
20
|
+
const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key: 0 }, zl = { class: "das-multiple-option-item" }, _l = { style: { display: "inline-block" } }, Nl = { key: 0 }, Vl = { key: 2 }, Bl = { style: { display: "inline-block" } }, $l = ["innerHTML"], Fl = ["innerHTML"], Ll = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "das-select-error-label-content das-select-label-content"
|
|
23
|
-
}, Dl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pl = { class: "ant-select-selection-item" }, Ol = { class: "ant-select-selection-item-content" }, Al = ["innerHTML"], El =
|
|
23
|
+
}, Dl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pl = { class: "ant-select-selection-item" }, Ol = { class: "ant-select-selection-item-content" }, Al = ["innerHTML"], El = ze({
|
|
24
24
|
inheritAttrs: !1,
|
|
25
25
|
components: {
|
|
26
26
|
VNodes: (M, { attrs: $ }) => $.vnodes
|
|
27
27
|
}
|
|
28
|
-
}), Wl = /* @__PURE__ */
|
|
28
|
+
}), Wl = /* @__PURE__ */ ze({
|
|
29
29
|
...El,
|
|
30
30
|
__name: "Select",
|
|
31
31
|
props: {
|
|
@@ -88,7 +88,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
88
88
|
}), xe(() => {
|
|
89
89
|
document.removeEventListener("click", ee);
|
|
90
90
|
});
|
|
91
|
-
const y = r(), me = r(), R = r(!1), le = d(() => L.value !== null ? L.value : l.open === void 0 ? l.mode === "combobox" ? void 0 : R.value : l.open),
|
|
91
|
+
const y = r(), me = r(), R = r(!1), le = d(() => L.value !== null ? L.value : l.open === void 0 ? l.mode === "combobox" ? void 0 : R.value : l.open), z = 1e6, i = r(100), c = r(100), _ = r(!1), oe = r(!0), te = r(!1);
|
|
92
92
|
ue(() => {
|
|
93
93
|
s.value && l.mode == "combobox" && (oe.value = !0, setTimeout(() => {
|
|
94
94
|
var o;
|
|
@@ -205,7 +205,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
205
205
|
w("focus", e);
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
208
|
-
R.value = !0, l.focusOpen && !l.isExterControlCount && (i.value =
|
|
208
|
+
R.value = !0, l.focusOpen && !l.isExterControlCount && (i.value = z, g.value = !1), w("focus", e);
|
|
209
209
|
}, K = r(!1), ol = () => {
|
|
210
210
|
var e, o;
|
|
211
211
|
if (l.mode == "combobox") {
|
|
@@ -240,8 +240,8 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
240
240
|
);
|
|
241
241
|
let A = r(!1);
|
|
242
242
|
const sl = (e) => {
|
|
243
|
-
A.value = e,
|
|
244
|
-
|
|
243
|
+
A.value = e, _.value = !0, k(() => {
|
|
244
|
+
_.value = !1, l.focusOpen && (V(), i.value = e ? z : c.value, g.value = !e);
|
|
245
245
|
});
|
|
246
246
|
};
|
|
247
247
|
let Z = null;
|
|
@@ -265,7 +265,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
265
265
|
const h = Math.ceil(ce.value.querySelector(".ant-tag").offsetWidth) + 4;
|
|
266
266
|
let v = e.querySelectorAll(".ant-select-selection-overflow-item");
|
|
267
267
|
if (v.length < 1) return;
|
|
268
|
-
i.value =
|
|
268
|
+
i.value = z;
|
|
269
269
|
let B = 0;
|
|
270
270
|
for (let f = 0; f < v.length - 1 && !v[f].classList.contains("ant-select-selection-overflow-item-rest"); f++)
|
|
271
271
|
if (B += Math.ceil(v[f].offsetWidth), B <= a - h)
|
|
@@ -286,13 +286,13 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
286
286
|
re.value = !1;
|
|
287
287
|
return;
|
|
288
288
|
}
|
|
289
|
-
l.mode !== "combobox" && le.value || (
|
|
289
|
+
l.mode !== "combobox" && le.value || (_.value = !0, i.value = z, await k(), await V(), _.value = !1, l.isExterControlCount && l.focusOpen ? (i.value = A.value ? z : c.value, g.value = !A.value) : (i.value = c.value, g.value = !0));
|
|
290
290
|
}
|
|
291
291
|
);
|
|
292
292
|
const ne = async (e, o) => {
|
|
293
293
|
re.value = !0, l.mode === "combobox" && (ee(), K.value = !1);
|
|
294
294
|
const a = e;
|
|
295
|
-
l.noDropdown && l.maxTagsLength < a.length && a.pop(),
|
|
295
|
+
l.noDropdown && l.maxTagsLength < a.length && a.pop(), _.value = !0, w("update:model-value", a), w("change", a, o), i.value = z, await k(), await V(), _.value = !1, l.isExterControlCount && l.focusOpen && (i.value = A.value ? z : c.value, g.value = !A.value), l.focusOpen || (i.value = c.value);
|
|
296
296
|
};
|
|
297
297
|
return $({
|
|
298
298
|
$select: y,
|
|
@@ -318,7 +318,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
318
318
|
trigger: "hover",
|
|
319
319
|
"virtual-triggering": "",
|
|
320
320
|
"virtual-ref": Be.value,
|
|
321
|
-
disabled: !e.isTooltip ||
|
|
321
|
+
disabled: !e.isTooltip || _.value || !be.value || !oe.value
|
|
322
322
|
}, {
|
|
323
323
|
content: p(() => [
|
|
324
324
|
U((u(), b("div", Sl, [
|
|
@@ -334,7 +334,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
334
334
|
_: 1
|
|
335
335
|
/* STABLE */
|
|
336
336
|
}, 8, ["virtual-ref", "disabled"]),
|
|
337
|
-
U((u(), W(n(ml),
|
|
337
|
+
U((u(), W(n(ml), _e(e.$attrs, {
|
|
338
338
|
value: n(s),
|
|
339
339
|
"onUpdate:value": o[4] || (o[4] = (t) => cl(s) ? s.value = t : null),
|
|
340
340
|
ref_key: "$select",
|
|
@@ -389,14 +389,14 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
389
389
|
{ key: 1 },
|
|
390
390
|
[
|
|
391
391
|
S(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
392
|
-
m("div",
|
|
392
|
+
m("div", zl, [
|
|
393
393
|
(u(), W(n(we), {
|
|
394
394
|
class: "das-select-checkbox",
|
|
395
395
|
modelValue: (h = n(s)) == null ? void 0 : h.includes(t[N.value]),
|
|
396
396
|
key: t[N.value],
|
|
397
397
|
disabled: t.disabled
|
|
398
398
|
}, null, 8, ["modelValue", "disabled"])),
|
|
399
|
-
U((u(), b("div",
|
|
399
|
+
U((u(), b("div", _l, [
|
|
400
400
|
X(
|
|
401
401
|
I(t[H.value]),
|
|
402
402
|
1
|
|
@@ -715,13 +715,13 @@ function ql(M, $) {
|
|
|
715
715
|
const F = Il;
|
|
716
716
|
return u(), W(
|
|
717
717
|
F,
|
|
718
|
-
|
|
718
|
+
_e({ class: "das-ui-select-option" }, M.$attrs),
|
|
719
719
|
null,
|
|
720
720
|
16
|
|
721
721
|
/* FULL_PROPS */
|
|
722
722
|
);
|
|
723
723
|
}
|
|
724
|
-
const Kl = /* @__PURE__ */ Ne(Hl, [["render", ql]
|
|
724
|
+
const Kl = /* @__PURE__ */ Ne(Hl, [["render", ql]]), Zl = {
|
|
725
725
|
"--das-ui-select-color-bg": "#FFFFFF",
|
|
726
726
|
// 默认背景色
|
|
727
727
|
"--das-ui-select-color-primary": Se("--das-ui-color-primary"),
|
|
Binary file
|