@wavemaker/angular-app 11.15.5-rc.267 → 11.15.5-rc.647813
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/dependencies/pipe-provider.cjs.js +8 -0
- package/dependencies/transpilation-web.cjs.js +7 -3
- package/dependency-report.html +1 -1
- package/npm-shrinkwrap.json +437 -280
- package/package-lock.json +437 -280
- package/package.json +12 -14
|
@@ -149875,10 +149875,14 @@ const triggerItemAction$1 = (scope, item) => {
|
|
|
149875
149875
|
const getDatasourceFromExpr$1 = (expr, scope) => {
|
|
149876
149876
|
const isBoundToVariable = startsWith$1(expr, 'Variables.');
|
|
149877
149877
|
const isBoundToWidget = startsWith$1(expr, 'Widgets.');
|
|
149878
|
+
const isBoundToActivePageVar = startsWith$1(expr, 'App.activePage.Variables.');
|
|
149878
149879
|
const parts = expr.split('.');
|
|
149879
149880
|
if (isBoundToVariable) {
|
|
149880
149881
|
return get$2(scope.viewParent.Variables, parts[1]);
|
|
149881
149882
|
}
|
|
149883
|
+
if (isBoundToActivePageVar) {
|
|
149884
|
+
return get$2(scope.viewParent?.App?.activePage?.Variables, parts[3]);
|
|
149885
|
+
}
|
|
149882
149886
|
if (isBoundToWidget) {
|
|
149883
149887
|
const widgetScope = get$2(scope.viewParent.Widgets, parts[1]);
|
|
149884
149888
|
const widgetDatasetBoundExpr = widgetScope.$attrs.get('datasetboundexpr');
|
|
@@ -206165,10 +206169,14 @@ const triggerItemAction = (scope, item) => {
|
|
|
206165
206169
|
const getDatasourceFromExpr = (expr, scope) => {
|
|
206166
206170
|
const isBoundToVariable = startsWith(expr, 'Variables.');
|
|
206167
206171
|
const isBoundToWidget = startsWith(expr, 'Widgets.');
|
|
206172
|
+
const isBoundToActivePageVar = startsWith(expr, 'App.activePage.Variables.');
|
|
206168
206173
|
const parts = expr.split('.');
|
|
206169
206174
|
if (isBoundToVariable) {
|
|
206170
206175
|
return get(scope.viewParent.Variables, parts[1]);
|
|
206171
206176
|
}
|
|
206177
|
+
if (isBoundToActivePageVar) {
|
|
206178
|
+
return get(scope.viewParent?.App?.activePage?.Variables, parts[3]);
|
|
206179
|
+
}
|
|
206172
206180
|
if (isBoundToWidget) {
|
|
206173
206181
|
const widgetScope = get(scope.viewParent.Widgets, parts[1]);
|
|
206174
206182
|
const widgetDatasetBoundExpr = widgetScope.$attrs.get('datasetboundexpr');
|
|
@@ -35719,8 +35719,8 @@ const getDataSource = (dataSetExpr) => {
|
|
|
35719
35719
|
if (parts[0] === 'Variables' || parts[0] === 'Widgets') {
|
|
35720
35720
|
return `${parts[0]}.${parts[1]}`;
|
|
35721
35721
|
}
|
|
35722
|
-
if (parts[0] === 'App' && parts[1] === 'activePage' && parts[2]
|
|
35723
|
-
return `App.activePage.${parts[
|
|
35722
|
+
if (parts[0] === 'App' && parts[1] === 'activePage' && parts[2] === 'Variables' && parts[3]) {
|
|
35723
|
+
return `App.activePage.Variables.${parts[3]}`;
|
|
35724
35724
|
}
|
|
35725
35725
|
};
|
|
35726
35726
|
const widgetChildAttrs = (() => {
|
|
@@ -102288,10 +102288,14 @@ const triggerItemAction = (scope, item) => {
|
|
|
102288
102288
|
const getDatasourceFromExpr = (expr, scope) => {
|
|
102289
102289
|
const isBoundToVariable = startsWith(expr, 'Variables.');
|
|
102290
102290
|
const isBoundToWidget = startsWith(expr, 'Widgets.');
|
|
102291
|
+
const isBoundToActivePageVar = startsWith(expr, 'App.activePage.Variables.');
|
|
102291
102292
|
const parts = expr.split('.');
|
|
102292
102293
|
if (isBoundToVariable) {
|
|
102293
102294
|
return get$1(scope.viewParent.Variables, parts[1]);
|
|
102294
102295
|
}
|
|
102296
|
+
if (isBoundToActivePageVar) {
|
|
102297
|
+
return get$1(scope.viewParent?.App?.activePage?.Variables, parts[3]);
|
|
102298
|
+
}
|
|
102295
102299
|
if (isBoundToWidget) {
|
|
102296
102300
|
const widgetScope = get$1(scope.viewParent.Widgets, parts[1]);
|
|
102297
102301
|
const widgetDatasetBoundExpr = widgetScope.$attrs.get('datasetboundexpr');
|
|
@@ -104842,7 +104846,7 @@ const registerFormField = (isFormField) => {
|
|
|
104842
104846
|
else {
|
|
104843
104847
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
104844
104848
|
}
|
|
104845
|
-
return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}"
|
|
104849
|
+
return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
|
104846
104850
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
104847
104851
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
104848
104852
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
package/dependency-report.html
CHANGED