@crystaldesign/diva-backoffice 25.4.0-beta.36 → 25.4.0-beta.37
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/esm/index.js
CHANGED
|
@@ -7131,7 +7131,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
7131
7131
|
type: 'select',
|
|
7132
7132
|
search: true,
|
|
7133
7133
|
apiInterface: {
|
|
7134
|
-
read: '${mediaService}/rooms'
|
|
7134
|
+
read: '${mediaService}/rooms?limit=1000'
|
|
7135
7135
|
},
|
|
7136
7136
|
selectMapping: {
|
|
7137
7137
|
label: '${_id} ${name}',
|
|
@@ -27276,12 +27276,6 @@ function useTableData (_ref) {
|
|
|
27276
27276
|
if (configuration.deselectOnUpdate == false) {
|
|
27277
27277
|
selected = state.selected;
|
|
27278
27278
|
}
|
|
27279
|
-
var pagination = undefined;
|
|
27280
|
-
if (state.pagination.total !== state.data.length + dataArray.length) {
|
|
27281
|
-
pagination = _objectSpread$q(_objectSpread$q({}, state.pagination), {}, {
|
|
27282
|
-
total: state.data.length + dataArray.length
|
|
27283
|
-
});
|
|
27284
|
-
}
|
|
27285
27279
|
for (var i = 0; i < dataArray.length; i++) {
|
|
27286
27280
|
var dataRow = dataArray[i];
|
|
27287
27281
|
if (filterServerSide) {
|
|
@@ -27289,14 +27283,12 @@ function useTableData (_ref) {
|
|
|
27289
27283
|
if ((_configuration$filter5 = configuration.filter) !== null && _configuration$filter5 !== void 0 && (_configuration$filter5 = _configuration$filter5.select) !== null && _configuration$filter5 !== void 0 && _configuration$filter5.filterField) {
|
|
27290
27284
|
onGlobalFilterSelect(dataRow[configuration.filter.select.filterField]);
|
|
27291
27285
|
} else {
|
|
27292
|
-
var _pagination;
|
|
27293
27286
|
var _updateData = updateData({
|
|
27294
27287
|
data: newState.data,
|
|
27295
27288
|
dataRow: dataRow
|
|
27296
27289
|
}),
|
|
27297
27290
|
_data = _updateData.data;
|
|
27298
27291
|
newState = _objectSpread$q(_objectSpread$q({}, newState), {}, {
|
|
27299
|
-
pagination: (_pagination = pagination) !== null && _pagination !== void 0 ? _pagination : newState.pagination,
|
|
27300
27292
|
data: _data,
|
|
27301
27293
|
selected: selected
|
|
27302
27294
|
});
|
|
@@ -27317,10 +27309,10 @@ function useTableData (_ref) {
|
|
|
27317
27309
|
filterServerSide: filterServerSide
|
|
27318
27310
|
})),
|
|
27319
27311
|
_data2 = _applyFilterAndSortat.data,
|
|
27320
|
-
|
|
27312
|
+
pagination = _applyFilterAndSortat.pagination;
|
|
27321
27313
|
newInitData = nextInitData;
|
|
27322
27314
|
newState = _objectSpread$q(_objectSpread$q({}, newState), {}, {
|
|
27323
|
-
pagination:
|
|
27315
|
+
pagination: pagination,
|
|
27324
27316
|
data: _data2,
|
|
27325
27317
|
selected: selected
|
|
27326
27318
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/StandardTable/useTableData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,EAAc,UAAU,EAA8B,MAAM,UAAU,CAAC;AAuBzG,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/StandardTable/useTableData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,EAAc,UAAU,EAA8B,MAAM,UAAU,CAAC;AAuBzG,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,CA8jBzF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "25.4.0-beta.
|
|
3
|
+
"version": "25.4.0-beta.37",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons": "5.4.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "25.4.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "25.4.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "25.4.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "25.4.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "25.4.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "25.4.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "25.4.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "25.4.0-beta.37",
|
|
19
|
+
"@crystaldesign/content-item": "25.4.0-beta.37",
|
|
20
|
+
"@crystaldesign/diva-core": "25.4.0-beta.37",
|
|
21
|
+
"@crystaldesign/diva-utils": "25.4.0-beta.37",
|
|
22
|
+
"@crystaldesign/media-upload": "25.4.0-beta.37",
|
|
23
|
+
"@crystaldesign/rtf-editor": "25.4.0-beta.37",
|
|
24
|
+
"@crystaldesign/spreadsheet": "25.4.0-beta.37",
|
|
25
25
|
"@google/model-viewer": "3.5.0",
|
|
26
26
|
"ag-charts-community": "^10.1.0",
|
|
27
27
|
"ag-charts-react": "^10.1.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
},
|
|
52
52
|
"module": "build/esm/index.js",
|
|
53
53
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "7777de4d951b132cee9d5f551591471ea5e2eff4"
|
|
55
55
|
}
|