@blaze-cms/plugin-page-builder-fe 0.127.0 → 0.127.3

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,6 +3,14 @@
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.127.3](https://github.com/thebyte9/blaze/compare/v0.127.2...v0.127.3) (2023-03-31)
7
+
8
+ **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
9
+
10
+
11
+
12
+
13
+
6
14
  # [0.127.0](https://github.com/thebyte9/blaze/compare/v0.126.1...v0.127.0) (2023-02-10)
7
15
 
8
16
  **Note:** Version bump only for package @blaze-cms/plugin-page-builder-fe
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["PLUGIN_NAME"],"sources":["../src/constants.js"],"sourcesContent":["const PLUGIN_NAME = 'page-builder-fe';\n\nexport { PLUGIN_NAME };\n"],"mappings":";;;;;;;AAAA,IAAMA,WAAW,GAAG,iBAAiB;AAAC"}
1
+ {"version":3,"file":"constants.js","names":["PLUGIN_NAME","exports"],"sources":["../src/constants.js"],"sourcesContent":["const PLUGIN_NAME = 'page-builder-fe';\n\nexport { PLUGIN_NAME };\n"],"mappings":";;;;;;;AAAA,IAAMA,WAAW,GAAG,iBAAiB;AAACC,OAAA,CAAAD,WAAA,GAAAA,WAAA"}
package/lib/index.js CHANGED
@@ -33,43 +33,39 @@ function load(_x) {
33
33
  function _load() {
34
34
  _load = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(app) {
35
35
  return _regenerator["default"].wrap(function _callee2$(_context2) {
36
- while (1) {
37
- switch (_context2.prev = _context2.next) {
38
- case 0:
39
- app.events.once('load:custom:page-builder:component', function (addComponent) {
40
- Object.keys(_reactPageBuilder.components).forEach(function (key) {
41
- return addComponent({
42
- key: key,
43
- component: _reactPageBuilder.components[key]
44
- });
36
+ while (1) switch (_context2.prev = _context2.next) {
37
+ case 0:
38
+ app.events.once('load:custom:page-builder:component', function (addComponent) {
39
+ Object.keys(_reactPageBuilder.components).forEach(function (key) {
40
+ return addComponent({
41
+ key: key,
42
+ component: _reactPageBuilder.components[key]
45
43
  });
46
44
  });
47
- app.events.once('plugin:page-builder-fe:load:loaded', /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
48
- return _regenerator["default"].wrap(function _callee$(_context) {
49
- while (1) {
50
- switch (_context.prev = _context.next) {
51
- case 0:
52
- if (_reactPageBuilder.componentMap.getAll().length) {
53
- _context.next = 3;
54
- break;
55
- }
56
- _context.next = 3;
57
- return app.events.emitAsync('load:custom:page-builder:component', _reactPageBuilder.componentMap.add);
58
- case 3:
59
- case "end":
60
- return _context.stop();
45
+ });
46
+ app.events.once('plugin:page-builder-fe:load:loaded', /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
47
+ return _regenerator["default"].wrap(function _callee$(_context) {
48
+ while (1) switch (_context.prev = _context.next) {
49
+ case 0:
50
+ if (_reactPageBuilder.componentMap.getAll().length) {
51
+ _context.next = 3;
52
+ break;
61
53
  }
62
- }
63
- }, _callee);
64
- })));
65
- return _context2.abrupt("return", {
66
- name: _constants.PLUGIN_NAME,
67
- version: _package["default"].version
68
- });
69
- case 3:
70
- case "end":
71
- return _context2.stop();
72
- }
54
+ _context.next = 3;
55
+ return app.events.emitAsync('load:custom:page-builder:component', _reactPageBuilder.componentMap.add);
56
+ case 3:
57
+ case "end":
58
+ return _context.stop();
59
+ }
60
+ }, _callee);
61
+ })));
62
+ return _context2.abrupt("return", {
63
+ name: _constants.PLUGIN_NAME,
64
+ version: _package["default"].version
65
+ });
66
+ case 3:
67
+ case "end":
68
+ return _context2.stop();
73
69
  }
74
70
  }, _callee2);
75
71
  }));
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["load","app","events","once","addComponent","Object","keys","components","forEach","key","component","componentMap","getAll","length","emitAsync","add","name","PLUGIN_NAME","version","pkg","pluginName"],"sources":["../src/index.js"],"sourcesContent":["import { componentMap, components } from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\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 is a singleton so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n }\n });\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\nload.pluginName = PLUGIN_NAME;\n\nexport default load;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAA0C,SAG3BA,IAAI;EAAA;AAAA;AAAA;EAAA,sFAAnB,kBAAoBC,GAAG;IAAA;MAAA;QAAA;UAAA;YACrBA,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,oCAAoC,EAAE,UAAAC,YAAY,EAAI;cACpEC,MAAM,CAACC,IAAI,CAACC,4BAAU,CAAC,CAACC,OAAO,CAAC,UAAAC,GAAG;gBAAA,OAAIL,YAAY,CAAC;kBAAEK,GAAG,EAAHA,GAAG;kBAAEC,SAAS,EAAEH,4BAAU,CAACE,GAAG;gBAAE,CAAC,CAAC;cAAA,EAAC;YAC3F,CAAC,CAAC;YAEFR,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC,oCAAoC,6FAAE;cAAA;gBAAA;kBAAA;oBAAA;sBAAA,IAC/CQ,8BAAY,CAACC,MAAM,EAAE,CAACC,MAAM;wBAAA;wBAAA;sBAAA;sBAAA;sBAAA,OAEzBZ,GAAG,CAACC,MAAM,CAACY,SAAS,CAAC,oCAAoC,EAAEH,8BAAY,CAACI,GAAG,CAAC;oBAAA;oBAAA;sBAAA;kBAAA;gBAAA;cAAA;YAAA,CAErF,GAAC;YAAC,kCAEI;cACLC,IAAI,EAAEC,sBAAW;cACjBC,OAAO,EAAEC,mBAAG,CAACD;YACf,CAAC;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EAAA,CACF;EAAA;AAAA;AACDlB,IAAI,CAACoB,UAAU,GAAGH,sBAAW;AAAC,eAEfjB,IAAI;AAAA"}
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","stop","abrupt","name","PLUGIN_NAME","version","pkg","pluginName","_default","exports"],"sources":["../src/index.js"],"sourcesContent":["import { componentMap, components } from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\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 is a singleton so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n }\n });\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\nload.pluginName = PLUGIN_NAME;\n\nexport default load;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAA0C,SAG3BI,IAAIA,CAAAC,EAAA;EAAA,OAAAC,KAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAAA,SA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AAxB,QAAA;EAAA,CACF;EAAA,OAAAN,KAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AACDJ,IAAI,CAACsC,UAAU,GAAGH,sBAAW;AAAC,IAAAI,QAAA,GAEfvC,IAAI;AAAAwC,OAAA,cAAAD,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["componentMap","components","pkg","PLUGIN_NAME","buildPBComponents","getLightboxImages","load","app","events","once","addComponent","Object","keys","forEach","key","component","getAll","length","emitAsync","add","name","version","pluginName"],"sources":["../src/index.js"],"sourcesContent":["import { componentMap, components } from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\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 is a singleton so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n }\n });\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\nload.pluginName = PLUGIN_NAME;\n\nexport default load;\n"],"mappings":"AAAA,SAASA,YAAY,EAAEC,UAAU,QAAQ,+BAA+B;AACxE,OAAOC,GAAG,MAAM,iBAAiB;AACjC,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,iBAAiB,EAAEC,iBAAiB,QAAQ,+BAA+B;AACpF,eAAeC,IAAI,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,CAACT,YAAY,CAACgB,MAAM,EAAE,CAACC,MAAM,EAAE;MACjC;MACA,MAAMV,GAAG,CAACC,MAAM,CAACU,SAAS,CAAC,oCAAoC,EAAElB,YAAY,CAACmB,GAAG,CAAC;IACpF;EACF,CAAC,CAAC;EAEF,OAAO;IACLC,IAAI,EAAEjB,WAAW;IACjBkB,OAAO,EAAEnB,GAAG,CAACmB;EACf,CAAC;AACH;AACAf,IAAI,CAACgB,UAAU,GAAGnB,WAAW;AAE7B,eAAeG,IAAI"}
1
+ {"version":3,"file":"index.js","names":["componentMap","components","pkg","PLUGIN_NAME","buildPBComponents","getLightboxImages","load","app","events","once","addComponent","Object","keys","forEach","key","component","getAll","length","emitAsync","add","name","version","pluginName"],"sources":["../src/index.js"],"sourcesContent":["import { componentMap, components } from '@blaze-cms/react-page-builder';\nimport pkg from '../package.json';\nimport { PLUGIN_NAME } from './constants';\n\nexport { buildPBComponents, getLightboxImages } from '@blaze-cms/react-page-builder';\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 is a singleton so only populate once\n await app.events.emitAsync('load:custom:page-builder:component', componentMap.add);\n }\n });\n\n return {\n name: PLUGIN_NAME,\n version: pkg.version\n };\n}\nload.pluginName = PLUGIN_NAME;\n\nexport default load;\n"],"mappings":"AAAA,SAASA,YAAY,EAAEC,UAAU,QAAQ,+BAA+B;AACxE,OAAOC,GAAG,MAAM,iBAAiB;AACjC,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,iBAAiB,EAAEC,iBAAiB,QAAQ,+BAA+B;AACpF,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,CAACT,YAAY,CAACgB,MAAM,EAAE,CAACC,MAAM,EAAE;MACjC;MACA,MAAMV,GAAG,CAACC,MAAM,CAACU,SAAS,CAAC,oCAAoC,EAAElB,YAAY,CAACmB,GAAG,CAAC;IACpF;EACF,CAAC,CAAC;EAEF,OAAO;IACLC,IAAI,EAAEjB,WAAW;IACjBkB,OAAO,EAAEnB,GAAG,CAACmB;EACf,CAAC;AACH;AACAf,IAAI,CAACgB,UAAU,GAAGnB,WAAW;AAE7B,eAAeG,IAAI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaze-cms/plugin-page-builder-fe",
3
- "version": "0.127.0",
3
+ "version": "0.127.3",
4
4
  "description": "Blaze page builder plugin fe",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-es/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "GPL-3.0",
29
29
  "dependencies": {
30
- "@blaze-cms/react-page-builder": "^0.127.0",
30
+ "@blaze-cms/react-page-builder": "^0.127.3",
31
31
  "@blaze-cms/setup-ui": "^0.127.0",
32
32
  "core-js": "^3.2.1",
33
33
  "regenerator-runtime": "^0.13.3"
@@ -39,5 +39,5 @@
39
39
  "lib/*",
40
40
  "lib-es/*"
41
41
  ],
42
- "gitHead": "dde05d6ccc6823315e5f16c8e7ded5a84637d9c4"
42
+ "gitHead": "b0d966c4e9e412ae94511d117a802aa6ff483daa"
43
43
  }