zsysview 0.1.11 → 0.1.13

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.
@@ -19,7 +19,13 @@ module: {
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
22
+ pre_selection: {
23
+ type: PropType<SelectedItem[]>;
24
+ default: never[];
25
+ };
26
+ }>, {
27
+ GetSelectedItems: () => SelectedItem[];
28
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
23
29
  config: {
24
30
  type: ObjectConstructor;
25
31
  required: true;
@@ -28,9 +34,16 @@ module: {
28
34
  type: StringConstructor;
29
35
  default: string;
30
36
  };
37
+ pre_selection: {
38
+ type: PropType<SelectedItem[]>;
39
+ default: never[];
40
+ };
31
41
  }>> & Readonly<{}>, {
32
42
  module: string;
33
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
43
+ pre_selection: SelectedItem[];
44
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
45
+ tableRef: unknown;
46
+ }, HTMLDivElement>;
34
47
 
35
48
  declare function __VLS_template(): {
36
49
  attrs: Partial<{}>;
@@ -38,7 +51,9 @@ declare function __VLS_template(): {
38
51
  headermain?(_: {}): any;
39
52
  content?(_: {}): any;
40
53
  };
41
- refs: {};
54
+ refs: {
55
+ tableRef: unknown;
56
+ };
42
57
  rootEl: HTMLDivElement;
43
58
  };
44
59
 
@@ -140,6 +155,13 @@ export declare interface ListConfig {
140
155
  KeywordTip?: string;
141
156
  ExportUrl?: string;
142
157
  ExportColumn?: ExportColumn[];
158
+ HasCheckbox?: boolean;
159
+ ReserveSelection?: boolean;
160
+ RowIdKey?: string | ((row: any) => string);
161
+ RowTitleKey?: string;
162
+ CanRowSelect?: boolean;
163
+ SelectQuantity?: number;
164
+ LeftPanel?: boolean;
143
165
  }
144
166
 
145
167
  declare interface QuickConditionsGroup {
@@ -150,6 +172,11 @@ declare interface QuickConditionsGroup {
150
172
 
151
173
  export declare const router: Router;
152
174
 
175
+ declare interface SelectedItem {
176
+ Title: string;
177
+ ID: bigint;
178
+ }
179
+
153
180
  declare interface SqlQueryParam {
154
181
  label: string;
155
182
  column: string | null;
@@ -213,6 +240,7 @@ export declare const zsyslist: __VLS_WithTemplateSlots<typeof __VLS_component, _
213
240
  export declare class ZSYSMessage {
214
241
  static show(msgType: "success" | "warning" | "info" | "error" | undefined, msg: string): void;
215
242
  static ShowInfo(msg: string): void;
243
+ static ShowWarn(msg: string): void;
216
244
  static ShowSuccess(msg: string): void;
217
245
  static ShowError(msg: string): void;
218
246
  install: (app: App) => App<any>;
@@ -1,4 +1,4 @@
1
- import { G, D, B, Z, y, x, i, j, f, H, v, z, m, t, A, k } from "./index-8UWgPXVt.js";
1
+ import { G, D, B, Z, y, x, i, j, f, H, v, z, m, t, A, k } from "./index-D5KAIOPC.js";
2
2
  export {
3
3
  G as GetUserPermission,
4
4
  D as HasPermission,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.1.11",
4
+ "version": "0.1.13",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",