@crystaldesign/diva-backoffice 26.4.0-beta.26 → 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,
@@ -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.26",
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.26",
19
- "@crystaldesign/content-item": "26.4.0-beta.26",
20
- "@crystaldesign/diva-core": "26.4.0-beta.26",
21
- "@crystaldesign/diva-utils": "26.4.0-beta.26",
22
- "@crystaldesign/media-upload": "26.4.0-beta.26",
23
- "@crystaldesign/rtf-editor": "26.4.0-beta.26",
24
- "@crystaldesign/spreadsheet": "26.4.0-beta.26",
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": "f2c0aee80adbf2c369449ae1b6328f7d31f81010"
55
+ "gitHead": "18ba76f933bc9f2e88689bdb2d27ecb3ef841179"
56
56
  }