@blaze-cms/plugin-page-builder-fe 0.146.0-node18-tooltips.37 → 0.146.0-node18-core-styles-tooltips.46

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [0.146.0-node18-tooltips.37](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.36...v0.146.0-node18-tooltips.37) (2026-01-08)
6
+ # [0.146.0-node18-core-styles-tooltips.46](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.45...v0.146.0-node18-core-styles-tooltips.46) (2026-01-16)
7
7
 
8
8
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
9
9
 
@@ -11,7 +11,82 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [0.146.0-node18-tooltips.35](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.34...v0.146.0-node18-tooltips.35) (2025-12-17)
14
+ # [0.146.0-node18-core-styles-tooltips.45](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.44...v0.146.0-node18-core-styles-tooltips.45) (2026-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * update auth-login-fe with translations ([03053f3](https://github.com/thebyte9/blaze/commit/03053f3570927cc7b0442a333d49e83b720e4c2c))
20
+
21
+
22
+
23
+
24
+
25
+ # [0.146.0-node18-core-styles-tooltips.44](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.43...v0.146.0-node18-core-styles-tooltips.44) (2026-01-02)
26
+
27
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
28
+
29
+
30
+
31
+
32
+
33
+ # [0.146.0-node18-core-styles-tooltips.43](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.42...v0.146.0-node18-core-styles-tooltips.43) (2025-12-17)
34
+
35
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
36
+
37
+
38
+
39
+
40
+
41
+ # [0.146.0-node18-core-styles-tooltips.42](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.41...v0.146.0-node18-core-styles-tooltips.42) (2025-12-17)
42
+
43
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
44
+
45
+
46
+
47
+
48
+
49
+ # [0.146.0-node18-core-styles-tooltips.41](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.40...v0.146.0-node18-core-styles-tooltips.41) (2025-12-15)
50
+
51
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
52
+
53
+
54
+
55
+
56
+
57
+ # [0.146.0-node18-core-styles-tooltips.38](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.37...v0.146.0-node18-core-styles-tooltips.38) (2025-12-04)
58
+
59
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
60
+
61
+
62
+
63
+
64
+
65
+ # [0.146.0-node18-core-styles-tooltips.34](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.33...v0.146.0-node18-core-styles-tooltips.34) (2025-11-27)
66
+
67
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
68
+
69
+
70
+
71
+
72
+
73
+ # [0.146.0-node18-core-styles-tooltips.32](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.31...v0.146.0-node18-core-styles-tooltips.32) (2025-11-26)
74
+
75
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
76
+
77
+
78
+
79
+
80
+
81
+ # [0.146.0-node18-core-styles-tooltips.31](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.30...v0.146.0-node18-core-styles-tooltips.31) (2025-11-26)
82
+
83
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
84
+
85
+
86
+
87
+
88
+
89
+ # [0.146.0-node18-core-styles-tooltips.30](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.29...v0.146.0-node18-core-styles-tooltips.30) (2025-11-25)
15
90
 
16
91
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
17
92
 
@@ -19,7 +94,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
94
 
20
95
 
21
96
 
22
- # [0.146.0-node18-tooltips.34](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.33...v0.146.0-node18-tooltips.34) (2025-12-17)
97
+ # [0.146.0-node18-core-styles-tooltips.29](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.28...v0.146.0-node18-core-styles-tooltips.29) (2025-11-17)
23
98
 
24
99
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
25
100
 
@@ -27,7 +102,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
102
 
28
103
 
29
104
 
30
- # [0.146.0-node18-tooltips.33](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.32...v0.146.0-node18-tooltips.33) (2025-12-15)
105
+ # [0.146.0-node18-core-styles-tooltips.27](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.26...v0.146.0-node18-core-styles-tooltips.27) (2025-11-13)
31
106
 
32
107
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
33
108
 
@@ -35,7 +110,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
35
110
 
36
111
 
37
112
 
38
- # [0.146.0-node18-tooltips.32](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.31...v0.146.0-node18-tooltips.32) (2025-12-15)
113
+ # [0.146.0-node18-core-styles-tooltips.26](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.25...v0.146.0-node18-core-styles-tooltips.26) (2025-11-12)
39
114
 
40
115
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
41
116
 
@@ -43,7 +118,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
43
118
 
44
119
 
45
120
 
46
- # [0.146.0-node18-tooltips.30](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.29...v0.146.0-node18-tooltips.30) (2025-11-17)
121
+ # [0.146.0-node18-core-styles-tooltips.25](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.24...v0.146.0-node18-core-styles-tooltips.25) (2025-11-07)
47
122
 
48
123
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
49
124
 
@@ -51,7 +126,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
51
126
 
52
127
 
53
128
 
54
- # [0.146.0-node18-tooltips.28](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.27...v0.146.0-node18-tooltips.28) (2025-11-10)
129
+ # [0.146.0-node18-core-styles-tooltips.24](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.23...v0.146.0-node18-core-styles-tooltips.24) (2025-11-03)
55
130
 
56
131
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
57
132
 
@@ -59,7 +134,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
59
134
 
60
135
 
61
136
 
62
- # [0.146.0-node18-tooltips.27](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.26...v0.146.0-node18-tooltips.27) (2025-11-06)
137
+ # [0.146.0-node18-core-styles-tooltips.23](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.22...v0.146.0-node18-core-styles-tooltips.23) (2025-10-27)
63
138
 
64
139
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
65
140
 
@@ -67,7 +142,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
67
142
 
68
143
 
69
144
 
70
- # [0.146.0-node18-tooltips.26](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.25...v0.146.0-node18-tooltips.26) (2025-10-29)
145
+ # [0.146.0-node18-core-styles-tooltips.22](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.21...v0.146.0-node18-core-styles-tooltips.22) (2025-10-20)
71
146
 
72
147
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
73
148
 
@@ -75,7 +150,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
75
150
 
76
151
 
77
152
 
78
- # [0.146.0-node18-tooltips.24](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.23...v0.146.0-node18-tooltips.24) (2025-10-27)
153
+ # [0.146.0-node18-core-styles-tooltips.20](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.19...v0.146.0-node18-core-styles-tooltips.20) (2025-10-03)
79
154
 
80
155
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
81
156
 
@@ -83,7 +158,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
83
158
 
84
159
 
85
160
 
86
- # [0.146.0-node18-tooltips.23](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.22...v0.146.0-node18-tooltips.23) (2025-10-20)
161
+ # [0.146.0-node18-core-styles-tooltips.19](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.18...v0.146.0-node18-core-styles-tooltips.19) (2025-10-01)
87
162
 
88
163
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
89
164
 
@@ -91,7 +166,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
91
166
 
92
167
 
93
168
 
94
- # [0.146.0-node18-tooltips.22](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.21...v0.146.0-node18-tooltips.22) (2025-10-17)
169
+ # [0.146.0-node18-core-styles-tooltips.18](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.17...v0.146.0-node18-core-styles-tooltips.18) (2025-09-29)
95
170
 
96
171
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
97
172
 
@@ -99,7 +174,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
99
174
 
100
175
 
101
176
 
102
- # [0.146.0-node18-tooltips.21](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.20...v0.146.0-node18-tooltips.21) (2025-10-14)
177
+ # [0.146.0-node18-core-styles-tooltips.15](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.14...v0.146.0-node18-core-styles-tooltips.15) (2025-09-23)
103
178
 
104
179
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
105
180
 
@@ -107,7 +182,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
107
182
 
108
183
 
109
184
 
110
- # [0.146.0-node18-tooltips.19](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.18...v0.146.0-node18-tooltips.19) (2025-10-10)
185
+ # [0.146.0-node18-core-styles-tooltips.13](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.12...v0.146.0-node18-core-styles-tooltips.13) (2025-09-15)
111
186
 
112
187
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
113
188
 
@@ -115,7 +190,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
115
190
 
116
191
 
117
192
 
118
- # [0.146.0-node18-tooltips.13](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.12...v0.146.0-node18-tooltips.13) (2025-10-02)
193
+ # [0.146.0-node18-core-styles-tooltips.12](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.11...v0.146.0-node18-core-styles-tooltips.12) (2025-08-27)
119
194
 
120
195
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
121
196
 
@@ -123,7 +198,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
123
198
 
124
199
 
125
200
 
126
- # [0.146.0-node18-tooltips.11](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.10...v0.146.0-node18-tooltips.11) (2025-10-01)
201
+ # [0.146.0-node18-core-styles-tooltips.11](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.10...v0.146.0-node18-core-styles-tooltips.11) (2025-08-27)
127
202
 
128
203
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
129
204
 
@@ -131,7 +206,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
131
206
 
132
207
 
133
208
 
134
- # [0.146.0-node18-tooltips.8](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.7...v0.146.0-node18-tooltips.8) (2025-09-24)
209
+ # [0.146.0-node18-core-styles-tooltips.5](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.4...v0.146.0-node18-core-styles-tooltips.5) (2025-07-18)
135
210
 
136
211
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
137
212
 
@@ -139,7 +214,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
139
214
 
140
215
 
141
216
 
142
- # [0.146.0-node18-tooltips.4](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.3...v0.146.0-node18-tooltips.4) (2025-09-22)
217
+ # [0.146.0-node18-core-styles-tooltips.4](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.3...v0.146.0-node18-core-styles-tooltips.4) (2025-07-10)
143
218
 
144
219
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
145
220
 
@@ -147,7 +222,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
147
222
 
148
223
 
149
224
 
150
- # [0.146.0-node18-tooltips.2](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.1...v0.146.0-node18-tooltips.2) (2025-09-17)
225
+ # [0.146.0-node18-core-styles-tooltips.1](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.0...v0.146.0-node18-core-styles-tooltips.1) (2025-06-20)
151
226
 
152
227
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
153
228
 
@@ -155,7 +230,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
155
230
 
156
231
 
157
232
 
158
- # [0.146.0-node18-tooltips.0](https://github.com/thebyte9/blaze/compare/v0.145.0...v0.146.0-node18-tooltips.0) (2025-09-09)
233
+ # [0.146.0-node18-core-styles-tooltips.0](https://github.com/thebyte9/blaze/compare/v0.145.0...v0.146.0-node18-core-styles-tooltips.0) (2025-06-18)
159
234
 
160
235
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
161
236
 
package/lib/index.js CHANGED
@@ -68,11 +68,14 @@ function _load() {
68
68
  }
69
69
  }, _callee);
70
70
  })));
71
+ app.events.once('plugin:translation-fe:translations:load', function (loadTranslations) {
72
+ return loadTranslations(_reactPageBuilder.translations, _constants.PLUGIN_NAME);
73
+ });
71
74
  return _context2.abrupt("return", {
72
75
  name: _constants.PLUGIN_NAME,
73
76
  version: _package["default"].version
74
77
  });
75
- case 3:
78
+ case 4:
76
79
  case "end":
77
80
  return _context2.stop();
78
81
  }
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_reactPageBuilder","require","_package","_interopRequireDefault","_constants","load","_x","_load","apply","arguments","_asyncToGenerator2","_regenerator","mark","_callee2","app","wrap","_callee2$","_context2","prev","next","events","once","addComponent","Object","keys","components","forEach","key","component","_callee","_callee$","_context","componentMap","getAll","length","emitAsync","add","variantHandler","variants","variantKey","variant","stop","abrupt","name","PLUGIN_NAME","version","pkg","pluginName","_default","exports"],"sources":["../src/index.js"],"sourcesContent":["import { componentMap, variantHandler, components, variants } from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nasync function load(app) {\n app.events.once('load:custom:page-builder:component', addComponent => {\n Object.keys(components).forEach(key => addComponent({ key, component: components[key] }));\n });\n\n app.events.once('plugin:page-builder-fe:load:loaded', async () => {\n if (!componentMap.getAll().length) {\n // componentMap and variantHandler are singletons so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n await app.events.emitAsync('load:custom:page-builder:variant', variantHandler.add);\n\n // add core variants last so they can be overridden\n Object.keys(variants).forEach(variantKey => {\n const variant = variants[variantKey];\n variantHandler.add(variantKey, variant);\n });\n }\n });\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\n\nload.pluginName = PLUGIN_NAME;\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\nexport default load;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAA0C,SAE3BI,IAAIA,CAAAC,EAAA;EAAA,OAAAC,KAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAAA,SAAAF,MAAA;EAAAA,KAAA,OAAAG,kBAAA,0BAAAC,YAAA,YAAAC,IAAA,CAAnB,SAAAC,SAAoBC,GAAG;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAC,UAAAC,SAAA;MAAA,kBAAAA,SAAA,CAAAC,IAAA,GAAAD,SAAA,CAAAE,IAAA;QAAA;UACrBL,GAAG,CAACM,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAE,UAAAC,YAAY,EAAI;YACpEC,MAAM,CAACC,IAAI,CAACC,4BAAU,CAAC,CAACC,OAAO,CAAC,UAAAC,GAAG;cAAA,OAAIL,YAAY,CAAC;gBAAEK,GAAG,EAAHA,GAAG;gBAAEC,SAAS,EAAEH,4BAAU,CAACE,GAAG;cAAE,CAAC,CAAC;YAAA,EAAC;UAC3F,CAAC,CAAC;UAEFb,GAAG,CAACM,MAAM,CAACC,IAAI,CAAC,oCAAoC,mBAAAX,kBAAA,0BAAAC,YAAA,YAAAC,IAAA,CAAE,SAAAiB,QAAA;YAAA,OAAAlB,YAAA,YAAAI,IAAA,UAAAe,SAAAC,QAAA;cAAA,kBAAAA,QAAA,CAAAb,IAAA,GAAAa,QAAA,CAAAZ,IAAA;gBAAA;kBAAA,IAC/Ca,8BAAY,CAACC,MAAM,CAAC,CAAC,CAACC,MAAM;oBAAAH,QAAA,CAAAZ,IAAA;oBAAA;kBAAA;kBAAAY,QAAA,CAAAZ,IAAA;kBAAA,OAEzBL,GAAG,CAACM,MAAM,CAACe,SAAS,CAAC,oCAAoC,EAAEH,8BAAY,CAACI,GAAG,CAAC;gBAAA;kBAAAL,QAAA,CAAAZ,IAAA;kBAAA,OAC5EL,GAAG,CAACM,MAAM,CAACe,SAAS,CAAC,kCAAkC,EAAEE,gCAAc,CAACD,GAAG,CAAC;gBAAA;kBAElF;kBACAb,MAAM,CAACC,IAAI,CAACc,0BAAQ,CAAC,CAACZ,OAAO,CAAC,UAAAa,UAAU,EAAI;oBAC1C,IAAMC,OAAO,GAAGF,0BAAQ,CAACC,UAAU,CAAC;oBACpCF,gCAAc,CAACD,GAAG,CAACG,UAAU,EAAEC,OAAO,CAAC;kBACzC,CAAC,CAAC;gBAAC;gBAAA;kBAAA,OAAAT,QAAA,CAAAU,IAAA;cAAA;YAAA,GAAAZ,OAAA;UAAA,CAEN,GAAC;UAAC,OAAAZ,SAAA,CAAAyB,MAAA,WAEI;YACLC,IAAI,EAAEC,sBAAW;YACjBC,OAAO,EAAEC,mBAAG,CAACD;UACf,CAAC;QAAA;QAAA;UAAA,OAAA5B,SAAA,CAAAwB,IAAA;MAAA;IAAA,GAAA5B,QAAA;EAAA,CACF;EAAA,OAAAN,KAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAEDJ,IAAI,CAAC0C,UAAU,GAAGH,sBAAW;AAAC,IAAAI,QAAA,GAAAC,OAAA,cAGf5C,IAAI","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_reactPageBuilder","require","_package","_interopRequireDefault","_constants","load","_x","_load","apply","arguments","_asyncToGenerator2","_regenerator","mark","_callee2","app","wrap","_callee2$","_context2","prev","next","events","once","addComponent","Object","keys","components","forEach","key","component","_callee","_callee$","_context","componentMap","getAll","length","emitAsync","add","variantHandler","variants","variantKey","variant","stop","loadTranslations","translations","PLUGIN_NAME","abrupt","name","version","pkg","pluginName","_default","exports"],"sources":["../src/index.js"],"sourcesContent":["import {\n componentMap,\n variantHandler,\n components,\n variants,\n translations\n} from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nasync function load(app) {\n app.events.once('load:custom:page-builder:component', addComponent => {\n Object.keys(components).forEach(key => addComponent({ key, component: components[key] }));\n });\n\n app.events.once('plugin:page-builder-fe:load:loaded', async () => {\n if (!componentMap.getAll().length) {\n // componentMap and variantHandler are singletons so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n await app.events.emitAsync('load:custom:page-builder:variant', variantHandler.add);\n\n // add core variants last so they can be overridden\n Object.keys(variants).forEach(variantKey => {\n const variant = variants[variantKey];\n variantHandler.add(variantKey, variant);\n });\n }\n });\n\n app.events.once('plugin:translation-fe:translations:load', loadTranslations =>\n loadTranslations(translations, PLUGIN_NAME)\n );\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\n\nload.pluginName = PLUGIN_NAME;\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\nexport default load;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAOA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAA0C,SAE3BI,IAAIA,CAAAC,EAAA;EAAA,OAAAC,KAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAAA,SAAAF,MAAA;EAAAA,KAAA,OAAAG,kBAAA,0BAAAC,YAAA,YAAAC,IAAA,CAAnB,SAAAC,SAAoBC,GAAG;IAAA,OAAAH,YAAA,YAAAI,IAAA,UAAAC,UAAAC,SAAA;MAAA,kBAAAA,SAAA,CAAAC,IAAA,GAAAD,SAAA,CAAAE,IAAA;QAAA;UACrBL,GAAG,CAACM,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAE,UAAAC,YAAY,EAAI;YACpEC,MAAM,CAACC,IAAI,CAACC,4BAAU,CAAC,CAACC,OAAO,CAAC,UAAAC,GAAG;cAAA,OAAIL,YAAY,CAAC;gBAAEK,GAAG,EAAHA,GAAG;gBAAEC,SAAS,EAAEH,4BAAU,CAACE,GAAG;cAAE,CAAC,CAAC;YAAA,EAAC;UAC3F,CAAC,CAAC;UAEFb,GAAG,CAACM,MAAM,CAACC,IAAI,CAAC,oCAAoC,mBAAAX,kBAAA,0BAAAC,YAAA,YAAAC,IAAA,CAAE,SAAAiB,QAAA;YAAA,OAAAlB,YAAA,YAAAI,IAAA,UAAAe,SAAAC,QAAA;cAAA,kBAAAA,QAAA,CAAAb,IAAA,GAAAa,QAAA,CAAAZ,IAAA;gBAAA;kBAAA,IAC/Ca,8BAAY,CAACC,MAAM,CAAC,CAAC,CAACC,MAAM;oBAAAH,QAAA,CAAAZ,IAAA;oBAAA;kBAAA;kBAAAY,QAAA,CAAAZ,IAAA;kBAAA,OAEzBL,GAAG,CAACM,MAAM,CAACe,SAAS,CAAC,oCAAoC,EAAEH,8BAAY,CAACI,GAAG,CAAC;gBAAA;kBAAAL,QAAA,CAAAZ,IAAA;kBAAA,OAC5EL,GAAG,CAACM,MAAM,CAACe,SAAS,CAAC,kCAAkC,EAAEE,gCAAc,CAACD,GAAG,CAAC;gBAAA;kBAElF;kBACAb,MAAM,CAACC,IAAI,CAACc,0BAAQ,CAAC,CAACZ,OAAO,CAAC,UAAAa,UAAU,EAAI;oBAC1C,IAAMC,OAAO,GAAGF,0BAAQ,CAACC,UAAU,CAAC;oBACpCF,gCAAc,CAACD,GAAG,CAACG,UAAU,EAAEC,OAAO,CAAC;kBACzC,CAAC,CAAC;gBAAC;gBAAA;kBAAA,OAAAT,QAAA,CAAAU,IAAA;cAAA;YAAA,GAAAZ,OAAA;UAAA,CAEN,GAAC;UAEFf,GAAG,CAACM,MAAM,CAACC,IAAI,CAAC,yCAAyC,EAAE,UAAAqB,gBAAgB;YAAA,OACzEA,gBAAgB,CAACC,8BAAY,EAAEC,sBAAW,CAAC;UAAA,CAC7C,CAAC;UAAC,OAAA3B,SAAA,CAAA4B,MAAA,WAEK;YACLC,IAAI,EAAEF,sBAAW;YACjBG,OAAO,EAAEC,mBAAG,CAACD;UACf,CAAC;QAAA;QAAA;UAAA,OAAA9B,SAAA,CAAAwB,IAAA;MAAA;IAAA,GAAA5B,QAAA;EAAA,CACF;EAAA,OAAAN,KAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAEDJ,IAAI,CAAC4C,UAAU,GAAGL,sBAAW;AAAC,IAAAM,QAAA,GAAAC,OAAA,cAGf9C,IAAI","ignoreList":[]}
package/lib-es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { componentMap, variantHandler, components, variants } from '@blaze-cms/react-page-builder';
1
+ import { componentMap, variantHandler, components, variants, translations } from '@blaze-cms/react-page-builder';
2
2
  import pkg from '../package.json';
3
3
  import { PLUGIN_NAME } from './constants';
4
4
  async function load(app) {
@@ -21,6 +21,7 @@ async function load(app) {
21
21
  });
22
22
  }
23
23
  });
24
+ app.events.once('plugin:translation-fe:translations:load', loadTranslations => loadTranslations(translations, PLUGIN_NAME));
24
25
  return {
25
26
  name: PLUGIN_NAME,
26
27
  version: pkg.version
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["componentMap","variantHandler","components","variants","pkg","PLUGIN_NAME","load","app","events","once","addComponent","Object","keys","forEach","key","component","getAll","length","emitAsync","add","variantKey","variant","name","version","pluginName","buildPBComponents","getLightboxImages"],"sources":["../src/index.js"],"sourcesContent":["import { componentMap, variantHandler, components, variants } from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nasync function load(app) {\n app.events.once('load:custom:page-builder:component', addComponent => {\n Object.keys(components).forEach(key => addComponent({ key, component: components[key] }));\n });\n\n app.events.once('plugin:page-builder-fe:load:loaded', async () => {\n if (!componentMap.getAll().length) {\n // componentMap and variantHandler are singletons so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n await app.events.emitAsync('load:custom:page-builder:variant', variantHandler.add);\n\n // add core variants last so they can be overridden\n Object.keys(variants).forEach(variantKey => {\n const variant = variants[variantKey];\n variantHandler.add(variantKey, variant);\n });\n }\n });\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\n\nload.pluginName = PLUGIN_NAME;\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\nexport default load;\n"],"mappings":"AAAA,SAASA,YAAY,EAAEC,cAAc,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,+BAA+B;AAClG,OAAOC,GAAG,MAAM,iBAAiB;AACjC,SAASC,WAAW,QAAQ,aAAa;AAEzC,eAAeC,IAAIA,CAACC,GAAG,EAAE;EACvBA,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAEC,YAAY,IAAI;IACpEC,MAAM,CAACC,IAAI,CAACV,UAAU,CAAC,CAACW,OAAO,CAACC,GAAG,IAAIJ,YAAY,CAAC;MAAEI,GAAG;MAAEC,SAAS,EAAEb,UAAU,CAACY,GAAG;IAAE,CAAC,CAAC,CAAC;EAC3F,CAAC,CAAC;EAEFP,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAE,YAAY;IAChE,IAAI,CAACT,YAAY,CAACgB,MAAM,CAAC,CAAC,CAACC,MAAM,EAAE;MACjC;MACA,MAAMV,GAAG,CAACC,MAAM,CAACU,SAAS,CAAC,oCAAoC,EAAElB,YAAY,CAACmB,GAAG,CAAC;MAClF,MAAMZ,GAAG,CAACC,MAAM,CAACU,SAAS,CAAC,kCAAkC,EAAEjB,cAAc,CAACkB,GAAG,CAAC;;MAElF;MACAR,MAAM,CAACC,IAAI,CAACT,QAAQ,CAAC,CAACU,OAAO,CAACO,UAAU,IAAI;QAC1C,MAAMC,OAAO,GAAGlB,QAAQ,CAACiB,UAAU,CAAC;QACpCnB,cAAc,CAACkB,GAAG,CAACC,UAAU,EAAEC,OAAO,CAAC;MACzC,CAAC,CAAC;IACJ;EACF,CAAC,CAAC;EAEF,OAAO;IACLC,IAAI,EAAEjB,WAAW;IACjBkB,OAAO,EAAEnB,GAAG,CAACmB;EACf,CAAC;AACH;AAEAjB,IAAI,CAACkB,UAAU,GAAGnB,WAAW;AAE7B,SAASoB,iBAAiB,EAAEC,iBAAiB,QAAQ,+BAA+B;AACpF,eAAepB,IAAI","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["componentMap","variantHandler","components","variants","translations","pkg","PLUGIN_NAME","load","app","events","once","addComponent","Object","keys","forEach","key","component","getAll","length","emitAsync","add","variantKey","variant","loadTranslations","name","version","pluginName","buildPBComponents","getLightboxImages"],"sources":["../src/index.js"],"sourcesContent":["import {\n componentMap,\n variantHandler,\n components,\n variants,\n translations\n} from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nasync function load(app) {\n app.events.once('load:custom:page-builder:component', addComponent => {\n Object.keys(components).forEach(key => addComponent({ key, component: components[key] }));\n });\n\n app.events.once('plugin:page-builder-fe:load:loaded', async () => {\n if (!componentMap.getAll().length) {\n // componentMap and variantHandler are singletons so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n await app.events.emitAsync('load:custom:page-builder:variant', variantHandler.add);\n\n // add core variants last so they can be overridden\n Object.keys(variants).forEach(variantKey => {\n const variant = variants[variantKey];\n variantHandler.add(variantKey, variant);\n });\n }\n });\n\n app.events.once('plugin:translation-fe:translations:load', loadTranslations =>\n loadTranslations(translations, PLUGIN_NAME)\n );\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\n\nload.pluginName = PLUGIN_NAME;\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\nexport default load;\n"],"mappings":"AAAA,SACEA,YAAY,EACZC,cAAc,EACdC,UAAU,EACVC,QAAQ,EACRC,YAAY,QACP,+BAA+B;AACtC,OAAOC,GAAG,MAAM,iBAAiB;AACjC,SAASC,WAAW,QAAQ,aAAa;AAEzC,eAAeC,IAAIA,CAACC,GAAG,EAAE;EACvBA,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAEC,YAAY,IAAI;IACpEC,MAAM,CAACC,IAAI,CAACX,UAAU,CAAC,CAACY,OAAO,CAACC,GAAG,IAAIJ,YAAY,CAAC;MAAEI,GAAG;MAAEC,SAAS,EAAEd,UAAU,CAACa,GAAG;IAAE,CAAC,CAAC,CAAC;EAC3F,CAAC,CAAC;EAEFP,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAE,YAAY;IAChE,IAAI,CAACV,YAAY,CAACiB,MAAM,CAAC,CAAC,CAACC,MAAM,EAAE;MACjC;MACA,MAAMV,GAAG,CAACC,MAAM,CAACU,SAAS,CAAC,oCAAoC,EAAEnB,YAAY,CAACoB,GAAG,CAAC;MAClF,MAAMZ,GAAG,CAACC,MAAM,CAACU,SAAS,CAAC,kCAAkC,EAAElB,cAAc,CAACmB,GAAG,CAAC;;MAElF;MACAR,MAAM,CAACC,IAAI,CAACV,QAAQ,CAAC,CAACW,OAAO,CAACO,UAAU,IAAI;QAC1C,MAAMC,OAAO,GAAGnB,QAAQ,CAACkB,UAAU,CAAC;QACpCpB,cAAc,CAACmB,GAAG,CAACC,UAAU,EAAEC,OAAO,CAAC;MACzC,CAAC,CAAC;IACJ;EACF,CAAC,CAAC;EAEFd,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,yCAAyC,EAAEa,gBAAgB,IACzEA,gBAAgB,CAACnB,YAAY,EAAEE,WAAW,CAC5C,CAAC;EAED,OAAO;IACLkB,IAAI,EAAElB,WAAW;IACjBmB,OAAO,EAAEpB,GAAG,CAACoB;EACf,CAAC;AACH;AAEAlB,IAAI,CAACmB,UAAU,GAAGpB,WAAW;AAE7B,SAASqB,iBAAiB,EAAEC,iBAAiB,QAAQ,+BAA+B;AACpF,eAAerB,IAAI","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaze-cms/plugin-page-builder-fe",
3
- "version": "0.146.0-node18-tooltips.37",
3
+ "version": "0.146.0-node18-core-styles-tooltips.46",
4
4
  "description": "Blaze page builder plugin fe",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-es/index.js",
@@ -27,17 +27,17 @@
27
27
  },
28
28
  "license": "GPL-3.0",
29
29
  "dependencies": {
30
- "@blaze-cms/react-page-builder": "0.146.0-node18-tooltips.37",
31
- "@blaze-cms/setup-ui": "0.146.0-node18-tooltips.0",
30
+ "@blaze-cms/react-page-builder": "0.146.0-node18-core-styles-tooltips.46",
31
+ "@blaze-cms/setup-ui": "0.146.0-node18-core-styles-tooltips.46",
32
32
  "core-js": "^3.2.1",
33
33
  "regenerator-runtime": "^0.13.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@blaze-cms/core-ui": "0.146.0-node18-tooltips.32"
36
+ "@blaze-cms/core-ui": "0.146.0-node18-core-styles-tooltips.46"
37
37
  },
38
38
  "eslintIgnore": [
39
39
  "lib/*",
40
40
  "lib-es/*"
41
41
  ],
42
- "gitHead": "e1ee3c1f0f1a39f2815b751d434342d767d8c99d"
42
+ "gitHead": "424c3c1f446e3cfa3a50106bdb98f4f5eeaed800"
43
43
  }
package/src/index.js CHANGED
@@ -1,4 +1,10 @@
1
- import { componentMap, variantHandler, components, variants } from '@blaze-cms/react-page-builder';
1
+ import {
2
+ componentMap,
3
+ variantHandler,
4
+ components,
5
+ variants,
6
+ translations
7
+ } from '@blaze-cms/react-page-builder';
2
8
  import pkg from '../package.json';
3
9
  import { PLUGIN_NAME } from './constants';
4
10
 
@@ -21,6 +27,10 @@ async function load(app) {
21
27
  }
22
28
  });
23
29
 
30
+ app.events.once('plugin:translation-fe:translations:load', loadTranslations =>
31
+ loadTranslations(translations, PLUGIN_NAME)
32
+ );
33
+
24
34
  return {
25
35
  name: PLUGIN_NAME,
26
36
  version: pkg.version