@crystaldesign/diva-seller 24.12.1 → 24.12.2
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 +68 -68
- package/package.json +5 -5
package/build/esm/index.js
CHANGED
|
@@ -5192,11 +5192,11 @@ function DiscountField (_ref) {
|
|
|
5192
5192
|
});
|
|
5193
5193
|
}
|
|
5194
5194
|
|
|
5195
|
-
/**
|
|
5196
|
-
*
|
|
5197
|
-
* NumberFormat fires onValueChange also onChanges cause by formatting, e.g. decimal rounding,
|
|
5198
|
-
* onChange on the other hand fires only if the actual value changes, however it returns only the formated value.
|
|
5199
|
-
* So we have to combine them here
|
|
5195
|
+
/**
|
|
5196
|
+
*
|
|
5197
|
+
* NumberFormat fires onValueChange also onChanges cause by formatting, e.g. decimal rounding,
|
|
5198
|
+
* onChange on the other hand fires only if the actual value changes, however it returns only the formated value.
|
|
5199
|
+
* So we have to combine them here
|
|
5200
5200
|
*/
|
|
5201
5201
|
function ControlledNumberFormat$1(_ref3) {
|
|
5202
5202
|
var onValueChange = _ref3.onValueChange,
|
|
@@ -5296,11 +5296,11 @@ function AdditionalPriceField (_ref) {
|
|
|
5296
5296
|
});
|
|
5297
5297
|
}
|
|
5298
5298
|
|
|
5299
|
-
/**
|
|
5300
|
-
*
|
|
5301
|
-
* NumberFormat fires onValueChange also onChanges cause by formatting, e.g. decimal rounding,
|
|
5302
|
-
* onChange on the other hand fires only if the actual value changes, however it returns only the formated value.
|
|
5303
|
-
* So we have to combine them here
|
|
5299
|
+
/**
|
|
5300
|
+
*
|
|
5301
|
+
* NumberFormat fires onValueChange also onChanges cause by formatting, e.g. decimal rounding,
|
|
5302
|
+
* onChange on the other hand fires only if the actual value changes, however it returns only the formated value.
|
|
5303
|
+
* So we have to combine them here
|
|
5304
5304
|
*/
|
|
5305
5305
|
function ControlledNumberFormat(_ref2) {
|
|
5306
5306
|
var onValueChange = _ref2.onValueChange,
|
|
@@ -6237,7 +6237,7 @@ function styleInject(css, ref) {
|
|
|
6237
6237
|
}
|
|
6238
6238
|
|
|
6239
6239
|
var variantsTable = "variants-table-vIkjW";
|
|
6240
|
-
var css_248z$e = ".variants-table-vIkjW {\
|
|
6240
|
+
var css_248z$e = ".variants-table-vIkjW {\n border-right: 1px solid rgb(224, 224, 224);\n overflow: auto;\n flex: 0 0 400px;\n}\n";
|
|
6241
6241
|
styleInject(css_248z$e);
|
|
6242
6242
|
|
|
6243
6243
|
function VariantSelector (_ref) {
|
|
@@ -6302,7 +6302,7 @@ var clickable = "clickable-lAXv5";
|
|
|
6302
6302
|
var hover = "hover-9MJo5";
|
|
6303
6303
|
var overlay = "overlay-TnuQb";
|
|
6304
6304
|
var buttons = "buttons-w-i7W";
|
|
6305
|
-
var css_248z$d = ".detail-wrapper-ZaJ9i {\
|
|
6305
|
+
var css_248z$d = ".detail-wrapper-ZaJ9i {\n display: flex;\n flex-direction: column;\n width: calc(100% - 10px);\n margin: 5px;\n padding: 25px;\n gap: 25px;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: white;\n z-index: 10;\n box-sizing: border-box;\n transition: transform 0.3s ease-in-out;\n transform: translateX(100%);\n overflow: auto;\n}\n\n.detail-wrapper-ZaJ9i.active-38NMv {\n transform: translateX(0);\n}\n\n.package-list--Q1qI {\n display: flex;\n gap: 10px;\n flex-wrap: wrap;\n}\n\n.single-package-gsVlm {\n width: 110px;\n height: 110px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background-color: #f2f2f2;\n}\n\n.single-package-gsVlm.selectable-8EkQV:hover {\n background-color: #dee0e4;\n cursor: pointer;\n}\n\n.single-package-gsVlm.selected-OUbog {\n background-color: var(--diva-theme-palette-primary-light);\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.single-package-gsVlm.selectable-8EkQV.selected-OUbog:hover {\n background-color: var(--diva-theme-palette-primary-main);\n color: var(--diva-theme-palette-secondary-contrast-text);\n}\n\n.single-package-gsVlm span {\n text-align: center;\n font-style: normal;\n font-weight: 500;\n font-size: 10px;\n line-height: 12px;\n max-width: 80%;\n min-height: 25px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.single-package-gsVlm img {\n height: 50px;\n}\n\n.package-description-Io9dZ {\n margin: 10px;\n width: 440px;\n background: #f8f8f8;\n border-radius: 3px;\n display: flex;\n align-items: center;\n}\n\n.package-description-Io9dZ span {\n margin: 30px;\n font-style: normal;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n}\n\n.form-wrapper-sQf4D {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.text-field-rkPSE {\n width: 400px;\n}\n\n.element-title-nfKUg {\n font-style: normal;\n font-weight: 300;\n font-size: 22px;\n}\n\n.preview-list-Uu0Gx {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n}\n\n.preview-box-2K6lV {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 110px;\n background: #f2f2f2;\n border-radius: 4px;\n}\n\n.preview-box-2K6lV.clickable-lAXv5:hover {\n cursor: pointer;\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\n}\n\n.preview-box-2K6lV img {\n height: 100px;\n margin: 5px auto;\n padding: 0 5px;\n}\n\n.preview-box-2K6lV span {\n font-style: normal;\n font-weight: 500;\n font-size: 12px;\n line-height: 14px;\n text-align: center;\n margin: 5px;\n}\n\n.preview-box-2K6lV button {\n margin: 5px;\n height: 25px;\n font-size: 12px;\n}\n\n.preview-box-2K6lV .MuiButton-containedPrimary.hover-9MJo5 {\n background-color: var(--diva-theme-palette-primary-dark);\n text-decoration: none;\n}\n\n.preview-box-2K6lV .MuiButton-containedSecondary.hover-9MJo5 {\n background-color: var(--diva-theme-palette-secondary-dark);\n text-decoration: none;\n}\n\n.preview-box-2K6lV .overlay-TnuQb {\n position: absolute;\n top: 5px;\n right: 5px;\n left: 5px;\n height: 100px;\n background: rgba(250, 250, 250, 0.6);\n display: flex;\n justify-content: center;\n align-items: center;\n float: right;\n}\n\n.buttons-w-i7W {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n margin: auto 20px 5px;\n}\n\n.buttons-w-i7W button {\n width: 400px;\n}\n";
|
|
6306
6306
|
styleInject(css_248z$d);
|
|
6307
6307
|
|
|
6308
6308
|
function DetailPage(_ref) {
|
|
@@ -7941,7 +7941,7 @@ function logError(e, t, onError) {
|
|
|
7941
7941
|
|
|
7942
7942
|
var wrapper$8 = "wrapper-7n8yS";
|
|
7943
7943
|
var dataTable$1 = "data-table-oVyKo";
|
|
7944
|
-
var css_248z$c = ".wrapper-7n8yS {\
|
|
7944
|
+
var css_248z$c = ".wrapper-7n8yS {\n display: flex;\n height: 100%;\n border-bottom: 1px solid rgb(224, 224, 224);\n}\n\n.data-table-oVyKo {\n position: relative;\n height: 100%;\n flex-grow: 1;\n overflow: hidden;\n}\n";
|
|
7945
7945
|
styleInject(css_248z$c);
|
|
7946
7946
|
|
|
7947
7947
|
function RenderJobTable (props) {
|
|
@@ -8077,7 +8077,7 @@ var paperContainer = "paperContainer-9grpT";
|
|
|
8077
8077
|
var hqMediaHeaderContainer = "hqMediaHeaderContainer-PlXdo";
|
|
8078
8078
|
var hqmediaContainer = "hqmediaContainer-sBjym";
|
|
8079
8079
|
var hqMediaTitle = "hqMediaTitle-ugda8";
|
|
8080
|
-
var css_248z$b = ".paperContainer-9grpT {\
|
|
8080
|
+
var css_248z$b = ".paperContainer-9grpT {\n height: 68vh;\n margin-left: 50px;\n margin-right: 50px;\n margin-top: 10px;\n}\n\n.hqMediaHeaderContainer-PlXdo {\n display: flex;\n justify-content: space-between;\n padding-left: 15px;\n}\n\n.hqmediaContainer-sBjym {\n height: 90%;\n border: 1px solid rgb(224, 224, 224);\n}\n.hqMediaTitle-ugda8 {\n font-size: 20px;\n font-weight: normal;\n color: #333;\n padding: 10px 0;\n}\n";
|
|
8081
8081
|
styleInject(css_248z$b);
|
|
8082
8082
|
|
|
8083
8083
|
function ownKeys$r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -8917,18 +8917,18 @@ function Basket(_ref) {
|
|
|
8917
8917
|
}
|
|
8918
8918
|
});
|
|
8919
8919
|
}
|
|
8920
|
-
/* TODO used with SM integration in divaProtal
|
|
8921
|
-
|
|
8922
|
-
title: t('modals.saving'),
|
|
8923
|
-
reject: false,
|
|
8924
|
-
accept: true,
|
|
8925
|
-
text: t('modals.saving_successful').replace('%1', currentBasket.DivaNr + '-' + currentBasket.getDocumentVersion()),
|
|
8926
|
-
callback: () => {
|
|
8927
|
-
if (openPDF) {
|
|
8928
|
-
window.open(pdfUrl, '_blank');
|
|
8929
|
-
}
|
|
8930
|
-
},
|
|
8931
|
-
});
|
|
8920
|
+
/* TODO used with SM integration in divaProtal
|
|
8921
|
+
openModal({
|
|
8922
|
+
title: t('modals.saving'),
|
|
8923
|
+
reject: false,
|
|
8924
|
+
accept: true,
|
|
8925
|
+
text: t('modals.saving_successful').replace('%1', currentBasket.DivaNr + '-' + currentBasket.getDocumentVersion()),
|
|
8926
|
+
callback: () => {
|
|
8927
|
+
if (openPDF) {
|
|
8928
|
+
window.open(pdfUrl, '_blank');
|
|
8929
|
+
}
|
|
8930
|
+
},
|
|
8931
|
+
});
|
|
8932
8932
|
*/
|
|
8933
8933
|
}
|
|
8934
8934
|
LOG$8.successTransaction('ON_SAVE_BASKET', {
|
|
@@ -9702,7 +9702,7 @@ var descriptionContainer$1 = "description-container-k1vLT";
|
|
|
9702
9702
|
var modelTitle = "model-title-Sgm-0";
|
|
9703
9703
|
var description = "description-GyPZq";
|
|
9704
9704
|
var pdf = "pdf-oNnao";
|
|
9705
|
-
var css_248z$a = ".wrapper-fSL18 {\
|
|
9705
|
+
var css_248z$a = ".wrapper-fSL18 {\n display: flex;\n flex-direction: column;\n padding: 0 12px;\n max-height: calc(100% - 42px);\n}\n\n.title-iTDPA {\n padding: 16px 8px;\n font-size: 36px;\n}\n\n.subTitle-4-0PW {\n padding: 12px 18px;\n font-size: 28px;\n}\n\n.description-container-k1vLT {\n display: flex;\n flex-direction: column;\n background-color: #f8f8f8;\n padding: 18px;\n gap: 12px;\n height: calc(100% - 164px);\n}\n\n.model-title-Sgm-0 {\n font-size: 24px;\n font-weight: 600;\n}\n.description-GyPZq {\n font-size: 16px;\n overflow: auto;\n flex-grow: 3;\n}\n\n.pdf-oNnao {\n display: 'flex';\n flex: 1 1 10px;\n}\n\n.pdf-oNnao svg {\n margin-right: 10px;\n}\n";
|
|
9706
9706
|
styleInject(css_248z$a);
|
|
9707
9707
|
|
|
9708
9708
|
var _excluded$7 = ["data", "text"];
|
|
@@ -9759,7 +9759,7 @@ var button = "button-NXyWV";
|
|
|
9759
9759
|
var navBack = "nav-back-AzU6X";
|
|
9760
9760
|
var icon$1 = "icon-0h-39";
|
|
9761
9761
|
var text = "text-55Zpw";
|
|
9762
|
-
var css_248z$9 = ".wrapper-oUrTP {\
|
|
9762
|
+
var css_248z$9 = ".wrapper-oUrTP {\n right: 10px;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n z-index: 500;\n background-color: #fff;\n position: absolute;\n bottom: 0;\n width: 83%;\n}\n\n.container-Sr3pC {\n display: flex;\n gap: 12px;\n width: 50%;\n justify-content: flex-end;\n padding: 8px;\n}\n\n.button-NXyWV {\n height: 50px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: var(--diva-theme-palette-primary-main);\n border-radius: 2px;\n border-color: var(--diva-theme-palette-primary-main);\n border-style: solid;\n border-width: 1.5px;\n flex-grow: 1;\n cursor: pointer;\n}\n\n.nav-back-AzU6X {\n width: 50px;\n height: 50px;\n border-radius: 2px;\n border-color: var(--diva-theme-palette-primary-main);\n border-style: solid;\n border-width: 1.5px;\n background-color: #fff;\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%2218%22 viewBox%3D%220 0 10 18%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M9 1L1 9L9 17%22 stroke%3D%22%23713434%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");\n background-size: 27%;\n background-repeat: no-repeat;\n background-position: center center;\n cursor: pointer;\n}\n\n.icon-0h-39 {\n width: 24px;\n height: 24px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n}\n\n.text-55Zpw {\n text-align: center;\n /* flex-basis: 100%; */\n color: white;\n}\n";
|
|
9763
9763
|
styleInject(css_248z$9);
|
|
9764
9764
|
|
|
9765
9765
|
var _excluded$6 = ["navigateBack", "buttons"];
|
|
@@ -9809,13 +9809,13 @@ var favPlanning = "fav-planning-R8cxS";
|
|
|
9809
9809
|
var setPlanning = "set-planning-1AQNC";
|
|
9810
9810
|
var articleList = "article-list-uOn26";
|
|
9811
9811
|
var analyticsIcon = "analytics-icon-kCv53";
|
|
9812
|
-
var css_248z$8 = ".layout-NhUpB {\
|
|
9812
|
+
var css_248z$8 = ".layout-NhUpB {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(10, 1fr);\n grid-column-gap: 0px;\n grid-row-gap: 0px;\n overflow: auto;\n height: 100%;\n}\n\n.info-9St01 {\n grid-area: 1 / 1 / 11 / 3;\n z-index: 100;\n}\n\n.right-side-64-Yz {\n grid-area: 1 / 3 / 11 / 13;\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.scroller-container-TAsAz {\n overflow: auto;\n height: calc(100% - 70px);\n}\n\n.catalog-images-jJGqW {\n padding: 12px 12px 0 12px;\n height: calc(50% - 12px);\n}\n.products-hidden-T6mTt .catalog-images-jJGqW {\n height: calc(100% - 12px);\n}\n.products-QxoIf {\n height: 50%;\n}\n.footer-1ONIt {\n bottom: 0;\n right: 8px;\n}\n\n.empty-planning-BZTrr {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M4 16L3.57574 15.5757C3.46321 15.6883 3.4 15.8409 3.4 16H4ZM17 3L17.4243 2.57574C17.1899 2.34142 16.8101 2.34142 16.5757 2.57574L17 3ZM21 7L21.4243 7.42426C21.6586 7.18995 21.6586 6.81005 21.4243 6.57574L21 7ZM8 20V20.6C8.15913 20.6 8.31174 20.5368 8.42426 20.4243L8 20ZM4 20H3.4C3.4 20.3314 3.66863 20.6 4 20.6V20ZM12 19.4C11.6686 19.4 11.4 19.6686 11.4 20C11.4 20.3314 11.6686 20.6 12 20.6V19.4ZM20.5 20.6C20.8314 20.6 21.1 20.3314 21.1 20C21.1 19.6686 20.8314 19.4 20.5 19.4V20.6ZM4.42426 16.4243L17.4243 3.42426L16.5757 2.57574L3.57574 15.5757L4.42426 16.4243ZM16.5757 3.42426L20.5757 7.42426L21.4243 6.57574L17.4243 2.57574L16.5757 3.42426ZM20.5757 6.57574L7.57574 19.5757L8.42426 20.4243L21.4243 7.42426L20.5757 6.57574ZM8 19.4H4V20.6H8V19.4ZM4.6 20V16H3.4V20H4.6ZM13.5757 6.42426L17.5757 10.4243L18.4243 9.57574L14.4243 5.57574L13.5757 6.42426ZM12 20.6H20.5V19.4H12V20.6Z%22 fill%3D%22white%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.fav-planning-R8cxS {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M4.3314 12.0474L12 20L19.6686 12.0474C20.5211 11.1633 21 9.96429 21 8.71405C21 6.11055 18.9648 4 16.4543 4C15.2487 4 14.0925 4.49666 13.24 5.38071L12 6.66667L10.76 5.38071C9.90749 4.49666 8.75128 4 7.54569 4C5.03517 4 3 6.11055 3 8.71405C3 9.96429 3.47892 11.1633 4.3314 12.0474Z%22 stroke%3D%22white%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.set-planning-1AQNC {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M7.11164 16.5938L3.8061 18.9095C3.46519 19.1412 3 18.9011 3 18.4934V5.5064C3 5.12726 3.4083 4.88294 3.75042 5.05738L7.1021 6.77004M12.1193 16.7346V9.76989C12.1193 9.49058 12.3494 9.26416 12.6332 9.26416H16.1086C16.3924 9.26416 16.6225 9.49058 16.6225 9.76989V16.7346M7.46741 16.7346H19.486C19.7699 16.7346 20 16.5081 20 16.2288V7.12577C20 6.84647 19.7699 6.62004 19.486 6.62004H7.46741C7.18356 6.62004 6.95346 6.84647 6.95346 7.12577V16.2288C6.95346 16.5081 7.18356 16.7346 7.46741 16.7346Z%22 stroke%3D%22white%22 stroke-width%3D%221.5%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.article-list-uOn26 {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 24 24%22 %3E %3Cpath fill%3D%22white%22 d%3D%22M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.analytics-icon-kCv53 {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 stroke%3D%22%23fff%22 fill%3D%22%23fff%22 stroke-width%3D%222px%22 height%3D%2248%22 width%3D%2248%22%3E%3Cpath d%3D%22M7.3 40.7v-2.1l1.1-1.1v3.2Zm8.1 0V30.6l1.1-1.1v11.2Zm8.05 0V29.5l1.1 1.15V40.7Zm8.1 0V30.65l1.1-1.1V40.7Zm8.05 0V22.6l1.1-1.1v19.2ZM7.3 28.05v-1.5L20 13.85l8 8 12.7-12.7v1.55L28 23.4l-8-8Z%22%2F%3E%3C%2Fsvg%3E\");\n}\n";
|
|
9813
9813
|
styleInject(css_248z$8);
|
|
9814
9814
|
|
|
9815
9815
|
var wrapper$5 = "wrapper-D5Cmc";
|
|
9816
9816
|
var thumbs = "thumbs-cWKAj";
|
|
9817
9817
|
var mainSlider = "mainSlider-S8opH";
|
|
9818
|
-
var css_248z$7 = ".wrapper-D5Cmc {\
|
|
9818
|
+
var css_248z$7 = ".wrapper-D5Cmc {\n display: flex;\n position: relative;\n width: calc(100% - 24px);\n gap: 12px;\n}\n\n.thumbs-cWKAj .swiper-slide {\n opacity: 0.4;\n}\n\n.thumbs-cWKAj .swiper-slide-thumb-active {\n opacity: 1;\n}\n\n.mainSlider-S8opH .swiper-pagination-bullet-active {\n background-color: var(--diva-theme-palette-primary-main) !important;\n}\n\n.mainSlider-S8opH .swiper-pagination-bullet-active { /* Active bullet color */\n}\n";
|
|
9819
9819
|
styleInject(css_248z$7);
|
|
9820
9820
|
|
|
9821
9821
|
var _excluded$5 = ["data"];
|
|
@@ -9896,7 +9896,7 @@ var CatalogImages = function CatalogImages(_ref) {
|
|
|
9896
9896
|
};
|
|
9897
9897
|
|
|
9898
9898
|
var wrapper$4 = "wrapper-3d2zl";
|
|
9899
|
-
var css_248z$6 = ".wrapper-3d2zl {\
|
|
9899
|
+
var css_248z$6 = ".wrapper-3d2zl {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background-color: #f8f8f8;\n height: 46px;\n}\n";
|
|
9900
9900
|
styleInject(css_248z$6);
|
|
9901
9901
|
|
|
9902
9902
|
function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -9934,7 +9934,7 @@ var Products = function Products(_ref) {
|
|
|
9934
9934
|
var wrapper$3 = "wrapper-i9mNn";
|
|
9935
9935
|
var searchText = "search-text-grXdY";
|
|
9936
9936
|
var icon = "icon-ydD53";
|
|
9937
|
-
var css_248z$5 = ".wrapper-i9mNn {\
|
|
9937
|
+
var css_248z$5 = ".wrapper-i9mNn {\n display: flex;\n height: 100%;\n align-items: center;\n}\n\n.search-text-grXdY {\n width: 130px;\n height: 30px;\n line-height: 28px;\n border-radius: 5px;\n -webkit-tap-highlight-color: transparent;\n outline: 0;\n background-color: #fff;\n padding: 0 1.6rem;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n position: relative;\n border: 0;\n}\n\n.icon-ydD53 {\n width: 36px;\n height: 36px;\n background: center / contain no-repeat url(\"data:image/svg+xml,%3Csvg width%3D%2259%22 height%3D%2259%22 viewBox%3D%220 0 59 59%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M39.9163 41.38C40.3208 41.7844 40.9765 41.7844 41.3809 41.38C41.7854 40.9755 41.7854 40.3198 41.3809 39.9153L39.9163 41.38ZM36.851 27.5286C36.851 32.6767 32.6776 36.85 27.5296 36.85V38.9215C33.8216 38.9215 38.9224 33.8206 38.9224 27.5286H36.851ZM27.5296 36.85C22.3815 36.85 18.2081 32.6767 18.2081 27.5286H16.1367C16.1367 33.8206 21.2375 38.9215 27.5296 38.9215V36.85ZM18.2081 27.5286C18.2081 22.3805 22.3815 18.2072 27.5296 18.2072V16.1357C21.2375 16.1357 16.1367 21.2365 16.1367 27.5286H18.2081ZM27.5296 18.2072C32.6776 18.2072 36.851 22.3805 36.851 27.5286H38.9224C38.9224 21.2365 33.8216 16.1357 27.5296 16.1357V18.2072ZM41.3809 39.9153L35.5982 34.1325L34.1334 35.5972L39.9163 41.38L41.3809 39.9153Z%22 fill%3D%22%234F4F4F%22%2F%3E%3C%2Fsvg%3E\");\n margin-left: 12px;\n margin-right: 12px;\n}\n";
|
|
9938
9938
|
styleInject(css_248z$5);
|
|
9939
9939
|
|
|
9940
9940
|
var Search = function Search(_ref) {
|
|
@@ -11300,7 +11300,7 @@ var typeDropDown = "typeDropDown-A1ExF";
|
|
|
11300
11300
|
var objectListWrapper = "objectListWrapper-141eT";
|
|
11301
11301
|
var inputValueElement = "inputValueElement-XljUd";
|
|
11302
11302
|
var inputValueElementItem = "inputValueElementItem-s6dG0";
|
|
11303
|
-
var css_248z$4 = ".wrapper-D74am {\
|
|
11303
|
+
var css_248z$4 = ".wrapper-D74am {\n display: flex;\n grid-gap: 25px;\n margin-bottom: 10px;\n align-items: top;\n width: 100%;\n}\n.typeDropDown-A1ExF {\n min-width: 10%;\n max-height: 48px;\n}\n\n.objectListWrapper-141eT {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n.inputValueElement-XljUd {\n width: 100%;\n}\n.inputValueElementItem-s6dG0 {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n gap: 10px; /* Use 'gap' instead of 'grid-gap' for flex containers */\n}\n";
|
|
11304
11304
|
styleInject(css_248z$4);
|
|
11305
11305
|
|
|
11306
11306
|
function ownKeys$c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -12678,7 +12678,7 @@ function _preUpdateData(field, value, row) {
|
|
|
12678
12678
|
|
|
12679
12679
|
var wrapper$1 = "wrapper-I8eY4";
|
|
12680
12680
|
var dataTable = "data-table-ImAxQ";
|
|
12681
|
-
var css_248z$3 = ".wrapper-I8eY4 {\
|
|
12681
|
+
var css_248z$3 = ".wrapper-I8eY4 {\n display: flex;\n height: 100%;\n border-bottom: 1px solid rgb(224, 224, 224);\n}\n\n.data-table-ImAxQ {\n position: relative;\n height: 100%;\n flex-grow: 1;\n overflow: hidden;\n}\n";
|
|
12682
12682
|
styleInject(css_248z$3);
|
|
12683
12683
|
|
|
12684
12684
|
function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -14017,12 +14017,12 @@ function reducer(state, action) {
|
|
|
14017
14017
|
return state;
|
|
14018
14018
|
}
|
|
14019
14019
|
|
|
14020
|
-
/**
|
|
14021
|
-
* Updates all variant data
|
|
14022
|
-
*
|
|
14023
|
-
* @param prevState the previous state
|
|
14024
|
-
* @param currentState the current state
|
|
14025
|
-
* @returns the updated state
|
|
14020
|
+
/**
|
|
14021
|
+
* Updates all variant data
|
|
14022
|
+
*
|
|
14023
|
+
* @param prevState the previous state
|
|
14024
|
+
* @param currentState the current state
|
|
14025
|
+
* @returns the updated state
|
|
14026
14026
|
*/
|
|
14027
14027
|
function updateVariants(prevState, currentState, configurationData, baseDataFields, classificationConfig, availableLanguages) {
|
|
14028
14028
|
var newVarinatList = [];
|
|
@@ -14182,13 +14182,13 @@ function updateVariants(prevState, currentState, configurationData, baseDataFiel
|
|
|
14182
14182
|
});
|
|
14183
14183
|
}
|
|
14184
14184
|
|
|
14185
|
-
/**
|
|
14186
|
-
* Calculates the new baseData, based on the previouse state and the updated data
|
|
14187
|
-
*
|
|
14188
|
-
* @param prevState the previous state
|
|
14189
|
-
* @param updatedData the updated data
|
|
14190
|
-
* @param configurationData the configuration data
|
|
14191
|
-
* @returns the new State
|
|
14185
|
+
/**
|
|
14186
|
+
* Calculates the new baseData, based on the previouse state and the updated data
|
|
14187
|
+
*
|
|
14188
|
+
* @param prevState the previous state
|
|
14189
|
+
* @param updatedData the updated data
|
|
14190
|
+
* @param configurationData the configuration data
|
|
14191
|
+
* @returns the new State
|
|
14192
14192
|
*/
|
|
14193
14193
|
function updateBaseData(prevState, updatedData, configurationData, classificationConfig, langs, currentLang) {
|
|
14194
14194
|
var _configurationData$Pr4;
|
|
@@ -14224,15 +14224,15 @@ function updateBaseData(prevState, updatedData, configurationData, classificatio
|
|
|
14224
14224
|
});
|
|
14225
14225
|
}
|
|
14226
14226
|
|
|
14227
|
-
/**
|
|
14228
|
-
* Adds a media item to products.
|
|
14229
|
-
*
|
|
14230
|
-
* If variants is set, the media is add to all the specified variants, otherwise it is add to basedata (product without variants)
|
|
14231
|
-
*
|
|
14232
|
-
* @param currentState the current state object
|
|
14233
|
-
* @param data the media data
|
|
14234
|
-
* @param variants a list of varinat IDs
|
|
14235
|
-
* @returns the updated state object
|
|
14227
|
+
/**
|
|
14228
|
+
* Adds a media item to products.
|
|
14229
|
+
*
|
|
14230
|
+
* If variants is set, the media is add to all the specified variants, otherwise it is add to basedata (product without variants)
|
|
14231
|
+
*
|
|
14232
|
+
* @param currentState the current state object
|
|
14233
|
+
* @param data the media data
|
|
14234
|
+
* @param variants a list of varinat IDs
|
|
14235
|
+
* @returns the updated state object
|
|
14236
14236
|
*/
|
|
14237
14237
|
function updateMedia(currentState, data, variants) {
|
|
14238
14238
|
var products;
|
|
@@ -14408,15 +14408,15 @@ function sortVariantRows(currentState, from, to, sortedVariantIds) {
|
|
|
14408
14408
|
return newState;
|
|
14409
14409
|
}
|
|
14410
14410
|
|
|
14411
|
-
/**
|
|
14412
|
-
* Removes a media item from products.
|
|
14413
|
-
*
|
|
14414
|
-
* If variants is set, the media is removed from all the specified variants, otherwise it is removed from basedata (product without variants)
|
|
14415
|
-
*
|
|
14416
|
-
* @param currentState the current state object
|
|
14417
|
-
* @param data the media data
|
|
14418
|
-
* @param variants a list of varinat IDs
|
|
14419
|
-
* @returns the updated state object
|
|
14411
|
+
/**
|
|
14412
|
+
* Removes a media item from products.
|
|
14413
|
+
*
|
|
14414
|
+
* If variants is set, the media is removed from all the specified variants, otherwise it is removed from basedata (product without variants)
|
|
14415
|
+
*
|
|
14416
|
+
* @param currentState the current state object
|
|
14417
|
+
* @param data the media data
|
|
14418
|
+
* @param variants a list of varinat IDs
|
|
14419
|
+
* @returns the updated state object
|
|
14420
14420
|
*/
|
|
14421
14421
|
function removeMedia(currentState, data, variants) {
|
|
14422
14422
|
var products;
|
|
@@ -15972,7 +15972,7 @@ function OptionsTable (_ref) {
|
|
|
15972
15972
|
});
|
|
15973
15973
|
}
|
|
15974
15974
|
|
|
15975
|
-
var css_248z$2 = "#OptionsTable .MuiTableCell-head {\
|
|
15975
|
+
var css_248z$2 = "#OptionsTable .MuiTableCell-head {\n background-color: #f5f5f5;\n font-weight: 1000;\n}\n";
|
|
15976
15976
|
styleInject(css_248z$2);
|
|
15977
15977
|
|
|
15978
15978
|
function RenderJobTableLegacy (_ref) {
|
|
@@ -16929,7 +16929,7 @@ function ProductCreator (_ref) {
|
|
|
16929
16929
|
var wrapper = "wrapper-sx3-s";
|
|
16930
16930
|
var title$1 = "title-L3wlK";
|
|
16931
16931
|
var descriptionContainer = "description-container-gfeR-";
|
|
16932
|
-
var css_248z$1 = ".wrapper-sx3-s {\
|
|
16932
|
+
var css_248z$1 = ".wrapper-sx3-s {\n display: flex;\n flex-direction: column;\n padding: 0 12px;\n max-height: calc(100% - 42px);\n}\n\n.title-L3wlK {\n padding: 16px 8px;\n font-size: 36px;\n}\n\n.subTitle-2fpiQ {\n padding: 12px 18px;\n font-size: 28px;\n}\n\n.description-container-gfeR- {\n display: flex;\n flex-direction: column;\n padding: 18px;\n gap: 12px;\n height: calc(100% - 164px);\n}\n\n.model-title-4Xo-P {\n font-size: 24px;\n font-weight: 600;\n}\n.description-Ybwiu {\n font-size: 16px;\n overflow: auto;\n flex-grow: 3;\n}\n\n.pdf-b33qr {\n display: 'flex';\n flex: 1 1 10px;\n}\n\n.pdf-b33qr svg {\n margin-right: 10px;\n}\n";
|
|
16933
16933
|
styleInject(css_248z$1);
|
|
16934
16934
|
|
|
16935
16935
|
var _excluded = ["data", "text", "children"];
|
|
@@ -16958,7 +16958,7 @@ var layout = "layout-p-t8w";
|
|
|
16958
16958
|
var info = "info-xh-rO";
|
|
16959
16959
|
var title = "title-F-Dex";
|
|
16960
16960
|
var rightSide = "right-side-umbpB";
|
|
16961
|
-
var css_248z = ".layout-p-t8w {\
|
|
16961
|
+
var css_248z = ".layout-p-t8w {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(10, 1fr);\n grid-column-gap: 0px;\n grid-row-gap: 0px;\n overflow: auto;\n}\n\n.info-xh-rO {\n grid-area: 1 / 1 / 11 / 3;\n z-index: 100;\n}\n\n.title-F-Dex {\n grid-area: 1 / 3 / 2 / 13;\n}\n\n.right-side-umbpB {\n grid-area: 2 / 3 / 11 / 13;\n width: calc(100% - 40px);\n display: flex;\n position: relative;\n gap: 20px;\n flex-direction: row;\n flex-wrap: wrap;\n padding: 20px;\n overflow: auto;\n}\n\n.graph-ZL-Gs {\n position: relative;\n}\n";
|
|
16962
16962
|
styleInject(css_248z);
|
|
16963
16963
|
|
|
16964
16964
|
var LOG$1 = getLogger('Seller', 'Analytics');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-seller",
|
|
3
|
-
"version": "24.12.
|
|
3
|
+
"version": "24.12.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"react-dom": "^18.3.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@crystaldesign/analytics": "24.12.
|
|
33
|
-
"@crystaldesign/products-component": "24.12.
|
|
34
|
-
"@crystaldesign/real-time-viewer": "24.12.
|
|
32
|
+
"@crystaldesign/analytics": "24.12.2",
|
|
33
|
+
"@crystaldesign/products-component": "24.12.2",
|
|
34
|
+
"@crystaldesign/real-time-viewer": "24.12.2",
|
|
35
35
|
"@material-ui/core": "^4.12.4",
|
|
36
36
|
"@material-ui/icons": "^4.11.2",
|
|
37
37
|
"react-error-boundary": "^4.0.13",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
},
|
|
42
42
|
"types": "./build/types/seller/src/index.d.ts",
|
|
43
43
|
"module": "build/esm/index.js",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "c52f390c626615e95e0e22ae62b8b236aece192b"
|
|
45
45
|
}
|