@crystaldesign/diva-backoffice 25.13.0-beta.31 → 25.13.0-beta.32
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
|
@@ -67,6 +67,7 @@ import PieChartOutlined from '@ant-design/icons/PieChartOutlined';
|
|
|
67
67
|
import ClockCircleOutlined from '@ant-design/icons/ClockCircleOutlined';
|
|
68
68
|
import FileZipOutlined from '@ant-design/icons/FileZipOutlined';
|
|
69
69
|
import PlaySquareOutlined from '@ant-design/icons/PlaySquareOutlined';
|
|
70
|
+
import OpenAIOutlined from '@ant-design/icons/OpenAIOutlined';
|
|
70
71
|
import InfoCircleOutlined from '@ant-design/icons/InfoCircleOutlined';
|
|
71
72
|
import merge from 'lodash/merge';
|
|
72
73
|
import cloneDeep from 'lodash/cloneDeep';
|
|
@@ -4490,6 +4491,9 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
4490
4491
|
}, {
|
|
4491
4492
|
targetField: 'engine',
|
|
4492
4493
|
sourceField: 'engine'
|
|
4494
|
+
}, {
|
|
4495
|
+
targetField: 'model',
|
|
4496
|
+
sourceField: 'model'
|
|
4493
4497
|
}, {
|
|
4494
4498
|
targetField: 'type',
|
|
4495
4499
|
sourceField: 'type'
|
|
@@ -4532,6 +4536,12 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
4532
4536
|
sorter: 1,
|
|
4533
4537
|
filter: 'advanced',
|
|
4534
4538
|
width: 120
|
|
4539
|
+
}, {
|
|
4540
|
+
title: t('backoffice.table.prompts.columns.model'),
|
|
4541
|
+
field: 'model',
|
|
4542
|
+
sorter: 1,
|
|
4543
|
+
filter: 'advanced',
|
|
4544
|
+
width: 150
|
|
4535
4545
|
}, {
|
|
4536
4546
|
title: t('backoffice.table.prompts.columns.type'),
|
|
4537
4547
|
field: 'type',
|
|
@@ -7791,20 +7801,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
7791
7801
|
label: t('backoffice.table.prompts.columns.defaultPrompt'),
|
|
7792
7802
|
type: 'textarea',
|
|
7793
7803
|
required: true
|
|
7794
|
-
},
|
|
7795
|
-
// {
|
|
7796
|
-
// name: 'enhancements',
|
|
7797
|
-
// label: t('backoffice.table.prompts.columns.enhancements'),
|
|
7798
|
-
// type: 'array',
|
|
7799
|
-
// items: [
|
|
7800
|
-
// {
|
|
7801
|
-
// name: 'enhancement',
|
|
7802
|
-
// type: 'input',
|
|
7803
|
-
// label: t('backoffice.table.prompts.columns.enhancement'),
|
|
7804
|
-
// },
|
|
7805
|
-
// ],
|
|
7806
|
-
// },
|
|
7807
|
-
{
|
|
7804
|
+
}, {
|
|
7808
7805
|
name: 'cdnImageAdditions',
|
|
7809
7806
|
label: t('backoffice.table.prompts.columns.cdnImageAdditions'),
|
|
7810
7807
|
type: 'array',
|
|
@@ -7828,14 +7825,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
7828
7825
|
label: t('backoffice.table.prompts.columns.specificPromptText'),
|
|
7829
7826
|
required: true
|
|
7830
7827
|
}]
|
|
7831
|
-
},
|
|
7832
|
-
//{
|
|
7833
|
-
// name: 'analysisInstructions',
|
|
7834
|
-
// label: t('backoffice.table.prompts.columns.analysisInstructions'),
|
|
7835
|
-
// type: 'textarea',
|
|
7836
|
-
// required: true,
|
|
7837
|
-
//},
|
|
7838
|
-
{
|
|
7828
|
+
}, {
|
|
7839
7829
|
name: 'priority',
|
|
7840
7830
|
label: t('backoffice.table.prompts.columns.priority'),
|
|
7841
7831
|
type: 'number',
|
|
@@ -7848,6 +7838,12 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
7848
7838
|
values: ['openai', 'grok', 'gemini'],
|
|
7849
7839
|
mode: 'single',
|
|
7850
7840
|
required: true
|
|
7841
|
+
}, {
|
|
7842
|
+
name: 'model',
|
|
7843
|
+
label: t('backoffice.table.prompts.columns.model'),
|
|
7844
|
+
type: 'select',
|
|
7845
|
+
mode: 'single',
|
|
7846
|
+
values: ['dall-e-2', 'dall-e-3', 'gpt-image-1', 'gpt-image-1-mini', 'imagen-4.0-generate-001', 'gemini-2.5-flash-image']
|
|
7851
7847
|
}, {
|
|
7852
7848
|
name: 'type',
|
|
7853
7849
|
label: t('backoffice.table.prompts.columns.type'),
|
|
@@ -7931,6 +7927,11 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
7931
7927
|
values: ['openai', 'grok', 'gemini'],
|
|
7932
7928
|
mode: 'single',
|
|
7933
7929
|
readonly: true
|
|
7930
|
+
}, {
|
|
7931
|
+
name: 'model',
|
|
7932
|
+
label: t('backoffice.table.prompts.columns.model'),
|
|
7933
|
+
type: 'input',
|
|
7934
|
+
readonly: true
|
|
7934
7935
|
}, {
|
|
7935
7936
|
name: 'type',
|
|
7936
7937
|
label: t('backoffice.table.prompts.columns.type'),
|
|
@@ -14270,6 +14271,8 @@ function getIcon(icon) {
|
|
|
14270
14271
|
return /*#__PURE__*/jsx(TranslationOutlined, {});
|
|
14271
14272
|
case 'OrderedListOutlined':
|
|
14272
14273
|
return /*#__PURE__*/jsx(OrderedListOutlined, {});
|
|
14274
|
+
case 'OpenAIOutlined':
|
|
14275
|
+
return /*#__PURE__*/jsx(OpenAIOutlined, {});
|
|
14273
14276
|
case 'CommentOutlined':
|
|
14274
14277
|
return /*#__PURE__*/jsx(CommentOutlined, {});
|
|
14275
14278
|
case 'AlertOutlined':
|
|
@@ -15147,7 +15150,7 @@ var menu = [{
|
|
|
15147
15150
|
id: 'TablePrompts',
|
|
15148
15151
|
path: 'prompts',
|
|
15149
15152
|
label: 'backoffice.menu.items.label.Prompts',
|
|
15150
|
-
icon: '
|
|
15153
|
+
icon: 'OpenAIOutlined',
|
|
15151
15154
|
permission: 'backoffice_prompts'
|
|
15152
15155
|
}, {
|
|
15153
15156
|
id: 'idmTables',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIcons.d.ts","sourceRoot":"","sources":["../../../../../src/utils/getIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"getIcons.d.ts","sourceRoot":"","sources":["../../../../../src/utils/getIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,iCA4FpC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "25.13.0-beta.
|
|
3
|
+
"version": "25.13.0-beta.32",
|
|
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": "5.4.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "25.13.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "25.13.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "25.13.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "25.13.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "25.13.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "25.13.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "25.13.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "25.13.0-beta.32",
|
|
19
|
+
"@crystaldesign/content-item": "25.13.0-beta.32",
|
|
20
|
+
"@crystaldesign/diva-core": "25.13.0-beta.32",
|
|
21
|
+
"@crystaldesign/diva-utils": "25.13.0-beta.32",
|
|
22
|
+
"@crystaldesign/media-upload": "25.13.0-beta.32",
|
|
23
|
+
"@crystaldesign/rtf-editor": "25.13.0-beta.32",
|
|
24
|
+
"@crystaldesign/spreadsheet": "25.13.0-beta.32",
|
|
25
25
|
"@google/model-viewer": "3.5.0",
|
|
26
26
|
"ag-charts-community": "^10.1.0",
|
|
27
27
|
"ag-charts-react": "^10.1.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
},
|
|
52
52
|
"module": "build/esm/index.js",
|
|
53
53
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "eb49310c8b24a66c3cbfc5d94c4f058b6d5184c8"
|
|
55
55
|
}
|