@wavemaker/app-ng-runtime 11.5.0-rc.5397 → 11.5.1-next.26251
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 +9 -3
- app-ng-runtime/build-task/esm2020/data/form/form.build.mjs +10 -4
- app-ng-runtime/build-task/fesm2015/index.mjs +9 -3
- app-ng-runtime/build-task/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/build-task/fesm2020/index.mjs +9 -3
- app-ng-runtime/build-task/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +2 -9
- app-ng-runtime/components/input/default/esm2020/text/locale/number-locale.mjs +3 -10
- app-ng-runtime/components/input/default/fesm2015/index.mjs +2 -9
- app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/fesm2020/index.mjs +2 -9
- app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -1195,7 +1195,9 @@ const buildTask = (directiveAttr = '') => {
|
|
|
1195
1195
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
1196
1196
|
const counter = idGen$d.nextUid();
|
|
1197
1197
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
1198
|
-
|
|
1198
|
+
if (dependsOn) {
|
|
1199
|
+
attrs.set('dependsontable', attrs.get('dependson'));
|
|
1200
|
+
}
|
|
1199
1201
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
1200
1202
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
1201
1203
|
attrs.delete('dependson');
|
|
@@ -1240,7 +1242,8 @@ const buildTask = (directiveAttr = '') => {
|
|
|
1240
1242
|
<div class="form-elements panel-body" >`;
|
|
1241
1243
|
}
|
|
1242
1244
|
tmpl = getAttrMarkup(attrs);
|
|
1243
|
-
|
|
1245
|
+
const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';
|
|
1246
|
+
return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>
|
|
1244
1247
|
${buttonTemplate} ${mobileFormContentTmpl}`;
|
|
1245
1248
|
},
|
|
1246
1249
|
post: (attrs) => {
|
|
@@ -1250,7 +1253,10 @@ const buildTask = (directiveAttr = '') => {
|
|
|
1250
1253
|
if (attrs.get('formlayout') === 'page') {
|
|
1251
1254
|
return `</div></${tagName$V}>`;
|
|
1252
1255
|
}
|
|
1253
|
-
|
|
1256
|
+
if (attrs.get('dependsontable')) {
|
|
1257
|
+
return `</${tagName$V}></div>`;
|
|
1258
|
+
}
|
|
1259
|
+
return `</${tagName$V}>`;
|
|
1254
1260
|
},
|
|
1255
1261
|
provide: (attrs, shared) => {
|
|
1256
1262
|
const provider = new Map();
|