@acorex/platform 20.9.34 → 20.9.36
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.
- package/fesm2022/acorex-platform-layout-entity.mjs +85 -16
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +3 -2
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-layout-entity.d.ts +5 -1
- package/types/acorex-platform-layout-widgets.d.ts +2 -1
|
@@ -32,7 +32,7 @@ import { FormsModule } from '@angular/forms';
|
|
|
32
32
|
import * as i3 from '@acorex/components/select-box';
|
|
33
33
|
import { AXSelectBoxComponent, AXSelectBoxModule } from '@acorex/components/select-box';
|
|
34
34
|
import { setSmart, extractValue, AXPRegionalSetting, shouldUseLocaleMapShape, buildLocaleTextMapValue, isSelectionValueEqual, AXPWidgetsCatalog, AXPDataGenerator, AXP_INTEGRATION_AUTH_METHOD_TYPE, sortByMultiLanguageString, isFormValueEqual, normalizeDefinitionCategories } from '@acorex/platform/contracts';
|
|
35
|
-
import { set, get, castArray, isNil, isNull, isEmpty, first, cloneDeep, isEqual, isNumber, defaultTo, has
|
|
35
|
+
import { set, get, castArray, isNil, isNull, isEmpty, first, isPlainObject, isString, cloneDeep, isEqual, isNumber, defaultTo, has } from 'lodash-es';
|
|
36
36
|
import * as i2$2 from '@acorex/components/loading';
|
|
37
37
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
38
38
|
import { AXPCommandService, AXPQueryService, provideQuerySetups } from '@acorex/platform/runtime';
|
|
@@ -5340,9 +5340,10 @@ const AXPDragDropListWidget = {
|
|
|
5340
5340
|
/**
|
|
5341
5341
|
* Prepares options.node for rendering under a parent value widget:
|
|
5342
5342
|
* clears path/name so the inner value widget inherits the parent's fullPath.
|
|
5343
|
+
* Returns null while options.node is still an unevaluated expression string or otherwise invalid.
|
|
5343
5344
|
*/
|
|
5344
5345
|
function prepareNodeRendererChild(source, mode) {
|
|
5345
|
-
if (!source) {
|
|
5346
|
+
if (!isPlainObject(source) || !isString(source.type)) {
|
|
5346
5347
|
return null;
|
|
5347
5348
|
}
|
|
5348
5349
|
const node = cloneDeep(source);
|