@wavemaker/app-ng-runtime 11.4.0-next.28701 → 11.4.0-rc.5342
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/basic/tree/tree.build.d.ts +1 -2
- app-ng-runtime/build-task/bundles/index.umd.js +7 -9
- app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
- app-ng-runtime/build-task/esm2015/basic/tree/tree.build.js +3 -4
- app-ng-runtime/build-task/esm2015/navigation/popover/popover.build.js +3 -3
- app-ng-runtime/build-task/fesm2015/index.js +7 -9
- app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +7 -4
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/utils/widget-utils.js +7 -4
- app-ng-runtime/components/base/esm2015/widgets/common/dialog/dialog.service.js +3 -3
- app-ng-runtime/components/base/fesm2015/index.js +8 -5
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/base/utils/widget-utils.d.ts +1 -1
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +280 -256
- app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/basic/tree/esm2015/public_api.js +2 -2
- app-ng-runtime/components/basic/tree/esm2015/tree.component.js +322 -0
- app-ng-runtime/components/basic/tree/esm2015/tree.module.js +3 -3
- app-ng-runtime/components/basic/tree/fesm2015/index.js +260 -248
- app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
- app-ng-runtime/components/basic/tree/public_api.d.ts +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +34 -0
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +39 -23
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +8 -1
- app-ng-runtime/components/containers/tabs/esm2015/tabs.animator.js +33 -13
- app-ng-runtime/components/containers/tabs/fesm2015/index.js +40 -13
- app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/tabs/tabs.animator.d.ts +5 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +51 -42
- app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/list/esm2015/list.component.js +51 -42
- app-ng-runtime/components/data/list/fesm2015/index.js +50 -41
- app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/list/index.metadata.json +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +21 -4
- app-ng-runtime/components/data/pagination/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/pagination/esm2015/pagination.component.js +22 -5
- app-ng-runtime/components/data/pagination/fesm2015/index.js +21 -4
- app-ng-runtime/components/data/pagination/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/pagination/index.metadata.json +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +1 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +7 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/table/esm2015/table.component.js +8 -1
- app-ng-runtime/components/data/table/fesm2015/index.js +7 -0
- app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/table/index.metadata.json +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -0
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +13 -4
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/dialogs/default/esm2015/base-dialog.js +14 -6
- app-ng-runtime/components/dialogs/default/fesm2015/index.js +13 -5
- app-ng-runtime/components/dialogs/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/dialogs/default/index.metadata.json +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +66 -29
- app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/input/epoch/date-time/date-time-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +43 -25
- app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +3 -3
- app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +31 -11
- app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
- app-ng-runtime/components/input/epoch/fesm2015/index.js +75 -37
- app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +3 -4
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/navigation/popover/esm2015/popover.component.js +5 -6
- app-ng-runtime/components/navigation/popover/fesm2015/index.js +4 -5
- app-ng-runtime/components/navigation/popover/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +24 -6
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/esm2015/page.directive.js +20 -3
- app-ng-runtime/mobile/components/page/default/fesm2015/index.js +19 -2
- app-ng-runtime/mobile/components/page/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/index.metadata.json +1 -1
- app-ng-runtime/mobile/components/page/default/page.directive.d.ts +4 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +23 -23
- app-ng-runtime/scripts/tree-keyboard-navigation/keyboard-navigation.js +251 -0
- app-ng-runtime/variables/bundles/index.umd.js +14 -4
- app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
- app-ng-runtime/variables/esm2015/manager/action/notification-action.manager.js +5 -6
- app-ng-runtime/variables/esm2015/service/variables.service.js +8 -1
- app-ng-runtime/variables/fesm2015/index.js +11 -5
- app-ng-runtime/variables/fesm2015/index.js.map +1 -1
- app-ng-runtime/variables/index.metadata.json +1 -1
- app-ng-runtime/variables/service/variables.service.d.ts +4 -0
- app-ng-runtime/components/basic/tree/esm2015/tree.directive.js +0 -310
- app-ng-runtime/components/basic/tree/tree.directive.d.ts +0 -35
|
@@ -1564,9 +1564,9 @@
|
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
1566
|
NotificationActionManager.prototype.notifyViaDialog = function (variable, options) {
|
|
1567
|
-
var commonPageDialogId = 'Common' + _.capitalize(variable.operation) + 'Dialog',
|
|
1567
|
+
var commonPageDialogId = 'Common' + _.capitalize(variable.operation) + 'Dialog', dialogId = commonPageDialogId;
|
|
1568
1568
|
var closeCallBackFn = function () { return initiateCallback('onOk', variable, options.data); };
|
|
1569
|
-
exports.dialogService.open(dialogId,
|
|
1569
|
+
exports.dialogService.open(dialogId, undefined, {
|
|
1570
1570
|
notification: {
|
|
1571
1571
|
'title': options.title || variable.dataBinding.title,
|
|
1572
1572
|
'text': options.message || variable.dataBinding.text,
|
|
@@ -1575,12 +1575,12 @@
|
|
|
1575
1575
|
'alerttype': options.alerttype || variable.dataBinding.alerttype || 'information',
|
|
1576
1576
|
onOk: function () {
|
|
1577
1577
|
// Close the action dialog after triggering onOk callback event
|
|
1578
|
-
exports.dialogService.close(dialogId,
|
|
1578
|
+
exports.dialogService.close(dialogId, undefined, closeCallBackFn);
|
|
1579
1579
|
},
|
|
1580
1580
|
onCancel: function () {
|
|
1581
1581
|
initiateCallback('onCancel', variable, options.data);
|
|
1582
1582
|
// Close the action dialog after triggering onCancel callback event
|
|
1583
|
-
exports.dialogService.close(dialogId,
|
|
1583
|
+
exports.dialogService.close(dialogId, undefined);
|
|
1584
1584
|
},
|
|
1585
1585
|
onClose: function () {
|
|
1586
1586
|
initiateCallback('onClose', variable, options.data);
|
|
@@ -3486,6 +3486,14 @@
|
|
|
3486
3486
|
{ type: core.AbstractHttpService }
|
|
3487
3487
|
]; };
|
|
3488
3488
|
|
|
3489
|
+
var Formatter = /** @class */ (function () {
|
|
3490
|
+
function Formatter() {
|
|
3491
|
+
}
|
|
3492
|
+
Formatter.prototype.format = function (value, format) {
|
|
3493
|
+
return exports.appManager.getPipe('date').transform(value, format);
|
|
3494
|
+
};
|
|
3495
|
+
return Formatter;
|
|
3496
|
+
}());
|
|
3489
3497
|
var VariablesService = /** @class */ (function () {
|
|
3490
3498
|
function VariablesService(httpService, metadataService, navigationService, routerService, toasterService, oAuthService, securityService, dialogService) {
|
|
3491
3499
|
this.httpService = httpService;
|
|
@@ -3611,6 +3619,7 @@
|
|
|
3611
3619
|
if (this.isVariableSeperated(variablesJson, variableName)) {
|
|
3612
3620
|
this.processBinding(varInstance, scope, 'dataBinding', this.getBindSourceTarget(varInstance));
|
|
3613
3621
|
varInstance.httpService = this.httpService;
|
|
3622
|
+
varInstance.dateFormatter = new Formatter();
|
|
3614
3623
|
varInstance.subscribe('afterInvoke', function () { return core.$invokeWatchers(true); });
|
|
3615
3624
|
if (varInstance.category === 'wm.LiveVariable' && varInstance.operation === 'read') {
|
|
3616
3625
|
core.processFilterExpBindNode(varInstance._context, varInstance.filterExpressions, varInstance);
|
|
@@ -3705,6 +3714,7 @@
|
|
|
3705
3714
|
exports.DB_CONSTANTS = DB_CONSTANTS;
|
|
3706
3715
|
exports.DeviceVariableManager = DeviceVariableManager;
|
|
3707
3716
|
exports.DeviceVariableService = DeviceVariableService;
|
|
3717
|
+
exports.Formatter = Formatter;
|
|
3708
3718
|
exports.MetadataService = MetadataService;
|
|
3709
3719
|
exports.SWAGGER_CONSTANTS = SWAGGER_CONSTANTS;
|
|
3710
3720
|
exports.VARIABLE_CONSTANTS = VARIABLE_CONSTANTS;
|