@po-ui/ng-templates 5.20.0 → 5.22.2
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/bundles/po-ui-ng-templates.umd.js +188 -34
- package/bundles/po-ui-ng-templates.umd.js.map +1 -1
- package/esm2015/lib/components/po-page-job-scheduler/interfaces/po-job-scheduler-internal.interface.js +1 -1
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler-base.component.js +15 -3
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.js +48 -4
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler-internal.js +2 -1
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler-literals.js +43 -7
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.js +29 -16
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.js +7 -4
- package/esm2015/lib/components/po-page-job-scheduler/po-page-job-scheduler.service.js +39 -6
- package/fesm2015/po-ui-ng-templates.js +176 -34
- package/fesm2015/po-ui-ng-templates.js.map +1 -1
- package/lib/components/po-page-job-scheduler/interfaces/po-job-scheduler-internal.interface.d.ts +3 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-base.component.d.ts +20 -7
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.d.ts +11 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-internal.d.ts +1 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-literals.d.ts +36 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.d.ts +5 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.d.ts +11 -2
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.service.d.ts +4 -2
- package/package.json +5 -5
- package/po-ui-ng-templates-5.22.2.tgz +0 -0
- package/po-ui-ng-templates.metadata.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-5.20.0.tgz +0 -0
|
@@ -5607,6 +5607,7 @@
|
|
|
5607
5607
|
this.firstExecution = new Date();
|
|
5608
5608
|
this.firstExecutionHour = this.getCurrentHour(this.firstExecution);
|
|
5609
5609
|
this.recurrent = true;
|
|
5610
|
+
this.frequency = {};
|
|
5610
5611
|
}
|
|
5611
5612
|
PoPageJobSchedulerInternal.prototype.getCurrentHour = function (date) {
|
|
5612
5613
|
var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
|
|
@@ -5630,8 +5631,8 @@
|
|
|
5630
5631
|
};
|
|
5631
5632
|
// Cria um recurso
|
|
5632
5633
|
PoPageJobSchedulerService.prototype.createResource = function (resource) {
|
|
5633
|
-
var
|
|
5634
|
-
return this.http.post("" + this.endpoint,
|
|
5634
|
+
var newResouce = this.convertToJobScheduler(resource);
|
|
5635
|
+
return this.http.post("" + this.endpoint, newResouce, { headers: this.headers });
|
|
5635
5636
|
};
|
|
5636
5637
|
PoPageJobSchedulerService.prototype.getHeadProcesses = function () {
|
|
5637
5638
|
var headers = { 'X-PO-No-Error': 'true' };
|
|
@@ -5661,8 +5662,8 @@
|
|
|
5661
5662
|
};
|
|
5662
5663
|
// Atualiza um recurso
|
|
5663
5664
|
PoPageJobSchedulerService.prototype.updateResource = function (id, resource) {
|
|
5664
|
-
var
|
|
5665
|
-
return this.http.put(this.endpoint + "/" + id,
|
|
5665
|
+
var newResouce = this.convertToJobScheduler(resource);
|
|
5666
|
+
return this.http.put(this.endpoint + "/" + id, newResouce, { headers: this.headers });
|
|
5666
5667
|
};
|
|
5667
5668
|
PoPageJobSchedulerService.prototype.convertToJobScheduler = function (jobSchedulerInternal) {
|
|
5668
5669
|
var jobScheduler = Object.assign({}, jobSchedulerInternal);
|
|
@@ -5677,6 +5678,21 @@
|
|
|
5677
5678
|
if (jobSchedulerInternal.firstExecutionHour) {
|
|
5678
5679
|
jobScheduler.firstExecution = this.replaceHourFirstExecution(jobSchedulerInternal.firstExecution, jobSchedulerInternal.firstExecutionHour);
|
|
5679
5680
|
}
|
|
5681
|
+
if (jobSchedulerInternal.frequency && jobSchedulerInternal.frequency.type) {
|
|
5682
|
+
jobScheduler.rangeExecutions = {
|
|
5683
|
+
frequency: Object.assign({}, jobSchedulerInternal.frequency)
|
|
5684
|
+
};
|
|
5685
|
+
if (jobSchedulerInternal.rangeLimitHour) {
|
|
5686
|
+
var splitRangeLimitHour = jobSchedulerInternal.rangeLimitHour.split(':');
|
|
5687
|
+
jobScheduler.rangeExecutions.rangeLimit = {
|
|
5688
|
+
hour: parseInt(splitRangeLimitHour[0], 10),
|
|
5689
|
+
minute: parseInt(splitRangeLimitHour[1], 10)
|
|
5690
|
+
};
|
|
5691
|
+
}
|
|
5692
|
+
if (jobSchedulerInternal.rangeLimitDay) {
|
|
5693
|
+
jobScheduler.rangeExecutions.rangeLimit = Object.assign(Object.assign({}, jobScheduler.rangeExecutions.rangeLimit), { day: jobSchedulerInternal.rangeLimitDay });
|
|
5694
|
+
}
|
|
5695
|
+
}
|
|
5680
5696
|
if (!Object.keys(this.returnValidExecutionParameter(jobScheduler.executionParameter)).length) {
|
|
5681
5697
|
delete jobScheduler.executionParameter;
|
|
5682
5698
|
}
|
|
@@ -5690,6 +5706,18 @@
|
|
|
5690
5706
|
jobSchedulerInternal.firstExecutionHour = this.getHourFirstExecution(jobScheduler.firstExecution);
|
|
5691
5707
|
}
|
|
5692
5708
|
Object.assign(jobSchedulerInternal, this.convertToPeriodicityInternal(jobScheduler));
|
|
5709
|
+
if (jobScheduler.rangeExecutions) {
|
|
5710
|
+
jobSchedulerInternal.rangeLimitHour = (jobScheduler.rangeExecutions.rangeLimit.hour < 10
|
|
5711
|
+
? '0' + jobScheduler.rangeExecutions.rangeLimit.hour
|
|
5712
|
+
: jobScheduler.rangeExecutions.rangeLimit.hour) + ":" + (jobScheduler.rangeExecutions.rangeLimit.minute < 10
|
|
5713
|
+
? '0' + jobScheduler.rangeExecutions.rangeLimit.minute
|
|
5714
|
+
: jobScheduler.rangeExecutions.rangeLimit.minute);
|
|
5715
|
+
jobSchedulerInternal.rangeLimitDay = jobScheduler.rangeExecutions.rangeLimit.day;
|
|
5716
|
+
jobSchedulerInternal.frequency = {
|
|
5717
|
+
type: jobScheduler.rangeExecutions.frequency.type,
|
|
5718
|
+
value: jobScheduler.rangeExecutions.frequency.value
|
|
5719
|
+
};
|
|
5720
|
+
}
|
|
5693
5721
|
this.removeInvalidKeys(jobSchedulerInternal, ['weekly', 'monthly', 'daily']);
|
|
5694
5722
|
return jobSchedulerInternal;
|
|
5695
5723
|
};
|
|
@@ -5753,12 +5781,18 @@
|
|
|
5753
5781
|
'day',
|
|
5754
5782
|
'daysOfWeek',
|
|
5755
5783
|
'dayOfMonth',
|
|
5756
|
-
'firstExecutionHour'
|
|
5784
|
+
'firstExecutionHour',
|
|
5785
|
+
'frequency',
|
|
5786
|
+
'rangeLimitHour',
|
|
5787
|
+
'rangeLimitDay'
|
|
5757
5788
|
];
|
|
5758
5789
|
Object.keys(value).forEach(function (key) {
|
|
5759
5790
|
if (invalidKeys.includes(key)) {
|
|
5760
5791
|
delete value[key];
|
|
5761
5792
|
}
|
|
5793
|
+
else if (key === 'rangeExecutions' && value['periodicity'] === 'single') {
|
|
5794
|
+
delete value[key];
|
|
5795
|
+
}
|
|
5762
5796
|
});
|
|
5763
5797
|
};
|
|
5764
5798
|
PoPageJobSchedulerService.prototype.replaceHourFirstExecution = function (date, time) {
|
|
@@ -5803,16 +5837,30 @@
|
|
|
5803
5837
|
this.poPageJobSchedulerService = poPageJobSchedulerService;
|
|
5804
5838
|
/** Objeto com as propriedades do breadcrumb. */
|
|
5805
5839
|
this.breadcrumb = { items: [] };
|
|
5840
|
+
/**
|
|
5841
|
+
* Parâmetros que serão utilizados para criação e edição dos agendamentos.
|
|
5842
|
+
*
|
|
5843
|
+
* Ao utilizar esta propriedade, o componente não buscará automaticamente os parâmetros da API e o campo para preenchimento do processo não será exibido.
|
|
5844
|
+
*
|
|
5845
|
+
*/
|
|
5846
|
+
this.parameters = [];
|
|
5806
5847
|
this.model = new PoPageJobSchedulerInternal();
|
|
5807
5848
|
this._subscription = new rxjs.Subscription();
|
|
5808
5849
|
}
|
|
5850
|
+
Object.defineProperty(PoPageJobSchedulerBaseComponent.prototype, "value", {
|
|
5851
|
+
set: function (value) {
|
|
5852
|
+
this.model = this.poPageJobSchedulerService.convertToJobSchedulerInternal(value);
|
|
5853
|
+
},
|
|
5854
|
+
enumerable: false,
|
|
5855
|
+
configurable: true
|
|
5856
|
+
});
|
|
5809
5857
|
PoPageJobSchedulerBaseComponent.prototype.ngOnDestroy = function () {
|
|
5810
5858
|
this._subscription.unsubscribe();
|
|
5811
5859
|
};
|
|
5812
5860
|
PoPageJobSchedulerBaseComponent.prototype.loadData = function (id) {
|
|
5813
5861
|
var _this = this;
|
|
5814
5862
|
if (!id) {
|
|
5815
|
-
this.model = new PoPageJobSchedulerInternal();
|
|
5863
|
+
this.model = this.model || new PoPageJobSchedulerInternal();
|
|
5816
5864
|
return;
|
|
5817
5865
|
}
|
|
5818
5866
|
this._subscription.add(this.poPageJobSchedulerService.getResource(id).subscribe(function (response) {
|
|
@@ -5842,7 +5890,9 @@
|
|
|
5842
5890
|
PoPageJobSchedulerBaseComponent.propDecorators = {
|
|
5843
5891
|
breadcrumb: [{ type: i0.Input, args: ['p-breadcrumb',] }],
|
|
5844
5892
|
serviceApi: [{ type: i0.Input, args: ['p-service-api',] }],
|
|
5845
|
-
title: [{ type: i0.Input, args: ['p-title',] }]
|
|
5893
|
+
title: [{ type: i0.Input, args: ['p-title',] }],
|
|
5894
|
+
parameters: [{ type: i0.Input, args: ['p-parameters',] }],
|
|
5895
|
+
value: [{ type: i0.Input, args: ['p-value',] }]
|
|
5846
5896
|
};
|
|
5847
5897
|
|
|
5848
5898
|
var poPageJobSchedulerLiteralsDefault = {
|
|
@@ -5863,8 +5913,14 @@
|
|
|
5863
5913
|
parameterization: 'Parameterization',
|
|
5864
5914
|
conclude: 'Conclude',
|
|
5865
5915
|
firstExecution: 'First Execution',
|
|
5916
|
+
startTime: 'Start time',
|
|
5917
|
+
endTime: 'End time',
|
|
5918
|
+
time: 'Time',
|
|
5866
5919
|
hour: 'Hour',
|
|
5920
|
+
minute: 'Minute',
|
|
5867
5921
|
day: 'Day',
|
|
5922
|
+
endDay: 'End day',
|
|
5923
|
+
startDay: 'Start day',
|
|
5868
5924
|
weekDays: 'Week days',
|
|
5869
5925
|
sunday: 'Sunday',
|
|
5870
5926
|
monday: 'Monday',
|
|
@@ -5883,7 +5939,10 @@
|
|
|
5883
5939
|
confirmUpdateMessage: 'Are you sure you want to update this schedule?',
|
|
5884
5940
|
saveNotificationSuccessUpdate: 'Successfully updated scheduling',
|
|
5885
5941
|
saveNotificationSuccessSave: 'Successfully saved scheduling',
|
|
5886
|
-
parametersNotFound: 'Parameters not found.'
|
|
5942
|
+
parametersNotFound: 'Parameters not found.',
|
|
5943
|
+
frequency: 'Frequency',
|
|
5944
|
+
to: 'to',
|
|
5945
|
+
from: 'from'
|
|
5887
5946
|
},
|
|
5888
5947
|
es: {
|
|
5889
5948
|
at: 'a las',
|
|
@@ -5902,8 +5961,14 @@
|
|
|
5902
5961
|
parameterization: 'Parametrización',
|
|
5903
5962
|
conclude: 'Completar',
|
|
5904
5963
|
firstExecution: 'Primera ejecución',
|
|
5905
|
-
|
|
5964
|
+
startTime: 'Hora de inicio',
|
|
5965
|
+
endTime: 'Hora de finalización',
|
|
5966
|
+
time: 'Horário',
|
|
5967
|
+
hour: 'Hora',
|
|
5968
|
+
minute: 'Minute',
|
|
5906
5969
|
day: 'Día',
|
|
5970
|
+
endDay: 'Último Día',
|
|
5971
|
+
startDay: 'Día de inicio',
|
|
5907
5972
|
weekDays: 'Dias de la semana',
|
|
5908
5973
|
sunday: 'Domingo',
|
|
5909
5974
|
monday: 'Lunes',
|
|
@@ -5922,7 +5987,10 @@
|
|
|
5922
5987
|
confirmUpdateMessage: '¿Está seguro de que desea cambiar esta programación de proceso?',
|
|
5923
5988
|
saveNotificationSuccessUpdate: 'Programación de proceso actualizada con éxito.',
|
|
5924
5989
|
saveNotificationSuccessSave: 'Programación de proceso salvo con éxito.',
|
|
5925
|
-
parametersNotFound: 'No se encontraron parámetros.'
|
|
5990
|
+
parametersNotFound: 'No se encontraron parámetros.',
|
|
5991
|
+
frequency: 'Frecuencia',
|
|
5992
|
+
to: 'de',
|
|
5993
|
+
from: 'a'
|
|
5926
5994
|
},
|
|
5927
5995
|
pt: {
|
|
5928
5996
|
at: 'às',
|
|
@@ -5941,8 +6009,14 @@
|
|
|
5941
6009
|
parameterization: 'Parametrização',
|
|
5942
6010
|
conclude: 'Concluir',
|
|
5943
6011
|
firstExecution: 'Primeira execução',
|
|
5944
|
-
|
|
6012
|
+
startTime: 'Horário inicial',
|
|
6013
|
+
endTime: 'Horário final',
|
|
6014
|
+
time: 'Horário',
|
|
6015
|
+
hour: 'Hora',
|
|
6016
|
+
minute: 'Minuto',
|
|
5945
6017
|
day: 'Dia',
|
|
6018
|
+
endDay: 'Dia final',
|
|
6019
|
+
startDay: 'Dia inicial',
|
|
5946
6020
|
weekDays: 'Dias de semana',
|
|
5947
6021
|
sunday: 'Domingo',
|
|
5948
6022
|
monday: 'Segunda-feira',
|
|
@@ -5961,7 +6035,10 @@
|
|
|
5961
6035
|
confirmUpdateMessage: 'Tem certeza que deseja alterar este agendamento de processo?',
|
|
5962
6036
|
saveNotificationSuccessUpdate: 'Agendamento de processo atualizado com sucesso.',
|
|
5963
6037
|
saveNotificationSuccessSave: 'Agendamento de processo salvo com sucesso.',
|
|
5964
|
-
parametersNotFound: 'Parâmetros não foram encontrados.'
|
|
6038
|
+
parametersNotFound: 'Parâmetros não foram encontrados.',
|
|
6039
|
+
frequency: 'Frequência',
|
|
6040
|
+
to: 'das',
|
|
6041
|
+
from: 'até'
|
|
5965
6042
|
},
|
|
5966
6043
|
ru: {
|
|
5967
6044
|
at: 'в',
|
|
@@ -5980,8 +6057,14 @@
|
|
|
5980
6057
|
parameterization: 'Параметризация',
|
|
5981
6058
|
conclude: 'Завершить',
|
|
5982
6059
|
firstExecution: 'Первичное выполнение',
|
|
6060
|
+
startTime: 'начальное время',
|
|
6061
|
+
endTime: 'время окончания',
|
|
6062
|
+
time: 'расписание',
|
|
5983
6063
|
hour: 'Час',
|
|
5984
6064
|
day: 'День',
|
|
6065
|
+
minute: 'минута',
|
|
6066
|
+
endDay: 'последний день',
|
|
6067
|
+
startDay: 'день начала',
|
|
5985
6068
|
weekDays: 'Рабочие дни',
|
|
5986
6069
|
sunday: 'Воскресенье',
|
|
5987
6070
|
monday: 'Понедельник',
|
|
@@ -6000,7 +6083,10 @@
|
|
|
6000
6083
|
confirmUpdateMessage: 'Вы уверены, что хотите обновить это расписание?',
|
|
6001
6084
|
saveNotificationSuccessUpdate: 'Расписание успешно обновлено',
|
|
6002
6085
|
saveNotificationSuccessSave: 'Расписание успешно сохранено ',
|
|
6003
|
-
parametersNotFound: 'Параметры не найдены'
|
|
6086
|
+
parametersNotFound: 'Параметры не найдены',
|
|
6087
|
+
frequency: 'Частота',
|
|
6088
|
+
to: 'с',
|
|
6089
|
+
from: 'до'
|
|
6004
6090
|
}
|
|
6005
6091
|
};
|
|
6006
6092
|
|
|
@@ -6047,8 +6133,8 @@
|
|
|
6047
6133
|
_this.poPageJobSchedulerService = poPageJobSchedulerService;
|
|
6048
6134
|
_this.isEdit = false;
|
|
6049
6135
|
_this.literals = Object.assign({}, poPageJobSchedulerLiteralsDefault[i2.poLocaleDefault]);
|
|
6050
|
-
_this.parameters = [];
|
|
6051
6136
|
_this.step = 1;
|
|
6137
|
+
_this.parametersEmpty = true;
|
|
6052
6138
|
_this.steps = [];
|
|
6053
6139
|
_this.backPageAction = {
|
|
6054
6140
|
label: _this.literals.back,
|
|
@@ -6091,6 +6177,9 @@
|
|
|
6091
6177
|
var paramId = this.activatedRoute.snapshot.params['id'];
|
|
6092
6178
|
this.isEdit = !!paramId;
|
|
6093
6179
|
this.poPageJobSchedulerService.configServiceApi({ endpoint: this.serviceApi });
|
|
6180
|
+
if (this.parameters.length) {
|
|
6181
|
+
this.parametersEmpty = false;
|
|
6182
|
+
}
|
|
6094
6183
|
this.loadData(paramId);
|
|
6095
6184
|
};
|
|
6096
6185
|
PoPageJobSchedulerComponent.prototype.changePageActionsBySteps = function (currentStep, nextStep) {
|
|
@@ -6127,7 +6216,7 @@
|
|
|
6127
6216
|
}
|
|
6128
6217
|
};
|
|
6129
6218
|
PoPageJobSchedulerComponent.prototype.onChangeProcess = function (process) {
|
|
6130
|
-
if (process.existAPI && process.processId) {
|
|
6219
|
+
if (process.existAPI && process.processId && this.parametersEmpty) {
|
|
6131
6220
|
this.getParametersByProcess(process.processId);
|
|
6132
6221
|
if (!this.isEdit) {
|
|
6133
6222
|
this.model.executionParameter = {};
|
|
@@ -6228,7 +6317,7 @@
|
|
|
6228
6317
|
PoPageJobSchedulerComponent.decorators = [
|
|
6229
6318
|
{ type: i0.Component, args: [{
|
|
6230
6319
|
selector: 'po-page-job-scheduler',
|
|
6231
|
-
template: "<po-page-default [p-actions]=\"jobSchedulerActions\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <div class=\"po-row\">\n <po-stepper\n class=\"po-lg-3 po-xl-2\"\n p-sequential=\"true\"\n [p-orientation]=\"stepperOrientation\"\n [p-step]=\"step\"\n [p-steps]=\"steps\"\n (p-change-step)=\"nextStep($event)\"\n >\n </po-stepper>\n\n <po-container class=\"po-lg-8 po-xl-6\">\n <form #formScheduler=\"ngForm\">\n <div class=\"po-row\">\n <po-page-job-scheduler-execution\n [hidden]=\"step !== 1\"\n #schedulerExecution\n class=\"po-md-12\"\n [p-is-edit]=\"isEdit\"\n [p-literals]=\"literals\"\n [p-value]=\"model\"\n (p-change-process)=\"onChangeProcess($event)\"\n >\n </po-page-job-scheduler-execution>\n\n <po-page-job-scheduler-parameters\n *ngIf=\"step === 2\"\n #schedulerParameters\n class=\"po-md-12\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters || []\"\n [(p-value)]=\"model.executionParameter\"\n >\n </po-page-job-scheduler-parameters>\n\n <po-page-job-scheduler-summary\n *ngIf=\"step === 3\"\n class=\"po-md-12\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters\"\n [p-value]=\"publicValues\"\n >\n </po-page-job-scheduler-summary>\n </div>\n </form>\n </po-container>\n </div>\n</po-page-default>\n",
|
|
6320
|
+
template: "<po-page-default [p-actions]=\"jobSchedulerActions\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <div class=\"po-row\">\n <po-stepper\n class=\"po-lg-3 po-xl-2\"\n p-sequential=\"true\"\n [p-orientation]=\"stepperOrientation\"\n [p-step]=\"step\"\n [p-steps]=\"steps\"\n (p-change-step)=\"nextStep($event)\"\n >\n </po-stepper>\n\n <po-container class=\"po-lg-8 po-xl-6\">\n <form #formScheduler=\"ngForm\">\n <div class=\"po-row\">\n <po-page-job-scheduler-execution\n [p-no-parameters]=\"parametersEmpty\"\n [hidden]=\"step !== 1\"\n #schedulerExecution\n class=\"po-md-12\"\n [p-is-edit]=\"isEdit\"\n [p-literals]=\"literals\"\n [p-value]=\"model\"\n (p-change-process)=\"onChangeProcess($event)\"\n >\n </po-page-job-scheduler-execution>\n\n <po-page-job-scheduler-parameters\n *ngIf=\"step === 2\"\n #schedulerParameters\n class=\"po-md-12\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters || []\"\n [(p-value)]=\"model.executionParameter\"\n >\n </po-page-job-scheduler-parameters>\n\n <po-page-job-scheduler-summary\n [p-no-parameters]=\"parametersEmpty\"\n *ngIf=\"step === 3\"\n class=\"po-md-12\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters\"\n [p-value]=\"publicValues\"\n >\n </po-page-job-scheduler-summary>\n </div>\n </form>\n </po-container>\n </div>\n</po-page-default>\n",
|
|
6232
6321
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6233
6322
|
styles: ["\n po-container .po-container {\n overflow-y: unset;\n }\n "]
|
|
6234
6323
|
},] }
|
|
@@ -6252,6 +6341,7 @@
|
|
|
6252
6341
|
this.poPageJobSchedulerLookup = poPageJobSchedulerLookup;
|
|
6253
6342
|
this.isEdit = false;
|
|
6254
6343
|
this.literals = {};
|
|
6344
|
+
this.noParameters = true;
|
|
6255
6345
|
this.changeProcess = new i0.EventEmitter();
|
|
6256
6346
|
this.dayPattern = '^(3[0-1]|[0-2][0-9]|[1-9]|0[1-9])$';
|
|
6257
6347
|
this.existProcessAPI = true;
|
|
@@ -6259,6 +6349,9 @@
|
|
|
6259
6349
|
this.periodicityOptions = [];
|
|
6260
6350
|
this.timePattern = '^(2[0-3]|[01][0-9]):?([0-5][0-9])$';
|
|
6261
6351
|
this.weekDays = [];
|
|
6352
|
+
this.frequencyOptions = [];
|
|
6353
|
+
this.containsFrequency = false;
|
|
6354
|
+
this.frequency = 'hour';
|
|
6262
6355
|
this._value = {};
|
|
6263
6356
|
}
|
|
6264
6357
|
Object.defineProperty(PoPageJobSchedulerExecutionComponent.prototype, "value", {
|
|
@@ -6267,6 +6360,7 @@
|
|
|
6267
6360
|
},
|
|
6268
6361
|
set: function (value) {
|
|
6269
6362
|
this._value = value && isTypeof(value, 'object') ? value : {};
|
|
6363
|
+
this.containsFrequency = this._value.frequency && this._value.frequency.value ? true : false;
|
|
6270
6364
|
},
|
|
6271
6365
|
enumerable: false,
|
|
6272
6366
|
configurable: true
|
|
@@ -6278,10 +6372,27 @@
|
|
|
6278
6372
|
enumerable: false,
|
|
6279
6373
|
configurable: true
|
|
6280
6374
|
});
|
|
6375
|
+
Object.defineProperty(PoPageJobSchedulerExecutionComponent.prototype, "hourLabel", {
|
|
6376
|
+
get: function () {
|
|
6377
|
+
return this.containsFrequency ? this.literals.startTime : this.literals.time;
|
|
6378
|
+
},
|
|
6379
|
+
enumerable: false,
|
|
6380
|
+
configurable: true
|
|
6381
|
+
});
|
|
6382
|
+
Object.defineProperty(PoPageJobSchedulerExecutionComponent.prototype, "dayLabel", {
|
|
6383
|
+
get: function () {
|
|
6384
|
+
return this.containsFrequency ? this.literals.startDay : this.literals.day;
|
|
6385
|
+
},
|
|
6386
|
+
enumerable: false,
|
|
6387
|
+
configurable: true
|
|
6388
|
+
});
|
|
6281
6389
|
PoPageJobSchedulerExecutionComponent.prototype.ngAfterViewInit = function () {
|
|
6282
6390
|
var _this = this;
|
|
6283
6391
|
setTimeout(function () {
|
|
6284
6392
|
_this.subscribeProcessIdValueChanges();
|
|
6393
|
+
if (_this.value.periodicity) {
|
|
6394
|
+
_this.frequencyOptions = _this.frequencyOptions.map(function (frequencyOption) { return (Object.assign(Object.assign({}, frequencyOption), { disabled: frequencyOption.value === 'day' && _this.value.periodicity !== 'monthly' })); });
|
|
6395
|
+
}
|
|
6285
6396
|
});
|
|
6286
6397
|
};
|
|
6287
6398
|
PoPageJobSchedulerExecutionComponent.prototype.ngOnInit = function () {
|
|
@@ -6290,9 +6401,30 @@
|
|
|
6290
6401
|
monthly: this.monthlyTemplate,
|
|
6291
6402
|
weekly: this.weeklyTempalte
|
|
6292
6403
|
};
|
|
6293
|
-
this.
|
|
6404
|
+
if (this.noParameters) {
|
|
6405
|
+
this.checkExistsProcessesAPI();
|
|
6406
|
+
}
|
|
6294
6407
|
this.periodicityOptions = this.getPeriodicityOptions();
|
|
6295
6408
|
this.weekDays = this.getWeekDays();
|
|
6409
|
+
this.frequencyOptions = this.getFrequencyOptions();
|
|
6410
|
+
};
|
|
6411
|
+
PoPageJobSchedulerExecutionComponent.prototype.onChangeContainsFrequency = function (containsFrequency) {
|
|
6412
|
+
if (containsFrequency) {
|
|
6413
|
+
this.value.frequency = { type: 'hour', value: null };
|
|
6414
|
+
}
|
|
6415
|
+
else {
|
|
6416
|
+
this.value.frequency = {};
|
|
6417
|
+
}
|
|
6418
|
+
this.value.rangeLimitHour = null;
|
|
6419
|
+
this.value.rangeLimitDay = null;
|
|
6420
|
+
this.value.dayOfMonth = null;
|
|
6421
|
+
};
|
|
6422
|
+
PoPageJobSchedulerExecutionComponent.prototype.onChangePeriodicityOptions = function (periodicity) {
|
|
6423
|
+
this.frequencyOptions = this.frequencyOptions.map(function (frequencyOption) { return (Object.assign(Object.assign({}, frequencyOption), { disabled: frequencyOption.value === 'day' && periodicity !== 'monthly' })); });
|
|
6424
|
+
this.value.frequency.type = null;
|
|
6425
|
+
};
|
|
6426
|
+
PoPageJobSchedulerExecutionComponent.prototype.onChangeFrequencyOptions = function () {
|
|
6427
|
+
this.value.rangeLimitHour = null;
|
|
6296
6428
|
};
|
|
6297
6429
|
PoPageJobSchedulerExecutionComponent.prototype.checkExistsProcessesAPI = function () {
|
|
6298
6430
|
var _this = this;
|
|
@@ -6308,6 +6440,13 @@
|
|
|
6308
6440
|
{ label: this.literals.monthly, value: 'monthly' }
|
|
6309
6441
|
];
|
|
6310
6442
|
};
|
|
6443
|
+
PoPageJobSchedulerExecutionComponent.prototype.getFrequencyOptions = function () {
|
|
6444
|
+
return [
|
|
6445
|
+
{ label: this.literals.day, value: 'day' },
|
|
6446
|
+
{ label: this.literals.hour, value: 'hour' },
|
|
6447
|
+
{ label: this.literals.minute, value: 'minute' }
|
|
6448
|
+
];
|
|
6449
|
+
};
|
|
6311
6450
|
PoPageJobSchedulerExecutionComponent.prototype.getWeekDays = function () {
|
|
6312
6451
|
return [
|
|
6313
6452
|
{ label: this.literals.sunday, value: 'Sunday' },
|
|
@@ -6321,7 +6460,8 @@
|
|
|
6321
6460
|
};
|
|
6322
6461
|
PoPageJobSchedulerExecutionComponent.prototype.subscribeProcessIdValueChanges = function () {
|
|
6323
6462
|
var _this = this;
|
|
6324
|
-
|
|
6463
|
+
var _a;
|
|
6464
|
+
(_a = this.form.controls['processID']) === null || _a === void 0 ? void 0 : _a.valueChanges.subscribe(function (processId) {
|
|
6325
6465
|
_this.changeProcess.emit({ processId: processId, existAPI: _this.existProcessAPI });
|
|
6326
6466
|
});
|
|
6327
6467
|
};
|
|
@@ -6330,7 +6470,7 @@
|
|
|
6330
6470
|
PoPageJobSchedulerExecutionComponent.decorators = [
|
|
6331
6471
|
{ type: i0.Component, args: [{
|
|
6332
6472
|
selector: 'po-page-job-scheduler-execution',
|
|
6333
|
-
template: "<form #formExecution=\"ngForm\">\n <div class=\"po-row\">\n <ng-container *ngIf=\"existProcessAPI; then lookupProcessesID; else inputProcessesID\"></ng-container>\n </div>\n\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.firstExecution\"></po-divider>\n\n <po-datepicker\n class=\"po-md-4\"\n name=\"firstExecution\"\n [(ngModel)]=\"value.firstExecution\"\n p-placeholder=\"dd/mm/aaaa\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.day\"\n [p-min-date]=\"startDateFirstExecution\"\n >\n </po-datepicker>\n\n <po-input\n class=\"po-md-2\"\n name=\"firstExecutionHour\"\n [(ngModel)]=\"value.firstExecutionHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.
|
|
6473
|
+
template: "<form #formExecution=\"ngForm\">\n <div class=\"po-row\">\n <ng-container *ngIf=\"existProcessAPI; then lookupProcessesID; else inputProcessesID\"></ng-container>\n </div>\n\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.firstExecution\"></po-divider>\n\n <po-datepicker\n class=\"po-md-4\"\n name=\"firstExecution\"\n [(ngModel)]=\"value.firstExecution\"\n p-placeholder=\"dd/mm/aaaa\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.day\"\n [p-min-date]=\"startDateFirstExecution\"\n >\n </po-datepicker>\n\n <po-input\n class=\"po-md-2\"\n name=\"firstExecutionHour\"\n [(ngModel)]=\"value.firstExecutionHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.time\"\n [p-pattern]=\"timePattern\"\n >\n </po-input>\n </div>\n\n <hr />\n\n <div class=\"po-row\">\n <po-radio-group\n class=\"po-sm-12\"\n name=\"periodicity\"\n [(ngModel)]=\"value.periodicity\"\n p-columns=\"4\"\n p-required\n [p-label]=\"literals.periodicity\"\n [p-options]=\"periodicityOptions\"\n (p-change)=\"onChangePeriodicityOptions($event)\"\n >\n </po-radio-group>\n\n <ng-container *ngIf=\"value.periodicity !== 'single'\">\n <div class=\"po-row\">\n <po-switch\n class=\"po-md-12\"\n name=\"containsFrequency\"\n [(ngModel)]=\"containsFrequency\"\n [p-label]=\"literals.frequency\"\n [p-label-off]=\"literals.no\"\n [p-label-on]=\"literals.yes\"\n (p-change)=\"onChangeContainsFrequency($event)\"\n >\n </po-switch>\n <ng-container *ngIf=\"containsFrequency\">\n <po-radio-group\n class=\"po-md-10\"\n name=\"frequencyType\"\n p-required\n [(ngModel)]=\"value.frequency.type\"\n [p-columns]=\"3\"\n [p-options]=\"frequencyOptions\"\n (p-change)=\"onChangeFrequencyOptions()\"\n >\n </po-radio-group>\n\n <po-number class=\"po-md-2\" name=\"frequencyValue\" p-required [(ngModel)]=\"value.frequency.value\"> </po-number>\n </ng-container>\n </div>\n\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.periodicityData\"> </po-divider>\n\n <ng-container *ngTemplateOutlet=\"periodicityTemplates[value.periodicity]\"> </ng-container>\n </div>\n\n <div class=\"po-row\">\n <po-switch\n class=\"po-md-3\"\n name=\"recurrent\"\n [(ngModel)]=\"value.recurrent\"\n [p-label]=\"literals.recurrent\"\n [p-label-off]=\"literals.no\"\n [p-label-on]=\"literals.yes\"\n >\n </po-switch>\n </div>\n </ng-container>\n </div>\n\n <ng-template #lookupProcessesID>\n <po-lookup\n *ngIf=\"noParameters\"\n class=\"po-md-12\"\n name=\"processID\"\n [(ngModel)]=\"value.processID\"\n p-field-label=\"description\"\n p-field-value=\"processID\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-filter-service]=\"poPageJobSchedulerLookup\"\n [p-label]=\"literals.process\"\n [p-placeholder]=\"literals.enterProcess\"\n >\n </po-lookup>\n </ng-template>\n\n <ng-template #inputProcessesID>\n <po-input\n class=\"po-md-12\"\n name=\"processID\"\n [(ngModel)]=\"value.processID\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.process\"\n [p-placeholder]=\"literals.enterProcess\"\n >\n </po-input>\n </ng-template>\n\n <ng-template #dailyTemplate>\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </ng-template>\n\n <ng-template #weeklyTemplate>\n <div class=\"po-row\">\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </div>\n\n <po-checkbox-group\n class=\"po-md-12\"\n name=\"daysOfWeek\"\n [(ngModel)]=\"value.daysOfWeek\"\n p-columns=\"4\"\n p-required\n [p-label]=\"literals.weekDays\"\n [p-options]=\"weekDays\"\n >\n </po-checkbox-group>\n </ng-template>\n\n <ng-template #monthlyTemplate>\n <po-number\n class=\"po-md-3\"\n name=\"dayOfMonth\"\n [(ngModel)]=\"value.dayOfMonth\"\n p-required\n [p-error-pattern]=\"'Dia inv\u00E1lido'\"\n [p-label]=\"dayLabel\"\n [p-max]=\"31\"\n [p-pattern]=\"dayPattern\"\n >\n </po-number>\n\n <po-number\n *ngIf=\"containsFrequency\"\n class=\"po-md-3\"\n name=\"rangeLimitDay\"\n [(ngModel)]=\"value.rangeLimitDay\"\n p-required\n [p-error-pattern]=\"'Dia inv\u00E1lido'\"\n [p-label]=\"literals.endDay\"\n [p-max]=\"31\"\n [p-pattern]=\"dayPattern\"\n >\n </po-number>\n\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </ng-template>\n\n <ng-template #inputHourTemplate>\n <po-input\n class=\"po-md-2\"\n name=\"hour\"\n [(ngModel)]=\"value.hour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-label]=\"hourLabel\"\n [p-pattern]=\"timePattern\"\n >\n </po-input>\n\n <po-input\n *ngIf=\"containsFrequency && value.frequency.type !== 'day'\"\n class=\"po-md-2\"\n name=\"rangeLimitHour\"\n [(ngModel)]=\"value.rangeLimitHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-label]=\"literals.endTime\"\n [p-pattern]=\"timePattern\"\n >\n </po-input>\n </ng-template>\n</form>\n"
|
|
6334
6474
|
},] }
|
|
6335
6475
|
];
|
|
6336
6476
|
PoPageJobSchedulerExecutionComponent.ctorParameters = function () { return [
|
|
@@ -6344,6 +6484,7 @@
|
|
|
6344
6484
|
weeklyTempalte: [{ type: i0.ViewChild, args: ['weeklyTemplate', { static: true },] }],
|
|
6345
6485
|
isEdit: [{ type: i0.Input, args: ['p-is-edit',] }],
|
|
6346
6486
|
literals: [{ type: i0.Input, args: ['p-literals',] }],
|
|
6487
|
+
noParameters: [{ type: i0.Input, args: ['p-no-parameters',] }],
|
|
6347
6488
|
changeProcess: [{ type: i0.Output, args: ['p-change-process',] }],
|
|
6348
6489
|
value: [{ type: i0.Input, args: ['p-value',] }]
|
|
6349
6490
|
};
|
|
@@ -6386,27 +6527,39 @@
|
|
|
6386
6527
|
this.literals = {};
|
|
6387
6528
|
this.parameters = [];
|
|
6388
6529
|
this.value = {};
|
|
6530
|
+
this.noParameters = true;
|
|
6389
6531
|
this.executionValue = '';
|
|
6390
6532
|
this.firstExecutionValue = '';
|
|
6391
6533
|
this.infoOrientation = i2.PoInfoOrientation.Horizontal;
|
|
6392
6534
|
this.periodicityValue = '';
|
|
6535
|
+
this.frequencyValue = '';
|
|
6536
|
+
this.rangeLimitHour = '';
|
|
6537
|
+
this.rangeLimitDay = '';
|
|
6393
6538
|
this.recurrentValue = '';
|
|
6394
6539
|
}
|
|
6395
6540
|
PoPageJobSchedulerSummaryComponent.prototype.ngOnInit = function () {
|
|
6396
|
-
var _a = this.value, periodicity = _a.periodicity, hour = _a.hour, dayOfMonth = _a.dayOfMonth, daysOfWeek = _a.daysOfWeek, recurrent = _a.recurrent, firstExecution = _a.firstExecution, firstExecutionHour = _a.firstExecutionHour;
|
|
6541
|
+
var _a = this.value, periodicity = _a.periodicity, hour = _a.hour, dayOfMonth = _a.dayOfMonth, daysOfWeek = _a.daysOfWeek, recurrent = _a.recurrent, firstExecution = _a.firstExecution, firstExecutionHour = _a.firstExecutionHour, frequency = _a.frequency, rangeLimitHour = _a.rangeLimitHour, rangeLimitDay = _a.rangeLimitDay;
|
|
6397
6542
|
this.periodicityValue = this.getPeriodicityLabel(periodicity);
|
|
6398
|
-
|
|
6543
|
+
if (frequency) {
|
|
6544
|
+
this.frequencyValue = this.getFrequencyValue(frequency, periodicity);
|
|
6545
|
+
}
|
|
6546
|
+
this.executionValue = this.getExecutionValue(periodicity, hour, daysOfWeek, dayOfMonth, rangeLimitHour, rangeLimitDay);
|
|
6399
6547
|
this.firstExecutionValue = this.getFirstExecutionLabel(firstExecution, firstExecutionHour);
|
|
6400
6548
|
this.recurrentValue = this.getRecurrentValue(recurrent);
|
|
6401
6549
|
};
|
|
6402
|
-
PoPageJobSchedulerSummaryComponent.prototype.
|
|
6550
|
+
PoPageJobSchedulerSummaryComponent.prototype.getFrequencyValue = function (frequency, periodicity) {
|
|
6551
|
+
return frequency['value'] && frequency['type'] && periodicity !== 'single'
|
|
6552
|
+
? frequency['value'] + " - " + frequency['type']
|
|
6553
|
+
: '';
|
|
6554
|
+
};
|
|
6555
|
+
PoPageJobSchedulerSummaryComponent.prototype.getExecutionValue = function (periodicity, hour, daysOfWeek, dayOfMonth, rangeLimitHour, rangeLimitDay) {
|
|
6403
6556
|
switch (periodicity) {
|
|
6404
6557
|
case 'daily':
|
|
6405
|
-
return this.getHourLabel(hour);
|
|
6558
|
+
return this.getHourLabel(hour, rangeLimitHour);
|
|
6406
6559
|
case 'monthly':
|
|
6407
|
-
return this.getMonthlyLabelExecution(dayOfMonth, hour);
|
|
6560
|
+
return this.getMonthlyLabelExecution(dayOfMonth, hour, rangeLimitHour, rangeLimitDay);
|
|
6408
6561
|
case 'weekly':
|
|
6409
|
-
return this.getWeeklyLabelExecution(daysOfWeek, hour);
|
|
6562
|
+
return this.getWeeklyLabelExecution(daysOfWeek, hour, rangeLimitHour);
|
|
6410
6563
|
default:
|
|
6411
6564
|
return this.literals.notReported;
|
|
6412
6565
|
}
|
|
@@ -6420,12 +6573,12 @@
|
|
|
6420
6573
|
return this.literals.notReported;
|
|
6421
6574
|
}
|
|
6422
6575
|
};
|
|
6423
|
-
PoPageJobSchedulerSummaryComponent.prototype.getHourLabel = function (hour) {
|
|
6424
|
-
return this.literals.at + " " + (hour || '00:00') + "
|
|
6576
|
+
PoPageJobSchedulerSummaryComponent.prototype.getHourLabel = function (hour, rangeLimitHour) {
|
|
6577
|
+
return (rangeLimitHour ? this.literals.from : this.literals.at) + " " + (hour || '00:00') + " " + (rangeLimitHour ? this.literals.to + ' ' + rangeLimitHour : '');
|
|
6425
6578
|
};
|
|
6426
|
-
PoPageJobSchedulerSummaryComponent.prototype.getMonthlyLabelExecution = function (dayOfMonth, hour) {
|
|
6427
|
-
var hourLabel = this.getHourLabel(hour);
|
|
6428
|
-
return this.literals.
|
|
6579
|
+
PoPageJobSchedulerSummaryComponent.prototype.getMonthlyLabelExecution = function (dayOfMonth, hour, rangeLimitHour, rangeLimitDay) {
|
|
6580
|
+
var hourLabel = this.getHourLabel(hour, rangeLimitHour);
|
|
6581
|
+
return (rangeLimitDay ? this.literals.from : '') + " " + dayOfMonth + " " + (rangeLimitDay ? this.literals.to : '') + " " + (rangeLimitDay ? rangeLimitDay : '') + " " + hourLabel;
|
|
6429
6582
|
};
|
|
6430
6583
|
PoPageJobSchedulerSummaryComponent.prototype.getPeriodicityLabel = function (periodicity) {
|
|
6431
6584
|
switch (periodicity) {
|
|
@@ -6471,9 +6624,9 @@
|
|
|
6471
6624
|
var weekDaysSorted = this.sortWeekDays(days);
|
|
6472
6625
|
return weekDaysSorted.map(function (day) { return _this.getTranslateWeekDay(day); }).join(', ');
|
|
6473
6626
|
};
|
|
6474
|
-
PoPageJobSchedulerSummaryComponent.prototype.getWeeklyLabelExecution = function (daysOfWeek, hour) {
|
|
6627
|
+
PoPageJobSchedulerSummaryComponent.prototype.getWeeklyLabelExecution = function (daysOfWeek, hour, rangeLimitHour) {
|
|
6475
6628
|
if (daysOfWeek && Array.isArray(daysOfWeek)) {
|
|
6476
|
-
return this.getWeekDaysLabel(daysOfWeek) + " " + this.getHourLabel(hour);
|
|
6629
|
+
return this.getWeekDaysLabel(daysOfWeek) + " " + this.getHourLabel(hour, rangeLimitHour);
|
|
6477
6630
|
}
|
|
6478
6631
|
else {
|
|
6479
6632
|
return this.literals.notReported;
|
|
@@ -6493,7 +6646,7 @@
|
|
|
6493
6646
|
PoPageJobSchedulerSummaryComponent.decorators = [
|
|
6494
6647
|
{ type: i0.Component, args: [{
|
|
6495
6648
|
selector: 'po-page-job-scheduler-summary',
|
|
6496
|
-
template: "<div class=\"po-md-12\">\n <po-info
|
|
6649
|
+
template: "<div class=\"po-md-12\">\n <po-info\n *ngIf=\"noParameters\"\n [p-label]=\"literals.process\"\n [p-orientation]=\"infoOrientation\"\n [p-value]=\"value.processID\"\n >\n </po-info>\n\n <po-info [p-label]=\"literals.periodicity\" [p-orientation]=\"infoOrientation\" [p-value]=\"periodicityValue\"> </po-info>\n\n <po-info\n *ngIf=\"frequencyValue !== ''\"\n [p-label]=\"literals.frequency\"\n [p-orientation]=\"infoOrientation\"\n [p-value]=\"frequencyValue\"\n >\n </po-info>\n\n <po-info\n *ngIf=\"value.periodicity !== 'single'\"\n [p-label]=\"literals.execution\"\n [p-orientation]=\"infoOrientation\"\n [p-value]=\"executionValue\"\n >\n </po-info>\n\n <po-info [p-label]=\"literals.recurrent\" [p-orientation]=\"infoOrientation\" [p-value]=\"recurrentValue\"> </po-info>\n\n <po-info [p-label]=\"literals.firstExecution\" [p-orientation]=\"infoOrientation\" [p-value]=\"firstExecutionValue\">\n </po-info>\n</div>\n\n<po-widget *ngIf=\"parameters && parameters.length\" class=\"po-pt-1 po-pb-1 po-md-12\" [p-title]=\"literals.parameters\">\n <po-dynamic-view [p-fields]=\"parameters\" [p-value]=\"value.executionParameter\"> </po-dynamic-view>\n</po-widget>\n"
|
|
6497
6650
|
},] }
|
|
6498
6651
|
];
|
|
6499
6652
|
PoPageJobSchedulerSummaryComponent.ctorParameters = function () { return [
|
|
@@ -6502,7 +6655,8 @@
|
|
|
6502
6655
|
PoPageJobSchedulerSummaryComponent.propDecorators = {
|
|
6503
6656
|
literals: [{ type: i0.Input, args: ['p-literals',] }],
|
|
6504
6657
|
parameters: [{ type: i0.Input, args: ['p-parameters',] }],
|
|
6505
|
-
value: [{ type: i0.Input, args: ['p-value',] }]
|
|
6658
|
+
value: [{ type: i0.Input, args: ['p-value',] }],
|
|
6659
|
+
noParameters: [{ type: i0.Input, args: ['p-no-parameters',] }]
|
|
6506
6660
|
};
|
|
6507
6661
|
|
|
6508
6662
|
var PoPageJobSchedulerModule = /** @class */ (function () {
|