sd-render 1.0.17 → 1.0.18

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.
@@ -174,6 +174,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
174
174
  type: StringConstructor;
175
175
  default: string;
176
176
  };
177
+ enableWs: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
177
181
  userState: {
178
182
  type: PropType<ConnectStateStore>;
179
183
  required: true;
@@ -254,6 +258,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
254
258
  useUserState: UserState;
255
259
  dpFormData: SdProvider;
256
260
  wsConn: ConnectWs | undefined;
261
+ widgetId: string;
257
262
  sdFunc: any;
258
263
  isFormEnable: boolean;
259
264
  groupItems: Array<string>;
@@ -456,6 +461,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
456
461
  type: StringConstructor;
457
462
  default: string;
458
463
  };
464
+ enableWs: {
465
+ type: BooleanConstructor;
466
+ default: boolean;
467
+ };
459
468
  userState: {
460
469
  type: PropType<ConnectStateStore>;
461
470
  required: true;
@@ -540,6 +549,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
540
549
  titleName: string;
541
550
  subformWidth: number;
542
551
  fixApiUrl: string;
552
+ enableWs: boolean;
543
553
  buildState: boolean;
544
554
  customValue: CustomValue[];
545
555
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -128,6 +128,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
128
128
  type: StringConstructor;
129
129
  default: string;
130
130
  };
131
+ enableWs: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
131
135
  userState: {
132
136
  type: PropType<ConnectStateStore>;
133
137
  required: true;
@@ -180,6 +184,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
180
184
  useUserState: UserState;
181
185
  dpFormData: SdProvider;
182
186
  wsConn: ConnectWs | undefined;
187
+ widgetId: string;
183
188
  sdFunc: any;
184
189
  isFormEnable: boolean;
185
190
  afterDeleteForm: any;
@@ -325,6 +330,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
325
330
  type: StringConstructor;
326
331
  default: string;
327
332
  };
333
+ enableWs: {
334
+ type: BooleanConstructor;
335
+ default: boolean;
336
+ };
328
337
  userState: {
329
338
  type: PropType<ConnectStateStore>;
330
339
  required: true;
@@ -371,6 +380,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
371
380
  titleName: string;
372
381
  subformWidth: number;
373
382
  fixApiUrl: string;
383
+ enableWs: boolean;
374
384
  buildState: boolean;
375
385
  verticalEnable: boolean;
376
386
  blockUiFields: BlockFields[];
@@ -21,8 +21,19 @@ export declare const useConnectStateStore: import('pinia').StoreDefinition<'conn
21
21
  appParams: any;
22
22
  wsConn: ConnectWs | undefined;
23
23
  }, {}, {
24
- connectWebSocket(channel: string, clientId: string, onMessage: (data: wsDataReceive) => void, onError?: (event: Event) => void): ConnectWs;
24
+ connectWebSocket(channel: string, clientId: string, widgetId: string, onMessage: (data: wsDataReceive) => void, onError?: (event: Event) => void): ConnectWs;
25
25
  getAvatar(): string;
26
+ login?(data: any): Promise<void>;
27
+ logout?(): void;
28
+ register?(data: any): Promise<void>;
29
+ refreshToken?(): Promise<void>;
30
+ updateRoles?(roles: string[], callbackSuccess?: Function, callbackError?: Function): Promise<void>;
31
+ create?(data: any, callback?: Function | null): Promise<void>;
32
+ update?(data: any, userUpdate: boolean, callback?: Function | null): Promise<void>;
33
+ delete?(data: any): Promise<void>;
34
+ changePassword?(data: any): Promise<void>;
35
+ deleteAvatar?(avatar: any): Promise<void>;
36
+ updateSetting?(data: any, callbackSuccess?: Function, callbackError?: Function): Promise<void>;
26
37
  connect(data: any, connect: ConnectProject, callback?: Function): Promise<void>;
27
38
  disconnect(): void;
28
39
  reconnect(): Promise<void>;