diff --git a/.vscode/launch.json b/.vscode/launch.json index bbd3c30..c385a95 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,13 +4,6 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - { - "type": "pwa-chrome", - "request": "launch", - "name": "Launch App in Chrome", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}", - }, { "type": "chrome", "request": "launch", diff --git a/src/layouts/SplitPaneLayout.tsx b/src/layouts/SplitPaneLayout.tsx index a3ed7f9..fd6eaa4 100644 --- a/src/layouts/SplitPaneLayout.tsx +++ b/src/layouts/SplitPaneLayout.tsx @@ -28,9 +28,7 @@ const renderSplitElements = ({ viewKind, viewKindElement, viewDescr, enabled, Re const style = el.options && el.options.style; return ( -
- -
+
); }) diff --git a/stories/TableRemoteMktp.stories.tsx b/stories/TableRemoteMktp.stories.tsx index fe3e538..218dca0 100644 --- a/stories/TableRemoteMktp.stories.tsx +++ b/stories/TableRemoteMktp.stories.tsx @@ -31,17 +31,17 @@ import { tableRenderers } from '../src'; const viewKinds = [ { - '@id': 'rm:TableViewKind', + '@id': 'mktp:TableViewKind', '@type': 'aldkg:ViewKind', title: 'Карточки', description: 'Big table View with form', collsConstrs: [ { - '@id': 'rm:ProductCard_Coll', + '@id': 'mktp:ProductCard_Coll', '@type': 'aldkg:CollConst', entConstrs: [ { - '@id': 'rm:ProductCard_Coll_Shape0', + '@id': 'mktp:ProductCard_Coll_Shape0', '@type': 'aldkg:EntConstr', schema: 'hs:ProductCardShape', /*conditions: { @@ -57,7 +57,7 @@ const viewKinds = [ ], elements: [ { - '@id': 'rm:_934jHd67', + '@id': 'mktp:_934jHd67', '@type': 'aldkg:VerticalLayout', options: { height: 'all-empty-space', @@ -66,7 +66,7 @@ const viewKinds = [ { '@id': 'ProductCardTable', '@type': 'aldkg:Array', - resultsScope: 'rm:ProductCard_Coll', + resultsScope: 'mktp:ProductCard_Coll', options: { draggable: true, resizeableHeader: true, @@ -256,7 +256,7 @@ const viewDescrs = [ { '@id': 'rm:TableViewDescr', '@type': 'aldkg:ViewDescr', - viewKind: 'rm:TableViewKind', + viewKind: 'mktp:TableViewKind', title: 'CardCellGrid', description: 'CardCellGrid', collsConstrs: [], diff --git a/stories/TreeTableFormMktp.stories.tsx b/stories/TreeTableFormMktp.stories.tsx index 1806196..8829b71 100644 --- a/stories/TreeTableFormMktp.stories.tsx +++ b/stories/TreeTableFormMktp.stories.tsx @@ -85,11 +85,11 @@ const viewKinds = [ schema: 'hs:ProductCardShape', conditions: { '@id': 'mktp:ProductCards_in_Category_Coll_Ent0_con', - CardInCatLink: 'https://www.wildberries.ru/catalog/zdorove/ozdorovlenie?sort=popular&page=1&xsubject=594', + CardInCatLink: 'https://www.wildberries.ru/catalog/igrushki/antistress', }, }, ], - limit: 1000, + limit: 100, }, { '@id': 'mktp:Cards_Coll',