@crystaldesign/diva-backoffice 25.13.0-beta.31 → 25.13.0-beta.33

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.
@@ -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',
@@ -4544,6 +4554,13 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
4544
4554
  type: 'media',
4545
4555
  width: 100,
4546
4556
  align: 'center'
4557
+ }, {
4558
+ title: t('backoffice.table.prompts.columns.archived'),
4559
+ field: 'archived',
4560
+ sorter: 1,
4561
+ filter: 'advanced',
4562
+ type: 'boolean',
4563
+ width: 140
4547
4564
  }, {
4548
4565
  title: t('backoffice.table.prompts.columns.defaultPrompt'),
4549
4566
  field: 'defaultPrompt',
@@ -7791,20 +7808,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
7791
7808
  label: t('backoffice.table.prompts.columns.defaultPrompt'),
7792
7809
  type: 'textarea',
7793
7810
  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
- {
7811
+ }, {
7808
7812
  name: 'cdnImageAdditions',
7809
7813
  label: t('backoffice.table.prompts.columns.cdnImageAdditions'),
7810
7814
  type: 'array',
@@ -7828,14 +7832,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
7828
7832
  label: t('backoffice.table.prompts.columns.specificPromptText'),
7829
7833
  required: true
7830
7834
  }]
7831
- },
7832
- //{
7833
- // name: 'analysisInstructions',
7834
- // label: t('backoffice.table.prompts.columns.analysisInstructions'),
7835
- // type: 'textarea',
7836
- // required: true,
7837
- //},
7838
- {
7835
+ }, {
7839
7836
  name: 'priority',
7840
7837
  label: t('backoffice.table.prompts.columns.priority'),
7841
7838
  type: 'number',
@@ -7848,6 +7845,12 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
7848
7845
  values: ['openai', 'grok', 'gemini'],
7849
7846
  mode: 'single',
7850
7847
  required: true
7848
+ }, {
7849
+ name: 'model',
7850
+ label: t('backoffice.table.prompts.columns.model'),
7851
+ type: 'select',
7852
+ mode: 'single',
7853
+ 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
7854
  }, {
7852
7855
  name: 'type',
7853
7856
  label: t('backoffice.table.prompts.columns.type'),
@@ -7869,6 +7872,11 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
7869
7872
  label: t('backoffice.table.prompts.columns.isGlobal'),
7870
7873
  type: 'checkbox',
7871
7874
  defaultValue: false
7875
+ }, {
7876
+ name: 'archived',
7877
+ label: t('backoffice.table.prompts.columns.archived'),
7878
+ type: 'checkbox',
7879
+ defaultValue: false
7872
7880
  }, {
7873
7881
  name: 'organizationId',
7874
7882
  hidden: true
@@ -7931,6 +7939,11 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
7931
7939
  values: ['openai', 'grok', 'gemini'],
7932
7940
  mode: 'single',
7933
7941
  readonly: true
7942
+ }, {
7943
+ name: 'model',
7944
+ label: t('backoffice.table.prompts.columns.model'),
7945
+ type: 'input',
7946
+ readonly: true
7934
7947
  }, {
7935
7948
  name: 'type',
7936
7949
  label: t('backoffice.table.prompts.columns.type'),
@@ -7953,6 +7966,11 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
7953
7966
  label: t('backoffice.table.prompts.columns.isGlobal'),
7954
7967
  type: 'checkbox',
7955
7968
  readonly: true
7969
+ }, {
7970
+ name: 'archived',
7971
+ label: t('backoffice.table.prompts.columns.archived'),
7972
+ type: 'checkbox',
7973
+ readonly: true
7956
7974
  }, {
7957
7975
  name: 'organizationId',
7958
7976
  hidden: true
@@ -14270,6 +14288,8 @@ function getIcon(icon) {
14270
14288
  return /*#__PURE__*/jsx(TranslationOutlined, {});
14271
14289
  case 'OrderedListOutlined':
14272
14290
  return /*#__PURE__*/jsx(OrderedListOutlined, {});
14291
+ case 'OpenAIOutlined':
14292
+ return /*#__PURE__*/jsx(OpenAIOutlined, {});
14273
14293
  case 'CommentOutlined':
14274
14294
  return /*#__PURE__*/jsx(CommentOutlined, {});
14275
14295
  case 'AlertOutlined':
@@ -15147,7 +15167,7 @@ var menu = [{
15147
15167
  id: 'TablePrompts',
15148
15168
  path: 'prompts',
15149
15169
  label: 'backoffice.menu.items.label.Prompts',
15150
- icon: 'RobotOutlined',
15170
+ icon: 'OpenAIOutlined',
15151
15171
  permission: 'backoffice_prompts'
15152
15172
  }, {
15153
15173
  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;AA4C1B,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,iCA0FpC"}
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.31",
3
+ "version": "25.13.0-beta.33",
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.31",
19
- "@crystaldesign/content-item": "25.13.0-beta.31",
20
- "@crystaldesign/diva-core": "25.13.0-beta.31",
21
- "@crystaldesign/diva-utils": "25.13.0-beta.31",
22
- "@crystaldesign/media-upload": "25.13.0-beta.31",
23
- "@crystaldesign/rtf-editor": "25.13.0-beta.31",
24
- "@crystaldesign/spreadsheet": "25.13.0-beta.31",
18
+ "@crystaldesign/content-box": "25.13.0-beta.33",
19
+ "@crystaldesign/content-item": "25.13.0-beta.33",
20
+ "@crystaldesign/diva-core": "25.13.0-beta.33",
21
+ "@crystaldesign/diva-utils": "25.13.0-beta.33",
22
+ "@crystaldesign/media-upload": "25.13.0-beta.33",
23
+ "@crystaldesign/rtf-editor": "25.13.0-beta.33",
24
+ "@crystaldesign/spreadsheet": "25.13.0-beta.33",
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": "537cce12c9781b1d533749222fefd3d74adafbf4"
54
+ "gitHead": "fdeeb53296e86331551f04b8da8315de1e8c615a"
55
55
  }