@commercetools-frontend-extensions/export-resources-modal 3.4.3-next.2 → 3.5.0-next.4

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/README.md CHANGED
@@ -44,13 +44,12 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
44
44
  },
45
45
  { name: 'createdAt', label: 'Created at' },
46
46
  { name: 'lastModifiedAt', label: 'Last modified at' },
47
- { name: 'name', isLocalized: true, label: 'Name' },
47
+ { name: 'name', label: 'Name' },
48
48
  {
49
49
  name: 'parent',
50
50
  fields: [
51
51
  {
52
52
  name: 'name',
53
- isLocalized: true,
54
53
  label: 'Parent name',
55
54
  },
56
55
  {
@@ -86,7 +85,7 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
86
85
  type:{
87
86
  key: 'book-category-attributes',
88
87
  label: 'Book category attributes',
89
- }
88
+ },
90
89
  fields: [
91
90
  {
92
91
  name: 'genre',
@@ -129,13 +128,12 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
129
128
  },
130
129
  { name: 'createdAt', label: 'Created at' },
131
130
  { name: 'lastModifiedAt', label: 'Last modified at' },
132
- { name: 'name', isLocalized: true, label: 'Name' },
131
+ { name: 'name', label: 'Name' },
133
132
  {
134
133
  name: 'parent',
135
134
  fields: [
136
135
  {
137
136
  name: 'name',
138
- isLocalized: true,
139
137
  label: 'Parent name',
140
138
  },
141
139
  {
@@ -155,7 +153,7 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
155
153
  type:{
156
154
  key: 'general-category-attributes',
157
155
  label: 'General category attributes',
158
- }
156
+ },
159
157
  fields: [
160
158
  {
161
159
  name: 'season',
@@ -171,7 +169,7 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
171
169
  type:{
172
170
  key: 'book-category-attributes',
173
171
  label: 'Book category attributes',
174
- }
172
+ },
175
173
  fields: [
176
174
  {
177
175
  name: 'genre',
@@ -198,7 +196,7 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
198
196
  ## Properties
199
197
 
200
198
  | Props | Type | Required | Default | Description |
201
- | ------------------------------- | ------------------------------------------------------- | :--------------------------------------------------: | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
199
+ | ------------------------------- | ------------------------------------------------------- | :--------------------------------------------------: | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |
202
200
  | `isOpen` | `boolean` | | `false` | Controls whether the export modal is open or closed |
203
201
  | `outputFormat` | `string`<br/>Possible values: `csv`, `json` | | `csv` | The file format to export |
204
202
  | `onExportSuccess` | `function` | | | Callback function that is called when the export operation is successful |
@@ -211,8 +209,7 @@ import { ExportResourcesModal } from '@commercetools-frontend-extensions/export-
211
209
  | `fields[].name` | `string` | ✅ | | A string that represents the unique identifier for each field |
212
210
  | `fields[].label` | `string` | ✅ | | The label of the field to be shown in the export modal |
213
211
  | `fields[].isRequired` | `boolean` | | `false` | `isRequired` field indicates whether a field is required for the export process. If `true` the field will be selected by default and cannot be deselected by the user. This is useful for fields that are essential for the export process. Fields marked as required will have a `*` appended to their label in the UI |
214
- | `fields[].isSelectedByDefault` | `boolean` | | `true` | This field is a part of the `fields` array is used to control the default state of the corresponding checkbox in the UI. If `isSelectedByDefault` is set to true, the checkbox for that particular field will be checked by default when the component loads. The default value of this attribute is `true` which means unless explicitly set to `false`, the checkbox for the field will be checked on initial load. |
215
- | `fields[].isLocalized` | `boolean` | | `false` | The field is a localized field |
212
+ | `fields[].isSelectedByDefault` | `boolean` | | `true` | This field is a part of the `fields` array is used to control the default state of the corresponding checkbox in the UI. If `isSelectedByDefault` is set to true, the checkbox for that particular field will be checked by default when the component loads. The default value of this attribute is `true` which means unless explicitly set to `false`, the checkbox for the field will be checked on initial load. | |
216
213
  | `customFields` | `array` | | | Array of objects, each representing a group of custom fields defined under a specific type. |
217
214
  | `customFields[].type` | `string` | | | The type object. |
218
215
  | `customFields[].type.key` | `string` | | | The unique identifier for the type. |