@sap-ux/fe-fpm-writer 1.3.3 → 1.3.4
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,6 @@
|
|
|
1
1
|
import { type Options } from '@xmldom/xmldom';
|
|
2
2
|
import type { Editor } from 'mem-fs-editor';
|
|
3
|
-
/** Namespace map for `@xmldom/xmldom`: maps
|
|
3
|
+
/** Namespace map for `@xmldom/xmldom`: maps namespace prefixes to their URIs for UI5 view and fragment files. */
|
|
4
4
|
export declare const TEMPLATE_NAMESPACES: Record<string, string>;
|
|
5
5
|
/** `Options` extended with `xmlns` and `onError` */
|
|
6
6
|
type DOMParserOptions = Options & {
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { DOMParser } from '@xmldom/xmldom';
|
|
2
2
|
import * as xpath from 'xpath';
|
|
3
3
|
import { MACROS_NAMESPACE_URI } from '../../types.js';
|
|
4
|
-
/** Namespace map for `@xmldom/xmldom`: maps
|
|
4
|
+
/** Namespace map for `@xmldom/xmldom`: maps namespace prefixes to their URIs for UI5 view and fragment files. */
|
|
5
5
|
export const TEMPLATE_NAMESPACES = {
|
|
6
6
|
'': 'http://www.w3.org/1999/xhtml',
|
|
7
|
-
'
|
|
7
|
+
'mvc': 'sap.ui.core.mvc',
|
|
8
|
+
'core': 'sap.ui.core',
|
|
9
|
+
'macros': 'sap.fe.macros',
|
|
10
|
+
'macrosTable': 'sap.fe.macros.table',
|
|
11
|
+
'macrosChart': 'sap.fe.macros.chart',
|
|
12
|
+
'richtexteditor': 'sap.fe.macros.richtexteditor'
|
|
8
13
|
};
|
|
9
14
|
/**
|
|
10
15
|
* Builds a `DOMParser` options object.
|
package/package.json
CHANGED