@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 unprefixed elements to XHTML and `macros:*` to `sap.fe.macros`. */
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 unprefixed elements to XHTML and `macros:*` to `sap.fe.macros`. */
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
- 'macros': 'sap.fe.macros'
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fe-fpm-writer",
3
3
  "description": "SAP Fiori elements flexible programming model writer",
4
- "version": "1.3.3",
4
+ "version": "1.3.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",