backend-plus 2.6.4 → 2.6.5
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/lib/backend-plus.d.ts +3 -0
- package/lib/procedures-table.js +1 -1
- package/package.json +1 -1
- package/unlogged/my-ajax.js +1 -1
package/lib/backend-plus.d.ts
CHANGED
|
@@ -338,6 +338,9 @@ export type TableDefinition = EditableDbDefinition & {
|
|
|
338
338
|
filterColumns?:{column:string, operator:string, value:any}[]
|
|
339
339
|
gridAlias?:string /* front-end css my-table = gridAlias */
|
|
340
340
|
lookupFields?:string[] /* fields that should be used in lookup dialogs; if not specified, fields with isName:true are used */
|
|
341
|
+
functionDef?:{
|
|
342
|
+
parameters?:ProcedureParameter[]
|
|
343
|
+
}
|
|
341
344
|
}
|
|
342
345
|
export interface DetailTable { table?: string, fields: FieldsForConnectDetailTable, abr: string, label?: string, refreshParent?:boolean, refreshFromParent?:boolean, wScreen?:string, condition?:string }
|
|
343
346
|
export type TableDefinitionFunction = (context: ContextForDump, opts?:any) => TableDefinition;
|
package/lib/procedures-table.js
CHANGED
|
@@ -85,7 +85,7 @@ ProcedureTables = [
|
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @param {*} context
|
|
88
|
-
* @param {{table:string, fixedFields:{fieldName:string, value:any, range?:string, until?:string}[], paramfun:string[], pick:string, retrieveIgnoringWhere:boolean}} parameters
|
|
88
|
+
* @param {{table:string, fixedFields:{fieldName:string, value:any, range?:string, until?:string}[], paramfun:string[], pick:string, retrieveIgnoringWhere:boolean}} parameters
|
|
89
89
|
*/
|
|
90
90
|
async function tableDatum(context, parameters){
|
|
91
91
|
var be=context.be;
|
package/package.json
CHANGED
package/unlogged/my-ajax.js
CHANGED
|
@@ -645,7 +645,7 @@ myAjax.UriSearchToObjectParams={
|
|
|
645
645
|
fc :{ encode:function(x){ return json4all.toUrl(x); }, decode:function(x){ return json4all.parse(x)} },
|
|
646
646
|
ff :{ encode:function(x){ return json4all.toUrl(x); }, decode:function(x){ return json4all.parse(x)} },
|
|
647
647
|
up :{ encode:function(x){ return json4all.toUrl(x); }, decode:function(x){ return json4all.parse(x)} },
|
|
648
|
-
pf :{ encode:function(x){ return
|
|
648
|
+
pf :{ encode:function(x){ return json4all.toUrl(x); }, decode:function(x){ return json4all.parse(x)} },
|
|
649
649
|
td :{ encode:function(x){ return json4all.toUrl(x); }, decode:function(x){ return json4all.parse(x)} },
|
|
650
650
|
today :{ encode:function(x){ return JSON.stringify(x); }, decode:function(x){ return bestGlobals.date.iso((x+'').substr(0,10))} },
|
|
651
651
|
section :{ showInMenu:true , encode:noChange , decode:noChange },
|