@colijnit/sharedcomponents 254.1.1 → 254.1.3
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/3rdpartylicenses.txt +1408 -0
- package/bundles/colijnit-sharedcomponents.umd.js +701 -179
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +2 -0
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +3 -1
- package/esm2015/lib/components/activity-list/activity-list.component.js +7 -3
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +8 -7
- package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +15 -21
- package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +8 -10
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +2 -2
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +5 -5
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +2 -2
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +7 -4
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +7 -4
- package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +39 -13
- package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +10 -3
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +48 -57
- package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +5 -3
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +5 -147
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +4 -2
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +196 -0
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +26 -0
- package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +3 -3
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +28 -2
- package/esm2015/lib/components/stock/localization/translation.js +3 -1
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +7 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +144 -85
- package/esm2015/lib/components/stock/stock.component.js +11 -42
- package/esm2015/lib/components/stock/stock.module.js +4 -3
- package/esm2015/lib/components/task-modifyer/task-modifier.component.js +9 -9
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +45 -0
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +22 -0
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +55 -0
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +22 -0
- package/esm2015/lib/enum/icon.enum.js +1 -1
- package/esm2015/lib/model/icon-svg.js +1 -1
- package/esm2015/lib/service/shared-connector.service.js +93 -1
- package/esm2015/lib/service/shared.service.js +44 -1
- package/esm2015/public-api.js +5 -1
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +765 -349
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/activity-list/style/_layout.scss +17 -6
- package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +3 -1
- package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +3 -8
- package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +3 -4
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +2 -2
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +3 -1
- package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +3 -1
- package/lib/components/modify-task-form/modify-task-form.component.d.ts +9 -4
- package/lib/components/modify-task-form/style/_layout.scss +4 -0
- package/lib/components/open-activity-list/component-activity-list.component.d.ts +10 -11
- package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +2 -0
- package/lib/components/simple-tags/simple-tags.component.d.ts +1 -8
- package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +29 -0
- package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +2 -0
- package/lib/components/simple-tags-form/style/_layout.scss +257 -0
- package/lib/components/simple-tags-form/style/_material-definition.scss +39 -0
- package/lib/components/simple-tags-form/style/_theme.scss +4 -0
- package/lib/components/simple-tags-form/style/material.scss +4 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +7 -1
- package/lib/components/stock/localization/translation.d.ts +2 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +2 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +19 -6
- package/lib/components/stock/stock.component.d.ts +3 -0
- package/lib/components/stock/style/_layout.scss +64 -31
- package/lib/components/task-modifyer/task-modifier.component.d.ts +3 -5
- package/lib/components/workflow-info-tiles/components/style/_layout.scss +49 -0
- package/lib/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
- package/lib/components/workflow-info-tiles/components/style/_theme.scss +4 -0
- package/lib/components/workflow-info-tiles/components/style/material.scss +4 -0
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +15 -0
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +2 -0
- package/lib/components/workflow-info-tiles/style/_layout.scss +16 -0
- package/lib/components/workflow-info-tiles/style/_material-definition.scss +0 -0
- package/lib/components/workflow-info-tiles/style/_theme.scss +4 -0
- package/lib/components/workflow-info-tiles/style/material.scss +4 -0
- package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +21 -0
- package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +2 -0
- package/lib/service/shared-connector.service.d.ts +10 -0
- package/lib/service/shared.service.d.ts +12 -0
- package/lib/style/_variables.scss +2 -0
- package/main.b62bfdc80736ecda90e4.js +1 -0
- package/package.json +2 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/public-api.d.ts +4 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.051675db76590b099897.css +1 -0
|
@@ -31,14 +31,15 @@ import { WorkflowProcess } from '@colijnit/mainapi/build/model/workflow-process'
|
|
|
31
31
|
import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
|
|
32
32
|
import { RoleEmailaddress } from '@colijnit/mainapi/build/model/role-email-address';
|
|
33
33
|
import { Activity } from '@colijnit/mainapi/build/model/activity.bo';
|
|
34
|
+
import { WorkflowProcessInfoPerStatus } from '@colijnit/mainapi/build/model/workflow-process-info-per-status';
|
|
34
35
|
import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
|
|
35
36
|
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
36
37
|
import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock';
|
|
37
38
|
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
38
39
|
import * as i1 from '@angular/platform-browser';
|
|
39
40
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
40
|
-
import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, PopupModule, ResponsiveTextModule, InputDatePickerModule, InputSearchModule, PromptService, FormComponent, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoOrientation, CoreComponentsTranslationModule, TemplateWrapperModule, FormModule, ScreenConfigurationModule, FormMasterService, CoreDialogService, InputDateRangePickerModule, CollapsibleModule } from '@colijnit/corecomponents_v12';
|
|
41
41
|
import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
|
|
42
|
+
import { IconModule, InputCheckboxModule, CoDialogModule, ButtonModule, ListOfValuesModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, PopupModule, InputDatePickerModule, ResponsiveTextModule, InputSearchModule, PromptService, FormComponent, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoOrientation, CoreComponentsTranslationModule, TemplateWrapperModule, FormModule, ScreenConfigurationModule, FormMasterService, IconCacheService as IconCacheService$1, CoreDialogService, InputDateRangePickerModule, CollapsibleModule, ColorSequenceService } from '@colijnit/corecomponents_v12';
|
|
42
43
|
import { ArticleTransaction as ArticleTransaction$1 } from '@colijnit/articleapi/build/model/article-transaction';
|
|
43
44
|
import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
|
|
44
45
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
@@ -68,8 +69,9 @@ import { ActivityViewModel } from '@colijnit/mainapi/build/model/activity-view-m
|
|
|
68
69
|
import { PersonalActivityTabEnum } from '@colijnit/mainapi/build/enum/personal-activity-tab.enum';
|
|
69
70
|
import { ActivitySortType } from '@colijnit/mainapi/build/enum/activity-sort-type.enum';
|
|
70
71
|
import { Task } from '@colijnit/mainapi/build/model/task.bo';
|
|
71
|
-
import { ValidationResult } from '@colijnit/ioneconnector/build/model/validation-result';
|
|
72
72
|
import { TableName as TableName$1 } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
73
|
+
import { TagCategory } from '@colijnit/mainapi/build/enum/tab-category.enum';
|
|
74
|
+
import { ValidationResult } from '@colijnit/ioneconnector/build/model/validation-result';
|
|
73
75
|
import { DomainName } from '@colijnit/mainapi/build/enum/domain-name.enum';
|
|
74
76
|
import { PriorityType } from '@colijnit/mainapi/build/enum/priority-type.enum';
|
|
75
77
|
import { RelationRequest } from '@colijnit/relationapi/build/model/relation-request';
|
|
@@ -777,6 +779,81 @@ class SharedConnectorService {
|
|
|
777
779
|
});
|
|
778
780
|
});
|
|
779
781
|
}
|
|
782
|
+
getComponentActivitiesWithoutRelationFiltering(table, key) {
|
|
783
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
784
|
+
return new Promise((resolve, reject) => {
|
|
785
|
+
return this.mainConnector.getComponentActivitiesWithoutRelationFiltering(table, key).then((result) => {
|
|
786
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
787
|
+
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(Activity, result.resultObject));
|
|
788
|
+
}
|
|
789
|
+
else {
|
|
790
|
+
reject(result.validationMessagesAsString);
|
|
791
|
+
}
|
|
792
|
+
});
|
|
793
|
+
});
|
|
794
|
+
});
|
|
795
|
+
}
|
|
796
|
+
updateActivity(activity) {
|
|
797
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
798
|
+
return new Promise((resolve, reject) => {
|
|
799
|
+
return this.mainConnector.updateActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
800
|
+
resolve(result.validationResult);
|
|
801
|
+
}));
|
|
802
|
+
});
|
|
803
|
+
});
|
|
804
|
+
}
|
|
805
|
+
deleteActivity(activity) {
|
|
806
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
807
|
+
return new Promise((resolve, reject) => {
|
|
808
|
+
return this.mainConnector.deleteActivity(activity).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
809
|
+
resolve(result.validationResult);
|
|
810
|
+
}));
|
|
811
|
+
});
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
lockTask(id) {
|
|
815
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
816
|
+
return new Promise((resolve, reject) => {
|
|
817
|
+
return this.mainConnector.lockTask(id).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
818
|
+
resolve(result.validationResult);
|
|
819
|
+
}));
|
|
820
|
+
});
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
824
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
825
|
+
return new Promise((resolve, reject) => {
|
|
826
|
+
return this.mainConnector.fireTrigger(workFlowProcessId, sequence, triggerId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
827
|
+
resolve(result.validationResult);
|
|
828
|
+
}));
|
|
829
|
+
});
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
833
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
834
|
+
return new Promise((resolve, reject) => {
|
|
835
|
+
return this.mainConnector.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
836
|
+
resolve(result.validationResult);
|
|
837
|
+
}));
|
|
838
|
+
});
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
getJoinedTags(table, key) {
|
|
842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
843
|
+
return new Promise((resolve, reject) => {
|
|
844
|
+
return this.mainConnector.getJoinedTags(table, key).then((result) => {
|
|
845
|
+
if (result.validationResult && result.validationResult.success) {
|
|
846
|
+
if (result.resultObjects) {
|
|
847
|
+
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(TagTreeItem, result.resultObjects));
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
else {
|
|
851
|
+
reject(result.validationMessagesAsString);
|
|
852
|
+
}
|
|
853
|
+
});
|
|
854
|
+
});
|
|
855
|
+
});
|
|
856
|
+
}
|
|
780
857
|
getDocumentContent(id, thumbnail = true) {
|
|
781
858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
782
859
|
return new Promise((resolve, reject) => {
|
|
@@ -1155,6 +1232,22 @@ class SharedConnectorService {
|
|
|
1155
1232
|
});
|
|
1156
1233
|
});
|
|
1157
1234
|
}
|
|
1235
|
+
getWorkflowProcessInfoPerStatus(worlflowCategory) {
|
|
1236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1237
|
+
return new Promise((resolve, reject) => {
|
|
1238
|
+
return this.mainConnector.getWorkflowProcessInfoPerStatus(worlflowCategory).then((result) => {
|
|
1239
|
+
if (result.validationResult && result.validationResult.success) {
|
|
1240
|
+
if (result.resultObject) {
|
|
1241
|
+
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(WorkflowProcessInfoPerStatus, result.resultObject));
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
else {
|
|
1245
|
+
reject(result.validationMessagesAsString);
|
|
1246
|
+
}
|
|
1247
|
+
});
|
|
1248
|
+
});
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1158
1251
|
getHistoricActivities(table, key) {
|
|
1159
1252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1160
1253
|
return new Promise((resolve, reject) => {
|
|
@@ -1520,10 +1613,12 @@ class StockComponent {
|
|
|
1520
1613
|
this.okButtonClicked = new EventEmitter();
|
|
1521
1614
|
this.cancelButtonClicked = new EventEmitter();
|
|
1522
1615
|
this.handleClick = new EventEmitter();
|
|
1616
|
+
this.updateGridData = new EventEmitter();
|
|
1523
1617
|
this.loaded = false;
|
|
1524
1618
|
this.showStockInformationGrid = true;
|
|
1525
1619
|
this.showStockTransfer = false;
|
|
1526
1620
|
this.stockInformation = [];
|
|
1621
|
+
this.articleDetailsInformation = new ArticleStockManagement();
|
|
1527
1622
|
this.stockHistory = [];
|
|
1528
1623
|
this.allAvailableStock = 0;
|
|
1529
1624
|
this.allTechnicalStock = 0;
|
|
@@ -1571,7 +1666,12 @@ class StockComponent {
|
|
|
1571
1666
|
data.entryDate = new Date;
|
|
1572
1667
|
this._stockService.updateArticleDetails(data).then(result => {
|
|
1573
1668
|
this.handleClick.emit();
|
|
1669
|
+
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
1670
|
+
this.updateGridData.emit(details);
|
|
1671
|
+
});
|
|
1574
1672
|
});
|
|
1673
|
+
this.loaded = true;
|
|
1674
|
+
this.loadData();
|
|
1575
1675
|
}
|
|
1576
1676
|
backToStock(goodId) {
|
|
1577
1677
|
this.loadData();
|
|
@@ -1660,48 +1760,9 @@ StockComponent.decorators = [
|
|
|
1660
1760
|
(transferIconClicked)="handleStockTransferClick($event)"
|
|
1661
1761
|
(sendMethodDialogClicked)="handleSendMethodClick($event)"
|
|
1662
1762
|
[warehouses]="warehouses"
|
|
1663
|
-
|
|
1664
|
-
<div class="stock-transfer-wrapper">
|
|
1665
|
-
<co-dialog *ngIf="showStockTransfer"
|
|
1666
|
-
(closeClick)="showStockTransfer = false"
|
|
1667
|
-
[showCloseIcon]="true"
|
|
1668
|
-
[modal]="true"
|
|
1669
|
-
[headerTemplate]="headerTemplate"
|
|
1670
|
-
[footerTemplate]="footerTemplate">
|
|
1671
|
-
<ng-template #headerTemplate>
|
|
1672
|
-
<div class="co-dialog-header-title-wrapper">
|
|
1673
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.Cubes)"></co-icon>
|
|
1674
|
-
<div class="co-dialog-header-title" [textContent]="'TRANSFER_STOCK' | localize"></div>
|
|
1675
|
-
</div>
|
|
1676
|
-
</ng-template>
|
|
1677
|
-
<div class="dialog-wrapper">
|
|
1678
|
-
<co-stock-transfer (handleClick)="backToStock($event)"
|
|
1679
|
-
class="stock-transfer-dialog"
|
|
1680
|
-
[article]="stockTransferArticle"
|
|
1681
|
-
[articleToTransfer]="stockTransferArticleDetails"
|
|
1682
|
-
(handleStickerClicked)="handleStickerClicked.emit($event)"
|
|
1683
|
-
[articleWarehouse]="articleWarehouse"
|
|
1684
|
-
[allWarehouses]="allWarehouses">
|
|
1685
|
-
</co-stock-transfer>
|
|
1686
|
-
</div>
|
|
1687
|
-
<ng-template #footerTemplate>
|
|
1688
|
-
<div class="button-wrapper ok-cancel-buttons">
|
|
1689
|
-
<co-button class="save-button"
|
|
1690
|
-
(click)="handleOkClick(stockTransferArticleDetails)"
|
|
1691
|
-
[iconData]="iconCacheService.getIcon(icons.CheckDuotone)">
|
|
1692
|
-
</co-button>
|
|
1693
|
-
<co-button class="cancel-button"
|
|
1694
|
-
(click)="showStockTransfer = false"
|
|
1695
|
-
[iconData]="iconCacheService.getIcon(icons.CrossSkinny)">
|
|
1696
|
-
</co-button>
|
|
1697
|
-
</div>
|
|
1698
|
-
</ng-template>
|
|
1699
|
-
</co-dialog>
|
|
1700
|
-
</div>
|
|
1763
|
+
[showStockTransfer]="showStockTransfer"
|
|
1701
1764
|
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
</co-send-method-dialog>
|
|
1765
|
+
></co-stock-tabs>
|
|
1705
1766
|
</div>
|
|
1706
1767
|
`,
|
|
1707
1768
|
encapsulation: ViewEncapsulation.None
|
|
@@ -2223,15 +2284,24 @@ StockInformationGridComponent.propDecorators = {
|
|
|
2223
2284
|
};
|
|
2224
2285
|
|
|
2225
2286
|
class StockTransferComponent {
|
|
2226
|
-
constructor(_stockService, iconCacheService) {
|
|
2287
|
+
constructor(_stockService, iconCacheService, _changeDetector) {
|
|
2227
2288
|
this._stockService = _stockService;
|
|
2228
2289
|
this.iconCacheService = iconCacheService;
|
|
2290
|
+
this._changeDetector = _changeDetector;
|
|
2291
|
+
this.selectedArticleDetailsData = new ArticleDetailsBo();
|
|
2292
|
+
this.articleDetailsInformation = new ArticleStockManagement();
|
|
2293
|
+
this.articleStockInfo = [];
|
|
2294
|
+
this.stockLocations = [];
|
|
2229
2295
|
this.handleClick = new EventEmitter();
|
|
2230
2296
|
this.handleStickerClicked = new EventEmitter();
|
|
2297
|
+
this.updateGridData = new EventEmitter();
|
|
2298
|
+
this.showStockTransferChange = new EventEmitter();
|
|
2231
2299
|
this.showSendMethodDialog = false;
|
|
2300
|
+
this.transferFull = false;
|
|
2232
2301
|
this.warehouses = [];
|
|
2233
2302
|
this.stockState = [];
|
|
2234
2303
|
this.locations = [];
|
|
2304
|
+
this.stockStatus = [];
|
|
2235
2305
|
this.icons = Icon;
|
|
2236
2306
|
}
|
|
2237
2307
|
ngAfterViewInit() {
|
|
@@ -2239,21 +2309,31 @@ class StockTransferComponent {
|
|
|
2239
2309
|
this.getStockState();
|
|
2240
2310
|
}
|
|
2241
2311
|
handleOkClick(data) {
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2312
|
+
if (this.articleToTransfer.amountTransfer > this.articleToTransfer.amountInStockFree) {
|
|
2313
|
+
this.transferFull = true;
|
|
2314
|
+
}
|
|
2315
|
+
else {
|
|
2316
|
+
data.selected = true;
|
|
2317
|
+
data.entryDate = new Date;
|
|
2318
|
+
this._stockService.updateArticleDetails(data).then((result) => {
|
|
2319
|
+
this.handleClick.emit();
|
|
2320
|
+
this.showStockTransferChange.emit(false);
|
|
2321
|
+
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
2322
|
+
this.articleStockInfo = details;
|
|
2323
|
+
this.updateGridData.emit(details);
|
|
2324
|
+
});
|
|
2325
|
+
}).catch((result) => {
|
|
2326
|
+
// Log failure message
|
|
2327
|
+
});
|
|
2328
|
+
}
|
|
2249
2329
|
}
|
|
2250
|
-
|
|
2251
|
-
this.
|
|
2330
|
+
onCloseClick() {
|
|
2331
|
+
this.showStockTransferChange.emit(false);
|
|
2252
2332
|
}
|
|
2253
2333
|
handleSelectedWarehouse(event) {
|
|
2254
2334
|
this.articleToTransfer.targetWarehouse = event.warehouseNo;
|
|
2255
2335
|
this.selectedWarehouse = event;
|
|
2256
|
-
this.getStockManagementLocations(
|
|
2336
|
+
this.getStockManagementLocations();
|
|
2257
2337
|
}
|
|
2258
2338
|
handleSelectedLocation(event) {
|
|
2259
2339
|
this.articleToTransfer.targetLocation = event.locationNo;
|
|
@@ -2270,9 +2350,9 @@ class StockTransferComponent {
|
|
|
2270
2350
|
this.warehouses = warehouses;
|
|
2271
2351
|
});
|
|
2272
2352
|
}
|
|
2273
|
-
getStockManagementLocations(
|
|
2274
|
-
this._stockService.getStockManagementLocations(
|
|
2275
|
-
this.
|
|
2353
|
+
getStockManagementLocations() {
|
|
2354
|
+
this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then((locations) => {
|
|
2355
|
+
this.stockLocations = locations;
|
|
2276
2356
|
});
|
|
2277
2357
|
}
|
|
2278
2358
|
getStockState() {
|
|
@@ -2286,96 +2366,134 @@ StockTransferComponent.decorators = [
|
|
|
2286
2366
|
selector: "co-stock-transfer",
|
|
2287
2367
|
template: `
|
|
2288
2368
|
<div class="stock-transfer">
|
|
2289
|
-
<
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2369
|
+
<co-dialog
|
|
2370
|
+
(closeClick)="onCloseClick()"
|
|
2371
|
+
[showCloseIcon]="true"
|
|
2372
|
+
[modal]="true"
|
|
2373
|
+
[headerTemplate]="headerTemplate"
|
|
2374
|
+
[footerTemplate]="footerTemplate">
|
|
2375
|
+
<ng-template #headerTemplate>
|
|
2376
|
+
<div class="co-dialog-header-title-wrapper">
|
|
2377
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.Cubes)"></co-icon>
|
|
2378
|
+
<div class="co-dialog-header-title" [textContent]="'TRANSFER_STOCK' | localize"></div>
|
|
2379
|
+
</div>
|
|
2380
|
+
</ng-template>
|
|
2381
|
+
<div class="dialog-wrapper">
|
|
2382
|
+
<div class="stock-transfer-columns">
|
|
2383
|
+
<div *ngIf="articleToTransfer" class="stock-transfer-top-column">
|
|
2384
|
+
<div class="transfer-items">
|
|
2385
|
+
<div class="transfer-item">
|
|
2386
|
+
<label class="item-label" [textContent]="'WAREHOUSE' | localize"></label>
|
|
2387
|
+
<span class="item-value" [textContent]="articleToTransfer.warehouseDescription"></span>
|
|
2388
|
+
</div>
|
|
2389
|
+
<div class="transfer-item">
|
|
2390
|
+
<label class="item-label" [textContent]="'LOCATION' | localize"></label>
|
|
2391
|
+
<span class="item-value" [textContent]="articleToTransfer.locationNo"></span>
|
|
2392
|
+
</div>
|
|
2393
|
+
<div class="transfer-item" *ngIf="articleToTransfer?.batchNo">
|
|
2394
|
+
<label class="item-label" [textContent]="'BATCH_NO' | localize"></label>
|
|
2395
|
+
<span class="item-value" [textContent]="articleToTransfer.batchNo"></span>
|
|
2396
|
+
</div>
|
|
2397
|
+
<div class="transfer-item" *ngIf="articleToTransfer?.serialNo">
|
|
2398
|
+
<label class="item-label" [textContent]="'SERIE_NO' | localize"></label>
|
|
2399
|
+
<span class="item-value" [textContent]="articleToTransfer.serialNo"></span>
|
|
2400
|
+
</div>
|
|
2401
|
+
</div>
|
|
2402
|
+
<div class="transfer-quantity">
|
|
2403
|
+
<co-input-number-picker
|
|
2404
|
+
[(model)]="articleToTransfer.amountTransfer"
|
|
2405
|
+
[min]="1"
|
|
2406
|
+
[label]="'QUANTITY' | localize">
|
|
2407
|
+
</co-input-number-picker>
|
|
2408
|
+
<span *ngIf="transferFull" [textContent]="this.articleToTransfer.amountInStockFree + (' AVAILABLE' | localize)"></span>
|
|
2409
|
+
</div>
|
|
2295
2410
|
</div>
|
|
2296
|
-
<div class="transfer-
|
|
2297
|
-
<
|
|
2298
|
-
<
|
|
2411
|
+
<div class="transfer-arrow-wrapper">
|
|
2412
|
+
<span class="half-circle"></span>
|
|
2413
|
+
<div class="icon-wrapper">
|
|
2414
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.ArrowDownRegular)"></co-icon>
|
|
2415
|
+
</div>
|
|
2299
2416
|
</div>
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
<div class="stock-transfer-bottom-column">
|
|
2420
|
+
<div class="transfer-bottom-row">
|
|
2421
|
+
<co-list-of-values [collection]="warehouses"
|
|
2422
|
+
[displayField]="'warehouseDescription'"
|
|
2423
|
+
(modelChange)="handleSelectedWarehouse($event)"
|
|
2424
|
+
[label]="'WAREHOUSE' | localize"
|
|
2425
|
+
>
|
|
2426
|
+
</co-list-of-values>
|
|
2427
|
+
<co-list-of-values [collection]="stockLocations"
|
|
2428
|
+
[displayField]="'locationNo'"
|
|
2429
|
+
(modelChange)="handleSelectedLocation($event)"
|
|
2430
|
+
[label]="'LOCATION' | localize"
|
|
2431
|
+
>
|
|
2432
|
+
</co-list-of-values>
|
|
2433
|
+
</div>
|
|
2434
|
+
<div class="transfer-bottom-row">
|
|
2435
|
+
<co-list-of-values [collection]="stockState"
|
|
2436
|
+
[displayField]="'stateDescription'"
|
|
2437
|
+
[label]="'STOCK_STATE' | localize"
|
|
2438
|
+
(modelChange)="handleSelectedStockState($event)"
|
|
2439
|
+
>
|
|
2440
|
+
</co-list-of-values>
|
|
2441
|
+
</div>
|
|
2442
|
+
|
|
2303
2443
|
</div>
|
|
2304
|
-
<div class="transfer-
|
|
2305
|
-
<
|
|
2306
|
-
|
|
2444
|
+
<div class="transfer-sticker-buttons">
|
|
2445
|
+
<co-button
|
|
2446
|
+
[label]="'STICKER' | localize"
|
|
2447
|
+
(click)="handleStickerClick()"
|
|
2448
|
+
[iconData]="iconCacheService.getIcon(icons.BarcodeReadRegular)">
|
|
2449
|
+
</co-button>
|
|
2307
2450
|
</div>
|
|
2308
2451
|
</div>
|
|
2309
|
-
<div class="transfer-quantity">
|
|
2310
|
-
<co-input-number-picker
|
|
2311
|
-
[(model)]="articleToTransfer.amountTransfer"
|
|
2312
|
-
[min]="1"
|
|
2313
|
-
[label]="'QUANTITY' | localize">
|
|
2314
|
-
</co-input-number-picker>
|
|
2315
|
-
</div>
|
|
2316
2452
|
</div>
|
|
2317
|
-
<
|
|
2318
|
-
<
|
|
2319
|
-
|
|
2320
|
-
|
|
2453
|
+
<ng-template #footerTemplate>
|
|
2454
|
+
<div class="button-wrapper ok-cancel-buttons">
|
|
2455
|
+
<co-button class="save-button"
|
|
2456
|
+
(click)="handleOkClick(articleToTransfer)"
|
|
2457
|
+
[iconData]="iconCacheService.getIcon(icons.CheckDuotone)">
|
|
2458
|
+
</co-button>
|
|
2459
|
+
<co-button class="cancel-button"
|
|
2460
|
+
(click)="onCloseClick()"
|
|
2461
|
+
[iconData]="iconCacheService.getIcon(icons.CrossSkinny)">
|
|
2462
|
+
</co-button>
|
|
2321
2463
|
</div>
|
|
2322
|
-
</
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
<div class="stock-transfer-bottom-column">
|
|
2326
|
-
<div class="transfer-bottom-row">
|
|
2327
|
-
<co-list-of-values [collection]="warehouses"
|
|
2328
|
-
[displayField]="'warehouseDescription'"
|
|
2329
|
-
(modelChange)="handleSelectedWarehouse($event)"
|
|
2330
|
-
[label]="'WAREHOUSE' | localize"
|
|
2331
|
-
>
|
|
2332
|
-
</co-list-of-values>
|
|
2333
|
-
<co-list-of-values [collection]="locations"
|
|
2334
|
-
[displayField]="'description'"
|
|
2335
|
-
(modelChange)="handleSelectedLocation($event)"
|
|
2336
|
-
[label]="'LOCATION' | localize"
|
|
2337
|
-
>
|
|
2338
|
-
</co-list-of-values>
|
|
2339
|
-
</div>
|
|
2340
|
-
<div class="transfer-bottom-row">
|
|
2341
|
-
<co-list-of-values [collection]="stockState"
|
|
2342
|
-
[displayField]="'stateDescription'"
|
|
2343
|
-
[label]="'STOCK_STATE' | localize"
|
|
2344
|
-
(modelChange)="handleSelectedStockState($event)"
|
|
2345
|
-
>
|
|
2346
|
-
</co-list-of-values>
|
|
2347
|
-
</div>
|
|
2348
|
-
<div class="transfer-bottom-row">
|
|
2349
|
-
<co-input-text [placeholder]="'DESCRIPTION' | localize"
|
|
2350
|
-
[(model)]="articleToTransfer.stockStateRemark">
|
|
2351
|
-
</co-input-text>
|
|
2352
|
-
</div>
|
|
2353
|
-
</div>
|
|
2354
|
-
<div class="transfer-sticker-buttons">
|
|
2355
|
-
<co-button
|
|
2356
|
-
[label]="'STICKER' | localize"
|
|
2357
|
-
(click)="handleStickerClick()"
|
|
2358
|
-
[iconData]="iconCacheService.getIcon(icons.BarcodeReadRegular)">
|
|
2359
|
-
</co-button>
|
|
2360
|
-
</div>
|
|
2361
|
-
</div>
|
|
2464
|
+
</ng-template>
|
|
2465
|
+
</co-dialog>
|
|
2362
2466
|
</div>
|
|
2467
|
+
<co-send-method-dialog *ngIf="showSendMethodDialog"
|
|
2468
|
+
(closeClick)="showSendMethodDialog = false">
|
|
2469
|
+
|
|
2470
|
+
</co-send-method-dialog>
|
|
2363
2471
|
`,
|
|
2364
2472
|
encapsulation: ViewEncapsulation.None
|
|
2365
2473
|
},] }
|
|
2366
2474
|
];
|
|
2367
2475
|
StockTransferComponent.ctorParameters = () => [
|
|
2368
2476
|
{ type: StockService },
|
|
2369
|
-
{ type: IconCacheService }
|
|
2477
|
+
{ type: IconCacheService },
|
|
2478
|
+
{ type: ChangeDetectorRef }
|
|
2370
2479
|
];
|
|
2371
2480
|
StockTransferComponent.propDecorators = {
|
|
2372
2481
|
stockSticker: [{ type: Input }],
|
|
2373
2482
|
article: [{ type: Input }],
|
|
2374
2483
|
articleToTransfer: [{ type: Input }],
|
|
2375
|
-
articleWarehouse: [{ type: Input }],
|
|
2376
2484
|
allWarehouses: [{ type: Input }],
|
|
2485
|
+
showStockTransfer: [{ type: Input }],
|
|
2486
|
+
selectedArticleDetailsData: [{ type: Input }],
|
|
2487
|
+
articleFlat: [{ type: Input }],
|
|
2488
|
+
articleDetailsInformation: [{ type: Input }],
|
|
2489
|
+
selectedWarehouse: [{ type: Input }],
|
|
2490
|
+
selectedLocationNo: [{ type: Input }],
|
|
2491
|
+
articleStockInfo: [{ type: Input }],
|
|
2492
|
+
stockLocations: [{ type: Input }],
|
|
2377
2493
|
handleClick: [{ type: Output }],
|
|
2378
|
-
handleStickerClicked: [{ type: Output }]
|
|
2494
|
+
handleStickerClicked: [{ type: Output }],
|
|
2495
|
+
updateGridData: [{ type: Output }],
|
|
2496
|
+
showStockTransferChange: [{ type: Output }]
|
|
2379
2497
|
};
|
|
2380
2498
|
|
|
2381
2499
|
class SharedService {
|
|
@@ -2419,11 +2537,49 @@ class SharedService {
|
|
|
2419
2537
|
return yield this.connector.getTagsFullTree(category, includeTags);
|
|
2420
2538
|
});
|
|
2421
2539
|
}
|
|
2540
|
+
getJoinedTags(table, key) {
|
|
2541
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2542
|
+
return yield this.connector.getJoinedTags(table, key);
|
|
2543
|
+
});
|
|
2544
|
+
}
|
|
2422
2545
|
getDocumentContent(docId, thumbnail = true) {
|
|
2423
2546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2424
2547
|
return yield this.connector.getDocumentContent(docId, thumbnail);
|
|
2425
2548
|
});
|
|
2426
2549
|
}
|
|
2550
|
+
getComponentActivitiesWithoutRelationFiltering(table, key) {
|
|
2551
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2552
|
+
return yield this.connector.getComponentActivitiesWithoutRelationFiltering(table, key);
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
updateActivity(activity) {
|
|
2556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2557
|
+
return yield this.connector.updateActivity(activity);
|
|
2558
|
+
});
|
|
2559
|
+
}
|
|
2560
|
+
deleteActivity(activity) {
|
|
2561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2562
|
+
return yield this.connector.deleteActivity(activity);
|
|
2563
|
+
});
|
|
2564
|
+
}
|
|
2565
|
+
lockTask(id) {
|
|
2566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2567
|
+
return yield this.connector.lockTask(id);
|
|
2568
|
+
});
|
|
2569
|
+
}
|
|
2570
|
+
canFireTrigger(activity, task) {
|
|
2571
|
+
return true;
|
|
2572
|
+
}
|
|
2573
|
+
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
2574
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2575
|
+
return yield this.connector.fireTrigger(workFlowProcessId, sequence, triggerId);
|
|
2576
|
+
});
|
|
2577
|
+
}
|
|
2578
|
+
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
2579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2580
|
+
return yield this.connector.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
|
|
2581
|
+
});
|
|
2582
|
+
}
|
|
2427
2583
|
getRelationListObjects(request) {
|
|
2428
2584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2429
2585
|
return yield this.connector.getRelationListObjects(request);
|
|
@@ -2449,6 +2605,11 @@ class SharedService {
|
|
|
2449
2605
|
return yield this.connector.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
|
|
2450
2606
|
});
|
|
2451
2607
|
}
|
|
2608
|
+
getWorkflowProcessInfoPerStatus(workflowCategory) {
|
|
2609
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2610
|
+
return yield this.connector.getWorkflowProcessInfoPerStatus(workflowCategory);
|
|
2611
|
+
});
|
|
2612
|
+
}
|
|
2452
2613
|
getActivities(table, key) {
|
|
2453
2614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2454
2615
|
const activities = yield this.connector.getComponentActivities(table, key);
|
|
@@ -3504,6 +3665,9 @@ class StockTabsComponent {
|
|
|
3504
3665
|
},
|
|
3505
3666
|
];
|
|
3506
3667
|
}
|
|
3668
|
+
onShowStockTransferChange(show) {
|
|
3669
|
+
this.showStockTransfer = show;
|
|
3670
|
+
}
|
|
3507
3671
|
handleLocationClicked(data) {
|
|
3508
3672
|
this.tabs[0].active = false;
|
|
3509
3673
|
this.tabs[2].active = true;
|
|
@@ -3643,7 +3807,8 @@ StockTabsComponent.decorators = [
|
|
|
3643
3807
|
[stockLocations]="stockLocations"
|
|
3644
3808
|
(transferIconClicked)="transferIconClicked.emit($event)"
|
|
3645
3809
|
(sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
|
|
3646
|
-
|
|
3810
|
+
[showStockTransfer]="showStockTransfer"
|
|
3811
|
+
(showStockTransferChange)="onShowStockTransferChange($event)"
|
|
3647
3812
|
></co-stock-location>
|
|
3648
3813
|
|
|
3649
3814
|
<co-order-tab *ngIf="tabs[3].active"
|
|
@@ -3690,6 +3855,7 @@ StockTabsComponent.propDecorators = {
|
|
|
3690
3855
|
stockInformation: [{ type: Input }],
|
|
3691
3856
|
article: [{ type: Input }],
|
|
3692
3857
|
articleFlat: [{ type: Input }],
|
|
3858
|
+
showStockTransfer: [{ type: Input }],
|
|
3693
3859
|
warehouses: [{ type: Input }],
|
|
3694
3860
|
transferIconClicked: [{ type: Output }],
|
|
3695
3861
|
sendMethodDialogClicked: [{ type: Output }]
|
|
@@ -3777,9 +3943,13 @@ class StockLocationComponent {
|
|
|
3777
3943
|
this.icons = Icon;
|
|
3778
3944
|
this.articleStockInfo = [];
|
|
3779
3945
|
this.articleStockInformation = [];
|
|
3946
|
+
this.articleWarehouse = [];
|
|
3947
|
+
this.allWarehouses = [];
|
|
3780
3948
|
this.dataWareHouseCode = [];
|
|
3781
3949
|
this.transferIconClicked = new EventEmitter();
|
|
3782
3950
|
this.sendMethodDialogClicked = new EventEmitter();
|
|
3951
|
+
this.showStockTransferChange = new EventEmitter();
|
|
3952
|
+
this.handleStickerClicked = new EventEmitter();
|
|
3783
3953
|
this.showConfirmationDialog = false;
|
|
3784
3954
|
this.newStockLine = false;
|
|
3785
3955
|
this.showConfirmStockRow = false;
|
|
@@ -3804,6 +3974,10 @@ class StockLocationComponent {
|
|
|
3804
3974
|
}
|
|
3805
3975
|
ngOnDestroy() {
|
|
3806
3976
|
}
|
|
3977
|
+
onShowStockTransferChange(show) {
|
|
3978
|
+
this.showStockTransfer = show;
|
|
3979
|
+
this.showStockTransferChange.emit(this.showStockTransfer);
|
|
3980
|
+
}
|
|
3807
3981
|
onLocationDropdownClick() {
|
|
3808
3982
|
this._stockService.getStockManagementLocations(this.selectedWarehouse.warehouseNo).then((locations) => {
|
|
3809
3983
|
this.stockLocations = locations;
|
|
@@ -3821,7 +3995,8 @@ class StockLocationComponent {
|
|
|
3821
3995
|
this.sendMethodDialogClicked.emit(data);
|
|
3822
3996
|
}
|
|
3823
3997
|
handleStockTransferClick(event) {
|
|
3824
|
-
this.
|
|
3998
|
+
this.articleDetails = event;
|
|
3999
|
+
this.showStockTransfer = true;
|
|
3825
4000
|
}
|
|
3826
4001
|
onOkClickSendLocations(row) {
|
|
3827
4002
|
this.selectedArticleDetailsData = row;
|
|
@@ -3893,6 +4068,18 @@ StockLocationComponent.decorators = [
|
|
|
3893
4068
|
selector: "co-stock-location",
|
|
3894
4069
|
template: `
|
|
3895
4070
|
<div class="stock-grid">
|
|
4071
|
+
<div class="stock-transfer-wrapper">
|
|
4072
|
+
<co-stock-transfer *ngIf="showStockTransfer"
|
|
4073
|
+
class="stock-transfer-dialog"
|
|
4074
|
+
[articleToTransfer]="articleDetails"
|
|
4075
|
+
(handleStickerClicked)="handleStickerClicked.emit($event)"
|
|
4076
|
+
[allWarehouses]="allWarehouses"
|
|
4077
|
+
[stockLocations]="stockLocations"
|
|
4078
|
+
[articleFlat]="articleFlat"
|
|
4079
|
+
[showStockTransfer]="showStockTransfer"
|
|
4080
|
+
(showStockTransferChange)="onShowStockTransferChange($event)">
|
|
4081
|
+
</co-stock-transfer>
|
|
4082
|
+
</div>
|
|
3896
4083
|
<co-stock-location-popup
|
|
3897
4084
|
[selectedWarehouse]="selectedWarehouse"
|
|
3898
4085
|
[articleFlat]="articleFlat"
|
|
@@ -4003,11 +4190,16 @@ StockLocationComponent.ctorParameters = () => [
|
|
|
4003
4190
|
StockLocationComponent.propDecorators = {
|
|
4004
4191
|
articleStockInfo: [{ type: Input }],
|
|
4005
4192
|
articleStockInformation: [{ type: Input }],
|
|
4193
|
+
articleWarehouse: [{ type: Input }],
|
|
4194
|
+
allWarehouses: [{ type: Input }],
|
|
4006
4195
|
article: [{ type: Input }],
|
|
4196
|
+
showStockTransfer: [{ type: Input }],
|
|
4007
4197
|
articleFlat: [{ type: Input }],
|
|
4008
4198
|
dataWareHouseCode: [{ type: Input }],
|
|
4009
4199
|
transferIconClicked: [{ type: Output }],
|
|
4010
4200
|
sendMethodDialogClicked: [{ type: Output }],
|
|
4201
|
+
showStockTransferChange: [{ type: Output }],
|
|
4202
|
+
handleStickerClicked: [{ type: Output }],
|
|
4011
4203
|
selectedWarehouse: [{ type: Input }],
|
|
4012
4204
|
stockLocations: [{ type: Input }]
|
|
4013
4205
|
};
|
|
@@ -4894,10 +5086,10 @@ StockLocationPopupComponent.decorators = [
|
|
|
4894
5086
|
[readonly]="false"
|
|
4895
5087
|
></co-input-text>
|
|
4896
5088
|
</div>
|
|
4897
|
-
<co-input-
|
|
5089
|
+
<co-input-date [model]="selectedArticleDetailsData?.entryDate | date"
|
|
4898
5090
|
[placeholder]="'DATE' | localize"
|
|
4899
5091
|
[readonly]="false"
|
|
4900
|
-
></co-input-
|
|
5092
|
+
></co-input-date>
|
|
4901
5093
|
</div>
|
|
4902
5094
|
<div class="stock-dialog-row">
|
|
4903
5095
|
<co-list-of-values [label]="'STATUS' | localize"
|
|
@@ -4976,7 +5168,8 @@ StockModule.decorators = [
|
|
|
4976
5168
|
StockStatusbarModule,
|
|
4977
5169
|
ListOfValuesModule,
|
|
4978
5170
|
LocalizationModule,
|
|
4979
|
-
PopupModule
|
|
5171
|
+
PopupModule,
|
|
5172
|
+
InputDatePickerModule
|
|
4980
5173
|
],
|
|
4981
5174
|
declarations: [
|
|
4982
5175
|
StockComponent,
|
|
@@ -5059,6 +5252,7 @@ class Translation {
|
|
|
5059
5252
|
this.REFERENCE = 'REFERENCE';
|
|
5060
5253
|
this.RELATION_ID = 'RELATION_ID';
|
|
5061
5254
|
this.RELATION_NR = 'RELATION_NR';
|
|
5255
|
+
this.REMARK = 'REMARK';
|
|
5062
5256
|
this.RESERVED = 'RESERVED';
|
|
5063
5257
|
this.QUANTITY = 'QUANTITY';
|
|
5064
5258
|
this.SEARCH = 'SEARCH';
|
|
@@ -5066,6 +5260,7 @@ class Translation {
|
|
|
5066
5260
|
this.SERIE_NO = 'SERIE_NO';
|
|
5067
5261
|
this.STANDARD_WAREHOUSE = 'STANDARD_WAREHOUSE';
|
|
5068
5262
|
this.STANDARD_LOCATION = 'STANDARD_LOCATION';
|
|
5263
|
+
this.STATUS = 'STATUS';
|
|
5069
5264
|
this.STICKER = 'STICKER';
|
|
5070
5265
|
this.STOCK = 'STOCK';
|
|
5071
5266
|
this.STOCK_DETAILS = 'STOCK_DETAILS';
|
|
@@ -7495,6 +7690,88 @@ class SimpleTagsComponent {
|
|
|
7495
7690
|
this._tags = [];
|
|
7496
7691
|
this._linkedTags = [];
|
|
7497
7692
|
}
|
|
7693
|
+
set tags(tags) {
|
|
7694
|
+
this._tags = tags;
|
|
7695
|
+
}
|
|
7696
|
+
get tags() {
|
|
7697
|
+
return this._tags;
|
|
7698
|
+
}
|
|
7699
|
+
set linkedTags(tags) {
|
|
7700
|
+
this._linkedTags = tags;
|
|
7701
|
+
}
|
|
7702
|
+
get linkedTags() {
|
|
7703
|
+
return this._linkedTags;
|
|
7704
|
+
}
|
|
7705
|
+
showClass() {
|
|
7706
|
+
return true;
|
|
7707
|
+
}
|
|
7708
|
+
handleSaveTags() {
|
|
7709
|
+
this.saveClick.next(this._linkedTags);
|
|
7710
|
+
this.closeClick.next();
|
|
7711
|
+
}
|
|
7712
|
+
}
|
|
7713
|
+
SimpleTagsComponent.decorators = [
|
|
7714
|
+
{ type: Component, args: [{
|
|
7715
|
+
selector: "co-simple-tags",
|
|
7716
|
+
template: `
|
|
7717
|
+
<co-dialog
|
|
7718
|
+
[headerTemplate]="headerTemplate"
|
|
7719
|
+
[footerTemplate]="footerTemplate"
|
|
7720
|
+
(closeClick)="closeClick.emit()"
|
|
7721
|
+
>
|
|
7722
|
+
<ng-template #headerTemplate>
|
|
7723
|
+
<div class="header-wrapper">
|
|
7724
|
+
<co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
7725
|
+
<span class="co-dialog-header-title" [textContent]="'Tags'"></span>
|
|
7726
|
+
</div>
|
|
7727
|
+
</ng-template>
|
|
7728
|
+
|
|
7729
|
+
<div class="dialog-content-wrapper">
|
|
7730
|
+
<co-simple-tags-form [tags]="tags" [(linkedTags)]="linkedTags"></co-simple-tags-form>
|
|
7731
|
+
</div>
|
|
7732
|
+
|
|
7733
|
+
<ng-template #footerTemplate>
|
|
7734
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
7735
|
+
<co-button class="save-button"
|
|
7736
|
+
[iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
|
|
7737
|
+
(click)="handleSaveTags()"
|
|
7738
|
+
></co-button>
|
|
7739
|
+
<co-button
|
|
7740
|
+
class="close-button"
|
|
7741
|
+
[iconData]="iconCacheService.getIcon(icon.CrossSkinny)"
|
|
7742
|
+
(click)="closeClick.next()"
|
|
7743
|
+
></co-button>
|
|
7744
|
+
</div>
|
|
7745
|
+
</ng-template>
|
|
7746
|
+
</co-dialog>
|
|
7747
|
+
`,
|
|
7748
|
+
encapsulation: ViewEncapsulation.None
|
|
7749
|
+
},] }
|
|
7750
|
+
];
|
|
7751
|
+
SimpleTagsComponent.ctorParameters = () => [
|
|
7752
|
+
{ type: IconCacheService },
|
|
7753
|
+
{ type: SharedService }
|
|
7754
|
+
];
|
|
7755
|
+
SimpleTagsComponent.propDecorators = {
|
|
7756
|
+
tags: [{ type: Input }],
|
|
7757
|
+
linkedTags: [{ type: Input }],
|
|
7758
|
+
closeClick: [{ type: Output }],
|
|
7759
|
+
saveClick: [{ type: Output }],
|
|
7760
|
+
showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
|
|
7761
|
+
};
|
|
7762
|
+
|
|
7763
|
+
class SimpleTagsFormComponent {
|
|
7764
|
+
constructor(iconCacheService, sharedService) {
|
|
7765
|
+
this.iconCacheService = iconCacheService;
|
|
7766
|
+
this.sharedService = sharedService;
|
|
7767
|
+
this.icon = Icon;
|
|
7768
|
+
this.linkedTagsChange = new EventEmitter();
|
|
7769
|
+
this.breadCrumbs = [];
|
|
7770
|
+
this.displayTags = [];
|
|
7771
|
+
this.searchString = '';
|
|
7772
|
+
this._tags = [];
|
|
7773
|
+
this._linkedTags = [];
|
|
7774
|
+
}
|
|
7498
7775
|
set tags(tags) {
|
|
7499
7776
|
this._tags = tags;
|
|
7500
7777
|
this.setRootDisplayTags();
|
|
@@ -7567,10 +7844,6 @@ class SimpleTagsComponent {
|
|
|
7567
7844
|
this.displayTags = matchingObjects;
|
|
7568
7845
|
this.breadCrumbs = [];
|
|
7569
7846
|
}
|
|
7570
|
-
handleSaveTags() {
|
|
7571
|
-
this.saveClick.next(this._linkedTags);
|
|
7572
|
-
this.closeClick.next();
|
|
7573
|
-
}
|
|
7574
7847
|
_loadThumbnail(tagTreeItem) {
|
|
7575
7848
|
if (tagTreeItem.image && tagTreeItem.image.documentId && !tagTreeItem.image.thumbnailBody) {
|
|
7576
7849
|
this.sharedService.getDocumentContent(tagTreeItem.image.documentId, true)
|
|
@@ -7582,52 +7855,40 @@ class SimpleTagsComponent {
|
|
|
7582
7855
|
}
|
|
7583
7856
|
}
|
|
7584
7857
|
}
|
|
7585
|
-
|
|
7858
|
+
SimpleTagsFormComponent.decorators = [
|
|
7586
7859
|
{ type: Component, args: [{
|
|
7587
|
-
selector: "co-simple-tags",
|
|
7860
|
+
selector: "co-simple-tags-form",
|
|
7588
7861
|
template: `
|
|
7589
|
-
<
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
<
|
|
7605
|
-
[
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
(rightIconClick)="searchCollection()"
|
|
7610
|
-
></co-input-search>
|
|
7611
|
-
<div class="breadcrumbs">
|
|
7612
|
-
<co-icon
|
|
7613
|
-
[iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
|
|
7614
|
-
(click)="setRootDisplayTags()"
|
|
7615
|
-
></co-icon>
|
|
7616
|
-
<div class="crumbs">
|
|
7617
|
-
<span class="spacer" [textContent]="'|'"></span>
|
|
7618
|
-
<div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
|
|
7619
|
-
<span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
|
|
7620
|
-
<span [textContent]="crumb.description"></span>
|
|
7621
|
-
</div>
|
|
7862
|
+
<div class="form-content-wrapper">
|
|
7863
|
+
<div class="collection-navigation co-small-scrollbar">
|
|
7864
|
+
<span class="title" [textContent]="'Beschikbare tags'"></span>
|
|
7865
|
+
<co-input-search
|
|
7866
|
+
[(model)]="searchString"
|
|
7867
|
+
[placeholder]="'Search for tag name'"
|
|
7868
|
+
(search)="searchCollection()"
|
|
7869
|
+
(modelChange)="searchCollection()"
|
|
7870
|
+
(rightIconClick)="searchCollection()"
|
|
7871
|
+
></co-input-search>
|
|
7872
|
+
<div class="breadcrumbs">
|
|
7873
|
+
<co-icon
|
|
7874
|
+
[iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
|
|
7875
|
+
(click)="setRootDisplayTags()"
|
|
7876
|
+
></co-icon>
|
|
7877
|
+
<div class="crumbs">
|
|
7878
|
+
<span class="spacer" [textContent]="'|'"></span>
|
|
7879
|
+
<div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
|
|
7880
|
+
<span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
|
|
7881
|
+
<span [textContent]="crumb.description"></span>
|
|
7622
7882
|
</div>
|
|
7623
7883
|
</div>
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7884
|
+
</div>
|
|
7885
|
+
<div class="collection-view"
|
|
7886
|
+
cdkDropList
|
|
7887
|
+
cdkDropListSortingDisabled
|
|
7888
|
+
#collectionList="cdkDropList"
|
|
7889
|
+
[cdkDropListData]="displayTags"
|
|
7890
|
+
[cdkDropListConnectedTo]="[linkedList]">
|
|
7891
|
+
<div class="collection-item"
|
|
7631
7892
|
*ngFor="let tag of displayTags"
|
|
7632
7893
|
cdkDrag
|
|
7633
7894
|
[cdkDragDisabled]="tag.tagType !== 'T' || linkedTags.includes(tag)"
|
|
@@ -7645,68 +7906,73 @@ SimpleTagsComponent.decorators = [
|
|
|
7645
7906
|
<co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
7646
7907
|
<span [textContent]="tag.description"></span>
|
|
7647
7908
|
</div>
|
|
7648
|
-
</div>
|
|
7649
7909
|
</div>
|
|
7910
|
+
</div>
|
|
7650
7911
|
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7912
|
+
<div class="linked-tags-view">
|
|
7913
|
+
<span class="title" [textContent]="'Gekoppelde tags'"></span>
|
|
7914
|
+
<div class="view-wrapper"
|
|
7915
|
+
cdkDropList
|
|
7916
|
+
#linkedList="cdkDropList"
|
|
7917
|
+
[cdkDropListData]="linkedTags"
|
|
7918
|
+
(cdkDropListDropped)="handleAddTag($event)">
|
|
7919
|
+
<div class="tag-item" *ngFor="let tag of linkedTags" [cdkDragDisabled]="true" cdkDrag [style.background-color]="tag.color?.replace('0x', '#')">
|
|
7920
|
+
<div class="placeholderLinked" *cdkDragPlaceholder></div>
|
|
7660
7921
|
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7922
|
+
<div class="thumbnail-description">
|
|
7923
|
+
<co-icon *ngIf="!tag.image?.thumbnailBody" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
7924
|
+
<div *ngIf="tag.image" class="thumbnail-wrapper">
|
|
7925
|
+
<img [src]="tag.image.thumbnailBodyAsDataUri">
|
|
7926
|
+
</div>
|
|
7666
7927
|
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
</div>
|
|
7928
|
+
<div class="description-wrapper">
|
|
7929
|
+
<span [textContent]="tag.parentDescription"></span>
|
|
7930
|
+
<span class="description" [textContent]="tag.description"></span>
|
|
7671
7931
|
</div>
|
|
7672
|
-
<co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
|
|
7673
|
-
[iconData]="iconCacheService.getIcon(icon.XSolid)"
|
|
7674
|
-
></co-icon>
|
|
7675
7932
|
</div>
|
|
7933
|
+
<co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
|
|
7934
|
+
[iconData]="iconCacheService.getIcon(icon.XSolid)"
|
|
7935
|
+
></co-icon>
|
|
7676
7936
|
</div>
|
|
7677
7937
|
</div>
|
|
7678
7938
|
</div>
|
|
7679
|
-
|
|
7680
|
-
<ng-template #footerTemplate>
|
|
7681
|
-
<div class="co-dialog-footer-button-wrapper">
|
|
7682
|
-
<co-button class="save-button"
|
|
7683
|
-
[iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
|
|
7684
|
-
(click)="handleSaveTags()"
|
|
7685
|
-
></co-button>
|
|
7686
|
-
<co-button
|
|
7687
|
-
class="close-button"
|
|
7688
|
-
[iconData]="iconCacheService.getIcon(icon.CrossSkinny)"
|
|
7689
|
-
(click)="closeClick.next()"
|
|
7690
|
-
></co-button>
|
|
7691
|
-
</div>
|
|
7692
|
-
</ng-template>
|
|
7693
|
-
</co-dialog>
|
|
7939
|
+
</div>
|
|
7694
7940
|
`,
|
|
7695
7941
|
encapsulation: ViewEncapsulation.None
|
|
7696
7942
|
},] }
|
|
7697
7943
|
];
|
|
7698
|
-
|
|
7944
|
+
SimpleTagsFormComponent.ctorParameters = () => [
|
|
7699
7945
|
{ type: IconCacheService },
|
|
7700
7946
|
{ type: SharedService }
|
|
7701
7947
|
];
|
|
7702
|
-
|
|
7948
|
+
SimpleTagsFormComponent.propDecorators = {
|
|
7703
7949
|
tags: [{ type: Input }],
|
|
7704
7950
|
linkedTags: [{ type: Input }],
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
|
|
7951
|
+
linkedTagsChange: [{ type: Output }],
|
|
7952
|
+
showClass: [{ type: HostBinding, args: ["class.co-simple-tags-form",] }]
|
|
7708
7953
|
};
|
|
7709
7954
|
|
|
7955
|
+
class SimpleTagsFormModule {
|
|
7956
|
+
}
|
|
7957
|
+
SimpleTagsFormModule.decorators = [
|
|
7958
|
+
{ type: NgModule, args: [{
|
|
7959
|
+
imports: [
|
|
7960
|
+
CommonModule,
|
|
7961
|
+
CoDialogModule,
|
|
7962
|
+
InputSearchModule,
|
|
7963
|
+
IconModule,
|
|
7964
|
+
DragDropModule,
|
|
7965
|
+
ButtonModule
|
|
7966
|
+
],
|
|
7967
|
+
declarations: [
|
|
7968
|
+
SimpleTagsFormComponent
|
|
7969
|
+
],
|
|
7970
|
+
exports: [
|
|
7971
|
+
SimpleTagsFormComponent
|
|
7972
|
+
]
|
|
7973
|
+
},] }
|
|
7974
|
+
];
|
|
7975
|
+
|
|
7710
7976
|
class SimpleTagsModule {
|
|
7711
7977
|
}
|
|
7712
7978
|
SimpleTagsModule.decorators = [
|
|
@@ -7717,7 +7983,8 @@ SimpleTagsModule.decorators = [
|
|
|
7717
7983
|
InputSearchModule,
|
|
7718
7984
|
IconModule,
|
|
7719
7985
|
DragDropModule,
|
|
7720
|
-
ButtonModule
|
|
7986
|
+
ButtonModule,
|
|
7987
|
+
SimpleTagsFormModule
|
|
7721
7988
|
],
|
|
7722
7989
|
declarations: [
|
|
7723
7990
|
SimpleTagsComponent
|
|
@@ -11024,7 +11291,11 @@ class ActivityListComponent {
|
|
|
11024
11291
|
}
|
|
11025
11292
|
}
|
|
11026
11293
|
getDateString(date) {
|
|
11027
|
-
|
|
11294
|
+
const day = date.getDate();
|
|
11295
|
+
const month = this._dictionaryService.get(ALL_MONTHS[date.getMonth()]);
|
|
11296
|
+
const hours = date.getHours().toString().padStart(2, '0');
|
|
11297
|
+
const minutes = date.getMinutes().toString().padStart(2, '0');
|
|
11298
|
+
return `${day} ${month} ${hours}:${minutes}`;
|
|
11028
11299
|
}
|
|
11029
11300
|
getActivityIcon(activity) {
|
|
11030
11301
|
switch (activity.activityType) {
|
|
@@ -11074,7 +11345,7 @@ ActivityListComponent.decorators = [
|
|
|
11074
11345
|
<div class="activity-wrapper" [class.customer-reply-wrapper]="(getRelationKind(activity.author) === RelationKind.Customer)" *ngFor="let activity of activities" >
|
|
11075
11346
|
<div class="activity-display">
|
|
11076
11347
|
<div class="activity-display-title">
|
|
11077
|
-
<span>{{activity.author
|
|
11348
|
+
<span>{{activity.author && (activity.author.initials || activity.author.familyName) ? (activity.author.initials || '') + ' ' + (activity.author.familyName || '') : ''}}</span>
|
|
11078
11349
|
<span>{{getDateString(activity.lastActionDateTime)}}</span>
|
|
11079
11350
|
<co-icon [iconData]="iconCacheService.getIcon(getActivityIcon(activity))"></co-icon>
|
|
11080
11351
|
</div>
|
|
@@ -11145,6 +11416,7 @@ class BaseActivityListComponent {
|
|
|
11145
11416
|
this.privateDelegatedActivityListViewModels = [];
|
|
11146
11417
|
this.filteredActivityListViewModels = [];
|
|
11147
11418
|
this.filteredDelegatedActivityListViewModels = [];
|
|
11419
|
+
this._showUsergroupActivities = false;
|
|
11148
11420
|
this._activities = [];
|
|
11149
11421
|
this._delegatedActivities = [];
|
|
11150
11422
|
//protected userService: UserService
|
|
@@ -11173,9 +11445,10 @@ class BaseActivityListComponent {
|
|
|
11173
11445
|
}
|
|
11174
11446
|
// TODO: return this.userService.showUsergroupActivities and allow to set properly;
|
|
11175
11447
|
get showUsergroupActivities() {
|
|
11176
|
-
return
|
|
11448
|
+
return this._showUsergroupActivities;
|
|
11177
11449
|
}
|
|
11178
11450
|
set showUsergroupActivities(value) {
|
|
11451
|
+
this._showUsergroupActivities = value;
|
|
11179
11452
|
}
|
|
11180
11453
|
ngOnDestroy() {
|
|
11181
11454
|
clearInterval(this._updateInterval);
|
|
@@ -11195,7 +11468,7 @@ class BaseActivityListComponent {
|
|
|
11195
11468
|
afterFilterApplied() {
|
|
11196
11469
|
}
|
|
11197
11470
|
getTheActivities() {
|
|
11198
|
-
|
|
11471
|
+
this.getActivities();
|
|
11199
11472
|
this.getDelegatedActivities();
|
|
11200
11473
|
}
|
|
11201
11474
|
_removeNotShowing(listViewModels) {
|
|
@@ -11422,10 +11695,6 @@ var ActivityCfgName;
|
|
|
11422
11695
|
ActivityCfgName["WorkedTime"] = "workedTime";
|
|
11423
11696
|
})(ActivityCfgName || (ActivityCfgName = {}));
|
|
11424
11697
|
|
|
11425
|
-
function OperationWithValidationCallback(object, object2, object3) {
|
|
11426
|
-
return Promise.resolve(new ValidationResult());
|
|
11427
|
-
}
|
|
11428
|
-
|
|
11429
11698
|
var AppPopupButtonType;
|
|
11430
11699
|
(function (AppPopupButtonType) {
|
|
11431
11700
|
AppPopupButtonType[AppPopupButtonType["Ok"] = 0] = "Ok";
|
|
@@ -11438,13 +11707,13 @@ var AppPopupButtonType;
|
|
|
11438
11707
|
})(AppPopupButtonType || (AppPopupButtonType = {}));
|
|
11439
11708
|
|
|
11440
11709
|
class ModifyTaskFormComponent {
|
|
11441
|
-
constructor(_boFactory, sharedService
|
|
11710
|
+
constructor(_boFactory, sharedService, iconCacheService
|
|
11442
11711
|
//private _mediaMonitor: MediaMonitorService,
|
|
11443
11712
|
/*private _activityService: ActivityService*/
|
|
11444
11713
|
) {
|
|
11445
11714
|
this._boFactory = _boFactory;
|
|
11446
11715
|
this.sharedService = sharedService;
|
|
11447
|
-
this.
|
|
11716
|
+
this.iconCacheService = iconCacheService;
|
|
11448
11717
|
//public readonly TagCategory: typeof TagCategory = TagCategory;
|
|
11449
11718
|
this.TableNames = TableName$1;
|
|
11450
11719
|
this.readonly = false;
|
|
@@ -11456,6 +11725,7 @@ class ModifyTaskFormComponent {
|
|
|
11456
11725
|
this.activities = [];
|
|
11457
11726
|
this.table = TableName$1.Tasks;
|
|
11458
11727
|
this.expandActivities = false;
|
|
11728
|
+
this.showTagPopup = false;
|
|
11459
11729
|
}
|
|
11460
11730
|
/* @ViewChild(ActivityActivitiesComponent, { static: true })
|
|
11461
11731
|
public activityActivities: ActivityActivitiesComponent;*/
|
|
@@ -11484,6 +11754,7 @@ class ModifyTaskFormComponent {
|
|
|
11484
11754
|
}
|
|
11485
11755
|
ngOnInit() {
|
|
11486
11756
|
this._getActivities();
|
|
11757
|
+
this._getTags();
|
|
11487
11758
|
}
|
|
11488
11759
|
showContent(menu) {
|
|
11489
11760
|
this.selectedMenu = menu;
|
|
@@ -11521,6 +11792,13 @@ class ModifyTaskFormComponent {
|
|
|
11521
11792
|
this.expandActivities = true;
|
|
11522
11793
|
this.showWorkLog.emit();
|
|
11523
11794
|
}
|
|
11795
|
+
handleEditTags() {
|
|
11796
|
+
this._getTags();
|
|
11797
|
+
this.showTagPopup = true;
|
|
11798
|
+
}
|
|
11799
|
+
handleSaveTags(tags) {
|
|
11800
|
+
this.activity.task.tags = tags;
|
|
11801
|
+
}
|
|
11524
11802
|
_updateTaskObject(activity, prop) {
|
|
11525
11803
|
const cloneActivity = this._boFactory.makeWithRawBackendData(Activity, activity);
|
|
11526
11804
|
if (cloneActivity.isNew) {
|
|
@@ -11545,6 +11823,20 @@ class ModifyTaskFormComponent {
|
|
|
11545
11823
|
this.activities = yield this.sharedService.getActivities(this.table, this.key.toString());
|
|
11546
11824
|
});
|
|
11547
11825
|
}
|
|
11826
|
+
_getTags() {
|
|
11827
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11828
|
+
this.allTags = yield this.sharedService.getTagsFullTree(TagCategory.tasks, true);
|
|
11829
|
+
/*if (!this.key) {
|
|
11830
|
+
return;
|
|
11831
|
+
} else {
|
|
11832
|
+
this.editingTags = await this.sharedService.getJoinedTags(this.table, this.key.toString());
|
|
11833
|
+
}*/ /*if (!this.key) {
|
|
11834
|
+
return;
|
|
11835
|
+
} else {
|
|
11836
|
+
this.editingTags = await this.sharedService.getJoinedTags(this.table, this.key.toString());
|
|
11837
|
+
}*/
|
|
11838
|
+
});
|
|
11839
|
+
}
|
|
11548
11840
|
}
|
|
11549
11841
|
ModifyTaskFormComponent.decorators = [
|
|
11550
11842
|
{ type: Component, args: [{
|
|
@@ -11646,15 +11938,17 @@ ModifyTaskFormComponent.decorators = [
|
|
|
11646
11938
|
(activityChange)="activityChange.emit($event)" noBorder
|
|
11647
11939
|
></co-notification-summary-block>
|
|
11648
11940
|
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11941
|
+
<div class="edit-tags-wrapper">
|
|
11942
|
+
<co-simple-tags-form [tags]="allTags"
|
|
11943
|
+
[linkedTags]="activity.task.tags">
|
|
11944
|
+
</co-simple-tags-form>
|
|
11945
|
+
</div>
|
|
11946
|
+
<div class="transaction-tag-wrapper" *ngFor="let tag of activity.task.tags">
|
|
11947
|
+
<div class="tag" [textContent]="tag.description"></div>
|
|
11948
|
+
</div>
|
|
11656
11949
|
</div>
|
|
11657
11950
|
</div>
|
|
11951
|
+
|
|
11658
11952
|
</div>
|
|
11659
11953
|
`,
|
|
11660
11954
|
providers: [
|
|
@@ -11668,7 +11962,8 @@ ModifyTaskFormComponent.decorators = [
|
|
|
11668
11962
|
];
|
|
11669
11963
|
ModifyTaskFormComponent.ctorParameters = () => [
|
|
11670
11964
|
{ type: BusinessObjectFactory },
|
|
11671
|
-
{ type: SharedService }
|
|
11965
|
+
{ type: SharedService },
|
|
11966
|
+
{ type: IconCacheService$1 }
|
|
11672
11967
|
];
|
|
11673
11968
|
ModifyTaskFormComponent.propDecorators = {
|
|
11674
11969
|
activity: [{ type: Input }],
|
|
@@ -11687,11 +11982,12 @@ __decorate([
|
|
|
11687
11982
|
], ModifyTaskFormComponent.prototype, "forceReadonly", null);
|
|
11688
11983
|
|
|
11689
11984
|
class TaskModifierComponent {
|
|
11690
|
-
constructor(_dialogService, _boFactory, _dictionary, iconService) {
|
|
11985
|
+
constructor(_dialogService, _boFactory, _dictionary, iconService, sharedService) {
|
|
11691
11986
|
this._dialogService = _dialogService;
|
|
11692
11987
|
this._boFactory = _boFactory;
|
|
11693
11988
|
this._dictionary = _dictionary;
|
|
11694
11989
|
this.iconService = iconService;
|
|
11990
|
+
this.sharedService = sharedService;
|
|
11695
11991
|
this.icons = Icon;
|
|
11696
11992
|
this.editingComplete = new EventEmitter();
|
|
11697
11993
|
this.activitySaved = new EventEmitter();
|
|
@@ -11756,7 +12052,7 @@ class TaskModifierComponent {
|
|
|
11756
12052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11757
12053
|
if (this.editActivity) {
|
|
11758
12054
|
const newActivity = this.editActivity.isNew;
|
|
11759
|
-
const result = yield this.
|
|
12055
|
+
const result = yield this.sharedService.updateActivity(this.editActivity);
|
|
11760
12056
|
if (result) {
|
|
11761
12057
|
this.activitySaved.next(this.editActivity);
|
|
11762
12058
|
this.editingComplete.next(this.editActivity);
|
|
@@ -11803,7 +12099,7 @@ class TaskModifierComponent {
|
|
|
11803
12099
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11804
12100
|
const doDelete = yield this._dialogService.showYesNo("DELETE_TASK", "DELETE_TASK", false);
|
|
11805
12101
|
if (doDelete.button === AppPopupButtonType.Yes) {
|
|
11806
|
-
yield this.
|
|
12102
|
+
yield this.sharedService.deleteActivity(this.editActivity);
|
|
11807
12103
|
this.activityDeleted.next(this.editActivity);
|
|
11808
12104
|
this.hide();
|
|
11809
12105
|
}
|
|
@@ -11826,7 +12122,7 @@ class TaskModifierComponent {
|
|
|
11826
12122
|
return;
|
|
11827
12123
|
}
|
|
11828
12124
|
this.showAfterInsert = false;
|
|
11829
|
-
yield this.
|
|
12125
|
+
yield this.sharedService.lockTask(activity.task.taskId);
|
|
11830
12126
|
activity.task = activity.task;
|
|
11831
12127
|
this.currentActivity = activity;
|
|
11832
12128
|
this._createClone();
|
|
@@ -11917,7 +12213,8 @@ TaskModifierComponent.ctorParameters = () => [
|
|
|
11917
12213
|
{ type: CoreDialogService },
|
|
11918
12214
|
{ type: BusinessObjectFactory },
|
|
11919
12215
|
{ type: DictionaryService },
|
|
11920
|
-
{ type: IconCacheService }
|
|
12216
|
+
{ type: IconCacheService },
|
|
12217
|
+
{ type: SharedService }
|
|
11921
12218
|
];
|
|
11922
12219
|
TaskModifierComponent.propDecorators = {
|
|
11923
12220
|
mainForm: [{ type: ViewChild, args: [FormComponent,] }],
|
|
@@ -11927,9 +12224,6 @@ TaskModifierComponent.propDecorators = {
|
|
|
11927
12224
|
referenceId: [{ type: Input }],
|
|
11928
12225
|
userGroupId: [{ type: Input }],
|
|
11929
12226
|
relationId: [{ type: Input }],
|
|
11930
|
-
upsertActivityOperation: [{ type: Input }],
|
|
11931
|
-
deleteActivityOperation: [{ type: Input }],
|
|
11932
|
-
tryLockTaskOperation: [{ type: Input }],
|
|
11933
12227
|
createTaskOperation: [{ type: Input }],
|
|
11934
12228
|
forceReadonly: [{ type: Input }],
|
|
11935
12229
|
editingComplete: [{ type: Output }],
|
|
@@ -11946,9 +12240,14 @@ __decorate([
|
|
|
11946
12240
|
], TaskModifierComponent.prototype, "forceReadonly", void 0);
|
|
11947
12241
|
|
|
11948
12242
|
class BaseActivityOverviewComponent {
|
|
11949
|
-
constructor(_dialogService, _dictionaryService
|
|
12243
|
+
constructor(_dialogService, _dictionaryService, _sharedService
|
|
12244
|
+
//TODO reinstate when formbuilder is transferred
|
|
12245
|
+
//private _formRepo: FormDalRepository,
|
|
12246
|
+
/*private _router: Router*/
|
|
12247
|
+
) {
|
|
11950
12248
|
this._dialogService = _dialogService;
|
|
11951
12249
|
this._dictionaryService = _dictionaryService;
|
|
12250
|
+
this._sharedService = _sharedService;
|
|
11952
12251
|
this.icon = Icon;
|
|
11953
12252
|
this.cfgNames = ActivityCfgName;
|
|
11954
12253
|
this.taskCfgNames = {
|
|
@@ -11963,13 +12262,7 @@ class BaseActivityOverviewComponent {
|
|
|
11963
12262
|
tagsHeader: ActivityCfgName.TagsHeader,
|
|
11964
12263
|
taskInvoice: ActivityCfgName.TaskInvoice
|
|
11965
12264
|
};
|
|
11966
|
-
this.canFireTriggerOperation = OperationWithAlwaysSuccessCallback;
|
|
11967
12265
|
this.prepareWorkflowOperation = OperationWithAlwaysSuccessCallback;
|
|
11968
|
-
this.lockTaskOperation = OperationWithAlwaysSuccessCallback;
|
|
11969
|
-
this.deleteActivityOperation = OperationWithAlwaysSuccessCallback;
|
|
11970
|
-
this.upsertActivityOperation = OperationWithAlwaysSuccessCallback;
|
|
11971
|
-
this.fireGenericTriggerOperation = OperationWithValidationCallback;
|
|
11972
|
-
this.fireTriggerOperation = OperationWithValidationCallback;
|
|
11973
12266
|
this.handleOpenLinkSidebar = false;
|
|
11974
12267
|
this.activityChange = new EventEmitter();
|
|
11975
12268
|
this.activityDeleted = new EventEmitter();
|
|
@@ -12009,7 +12302,7 @@ class BaseActivityOverviewComponent {
|
|
|
12009
12302
|
}
|
|
12010
12303
|
handleGenericTriggerClick(event) {
|
|
12011
12304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12012
|
-
const result = yield this.
|
|
12305
|
+
const result = yield this._sharedService.fireGenericTrigger(this.workFlow.workflowProcessId, event.genericTransitionId, this.userRelationId);
|
|
12013
12306
|
if (result.success) {
|
|
12014
12307
|
this.genericTriggerFired.next(this.activity);
|
|
12015
12308
|
}
|
|
@@ -12040,13 +12333,13 @@ class BaseActivityOverviewComponent {
|
|
|
12040
12333
|
this.showCreateForm = true;*/
|
|
12041
12334
|
}
|
|
12042
12335
|
else {
|
|
12043
|
-
|
|
12044
|
-
|
|
12336
|
+
if (eventTrigger.toClosedState && !this._sharedService.canFireTrigger(this.activity, this.activity.task)) {
|
|
12337
|
+
yield this.prepareWorkflowOperation({ table: this.workFlow.table, key: this.workFlow.key });
|
|
12045
12338
|
this.triggerToFireOnSave = eventTrigger;
|
|
12046
12339
|
this.showTaskFormAndWorkLog();
|
|
12047
12340
|
return;
|
|
12048
|
-
}
|
|
12049
|
-
const result = yield this.
|
|
12341
|
+
}
|
|
12342
|
+
const result = yield this._sharedService.fireTrigger(this.workFlow.workflowProcessId, this.workFlow.sequence, eventTrigger.triggerId);
|
|
12050
12343
|
if (result.success) {
|
|
12051
12344
|
this.triggerFired.next(this.activity);
|
|
12052
12345
|
}
|
|
@@ -12186,19 +12479,14 @@ BaseActivityOverviewComponent.decorators = [
|
|
|
12186
12479
|
];
|
|
12187
12480
|
BaseActivityOverviewComponent.ctorParameters = () => [
|
|
12188
12481
|
{ type: CoreDialogService },
|
|
12189
|
-
{ type: DictionaryService }
|
|
12482
|
+
{ type: DictionaryService },
|
|
12483
|
+
{ type: SharedService }
|
|
12190
12484
|
];
|
|
12191
12485
|
BaseActivityOverviewComponent.propDecorators = {
|
|
12192
12486
|
taskModifier: [{ type: ViewChild, args: [TaskModifierComponent, { static: true },] }],
|
|
12193
12487
|
viewModel: [{ type: Input }],
|
|
12194
12488
|
triggerToFireOnSave: [{ type: Input }],
|
|
12195
|
-
canFireTriggerOperation: [{ type: Input }],
|
|
12196
12489
|
prepareWorkflowOperation: [{ type: Input }],
|
|
12197
|
-
lockTaskOperation: [{ type: Input }],
|
|
12198
|
-
deleteActivityOperation: [{ type: Input }],
|
|
12199
|
-
upsertActivityOperation: [{ type: Input }],
|
|
12200
|
-
fireGenericTriggerOperation: [{ type: Input }],
|
|
12201
|
-
fireTriggerOperation: [{ type: Input }],
|
|
12202
12490
|
userRelationId: [{ type: Input }],
|
|
12203
12491
|
userGroupId: [{ type: Input }],
|
|
12204
12492
|
handleOpenLinkSidebar: [{ type: Input }],
|
|
@@ -12253,29 +12541,28 @@ PersonalActivityOverviewComponent.propDecorators = {
|
|
|
12253
12541
|
showClass: [{ type: HostBinding, args: ["class.co-personal-activity-overview",] }]
|
|
12254
12542
|
};
|
|
12255
12543
|
|
|
12544
|
+
function OperationWithValidationCallback(object, object2, object3) {
|
|
12545
|
+
return Promise.resolve(new ValidationResult());
|
|
12546
|
+
}
|
|
12547
|
+
|
|
12256
12548
|
class ComponentActivityListComponent extends BaseActivityListComponent {
|
|
12257
|
-
constructor() {
|
|
12549
|
+
constructor(sharedService) {
|
|
12258
12550
|
super();
|
|
12551
|
+
this.sharedService = sharedService;
|
|
12259
12552
|
this.tabs = PersonalActivityTabEnum;
|
|
12260
12553
|
this.icons = Icon;
|
|
12261
12554
|
this.activityClass = Activity;
|
|
12262
12555
|
this.activitySortType = ActivitySortType;
|
|
12556
|
+
this.showActivityHeader = true;
|
|
12263
12557
|
this.hideTitle = false;
|
|
12264
12558
|
this.noFreeTasks = false;
|
|
12265
12559
|
this.componentActivitiesMethod = OperationWithAlwaysSuccessCallback;
|
|
12266
|
-
this.fireGenericTriggerOperation = OperationWithValidationCallback;
|
|
12267
|
-
this.fireTriggerOperation = OperationWithValidationCallback;
|
|
12268
|
-
this.canFireTriggerOperation = OperationWithAlwaysSuccessCallback;
|
|
12269
12560
|
this.setHasPausedNotificationsForWorkflowProcessOperation = OperationWithValidationCallback;
|
|
12270
|
-
this.lockTaskOperation = OperationWithAlwaysSuccessCallback;
|
|
12271
|
-
this.deleteActivityOperation = OperationWithAlwaysSuccessCallback;
|
|
12272
|
-
this.upsertActivityOperation = OperationWithAlwaysSuccessCallback;
|
|
12273
12561
|
this.openLinkClick = new EventEmitter();
|
|
12274
12562
|
this.amountActivityChanged = new EventEmitter();
|
|
12275
12563
|
this.linkClicked = new EventEmitter();
|
|
12276
12564
|
this.formCreated = new EventEmitter();
|
|
12277
|
-
this.
|
|
12278
|
-
this.triggerFired = new EventEmitter();
|
|
12565
|
+
this.refreshRequested = new EventEmitter();
|
|
12279
12566
|
this.showUsergroupActivitiesChanged = new EventEmitter();
|
|
12280
12567
|
this.activeTab = PersonalActivityTabEnum.TODO;
|
|
12281
12568
|
/*public activitySortList: boolean[] = [];*/
|
|
@@ -12303,24 +12590,38 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
|
|
|
12303
12590
|
trackByFn(index, vm) {
|
|
12304
12591
|
return vm.activity.id + '_' + vm.activity.workflow.combinedTriggerIds;
|
|
12305
12592
|
}
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
this.
|
|
12310
|
-
this.
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
this.
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
}*/
|
|
12593
|
+
ngOnInit() {
|
|
12594
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12595
|
+
this.getTheActivities();
|
|
12596
|
+
/*this._subs.push(
|
|
12597
|
+
this._appEventService.taskCreated.subscribe(() => {
|
|
12598
|
+
this.getTheActivities();
|
|
12599
|
+
}),
|
|
12600
|
+
this._appEventService.taskModified.subscribe(() => {
|
|
12601
|
+
this.getTheActivities();
|
|
12602
|
+
})
|
|
12603
|
+
);*/
|
|
12604
|
+
});
|
|
12605
|
+
}
|
|
12320
12606
|
ngOnDestroy() {
|
|
12321
|
-
this._subs.forEach(s => s.unsubscribe());
|
|
12607
|
+
//this._subs.forEach(s => s.unsubscribe());
|
|
12322
12608
|
super.ngOnDestroy();
|
|
12323
12609
|
}
|
|
12610
|
+
getActivities() {
|
|
12611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12612
|
+
if (this.table && this.key) {
|
|
12613
|
+
const allActivities = yield this.sharedService.getComponentActivitiesWithoutRelationFiltering(this.table, this.key);
|
|
12614
|
+
if (allActivities) {
|
|
12615
|
+
this.activities = this.noFreeTasks ? allActivities.filter(aa => !aa.task && aa.activityType !== ActivityType.WorkflowTask) :
|
|
12616
|
+
allActivities.filter(aa => aa.activityType !== ActivityType.WorkflowTask);
|
|
12617
|
+
}
|
|
12618
|
+
else {
|
|
12619
|
+
this.activities = [];
|
|
12620
|
+
}
|
|
12621
|
+
this.amountActivityChanged.next(this.activities.length);
|
|
12622
|
+
}
|
|
12623
|
+
});
|
|
12624
|
+
}
|
|
12324
12625
|
set activitiesList(allActivities) {
|
|
12325
12626
|
this._activitiesList = allActivities;
|
|
12326
12627
|
if (allActivities) {
|
|
@@ -12334,18 +12635,6 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
|
|
|
12334
12635
|
get activitiesList() {
|
|
12335
12636
|
return this._activitiesList;
|
|
12336
12637
|
}
|
|
12337
|
-
/*public async getActivities(): Promise<void> {
|
|
12338
|
-
if (this.table && this.key) {
|
|
12339
|
-
const allActivities: Activity[] = await this._activityRepo.getComponentActivities(this.table, this.key);
|
|
12340
|
-
if (allActivities) {
|
|
12341
|
-
this.activities = this.noFreeTasks ? allActivities.filter(aa => !aa.task && aa.activityType !== ActivityType.WorkflowTask) :
|
|
12342
|
-
allActivities.filter(aa => aa.activityType !== ActivityType.WorkflowTask);
|
|
12343
|
-
} else {
|
|
12344
|
-
this.activities = [];
|
|
12345
|
-
}
|
|
12346
|
-
this.amountActivityChanged.next(this.activities.length);
|
|
12347
|
-
}
|
|
12348
|
-
}*/
|
|
12349
12638
|
getDelegatedActivities() {
|
|
12350
12639
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12351
12640
|
// const allActivities: Activity[] = await this._activityRepo.getComponentActivities(this.table, this.key);
|
|
@@ -12360,10 +12649,12 @@ class ComponentActivityListComponent extends BaseActivityListComponent {
|
|
|
12360
12649
|
this.showUsergroupActivitiesChanged.next();
|
|
12361
12650
|
}
|
|
12362
12651
|
handleTriggerFired(activity) {
|
|
12363
|
-
this.
|
|
12652
|
+
this.getTheActivities();
|
|
12653
|
+
this.refreshRequested.emit();
|
|
12364
12654
|
}
|
|
12365
12655
|
handleGenericTriggerFired(activity) {
|
|
12366
|
-
this.
|
|
12656
|
+
this.getTheActivities();
|
|
12657
|
+
this.refreshRequested.emit();
|
|
12367
12658
|
}
|
|
12368
12659
|
handleFormCreation() {
|
|
12369
12660
|
this.formCreated.next();
|
|
@@ -12420,6 +12711,7 @@ ComponentActivityListComponent.decorators = [
|
|
|
12420
12711
|
selector: "co-component-activity-list",
|
|
12421
12712
|
template: `
|
|
12422
12713
|
<co-activity-list-header
|
|
12714
|
+
*ngIf="showActivityHeader"
|
|
12423
12715
|
[title]="'ACTIVITIES'"
|
|
12424
12716
|
[table]="table"
|
|
12425
12717
|
[key]="key"
|
|
@@ -12439,15 +12731,9 @@ ComponentActivityListComponent.decorators = [
|
|
|
12439
12731
|
[(expanded)]="activityListViewModel.expanded">
|
|
12440
12732
|
<ng-container *ngFor="let activityViewModel of activityListViewModel.activities; trackBy: trackByFn; let index = index">
|
|
12441
12733
|
<co-component-activity-overview *ngIf="activityViewModel.showing"
|
|
12442
|
-
[fireGenericTriggerOperation]="fireGenericTriggerOperation"
|
|
12443
|
-
[fireTriggerOperation]="fireTriggerOperation"
|
|
12444
|
-
[canFireTriggerOperation]="canFireTriggerOperation"
|
|
12445
12734
|
[viewModel]="activityViewModel"
|
|
12446
12735
|
[userRelationId]="relationId"
|
|
12447
12736
|
[userGroupId]="userGroupId"
|
|
12448
|
-
[lockTaskOperation]="lockTaskOperation"
|
|
12449
|
-
[deleteActivityOperation]="deleteActivityOperation"
|
|
12450
|
-
[upsertActivityOperation]="upsertActivityOperation"
|
|
12451
12737
|
(activityChange)="handleChangedActivity(index, $event)"
|
|
12452
12738
|
(activityDeleted)="deleteActivity($event)"
|
|
12453
12739
|
(genericTriggerFired)="handleGenericTriggerFired($event)"
|
|
@@ -12465,9 +12751,6 @@ ComponentActivityListComponent.decorators = [
|
|
|
12465
12751
|
[(expanded)]="activityListViewModel.expanded">
|
|
12466
12752
|
<ng-container *ngFor="let activityViewModel of activityListViewModel.activities; trackBy: trackByFn; let index = index">
|
|
12467
12753
|
<co-component-activity-overview *ngIf="activityViewModel.showing"
|
|
12468
|
-
[fireGenericTriggerOperation]="fireGenericTriggerOperation"
|
|
12469
|
-
[fireTriggerOperation]="fireTriggerOperation"
|
|
12470
|
-
[canFireTriggerOperation]="canFireTriggerOperation"
|
|
12471
12754
|
[viewModel]="activityViewModel"
|
|
12472
12755
|
[userRelationId]="relationId"
|
|
12473
12756
|
[userGroupId]="userGroupId"
|
|
@@ -12498,34 +12781,33 @@ ComponentActivityListComponent.decorators = [
|
|
|
12498
12781
|
]
|
|
12499
12782
|
},] }
|
|
12500
12783
|
];
|
|
12501
|
-
ComponentActivityListComponent.ctorParameters = () => [
|
|
12784
|
+
ComponentActivityListComponent.ctorParameters = () => [
|
|
12785
|
+
{ type: SharedService }
|
|
12786
|
+
];
|
|
12502
12787
|
ComponentActivityListComponent.propDecorators = {
|
|
12503
12788
|
activityOverviewList: [{ type: ViewChildren, args: [PersonalActivityOverviewComponent,] }],
|
|
12504
12789
|
showClass: [{ type: HostBinding, args: ["class.co-component-activity-list",] }],
|
|
12505
12790
|
table: [{ type: Input }],
|
|
12506
12791
|
key: [{ type: Input }],
|
|
12792
|
+
showActivityHeader: [{ type: Input }],
|
|
12507
12793
|
hideTitle: [{ type: Input }],
|
|
12508
12794
|
noFreeTasks: [{ type: Input }],
|
|
12509
12795
|
customTitle: [{ type: Input }],
|
|
12510
12796
|
userGroupId: [{ type: Input }],
|
|
12511
12797
|
relationId: [{ type: Input }],
|
|
12512
12798
|
componentActivitiesMethod: [{ type: Input }],
|
|
12513
|
-
fireGenericTriggerOperation: [{ type: Input }],
|
|
12514
|
-
fireTriggerOperation: [{ type: Input }],
|
|
12515
|
-
canFireTriggerOperation: [{ type: Input }],
|
|
12516
12799
|
setHasPausedNotificationsForWorkflowProcessOperation: [{ type: Input }],
|
|
12517
|
-
lockTaskOperation: [{ type: Input }],
|
|
12518
|
-
deleteActivityOperation: [{ type: Input }],
|
|
12519
|
-
upsertActivityOperation: [{ type: Input }],
|
|
12520
12800
|
openLinkClick: [{ type: Output }],
|
|
12521
12801
|
amountActivityChanged: [{ type: Output }],
|
|
12522
12802
|
linkClicked: [{ type: Output }],
|
|
12523
12803
|
formCreated: [{ type: Output }],
|
|
12524
|
-
|
|
12525
|
-
triggerFired: [{ type: Output }],
|
|
12804
|
+
refreshRequested: [{ type: Output }],
|
|
12526
12805
|
showUsergroupActivitiesChanged: [{ type: Output }],
|
|
12527
12806
|
activitiesList: [{ type: Input }]
|
|
12528
12807
|
};
|
|
12808
|
+
__decorate([
|
|
12809
|
+
InputBoolean()
|
|
12810
|
+
], ComponentActivityListComponent.prototype, "showActivityHeader", void 0);
|
|
12529
12811
|
__decorate([
|
|
12530
12812
|
InputBoolean()
|
|
12531
12813
|
], ComponentActivityListComponent.prototype, "hideTitle", void 0);
|
|
@@ -12550,11 +12832,13 @@ PersonalActivityOverviewModule.decorators = [
|
|
|
12550
12832
|
];
|
|
12551
12833
|
|
|
12552
12834
|
class ComponentActivityOverviewComponent extends BaseActivityOverviewComponent {
|
|
12553
|
-
constructor(iconCacheService, dialogService, dictionaryService
|
|
12554
|
-
|
|
12835
|
+
constructor(iconCacheService, dialogService, dictionaryService, sharedService
|
|
12836
|
+
/*public router: Router*/ ) {
|
|
12837
|
+
super(dialogService, dictionaryService, sharedService /*router*/);
|
|
12555
12838
|
this.iconCacheService = iconCacheService;
|
|
12556
12839
|
this.dialogService = dialogService;
|
|
12557
12840
|
this.dictionaryService = dictionaryService;
|
|
12841
|
+
this.sharedService = sharedService;
|
|
12558
12842
|
this.Icon = Icon;
|
|
12559
12843
|
}
|
|
12560
12844
|
showClass() {
|
|
@@ -12634,9 +12918,6 @@ ComponentActivityOverviewComponent.decorators = [
|
|
|
12634
12918
|
<co-task-modifier
|
|
12635
12919
|
[userGroupId]="userGroupId"
|
|
12636
12920
|
[relationId]="userRelationId"
|
|
12637
|
-
[tryLockTaskOperation]="lockTaskOperation"
|
|
12638
|
-
[deleteActivityOperation]="deleteActivityOperation"
|
|
12639
|
-
[upsertActivityOperation]="upsertActivityOperation"
|
|
12640
12921
|
(editingComplete)="onSaveActivity($event)"
|
|
12641
12922
|
(activityDeleted)="onDeleteActivity($event)"
|
|
12642
12923
|
(showWorkLog)="showTaskFormAndWorkLog()"
|
|
@@ -12665,21 +12946,21 @@ ComponentActivityOverviewComponent.decorators = [
|
|
|
12665
12946
|
ComponentActivityOverviewComponent.ctorParameters = () => [
|
|
12666
12947
|
{ type: IconCacheService },
|
|
12667
12948
|
{ type: CoreDialogService },
|
|
12668
|
-
{ type: DictionaryService }
|
|
12949
|
+
{ type: DictionaryService },
|
|
12950
|
+
{ type: SharedService }
|
|
12669
12951
|
];
|
|
12670
12952
|
ComponentActivityOverviewComponent.propDecorators = {
|
|
12671
12953
|
showClass: [{ type: HostBinding, args: ["class.co-component-activity-overview",] }]
|
|
12672
12954
|
};
|
|
12673
12955
|
|
|
12674
12956
|
class BaseActivitySummaryComponent {
|
|
12675
|
-
constructor(dictionaryService, dialogService) {
|
|
12957
|
+
constructor(dictionaryService, dialogService, _sharedService) {
|
|
12676
12958
|
this.dictionaryService = dictionaryService;
|
|
12677
12959
|
this.dialogService = dialogService;
|
|
12960
|
+
this._sharedService = _sharedService;
|
|
12678
12961
|
this.expanded = false;
|
|
12679
12962
|
this.noBorder = false;
|
|
12680
12963
|
this.readonly = false;
|
|
12681
|
-
this.canFireTriggerOperation = OperationWithAlwaysSuccessCallback;
|
|
12682
|
-
this.fireTriggerOperation = OperationWithValidationCallback;
|
|
12683
12964
|
this.prepareWorkflowOperation = OperationWithAlwaysSuccessCallback;
|
|
12684
12965
|
this.loadTaskOperation = OperationWithAlwaysSuccessCallback;
|
|
12685
12966
|
this.activityChange = new EventEmitter();
|
|
@@ -12722,14 +13003,14 @@ class BaseActivitySummaryComponent {
|
|
|
12722
13003
|
return;
|
|
12723
13004
|
}
|
|
12724
13005
|
if (trigger.toClosedState) {
|
|
12725
|
-
const canFire =
|
|
13006
|
+
const canFire = this._sharedService.canFireTrigger(this.editActivity, this.editActivity.task);
|
|
12726
13007
|
if (!canFire) {
|
|
12727
13008
|
this.triggerToFireOnSave = trigger;
|
|
12728
13009
|
this.showWorkLog.next();
|
|
12729
13010
|
return;
|
|
12730
13011
|
}
|
|
12731
13012
|
}
|
|
12732
|
-
const result = yield this.
|
|
13013
|
+
const result = yield this._sharedService.fireTrigger(this.workFlow.workflowId, this.workFlow.sequence, trigger.triggerId);
|
|
12733
13014
|
if (result.success) {
|
|
12734
13015
|
yield this.updateActivityTask(this.editActivity.task);
|
|
12735
13016
|
yield this.prepareWorkflow();
|
|
@@ -12773,7 +13054,8 @@ BaseActivitySummaryComponent.decorators = [
|
|
|
12773
13054
|
];
|
|
12774
13055
|
BaseActivitySummaryComponent.ctorParameters = () => [
|
|
12775
13056
|
{ type: DictionaryService },
|
|
12776
|
-
{ type: CoreDialogService }
|
|
13057
|
+
{ type: CoreDialogService },
|
|
13058
|
+
{ type: SharedService }
|
|
12777
13059
|
];
|
|
12778
13060
|
BaseActivitySummaryComponent.propDecorators = {
|
|
12779
13061
|
activity: [{ type: Input }],
|
|
@@ -12784,8 +13066,6 @@ BaseActivitySummaryComponent.propDecorators = {
|
|
|
12784
13066
|
expanded: [{ type: Input }],
|
|
12785
13067
|
noBorder: [{ type: HostBinding, args: ["class.no-border",] }, { type: Input }],
|
|
12786
13068
|
readonly: [{ type: Input }],
|
|
12787
|
-
canFireTriggerOperation: [{ type: Input }],
|
|
12788
|
-
fireTriggerOperation: [{ type: Input }],
|
|
12789
13069
|
prepareWorkflowOperation: [{ type: Input }],
|
|
12790
13070
|
loadTaskOperation: [{ type: Input }],
|
|
12791
13071
|
triggerToFireOnSave: [{ type: Input }],
|
|
@@ -12799,11 +13079,12 @@ __decorate([
|
|
|
12799
13079
|
], BaseActivitySummaryComponent.prototype, "noBorder", void 0);
|
|
12800
13080
|
|
|
12801
13081
|
class TaskDetailsComponent extends BaseActivitySummaryComponent {
|
|
12802
|
-
constructor(dictionaryService, dialogService, iconCacheService) {
|
|
12803
|
-
super(dictionaryService, dialogService);
|
|
13082
|
+
constructor(dictionaryService, dialogService, iconCacheService, sharedService) {
|
|
13083
|
+
super(dictionaryService, dialogService, sharedService);
|
|
12804
13084
|
this.dictionaryService = dictionaryService;
|
|
12805
13085
|
this.dialogService = dialogService;
|
|
12806
13086
|
this.iconCacheService = iconCacheService;
|
|
13087
|
+
this.sharedService = sharedService;
|
|
12807
13088
|
this.Icon = Icon;
|
|
12808
13089
|
this.showStatusDropdown = false;
|
|
12809
13090
|
}
|
|
@@ -12887,7 +13168,8 @@ TaskDetailsComponent.decorators = [
|
|
|
12887
13168
|
TaskDetailsComponent.ctorParameters = () => [
|
|
12888
13169
|
{ type: DictionaryService },
|
|
12889
13170
|
{ type: CoreDialogService },
|
|
12890
|
-
{ type: IconCacheService }
|
|
13171
|
+
{ type: IconCacheService },
|
|
13172
|
+
{ type: SharedService }
|
|
12891
13173
|
];
|
|
12892
13174
|
TaskDetailsComponent.propDecorators = {
|
|
12893
13175
|
activity: [{ type: Input }],
|
|
@@ -13030,11 +13312,12 @@ ActivitySummaryBlockModule.decorators = [
|
|
|
13030
13312
|
];
|
|
13031
13313
|
|
|
13032
13314
|
class StatusSummaryBlockComponent extends BaseActivitySummaryComponent {
|
|
13033
|
-
constructor(dictionaryService, dialogService, iconService) {
|
|
13034
|
-
super(dictionaryService, dialogService);
|
|
13315
|
+
constructor(dictionaryService, dialogService, iconService, sharedService) {
|
|
13316
|
+
super(dictionaryService, dialogService, sharedService);
|
|
13035
13317
|
this.dictionaryService = dictionaryService;
|
|
13036
13318
|
this.dialogService = dialogService;
|
|
13037
13319
|
this.iconService = iconService;
|
|
13320
|
+
this.sharedService = sharedService;
|
|
13038
13321
|
this.Icon = Icon;
|
|
13039
13322
|
}
|
|
13040
13323
|
showClass() {
|
|
@@ -13087,7 +13370,8 @@ StatusSummaryBlockComponent.decorators = [
|
|
|
13087
13370
|
StatusSummaryBlockComponent.ctorParameters = () => [
|
|
13088
13371
|
{ type: DictionaryService },
|
|
13089
13372
|
{ type: CoreDialogService },
|
|
13090
|
-
{ type: IconCacheService }
|
|
13373
|
+
{ type: IconCacheService },
|
|
13374
|
+
{ type: SharedService }
|
|
13091
13375
|
];
|
|
13092
13376
|
StatusSummaryBlockComponent.propDecorators = {
|
|
13093
13377
|
showClass: [{ type: HostBinding, args: ["class.co-status-summary-block",] }]
|
|
@@ -13115,7 +13399,7 @@ StatusSummaryBlockModule.decorators = [
|
|
|
13115
13399
|
|
|
13116
13400
|
class CreationSummaryBlockComponent extends BaseActivitySummaryComponent {
|
|
13117
13401
|
constructor(dictionaryService, dialogService, sharedService, locale) {
|
|
13118
|
-
super(dictionaryService, dialogService);
|
|
13402
|
+
super(dictionaryService, dialogService, sharedService);
|
|
13119
13403
|
this.dictionaryService = dictionaryService;
|
|
13120
13404
|
this.dialogService = dialogService;
|
|
13121
13405
|
this.sharedService = sharedService;
|
|
@@ -13249,11 +13533,11 @@ var RelationType;
|
|
|
13249
13533
|
RelationType["Supervisor"] = "supervisor";
|
|
13250
13534
|
})(RelationType || (RelationType = {}));
|
|
13251
13535
|
class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent {
|
|
13252
|
-
constructor(dictionaryService, dialogService,
|
|
13253
|
-
super(dictionaryService, dialogService);
|
|
13536
|
+
constructor(dictionaryService, dialogService, sharedService) {
|
|
13537
|
+
super(dictionaryService, dialogService, sharedService);
|
|
13254
13538
|
this.dictionaryService = dictionaryService;
|
|
13255
13539
|
this.dialogService = dialogService;
|
|
13256
|
-
this.
|
|
13540
|
+
this.sharedService = sharedService;
|
|
13257
13541
|
this.RelationType = RelationType;
|
|
13258
13542
|
this.Icon = Icon;
|
|
13259
13543
|
this._textSearchParams = new RelationRequest();
|
|
@@ -13265,7 +13549,7 @@ class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponent {
|
|
|
13265
13549
|
ngOnInit() {
|
|
13266
13550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13267
13551
|
this._textSearchParams.relationTypeList = [RelationKind.Personnel];
|
|
13268
|
-
this.
|
|
13552
|
+
this.sharedService.getRelationListObjects(this._textSearchParams).then((result) => {
|
|
13269
13553
|
this.personnel = result;
|
|
13270
13554
|
});
|
|
13271
13555
|
});
|
|
@@ -13344,7 +13628,7 @@ class NotificationSummaryBlockComponent extends BaseActivitySummaryComponent {
|
|
|
13344
13628
|
constructor(boFactory,
|
|
13345
13629
|
//public activityService: ActivityService,
|
|
13346
13630
|
dictionaryService, dialogService, sharedService) {
|
|
13347
|
-
super(dictionaryService, dialogService);
|
|
13631
|
+
super(dictionaryService, dialogService, sharedService);
|
|
13348
13632
|
this.boFactory = boFactory;
|
|
13349
13633
|
this.dictionaryService = dictionaryService;
|
|
13350
13634
|
this.dialogService = dialogService;
|
|
@@ -13438,7 +13722,11 @@ ModifyTaskFormModule.decorators = [
|
|
|
13438
13722
|
StatusSummaryBlockModule,
|
|
13439
13723
|
CreationSummaryBlockModule,
|
|
13440
13724
|
NotificationSummaryBlockModule,
|
|
13441
|
-
ActivityListModule
|
|
13725
|
+
ActivityListModule,
|
|
13726
|
+
SimpleTagsModule,
|
|
13727
|
+
ButtonModule,
|
|
13728
|
+
CommonModule,
|
|
13729
|
+
SimpleTagsFormModule
|
|
13442
13730
|
],
|
|
13443
13731
|
declarations: [
|
|
13444
13732
|
ModifyTaskFormComponent
|
|
@@ -14338,6 +14626,134 @@ ComponentActivityListModule.decorators = [
|
|
|
14338
14626
|
},] }
|
|
14339
14627
|
];
|
|
14340
14628
|
|
|
14629
|
+
class WorkflowInfoTilesComponent {
|
|
14630
|
+
constructor(iconCacheService, sharedService) {
|
|
14631
|
+
this.iconCacheService = iconCacheService;
|
|
14632
|
+
this.sharedService = sharedService;
|
|
14633
|
+
this.Icon = Icon;
|
|
14634
|
+
this.icons = Icon;
|
|
14635
|
+
this.workflowProcessInfoPerStatusClicked = new EventEmitter();
|
|
14636
|
+
}
|
|
14637
|
+
set workflowCategory(value) {
|
|
14638
|
+
this._workflowCategory = value;
|
|
14639
|
+
this.getWorkflowProcessInfoPerStatusCollection();
|
|
14640
|
+
}
|
|
14641
|
+
showClass() {
|
|
14642
|
+
return true;
|
|
14643
|
+
}
|
|
14644
|
+
ngOnInit() {
|
|
14645
|
+
this.getWorkflowProcessInfoPerStatusCollection();
|
|
14646
|
+
}
|
|
14647
|
+
workflowProcessInfoPerStatusClickedHandler(status) {
|
|
14648
|
+
this.workflowProcessInfoPerStatusClicked.emit(status.statusName);
|
|
14649
|
+
}
|
|
14650
|
+
getWorkflowProcessInfoPerStatusCollection() {
|
|
14651
|
+
if (this._workflowCategory) {
|
|
14652
|
+
this.sharedService.getWorkflowProcessInfoPerStatus(this._workflowCategory).then((result) => {
|
|
14653
|
+
this.WorkflowProcessInfoPerStatusCollection = result;
|
|
14654
|
+
});
|
|
14655
|
+
}
|
|
14656
|
+
}
|
|
14657
|
+
}
|
|
14658
|
+
WorkflowInfoTilesComponent.decorators = [
|
|
14659
|
+
{ type: Component, args: [{
|
|
14660
|
+
selector: "co-workflow-info-tiles",
|
|
14661
|
+
template: `
|
|
14662
|
+
<div class="tile-row">
|
|
14663
|
+
<co-workflow-info-tile *ngFor="let workflowProcessInfoPerStatus of WorkflowProcessInfoPerStatusCollection" [workflowProcessInfoPerStatus]="workflowProcessInfoPerStatus"
|
|
14664
|
+
(click)="workflowProcessInfoPerStatusClickedHandler(workflowProcessInfoPerStatus)"></co-workflow-info-tile>
|
|
14665
|
+
</div>
|
|
14666
|
+
`,
|
|
14667
|
+
encapsulation: ViewEncapsulation.None
|
|
14668
|
+
},] }
|
|
14669
|
+
];
|
|
14670
|
+
WorkflowInfoTilesComponent.ctorParameters = () => [
|
|
14671
|
+
{ type: IconCacheService },
|
|
14672
|
+
{ type: SharedService }
|
|
14673
|
+
];
|
|
14674
|
+
WorkflowInfoTilesComponent.propDecorators = {
|
|
14675
|
+
workflowCategory: [{ type: Input }],
|
|
14676
|
+
workflowProcessInfoPerStatusClicked: [{ type: Output }],
|
|
14677
|
+
showClass: [{ type: HostBinding, args: ["class.co-workflow-info-tiles",] }]
|
|
14678
|
+
};
|
|
14679
|
+
|
|
14680
|
+
class WorkflowInfoTileComponent {
|
|
14681
|
+
constructor(iconCacheService, colorService) {
|
|
14682
|
+
this.iconCacheService = iconCacheService;
|
|
14683
|
+
this.colorService = colorService;
|
|
14684
|
+
this.Icon = Icon;
|
|
14685
|
+
}
|
|
14686
|
+
showClass() {
|
|
14687
|
+
return true;
|
|
14688
|
+
}
|
|
14689
|
+
ngOnInit() {
|
|
14690
|
+
this.backgroundColor = this.colorService.GetRandomColorWithSettings([0, 360], [90, 100], [40, 95], [1, 1]);
|
|
14691
|
+
}
|
|
14692
|
+
}
|
|
14693
|
+
WorkflowInfoTileComponent.decorators = [
|
|
14694
|
+
{ type: Component, args: [{
|
|
14695
|
+
selector: "co-workflow-info-tile",
|
|
14696
|
+
template: `
|
|
14697
|
+
<div class="top">
|
|
14698
|
+
<div class="tile-row">
|
|
14699
|
+
<label class="status-text" [textContent]="'STATUS' | localize"></label>
|
|
14700
|
+
<co-icon class="corner-icon" [iconData]="iconCacheService.getIcon(Icon.DetailView)" ></co-icon>
|
|
14701
|
+
</div>
|
|
14702
|
+
<label class="name-text" [textContent]="workflowProcessInfoPerStatus.statusName"></label>
|
|
14703
|
+
</div>
|
|
14704
|
+
<div class="bottom">
|
|
14705
|
+
<label class="name-text" [textContent]="workflowProcessInfoPerStatus.workflowProcessCount"></label>
|
|
14706
|
+
</div>
|
|
14707
|
+
`,
|
|
14708
|
+
encapsulation: ViewEncapsulation.None
|
|
14709
|
+
},] }
|
|
14710
|
+
];
|
|
14711
|
+
WorkflowInfoTileComponent.ctorParameters = () => [
|
|
14712
|
+
{ type: IconCacheService },
|
|
14713
|
+
{ type: ColorSequenceService }
|
|
14714
|
+
];
|
|
14715
|
+
WorkflowInfoTileComponent.propDecorators = {
|
|
14716
|
+
workflowProcessInfoPerStatus: [{ type: Input }],
|
|
14717
|
+
showClass: [{ type: HostBinding, args: ["class.co-workflow-info-tile",] }],
|
|
14718
|
+
backgroundColor: [{ type: HostBinding, args: ["style.background-color",] }]
|
|
14719
|
+
};
|
|
14720
|
+
|
|
14721
|
+
class WorkflowInfoTileModule {
|
|
14722
|
+
}
|
|
14723
|
+
WorkflowInfoTileModule.decorators = [
|
|
14724
|
+
{ type: NgModule, args: [{
|
|
14725
|
+
imports: [
|
|
14726
|
+
LocalizationModule,
|
|
14727
|
+
IconModule
|
|
14728
|
+
],
|
|
14729
|
+
declarations: [
|
|
14730
|
+
WorkflowInfoTileComponent
|
|
14731
|
+
],
|
|
14732
|
+
exports: [
|
|
14733
|
+
WorkflowInfoTileComponent
|
|
14734
|
+
],
|
|
14735
|
+
providers: []
|
|
14736
|
+
},] }
|
|
14737
|
+
];
|
|
14738
|
+
|
|
14739
|
+
class WorkflowInfoTilesModule {
|
|
14740
|
+
}
|
|
14741
|
+
WorkflowInfoTilesModule.decorators = [
|
|
14742
|
+
{ type: NgModule, args: [{
|
|
14743
|
+
imports: [
|
|
14744
|
+
WorkflowInfoTileModule,
|
|
14745
|
+
CommonModule
|
|
14746
|
+
],
|
|
14747
|
+
declarations: [
|
|
14748
|
+
WorkflowInfoTilesComponent
|
|
14749
|
+
],
|
|
14750
|
+
exports: [
|
|
14751
|
+
WorkflowInfoTilesComponent
|
|
14752
|
+
],
|
|
14753
|
+
providers: []
|
|
14754
|
+
},] }
|
|
14755
|
+
];
|
|
14756
|
+
|
|
14341
14757
|
/*
|
|
14342
14758
|
* Public API Surface of sharedcomponents
|
|
14343
14759
|
*/
|
|
@@ -14346,5 +14762,5 @@ ComponentActivityListModule.decorators = [
|
|
|
14346
14762
|
* Generated bundle index. Do not edit.
|
|
14347
14763
|
*/
|
|
14348
14764
|
|
|
14349
|
-
export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, LocalizationModule as ɵba, LocalizePipe as ɵbb, StockInformationComponent as ɵbc, StockInformationGridComponent as ɵbd, StockTransferComponent as ɵbe, StockChangeAmountComponent as ɵbf, StockTabComponent as ɵbg, OrderTabComponent as ɵbh, StockTabsComponent as ɵbi, StockHistoryTabsComponent as ɵbj, OrderStockTabComponent as ɵbk, StockLocationComponent as ɵbl, StockHistoryComponent as ɵbm, OrderSupplyStockHistoryComponent as ɵbn, OrderCommissionStockHistoryComponent as ɵbo, OrderStockHistoryComponent as ɵbp, AllocationStockHistoryComponent as ɵbq, StockPrognoseComponent as ɵbr, StockLocationPopupComponent as ɵbs, SendMethod as ɵbt, Icon as ɵbu, CalendarAllYearsComponent as ɵbv, CalendarAllMonthsComponent as ɵbw, CalendarHeaderComponent as ɵbx, CalendarComponent as ɵby, CalendarViewComponent as ɵbz, StockService as ɵc, LanguageCode as ɵca, AgendaHeaderComponent as ɵcb, AgendaViewComponent as ɵcc, AgendaMonthViewComponent as ɵcd, AgendaBaseViewComponent as ɵce, AgendaDayViewComponent as ɵcf, AgendaWeekViewComponent as ɵcg, AgendaWeekSelectViewComponent as ɵch, AgendaHourViewComponent as ɵci, AgendaHourCellComponent as ɵcj, AgendaHourViewLabelsComponent as ɵck, AgendaHalfHourCellComponent as ɵcl, AgendaEventsComponent as ɵcm, AgendaEventComponent as ɵcn, ViewSelectComponent as ɵco, AgendaSelectEventComponent as ɵcp, MASTER_PIPES as ɵcq, ArrayNumberPipe as ɵcr, UCfirstPipe as ɵcs, FileTypeImagePipe as ɵct, BaseFileUploadComponent as ɵcu, InputBoolean as ɵcv, ImageDisplayModule as ɵcw, ImageDisplayComponent as ɵcx, FileUploadModule as ɵcy, TileRenderModule as ɵcz, SharedConnectorService as ɵd, TileRenderComponent as ɵda, FileUploadComponent as ɵdb, FileUploadPopupModule as ɵdc, MultiplePropertyTogglerModule as ɵdd, MultiplePropertyTogglerComponent as ɵde, FileUploadPopupComponent as ɵdf, AppFileDropzoneModule as ɵdg, AppFileDropzoneComponent as ɵdh, DragDropContainerComponent as ɵdi, DragDropService as ɵdj, BaseActivityListComponent as ɵdk, PersonalActivityOverviewComponent as ɵdl, BaseActivityOverviewComponent as ɵdm, TaskModifierComponent as ɵdn, ModifyTaskFormComponent as ɵdo, PersonalActivityOverviewModule as ɵdp, ComponentActivityOverviewModule as ɵdq, TaskModifyerModule as ɵdr, ModifyTaskFormModule as ɵds, TaskDetailsModule as ɵdt, TaskDetailsComponent as ɵdu, BaseActivitySummaryComponent as ɵdv, ExecutiveSummaryBlockModule as ɵdw, ActivitySummaryBlockModule as ɵdx, ActivitySummaryBlockComponent as ɵdy, ExecutiveSummaryBlockComponent as ɵdz, OptionsService as ɵe, StatusSummaryBlockModule as ɵea, StatusSummaryBlockComponent as ɵeb, CreationSummaryBlockModule as ɵec, CreationSummaryBlockComponent as ɵed, NotificationSummaryBlockModule as ɵee, NotificationSummaryBlockComponent as ɵef, ComponentActivityOverviewComponent as ɵeg, ActivityListHeaderModule as ɵeh, WorkflowNotificationToggleModule as ɵei, DirectivesModule as ɵej, AbsoluteOverlayTemplateDirective as ɵek, AppAbsoluteOverlayOutletService as ɵel, AlignWithDirective as ɵem, ClickOutsideDirective as ɵen, WorkflowNotificationToggleComponent as ɵeo, WorkflowNotificationTogglePopupComponent as ɵep, PeriodFilterModule as ɵeq, PeriodFilterComponent as ɵer, PeriodFilterPopupComponent as ɵes, ActivityListHeaderComponent as ɵet, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, SendMethodPrinterComponent as ɵs, SendMethodPdfModule as ɵt, SendMethodPdfComponent as ɵu, TabBarModule as ɵv, TabBarComponent as ɵw, StatusbarPopupComponent as ɵx, StockStatusbarModule as ɵy, StockStatusbarComponent as ɵz };
|
|
14765
|
+
export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, SendMethodDialogComponent, SendMethodDialogModule, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, Translation, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, LocalizationModule as ɵba, LocalizePipe as ɵbb, StockInformationComponent as ɵbc, StockInformationGridComponent as ɵbd, StockTransferComponent as ɵbe, StockChangeAmountComponent as ɵbf, StockTabComponent as ɵbg, OrderTabComponent as ɵbh, StockTabsComponent as ɵbi, StockHistoryTabsComponent as ɵbj, OrderStockTabComponent as ɵbk, StockLocationComponent as ɵbl, StockHistoryComponent as ɵbm, OrderSupplyStockHistoryComponent as ɵbn, OrderCommissionStockHistoryComponent as ɵbo, OrderStockHistoryComponent as ɵbp, AllocationStockHistoryComponent as ɵbq, StockPrognoseComponent as ɵbr, StockLocationPopupComponent as ɵbs, SendMethod as ɵbt, Icon as ɵbu, CalendarAllYearsComponent as ɵbv, CalendarAllMonthsComponent as ɵbw, CalendarHeaderComponent as ɵbx, CalendarComponent as ɵby, CalendarViewComponent as ɵbz, StockService as ɵc, LanguageCode as ɵca, AgendaHeaderComponent as ɵcb, AgendaViewComponent as ɵcc, AgendaMonthViewComponent as ɵcd, AgendaBaseViewComponent as ɵce, AgendaDayViewComponent as ɵcf, AgendaWeekViewComponent as ɵcg, AgendaWeekSelectViewComponent as ɵch, AgendaHourViewComponent as ɵci, AgendaHourCellComponent as ɵcj, AgendaHourViewLabelsComponent as ɵck, AgendaHalfHourCellComponent as ɵcl, AgendaEventsComponent as ɵcm, AgendaEventComponent as ɵcn, ViewSelectComponent as ɵco, AgendaSelectEventComponent as ɵcp, MASTER_PIPES as ɵcq, ArrayNumberPipe as ɵcr, UCfirstPipe as ɵcs, FileTypeImagePipe as ɵct, BaseFileUploadComponent as ɵcu, InputBoolean as ɵcv, ImageDisplayModule as ɵcw, ImageDisplayComponent as ɵcx, FileUploadModule as ɵcy, TileRenderModule as ɵcz, SharedConnectorService as ɵd, TileRenderComponent as ɵda, FileUploadComponent as ɵdb, FileUploadPopupModule as ɵdc, MultiplePropertyTogglerModule as ɵdd, MultiplePropertyTogglerComponent as ɵde, FileUploadPopupComponent as ɵdf, AppFileDropzoneModule as ɵdg, AppFileDropzoneComponent as ɵdh, DragDropContainerComponent as ɵdi, DragDropService as ɵdj, BaseActivityListComponent as ɵdk, PersonalActivityOverviewComponent as ɵdl, BaseActivityOverviewComponent as ɵdm, TaskModifierComponent as ɵdn, ModifyTaskFormComponent as ɵdo, PersonalActivityOverviewModule as ɵdp, ComponentActivityOverviewModule as ɵdq, TaskModifyerModule as ɵdr, ModifyTaskFormModule as ɵds, TaskDetailsModule as ɵdt, TaskDetailsComponent as ɵdu, BaseActivitySummaryComponent as ɵdv, ExecutiveSummaryBlockModule as ɵdw, ActivitySummaryBlockModule as ɵdx, ActivitySummaryBlockComponent as ɵdy, ExecutiveSummaryBlockComponent as ɵdz, OptionsService as ɵe, StatusSummaryBlockModule as ɵea, StatusSummaryBlockComponent as ɵeb, CreationSummaryBlockModule as ɵec, CreationSummaryBlockComponent as ɵed, NotificationSummaryBlockModule as ɵee, NotificationSummaryBlockComponent as ɵef, ComponentActivityOverviewComponent as ɵeg, ActivityListHeaderModule as ɵeh, WorkflowNotificationToggleModule as ɵei, DirectivesModule as ɵej, AbsoluteOverlayTemplateDirective as ɵek, AppAbsoluteOverlayOutletService as ɵel, AlignWithDirective as ɵem, ClickOutsideDirective as ɵen, WorkflowNotificationToggleComponent as ɵeo, WorkflowNotificationTogglePopupComponent as ɵep, PeriodFilterModule as ɵeq, PeriodFilterComponent as ɵer, PeriodFilterPopupComponent as ɵes, ActivityListHeaderComponent as ɵet, WorkflowInfoTileModule as ɵeu, WorkflowInfoTileComponent as ɵev, DictionaryService as ɵf, LocalizeService as ɵg, IconCacheService as ɵh, SendMethodService as ɵi, SendMethodEmailModule as ɵj, LayoutSelectionModule as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, SendMethodPrinterComponent as ɵs, SendMethodPdfModule as ɵt, SendMethodPdfComponent as ɵu, TabBarModule as ɵv, TabBarComponent as ɵw, StatusbarPopupComponent as ɵx, StockStatusbarModule as ɵy, StockStatusbarComponent as ɵz };
|
|
14350
14766
|
//# sourceMappingURL=colijnit-sharedcomponents.js.map
|