@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,15 +17,16 @@ 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
|
+
import * as i3$2 from '@angular/common/http';
|
|
29
30
|
import * as i1$2 from '@angular/platform-browser';
|
|
30
31
|
import trMessages from 'devextreme/localization/messages/tr.json';
|
|
31
32
|
import { loadMessages, locale } from 'devextreme/localization';
|
|
@@ -9154,9 +9155,12 @@ var InvoiceType;
|
|
|
9154
9155
|
})(InvoiceType || (InvoiceType = {}));
|
|
9155
9156
|
|
|
9156
9157
|
class HitInvoiceService {
|
|
9157
|
-
constructor(restService, devexService
|
|
9158
|
+
constructor(restService, devexService, http, configState // ← ekle
|
|
9159
|
+
) {
|
|
9158
9160
|
this.restService = restService;
|
|
9159
9161
|
this.devexService = devexService;
|
|
9162
|
+
this.http = http;
|
|
9163
|
+
this.configState = configState;
|
|
9160
9164
|
this.apiName = 'eDonusum';
|
|
9161
9165
|
this.LoadInvoices = this.devexService.createStore({
|
|
9162
9166
|
key: "id",
|
|
@@ -9234,10 +9238,32 @@ class HitInvoiceService {
|
|
|
9234
9238
|
url: '/api/e-donusum/invoices/get-invoice-response',
|
|
9235
9239
|
params: { startDate: startDate, endDate: endDate, }
|
|
9236
9240
|
}, { apiName: this.apiName });
|
|
9237
|
-
this.
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
+
this.getInvoiceViewToken = (invoiceUUID) => {
|
|
9242
|
+
const httpClient = this.restService.http;
|
|
9243
|
+
// ABP'nin base URL'sini al
|
|
9244
|
+
const baseUrl = this.restService.configState?.getDeep('environment.apis.eDonusum.url')
|
|
9245
|
+
|| this.restService.configState?.getDeep('environment.apis.default.url')
|
|
9246
|
+
|| 'https://localhost:44359';
|
|
9247
|
+
return httpClient.get(`${baseUrl}/api/e-donusum/invoices/get-invoice-view/${invoiceUUID}`, {
|
|
9248
|
+
responseType: 'blob',
|
|
9249
|
+
observe: 'response',
|
|
9250
|
+
headers: {
|
|
9251
|
+
'Authorization': `Bearer ${this.getToken()}`
|
|
9252
|
+
}
|
|
9253
|
+
}).pipe(map(response => {
|
|
9254
|
+
const cd = response.headers?.get('Content-Disposition');
|
|
9255
|
+
let filename = 'fatura.pdf';
|
|
9256
|
+
if (cd) {
|
|
9257
|
+
const match = cd.match(/filename[^;=\n]*=["']?([^"';\n]+)["']?/i);
|
|
9258
|
+
if (match)
|
|
9259
|
+
filename = match[1].trim();
|
|
9260
|
+
}
|
|
9261
|
+
return {
|
|
9262
|
+
blobUrl: URL.createObjectURL(response.body),
|
|
9263
|
+
filename: filename
|
|
9264
|
+
};
|
|
9265
|
+
}));
|
|
9266
|
+
};
|
|
9241
9267
|
this.showAllFiles = (invoiceUUID) => this.restService.request({
|
|
9242
9268
|
method: 'GET',
|
|
9243
9269
|
url: `/api/e-donusum/invoices/show-all-files/${invoiceUUID}`,
|
|
@@ -9258,15 +9284,24 @@ class HitInvoiceService {
|
|
|
9258
9284
|
params: { blobID: blobID }
|
|
9259
9285
|
}, { apiName: this.apiName });
|
|
9260
9286
|
}
|
|
9287
|
+
// invoice.service.ts - yeni method ekle
|
|
9288
|
+
getInvoiceViewUrl(invoiceUUID) {
|
|
9289
|
+
return `/api/e-donusum/invoices/get-invoice-view/${invoiceUUID}`;
|
|
9290
|
+
}
|
|
9291
|
+
getToken() {
|
|
9292
|
+
return localStorage.getItem('access_token')
|
|
9293
|
+
|| sessionStorage.getItem('access_token')
|
|
9294
|
+
|| '';
|
|
9295
|
+
}
|
|
9261
9296
|
}
|
|
9262
|
-
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 });
|
|
9297
|
+
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 });
|
|
9263
9298
|
HitInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitInvoiceService, providedIn: 'root' });
|
|
9264
9299
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitInvoiceService, decorators: [{
|
|
9265
9300
|
type: Injectable,
|
|
9266
9301
|
args: [{
|
|
9267
9302
|
providedIn: 'root',
|
|
9268
9303
|
}]
|
|
9269
|
-
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }]; } });
|
|
9304
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }, { type: i3$2.HttpClient }, { type: i1.ConfigStateService }]; } });
|
|
9270
9305
|
|
|
9271
9306
|
class HitFileDocumentTypeService {
|
|
9272
9307
|
constructor(restService, devexService) {
|
|
@@ -9321,14 +9356,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
9321
9356
|
class HitSharedService {
|
|
9322
9357
|
constructor() {
|
|
9323
9358
|
this.apiName = 'eDonusum';
|
|
9324
|
-
|
|
9359
|
+
/*previewFile = (base64, filename: string = 'fatura.pdf') => {
|
|
9360
|
+
const cleanBase64 = base64.includes(',') ? base64.split(',')[1] : base64;
|
|
9361
|
+
const bytes = Uint8Array.from(atob(cleanBase64), c => c.charCodeAt(0));
|
|
9362
|
+
|
|
9363
|
+
// File objesi blob'a filename metadata'sı ekler
|
|
9364
|
+
const file = new File([bytes], filename, { type: 'application/pdf' });
|
|
9365
|
+
const url = URL.createObjectURL(file);
|
|
9366
|
+
|
|
9367
|
+
const newTab = window.open('', '_blank');
|
|
9368
|
+
newTab.history.pushState({}, filename, `/${filename}`);
|
|
9369
|
+
newTab.document.write(`
|
|
9370
|
+
<html>
|
|
9371
|
+
<head><title>${filename}</title></head>
|
|
9372
|
+
<body style="margin:0;overflow:hidden">
|
|
9373
|
+
<iframe
|
|
9374
|
+
src="${url}#toolbar=1"
|
|
9375
|
+
style="width:100%;height:100vh;border:none;"
|
|
9376
|
+
></iframe>
|
|
9377
|
+
</body>
|
|
9378
|
+
</html>
|
|
9379
|
+
`);
|
|
9380
|
+
|
|
9381
|
+
setTimeout(() => URL.revokeObjectURL(url), 60_000);
|
|
9382
|
+
}*/
|
|
9383
|
+
this.previewFile = (base64, filename = 'fatura.pdf') => {
|
|
9325
9384
|
const cleanBase64 = base64.includes(',') ? base64.split(',')[1] : base64;
|
|
9326
9385
|
const bytes = Uint8Array.from(atob(cleanBase64), c => c.charCodeAt(0));
|
|
9327
|
-
const
|
|
9328
|
-
const url = URL.createObjectURL(
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9386
|
+
const file = new File([bytes], filename, { type: 'application/pdf' });
|
|
9387
|
+
const url = URL.createObjectURL(file);
|
|
9388
|
+
const newTab = window.open('', '_blank');
|
|
9389
|
+
newTab.history.pushState({}, filename, `/${filename}`);
|
|
9390
|
+
newTab.document.write(`<!DOCTYPE html>
|
|
9391
|
+
<html>
|
|
9392
|
+
<head>
|
|
9393
|
+
<title>${filename}</title>
|
|
9394
|
+
<style>
|
|
9395
|
+
* { margin:0; padding:0; box-sizing:border-box; }
|
|
9396
|
+
body { background:#525659; font-family:sans-serif; }
|
|
9397
|
+
#toolbar {
|
|
9398
|
+
position:fixed; top:0; left:0; right:0; height:48px;
|
|
9399
|
+
background:#323639; display:flex; align-items:center;
|
|
9400
|
+
padding:0 16px; gap:16px; z-index:99;
|
|
9401
|
+
color:white; font-size:14px;
|
|
9402
|
+
}
|
|
9403
|
+
#pages { margin-top:56px; display:flex; flex-direction:column; align-items:center; padding:16px; gap:16px; }
|
|
9404
|
+
canvas { box-shadow:0 2px 8px #0006; background:white; }
|
|
9405
|
+
</style>
|
|
9406
|
+
</head>
|
|
9407
|
+
<body>
|
|
9408
|
+
<div id="toolbar">
|
|
9409
|
+
<span>${filename}</span>
|
|
9410
|
+
<span id="pageInfo"></span>
|
|
9411
|
+
<button onclick="changePage(-1)" style="background:#555;color:white;border:none;padding:4px 10px;cursor:pointer;border-radius:4px">◀</button>
|
|
9412
|
+
<button onclick="changePage(1)" style="background:#555;color:white;border:none;padding:4px 10px;cursor:pointer;border-radius:4px">▶</button>
|
|
9413
|
+
<a href="${url}" download="${filename}"
|
|
9414
|
+
style="margin-left:auto;background:#1976d2;color:white;padding:6px 14px;border-radius:4px;text-decoration:none">
|
|
9415
|
+
⬇ İndir (${filename})
|
|
9416
|
+
</a>
|
|
9417
|
+
</div>
|
|
9418
|
+
<div id="pages"></div>
|
|
9419
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"></script>
|
|
9420
|
+
<script>
|
|
9421
|
+
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';
|
|
9422
|
+
let currentPage = 1, totalPages = 0, pdfDoc = null;
|
|
9423
|
+
|
|
9424
|
+
pdfjsLib.getDocument('${url}').promise.then(pdf => {
|
|
9425
|
+
pdfDoc = pdf;
|
|
9426
|
+
totalPages = pdf.numPages;
|
|
9427
|
+
renderPage(currentPage);
|
|
9428
|
+
});
|
|
9429
|
+
|
|
9430
|
+
function renderPage(num) {
|
|
9431
|
+
pdfDoc.getPage(num).then(page => {
|
|
9432
|
+
const viewport = page.getViewport({ scale: 1.5 });
|
|
9433
|
+
const canvas = document.createElement('canvas');
|
|
9434
|
+
canvas.width = viewport.width;
|
|
9435
|
+
canvas.height = viewport.height;
|
|
9436
|
+
document.getElementById('pages').innerHTML = '';
|
|
9437
|
+
document.getElementById('pages').appendChild(canvas);
|
|
9438
|
+
page.render({ canvasContext: canvas.getContext('2d'), viewport });
|
|
9439
|
+
document.getElementById('pageInfo').textContent = num + ' / ' + totalPages;
|
|
9440
|
+
});
|
|
9441
|
+
}
|
|
9442
|
+
|
|
9443
|
+
function changePage(delta) {
|
|
9444
|
+
const next = currentPage + delta;
|
|
9445
|
+
if (next >= 1 && next <= totalPages) {
|
|
9446
|
+
currentPage = next;
|
|
9447
|
+
renderPage(currentPage);
|
|
9448
|
+
}
|
|
9449
|
+
}
|
|
9450
|
+
</script>
|
|
9451
|
+
</body>
|
|
9452
|
+
</html>
|
|
9453
|
+
`);
|
|
9332
9454
|
setTimeout(() => URL.revokeObjectURL(url), 60000);
|
|
9333
9455
|
};
|
|
9334
9456
|
}
|
|
@@ -9555,13 +9677,42 @@ class HitInvoiceComponent {
|
|
|
9555
9677
|
this.invoiceService.getInvoiceResponses(new Date().toISOString(), new Date().toISOString()).subscribe(() => this.dxInvoiceInstance.instance.refresh());
|
|
9556
9678
|
}
|
|
9557
9679
|
getInvoiceView(record) {
|
|
9558
|
-
this.invoiceService.
|
|
9559
|
-
const
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9680
|
+
this.invoiceService.getInvoiceViewToken(record.uuId).subscribe(({ blobUrl, filename }) => {
|
|
9681
|
+
const newTab = window.open('', '_blank');
|
|
9682
|
+
newTab.document.write(`
|
|
9683
|
+
<html>
|
|
9684
|
+
<head>
|
|
9685
|
+
<title>${filename}</title>
|
|
9686
|
+
<style>
|
|
9687
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
9688
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
9689
|
+
.bar {
|
|
9690
|
+
background: #1976d2; color: white;
|
|
9691
|
+
padding: 6px 16px; display: flex;
|
|
9692
|
+
align-items: center; justify-content: space-between;
|
|
9693
|
+
flex-shrink: 0;
|
|
9694
|
+
}
|
|
9695
|
+
.bar span { font-size: 14px; }
|
|
9696
|
+
.bar a {
|
|
9697
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
9698
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
9699
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
9700
|
+
}
|
|
9701
|
+
.bar a:hover { background: rgba(255,255,255,0.35); }
|
|
9702
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
9703
|
+
</style>
|
|
9704
|
+
</head>
|
|
9705
|
+
<body>
|
|
9706
|
+
<div class="bar">
|
|
9707
|
+
<span>📄 ${filename}</span>
|
|
9708
|
+
<a href="${blobUrl}" download="${filename}">⬇ İndir</a>
|
|
9709
|
+
</div>
|
|
9710
|
+
<iframe src="${blobUrl}"></iframe>
|
|
9711
|
+
</body>
|
|
9712
|
+
</html>
|
|
9713
|
+
`);
|
|
9714
|
+
newTab.document.close();
|
|
9715
|
+
setTimeout(() => URL.revokeObjectURL(blobUrl), 300000);
|
|
9565
9716
|
});
|
|
9566
9717
|
}
|
|
9567
9718
|
showAllFiles(record) {
|
|
@@ -10189,7 +10340,20 @@ class HitInboundInvoiceService {
|
|
|
10189
10340
|
method: 'GET',
|
|
10190
10341
|
url: `/api/e-donusum/invoices/get-inbound-invoice-view/${invoiceGUID}`,
|
|
10191
10342
|
params: { invoiceGUID: invoiceGUID }
|
|
10192
|
-
}, { apiName: this.apiName })
|
|
10343
|
+
}, { apiName: this.apiName }).pipe(map$1(item => {
|
|
10344
|
+
// base64 string → blob
|
|
10345
|
+
const byteCharacters = atob(item.content);
|
|
10346
|
+
const byteNumbers = new Array(byteCharacters.length);
|
|
10347
|
+
for (let i = 0; i < byteCharacters.length; i++) {
|
|
10348
|
+
byteNumbers[i] = byteCharacters.charCodeAt(i);
|
|
10349
|
+
}
|
|
10350
|
+
const byteArray = new Uint8Array(byteNumbers);
|
|
10351
|
+
const blob = new Blob([byteArray], { type: 'application/pdf' });
|
|
10352
|
+
return {
|
|
10353
|
+
blobUrl: URL.createObjectURL(blob),
|
|
10354
|
+
filename: item.filename || 'fatura.pdf'
|
|
10355
|
+
};
|
|
10356
|
+
}));
|
|
10193
10357
|
this.getBankAccountByCurrency = (actCurr) => this.restService.request({
|
|
10194
10358
|
method: 'GET',
|
|
10195
10359
|
url: '/api/e-donusum/invoices/get-bank-accounts',
|
|
@@ -10460,14 +10624,41 @@ class HitInboundInvoiceComponent {
|
|
|
10460
10624
|
this.service.getInboundInvoice(new Date().toISOString(), new Date().toISOString()).subscribe(() => this.dxInboundInvoiceInstance.instance.refresh());
|
|
10461
10625
|
}
|
|
10462
10626
|
getInvoicePreview(record) {
|
|
10463
|
-
|
|
10464
|
-
|
|
10465
|
-
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
|
|
10627
|
+
this.service.getInboundInvoiceView(record.uuId).subscribe(({ blobUrl, filename }) => {
|
|
10628
|
+
const newTab = window.open('', '_blank');
|
|
10629
|
+
newTab.document.write(`
|
|
10630
|
+
<html>
|
|
10631
|
+
<head>
|
|
10632
|
+
<title>${filename}</title>
|
|
10633
|
+
<style>
|
|
10634
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
10635
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
10636
|
+
.bar {
|
|
10637
|
+
background: #1976d2; color: white;
|
|
10638
|
+
padding: 6px 16px; display: flex;
|
|
10639
|
+
align-items: center; justify-content: space-between;
|
|
10640
|
+
flex-shrink: 0;
|
|
10641
|
+
}
|
|
10642
|
+
.bar span { font-size: 14px; }
|
|
10643
|
+
.bar a {
|
|
10644
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
10645
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
10646
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
10647
|
+
}
|
|
10648
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
10649
|
+
</style>
|
|
10650
|
+
</head>
|
|
10651
|
+
<body>
|
|
10652
|
+
<div class="bar">
|
|
10653
|
+
<span>📄 ${filename}</span>
|
|
10654
|
+
<a href="${blobUrl}" download="${filename}">⬇ İndir</a>
|
|
10655
|
+
</div>
|
|
10656
|
+
<iframe src="${blobUrl}"></iframe>
|
|
10657
|
+
</body>
|
|
10658
|
+
</html>
|
|
10659
|
+
`);
|
|
10660
|
+
newTab.document.close();
|
|
10661
|
+
setTimeout(() => URL.revokeObjectURL(blobUrl), 300000);
|
|
10471
10662
|
});
|
|
10472
10663
|
}
|
|
10473
10664
|
openResponseModal(record) {
|
|
@@ -10815,7 +11006,6 @@ class HitInboundInvoiceComponent {
|
|
|
10815
11006
|
this.isModalBusyForDocument = true;
|
|
10816
11007
|
const dataSource = this.dxDocumentLines.instance.getDataSource();
|
|
10817
11008
|
dataSource.store().load().then((gridLines) => {
|
|
10818
|
-
console.log("GERÇEK DATA:", gridLines); // her zaman array
|
|
10819
11009
|
if (gridLines.length == 0) {
|
|
10820
11010
|
if (this.isDraft) {
|
|
10821
11011
|
this.confirmation
|
|
@@ -11172,9 +11362,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
11172
11362
|
}], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; } });
|
|
11173
11363
|
|
|
11174
11364
|
class HitDespatchService {
|
|
11175
|
-
constructor(restService, devexService) {
|
|
11365
|
+
constructor(restService, devexService, http) {
|
|
11176
11366
|
this.restService = restService;
|
|
11177
11367
|
this.devexService = devexService;
|
|
11368
|
+
this.http = http;
|
|
11178
11369
|
this.apiName = 'eDonusum';
|
|
11179
11370
|
this.LoadDespatches = this.devexService.createStore({
|
|
11180
11371
|
key: "id",
|
|
@@ -11215,7 +11406,27 @@ class HitDespatchService {
|
|
|
11215
11406
|
this.getDespatchView = (despatchUUID) => this.restService.request({
|
|
11216
11407
|
method: 'GET',
|
|
11217
11408
|
url: `/api/e-donusum/despatches/get-despatch-view/${despatchUUID}`,
|
|
11218
|
-
}, { apiName: this.apiName })
|
|
11409
|
+
}, { apiName: this.apiName }).pipe(map(item => {
|
|
11410
|
+
let blob;
|
|
11411
|
+
// base64 string mi yoksa byte array mi kontrol et
|
|
11412
|
+
if (typeof item.content === 'string') {
|
|
11413
|
+
// base64 string
|
|
11414
|
+
const byteCharacters = atob(item.content);
|
|
11415
|
+
const byteNumbers = new Array(byteCharacters.length);
|
|
11416
|
+
for (let i = 0; i < byteCharacters.length; i++) {
|
|
11417
|
+
byteNumbers[i] = byteCharacters.charCodeAt(i);
|
|
11418
|
+
}
|
|
11419
|
+
blob = new Blob([new Uint8Array(byteNumbers)], { type: 'application/pdf' });
|
|
11420
|
+
}
|
|
11421
|
+
else {
|
|
11422
|
+
// byte[] array
|
|
11423
|
+
blob = new Blob([new Uint8Array(item.content)], { type: 'application/pdf' });
|
|
11424
|
+
}
|
|
11425
|
+
return {
|
|
11426
|
+
blobUrl: URL.createObjectURL(blob),
|
|
11427
|
+
filename: item.filename || 'irsaliye.pdf'
|
|
11428
|
+
};
|
|
11429
|
+
}));
|
|
11219
11430
|
this.downloadFileById = (blobID) => this.restService.request({
|
|
11220
11431
|
method: 'GET',
|
|
11221
11432
|
url: `/api/e-donusum/despatches/download-file-by-id/${blobID}`,
|
|
@@ -11263,14 +11474,14 @@ class HitDespatchService {
|
|
|
11263
11474
|
}, { apiName: this.apiName });
|
|
11264
11475
|
}
|
|
11265
11476
|
}
|
|
11266
|
-
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 });
|
|
11477
|
+
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 });
|
|
11267
11478
|
HitDespatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitDespatchService, providedIn: 'root' });
|
|
11268
11479
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitDespatchService, decorators: [{
|
|
11269
11480
|
type: Injectable,
|
|
11270
11481
|
args: [{
|
|
11271
11482
|
providedIn: 'root',
|
|
11272
11483
|
}]
|
|
11273
|
-
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }]; } });
|
|
11484
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: DevexpressRestService }, { type: i3$2.HttpClient }]; } });
|
|
11274
11485
|
|
|
11275
11486
|
class HitDespatchComponent {
|
|
11276
11487
|
constructor(list, service, fileDocumentTypeService, gibPartnerPkService, hitDocumentSerialService, confirmation, toasterService, hitSharedService) {
|
|
@@ -11452,16 +11663,41 @@ class HitDespatchComponent {
|
|
|
11452
11663
|
return "";
|
|
11453
11664
|
}
|
|
11454
11665
|
getDespatchView(record) {
|
|
11455
|
-
this.service.getDespatchView(record.uuId).subscribe(
|
|
11456
|
-
const
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11666
|
+
this.service.getDespatchView(record.uuId).subscribe(({ blobUrl, filename }) => {
|
|
11667
|
+
const newTab = window.open('', '_blank');
|
|
11668
|
+
newTab.document.write(`
|
|
11669
|
+
<html>
|
|
11670
|
+
<head>
|
|
11671
|
+
<title>${filename}</title>
|
|
11672
|
+
<style>
|
|
11673
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
11674
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
11675
|
+
.bar {
|
|
11676
|
+
background: #1976d2; color: white;
|
|
11677
|
+
padding: 6px 16px; display: flex;
|
|
11678
|
+
align-items: center; justify-content: space-between;
|
|
11679
|
+
flex-shrink: 0;
|
|
11680
|
+
}
|
|
11681
|
+
.bar span { font-size: 14px; }
|
|
11682
|
+
.bar a {
|
|
11683
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
11684
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
11685
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
11686
|
+
}
|
|
11687
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
11688
|
+
</style>
|
|
11689
|
+
</head>
|
|
11690
|
+
<body>
|
|
11691
|
+
<div class="bar">
|
|
11692
|
+
<span>📄 ${filename}</span>
|
|
11693
|
+
<a href="${blobUrl}" download="${filename}">⬇ İndir</a>
|
|
11694
|
+
</div>
|
|
11695
|
+
<iframe src="${blobUrl}"></iframe>
|
|
11696
|
+
</body>
|
|
11697
|
+
</html>
|
|
11698
|
+
`);
|
|
11699
|
+
newTab.document.close();
|
|
11700
|
+
setTimeout(() => URL.revokeObjectURL(blobUrl), 300000);
|
|
11465
11701
|
});
|
|
11466
11702
|
}
|
|
11467
11703
|
getDespatchResponses() {
|
|
@@ -11637,8 +11873,8 @@ class HitInboundDespatchService {
|
|
|
11637
11873
|
}, { apiName: this.apiName });
|
|
11638
11874
|
this.getDespatchPreviewInbound = (despatchGUID) => this.restService.request({
|
|
11639
11875
|
method: 'GET',
|
|
11640
|
-
url: `/api/e-donusum/despatches/get-html-preview-inbound/${despatchGUID}
|
|
11641
|
-
params: { despatchGUID: despatchGUID
|
|
11876
|
+
url: `/api/e-donusum/despatches/get-html-preview-inbound/${despatchGUID}`
|
|
11877
|
+
//params: { despatchGUID: despatchGUID}
|
|
11642
11878
|
}, { apiName: this.apiName });
|
|
11643
11879
|
}
|
|
11644
11880
|
}
|
|
@@ -11767,12 +12003,56 @@ class HitInboundDespatchComponent {
|
|
|
11767
12003
|
return "";
|
|
11768
12004
|
}
|
|
11769
12005
|
getInboundDespatchPreview(record) {
|
|
11770
|
-
debugger;
|
|
11771
12006
|
this.despatchService.getDespatchPreviewInbound(record.id).subscribe(despatch => {
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
12007
|
+
let htmlContent;
|
|
12008
|
+
if (typeof despatch.previewHTML === 'string') {
|
|
12009
|
+
htmlContent = atob(despatch.previewHTML);
|
|
12010
|
+
}
|
|
12011
|
+
else {
|
|
12012
|
+
htmlContent = new TextDecoder().decode(new Uint8Array(despatch.previewHTML));
|
|
12013
|
+
}
|
|
12014
|
+
const filename = `Irsaliye-${record.despatchId || record.id}`;
|
|
12015
|
+
const newTab = window.open('', '_blank');
|
|
12016
|
+
newTab.document.open();
|
|
12017
|
+
newTab.document.write(`
|
|
12018
|
+
<html>
|
|
12019
|
+
<head>
|
|
12020
|
+
<title>${filename}</title>
|
|
12021
|
+
<style>
|
|
12022
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
12023
|
+
body { display: flex; flex-direction: column; height: 100vh; font-family: sans-serif; }
|
|
12024
|
+
.bar {
|
|
12025
|
+
background: #1976d2; color: white;
|
|
12026
|
+
padding: 6px 16px; display: flex;
|
|
12027
|
+
align-items: center; justify-content: space-between;
|
|
12028
|
+
flex-shrink: 0;
|
|
12029
|
+
}
|
|
12030
|
+
.bar span { font-size: 14px; }
|
|
12031
|
+
.bar a {
|
|
12032
|
+
color: white; text-decoration: none; font-size: 13px;
|
|
12033
|
+
background: rgba(255,255,255,0.2); padding: 4px 14px;
|
|
12034
|
+
border-radius: 4px; border: 1px solid rgba(255,255,255,0.4);
|
|
12035
|
+
}
|
|
12036
|
+
iframe { flex: 1; border: none; width: 100%; }
|
|
12037
|
+
</style>
|
|
12038
|
+
</head>
|
|
12039
|
+
<body>
|
|
12040
|
+
<div class="bar">
|
|
12041
|
+
<span>📄 ${filename}</span>
|
|
12042
|
+
<a id="dlBtn" download="${filename}.html">⬇ İndir</a>
|
|
12043
|
+
</div>
|
|
12044
|
+
<iframe id="previewFrame"></iframe>
|
|
12045
|
+
<script>
|
|
12046
|
+
const html = ${JSON.stringify(htmlContent)};
|
|
12047
|
+
const blob = new Blob([html], { type: 'text/html' });
|
|
12048
|
+
const url = URL.createObjectURL(blob);
|
|
12049
|
+
document.getElementById('previewFrame').src = url;
|
|
12050
|
+
document.getElementById('dlBtn').href = url;
|
|
12051
|
+
</script>
|
|
12052
|
+
</body>
|
|
12053
|
+
</html>
|
|
12054
|
+
`);
|
|
12055
|
+
newTab.document.close();
|
|
11776
12056
|
});
|
|
11777
12057
|
}
|
|
11778
12058
|
}
|
|
@@ -15447,10 +15727,10 @@ class HitAutoSendRuleComponent {
|
|
|
15447
15727
|
}
|
|
15448
15728
|
}
|
|
15449
15729
|
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 });
|
|
15450
|
-
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 });
|
|
15730
|
+
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 });
|
|
15451
15731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitAutoSendRuleComponent, decorators: [{
|
|
15452
15732
|
type: Component,
|
|
15453
|
-
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>" }]
|
|
15733
|
+
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>" }]
|
|
15454
15734
|
}], 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: [{
|
|
15455
15735
|
type: ViewChild,
|
|
15456
15736
|
args: ['dxAutoSendRuleInstance', { static: false }]
|