lyflowchart 1.0.154 → 1.0.161
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/dist/{ActionsConfig-gWnpd8yJ.js → ActionsConfig-Bx0tgz1e.js} +1 -1
- package/dist/{ApprovalEditorModal-BsHxlueJ.js → ApprovalEditorModal-CGZEehE6.js} +1 -1
- package/dist/{Cell_click_approve-CzEatC97.js → Cell_click_approve-D4BAdjen.js} +1 -1
- package/dist/{approval-DD00xYMY.js → approval-DOumm1tc.js} +1 -1
- package/dist/{approval-ekd9_mwq.js → approval-TIlcTs-h.js} +2 -2
- package/dist/{approvalHistory-DsHMvx1n.js → approvalHistory-BYTbTSXf.js} +2 -2
- package/dist/{approvalPageConfig-DsoxsuXo.js → approvalPageConfig-Yn3tPl7r.js} +7 -7
- package/dist/{approveLeftConfig-Cskh4ezK.js → approveLeftConfig-BKDdM87m.js} +1 -1
- package/dist/{columnTables-a7yfMH5Q.js → columnTables-Drq0OCcY.js} +255 -214
- package/dist/components/approval/components/TableSummary.vue.d.ts +20 -0
- package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +6 -6
- package/dist/components/approval/components/approvalPageConfig/searchConfig.vue.d.ts +7 -7
- package/dist/components/approval/components/columnDataList.vue.d.ts +26 -2
- package/dist/components/approval/components/columnTables.vue.d.ts +26 -2
- package/dist/components/approval/components/drawerDataList.vue.d.ts +26 -2
- package/dist/components/approval/components/drawerTablesList.vue.d.ts +26 -2
- package/dist/components/approval/components/modelTablesList.vue.d.ts +26 -2
- package/dist/components/approval/components/table.vue.d.ts +27 -3
- package/dist/components/approval/dbViewAdapter.d.ts +40 -0
- package/dist/components/approval/typing.d.ts +4 -1
- package/dist/{core-BY-t0ghx.js → core-fRduuqmc.js} +4 -4
- package/dist/dbViewAdapter-ByVGSDgn.js +25 -0
- package/dist/{debugCode-CTU6KCej.js → debugCode-ZiYZUq5N.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/{leftColumn-Dzw2Dk6g.js → leftColumn-Bn1KoLRy.js} +2 -2
- package/dist/lyflowchart.css +1 -1
- package/dist/{middleColumn-CTOCcPnB.js → middleColumn-Cdx9-JfV.js} +1 -1
- package/dist/{tableConfig-CMhKXmQF.js → tableConfig-B6bfpf7X.js} +593 -569
- package/dist/{tableModal-LuDGonFy.js → tableModal-DJ4BgjcA.js} +1 -1
- package/package.json +1 -1
- /package/dist/{JsonTags-DQdw3WxB.js → JsonTags-BQZ9jIF_.js} +0 -0
- /package/dist/{approvalHistoryViewModal-UzVPPpNH.js → approvalHistoryViewModal-D3_z9bf3.js} +0 -0
- /package/dist/{codeHistoryViewModal-BIktV_o6.js → codeHistoryViewModal-DnNI_S8C.js} +0 -0
- /package/dist/{dataStoreSettingHistoryViewModal-DjSRPgQC.js → dataStoreSettingHistoryViewModal-Bwf0Kbvh.js} +0 -0
- /package/dist/{debugCode-dD1YnQSD.js → debugCode-_6PzXpbO.js} +0 -0
- /package/dist/{default-CFd6cRxl.js → default-BNQ2XYku.js} +0 -0
- /package/dist/{example_code-DKjqP7KK.js → example_code-Bqj9GjMk.js} +0 -0
- /package/dist/{flowHistoryViewModal-CaGj3LP4.js → flowHistoryViewModal-CVg7Wn7_.js} +0 -0
- /package/dist/{settingsState-CI81PG-i.js → settingsState-Bz7q-7ZJ.js} +0 -0
- /package/dist/{v0001-OaBeBCXI.js → v0001-iEj36Rvz.js} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
item: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
summaryParams: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
item: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
summaryParams: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -125,12 +125,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
125
125
|
}>, {
|
|
126
126
|
dataSource: unknown[];
|
|
127
127
|
}, {}, {
|
|
128
|
-
LeftSquareOutlined: import("@ant-design/icons-vue/lib/icons/LeftSquareOutlined
|
|
129
|
-
LeftSquareTwoTone: import("@ant-design/icons-vue/lib/icons/LeftSquareTwoTone
|
|
130
|
-
RightSquareOutlined: import("@ant-design/icons-vue/lib/icons/RightSquareOutlined
|
|
131
|
-
RightSquareTwoTone: import("@ant-design/icons-vue/lib/icons/RightSquareTwoTone
|
|
132
|
-
CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined
|
|
133
|
-
EditOutlined: import("@ant-design/icons-vue/lib/icons/EditOutlined
|
|
128
|
+
LeftSquareOutlined: import("@ant-design/icons-vue/lib/icons/LeftSquareOutlined").LeftSquareOutlinedIconType;
|
|
129
|
+
LeftSquareTwoTone: import("@ant-design/icons-vue/lib/icons/LeftSquareTwoTone").LeftSquareTwoToneIconType;
|
|
130
|
+
RightSquareOutlined: import("@ant-design/icons-vue/lib/icons/RightSquareOutlined").RightSquareOutlinedIconType;
|
|
131
|
+
RightSquareTwoTone: import("@ant-design/icons-vue/lib/icons/RightSquareTwoTone").RightSquareTwoToneIconType;
|
|
132
|
+
CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined").CheckOutlinedIconType;
|
|
133
|
+
EditOutlined: import("@ant-design/icons-vue/lib/icons/EditOutlined").EditOutlinedIconType;
|
|
134
134
|
cellEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
135
135
|
value: {
|
|
136
136
|
type: StringConstructor;
|
|
@@ -99,13 +99,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
record: Record<string, any>;
|
|
100
100
|
modelType: string;
|
|
101
101
|
}, {}, {
|
|
102
|
-
CloseCircleOutlined: import("@ant-design/icons-vue/lib/icons/CloseCircleOutlined
|
|
103
|
-
LeftSquareOutlined: import("@ant-design/icons-vue/lib/icons/LeftSquareOutlined
|
|
104
|
-
LeftSquareTwoTone: import("@ant-design/icons-vue/lib/icons/LeftSquareTwoTone
|
|
105
|
-
RightSquareOutlined: import("@ant-design/icons-vue/lib/icons/RightSquareOutlined
|
|
106
|
-
RightSquareTwoTone: import("@ant-design/icons-vue/lib/icons/RightSquareTwoTone
|
|
107
|
-
CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined
|
|
108
|
-
EditOutlined: import("@ant-design/icons-vue/lib/icons/EditOutlined
|
|
102
|
+
CloseCircleOutlined: import("@ant-design/icons-vue/lib/icons/CloseCircleOutlined").CloseCircleOutlinedIconType;
|
|
103
|
+
LeftSquareOutlined: import("@ant-design/icons-vue/lib/icons/LeftSquareOutlined").LeftSquareOutlinedIconType;
|
|
104
|
+
LeftSquareTwoTone: import("@ant-design/icons-vue/lib/icons/LeftSquareTwoTone").LeftSquareTwoToneIconType;
|
|
105
|
+
RightSquareOutlined: import("@ant-design/icons-vue/lib/icons/RightSquareOutlined").RightSquareOutlinedIconType;
|
|
106
|
+
RightSquareTwoTone: import("@ant-design/icons-vue/lib/icons/RightSquareTwoTone").RightSquareTwoToneIconType;
|
|
107
|
+
CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined").CheckOutlinedIconType;
|
|
108
|
+
EditOutlined: import("@ant-design/icons-vue/lib/icons/EditOutlined").EditOutlinedIconType;
|
|
109
109
|
OperatorSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
110
110
|
record: {
|
|
111
111
|
type: ObjectConstructor;
|
|
@@ -89,7 +89,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
89
|
autoWidth: boolean;
|
|
90
90
|
cellComponent?: string;
|
|
91
91
|
approve_summary?: boolean;
|
|
92
|
-
|
|
92
|
+
approve_cellSummaryComponent?: string;
|
|
93
|
+
cellComponentParams?: Record<string, any>;
|
|
94
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
93
95
|
colorMap?: Record<string, any>;
|
|
94
96
|
contentMap?: Record<string, any>;
|
|
95
97
|
filterMultiple?: boolean;
|
|
@@ -115,7 +117,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
117
|
autoWidth: boolean;
|
|
116
118
|
cellComponent?: string;
|
|
117
119
|
approve_summary?: boolean;
|
|
118
|
-
|
|
120
|
+
approve_cellSummaryComponent?: string;
|
|
121
|
+
cellComponentParams?: Record<string, any>;
|
|
122
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
119
123
|
colorMap?: Record<string, any>;
|
|
120
124
|
contentMap?: Record<string, any>;
|
|
121
125
|
filterMultiple?: boolean;
|
|
@@ -161,6 +165,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
165
|
CLEAR_CONTEXT(model_type: string): void;
|
|
162
166
|
}>;
|
|
163
167
|
summaryColumns: import("vue").ComputedRef<any[]>;
|
|
168
|
+
rowKeyField: import("vue").ComputedRef<string>;
|
|
164
169
|
preserveRow: () => boolean;
|
|
165
170
|
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface.js").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface.js").SorterResult<any> | import("ant-design-vue/es/table/interface.js").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface.js").TableCurrentDataSource<any>) => void;
|
|
166
171
|
tableWraperHeight: import("vue").Ref<any, any>;
|
|
@@ -449,6 +454,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
449
454
|
action_width: number;
|
|
450
455
|
params: any;
|
|
451
456
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
457
|
+
TableSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
458
|
+
item: {
|
|
459
|
+
type: ObjectConstructor;
|
|
460
|
+
required: true;
|
|
461
|
+
};
|
|
462
|
+
summaryParams: {
|
|
463
|
+
type: ObjectConstructor;
|
|
464
|
+
required: true;
|
|
465
|
+
};
|
|
466
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
467
|
+
item: {
|
|
468
|
+
type: ObjectConstructor;
|
|
469
|
+
required: true;
|
|
470
|
+
};
|
|
471
|
+
summaryParams: {
|
|
472
|
+
type: ObjectConstructor;
|
|
473
|
+
required: true;
|
|
474
|
+
};
|
|
475
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
452
476
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
453
477
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
454
478
|
export default _default;
|
|
@@ -137,7 +137,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
137
137
|
autoWidth: boolean;
|
|
138
138
|
cellComponent?: string;
|
|
139
139
|
approve_summary?: boolean;
|
|
140
|
-
|
|
140
|
+
approve_cellSummaryComponent?: string;
|
|
141
|
+
cellComponentParams?: Record<string, any>;
|
|
142
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
141
143
|
colorMap?: Record<string, any>;
|
|
142
144
|
contentMap?: Record<string, any>;
|
|
143
145
|
filterMultiple?: boolean;
|
|
@@ -163,7 +165,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
163
165
|
autoWidth: boolean;
|
|
164
166
|
cellComponent?: string;
|
|
165
167
|
approve_summary?: boolean;
|
|
166
|
-
|
|
168
|
+
approve_cellSummaryComponent?: string;
|
|
169
|
+
cellComponentParams?: Record<string, any>;
|
|
170
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
167
171
|
colorMap?: Record<string, any>;
|
|
168
172
|
contentMap?: Record<string, any>;
|
|
169
173
|
filterMultiple?: boolean;
|
|
@@ -209,6 +213,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
213
|
CLEAR_CONTEXT(model_type: string): void;
|
|
210
214
|
}>;
|
|
211
215
|
summaryColumns: import("vue").ComputedRef<any[]>;
|
|
216
|
+
rowKeyField: import("vue").ComputedRef<string>;
|
|
212
217
|
preserveRow: () => boolean;
|
|
213
218
|
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface.js").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface.js").SorterResult<any> | import("ant-design-vue/es/table/interface.js").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface.js").TableCurrentDataSource<any>) => void;
|
|
214
219
|
tableWraperHeight: import("vue").Ref<any, any>;
|
|
@@ -497,6 +502,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
497
502
|
action_width: number;
|
|
498
503
|
params: any;
|
|
499
504
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
505
|
+
TableSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
506
|
+
item: {
|
|
507
|
+
type: ObjectConstructor;
|
|
508
|
+
required: true;
|
|
509
|
+
};
|
|
510
|
+
summaryParams: {
|
|
511
|
+
type: ObjectConstructor;
|
|
512
|
+
required: true;
|
|
513
|
+
};
|
|
514
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
515
|
+
item: {
|
|
516
|
+
type: ObjectConstructor;
|
|
517
|
+
required: true;
|
|
518
|
+
};
|
|
519
|
+
summaryParams: {
|
|
520
|
+
type: ObjectConstructor;
|
|
521
|
+
required: true;
|
|
522
|
+
};
|
|
523
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
500
524
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
501
525
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
502
526
|
export default _default;
|
|
@@ -138,7 +138,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
138
138
|
autoWidth: boolean;
|
|
139
139
|
cellComponent?: string;
|
|
140
140
|
approve_summary?: boolean;
|
|
141
|
-
|
|
141
|
+
approve_cellSummaryComponent?: string;
|
|
142
|
+
cellComponentParams?: Record<string, any>;
|
|
143
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
142
144
|
colorMap?: Record<string, any>;
|
|
143
145
|
contentMap?: Record<string, any>;
|
|
144
146
|
filterMultiple?: boolean;
|
|
@@ -164,7 +166,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
164
166
|
autoWidth: boolean;
|
|
165
167
|
cellComponent?: string;
|
|
166
168
|
approve_summary?: boolean;
|
|
167
|
-
|
|
169
|
+
approve_cellSummaryComponent?: string;
|
|
170
|
+
cellComponentParams?: Record<string, any>;
|
|
171
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
168
172
|
colorMap?: Record<string, any>;
|
|
169
173
|
contentMap?: Record<string, any>;
|
|
170
174
|
filterMultiple?: boolean;
|
|
@@ -210,6 +214,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
214
|
CLEAR_CONTEXT(model_type: string): void;
|
|
211
215
|
}>;
|
|
212
216
|
summaryColumns: import("vue").ComputedRef<any[]>;
|
|
217
|
+
rowKeyField: import("vue").ComputedRef<string>;
|
|
213
218
|
preserveRow: () => boolean;
|
|
214
219
|
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void;
|
|
215
220
|
tableWraperHeight: import("vue").Ref<any, any>;
|
|
@@ -498,6 +503,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
498
503
|
action_width: number;
|
|
499
504
|
params: any;
|
|
500
505
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
506
|
+
TableSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
507
|
+
item: {
|
|
508
|
+
type: ObjectConstructor;
|
|
509
|
+
required: true;
|
|
510
|
+
};
|
|
511
|
+
summaryParams: {
|
|
512
|
+
type: ObjectConstructor;
|
|
513
|
+
required: true;
|
|
514
|
+
};
|
|
515
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
516
|
+
item: {
|
|
517
|
+
type: ObjectConstructor;
|
|
518
|
+
required: true;
|
|
519
|
+
};
|
|
520
|
+
summaryParams: {
|
|
521
|
+
type: ObjectConstructor;
|
|
522
|
+
required: true;
|
|
523
|
+
};
|
|
524
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
501
525
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
502
526
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
503
527
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -185,7 +185,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
185
185
|
autoWidth: boolean;
|
|
186
186
|
cellComponent?: string;
|
|
187
187
|
approve_summary?: boolean;
|
|
188
|
-
|
|
188
|
+
approve_cellSummaryComponent?: string;
|
|
189
|
+
cellComponentParams?: Record<string, any>;
|
|
190
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
189
191
|
colorMap?: Record<string, any>;
|
|
190
192
|
contentMap?: Record<string, any>;
|
|
191
193
|
filterMultiple?: boolean;
|
|
@@ -211,7 +213,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
211
213
|
autoWidth: boolean;
|
|
212
214
|
cellComponent?: string;
|
|
213
215
|
approve_summary?: boolean;
|
|
214
|
-
|
|
216
|
+
approve_cellSummaryComponent?: string;
|
|
217
|
+
cellComponentParams?: Record<string, any>;
|
|
218
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
215
219
|
colorMap?: Record<string, any>;
|
|
216
220
|
contentMap?: Record<string, any>;
|
|
217
221
|
filterMultiple?: boolean;
|
|
@@ -257,6 +261,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
257
261
|
CLEAR_CONTEXT(model_type: string): void;
|
|
258
262
|
}>;
|
|
259
263
|
summaryColumns: import("vue").ComputedRef<any[]>;
|
|
264
|
+
rowKeyField: import("vue").ComputedRef<string>;
|
|
260
265
|
preserveRow: () => boolean;
|
|
261
266
|
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void;
|
|
262
267
|
tableWraperHeight: import("vue").Ref<any, any>;
|
|
@@ -545,6 +550,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
545
550
|
action_width: number;
|
|
546
551
|
params: any;
|
|
547
552
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
553
|
+
TableSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
554
|
+
item: {
|
|
555
|
+
type: ObjectConstructor;
|
|
556
|
+
required: true;
|
|
557
|
+
};
|
|
558
|
+
summaryParams: {
|
|
559
|
+
type: ObjectConstructor;
|
|
560
|
+
required: true;
|
|
561
|
+
};
|
|
562
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
563
|
+
item: {
|
|
564
|
+
type: ObjectConstructor;
|
|
565
|
+
required: true;
|
|
566
|
+
};
|
|
567
|
+
summaryParams: {
|
|
568
|
+
type: ObjectConstructor;
|
|
569
|
+
required: true;
|
|
570
|
+
};
|
|
571
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
548
572
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
549
573
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
550
574
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -185,7 +185,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
185
185
|
autoWidth: boolean;
|
|
186
186
|
cellComponent?: string;
|
|
187
187
|
approve_summary?: boolean;
|
|
188
|
-
|
|
188
|
+
approve_cellSummaryComponent?: string;
|
|
189
|
+
cellComponentParams?: Record<string, any>;
|
|
190
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
189
191
|
colorMap?: Record<string, any>;
|
|
190
192
|
contentMap?: Record<string, any>;
|
|
191
193
|
filterMultiple?: boolean;
|
|
@@ -211,7 +213,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
211
213
|
autoWidth: boolean;
|
|
212
214
|
cellComponent?: string;
|
|
213
215
|
approve_summary?: boolean;
|
|
214
|
-
|
|
216
|
+
approve_cellSummaryComponent?: string;
|
|
217
|
+
cellComponentParams?: Record<string, any>;
|
|
218
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
215
219
|
colorMap?: Record<string, any>;
|
|
216
220
|
contentMap?: Record<string, any>;
|
|
217
221
|
filterMultiple?: boolean;
|
|
@@ -257,6 +261,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
257
261
|
CLEAR_CONTEXT(model_type: string): void;
|
|
258
262
|
}>;
|
|
259
263
|
summaryColumns: import("vue").ComputedRef<any[]>;
|
|
264
|
+
rowKeyField: import("vue").ComputedRef<string>;
|
|
260
265
|
preserveRow: () => boolean;
|
|
261
266
|
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void;
|
|
262
267
|
tableWraperHeight: import("vue").Ref<any, any>;
|
|
@@ -545,6 +550,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
545
550
|
action_width: number;
|
|
546
551
|
params: any;
|
|
547
552
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
553
|
+
TableSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
554
|
+
item: {
|
|
555
|
+
type: ObjectConstructor;
|
|
556
|
+
required: true;
|
|
557
|
+
};
|
|
558
|
+
summaryParams: {
|
|
559
|
+
type: ObjectConstructor;
|
|
560
|
+
required: true;
|
|
561
|
+
};
|
|
562
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
563
|
+
item: {
|
|
564
|
+
type: ObjectConstructor;
|
|
565
|
+
required: true;
|
|
566
|
+
};
|
|
567
|
+
summaryParams: {
|
|
568
|
+
type: ObjectConstructor;
|
|
569
|
+
required: true;
|
|
570
|
+
};
|
|
571
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
548
572
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
549
573
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
550
574
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -52,7 +52,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
52
|
autoWidth: boolean;
|
|
53
53
|
cellComponent?: string;
|
|
54
54
|
approve_summary?: boolean;
|
|
55
|
-
|
|
55
|
+
approve_cellSummaryComponent?: string;
|
|
56
|
+
cellComponentParams?: Record<string, any>;
|
|
57
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
56
58
|
colorMap?: Record<string, any>;
|
|
57
59
|
contentMap?: Record<string, any>;
|
|
58
60
|
filterMultiple?: boolean;
|
|
@@ -78,7 +80,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
78
80
|
autoWidth: boolean;
|
|
79
81
|
cellComponent?: string;
|
|
80
82
|
approve_summary?: boolean;
|
|
81
|
-
|
|
83
|
+
approve_cellSummaryComponent?: string;
|
|
84
|
+
cellComponentParams?: Record<string, any>;
|
|
85
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
82
86
|
colorMap?: Record<string, any>;
|
|
83
87
|
contentMap?: Record<string, any>;
|
|
84
88
|
filterMultiple?: boolean;
|
|
@@ -124,8 +128,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
124
128
|
CLEAR_CONTEXT(model_type: string): void;
|
|
125
129
|
}>;
|
|
126
130
|
summaryColumns: import("vue").ComputedRef<any[]>;
|
|
131
|
+
rowKeyField: import("vue").ComputedRef<string>;
|
|
127
132
|
preserveRow: () => boolean;
|
|
128
|
-
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface
|
|
133
|
+
handleChange: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void;
|
|
129
134
|
tableWraperHeight: import("vue").Ref<any, any>;
|
|
130
135
|
tableWraperRef: import("vue").Ref<any, any>;
|
|
131
136
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "selection-change"[], "selection-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -412,5 +417,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
412
417
|
action_width: number;
|
|
413
418
|
params: any;
|
|
414
419
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
420
|
+
TableSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
421
|
+
item: {
|
|
422
|
+
type: ObjectConstructor;
|
|
423
|
+
required: true;
|
|
424
|
+
};
|
|
425
|
+
summaryParams: {
|
|
426
|
+
type: ObjectConstructor;
|
|
427
|
+
required: true;
|
|
428
|
+
};
|
|
429
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
430
|
+
item: {
|
|
431
|
+
type: ObjectConstructor;
|
|
432
|
+
required: true;
|
|
433
|
+
};
|
|
434
|
+
summaryParams: {
|
|
435
|
+
type: ObjectConstructor;
|
|
436
|
+
required: true;
|
|
437
|
+
};
|
|
438
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
415
439
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
416
440
|
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* db_view(SQL 视图)模型的适配层(★ v29.50.15)。
|
|
3
|
+
*
|
|
4
|
+
* 审批页表格支持选择 db_view 配置出的视图作为数据源(modelType = `db_view-{flag}`)。
|
|
5
|
+
* db_view 的接口契约与 lybase 标准模型不同,这里集中做三件事:
|
|
6
|
+
* ① URL 派生:列表 / 页面配置的 db_view 专用地址(见 LyDBView/db_view/urls.py);
|
|
7
|
+
* ② 形状适配:get_page_config 的 baseColumns / base_search_condition_config_list
|
|
8
|
+
* → ColumnConfig「可选列」与 searchConfig「基础数据」期望的字段形状;
|
|
9
|
+
* ③ 行键:db_view 的行没有 id 字段,行键由 get_page_config 的 rowKey 下发
|
|
10
|
+
* (0 主键 → '_id' 整行 hash;1 主键 → 该列名;≥2 主键 → '_id' 各列值 '|' 连接)。
|
|
11
|
+
*
|
|
12
|
+
* ⚠️ lyflowchart 不 import liyu-pc-lib / liyu-pc-base,本文件只依赖 @/init-plugin 的宿主注入。
|
|
13
|
+
*/
|
|
14
|
+
export declare const isDbViewModelType: (modelType?: string | null) => boolean;
|
|
15
|
+
export declare const dbViewFlag: (modelType: string) => string;
|
|
16
|
+
/** db_view 列表查询地址(返回 ant 信封 {data, current, total, pageSize},与 lybase 列表同构) */
|
|
17
|
+
export declare const dbViewListUrl: (modelType: string) => string;
|
|
18
|
+
/** 是否 db_view 的列表接口地址(手工填 list_url 指向 db_view 的存量配置也能识别) */
|
|
19
|
+
export declare const isDbViewListUrl: (url?: string | null) => boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 拉取 db_view 页面配置:`/db_view/get_page_config`。
|
|
22
|
+
* 返回 { flag, baseColumns, rowKey, base_search_condition_config_list, ... }(result 负载已解包)。
|
|
23
|
+
*/
|
|
24
|
+
export declare const getDbViewPageConfig: (modelType: string, org_id: any) => Promise<any>;
|
|
25
|
+
/**
|
|
26
|
+
* baseColumns → ColumnConfig「可选列」形状。
|
|
27
|
+
* baseColumns 本身是 camelCase 列配置全集(cellComponent / cellComponentParams /
|
|
28
|
+
* contentMap / colorMap / summary / cellSummaryComponentParams ...),原样保留 ——
|
|
29
|
+
* goRight 的 getFieldConfig 按 camelCase 源键取值即可;name/verbose_name 是
|
|
30
|
+
* 可选列表格与 fieldMap 需要的两个别名。
|
|
31
|
+
*/
|
|
32
|
+
export declare const toColumnConfigSource: (baseColumns: any[]) => any[];
|
|
33
|
+
/**
|
|
34
|
+
* base_search_condition_config_list([{name, group:[高级搜索组件对象]}])
|
|
35
|
+
* → searchConfig「基础数据」形状(摊平分组)。
|
|
36
|
+
* 每项把完整高级搜索组件对象塞进 advanced_search_component —— searchConfig 的
|
|
37
|
+
* setGoRightSearch 会 `Object.assign(obj, item.advanced_search_component)` 整体并入,
|
|
38
|
+
* type 取 class_name(值域 int/float/str/datetime/date 与其分支对齐)。
|
|
39
|
+
*/
|
|
40
|
+
export declare const toSearchConfigSource: (groups: any[]) => any[];
|
|
@@ -28,7 +28,9 @@ export interface Column {
|
|
|
28
28
|
autoWidth: boolean;
|
|
29
29
|
cellComponent?: string;
|
|
30
30
|
approve_summary?: boolean;
|
|
31
|
-
|
|
31
|
+
approve_cellSummaryComponent?: string;
|
|
32
|
+
cellComponentParams?: Record<string, any>;
|
|
33
|
+
cellSummaryComponentParams?: Record<string, any>;
|
|
32
34
|
colorMap?: Record<string, any>;
|
|
33
35
|
contentMap?: Record<string, any>;
|
|
34
36
|
filterMultiple?: boolean;
|
|
@@ -79,6 +81,7 @@ export interface Table {
|
|
|
79
81
|
actions?: Action[];
|
|
80
82
|
row_actions?: Action[];
|
|
81
83
|
rowSelectionType?: 'checkbox' | 'radio';
|
|
84
|
+
rowKey?: string;
|
|
82
85
|
query_params?: Record<string, any>;
|
|
83
86
|
group_title?: string;
|
|
84
87
|
is_hidden?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, b as t, c as n, o as r, y as i } from "./init-plugin-CpYzRii0.js";
|
|
2
2
|
import { t as a } from "./CancelModal-CgQeC543.js";
|
|
3
|
-
import { n as o, r as s, t as c } from "./approval-
|
|
3
|
+
import { n as o, r as s, t as c } from "./approval-TIlcTs-h.js";
|
|
4
4
|
import { c as l, d as u, l as d, p as f } from "./utils-DRldFEoM.js";
|
|
5
|
-
import { a as p, c as m, d as h, f as g, i as ee, l as _, n as v, o as te, p as ne, r as y, s as re, t as b, u as ie } from "./columnTables-
|
|
6
|
-
import { n as ae, t as oe } from "./debugCode-
|
|
5
|
+
import { a as p, c as m, d as h, f as g, i as ee, l as _, n as v, o as te, p as ne, r as y, s as re, t as b, u as ie } from "./columnTables-Drq0OCcY.js";
|
|
6
|
+
import { n as ae, t as oe } from "./debugCode-_6PzXpbO.js";
|
|
7
7
|
import { Fragment as x, Teleport as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createTextVNode as O, createVNode as k, defineAsyncComponent as A, defineComponent as j, inject as M, onMounted as N, onUnmounted as se, openBlock as P, provide as ce, reactive as le, ref as F, renderList as I, resolveComponent as L, resolveDynamicComponent as R, toDisplayString as z, unref as ue, watch as B, withCtx as V } from "vue";
|
|
8
8
|
import { Modal as H, message as U } from "ant-design-vue";
|
|
9
9
|
import { cloneDeep as W, debounce as de } from "lodash";
|
|
@@ -791,7 +791,7 @@ var Te = /* @__PURE__ */ t(Ce, [["render", we]]), Ee = { class: "form-body" }, D
|
|
|
791
791
|
}
|
|
792
792
|
return new Promise(async (i, a) => {
|
|
793
793
|
n(le({
|
|
794
|
-
component: A(() => import("./tableModal-
|
|
794
|
+
component: A(() => import("./tableModal-DJ4BgjcA.js")),
|
|
795
795
|
columnConfig: r,
|
|
796
796
|
height: s.height,
|
|
797
797
|
eventBus: s.eventBus,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { o as e } from "./init-plugin-CpYzRii0.js";
|
|
2
|
+
//#region src/components/approval/dbViewAdapter.ts
|
|
3
|
+
var t = (e) => !!e && e.startsWith("db_view-"), n = (e) => e.split("-")[1], r = (e) => `/db_view/sqlview_query_${n(e)}_list`, i = (e) => !!e && e.includes("/db_view/sqlview_query_"), a = async (t, r) => await e({
|
|
4
|
+
org_id: r,
|
|
5
|
+
flag: n(t)
|
|
6
|
+
}, "/db_view/get_page_config", !1, { skip_error: !0 }) || {}, o = (e) => (e || []).map((e) => ({
|
|
7
|
+
...e,
|
|
8
|
+
name: e.dataIndex,
|
|
9
|
+
verbose_name: e.title || e.dataIndex
|
|
10
|
+
})), s = (e) => {
|
|
11
|
+
let t = [];
|
|
12
|
+
return (e || []).forEach((e) => {
|
|
13
|
+
(e.group || []).forEach((e) => {
|
|
14
|
+
t.push({
|
|
15
|
+
name: e.field_name,
|
|
16
|
+
verbose_name: e.label || e.field_name,
|
|
17
|
+
type: e.class_name || "str",
|
|
18
|
+
advanced_search_component: e,
|
|
19
|
+
...e.format === "choices" && e.options && e.options.length > 0 ? { options: e.options } : {}
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
}), t;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { o as a, t as i, a as n, s as o, i as r, r as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as e, b as t, c as n, o as r } from "./init-plugin-CpYzRii0.js";
|
|
2
|
-
import { n as i } from "./debugCode-
|
|
3
|
-
import { t as a } from "./example_code-
|
|
2
|
+
import { n as i } from "./debugCode-_6PzXpbO.js";
|
|
3
|
+
import { t as a } from "./example_code-Bqj9GjMk.js";
|
|
4
4
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as g, onUnmounted as _, openBlock as v, reactive as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, toDisplayString as w, withCtx as T } from "vue";
|
|
5
5
|
import { Modal as E, message as D } from "ant-design-vue";
|
|
6
6
|
import { useI18n as O } from "vue-i18n";
|
package/dist/index.js
CHANGED
|
@@ -326,7 +326,7 @@ var j = { style: {
|
|
|
326
326
|
}
|
|
327
327
|
}), J = async (e) => {
|
|
328
328
|
await H(e), (W.value || K.value) && (a.value = !1);
|
|
329
|
-
}, Y = b(() => import("./ApprovalEditorModal-
|
|
329
|
+
}, Y = b(() => import("./ApprovalEditorModal-CGZEehE6.js")), X = async (e) => {
|
|
330
330
|
let t = N.get(e);
|
|
331
331
|
if (t && Date.now() - t.time < M) return t.data;
|
|
332
332
|
let i = P.get(e);
|
|
@@ -532,10 +532,10 @@ var j = { style: {
|
|
|
532
532
|
], 64);
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
|
-
}), I = b(() => import("./approval-
|
|
536
|
-
codeHistoryViewModal: () => import("./codeHistoryViewModal-
|
|
537
|
-
approvalHistoryViewModal: () => import("./approvalHistoryViewModal-
|
|
538
|
-
flowHistoryViewModal: () => import("./flowHistoryViewModal-
|
|
535
|
+
}), I = b(() => import("./approval-DOumm1tc.js")), L = b(() => import("./approvalPageConfig-Yn3tPl7r.js")), R = b(() => import("./approvalHistory-BYTbTSXf.js")), z = b(() => import("./debugCode-ZiYZUq5N.js")), B = b(() => import("./ApprovalEditorModal-CGZEehE6.js")), V = b(() => import("./Cell_click_approve-D4BAdjen.js")), H = {
|
|
536
|
+
codeHistoryViewModal: () => import("./codeHistoryViewModal-DnNI_S8C.js"),
|
|
537
|
+
approvalHistoryViewModal: () => import("./approvalHistoryViewModal-D3_z9bf3.js"),
|
|
538
|
+
flowHistoryViewModal: () => import("./flowHistoryViewModal-CVg7Wn7_.js")
|
|
539
539
|
}, U = { install(e, t) {
|
|
540
540
|
e.use(a(t || {}));
|
|
541
541
|
for (let n of Object.keys(o)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as e } from "./init-plugin-CpYzRii0.js";
|
|
2
|
-
import { r as t, t as n } from "./tableConfig-
|
|
3
|
-
import { t as r } from "./ActionsConfig-
|
|
2
|
+
import { r as t, t as n } from "./tableConfig-B6bfpf7X.js";
|
|
3
|
+
import { t as r } from "./ActionsConfig-Bx0tgz1e.js";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, reactive as m, ref as h, resolveComponent as g, withCtx as _, withModifiers as v } from "vue";
|
|
5
5
|
//#region src/components/approval/components/approvalPageConfig/leftColumn.vue?vue&type=script&lang.ts
|
|
6
6
|
var y = f({
|