@po-ui/ng-templates 18.1.0 → 18.2.0
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/esm2022/lib/components/po-page-job-scheduler/index.mjs +2 -1
- package/esm2022/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/index.mjs +2 -0
- package/esm2022/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/index.mjs +2 -0
- package/esm2022/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/po-job-scheduler-summary-template.directive.mjs +44 -0
- package/esm2022/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.mjs +24 -8
- package/esm2022/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.mjs +20 -8
- package/esm2022/lib/components/po-page-job-scheduler/po-page-job-scheduler.module.mjs +14 -5
- package/fesm2022/po-ui-ng-templates.mjs +95 -18
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/lib/components/po-page-job-scheduler/index.d.ts +1 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/index.d.ts +1 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/index.d.ts +1 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/po-job-scheduler-summary-template.directive.d.ts +34 -0
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.d.ts +3 -2
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.d.ts +10 -3
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.module.d.ts +5 -4
- package/package.json +4 -4
- package/po-ui-ng-templates-18.2.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-18.1.0.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Directive, Input, Output, Injectable, Component, ViewChild, NgModule, ChangeDetectionStrategy, ViewContainerRef, ViewEncapsulation, ContentChildren } from '@angular/core';
|
|
2
|
+
import { EventEmitter, Directive, Input, Output, Injectable, Component, ViewChild, NgModule, ChangeDetectionStrategy, ViewContainerRef, ViewEncapsulation, ContentChildren, ContentChild } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i5 from '@angular/forms';
|
|
@@ -8073,6 +8073,48 @@ class PoJobSchedulerParametersTemplateDirective {
|
|
|
8073
8073
|
args: ['p-label-step']
|
|
8074
8074
|
}] }); })();
|
|
8075
8075
|
|
|
8076
|
+
/**
|
|
8077
|
+
* @usedBy PoPageJobScheduler
|
|
8078
|
+
*
|
|
8079
|
+
* @description
|
|
8080
|
+
*
|
|
8081
|
+
* Esta diretiva permite personalizar o conteúdo de resumo das informações de parâmetro na etapa de conclusão do componente de PoPageJobScheduler.
|
|
8082
|
+
*
|
|
8083
|
+
* Essa funcionalidade costuma ser útil em casos onde a propriedade parameters não tem valor e mesmo assim é necessário exibir
|
|
8084
|
+
* as informações de resumo na etapa de conclusão.
|
|
8085
|
+
*
|
|
8086
|
+
* ```
|
|
8087
|
+
* ...
|
|
8088
|
+
* <po-page-job-scheduler [p-service-api]="serviceApi">
|
|
8089
|
+
* <ng-template p-job-scheduler-summary-template>
|
|
8090
|
+
* ...
|
|
8091
|
+
* <po-dynamic-view
|
|
8092
|
+
* [p-fields]="fieldsSummary"
|
|
8093
|
+
* [p-value]="valueSummary"
|
|
8094
|
+
* >
|
|
8095
|
+
* </po-dynamic-view
|
|
8096
|
+
* </ng-template>
|
|
8097
|
+
* </po-page-job-scheduler>
|
|
8098
|
+
* ...
|
|
8099
|
+
* ```
|
|
8100
|
+
*
|
|
8101
|
+
*/
|
|
8102
|
+
class PoJobSchedulerSummaryTemplateDirective {
|
|
8103
|
+
templateRef;
|
|
8104
|
+
// Necessário manter templateRef para o funcionamento do row template.
|
|
8105
|
+
constructor(templateRef) {
|
|
8106
|
+
this.templateRef = templateRef;
|
|
8107
|
+
}
|
|
8108
|
+
static ɵfac = function PoJobSchedulerSummaryTemplateDirective_Factory(t) { return new (t || PoJobSchedulerSummaryTemplateDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
8109
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoJobSchedulerSummaryTemplateDirective, selectors: [["", "p-job-scheduler-summary-template", ""]] });
|
|
8110
|
+
}
|
|
8111
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoJobSchedulerSummaryTemplateDirective, [{
|
|
8112
|
+
type: Directive,
|
|
8113
|
+
args: [{
|
|
8114
|
+
selector: '[p-job-scheduler-summary-template]'
|
|
8115
|
+
}]
|
|
8116
|
+
}], () => [{ type: i0.TemplateRef }], null); })();
|
|
8117
|
+
|
|
8076
8118
|
class PoPageJobSchedulerLookupService {
|
|
8077
8119
|
poPageJobSchedulerService;
|
|
8078
8120
|
constructor(poPageJobSchedulerService) {
|
|
@@ -8570,8 +8612,8 @@ function PoPageJobSchedulerSummaryComponent_po_info_4_Template(rf, ctx) { if (rf
|
|
|
8570
8612
|
i0.ɵɵproperty("p-label", ctx_r0.literals.execution)("p-orientation", ctx_r0.infoOrientation)("p-value", ctx_r0.executionValue);
|
|
8571
8613
|
} }
|
|
8572
8614
|
function PoPageJobSchedulerSummaryComponent_po_widget_7_Template(rf, ctx) { if (rf & 1) {
|
|
8573
|
-
i0.ɵɵelementStart(0, "po-widget",
|
|
8574
|
-
i0.ɵɵelement(1, "po-dynamic-view",
|
|
8615
|
+
i0.ɵɵelementStart(0, "po-widget", 5);
|
|
8616
|
+
i0.ɵɵelement(1, "po-dynamic-view", 6);
|
|
8575
8617
|
i0.ɵɵelementEnd();
|
|
8576
8618
|
} if (rf & 2) {
|
|
8577
8619
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -8579,12 +8621,23 @@ function PoPageJobSchedulerSummaryComponent_po_widget_7_Template(rf, ctx) { if (
|
|
|
8579
8621
|
i0.ɵɵadvance();
|
|
8580
8622
|
i0.ɵɵproperty("p-fields", ctx_r0.parameters)("p-value", ctx_r0.value.executionParameter);
|
|
8581
8623
|
} }
|
|
8624
|
+
function PoPageJobSchedulerSummaryComponent_div_8_ng_template_1_Template(rf, ctx) { }
|
|
8625
|
+
function PoPageJobSchedulerSummaryComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
8626
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
8627
|
+
i0.ɵɵtemplate(1, PoPageJobSchedulerSummaryComponent_div_8_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
8628
|
+
i0.ɵɵelementEnd();
|
|
8629
|
+
} if (rf & 2) {
|
|
8630
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
8631
|
+
i0.ɵɵadvance();
|
|
8632
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.jobSchedulerSummaryTemplate == null ? null : ctx_r0.jobSchedulerSummaryTemplate.templateRef);
|
|
8633
|
+
} }
|
|
8582
8634
|
class PoPageJobSchedulerSummaryComponent {
|
|
8583
8635
|
datePipe;
|
|
8584
8636
|
literals = {};
|
|
8585
8637
|
parameters = [];
|
|
8586
8638
|
value = {};
|
|
8587
8639
|
noParameters = true;
|
|
8640
|
+
jobSchedulerSummaryTemplate;
|
|
8588
8641
|
executionValue = '';
|
|
8589
8642
|
firstExecutionValue = '';
|
|
8590
8643
|
infoOrientation = PoInfoOrientation.Horizontal;
|
|
@@ -8698,14 +8751,14 @@ class PoPageJobSchedulerSummaryComponent {
|
|
|
8698
8751
|
});
|
|
8699
8752
|
}
|
|
8700
8753
|
static ɵfac = function PoPageJobSchedulerSummaryComponent_Factory(t) { return new (t || PoPageJobSchedulerSummaryComponent)(i0.ɵɵdirectiveInject(i4.DatePipe)); };
|
|
8701
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageJobSchedulerSummaryComponent, selectors: [["po-page-job-scheduler-summary"]], inputs: { literals: [0, "p-literals", "literals"], parameters: [0, "p-parameters", "parameters"], value: [0, "p-value", "value"], noParameters: [0, "p-no-parameters", "noParameters"] }, decls:
|
|
8754
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageJobSchedulerSummaryComponent, selectors: [["po-page-job-scheduler-summary"]], inputs: { literals: [0, "p-literals", "literals"], parameters: [0, "p-parameters", "parameters"], value: [0, "p-value", "value"], noParameters: [0, "p-no-parameters", "noParameters"], jobSchedulerSummaryTemplate: [0, "p-summary-template", "jobSchedulerSummaryTemplate"] }, decls: 9, vars: 14, consts: [[1, "po-md-12"], [3, "p-label", "p-orientation", "p-value", 4, "ngIf"], [3, "p-label", "p-orientation", "p-value"], ["class", "po-pt-1 po-pb-1 po-md-12", 3, "p-title", 4, "ngIf"], ["class", "po-pt-1 po-pb-1 po-md-12", 4, "ngIf"], [1, "po-pt-1", "po-pb-1", "po-md-12", 3, "p-title"], [3, "p-fields", "p-value"], [1, "po-pt-1", "po-pb-1", "po-md-12"], [3, "ngTemplateOutlet"]], template: function PoPageJobSchedulerSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8702
8755
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8703
8756
|
i0.ɵɵtemplate(1, PoPageJobSchedulerSummaryComponent_po_info_1_Template, 1, 3, "po-info", 1);
|
|
8704
8757
|
i0.ɵɵelement(2, "po-info", 2);
|
|
8705
8758
|
i0.ɵɵtemplate(3, PoPageJobSchedulerSummaryComponent_po_info_3_Template, 1, 3, "po-info", 1)(4, PoPageJobSchedulerSummaryComponent_po_info_4_Template, 1, 3, "po-info", 1);
|
|
8706
8759
|
i0.ɵɵelement(5, "po-info", 2)(6, "po-info", 2);
|
|
8707
8760
|
i0.ɵɵelementEnd();
|
|
8708
|
-
i0.ɵɵtemplate(7, PoPageJobSchedulerSummaryComponent_po_widget_7_Template, 2, 3, "po-widget", 3);
|
|
8761
|
+
i0.ɵɵtemplate(7, PoPageJobSchedulerSummaryComponent_po_widget_7_Template, 2, 3, "po-widget", 3)(8, PoPageJobSchedulerSummaryComponent_div_8_Template, 2, 1, "div", 4);
|
|
8709
8762
|
} if (rf & 2) {
|
|
8710
8763
|
i0.ɵɵadvance();
|
|
8711
8764
|
i0.ɵɵproperty("ngIf", !ctx.noParameters);
|
|
@@ -8720,12 +8773,14 @@ class PoPageJobSchedulerSummaryComponent {
|
|
|
8720
8773
|
i0.ɵɵadvance();
|
|
8721
8774
|
i0.ɵɵproperty("p-label", ctx.literals.firstExecution)("p-orientation", ctx.infoOrientation)("p-value", ctx.firstExecutionValue);
|
|
8722
8775
|
i0.ɵɵadvance();
|
|
8723
|
-
i0.ɵɵproperty("ngIf", ctx.parameters && ctx.parameters.length);
|
|
8724
|
-
|
|
8776
|
+
i0.ɵɵproperty("ngIf", ctx.parameters && ctx.parameters.length && !ctx.jobSchedulerSummaryTemplate);
|
|
8777
|
+
i0.ɵɵadvance();
|
|
8778
|
+
i0.ɵɵproperty("ngIf", ctx.jobSchedulerSummaryTemplate);
|
|
8779
|
+
} }, dependencies: [i4.NgIf, i4.NgTemplateOutlet, i2.PoDynamicViewComponent, i2.PoInfoComponent, i2.PoWidgetComponent], encapsulation: 2 });
|
|
8725
8780
|
}
|
|
8726
8781
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageJobSchedulerSummaryComponent, [{
|
|
8727
8782
|
type: Component,
|
|
8728
|
-
args: [{ selector: 'po-page-job-scheduler-summary', 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
|
|
8783
|
+
args: [{ selector: 'po-page-job-scheduler-summary', 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<po-widget\n *ngIf=\"parameters && parameters.length && !jobSchedulerSummaryTemplate\"\n class=\"po-pt-1 po-pb-1 po-md-12\"\n [p-title]=\"literals.parameters\"\n>\n <po-dynamic-view [p-fields]=\"parameters\" [p-value]=\"value.executionParameter\"> </po-dynamic-view>\n</po-widget>\n<div *ngIf=\"jobSchedulerSummaryTemplate\" class=\"po-pt-1 po-pb-1 po-md-12\">\n <ng-template [ngTemplateOutlet]=\"jobSchedulerSummaryTemplate?.templateRef\"></ng-template>\n</div>\n" }]
|
|
8729
8784
|
}], () => [{ type: i4.DatePipe }], { literals: [{
|
|
8730
8785
|
type: Input,
|
|
8731
8786
|
args: ['p-literals']
|
|
@@ -8738,6 +8793,9 @@ class PoPageJobSchedulerSummaryComponent {
|
|
|
8738
8793
|
}], noParameters: [{
|
|
8739
8794
|
type: Input,
|
|
8740
8795
|
args: ['p-no-parameters']
|
|
8796
|
+
}], jobSchedulerSummaryTemplate: [{
|
|
8797
|
+
type: Input,
|
|
8798
|
+
args: ['p-summary-template']
|
|
8741
8799
|
}] }); })();
|
|
8742
8800
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoPageJobSchedulerSummaryComponent, { className: "PoPageJobSchedulerSummaryComponent", filePath: "lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.ts", lineNumber: 12 }); })();
|
|
8743
8801
|
|
|
@@ -8758,7 +8816,7 @@ function PoPageJobSchedulerComponent_po_page_job_scheduler_summary_10_Template(r
|
|
|
8758
8816
|
i0.ɵɵelement(0, "po-page-job-scheduler-summary", 12);
|
|
8759
8817
|
} if (rf & 2) {
|
|
8760
8818
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
8761
|
-
i0.ɵɵproperty("p-no-parameters", !ctx_r2.parameters.length)("p-literals", ctx_r2.literals)("p-parameters", ctx_r2.parameters)("p-value", ctx_r2.publicValues);
|
|
8819
|
+
i0.ɵɵproperty("p-no-parameters", !ctx_r2.parameters.length)("p-summary-template", ctx_r2.jobSchedulerSummaryTemplate)("p-literals", ctx_r2.literals)("p-parameters", ctx_r2.parameters)("p-value", ctx_r2.publicValues);
|
|
8762
8820
|
} }
|
|
8763
8821
|
function PoPageJobSchedulerComponent_ng_container_11_ng_template_2_Template(rf, ctx) { }
|
|
8764
8822
|
function PoPageJobSchedulerComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -8786,6 +8844,11 @@ function PoPageJobSchedulerComponent_ng_container_11_Template(rf, ctx) { if (rf
|
|
|
8786
8844
|
* <file name="sample-po-page-job-scheduler-background-process/sample-po-page-job-scheduler-background-process.component.ts"> </file>
|
|
8787
8845
|
* </example>
|
|
8788
8846
|
*
|
|
8847
|
+
* <example name="po-page-job-scheduler-directives" title="PO Page Job Scheduler - Directives">
|
|
8848
|
+
* <file name="sample-po-page-job-scheduler-directives/sample-po-page-job-scheduler-directives.component.html"> </file>
|
|
8849
|
+
* <file name="sample-po-page-job-scheduler-directives/sample-po-page-job-scheduler-directives.component.ts"> </file>
|
|
8850
|
+
* </example>
|
|
8851
|
+
*
|
|
8789
8852
|
*/
|
|
8790
8853
|
class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
8791
8854
|
poPageDynamicLookupService;
|
|
@@ -8796,6 +8859,7 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
8796
8859
|
schedulerExecution;
|
|
8797
8860
|
schedulerParameters;
|
|
8798
8861
|
parametersTemplate;
|
|
8862
|
+
jobSchedulerSummaryTemplate;
|
|
8799
8863
|
isEdit = false;
|
|
8800
8864
|
literals = {
|
|
8801
8865
|
...poPageJobSchedulerLiteralsDefault[poLocaleDefault]
|
|
@@ -9077,9 +9141,11 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
9077
9141
|
}
|
|
9078
9142
|
static ɵfac = function PoPageJobSchedulerComponent_Factory(t) { return new (t || PoPageJobSchedulerComponent)(i0.ɵɵdirectiveInject(PoPageJobSchedulerLookupService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.PoDialogService), i0.ɵɵdirectiveInject(i2.PoNotificationService), i0.ɵɵdirectiveInject(PoPageJobSchedulerService), i0.ɵɵdirectiveInject(i2.PoLanguageService)); };
|
|
9079
9143
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageJobSchedulerComponent, selectors: [["po-page-job-scheduler"]], contentQueries: function PoPageJobSchedulerComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
9144
|
+
i0.ɵɵcontentQuery(dirIndex, PoJobSchedulerSummaryTemplateDirective, 5);
|
|
9080
9145
|
i0.ɵɵcontentQuery(dirIndex, PoJobSchedulerParametersTemplateDirective, 4);
|
|
9081
9146
|
} if (rf & 2) {
|
|
9082
9147
|
let _t;
|
|
9148
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.jobSchedulerSummaryTemplate = _t.first);
|
|
9083
9149
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.parametersTemplate = _t);
|
|
9084
9150
|
} }, viewQuery: function PoPageJobSchedulerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9085
9151
|
i0.ɵɵviewQuery(_c0$1, 7);
|
|
@@ -9088,7 +9154,7 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
9088
9154
|
let _t;
|
|
9089
9155
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.schedulerExecution = _t.first);
|
|
9090
9156
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.schedulerParameters = _t.first);
|
|
9091
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 17, consts: [["formScheduler", "ngForm"], ["schedulerExecution", ""], ["schedulerParameters", ""], [3, "p-actions", "p-breadcrumb", "p-title"], [1, "po-row"], ["p-sequential", "true", 3, "p-change-step", "ngClass", "p-orientation", "p-step", "p-steps"], [3, "ngClass"], [1, "po-md-12", 3, "p-change-process", "p-no-parameters", "p-no-custom-params-component", "hidden", "p-is-edit", "p-literals", "p-value"], ["class", "po-md-12", 3, "hidden", "p-literals", "p-parameters", "p-value", "p-valueChange", 4, "ngIf"], ["class", "po-md-12", 3, "p-no-parameters", "p-literals", "p-parameters", "p-value", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "po-md-12", 3, "p-valueChange", "hidden", "p-literals", "p-parameters", "p-value"], [1, "po-md-12", 3, "p-no-parameters", "p-literals", "p-parameters", "p-value"], [3, "hidden"], [3, "ngTemplateOutlet"]], template: function PoPageJobSchedulerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9157
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 17, consts: [["formScheduler", "ngForm"], ["schedulerExecution", ""], ["schedulerParameters", ""], [3, "p-actions", "p-breadcrumb", "p-title"], [1, "po-row"], ["p-sequential", "true", 3, "p-change-step", "ngClass", "p-orientation", "p-step", "p-steps"], [3, "ngClass"], [1, "po-md-12", 3, "p-change-process", "p-no-parameters", "p-no-custom-params-component", "hidden", "p-is-edit", "p-literals", "p-value"], ["class", "po-md-12", 3, "hidden", "p-literals", "p-parameters", "p-value", "p-valueChange", 4, "ngIf"], ["class", "po-md-12", 3, "p-no-parameters", "p-summary-template", "p-literals", "p-parameters", "p-value", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "po-md-12", 3, "p-valueChange", "hidden", "p-literals", "p-parameters", "p-value"], [1, "po-md-12", 3, "p-no-parameters", "p-summary-template", "p-literals", "p-parameters", "p-value"], [3, "hidden"], [3, "ngTemplateOutlet"]], template: function PoPageJobSchedulerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9092
9158
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
9093
9159
|
i0.ɵɵelementStart(0, "po-page-default", 3)(1, "div", 4)(2, "po-stepper", 5);
|
|
9094
9160
|
i0.ɵɵlistener("p-change-step", function PoPageJobSchedulerComponent_Template_po_stepper_p_change_step_2_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.nextStep($event)); });
|
|
@@ -9096,7 +9162,7 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
9096
9162
|
i0.ɵɵelementStart(3, "po-container", 6)(4, "form", null, 0)(6, "div", 4)(7, "po-page-job-scheduler-execution", 7, 1);
|
|
9097
9163
|
i0.ɵɵlistener("p-change-process", function PoPageJobSchedulerComponent_Template_po_page_job_scheduler_execution_p_change_process_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onChangeProcess($event)); });
|
|
9098
9164
|
i0.ɵɵelementEnd();
|
|
9099
|
-
i0.ɵɵtemplate(9, PoPageJobSchedulerComponent_po_page_job_scheduler_parameters_9_Template, 2, 5, "po-page-job-scheduler-parameters", 8)(10, PoPageJobSchedulerComponent_po_page_job_scheduler_summary_10_Template, 1,
|
|
9165
|
+
i0.ɵɵtemplate(9, PoPageJobSchedulerComponent_po_page_job_scheduler_parameters_9_Template, 2, 5, "po-page-job-scheduler-parameters", 8)(10, PoPageJobSchedulerComponent_po_page_job_scheduler_summary_10_Template, 1, 5, "po-page-job-scheduler-summary", 9);
|
|
9100
9166
|
i0.ɵɵelementEnd()();
|
|
9101
9167
|
i0.ɵɵtemplate(11, PoPageJobSchedulerComponent_ng_container_11_Template, 3, 2, "ng-container", 10);
|
|
9102
9168
|
i0.ɵɵelementEnd()()();
|
|
@@ -9118,7 +9184,7 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
9118
9184
|
}
|
|
9119
9185
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageJobSchedulerComponent, [{
|
|
9120
9186
|
type: Component,
|
|
9121
|
-
args: [{ selector: 'po-page-job-scheduler', encapsulation: ViewEncapsulation.None, template: "<po-page-default [p-actions]=\"jobSchedulerActions\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <div class=\"po-row\">\n <po-stepper\n [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : '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 [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : '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 [p-no-custom-params-component]=\"!parametersTemplate.length\"\n [hidden]=\"step !== stepExecution\"\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=\"stepParametersInitialized && !parametersTemplate.length\"\n [hidden]=\"step !== stepParameters\"\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]=\"!parameters.length\"\n
|
|
9187
|
+
args: [{ selector: 'po-page-job-scheduler', encapsulation: ViewEncapsulation.None, template: "<po-page-default [p-actions]=\"jobSchedulerActions\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <div class=\"po-row\">\n <po-stepper\n [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : '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 [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : '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 [p-no-custom-params-component]=\"!parametersTemplate.length\"\n [hidden]=\"step !== stepExecution\"\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=\"stepParametersInitialized && !parametersTemplate.length\"\n [hidden]=\"step !== stepParameters\"\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 === stepSummary\"\n [p-no-parameters]=\"!parameters.length\"\n [p-summary-template]=\"jobSchedulerSummaryTemplate\"\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\n <ng-container *ngFor=\"let template of parametersTemplate; index as index\">\n <div [hidden]=\"step !== index + (_stepExecutionLast ? 1 : 2)\">\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\"></ng-template>\n </div>\n </ng-container>\n </po-container>\n </div>\n</po-page-default>\n", styles: ["po-container .po-container{overflow-y:unset}\n"] }]
|
|
9122
9188
|
}], () => [{ type: PoPageJobSchedulerLookupService }, { type: i1$1.ActivatedRoute }, { type: i2.PoDialogService }, { type: i2.PoNotificationService }, { type: PoPageJobSchedulerService }, { type: i2.PoLanguageService }], { schedulerExecution: [{
|
|
9123
9189
|
type: ViewChild,
|
|
9124
9190
|
args: ['schedulerExecution', { static: true }]
|
|
@@ -9128,8 +9194,11 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
9128
9194
|
}], parametersTemplate: [{
|
|
9129
9195
|
type: ContentChildren,
|
|
9130
9196
|
args: [PoJobSchedulerParametersTemplateDirective]
|
|
9197
|
+
}], jobSchedulerSummaryTemplate: [{
|
|
9198
|
+
type: ContentChild,
|
|
9199
|
+
args: [PoJobSchedulerSummaryTemplateDirective]
|
|
9131
9200
|
}] }); })();
|
|
9132
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoPageJobSchedulerComponent, { className: "PoPageJobSchedulerComponent", filePath: "lib/components/po-page-job-scheduler/po-page-job-scheduler.component.ts", lineNumber:
|
|
9201
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoPageJobSchedulerComponent, { className: "PoPageJobSchedulerComponent", filePath: "lib/components/po-page-job-scheduler/po-page-job-scheduler.component.ts", lineNumber: 64 }); })();
|
|
9133
9202
|
|
|
9134
9203
|
class PoPageJobSchedulerModule {
|
|
9135
9204
|
static ɵfac = function PoPageJobSchedulerModule_Factory(t) { return new (t || PoPageJobSchedulerModule)(); };
|
|
@@ -9156,9 +9225,14 @@ class PoPageJobSchedulerModule {
|
|
|
9156
9225
|
PoPageJobSchedulerExecutionComponent,
|
|
9157
9226
|
PoPageJobSchedulerParametersComponent,
|
|
9158
9227
|
PoPageJobSchedulerSummaryComponent,
|
|
9159
|
-
PoJobSchedulerParametersTemplateDirective
|
|
9228
|
+
PoJobSchedulerParametersTemplateDirective,
|
|
9229
|
+
PoJobSchedulerSummaryTemplateDirective
|
|
9230
|
+
],
|
|
9231
|
+
exports: [
|
|
9232
|
+
PoPageJobSchedulerComponent,
|
|
9233
|
+
PoJobSchedulerParametersTemplateDirective,
|
|
9234
|
+
PoJobSchedulerSummaryTemplateDirective
|
|
9160
9235
|
],
|
|
9161
|
-
exports: [PoPageJobSchedulerComponent, PoJobSchedulerParametersTemplateDirective],
|
|
9162
9236
|
imports: [
|
|
9163
9237
|
CommonModule,
|
|
9164
9238
|
FormsModule,
|
|
@@ -9181,7 +9255,8 @@ class PoPageJobSchedulerModule {
|
|
|
9181
9255
|
PoPageJobSchedulerExecutionComponent,
|
|
9182
9256
|
PoPageJobSchedulerParametersComponent,
|
|
9183
9257
|
PoPageJobSchedulerSummaryComponent,
|
|
9184
|
-
PoJobSchedulerParametersTemplateDirective
|
|
9258
|
+
PoJobSchedulerParametersTemplateDirective,
|
|
9259
|
+
PoJobSchedulerSummaryTemplateDirective], imports: [CommonModule,
|
|
9185
9260
|
FormsModule,
|
|
9186
9261
|
PoButtonModule,
|
|
9187
9262
|
PoContainerModule,
|
|
@@ -9193,7 +9268,9 @@ class PoPageJobSchedulerModule {
|
|
|
9193
9268
|
PoInfoModule,
|
|
9194
9269
|
PoPageModule,
|
|
9195
9270
|
PoStepperModule,
|
|
9196
|
-
PoWidgetModule], exports: [PoPageJobSchedulerComponent,
|
|
9271
|
+
PoWidgetModule], exports: [PoPageJobSchedulerComponent,
|
|
9272
|
+
PoJobSchedulerParametersTemplateDirective,
|
|
9273
|
+
PoJobSchedulerSummaryTemplateDirective] }); })();
|
|
9197
9274
|
|
|
9198
9275
|
/**
|
|
9199
9276
|
* @usedBy PoPageLoginComponent
|
|
@@ -11039,5 +11116,5 @@ class PoTemplatesModule {
|
|
|
11039
11116
|
* Generated bundle index. Do not edit.
|
|
11040
11117
|
*/
|
|
11041
11118
|
|
|
11042
|
-
export { PoComponentsModule, PoJobSchedulerParametersTemplateDirective, PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryErrorMessageComponent, PoModalPasswordRecoveryModalContent, PoModalPasswordRecoveryModule, PoModalPasswordRecoveryType, PoPageBackgroundComponent, PoPageBackgroundModule, PoPageBlockedUserComponent, PoPageBlockedUserContactsComponent, PoPageBlockedUserModule, PoPageBlockedUserReason, PoPageBlockedUserReasonComponent, PoPageChangePasswordComponent, PoPageChangePasswordModule, PoPageCustomizationModule, PoPageCustomizationService, PoPageDynamicDetailComponent, PoPageDynamicDetailModule, PoPageDynamicEditComponent, PoPageDynamicEditModule, PoPageDynamicModule, PoPageDynamicSearchComponent, PoPageDynamicSearchModule, PoPageDynamicService, PoPageDynamicTableComponent, PoPageDynamicTableModule, PoPageJobSchedulerComponent, PoPageJobSchedulerModule, PoPageLoginAuthenticationType, PoPageLoginComponent, PoPageLoginModule, PoServicesModule, PoTemplatesModule, poModalPasswordRecoveryLiterals, poNotificationType, poNotificationTypeDefault, poPageBlockedUserButtonLiterals, poPageBlockedUserLiterals, poPageChangePasswordLiterals, poPageDynamicDetailLiteralsDefault, poPageDynamicEditLiteralsDefault, poPageDynamicLiterals };
|
|
11119
|
+
export { PoComponentsModule, PoJobSchedulerParametersTemplateDirective, PoJobSchedulerSummaryTemplateDirective, PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryErrorMessageComponent, PoModalPasswordRecoveryModalContent, PoModalPasswordRecoveryModule, PoModalPasswordRecoveryType, PoPageBackgroundComponent, PoPageBackgroundModule, PoPageBlockedUserComponent, PoPageBlockedUserContactsComponent, PoPageBlockedUserModule, PoPageBlockedUserReason, PoPageBlockedUserReasonComponent, PoPageChangePasswordComponent, PoPageChangePasswordModule, PoPageCustomizationModule, PoPageCustomizationService, PoPageDynamicDetailComponent, PoPageDynamicDetailModule, PoPageDynamicEditComponent, PoPageDynamicEditModule, PoPageDynamicModule, PoPageDynamicSearchComponent, PoPageDynamicSearchModule, PoPageDynamicService, PoPageDynamicTableComponent, PoPageDynamicTableModule, PoPageJobSchedulerComponent, PoPageJobSchedulerModule, PoPageLoginAuthenticationType, PoPageLoginComponent, PoPageLoginModule, PoServicesModule, PoTemplatesModule, poModalPasswordRecoveryLiterals, poNotificationType, poNotificationTypeDefault, poPageBlockedUserButtonLiterals, poPageBlockedUserLiterals, poPageChangePasswordLiterals, poPageDynamicDetailLiteralsDefault, poPageDynamicEditLiteralsDefault, poPageDynamicLiterals };
|
|
11043
11120
|
//# sourceMappingURL=po-ui-ng-templates.mjs.map
|