| | |
| | | fieldsItem: '/system/fields-item', |
| | | whMat: '/basic-info/wh-mat', |
| | | matnr: '/basic-info/wh-mat', |
| | | matnrPrintTemplate: '/basic-info/matnr-print-template', |
| | | matnrGroup: '/basic-info/matnr-group', |
| | | locType: '/basic-info/loc-type', |
| | | taskPathTemplate: '/basic-info/task-path-template', |
| | |
| | | return null |
| | | } |
| | | |
| | | const path = resolvePath(node, { component, isFirstLevel, hasChildren, rawRoute }) |
| | | const path = resolvePath(node, { component, isFirstLevel, rawRoute }) |
| | | const meta = buildMeta(node) |
| | | const adapted = { |
| | | id: normalizeId(node.id), |
| | |
| | | return PHASE_1_COMPONENTS[normalizedKey] || normalizeComponentPath(fullRoutePath) |
| | | } |
| | | |
| | | function resolvePath(node, { component, isFirstLevel, hasChildren, rawRoute }) { |
| | | function resolvePath(node, { component, isFirstLevel, rawRoute }) { |
| | | if (rawRoute) { |
| | | if (!isFirstLevel && rawRoute.startsWith('/')) { |
| | | return normalizeComponentPath(rawRoute) |