From eb3cc978ac0a94f8df936221504881090e8671b5 Mon Sep 17 00:00:00 2001 From: Philippe Chevieux Date: Fri, 29 Mar 2024 15:02:29 +0100 Subject: [PATCH] feat(admin): add required property to link attributes --- .../ReserveAttribute.test.tsx.snap | 2 +- .../LayoutElementsList.test.tsx.snap | 136 +- .../fields/LinkField/LinkField.test.tsx | 18 +- .../uiElements/fields/LinkField/LinkField.tsx | 22 +- .../__snapshots__/LinkField.test.tsx.snap | 1388 ----------------- .../ContentTab/uiElements/index.tsx | 4 +- 6 files changed, 102 insertions(+), 1468 deletions(-) delete mode 100644 apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/__snapshots__/LinkField.test.tsx.snap diff --git a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/AttributesList/ReserveAttribute/__snapshots__/ReserveAttribute.test.tsx.snap b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/AttributesList/ReserveAttribute/__snapshots__/ReserveAttribute.test.tsx.snap index e2504a89b..a9321de95 100644 --- a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/AttributesList/ReserveAttribute/__snapshots__/ReserveAttribute.test.tsx.snap +++ b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/AttributesList/ReserveAttribute/__snapshots__/ReserveAttribute.test.tsx.snap @@ -4,7 +4,7 @@ exports[`ReserveAttribute Snapshot test 1`] = ` LoadedCheerio { "0": Node { "attribs": { - "class": "sc-fmKFmJ VHwvq", + "class": "sc-fHekAb dRkbiM", }, "children": [ Node { diff --git a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/LayoutElementsList/__snapshots__/LayoutElementsList.test.tsx.snap b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/LayoutElementsList/__snapshots__/LayoutElementsList.test.tsx.snap index 82eddcea9..96e101e86 100644 --- a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/LayoutElementsList/__snapshots__/LayoutElementsList.test.tsx.snap +++ b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/ElementsReserve/LayoutElementsList/__snapshots__/LayoutElementsList.test.tsx.snap @@ -4,7 +4,7 @@ exports[`LayoutElementsList Snapshot test 1`] = ` LoadedCheerio { "0": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -19,7 +19,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -34,7 +34,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -49,7 +49,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -92,7 +92,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -138,7 +138,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -153,7 +153,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -189,7 +189,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -206,7 +206,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -259,7 +259,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -274,7 +274,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -289,7 +289,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -335,7 +335,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -350,7 +350,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -377,7 +377,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -411,7 +411,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -428,7 +428,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -445,7 +445,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -503,7 +503,7 @@ LoadedCheerio { }, "1": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -518,7 +518,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -533,7 +533,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -551,7 +551,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -598,7 +598,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -626,7 +626,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -670,7 +670,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -697,7 +697,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -712,7 +712,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -748,7 +748,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -765,7 +765,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -806,7 +806,7 @@ LoadedCheerio { }, "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -826,7 +826,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -841,7 +841,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -877,7 +877,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -894,7 +894,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -952,7 +952,7 @@ LoadedCheerio { }, "2": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -967,7 +967,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -985,7 +985,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1000,7 +1000,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1036,7 +1036,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1053,7 +1053,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1107,7 +1107,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1122,7 +1122,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1158,7 +1158,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1175,7 +1175,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1210,7 +1210,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1243,7 +1243,7 @@ LoadedCheerio { }, "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1261,7 +1261,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1289,7 +1289,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1322,7 +1322,7 @@ LoadedCheerio { }, "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1343,7 +1343,7 @@ LoadedCheerio { [Circular], Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1401,7 +1401,7 @@ LoadedCheerio { }, "3": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1419,7 +1419,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1434,7 +1434,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1449,7 +1449,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1495,7 +1495,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1510,7 +1510,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1537,7 +1537,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1571,7 +1571,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1588,7 +1588,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1605,7 +1605,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1655,7 +1655,7 @@ LoadedCheerio { }, "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1673,7 +1673,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1688,7 +1688,7 @@ LoadedCheerio { "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1724,7 +1724,7 @@ LoadedCheerio { }, Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1741,7 +1741,7 @@ LoadedCheerio { "parent": [Circular], "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1784,7 +1784,7 @@ LoadedCheerio { }, "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1802,7 +1802,7 @@ LoadedCheerio { "children": [ Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { @@ -1838,7 +1838,7 @@ LoadedCheerio { }, "prev": Node { "attribs": { - "class": "sc-fmKFmJ bSNASZ", + "class": "sc-fHekAb dTVdFL", }, "children": [ Node { diff --git a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.test.tsx b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.test.tsx index b68b44a77..7e325f060 100644 --- a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.test.tsx +++ b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.test.tsx @@ -1,14 +1,22 @@ // Copyright LEAV Solutions 2017 // This file is released under LGPL V3 // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt -import {render} from 'enzyme'; -import React from 'react'; import LinkField from './LinkField'; +import {render, screen} from '../../../../../../../../../../../_tests/testUtils'; describe('LinkField', () => { - test('Snapshot test', async () => { - const comp = render(); + it('should display input with specified label', async () => { + const label = 'toto'; + render(); - expect(comp).toMatchSnapshot(); + expect(screen.getByText(label)).toBeVisible(); + expect(screen.getByText(label)).not.toHaveClass('required'); + }); + + it('should display input with required class if specified', async () => { + const label = 'tata'; + render(); + + expect(screen.getByText(label)).toHaveClass('required'); }); }); diff --git a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.tsx b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.tsx index 8097f0f4f..5911bd06d 100644 --- a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.tsx +++ b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/LinkField.tsx @@ -1,10 +1,13 @@ // Copyright LEAV Solutions 2017 // This file is released under LGPL V3 // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt -import React from 'react'; import {Table} from 'semantic-ui-react'; -import styled from 'styled-components'; import {ICommonFieldsSettings, IFormElementProps} from '../../../_types'; +import styled from 'styled-components'; + +interface ILinkFieldSettings extends ICommonFieldsSettings { + required?: boolean; +} const PreviewSkeleton = styled.div` border-radius: 50%; @@ -27,12 +30,23 @@ const CellWrapper = styled.div` align-items: center; `; -function LinkField({settings}: IFormElementProps): JSX.Element { +const StyledLabel = styled.span` + &.required::before { + content: '* '; + color: red; + } +`; + +function LinkField({settings}: IFormElementProps): JSX.Element { + const {label, required} = settings; + return ( - {settings.label} + + {label} + diff --git a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/__snapshots__/LinkField.test.tsx.snap b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/__snapshots__/LinkField.test.tsx.snap deleted file mode 100644 index e6356ea43..000000000 --- a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/fields/LinkField/__snapshots__/LinkField.test.tsx.snap +++ /dev/null @@ -1,1388 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`LinkField Snapshot test 1`] = ` -LoadedCheerio { - "0": Node { - "attribs": { - "class": "ui celled striped table", - }, - "children": [ - Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "", - "colspan": "3", - }, - "children": [], - "name": "th", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - "colspan": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - "colspan": undefined, - }, - }, - ], - "name": "tr", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "thead", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "four wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-dmyDmy dvHVUk", - }, - "children": [ - Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "four wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-dmyDmy dvHVUk", - }, - "children": [ - Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "four wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-dmyDmy dvHVUk", - }, - "children": [ - Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "tr", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "tbody", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "four wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-dmyDmy dvHVUk", - }, - "children": [ - Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "four wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-dmyDmy dvHVUk", - }, - "children": [ - Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "six wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "four wide", - }, - "children": [ - Node { - "attribs": { - "class": "sc-dmyDmy dvHVUk", - }, - "children": [ - Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - Node { - "attribs": { - "class": "sc-guDMob kNMMZN", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "sc-beyTiQ hWIlmA", - }, - "children": [], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "div", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "td", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "tr", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "tbody", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "", - }, - "children": [ - Node { - "attribs": { - "class": "", - "colspan": "3", - }, - "children": [], - "name": "th", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - "colspan": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - "colspan": undefined, - }, - }, - ], - "name": "tr", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "thead", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - ], - "name": "table", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": Node { - "children": [ - [Circular], - ], - "name": "root", - "next": null, - "parent": null, - "prev": null, - "type": "root", - }, - "prev": null, - "type": "tag", - "x-attribsNamespace": { - "class": undefined, - }, - "x-attribsPrefix": { - "class": undefined, - }, - }, - "_root": LoadedCheerio { - "0": Node { - "children": [ - Node { - "attribs": {}, - "children": [ - Node { - "attribs": {}, - "children": [], - "name": "head", - "namespace": "http://www.w3.org/1999/xhtml", - "next": Node { - "attribs": {}, - "children": [], - "name": "body", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": [Circular], - "type": "tag", - "x-attribsNamespace": {}, - "x-attribsPrefix": {}, - }, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": {}, - "x-attribsPrefix": {}, - }, - Node { - "attribs": {}, - "children": [], - "name": "body", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": Node { - "attribs": {}, - "children": [], - "name": "head", - "namespace": "http://www.w3.org/1999/xhtml", - "next": [Circular], - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": {}, - "x-attribsPrefix": {}, - }, - "type": "tag", - "x-attribsNamespace": {}, - "x-attribsPrefix": {}, - }, - ], - "name": "html", - "namespace": "http://www.w3.org/1999/xhtml", - "next": null, - "parent": [Circular], - "prev": null, - "type": "tag", - "x-attribsNamespace": {}, - "x-attribsPrefix": {}, - }, - ], - "name": "root", - "next": null, - "parent": null, - "prev": null, - "type": "root", - "x-mode": "quirks", - }, - "_root": [Circular], - "length": 1, - "options": { - "decodeEntities": true, - "xml": false, - }, - }, - "length": 1, - "options": { - "decodeEntities": true, - "xml": false, - }, -} -`; diff --git a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/index.tsx b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/index.tsx index 7f38954c6..d7e838c40 100644 --- a/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/index.tsx +++ b/apps/admin/src/components/libraries/EditLibrary/EditLibraryTabs/FormsTab/EditForm/EditFormTabs/ContentTab/uiElements/index.tsx @@ -1,7 +1,6 @@ // Copyright LEAV Solutions 2017 // This file is released under LGPL V3 // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt -import React from 'react'; import { GET_ATTRIBUTE_BY_ID_attributes_list, GET_ATTRIBUTE_BY_ID_attributes_list_LinkAttribute @@ -144,7 +143,8 @@ export const formElements: {[type in FieldTypes]: IUIElement} = { name: 'displayRecordIdentity', inputType: FormElementSettingsInputTypes.CHECKBOX, defaultValue: true - } + }, + requiredFieldSetting ], canDrop: () => false },