awing-library 2.1.2-dev.65 → 2.1.2-dev.67
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/dist/esm/AWING/PlaceFilter/interface.d.ts +1 -0
- package/dist/esm/index.js +24 -15
- package/dist/esm/translate/resources/en/translation.json +2 -2
- package/dist/esm/translate/resources/id/translation.json +2 -2
- package/dist/esm/translate/resources/ja/translation.json +2 -2
- package/dist/esm/translate/resources/th/translation.json +2 -2
- package/dist/esm/translate/resources/vi/translation.json +2 -2
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -25030,8 +25030,8 @@ var WorkspaceSharing$4 = {
|
|
|
25030
25030
|
Create: "Add",
|
|
25031
25031
|
AddALL: "Add all"
|
|
25032
25032
|
},
|
|
25033
|
-
|
|
25034
|
-
|
|
25033
|
+
SharingKey: "Sharing Key",
|
|
25034
|
+
SourceDirectory: "Source Directory"
|
|
25035
25035
|
};
|
|
25036
25036
|
var Language$4 = {
|
|
25037
25037
|
TranslateBy: "(Translate By {{author})",
|
|
@@ -26596,8 +26596,8 @@ var WorkspaceSharing$3 = {
|
|
|
26596
26596
|
Create: "Thêm",
|
|
26597
26597
|
AddALL: "Thêm tất cả"
|
|
26598
26598
|
},
|
|
26599
|
-
|
|
26600
|
-
|
|
26599
|
+
SharingKey: "Mã chia sẻ",
|
|
26600
|
+
SourceDirectory: "Thư mục nguồn"
|
|
26601
26601
|
};
|
|
26602
26602
|
var Language$3 = {
|
|
26603
26603
|
TranslateBy: "(Dịch bởi {{author}})",
|
|
@@ -28126,8 +28126,8 @@ var WorkspaceSharing$2 = {
|
|
|
28126
28126
|
Create: "Tambah",
|
|
28127
28127
|
AddALL: "Tambah Semua"
|
|
28128
28128
|
},
|
|
28129
|
-
|
|
28130
|
-
|
|
28129
|
+
SharingKey: "Kunci Berbagi",
|
|
28130
|
+
SourceDirectory: "Direktori Sumber"
|
|
28131
28131
|
};
|
|
28132
28132
|
var Language$2 = {
|
|
28133
28133
|
TranslateBy: "(Diterjemahkan oleh {{author})",
|
|
@@ -29648,8 +29648,8 @@ var WorkspaceSharing$1 = {
|
|
|
29648
29648
|
Create: "เพิ่ม",
|
|
29649
29649
|
AddALL: "เพิ่มทั้งหมด"
|
|
29650
29650
|
},
|
|
29651
|
-
|
|
29652
|
-
|
|
29651
|
+
SharingKey: "คีย์การแชร์",
|
|
29652
|
+
SourceDirectory: "ไดเรกทอรีต้นทาง"
|
|
29653
29653
|
};
|
|
29654
29654
|
var Language$1 = {
|
|
29655
29655
|
TranslateBy: "(แปลโดย {{author})",
|
|
@@ -31170,8 +31170,8 @@ var WorkspaceSharing = {
|
|
|
31170
31170
|
Create: "追加",
|
|
31171
31171
|
AddALL: "すべて追加"
|
|
31172
31172
|
},
|
|
31173
|
-
|
|
31174
|
-
|
|
31173
|
+
SharingKey: "共有キー",
|
|
31174
|
+
SourceDirectory: "ソースディレクトリ"
|
|
31175
31175
|
};
|
|
31176
31176
|
var Language = {
|
|
31177
31177
|
TranslateBy: "(翻訳者 {{author})",
|
|
@@ -175229,7 +175229,8 @@ const DataTable = props => {
|
|
|
175229
175229
|
const check = useRef(null);
|
|
175230
175230
|
const {
|
|
175231
175231
|
getPlacesByFilter,
|
|
175232
|
-
getPlacesByIds
|
|
175232
|
+
getPlacesByIds,
|
|
175233
|
+
isSelectedAll = false
|
|
175233
175234
|
} = props;
|
|
175234
175235
|
const [places, setPlaces] = useState([]);
|
|
175235
175236
|
const [total, setTotal] = useState(0);
|
|
@@ -175604,6 +175605,12 @@ const DataTable = props => {
|
|
|
175604
175605
|
const handlePageSizeChange = pageSize => {
|
|
175605
175606
|
setPageSize(pageSize);
|
|
175606
175607
|
};
|
|
175608
|
+
useEffect(() => {
|
|
175609
|
+
if (isSelectedAll) {
|
|
175610
|
+
handleSelectAll(isSelectedAll);
|
|
175611
|
+
}
|
|
175612
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
175613
|
+
}, [isSelectedAll]);
|
|
175607
175614
|
return isError ? jsxRuntimeExports.jsx("div", {
|
|
175608
175615
|
style: {
|
|
175609
175616
|
padding: 2 * 8,
|
|
@@ -176025,7 +176032,8 @@ const PlaceFilterContainer = props => {
|
|
|
176025
176032
|
getPlacesByFilter,
|
|
176026
176033
|
getPlacesByIds,
|
|
176027
176034
|
callbackFunction,
|
|
176028
|
-
tags
|
|
176035
|
+
tags,
|
|
176036
|
+
isSelectedAll = false
|
|
176029
176037
|
} = props;
|
|
176030
176038
|
const [isInit, setIsInit] = useState(true);
|
|
176031
176039
|
const [tagsAll, setTagsAll] = useAtom(tagsAllState);
|
|
@@ -176063,7 +176071,8 @@ const PlaceFilterContainer = props => {
|
|
|
176063
176071
|
children: [jsxRuntimeExports.jsx(FieldInput, {}), jsxRuntimeExports.jsx(Tag, {}), jsxRuntimeExports.jsx(DataTable, {
|
|
176064
176072
|
isInit: isInit,
|
|
176065
176073
|
getPlacesByFilter: getPlacesByFilter,
|
|
176066
|
-
getPlacesByIds: getPlacesByIds
|
|
176074
|
+
getPlacesByIds: getPlacesByIds,
|
|
176075
|
+
isSelectedAll: isSelectedAll
|
|
176067
176076
|
})]
|
|
176068
176077
|
});
|
|
176069
176078
|
};
|
|
@@ -189178,7 +189187,7 @@ function WorkspaceSharingInfomation(props) {
|
|
|
189178
189187
|
disabled: formData.objectTypeCode === '' || formData.objectTypeCode === undefined
|
|
189179
189188
|
}, {
|
|
189180
189189
|
fieldName: 'key',
|
|
189181
|
-
label: t('WorkspaceSharing.
|
|
189190
|
+
label: t('WorkspaceSharing.SharingKey'),
|
|
189182
189191
|
type: FIELD_TYPE.AUTOCOMPLETE,
|
|
189183
189192
|
multiple: false,
|
|
189184
189193
|
required: true,
|
|
@@ -189224,7 +189233,7 @@ function WorkspaceSharingInfomation(props) {
|
|
|
189224
189233
|
})
|
|
189225
189234
|
}, {
|
|
189226
189235
|
fieldName: 'folderSourceDirectoryId',
|
|
189227
|
-
label: t('WorkspaceSharing.
|
|
189236
|
+
label: t('WorkspaceSharing.SourceDirectory'),
|
|
189228
189237
|
type: FIELD_TYPE.AUTOCOMPLETE,
|
|
189229
189238
|
isDirectory: true,
|
|
189230
189239
|
multiple: false,
|
|
@@ -1163,8 +1163,8 @@
|
|
|
1163
1163
|
"Create": "Add",
|
|
1164
1164
|
"AddALL": "Add all"
|
|
1165
1165
|
},
|
|
1166
|
-
"
|
|
1167
|
-
"
|
|
1166
|
+
"SharingKey": "Sharing Key",
|
|
1167
|
+
"SourceDirectory": "Source Directory"
|
|
1168
1168
|
},
|
|
1169
1169
|
"Language": {
|
|
1170
1170
|
"TranslateBy": "(Translate By {{author})",
|
|
@@ -1130,8 +1130,8 @@
|
|
|
1130
1130
|
"Create": "Tambah",
|
|
1131
1131
|
"AddALL": "Tambah Semua"
|
|
1132
1132
|
},
|
|
1133
|
-
"
|
|
1134
|
-
"
|
|
1133
|
+
"SharingKey": "Kunci Berbagi",
|
|
1134
|
+
"SourceDirectory": "Direktori Sumber"
|
|
1135
1135
|
},
|
|
1136
1136
|
"Language": {
|
|
1137
1137
|
"TranslateBy": "(Diterjemahkan oleh {{author})",
|
|
@@ -1130,8 +1130,8 @@
|
|
|
1130
1130
|
"Create": "追加",
|
|
1131
1131
|
"AddALL": "すべて追加"
|
|
1132
1132
|
},
|
|
1133
|
-
"
|
|
1134
|
-
"
|
|
1133
|
+
"SharingKey": "共有キー",
|
|
1134
|
+
"SourceDirectory": "ソースディレクトリ"
|
|
1135
1135
|
},
|
|
1136
1136
|
"Language": {
|
|
1137
1137
|
"TranslateBy": "(翻訳者 {{author})",
|
|
@@ -1130,8 +1130,8 @@
|
|
|
1130
1130
|
"Create": "เพิ่ม",
|
|
1131
1131
|
"AddALL": "เพิ่มทั้งหมด"
|
|
1132
1132
|
},
|
|
1133
|
-
"
|
|
1134
|
-
"
|
|
1133
|
+
"SharingKey": "คีย์การแชร์",
|
|
1134
|
+
"SourceDirectory": "ไดเรกทอรีต้นทาง"
|
|
1135
1135
|
},
|
|
1136
1136
|
"Language": {
|
|
1137
1137
|
"TranslateBy": "(แปลโดย {{author})",
|
|
@@ -1166,8 +1166,8 @@
|
|
|
1166
1166
|
"Create": "Thêm",
|
|
1167
1167
|
"AddALL": "Thêm tất cả"
|
|
1168
1168
|
},
|
|
1169
|
-
"
|
|
1170
|
-
"
|
|
1169
|
+
"SharingKey": "Mã chia sẻ",
|
|
1170
|
+
"SourceDirectory": "Thư mục nguồn"
|
|
1171
1171
|
},
|
|
1172
1172
|
"Language": {
|
|
1173
1173
|
"TranslateBy": "(Dịch bởi {{author}})",
|
package/dist/index.d.ts
CHANGED