@a2simcode/ui 0.0.229 → 0.0.230
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.
|
@@ -137,6 +137,10 @@ declare const JTablePanel: {
|
|
|
137
137
|
};
|
|
138
138
|
renderVNode: import('vue').PropType<(params: Record<string, any>) => import('vue').VNode>;
|
|
139
139
|
renderVNodeClass: StringConstructor;
|
|
140
|
+
rowDrag: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
140
144
|
}>> & Readonly<{
|
|
141
145
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
142
146
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -165,6 +169,7 @@ declare const JTablePanel: {
|
|
|
165
169
|
isPage: boolean;
|
|
166
170
|
pageSize: number;
|
|
167
171
|
rowKey: string;
|
|
172
|
+
rowDrag: boolean;
|
|
168
173
|
actions: import('..').ButtonCompType[];
|
|
169
174
|
actionFilter: (params: {
|
|
170
175
|
action: import('..').ButtonCompType;
|
|
@@ -539,6 +544,10 @@ declare const JTablePanel: {
|
|
|
539
544
|
};
|
|
540
545
|
renderVNode: import('vue').PropType<(params: Record<string, any>) => import('vue').VNode>;
|
|
541
546
|
renderVNodeClass: StringConstructor;
|
|
547
|
+
rowDrag: {
|
|
548
|
+
type: BooleanConstructor;
|
|
549
|
+
default: boolean;
|
|
550
|
+
};
|
|
542
551
|
}>> & Readonly<{
|
|
543
552
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
544
553
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -564,6 +573,7 @@ declare const JTablePanel: {
|
|
|
564
573
|
isPage: boolean;
|
|
565
574
|
pageSize: number;
|
|
566
575
|
rowKey: string;
|
|
576
|
+
rowDrag: boolean;
|
|
567
577
|
actions: import('..').ButtonCompType[];
|
|
568
578
|
actionFilter: (params: {
|
|
569
579
|
action: import('..').ButtonCompType;
|
|
@@ -733,6 +743,10 @@ declare const JTablePanel: {
|
|
|
733
743
|
};
|
|
734
744
|
renderVNode: import('vue').PropType<(params: Record<string, any>) => import('vue').VNode>;
|
|
735
745
|
renderVNodeClass: StringConstructor;
|
|
746
|
+
rowDrag: {
|
|
747
|
+
type: BooleanConstructor;
|
|
748
|
+
default: boolean;
|
|
749
|
+
};
|
|
736
750
|
}>> & Readonly<{
|
|
737
751
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
738
752
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -761,6 +775,7 @@ declare const JTablePanel: {
|
|
|
761
775
|
isPage: boolean;
|
|
762
776
|
pageSize: number;
|
|
763
777
|
rowKey: string;
|
|
778
|
+
rowDrag: boolean;
|
|
764
779
|
actions: import('..').ButtonCompType[];
|
|
765
780
|
actionFilter: (params: {
|
|
766
781
|
action: import('..').ButtonCompType;
|
|
@@ -249,6 +249,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
249
249
|
* @zh 自定义渲染 VNode 类名
|
|
250
250
|
*/
|
|
251
251
|
renderVNodeClass: StringConstructor;
|
|
252
|
+
/**
|
|
253
|
+
* @zh 是否支持行拖动排序
|
|
254
|
+
*/
|
|
255
|
+
rowDrag: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
252
259
|
}>, {
|
|
253
260
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
254
261
|
resetData: () => Promise<void>;
|
|
@@ -506,6 +513,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
506
513
|
* @zh 自定义渲染 VNode 类名
|
|
507
514
|
*/
|
|
508
515
|
renderVNodeClass: StringConstructor;
|
|
516
|
+
/**
|
|
517
|
+
* @zh 是否支持行拖动排序
|
|
518
|
+
*/
|
|
519
|
+
rowDrag: {
|
|
520
|
+
type: BooleanConstructor;
|
|
521
|
+
default: boolean;
|
|
522
|
+
};
|
|
509
523
|
}>> & Readonly<{
|
|
510
524
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
511
525
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -524,6 +538,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
524
538
|
isPage: boolean;
|
|
525
539
|
pageSize: number;
|
|
526
540
|
rowKey: string;
|
|
541
|
+
rowDrag: boolean;
|
|
527
542
|
actions: ButtonCompType[];
|
|
528
543
|
actionFilter: (params: {
|
|
529
544
|
action: ButtonCompType;
|
package/dist/simcode-ui.es.js
CHANGED
|
@@ -12374,7 +12374,11 @@ var Up = /* @__PURE__ */ ye({
|
|
|
12374
12374
|
default: !0
|
|
12375
12375
|
},
|
|
12376
12376
|
renderVNode: Function,
|
|
12377
|
-
renderVNodeClass: String
|
|
12377
|
+
renderVNodeClass: String,
|
|
12378
|
+
rowDrag: {
|
|
12379
|
+
type: Boolean,
|
|
12380
|
+
default: !1
|
|
12381
|
+
}
|
|
12378
12382
|
},
|
|
12379
12383
|
emits: ["select", "ready"],
|
|
12380
12384
|
setup(e, { expose: t, emit: n }) {
|
|
@@ -12866,6 +12870,7 @@ var Up = /* @__PURE__ */ ye({
|
|
|
12866
12870
|
"action-filter": e.actionFilter,
|
|
12867
12871
|
"highlight-mode": e.highlightMode,
|
|
12868
12872
|
"load-children": e.loadChildren,
|
|
12873
|
+
"row-drag": e.rowDrag,
|
|
12869
12874
|
onLoadPageData: An,
|
|
12870
12875
|
onReady: pe,
|
|
12871
12876
|
onSelectionChanged: re,
|
|
@@ -12894,7 +12899,8 @@ var Up = /* @__PURE__ */ ye({
|
|
|
12894
12899
|
"actions-label",
|
|
12895
12900
|
"action-filter",
|
|
12896
12901
|
"highlight-mode",
|
|
12897
|
-
"load-children"
|
|
12902
|
+
"load-children",
|
|
12903
|
+
"row-drag"
|
|
12898
12904
|
]))])), [[qt, h.value]])]), m.value && e.showFilterButton && F.value && !w.value ? (R(), D("div", eb, [Z(ql, {
|
|
12899
12905
|
ref_key: "filterPanelRef",
|
|
12900
12906
|
ref: E,
|