@oneblink/apps-react 2.5.3-beta.4 → 2.5.3-beta.5

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.
@@ -4,6 +4,9 @@ const infoPageElements = [
4
4
  'html',
5
5
  'image',
6
6
  'section',
7
+ 'page',
8
+ 'infoPage',
9
+ 'form',
7
10
  ];
8
11
  export default function determineIsInfoPage(form) {
9
12
  const foundInputElement = formElementsService.findFormElement(form.elements, (e) => {
@@ -1 +1 @@
1
- {"version":3,"file":"determineIsInfoPage.js","sourceRoot":"","sources":["../../src/services/determineIsInfoPage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAGxD,MAAM,gBAAgB,GAAgC;IACpD,SAAS;IACT,MAAM;IACN,OAAO;IACP,SAAS;CACV,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAoB;IAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,eAAe,CAC3D,IAAI,CAAC,QAAQ,EACb,CAAC,CAAC,EAAE,EAAE;QACJ,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC3C,CAAC,CACF,CAAA;IACD,OAAO,CAAC,iBAAiB,CAAA;AAC3B,CAAC","sourcesContent":["import { formElementsService } from '@oneblink/sdk-core'\nimport { FormTypes } from '@oneblink/types'\n\nconst infoPageElements: FormTypes.FormElementType[] = [\n 'heading',\n 'html',\n 'image',\n 'section',\n]\nexport default function determineIsInfoPage(form: FormTypes.Form) {\n const foundInputElement = formElementsService.findFormElement(\n form.elements,\n (e) => {\n return !infoPageElements.includes(e.type)\n },\n )\n return !foundInputElement\n}\n"]}
1
+ {"version":3,"file":"determineIsInfoPage.js","sourceRoot":"","sources":["../../src/services/determineIsInfoPage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAGxD,MAAM,gBAAgB,GAAgC;IACpD,SAAS;IACT,MAAM;IACN,OAAO;IACP,SAAS;IACT,MAAM;IACN,UAAU;IACV,MAAM;CACP,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAoB;IAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,eAAe,CAC3D,IAAI,CAAC,QAAQ,EACb,CAAC,CAAC,EAAE,EAAE;QACJ,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC3C,CAAC,CACF,CAAA;IACD,OAAO,CAAC,iBAAiB,CAAA;AAC3B,CAAC","sourcesContent":["import { formElementsService } from '@oneblink/sdk-core'\nimport { FormTypes } from '@oneblink/types'\n\nconst infoPageElements: FormTypes.FormElementType[] = [\n 'heading',\n 'html',\n 'image',\n 'section',\n 'page',\n 'infoPage',\n 'form',\n]\nexport default function determineIsInfoPage(form: FormTypes.Form) {\n const foundInputElement = formElementsService.findFormElement(\n form.elements,\n (e) => {\n return !infoPageElements.includes(e.type)\n },\n )\n return !foundInputElement\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneblink/apps-react",
3
3
  "description": "Helper functions for OneBlink apps in ReactJS.",
4
- "version": "2.5.3-beta.4",
4
+ "version": "2.5.3-beta.5",
5
5
  "author": "OneBlink <developers@oneblink.io> (https://oneblink.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/oneblink/apps-react/issues"