@wavemaker/app-ng-runtime 12.0.0-next.140527 → 12.0.0-next.140529
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.
- app-ng-runtime/components/base/bundles/index.umd.js +7 -1
- app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -2
- app-ng-runtime/components/base/fesm2022/index.mjs +7 -1
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +4 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +5 -1
- app-ng-runtime/components/data/form/fesm2022/index.mjs +4 -0
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +1 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +3 -3
- app-ng-runtime/components/data/table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +3 -3
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +4 -4
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +3 -3
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +18 -12
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +20 -14
- app-ng-runtime/components/input/default/fesm2022/index.mjs +19 -13
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +5 -5
- app-ng-runtime/core/esm2022/utils/utils.mjs +3 -2
- app-ng-runtime/core/fesm2022/index.mjs +2 -1
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Attribute, ImplicitReceiver, PropertyRead, LiteralPrimitive, LiteralArray, LiteralMap, PropertyWrite, KeyedRead, PrefixNot, Unary, Binary, Conditional, Call, Chain, BindingPipe, Lexer, Parser } from '@angular/compiler';
|
|
2
2
|
import { isArray, startsWith, includes, get, flatten, isEqual, isObject as isObject$1, clone, camelCase, split, map, attempt, isError, isFunction, isDate, isString, cloneDeep, identity, intersection, omit, keys, toLower, replace as replace$1, forEach, trim, indexOf, every, isEqualWith, isNumber, isUndefined, isNull, filter, noop as noop$2, toUpper, assign, merge, isEmpty, debounce as debounce$1, isNil } from 'lodash-es';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import 'x2js';
|
|
4
5
|
import * as i0 from '@angular/core';
|
|
5
6
|
import { Injectable, inject, NgModule } from '@angular/core';
|
|
6
7
|
import * as i1 from '@angular/common/http';
|
|
@@ -2784,7 +2785,7 @@ const getValidJSON = (content) => {
|
|
|
2784
2785
|
}
|
|
2785
2786
|
};
|
|
2786
2787
|
const xmlToJson = (xmlString) => {
|
|
2787
|
-
const x2jsObj = new X2JS({ 'emptyNodeForm': '
|
|
2788
|
+
const x2jsObj = new X2JS({ 'emptyNodeForm': 'object', 'attributePrefix': '', 'enableToStringFunc': false });
|
|
2788
2789
|
let json = x2jsObj.xml2js(xmlString);
|
|
2789
2790
|
if (json) {
|
|
2790
2791
|
json = get(json, Object.keys(json)[0]);
|