dmencu 3.2.5 → 3.2.6

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.
@@ -1,6 +1,5 @@
1
1
  import * as procesamiento from "procesamiento";
2
2
  import { AppBackend, ClientModuleDefinition, OptsClientPage } from "procesamiento";
3
- import * as pg from "pg-promise-strict";
4
3
  import { Client, Context, Request, SufijosAmbiente } from "./types-dmencu";
5
4
  export * from "./types-dmencu";
6
5
  import { ProcedureDef } from "backend-plus";
@@ -89,7 +88,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
89
88
  menu: procesamiento.MenuInfoBase[];
90
89
  };
91
90
  prepareGetTables(): void;
92
- config: any;
91
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
93
92
  tablasDatos: import("consistencias").TablaDatos[];
94
93
  procedures: import("backend-plus").ProcedureDef[];
95
94
  procedure: {
@@ -134,21 +133,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
134
133
  tableStructures: import("backend-plus").TableDefinitions;
135
134
  db: import("backend-plus").MotorDb;
136
135
  rootPath: string;
137
- caches: procesamiento.Caches & {
138
- procedures: {
139
- [k: string]: {
140
- timestamp: number;
141
- result: any;
142
- };
143
- };
144
- } & {
145
- procedures: {
146
- [k: string]: {
147
- timestamp: number;
148
- result: any;
149
- };
150
- };
151
- };
136
+ caches: import("backend-plus").Caches;
152
137
  fieldDomain: {
153
138
  [k: string]: Partial<procesamiento.FieldDefinition>;
154
139
  } & {
@@ -178,157 +163,9 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
178
163
  } & {
179
164
  [k: string]: Partial<procesamiento.FieldDefinition>;
180
165
  } & {
181
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
182
- name: string;
183
- typeName: import("backend-plus").PgKnownTypes;
184
- label?: string | undefined;
185
- title?: string | undefined;
186
- nullable?: boolean | undefined;
187
- dbNullable?: boolean | undefined;
188
- defaultValue?: any;
189
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
190
- clientSide?: string | undefined;
191
- isName?: boolean | undefined;
192
- isPk?: number | undefined;
193
- serverSide?: boolean | undefined;
194
- inTable?: boolean | undefined;
195
- allowEmtpyText?: boolean | undefined;
196
- mobileInputType?: string | undefined;
197
- extraRow?: number | undefined;
198
- inexactNumber?: number | undefined;
199
- visible?: boolean | undefined;
200
- width?: number | undefined;
201
- references?: string | undefined;
202
- referencesField?: string | undefined;
203
- aggregate?: string | undefined;
204
- specialDefaultValue?: string | undefined;
205
- specialValueWhenInsert?: string | undefined;
206
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
207
- description?: string | undefined;
208
- dataLength?: number | undefined;
209
- options?: (string | {
210
- option: string | number;
211
- label: string;
212
- })[] | undefined;
213
- inView?: boolean | undefined;
214
- sortMethod?: string | undefined;
215
- generatedAs?: string | undefined;
216
- }> | Partial<procesamiento.EditableDbDefinition & {
217
- name: string;
218
- typeName: import("backend-plus").PgKnownTypes;
219
- label?: string | undefined;
220
- title?: string | undefined;
221
- nullable?: boolean | undefined;
222
- dbNullable?: boolean | undefined;
223
- defaultValue?: any;
224
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
225
- clientSide?: string | undefined;
226
- isName?: boolean | undefined;
227
- isPk?: number | undefined;
228
- serverSide?: boolean | undefined;
229
- inTable?: boolean | undefined;
230
- allowEmtpyText?: boolean | undefined;
231
- mobileInputType?: string | undefined;
232
- extraRow?: number | undefined;
233
- inexactNumber?: number | undefined;
234
- visible?: boolean | undefined;
235
- width?: number | undefined;
236
- references?: string | undefined;
237
- referencesField?: string | undefined;
238
- aggregate?: string | undefined;
239
- specialDefaultValue?: string | undefined;
240
- specialValueWhenInsert?: string | undefined;
241
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
242
- description?: string | undefined;
243
- dataLength?: number | undefined;
244
- options?: (string | {
245
- option: string | number;
246
- label: string;
247
- })[] | undefined;
248
- inView?: boolean | undefined;
249
- sortMethod?: string | undefined;
250
- generatedAs?: string | undefined;
251
- } & {
252
- sequence: import("backend-plus").SequenceDefinition;
253
- nullable: true;
254
- editable: false;
255
- }>;
256
- } & {
257
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
258
- name: string;
259
- typeName: import("backend-plus").PgKnownTypes;
260
- label?: string | undefined;
261
- title?: string | undefined;
262
- nullable?: boolean | undefined;
263
- dbNullable?: boolean | undefined;
264
- defaultValue?: any;
265
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
266
- clientSide?: string | undefined;
267
- isName?: boolean | undefined;
268
- isPk?: number | undefined;
269
- serverSide?: boolean | undefined;
270
- inTable?: boolean | undefined;
271
- allowEmtpyText?: boolean | undefined;
272
- mobileInputType?: string | undefined;
273
- extraRow?: number | undefined;
274
- inexactNumber?: number | undefined;
275
- visible?: boolean | undefined;
276
- width?: number | undefined;
277
- references?: string | undefined;
278
- referencesField?: string | undefined;
279
- aggregate?: string | undefined;
280
- specialDefaultValue?: string | undefined;
281
- specialValueWhenInsert?: string | undefined;
282
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
283
- description?: string | undefined;
284
- dataLength?: number | undefined;
285
- options?: (string | {
286
- option: string | number;
287
- label: string;
288
- })[] | undefined;
289
- inView?: boolean | undefined;
290
- sortMethod?: string | undefined;
291
- generatedAs?: string | undefined;
292
- }> | Partial<procesamiento.EditableDbDefinition & {
293
- name: string;
294
- typeName: import("backend-plus").PgKnownTypes;
295
- label?: string | undefined;
296
- title?: string | undefined;
297
- nullable?: boolean | undefined;
298
- dbNullable?: boolean | undefined;
299
- defaultValue?: any;
300
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
301
- clientSide?: string | undefined;
302
- isName?: boolean | undefined;
303
- isPk?: number | undefined;
304
- serverSide?: boolean | undefined;
305
- inTable?: boolean | undefined;
306
- allowEmtpyText?: boolean | undefined;
307
- mobileInputType?: string | undefined;
308
- extraRow?: number | undefined;
309
- inexactNumber?: number | undefined;
310
- visible?: boolean | undefined;
311
- width?: number | undefined;
312
- references?: string | undefined;
313
- referencesField?: string | undefined;
314
- aggregate?: string | undefined;
315
- specialDefaultValue?: string | undefined;
316
- specialValueWhenInsert?: string | undefined;
317
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
318
- description?: string | undefined;
319
- dataLength?: number | undefined;
320
- options?: (string | {
321
- option: string | number;
322
- label: string;
323
- })[] | undefined;
324
- inView?: boolean | undefined;
325
- sortMethod?: string | undefined;
326
- generatedAs?: string | undefined;
327
- } & {
328
- sequence: import("backend-plus").SequenceDefinition;
329
- nullable: true;
330
- editable: false;
331
- }>;
166
+ [k: string]: Partial<procesamiento.FieldDefinition>;
167
+ } & {
168
+ [k: string]: Partial<procesamiento.FieldDefinition>;
332
169
  } & {
333
170
  [k: string]: Partial<procesamiento.FieldDefinition>;
334
171
  } & {
@@ -377,9 +214,11 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
377
214
  img: string[];
378
215
  normal: string[];
379
216
  } & {
380
- img?: string[] | undefined;
217
+ img: string[];
218
+ normal: string[];
381
219
  } & {
382
- img?: string[] | undefined;
220
+ img: string[];
221
+ normal: string[];
383
222
  } & {
384
223
  img: string[];
385
224
  normal: string[];
@@ -416,9 +255,9 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
416
255
  } & {
417
256
  allowedExts?: string[];
418
257
  } & {
419
- allowedExts?: string[] | undefined;
258
+ allowedExts?: string[];
420
259
  } & {
421
- allowedExts?: string[] | undefined;
260
+ allowedExts?: string[];
422
261
  } & {
423
262
  allowedExts?: string[];
424
263
  } & {
@@ -530,9 +369,14 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
530
369
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
531
370
  } & {
532
371
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
372
+ } & {
373
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
374
+ } & {
375
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
533
376
  } & {
534
377
  [k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
535
378
  };
379
+ specialSqlDefaultExpressions: Record<string, string>;
536
380
  i18n: {
537
381
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
538
382
  } & {
@@ -563,9 +407,14 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
563
407
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
564
408
  } & {
565
409
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
410
+ } & {
411
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
412
+ } & {
413
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
566
414
  } & {
567
415
  messages: Record<procesamiento.LangId, Record<string, string>>;
568
416
  };
417
+ activeSkinFiles: Set<string>;
569
418
  generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
570
419
  generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
571
420
  cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
@@ -616,7 +465,10 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
616
465
  message: string;
617
466
  fun: () => Promise<void>;
618
467
  }) => void);
619
- shutdownBackend: (() => Promise<void>) & ((opts?: {
468
+ shutdownBackend: ((opts?: {
469
+ skipTurnOff?: boolean;
470
+ onlyTurnOff?: boolean;
471
+ }) => Promise<void>) & ((opts?: {
620
472
  skipTurnOff?: boolean;
621
473
  onlyTurnOff?: boolean;
622
474
  }) => Promise<void>);
@@ -636,9 +488,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
636
488
  prepareTransformationSql: string[];
637
489
  endTransformationSql: string[];
638
490
  }>);
639
- specialSqlDefaultExpressions: Record<string, string>;
640
- activeSkinFiles: Set<string>;
641
- transformInput: <T_1>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T_1) => T_1;
491
+ transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T_1>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T_1) => T_1);
642
492
  };
643
493
  } & T;
644
494
  export declare var AppDmEncu: {
@@ -724,7 +574,7 @@ export declare var AppDmEncu: {
724
574
  menu: procesamiento.MenuInfoBase[];
725
575
  };
726
576
  prepareGetTables(): void;
727
- config: any;
577
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
728
578
  tablasDatos: import("consistencias").TablaDatos[];
729
579
  procedures: import("backend-plus").ProcedureDef[];
730
580
  procedure: {
@@ -769,21 +619,7 @@ export declare var AppDmEncu: {
769
619
  tableStructures: import("backend-plus").TableDefinitions;
770
620
  db: import("backend-plus").MotorDb;
771
621
  rootPath: string;
772
- caches: procesamiento.Caches & {
773
- procedures: {
774
- [k: string]: {
775
- timestamp: number;
776
- result: any;
777
- };
778
- };
779
- } & {
780
- procedures: {
781
- [k: string]: {
782
- timestamp: number;
783
- result: any;
784
- };
785
- };
786
- };
622
+ caches: import("backend-plus").Caches;
787
623
  fieldDomain: {
788
624
  [k: string]: Partial<procesamiento.FieldDefinition>;
789
625
  } & {
@@ -813,157 +649,9 @@ export declare var AppDmEncu: {
813
649
  } & {
814
650
  [k: string]: Partial<procesamiento.FieldDefinition>;
815
651
  } & {
816
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
817
- name: string;
818
- typeName: import("backend-plus").PgKnownTypes;
819
- label?: string | undefined;
820
- title?: string | undefined;
821
- nullable?: boolean | undefined;
822
- dbNullable?: boolean | undefined;
823
- defaultValue?: any;
824
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
825
- clientSide?: string | undefined;
826
- isName?: boolean | undefined;
827
- isPk?: number | undefined;
828
- serverSide?: boolean | undefined;
829
- inTable?: boolean | undefined;
830
- allowEmtpyText?: boolean | undefined;
831
- mobileInputType?: string | undefined;
832
- extraRow?: number | undefined;
833
- inexactNumber?: number | undefined;
834
- visible?: boolean | undefined;
835
- width?: number | undefined;
836
- references?: string | undefined;
837
- referencesField?: string | undefined;
838
- aggregate?: string | undefined;
839
- specialDefaultValue?: string | undefined;
840
- specialValueWhenInsert?: string | undefined;
841
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
842
- description?: string | undefined;
843
- dataLength?: number | undefined;
844
- options?: (string | {
845
- option: string | number;
846
- label: string;
847
- })[] | undefined;
848
- inView?: boolean | undefined;
849
- sortMethod?: string | undefined;
850
- generatedAs?: string | undefined;
851
- }> | Partial<procesamiento.EditableDbDefinition & {
852
- name: string;
853
- typeName: import("backend-plus").PgKnownTypes;
854
- label?: string | undefined;
855
- title?: string | undefined;
856
- nullable?: boolean | undefined;
857
- dbNullable?: boolean | undefined;
858
- defaultValue?: any;
859
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
860
- clientSide?: string | undefined;
861
- isName?: boolean | undefined;
862
- isPk?: number | undefined;
863
- serverSide?: boolean | undefined;
864
- inTable?: boolean | undefined;
865
- allowEmtpyText?: boolean | undefined;
866
- mobileInputType?: string | undefined;
867
- extraRow?: number | undefined;
868
- inexactNumber?: number | undefined;
869
- visible?: boolean | undefined;
870
- width?: number | undefined;
871
- references?: string | undefined;
872
- referencesField?: string | undefined;
873
- aggregate?: string | undefined;
874
- specialDefaultValue?: string | undefined;
875
- specialValueWhenInsert?: string | undefined;
876
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
877
- description?: string | undefined;
878
- dataLength?: number | undefined;
879
- options?: (string | {
880
- option: string | number;
881
- label: string;
882
- })[] | undefined;
883
- inView?: boolean | undefined;
884
- sortMethod?: string | undefined;
885
- generatedAs?: string | undefined;
886
- } & {
887
- sequence: import("backend-plus").SequenceDefinition;
888
- nullable: true;
889
- editable: false;
890
- }>;
891
- } & {
892
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
893
- name: string;
894
- typeName: import("backend-plus").PgKnownTypes;
895
- label?: string | undefined;
896
- title?: string | undefined;
897
- nullable?: boolean | undefined;
898
- dbNullable?: boolean | undefined;
899
- defaultValue?: any;
900
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
901
- clientSide?: string | undefined;
902
- isName?: boolean | undefined;
903
- isPk?: number | undefined;
904
- serverSide?: boolean | undefined;
905
- inTable?: boolean | undefined;
906
- allowEmtpyText?: boolean | undefined;
907
- mobileInputType?: string | undefined;
908
- extraRow?: number | undefined;
909
- inexactNumber?: number | undefined;
910
- visible?: boolean | undefined;
911
- width?: number | undefined;
912
- references?: string | undefined;
913
- referencesField?: string | undefined;
914
- aggregate?: string | undefined;
915
- specialDefaultValue?: string | undefined;
916
- specialValueWhenInsert?: string | undefined;
917
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
918
- description?: string | undefined;
919
- dataLength?: number | undefined;
920
- options?: (string | {
921
- option: string | number;
922
- label: string;
923
- })[] | undefined;
924
- inView?: boolean | undefined;
925
- sortMethod?: string | undefined;
926
- generatedAs?: string | undefined;
927
- }> | Partial<procesamiento.EditableDbDefinition & {
928
- name: string;
929
- typeName: import("backend-plus").PgKnownTypes;
930
- label?: string | undefined;
931
- title?: string | undefined;
932
- nullable?: boolean | undefined;
933
- dbNullable?: boolean | undefined;
934
- defaultValue?: any;
935
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
936
- clientSide?: string | undefined;
937
- isName?: boolean | undefined;
938
- isPk?: number | undefined;
939
- serverSide?: boolean | undefined;
940
- inTable?: boolean | undefined;
941
- allowEmtpyText?: boolean | undefined;
942
- mobileInputType?: string | undefined;
943
- extraRow?: number | undefined;
944
- inexactNumber?: number | undefined;
945
- visible?: boolean | undefined;
946
- width?: number | undefined;
947
- references?: string | undefined;
948
- referencesField?: string | undefined;
949
- aggregate?: string | undefined;
950
- specialDefaultValue?: string | undefined;
951
- specialValueWhenInsert?: string | undefined;
952
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
953
- description?: string | undefined;
954
- dataLength?: number | undefined;
955
- options?: (string | {
956
- option: string | number;
957
- label: string;
958
- })[] | undefined;
959
- inView?: boolean | undefined;
960
- sortMethod?: string | undefined;
961
- generatedAs?: string | undefined;
962
- } & {
963
- sequence: import("backend-plus").SequenceDefinition;
964
- nullable: true;
965
- editable: false;
966
- }>;
652
+ [k: string]: Partial<procesamiento.FieldDefinition>;
653
+ } & {
654
+ [k: string]: Partial<procesamiento.FieldDefinition>;
967
655
  } & {
968
656
  [k: string]: Partial<procesamiento.FieldDefinition>;
969
657
  } & {
@@ -1012,9 +700,11 @@ export declare var AppDmEncu: {
1012
700
  img: string[];
1013
701
  normal: string[];
1014
702
  } & {
1015
- img?: string[] | undefined;
703
+ img: string[];
704
+ normal: string[];
1016
705
  } & {
1017
- img?: string[] | undefined;
706
+ img: string[];
707
+ normal: string[];
1018
708
  } & {
1019
709
  img: string[];
1020
710
  normal: string[];
@@ -1051,9 +741,9 @@ export declare var AppDmEncu: {
1051
741
  } & {
1052
742
  allowedExts?: string[];
1053
743
  } & {
1054
- allowedExts?: string[] | undefined;
744
+ allowedExts?: string[];
1055
745
  } & {
1056
- allowedExts?: string[] | undefined;
746
+ allowedExts?: string[];
1057
747
  } & {
1058
748
  allowedExts?: string[];
1059
749
  } & {
@@ -1165,9 +855,14 @@ export declare var AppDmEncu: {
1165
855
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1166
856
  } & {
1167
857
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
858
+ } & {
859
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
860
+ } & {
861
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1168
862
  } & {
1169
863
  [k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
1170
864
  };
865
+ specialSqlDefaultExpressions: Record<string, string>;
1171
866
  i18n: {
1172
867
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1173
868
  } & {
@@ -1198,9 +893,14 @@ export declare var AppDmEncu: {
1198
893
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1199
894
  } & {
1200
895
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
896
+ } & {
897
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
898
+ } & {
899
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1201
900
  } & {
1202
901
  messages: Record<procesamiento.LangId, Record<string, string>>;
1203
902
  };
903
+ activeSkinFiles: Set<string>;
1204
904
  generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
1205
905
  generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
1206
906
  cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
@@ -1251,7 +951,10 @@ export declare var AppDmEncu: {
1251
951
  message: string;
1252
952
  fun: () => Promise<void>;
1253
953
  }) => void);
1254
- shutdownBackend: (() => Promise<void>) & ((opts?: {
954
+ shutdownBackend: ((opts?: {
955
+ skipTurnOff?: boolean;
956
+ onlyTurnOff?: boolean;
957
+ }) => Promise<void>) & ((opts?: {
1255
958
  skipTurnOff?: boolean;
1256
959
  onlyTurnOff?: boolean;
1257
960
  }) => Promise<void>);
@@ -1271,9 +974,7 @@ export declare var AppDmEncu: {
1271
974
  prepareTransformationSql: string[];
1272
975
  endTransformationSql: string[];
1273
976
  }>);
1274
- specialSqlDefaultExpressions: Record<string, string>;
1275
- activeSkinFiles: Set<string>;
1276
- transformInput: <T>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T) => T;
977
+ transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T) => T);
1277
978
  };
1278
979
  } & (new (...args: any[]) => {
1279
980
  getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
@@ -1417,6 +1118,7 @@ export declare var AppDmEncu: {
1417
1118
  } & {
1418
1119
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1419
1120
  };
1121
+ specialSqlDefaultExpressions: Record<string, string>;
1420
1122
  i18n: {
1421
1123
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1422
1124
  } & {
@@ -1434,6 +1136,7 @@ export declare var AppDmEncu: {
1434
1136
  } & {
1435
1137
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1436
1138
  };
1139
+ activeSkinFiles: Set<string>;
1437
1140
  }) & (new (...args: any[]) => {
1438
1141
  config: procesamiento.ConsistenciasAppConfig;
1439
1142
  getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
@@ -1520,6 +1223,7 @@ export declare var AppDmEncu: {
1520
1223
  } & {
1521
1224
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1522
1225
  };
1226
+ specialSqlDefaultExpressions: Record<string, string>;
1523
1227
  i18n: {
1524
1228
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1525
1229
  } & {
@@ -1529,6 +1233,7 @@ export declare var AppDmEncu: {
1529
1233
  } & {
1530
1234
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1531
1235
  };
1236
+ activeSkinFiles: Set<string>;
1532
1237
  }) & (new (...args: any[]) => {
1533
1238
  configStaticConfig(): void;
1534
1239
  getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
@@ -1588,15 +1293,17 @@ export declare var AppDmEncu: {
1588
1293
  } & {
1589
1294
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1590
1295
  };
1296
+ specialSqlDefaultExpressions: Record<string, string>;
1591
1297
  i18n: {
1592
1298
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1593
1299
  } & {
1594
1300
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1595
1301
  };
1302
+ activeSkinFiles: Set<string>;
1596
1303
  }) & (new (...args: any[]) => {
1597
1304
  configStaticConfig(): void;
1598
1305
  generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinition;
1599
- getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
1306
+ getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
1600
1307
  clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1601
1308
  prepareGetTables(): void;
1602
1309
  tablasDatos: procesamiento.TablaDatos[];
@@ -1606,193 +1313,33 @@ export declare var AppDmEncu: {
1606
1313
  generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
1607
1314
  procedures: import("backend-plus").ProcedureDef[];
1608
1315
  procedure: {
1609
- [key: string]: import("backend-plus").ProcedureDef;
1316
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1610
1317
  } & {
1611
- [key: string]: import("backend-plus").ProcedureDef;
1318
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1612
1319
  };
1613
1320
  app: import("backend-plus").ExpressPlus;
1614
1321
  getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1615
1322
  tableStructures: import("backend-plus").TableDefinitions;
1616
- db: typeof import("pg-promise-strict");
1617
- config: any;
1323
+ db: import("backend-plus").MotorDb;
1324
+ config: import("backend-plus").AppConfig;
1618
1325
  rootPath: string;
1619
- caches: {
1620
- procedures: {
1621
- [k: string]: {
1622
- timestamp: number;
1623
- result: any;
1624
- };
1625
- };
1626
- } & {
1627
- procedures: {
1628
- [k: string]: {
1629
- timestamp: number;
1630
- result: any;
1631
- };
1632
- };
1633
- };
1326
+ caches: import("backend-plus").Caches;
1634
1327
  fieldDomain: {
1635
- [k: string]: Partial<import("backend-plus").EditableDbDefinition & {
1636
- name: string;
1637
- typeName: import("backend-plus").PgKnownTypes;
1638
- label?: string | undefined;
1639
- title?: string | undefined;
1640
- nullable?: boolean | undefined;
1641
- dbNullable?: boolean | undefined;
1642
- defaultValue?: any;
1643
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1644
- clientSide?: string | undefined;
1645
- isName?: boolean | undefined;
1646
- isPk?: number | undefined;
1647
- serverSide?: boolean | undefined;
1648
- inTable?: boolean | undefined;
1649
- allowEmtpyText?: boolean | undefined;
1650
- mobileInputType?: string | undefined;
1651
- extraRow?: number | undefined;
1652
- inexactNumber?: number | undefined;
1653
- visible?: boolean | undefined;
1654
- width?: number | undefined;
1655
- references?: string | undefined;
1656
- referencesField?: string | undefined;
1657
- aggregate?: string | undefined;
1658
- specialDefaultValue?: string | undefined;
1659
- specialValueWhenInsert?: string | undefined;
1660
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1661
- description?: string | undefined;
1662
- dataLength?: number | undefined;
1663
- options?: (string | {
1664
- option: string | number;
1665
- label: string;
1666
- })[] | undefined;
1667
- inView?: boolean | undefined;
1668
- sortMethod?: string | undefined;
1669
- generatedAs?: string | undefined;
1670
- }> | Partial<import("backend-plus").EditableDbDefinition & {
1671
- name: string;
1672
- typeName: import("backend-plus").PgKnownTypes;
1673
- label?: string | undefined;
1674
- title?: string | undefined;
1675
- nullable?: boolean | undefined;
1676
- dbNullable?: boolean | undefined;
1677
- defaultValue?: any;
1678
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1679
- clientSide?: string | undefined;
1680
- isName?: boolean | undefined;
1681
- isPk?: number | undefined;
1682
- serverSide?: boolean | undefined;
1683
- inTable?: boolean | undefined;
1684
- allowEmtpyText?: boolean | undefined;
1685
- mobileInputType?: string | undefined;
1686
- extraRow?: number | undefined;
1687
- inexactNumber?: number | undefined;
1688
- visible?: boolean | undefined;
1689
- width?: number | undefined;
1690
- references?: string | undefined;
1691
- referencesField?: string | undefined;
1692
- aggregate?: string | undefined;
1693
- specialDefaultValue?: string | undefined;
1694
- specialValueWhenInsert?: string | undefined;
1695
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1696
- description?: string | undefined;
1697
- dataLength?: number | undefined;
1698
- options?: (string | {
1699
- option: string | number;
1700
- label: string;
1701
- })[] | undefined;
1702
- inView?: boolean | undefined;
1703
- sortMethod?: string | undefined;
1704
- generatedAs?: string | undefined;
1705
- } & {
1706
- sequence: import("backend-plus").SequenceDefinition;
1707
- nullable: true;
1708
- editable: false;
1709
- }>;
1328
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1710
1329
  } & {
1711
- [k: string]: Partial<import("backend-plus").EditableDbDefinition & {
1712
- name: string;
1713
- typeName: import("backend-plus").PgKnownTypes;
1714
- label?: string | undefined;
1715
- title?: string | undefined;
1716
- nullable?: boolean | undefined;
1717
- dbNullable?: boolean | undefined;
1718
- defaultValue?: any;
1719
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1720
- clientSide?: string | undefined;
1721
- isName?: boolean | undefined;
1722
- isPk?: number | undefined;
1723
- serverSide?: boolean | undefined;
1724
- inTable?: boolean | undefined;
1725
- allowEmtpyText?: boolean | undefined;
1726
- mobileInputType?: string | undefined;
1727
- extraRow?: number | undefined;
1728
- inexactNumber?: number | undefined;
1729
- visible?: boolean | undefined;
1730
- width?: number | undefined;
1731
- references?: string | undefined;
1732
- referencesField?: string | undefined;
1733
- aggregate?: string | undefined;
1734
- specialDefaultValue?: string | undefined;
1735
- specialValueWhenInsert?: string | undefined;
1736
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1737
- description?: string | undefined;
1738
- dataLength?: number | undefined;
1739
- options?: (string | {
1740
- option: string | number;
1741
- label: string;
1742
- })[] | undefined;
1743
- inView?: boolean | undefined;
1744
- sortMethod?: string | undefined;
1745
- generatedAs?: string | undefined;
1746
- }> | Partial<import("backend-plus").EditableDbDefinition & {
1747
- name: string;
1748
- typeName: import("backend-plus").PgKnownTypes;
1749
- label?: string | undefined;
1750
- title?: string | undefined;
1751
- nullable?: boolean | undefined;
1752
- dbNullable?: boolean | undefined;
1753
- defaultValue?: any;
1754
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1755
- clientSide?: string | undefined;
1756
- isName?: boolean | undefined;
1757
- isPk?: number | undefined;
1758
- serverSide?: boolean | undefined;
1759
- inTable?: boolean | undefined;
1760
- allowEmtpyText?: boolean | undefined;
1761
- mobileInputType?: string | undefined;
1762
- extraRow?: number | undefined;
1763
- inexactNumber?: number | undefined;
1764
- visible?: boolean | undefined;
1765
- width?: number | undefined;
1766
- references?: string | undefined;
1767
- referencesField?: string | undefined;
1768
- aggregate?: string | undefined;
1769
- specialDefaultValue?: string | undefined;
1770
- specialValueWhenInsert?: string | undefined;
1771
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1772
- description?: string | undefined;
1773
- dataLength?: number | undefined;
1774
- options?: (string | {
1775
- option: string | number;
1776
- label: string;
1777
- })[] | undefined;
1778
- inView?: boolean | undefined;
1779
- sortMethod?: string | undefined;
1780
- generatedAs?: string | undefined;
1781
- } & {
1782
- sequence: import("backend-plus").SequenceDefinition;
1783
- nullable: true;
1784
- editable: false;
1785
- }>;
1330
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1786
1331
  };
1787
1332
  exts: {
1788
- img?: string[] | undefined;
1333
+ img: string[];
1334
+ normal: string[];
1789
1335
  } & {
1790
- img?: string[] | undefined;
1336
+ img: string[];
1337
+ normal: string[];
1791
1338
  };
1792
1339
  optsGenericForAll: {
1793
- allowedExts?: string[] | undefined;
1340
+ allowedExts?: string[];
1794
1341
  } & {
1795
- allowedExts?: string[] | undefined;
1342
+ allowedExts?: string[];
1796
1343
  };
1797
1344
  sqls: {
1798
1345
  [k: string]: string;
@@ -1806,6 +1353,18 @@ export declare var AppDmEncu: {
1806
1353
  };
1807
1354
  dbUserNameExpr: string;
1808
1355
  dbUserRolExpr: string;
1356
+ specialValueWhenInsert: {
1357
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1358
+ } & {
1359
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1360
+ };
1361
+ specialSqlDefaultExpressions: Record<string, string>;
1362
+ i18n: {
1363
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1364
+ } & {
1365
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1366
+ };
1367
+ activeSkinFiles: Set<string>;
1809
1368
  }) & {
1810
1369
  new (...args: any[]): {
1811
1370
  tablasDatos: procesamiento.TablaDatos[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dmencu",
3
3
  "description": "DM Encu - Encuestas en dispositivo móvil",
4
- "version": "3.2.5",
4
+ "version": "3.2.6",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/dmencu",
@@ -16,8 +16,8 @@
16
16
  "backend-plus": "^2.7.0",
17
17
  "cast-error": "^0.1.3",
18
18
  "like-ar": "^0.3.9",
19
- "meta-enc": "^1.4.18",
20
- "procesamiento": "^2.0.10",
19
+ "meta-enc": "^1.4.19",
20
+ "procesamiento": "^2.0.11",
21
21
  "qrcode": "^1.5.3",
22
22
  "react": "~17.0.2",
23
23
  "react-dom": "~17.0.2",