@hitsoft/uretim-yonetimi 1.0.11 → 1.0.12
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/.eslintrc.json +44 -0
- package/README.md +24 -24
- package/config/ng-package.json +7 -0
- package/config/src/enums/route-names.ts +3 -0
- package/config/src/providers/create-barcode-route.provider.ts +21 -0
- package/config/src/providers/issues-for-production-route.provider.ts +21 -0
- package/config/src/providers/production-order-route.provider.ts +21 -0
- package/config/src/providers/receipt-from-production-route.provider.ts +21 -0
- package/config/src/providers/route.provider.ts +26 -0
- package/config/src/uretim-yonetimi-config.module.ts +22 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +14 -42
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes-component.css +10 -0
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes-routing.module.ts +19 -0
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes.component.html +80 -0
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes.component.ts +219 -0
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes.module.ts +39 -0
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.ts +19 -0
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.componenet.css +7 -0
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.html +96 -0
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.ts +274 -0
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.module.ts +46 -0
- package/src/lib/components/hit-production-orders/hit-production-orders-routing.module.ts +19 -0
- package/src/lib/components/hit-production-orders/hit-production-orders.component.html +79 -0
- package/src/lib/components/hit-production-orders/hit-production-orders.component.ts +214 -0
- package/src/lib/components/hit-production-orders/hit-production-orders.module.ts +39 -0
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-production-component.css +10 -0
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-production-routing.module.ts +19 -0
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.html +101 -0
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.ts +258 -0
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.module.ts +38 -0
- package/src/lib/components/uretim-yonetimi.component.ts +9 -0
- package/src/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.ts +20 -0
- package/src/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.ts +51 -0
- package/src/lib/hit-proxy/hit-create-barcodes/hit-create-barcodes.service.ts +41 -0
- package/src/lib/hit-proxy/hit-create-barcodes/models.ts +6 -0
- package/src/lib/hit-proxy/hit-issues-for-productions/hit-issues-for-productions.service.ts +39 -0
- package/src/lib/hit-proxy/hit-issues-for-productions/models.ts +42 -0
- package/src/lib/hit-proxy/hit-production-orders/hit-production-orders.service.ts +60 -0
- package/src/lib/hit-proxy/hit-production-orders/models.ts +137 -0
- package/src/lib/hit-proxy/hit-receipt-from-productions/hit-receipt-from-productions.service.ts +32 -0
- package/src/lib/hit-proxy/hit-receipt-from-productions/models.ts +43 -0
- package/src/lib/hit-proxy/models.ts +105 -0
- package/src/lib/uretim-yonetimi-routing.module.ts +30 -0
- package/src/lib/uretim-yonetimi.component.spec.ts +24 -0
- package/src/lib/uretim-yonetimi.module.ts +52 -0
- package/src/lib/uretim-yonetimi.service.spec.ts +15 -0
- package/{public-api.d.ts → src/public-api.ts} +4 -0
- package/src/test.ts +29 -0
- package/tsconfig.lib.json +20 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/config/enums/route-names.d.ts +0 -3
- package/config/index.d.ts +0 -5
- package/config/providers/create-barcode-route.provider.d.ts +0 -9
- package/config/providers/issues-for-production-route.provider.d.ts +0 -9
- package/config/providers/production-order-route.provider.d.ts +0 -9
- package/config/providers/receipt-from-production-route.provider.d.ts +0 -9
- package/config/providers/route.provider.d.ts +0 -8
- package/config/uretim-yonetimi-config.module.d.ts +0 -8
- package/esm2020/config/enums/index.mjs +0 -2
- package/esm2020/config/enums/route-names.mjs +0 -2
- package/esm2020/config/hitsoft-uretim-yonetimi-config.mjs +0 -5
- package/esm2020/config/providers/create-barcode-route.provider.mjs +0 -19
- package/esm2020/config/providers/index.mjs +0 -2
- package/esm2020/config/providers/issues-for-production-route.provider.mjs +0 -19
- package/esm2020/config/providers/production-order-route.provider.mjs +0 -19
- package/esm2020/config/providers/receipt-from-production-route.provider.mjs +0 -19
- package/esm2020/config/providers/route.provider.mjs +0 -24
- package/esm2020/config/public-api.mjs +0 -4
- package/esm2020/config/uretim-yonetimi-config.module.mjs +0 -28
- package/esm2020/hitsoft-uretim-yonetimi.mjs +0 -5
- package/esm2020/lib/components/hit-create-barcodes/hit-create-barcodes-routing.module.mjs +0 -26
- package/esm2020/lib/components/hit-create-barcodes/hit-create-barcodes.component.mjs +0 -186
- package/esm2020/lib/components/hit-create-barcodes/hit-create-barcodes.module.mjs +0 -65
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.mjs +0 -26
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.mjs +0 -250
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions.module.mjs +0 -68
- package/esm2020/lib/components/hit-production-orders/hit-production-orders-routing.module.mjs +0 -26
- package/esm2020/lib/components/hit-production-orders/hit-production-orders.component.mjs +0 -152
- package/esm2020/lib/components/hit-production-orders/hit-production-orders.module.mjs +0 -65
- package/esm2020/lib/components/hit-receipt-from-productions/hit-receipt-from-production-routing.module.mjs +0 -26
- package/esm2020/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.mjs +0 -215
- package/esm2020/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.module.mjs +0 -62
- package/esm2020/lib/components/uretim-yonetimi.component.mjs +0 -11
- package/esm2020/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.mjs +0 -2
- package/esm2020/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.mjs +0 -54
- package/esm2020/lib/hit-proxy/hit-create-barcodes/hit-create-barcodes.service.mjs +0 -35
- package/esm2020/lib/hit-proxy/hit-create-barcodes/models.mjs +0 -3
- package/esm2020/lib/hit-proxy/hit-issues-for-productions/hit-issues-for-productions.service.mjs +0 -35
- package/esm2020/lib/hit-proxy/hit-issues-for-productions/models.mjs +0 -24
- package/esm2020/lib/hit-proxy/hit-production-orders/hit-production-orders.service.mjs +0 -44
- package/esm2020/lib/hit-proxy/hit-production-orders/models.mjs +0 -65
- package/esm2020/lib/hit-proxy/hit-receipt-from-productions/hit-receipt-from-productions.service.mjs +0 -30
- package/esm2020/lib/hit-proxy/hit-receipt-from-productions/models.mjs +0 -20
- package/esm2020/lib/hit-proxy/models.mjs +0 -81
- package/esm2020/lib/services/uretim-yonetimi.service.mjs +0 -18
- package/esm2020/lib/uretim-yonetimi-routing.module.mjs +0 -33
- package/esm2020/lib/uretim-yonetimi.module.mjs +0 -55
- package/esm2020/public-api.mjs +0 -6
- package/fesm2015/hitsoft-uretim-yonetimi-config.mjs +0 -121
- package/fesm2015/hitsoft-uretim-yonetimi-config.mjs.map +0 -1
- package/fesm2015/hitsoft-uretim-yonetimi.mjs +0 -1539
- package/fesm2015/hitsoft-uretim-yonetimi.mjs.map +0 -1
- package/fesm2020/hitsoft-uretim-yonetimi-config.mjs +0 -121
- package/fesm2020/hitsoft-uretim-yonetimi-config.mjs.map +0 -1
- package/fesm2020/hitsoft-uretim-yonetimi.mjs +0 -1517
- package/fesm2020/hitsoft-uretim-yonetimi.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/hit-create-barcodes/hit-create-barcodes-routing.module.d.ts +0 -7
- package/lib/components/hit-create-barcodes/hit-create-barcodes.component.d.ts +0 -45
- package/lib/components/hit-create-barcodes/hit-create-barcodes.module.d.ts +0 -16
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.d.ts +0 -7
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.d.ts +0 -48
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions.module.d.ts +0 -16
- package/lib/components/hit-production-orders/hit-production-orders-routing.module.d.ts +0 -7
- package/lib/components/hit-production-orders/hit-production-orders.component.d.ts +0 -44
- package/lib/components/hit-production-orders/hit-production-orders.module.d.ts +0 -16
- package/lib/components/hit-receipt-from-productions/hit-receipt-from-production-routing.module.d.ts +0 -7
- package/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.d.ts +0 -57
- package/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.module.d.ts +0 -16
- package/lib/components/uretim-yonetimi.component.d.ts +0 -5
- package/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.d.ts +0 -17
- package/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.d.ts +0 -18
- package/lib/hit-proxy/hit-create-barcodes/hit-create-barcodes.service.d.ts +0 -23
- package/lib/hit-proxy/hit-create-barcodes/models.d.ts +0 -6
- package/lib/hit-proxy/hit-issues-for-productions/hit-issues-for-productions.service.d.ts +0 -17
- package/lib/hit-proxy/hit-issues-for-productions/models.d.ts +0 -30
- package/lib/hit-proxy/hit-production-orders/hit-production-orders.service.d.ts +0 -19
- package/lib/hit-proxy/hit-production-orders/models.d.ts +0 -85
- package/lib/hit-proxy/hit-receipt-from-productions/hit-receipt-from-productions.service.d.ts +0 -16
- package/lib/hit-proxy/hit-receipt-from-productions/models.d.ts +0 -39
- package/lib/hit-proxy/models.d.ts +0 -21
- package/lib/services/uretim-yonetimi.service.d.ts +0 -9
- package/lib/uretim-yonetimi-routing.module.d.ts +0 -7
- package/lib/uretim-yonetimi.module.d.ts +0 -17
- /package/config/{enums/index.d.ts → src/enums/index.ts} +0 -0
- /package/config/{providers/index.d.ts → src/providers/index.ts} +0 -0
- /package/config/{public-api.d.ts → src/public-api.ts} +0 -0
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../.eslintrc.json",
|
|
3
|
+
"ignorePatterns": [
|
|
4
|
+
"!**/*"
|
|
5
|
+
],
|
|
6
|
+
"overrides": [
|
|
7
|
+
{
|
|
8
|
+
"files": [
|
|
9
|
+
"*.ts"
|
|
10
|
+
],
|
|
11
|
+
"parserOptions": {
|
|
12
|
+
"project": [
|
|
13
|
+
"projects/uretim-yonetimi/tsconfig.lib.json",
|
|
14
|
+
"projects/uretim-yonetimi/tsconfig.spec.json"
|
|
15
|
+
],
|
|
16
|
+
"createDefaultProgram": true
|
|
17
|
+
},
|
|
18
|
+
"rules": {
|
|
19
|
+
"@angular-eslint/directive-selector": [
|
|
20
|
+
"error",
|
|
21
|
+
{
|
|
22
|
+
"type": "attribute",
|
|
23
|
+
"prefix": "lib",
|
|
24
|
+
"style": "camelCase"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"@angular-eslint/component-selector": [
|
|
28
|
+
"error",
|
|
29
|
+
{
|
|
30
|
+
"type": "element",
|
|
31
|
+
"prefix": "lib",
|
|
32
|
+
"style": "kebab-case"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"files": [
|
|
39
|
+
"*.html"
|
|
40
|
+
],
|
|
41
|
+
"rules": {}
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# UretimYonetimi
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.4.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project uretim-yonetimi` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project uretim-yonetimi`.
|
|
8
|
-
> Note: Don't forget to add `--project uretim-yonetimi` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build uretim-yonetimi` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build uretim-yonetimi`, go to the dist folder `cd dist/uretim-yonetimi` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test uretim-yonetimi` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# UretimYonetimi
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.4.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project uretim-yonetimi` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project uretim-yonetimi`.
|
|
8
|
+
> Note: Don't forget to add `--project uretim-yonetimi` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build uretim-yonetimi` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build uretim-yonetimi`, go to the dist folder `cd dist/uretim-yonetimi` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test uretim-yonetimi` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
+
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
+
import { eUretimYonetimiRouteNames } from '../enums/route-names';
|
|
4
|
+
|
|
5
|
+
export const CREATE_BARCODES_CREATE_BARCODE_ROUTE_PROVIDER = [
|
|
6
|
+
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
function configureRoutes(routes: RoutesService) {
|
|
10
|
+
return () => {
|
|
11
|
+
routes.add([
|
|
12
|
+
{
|
|
13
|
+
path: '/uretim-yonetimi/create-barcodes',
|
|
14
|
+
parentName: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
15
|
+
name: 'UretimYonetimi::Menu:CreateBarcodes',
|
|
16
|
+
layout: eLayoutType.application,
|
|
17
|
+
requiredPolicy: 'UretimYonetimi.CreateBarcodes',
|
|
18
|
+
},
|
|
19
|
+
]);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
+
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
+
import { eUretimYonetimiRouteNames } from '../enums/route-names';
|
|
4
|
+
|
|
5
|
+
export const ISSUES_FOR_PRODUCTIONS_ISSUES_FOR_PRODUCTION_ROUTE_PROVIDER = [
|
|
6
|
+
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
function configureRoutes(routes: RoutesService) {
|
|
10
|
+
return () => {
|
|
11
|
+
routes.add([
|
|
12
|
+
{
|
|
13
|
+
path: '/uretim-yonetimi/issues-for-productions',
|
|
14
|
+
parentName: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
15
|
+
name: 'UretimYonetimi::Menu:IssuesForProductions',
|
|
16
|
+
layout: eLayoutType.application,
|
|
17
|
+
requiredPolicy: 'UretimYonetimi.IssuesForProductions',
|
|
18
|
+
},
|
|
19
|
+
]);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
+
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
+
import { eUretimYonetimiRouteNames } from '../enums/route-names';
|
|
4
|
+
|
|
5
|
+
export const PRODUCTION_ORDERS_PRODUCTION_ORDER_ROUTE_PROVIDER = [
|
|
6
|
+
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
function configureRoutes(routes: RoutesService) {
|
|
10
|
+
return () => {
|
|
11
|
+
routes.add([
|
|
12
|
+
{
|
|
13
|
+
path: '/uretim-yonetimi/production-orders',
|
|
14
|
+
parentName: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
15
|
+
name: 'UretimYonetimi::Menu:ProductionOrders',
|
|
16
|
+
layout: eLayoutType.application,
|
|
17
|
+
requiredPolicy: 'UretimYonetimi.ProductionOrders',
|
|
18
|
+
},
|
|
19
|
+
]);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
+
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
+
import { eUretimYonetimiRouteNames } from '../enums/route-names';
|
|
4
|
+
|
|
5
|
+
export const RECEIPT_FROM_PRODUCTIONS_RECEIPT_FROM_PRODUCTION_ROUTE_PROVIDER = [
|
|
6
|
+
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
function configureRoutes(routes: RoutesService) {
|
|
10
|
+
return () => {
|
|
11
|
+
routes.add([
|
|
12
|
+
{
|
|
13
|
+
path: '/uretim-yonetimi/receipt-from-productions',
|
|
14
|
+
parentName: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
15
|
+
name: 'UretimYonetimi::Menu:ReceiptFromProductions',
|
|
16
|
+
layout: eLayoutType.application,
|
|
17
|
+
requiredPolicy: 'UretimYonetimi.ReceiptFromProductions',
|
|
18
|
+
},
|
|
19
|
+
]);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
+
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
+
import { eUretimYonetimiRouteNames } from '../enums';
|
|
4
|
+
|
|
5
|
+
export const URETIM_YONETIMI_ROUTE_PROVIDERS = [
|
|
6
|
+
{
|
|
7
|
+
provide: APP_INITIALIZER,
|
|
8
|
+
useFactory: configureRoutes,
|
|
9
|
+
deps: [RoutesService],
|
|
10
|
+
multi: true,
|
|
11
|
+
},
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
export function configureRoutes(routes: RoutesService) {
|
|
15
|
+
return () => {
|
|
16
|
+
routes.add([
|
|
17
|
+
{
|
|
18
|
+
path: '/uretim-yonetimi',
|
|
19
|
+
name: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
20
|
+
iconClass: 'fas fa-book',
|
|
21
|
+
layout: eLayoutType.application,
|
|
22
|
+
order: 3,
|
|
23
|
+
},
|
|
24
|
+
]);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
2
|
+
import { URETIM_YONETIMI_ROUTE_PROVIDERS } from './providers';
|
|
3
|
+
import { PRODUCTION_ORDERS_PRODUCTION_ORDER_ROUTE_PROVIDER } from './providers/production-order-route.provider';
|
|
4
|
+
import { ISSUES_FOR_PRODUCTIONS_ISSUES_FOR_PRODUCTION_ROUTE_PROVIDER } from './providers/issues-for-production-route.provider';
|
|
5
|
+
import { RECEIPT_FROM_PRODUCTIONS_RECEIPT_FROM_PRODUCTION_ROUTE_PROVIDER } from './providers/receipt-from-production-route.provider';
|
|
6
|
+
import { CREATE_BARCODES_CREATE_BARCODE_ROUTE_PROVIDER } from './providers/create-barcode-route.provider';
|
|
7
|
+
|
|
8
|
+
@NgModule()
|
|
9
|
+
export class UretimYonetimiConfigModule {
|
|
10
|
+
static forRoot(): ModuleWithProviders<UretimYonetimiConfigModule> {
|
|
11
|
+
return {
|
|
12
|
+
ngModule: UretimYonetimiConfigModule,
|
|
13
|
+
providers: [
|
|
14
|
+
URETIM_YONETIMI_ROUTE_PROVIDERS,
|
|
15
|
+
PRODUCTION_ORDERS_PRODUCTION_ORDER_ROUTE_PROVIDER,
|
|
16
|
+
ISSUES_FOR_PRODUCTIONS_ISSUES_FOR_PRODUCTION_ROUTE_PROVIDER,
|
|
17
|
+
RECEIPT_FROM_PRODUCTIONS_RECEIPT_FROM_PRODUCTION_ROUTE_PROVIDER,
|
|
18
|
+
CREATE_BARCODES_CREATE_BARCODE_ROUTE_PROVIDER,
|
|
19
|
+
],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
package/karma.conf.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Karma configuration file, see link for more information
|
|
2
|
+
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
+
|
|
4
|
+
module.exports = function (config) {
|
|
5
|
+
config.set({
|
|
6
|
+
basePath: '',
|
|
7
|
+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
+
plugins: [
|
|
9
|
+
require('karma-jasmine'),
|
|
10
|
+
require('karma-chrome-launcher'),
|
|
11
|
+
require('karma-jasmine-html-reporter'),
|
|
12
|
+
require('karma-coverage'),
|
|
13
|
+
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
+
],
|
|
15
|
+
client: {
|
|
16
|
+
jasmine: {
|
|
17
|
+
// you can add configuration options for Jasmine here
|
|
18
|
+
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
+
// for example, you can disable the random execution with `random: false`
|
|
20
|
+
// or set a specific seed with `seed: 4321`
|
|
21
|
+
},
|
|
22
|
+
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
+
},
|
|
24
|
+
jasmineHtmlReporter: {
|
|
25
|
+
suppressAll: true // removes the duplicated traces
|
|
26
|
+
},
|
|
27
|
+
coverageReporter: {
|
|
28
|
+
dir: require('path').join(__dirname, '../../coverage/uretim-yonetimi'),
|
|
29
|
+
subdir: '.',
|
|
30
|
+
reporters: [
|
|
31
|
+
{ type: 'html' },
|
|
32
|
+
{ type: 'text-summary' }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
reporters: ['progress', 'kjhtml'],
|
|
36
|
+
port: 9876,
|
|
37
|
+
colors: true,
|
|
38
|
+
logLevel: config.LOG_INFO,
|
|
39
|
+
autoWatch: true,
|
|
40
|
+
browsers: ['Chrome'],
|
|
41
|
+
singleRun: false,
|
|
42
|
+
restartOnFileChange: true
|
|
43
|
+
});
|
|
44
|
+
};
|
package/ng-package.json
ADDED
package/package.json
CHANGED
|
@@ -1,42 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hitsoft/uretim-yonetimi",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Turkuaz Uretim Yonetim",
|
|
5
|
-
"peerDependencies": {
|
|
6
|
-
"@angular/common": ">=9",
|
|
7
|
-
"@angular/core": ">=9",
|
|
8
|
-
"@abp/ng.core": ">=6.0.2",
|
|
9
|
-
"@abp/ng.theme.shared": ">=6.0.2"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"tslib": "^2.1.0"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
"es2020": "fesm2020/hitsoft-uretim-yonetimi.mjs",
|
|
16
|
-
"esm2020": "esm2020/hitsoft-uretim-yonetimi.mjs",
|
|
17
|
-
"fesm2020": "fesm2020/hitsoft-uretim-yonetimi.mjs",
|
|
18
|
-
"fesm2015": "fesm2015/hitsoft-uretim-yonetimi.mjs",
|
|
19
|
-
"typings": "index.d.ts",
|
|
20
|
-
"exports": {
|
|
21
|
-
"./package.json": {
|
|
22
|
-
"default": "./package.json"
|
|
23
|
-
},
|
|
24
|
-
".": {
|
|
25
|
-
"types": "./index.d.ts",
|
|
26
|
-
"esm2020": "./esm2020/hitsoft-uretim-yonetimi.mjs",
|
|
27
|
-
"es2020": "./fesm2020/hitsoft-uretim-yonetimi.mjs",
|
|
28
|
-
"es2015": "./fesm2015/hitsoft-uretim-yonetimi.mjs",
|
|
29
|
-
"node": "./fesm2015/hitsoft-uretim-yonetimi.mjs",
|
|
30
|
-
"default": "./fesm2020/hitsoft-uretim-yonetimi.mjs"
|
|
31
|
-
},
|
|
32
|
-
"./config": {
|
|
33
|
-
"types": "./config/index.d.ts",
|
|
34
|
-
"esm2020": "./esm2020/config/hitsoft-uretim-yonetimi-config.mjs",
|
|
35
|
-
"es2020": "./fesm2020/hitsoft-uretim-yonetimi-config.mjs",
|
|
36
|
-
"es2015": "./fesm2015/hitsoft-uretim-yonetimi-config.mjs",
|
|
37
|
-
"node": "./fesm2015/hitsoft-uretim-yonetimi-config.mjs",
|
|
38
|
-
"default": "./fesm2020/hitsoft-uretim-yonetimi-config.mjs"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"sideEffects": false
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@hitsoft/uretim-yonetimi",
|
|
3
|
+
"version": "1.0.12",
|
|
4
|
+
"description": "Turkuaz Uretim Yonetim",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": ">=9",
|
|
7
|
+
"@angular/core": ">=9",
|
|
8
|
+
"@abp/ng.core": ">=6.0.2",
|
|
9
|
+
"@abp/ng.theme.shared": ">=6.0.2"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"tslib": "^2.1.0"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {AuthGuard, PermissionGuard} from '@abp/ng.core';
|
|
2
|
+
import {NgModule} from '@angular/core';
|
|
3
|
+
import {RouterModule, Routes} from '@angular/router';
|
|
4
|
+
import {HitCreateBarcodesComponent} from "./hit-create-barcodes.component";
|
|
5
|
+
|
|
6
|
+
const routes: Routes = [
|
|
7
|
+
{
|
|
8
|
+
path: '',
|
|
9
|
+
component: HitCreateBarcodesComponent,
|
|
10
|
+
canActivate: [AuthGuard, PermissionGuard],
|
|
11
|
+
},
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
@NgModule({
|
|
15
|
+
imports: [RouterModule.forChild(routes)],
|
|
16
|
+
exports: [RouterModule],
|
|
17
|
+
})
|
|
18
|
+
export class HitCreateBarcodesRoutingModule {
|
|
19
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<abp-page [breadcrumb]="false">
|
|
2
|
+
<abp-page-toolbar-container class="col">
|
|
3
|
+
<div class="row">
|
|
4
|
+
<h3 class="page-title">
|
|
5
|
+
{{ 'UretimYonetimi::CreateBarcodes.Title' | abpLocalization }}
|
|
6
|
+
</h3>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row text-lg-end pt-2">
|
|
9
|
+
<div class="col-8">
|
|
10
|
+
<button class="btn btn-success btn-sm" type="button" [disabled]="!this.selectedReceiptFromProductions"
|
|
11
|
+
(click)="showModal=true">
|
|
12
|
+
<i class="fa fa-plus me-1"></i>
|
|
13
|
+
{{ 'UretimYonetimi::CreateBarcodes.Print' | abpLocalization }}
|
|
14
|
+
</button>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-4">
|
|
17
|
+
<button class="btn btn-warning btn-sm" type="button" (click)="clearAll()">
|
|
18
|
+
<i class="fa fa-broom me-1"></i>
|
|
19
|
+
{{ 'UretimYonetimi::CreateBarcodes.Clean' | abpLocalization }}
|
|
20
|
+
</button>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</abp-page-toolbar-container>
|
|
24
|
+
<div class="card mt-2">
|
|
25
|
+
<div class="card-body" style="height: calc(100vh - 241px); overflow: auto;">
|
|
26
|
+
<div style="display: flex; align-items: center;">
|
|
27
|
+
<dx-number-box #barkodNumarasiRef class="me-1" style="width:100%;"
|
|
28
|
+
[label]="'UretimYonetimi::CreateBarcodes.WorkOrderNo' | abpLocalization"
|
|
29
|
+
[(value)]="isEmriBarkodu"
|
|
30
|
+
(onChange)="getProductionOrder()" (onEnterKey)="getProductionOrder()"
|
|
31
|
+
[disabled]="searchBasildiMi || isEmriBarkoduGecerliMi">
|
|
32
|
+
</dx-number-box>
|
|
33
|
+
<dx-button style="margin-top: 7.5px;" icon="search" type="default" (onClick)="getProductionOrder()"
|
|
34
|
+
[disabled]="searchBasildiMi || isEmriBarkoduGecerliMi">
|
|
35
|
+
</dx-button>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="mt-3" *ngIf="isEmriBarkoduGecerliMi">
|
|
39
|
+
<dx-text-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.ItemCode' | abpLocalization"
|
|
40
|
+
[(value)]="productionOrder.itemNo" [disabled]="true">
|
|
41
|
+
</dx-text-box>
|
|
42
|
+
<dx-text-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.ItemName' | abpLocalization"
|
|
43
|
+
[(value)]="productionOrder.productDescription" [disabled]="true">
|
|
44
|
+
</dx-text-box>
|
|
45
|
+
<dx-text-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.BatchNumber' | abpLocalization"
|
|
46
|
+
[(value)]="productionOrder.u_trkBatch" [disabled]="true">
|
|
47
|
+
</dx-text-box>
|
|
48
|
+
<dx-number-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.PrintingQuantity' | abpLocalization"
|
|
49
|
+
[(value)]="printingQuantity">
|
|
50
|
+
</dx-number-box>
|
|
51
|
+
<dx-data-grid #gridRFP class="mt-3" [dataSource]="receiptFromProductions" [columnAutoWidth]="true"
|
|
52
|
+
(onSelectionChanged)="selectReceiptFromProductions($event)">
|
|
53
|
+
<dxi-column dataField="quantity"
|
|
54
|
+
[caption]="'UretimYonetimi::CreateBarcodes.Quantity' | abpLocalization"></dxi-column>
|
|
55
|
+
<dxi-column dataField="docDateString"
|
|
56
|
+
[caption]="'UretimYonetimi::CreateBarcodes.Date' | abpLocalization"></dxi-column>
|
|
57
|
+
<dxo-selection mode="single"></dxo-selection>
|
|
58
|
+
</dx-data-grid>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</abp-page>
|
|
63
|
+
|
|
64
|
+
<abp-modal [(visible)]="showModal" (appear)="generateReport()">
|
|
65
|
+
<ng-template #abpHeader>
|
|
66
|
+
<h3>{{ 'UretimYonetimi::CreateBarcodes.BarcodePreview' | abpLocalization }}</h3>
|
|
67
|
+
</ng-template>
|
|
68
|
+
<ng-template #abpBody>
|
|
69
|
+
<iframe *ngIf="pdfSrc" [src]="pdfSrc" width="100%" height="300"
|
|
70
|
+
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
|
71
|
+
</ng-template>
|
|
72
|
+
<ng-template #abpFooter>
|
|
73
|
+
<button (click)="downloadPdf(blobUrl)" type="button"
|
|
74
|
+
class="btn btn-secondary mobilde-gorunur" abpClose> İndir
|
|
75
|
+
</button>
|
|
76
|
+
<button type="button"
|
|
77
|
+
class="btn btn-secondary" abpClose> {{ 'UretimYonetimi::CreateBarcodes.Close' | abpLocalization }}
|
|
78
|
+
</button>
|
|
79
|
+
</ng-template>
|
|
80
|
+
</abp-modal>
|