awing-library 2.1.2-dev.60 → 2.1.2-dev.62
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.
|
@@ -23,7 +23,6 @@ export type WorkspaceSharing = {
|
|
|
23
23
|
id?: number;
|
|
24
24
|
};
|
|
25
25
|
export type ObjectFilter = {
|
|
26
|
-
configType?: string;
|
|
27
26
|
directoryPath?: string;
|
|
28
27
|
id?: number;
|
|
29
28
|
logicalExpression?: string;
|
|
@@ -37,7 +36,6 @@ export type ObjectFilter = {
|
|
|
37
36
|
};
|
|
38
37
|
export type SortInput = SortInputType<ObjectFilter>;
|
|
39
38
|
export type ObjectFilterInput = {
|
|
40
|
-
configType?: string;
|
|
41
39
|
logicalExpression?: string;
|
|
42
40
|
name?: string;
|
|
43
41
|
objectTypeCode?: string;
|
package/dist/esm/index.js
CHANGED
|
@@ -26594,8 +26594,8 @@ var WorkspaceSharing$3 = {
|
|
|
26594
26594
|
Create: "Thêm",
|
|
26595
26595
|
AddALL: "Thêm tất cả"
|
|
26596
26596
|
},
|
|
26597
|
-
AliasDestination: "
|
|
26598
|
-
SourceDirectoryId: "
|
|
26597
|
+
AliasDestination: "Đích bí danh",
|
|
26598
|
+
SourceDirectoryId: "Thư mục nguồn"
|
|
26599
26599
|
};
|
|
26600
26600
|
var Language$3 = {
|
|
26601
26601
|
TranslateBy: "(Dịch bởi {{author}})",
|
|
@@ -180584,7 +180584,7 @@ const processNotificationConfig = input => {
|
|
|
180584
180584
|
};
|
|
180585
180585
|
};
|
|
180586
180586
|
const computedTestingData = (testingData, isObjectFilter, isNotificationTemplate, isNotificationConfig, elseCallback) => {
|
|
180587
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t
|
|
180587
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
180588
180588
|
let postDataInput = Object.assign({}, testingData);
|
|
180589
180589
|
//remove plus fields
|
|
180590
180590
|
delete postDataInput.objectId;
|
|
@@ -180594,27 +180594,26 @@ const computedTestingData = (testingData, isObjectFilter, isNotificationTemplate
|
|
|
180594
180594
|
postDataInput.objectFilterInput = {
|
|
180595
180595
|
name: (_a = postDataInput.objectFilterInput) === null || _a === void 0 ? void 0 : _a.name,
|
|
180596
180596
|
objectTypeCode: (_b = postDataInput.objectFilterInput) === null || _b === void 0 ? void 0 : _b.objectTypeCode,
|
|
180597
|
-
|
|
180598
|
-
logicalExpression: (_d = postDataInput.objectFilterInput) === null || _d === void 0 ? void 0 : _d.logicalExpression
|
|
180597
|
+
logicalExpression: (_c = postDataInput.objectFilterInput) === null || _c === void 0 ? void 0 : _c.logicalExpression
|
|
180599
180598
|
};
|
|
180600
180599
|
} else if (isNotificationTemplate) {
|
|
180601
180600
|
postDataInput.templateInput = {
|
|
180602
|
-
name: (
|
|
180603
|
-
title: (
|
|
180604
|
-
content: (
|
|
180605
|
-
schemaId: (
|
|
180606
|
-
objectType: (
|
|
180607
|
-
channelType: (
|
|
180608
|
-
contentType: (
|
|
180609
|
-
configType: (
|
|
180601
|
+
name: (_d = postDataInput.templateInput) === null || _d === void 0 ? void 0 : _d.name,
|
|
180602
|
+
title: (_e = postDataInput.templateInput) === null || _e === void 0 ? void 0 : _e.title,
|
|
180603
|
+
content: (_f = postDataInput.templateInput) === null || _f === void 0 ? void 0 : _f.content,
|
|
180604
|
+
schemaId: (_g = postDataInput.templateInput) === null || _g === void 0 ? void 0 : _g.schemaId,
|
|
180605
|
+
objectType: (_h = postDataInput.templateInput) === null || _h === void 0 ? void 0 : _h.objectType,
|
|
180606
|
+
channelType: (_j = postDataInput.templateInput) === null || _j === void 0 ? void 0 : _j.channelType,
|
|
180607
|
+
contentType: (_k = postDataInput.templateInput) === null || _k === void 0 ? void 0 : _k.contentType,
|
|
180608
|
+
configType: (_l = postDataInput.templateInput) === null || _l === void 0 ? void 0 : _l.configType
|
|
180610
180609
|
};
|
|
180611
180610
|
} else if (isNotificationConfig) {
|
|
180612
180611
|
postDataInput.notificationConfigInput = {
|
|
180613
|
-
name: (
|
|
180614
|
-
objectType: (
|
|
180615
|
-
transactionType: (
|
|
180616
|
-
status: (
|
|
180617
|
-
notificationConfigDetails: (
|
|
180612
|
+
name: (_m = postDataInput.notificationConfigInput) === null || _m === void 0 ? void 0 : _m.name,
|
|
180613
|
+
objectType: (_o = postDataInput.notificationConfigInput) === null || _o === void 0 ? void 0 : _o.objectType,
|
|
180614
|
+
transactionType: (_p = postDataInput.notificationConfigInput) === null || _p === void 0 ? void 0 : _p.transactionType,
|
|
180615
|
+
status: (_q = postDataInput.notificationConfigInput) === null || _q === void 0 ? void 0 : _q.status,
|
|
180616
|
+
notificationConfigDetails: (_t = (_s = (_r = postDataInput.notificationConfigInput) === null || _r === void 0 ? void 0 : _r.notificationConfigDetails) === null || _s === void 0 ? void 0 : _s.filter(x => x.value)) === null || _t === void 0 ? void 0 : _t.map(item => {
|
|
180618
180617
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
180619
180618
|
return {
|
|
180620
180619
|
value: {
|
|
@@ -182110,7 +182109,6 @@ const Constants$3 = {
|
|
|
182110
182109
|
};
|
|
182111
182110
|
const defaultObjectFilter$1 = {
|
|
182112
182111
|
objectTypeCode: '',
|
|
182113
|
-
configType: '',
|
|
182114
182112
|
name: '',
|
|
182115
182113
|
logicalExpression: ''
|
|
182116
182114
|
};
|
|
@@ -182201,11 +182199,6 @@ const ObjectFilterContainer = () => {
|
|
|
182201
182199
|
headerName: t('Filter.ObjectType'),
|
|
182202
182200
|
type: 'text',
|
|
182203
182201
|
valueGetter: row => row.objectTypeCode
|
|
182204
|
-
}, {
|
|
182205
|
-
field: 'configType',
|
|
182206
|
-
headerName: t('Filter.ConfigType'),
|
|
182207
|
-
type: 'text',
|
|
182208
|
-
valueGetter: row => row.configType === 'OBJECT_AND_CHANGED' ? t('NotificationConfig.ObjectAndChanged') : t('NotificationConfig.ObjectOnly')
|
|
182209
182202
|
}],
|
|
182210
182203
|
rows: objectFilters,
|
|
182211
182204
|
totalOfRows: totalCount,
|
|
@@ -182316,7 +182309,6 @@ const CreateOrEdit$6 = () => {
|
|
|
182316
182309
|
}, [objectFilter]);
|
|
182317
182310
|
const convertToObjectFilterInput = filter => {
|
|
182318
182311
|
return {
|
|
182319
|
-
configType: filter.configType,
|
|
182320
182312
|
logicalExpression: filter.logicalExpression,
|
|
182321
182313
|
name: filter.name,
|
|
182322
182314
|
objectTypeCode: filter.objectTypeCode
|
|
@@ -1165,8 +1165,8 @@
|
|
|
1165
1165
|
"Create": "Thêm",
|
|
1166
1166
|
"AddALL": "Thêm tất cả"
|
|
1167
1167
|
},
|
|
1168
|
-
"AliasDestination": "
|
|
1169
|
-
"SourceDirectoryId": "
|
|
1168
|
+
"AliasDestination": "Đích bí danh",
|
|
1169
|
+
"SourceDirectoryId": "Thư mục nguồn"
|
|
1170
1170
|
},
|
|
1171
1171
|
"Language": {
|
|
1172
1172
|
"TranslateBy": "(Dịch bởi {{author}})",
|
package/dist/index.d.ts
CHANGED
|
@@ -2411,7 +2411,6 @@ type WorkspaceSharing = {
|
|
|
2411
2411
|
id?: number;
|
|
2412
2412
|
};
|
|
2413
2413
|
type ObjectFilter$1 = {
|
|
2414
|
-
configType?: string;
|
|
2415
2414
|
directoryPath?: string;
|
|
2416
2415
|
id?: number;
|
|
2417
2416
|
logicalExpression?: string;
|
|
@@ -2424,7 +2423,6 @@ type ObjectFilter$1 = {
|
|
|
2424
2423
|
versionId?: number;
|
|
2425
2424
|
};
|
|
2426
2425
|
type ObjectFilterInput = {
|
|
2427
|
-
configType?: string;
|
|
2428
2426
|
logicalExpression?: string;
|
|
2429
2427
|
name?: string;
|
|
2430
2428
|
objectTypeCode?: string;
|