@hitsoft/e-donusum 1.0.113 → 1.0.115
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/esm2020/lib/components/hit-auto-send-rules/hit-auto-send-rule.component.mjs +3 -3
- package/esm2020/lib/components/hit-despatches/hit-despatch.component.mjs +36 -11
- package/esm2020/lib/components/hit-inbound-despatches/hit-inbound-despatch.component.mjs +50 -6
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +36 -10
- package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +37 -8
- package/esm2020/lib/document-serials/document-serial/document-serial.module.mjs +1 -1
- package/esm2020/lib/hit-proxy/hit-despatches/hit-despatch.service.mjs +28 -5
- package/esm2020/lib/hit-proxy/hit-inbound-despatches/hit-inbound-despatch.service.mjs +3 -3
- package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +16 -2
- package/esm2020/lib/hit-proxy/hit-invoices/hit-invoice.service.mjs +44 -8
- package/esm2020/lib/hit-proxy/shared/hit-shared.service.mjs +94 -7
- package/esm2020/lib/proxy/auto-send-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/auto-send-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/auto-send-rules/index.mjs +1 -1
- package/esm2020/lib/proxy/document-serials/index.mjs +1 -1
- package/esm2020/lib/proxy/gib-partner-pks/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rules/index.mjs +1 -1
- package/esm2020/lib/proxy/params-companies/index.mjs +1 -1
- package/esm2020/lib/proxy/params-generals/index.mjs +1 -1
- package/esm2020/lib/proxy/params-integrators/index.mjs +1 -1
- package/esm2020/lib/proxy/paramse-dispatches/index.mjs +1 -1
- package/esm2020/lib/proxy/paramse-invoices/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-formats/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rules/index.mjs +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +337 -55
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +335 -55
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/hit-proxy/hit-despatches/hit-despatch.service.d.ts +7 -2
- package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +4 -1
- package/lib/hit-proxy/hit-invoices/hit-invoice.service.d.ts +11 -2
- package/lib/hit-proxy/shared/hit-shared.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -17,16 +17,17 @@ import { PageModule } from '@abp/ng.components/page';
|
|
|
17
17
|
import { DateAdapter } from '@abp/ng.theme.shared/extensions';
|
|
18
18
|
import * as i4 from '@angular/forms';
|
|
19
19
|
import { Validators } from '@angular/forms';
|
|
20
|
-
import { finalize, tap, filter, switchMap } from 'rxjs/operators';
|
|
20
|
+
import { finalize, tap, filter, switchMap, map } from 'rxjs/operators';
|
|
21
21
|
import * as i6 from '@swimlane/ngx-datatable';
|
|
22
22
|
import * as i5 from '@angular/common';
|
|
23
23
|
import * as AspNetData from 'devextreme-aspnet-data-nojquery';
|
|
24
24
|
import * as i11 from 'devextreme-angular';
|
|
25
25
|
import { DxDataGridModule, DxTextAreaModule, DxTextBoxModule, DxHtmlEditorModule, DxSelectBoxModule, DxLookupModule, DxTabPanelModule, DxCheckBoxModule, DxDateBoxModule, DxNumberBoxModule, DxTemplateModule, DxDropDownBoxModule, DxRadioGroupModule, DxPopupModule } from 'devextreme-angular';
|
|
26
26
|
import * as i3$1 from 'devextreme-angular/ui/nested';
|
|
27
|
-
import { finalize as finalize$1, tap as tap$1, filter as filter$1, switchMap as switchMap$1, firstValueFrom, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
27
|
+
import { finalize as finalize$1, tap as tap$1, filter as filter$1, switchMap as switchMap$1, firstValueFrom, BehaviorSubject, ReplaySubject, map as map$1 } from 'rxjs';
|
|
28
28
|
import * as i13 from 'devextreme-angular/core';
|
|
29
29
|
import { __awaiter } from 'tslib';
|
|
30
|
+
import * as i3$2 from '@angular/common/http';
|
|
30
31
|
import * as i1$2 from '@angular/platform-browser';
|
|
31
32
|
import trMessages from 'devextreme/localization/messages/tr.json';
|
|
32
33
|
import { loadMessages, locale } from 'devextreme/localization';
|
|
@@ -9012,9 +9013,12 @@ var InvoiceType;
|
|
|
9012
9013
|
})(InvoiceType || (InvoiceType = {}));
|
|
9013
9014
|
|
|
9014
9015
|
class HitInvoiceService {
|
|
9015
|
-
constructor(restService, devexService
|
|
9016
|
+
constructor(restService, devexService, http, configState // ← ekle
|
|
9017
|
+
) {
|
|
9016
9018
|
this.restService = restService;
|
|
9017
9019
|
this.devexService = devexService;
|
|
9020
|
+
this.http = http;
|
|
9021
|
+
this.configState = configState;
|
|
9018
9022
|
this.apiName = 'eDonusum';
|
|
9019
9023
|
this.LoadInvoices = this.devexService.createStore({
|
|
9020
9024
|
key: "id",
|
|
@@ -9092,10 +9096,34 @@ class HitInvoiceService {
|
|
|
9092
9096
|
url: '/api/e-donusum/invoices/get-invoice-response',
|
|
9093
9097
|
params: { startDate: startDate, endDate: endDate, }
|
|
9094
9098
|
}, { apiName: this.apiName });
|
|
9095
|
-
this.
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
+
this.getInvoiceViewToken = (invoiceUUID) => {
|
|
9100
|
+
var _a, _b;
|
|
9101
|
+
const httpClient = this.restService.http;
|
|
9102
|
+
// ABP'nin base URL'sini al
|
|
9103
|
+
const baseUrl = ((_a = this.restService.configState) === null || _a === void 0 ? void 0 : _a.getDeep('environment.apis.eDonusum.url'))
|
|
9104
|
+
|| ((_b = this.restService.configState) === null || _b === void 0 ? void 0 : _b.getDeep('environment.apis.default.url'))
|
|
9105
|
+
|| 'https://localhost:44359';
|
|
9106
|
+
return httpClient.get(`${baseUrl}/api/e-donusum/invoices/get-invoice-view/${invoiceUUID}`, {
|
|
9107
|
+
responseType: 'blob',
|
|
9108
|
+
observe: 'response',
|
|
9109
|
+
headers: {
|
|
9110
|
+
'Authorization': `Bearer ${this.getToken()}`
|
|
9111
|
+
}
|
|
9112
|
+
}).pipe(map(response => {
|
|
9113
|
+
var _a;
|
|
9114
|
+
const cd = (_a = response.headers) === null || _a === void 0 ? void 0 : _a.get('Content-Disposition');
|
|
9115
|
+
let filename = 'fatura.pdf';
|
|
9116
|
+
if (cd) {
|
|
9117
|
+
const match = cd.match(/filename[^;=\n]*=["']?([^"';\n]+)["']?/i);
|
|
9118
|
+
if (match)
|
|
9119
|
+
filename = match[1].trim();
|
|
9120
|
+
}
|
|
9121
|
+
return {
|
|
9122
|
+
blobUrl: URL.createObjectURL(response.body),
|
|
9123
|
+
filename: filename
|
|
9124
|
+
};
|
|
9125
|
+
}));
|
|
9126
|
+
};
|
|
9099
9127
|
this.showAllFiles = (invoiceUUID) => this.restService.request({
|
|
9100
9128
|
method: 'GET',
|
|
9101
9129
|
url: `/api/e-donusum/invoices/show-all-files/${invoiceUUID}`,
|
|
@@ -9116,15 +9144,24 @@ class HitInvoiceService {
|
|
|
9116
9144
|
params: { blobID: blobID }
|
|
9117
9145
|
}, { apiName: this.apiName });
|
|
9118
9146
|
}
|
|
9147
|
+
// invoice.service.ts - yeni method ekle
|
|
9148
|
+
getInvoiceViewUrl(invoiceUUID) {
|
|
9149
|
+
return `/api/e-donusum/invoices/get-invoice-view/${invoiceUUID}`;
|
|
9150
|
+
}
|
|
9151
|
+
getToken() {
|
|
9152
|
+
return localStorage.getItem('access_token')
|
|
9153
|
+
|| sessionStorage.getItem('access_token')
|
|
9154
|
+
|| '';
|
|
9155
|
+
}
|
|
9119
9156
|
}
|
|
9120
|
-
HitInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitInvoiceService, deps: [{ token: i1.RestService }, { token: DevexpressRestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9157
|
+
HitInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitInvoiceService, deps: [{ token: i1.RestService }, { token: DevexpressRestService }, { token: i3$2.HttpClient }, { token: i1.ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9121
9158
|
HitInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitInvoiceService, providedIn: 'root' });
|
|
9122
9159
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitInvoiceService, decorators: [{
|
|
9123
9160
|
type: Injectable,
|
|
9124
9161
|
args: [{
|
|
9125
9162
|
providedIn: 'root',
|
|
9126
9163
|
}]
|
|
9127
|
-
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }]; } });
|
|
9164
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }, { type: i3$2.HttpClient }, { type: i1.ConfigStateService }]; } });
|
|
9128
9165
|
|
|
9129
9166
|
class HitFileDocumentTypeService {
|
|
9130
9167
|
constructor(restService, devexService) {
|
|
@@ -9179,14 +9216,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
9179
9216
|
class HitSharedService {
|
|
9180
9217
|
constructor() {
|
|
9181
9218
|
this.apiName = 'eDonusum';
|
|
9182
|
-
|
|
9219
|
+
/*previewFile = (base64, filename: string = 'fatura.pdf') => {
|
|
9220
|
+
const cleanBase64 = base64.includes(',') ? base64.split(',')[1] : base64;
|
|
9221
|
+
const bytes = Uint8Array.from(atob(cleanBase64), c => c.charCodeAt(0));
|
|
9222
|
+
|
|
9223
|
+
// File objesi blob'a filename metadata'sı ekler
|
|
9224
|
+
const file = new File([bytes], filename, { type: 'application/pdf' });
|
|
9225
|
+
const url = URL.createObjectURL(file);
|
|
9226
|
+
|
|
9227
|
+
const newTab = window.open('', '_blank');
|
|
9228
|
+
newTab.history.pushState({}, filename, `/${filename}`);
|
|
9229
|
+
newTab.document.write(`
|
|
9230
|
+
<html>
|
|
9231
|
+
<head><title>${filename}</title></head>
|
|
9232
|
+
<body style="margin:0;overflow:hidden">
|
|
9233
|
+
<iframe
|
|
9234
|
+
src="${url}#toolbar=1"
|
|
9235
|
+
style="width:100%;height:100vh;border:none;"
|
|
9236
|
+
></iframe>
|
|
9237
|
+
</body>
|
|
9238
|
+
</html>
|
|
9239
|
+
`);
|
|
9240
|
+
|
|
9241
|
+
setTimeout(() => URL.revokeObjectURL(url), 60_000);
|
|
9242
|
+
}*/
|
|
9243
|
+
this.previewFile = (base64, filename = 'fatura.pdf') => {
|
|
9183
9244
|
const cleanBase64 = base64.includes(',') ? base64.split(',')[1] : base64;
|
|
9184
9245
|
const bytes = Uint8Array.from(atob(cleanBase64), c => c.charCodeAt(0));
|
|
9185
|
-
const
|
|
9186
|
-
const url = URL.createObjectURL(
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9246
|
+
const file = new File([bytes], filename, { type: 'application/pdf' });
|
|
9247
|
+
const url = URL.createObjectURL(file);
|
|
9248
|
+
const newTab = window.open('', '_blank');
|
|
9249
|
+
newTab.history.pushState({}, filename, `/${filename}`);
|
|
9250
|
+
newTab.document.write(`<!DOCTYPE html>
|
|
9251
|
+
<html>
|
|
9252
|
+
<head>
|
|
9253
|
+
<title>${filename}</title>
|
|
9254
|
+
<style>
|
|
9255
|
+
* { margin:0; padding:0; box-sizing:border-box; }
|
|
9256
|
+
body { background:#525659; font-family:sans-serif; }
|
|
9257
|
+
#toolbar {
|
|
9258
|
+
position:fixed; top:0; left:0; right:0; height:48px;
|
|
9259
|
+
background:#323639; display:flex; align-items:center;
|
|
9260
|
+
padding:0 16px; gap:16px; z-index:99;
|
|
9261
|
+
color:white; font-size:14px;
|
|
9262
|
+
}
|
|
9263
|
+
#pages { margin-top:56px; display:flex; flex-direction:column; align-items:center; padding:16px; gap:16px; }
|
|
9264
|
+
canvas { box-shadow:0 2px 8px #0006; background:white; }
|
|
9265
|
+
</style>
|
|
9266
|
+
</head>
|
|
9267
|
+
<body>
|
|
9268
|
+
<div id="toolbar">
|
|
9269
|
+
<span>${filename}</span>
|
|
9270
|
+
<span id="pageInfo"></span>
|
|
9271
|
+
<button onclick="changePage(-1)" style="background:#555;color:white;border:none;padding:4px 10px;cursor:pointer;border-radius:4px">◀</button>
|
|
9272
|
+
<button onclick="changePage(1)" style="background:#555;color:white;border:none;padding:4px 10px;cursor:pointer;border-radius:4px">▶</button>
|
|
9273
|
+
<a href="${url}" download="${filename}"
|
|
9274
|
+
style="margin-left:auto;background:#1976d2;color:white;padding:6px 14px;border-radius:4px;text-decoration:none">
|
|
9275
|
+
⬇ İndir (${filename})
|
|
9276
|
+
</a>
|
|
9277
|
+
</div>
|
|
9278
|
+
<div id="pages"></div>
|
|
9279
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"></script>
|
|
9280
|
+
<script>
|
|
9281
|
+
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';
|
|
9282
|
+
let currentPage = 1, totalPages = 0, pdfDoc = null;
|
|
9283
|
+
|
|
9284
|
+
pdfjsLib.getDocument('${url}').promise.then(pdf => {
|
|
9285
|
+
pdfDoc = pdf;
|
|
9286
|
+
totalPages = pdf.numPages;
|
|
9287
|
+
renderPage(currentPage);
|
|
9288
|
+
});
|
|
9289
|
+
|
|
9290
|
+
function renderPage(num) {
|
|
9291
|
+
pdfDoc.getPage(num).then(page => {
|
|
9292
|
+
const viewport = page.getViewport({ scale: 1.5 });
|
|
9293
|
+
const canvas = document.createElement('canvas');
|
|
9294
|
+
canvas.width = viewport.width;
|
|
9295
|
+
canvas.height = viewport.height;
|
|
9296
|
+
document.getElementById('pages').innerHTML = '';
|
|
9297
|
+
document.getElementById('pages').appendChild(canvas);
|
|
9298
|
+
page.render({ canvasContext: canvas.getContext('2d'), viewport });
|
|
9299
|
+
document.getElementById('pageInfo').textContent = num + ' / ' + totalPages;
|
|
9300
|
+
});
|
|
9301
|
+
}
|
|
9302
|
+
|
|
9303
|
+
function changePage(delta) {
|
|
9304
|
+
const next = currentPage + delta;
|
|
9305
|
+
if (next >= 1 && next <= totalPages) {
|
|
9306
|
+
currentPage = next;
|
|
9307
|
+
renderPage(currentPage);
|
|
9308
|
+
}
|
|
9309
|
+
}
|
|
9310
|
+
</script>
|
|
9311
|
+
</body>
|
|
9312
|
+
</html>
|
|
9313
|
+
`);
|
|
9190
9314
|
setTimeout(() => URL.revokeObjectURL(url), 60000);
|
|
9191
9315
|
};
|
|
9192
9316
|
}
|
|
@@ -9416,13 +9540,42 @@ class HitInvoiceComponent {
|
|
|
9416
9540
|
this.invoiceService.getInvoiceResponses(new Date().toISOString(), new Date().toISOString()).subscribe(() => this.dxInvoiceInstance.instance.refresh());
|
|
9417
9541
|
}
|
|
9418
9542
|
getInvoiceView(record) {
|
|
9419
|
-
this.invoiceService.
|
|
9420
|
-
const
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9543
|
+
this.invoiceService.getInvoiceViewToken(record.uuId).subscribe(({ blobUrl, filename }) => {
|
|
9544
|
+
const newTab = window.open('', '_blank');
|
|
9545
|
+
newTab.document.write(`
|
|
9546
|
+
<html>
|
|
9547
|
+
<head>
|
|
9548
|
+
<title>${filename}</title>
|
|
9549
|
+
<style>
|
|
9550
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
9551
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
9552
|
+
.bar {
|
|
9553
|
+
background: #1976d2; color: white;
|
|
9554
|
+
padding: 6px 16px; display: flex;
|
|
9555
|
+
align-items: center; justify-content: space-between;
|
|
9556
|
+
flex-shrink: 0;
|
|
9557
|
+
}
|
|
9558
|
+
.bar span { font-size: 14px; }
|
|
9559
|
+
.bar a {
|
|
9560
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
9561
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
9562
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
9563
|
+
}
|
|
9564
|
+
.bar a:hover { background: rgba(255,255,255,0.35); }
|
|
9565
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
9566
|
+
</style>
|
|
9567
|
+
</head>
|
|
9568
|
+
<body>
|
|
9569
|
+
<div class="bar">
|
|
9570
|
+
<span>📄 ${filename}</span>
|
|
9571
|
+
<a href="${blobUrl}" download="${filename}">⬇ İndir</a>
|
|
9572
|
+
</div>
|
|
9573
|
+
<iframe src="${blobUrl}"></iframe>
|
|
9574
|
+
</body>
|
|
9575
|
+
</html>
|
|
9576
|
+
`);
|
|
9577
|
+
newTab.document.close();
|
|
9578
|
+
setTimeout(() => URL.revokeObjectURL(blobUrl), 300000);
|
|
9426
9579
|
});
|
|
9427
9580
|
}
|
|
9428
9581
|
showAllFiles(record) {
|
|
@@ -10053,7 +10206,20 @@ class HitInboundInvoiceService {
|
|
|
10053
10206
|
method: 'GET',
|
|
10054
10207
|
url: `/api/e-donusum/invoices/get-inbound-invoice-view/${invoiceGUID}`,
|
|
10055
10208
|
params: { invoiceGUID: invoiceGUID }
|
|
10056
|
-
}, { apiName: this.apiName })
|
|
10209
|
+
}, { apiName: this.apiName }).pipe(map$1(item => {
|
|
10210
|
+
// base64 string → blob
|
|
10211
|
+
const byteCharacters = atob(item.content);
|
|
10212
|
+
const byteNumbers = new Array(byteCharacters.length);
|
|
10213
|
+
for (let i = 0; i < byteCharacters.length; i++) {
|
|
10214
|
+
byteNumbers[i] = byteCharacters.charCodeAt(i);
|
|
10215
|
+
}
|
|
10216
|
+
const byteArray = new Uint8Array(byteNumbers);
|
|
10217
|
+
const blob = new Blob([byteArray], { type: 'application/pdf' });
|
|
10218
|
+
return {
|
|
10219
|
+
blobUrl: URL.createObjectURL(blob),
|
|
10220
|
+
filename: item.filename || 'fatura.pdf'
|
|
10221
|
+
};
|
|
10222
|
+
}));
|
|
10057
10223
|
this.getBankAccountByCurrency = (actCurr) => this.restService.request({
|
|
10058
10224
|
method: 'GET',
|
|
10059
10225
|
url: '/api/e-donusum/invoices/get-bank-accounts',
|
|
@@ -10324,14 +10490,41 @@ class HitInboundInvoiceComponent {
|
|
|
10324
10490
|
this.service.getInboundInvoice(new Date().toISOString(), new Date().toISOString()).subscribe(() => this.dxInboundInvoiceInstance.instance.refresh());
|
|
10325
10491
|
}
|
|
10326
10492
|
getInvoicePreview(record) {
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10493
|
+
this.service.getInboundInvoiceView(record.uuId).subscribe(({ blobUrl, filename }) => {
|
|
10494
|
+
const newTab = window.open('', '_blank');
|
|
10495
|
+
newTab.document.write(`
|
|
10496
|
+
<html>
|
|
10497
|
+
<head>
|
|
10498
|
+
<title>${filename}</title>
|
|
10499
|
+
<style>
|
|
10500
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
10501
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
10502
|
+
.bar {
|
|
10503
|
+
background: #1976d2; color: white;
|
|
10504
|
+
padding: 6px 16px; display: flex;
|
|
10505
|
+
align-items: center; justify-content: space-between;
|
|
10506
|
+
flex-shrink: 0;
|
|
10507
|
+
}
|
|
10508
|
+
.bar span { font-size: 14px; }
|
|
10509
|
+
.bar a {
|
|
10510
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
10511
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
10512
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
10513
|
+
}
|
|
10514
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
10515
|
+
</style>
|
|
10516
|
+
</head>
|
|
10517
|
+
<body>
|
|
10518
|
+
<div class="bar">
|
|
10519
|
+
<span>📄 ${filename}</span>
|
|
10520
|
+
<a href="${blobUrl}" download="${filename}">⬇ İndir</a>
|
|
10521
|
+
</div>
|
|
10522
|
+
<iframe src="${blobUrl}"></iframe>
|
|
10523
|
+
</body>
|
|
10524
|
+
</html>
|
|
10525
|
+
`);
|
|
10526
|
+
newTab.document.close();
|
|
10527
|
+
setTimeout(() => URL.revokeObjectURL(blobUrl), 300000);
|
|
10335
10528
|
});
|
|
10336
10529
|
}
|
|
10337
10530
|
openResponseModal(record) {
|
|
@@ -10684,7 +10877,6 @@ class HitInboundInvoiceComponent {
|
|
|
10684
10877
|
this.isModalBusyForDocument = true;
|
|
10685
10878
|
const dataSource = this.dxDocumentLines.instance.getDataSource();
|
|
10686
10879
|
dataSource.store().load().then((gridLines) => {
|
|
10687
|
-
console.log("GERÇEK DATA:", gridLines); // her zaman array
|
|
10688
10880
|
if (gridLines.length == 0) {
|
|
10689
10881
|
if (this.isDraft) {
|
|
10690
10882
|
this.confirmation
|
|
@@ -11043,9 +11235,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
11043
11235
|
}], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; } });
|
|
11044
11236
|
|
|
11045
11237
|
class HitDespatchService {
|
|
11046
|
-
constructor(restService, devexService) {
|
|
11238
|
+
constructor(restService, devexService, http) {
|
|
11047
11239
|
this.restService = restService;
|
|
11048
11240
|
this.devexService = devexService;
|
|
11241
|
+
this.http = http;
|
|
11049
11242
|
this.apiName = 'eDonusum';
|
|
11050
11243
|
this.LoadDespatches = this.devexService.createStore({
|
|
11051
11244
|
key: "id",
|
|
@@ -11086,7 +11279,27 @@ class HitDespatchService {
|
|
|
11086
11279
|
this.getDespatchView = (despatchUUID) => this.restService.request({
|
|
11087
11280
|
method: 'GET',
|
|
11088
11281
|
url: `/api/e-donusum/despatches/get-despatch-view/${despatchUUID}`,
|
|
11089
|
-
}, { apiName: this.apiName })
|
|
11282
|
+
}, { apiName: this.apiName }).pipe(map(item => {
|
|
11283
|
+
let blob;
|
|
11284
|
+
// base64 string mi yoksa byte array mi kontrol et
|
|
11285
|
+
if (typeof item.content === 'string') {
|
|
11286
|
+
// base64 string
|
|
11287
|
+
const byteCharacters = atob(item.content);
|
|
11288
|
+
const byteNumbers = new Array(byteCharacters.length);
|
|
11289
|
+
for (let i = 0; i < byteCharacters.length; i++) {
|
|
11290
|
+
byteNumbers[i] = byteCharacters.charCodeAt(i);
|
|
11291
|
+
}
|
|
11292
|
+
blob = new Blob([new Uint8Array(byteNumbers)], { type: 'application/pdf' });
|
|
11293
|
+
}
|
|
11294
|
+
else {
|
|
11295
|
+
// byte[] array
|
|
11296
|
+
blob = new Blob([new Uint8Array(item.content)], { type: 'application/pdf' });
|
|
11297
|
+
}
|
|
11298
|
+
return {
|
|
11299
|
+
blobUrl: URL.createObjectURL(blob),
|
|
11300
|
+
filename: item.filename || 'irsaliye.pdf'
|
|
11301
|
+
};
|
|
11302
|
+
}));
|
|
11090
11303
|
this.downloadFileById = (blobID) => this.restService.request({
|
|
11091
11304
|
method: 'GET',
|
|
11092
11305
|
url: `/api/e-donusum/despatches/download-file-by-id/${blobID}`,
|
|
@@ -11134,14 +11347,14 @@ class HitDespatchService {
|
|
|
11134
11347
|
}, { apiName: this.apiName });
|
|
11135
11348
|
}
|
|
11136
11349
|
}
|
|
11137
|
-
HitDespatchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitDespatchService, deps: [{ token: i1.RestService }, { token: DevexpressRestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11350
|
+
HitDespatchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitDespatchService, deps: [{ token: i1.RestService }, { token: DevexpressRestService }, { token: i3$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11138
11351
|
HitDespatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitDespatchService, providedIn: 'root' });
|
|
11139
11352
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitDespatchService, decorators: [{
|
|
11140
11353
|
type: Injectable,
|
|
11141
11354
|
args: [{
|
|
11142
11355
|
providedIn: 'root',
|
|
11143
11356
|
}]
|
|
11144
|
-
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }]; } });
|
|
11357
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }, { type: i3$2.HttpClient }]; } });
|
|
11145
11358
|
|
|
11146
11359
|
class HitDespatchComponent {
|
|
11147
11360
|
constructor(list, service, fileDocumentTypeService, gibPartnerPkService, hitDocumentSerialService, confirmation, toasterService, hitSharedService) {
|
|
@@ -11323,16 +11536,41 @@ class HitDespatchComponent {
|
|
|
11323
11536
|
return "";
|
|
11324
11537
|
}
|
|
11325
11538
|
getDespatchView(record) {
|
|
11326
|
-
this.service.getDespatchView(record.uuId).subscribe(
|
|
11327
|
-
const
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11539
|
+
this.service.getDespatchView(record.uuId).subscribe(({ blobUrl, filename }) => {
|
|
11540
|
+
const newTab = window.open('', '_blank');
|
|
11541
|
+
newTab.document.write(`
|
|
11542
|
+
<html>
|
|
11543
|
+
<head>
|
|
11544
|
+
<title>${filename}</title>
|
|
11545
|
+
<style>
|
|
11546
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
11547
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
11548
|
+
.bar {
|
|
11549
|
+
background: #1976d2; color: white;
|
|
11550
|
+
padding: 6px 16px; display: flex;
|
|
11551
|
+
align-items: center; justify-content: space-between;
|
|
11552
|
+
flex-shrink: 0;
|
|
11553
|
+
}
|
|
11554
|
+
.bar span { font-size: 14px; }
|
|
11555
|
+
.bar a {
|
|
11556
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
11557
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
11558
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
11559
|
+
}
|
|
11560
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
11561
|
+
</style>
|
|
11562
|
+
</head>
|
|
11563
|
+
<body>
|
|
11564
|
+
<div class="bar">
|
|
11565
|
+
<span>📄 ${filename}</span>
|
|
11566
|
+
<a href="${blobUrl}" download="${filename}">⬇ İndir</a>
|
|
11567
|
+
</div>
|
|
11568
|
+
<iframe src="${blobUrl}"></iframe>
|
|
11569
|
+
</body>
|
|
11570
|
+
</html>
|
|
11571
|
+
`);
|
|
11572
|
+
newTab.document.close();
|
|
11573
|
+
setTimeout(() => URL.revokeObjectURL(blobUrl), 300000);
|
|
11336
11574
|
});
|
|
11337
11575
|
}
|
|
11338
11576
|
getDespatchResponses() {
|
|
@@ -11508,8 +11746,8 @@ class HitInboundDespatchService {
|
|
|
11508
11746
|
}, { apiName: this.apiName });
|
|
11509
11747
|
this.getDespatchPreviewInbound = (despatchGUID) => this.restService.request({
|
|
11510
11748
|
method: 'GET',
|
|
11511
|
-
url: `/api/e-donusum/despatches/get-html-preview-inbound/${despatchGUID}
|
|
11512
|
-
params: { despatchGUID: despatchGUID
|
|
11749
|
+
url: `/api/e-donusum/despatches/get-html-preview-inbound/${despatchGUID}`
|
|
11750
|
+
//params: { despatchGUID: despatchGUID}
|
|
11513
11751
|
}, { apiName: this.apiName });
|
|
11514
11752
|
}
|
|
11515
11753
|
}
|
|
@@ -11638,12 +11876,56 @@ class HitInboundDespatchComponent {
|
|
|
11638
11876
|
return "";
|
|
11639
11877
|
}
|
|
11640
11878
|
getInboundDespatchPreview(record) {
|
|
11641
|
-
debugger;
|
|
11642
11879
|
this.despatchService.getDespatchPreviewInbound(record.id).subscribe(despatch => {
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11880
|
+
let htmlContent;
|
|
11881
|
+
if (typeof despatch.previewHTML === 'string') {
|
|
11882
|
+
htmlContent = atob(despatch.previewHTML);
|
|
11883
|
+
}
|
|
11884
|
+
else {
|
|
11885
|
+
htmlContent = new TextDecoder().decode(new Uint8Array(despatch.previewHTML));
|
|
11886
|
+
}
|
|
11887
|
+
const filename = `Irsaliye-${record.despatchId || record.id}`;
|
|
11888
|
+
const newTab = window.open('', '_blank');
|
|
11889
|
+
newTab.document.open();
|
|
11890
|
+
newTab.document.write(`
|
|
11891
|
+
<html>
|
|
11892
|
+
<head>
|
|
11893
|
+
<title>${filename}</title>
|
|
11894
|
+
<style>
|
|
11895
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
11896
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
11897
|
+
.bar {
|
|
11898
|
+
background: #1976d2; color: white;
|
|
11899
|
+
padding: 6px 16px; display: flex;
|
|
11900
|
+
align-items: center; justify-content: space-between;
|
|
11901
|
+
flex-shrink: 0;
|
|
11902
|
+
}
|
|
11903
|
+
.bar span { font-size: 14px; }
|
|
11904
|
+
.bar a {
|
|
11905
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
11906
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
11907
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
11908
|
+
}
|
|
11909
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
11910
|
+
</style>
|
|
11911
|
+
</head>
|
|
11912
|
+
<body>
|
|
11913
|
+
<div class="bar">
|
|
11914
|
+
<span>📄 ${filename}</span>
|
|
11915
|
+
<a id="dlBtn" download="${filename}.html">⬇ İndir</a>
|
|
11916
|
+
</div>
|
|
11917
|
+
<iframe id="previewFrame"></iframe>
|
|
11918
|
+
<script>
|
|
11919
|
+
const html = ${JSON.stringify(htmlContent)};
|
|
11920
|
+
const blob = new Blob([html], { type: 'text/html' });
|
|
11921
|
+
const url = URL.createObjectURL(blob);
|
|
11922
|
+
document.getElementById('previewFrame').src = url;
|
|
11923
|
+
document.getElementById('dlBtn').href = url;
|
|
11924
|
+
</script>
|
|
11925
|
+
</body>
|
|
11926
|
+
</html>
|
|
11927
|
+
`);
|
|
11928
|
+
newTab.document.close();
|
|
11647
11929
|
});
|
|
11648
11930
|
}
|
|
11649
11931
|
}
|
|
@@ -15274,10 +15556,10 @@ class HitAutoSendRuleComponent {
|
|
|
15274
15556
|
}
|
|
15275
15557
|
}
|
|
15276
15558
|
HitAutoSendRuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitAutoSendRuleComponent, deps: [{ token: i1.ListService }, { token: i1.TrackByService }, { token: HitAutoSendRulesService }, { token: i3.ConfirmationService }, { token: i3.ToasterService }, { token: i4.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: HitNoteRulesService }, { token: HitDocumentSerialService }, { token: HitAutoSendRuleDocTypesService }, { token: HitAutoSendRuleScenariosService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15277
|
-
HitAutoSendRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitAutoSendRuleComponent, selector: "lib-auto-send-rule", host: { listeners: { "document:keydown": "handleKeyDown($event)" } }, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], viewQueries: [{ propertyName: "dxAutoSendRuleInstance", first: true, predicate: ["dxAutoSendRuleInstance"], descendants: true }, { propertyName: "dxScenarioInstance", first: true, predicate: ["dxScenarioInstance"], descendants: true }, { propertyName: "dxDocTypeInstance", first: true, predicate: ["dxDocTypeInstance"], descendants: true }, { propertyName: "dxParamInstance", first: true, predicate: ["dxParamInstance"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'eDonusum::AutoSendRules' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <button *abpPermission=\"'eDonusum.AutoSendRules.Create'\" class=\"btn btn-primary btn-sm\" type=\"button\"\r\n (click)=\"create()\">\r\n <i class=\"fa fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'eDonusum::NewAutoSendRule' | abpLocalization }}\r\n </button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n<!--Ana Listeleme Ekran\u0131-->\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxAutoSendRuleInstance [dataSource]=\"autoSendRuleDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\"\r\n [allowColumnResizing]=\"true\" columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 75vh;\">\r\n <dxo-pager [visible]=\"true\" [showInfo]=\"true\" [allowedPageSizes]=\"[50,100,200]\" [showNavigationButtons]=\"true\"\r\n [showPageSizeSelector]=\"true\">\r\n </dxo-pager>\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-chooser [allowSearch]=\"true\" [enabled]=\"true\" mode=\"select\"></dxo-column-chooser>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-group-panel [visible]=\"true\" [allowColumnDragging]=\"true\"></dxo-group-panel>\r\n <dxo-grouping #expand [autoExpandAll]=\"false\" [allowCollapsing]=\"true\"\r\n [contextMenuEnabled]=\"true\"></dxo-grouping>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-export [enabled]=\"true\" [allowExportSelectedData]=\"false\"></dxo-export>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n <dxi-column [fixed]=\"true\" dataField=\"id\" width=\"120\" [allowGrouping]=\"false\" [allowFiltering]=\"false\"\r\n [allowHeaderFiltering]=\"false\" [allowHiding]=\"false\" [allowReordering]=\"false\"\r\n cellTemplate=\"operationTemplate\" caption=\"{{ 'AbpUi::Actions' | abpLocalization }}\">\r\n <div *dxTemplate=\"let row of 'operationTemplate'\">\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button class=\"btn btn-primary btn-sm dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\"\r\n ngbDropdownToggle [disabled]=\"disabledIdColumn\">\r\n <i class=\"fa fa-cog mr-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"update(row.data)\">\r\n <i class=\"fa fa-edit\" aria-hidden=\"true\"></i> {{ 'AbpUi::Edit' | abpLocalization }}\r\n </button>\r\n <button ngbDropdownItem (click)=\"delete(row.data)\">\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> {{ 'AbpUi::Delete' | abpLocalization\r\n }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-column>\r\n <dxi-column dataField=\"autoSendRule.ruleName\" caption=\"{{'eDonusum::RuleName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.orderNo\" caption=\"{{'eDonusum::OrderNo'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.documentSerialId\"\r\n caption=\"{{'eDonusum::DocumentSerial'|abpLocalization}}\"><dxo-lookup [dataSource]=\"serialCodesForLookup\"\r\n valueExpr=\"id\" displayExpr=\"code\">\r\n </dxo-lookup></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.isPassive\" caption=\"{{'eDonusum::IsPassive'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<!---Senaryo olu\u015Fturma modal-->\r\n<abp-modal [busy]=\"isModalBusy\" [(visible)]=\"isModalOpen\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::NewAutoSendRule') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"auto-send-rule\" (ngSubmit)=\"submitForm()\" validateOnSubmit>\r\n <dx-tab-panel [animationEnabled]=\"true\" [swipeEnabled]=\"true\" [loop]=\"true\" #tabPanel>\r\n <dxi-item title=\"{{ 'eDonusum::RuleInfo' | abpLocalization }}\" icon=\"fas fa-file-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-rule-name\">\r\n {{ 'eDonusum::RuleName' | abpLocalization }} *\r\n </label>\r\n\r\n <dx-text-box id=\"auto-send-rule-rule-name\" [disabled]=\"isUpdate\" formControlName=\"ruleName\"\r\n class=\"form-control\" maxlength=\"256\" autofocus></dx-text-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::OrderNo' | abpLocalization }}\r\n </label>\r\n\r\n <input type=\"number\" [min]=\"0\" id=\"auto-send-rule-order-no\" formControlName=\"orderNo\"\r\n class=\"form-control\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::AutoSendRuleType' | abpLocalization }}\r\n </label>\r\n <dx-select-box id=\"auto-send-rule-serial-type\" formControlName=\"serialType\"\r\n (onValueChanged)=\"serialTypeChanged()\" class=\"form-control\" displayExpr=\"displayName\"\r\n valueExpr=\"id\" [dataSource]=\"autoSendTypesDataSource\" [value]=\"autoSendTypesDataSource[0].id\"\r\n placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-xslt-format\">\r\n {{ 'eDonusum::DocumentSerial' | abpLocalization }}\r\n </label>\r\n\r\n <dx-drop-down-box [(value)]=\"documentSerialGridBoxValue\" [(opened)]=\"isDocumentSerialGridBoxOpened\"\r\n valueExpr=\"id\" [deferRendering]=\"false\" [displayExpr]=\"documentSerialGridBox_displayExpr\"\r\n placeholder=\"{{ 'eDonusum::SelectAValue' | abpLocalization }}\" [showClearButton]=\"false\"\r\n [dataSource]=\"serialCodes\" formControlName=\"documentSerialId\"\r\n (onOptionChanged)=\"onDocumentSerialGridBoxOptionChanged($event)\">\r\n <dx-data-grid [dataSource]=\"serialCodes\" [hoverStateEnabled]=\"true\" [height]=\"250\"\r\n [(selectedRowKeys)]=\"documentSerialGridBoxValue\" [remoteOperations]=\"true\">\r\n <dxi-column dataField=\"code\" caption=\"Code\"></dxi-column>\r\n <dxi-column dataField=\"name\" caption=\"Name\"></dxi-column>\r\n <dxo-selection mode=\"single\"></dxo-selection>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-scrolling mode=\"infinite\"></dxo-scrolling>\r\n <dxo-paging [enabled]=\"true\" [pageSize]=\"10\"></dxo-paging>\r\n </dx-data-grid>\r\n </dx-drop-down-box>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::Document' | abpLocalization }}\r\n </label>\r\n\r\n <dx-select-box id=\"xslt-rule-document\" [disabled]=\"isUpdate\" formControlName=\"document\"\r\n (onValueChanged)=\"documentChanged()\" class=\"form-control\" displayExpr=\"text\" valueExpr=\"id\"\r\n [dataSource]=\"tablesDataSource\" placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::AutoSendSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-auto-send\" (change)=\"patchAutoSendOrProformaForm('autoSend')\" formControlName=\"isAutoSend\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-auto-send\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsAutoSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::ProformaSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-proforma\" (change)=\"patchAutoSendOrProformaForm('proforma')\" formControlName=\"isProforma\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-proforma\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsFroFormaSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-note-query\">\r\n {{ 'eDonusum::RuleQuery' | abpLocalization }}\r\n </label>\r\n <dx-html-editor #dxHtmlEditor class=\"form-control\" id=\"auto-send-rule-note-query-html\"\r\n [height]=\"100\" maxlength=\"4096\" formControlName=\"noteQueryHTML\">\r\n <dxi-mention valueExpr=\"text\" displayExpr=\"text\" searchExpr=\"text\"\r\n [dataSource]=\"htmlMentionDataSource\"></dxi-mention>\r\n </dx-html-editor>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-desc\">\r\n {{ 'eDonusum::Desc' | abpLocalization }}\r\n </label>\r\n\r\n <input id=\"auto-send-rule-desc\" formControlName=\"desc\" class=\"form-control\" maxlength=\"512\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-passive\" formControlName=\"isPassive\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-passive\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsPassive' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <h4>Otomatik i\u015Flem kural sorgular\u0131nda COUNT kullan\u0131m\u0131 zorunludur.</h4>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::Scenarios' | abpLocalization }}\" icon=\"fas fa-pencil-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxScenarioInstance [dataSource]=\"scenarioDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedScenarios\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::DocTypes' | abpLocalization }}\" icon=\"fas fa-envelope\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxDocTypeInstance [dataSource]=\"docTypeDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedDocTypes\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n </dx-tab-panel>\r\n\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-secondary\" (click)=\"previewQuery()\">\r\n {{ 'eDonusum::PreviewQuery' | abpLocalization }}\r\n </button>\r\n <!-- <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"note-rule\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button> -->\r\n <button type=\"button\" iconClass=\"fa fa-check\" class=\"btn btn-primary\" formName=\"xslt-rule\" (click)=\"submitForm()\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<!---Query Preview-->\r\n<abp-modal [busy]=\"isModalBusyPreview\" [(visible)]=\"isModalOpenPreview\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::PreviewQuery') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"note-rule-preview\">\r\n\r\n <div *ngIf=\"!isParameterless\">\r\n <h3>{{ 'eDonusum::Parameters' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxParamInstance [dataSource]=\"paramsDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 40vh;\">\r\n\r\n <dxo-editing mode=\"cell\" [useIcons]=\"false\" [allowUpdating]=\"true\" [allowAdding]=\"false\"\r\n [allowDeleting]=\"false\">\r\n </dxo-editing>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"paramName\" [allowEditing]=\"false\"\r\n caption=\"{{'eDonusum::ParamName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"paramValue\" caption=\"{{'eDonusum::ParamValue'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n <br>\r\n <button type=\"button\" class=\"btn btn-primary\" style=\"float: right;\" (click)=\"runQuery()\">\r\n {{ 'eDonusum::RunQuery' | abpLocalization }}\r\n </button>\r\n <br><br>\r\n </div>\r\n\r\n <h3>{{ 'eDonusum::QueryResult' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxPreview [dataSource]=\"previewDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 60vh;\">\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n </dx-data-grid>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i3.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i8.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i8.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i9.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i9.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i9.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { kind: "directive", type: i9.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: i11.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i3$1.DxoColumnChooserComponent, selector: "dxo-column-chooser", inputs: ["allowSearch", "emptyPanelText", "enabled", "height", "mode", "searchTimeout", "sortOrder", "title", "width"] }, { kind: "component", type: i3$1.DxoColumnFixingComponent, selector: "dxo-column-fixing", inputs: ["enabled", "texts"] }, { kind: "component", type: i3$1.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i3$1.DxoHeaderFilterComponent, selector: "dxo-header-filter", inputs: ["allowSearch", "dataSource", "groupInterval", "height", "searchMode", "width", "searchTimeout", "texts", "visible", "showRelevantValues"] }, { kind: "component", type: i3$1.DxoLookupComponent, selector: "dxo-lookup", inputs: ["allowClearing", "calculateCellValue", "dataSource", "displayExpr", "valueExpr"] }, { kind: "component", type: i3$1.DxoEditingComponent, selector: "dxo-editing", inputs: ["allowAdding", "allowDeleting", "allowUpdating", "changes", "confirmDelete", "editColumnName", "editRowKey", "form", "mode", "newRowPosition", "popup", "refreshMode", "selectTextOnEditStart", "startEditAction", "texts", "useIcons", "allowAddShape", "allowChangeConnection", "allowChangeConnectorPoints", "allowChangeConnectorText", "allowChangeShapeText", "allowDeleteConnector", "allowDeleteShape", "allowMoveShape", "allowResizeShape", "allowDependencyAdding", "allowDependencyDeleting", "allowResourceAdding", "allowResourceDeleting", "allowResourceUpdating", "allowTaskAdding", "allowTaskDeleting", "allowTaskResourceUpdating", "allowTaskUpdating", "enabled", "allowDragging", "allowResizing", "allowTimeZoneEditing"], outputs: ["changesChange", "editColumnNameChange", "editRowKeyChange"] }, { kind: "component", type: i3$1.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { kind: "component", type: i3$1.DxoExportComponent, selector: "dxo-export", inputs: ["backgroundColor", "enabled", "fileName", "formats", "margin", "printingEnabled", "svgToCanvas", "allowExportSelectedData", "texts"] }, { kind: "component", type: i3$1.DxoFilterBuilderComponent, selector: "dxo-filter-builder", inputs: ["accessKey", "activeStateEnabled", "allowHierarchicalFields", "customOperations", "disabled", "elementAttr", "fields", "filterOperationDescriptions", "focusStateEnabled", "groupOperationDescriptions", "groupOperations", "height", "hint", "hoverStateEnabled", "maxGroupLevel", "onContentReady", "onDisposing", "onEditorPrepared", "onEditorPreparing", "onInitialized", "onOptionChanged", "onValueChanged", "rtlEnabled", "tabIndex", "value", "visible", "width"], outputs: ["valueChange"] }, { kind: "component", type: i3$1.DxoFilterPanelComponent, selector: "dxo-filter-panel", inputs: ["customizeText", "filterEnabled", "texts", "visible"], outputs: ["filterEnabledChange"] }, { kind: "component", type: i3$1.DxoFilterRowComponent, selector: "dxo-filter-row", inputs: ["applyFilter", "applyFilterText", "betweenEndText", "betweenStartText", "operationDescriptions", "resetOperationText", "showAllText", "showOperationChooser", "visible"] }, { kind: "component", type: i3$1.DxoGroupingComponent, selector: "dxo-grouping", inputs: ["allowCollapsing", "autoExpandAll", "contextMenuEnabled", "expandMode", "texts"] }, { kind: "component", type: i3$1.DxoGroupPanelComponent, selector: "dxo-group-panel", inputs: ["allowColumnDragging", "emptyPanelText", "visible"], outputs: ["visibleChange"] }, { kind: "component", type: i3$1.DxoPagerComponent, selector: "dxo-pager", inputs: ["allowedPageSizes", "displayMode", "infoText", "label", "showInfo", "showNavigationButtons", "showPageSizeSelector", "visible"] }, { kind: "component", type: i3$1.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i3$1.DxoScrollingComponent, selector: "dxo-scrolling", inputs: ["columnRenderingMode", "mode", "preloadEnabled", "renderAsync", "rowRenderingMode", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative"] }, { kind: "component", type: i3$1.DxoSelectionComponent, selector: "dxo-selection", inputs: ["allowSelectAll", "deferred", "mode", "selectAllMode", "showCheckBoxesMode", "recursive"] }, { kind: "component", type: i3$1.DxoSortingComponent, selector: "dxo-sorting", inputs: ["ascendingText", "clearText", "descendingText", "mode", "showSortIndexes"] }, { kind: "directive", type: i13.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i11.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "component", type: i11.DxHtmlEditorComponent, selector: "dx-html-editor", inputs: ["accessKey", "activeStateEnabled", "allowSoftLineBreak", "customizeModules", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "imageUpload", "isValid", "mediaResizing", "mentions", "name", "placeholder", "readOnly", "rtlEnabled", "stylingMode", "tabIndex", "tableContextMenu", "tableResizing", "toolbar", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueType", "variables", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onFocusIn", "onFocusOut", "onInitialized", "onOptionChanged", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "allowSoftLineBreakChange", "customizeModulesChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "imageUploadChange", "isValidChange", "mediaResizingChange", "mentionsChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "tableContextMenuChange", "tableResizingChange", "toolbarChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueTypeChange", "variablesChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "component", type: i3$1.DxiMentionComponent, selector: "dxi-mention", inputs: ["dataSource", "displayExpr", "itemTemplate", "marker", "minSearchLength", "searchExpr", "searchTimeout", "template", "valueExpr"] }, { kind: "component", type: i11.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "customItemCreateEvent", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "customItemCreateEventChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i11.DxTabPanelComponent, selector: "dx-tab-panel", inputs: ["accessKey", "activeStateEnabled", "animationEnabled", "dataSource", "deferRendering", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "itemHoldTimeout", "items", "itemTemplate", "itemTitleTemplate", "loop", "noDataText", "repaintChangesOnly", "rtlEnabled", "scrollByContent", "scrollingEnabled", "selectedIndex", "selectedItem", "showNavButtons", "swipeEnabled", "tabIndex", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onOptionChanged", "onSelectionChanged", "onTitleClick", "onTitleHold", "onTitleRendered", "accessKeyChange", "activeStateEnabledChange", "animationEnabledChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemHoldTimeoutChange", "itemsChange", "itemTemplateChange", "itemTitleTemplateChange", "loopChange", "noDataTextChange", "repaintChangesOnlyChange", "rtlEnabledChange", "scrollByContentChange", "scrollingEnabledChange", "selectedIndexChange", "selectedItemChange", "showNavButtonsChange", "swipeEnabledChange", "tabIndexChange", "visibleChange", "widthChange"] }, { kind: "component", type: i10.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i10.PageToolbarContainerComponent, selector: "abp-page-toolbar-container" }, { kind: "component", type: i11.DxDropDownBoxComponent, selector: "dx-drop-down-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "contentTemplate", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValueFormatter", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "label", "labelMode", "maxLength", "name", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showDropDownButton", "stylingMode", "tabIndex", "text", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width"], outputs: ["onChange", "onClosed", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "contentTemplateChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueFormatterChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "labelChange", "labelModeChange", "maxLengthChange", "nameChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showDropDownButtonChange", "stylingModeChange", "tabIndexChange", "textChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
15559
|
+
HitAutoSendRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: HitAutoSendRuleComponent, selector: "lib-auto-send-rule", host: { listeners: { "document:keydown": "handleKeyDown($event)" } }, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], viewQueries: [{ propertyName: "dxAutoSendRuleInstance", first: true, predicate: ["dxAutoSendRuleInstance"], descendants: true }, { propertyName: "dxScenarioInstance", first: true, predicate: ["dxScenarioInstance"], descendants: true }, { propertyName: "dxDocTypeInstance", first: true, predicate: ["dxDocTypeInstance"], descendants: true }, { propertyName: "dxParamInstance", first: true, predicate: ["dxParamInstance"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'eDonusum::AutoSendRules' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <button *abpPermission=\"'eDonusum.AutoSendRules.Create'\" class=\"btn btn-primary btn-sm\" type=\"button\"\r\n (click)=\"create()\">\r\n <i class=\"fa fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'eDonusum::NewAutoSendRule' | abpLocalization }}\r\n </button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n<!--Ana Listeleme Ekran\u0131-->\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxAutoSendRuleInstance [dataSource]=\"autoSendRuleDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\"\r\n [allowColumnResizing]=\"true\" columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 75vh;\">\r\n <dxo-pager [visible]=\"true\" [showInfo]=\"true\" [allowedPageSizes]=\"[50,100,200]\" [showNavigationButtons]=\"true\"\r\n [showPageSizeSelector]=\"true\">\r\n </dxo-pager>\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-chooser [allowSearch]=\"true\" [enabled]=\"true\" mode=\"select\"></dxo-column-chooser>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-group-panel [visible]=\"true\" [allowColumnDragging]=\"true\"></dxo-group-panel>\r\n <dxo-grouping #expand [autoExpandAll]=\"false\" [allowCollapsing]=\"true\"\r\n [contextMenuEnabled]=\"true\"></dxo-grouping>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-export [enabled]=\"true\" [allowExportSelectedData]=\"false\"></dxo-export>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n <dxi-column [fixed]=\"true\" dataField=\"id\" width=\"120\" [allowGrouping]=\"false\" [allowFiltering]=\"false\"\r\n [allowHeaderFiltering]=\"false\" [allowHiding]=\"false\" [allowReordering]=\"false\"\r\n cellTemplate=\"operationTemplate\" caption=\"{{ 'AbpUi::Actions' | abpLocalization }}\">\r\n <div *dxTemplate=\"let row of 'operationTemplate'\">\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button class=\"btn btn-primary btn-sm dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\"\r\n ngbDropdownToggle [disabled]=\"disabledIdColumn\">\r\n <i class=\"fa fa-cog mr-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"update(row.data)\">\r\n <i class=\"fa fa-edit\" aria-hidden=\"true\"></i> {{ 'AbpUi::Edit' | abpLocalization }}\r\n </button>\r\n <button ngbDropdownItem (click)=\"delete(row.data)\">\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> {{ 'AbpUi::Delete' | abpLocalization\r\n }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-column>\r\n <dxi-column dataField=\"autoSendRule.ruleName\" caption=\"{{'eDonusum::RuleName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.orderNo\" caption=\"{{'eDonusum::OrderNo'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.documentSerialId\"\r\n caption=\"{{'eDonusum::DocumentSerial'|abpLocalization}}\"><dxo-lookup [dataSource]=\"serialCodesForLookup\"\r\n valueExpr=\"id\" displayExpr=\"code\">\r\n </dxo-lookup></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.isPassive\" caption=\"{{'eDonusum::IsPassive'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<!---Senaryo olu\u015Fturma modal-->\r\n<abp-modal [busy]=\"isModalBusy\" [(visible)]=\"isModalOpen\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::NewAutoSendRule') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"auto-send-rule\" (ngSubmit)=\"submitForm()\" validateOnSubmit>\r\n <dx-tab-panel [animationEnabled]=\"true\" [swipeEnabled]=\"true\" [loop]=\"true\" #tabPanel>\r\n <dxi-item title=\"{{ 'eDonusum::RuleInfo' | abpLocalization }}\" icon=\"fas fa-file-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-rule-name\">\r\n {{ 'eDonusum::RuleName' | abpLocalization }} *\r\n </label>\r\n\r\n <dx-text-box id=\"auto-send-rule-rule-name\" [disabled]=\"isUpdate\" formControlName=\"ruleName\"\r\n class=\"form-control\" maxlength=\"256\" autofocus></dx-text-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::OrderNo' | abpLocalization }}\r\n </label>\r\n\r\n <input type=\"number\" [min]=\"0\" id=\"auto-send-rule-order-no\" formControlName=\"orderNo\"\r\n class=\"form-control\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::AutoSendRuleType' | abpLocalization }}\r\n </label>\r\n <dx-select-box id=\"auto-send-rule-serial-type\" formControlName=\"serialType\"\r\n (onValueChanged)=\"serialTypeChanged()\" class=\"form-control\" displayExpr=\"displayName\"\r\n valueExpr=\"id\" [dataSource]=\"autoSendTypesDataSource\" [value]=\"autoSendTypesDataSource[0].id\"\r\n placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-xslt-format\">\r\n {{ 'eDonusum::DocumentSerial' | abpLocalization }}\r\n </label>\r\n\r\n <dx-drop-down-box [(value)]=\"documentSerialGridBoxValue\" [(opened)]=\"isDocumentSerialGridBoxOpened\"\r\n valueExpr=\"id\" [deferRendering]=\"false\" [displayExpr]=\"documentSerialGridBox_displayExpr\"\r\n placeholder=\"{{ 'eDonusum::SelectAValue' | abpLocalization }}\" [showClearButton]=\"false\"\r\n [dataSource]=\"serialCodes\" formControlName=\"documentSerialId\"\r\n (onOptionChanged)=\"onDocumentSerialGridBoxOptionChanged($event)\">\r\n <dx-data-grid [dataSource]=\"serialCodes\" [hoverStateEnabled]=\"true\" [height]=\"250\"\r\n [(selectedRowKeys)]=\"documentSerialGridBoxValue\" [remoteOperations]=\"true\">\r\n <dxi-column dataField=\"code\" caption=\"Code\"></dxi-column>\r\n <dxi-column dataField=\"name\" caption=\"Name\"></dxi-column>\r\n <dxo-selection mode=\"single\"></dxo-selection>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-scrolling mode=\"infinite\"></dxo-scrolling>\r\n <dxo-paging [enabled]=\"true\" [pageSize]=\"10\"></dxo-paging>\r\n </dx-data-grid>\r\n </dx-drop-down-box>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::Document' | abpLocalization }}\r\n </label>\r\n\r\n <dx-select-box id=\"xslt-rule-document\" [disabled]=\"isUpdate\" formControlName=\"document\"\r\n (onValueChanged)=\"documentChanged()\" class=\"form-control\" displayExpr=\"text\" valueExpr=\"id\"\r\n [dataSource]=\"tablesDataSource\" placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::AutoSendSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-auto-send\" (change)=\"patchAutoSendOrProformaForm('autoSend')\" formControlName=\"isAutoSend\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-auto-send\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsAutoSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::ProformaSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-proforma\" (change)=\"patchAutoSendOrProformaForm('proforma')\" formControlName=\"isProforma\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-proforma\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsFroFormaSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-note-query\">\r\n {{ 'eDonusum::RuleQuery' | abpLocalization }}\r\n </label>\r\n <dx-html-editor #dxHtmlEditor class=\"form-control\" id=\"auto-send-rule-note-query-html\"\r\n [height]=\"100\" maxlength=\"4096\" formControlName=\"noteQueryHTML\">\r\n <dxi-mention valueExpr=\"text\" displayExpr=\"text\" searchExpr=\"text\"\r\n [dataSource]=\"htmlMentionDataSource\"></dxi-mention>\r\n </dx-html-editor>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-desc\">\r\n {{ 'eDonusum::Desc' | abpLocalization }}\r\n </label>\r\n\r\n <input id=\"auto-send-rule-desc\" formControlName=\"desc\" class=\"form-control\" maxlength=\"512\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-passive\" formControlName=\"isPassive\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-passive\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsPassive' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <h4>Otomatik i\u015Flem kural sorgular\u0131nda COUNT kullan\u0131m\u0131 zorunludur.</h4>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::Scenarios' | abpLocalization }}\" icon=\"fas fa-pencil-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxScenarioInstance [dataSource]=\"scenarioDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedScenarios\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::DocTypes' | abpLocalization }}\" icon=\"fas fa-envelope\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxDocTypeInstance [dataSource]=\"docTypeDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedDocTypes\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n </dx-tab-panel>\r\n\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-secondary\" (click)=\"previewQuery()\">\r\n {{ 'eDonusum::PreviewQuery' | abpLocalization }}\r\n </button>\r\n <!-- <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"note-rule\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button> -->\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"auto-send-rule\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<!---Query Preview-->\r\n<abp-modal [busy]=\"isModalBusyPreview\" [(visible)]=\"isModalOpenPreview\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::PreviewQuery') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"note-rule-preview\">\r\n\r\n <div *ngIf=\"!isParameterless\">\r\n <h3>{{ 'eDonusum::Parameters' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxParamInstance [dataSource]=\"paramsDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 40vh;\">\r\n\r\n <dxo-editing mode=\"cell\" [useIcons]=\"false\" [allowUpdating]=\"true\" [allowAdding]=\"false\"\r\n [allowDeleting]=\"false\">\r\n </dxo-editing>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"paramName\" [allowEditing]=\"false\"\r\n caption=\"{{'eDonusum::ParamName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"paramValue\" caption=\"{{'eDonusum::ParamValue'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n <br>\r\n <button type=\"button\" class=\"btn btn-primary\" style=\"float: right;\" (click)=\"runQuery()\">\r\n {{ 'eDonusum::RunQuery' | abpLocalization }}\r\n </button>\r\n <br><br>\r\n </div>\r\n\r\n <h3>{{ 'eDonusum::QueryResult' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxPreview [dataSource]=\"previewDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 60vh;\">\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n </dx-data-grid>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i3.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i8.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i8.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i9.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i9.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i9.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { kind: "directive", type: i9.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: i11.DxDataGridComponent, selector: "dx-data-grid", inputs: ["accessKey", "activeStateEnabled", "allowColumnReordering", "allowColumnResizing", "autoNavigateToFocusedRow", "cacheEnabled", "cellHintEnabled", "columnAutoWidth", "columnChooser", "columnFixing", "columnHidingEnabled", "columnMinWidth", "columnResizingMode", "columns", "columnWidth", "customizeColumns", "dataRowTemplate", "dataSource", "dateSerializationFormat", "disabled", "editing", "elementAttr", "errorRowEnabled", "export", "filterBuilder", "filterBuilderPopup", "filterPanel", "filterRow", "filterSyncEnabled", "filterValue", "focusedColumnIndex", "focusedRowEnabled", "focusedRowIndex", "focusedRowKey", "grouping", "groupPanel", "headerFilter", "height", "highlightChanges", "hint", "hoverStateEnabled", "keyboardNavigation", "keyExpr", "loadPanel", "masterDetail", "noDataText", "pager", "paging", "remoteOperations", "renderAsync", "repaintChangesOnly", "rowAlternationEnabled", "rowDragging", "rowTemplate", "rtlEnabled", "scrolling", "searchPanel", "selectedRowKeys", "selection", "selectionFilter", "showBorders", "showColumnHeaders", "showColumnLines", "showRowLines", "sortByGroupSummaryInfo", "sorting", "stateStoring", "summary", "syncLookupFilterValues", "tabIndex", "toolbar", "twoWayBindingEnabled", "visible", "width", "wordWrapEnabled"], outputs: ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellHoverChanged", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanged", "onFocusedCellChanging", "onFocusedRowChanged", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onOptionChanged", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onSelectionChanged", "onToolbarPreparing", "accessKeyChange", "activeStateEnabledChange", "allowColumnReorderingChange", "allowColumnResizingChange", "autoNavigateToFocusedRowChange", "cacheEnabledChange", "cellHintEnabledChange", "columnAutoWidthChange", "columnChooserChange", "columnFixingChange", "columnHidingEnabledChange", "columnMinWidthChange", "columnResizingModeChange", "columnsChange", "columnWidthChange", "customizeColumnsChange", "dataRowTemplateChange", "dataSourceChange", "dateSerializationFormatChange", "disabledChange", "editingChange", "elementAttrChange", "errorRowEnabledChange", "exportChange", "filterBuilderChange", "filterBuilderPopupChange", "filterPanelChange", "filterRowChange", "filterSyncEnabledChange", "filterValueChange", "focusedColumnIndexChange", "focusedRowEnabledChange", "focusedRowIndexChange", "focusedRowKeyChange", "groupingChange", "groupPanelChange", "headerFilterChange", "heightChange", "highlightChangesChange", "hintChange", "hoverStateEnabledChange", "keyboardNavigationChange", "keyExprChange", "loadPanelChange", "masterDetailChange", "noDataTextChange", "pagerChange", "pagingChange", "remoteOperationsChange", "renderAsyncChange", "repaintChangesOnlyChange", "rowAlternationEnabledChange", "rowDraggingChange", "rowTemplateChange", "rtlEnabledChange", "scrollingChange", "searchPanelChange", "selectedRowKeysChange", "selectionChange", "selectionFilterChange", "showBordersChange", "showColumnHeadersChange", "showColumnLinesChange", "showRowLinesChange", "sortByGroupSummaryInfoChange", "sortingChange", "stateStoringChange", "summaryChange", "syncLookupFilterValuesChange", "tabIndexChange", "toolbarChange", "twoWayBindingEnabledChange", "visibleChange", "widthChange", "wordWrapEnabledChange"] }, { kind: "component", type: i3$1.DxoColumnChooserComponent, selector: "dxo-column-chooser", inputs: ["allowSearch", "emptyPanelText", "enabled", "height", "mode", "searchTimeout", "sortOrder", "title", "width"] }, { kind: "component", type: i3$1.DxoColumnFixingComponent, selector: "dxo-column-fixing", inputs: ["enabled", "texts"] }, { kind: "component", type: i3$1.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortIndexChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { kind: "component", type: i3$1.DxoHeaderFilterComponent, selector: "dxo-header-filter", inputs: ["allowSearch", "dataSource", "groupInterval", "height", "searchMode", "width", "searchTimeout", "texts", "visible", "showRelevantValues"] }, { kind: "component", type: i3$1.DxoLookupComponent, selector: "dxo-lookup", inputs: ["allowClearing", "calculateCellValue", "dataSource", "displayExpr", "valueExpr"] }, { kind: "component", type: i3$1.DxoEditingComponent, selector: "dxo-editing", inputs: ["allowAdding", "allowDeleting", "allowUpdating", "changes", "confirmDelete", "editColumnName", "editRowKey", "form", "mode", "newRowPosition", "popup", "refreshMode", "selectTextOnEditStart", "startEditAction", "texts", "useIcons", "allowAddShape", "allowChangeConnection", "allowChangeConnectorPoints", "allowChangeConnectorText", "allowChangeShapeText", "allowDeleteConnector", "allowDeleteShape", "allowMoveShape", "allowResizeShape", "allowDependencyAdding", "allowDependencyDeleting", "allowResourceAdding", "allowResourceDeleting", "allowResourceUpdating", "allowTaskAdding", "allowTaskDeleting", "allowTaskResourceUpdating", "allowTaskUpdating", "enabled", "allowDragging", "allowResizing", "allowTimeZoneEditing"], outputs: ["changesChange", "editColumnNameChange", "editRowKeyChange"] }, { kind: "component", type: i3$1.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { kind: "component", type: i3$1.DxoExportComponent, selector: "dxo-export", inputs: ["backgroundColor", "enabled", "fileName", "formats", "margin", "printingEnabled", "svgToCanvas", "allowExportSelectedData", "texts"] }, { kind: "component", type: i3$1.DxoFilterBuilderComponent, selector: "dxo-filter-builder", inputs: ["accessKey", "activeStateEnabled", "allowHierarchicalFields", "customOperations", "disabled", "elementAttr", "fields", "filterOperationDescriptions", "focusStateEnabled", "groupOperationDescriptions", "groupOperations", "height", "hint", "hoverStateEnabled", "maxGroupLevel", "onContentReady", "onDisposing", "onEditorPrepared", "onEditorPreparing", "onInitialized", "onOptionChanged", "onValueChanged", "rtlEnabled", "tabIndex", "value", "visible", "width"], outputs: ["valueChange"] }, { kind: "component", type: i3$1.DxoFilterPanelComponent, selector: "dxo-filter-panel", inputs: ["customizeText", "filterEnabled", "texts", "visible"], outputs: ["filterEnabledChange"] }, { kind: "component", type: i3$1.DxoFilterRowComponent, selector: "dxo-filter-row", inputs: ["applyFilter", "applyFilterText", "betweenEndText", "betweenStartText", "operationDescriptions", "resetOperationText", "showAllText", "showOperationChooser", "visible"] }, { kind: "component", type: i3$1.DxoGroupingComponent, selector: "dxo-grouping", inputs: ["allowCollapsing", "autoExpandAll", "contextMenuEnabled", "expandMode", "texts"] }, { kind: "component", type: i3$1.DxoGroupPanelComponent, selector: "dxo-group-panel", inputs: ["allowColumnDragging", "emptyPanelText", "visible"], outputs: ["visibleChange"] }, { kind: "component", type: i3$1.DxoPagerComponent, selector: "dxo-pager", inputs: ["allowedPageSizes", "displayMode", "infoText", "label", "showInfo", "showNavigationButtons", "showPageSizeSelector", "visible"] }, { kind: "component", type: i3$1.DxoPagingComponent, selector: "dxo-paging", inputs: ["enabled", "pageIndex", "pageSize"], outputs: ["pageIndexChange", "pageSizeChange"] }, { kind: "component", type: i3$1.DxoScrollingComponent, selector: "dxo-scrolling", inputs: ["columnRenderingMode", "mode", "preloadEnabled", "renderAsync", "rowRenderingMode", "scrollByContent", "scrollByThumb", "showScrollbar", "useNative"] }, { kind: "component", type: i3$1.DxoSelectionComponent, selector: "dxo-selection", inputs: ["allowSelectAll", "deferred", "mode", "selectAllMode", "showCheckBoxesMode", "recursive"] }, { kind: "component", type: i3$1.DxoSortingComponent, selector: "dxo-sorting", inputs: ["ascendingText", "clearText", "descendingText", "mode", "showSortIndexes"] }, { kind: "directive", type: i13.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i11.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "component", type: i11.DxHtmlEditorComponent, selector: "dx-html-editor", inputs: ["accessKey", "activeStateEnabled", "allowSoftLineBreak", "customizeModules", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "imageUpload", "isValid", "mediaResizing", "mentions", "name", "placeholder", "readOnly", "rtlEnabled", "stylingMode", "tabIndex", "tableContextMenu", "tableResizing", "toolbar", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueType", "variables", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onFocusIn", "onFocusOut", "onInitialized", "onOptionChanged", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "allowSoftLineBreakChange", "customizeModulesChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "imageUploadChange", "isValidChange", "mediaResizingChange", "mentionsChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "tableContextMenuChange", "tableResizingChange", "toolbarChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueTypeChange", "variablesChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "component", type: i3$1.DxiMentionComponent, selector: "dxi-mention", inputs: ["dataSource", "displayExpr", "itemTemplate", "marker", "minSearchLength", "searchExpr", "searchTimeout", "template", "valueExpr"] }, { kind: "component", type: i11.DxSelectBoxComponent, selector: "dx-select-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "customItemCreateEvent", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "itemTemplate", "label", "labelMode", "maxLength", "minSearchLength", "name", "noDataText", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDataBeforeSearch", "showDropDownButton", "showSelectionControls", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCustomItemCreating", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "customItemCreateEventChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "noDataTextChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDataBeforeSearchChange", "showDropDownButtonChange", "showSelectionControlsChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "component", type: i11.DxTabPanelComponent, selector: "dx-tab-panel", inputs: ["accessKey", "activeStateEnabled", "animationEnabled", "dataSource", "deferRendering", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "itemHoldTimeout", "items", "itemTemplate", "itemTitleTemplate", "loop", "noDataText", "repaintChangesOnly", "rtlEnabled", "scrollByContent", "scrollingEnabled", "selectedIndex", "selectedItem", "showNavButtons", "swipeEnabled", "tabIndex", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onOptionChanged", "onSelectionChanged", "onTitleClick", "onTitleHold", "onTitleRendered", "accessKeyChange", "activeStateEnabledChange", "animationEnabledChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemHoldTimeoutChange", "itemsChange", "itemTemplateChange", "itemTitleTemplateChange", "loopChange", "noDataTextChange", "repaintChangesOnlyChange", "rtlEnabledChange", "scrollByContentChange", "scrollingEnabledChange", "selectedIndexChange", "selectedItemChange", "showNavButtonsChange", "swipeEnabledChange", "tabIndexChange", "visibleChange", "widthChange"] }, { kind: "component", type: i10.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i10.PageToolbarContainerComponent, selector: "abp-page-toolbar-container" }, { kind: "component", type: i11.DxDropDownBoxComponent, selector: "dx-drop-down-box", inputs: ["acceptCustomValue", "accessKey", "activeStateEnabled", "buttons", "contentTemplate", "dataSource", "deferRendering", "disabled", "displayExpr", "displayValueFormatter", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "fieldTemplate", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "items", "label", "labelMode", "maxLength", "name", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showDropDownButton", "stylingMode", "tabIndex", "text", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width"], outputs: ["onChange", "onClosed", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onValueChanged", "acceptCustomValueChange", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "contentTemplateChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayExprChange", "displayValueFormatterChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "fieldTemplateChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "itemsChange", "labelChange", "labelModeChange", "maxLengthChange", "nameChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showDropDownButtonChange", "stylingModeChange", "tabIndexChange", "textChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "onBlur"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
15278
15560
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitAutoSendRuleComponent, decorators: [{
|
|
15279
15561
|
type: Component,
|
|
15280
|
-
args: [{ selector: 'lib-auto-send-rule', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'eDonusum::AutoSendRules' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <button *abpPermission=\"'eDonusum.AutoSendRules.Create'\" class=\"btn btn-primary btn-sm\" type=\"button\"\r\n (click)=\"create()\">\r\n <i class=\"fa fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'eDonusum::NewAutoSendRule' | abpLocalization }}\r\n </button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n<!--Ana Listeleme Ekran\u0131-->\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxAutoSendRuleInstance [dataSource]=\"autoSendRuleDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\"\r\n [allowColumnResizing]=\"true\" columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 75vh;\">\r\n <dxo-pager [visible]=\"true\" [showInfo]=\"true\" [allowedPageSizes]=\"[50,100,200]\" [showNavigationButtons]=\"true\"\r\n [showPageSizeSelector]=\"true\">\r\n </dxo-pager>\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-chooser [allowSearch]=\"true\" [enabled]=\"true\" mode=\"select\"></dxo-column-chooser>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-group-panel [visible]=\"true\" [allowColumnDragging]=\"true\"></dxo-group-panel>\r\n <dxo-grouping #expand [autoExpandAll]=\"false\" [allowCollapsing]=\"true\"\r\n [contextMenuEnabled]=\"true\"></dxo-grouping>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-export [enabled]=\"true\" [allowExportSelectedData]=\"false\"></dxo-export>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n <dxi-column [fixed]=\"true\" dataField=\"id\" width=\"120\" [allowGrouping]=\"false\" [allowFiltering]=\"false\"\r\n [allowHeaderFiltering]=\"false\" [allowHiding]=\"false\" [allowReordering]=\"false\"\r\n cellTemplate=\"operationTemplate\" caption=\"{{ 'AbpUi::Actions' | abpLocalization }}\">\r\n <div *dxTemplate=\"let row of 'operationTemplate'\">\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button class=\"btn btn-primary btn-sm dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\"\r\n ngbDropdownToggle [disabled]=\"disabledIdColumn\">\r\n <i class=\"fa fa-cog mr-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"update(row.data)\">\r\n <i class=\"fa fa-edit\" aria-hidden=\"true\"></i> {{ 'AbpUi::Edit' | abpLocalization }}\r\n </button>\r\n <button ngbDropdownItem (click)=\"delete(row.data)\">\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> {{ 'AbpUi::Delete' | abpLocalization\r\n }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-column>\r\n <dxi-column dataField=\"autoSendRule.ruleName\" caption=\"{{'eDonusum::RuleName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.orderNo\" caption=\"{{'eDonusum::OrderNo'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.documentSerialId\"\r\n caption=\"{{'eDonusum::DocumentSerial'|abpLocalization}}\"><dxo-lookup [dataSource]=\"serialCodesForLookup\"\r\n valueExpr=\"id\" displayExpr=\"code\">\r\n </dxo-lookup></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.isPassive\" caption=\"{{'eDonusum::IsPassive'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<!---Senaryo olu\u015Fturma modal-->\r\n<abp-modal [busy]=\"isModalBusy\" [(visible)]=\"isModalOpen\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::NewAutoSendRule') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"auto-send-rule\" (ngSubmit)=\"submitForm()\" validateOnSubmit>\r\n <dx-tab-panel [animationEnabled]=\"true\" [swipeEnabled]=\"true\" [loop]=\"true\" #tabPanel>\r\n <dxi-item title=\"{{ 'eDonusum::RuleInfo' | abpLocalization }}\" icon=\"fas fa-file-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-rule-name\">\r\n {{ 'eDonusum::RuleName' | abpLocalization }} *\r\n </label>\r\n\r\n <dx-text-box id=\"auto-send-rule-rule-name\" [disabled]=\"isUpdate\" formControlName=\"ruleName\"\r\n class=\"form-control\" maxlength=\"256\" autofocus></dx-text-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::OrderNo' | abpLocalization }}\r\n </label>\r\n\r\n <input type=\"number\" [min]=\"0\" id=\"auto-send-rule-order-no\" formControlName=\"orderNo\"\r\n class=\"form-control\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::AutoSendRuleType' | abpLocalization }}\r\n </label>\r\n <dx-select-box id=\"auto-send-rule-serial-type\" formControlName=\"serialType\"\r\n (onValueChanged)=\"serialTypeChanged()\" class=\"form-control\" displayExpr=\"displayName\"\r\n valueExpr=\"id\" [dataSource]=\"autoSendTypesDataSource\" [value]=\"autoSendTypesDataSource[0].id\"\r\n placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-xslt-format\">\r\n {{ 'eDonusum::DocumentSerial' | abpLocalization }}\r\n </label>\r\n\r\n <dx-drop-down-box [(value)]=\"documentSerialGridBoxValue\" [(opened)]=\"isDocumentSerialGridBoxOpened\"\r\n valueExpr=\"id\" [deferRendering]=\"false\" [displayExpr]=\"documentSerialGridBox_displayExpr\"\r\n placeholder=\"{{ 'eDonusum::SelectAValue' | abpLocalization }}\" [showClearButton]=\"false\"\r\n [dataSource]=\"serialCodes\" formControlName=\"documentSerialId\"\r\n (onOptionChanged)=\"onDocumentSerialGridBoxOptionChanged($event)\">\r\n <dx-data-grid [dataSource]=\"serialCodes\" [hoverStateEnabled]=\"true\" [height]=\"250\"\r\n [(selectedRowKeys)]=\"documentSerialGridBoxValue\" [remoteOperations]=\"true\">\r\n <dxi-column dataField=\"code\" caption=\"Code\"></dxi-column>\r\n <dxi-column dataField=\"name\" caption=\"Name\"></dxi-column>\r\n <dxo-selection mode=\"single\"></dxo-selection>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-scrolling mode=\"infinite\"></dxo-scrolling>\r\n <dxo-paging [enabled]=\"true\" [pageSize]=\"10\"></dxo-paging>\r\n </dx-data-grid>\r\n </dx-drop-down-box>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::Document' | abpLocalization }}\r\n </label>\r\n\r\n <dx-select-box id=\"xslt-rule-document\" [disabled]=\"isUpdate\" formControlName=\"document\"\r\n (onValueChanged)=\"documentChanged()\" class=\"form-control\" displayExpr=\"text\" valueExpr=\"id\"\r\n [dataSource]=\"tablesDataSource\" placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::AutoSendSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-auto-send\" (change)=\"patchAutoSendOrProformaForm('autoSend')\" formControlName=\"isAutoSend\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-auto-send\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsAutoSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::ProformaSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-proforma\" (change)=\"patchAutoSendOrProformaForm('proforma')\" formControlName=\"isProforma\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-proforma\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsFroFormaSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-note-query\">\r\n {{ 'eDonusum::RuleQuery' | abpLocalization }}\r\n </label>\r\n <dx-html-editor #dxHtmlEditor class=\"form-control\" id=\"auto-send-rule-note-query-html\"\r\n [height]=\"100\" maxlength=\"4096\" formControlName=\"noteQueryHTML\">\r\n <dxi-mention valueExpr=\"text\" displayExpr=\"text\" searchExpr=\"text\"\r\n [dataSource]=\"htmlMentionDataSource\"></dxi-mention>\r\n </dx-html-editor>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-desc\">\r\n {{ 'eDonusum::Desc' | abpLocalization }}\r\n </label>\r\n\r\n <input id=\"auto-send-rule-desc\" formControlName=\"desc\" class=\"form-control\" maxlength=\"512\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-passive\" formControlName=\"isPassive\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-passive\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsPassive' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <h4>Otomatik i\u015Flem kural sorgular\u0131nda COUNT kullan\u0131m\u0131 zorunludur.</h4>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::Scenarios' | abpLocalization }}\" icon=\"fas fa-pencil-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxScenarioInstance [dataSource]=\"scenarioDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedScenarios\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::DocTypes' | abpLocalization }}\" icon=\"fas fa-envelope\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxDocTypeInstance [dataSource]=\"docTypeDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedDocTypes\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n </dx-tab-panel>\r\n\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-secondary\" (click)=\"previewQuery()\">\r\n {{ 'eDonusum::PreviewQuery' | abpLocalization }}\r\n </button>\r\n <!-- <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"note-rule\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button> -->\r\n <button type=\"button\" iconClass=\"fa fa-check\" class=\"btn btn-primary\" formName=\"xslt-rule\" (click)=\"submitForm()\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<!---Query Preview-->\r\n<abp-modal [busy]=\"isModalBusyPreview\" [(visible)]=\"isModalOpenPreview\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::PreviewQuery') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"note-rule-preview\">\r\n\r\n <div *ngIf=\"!isParameterless\">\r\n <h3>{{ 'eDonusum::Parameters' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxParamInstance [dataSource]=\"paramsDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 40vh;\">\r\n\r\n <dxo-editing mode=\"cell\" [useIcons]=\"false\" [allowUpdating]=\"true\" [allowAdding]=\"false\"\r\n [allowDeleting]=\"false\">\r\n </dxo-editing>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"paramName\" [allowEditing]=\"false\"\r\n caption=\"{{'eDonusum::ParamName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"paramValue\" caption=\"{{'eDonusum::ParamValue'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n <br>\r\n <button type=\"button\" class=\"btn btn-primary\" style=\"float: right;\" (click)=\"runQuery()\">\r\n {{ 'eDonusum::RunQuery' | abpLocalization }}\r\n </button>\r\n <br><br>\r\n </div>\r\n\r\n <h3>{{ 'eDonusum::QueryResult' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxPreview [dataSource]=\"previewDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 60vh;\">\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n </dx-data-grid>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>" }]
|
|
15562
|
+
args: [{ selector: 'lib-auto-send-rule', changeDetection: ChangeDetectionStrategy.Default, providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }], template: "<abp-page [title]=\"'eDonusum::AutoSendRules' | abpLocalization\">\r\n <abp-page-toolbar-container class=\"col\">\r\n <div class=\"text-lg-end pt-2\">\r\n <button *abpPermission=\"'eDonusum.AutoSendRules.Create'\" class=\"btn btn-primary btn-sm\" type=\"button\"\r\n (click)=\"create()\">\r\n <i class=\"fa fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'eDonusum::NewAutoSendRule' | abpLocalization }}\r\n </button>\r\n </div>\r\n </abp-page-toolbar-container>\r\n<!--Ana Listeleme Ekran\u0131-->\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <dx-data-grid #dxAutoSendRuleInstance [dataSource]=\"autoSendRuleDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\"\r\n [allowColumnResizing]=\"true\" columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 75vh;\">\r\n <dxo-pager [visible]=\"true\" [showInfo]=\"true\" [allowedPageSizes]=\"[50,100,200]\" [showNavigationButtons]=\"true\"\r\n [showPageSizeSelector]=\"true\">\r\n </dxo-pager>\r\n <dxo-paging [pageSize]=\"50\"></dxo-paging>\r\n <dxo-column-chooser [allowSearch]=\"true\" [enabled]=\"true\" mode=\"select\"></dxo-column-chooser>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-group-panel [visible]=\"true\" [allowColumnDragging]=\"true\"></dxo-group-panel>\r\n <dxo-grouping #expand [autoExpandAll]=\"false\" [allowCollapsing]=\"true\"\r\n [contextMenuEnabled]=\"true\"></dxo-grouping>\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-export [enabled]=\"true\" [allowExportSelectedData]=\"false\"></dxo-export>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-filter-builder [allowHierarchicalFields]=\"true\"></dxo-filter-builder>\r\n <dxo-filter-panel [visible]=\"true\"></dxo-filter-panel>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n <dxi-column [fixed]=\"true\" dataField=\"id\" width=\"120\" [allowGrouping]=\"false\" [allowFiltering]=\"false\"\r\n [allowHeaderFiltering]=\"false\" [allowHiding]=\"false\" [allowReordering]=\"false\"\r\n cellTemplate=\"operationTemplate\" caption=\"{{ 'AbpUi::Actions' | abpLocalization }}\">\r\n <div *dxTemplate=\"let row of 'operationTemplate'\">\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button class=\"btn btn-primary btn-sm dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\"\r\n ngbDropdownToggle [disabled]=\"disabledIdColumn\">\r\n <i class=\"fa fa-cog mr-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"update(row.data)\">\r\n <i class=\"fa fa-edit\" aria-hidden=\"true\"></i> {{ 'AbpUi::Edit' | abpLocalization }}\r\n </button>\r\n <button ngbDropdownItem (click)=\"delete(row.data)\">\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> {{ 'AbpUi::Delete' | abpLocalization\r\n }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-column>\r\n <dxi-column dataField=\"autoSendRule.ruleName\" caption=\"{{'eDonusum::RuleName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.orderNo\" caption=\"{{'eDonusum::OrderNo'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.documentSerialId\"\r\n caption=\"{{'eDonusum::DocumentSerial'|abpLocalization}}\"><dxo-lookup [dataSource]=\"serialCodesForLookup\"\r\n valueExpr=\"id\" displayExpr=\"code\">\r\n </dxo-lookup></dxi-column>\r\n <dxi-column dataField=\"autoSendRule.isPassive\" caption=\"{{'eDonusum::IsPassive'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<!---Senaryo olu\u015Fturma modal-->\r\n<abp-modal [busy]=\"isModalBusy\" [(visible)]=\"isModalOpen\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::NewAutoSendRule') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"auto-send-rule\" (ngSubmit)=\"submitForm()\" validateOnSubmit>\r\n <dx-tab-panel [animationEnabled]=\"true\" [swipeEnabled]=\"true\" [loop]=\"true\" #tabPanel>\r\n <dxi-item title=\"{{ 'eDonusum::RuleInfo' | abpLocalization }}\" icon=\"fas fa-file-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-rule-name\">\r\n {{ 'eDonusum::RuleName' | abpLocalization }} *\r\n </label>\r\n\r\n <dx-text-box id=\"auto-send-rule-rule-name\" [disabled]=\"isUpdate\" formControlName=\"ruleName\"\r\n class=\"form-control\" maxlength=\"256\" autofocus></dx-text-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::OrderNo' | abpLocalization }}\r\n </label>\r\n\r\n <input type=\"number\" [min]=\"0\" id=\"auto-send-rule-order-no\" formControlName=\"orderNo\"\r\n class=\"form-control\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-order-no\">\r\n {{ 'eDonusum::AutoSendRuleType' | abpLocalization }}\r\n </label>\r\n <dx-select-box id=\"auto-send-rule-serial-type\" formControlName=\"serialType\"\r\n (onValueChanged)=\"serialTypeChanged()\" class=\"form-control\" displayExpr=\"displayName\"\r\n valueExpr=\"id\" [dataSource]=\"autoSendTypesDataSource\" [value]=\"autoSendTypesDataSource[0].id\"\r\n placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-xslt-format\">\r\n {{ 'eDonusum::DocumentSerial' | abpLocalization }}\r\n </label>\r\n\r\n <dx-drop-down-box [(value)]=\"documentSerialGridBoxValue\" [(opened)]=\"isDocumentSerialGridBoxOpened\"\r\n valueExpr=\"id\" [deferRendering]=\"false\" [displayExpr]=\"documentSerialGridBox_displayExpr\"\r\n placeholder=\"{{ 'eDonusum::SelectAValue' | abpLocalization }}\" [showClearButton]=\"false\"\r\n [dataSource]=\"serialCodes\" formControlName=\"documentSerialId\"\r\n (onOptionChanged)=\"onDocumentSerialGridBoxOptionChanged($event)\">\r\n <dx-data-grid [dataSource]=\"serialCodes\" [hoverStateEnabled]=\"true\" [height]=\"250\"\r\n [(selectedRowKeys)]=\"documentSerialGridBoxValue\" [remoteOperations]=\"true\">\r\n <dxi-column dataField=\"code\" caption=\"Code\"></dxi-column>\r\n <dxi-column dataField=\"name\" caption=\"Name\"></dxi-column>\r\n <dxo-selection mode=\"single\"></dxo-selection>\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n <dxo-scrolling mode=\"infinite\"></dxo-scrolling>\r\n <dxo-paging [enabled]=\"true\" [pageSize]=\"10\"></dxo-paging>\r\n </dx-data-grid>\r\n </dx-drop-down-box>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::Document' | abpLocalization }}\r\n </label>\r\n\r\n <dx-select-box id=\"xslt-rule-document\" [disabled]=\"isUpdate\" formControlName=\"document\"\r\n (onValueChanged)=\"documentChanged()\" class=\"form-control\" displayExpr=\"text\" valueExpr=\"id\"\r\n [dataSource]=\"tablesDataSource\" placeholder=\"{{ 'eDonusum::Pick' | abpLocalization }}..\">\r\n </dx-select-box>\r\n </div>\r\n </div>\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::AutoSendSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-auto-send\" (change)=\"patchAutoSendOrProformaForm('autoSend')\" formControlName=\"isAutoSend\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-auto-send\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsAutoSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <label class=\"form-label\" for=\"note-rule-rule-type\">\r\n {{ 'eDonusum::ProformaSelection' | abpLocalization }}\r\n </label>\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-proforma\" (change)=\"patchAutoSendOrProformaForm('proforma')\" formControlName=\"isProforma\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-proforma\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsFroFormaSend' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"xslt-rule-note-query\">\r\n {{ 'eDonusum::RuleQuery' | abpLocalization }}\r\n </label>\r\n <dx-html-editor #dxHtmlEditor class=\"form-control\" id=\"auto-send-rule-note-query-html\"\r\n [height]=\"100\" maxlength=\"4096\" formControlName=\"noteQueryHTML\">\r\n <dxi-mention valueExpr=\"text\" displayExpr=\"text\" searchExpr=\"text\"\r\n [dataSource]=\"htmlMentionDataSource\"></dxi-mention>\r\n </dx-html-editor>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"auto-send-rule-desc\">\r\n {{ 'eDonusum::Desc' | abpLocalization }}\r\n </label>\r\n\r\n <input id=\"auto-send-rule-desc\" formControlName=\"desc\" class=\"form-control\" maxlength=\"512\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md\">\r\n <div class=\"form-check mb-3\">\r\n <input type=\"checkbox\" id=\"auto-send-rule-is-passive\" formControlName=\"isPassive\"\r\n class=\"form-check-input\" />\r\n\r\n <label for=\"auto-send-rule-is-passive\" class=\"form-check-label\">\r\n {{ 'eDonusum::IsPassive' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <h4>Otomatik i\u015Flem kural sorgular\u0131nda COUNT kullan\u0131m\u0131 zorunludur.</h4>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::Scenarios' | abpLocalization }}\" icon=\"fas fa-pencil-alt\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxScenarioInstance [dataSource]=\"scenarioDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedScenarios\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n <dxi-item title=\"{{ 'eDonusum::DocTypes' | abpLocalization }}\" icon=\"fas fa-envelope\">\r\n <div class=\"container-fluid\">\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"row\" style=\"margin-top:20px; margin-bottom:20px\">\r\n <div class=\"col\">\r\n <dx-data-grid #dxDocTypeInstance [dataSource]=\"docTypeDataSource\" [showRowLines]=\"true\"\r\n [showBorders]=\"true\" [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\"\r\n [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\" columnResizingMode=\"widget\"\r\n [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 50vh;\" keyExpr=\"id\" [(selectedRowKeys)]=\"selectedDocTypes\">\r\n <dxo-selection mode=\"multiple\" selectAllMode=\"page\">\r\n </dxo-selection>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"displayName\" caption=\"{{ 'eDonusum::Name' | abpLocalization }}\"></dxi-column>\r\n </dx-data-grid>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </dxi-item>\r\n </dx-tab-panel>\r\n\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-secondary\" (click)=\"previewQuery()\">\r\n {{ 'eDonusum::PreviewQuery' | abpLocalization }}\r\n </button>\r\n <!-- <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"note-rule\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button> -->\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"auto-send-rule\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<!---Query Preview-->\r\n<abp-modal [busy]=\"isModalBusyPreview\" [(visible)]=\"isModalOpenPreview\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected ? 'AbpUi::Edit' : 'eDonusum::PreviewQuery') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"note-rule-preview\">\r\n\r\n <div *ngIf=\"!isParameterless\">\r\n <h3>{{ 'eDonusum::Parameters' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxParamInstance [dataSource]=\"paramsDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\"\r\n [columnHidingEnabled]=\"true\" style=\"height: 40vh;\">\r\n\r\n <dxo-editing mode=\"cell\" [useIcons]=\"false\" [allowUpdating]=\"true\" [allowAdding]=\"false\"\r\n [allowDeleting]=\"false\">\r\n </dxo-editing>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n <dxi-column dataField=\"paramName\" [allowEditing]=\"false\"\r\n caption=\"{{'eDonusum::ParamName'|abpLocalization}}\"></dxi-column>\r\n <dxi-column dataField=\"paramValue\" caption=\"{{'eDonusum::ParamValue'|abpLocalization}}\"></dxi-column>\r\n </dx-data-grid>\r\n <br>\r\n <button type=\"button\" class=\"btn btn-primary\" style=\"float: right;\" (click)=\"runQuery()\">\r\n {{ 'eDonusum::RunQuery' | abpLocalization }}\r\n </button>\r\n <br><br>\r\n </div>\r\n\r\n <h3>{{ 'eDonusum::QueryResult' | abpLocalization }}</h3>\r\n <hr>\r\n <dx-data-grid #dxPreview [dataSource]=\"previewDataSource\" [showRowLines]=\"true\" [showBorders]=\"true\"\r\n [remoteOperations]=\"true\" [hoverStateEnabled]=\"true\" [repaintChangesOnly]=\"true\" [allowColumnResizing]=\"true\"\r\n columnResizingMode=\"widget\" [allowColumnReordering]=\"true\" [columnAutoWidth]=\"true\" [columnHidingEnabled]=\"true\"\r\n style=\"height: 60vh;\">\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-header-filter [allowSearch]=\"true\" [visible]=\"true\"></dxo-header-filter>\r\n\r\n <dxo-filter-row [visible]=\"true\"></dxo-filter-row>\r\n\r\n <dxo-column-fixing [enabled]=\"true\"></dxo-column-fixing>\r\n\r\n <dxo-sorting mode=\"single\"></dxo-sorting>\r\n\r\n <dxo-scrolling mode=\"horizontal\" showScrollbar=\"always\"></dxo-scrolling>\r\n\r\n </dx-data-grid>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>" }]
|
|
15281
15563
|
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i1.TrackByService }, { type: HitAutoSendRulesService }, { type: i3.ConfirmationService }, { type: i3.ToasterService }, { type: i4.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: HitNoteRulesService }, { type: HitDocumentSerialService }, { type: HitAutoSendRuleDocTypesService }, { type: HitAutoSendRuleScenariosService }]; }, propDecorators: { dxAutoSendRuleInstance: [{
|
|
15282
15564
|
type: ViewChild,
|
|
15283
15565
|
args: ['dxAutoSendRuleInstance', { static: false }]
|