@crystaldesign/diva-backoffice 24.5.0-beta.2 → 24.5.0-beta.21
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
|
@@ -22,7 +22,7 @@ import { toJS, makeAutoObservable, observable, action, makeObservable } from 'mo
|
|
|
22
22
|
import merge from 'deepmerge';
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
24
|
import FileExcelOutlined from '@ant-design/icons/FileExcelOutlined';
|
|
25
|
-
import { DownloadOutlined, FullscreenOutlined, FileUnknownOutlined, PlusCircleOutlined as PlusCircleOutlined$1, MinusCircleOutlined, HomeOutlined as HomeOutlined$1, InboxOutlined, PlusSquareOutlined, DeleteOutlined as DeleteOutlined$1 } from '@ant-design/icons';
|
|
25
|
+
import { DownloadOutlined, FullscreenOutlined, FileUnknownOutlined, CloseOutlined as CloseOutlined$1, PlusCircleOutlined as PlusCircleOutlined$1, MinusCircleOutlined, HomeOutlined as HomeOutlined$1, InboxOutlined, PlusSquareOutlined, DeleteOutlined as DeleteOutlined$1 } from '@ant-design/icons';
|
|
26
26
|
import AssetEditor from '@crystaldesign/media-upload';
|
|
27
27
|
import debounce from 'lodash/debounce';
|
|
28
28
|
import { isArray } from 'lodash';
|
|
@@ -5609,7 +5609,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
5609
5609
|
field: 'lastUpdated',
|
|
5610
5610
|
type: 'unixTimeStamp',
|
|
5611
5611
|
defaultSortOrder: 'descend',
|
|
5612
|
-
sorter:
|
|
5612
|
+
sorter: 3,
|
|
5613
5613
|
filter: 'advanced',
|
|
5614
5614
|
width: 100
|
|
5615
5615
|
}, {
|
|
@@ -5659,6 +5659,11 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
5659
5659
|
type: 'JsonEditor',
|
|
5660
5660
|
title: t('backoffice.table.emailtemplates.createAction.title')
|
|
5661
5661
|
},
|
|
5662
|
+
filter: {
|
|
5663
|
+
search: {
|
|
5664
|
+
fields: [['_id', 'eq'], 'variant', 'organizations', 'kind', 'subject']
|
|
5665
|
+
}
|
|
5666
|
+
},
|
|
5662
5667
|
rowAction: [{
|
|
5663
5668
|
actionType: 'Detail',
|
|
5664
5669
|
id: 'JsonEditorUpdateEmailTemplates',
|
|
@@ -19179,13 +19184,16 @@ var multiSelectProps = function multiSelectProps(title, filter) {
|
|
|
19179
19184
|
var selKeys = [].concat(filterValues, ['in']);
|
|
19180
19185
|
setSelectedKeys(selKeys.length ? selKeys : []);
|
|
19181
19186
|
};
|
|
19182
|
-
return /*#__PURE__*/
|
|
19187
|
+
return /*#__PURE__*/jsxs("div", {
|
|
19183
19188
|
style: {
|
|
19184
|
-
padding: 8
|
|
19189
|
+
padding: 8,
|
|
19190
|
+
display: 'flex',
|
|
19191
|
+
gap: 5,
|
|
19192
|
+
alignItems: 'flex-start'
|
|
19185
19193
|
},
|
|
19186
|
-
children: /*#__PURE__*/
|
|
19194
|
+
children: [/*#__PURE__*/jsx(Space, {
|
|
19187
19195
|
direction: "vertical",
|
|
19188
|
-
children:
|
|
19196
|
+
children: /*#__PURE__*/jsx(Select$2, {
|
|
19189
19197
|
mode: "multiple",
|
|
19190
19198
|
allowClear: true,
|
|
19191
19199
|
value: displayselectedValues,
|
|
@@ -19195,32 +19203,33 @@ var multiSelectProps = function multiSelectProps(title, filter) {
|
|
|
19195
19203
|
defaultValue: [],
|
|
19196
19204
|
onChange: handleChange,
|
|
19197
19205
|
options: options
|
|
19198
|
-
})
|
|
19199
|
-
|
|
19200
|
-
|
|
19201
|
-
|
|
19202
|
-
|
|
19203
|
-
|
|
19204
|
-
|
|
19205
|
-
|
|
19206
|
-
|
|
19207
|
-
|
|
19208
|
-
|
|
19209
|
-
|
|
19210
|
-
}
|
|
19211
|
-
|
|
19212
|
-
|
|
19213
|
-
|
|
19214
|
-
|
|
19215
|
-
|
|
19216
|
-
|
|
19217
|
-
|
|
19218
|
-
|
|
19219
|
-
|
|
19220
|
-
|
|
19221
|
-
|
|
19206
|
+
})
|
|
19207
|
+
}), /*#__PURE__*/jsxs(Space, {
|
|
19208
|
+
children: [/*#__PURE__*/jsx(Button, {
|
|
19209
|
+
type: "primary",
|
|
19210
|
+
onClick: function onClick() {
|
|
19211
|
+
return confirm();
|
|
19212
|
+
},
|
|
19213
|
+
icon: /*#__PURE__*/jsx(SearchOutlined, {}),
|
|
19214
|
+
size: "small",
|
|
19215
|
+
style: {
|
|
19216
|
+
width: 30,
|
|
19217
|
+
height: 30
|
|
19218
|
+
}
|
|
19219
|
+
}), /*#__PURE__*/jsx(Button, {
|
|
19220
|
+
onClick: function onClick() {
|
|
19221
|
+
setDisplaySelectedvalues([]);
|
|
19222
|
+
clearFilters === null || clearFilters === void 0 || clearFilters();
|
|
19223
|
+
confirm();
|
|
19224
|
+
},
|
|
19225
|
+
size: "small",
|
|
19226
|
+
icon: /*#__PURE__*/jsx(CloseOutlined$1, {}),
|
|
19227
|
+
style: {
|
|
19228
|
+
width: 30,
|
|
19229
|
+
height: 30
|
|
19230
|
+
}
|
|
19222
19231
|
})]
|
|
19223
|
-
})
|
|
19232
|
+
})]
|
|
19224
19233
|
});
|
|
19225
19234
|
}
|
|
19226
19235
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getColumnFilterProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/getColumnFilterProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"getColumnFilterProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/getColumnFilterProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,MAwBjD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.5.0-beta.
|
|
3
|
+
"version": "24.5.0-beta.21",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"module": "build/esm/index.js",
|
|
52
52
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "692b6e5679108554e3e9f1bb50e583f7d2984385"
|
|
54
54
|
}
|