identity-admin 1.18.0 → 1.19.0

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.
@@ -79,6 +79,9 @@ class ResourceGenerator {
79
79
  if (!resource.filterProperties) {
80
80
  modifiedResource.filterProperties = modifiedFilterProperties;
81
81
  }
82
+ if (!resource.quickFilterProperties) {
83
+ modifiedResource.quickFilterProperties = [];
84
+ }
82
85
  if (!resource.listProperties) {
83
86
  modifiedResource.listProperties = ResourceHelper_1.default.exchangeFirstFieldWithTitle(JSON.parse(JSON.stringify(modifiedListProperties)), title);
84
87
  }
@@ -98,6 +101,7 @@ class ResourceGenerator {
98
101
  modifiedResource.listProperties = ResourceHelper_1.default.prepareProperties(resource.listProperties ? resource.listProperties : modifiedResource.listProperties, modelName, modifiedResource.properties.model, resource);
99
102
  modifiedResource.showProperties = ResourceHelper_1.default.prepareProperties(resource.showProperties ? resource.showProperties : modifiedResource.showProperties, modelName, modifiedResource.properties.model, resource);
100
103
  modifiedResource.filterProperties = ResourceHelper_1.default.prepareFilterProperties(modifiedResource.filterProperties, modifiedResource.properties.model);
104
+ modifiedResource.quickFilterProperties = ResourceHelper_1.default.prepareFilterProperties(modifiedResource.quickFilterProperties, modifiedResource.properties.model);
101
105
  modifiedResource.properties.filters = ResourceHelper_1.default.getFilters(resource.properties.filters ? JSON.parse(JSON.stringify(resource.properties.filters)) : undefined);
102
106
  if (modifiedResource.properties.filters && modifiedResource.properties.filters.scopes && modifiedResource.properties.filters.scopes.isAccessible) {
103
107
  const options = ((_b = (_a = resource.properties.filters) === null || _a === void 0 ? void 0 : _a.scopes) === null || _b === void 0 ? void 0 : _b.auto) ? (_d = (_c = resource.properties.filters) === null || _c === void 0 ? void 0 : _c.scopes) === null || _d === void 0 ? void 0 : _d.auto.options : (_g = (_f = (_e = resource.properties.filters) === null || _e === void 0 ? void 0 : _e.scopes) === null || _f === void 0 ? void 0 : _f.manual) === null || _g === void 0 ? void 0 : _g.options;
@@ -324,6 +324,11 @@ interface ExtraAction {
324
324
  * @default 'success'
325
325
  */
326
326
  severity?: Severity;
327
+ /**
328
+ * Specify if you need the dialog to be in full screen or not. Used only in case of custom component strategy
329
+ * @default 'false'
330
+ */
331
+ fullScreen?: boolean;
327
332
  /**
328
333
  * @returns boolean value.
329
334
  * This value Specifies to which records should this action appears.
@@ -469,5 +474,10 @@ export interface IResourceFile {
469
474
  * @default 'The whole fields'
470
475
  */
471
476
  filterProperties?: string[];
477
+ /**
478
+ * Array of properties that should be appeared in the quick filters.
479
+ * @default 'Empty array'
480
+ */
481
+ quickFilterProperties?: string[];
472
482
  }
473
483
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "",
5
5
  "main": "lib/Dashboard.js",
6
6
  "types": "lib/Dashbord.d.ts",