@crystaldesign/diva-backoffice 26.4.0-beta.25 → 26.4.0-beta.27

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.
@@ -1833,6 +1833,22 @@ var promptAndAiTesterOptions = {
1833
1833
  label: '5504x3072',
1834
1834
  apiValue: '5504x3072',
1835
1835
  displayLabel: '5504x3072 (16:9)'
1836
+ }, {
1837
+ label: '384x688',
1838
+ apiValue: '384x688',
1839
+ displayLabel: '384x688 (9:16)'
1840
+ }, {
1841
+ label: '768x1376',
1842
+ apiValue: '768x1376',
1843
+ displayLabel: '768x1376 (9:16)'
1844
+ }, {
1845
+ label: '1536x2752',
1846
+ apiValue: '1536x2752',
1847
+ displayLabel: '1536x2752 (9:16)'
1848
+ }, {
1849
+ label: '3072x5504',
1850
+ apiValue: '3072x5504',
1851
+ displayLabel: '3072x5504 (9:16)'
1836
1852
  }, {
1837
1853
  label: '792x168',
1838
1854
  apiValue: '792x168',
@@ -8232,7 +8248,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
8232
8248
  functionType: 'RPI'
8233
8249
  }, {
8234
8250
  name: 'excludeOrganizations',
8235
- label: t('backoffice.form.createclientrelation.CE'),
8251
+ label: t('backoffice.table.promps.columns.excludeOrganizations'),
8236
8252
  type: 'select',
8237
8253
  mode: 'multiple',
8238
8254
  required: false,
@@ -42308,7 +42324,7 @@ var Items$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
42308
42324
  cellDataType: 'lookup',
42309
42325
  customParams: {
42310
42326
  apiInterface: {
42311
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists'
42327
+ read: apiConfig.idmService + '/catalogs/${catalogId}/partlists'
42312
42328
  },
42313
42329
  lookupKey: 'partlistKey'
42314
42330
  }
@@ -45178,11 +45194,11 @@ function PartlistPos(_ref) {
45178
45194
  }, [catalog, partlist, organizationId]);
45179
45195
  var apiInterface = useMemo(function () {
45180
45196
  return {
45181
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
45182
- create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
45183
- restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
45184
- "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos/${_id}',
45185
- update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos/${_id}'
45197
+ read: apiConfig.idmService + '/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
45198
+ create: apiConfig.idmService + '/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
45199
+ restore: apiConfig.idmService + '/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
45200
+ "delete": apiConfig.idmService + '/catalogs/${catalogId}/partlists/${partlistId}/partlistpos/${_id}',
45201
+ update: apiConfig.idmService + '/catalogs/${catalogId}/partlists/${partlistId}/partlistpos/${_id}'
45186
45202
  };
45187
45203
  }, []);
45188
45204
  var configuration = useMemo(function () {
@@ -45206,7 +45222,7 @@ function PartlistPos(_ref) {
45206
45222
  nameField: 'itemRefSerieNoDisplayText',
45207
45223
  displayLabelTemplate: '${name} (${value})',
45208
45224
  apiInterface: {
45209
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series'
45225
+ read: apiConfig.idmService + '/catalogs/${catalogId}/series'
45210
45226
  },
45211
45227
  lookupValue: 'seriesName',
45212
45228
  lookupKey: 'serieNo',
@@ -45232,7 +45248,7 @@ function PartlistPos(_ref) {
45232
45248
  nameField: 'itemRefTypeNoDisplayText',
45233
45249
  displayLabelTemplate: '${name} (${value})',
45234
45250
  apiInterface: {
45235
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/${itemRefSerieId}/items'
45251
+ read: apiConfig.idmService + '/catalogs/${catalogId}/series/${itemRefSerieId}/items'
45236
45252
  },
45237
45253
  lookupValue: 'shortText',
45238
45254
  lookupKey: 'typeNo',
@@ -45256,7 +45272,7 @@ function PartlistPos(_ref) {
45256
45272
  nameField: 'decisionRefsDisplayTexts',
45257
45273
  displayLabelTemplate: '${name} (${value})',
45258
45274
  apiInterface: {
45259
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
45275
+ read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
45260
45276
  },
45261
45277
  lookupValue: 'decisionText',
45262
45278
  lookupKey: 'decisionNo',
@@ -45279,7 +45295,7 @@ function PartlistPos(_ref) {
45279
45295
  nameField: 'decisionPosCountDisplayText',
45280
45296
  displayLabelTemplate: '${name} (${value})',
45281
45297
  apiInterface: {
45282
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
45298
+ read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
45283
45299
  },
45284
45300
  lookupValue: 'decisionText',
45285
45301
  lookupKey: 'decisionNo',
@@ -45365,7 +45381,7 @@ function PartlistPos(_ref) {
45365
45381
  buttonIcon: /*#__PURE__*/jsx(DownloadOutlined$1, {}),
45366
45382
  buttonText: t('backoffice.idmEnricher.importexcel.label'),
45367
45383
  modalTitle: t('backoffice.idmEnricher.importexcel.label'),
45368
- endpoint: "".concat(apiConfig.idmService, "/v3.0/catalogs/").concat(catalog._id, "/partlists/").concat(partlist._id, "/partlistpos/bulk/excel"),
45384
+ endpoint: "".concat(apiConfig.idmService, "/catalogs/").concat(catalog._id, "/partlists/").concat(partlist._id, "/partlistpos/bulk/excel"),
45369
45385
  authToken: jwt,
45370
45386
  acceptedFileTypes: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
45371
45387
  uploadHint: t('backoffice.idmEnricher.importexcel.uploadhint'),
@@ -45452,12 +45468,12 @@ var TablePartlists = observer(function () {
45452
45468
  }, []);
45453
45469
  var apiInterface = useMemo(function () {
45454
45470
  return {
45455
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists',
45456
- create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists',
45457
- restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${_id}',
45458
- "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${_id}',
45459
- update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${_id}',
45460
- bulk: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/bulk'
45471
+ read: apiConfig.idmService + '/catalogs/${catalogId}/partlists',
45472
+ create: apiConfig.idmService + '/catalogs/${catalogId}/partlists',
45473
+ restore: apiConfig.idmService + '/catalogs/${catalogId}/partlists/${_id}',
45474
+ "delete": apiConfig.idmService + '/catalogs/${catalogId}/partlists/${_id}',
45475
+ update: apiConfig.idmService + '/catalogs/${catalogId}/partlists/${_id}',
45476
+ bulk: apiConfig.idmService + '/catalogs/${catalogId}/partlists/bulk'
45461
45477
  };
45462
45478
  }, []);
45463
45479
  var configuration = useMemo(function () {
@@ -52146,6 +52162,7 @@ function GalleryFullscreenContent(_ref) {
52146
52162
  _useState4 = _slicedToArray(_useState3, 2),
52147
52163
  browserFullscreen = _useState4[0],
52148
52164
  setBrowserFullscreen = _useState4[1];
52165
+ var isDark = document.body.classList.contains('darkmode');
52149
52166
  useEffect(function () {
52150
52167
  var onFs = function onFs() {
52151
52168
  return setBrowserFullscreen(!!document.fullscreenElement);
@@ -52222,8 +52239,8 @@ function GalleryFullscreenContent(_ref) {
52222
52239
  height: '100%',
52223
52240
  padding: 24,
52224
52241
  boxSizing: 'border-box',
52225
- background: '#0a0a0a',
52226
- color: '#e8e8e8'
52242
+ background: isDark ? '#0a0a0a' : '#fff',
52243
+ color: isDark ? '#e8e8e8' : '#1a1a1a'
52227
52244
  },
52228
52245
  children: [/*#__PURE__*/jsx("div", {
52229
52246
  ref: imageColumnRef,
@@ -52234,7 +52251,7 @@ function GalleryFullscreenContent(_ref) {
52234
52251
  display: 'flex',
52235
52252
  flexDirection: 'column',
52236
52253
  position: 'relative',
52237
- background: '#000',
52254
+ background: isDark ? '#000' : '#f0f0f0',
52238
52255
  borderRadius: 8,
52239
52256
  overflow: 'hidden'
52240
52257
  },
@@ -52282,7 +52299,7 @@ function GalleryFullscreenContent(_ref) {
52282
52299
  maxWidth: 520,
52283
52300
  minWidth: 180,
52284
52301
  minHeight: 0,
52285
- borderLeft: '1px solid #333',
52302
+ borderLeft: isDark ? '1px solid #333' : '1px solid #e0e0e0',
52286
52303
  paddingLeft: 24,
52287
52304
  boxSizing: 'border-box',
52288
52305
  display: 'flex',
@@ -52293,7 +52310,7 @@ function GalleryFullscreenContent(_ref) {
52293
52310
  children: [/*#__PURE__*/jsx("div", {
52294
52311
  style: {
52295
52312
  fontWeight: 600,
52296
- color: '#9a9a9a',
52313
+ color: isDark ? '#9a9a9a' : '#666',
52297
52314
  fontSize: 12,
52298
52315
  letterSpacing: '0.04em',
52299
52316
  textTransform: 'uppercase',
@@ -52312,7 +52329,7 @@ function GalleryFullscreenContent(_ref) {
52312
52329
  width: '100%',
52313
52330
  marginBottom: 14,
52314
52331
  paddingBottom: 14,
52315
- borderBottom: '1px solid #333',
52332
+ borderBottom: isDark ? '1px solid #333' : '1px solid #e0e0e0',
52316
52333
  boxSizing: 'border-box'
52317
52334
  },
52318
52335
  children: [/*#__PURE__*/jsx(Button$1, {
@@ -52323,7 +52340,7 @@ function GalleryFullscreenContent(_ref) {
52323
52340
  return void copyPrompt();
52324
52341
  },
52325
52342
  style: {
52326
- color: '#91caff',
52343
+ color: isDark ? '#91caff' : '#1677ff',
52327
52344
  paddingInline: 4
52328
52345
  },
52329
52346
  children: t('backoffice.tools.aiPromptImageTester.copyPrompt')
@@ -52335,7 +52352,7 @@ function GalleryFullscreenContent(_ref) {
52335
52352
  return downloadDataUrlImage(current.imageUrl, current.createdAt);
52336
52353
  },
52337
52354
  style: {
52338
- color: '#91caff',
52355
+ color: isDark ? '#91caff' : '#1677ff',
52339
52356
  paddingInline: 4
52340
52357
  },
52341
52358
  children: t('backoffice.tools.aiPromptImageTester.downloadImage')
@@ -52347,7 +52364,7 @@ function GalleryFullscreenContent(_ref) {
52347
52364
  return void toggleBrowserFullscreen();
52348
52365
  },
52349
52366
  style: {
52350
- color: '#91caff',
52367
+ color: isDark ? '#91caff' : '#1677ff',
52351
52368
  paddingInline: 4
52352
52369
  },
52353
52370
  children: browserFullscreen ? t('backoffice.tools.aiPromptImageTester.browserFullscreenExit') : t('backoffice.tools.aiPromptImageTester.fullscreen')
@@ -1 +1 @@
1
- {"version":3,"file":"promptTesterOptions.d.ts","sourceRoot":"","sources":["../../../../../src/config/promptTesterOptions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;CAwC7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"promptTesterOptions.d.ts","sourceRoot":"","sources":["../../../../../src/config/promptTesterOptions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;CA4C7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryFullscreenContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/GalleryFullscreenContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,OAAO,YAAY,CAAC;AACpB,OAAO,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,wBAAgB,wBAAwB,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,EAAE,sBAAsB,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,4BAkM5H"}
1
+ {"version":3,"file":"GalleryFullscreenContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/GalleryFullscreenContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,OAAO,YAAY,CAAC;AACpB,OAAO,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,wBAAgB,wBAAwB,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;IAAE,MAAM,EAAE,sBAAsB,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,4BAmM5H"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.4.0-beta.25",
3
+ "version": "26.4.0-beta.27",
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": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.4.0-beta.25",
19
- "@crystaldesign/content-item": "26.4.0-beta.25",
20
- "@crystaldesign/diva-core": "26.4.0-beta.25",
21
- "@crystaldesign/diva-utils": "26.4.0-beta.25",
22
- "@crystaldesign/media-upload": "26.4.0-beta.25",
23
- "@crystaldesign/rtf-editor": "26.4.0-beta.25",
24
- "@crystaldesign/spreadsheet": "26.4.0-beta.25",
18
+ "@crystaldesign/content-box": "26.4.0-beta.27",
19
+ "@crystaldesign/content-item": "26.4.0-beta.27",
20
+ "@crystaldesign/diva-core": "26.4.0-beta.27",
21
+ "@crystaldesign/diva-utils": "26.4.0-beta.27",
22
+ "@crystaldesign/media-upload": "26.4.0-beta.27",
23
+ "@crystaldesign/rtf-editor": "26.4.0-beta.27",
24
+ "@crystaldesign/spreadsheet": "26.4.0-beta.27",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -52,5 +52,5 @@
52
52
  },
53
53
  "module": "build/esm/index.js",
54
54
  "types": "./build/types/backoffice/src/index.d.ts",
55
- "gitHead": "284b01ff4252d7f6d36c3b2eeb07e59982ec03c7"
55
+ "gitHead": "18ba76f933bc9f2e88689bdb2d27ecb3ef841179"
56
56
  }