@wavemaker/app-ng-runtime 11.5.2-rc.5436 → 11.5.3-next.141100
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/build-task/bundles/index.umd.js +1 -8
- app-ng-runtime/build-task/esm2020/data/form/form.build.mjs +2 -9
- app-ng-runtime/build-task/fesm2015/index.mjs +1 -8
- app-ng-runtime/build-task/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/build-task/fesm2020/index.mjs +1 -8
- app-ng-runtime/build-task/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +58 -23
- app-ng-runtime/components/base/esm2020/widgets/common/base/base-field-validations.mjs +9 -12
- app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +39 -13
- app-ng-runtime/components/base/esm2020/widgets/common/lazy-load/lazy-load.directive.mjs +16 -3
- app-ng-runtime/components/base/fesm2015/index.mjs +60 -24
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +60 -24
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +0 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +1 -0
- app-ng-runtime/components/data/form/bundles/index.umd.js +1 -1
- app-ng-runtime/components/data/form/esm2020/form.component.mjs +2 -2
- app-ng-runtime/components/data/form/fesm2015/index.mjs +1 -1
- app-ng-runtime/components/data/form/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/fesm2020/index.mjs +1 -1
- app-ng-runtime/components/data/form/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +0 -1
- app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +0 -1
- app-ng-runtime/components/dialogs/design-dialog/esm2020/dialog.component.mjs +1 -2
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs +0 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs +0 -1
- app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +10 -18
- app-ng-runtime/components/input/default/esm2020/base-form-custom.component.mjs +2 -6
- app-ng-runtime/components/input/default/esm2020/select/select.component.mjs +1 -12
- app-ng-runtime/components/input/default/esm2020/text/locale/number-locale.mjs +10 -3
- app-ng-runtime/components/input/default/fesm2015/index.mjs +10 -18
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +10 -18
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +11 -8
- app-ng-runtime/components/input/epoch/esm2020/base-date-time.component.mjs +5 -8
- app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +8 -2
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +11 -8
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +11 -8
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +9 -12
- app-ng-runtime/components/navigation/menu/esm2020/menu-dropdown-item/menu-dropdown-item.component.mjs +5 -6
- app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +5 -6
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +5 -6
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +9 -12
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +9 -12
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +3 -4
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +3 -4
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -4
- app-ng-runtime/core/bundles/index.umd.js +1 -43
- app-ng-runtime/core/esm2020/public_api.mjs +2 -2
- app-ng-runtime/core/esm2020/utils/dom.mjs +1 -6
- app-ng-runtime/core/esm2020/utils/utils.mjs +1 -35
- app-ng-runtime/core/esm2020/utils/watcher.mjs +2 -2
- app-ng-runtime/core/fesm2015/index.mjs +2 -43
- app-ng-runtime/core/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/core/fesm2020/index.mjs +2 -43
- 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 +0 -2
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +0 -4
- app-ng-runtime/runtime/base/esm2020/services/dynamic-component-ref-provider.service.mjs +1 -4
- app-ng-runtime/runtime/base/esm2020/util/fragment-monitor.mjs +1 -2
- app-ng-runtime/runtime/base/fesm2015/index.mjs +0 -4
- app-ng-runtime/runtime/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/fesm2020/index.mjs +0 -4
- app-ng-runtime/runtime/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/util/fragment-monitor.d.ts +0 -1
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +0 -1
- app-ng-runtime/runtime/dynamic/esm2020/app/services/component-ref-provider.service.mjs +1 -2
- app-ng-runtime/runtime/dynamic/fesm2015/index.mjs +0 -1
- app-ng-runtime/runtime/dynamic/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/dynamic/fesm2020/index.mjs +0 -1
- app-ng-runtime/runtime/dynamic/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +1 -2
- app-ng-runtime/variables/esm2020/service/variables.service.mjs +2 -3
- app-ng-runtime/variables/fesm2015/index.mjs +1 -2
- app-ng-runtime/variables/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/variables/fesm2020/index.mjs +1 -2
- app-ng-runtime/variables/fesm2020/index.mjs.map +1 -1
|
@@ -1443,11 +1443,6 @@ const addClass = (node, nv, sync) => {
|
|
|
1443
1443
|
});
|
|
1444
1444
|
};
|
|
1445
1445
|
const switchClass = (node, toAdd = '', toRemove = '', sync) => {
|
|
1446
|
-
// After NG15 upgrade ng-invalid class is added even the field is valid, so we are removing the ng-invalid manually
|
|
1447
|
-
const isNgUntouchedValid = node.classList.contains('ng-untouched') && node.classList.contains('ng-valid');
|
|
1448
|
-
if (isNgUntouchedValid && toAdd.includes('ng-untouched') && toAdd.includes('ng-invalid')) {
|
|
1449
|
-
toAdd = toAdd.replace('ng-invalid', '');
|
|
1450
|
-
}
|
|
1451
1446
|
removeClass(node, toRemove, sync);
|
|
1452
1447
|
addClass(node, toAdd, sync);
|
|
1453
1448
|
};
|
|
@@ -2168,7 +2163,7 @@ const getUpdatedWatcInfo = (expr, acceptsArray, listener) => {
|
|
|
2168
2163
|
};
|
|
2169
2164
|
const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.nextUid(), doNotClone = false, config = {}, isMuted) => {
|
|
2170
2165
|
if (expr.indexOf('[$i]') !== -1) {
|
|
2171
|
-
let watchInfo = getUpdatedWatcInfo(expr, config &&
|
|
2166
|
+
let watchInfo = getUpdatedWatcInfo(expr, config && config.arrayType, listener);
|
|
2172
2167
|
expr = watchInfo.expr;
|
|
2173
2168
|
listener = watchInfo.listener;
|
|
2174
2169
|
}
|
|
@@ -3778,40 +3773,6 @@ const setListClass = (scope) => {
|
|
|
3778
3773
|
scope.itemsPerRowClass = 'col-xs-12';
|
|
3779
3774
|
}
|
|
3780
3775
|
};
|
|
3781
|
-
const findParent = (lView, viewParentApp) => {
|
|
3782
|
-
let parent = findViewParent(lView);
|
|
3783
|
-
return parent ? parent : viewParentApp;
|
|
3784
|
-
};
|
|
3785
|
-
const findViewParent = (lView) => {
|
|
3786
|
-
return lView[16] ? lView[16][8] : lView[16];
|
|
3787
|
-
/*if(lView[3] === null) {
|
|
3788
|
-
return lView[8];
|
|
3789
|
-
}
|
|
3790
|
-
let parentlView = lView[3];
|
|
3791
|
-
if(typeof lView[1] === "boolean") {
|
|
3792
|
-
return findViewParent(parentlView);
|
|
3793
|
-
}
|
|
3794
|
-
let componentType = lView[1]["type"];
|
|
3795
|
-
if(componentType === 0 || componentType === 1) {
|
|
3796
|
-
let p = lView[8];
|
|
3797
|
-
// ts-ignore
|
|
3798
|
-
if(p.hasOwnProperty("isDialogComponent") || p.hasOwnProperty("isContainerDirective")) {
|
|
3799
|
-
return findViewParent(parentlView);
|
|
3800
|
-
} else {
|
|
3801
|
-
return p;
|
|
3802
|
-
}
|
|
3803
|
-
} else {
|
|
3804
|
-
return findViewParent(parentlView);
|
|
3805
|
-
}*/
|
|
3806
|
-
};
|
|
3807
|
-
/*export const getParent = (parent: any) => {
|
|
3808
|
-
if(parent.hasOwnProperty("isDynamicComponent") || parent.hasOwnProperty("isPageComponent")) {
|
|
3809
|
-
return parent
|
|
3810
|
-
} else{
|
|
3811
|
-
return parent.viewParent ? getParent(parent.viewParent) : parent;
|
|
3812
|
-
}
|
|
3813
|
-
|
|
3814
|
-
}*/
|
|
3815
3776
|
|
|
3816
3777
|
var Utils = /*#__PURE__*/Object.freeze({
|
|
3817
3778
|
__proto__: null,
|
|
@@ -3836,10 +3797,8 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
3836
3797
|
extractCurrentItemExpr: extractCurrentItemExpr,
|
|
3837
3798
|
extractType: extractType,
|
|
3838
3799
|
fetchContent: fetchContent,
|
|
3839
|
-
findParent: findParent,
|
|
3840
3800
|
findRootContainer: findRootContainer,
|
|
3841
3801
|
findValueOf: findValueOf,
|
|
3842
|
-
findViewParent: findViewParent,
|
|
3843
3802
|
generateGUId: generateGUId,
|
|
3844
3803
|
getAbortableDefer: getAbortableDefer,
|
|
3845
3804
|
getAndroidVersion: getAndroidVersion,
|
|
@@ -5149,5 +5108,5 @@ class LRUCache {
|
|
|
5149
5108
|
* Generated bundle index. Do not edit.
|
|
5150
5109
|
*/
|
|
5151
5110
|
|
|
5152
|
-
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,
|
|
5111
|
+
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 };
|
|
5153
5112
|
//# sourceMappingURL=index.mjs.map
|