@das-fed/ui 6.4.0-dev.69 → 6.4.0-dev.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/ui",
3
- "version": "6.4.0-dev.69",
3
+ "version": "6.4.0-dev.70",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -26,7 +26,7 @@
26
26
  "@antv/x6-plugin-snapline": "^2.1.7",
27
27
  "@antv/x6-plugin-transform": "^2.1.8",
28
28
  "@antv/x6-vue-shape": "^2.1.2",
29
- "@das-fed/cli": "6.4.0-dev.69",
29
+ "@das-fed/cli": "6.4.0-dev.70",
30
30
  "@element-plus/icons-vue": "^2.3.1",
31
31
  "@types/lodash": "^4.14.194",
32
32
  "@types/lodash-es": "^4.17.9",
@@ -56,9 +56,9 @@
56
56
  "vue-tsc": "^2.0.29"
57
57
  },
58
58
  "dependencies": {
59
- "@das-fed/ui": "6.4.0-dev.69",
60
- "@das-fed/utils": "6.4.0-dev.69",
61
- "@das-fed/web": "6.4.0-dev.69",
59
+ "@das-fed/ui": "6.4.0-dev.70",
60
+ "@das-fed/utils": "6.4.0-dev.70",
61
+ "@das-fed/web": "6.4.0-dev.70",
62
62
  "@wangeditor/editor": "^5.1.23",
63
63
  "@wangeditor/editor-for-vue": "^5.1.12",
64
64
  "@wangeditor/plugin-upload-attachment": "^1.1.0",
@@ -104,6 +104,7 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
104
104
  readonly extraParams?: Record<string, any> | undefined;
105
105
  readonly permissionQuery: number[];
106
106
  readonly apiUrl?: string | undefined;
107
+ readonly defaultSort?: (any[] | []) | undefined;
107
108
  readonly reqMethod?: string | undefined;
108
109
  readonly columnSettingName: string;
109
110
  readonly selection?: (boolean | {
@@ -222,6 +223,7 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
222
223
  readonly extraParams?: Record<string, any> | undefined;
223
224
  readonly permissionQuery: number[];
224
225
  readonly apiUrl?: string | undefined;
226
+ readonly defaultSort?: (any[] | []) | undefined;
225
227
  readonly reqMethod?: string | undefined;
226
228
  readonly columnSettingName: string;
227
229
  readonly selection?: (boolean | {
@@ -654,7 +654,7 @@ const Ko = (e, t, r) => {
654
654
  if (j.sortField && (O.value = JSON.parse(j.sortField).map((I) => ({
655
655
  property: I.name,
656
656
  direction: I.sort
657
- })), R.value = JSON.parse(j.sortField).map((I) => {
657
+ })), R.value = (e == null ? void 0 : e.defaultSort) ?? JSON.parse(j.sortField).map((I) => {
658
658
  const be = I.sort === "ASC" ? "ascending" : "descending";
659
659
  return {
660
660
  prop: I.name,
@@ -868,6 +868,7 @@ const Wo = (e, t) => {
868
868
  extraParams: { default: () => ({}) },
869
869
  permissionQuery: { default: () => [1] },
870
870
  apiUrl: { default: "/api/admin/hotent/v1/table/value/report/page" },
871
+ defaultSort: {},
871
872
  reqMethod: { default: "post" },
872
873
  columnSettingName: { default: "headerSetting" },
873
874
  selection: { type: [Boolean, Object] },
@@ -104,6 +104,8 @@ export interface Props {
104
104
 
105
105
  apiUrl?: string | undefined
106
106
 
107
+ defaultSort?: any[] | []
108
+
107
109
  reqMethod?: string
108
110
 
109
111
  columnSettingName: string