@colijnit/mainapi 1.0.42 → 254.1.1
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/build/enum/absence-type.enum.d.ts +10 -10
- package/build/enum/absence-type.enum.js +14 -14
- package/build/enum/activities-object-name.enum.d.ts +4 -4
- package/build/enum/activities-object-name.enum.js +8 -8
- package/build/enum/activities-operation-name.enum.d.ts +9 -9
- package/build/enum/activities-operation-name.enum.js +13 -13
- package/build/enum/activity-sort-type.enum.d.ts +5 -5
- package/build/enum/activity-sort-type.enum.js +9 -9
- package/build/enum/activity-type.d.ts +9 -9
- package/build/enum/activity-type.js +13 -13
- package/build/enum/article-publication.enum.d.ts +5 -5
- package/build/enum/article-publication.enum.js +9 -9
- package/build/enum/backend-service-name.enum.d.ts +9 -9
- package/build/enum/backend-service-name.enum.js +13 -13
- package/build/enum/co-document-image-display-kind.enum.d.ts +5 -5
- package/build/enum/co-document-image-display-kind.enum.js +9 -9
- package/build/enum/co-document-type.enum.d.ts +5 -5
- package/build/enum/co-document-type.enum.js +9 -9
- package/build/enum/co-sub-report.bo.d.ts +11 -11
- package/build/enum/co-sub-report.bo.js +21 -21
- package/build/enum/config-object-name.enum.d.ts +3 -3
- package/build/enum/config-object-name.enum.js +7 -7
- package/build/enum/data-mapping.enum.d.ts +5 -5
- package/build/enum/data-mapping.enum.js +9 -9
- package/build/enum/data-service-method.enum.d.ts +15 -15
- package/build/enum/data-service-method.enum.js +19 -19
- package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
- package/build/enum/db-boolean-value-type.enum.js +32 -32
- package/build/enum/delivery-time-unit-type.enum.d.ts +4 -4
- package/build/enum/delivery-time-unit-type.enum.js +8 -8
- package/build/enum/document-allowed-type.enum.d.ts +10 -10
- package/build/enum/document-allowed-type.enum.js +14 -14
- package/build/enum/document-method.enum.d.ts +6 -6
- package/build/enum/document-method.enum.js +10 -10
- package/build/enum/domain-name.enum.d.ts +64 -64
- package/build/enum/domain-name.enum.js +68 -68
- package/build/enum/event-notification-operation-name.enum.d.ts +3 -3
- package/build/enum/event-notification-operation-name.enum.js +7 -7
- package/build/enum/file-type-internal.enum.d.ts +11 -11
- package/build/enum/file-type-internal.enum.js +15 -15
- package/build/enum/file-type.enum.d.ts +5 -5
- package/build/enum/file-type.enum.js +9 -9
- package/build/enum/general-method.enum.d.ts +37 -37
- package/build/enum/general-method.enum.js +41 -41
- package/build/enum/insured-interest-type.enum.d.ts +10 -10
- package/build/enum/insured-interest-type.enum.js +14 -14
- package/build/enum/internal-param.enum.d.ts +11 -11
- package/build/enum/internal-param.enum.js +15 -15
- package/build/enum/ione-module-name.enum.d.ts +39 -39
- package/build/enum/ione-module-name.enum.js +55 -55
- package/build/enum/master-data-object-name.enum.d.ts +25 -25
- package/build/enum/master-data-object-name.enum.js +29 -29
- package/build/enum/message-type.enum.d.ts +6 -6
- package/build/enum/message-type.enum.js +10 -10
- package/build/enum/module-name.enum.d.ts +15 -15
- package/build/enum/module-name.enum.js +19 -19
- package/build/enum/module-navigation-link.d.ts +5 -5
- package/build/enum/module-navigation-link.js +2 -2
- package/build/enum/note-display-type.enum.d.ts +5 -5
- package/build/enum/note-display-type.enum.js +9 -9
- package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
- package/build/enum/one-zero-bool-db-type.enum.js +20 -20
- package/build/enum/own-risk.enum.d.ts +7 -7
- package/build/enum/own-risk.enum.js +11 -11
- package/build/enum/period.enum.d.ts +7 -7
- package/build/enum/period.enum.js +11 -11
- package/build/enum/personal-activity-tab.enum.d.ts +4 -4
- package/build/enum/personal-activity-tab.enum.js +8 -8
- package/build/enum/preset-object-name.enum.d.ts +3 -3
- package/build/enum/preset-object-name.enum.js +7 -7
- package/build/enum/price-type.enum.d.ts +4 -4
- package/build/enum/price-type.enum.js +8 -8
- package/build/enum/printing-service-method.d.ts +8 -8
- package/build/enum/printing-service-method.js +12 -12
- package/build/enum/priority-type.enum.d.ts +7 -7
- package/build/enum/priority-type.enum.js +11 -11
- package/build/enum/product-kind.enum.d.ts +6 -6
- package/build/enum/product-kind.enum.js +10 -10
- package/build/enum/public-service-method.d.ts +20 -20
- package/build/enum/public-service-method.js +24 -24
- package/build/enum/relation-kind.d.ts +10 -10
- package/build/enum/relation-kind.js +14 -14
- package/build/enum/relman-complete-name.d.ts +5 -5
- package/build/enum/relman-complete-name.js +2 -2
- package/build/enum/report-method.enum.d.ts +15 -15
- package/build/enum/report-method.enum.js +19 -19
- package/build/enum/report-object-name.enum.d.ts +3 -3
- package/build/enum/report-object-name.enum.js +7 -7
- package/build/enum/report-param-type.enum.d.ts +15 -15
- package/build/enum/report-param-type.enum.js +19 -19
- package/build/enum/report-type.enum.d.ts +45 -45
- package/build/enum/report-type.enum.js +49 -49
- package/build/enum/reporting-documents-method.enum.d.ts +4 -4
- package/build/enum/reporting-documents-method.enum.js +8 -8
- package/build/enum/send-method-type.enum.d.ts +10 -10
- package/build/enum/send-method-type.enum.js +14 -14
- package/build/enum/sequence-name.enum.d.ts +31 -31
- package/build/enum/sequence-name.enum.js +35 -35
- package/build/enum/simple-base-data-object-name.enum.d.ts +5 -5
- package/build/enum/simple-base-data-object-name.enum.js +9 -9
- package/build/enum/simple-base-data-operation-name.enum.d.ts +4 -4
- package/build/enum/simple-base-data-operation-name.enum.js +8 -8
- package/build/enum/tab-category.enum.d.ts +19 -19
- package/build/enum/tab-category.enum.js +23 -23
- package/build/enum/table-name.enum.d.ts +82 -82
- package/build/enum/table-name.enum.js +86 -86
- package/build/enum/tag-method.enum.d.ts +4 -4
- package/build/enum/tag-method.enum.js +8 -8
- package/build/enum/tag-object.enum.d.ts +3 -3
- package/build/enum/tag-object.enum.js +7 -7
- package/build/enum/tag-operation-name.enum.d.ts +3 -3
- package/build/enum/tag-operation-name.enum.js +7 -7
- package/build/enum/text-standard-type-text.d.ts +7 -7
- package/build/enum/text-standard-type-text.js +11 -11
- package/build/enum/text-standard-type.d.ts +7 -7
- package/build/enum/text-standard-type.js +11 -11
- package/build/enum/transaction-kind.d.ts +13 -13
- package/build/enum/transaction-kind.js +17 -17
- package/build/enum/true-false-db-type.enum.d.ts +5 -5
- package/build/enum/true-false-db-type.enum.js +20 -20
- package/build/enum/vat-type.enum.d.ts +4 -4
- package/build/enum/vat-type.enum.js +8 -8
- package/build/enum/workflow-category.enum.d.ts +18 -18
- package/build/enum/workflow-category.enum.js +22 -22
- package/build/enum/workflow-trigger-type.enum.d.ts +8 -8
- package/build/enum/workflow-trigger-type.enum.js +12 -12
- package/build/enum/yes-no-db-type.enum.d.ts +5 -5
- package/build/enum/yes-no-db-type.enum.js +20 -20
- package/build/main-api-connection.d.ts +69 -69
- package/build/main-api-connection.js +14 -14
- package/build/main-api.d.ts +84 -84
- package/build/main-api.js +232 -232
- package/build/main-api.unit.test.d.ts +1 -1
- package/build/main-api.unit.test.js +128 -128
- package/build/main-auth.d.ts +64 -64
- package/build/main-auth.js +603 -603
- package/build/main-public.d.ts +65 -65
- package/build/main-public.js +264 -264
- package/build/model/activity-list-view-model.d.ts +11 -11
- package/build/model/activity-list-view-model.js +20 -20
- package/build/model/activity-view-model.d.ts +13 -13
- package/build/model/activity-view-model.js +27 -27
- package/build/model/activity-workflow.d.ts +24 -24
- package/build/model/activity-workflow.js +66 -66
- package/build/model/activity.bo.d.ts +58 -58
- package/build/model/activity.bo.js +484 -484
- package/build/model/article-seo-value.d.ts +5 -5
- package/build/model/article-seo-value.js +6 -6
- package/build/model/branch.bo.d.ts +8 -8
- package/build/model/branch.bo.js +7 -7
- package/build/model/brand.d.ts +8 -8
- package/build/model/brand.js +10 -10
- package/build/model/category.bo.d.ts +12 -12
- package/build/model/category.bo.js +16 -16
- package/build/model/co-document-right.d.ts +7 -7
- package/build/model/co-document-right.js +7 -7
- package/build/model/co-document.d.ts +64 -64
- package/build/model/co-document.js +180 -180
- package/build/model/co-domain-value.bo.d.ts +10 -10
- package/build/model/co-domain-value.bo.js +20 -20
- package/build/model/co-notition-right.bo.d.ts +10 -10
- package/build/model/co-notition-right.bo.js +13 -13
- package/build/model/co-notition.bo.d.ts +24 -24
- package/build/model/co-notition.bo.js +79 -79
- package/build/model/co-report-category-link.bo.d.ts +8 -8
- package/build/model/co-report-category-link.bo.js +7 -7
- package/build/model/co-report-sjablonen-documenten.bo.d.ts +6 -6
- package/build/model/co-report-sjablonen-documenten.bo.js +7 -7
- package/build/model/co-report.bo.d.ts +47 -47
- package/build/model/co-report.bo.js +68 -68
- package/build/model/co-rv-domain-value.bo.d.ts +10 -10
- package/build/model/co-rv-domain-value.bo.js +20 -20
- package/build/model/co-text.d.ts +26 -26
- package/build/model/co-text.js +28 -28
- package/build/model/color.bo.d.ts +7 -7
- package/build/model/color.bo.js +10 -10
- package/build/model/constant/java-constants.d.ts +2 -2
- package/build/model/constant/java-constants.js +5 -5
- package/build/model/contact-moment.bo.d.ts +17 -17
- package/build/model/contact-moment.bo.js +39 -39
- package/build/model/currency.bo.d.ts +13 -13
- package/build/model/currency.bo.js +33 -33
- package/build/model/department.bo.d.ts +12 -12
- package/build/model/department.bo.js +69 -69
- package/build/model/document-allowed-extension.bo.d.ts +6 -6
- package/build/model/document-allowed-extension.bo.js +7 -7
- package/build/model/form-question-response.bo.d.ts +10 -10
- package/build/model/form-question-response.bo.js +31 -31
- package/build/model/form.bo.d.ts +16 -16
- package/build/model/form.bo.js +13 -13
- package/build/model/get-postal-code-retrieval-output-params.d.ts +7 -7
- package/build/model/get-postal-code-retrieval-output-params.js +6 -6
- package/build/model/insured-interest.bo.d.ts +13 -13
- package/build/model/insured-interest.bo.js +39 -39
- package/build/model/language.bo.d.ts +5 -5
- package/build/model/language.bo.js +7 -7
- package/build/model/order-line-set-category.bo.d.ts +8 -8
- package/build/model/order-line-set-category.bo.js +7 -7
- package/build/model/own-risk.bo.d.ts +11 -11
- package/build/model/own-risk.bo.js +39 -39
- package/build/model/payment-condition-ledger-account.bo.d.ts +6 -6
- package/build/model/payment-condition-ledger-account.bo.js +7 -7
- package/build/model/payment-condition.bo.d.ts +11 -11
- package/build/model/payment-condition.bo.js +34 -34
- package/build/model/preset.bo.d.ts +12 -12
- package/build/model/preset.bo.js +16 -16
- package/build/model/printer.bo.d.ts +8 -8
- package/build/model/printer.bo.js +13 -13
- package/build/model/printing-service-request-data.d.ts +16 -16
- package/build/model/printing-service-request-data.js +2 -2
- package/build/model/privacy-setting.bo.d.ts +9 -9
- package/build/model/privacy-setting.bo.js +13 -13
- package/build/model/relation-small-object.bo.d.ts +28 -28
- package/build/model/relation-small-object.bo.js +63 -63
- package/build/model/remark.bo.d.ts +17 -17
- package/build/model/remark.bo.js +52 -52
- package/build/model/report-category.bo.d.ts +6 -6
- package/build/model/report-category.bo.js +7 -7
- package/build/model/report-layout-selection-base.bo.d.ts +9 -9
- package/build/model/report-layout-selection-base.bo.js +7 -7
- package/build/model/report-layout-selection-email.bo.d.ts +4 -4
- package/build/model/report-layout-selection-email.bo.js +7 -7
- package/build/model/report-layout-selection-print.bo.d.ts +5 -5
- package/build/model/report-layout-selection-print.bo.js +7 -7
- package/build/model/report-param.d.ts +16 -16
- package/build/model/report-param.js +9 -9
- package/build/model/reporting-document-base-request.d.ts +4 -4
- package/build/model/reporting-document-base-request.js +6 -6
- package/build/model/reporting-document-email-base-request.d.ts +5 -5
- package/build/model/reporting-document-email-base-request.js +7 -7
- package/build/model/reporting-document-email-sign-doc-base-request.d.ts +4 -4
- package/build/model/reporting-document-email-sign-doc-base-request.js +7 -7
- package/build/model/reporting-document-pdf-base-request.d.ts +3 -3
- package/build/model/reporting-document-pdf-base-request.js +7 -7
- package/build/model/reporting-document-print-base-request.d.ts +7 -7
- package/build/model/reporting-document-print-base-request.js +7 -7
- package/build/model/reporting-document-print-sign-doc-base-request.d.ts +4 -4
- package/build/model/reporting-document-print-sign-doc-base-request.js +7 -7
- package/build/model/role-email-address.d.ts +10 -10
- package/build/model/role-email-address.js +28 -28
- package/build/model/role-emailaddress.bo.d.ts +10 -10
- package/build/model/role-emailaddress.bo.js +28 -28
- package/build/model/send-method.bo.d.ts +5 -5
- package/build/model/send-method.bo.js +7 -7
- package/build/model/store-group.bo.d.ts +9 -9
- package/build/model/store-group.bo.js +7 -7
- package/build/model/tag-stock-item.bo.d.ts +24 -24
- package/build/model/tag-stock-item.bo.js +21 -21
- package/build/model/tag-tree-item.bo.d.ts +18 -18
- package/build/model/tag-tree-item.bo.js +52 -52
- package/build/model/tag.d.ts +11 -11
- package/build/model/tag.js +41 -41
- package/build/model/task-category.bo.d.ts +13 -13
- package/build/model/task-category.bo.js +28 -28
- package/build/model/task.bo.d.ts +83 -83
- package/build/model/task.bo.js +257 -257
- package/build/model/title.bo.d.ts +9 -9
- package/build/model/title.bo.js +13 -13
- package/build/model/transition.bo.d.ts +5 -5
- package/build/model/transition.bo.js +21 -21
- package/build/model/tree-object.d.ts +8 -8
- package/build/model/tree-object.js +29 -29
- package/build/model/user-group.bo.d.ts +13 -13
- package/build/model/user-group.bo.js +16 -16
- package/build/model/work.bo.d.ts +19 -19
- package/build/model/work.bo.js +53 -53
- package/build/model/workflow-generic-transition.bo.d.ts +22 -22
- package/build/model/workflow-generic-transition.bo.js +28 -28
- package/build/model/workflow-process-info-per-status.d.ts +4 -4
- package/build/model/workflow-process-info-per-status.js +6 -6
- package/build/model/workflow-process.d.ts +13 -13
- package/build/model/workflow-process.js +7 -7
- package/build/model/workflow-trigger.bo.d.ts +44 -44
- package/build/model/workflow-trigger.bo.js +52 -52
- package/build/model/workflow.bo.d.ts +36 -36
- package/build/model/workflow.bo.js +151 -151
- package/build/utils/css-utils.d.ts +18 -18
- package/build/utils/css-utils.js +148 -148
- package/build/utils/file-utils.d.ts +34 -34
- package/build/utils/file-utils.js +401 -397
- package/build/utils/time-utils.d.ts +6 -6
- package/build/utils/time-utils.js +44 -44
- package/package.json +5 -5
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActivityViewModel = void 0;
|
|
4
|
-
class ActivityViewModel {
|
|
5
|
-
|
|
6
|
-
this.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
refreshViewModel() {
|
|
18
|
-
this.parent.setAmount();
|
|
19
|
-
}
|
|
20
|
-
_generateGUID() {
|
|
21
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
22
|
-
const r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
|
|
23
|
-
return v.toString(16);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.ActivityViewModel = ActivityViewModel;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActivityViewModel = void 0;
|
|
4
|
+
class ActivityViewModel {
|
|
5
|
+
get overDue() {
|
|
6
|
+
if (this.activity) {
|
|
7
|
+
return this.activity.overDue;
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
constructor() {
|
|
12
|
+
this.showing = true;
|
|
13
|
+
this.position = 0;
|
|
14
|
+
this.deleted = false;
|
|
15
|
+
this.guid = this._generateGUID();
|
|
16
|
+
}
|
|
17
|
+
refreshViewModel() {
|
|
18
|
+
this.parent.setAmount();
|
|
19
|
+
}
|
|
20
|
+
_generateGUID() {
|
|
21
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
22
|
+
const r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
|
|
23
|
+
return v.toString(16);
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.ActivityViewModel = ActivityViewModel;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
-
import { TableName } from "../enum/table-name.enum";
|
|
3
|
-
import { WorkflowTrigger } from "./workflow-trigger.bo";
|
|
4
|
-
import { WorkflowGenericTransition } from "./workflow-generic-transition.bo";
|
|
5
|
-
export declare class ActivityWorkflow extends BusinessObject {
|
|
6
|
-
workflowProcessId: number;
|
|
7
|
-
sequence: number;
|
|
8
|
-
component: string;
|
|
9
|
-
table: TableName;
|
|
10
|
-
key: string;
|
|
11
|
-
displayKey: string;
|
|
12
|
-
workflowDescription: string;
|
|
13
|
-
state: string;
|
|
14
|
-
stateName: string;
|
|
15
|
-
stateDate: Date;
|
|
16
|
-
closed: boolean;
|
|
17
|
-
ended: boolean;
|
|
18
|
-
beginState: boolean;
|
|
19
|
-
workflowId: number;
|
|
20
|
-
workflowName: string;
|
|
21
|
-
manualTriggers: WorkflowTrigger[];
|
|
22
|
-
manualGenericTriggers: WorkflowGenericTransition[];
|
|
23
|
-
get hasCloseStateTriggers(): boolean;
|
|
24
|
-
}
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
import { TableName } from "../enum/table-name.enum";
|
|
3
|
+
import { WorkflowTrigger } from "./workflow-trigger.bo";
|
|
4
|
+
import { WorkflowGenericTransition } from "./workflow-generic-transition.bo";
|
|
5
|
+
export declare class ActivityWorkflow extends BusinessObject {
|
|
6
|
+
workflowProcessId: number;
|
|
7
|
+
sequence: number;
|
|
8
|
+
component: string;
|
|
9
|
+
table: TableName;
|
|
10
|
+
key: string;
|
|
11
|
+
displayKey: string;
|
|
12
|
+
workflowDescription: string;
|
|
13
|
+
state: string;
|
|
14
|
+
stateName: string;
|
|
15
|
+
stateDate: Date;
|
|
16
|
+
closed: boolean;
|
|
17
|
+
ended: boolean;
|
|
18
|
+
beginState: boolean;
|
|
19
|
+
workflowId: number;
|
|
20
|
+
workflowName: string;
|
|
21
|
+
manualTriggers: WorkflowTrigger[];
|
|
22
|
+
manualGenericTriggers: WorkflowGenericTransition[];
|
|
23
|
+
get hasCloseStateTriggers(): boolean;
|
|
24
|
+
}
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ActivityWorkflow = void 0;
|
|
13
|
-
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
14
|
-
const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/date-field.decorator");
|
|
15
|
-
const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/boolean.decorator");
|
|
16
|
-
const workflow_trigger_bo_1 = require("./workflow-trigger.bo");
|
|
17
|
-
const workflow_generic_transition_bo_1 = require("./workflow-generic-transition.bo");
|
|
18
|
-
const complex_array_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator");
|
|
19
|
-
const no_db_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator");
|
|
20
|
-
class ActivityWorkflow extends business_object_1.BusinessObject {
|
|
21
|
-
constructor() {
|
|
22
|
-
super(...arguments);
|
|
23
|
-
this.manualTriggers = [];
|
|
24
|
-
this.manualGenericTriggers = [];
|
|
25
|
-
}
|
|
26
|
-
get hasCloseStateTriggers() {
|
|
27
|
-
if (this.manualTriggers && this.manualTriggers.length > 0) {
|
|
28
|
-
for (let i = 0; i < this.manualTriggers.length; i++) {
|
|
29
|
-
if (this.manualTriggers[i].toClosedState) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
__decorate([
|
|
38
|
-
date_field_decorator_1.DateField(),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], ActivityWorkflow.prototype, "stateDate", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
boolean_decorator_1.BooleanText(),
|
|
43
|
-
__metadata("design:type", Boolean)
|
|
44
|
-
], ActivityWorkflow.prototype, "closed", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
boolean_decorator_1.BooleanText(),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], ActivityWorkflow.prototype, "ended", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
boolean_decorator_1.BooleanText(),
|
|
51
|
-
__metadata("design:type", Boolean)
|
|
52
|
-
], ActivityWorkflow.prototype, "beginState", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
complex_array_decorator_1.ComplexArray(workflow_trigger_bo_1.WorkflowTrigger),
|
|
55
|
-
__metadata("design:type", Array)
|
|
56
|
-
], ActivityWorkflow.prototype, "manualTriggers", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
complex_array_decorator_1.ComplexArray(workflow_generic_transition_bo_1.WorkflowGenericTransition),
|
|
59
|
-
__metadata("design:type", Array)
|
|
60
|
-
], ActivityWorkflow.prototype, "manualGenericTriggers", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
no_db_field_decorator_1.NoDbField(),
|
|
63
|
-
__metadata("design:type", Boolean),
|
|
64
|
-
__metadata("design:paramtypes", [])
|
|
65
|
-
], ActivityWorkflow.prototype, "hasCloseStateTriggers", null);
|
|
66
|
-
exports.ActivityWorkflow = ActivityWorkflow;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ActivityWorkflow = void 0;
|
|
13
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
14
|
+
const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/date-field.decorator");
|
|
15
|
+
const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/boolean.decorator");
|
|
16
|
+
const workflow_trigger_bo_1 = require("./workflow-trigger.bo");
|
|
17
|
+
const workflow_generic_transition_bo_1 = require("./workflow-generic-transition.bo");
|
|
18
|
+
const complex_array_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator");
|
|
19
|
+
const no_db_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator");
|
|
20
|
+
class ActivityWorkflow extends business_object_1.BusinessObject {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.manualTriggers = [];
|
|
24
|
+
this.manualGenericTriggers = [];
|
|
25
|
+
}
|
|
26
|
+
get hasCloseStateTriggers() {
|
|
27
|
+
if (this.manualTriggers && this.manualTriggers.length > 0) {
|
|
28
|
+
for (let i = 0; i < this.manualTriggers.length; i++) {
|
|
29
|
+
if (this.manualTriggers[i].toClosedState) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, date_field_decorator_1.DateField)(),
|
|
39
|
+
__metadata("design:type", Date)
|
|
40
|
+
], ActivityWorkflow.prototype, "stateDate", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], ActivityWorkflow.prototype, "closed", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], ActivityWorkflow.prototype, "ended", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, boolean_decorator_1.BooleanText)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], ActivityWorkflow.prototype, "beginState", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, complex_array_decorator_1.ComplexArray)(workflow_trigger_bo_1.WorkflowTrigger),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], ActivityWorkflow.prototype, "manualTriggers", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, complex_array_decorator_1.ComplexArray)(workflow_generic_transition_bo_1.WorkflowGenericTransition),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], ActivityWorkflow.prototype, "manualGenericTriggers", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
63
|
+
__metadata("design:type", Boolean),
|
|
64
|
+
__metadata("design:paramtypes", [])
|
|
65
|
+
], ActivityWorkflow.prototype, "hasCloseStateTriggers", null);
|
|
66
|
+
exports.ActivityWorkflow = ActivityWorkflow;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
-
import { ActivityType } from "../enum/activity-type";
|
|
3
|
-
import { Workflow } from "./workflow.bo";
|
|
4
|
-
import { Task } from "./task.bo";
|
|
5
|
-
import { Work } from "./work.bo";
|
|
6
|
-
import { CoDocument } from "./co-document";
|
|
7
|
-
import { RelationSmallObject } from "./relation-small-object.bo";
|
|
8
|
-
import { Remark } from "./remark.bo";
|
|
9
|
-
import { Transition } from "./transition.bo";
|
|
10
|
-
import { Form } from "./form.bo";
|
|
11
|
-
import { ModuleNavigationLink } from "../enum/module-navigation-link";
|
|
12
|
-
export declare class Activity extends BusinessObject {
|
|
13
|
-
activityType: ActivityType;
|
|
14
|
-
lastActionDateTime: Date;
|
|
15
|
-
targetDateTime: Date;
|
|
16
|
-
deadlineDateTime: Date;
|
|
17
|
-
activityTitle: string;
|
|
18
|
-
activityContextTitle: string;
|
|
19
|
-
workflow: Workflow;
|
|
20
|
-
task: Task;
|
|
21
|
-
stateChange: Transition;
|
|
22
|
-
remark: Remark;
|
|
23
|
-
work: Work;
|
|
24
|
-
form: Form;
|
|
25
|
-
isNew: boolean;
|
|
26
|
-
editting: boolean;
|
|
27
|
-
get activityTypeSecondary(): string;
|
|
28
|
-
get IsRemark(): boolean;
|
|
29
|
-
get IsWorkflowStatus(): boolean;
|
|
30
|
-
get IsWork(): boolean;
|
|
31
|
-
get IsTask(): boolean;
|
|
32
|
-
get IsStateChange(): boolean;
|
|
33
|
-
get IsForm(): boolean;
|
|
34
|
-
get link(): ModuleNavigationLink;
|
|
35
|
-
get linkDescription(): string;
|
|
36
|
-
get name(): string;
|
|
37
|
-
get creationDateTime(): Date;
|
|
38
|
-
get creationDateTimeAsNumber(): number;
|
|
39
|
-
get deadlineDateTimeAsNumber(): number;
|
|
40
|
-
get linkLabel(): string;
|
|
41
|
-
get subDescription(): string;
|
|
42
|
-
get label(): string;
|
|
43
|
-
get canEdit(): boolean;
|
|
44
|
-
get documents(): CoDocument[];
|
|
45
|
-
get time(): number;
|
|
46
|
-
get executiveName(): string;
|
|
47
|
-
get authorName(): string;
|
|
48
|
-
get executive(): RelationSmallObject;
|
|
49
|
-
get author(): RelationSmallObject;
|
|
50
|
-
get classType(): typeof BusinessObject;
|
|
51
|
-
get executionDateTime(): Date;
|
|
52
|
-
get overDue(): boolean;
|
|
53
|
-
updateSubDescription(text: string): void;
|
|
54
|
-
canUploadDocuments(): boolean;
|
|
55
|
-
constructor();
|
|
56
|
-
getId(): any;
|
|
57
|
-
getBaseContent(): BusinessObject;
|
|
58
|
-
}
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
import { ActivityType } from "../enum/activity-type";
|
|
3
|
+
import { Workflow } from "./workflow.bo";
|
|
4
|
+
import { Task } from "./task.bo";
|
|
5
|
+
import { Work } from "./work.bo";
|
|
6
|
+
import { CoDocument } from "./co-document";
|
|
7
|
+
import { RelationSmallObject } from "./relation-small-object.bo";
|
|
8
|
+
import { Remark } from "./remark.bo";
|
|
9
|
+
import { Transition } from "./transition.bo";
|
|
10
|
+
import { Form } from "./form.bo";
|
|
11
|
+
import { ModuleNavigationLink } from "../enum/module-navigation-link";
|
|
12
|
+
export declare class Activity extends BusinessObject {
|
|
13
|
+
activityType: ActivityType;
|
|
14
|
+
lastActionDateTime: Date;
|
|
15
|
+
targetDateTime: Date;
|
|
16
|
+
deadlineDateTime: Date;
|
|
17
|
+
activityTitle: string;
|
|
18
|
+
activityContextTitle: string;
|
|
19
|
+
workflow: Workflow;
|
|
20
|
+
task: Task;
|
|
21
|
+
stateChange: Transition;
|
|
22
|
+
remark: Remark;
|
|
23
|
+
work: Work;
|
|
24
|
+
form: Form;
|
|
25
|
+
isNew: boolean;
|
|
26
|
+
editting: boolean;
|
|
27
|
+
get activityTypeSecondary(): string;
|
|
28
|
+
get IsRemark(): boolean;
|
|
29
|
+
get IsWorkflowStatus(): boolean;
|
|
30
|
+
get IsWork(): boolean;
|
|
31
|
+
get IsTask(): boolean;
|
|
32
|
+
get IsStateChange(): boolean;
|
|
33
|
+
get IsForm(): boolean;
|
|
34
|
+
get link(): ModuleNavigationLink;
|
|
35
|
+
get linkDescription(): string;
|
|
36
|
+
get name(): string;
|
|
37
|
+
get creationDateTime(): Date;
|
|
38
|
+
get creationDateTimeAsNumber(): number;
|
|
39
|
+
get deadlineDateTimeAsNumber(): number;
|
|
40
|
+
get linkLabel(): string;
|
|
41
|
+
get subDescription(): string;
|
|
42
|
+
get label(): string;
|
|
43
|
+
get canEdit(): boolean;
|
|
44
|
+
get documents(): CoDocument[];
|
|
45
|
+
get time(): number;
|
|
46
|
+
get executiveName(): string;
|
|
47
|
+
get authorName(): string;
|
|
48
|
+
get executive(): RelationSmallObject;
|
|
49
|
+
get author(): RelationSmallObject;
|
|
50
|
+
get classType(): typeof BusinessObject;
|
|
51
|
+
get executionDateTime(): Date;
|
|
52
|
+
get overDue(): boolean;
|
|
53
|
+
updateSubDescription(text: string): void;
|
|
54
|
+
canUploadDocuments(): boolean;
|
|
55
|
+
constructor();
|
|
56
|
+
getId(): any;
|
|
57
|
+
getBaseContent(): BusinessObject;
|
|
58
|
+
}
|