@useinsider/guido 3.30.0-beta.23d415d → 3.30.0-beta.25ed52c
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/README.md +35 -0
- package/dist/@types/config/schemas.js +42 -37
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +129 -115
- package/dist/components/organisms/dynamic-content/DynamicContentAooRuleConfig.vue.js +34 -0
- package/dist/components/organisms/dynamic-content/DynamicContentAooRuleConfig.vue2.js +76 -0
- package/dist/components/organisms/dynamic-content/DynamicContentCustomFormat.vue.js +21 -0
- package/dist/components/organisms/dynamic-content/DynamicContentCustomFormat.vue2.js +33 -0
- package/dist/components/organisms/dynamic-content/DynamicContentPicker.vue.js +42 -0
- package/dist/components/organisms/dynamic-content/DynamicContentPicker.vue2.js +216 -0
- package/dist/composables/useDynamicContentFormat.js +10 -0
- package/dist/composables/useDynamicContentPicker.js +36 -0
- package/dist/composables/useInfoBoxPosition.js +16 -0
- package/dist/config/migrator/itemsBlockMigrator.js +164 -161
- package/dist/enums/dynamic-content.js +180 -2
- package/dist/guido.css +1 -1
- package/dist/package.json.js +2 -2
- package/dist/src/@types/config/schemas.d.ts +12 -0
- package/dist/src/@types/generic.d.ts +1 -0
- package/dist/src/components/organisms/dynamic-content/DynamicContentAooRuleConfig.vue.d.ts +48 -0
- package/dist/src/components/organisms/dynamic-content/DynamicContentCustomFormat.vue.d.ts +44 -0
- package/dist/src/components/organisms/dynamic-content/DynamicContentPicker.vue.d.ts +67 -0
- package/dist/src/components/wrappers/WpDrawer.vue.d.ts +1 -1
- package/dist/src/composables/useConfig.d.ts +4 -0
- package/dist/src/composables/useDynamicContentFormat.d.ts +5 -0
- package/dist/src/composables/useDynamicContentPicker.d.ts +35 -0
- package/dist/src/composables/useInfoBoxPosition.d.ts +24 -0
- package/dist/src/enums/dynamic-content.d.ts +21 -0
- package/dist/src/stores/config.d.ts +42 -0
- package/dist/src/utils/dynamicContentPicker.d.ts +43 -0
- package/dist/src/utils/genericUtil.d.ts +1 -1
- package/dist/utils/dynamicContentPicker.js +88 -0
- package/dist/utils/genericUtil.js +21 -21
- package/dist/utils/pairProductVariables.js +98 -108
- package/package.json +1 -1
|
@@ -1,4 +1,182 @@
|
|
|
1
|
-
var
|
|
1
|
+
var t = /* @__PURE__ */ ((Y) => (Y.Pending = "data-guido-dc-pending", Y))(t || {}), e = /* @__PURE__ */ ((Y) => (Y.Datetime = "datetime", Y.Number = "number", Y))(e || {}), M = /* @__PURE__ */ ((Y) => (Y.Time = "time-format", Y.Number = "number-format", Y))(M || {});
|
|
2
|
+
const i = "array_of_objects", s = "array-of-objects", r = "dynamic-content.array-of-objects", D = "dynamic-content.array-of-objects-info-text", d = "Order the objects by {key} {order} and return top {limit}.", p = [
|
|
3
|
+
{ text: "M/DD/YYYY", value: "M/DD/YYYY", description: "4/11/2023" },
|
|
4
|
+
{ text: "MM/DD/YYYY", value: "MM/DD/YYYY", description: "04/11/2023" },
|
|
5
|
+
{ text: "MMM/DD/YYYY", value: "MMM/DD/YYYY", description: "Apr/11/2023" },
|
|
6
|
+
{ text: "MMMM/DD/YYYY", value: "MMMM/DD/YYYY", description: "April/11/2023" },
|
|
7
|
+
{ text: "M/DD/YY", value: "M/DD/YY", description: "4/11/23" },
|
|
8
|
+
{ text: "MM/DD/YY", value: "MM/DD/YY", description: "04/11/23" },
|
|
9
|
+
{ text: "MMM/DD/YY", value: "MMM/DD/YY", description: "Apr/11/23" },
|
|
10
|
+
{ text: "MMMM/DD/YY", value: "MMMM/DD/YY", description: "April/11/23" },
|
|
11
|
+
{ text: "DD/M/YYYY", value: "DD/M/YYYY", description: "11/4/2023" },
|
|
12
|
+
{ text: "DD/MM/YYYY", value: "DD/MM/YYYY", description: "11/04/2023" },
|
|
13
|
+
{ text: "DD/MMM/YYYY", value: "DD/MMM/YYYY", description: "11/Apr/2023" },
|
|
14
|
+
{ text: "DD/MMMM/YYYY", value: "DD/MMMM/YYYY", description: "11/April/2023" },
|
|
15
|
+
{ text: "DD/M/YY", value: "DD/M/YY", description: "11/4/23" },
|
|
16
|
+
{ text: "DD/MM/YY", value: "DD/MM/YY", description: "11/04/23" },
|
|
17
|
+
{ text: "DD/MMM/YY", value: "DD/MMM/YY", description: "11/Apr/23" },
|
|
18
|
+
{ text: "DD/MMMM/YY", value: "DD/MMMM/YY", description: "11/April/23" },
|
|
19
|
+
{ text: "DD-M-YYYY", value: "DD-M-YYYY", description: "11-4-2023" },
|
|
20
|
+
{ text: "DD-MM-YYYY", value: "DD-MM-YYYY", description: "11-04-2023" },
|
|
21
|
+
{ text: "DD-MMM-YYYY", value: "DD-MMM-YYYY", description: "11-Apr-2023" },
|
|
22
|
+
{ text: "DD-MMMM-YYYY", value: "DD-MMMM-YYYY", description: "11-April-2023" },
|
|
23
|
+
{ text: "DD-MM-YY", value: "DD-MM-YY", description: "11-04-23" },
|
|
24
|
+
{ text: "YYYY-M-DD", value: "YYYY-M-DD", description: "2023-4-11" },
|
|
25
|
+
{ text: "YYYY-MM-DD", value: "YYYY-MM-DD", description: "2023-04-11" },
|
|
26
|
+
{ text: "YYYY-MMM-DD", value: "YYYY-MMM-DD", description: "2023-Apr-11" },
|
|
27
|
+
{ text: "YYYY-MMMM-DD", value: "YYYY-MMMM-DD", description: "2023-April-11" },
|
|
28
|
+
{ text: "M/D/YYYY", value: "M/D/YYYY", description: "4/11/2023" },
|
|
29
|
+
{ text: "MM/D/YYYY", value: "MM/D/YYYY", description: "04/11/2023" },
|
|
30
|
+
{ text: "MMM/D/YYYY", value: "MMM/D/YYYY", description: "Apr/11/2023" },
|
|
31
|
+
{ text: "MMMM/D/YYYY", value: "MMMM/D/YYYY", description: "April/11/2023" },
|
|
32
|
+
{ text: "M/D/YY", value: "M/D/YY", description: "4/11/23" },
|
|
33
|
+
{ text: "MM/D/YY", value: "MM/D/YY", description: "04/11/23" },
|
|
34
|
+
{ text: "MMM/D/YY", value: "MMM/D/YY", description: "Apr/11/23" },
|
|
35
|
+
{ text: "MMMM/D/YY", value: "MMMM/D/YY", description: "April/11/23" },
|
|
36
|
+
{ text: "D/M/YYYY", value: "D/M/YYYY", description: "11/4/2023" },
|
|
37
|
+
{ text: "D/MM/YYYY", value: "D/MM/YYYY", description: "11/04/2023" },
|
|
38
|
+
{ text: "D/MMM/YYYY", value: "D/MMM/YYYY", description: "11/Apr/2023" },
|
|
39
|
+
{ text: "D/MMMM/YYYY", value: "D/MMMM/YYYY", description: "11/April/2023" },
|
|
40
|
+
{ text: "D/M/YY", value: "D/M/YY", description: "11/4/23" },
|
|
41
|
+
{ text: "D/MM/YY", value: "D/MM/YY", description: "11/04/23" },
|
|
42
|
+
{ text: "D/MMM/YY", value: "D/MMM/YY", description: "11/Apr/23" },
|
|
43
|
+
{ text: "D/MMMM/YY", value: "D/MMMM/YY", description: "11/April/23" },
|
|
44
|
+
{ text: "M-D-YY", value: "M-D-YY", description: "4-11-23" },
|
|
45
|
+
{ text: "MM-D-YY", value: "MM-D-YY", description: "04-11-23" },
|
|
46
|
+
{ text: "MMM-D-YY", value: "MMM-D-YY", description: "Apr-11-23" },
|
|
47
|
+
{ text: "MMMM-D-YY", value: "MMMM-D-YY", description: "April-11-23" },
|
|
48
|
+
{ text: "D-M-YYYY", value: "D-M-YYYY", description: "11-4-2023" },
|
|
49
|
+
{ text: "D-MM-YYYY", value: "D-MM-YYYY", description: "11-04-2023" },
|
|
50
|
+
{ text: "D-MMM-YYYY", value: "D-MMM-YYYY", description: "11-Apr-2023" },
|
|
51
|
+
{ text: "D-MMMM-YYYY", value: "D-MMMM-YYYY", description: "11-April-2023" },
|
|
52
|
+
{ text: "D-M-YY", value: "D-M-YY", description: "11-4-23" },
|
|
53
|
+
{ text: "D-MM-YY", value: "D-MM-YY", description: "11-04-23" },
|
|
54
|
+
{ text: "D-MMM-YY", value: "D-MMM-YY", description: "11-Apr-23" },
|
|
55
|
+
{ text: "D-MMMM-YY", value: "D-MMMM-YY", description: "11-April-23" },
|
|
56
|
+
{ text: "MMM D, YYYY", value: "MMM D, YYYY", description: "Apr 11, 2023" },
|
|
57
|
+
{ text: "MMMM D, YYYY", value: "MMMM D, YYYY", description: "April 11, 2023" },
|
|
58
|
+
{ text: "YYYY-MM-DD hh:mm:ss", value: "YYYY-MM-DD hh:mm:ss", description: "2023-04-11 03:21:13" },
|
|
59
|
+
{ text: "hh:mm:ss", value: "hh:mm:ss", description: "03:21:13" },
|
|
60
|
+
{ text: "YYYY-MM-DD hh:mm:ss A", value: "YYYY-MM-DD hh:mm:ss A", description: "2023-04-11 03:21:13 PM" },
|
|
61
|
+
{ text: "YYYY-MM-DD hh:mm:ss a", value: "YYYY-MM-DD hh:mm:ss a", description: "2023-04-11 03:21:13 pm" },
|
|
62
|
+
{ text: "H:m:s", value: "H:m:s", description: "15:21:13" },
|
|
63
|
+
{ text: "H:m:ss", value: "H:m:ss", description: "15:21:13" },
|
|
64
|
+
{ text: "HH:m:ss", value: "HH:m:ss", description: "15:21:13" },
|
|
65
|
+
{ text: "h:m:s", value: "h:m:s", description: "3:21:13" },
|
|
66
|
+
{ text: "h:m:ss", value: "h:m:ss", description: "3:21:13" },
|
|
67
|
+
{ text: "hh:m:s", value: "hh:m:s", description: "03:21:13" },
|
|
68
|
+
{ text: "hh:m:ss", value: "hh:m:ss", description: "03:21:13" },
|
|
69
|
+
{ text: "H:mm:s", value: "H:mm:s", description: "15:21:13" },
|
|
70
|
+
{ text: "H:mm:ss", value: "H:mm:ss", description: "15:21:13" },
|
|
71
|
+
{ text: "HH:mm:s", value: "HH:mm:s", description: "15:21:13" },
|
|
72
|
+
{ text: "HH:mm:ss", value: "HH:mm:ss", description: "15:21:13" },
|
|
73
|
+
{ text: "h:mm:s", value: "h:mm:s", description: "3:21:13" },
|
|
74
|
+
{ text: "h:mm:ss", value: "h:mm:ss", description: "3:21:13" },
|
|
75
|
+
{ text: "hh:mm:s", value: "hh:mm:s", description: "03:21:13" },
|
|
76
|
+
{ text: "D MMM", value: "D MMM", description: "11 Apr" },
|
|
77
|
+
{ text: "D MMMM", value: "D MMMM", description: "11 April" }
|
|
78
|
+
], o = [
|
|
79
|
+
{ text: "M/DD/YYYY", value: "%-m/%d/%Y", description: "4/11/2023" },
|
|
80
|
+
{ text: "MM/DD/YYYY", value: "%m/%d/%Y", description: "04/11/2023" },
|
|
81
|
+
{ text: "MMM/DD/YYYY", value: "%b/%d/%Y", description: "Apr/11/2023" },
|
|
82
|
+
{ text: "MMMM/DD/YYYY", value: "%B/%d/%Y", description: "April/11/2023" },
|
|
83
|
+
{ text: "M/DD/YY", value: "%-m/%d/%y", description: "4/11/23" },
|
|
84
|
+
{ text: "MM/DD/YY", value: "%m/%d/%y", description: "04/11/23" },
|
|
85
|
+
{ text: "MMM/DD/YY", value: "%b/%d/%y", description: "Apr/11/23" },
|
|
86
|
+
{ text: "MMMM/DD/YY", value: "%B/%d/%y", description: "April/11/23" },
|
|
87
|
+
{ text: "DD/M/YYYY", value: "%d/%-m/%Y", description: "11/4/2023" },
|
|
88
|
+
{ text: "DD/MM/YYYY", value: "%d/%m/%Y", description: "11/04/2023" },
|
|
89
|
+
{ text: "DD/MMM/YYYY", value: "%d/%b/%Y", description: "11/Apr/2023" },
|
|
90
|
+
{ text: "DD/MMMM/YYYY", value: "%d/%B/%Y", description: "11/April/2023" },
|
|
91
|
+
{ text: "DD/M/YY", value: "%d/%-m/%y", description: "11/4/23" },
|
|
92
|
+
{ text: "DD/MM/YY", value: "%d/%m/%y", description: "11/04/23" },
|
|
93
|
+
{ text: "DD/MMM/YY", value: "%d/%b/%y", description: "11/Apr/23" },
|
|
94
|
+
{ text: "DD/MMMM/YY", value: "%d/%B/%y", description: "11/April/23" },
|
|
95
|
+
{ text: "DD-M-YYYY", value: "%d-%-m-%Y", description: "11-4-2023" },
|
|
96
|
+
{ text: "DD-MM-YYYY", value: "%d-%m-%Y", description: "11-04-2023" },
|
|
97
|
+
{ text: "DD-MMM-YYYY", value: "%d-%b-%Y", description: "11-Apr-2023" },
|
|
98
|
+
{ text: "DD-MMMM-YYYY", value: "%d-%B-%Y", description: "11-April-2023" },
|
|
99
|
+
{ text: "DD-MM-YY", value: "%d-%m-%y", description: "11-04-23" },
|
|
100
|
+
{ text: "YYYY-M-DD", value: "%Y-%-m-%d", description: "2023-4-11" },
|
|
101
|
+
{ text: "YYYY-MM-DD", value: "%Y-%m-%d", description: "2023-04-11" },
|
|
102
|
+
{ text: "YYYY-MMM-DD", value: "%Y-%b-%d", description: "2023-Apr-11" },
|
|
103
|
+
{ text: "YYYY-MMMM-DD", value: "%Y-%B-%d", description: "2023-April-11" },
|
|
104
|
+
{ text: "M/D/YYYY", value: "%-m/%-d/%Y", description: "4/11/2023" },
|
|
105
|
+
{ text: "MM/D/YYYY", value: "%m/%-d/%Y", description: "04/11/2023" },
|
|
106
|
+
{ text: "MMM/D/YYYY", value: "%b/%-d/%Y", description: "Apr/11/2023" },
|
|
107
|
+
{ text: "MMMM/D/YYYY", value: "%B/%-d/%Y", description: "April/11/2023" },
|
|
108
|
+
{ text: "M/D/YY", value: "%-m/%-d/%y", description: "4/11/23" },
|
|
109
|
+
{ text: "MM/D/YY", value: "%m/%-d/%y", description: "04/11/23" },
|
|
110
|
+
{ text: "MMM/D/YY", value: "%b/%-d/%y", description: "Apr/11/23" },
|
|
111
|
+
{ text: "MMMM/D/YY", value: "%B/%-d/%y", description: "April/11/23" },
|
|
112
|
+
{ text: "D/M/YYYY", value: "%-d/%-m/%Y", description: "11/4/2023" },
|
|
113
|
+
{ text: "D/MM/YYYY", value: "%-d/%m/%Y", description: "11/04/2023" },
|
|
114
|
+
{ text: "D/MMM/YYYY", value: "%-d/%b/%Y", description: "11/Apr/2023" },
|
|
115
|
+
{ text: "D/MMMM/YYYY", value: "%-d/%B/%Y", description: "11/April/2023" },
|
|
116
|
+
{ text: "D/M/YY", value: "%-d/%-m/%y", description: "11/4/23" },
|
|
117
|
+
{ text: "D/MM/YY", value: "%-d/%m/%y", description: "11/04/23" },
|
|
118
|
+
{ text: "D/MMM/YY", value: "%-d/%b/%y", description: "11/Apr/23" },
|
|
119
|
+
{ text: "D/MMMM/YY", value: "%-d/%B/%y", description: "11/April/23" },
|
|
120
|
+
{ text: "M-D-YY", value: "%-m-%-d-%y", description: "4-11-23" },
|
|
121
|
+
{ text: "MM-D-YY", value: "%m-%-d-%y", description: "04-11-23" },
|
|
122
|
+
{ text: "MMM-D-YY", value: "%b-%-d-%y", description: "Apr-11-23" },
|
|
123
|
+
{ text: "MMMM-D-YY", value: "%B-%-d-%y", description: "April-11-23" },
|
|
124
|
+
{ text: "D-M-YYYY", value: "%-d-%-m-%Y", description: "11-4-2023" },
|
|
125
|
+
{ text: "D-MM-YYYY", value: "%-d-%m-%Y", description: "11-04-2023" },
|
|
126
|
+
{ text: "D-MMM-YYYY", value: "%-d-%b-%Y", description: "11-Apr-2023" },
|
|
127
|
+
{ text: "D-MMMM-YYYY", value: "%-d-%B-%Y", description: "11-April-2023" },
|
|
128
|
+
{ text: "D-M-YY", value: "%-d-%-m-%y", description: "11-4-23" },
|
|
129
|
+
{ text: "D-MM-YY", value: "%-d-%m-%y", description: "11-04-23" },
|
|
130
|
+
{ text: "D-MMM-YY", value: "%-d-%b-%y", description: "11-Apr-23" },
|
|
131
|
+
{ text: "D-MMMM-YY", value: "%-d-%B-%y", description: "11-April-23" },
|
|
132
|
+
{ text: "MMM D, YYYY", value: "%b %-d, %Y", description: "Apr 11, 2023" },
|
|
133
|
+
{ text: "MMMM D, YYYY", value: "%B %-d, %Y", description: "April 11, 2023" },
|
|
134
|
+
{ text: "YYYY-MM-DD hh:mm:ss", value: "%Y-%m-%d %I:%M:%S", description: "2023-04-11 03:21:13" },
|
|
135
|
+
{ text: "hh:mm:ss", value: "%I:%M:%S", description: "03:21:13" },
|
|
136
|
+
{ text: "YYYY-MM-DD hh:mm:ss A", value: "%Y-%m-%d %I:%M:%S %p", description: "2023-04-11 03:21:13 PM" },
|
|
137
|
+
{ text: "YYYY-MM-DD hh:mm:ss a", value: "%Y-%m-%d %I:%M:%S %P", description: "2023-04-11 03:21:13 pm" },
|
|
138
|
+
{ text: "H:m:s", value: "%-H:%-M:%-S", description: "15:21:13" },
|
|
139
|
+
{ text: "H:m:ss", value: "%-H:%-M:%S", description: "15:21:13" },
|
|
140
|
+
{ text: "HH:m:ss", value: "%H:%-M:%S", description: "15:21:13" },
|
|
141
|
+
{ text: "h:m:s", value: "%-I:%-M:%-S", description: "3:21:13" },
|
|
142
|
+
{ text: "h:m:ss", value: "%-I:%-M:%S", description: "3:21:13" },
|
|
143
|
+
{ text: "hh:m:s", value: "%I:%-M:%-S", description: "03:21:13" },
|
|
144
|
+
{ text: "hh:m:ss", value: "%I:%-M:%S", description: "03:21:13" },
|
|
145
|
+
{ text: "H:mm:s", value: "%-H:%M:%-S", description: "15:21:13" },
|
|
146
|
+
{ text: "H:mm:ss", value: "%-H:%M:%S", description: "15:21:13" },
|
|
147
|
+
{ text: "HH:mm:s", value: "%H:%M:%-S", description: "15:21:13" },
|
|
148
|
+
{ text: "HH:mm:ss", value: "%H:%M:%S", description: "15:21:13" },
|
|
149
|
+
{ text: "h:mm:s", value: "%-I:%M:%-S", description: "3:21:13" },
|
|
150
|
+
{ text: "h:mm:ss", value: "%-I:%M:%S", description: "3:21:13" },
|
|
151
|
+
{ text: "hh:mm:s", value: "%I:%M:%-S", description: "03:21:13" },
|
|
152
|
+
{ text: "D MMM", value: "%-d %b", description: "11 Apr" },
|
|
153
|
+
{ text: "D MMMM", value: "%-d %B", description: "11 April" }
|
|
154
|
+
], a = [
|
|
155
|
+
{ text: "dot,comma", value: "dot,comma", description: "1.234.567.890,00" },
|
|
156
|
+
{ text: "comma,dot", value: "comma,dot", description: "1,234,567,890.00" },
|
|
157
|
+
{ text: "apostrophe,comma", value: "apostrophe,comma", description: "1'234'567'890,00" },
|
|
158
|
+
{ text: "space,dot", value: "space,dot", description: "1 234 567 890.00" },
|
|
159
|
+
{ text: "dot,dot", value: "dot,dot", description: "1.234.567.890.00" },
|
|
160
|
+
{ text: "apostrophe,dot", value: "apostrophe,dot", description: "1'234'567'890.00" },
|
|
161
|
+
{ text: "dot", value: "dot", description: "1.234.567.890.00" },
|
|
162
|
+
{ text: "comma", value: "comma", description: "1,234,567,890.00" },
|
|
163
|
+
{ text: "apostrophe", value: "apostrophe", description: "1'234'567'890.00" },
|
|
164
|
+
{ text: "space", value: "space", description: "1 234 567 890.00" },
|
|
165
|
+
{ text: ",comma", value: ",comma", description: "1234567890,00" },
|
|
166
|
+
{ text: ",dot", value: ",dot", description: "1234567890.00" },
|
|
167
|
+
{ text: ",apostrophe", value: ",apostrophe", description: "1234567890'00" },
|
|
168
|
+
{ text: ",space", value: ",space", description: "1234567890 00" }
|
|
169
|
+
];
|
|
2
170
|
export {
|
|
3
|
-
|
|
171
|
+
D as AOO_INFO_TEXT_KEY,
|
|
172
|
+
d as AOO_INFO_TEXT_TEMPLATE,
|
|
173
|
+
s as ARRAY_OF_OBJECTS_CATEGORY_VALUE,
|
|
174
|
+
r as ARRAY_OF_OBJECTS_LABEL_BASE,
|
|
175
|
+
i as ARRAY_OF_OBJECTS_TYPE,
|
|
176
|
+
e as DynamicContentAttributeType,
|
|
177
|
+
M as DynamicContentCustomFormat,
|
|
178
|
+
o as LiquidTimeFormats,
|
|
179
|
+
t as ModuleDynamicContentAttribute,
|
|
180
|
+
a as NumberFormats,
|
|
181
|
+
p as PongoTimeFormats
|
|
4
182
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-9d988e4b] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.color-vision-select__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-actions-menu__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-
|
|
1
|
+
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}[data-v-6073170a] .in-select{max-width:100%}.dynamic-content-layer[data-v-687d286f]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:144;outline:none}.dynamic-content-layer__box[data-v-687d286f]{position:absolute;width:321px;transition:none}.dynamic-content-layer__card[data-v-687d286f]{width:100%}.dynamic-content-layer__box--scrollable .dynamic-content-layer__card[data-v-687d286f]{max-height:calc(100vh - 16px);overflow-y:auto;overscroll-behavior:contain}[data-v-687d286f] .in-select{max-width:100%}[data-v-687d286f] .in-basic-text-input-wrapper{width:100%}[data-v-687d286f] #tooltip-dynamic-content-fallback-input{margin-left:5px}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-9d988e4b] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.color-vision-select__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-actions-menu__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-a737f14a]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-a737f14a]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-a737f14a]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-eaf8e461]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-eaf8e461]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-eaf8e461]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-eaf8e461]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-eaf8e461]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.guido-tab-bar-onboarding[data-v-219b4f7c]{z-index:21}[data-v-fcba7e99] .vueperslides__bullets{pointer-events:none!important}[data-v-fcba7e99] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-1a34025a] .vueperslides__bullets{pointer-events:none!important}[data-v-1a34025a] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-8fc96a58] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}.guido-display-condition-create__separator[data-v-929822bc]{height:1px;margin:0 0 24px;background-image:linear-gradient(to right,currentColor 1px,transparent 1px);background-size:5px 1px}.guido-display-condition-create__methods[data-v-929822bc]{gap:16px}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__footer{justify-content:flex-start}.guido-display-condition-select__delete-modal[data-v-0d740001]{position:relative;z-index:145}.guido-display-condition-select__delete-modal[data-v-0d740001] .in-modal-v2-wrapper__header-title{margin-bottom:0}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__content>div{display:flex;flex-direction:column;min-height:100%}.guido-display-condition-select__list[data-v-0d740001]{display:flex;flex-direction:column;gap:24px;margin:0;padding:0;list-style:none}.guido-display-condition-card__header[data-v-0d740001]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px}.guido-display-condition-card__text[data-v-0d740001]{min-width:0}.guido-display-condition-card__name[data-v-0d740001],.guido-display-condition-card__description[data-v-0d740001]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guido-display-condition-card__actions[data-v-0d740001]{display:flex;flex-shrink:0;align-items:center;gap:16px}.guido-display-condition-card__split[data-v-0d740001]{position:relative;display:flex;gap:1px}.guido-display-condition-card__menu[data-v-0d740001]{z-index:2;min-width:115px}.guido-display-condition-card__divider[data-v-0d740001]{width:1px;height:24px}.guido-display-condition-card__code[data-v-0d740001]{margin:1px 15px 15px;padding:8px;font-family:inherit;white-space:pre-wrap;word-break:break-word}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}.ambiguous-dynamic-content-modal__content[data-v-2643213c]{padding-bottom:150px}
|
package/dist/package.json.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const o = "3.30.0-beta.
|
|
1
|
+
const o = "3.30.0-beta.25ed52c", s = { stripo: { version: "2.87.0" } }, e = {
|
|
2
2
|
version: o,
|
|
3
3
|
guido: s
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default,
|
|
7
7
|
s as guido,
|
|
8
8
|
o as version
|
|
9
9
|
};
|
|
@@ -350,6 +350,8 @@ export declare const EmailHeaderSchema: v.ObjectSchema<{
|
|
|
350
350
|
readonly senderName: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
351
351
|
/** Email subject line */
|
|
352
352
|
readonly subject: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
353
|
+
/** Email preheader text */
|
|
354
|
+
readonly preheader: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
353
355
|
}, undefined>;
|
|
354
356
|
/**
|
|
355
357
|
* Editor configuration - core editor settings
|
|
@@ -367,9 +369,12 @@ export declare const EditorSchema: v.ObjectSchema<{
|
|
|
367
369
|
readonly senderName: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
368
370
|
/** Email subject line */
|
|
369
371
|
readonly subject: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
372
|
+
/** Email preheader text */
|
|
373
|
+
readonly preheader: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
370
374
|
}, undefined>, {
|
|
371
375
|
readonly senderName: "";
|
|
372
376
|
readonly subject: "";
|
|
377
|
+
readonly preheader: "";
|
|
373
378
|
}>;
|
|
374
379
|
/** Folder name for user-saved modules (used by Stripo plugin panel for path construction) */
|
|
375
380
|
readonly savedModulesFolderName: v.OptionalSchema<v.StringSchema<undefined>, "savedModules">;
|
|
@@ -419,6 +424,8 @@ export declare const FeaturesSchema: v.ObjectSchema<{
|
|
|
419
424
|
readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
420
425
|
/** List the dynamic-content catalogue as Stripo special links in the link type selector */
|
|
421
426
|
readonly dynamicContentSpecialLinks: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
427
|
+
/** Open Guido's own Text Block dynamic content picker instead of emitting `dynamic-content:open` */
|
|
428
|
+
readonly dynamicContentPicker: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
422
429
|
/** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
|
|
423
430
|
readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
424
431
|
/** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
|
|
@@ -800,9 +807,12 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
|
|
|
800
807
|
readonly senderName: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
801
808
|
/** Email subject line */
|
|
802
809
|
readonly subject: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
810
|
+
/** Email preheader text */
|
|
811
|
+
readonly preheader: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
803
812
|
}, undefined>, {
|
|
804
813
|
readonly senderName: "";
|
|
805
814
|
readonly subject: "";
|
|
815
|
+
readonly preheader: "";
|
|
806
816
|
}>;
|
|
807
817
|
/** Folder name for user-saved modules (used by Stripo plugin panel for path construction) */
|
|
808
818
|
readonly savedModulesFolderName: v.OptionalSchema<v.StringSchema<undefined>, "savedModules">;
|
|
@@ -848,6 +858,8 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
|
|
|
848
858
|
readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
849
859
|
/** List the dynamic-content catalogue as Stripo special links in the link type selector */
|
|
850
860
|
readonly dynamicContentSpecialLinks: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
861
|
+
/** Open Guido's own Text Block dynamic content picker instead of emitting `dynamic-content:open` */
|
|
862
|
+
readonly dynamicContentPicker: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
851
863
|
/** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
|
|
852
864
|
readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
853
865
|
/** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { PickerInitialData, PickerOption } from '@@/Utils/dynamicContentPicker';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
categories?: PickerOption[];
|
|
4
|
+
usedPatterns?: string[];
|
|
5
|
+
initialValue?: PickerInitialData | null;
|
|
6
|
+
validationActive?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
9
|
+
categories: () => never[];
|
|
10
|
+
usedPatterns: () => never[];
|
|
11
|
+
initialValue: null;
|
|
12
|
+
validationActive: boolean;
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
14
|
+
openList: (id: string, isOpen: boolean) => void;
|
|
15
|
+
select: (payload: {
|
|
16
|
+
leaf: PickerOption;
|
|
17
|
+
rule: PickerOption;
|
|
18
|
+
}) => void;
|
|
19
|
+
clear: () => void;
|
|
20
|
+
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
21
|
+
categories: () => never[];
|
|
22
|
+
usedPatterns: () => never[];
|
|
23
|
+
initialValue: null;
|
|
24
|
+
validationActive: boolean;
|
|
25
|
+
}>>>, {
|
|
26
|
+
categories: PickerOption[];
|
|
27
|
+
usedPatterns: string[];
|
|
28
|
+
initialValue: PickerInitialData | null;
|
|
29
|
+
validationActive: boolean;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_PrettifyLocal<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { DynamicContentFormatOption } from '@@/Enums/dynamic-content';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
checkboxLabelText: string;
|
|
4
|
+
selectLabelText: string;
|
|
5
|
+
selectPlaceholderText: string;
|
|
6
|
+
formatType: string;
|
|
7
|
+
formatOptions?: DynamicContentFormatOption[];
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
10
|
+
formatOptions: () => never[];
|
|
11
|
+
}>, {
|
|
12
|
+
resetState: () => void;
|
|
13
|
+
setFormat: (format: DynamicContentFormatOption) => void;
|
|
14
|
+
validate: () => boolean;
|
|
15
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
16
|
+
openList: (id: string, isOpen: boolean) => void;
|
|
17
|
+
select: (format: {
|
|
18
|
+
key: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}) => void;
|
|
21
|
+
updateStatus: (isEnabled: boolean) => void;
|
|
22
|
+
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
23
|
+
formatOptions: () => never[];
|
|
24
|
+
}>>>, {
|
|
25
|
+
formatOptions: DynamicContentFormatOption[];
|
|
26
|
+
}>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToOption<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { InfoBoxAnchor } from '@@/Composables/useInfoBoxPosition';
|
|
2
|
+
import type { PickerInitialData, PickerOption } from '@@/Utils/dynamicContentPicker';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
dynamicContentOptions?: PickerOption[];
|
|
6
|
+
aooOptions?: PickerOption[];
|
|
7
|
+
aooScanContent?: string;
|
|
8
|
+
initialData?: PickerInitialData | null;
|
|
9
|
+
position?: InfoBoxAnchor;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
12
|
+
dynamicContentOptions: () => never[];
|
|
13
|
+
aooOptions: () => never[];
|
|
14
|
+
aooScanContent: string;
|
|
15
|
+
initialData: null;
|
|
16
|
+
position: () => {};
|
|
17
|
+
}>, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
18
|
+
close: () => void;
|
|
19
|
+
addDynamicContent: (payload: import("../../../library").DynamicContentNode & {
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
categoryText?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
bindingLabel?: string;
|
|
24
|
+
columns?: PickerOption[];
|
|
25
|
+
rules?: Record<string, string | number>;
|
|
26
|
+
filtersDescription?: Record<string, string>[];
|
|
27
|
+
disable?: boolean;
|
|
28
|
+
infoBoxProps?: Record<string, string>;
|
|
29
|
+
children?: PickerOption[];
|
|
30
|
+
select_items?: PickerOption[];
|
|
31
|
+
} & PickerInitialData) => void;
|
|
32
|
+
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
33
|
+
dynamicContentOptions: () => never[];
|
|
34
|
+
aooOptions: () => never[];
|
|
35
|
+
aooScanContent: string;
|
|
36
|
+
initialData: null;
|
|
37
|
+
position: () => {};
|
|
38
|
+
}>>>, {
|
|
39
|
+
initialData: PickerInitialData | null;
|
|
40
|
+
position: {
|
|
41
|
+
x?: number;
|
|
42
|
+
y?: number;
|
|
43
|
+
width?: number;
|
|
44
|
+
height?: number;
|
|
45
|
+
} | null;
|
|
46
|
+
dynamicContentOptions: PickerOption[];
|
|
47
|
+
aooOptions: PickerOption[];
|
|
48
|
+
aooScanContent: string;
|
|
49
|
+
}>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToOption<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type __VLS_PrettifyLocal<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
67
|
+
} & {};
|
|
@@ -35,10 +35,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
35
35
|
descriptionText: string;
|
|
36
36
|
}>>>, {
|
|
37
37
|
size: "small" | "medium" | "large";
|
|
38
|
+
descriptionText: string;
|
|
38
39
|
className: string;
|
|
39
40
|
closeOnOutsideClick: boolean;
|
|
40
41
|
descriptionStatus: boolean;
|
|
41
|
-
descriptionText: string;
|
|
42
42
|
}>;
|
|
43
43
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
44
44
|
export default _default;
|
|
@@ -82,6 +82,7 @@ export declare const useConfig: () => {
|
|
|
82
82
|
emailHeader: {
|
|
83
83
|
senderName: string;
|
|
84
84
|
subject: string;
|
|
85
|
+
preheader: string;
|
|
85
86
|
};
|
|
86
87
|
savedModulesFolderName: string;
|
|
87
88
|
defaultModulesFolderName: string;
|
|
@@ -107,6 +108,7 @@ export declare const useConfig: () => {
|
|
|
107
108
|
allowSaveWithErrors: boolean;
|
|
108
109
|
reusableRecommendationStrategy: boolean;
|
|
109
110
|
dynamicContentSpecialLinks: boolean;
|
|
111
|
+
dynamicContentPicker: boolean;
|
|
110
112
|
legacyUnsubscribeConversion: boolean;
|
|
111
113
|
itemsPriceFormatting: boolean;
|
|
112
114
|
blockUnsubscribeLinks: boolean;
|
|
@@ -227,6 +229,7 @@ export declare const useConfig: () => {
|
|
|
227
229
|
emailHeader: {
|
|
228
230
|
senderName: string;
|
|
229
231
|
subject: string;
|
|
232
|
+
preheader: string;
|
|
230
233
|
};
|
|
231
234
|
savedModulesFolderName: string;
|
|
232
235
|
defaultModulesFolderName: string;
|
|
@@ -252,6 +255,7 @@ export declare const useConfig: () => {
|
|
|
252
255
|
allowSaveWithErrors: boolean;
|
|
253
256
|
reusableRecommendationStrategy: boolean;
|
|
254
257
|
dynamicContentSpecialLinks: boolean;
|
|
258
|
+
dynamicContentPicker: boolean;
|
|
255
259
|
legacyUnsubscribeConversion: boolean;
|
|
256
260
|
itemsPriceFormatting: boolean;
|
|
257
261
|
blockUnsubscribeLinks: boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DynamicContentCustomFormat } from '@@/Enums/dynamic-content';
|
|
2
|
+
export declare const useDynamicContentFormat: () => {
|
|
3
|
+
isNumberFormatSupported: import("vue").ComputedRef<boolean>;
|
|
4
|
+
getFormatOptions: (formatType: DynamicContentCustomFormat) => import("@@/Enums/dynamic-content").DynamicContentFormatOption[];
|
|
5
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DynamicContent } from '@@/Types/config';
|
|
2
|
+
import type { PositionData } from '@@/Types/generic';
|
|
3
|
+
import type { PickerInitialData, PickerOption } from '@@/Utils/dynamicContentPicker';
|
|
4
|
+
export declare const useDynamicContentPicker: ({ onInsert, onClose }: {
|
|
5
|
+
onInsert: (data: DynamicContent) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}) => {
|
|
8
|
+
isPickerEnabled: import("vue").ComputedRef<boolean>;
|
|
9
|
+
picker: import("vue").Ref<{
|
|
10
|
+
visible: boolean;
|
|
11
|
+
initialData: {
|
|
12
|
+
text?: string | undefined;
|
|
13
|
+
value?: string | undefined;
|
|
14
|
+
fallback?: string | undefined;
|
|
15
|
+
format?: {
|
|
16
|
+
key: string;
|
|
17
|
+
value: string;
|
|
18
|
+
} | undefined;
|
|
19
|
+
} | null;
|
|
20
|
+
position?: {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
width?: number | undefined;
|
|
24
|
+
height?: number | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
pickerOptions: import("vue").ComputedRef<{
|
|
28
|
+
options: PickerOption[];
|
|
29
|
+
aooOptions: PickerOption[];
|
|
30
|
+
}>;
|
|
31
|
+
pickerAooScanContent: import("vue").ComputedRef<string>;
|
|
32
|
+
openPicker: (attribute: PickerInitialData | null | undefined, position?: PositionData) => void;
|
|
33
|
+
pickerSaveHandler: (data: PickerOption & PickerInitialData) => void;
|
|
34
|
+
pickerCloseHandler: () => void;
|
|
35
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
export type InfoBoxAnchor = {
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
} | null | undefined;
|
|
8
|
+
export type InfoBoxSize = {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const useInfoBoxPosition: ({ anchor, size, isAbove }: {
|
|
13
|
+
anchor: Ref<InfoBoxAnchor>;
|
|
14
|
+
size: Ref<InfoBoxSize>;
|
|
15
|
+
isAbove: Ref<boolean>;
|
|
16
|
+
}) => {
|
|
17
|
+
positionStyle: import("vue").ComputedRef<{
|
|
18
|
+
left: string;
|
|
19
|
+
bottom: string;
|
|
20
|
+
} | {
|
|
21
|
+
left: string;
|
|
22
|
+
top: string;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
@@ -1,3 +1,24 @@
|
|
|
1
1
|
export declare enum ModuleDynamicContentAttribute {
|
|
2
2
|
Pending = "data-guido-dc-pending"
|
|
3
3
|
}
|
|
4
|
+
export declare enum DynamicContentAttributeType {
|
|
5
|
+
Datetime = "datetime",
|
|
6
|
+
Number = "number"
|
|
7
|
+
}
|
|
8
|
+
export declare enum DynamicContentCustomFormat {
|
|
9
|
+
Time = "time-format",
|
|
10
|
+
Number = "number-format"
|
|
11
|
+
}
|
|
12
|
+
export declare const ARRAY_OF_OBJECTS_TYPE = "array_of_objects";
|
|
13
|
+
export declare const ARRAY_OF_OBJECTS_CATEGORY_VALUE = "array-of-objects";
|
|
14
|
+
export declare const ARRAY_OF_OBJECTS_LABEL_BASE = "dynamic-content.array-of-objects";
|
|
15
|
+
export declare const AOO_INFO_TEXT_KEY = "dynamic-content.array-of-objects-info-text";
|
|
16
|
+
export declare const AOO_INFO_TEXT_TEMPLATE = "Order the objects by {key} {order} and return top {limit}.";
|
|
17
|
+
export type DynamicContentFormatOption = {
|
|
18
|
+
text: string;
|
|
19
|
+
value: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const PongoTimeFormats: DynamicContentFormatOption[];
|
|
23
|
+
export declare const LiquidTimeFormats: DynamicContentFormatOption[];
|
|
24
|
+
export declare const NumberFormats: DynamicContentFormatOption[];
|