@wavemaker/app-ng-runtime 11.5.0-next.24739 → 11.5.0-next.24741
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 +3 -40
- app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +3 -27
- app-ng-runtime/components/base/esm2020/widgets/common/lazy-load/lazy-load.directive.mjs +3 -16
- app-ng-runtime/components/base/esm2020/widgets/common/partial-param/partial-param.directive.mjs +2 -2
- app-ng-runtime/components/base/fesm2015/index.mjs +4 -41
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +4 -41
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +0 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +1 -0
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +1 -0
- app-ng-runtime/components/dialogs/design-dialog/esm2020/dialog.component.mjs +2 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs +1 -0
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs +1 -0
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +30 -0
- app-ng-runtime/core/esm2020/public_api.mjs +2 -2
- app-ng-runtime/core/esm2020/utils/utils.mjs +28 -1
- app-ng-runtime/core/fesm2015/index.mjs +30 -1
- app-ng-runtime/core/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/core/fesm2020/index.mjs +30 -1
- app-ng-runtime/core/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/core/public_api.d.ts +1 -1
- app-ng-runtime/core/utils/utils.d.ts +2 -0
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +3 -0
- app-ng-runtime/runtime/base/esm2020/services/dynamic-component-ref-provider.service.mjs +4 -1
- app-ng-runtime/runtime/base/fesm2015/index.mjs +3 -0
- app-ng-runtime/runtime/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/fesm2020/index.mjs +3 -0
- app-ng-runtime/runtime/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +1 -0
- app-ng-runtime/runtime/dynamic/esm2020/app/services/component-ref-provider.service.mjs +2 -1
- app-ng-runtime/runtime/dynamic/fesm2015/index.mjs +1 -0
- app-ng-runtime/runtime/dynamic/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/dynamic/fesm2020/index.mjs +1 -0
- app-ng-runtime/runtime/dynamic/fesm2020/index.mjs.map +1 -1
|
@@ -3780,6 +3780,33 @@ const setListClass = (scope) => {
|
|
|
3780
3780
|
scope.itemsPerRowClass = 'col-xs-12';
|
|
3781
3781
|
}
|
|
3782
3782
|
};
|
|
3783
|
+
const findParent = (lView, viewParentApp) => {
|
|
3784
|
+
let parent = findViewParent(lView);
|
|
3785
|
+
return parent ? parent : viewParentApp;
|
|
3786
|
+
};
|
|
3787
|
+
const findViewParent = (lView) => {
|
|
3788
|
+
if (lView[3] === null) {
|
|
3789
|
+
return lView[8];
|
|
3790
|
+
}
|
|
3791
|
+
let parentlView = lView[3];
|
|
3792
|
+
if (typeof lView[1] === "boolean") {
|
|
3793
|
+
return findViewParent(parentlView);
|
|
3794
|
+
}
|
|
3795
|
+
let componentType = lView[1]["type"];
|
|
3796
|
+
if (componentType === 0 || componentType === 1) {
|
|
3797
|
+
let p = lView[8];
|
|
3798
|
+
// ts-ignore
|
|
3799
|
+
if (p.hasOwnProperty("isDialogComponent")) {
|
|
3800
|
+
return findViewParent(parentlView);
|
|
3801
|
+
}
|
|
3802
|
+
else {
|
|
3803
|
+
return p;
|
|
3804
|
+
}
|
|
3805
|
+
}
|
|
3806
|
+
else {
|
|
3807
|
+
return findViewParent(parentlView);
|
|
3808
|
+
}
|
|
3809
|
+
};
|
|
3783
3810
|
|
|
3784
3811
|
var Utils = /*#__PURE__*/Object.freeze({
|
|
3785
3812
|
__proto__: null,
|
|
@@ -3804,8 +3831,10 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
3804
3831
|
extractCurrentItemExpr: extractCurrentItemExpr,
|
|
3805
3832
|
extractType: extractType,
|
|
3806
3833
|
fetchContent: fetchContent,
|
|
3834
|
+
findParent: findParent,
|
|
3807
3835
|
findRootContainer: findRootContainer,
|
|
3808
3836
|
findValueOf: findValueOf,
|
|
3837
|
+
findViewParent: findViewParent,
|
|
3809
3838
|
generateGUId: generateGUId,
|
|
3810
3839
|
getAbortableDefer: getAbortableDefer,
|
|
3811
3840
|
getAndroidVersion: getAndroidVersion,
|
|
@@ -5135,5 +5164,5 @@ class LRUCache {
|
|
|
5135
5164
|
* Generated bundle index. Do not edit.
|
|
5136
5165
|
*/
|
|
5137
5166
|
|
|
5138
|
-
export { $appDigest, $invokeWatchers, $parseEvent, $parseExpr, $unwatch, $watch, AbstractDialogService, AbstractHttpService, AbstractI18nService, AbstractNavigationService, AbstractSpinnerService, AbstractToasterService, App, AppConstants, AppDefaults, CURRENCY_INFO, ComponentType, ConstantService, CoreModule, CustomPipeManager, DEFAULT_FORMATS, DataSource, DataType, DynamicComponentRefProvider, EventNotifier, FIRST_TIME_WATCH, FieldTypeService, FieldWidgetService, FormWidgetType, IDGenerator, IDataSource, LRUCache, MatchMode, PaginationService, PartialRefProvider, ScriptLoaderService, ScriptStore, StatePersistence, UserDefinedExecutionContext, UtilsService, VALIDATOR, Viewport, _WM_APP_PROJECT, addClass, addEventListenerOnElement, addForIdAttributes, adjustContainerPosition, adjustContainerRightEdges, appendNode, appendScriptToHead, checkIsCustomPipeExpression, closePopover, convertToBlob, createCSSRule, createElement, deHyphenate, debounce, defer, detectChanges, encodeUrl, encodeUrlParams, executePromiseChain, extendProto, extractCurrentItemExpr, extractType, fetchContent, findRootContainer, findValueOf, generateGUId, getAbortableDefer, getAndroidVersion, getAppSetting, getBlob, getClonedObject, getDatasourceFromExpr, getDateObj, getDisplayDateTimeFormat, getEvaluatedExprValue, getFiles, getFnByExpr, getFnForBindExpr, getFnForEventExpr, getFormWidgetTemplate, getFormattedDate, getMomentLocaleObject, getNativeDateObject, getNgModelAttr, getRequiredFormWidget, getResourceURL, getRouteNameFromLink, getRowActionAttrs, getSessionStorageItem, getUrlParams, getValidDateObject, getValidJSON, getWebkitTraslationMatrix, getWmProjectProperties, hasCordova, hasOffsetStr, initCaps, insertAfter, insertBefore, isAndroid, isAndroidTablet, isAppleProduct, isArray, isAudioFile, isBoolean, isChangeFromWatch, isDataSourceEqual, isDateTimeType, isDefined, isElementInViewport, isEmptyObject, isEqualWithFields, isFirstTimeChange, isIE, isImageFile, isInsecureContentRequest, isIos, isIpad, isIphone, isIpod, isKitkatDevice, isLargeTabletLandscape, isLargeTabletPortrait, isMobile, isMobileApp, isNumber, isNumberType, isObject, isPageable, isString, isValidWebURL, isVideoFile, loadScript, loadScripts, loadStyleSheet, loadStyleSheets, muteWatchers, noop, openLink, periodSeparate, prettifyLabel, prettifyLabels, processFilterExpBindNode, registerFnByExpr, removeAttr, removeClass, removeExtraSlashes, removeNode, replace, replaceAt, resetChangeFromWatch, retryIfFails, scrollToElement, setAppRef, setAttr, setCSS, setCSSFromObj, setHtml, setListClass, setNgZone, setPipeProvider, setProperty, setSessionStorageItem, setTranslation3dPosition, setWmProjectProperties, spaceSeparate, stringStartsWith, switchClass, toBoolean, toDimension, toPromise, toggleClass, transformFileURI, triggerFn, triggerItemAction, unMuteWatchers, updateTemplateAttrs, validateAccessRoles, validateDataSourceCtx, xmlToJson };
|
|
5167
|
+
export { $appDigest, $invokeWatchers, $parseEvent, $parseExpr, $unwatch, $watch, AbstractDialogService, AbstractHttpService, AbstractI18nService, AbstractNavigationService, AbstractSpinnerService, AbstractToasterService, App, AppConstants, AppDefaults, CURRENCY_INFO, ComponentType, ConstantService, CoreModule, CustomPipeManager, DEFAULT_FORMATS, DataSource, DataType, DynamicComponentRefProvider, EventNotifier, FIRST_TIME_WATCH, FieldTypeService, FieldWidgetService, FormWidgetType, IDGenerator, IDataSource, LRUCache, MatchMode, PaginationService, PartialRefProvider, ScriptLoaderService, ScriptStore, StatePersistence, UserDefinedExecutionContext, UtilsService, VALIDATOR, Viewport, _WM_APP_PROJECT, addClass, addEventListenerOnElement, addForIdAttributes, adjustContainerPosition, adjustContainerRightEdges, appendNode, appendScriptToHead, checkIsCustomPipeExpression, closePopover, convertToBlob, createCSSRule, createElement, deHyphenate, debounce, defer, detectChanges, encodeUrl, encodeUrlParams, executePromiseChain, extendProto, extractCurrentItemExpr, extractType, fetchContent, findParent, findRootContainer, findValueOf, generateGUId, getAbortableDefer, getAndroidVersion, getAppSetting, getBlob, getClonedObject, getDatasourceFromExpr, getDateObj, getDisplayDateTimeFormat, getEvaluatedExprValue, getFiles, getFnByExpr, getFnForBindExpr, getFnForEventExpr, getFormWidgetTemplate, getFormattedDate, getMomentLocaleObject, getNativeDateObject, getNgModelAttr, getRequiredFormWidget, getResourceURL, getRouteNameFromLink, getRowActionAttrs, getSessionStorageItem, getUrlParams, getValidDateObject, getValidJSON, getWebkitTraslationMatrix, getWmProjectProperties, hasCordova, hasOffsetStr, initCaps, insertAfter, insertBefore, isAndroid, isAndroidTablet, isAppleProduct, isArray, isAudioFile, isBoolean, isChangeFromWatch, isDataSourceEqual, isDateTimeType, isDefined, isElementInViewport, isEmptyObject, isEqualWithFields, isFirstTimeChange, isIE, isImageFile, isInsecureContentRequest, isIos, isIpad, isIphone, isIpod, isKitkatDevice, isLargeTabletLandscape, isLargeTabletPortrait, isMobile, isMobileApp, isNumber, isNumberType, isObject, isPageable, isString, isValidWebURL, isVideoFile, loadScript, loadScripts, loadStyleSheet, loadStyleSheets, muteWatchers, noop, openLink, periodSeparate, prettifyLabel, prettifyLabels, processFilterExpBindNode, registerFnByExpr, removeAttr, removeClass, removeExtraSlashes, removeNode, replace, replaceAt, resetChangeFromWatch, retryIfFails, scrollToElement, setAppRef, setAttr, setCSS, setCSSFromObj, setHtml, setListClass, setNgZone, setPipeProvider, setProperty, setSessionStorageItem, setTranslation3dPosition, setWmProjectProperties, spaceSeparate, stringStartsWith, switchClass, toBoolean, toDimension, toPromise, toggleClass, transformFileURI, triggerFn, triggerItemAction, unMuteWatchers, updateTemplateAttrs, validateAccessRoles, validateDataSourceCtx, xmlToJson };
|
|
5139
5168
|
//# sourceMappingURL=index.mjs.map
|