@hitsoft/kadooglu.kalite 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ function configureRoutes(routes) {
19
19
  iconClass: 'fas fa-flask',
20
20
  layout: "application" /* eLayoutType.application */,
21
21
  order: 3,
22
- requiredPolicy: 'Kalite.ProcessAnalysis || Kalite.Parameters || Kalite.Definitions || Kalite.Reports || Kalite.Notifications.Configure',
22
+ requiredPolicy: 'Hitsoft.Kadooglu.Kalite.ProcessAnalysis || Hitsoft.Kadooglu.Kalite.Parameters || Hitsoft.Kadooglu.Kalite.Definitions || Hitsoft.Kadooglu.Kalite.Reports || Hitsoft.Kadooglu.Kalite.Notifications.Configure',
23
23
  },
24
24
  {
25
25
  path: '/kalite/process-analysis',
@@ -27,7 +27,7 @@ function configureRoutes(routes) {
27
27
  name: "Kalite::Menu:ProcessAnalysis" /* eKaliteRouteNames.ProcessAnalysis */,
28
28
  layout: "application" /* eLayoutType.application */,
29
29
  order: 1,
30
- requiredPolicy: 'Kalite.ProcessAnalysis',
30
+ requiredPolicy: 'Hitsoft.Kadooglu.Kalite.ProcessAnalysis',
31
31
  },
32
32
  {
33
33
  path: '/kalite/parameters',
@@ -35,24 +35,24 @@ function configureRoutes(routes) {
35
35
  name: "Kalite::Menu:Parameters" /* eKaliteRouteNames.Parameters */,
36
36
  layout: "application" /* eLayoutType.application */,
37
37
  order: 2,
38
- requiredPolicy: 'Kalite.Parameters',
38
+ requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Parameters',
39
39
  },
40
40
  {
41
41
  path: '/kalite/intake',
42
42
  parentName: 'KadoogluTartim::Menu:KadoogluTartim',
43
43
  name: 'Kalite::Menu:Intake', layout: "application" /* eLayoutType.application */,
44
- order: 4, requiredPolicy: 'Kalite.Intake',
44
+ order: 4, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Intake',
45
45
  },
46
46
  { path: '/kalite/definitions', parentName: "Kalite::Menu:Kalite" /* eKaliteRouteNames.Kalite */, name: 'Kalite::Menu:Definitions',
47
- layout: "application" /* eLayoutType.application */, order: 3, requiredPolicy: 'Kalite.Definitions' },
47
+ layout: "application" /* eLayoutType.application */, order: 3, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Definitions' },
48
48
  { path: '/kalite/reports/input', parentName: "Kalite::Menu:Kalite" /* eKaliteRouteNames.Kalite */, name: 'Kalite::Menu:InputReports',
49
- layout: "application" /* eLayoutType.application */, order: 4, requiredPolicy: 'Kalite.Reports' },
49
+ layout: "application" /* eLayoutType.application */, order: 4, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Reports' },
50
50
  { path: '/kalite/reports/process', parentName: "Kalite::Menu:Kalite" /* eKaliteRouteNames.Kalite */, name: 'Kalite::Menu:ProcessReports',
51
- layout: "application" /* eLayoutType.application */, order: 5, requiredPolicy: 'Kalite.Reports' },
51
+ layout: "application" /* eLayoutType.application */, order: 5, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Reports' },
52
52
  { path: '/kalite/reports/rejected', parentName: "Kalite::Menu:Kalite" /* eKaliteRouteNames.Kalite */, name: 'Kalite::Menu:RejectionReports',
53
- layout: "application" /* eLayoutType.application */, order: 6, requiredPolicy: 'Kalite.Reports' },
53
+ layout: "application" /* eLayoutType.application */, order: 6, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Reports' },
54
54
  { path: '/kalite/notification-settings', parentName: "Kalite::Menu:Kalite" /* eKaliteRouteNames.Kalite */, name: 'Kalite::Menu:NotificationSettings',
55
- layout: "application" /* eLayoutType.application */, order: 7, requiredPolicy: 'Kalite.Notifications.Configure' },
55
+ layout: "application" /* eLayoutType.application */, order: 7, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Notifications.Configure' },
56
56
  ]);
57
57
  };
58
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"hitsoft-kadooglu.kalite-config.mjs","sources":["../../../projects/kalite/config/src/providers/route.provider.ts","../../../projects/kalite/config/src/kalite-config.module.ts","../../../projects/kalite/config/src/hitsoft-kadooglu.kalite-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\nimport { APP_INITIALIZER, Provider } from '@angular/core';\nimport { eKaliteRouteNames } from '../enums/route-names';\n\nexport const KALITE_ROUTE_PROVIDERS: Provider[] = [\n {\n provide: APP_INITIALIZER,\n useFactory: configureRoutes,\n deps: [RoutesService],\n multi: true,\n },\n];\n\nexport function configureRoutes(routes: RoutesService) {\n return () => {\n routes.add([\n {\n path: '/kalite',\n name: eKaliteRouteNames.Kalite,\n iconClass: 'fas fa-flask',\n layout: eLayoutType.application,\n order: 3,\n requiredPolicy: 'Kalite.ProcessAnalysis || Kalite.Parameters || Kalite.Definitions || Kalite.Reports || Kalite.Notifications.Configure',\n },\n {\n path: '/kalite/process-analysis',\n parentName: eKaliteRouteNames.Kalite,\n name: eKaliteRouteNames.ProcessAnalysis,\n layout: eLayoutType.application,\n order: 1,\n requiredPolicy: 'Kalite.ProcessAnalysis',\n },\n {\n path: '/kalite/parameters',\n parentName: eKaliteRouteNames.Kalite,\n name: eKaliteRouteNames.Parameters,\n layout: eLayoutType.application,\n order: 2,\n requiredPolicy: 'Kalite.Parameters',\n },\n {\n path: '/kalite/intake',\n parentName: 'KadoogluTartim::Menu:KadoogluTartim',\n name: 'Kalite::Menu:Intake', layout: eLayoutType.application,\n order: 4, requiredPolicy: 'Kalite.Intake',\n },\n { path: '/kalite/definitions', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:Definitions',\n layout: eLayoutType.application, order: 3, requiredPolicy: 'Kalite.Definitions' },\n { path: '/kalite/reports/input', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:InputReports',\n layout: eLayoutType.application, order: 4, requiredPolicy: 'Kalite.Reports' },\n { path: '/kalite/reports/process', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:ProcessReports',\n layout: eLayoutType.application, order: 5, requiredPolicy: 'Kalite.Reports' },\n { path: '/kalite/reports/rejected', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:RejectionReports',\n layout: eLayoutType.application, order: 6, requiredPolicy: 'Kalite.Reports' },\n { path: '/kalite/notification-settings', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:NotificationSettings',\n layout: eLayoutType.application, order: 7, requiredPolicy: 'Kalite.Notifications.Configure' },\n ]);\n };\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { KALITE_ROUTE_PROVIDERS } from './providers/route.provider';\n\n@NgModule()\nexport class KaliteConfigModule {\n static forRoot(): ModuleWithProviders<KaliteConfigModule> {\n return {\n ngModule: KaliteConfigModule,\n providers: [KALITE_ROUTE_PROVIDERS],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIa,MAAA,sBAAsB,GAAe;AAChD,IAAA;AACE,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,UAAU,EAAE,eAAe;QAC3B,IAAI,EAAE,CAAC,aAAa,CAAC;AACrB,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA;EACD;AAEI,SAAU,eAAe,CAAC,MAAqB,EAAA;AACnD,IAAA,OAAO,MAAK;QACV,MAAM,CAAC,GAAG,CAAC;AACT,YAAA;AACE,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,IAAI,EAA0B,qBAAA;AAC9B,gBAAA,SAAS,EAAE,cAAc;AACzB,gBAAA,MAAM,EAAyB,aAAA;AAC/B,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,cAAc,EAAE,uHAAuH;AACxI,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,0BAA0B;AAChC,gBAAA,UAAU,EAA0B,qBAAA;AACpC,gBAAA,IAAI,EAAmC,8BAAA;AACvC,gBAAA,MAAM,EAAyB,aAAA;AAC/B,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,cAAc,EAAE,wBA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EAAA,aAAA,gCAA2B,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,gCAAgC,EAAE;AAChG,SAAA,CAAC,CAAC;AACL,KAAC,CAAC;AACJ;;MCtDa,kBAAkB,CAAA;AAC7B,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,kBAAkB;YAC5B,SAAS,EAAE,CAAC,sBAAsB,CAAC;SACpC,CAAC;KACH;;+GANU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,CAAA,CAAA;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,QAAQ;;;ACHT;;AAEG;;;;"}
1
+ {"version":3,"file":"hitsoft-kadooglu.kalite-config.mjs","sources":["../../../projects/kalite/config/src/providers/route.provider.ts","../../../projects/kalite/config/src/kalite-config.module.ts","../../../projects/kalite/config/src/hitsoft-kadooglu.kalite-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\nimport { APP_INITIALIZER, Provider } from '@angular/core';\nimport { eKaliteRouteNames } from '../enums/route-names';\n\nexport const KALITE_ROUTE_PROVIDERS: Provider[] = [\n {\n provide: APP_INITIALIZER,\n useFactory: configureRoutes,\n deps: [RoutesService],\n multi: true,\n },\n];\n\nexport function configureRoutes(routes: RoutesService) {\n return () => {\n routes.add([\n {\n path: '/kalite',\n name: eKaliteRouteNames.Kalite,\n iconClass: 'fas fa-flask',\n layout: eLayoutType.application,\n order: 3,\n requiredPolicy: 'Hitsoft.Kadooglu.Kalite.ProcessAnalysis || Hitsoft.Kadooglu.Kalite.Parameters || Hitsoft.Kadooglu.Kalite.Definitions || Hitsoft.Kadooglu.Kalite.Reports || Hitsoft.Kadooglu.Kalite.Notifications.Configure',\n },\n {\n path: '/kalite/process-analysis',\n parentName: eKaliteRouteNames.Kalite,\n name: eKaliteRouteNames.ProcessAnalysis,\n layout: eLayoutType.application,\n order: 1,\n requiredPolicy: 'Hitsoft.Kadooglu.Kalite.ProcessAnalysis',\n },\n {\n path: '/kalite/parameters',\n parentName: eKaliteRouteNames.Kalite,\n name: eKaliteRouteNames.Parameters,\n layout: eLayoutType.application,\n order: 2,\n requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Parameters',\n },\n {\n path: '/kalite/intake',\n parentName: 'KadoogluTartim::Menu:KadoogluTartim',\n name: 'Kalite::Menu:Intake', layout: eLayoutType.application,\n order: 4, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Intake',\n },\n { path: '/kalite/definitions', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:Definitions',\n layout: eLayoutType.application, order: 3, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Definitions' },\n { path: '/kalite/reports/input', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:InputReports',\n layout: eLayoutType.application, order: 4, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Reports' },\n { path: '/kalite/reports/process', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:ProcessReports',\n layout: eLayoutType.application, order: 5, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Reports' },\n { path: '/kalite/reports/rejected', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:RejectionReports',\n layout: eLayoutType.application, order: 6, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Reports' },\n { path: '/kalite/notification-settings', parentName: eKaliteRouteNames.Kalite, name: 'Kalite::Menu:NotificationSettings',\n layout: eLayoutType.application, order: 7, requiredPolicy: 'Hitsoft.Kadooglu.Kalite.Notifications.Configure' },\n ]);\n };\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { KALITE_ROUTE_PROVIDERS } from './providers/route.provider';\n\n@NgModule()\nexport class KaliteConfigModule {\n static forRoot(): ModuleWithProviders<KaliteConfigModule> {\n return {\n ngModule: KaliteConfigModule,\n providers: [KALITE_ROUTE_PROVIDERS],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIa,MAAA,sBAAsB,GAAe;AAChD,IAAA;AACE,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,UAAU,EAAE,eAAe;QAC3B,IAAI,EAAE,CAAC,aAAa,CAAC;AACrB,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA;EACD;AAEI,SAAU,eAAe,CAAC,MAAqB,EAAA;AACnD,IAAA,OAAO,MAAK;QACV,MAAM,CAAC,GAAG,CAAC;AACT,YAAA;AACE,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,IAAI,EAA0B,qBAAA;AAC9B,gBAAA,SAAS,EAAE,cAAc;AACzB,gBAAA,MAAM,EAAyB,aAAA;AAC/B,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,cAAc,EAAE,4MAA4M;AAC7N,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,0BAA0B;AAChC,gBAAA,UAAU,EAA0B,qBAAA;AACpC,gBAAA,IAAI,EAAmC,8BAAA;AACvC,gBAAA,MAAM,EAAyB,aAAA;AAC/B,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,cAAc,EAAE,yCAAyC;AAC1D,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,oBAAoB;AAC1B,gBAAA,UAAU,EAA0B,qBAAA;AACpC,gBAAA,IAAI,EAA8B,yBAAA;AAClC,gBAAA,MAAM,EAAyB,aAAA;AAC/B,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,cAAc,EAAE,oCAAoC;AACrD,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,gBAAgB;AACtB,gBAAA,UAAU,EAAE,qCAAqC;AACjD,gBAAA,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAyB,aAAA;AAC5D,gBAAA,KAAK,EAAE,CAAC,EAA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A;gHAAlB,kBAAkB,EAAA,CAAA,CAAA;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,QAAQ;;;ACHT;;AAEG;;;;"}
@@ -328,7 +328,7 @@ class ProcessAnalysisComponent {
328
328
  }
329
329
  get editable() {
330
330
  return !this.busy && this.analysis?.status === 'Draft' &&
331
- this.permissions.getGrantedPolicy('Kalite.ProcessAnalysis.Create');
331
+ this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.ProcessAnalysis.Create');
332
332
  }
333
333
  get hasOutOfLimit() {
334
334
  return this.analysis?.hours.some(h => h.measurements.some(v => v.outOfLimit)) || false;
@@ -338,7 +338,7 @@ class ProcessAnalysisComponent {
338
338
  Checked: 'Mühendis kontrol etti', Approved: 'Onaylı' }[this.analysis?.status || ''] || '';
339
339
  }
340
340
  allowed(permission) {
341
- return this.permissions.getGrantedPolicy(`Kalite.ProcessAnalysis.${permission}`);
341
+ return this.permissions.getGrantedPolicy(`Hitsoft.Kadooglu.Kalite.ProcessAnalysis.${permission}`);
342
342
  }
343
343
  load() {
344
344
  if (!this.facilityCode || !this.businessDate)
@@ -541,9 +541,9 @@ class QualityParametersComponent {
541
541
  error: () => this.error = 'Form listesi yüklenemedi.',
542
542
  });
543
543
  }
544
- get canEdit() { return this.permissions.getGrantedPolicy('Kalite.Parameters.Edit'); }
545
- get canCreate() { return this.permissions.getGrantedPolicy('Kalite.Parameters.Create'); }
546
- get canDelete() { return this.permissions.getGrantedPolicy('Kalite.Parameters.Delete'); }
544
+ get canEdit() { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Parameters.Edit'); }
545
+ get canCreate() { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Parameters.Create'); }
546
+ get canDelete() { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Parameters.Delete'); }
547
547
  get visibleForms() { return this.forms.filter(f => (f.controlType || 'Process') === this.controlType); }
548
548
  get visibleDetails() { return this.movementDetails.filter(d => !this.movementTypeCode || d.movementTypeCode === this.movementTypeCode); }
549
549
  switchType(type) {
@@ -837,7 +837,7 @@ class IntakeListComponent {
837
837
  this.statusLabel = statusLabel;
838
838
  }
839
839
  ngOnInit() { this.api.qualityMovementTypes().subscribe({ next: types => this.types = types, error: e => this.error = errorMessage(e) }); this.load(); }
840
- allowed(policy) { return this.permissions.getGrantedPolicy('Kalite.Intake.' + policy); }
840
+ allowed(policy) { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Intake.' + policy); }
841
841
  editable(row) { return row.vehicleStatus === '0' && !row.firstWeight && !row.hasExited; }
842
842
  load(reset = false) {
843
843
  this.busy = false;
@@ -991,7 +991,7 @@ class IntakeFormComponent {
991
991
  this.api.tanks().subscribe({ next: tanks => this.tanks = tanks.filter(x => x.active), error: e => this.error = errorMessage(e) });
992
992
  }
993
993
  ngOnDestroy() { this.destroy.next(); this.destroy.complete(); }
994
- allowed(action) { return this.permissions.getGrantedPolicy('Kalite.Intake.' + action); }
994
+ allowed(action) { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Intake.' + action); }
995
995
  get editable() { return !!this.form?.canEdit && !this.viewOnly && this.allowed('Edit'); }
996
996
  get parameters() { return this.form?.inspection.templateSnapshot?.parameters.filter(x => x.active).sort((a, b) => a.order - b.order) || []; }
997
997
  get palm() { return this.form?.details.find(x => x.code === this.form?.inspection.movementDetailCode)?.profile === 'PALM'; }
@@ -1140,8 +1140,8 @@ class QualityDefinitionsComponent {
1140
1140
  this.laborantsError = '';
1141
1141
  this.profiles = [{ code: '', name: 'Soruları kendim tanımlayacağım' }, { code: 'RAW', name: 'Ham Ayçiçek Yağı' }, { code: 'REFINED', name: 'Rafine Yağ' }, { code: 'PALM', name: 'Palm Oil / Palm Olein' }, { code: 'COAL', name: 'Kömür' }, { code: 'NAOH', name: 'Kostik (NaOH)' }, { code: 'PHOSPHORIC', name: 'Fosforik Asit' }, { code: 'SULFURIC', name: 'Sülfürik Asit' }, { code: 'PERLITE', name: 'Perlit' }, { code: 'EARTH', name: 'Ağartma Toprağı' }];
1142
1142
  }
1143
- get canEdit() { return this.permissions.getGrantedPolicy('Kalite.Definitions.Edit'); }
1144
- get canDelete() { return this.permissions.getGrantedPolicy('Kalite.Definitions.Delete'); }
1143
+ get canEdit() { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Definitions.Edit'); }
1144
+ get canDelete() { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Definitions.Delete'); }
1145
1145
  ngOnInit() { this.load(); }
1146
1146
  load() {
1147
1147
  this.busy = true;
@@ -1226,7 +1226,7 @@ class QualityReportsComponent {
1226
1226
  this.api.definitionFacilities().subscribe({ next: x => this.facilities = x, error: e => this.error = errorMessage(e) });
1227
1227
  this.api.qualityMovementTypes().subscribe({ next: x => this.types = x, error: e => this.error = errorMessage(e) });
1228
1228
  }
1229
- get canExport() { return this.permissions.getGrantedPolicy('Kalite.Reports.Export'); }
1229
+ get canExport() { return this.permissions.getGrantedPolicy('Hitsoft.Kadooglu.Kalite.Reports.Export'); }
1230
1230
  get visibleForms() { return this.forms.filter(x => (x.controlType || 'Process') === (this.filter.type === 'Process' ? 'Process' : 'Input')); }
1231
1231
  load() { this.busy = true; this.error = ''; this.api.report(this.filter).subscribe({ next: x => { this.report = x; this.busy = false; }, error: e => { this.error = errorMessage(e); this.busy = false; } }); }
1232
1232
  measurement(row, p) { return row.measurements.find(x => x.parameterCode === p.code); }