@blaze-cms/admin 0.134.0-project-admin-customisations.0 → 0.134.0

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,25 +3,17 @@
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.134.0-project-admin-customisations.0](https://github.com/thebyte9/blaze/compare/v0.133.0...v0.134.0-project-admin-customisations.0) (2023-10-11)
6
+ # [0.134.0](https://github.com/thebyte9/blaze/compare/v0.134.0-alpha.0...v0.134.0) (2023-10-31)
7
7
 
8
+ **Note:** Version bump only for package @blaze-cms/admin
8
9
 
9
10
 
10
- # [0.129.0-project-admin-customisations.1](https://github.com/thebyte9/blaze/compare/v0.129.0-project-admin-customisations.0...v0.129.0-project-admin-customisations.1) (2023-05-05)
11
-
12
-
13
-
14
- # [0.129.0-project-admin-customisations.0](https://github.com/thebyte9/blaze/compare/v0.128.2...v0.129.0-project-admin-customisations.0) (2023-05-03)
15
-
16
-
17
- ### Bug Fixes
18
11
 
19
- * revert to template modal ([#3823](https://github.com/thebyte9/blaze/issues/3823)) ([7263ad5](https://github.com/thebyte9/blaze/commit/7263ad57cde4ab21a8b44b446444cd5ea40bc959))
20
12
 
21
13
 
22
- ### Features
14
+ # [0.134.0-alpha.0](https://github.com/thebyte9/blaze/compare/v0.133.0...v0.134.0-alpha.0) (2023-10-23)
23
15
 
24
- * add initial admin renderhook plugin with first hook ([#3785](https://github.com/thebyte9/blaze/issues/3785)) ([c535036](https://github.com/thebyte9/blaze/commit/c5350369d28e870afe8a10de1a284fd63592be33))
16
+ **Note:** Version bump only for package @blaze-cms/admin
25
17
 
26
18
 
27
19
 
package/blaze.config.js CHANGED
@@ -6,7 +6,6 @@ import pageBuilder from '@blaze-cms/plugin-page-builder-ui';
6
6
  import media from '@blaze-cms/plugin-media-ui';
7
7
  import gtm from '@blaze-cms/plugin-gtm-ui';
8
8
  import googleMaps from '@blaze-cms/plugin-google-maps-ui';
9
- import renderHooks from '@blaze-cms/plugin-render-hooks-ui';
10
9
 
11
10
  const plugins = new Map();
12
11
  plugins.set(authLocal, {});
@@ -17,7 +16,6 @@ plugins.set(pageBuilder, {});
17
16
  plugins.set(media, {});
18
17
  plugins.set(gtm, {});
19
18
  plugins.set(googleMaps, {});
20
- plugins.set(renderHooks, {});
21
19
 
22
20
  const apollo = { addTypename: false };
23
21
 
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
- var _adminUiUtils = require("@blaze-cms/admin-ui-utils");
11
+ var _modal = _interopRequireDefault(require("@blaze-react/modal"));
12
12
  var RevertToTemplate = function RevertToTemplate(_ref) {
13
13
  var id = _ref.id,
14
14
  onClose = _ref.onClose,
@@ -22,7 +22,7 @@ var RevertToTemplate = function RevertToTemplate(_ref) {
22
22
  modifiers: ['small'],
23
23
  textButton: 'Revert'
24
24
  }];
25
- return /*#__PURE__*/_react["default"].createElement(_adminUiUtils.ModalAdapter, {
25
+ return /*#__PURE__*/_react["default"].createElement(_modal["default"], {
26
26
  actions: alertActions,
27
27
  onClose: onClose,
28
28
  isAlert: true
@@ -1 +1 @@
1
- {"version":3,"file":"RevertToTemplate.js","names":["_react","_interopRequireDefault","require","_propTypes","_adminUiUtils","RevertToTemplate","_ref","id","onClose","revertToTemplate","alertActions","callback","event","stopPropagation","modifiers","textButton","createElement","ModalAdapter","actions","isAlert","propTypes","PropTypes","func","isRequired","string","_default","exports"],"sources":["../../../src/components/RevertToTemplate/RevertToTemplate.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalAdapter as Modal } from '@blaze-cms/admin-ui-utils';\n\nconst RevertToTemplate = ({ id, onClose, revertToTemplate }) => {\n const alertActions = [\n {\n callback: event => {\n event.stopPropagation();\n revertToTemplate(id);\n onClose();\n },\n modifiers: ['small'],\n textButton: 'Revert'\n }\n ];\n return (\n <Modal actions={alertActions} onClose={onClose} isAlert>\n <p>\n By performing this action it will revert to template and overwrite all data and settings of\n this element.\n </p>\n </Modal>\n );\n};\n\nRevertToTemplate.propTypes = {\n onClose: PropTypes.func.isRequired,\n revertToTemplate: PropTypes.func.isRequired,\n id: PropTypes.string.isRequired\n};\n\nexport default RevertToTemplate;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAEA,IAAMG,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAA0C;EAAA,IAApCC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IAAEC,gBAAgB,GAAAH,IAAA,CAAhBG,gBAAgB;EACvD,IAAMC,YAAY,GAAG,CACnB;IACEC,QAAQ,EAAE,SAAAA,SAAAC,KAAK,EAAI;MACjBA,KAAK,CAACC,eAAe,CAAC,CAAC;MACvBJ,gBAAgB,CAACF,EAAE,CAAC;MACpBC,OAAO,CAAC,CAAC;IACX,CAAC;IACDM,SAAS,EAAE,CAAC,OAAO,CAAC;IACpBC,UAAU,EAAE;EACd,CAAC,CACF;EACD,oBACEf,MAAA,YAAAgB,aAAA,CAACZ,aAAA,CAAAa,YAAK;IAACC,OAAO,EAAER,YAAa;IAACF,OAAO,EAAEA,OAAQ;IAACW,OAAO;EAAA,gBACrDnB,MAAA,YAAAgB,aAAA,YAAG,2GAGA,CACE,CAAC;AAEZ,CAAC;AAEDX,gBAAgB,CAACe,SAAS,GAAG;EAC3BZ,OAAO,EAAEa,qBAAS,CAACC,IAAI,CAACC,UAAU;EAClCd,gBAAgB,EAAEY,qBAAS,CAACC,IAAI,CAACC,UAAU;EAC3ChB,EAAE,EAAEc,qBAAS,CAACG,MAAM,CAACD;AACvB,CAAC;AAAC,IAAAE,QAAA,GAEapB,gBAAgB;AAAAqB,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"RevertToTemplate.js","names":["_react","_interopRequireDefault","require","_propTypes","_modal","RevertToTemplate","_ref","id","onClose","revertToTemplate","alertActions","callback","event","stopPropagation","modifiers","textButton","createElement","actions","isAlert","propTypes","PropTypes","func","isRequired","string","_default","exports"],"sources":["../../../src/components/RevertToTemplate/RevertToTemplate.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Modal from '@blaze-react/modal';\n\nconst RevertToTemplate = ({ id, onClose, revertToTemplate }) => {\n const alertActions = [\n {\n callback: event => {\n event.stopPropagation();\n revertToTemplate(id);\n onClose();\n },\n modifiers: ['small'],\n textButton: 'Revert'\n }\n ];\n return (\n <Modal actions={alertActions} onClose={onClose} isAlert>\n <p>\n By performing this action it will revert to template and overwrite all data and settings of\n this element.\n </p>\n </Modal>\n );\n};\n\nRevertToTemplate.propTypes = {\n onClose: PropTypes.func.isRequired,\n revertToTemplate: PropTypes.func.isRequired,\n id: PropTypes.string.isRequired\n};\n\nexport default RevertToTemplate;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA,IAAMG,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAA0C;EAAA,IAApCC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IAAEC,gBAAgB,GAAAH,IAAA,CAAhBG,gBAAgB;EACvD,IAAMC,YAAY,GAAG,CACnB;IACEC,QAAQ,EAAE,SAAAA,SAAAC,KAAK,EAAI;MACjBA,KAAK,CAACC,eAAe,CAAC,CAAC;MACvBJ,gBAAgB,CAACF,EAAE,CAAC;MACpBC,OAAO,CAAC,CAAC;IACX,CAAC;IACDM,SAAS,EAAE,CAAC,OAAO,CAAC;IACpBC,UAAU,EAAE;EACd,CAAC,CACF;EACD,oBACEf,MAAA,YAAAgB,aAAA,CAACZ,MAAA,WAAK;IAACa,OAAO,EAAEP,YAAa;IAACF,OAAO,EAAEA,OAAQ;IAACU,OAAO;EAAA,gBACrDlB,MAAA,YAAAgB,aAAA,YAAG,2GAGA,CACE,CAAC;AAEZ,CAAC;AAEDX,gBAAgB,CAACc,SAAS,GAAG;EAC3BX,OAAO,EAAEY,qBAAS,CAACC,IAAI,CAACC,UAAU;EAClCb,gBAAgB,EAAEW,qBAAS,CAACC,IAAI,CAACC,UAAU;EAC3Cf,EAAE,EAAEa,qBAAS,CAACG,MAAM,CAACD;AACvB,CAAC;AAAC,IAAAE,QAAA,GAEanB,gBAAgB;AAAAoB,OAAA,cAAAD,QAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { ModalAdapter as Modal } from '@blaze-cms/admin-ui-utils';
3
+ import Modal from '@blaze-react/modal';
4
4
  const RevertToTemplate = ({
5
5
  id,
6
6
  onClose,
@@ -1 +1 @@
1
- {"version":3,"file":"RevertToTemplate.js","names":["React","PropTypes","ModalAdapter","Modal","RevertToTemplate","id","onClose","revertToTemplate","alertActions","callback","event","stopPropagation","modifiers","textButton","createElement","actions","isAlert","propTypes","func","isRequired","string"],"sources":["../../../src/components/RevertToTemplate/RevertToTemplate.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalAdapter as Modal } from '@blaze-cms/admin-ui-utils';\n\nconst RevertToTemplate = ({ id, onClose, revertToTemplate }) => {\n const alertActions = [\n {\n callback: event => {\n event.stopPropagation();\n revertToTemplate(id);\n onClose();\n },\n modifiers: ['small'],\n textButton: 'Revert'\n }\n ];\n return (\n <Modal actions={alertActions} onClose={onClose} isAlert>\n <p>\n By performing this action it will revert to template and overwrite all data and settings of\n this element.\n </p>\n </Modal>\n );\n};\n\nRevertToTemplate.propTypes = {\n onClose: PropTypes.func.isRequired,\n revertToTemplate: PropTypes.func.isRequired,\n id: PropTypes.string.isRequired\n};\n\nexport default RevertToTemplate;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,IAAIC,KAAK,QAAQ,2BAA2B;AAEjE,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,EAAE;EAAEC,OAAO;EAAEC;AAAiB,CAAC,KAAK;EAC9D,MAAMC,YAAY,GAAG,CACnB;IACEC,QAAQ,EAAEC,KAAK,IAAI;MACjBA,KAAK,CAACC,eAAe,CAAC,CAAC;MACvBJ,gBAAgB,CAACF,EAAE,CAAC;MACpBC,OAAO,CAAC,CAAC;IACX,CAAC;IACDM,SAAS,EAAE,CAAC,OAAO,CAAC;IACpBC,UAAU,EAAE;EACd,CAAC,CACF;EACD,oBACEb,KAAA,CAAAc,aAAA,CAACX,KAAK;IAACY,OAAO,EAAEP,YAAa;IAACF,OAAO,EAAEA,OAAQ;IAACU,OAAO;EAAA,gBACrDhB,KAAA,CAAAc,aAAA,YAAG,2GAGA,CACE,CAAC;AAEZ,CAAC;AAEDV,gBAAgB,CAACa,SAAS,GAAG;EAC3BX,OAAO,EAAEL,SAAS,CAACiB,IAAI,CAACC,UAAU;EAClCZ,gBAAgB,EAAEN,SAAS,CAACiB,IAAI,CAACC,UAAU;EAC3Cd,EAAE,EAAEJ,SAAS,CAACmB,MAAM,CAACD;AACvB,CAAC;AAED,eAAef,gBAAgB"}
1
+ {"version":3,"file":"RevertToTemplate.js","names":["React","PropTypes","Modal","RevertToTemplate","id","onClose","revertToTemplate","alertActions","callback","event","stopPropagation","modifiers","textButton","createElement","actions","isAlert","propTypes","func","isRequired","string"],"sources":["../../../src/components/RevertToTemplate/RevertToTemplate.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Modal from '@blaze-react/modal';\n\nconst RevertToTemplate = ({ id, onClose, revertToTemplate }) => {\n const alertActions = [\n {\n callback: event => {\n event.stopPropagation();\n revertToTemplate(id);\n onClose();\n },\n modifiers: ['small'],\n textButton: 'Revert'\n }\n ];\n return (\n <Modal actions={alertActions} onClose={onClose} isAlert>\n <p>\n By performing this action it will revert to template and overwrite all data and settings of\n this element.\n </p>\n </Modal>\n );\n};\n\nRevertToTemplate.propTypes = {\n onClose: PropTypes.func.isRequired,\n revertToTemplate: PropTypes.func.isRequired,\n id: PropTypes.string.isRequired\n};\n\nexport default RevertToTemplate;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,MAAM,oBAAoB;AAEtC,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,EAAE;EAAEC,OAAO;EAAEC;AAAiB,CAAC,KAAK;EAC9D,MAAMC,YAAY,GAAG,CACnB;IACEC,QAAQ,EAAEC,KAAK,IAAI;MACjBA,KAAK,CAACC,eAAe,CAAC,CAAC;MACvBJ,gBAAgB,CAACF,EAAE,CAAC;MACpBC,OAAO,CAAC,CAAC;IACX,CAAC;IACDM,SAAS,EAAE,CAAC,OAAO,CAAC;IACpBC,UAAU,EAAE;EACd,CAAC,CACF;EACD,oBACEZ,KAAA,CAAAa,aAAA,CAACX,KAAK;IAACY,OAAO,EAAEP,YAAa;IAACF,OAAO,EAAEA,OAAQ;IAACU,OAAO;EAAA,gBACrDf,KAAA,CAAAa,aAAA,YAAG,2GAGA,CACE,CAAC;AAEZ,CAAC;AAEDV,gBAAgB,CAACa,SAAS,GAAG;EAC3BX,OAAO,EAAEJ,SAAS,CAACgB,IAAI,CAACC,UAAU;EAClCZ,gBAAgB,EAAEL,SAAS,CAACgB,IAAI,CAACC,UAAU;EAC3Cd,EAAE,EAAEH,SAAS,CAACkB,MAAM,CAACD;AACvB,CAAC;AAED,eAAef,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaze-cms/admin",
3
- "version": "0.134.0-project-admin-customisations.0",
3
+ "version": "0.134.0",
4
4
  "description": "Blaze example project",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-es/index.js",
@@ -28,19 +28,19 @@
28
28
  "license": "GPL-3.0",
29
29
  "dependencies": {
30
30
  "@apollo/client": "3.5.x",
31
- "@blaze-cms/admin-ui-utils": "0.134.0-project-admin-customisations.0",
32
- "@blaze-cms/core-errors-ui": "0.134.0-project-admin-customisations.0",
33
- "@blaze-cms/core-ui": "0.134.0-project-admin-customisations.0",
34
- "@blaze-cms/plugin-admin-core-ui": "0.134.0-project-admin-customisations.0",
35
- "@blaze-cms/plugin-auth-local-ui": "0.134.0-project-admin-customisations.0",
36
- "@blaze-cms/plugin-auth-ui": "0.134.0-project-admin-customisations.0",
37
- "@blaze-cms/plugin-data-ui": "0.134.0-project-admin-customisations.0",
38
- "@blaze-cms/plugin-google-maps-ui": "0.134.0-project-admin-customisations.0",
39
- "@blaze-cms/plugin-gtm-ui": "0.134.0-project-admin-customisations.0",
40
- "@blaze-cms/plugin-media-ui": "0.134.0-project-admin-customisations.0",
41
- "@blaze-cms/plugin-page-builder-ui": "0.134.0-project-admin-customisations.0",
42
- "@blaze-cms/react-form-builder": "0.134.0-project-admin-customisations.0",
43
- "@blaze-cms/setup-ui": "0.134.0-project-admin-customisations.0",
31
+ "@blaze-cms/admin-ui-utils": "^0.132.0",
32
+ "@blaze-cms/core-errors-ui": "^0.131.0",
33
+ "@blaze-cms/core-ui": "^0.131.0",
34
+ "@blaze-cms/plugin-admin-core-ui": "^0.134.0",
35
+ "@blaze-cms/plugin-auth-local-ui": "^0.131.0",
36
+ "@blaze-cms/plugin-auth-ui": "^0.132.0",
37
+ "@blaze-cms/plugin-data-ui": "^0.134.0",
38
+ "@blaze-cms/plugin-google-maps-ui": "^0.134.0",
39
+ "@blaze-cms/plugin-gtm-ui": "^0.134.0",
40
+ "@blaze-cms/plugin-media-ui": "^0.134.0",
41
+ "@blaze-cms/plugin-page-builder-ui": "^0.134.0",
42
+ "@blaze-cms/react-form-builder": "^0.134.0",
43
+ "@blaze-cms/setup-ui": "^0.131.0",
44
44
  "@blaze-react/alert": "0.5.19",
45
45
  "@blaze-react/modal": "0.5.19",
46
46
  "@blaze-react/toaster": "0.5.17",
@@ -66,5 +66,5 @@
66
66
  "lib/*",
67
67
  "lib-es/*"
68
68
  ],
69
- "gitHead": "ed7ba9d56aee2c4913b8204b0181fdc8c5975d94"
69
+ "gitHead": "0ee132aebf4417d5259a42bef9f790df2a2bb453"
70
70
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { ModalAdapter as Modal } from '@blaze-cms/admin-ui-utils';
3
+ import Modal from '@blaze-react/modal';
4
4
 
5
5
  const RevertToTemplate = ({ id, onClose, revertToTemplate }) => {
6
6
  const alertActions = [