export const AppFuncConfig = [
    {{#each app.allPSAppFuncs as | func |}}
      {
        name: "{{func.name}}",
        funcTag: "{{func.codeName}}",
        appFuncType: "{{func.appFuncType}}",
        {{#if (eq func.appFuncType 'OPENHTMLPAGE')}}
        htmlPageUrl: "{{func.htmlPageUrl}}",
        {{/if}}
        {{#if (eq func.appFuncType 'APPVIEW')}}
        openMode: "{{func.openMode}}",
        viewName: "{{func.psAppView.name}}",
        viewCodeName: "{{func.psAppView.codeName}}",
        {{/if}}
        navParam: {
        {{#if func.psNavigateParams}}
          {{#each func.psNavigateParams as | param |}}
          {{lowerCase param.key}}: "{{#if param.rawValue}}{{param.value}}{{else}}%{{lowerCase param.value}}%{{/if}}",
          {{/each}}
        {{/if}}
        },
        navContext: {
        {{#if func.psNavigateContexts}}
          {{#each func.psNavigateContexts as | context |}}
          {{lowerCase context.key}}: "{{#if context.rawValue}}{{context.value}}{{else}}%{{lowerCase context.value}}%{{/if}}",
          {{/each}}
        {{/if}}
        },
      },
    {{/each}}
    ]