@crystaldesign/diva-backoffice 25.8.0-beta.27 → 25.8.0-beta.29
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
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
2
2
|
import React, { createElement, createContext, useState, useEffect, useRef, useMemo, forwardRef, useImperativeHandle, useCallback, createRef, useReducer, useContext, memo, useDeferredValue } from 'react';
|
3
3
|
import 'antd/dist/reset.css';
|
4
|
-
import { Form as Form$1, Button, Input, Popover, Typography, Divider, Progress, Select as Select$1, Avatar, Spin, Radio, Space, Dropdown, DatePicker, Checkbox, InputNumber, Modal as Modal$2, Cascader, Descriptions, Row, Col, Tooltip as Tooltip$1, Collapse, List as List$1, Skeleton, Alert, Card, Upload as Upload$2, Table as Table$1, Switch, Popconfirm,
|
4
|
+
import { Form as Form$1, Button, Input, Popover, Typography, Divider, Progress, Select as Select$1, Avatar, Spin, Radio, Space, Dropdown, DatePicker, Checkbox, InputNumber, Modal as Modal$2, Tabs, Cascader, Descriptions, Row, Col, Tooltip as Tooltip$1, Collapse, List as List$1, Skeleton, Alert, Card, Upload as Upload$2, Table as Table$1, Switch, Popconfirm, Image, Slider, Breadcrumb, Result as Result$1, message, Layout, Drawer, ConfigProvider, theme } from 'antd';
|
5
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
6
6
|
import { observer } from 'mobx-react-lite';
|
7
7
|
import { getLogger, DivaError, useTranslation, useDivaCore, DivaUtils } from '@crystaldesign/diva-core';
|
@@ -7659,6 +7659,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7659
7659
|
name: 'type',
|
7660
7660
|
label: t('backoffice.form.organizationdetails.items.type'),
|
7661
7661
|
type: 'radio',
|
7662
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7662
7663
|
options: [{
|
7663
7664
|
value: undefined,
|
7664
7665
|
label: t('backoffice.form.SHELL'),
|
@@ -7746,6 +7747,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7746
7747
|
permission: 'backoffice_admin_organizations'
|
7747
7748
|
}, {
|
7748
7749
|
name: t('backoffice.subtitle.generally'),
|
7750
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7749
7751
|
type: 'subTitle',
|
7750
7752
|
orientation: 'left',
|
7751
7753
|
style: {
|
@@ -7753,11 +7755,13 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7753
7755
|
}
|
7754
7756
|
}, {
|
7755
7757
|
name: '_id',
|
7758
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7756
7759
|
label: 'ID',
|
7757
7760
|
type: 'input',
|
7758
7761
|
readonly: true
|
7759
7762
|
}, {
|
7760
7763
|
name: 'displayName',
|
7764
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7761
7765
|
label: t('backoffice.form.organizationdetails.items.displayName'),
|
7762
7766
|
required: true,
|
7763
7767
|
type: 'input',
|
@@ -7769,6 +7773,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7769
7773
|
}, {
|
7770
7774
|
label: t('backoffice.form.organizationdetails.items.internalId'),
|
7771
7775
|
name: 'internalId',
|
7776
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7772
7777
|
type: 'input',
|
7773
7778
|
hidden: function hidden(data) {
|
7774
7779
|
return (data === null || data === void 0 ? void 0 : data.type) === 'ASSOCIATION' || (data === null || data === void 0 ? void 0 : data.type) === 'SUPPLIER' || (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER';
|
@@ -7776,6 +7781,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7776
7781
|
}, {
|
7777
7782
|
name: 'description',
|
7778
7783
|
label: t('backoffice.form.organizationdetails.items.description'),
|
7784
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7779
7785
|
type: 'textarea'
|
7780
7786
|
}, {
|
7781
7787
|
name: 'street',
|
@@ -7783,6 +7789,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7783
7789
|
required: function required(data) {
|
7784
7790
|
return !((data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined);
|
7785
7791
|
},
|
7792
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7786
7793
|
type: 'input',
|
7787
7794
|
hidden: function hidden(data) {
|
7788
7795
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7793,6 +7800,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7793
7800
|
required: function required(data) {
|
7794
7801
|
return !((data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined);
|
7795
7802
|
},
|
7803
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7796
7804
|
type: 'input',
|
7797
7805
|
hidden: function hidden(data) {
|
7798
7806
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7803,6 +7811,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7803
7811
|
required: function required(data) {
|
7804
7812
|
return !((data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined);
|
7805
7813
|
},
|
7814
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7806
7815
|
type: 'input',
|
7807
7816
|
hidden: function hidden(data) {
|
7808
7817
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7810,6 +7819,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7810
7819
|
}, {
|
7811
7820
|
label: t('backoffice.form.organizationdetails.items.region'),
|
7812
7821
|
name: 'region',
|
7822
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7813
7823
|
type: 'input',
|
7814
7824
|
hidden: function hidden(data) {
|
7815
7825
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7817,6 +7827,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7817
7827
|
}, {
|
7818
7828
|
name: 'countryCode',
|
7819
7829
|
label: t('backoffice.form.organizationdetails.items.countryCode'),
|
7830
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7820
7831
|
type: 'selectSimple',
|
7821
7832
|
apiInterface: {
|
7822
7833
|
read: {
|
@@ -7835,6 +7846,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7835
7846
|
}, {
|
7836
7847
|
name: 'contact',
|
7837
7848
|
label: 'backoffice.organization.contact',
|
7849
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7838
7850
|
type: 'select',
|
7839
7851
|
mode: 'single',
|
7840
7852
|
selectMapping: {
|
@@ -7876,6 +7888,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7876
7888
|
}, {
|
7877
7889
|
name: 'email',
|
7878
7890
|
label: t('backoffice.form.organizationdetails.items.email'),
|
7891
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7879
7892
|
type: 'input',
|
7880
7893
|
hidden: function hidden(data) {
|
7881
7894
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7883,6 +7896,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7883
7896
|
}, {
|
7884
7897
|
name: 'phone',
|
7885
7898
|
label: t('backoffice.form.organizationdetails.items.phone'),
|
7899
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7886
7900
|
type: 'input',
|
7887
7901
|
hidden: function hidden(data) {
|
7888
7902
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7890,6 +7904,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7890
7904
|
}, {
|
7891
7905
|
name: 'fax',
|
7892
7906
|
label: t('backoffice.form.organizationdetails.items.fax'),
|
7907
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7893
7908
|
type: 'input',
|
7894
7909
|
hidden: function hidden(data) {
|
7895
7910
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7897,6 +7912,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7897
7912
|
}, {
|
7898
7913
|
name: 'homepage',
|
7899
7914
|
label: t('backoffice.form.organizationdetails.items.homepage'),
|
7915
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7900
7916
|
type: 'input',
|
7901
7917
|
hidden: function hidden(data) {
|
7902
7918
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
@@ -7907,6 +7923,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7907
7923
|
catalogCodex: ['defaultCatalog', 'catalogCodex'],
|
7908
7924
|
label: t('backoffice.form.organizationdetails.items.selectClientRelationCatalog'),
|
7909
7925
|
type: 'selectClientRelationCatalog',
|
7926
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7910
7927
|
apiInterface: {
|
7911
7928
|
read: '${authService}/v2/organizations/${organizationId}'
|
7912
7929
|
},
|
@@ -7915,15 +7932,18 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7915
7932
|
}
|
7916
7933
|
}, {
|
7917
7934
|
name: ['defaultCatalog', 'accountId'],
|
7918
|
-
hidden: true
|
7935
|
+
hidden: true,
|
7936
|
+
tabgroup: t('backoffice.subtitle.generally')
|
7919
7937
|
},
|
7920
7938
|
// these fields are needed otherwise they dont get saved
|
7921
7939
|
{
|
7922
7940
|
name: ['defaultCatalog', 'catalogCodex'],
|
7923
|
-
hidden: true
|
7941
|
+
hidden: true,
|
7942
|
+
tabgroup: t('backoffice.subtitle.generally')
|
7924
7943
|
}, {
|
7925
7944
|
name: ['settings', 'sendOrders'],
|
7926
7945
|
label: t('backoffice.form.organizationdetails.items.settings.sendOrders'),
|
7946
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7927
7947
|
type: 'radio',
|
7928
7948
|
optionType: 'button',
|
7929
7949
|
options: [{
|
@@ -7940,11 +7960,13 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7940
7960
|
}, {
|
7941
7961
|
name: ['settings', 'sendOrdersEmail'],
|
7942
7962
|
label: t('backoffice.form.organizationdetails.items.settings.sendOrdersEmail'),
|
7963
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7943
7964
|
type: 'input',
|
7944
7965
|
permission: 'backoffice_admin_organizations'
|
7945
7966
|
}, {
|
7946
7967
|
name: 'iwofurn',
|
7947
7968
|
label: t('backoffice.form.organizationdetails.items.iwofurn'),
|
7969
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7948
7970
|
type: 'checkbox',
|
7949
7971
|
hidden: function hidden(data) {
|
7950
7972
|
return (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'RETAILER';
|
@@ -7962,6 +7984,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7962
7984
|
}
|
7963
7985
|
}, {
|
7964
7986
|
name: t('backoffice.subtitle.iwofurn'),
|
7987
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7965
7988
|
type: 'subTitle',
|
7966
7989
|
orientation: 'left',
|
7967
7990
|
style: {
|
@@ -7974,6 +7997,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7974
7997
|
}, {
|
7975
7998
|
name: ['iwoFurnOptions', 'iwofurnUsername'],
|
7976
7999
|
label: t('backoffice.form.organizationdetails.items.iwoFurnOptions.iwofurnUsername'),
|
8000
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7977
8001
|
type: 'input',
|
7978
8002
|
syncDataWithUserInput: true,
|
7979
8003
|
required: function required(data) {
|
@@ -7985,6 +8009,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7985
8009
|
}, {
|
7986
8010
|
name: ['iwoFurnOptions', 'pwdHash'],
|
7987
8011
|
label: t('backoffice.form.organizationdetails.items.iwoFurnOptions.pwdHash'),
|
8012
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7988
8013
|
type: 'password',
|
7989
8014
|
syncDataWithUserInput: true,
|
7990
8015
|
required: function required(data) {
|
@@ -7996,6 +8021,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
7996
8021
|
}, {
|
7997
8022
|
name: ['iwoFurnOptions', 'iwofurnSenderGLN'],
|
7998
8023
|
label: t('backoffice.form.organizationdetails.items.iwofurnSenderGLN'),
|
8024
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
7999
8025
|
type: 'input',
|
8000
8026
|
required: function required(data) {
|
8001
8027
|
return data === null || data === void 0 ? void 0 : data.iwofurn;
|
@@ -8006,6 +8032,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8006
8032
|
}, {
|
8007
8033
|
name: ['iwoFurnOptions', 'iwofurnRecipientGLN'],
|
8008
8034
|
label: t('backoffice.form.organizationdetails.items.iwofurnRecipientGLN'),
|
8035
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
8009
8036
|
type: 'input',
|
8010
8037
|
required: function required(data) {
|
8011
8038
|
return data === null || data === void 0 ? void 0 : data.iwofurn;
|
@@ -8016,6 +8043,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8016
8043
|
}, {
|
8017
8044
|
name: ['iwoFurnOptions', 'sendIWOBasketEKPriceType'],
|
8018
8045
|
label: t('backoffice.form.organizationdetails.items.sendIWOBasketEKPriceType'),
|
8046
|
+
tabgroup: t('backoffice.subtitle.generally'),
|
8019
8047
|
type: 'input',
|
8020
8048
|
hidden: function hidden(data) {
|
8021
8049
|
return !(data !== null && data !== void 0 && data.iwofurn) || (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'RETAILER';
|
@@ -8035,6 +8063,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8035
8063
|
}
|
8036
8064
|
}, {
|
8037
8065
|
name: t('backoffice.form.organizationdetails.items.licenses'),
|
8066
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8038
8067
|
type: 'subTitle',
|
8039
8068
|
orientation: 'left',
|
8040
8069
|
style: {
|
@@ -8044,6 +8073,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8044
8073
|
}, {
|
8045
8074
|
name: 'Info',
|
8046
8075
|
type: 'text',
|
8076
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8047
8077
|
style: {
|
8048
8078
|
marginBottom: '30px'
|
8049
8079
|
},
|
@@ -8052,6 +8082,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8052
8082
|
}, {
|
8053
8083
|
name: ['settings', 'enable3DExport'],
|
8054
8084
|
label: t('backoffice.form.organizationdetails.items.settings.enable3DExport'),
|
8085
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8055
8086
|
type: 'radio',
|
8056
8087
|
optionType: 'button',
|
8057
8088
|
options: [{
|
@@ -8069,6 +8100,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8069
8100
|
name: ['settings', 'renderjobSeparateMaterials'],
|
8070
8101
|
label: t('backoffice.form.organizationdetails.items.settings.renderjobSeparateMaterials'),
|
8071
8102
|
permission: 'backoffice_admin_organizations',
|
8103
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8072
8104
|
type: 'radio',
|
8073
8105
|
optionType: 'button',
|
8074
8106
|
options: [{
|
@@ -8085,6 +8117,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8085
8117
|
name: ['settings', 'enableAR'],
|
8086
8118
|
label: t('backoffice.form.organizationdetails.items.settings.enableAR'),
|
8087
8119
|
permission: 'backoffice_admin_organizations',
|
8120
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8088
8121
|
type: 'radio',
|
8089
8122
|
optionType: 'button',
|
8090
8123
|
options: [{
|
@@ -8101,6 +8134,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8101
8134
|
name: ['settings', 'enableRTV'],
|
8102
8135
|
label: t('backoffice.form.organizationdetails.items.settings.enableRTV'),
|
8103
8136
|
permission: 'backoffice_admin_organizations',
|
8137
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8104
8138
|
type: 'radio',
|
8105
8139
|
optionType: 'button',
|
8106
8140
|
options: [{
|
@@ -8118,6 +8152,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8118
8152
|
label: t('backoffice.form.organizationdetails.items.settings.forceRTV'),
|
8119
8153
|
permission: 'backoffice_admin_organizations',
|
8120
8154
|
type: 'radio',
|
8155
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8121
8156
|
optionType: 'button',
|
8122
8157
|
options: [{
|
8123
8158
|
label: t('backoffice.form.organizationdetails.items.vererbt'),
|
@@ -8132,6 +8167,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8132
8167
|
}, {
|
8133
8168
|
name: ['settings', 'enableVKMarketing'],
|
8134
8169
|
label: t('backoffice.form.organizationdetails.items.settings.enableVKMarketing'),
|
8170
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8135
8171
|
permission: 'backoffice_admin_organizations',
|
8136
8172
|
type: 'radio',
|
8137
8173
|
hidden: function hidden(data) {
|
@@ -8152,6 +8188,7 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8152
8188
|
name: ['settings', 'pricePreview'],
|
8153
8189
|
label: t('backoffice.form.organizationdetails.items.settings.pricePreview'),
|
8154
8190
|
permission: 'backoffice_admin_organizations',
|
8191
|
+
tabgroup: t('backoffice.form.organizationdetails.items.licenses'),
|
8155
8192
|
type: 'radio',
|
8156
8193
|
optionType: 'button',
|
8157
8194
|
options: [{
|
@@ -8586,6 +8623,117 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
8586
8623
|
label: t('backoffice.currentorg.items.shopType.store'),
|
8587
8624
|
value: 'store'
|
8588
8625
|
}]
|
8626
|
+
}, {
|
8627
|
+
type: 'subTitle',
|
8628
|
+
name: t('backoffice.form.organizationdetails.socialUrls'),
|
8629
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData')
|
8630
|
+
}, {
|
8631
|
+
name: ['socialUrls', 'facebook'],
|
8632
|
+
label: t('backoffice.form.organizationdetails.items.facebookUrl'),
|
8633
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
|
8634
|
+
type: 'input',
|
8635
|
+
hidden: function hidden(data) {
|
8636
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8637
|
+
}
|
8638
|
+
}, {
|
8639
|
+
name: ['socialUrls', 'instagram'],
|
8640
|
+
label: t('backoffice.form.organizationdetails.items.instagramUrl'),
|
8641
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
|
8642
|
+
type: 'input',
|
8643
|
+
hidden: function hidden(data) {
|
8644
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8645
|
+
}
|
8646
|
+
}, {
|
8647
|
+
name: ['socialUrls', 'x'],
|
8648
|
+
label: t('backoffice.form.organizationdetails.items.xUrl'),
|
8649
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
|
8650
|
+
type: 'input',
|
8651
|
+
hidden: function hidden(data) {
|
8652
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8653
|
+
}
|
8654
|
+
}, {
|
8655
|
+
name: ['socialUrls', 'linkedin'],
|
8656
|
+
label: t('backoffice.form.organizationdetails.items.linkedinUrl'),
|
8657
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
|
8658
|
+
type: 'input',
|
8659
|
+
hidden: function hidden(data) {
|
8660
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8661
|
+
}
|
8662
|
+
}, {
|
8663
|
+
name: ['socialUrls', 'youtube'],
|
8664
|
+
label: t('backoffice.form.organizationdetails.items.youtubeUrl'),
|
8665
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
|
8666
|
+
type: 'input',
|
8667
|
+
hidden: function hidden(data) {
|
8668
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8669
|
+
}
|
8670
|
+
}, {
|
8671
|
+
type: 'subTitle',
|
8672
|
+
name: t('backoffice.form.organizationdetails.additionalContactData'),
|
8673
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData')
|
8674
|
+
}, {
|
8675
|
+
name: ['additionalContactData'],
|
8676
|
+
label: t('Zusätzliche Kontaktdaten'),
|
8677
|
+
tabgroup: t('backoffice.form.organizationdetails.additionalContactData'),
|
8678
|
+
type: 'array',
|
8679
|
+
items: [{
|
8680
|
+
name: 'street',
|
8681
|
+
label: t('backoffice.form.organizationdetails.items.street'),
|
8682
|
+
type: 'input',
|
8683
|
+
hidden: function hidden(data) {
|
8684
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8685
|
+
}
|
8686
|
+
}, {
|
8687
|
+
label: t('backoffice.form.organizationdetails.items.zipCode'),
|
8688
|
+
name: 'zipCode',
|
8689
|
+
type: 'input',
|
8690
|
+
hidden: function hidden(data) {
|
8691
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8692
|
+
}
|
8693
|
+
}, {
|
8694
|
+
label: t('backoffice.form.organizationdetails.items.city'),
|
8695
|
+
name: 'city',
|
8696
|
+
type: 'input',
|
8697
|
+
hidden: function hidden(data) {
|
8698
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8699
|
+
}
|
8700
|
+
}, {
|
8701
|
+
name: 'countryCode',
|
8702
|
+
label: t('backoffice.form.organizationdetails.items.countryCode'),
|
8703
|
+
type: 'selectSimple',
|
8704
|
+
apiInterface: {
|
8705
|
+
read: {
|
8706
|
+
list: '/country_codes.json',
|
8707
|
+
"public": true
|
8708
|
+
}
|
8709
|
+
},
|
8710
|
+
selectMapping: {
|
8711
|
+
label: "${".concat(lang, "}"),
|
8712
|
+
value: '${code}',
|
8713
|
+
externalValue: 'value'
|
8714
|
+
},
|
8715
|
+
placeholder: t('backoffice.form.organizationdetails.items.selectCountryCode'),
|
8716
|
+
allowClear: true,
|
8717
|
+
search: true
|
8718
|
+
}, {
|
8719
|
+
name: 'email',
|
8720
|
+
label: t('backoffice.form.organizationdetails.items.email'),
|
8721
|
+
type: 'input',
|
8722
|
+
hidden: function hidden(data) {
|
8723
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8724
|
+
}
|
8725
|
+
}, {
|
8726
|
+
name: 'phone',
|
8727
|
+
label: t('backoffice.form.organizationdetails.items.phone'),
|
8728
|
+
type: 'input',
|
8729
|
+
hidden: function hidden(data) {
|
8730
|
+
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
8731
|
+
}
|
8732
|
+
}, {
|
8733
|
+
type: 'divider',
|
8734
|
+
name: ''
|
8735
|
+
}],
|
8736
|
+
initialValue: []
|
8589
8737
|
}]
|
8590
8738
|
},
|
8591
8739
|
FromAffilateOrganizationDetails: {
|
@@ -20243,7 +20391,6 @@ function ModalProgressBar(_ref) {
|
|
20243
20391
|
|
20244
20392
|
var LOG$7 = getLogger('Backoffice', 'Form');
|
20245
20393
|
var FormWrapper$1 = function FormWrapper(_ref, ref) {
|
20246
|
-
var _state$selectedItems2;
|
20247
20394
|
var id = _ref.id,
|
20248
20395
|
data = _ref.data,
|
20249
20396
|
onChange = _ref.onChange,
|
@@ -20386,18 +20533,59 @@ var FormWrapper$1 = function FormWrapper(_ref, ref) {
|
|
20386
20533
|
onErrorInternal('An unexpected error prevented finishing');
|
20387
20534
|
}
|
20388
20535
|
};
|
20389
|
-
|
20390
|
-
|
20391
|
-
|
20392
|
-
|
20393
|
-
|
20394
|
-
|
20395
|
-
|
20396
|
-
|
20397
|
-
|
20398
|
-
|
20399
|
-
|
20400
|
-
|
20536
|
+
|
20537
|
+
// Group items by tabgroup
|
20538
|
+
var groupItemsByTabGroup = function groupItemsByTabGroup() {
|
20539
|
+
if (!state.selectedItems) return [];
|
20540
|
+
var groups = {};
|
20541
|
+
state.selectedItems.forEach(function (item) {
|
20542
|
+
var tabGroup = item.tabgroup || 'default';
|
20543
|
+
if (!groups[tabGroup]) {
|
20544
|
+
groups[tabGroup] = [];
|
20545
|
+
}
|
20546
|
+
groups[tabGroup].push(item);
|
20547
|
+
});
|
20548
|
+
return Object.entries(groups).map(function (_ref7) {
|
20549
|
+
var _ref8 = _slicedToArray(_ref7, 2),
|
20550
|
+
tabGroup = _ref8[0],
|
20551
|
+
items = _ref8[1];
|
20552
|
+
return {
|
20553
|
+
tabGroup: tabGroup,
|
20554
|
+
items: items
|
20555
|
+
};
|
20556
|
+
});
|
20557
|
+
};
|
20558
|
+
var renderFormItems = function renderFormItems(items) {
|
20559
|
+
return /*#__PURE__*/jsx(Fragment, {
|
20560
|
+
children: items.map(function (item) {
|
20561
|
+
var _state$hiddenRequired, _state$hiddenRequired2, _state$hiddenRequired3;
|
20562
|
+
return /*#__PURE__*/jsxs("div", {
|
20563
|
+
children: [item.marker && /*#__PURE__*/jsx(InfoCircleOutlined, {}), ['subTitle', 'array', 'text'].includes(item.type) ? getElement(item, setCanSave, state, item.name, state.onInputChanged, onErrorInternal, undefined, undefined, (_state$hiddenRequired = state.hiddenRequiredDisabled[typeof item.name == 'string' ? item.name : item.name.join('.')]) === null || _state$hiddenRequired === void 0 ? void 0 : _state$hiddenRequired.hidden) : /*#__PURE__*/jsx(Form$1.Item, {
|
20564
|
+
name: item.name,
|
20565
|
+
rules: state.getRules(item, state.data),
|
20566
|
+
label: getLabel(item, t),
|
20567
|
+
valuePropName: item.type == 'checkbox' ? 'checked' : 'value',
|
20568
|
+
initialValue: item === null || item === void 0 ? void 0 : item.defaultValue,
|
20569
|
+
hasFeedback: !!state.fieldErrors[item.name.toString()],
|
20570
|
+
validateStatus: !!state.fieldErrors[item.name.toString()] ? 'error' : undefined,
|
20571
|
+
help: state.fieldErrors[item.name.toString()],
|
20572
|
+
hidden: (_state$hiddenRequired2 = state.hiddenRequiredDisabled[typeof item.name == 'string' ? item.name : item.name.join('.')]) === null || _state$hiddenRequired2 === void 0 ? void 0 : _state$hiddenRequired2.hidden,
|
20573
|
+
children: getElement(item, setCanSave, state, item.name, state.onInputChanged, onErrorInternal, root, form, (_state$hiddenRequired3 = state.hiddenRequiredDisabled[typeof item.name == 'string' ? item.name : item.name.join('.')]) === null || _state$hiddenRequired3 === void 0 ? void 0 : _state$hiddenRequired3.hidden)
|
20574
|
+
}, Array.isArray(item.name) ? item.name.join('.') : item.name)]
|
20575
|
+
}, item.name.toString());
|
20576
|
+
})
|
20577
|
+
});
|
20578
|
+
};
|
20579
|
+
var tabGroups = useMemo(function () {
|
20580
|
+
return groupItemsByTabGroup();
|
20581
|
+
}, [state.selectedItems]);
|
20582
|
+
|
20583
|
+
// Create tab items dynamically
|
20584
|
+
var tabItems = tabGroups.map(function (group, index) {
|
20585
|
+
return {
|
20586
|
+
key: group.tabGroup === 'default' ? '99' : index.toString(),
|
20587
|
+
label: group.tabGroup === 'default' ? t('backoffice.menu.items.label.systemOther') : group.tabGroup,
|
20588
|
+
children: /*#__PURE__*/jsxs(Form$1, {
|
20401
20589
|
autoComplete: "off",
|
20402
20590
|
form: form,
|
20403
20591
|
onFinish: onFinish,
|
@@ -20413,30 +20601,78 @@ var FormWrapper$1 = function FormWrapper(_ref, ref) {
|
|
20413
20601
|
if (changedFields[0] === undefined) return;
|
20414
20602
|
state.changedFields.current.push(changedFields[0]);
|
20415
20603
|
},
|
20416
|
-
children: [state.configuration.itemSelector && /*#__PURE__*/jsx(Form$1.Item, {
|
20604
|
+
children: [state.configuration.itemSelector && index === 0 && /*#__PURE__*/jsx(Form$1.Item, {
|
20417
20605
|
name: state.configuration.itemSelector.name,
|
20418
20606
|
rules: state.getRules(state.configuration.itemSelector, state.data),
|
20419
20607
|
label: state.configuration.itemSelector.label ? t(state.configuration.itemSelector.label, state.configuration.itemSelector.label) : state.configuration.itemSelector.name,
|
20420
20608
|
valuePropName: state.configuration.itemSelector.type == 'checkbox' ? 'checked' : 'value',
|
20421
20609
|
children: getElement(state.configuration.itemSelector, setCanSave, state, state.configuration.itemSelector.name, state.onItemSelectorChanged, onErrorInternal)
|
20422
|
-
}, state.configuration.itemSelector.name.toString()), (
|
20423
|
-
|
20424
|
-
|
20425
|
-
|
20426
|
-
|
20427
|
-
|
20428
|
-
|
20429
|
-
|
20430
|
-
|
20431
|
-
|
20432
|
-
|
20433
|
-
|
20434
|
-
|
20435
|
-
|
20436
|
-
|
20437
|
-
|
20438
|
-
|
20439
|
-
|
20610
|
+
}, state.configuration.itemSelector.name.toString()), renderFormItems(group.items)]
|
20611
|
+
}, "".concat(state.selectedItemsIndex.toString(), "-").concat(index))
|
20612
|
+
};
|
20613
|
+
});
|
20614
|
+
|
20615
|
+
// If no tabgroups are defined, fall back to single form
|
20616
|
+
var hasTabGroups = tabGroups.length > 1 || tabGroups.length === 1 && tabGroups[0].tabGroup !== 'default';
|
20617
|
+
if (!hasTabGroups) {
|
20618
|
+
var singleForm = /*#__PURE__*/jsxs(Form$1, {
|
20619
|
+
autoComplete: "off",
|
20620
|
+
form: form,
|
20621
|
+
onFinish: onFinish,
|
20622
|
+
onFinishFailed: onFinishFailed,
|
20623
|
+
layout: "horizontal",
|
20624
|
+
onValuesChange: function onValuesChange(a, data) {
|
20625
|
+
state.updateHiddenRequiredDisabled(data, a);
|
20626
|
+
},
|
20627
|
+
labelCol: {
|
20628
|
+
span: 4
|
20629
|
+
},
|
20630
|
+
onFieldsChange: function onFieldsChange(changedFields) {
|
20631
|
+
if (changedFields[0] === undefined) return;
|
20632
|
+
state.changedFields.current.push(changedFields[0]);
|
20633
|
+
},
|
20634
|
+
children: [state.configuration.itemSelector && /*#__PURE__*/jsx(Form$1.Item, {
|
20635
|
+
name: state.configuration.itemSelector.name,
|
20636
|
+
rules: state.getRules(state.configuration.itemSelector, state.data),
|
20637
|
+
label: state.configuration.itemSelector.label ? t(state.configuration.itemSelector.label, state.configuration.itemSelector.label) : state.configuration.itemSelector.name,
|
20638
|
+
valuePropName: state.configuration.itemSelector.type == 'checkbox' ? 'checked' : 'value',
|
20639
|
+
children: getElement(state.configuration.itemSelector, setCanSave, state, state.configuration.itemSelector.name, state.onItemSelectorChanged, onErrorInternal)
|
20640
|
+
}, state.configuration.itemSelector.name.toString()), renderFormItems(state.selectedItems || [])]
|
20641
|
+
}, state.selectedItemsIndex.toString());
|
20642
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
20643
|
+
children: [/*#__PURE__*/jsxs(Spin, {
|
20644
|
+
spinning: state.loading,
|
20645
|
+
children: [state.configuration.presetApiInterface && /*#__PURE__*/jsx(Presets, {
|
20646
|
+
state: state,
|
20647
|
+
apiHandler: state.presetApiHandler,
|
20648
|
+
form: form,
|
20649
|
+
root: state.root,
|
20650
|
+
setUsedPreset: state.setUsedPreset,
|
20651
|
+
presets: state.preset.presets,
|
20652
|
+
setPresets: state.preset.setPresets
|
20653
|
+
}), singleForm]
|
20654
|
+
}), state.configuration.showProgressBar && /*#__PURE__*/jsx(ModalProgressBar, {
|
20655
|
+
isOpen: state.progressBarOpen,
|
20656
|
+
percent: state.progressBarPercentage
|
20657
|
+
})]
|
20658
|
+
});
|
20659
|
+
}
|
20660
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
20661
|
+
children: [/*#__PURE__*/jsxs(Spin, {
|
20662
|
+
spinning: state.loading,
|
20663
|
+
children: [state.configuration.presetApiInterface && /*#__PURE__*/jsx(Presets, {
|
20664
|
+
state: state,
|
20665
|
+
apiHandler: state.presetApiHandler,
|
20666
|
+
form: form,
|
20667
|
+
root: state.root,
|
20668
|
+
setUsedPreset: state.setUsedPreset,
|
20669
|
+
presets: state.preset.presets,
|
20670
|
+
setPresets: state.preset.setPresets
|
20671
|
+
}), /*#__PURE__*/jsx(Tabs, {
|
20672
|
+
items: _toConsumableArray(tabItems).sort(function (a, b) {
|
20673
|
+
return a.key.localeCompare(b.key);
|
20674
|
+
})
|
20675
|
+
})]
|
20440
20676
|
}), state.configuration.showProgressBar && /*#__PURE__*/jsx(ModalProgressBar, {
|
20441
20677
|
isOpen: state.progressBarOpen,
|
20442
20678
|
percent: state.progressBarPercentage
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD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,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,cAAc,CAAC,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;IAC/C,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED,MAAM,WAAW,QAAS,SAAQ,QAAQ;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IACtD,cAAc,CAAC,EAAE,CAAC,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,EAAE,CAAC;CAClE;AAED,MAAM,WAAW,WAAY,SAAQ,QAAQ;IAC3C,IAAI,EAAE,SAAS,CAAC;CACjB"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
3
|
-
"version": "25.8.0-beta.
|
3
|
+
"version": "25.8.0-beta.29",
|
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.8.0-beta.
|
19
|
-
"@crystaldesign/content-item": "25.8.0-beta.
|
20
|
-
"@crystaldesign/diva-core": "25.8.0-beta.
|
21
|
-
"@crystaldesign/diva-utils": "25.8.0-beta.
|
22
|
-
"@crystaldesign/media-upload": "25.8.0-beta.
|
23
|
-
"@crystaldesign/rtf-editor": "25.8.0-beta.
|
24
|
-
"@crystaldesign/spreadsheet": "25.8.0-beta.
|
18
|
+
"@crystaldesign/content-box": "25.8.0-beta.29",
|
19
|
+
"@crystaldesign/content-item": "25.8.0-beta.29",
|
20
|
+
"@crystaldesign/diva-core": "25.8.0-beta.29",
|
21
|
+
"@crystaldesign/diva-utils": "25.8.0-beta.29",
|
22
|
+
"@crystaldesign/media-upload": "25.8.0-beta.29",
|
23
|
+
"@crystaldesign/rtf-editor": "25.8.0-beta.29",
|
24
|
+
"@crystaldesign/spreadsheet": "25.8.0-beta.29",
|
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": "009208a55a7216cb5d6957c5bbd161287f25607d"
|
55
55
|
}
|