@useinsider/guido 3.0.0-beta.34a1600 → 3.0.0-beta.39155d9
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/dist/@types/config/schemas.js +10 -8
- package/dist/components/Guido.vue.js +3 -3
- package/dist/components/Guido.vue2.js +61 -60
- package/dist/components/organisms/header/EditorActions.vue.js +1 -1
- package/dist/components/organisms/header/EditorActions.vue2.js +6 -6
- package/dist/composables/useCustomFieldAttributes.js +16 -0
- package/dist/composables/useHtmlValidator.js +40 -38
- package/dist/config/compiler/unsubscribeCompilerRules.js +14 -14
- package/dist/config/compiler/utils/recommendationCompilerUtils.js +29 -18
- package/dist/extensions/Blocks/Recommendation/block.js +40 -55
- package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +34 -36
- package/dist/extensions/Blocks/Recommendation/constants/selectors.js +15 -12
- package/dist/extensions/Blocks/Recommendation/controls/cardBackground/index.js +4 -4
- package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +693 -144
- package/dist/extensions/Blocks/Recommendation/controls/customAttribute/index.js +78 -0
- package/dist/extensions/Blocks/Recommendation/controls/{main/layoutOrientation.js → layout/index.js} +27 -32
- package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +15 -15
- package/dist/extensions/Blocks/Recommendation/controls/main/currency.js +24 -24
- package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +2 -2
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +78 -107
- package/dist/extensions/Blocks/Recommendation/controls/main/locale.js +2 -2
- package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +64 -150
- package/dist/extensions/Blocks/Recommendation/controls/main/shuffle.js +2 -2
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +191 -177
- package/dist/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.js +8 -25
- package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +5 -6
- package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/textAfter.js +8 -8
- package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/textBefore.js +21 -21
- package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/textAfter.js +13 -13
- package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/textBefore.js +17 -17
- package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +100 -94
- package/dist/extensions/Blocks/Recommendation/extension.js +27 -25
- package/dist/extensions/Blocks/Recommendation/recommendation.css.js +125 -36
- package/dist/extensions/Blocks/Recommendation/settingsPanel.js +111 -99
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +2 -2
- package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +63 -34
- package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +30 -33
- package/dist/extensions/Blocks/Recommendation/templates/index.js +8 -8
- package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +28 -13
- package/dist/extensions/Blocks/Recommendation/templates/list/template.js +25 -44
- package/dist/extensions/Blocks/Recommendation/templates/utils.js +62 -38
- package/dist/extensions/Blocks/common-control.js +41 -90
- package/dist/guido.css +1 -1
- package/dist/services/customFieldAttributesApi.js +21 -0
- package/dist/src/@types/config/schemas.d.ts +4 -0
- package/dist/src/components/Guido.vue.d.ts +1 -1
- package/dist/src/components/organisms/header/EditorActions.vue.d.ts +1 -1
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +1 -1
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +1 -1
- package/dist/src/composables/useConfig.d.ts +2 -0
- package/dist/src/composables/useCustomFieldAttributes.d.ts +5 -0
- package/dist/src/extensions/Blocks/Recommendation/block.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +2 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/controlIds.d.ts +7 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/cardBackgroundColorControl.d.ts +25 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +134 -44
- package/dist/src/extensions/Blocks/Recommendation/controls/customAttribute/index.d.ts +105 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +3 -2
- package/dist/src/extensions/Blocks/Recommendation/controls/{main/layoutOrientation.d.ts → layout/index.d.ts} +3 -3
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +1 -5
- package/dist/src/extensions/Blocks/Recommendation/controls/main/productLayout.d.ts +20 -38
- package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +4 -4
- package/dist/src/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.d.ts +1 -23
- package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscountTextAfterControl.d.ts +15 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscountTextBeforeControl.d.ts +15 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPriceTextAfterControl.d.ts +15 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPriceTextBeforeControl.d.ts +15 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/spacing/index.d.ts +18 -8
- package/dist/src/extensions/Blocks/Recommendation/controls/spacingControl.d.ts +60 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/templates/list/elementRenderer.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +10 -4
- package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +37 -2
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +0 -13
- package/dist/src/extensions/Blocks/common-control.d.ts +2 -24
- package/dist/src/mock/api/custom-field-attributes.d.ts +2 -0
- package/dist/src/services/customFieldAttributesApi.d.ts +3 -0
- package/dist/src/stores/config.d.ts +18 -0
- package/dist/static/styles/components/wide-panel.css.js +0 -1
- package/dist/static/styles/customEditorStyle.css.js +0 -9
- package/dist/static/styles/variables.css.js +3 -0
- package/package.json +1 -1
- package/dist/extensions/Blocks/Recommendation/controls/main/productCount.js +0 -58
- package/dist/extensions/Blocks/Recommendation/controls/syncInfoMessage.js +0 -65
- package/dist/src/extensions/Blocks/Recommendation/controls/main/productCount.d.ts +0 -28
- package/dist/src/extensions/Blocks/Recommendation/controls/syncInfoMessage.d.ts +0 -34
|
@@ -1,42 +1,44 @@
|
|
|
1
|
-
import { ExtensionBuilder as
|
|
2
|
-
import { RecommendationBlock as
|
|
3
|
-
import { RecommendationBlockControl as
|
|
1
|
+
import { ExtensionBuilder as r } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
|
+
import { RecommendationBlock as m } from "./block.js";
|
|
3
|
+
import { RecommendationBlockControl as n } from "./controls/main/index.js";
|
|
4
4
|
import "./store/recommendation.js";
|
|
5
5
|
import { NameControls as i } from "./controls/name/index.js";
|
|
6
6
|
import { PriceControls as e } from "./controls/price/index.js";
|
|
7
|
-
import { OldPriceControls as
|
|
8
|
-
import { OmnibusPriceControls as
|
|
7
|
+
import { OldPriceControls as l } from "./controls/oldPrice/index.js";
|
|
8
|
+
import { OmnibusPriceControls as s } from "./controls/omnibusPrice/index.js";
|
|
9
9
|
import { OmnibusDiscountControls as a } from "./controls/omnibusDiscount/index.js";
|
|
10
10
|
import { ButtonControls as p } from "./controls/button/index.js";
|
|
11
|
-
import { ImageControls as
|
|
11
|
+
import { ImageControls as C } from "./controls/image/index.js";
|
|
12
|
+
import { CustomAttributeControls as c } from "./controls/customAttribute/index.js";
|
|
12
13
|
import { SpacingControl as f } from "./controls/spacing/index.js";
|
|
13
|
-
import { CardBackgroundColorControl as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { RecommendationIconsRegistry as
|
|
17
|
-
import
|
|
18
|
-
import { SettingsPanel as
|
|
19
|
-
const
|
|
14
|
+
import { CardBackgroundColorControl as d } from "./controls/cardBackground/index.js";
|
|
15
|
+
import { LayoutControl as u } from "./controls/layout/index.js";
|
|
16
|
+
import { RecommendationCardCompositionControl as g } from "./controls/cardComposition/index.js";
|
|
17
|
+
import { RecommendationIconsRegistry as R } from "./iconsRegistry.js";
|
|
18
|
+
import y from "./recommendation.css.js";
|
|
19
|
+
import { SettingsPanel as B } from "./settingsPanel.js";
|
|
20
|
+
const b = [
|
|
20
21
|
i,
|
|
21
22
|
e,
|
|
22
|
-
s,
|
|
23
23
|
l,
|
|
24
|
+
s,
|
|
24
25
|
a,
|
|
25
26
|
p,
|
|
27
|
+
C,
|
|
26
28
|
c
|
|
27
29
|
], P = [
|
|
28
|
-
|
|
29
|
-
C,
|
|
30
|
-
f,
|
|
30
|
+
n,
|
|
31
31
|
d,
|
|
32
|
-
u
|
|
33
|
-
|
|
32
|
+
u,
|
|
33
|
+
f,
|
|
34
|
+
g
|
|
35
|
+
], k = [
|
|
34
36
|
...P,
|
|
35
|
-
...
|
|
36
|
-
],
|
|
37
|
-
(o,
|
|
38
|
-
new
|
|
39
|
-
).addStyles(
|
|
37
|
+
...b.flatMap((o) => Object.values(o))
|
|
38
|
+
], J = k.reduce(
|
|
39
|
+
(o, t) => o.addControl(t),
|
|
40
|
+
new r().addBlock(m).withSettingsPanelRegistry(B)
|
|
41
|
+
).addStyles(y).withIconsRegistry(R).build();
|
|
40
42
|
export {
|
|
41
|
-
|
|
43
|
+
J as default
|
|
42
44
|
};
|
|
@@ -3,7 +3,7 @@ const n = `/* Utils */
|
|
|
3
3
|
|
|
4
4
|
/* Recommendation Controls - Main settings panel separators */
|
|
5
5
|
.recommendation-controls-container > div {
|
|
6
|
-
border-bottom: 1px solid #
|
|
6
|
+
border-bottom: 1px solid #eee;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.recommendation-controls-container > div:first-child {
|
|
@@ -18,16 +18,135 @@ const n = `/* Utils */
|
|
|
18
18
|
padding: 0
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
/*
|
|
22
|
-
.
|
|
23
|
-
|
|
21
|
+
/* Hide drag icon for list layout (ordering disabled) — legacy UE-ORDERABLE */
|
|
22
|
+
ue-orderable.orderable-disabled .droppable-icon {
|
|
23
|
+
display: none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
/*
|
|
27
|
-
|
|
26
|
+
/* =============================================
|
|
27
|
+
Custom Orderable List (replaces UE-ORDERABLE)
|
|
28
|
+
============================================= */
|
|
29
|
+
|
|
30
|
+
/* Card Composition Description */
|
|
31
|
+
.card-composition-description {
|
|
32
|
+
font-size: 13px;
|
|
33
|
+
color: var(--guido-color-gray-800);
|
|
34
|
+
margin: 0;
|
|
35
|
+
line-height: 1.4;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Add Attribute button */
|
|
39
|
+
#guido__btn-add-attribute {
|
|
40
|
+
margin: 16px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#guido__btn-add-attribute .button {
|
|
44
|
+
background: var(--guido-color-primary-100);
|
|
45
|
+
color: var(--guido-color-primary-500);
|
|
46
|
+
border: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#guido__btn-add-attribute .button:not(.disabled):hover {
|
|
50
|
+
background: var(--guido-color-primary-0);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
#guido__btn-add-attribute .button.disabled {
|
|
54
|
+
background: var(--guido-color-gray-100);
|
|
55
|
+
color: var(--guido-color-gray-500);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Custom attribute select wrapper (inside orderable item) */
|
|
59
|
+
.custom-attr-select-wrap {
|
|
60
|
+
flex: 1;
|
|
61
|
+
min-width: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.custom-attr-select-wrap ue-select {
|
|
65
|
+
width: 270px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Orderable List */
|
|
69
|
+
.orderable-list {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.orderable-item {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
gap: 4px;
|
|
78
|
+
padding: 16px;
|
|
79
|
+
min-height: 72px;
|
|
80
|
+
background: var(--guido-color-white);
|
|
81
|
+
border-top: 1px solid #eee;
|
|
82
|
+
cursor: default;
|
|
83
|
+
transition: background 0.15s;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.orderable-item:first-child {
|
|
88
|
+
border-top: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.orderable-item:hover {
|
|
92
|
+
background: #fafafa;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.orderable-item.dragging {
|
|
96
|
+
opacity: 0.5;
|
|
97
|
+
background: var(--guido-color-gray-1);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.orderable-item.drag-over {
|
|
101
|
+
border-top: 2px solid var(--guido-color-primary-500, #0A2ECC);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.drag-handle {
|
|
105
|
+
user-select: none;
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
width: 24px;
|
|
110
|
+
height: 24px;
|
|
111
|
+
flex-shrink: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.drag-handle .drag-handle-btn .button {
|
|
115
|
+
padding: 0;
|
|
116
|
+
min-width: auto;
|
|
117
|
+
cursor: move;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.drag-handle .drag-handle-btn .button .icon-button {
|
|
121
|
+
color: var(--guido-color-gray-600);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.item-label {
|
|
125
|
+
flex: 1;
|
|
126
|
+
font-size: 13px;
|
|
127
|
+
line-height: 16px;
|
|
128
|
+
color: #333;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.item-action {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Custom attribute delete button */
|
|
137
|
+
.custom-attr-delete .button .icon-button {
|
|
138
|
+
color: var(--guido-color-danger-500);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Disable drag for list layout */
|
|
142
|
+
.orderable-list.orderable-disabled .drag-handle {
|
|
28
143
|
display: none;
|
|
29
144
|
}
|
|
30
145
|
|
|
146
|
+
.orderable-list.orderable-disabled .orderable-item {
|
|
147
|
+
cursor: default;
|
|
148
|
+
}
|
|
149
|
+
|
|
31
150
|
/* ─── Migration Info Box ─────────────────────────────────────────────── */
|
|
32
151
|
/* Shown in the settings panel title when a block was migrated from legacy */
|
|
33
152
|
|
|
@@ -75,36 +194,6 @@ ue-orderable.orderable-disabled .droppable-icon {
|
|
|
75
194
|
font-weight: 400;
|
|
76
195
|
line-height: 16px;
|
|
77
196
|
}
|
|
78
|
-
|
|
79
|
-
/* ─── Sync Info Message ─────────────────────────────────────────────── */
|
|
80
|
-
/* Shown above tabs in sub-block panels (Name, Button, Image) to indicate
|
|
81
|
-
that editing applies to all product cards. Same structure as migration info. */
|
|
82
|
-
|
|
83
|
-
.sync-info-message {
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: flex-start;
|
|
86
|
-
gap: 8px;
|
|
87
|
-
padding: 12px;
|
|
88
|
-
margin: 16px 16px 0;
|
|
89
|
-
background: var(--guido-color-background-onpage-message-info);
|
|
90
|
-
border: 1px solid var(--guido-color-border-onpage-message-info);
|
|
91
|
-
border-radius: 4px;
|
|
92
|
-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.sync-info-message__icon {
|
|
96
|
-
flex-shrink: 0;
|
|
97
|
-
width: 24px;
|
|
98
|
-
height: 24px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.sync-info-message__text {
|
|
102
|
-
margin: 4px 0;
|
|
103
|
-
white-space: normal;
|
|
104
|
-
font-size: 13px;
|
|
105
|
-
font-weight: 400;
|
|
106
|
-
line-height: 16px;
|
|
107
|
-
}
|
|
108
197
|
`;
|
|
109
198
|
export {
|
|
110
199
|
n as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SettingsPanelRegistry as
|
|
2
|
-
import { BLOCK_ID as
|
|
1
|
+
import { SettingsPanelRegistry as S, SettingsPanelTab as _, SettingsTab as O, ContainerControls as E, TextControls as C } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
|
+
import { BLOCK_ID as R } from "./block.js";
|
|
3
3
|
import { RecommendationBlockId as N } from "./constants/blockIds.js";
|
|
4
|
-
import { RecommendationControlId as
|
|
4
|
+
import { RecommendationControlId as T } from "./constants/controlIds.js";
|
|
5
5
|
import { CONTROL_BLOCK_ID as U } from "./controls/main/index.js";
|
|
6
6
|
import "./store/recommendation.js";
|
|
7
7
|
import "./controls/name/index.js";
|
|
@@ -11,169 +11,181 @@ import "./controls/omnibusPrice/index.js";
|
|
|
11
11
|
import "./controls/omnibusDiscount/index.js";
|
|
12
12
|
import "./controls/button/index.js";
|
|
13
13
|
import "./controls/image/index.js";
|
|
14
|
-
import { SPACING_CONTROL_ID as
|
|
15
|
-
import { CARD_BACKGROUND_COLOR_CONTROL_ID as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
class
|
|
19
|
-
registerBlockControls(
|
|
20
|
-
|
|
21
|
-
new
|
|
14
|
+
import { SPACING_CONTROL_ID as A } from "./controls/spacing/index.js";
|
|
15
|
+
import { CARD_BACKGROUND_COLOR_CONTROL_ID as L } from "./controls/cardBackground/index.js";
|
|
16
|
+
import { LAYOUT_CONTROL_ID as D } from "./controls/layout/index.js";
|
|
17
|
+
import { COMPOSITION_CONTROL_BLOCK_ID as B } from "./controls/cardComposition/index.js";
|
|
18
|
+
class d extends S {
|
|
19
|
+
registerBlockControls(I) {
|
|
20
|
+
I[R] = [
|
|
21
|
+
new _(
|
|
22
22
|
O.SETTINGS,
|
|
23
23
|
[
|
|
24
24
|
U,
|
|
25
|
-
|
|
25
|
+
E.EXTERNAL_INDENTS
|
|
26
26
|
]
|
|
27
27
|
),
|
|
28
|
-
new
|
|
28
|
+
new _(
|
|
29
29
|
O.STYLES,
|
|
30
30
|
[
|
|
31
|
-
|
|
31
|
+
C.TEXT_BLOCK_BACKGROUND_COLOR,
|
|
32
|
+
L,
|
|
32
33
|
D,
|
|
33
|
-
|
|
34
|
+
A
|
|
34
35
|
]
|
|
35
36
|
),
|
|
36
|
-
new
|
|
37
|
+
new _(
|
|
37
38
|
"Card Composition",
|
|
38
39
|
[
|
|
39
|
-
|
|
40
|
+
B
|
|
41
|
+
]
|
|
42
|
+
).withLabel("Card Composition")
|
|
43
|
+
], I[N.NAME] = [
|
|
44
|
+
new _(
|
|
45
|
+
O.SETTINGS,
|
|
46
|
+
[
|
|
47
|
+
T.NAME_STYLE,
|
|
48
|
+
T.NAME_ALIGN,
|
|
49
|
+
T.NAME_TEXT_TRIM,
|
|
50
|
+
T.NAME_PADDINGS
|
|
51
|
+
]
|
|
52
|
+
),
|
|
53
|
+
new _(
|
|
54
|
+
O.STYLES,
|
|
55
|
+
[
|
|
56
|
+
T.NAME_BACKGROUND,
|
|
57
|
+
T.NAME_FONT_FAMILY,
|
|
58
|
+
T.NAME_SIZE,
|
|
59
|
+
T.NAME_COLOR
|
|
40
60
|
]
|
|
41
|
-
)
|
|
42
|
-
],
|
|
43
|
-
new
|
|
61
|
+
)
|
|
62
|
+
], I[N.PRICE] = [
|
|
63
|
+
new _(
|
|
44
64
|
O.SETTINGS,
|
|
45
65
|
[
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
_.NAME_TEXT_TRIM,
|
|
50
|
-
_.NAME_PADDINGS
|
|
66
|
+
T.PRICE_STYLE,
|
|
67
|
+
T.PRICE_ALIGN,
|
|
68
|
+
T.PRICE_PADDINGS
|
|
51
69
|
]
|
|
52
70
|
),
|
|
53
|
-
new
|
|
71
|
+
new _(
|
|
54
72
|
O.STYLES,
|
|
55
73
|
[
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
74
|
+
T.PRICE_BACKGROUND,
|
|
75
|
+
T.PRICE_FONT_FAMILY,
|
|
76
|
+
T.PRICE_SIZE,
|
|
77
|
+
T.PRICE_COLOR
|
|
60
78
|
]
|
|
61
79
|
)
|
|
62
|
-
],
|
|
63
|
-
new
|
|
80
|
+
], I[N.OLD_PRICE] = [
|
|
81
|
+
new _(
|
|
64
82
|
O.SETTINGS,
|
|
65
83
|
[
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
_.PRICE_PADDINGS
|
|
84
|
+
T.OLD_PRICE_STYLE,
|
|
85
|
+
T.OLD_PRICE_ALIGN,
|
|
86
|
+
T.OLD_PRICE_PADDINGS
|
|
70
87
|
]
|
|
71
88
|
),
|
|
72
|
-
new
|
|
89
|
+
new _(
|
|
73
90
|
O.STYLES,
|
|
74
91
|
[
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
92
|
+
T.OLD_PRICE_BACKGROUND,
|
|
93
|
+
T.OLD_PRICE_FONT_FAMILY,
|
|
94
|
+
T.OLD_PRICE_SIZE,
|
|
95
|
+
T.OLD_PRICE_COLOR
|
|
79
96
|
]
|
|
80
97
|
)
|
|
81
|
-
],
|
|
82
|
-
new
|
|
98
|
+
], I[N.OMNIBUS_PRICE] = [
|
|
99
|
+
new _(
|
|
83
100
|
O.SETTINGS,
|
|
84
101
|
[
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
102
|
+
T.OMNIBUS_PRICE_TEXT_BEFORE,
|
|
103
|
+
T.OMNIBUS_PRICE_TEXT_AFTER,
|
|
104
|
+
T.OMNIBUS_PRICE_STYLE,
|
|
105
|
+
T.OMNIBUS_PRICE_ALIGN,
|
|
106
|
+
T.OMNIBUS_PRICE_PADDINGS
|
|
89
107
|
]
|
|
90
108
|
),
|
|
91
|
-
new
|
|
109
|
+
new _(
|
|
92
110
|
O.STYLES,
|
|
93
111
|
[
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
112
|
+
T.OMNIBUS_PRICE_BACKGROUND,
|
|
113
|
+
T.OMNIBUS_PRICE_FONT_FAMILY,
|
|
114
|
+
T.OMNIBUS_PRICE_SIZE,
|
|
115
|
+
T.OMNIBUS_PRICE_COLOR
|
|
98
116
|
]
|
|
99
117
|
)
|
|
100
|
-
],
|
|
101
|
-
new
|
|
118
|
+
], I[N.OMNIBUS_DISCOUNT] = [
|
|
119
|
+
new _(
|
|
102
120
|
O.SETTINGS,
|
|
103
121
|
[
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
_.OMNIBUS_PRICE_PADDINGS
|
|
122
|
+
T.OMNIBUS_DISCOUNT_TEXT_BEFORE,
|
|
123
|
+
T.OMNIBUS_DISCOUNT_TEXT_AFTER,
|
|
124
|
+
T.OMNIBUS_DISCOUNT_STYLE,
|
|
125
|
+
T.OMNIBUS_DISCOUNT_ALIGN,
|
|
126
|
+
T.OMNIBUS_DISCOUNT_PADDINGS
|
|
110
127
|
]
|
|
111
128
|
),
|
|
112
|
-
new
|
|
129
|
+
new _(
|
|
113
130
|
O.STYLES,
|
|
114
131
|
[
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
132
|
+
T.OMNIBUS_DISCOUNT_BACKGROUND,
|
|
133
|
+
T.OMNIBUS_DISCOUNT_FONT_FAMILY,
|
|
134
|
+
T.OMNIBUS_DISCOUNT_SIZE,
|
|
135
|
+
T.OMNIBUS_DISCOUNT_COLOR
|
|
119
136
|
]
|
|
120
137
|
)
|
|
121
|
-
],
|
|
122
|
-
new
|
|
138
|
+
], I[N.BUTTON] = [
|
|
139
|
+
new _(
|
|
123
140
|
O.SETTINGS,
|
|
124
141
|
[
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
_.OMNIBUS_DISCOUNT_ALIGN,
|
|
130
|
-
_.OMNIBUS_DISCOUNT_PADDINGS
|
|
142
|
+
T.BUTTON_TEXT,
|
|
143
|
+
T.BUTTON_ALIGN,
|
|
144
|
+
T.BUTTON_PADDINGS,
|
|
145
|
+
T.BUTTON_MARGINS
|
|
131
146
|
]
|
|
132
147
|
),
|
|
133
|
-
new
|
|
148
|
+
new _(
|
|
134
149
|
O.STYLES,
|
|
135
150
|
[
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
151
|
+
T.BUTTON_COLOR,
|
|
152
|
+
T.BUTTON_FONT_FAMILY,
|
|
153
|
+
T.BUTTON_TEXT_SIZE,
|
|
154
|
+
T.BUTTON_TEXT_STYLE_AND_FONT_COLOR,
|
|
155
|
+
T.BUTTON_FIT_TO_CONTENT,
|
|
156
|
+
T.BUTTON_BORDER_RADIUS,
|
|
157
|
+
T.BUTTON_BORDER
|
|
140
158
|
]
|
|
141
159
|
)
|
|
142
|
-
],
|
|
143
|
-
new
|
|
160
|
+
], I[N.CUSTOM_ATTRIBUTE] = [
|
|
161
|
+
new _(
|
|
144
162
|
O.SETTINGS,
|
|
145
163
|
[
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
_.BUTTON_PADDINGS,
|
|
150
|
-
_.BUTTON_MARGINS
|
|
164
|
+
T.CUSTOM_ATTR_STYLE,
|
|
165
|
+
T.CUSTOM_ATTR_ALIGN,
|
|
166
|
+
T.CUSTOM_ATTR_PADDINGS
|
|
151
167
|
]
|
|
152
168
|
),
|
|
153
|
-
new
|
|
169
|
+
new _(
|
|
154
170
|
O.STYLES,
|
|
155
171
|
[
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
_.BUTTON_FIT_TO_CONTENT,
|
|
161
|
-
_.BUTTON_BORDER_RADIUS,
|
|
162
|
-
_.BUTTON_BORDER
|
|
172
|
+
T.CUSTOM_ATTR_BACKGROUND,
|
|
173
|
+
T.CUSTOM_ATTR_FONT_FAMILY,
|
|
174
|
+
T.CUSTOM_ATTR_SIZE,
|
|
175
|
+
T.CUSTOM_ATTR_COLOR
|
|
163
176
|
]
|
|
164
177
|
)
|
|
165
|
-
],
|
|
166
|
-
new
|
|
178
|
+
], I[N.IMAGE] = [
|
|
179
|
+
new _(
|
|
167
180
|
O.SETTINGS,
|
|
168
181
|
[
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
_.IMAGE_MARGINS
|
|
182
|
+
T.IMAGE_SIZE,
|
|
183
|
+
T.IMAGE_MARGINS
|
|
172
184
|
]
|
|
173
185
|
)
|
|
174
186
|
];
|
|
175
187
|
}
|
|
176
188
|
}
|
|
177
189
|
export {
|
|
178
|
-
|
|
190
|
+
d as SettingsPanel
|
|
179
191
|
};
|
|
@@ -25,7 +25,6 @@ function I() {
|
|
|
25
25
|
productIds: [],
|
|
26
26
|
id: 1,
|
|
27
27
|
language: "en_US",
|
|
28
|
-
mobileLayoutEnabled: !1,
|
|
29
28
|
orientation: "grid",
|
|
30
29
|
recommendedProducts: [],
|
|
31
30
|
sendProductRequestFlag: !1,
|
|
@@ -33,7 +32,8 @@ function I() {
|
|
|
33
32
|
strategy: "mostPopular",
|
|
34
33
|
textTrimming: !0,
|
|
35
34
|
unresponsive: !1,
|
|
36
|
-
size: "6"
|
|
35
|
+
size: "6",
|
|
36
|
+
customAttributes: []
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function P() {
|