This commit is contained in:
2022-01-22 00:23:24 +00:00
parent c1c1172942
commit 1f61d19b85
5 changed files with 26 additions and 5 deletions

View File

@@ -270,7 +270,7 @@ TODO: 1 BETA DOCS:
- 1 todo: Search limited to a type is *not* working, it just returns all results, search from a Customer for example and you will see all object results - 1 todo: Search limited to a type is *not* working, it just returns all results, search from a Customer for example and you will see all object results
- 1 todo: time control in native browser format isn't showing a title at all, check date as well. Date and time is ok - 1 todo: time control in native browser format isn't showing a title at all, check date as well. Date and time is ok
- 1 todo: help about does it show user has native date time input use browser override?
- 2: history form now shows user activity for a report which is ok but it shows like this: - 2: history form now shows user activity for a report which is ok but it shows like this:
"LT:Report id: "2" LT:Customer (1082) LT:User AyaNova SuperUser" "LT:Report id: "2" LT:Customer (1082) LT:User AyaNova SuperUser"
@@ -850,5 +850,6 @@ BUILD 8.0.0-beta.0.12 CHANGES OF NOTE
- case 4082 no changes see notes - case 4082 no changes see notes
- case 4088 fixed - case 4088 fixed
- case 4089 documented - case 4089 documented
- case 4090 fixed
- TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html - TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html

View File

@@ -211,7 +211,7 @@ export default {
} }
} }
} }
console.log("throwing");
throw new Error(e); throw new Error(e);
} }
if (jobStatus == 3) { if (jobStatus == 3) {

View File

@@ -564,6 +564,8 @@ export default {
target: monaco.languages.typescript.ScriptTarget.ES2020, target: monaco.languages.typescript.ScriptTarget.ES2020,
allowNonTsExtensions: true allowNonTsExtensions: true
}); });
//https://github.com/handlebars-lang/handlebars.js/blob/master/types/index.d.ts
monaco.languages.typescript.javascriptDefaults.addExtraLib( monaco.languages.typescript.javascriptDefaults.addExtraLib(
[ [
"export declare global function ayGetTranslations(keys:Array): promise<void>;", "export declare global function ayGetTranslations(keys:Array): promise<void>;",
@@ -573,7 +575,27 @@ export default {
"export declare global function ayPostToAPI(route:string,data?:object,token?:string): promise<result:object>;", "export declare global function ayPostToAPI(route:string,data?:object,token?:string): promise<result:object>;",
"export declare global function ayGetTranslations(keys:Array): promise<void>;", "export declare global function ayGetTranslations(keys:Array): promise<void>;",
"export declare global declare namespace AYMETA {export const ayClientMetaData; export const ayServerMetaData; export const ayReportMetaData; }", "export declare global declare namespace AYMETA {export const ayClientMetaData; export const ayServerMetaData; export const ayReportMetaData; }",
"export declare global declare namespace Handlebars {export function registerHelper(name: string, fn: HelperDelegate): void; export function registerHelper(name: HelperDeclareSpec): void;}" `export declare global declare namespace Handlebars {export function registerHelper(name: string, fn: HelperDelegate): void; export function registerHelper(name: HelperDeclareSpec): void;
export function SafeString(value:string):string; export function escapeExpression(value:string):string;
export function createFrame(object: any): any;
export function log(level: number, obj: any): void;
export namespace Utils {
export function escapeExpression(str: string): string; export function createFrame(object: any): any; export function blockParams(obj: any[], ids: any[]): any[];
export function isEmpty(obj: any) : boolean; export function extend(obj: any, ...source: any[]): any; export function toString(obj: any): string; export function isArray(obj: any): boolean;
export function isFunction(obj: any): boolean;
}
export interface Logger {
DEBUG: number;
INFO: number;
WARN: number;
ERROR: number;
level: number;
methodMap: { [level: number]: string };
log(level: number, obj: string): void;
}
}`
].join("\n"), ].join("\n"),
"filename/facts.d.ts" "filename/facts.d.ts"
); );

View File

@@ -38,7 +38,6 @@ export default {
}; };
}, },
async created() { async created() {
console.log("hmrvw-created route params:", this.$route.params);
const vm = this; const vm = this;
vm.rights = window.$gz.role.getRights(window.$gz.type.Review); vm.rights = window.$gz.role.getRights(window.$gz.type.Review);
window.$gz.eventBus.$on("menu-click", clickHandler); window.$gz.eventBus.$on("menu-click", clickHandler);

View File

@@ -318,7 +318,6 @@ export default {
); );
}, },
nativeDateTimeInputChanged() { nativeDateTimeInputChanged() {
console.log("Setting native date time input now");
const vm = this; const vm = this;
//vm.nativeDateTimeInput = !vm.nativeDateTimeInput; //vm.nativeDateTimeInput = !vm.nativeDateTimeInput;
vm.$store.commit("setNativeDateTimeInput", vm.nativeDateTimeInput); vm.$store.commit("setNativeDateTimeInput", vm.nativeDateTimeInput);