From 9ef8761250829174e45d7b0ed12ccde7bd1bdcfd Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Tue, 13 Aug 2024 19:20:32 +0200 Subject: [PATCH] Adding first block --- .../locales/en/LC_MESSAGES/volto.po | 45 ++ .../locales/it/LC_MESSAGES/volto.po | 45 ++ packages/volto-blocks/locales/volto.pot | 47 +- packages/volto-blocks/package.json | 15 + .../src/components/blocks/Text7/Edit.tsx | 367 ++++----- .../src/components/blocks/Text7/View.tsx | 137 ++-- .../src/components/blocks/Text7/index.ts | 5 + .../src/components/blocks/Text7/schema.ts | 141 ++++ .../components/blocks/Text7/styles.module.css | 67 ++ packages/volto-blocks/src/config/blocks.js | 25 - packages/volto-blocks/src/config/blocks.ts | 45 ++ packages/volto-blocks/src/declaration.d.ts | 2 + packages/volto-blocks/src/index.js | 4 + packages/volto-blocks/tsconfig.json | 4 +- pnpm-lock.yaml | 743 +++++++++++++++++- 15 files changed, 1388 insertions(+), 304 deletions(-) create mode 100644 packages/volto-blocks/src/components/blocks/Text7/index.ts create mode 100644 packages/volto-blocks/src/components/blocks/Text7/schema.ts create mode 100644 packages/volto-blocks/src/components/blocks/Text7/styles.module.css delete mode 100644 packages/volto-blocks/src/config/blocks.js create mode 100644 packages/volto-blocks/src/config/blocks.ts create mode 100644 packages/volto-blocks/src/declaration.d.ts diff --git a/packages/volto-blocks/locales/en/LC_MESSAGES/volto.po b/packages/volto-blocks/locales/en/LC_MESSAGES/volto.po index 8816430..6c59614 100644 --- a/packages/volto-blocks/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto-blocks/locales/en/LC_MESSAGES/volto.po @@ -11,4 +11,49 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. Default: "Alignment" +#: components/blocks/Text7/schema +msgid "Alignment" +msgstr "" + +#. Default: "Link Title" +#: components/blocks/Text7/schema +msgid "Link title" +msgstr "" + +#. Default: "Link to" +#: components/blocks/Text7/schema +msgid "Link to" +msgstr "" + +#. Default: "Text" +#: components/blocks/Text7/Edit +#: components/blocks/Text7/schema +msgid "Text" +msgstr "" + +#. Default: "Title" +#: components/blocks/Text7/Edit +#: components/blocks/Text7/schema +msgid "Title" +msgstr "" + +#. Default: "Call to action" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__cta_fieldset_title" +msgstr "" + +#. Default: "Read more" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__cta_title_default" +msgstr "" + +#. Default: "Image" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__text7_image_title" +msgstr "" +#. Default: "Text 7" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__text7_title" +msgstr "" diff --git a/packages/volto-blocks/locales/it/LC_MESSAGES/volto.po b/packages/volto-blocks/locales/it/LC_MESSAGES/volto.po index 12b9a47..307ffca 100644 --- a/packages/volto-blocks/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto-blocks/locales/it/LC_MESSAGES/volto.po @@ -11,4 +11,49 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. Default: "Alignment" +#: components/blocks/Text7/schema +msgid "Alignment" +msgstr "" + +#. Default: "Link Title" +#: components/blocks/Text7/schema +msgid "Link title" +msgstr "" + +#. Default: "Link to" +#: components/blocks/Text7/schema +msgid "Link to" +msgstr "" + +#. Default: "Text" +#: components/blocks/Text7/Edit +#: components/blocks/Text7/schema +msgid "Text" +msgstr "Testo" +#. Default: "Title" +#: components/blocks/Text7/Edit +#: components/blocks/Text7/schema +msgid "Title" +msgstr "Titolo" + +#. Default: "Call to action" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__cta_fieldset_title" +msgstr "Call to action" + +#. Default: "Read more" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__cta_title_default" +msgstr "Leggi di piĆ¹" + +#. Default: "Image" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__text7_image_title" +msgstr "Immagine" + +#. Default: "Text 7" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__text7_title" +msgstr "" diff --git a/packages/volto-blocks/locales/volto.pot b/packages/volto-blocks/locales/volto.pot index ede51b9..572ae8d 100644 --- a/packages/volto-blocks/locales/volto.pot +++ b/packages/volto-blocks/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-08-07T10:49:21.095Z\n" +"POT-Creation-Date: 2024-08-13T17:19:18.989Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -13,4 +13,49 @@ msgstr "" "Preferred-Encodings: utf-8\n" "Domain: volto\n" +#. Default: "Alignment" +#: components/blocks/Text7/schema +msgid "Alignment" +msgstr "" + +#. Default: "Link Title" +#: components/blocks/Text7/schema +msgid "Link title" +msgstr "" + +#. Default: "Link to" +#: components/blocks/Text7/schema +msgid "Link to" +msgstr "" + +#. Default: "Text" +#: components/blocks/Text7/Edit +#: components/blocks/Text7/schema +msgid "Text" +msgstr "" + +#. Default: "Title" +#: components/blocks/Text7/Edit +#: components/blocks/Text7/schema +msgid "Title" +msgstr "" + +#. Default: "Call to action" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__cta_fieldset_title" +msgstr "" + +#. Default: "Read more" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__cta_title_default" +msgstr "" + +#. Default: "Image" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__text7_image_title" +msgstr "" +#. Default: "Text 7" +#: components/blocks/Text7/schema +msgid "redturtle__volto-blocks__text7_title" +msgstr "" diff --git a/packages/volto-blocks/package.json b/packages/volto-blocks/package.json index 53aa5c4..7498019 100644 --- a/packages/volto-blocks/package.json +++ b/packages/volto-blocks/package.json @@ -22,6 +22,9 @@ "publishConfig": { "access": "public" }, + "addons": [ + "@redturtle/volto-rt-slate" + ], "scripts": { "i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon", "dry-release": "release-it --dry-run", @@ -35,8 +38,20 @@ }, "devDependencies": { "@plone/scripts": "^3.6.1", + "@plone/types": "workspace:1.0.0-alpha.19", + "@types/classnames": "^2.3.1", + "@types/loadable__component": "^5.13.9", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "release-it": "^17.1.1" + }, + "dependencies": { + "@loadable/component": "5.14.1", + "@plone/components": "workspace:2.0.0-alpha.11", + "@plone/volto-slate": "workspace:18.0.0-alpha.17", + "@redturtle/volto-rt-slate": "^1.1.3", + "classnames": "2.2.6", + "react-aria-components": "^1.2.0", + "react-intl": "3.12.1" } } diff --git a/packages/volto-blocks/src/components/blocks/Text7/Edit.tsx b/packages/volto-blocks/src/components/blocks/Text7/Edit.tsx index 1779b80..25db8b0 100644 --- a/packages/volto-blocks/src/components/blocks/Text7/Edit.tsx +++ b/packages/volto-blocks/src/components/blocks/Text7/Edit.tsx @@ -1,231 +1,188 @@ -import { useState } from 'react'; -// import { defineMessages } from 'react-intl'; +import { useIntl, defineMessages } from 'react-intl'; +import cx from 'classnames'; // import { isEqual } from 'lodash'; // import { Input, Button, Message, Grid, Image } from 'semantic-ui-react'; import { flattenToAppURL } from '@plone/volto/helpers'; import { SidebarPortal, Icon, UniversalLink } from '@plone/volto/components'; -import clearSVG from '@plone/volto/icons/clear.svg'; +import { BlockDataForm } from '@plone/volto/components/manage/Form'; -// import { PresetWrapper, ShareButtons } from '@package/components'; -// import { ImageWidget, TextEditorWidget } from '@package/components/Widgets'; -// import Sidebar from './Sidebar'; +import '@plone/components/src/styles/basic/TextField.css'; +import '@plone/components/src/styles/quanta/TextField.css'; +import type { BlockEditProps } from '@plone/types'; -// const messages = defineMessages({ -// title: { -// id: 'Title', -// defaultMessage: 'Title', -// }, -// description: { -// id: 'Description', -// defaultMessage: 'Description', -// }, -// placeholder: { -// id: 'Upload a new image', -// defaultMessage: 'Upload a new image', -// }, -// image: { -// id: 'Image', -// defaultMessage: 'Image', -// }, -// cta_title_default: { -// id: 'cta_title_default', -// defaultMessage: 'Go to content', -// }, -// }); +import { + TextEditorWidget, + useHandleDetachedBlockFocus, +} from '@redturtle/volto-rt-slate'; -type Props = { - data: { - title?: string; - content?: object; - right?: boolean; - share_social?: boolean; - link_to?: Array; - link_to_external?: string; - cta_title?: string; - placeholder?: any; - have_cta?: any; - linkHref?: any; - linkTitle?: any; - url?: any; - img_column_width?: any; - }; - selected?: boolean; - block: string; - onChangeBlock: Function; - onSelectBlock: Function; - editable: boolean; +import styles from '@redturtle/volto-blocks/components/blocks/Text7/styles.module.css'; +import blockIcon from '@redturtle/volto-blocks/icons/text7.svg'; +import type { Text7Data } from '@redturtle/volto-blocks/components/blocks/Text7/schema'; + +import config from '@plone/registry'; + +type Text7EditProps = Omit & { + data: Text7Data; }; -export default function Edit(props: Props) { - const { data, selected, block, onChangeBlock, editable } = props; +export default function Edit(props: Text7EditProps) { + const { + data, + selected, + block, + onChangeBlock, + // editable, + blocksConfig, + // navRoot, + // contentType, + // blocksErrors, + } = props; + const intl = useIntl(); + const img_column_width = data.img_column_width ? parseInt(data.img_column_width) : 6; - const [focusOn, setFocusOn] = useState('title'); + const { selectedField, setSelectedField } = useHandleDetachedBlockFocus( + props, + 'title', + ); - const onChange = (obj, fieldName) => { - // if (!isEqual(obj[fieldName], data[fieldName])) { - // onChangeBlock(block, { - // ...data, - // [fieldName]: obj[fieldName], - // }); - // } - }; - const focusField = (field) => { - setFocusOn(field); + const schema = blocksConfig[data['@type']].blockSchema({ + data, + intl, + }); - if (!selected) { - props.onSelectBlock(block); - } - }; + if (__SERVER__) { + return
; + } - // if (__SERVER__) { - // return
; - // } + const Container = config.getComponent('Container').component || 'div'; + const Image = config.getComponent('Image').component; return ( -
- {/* <> - {data.share_social && ( -
- -
- )} - - +
+ +
- {props.selected && props.editable && !!props.data.url && ( -
- - - -
+ {data.image ? ( + + ) : ( +
Upload image
)} - - {props.data?.url ? ( - - ) : ( -
- -
-

{intl.formatMessage(messages.image)}

- {editable && ( - <> -

{intl.formatMessage(messages.placeholder)}

- - { - onChangeBlock(block, { ...data, url: value }); - }} - openObjectBrowser={props.openObjectBrowser} - imagePlaceholder={false} - showInput={false} - /> - - )} -
-
-
- )} -
- -
- +
+ { + setSelectedField('text'); + }} + showToolbar={false} + placeholder={intl.formatMessage(messages.title)} + /> + { + setSelectedField('title'); + }} + placeholder={intl.formatMessage(messages.text)} + /> + {data.linkHref?.[0] && ( +
+ { - focusField('title'); - e.stopPropagation(); + e.preventDefault(); }} - selected={selected && focusOn === 'title'} - onChange={(e) => onChange({ title: e.target.value }, 'title')} - /> -
focusField('content')}> - onChange(data, 'content')} - placeholder={props.intl.formatMessage(messages.description)} - prevFocus="title" - setFocus={(f) => focusField(f)} - showToolbar={true} - key="content" - disableMoveToNearest={true} - /> -
- {data.has_cta && ( -
- -
- )} + > + {data.linkTitle} +
- - - - + )} +
+ +
+ {/* @ts-ignore TODO */} - { - const newValue = fieldName === 'cta_title' ? value ?? '' : value; - onChangeBlock(block, { - ...data, - [fieldName]: newValue, - }); - }} - /> - */} -
+ {schema && ( + } + schema={schema} + title={schema.title} + onChangeField={(id: string, value: unknown) => { + onChangeBlock(block, { + ...data, + [id]: value, + }); + }} + onChangeBlock={onChangeBlock} + formData={data} + block={block} + // blocksConfig={blocksConfig} + // headerActions={HeaderActions} + // actionButton={data.overwrite && ActionButton} + // navRoot={navRoot} + // contentType={contentType} + // errors={blocksErrors} + /> + )} + + ); } + +const messages = defineMessages({ + title: { + id: 'Title', + defaultMessage: 'Title', + }, + text: { + id: 'Text', + defaultMessage: 'Text', + }, + // placeholder: { + // id: 'Upload a new image', + // defaultMessage: 'Upload a new image', + // }, + // image: { + // id: 'Image', + // defaultMessage: 'Image', + // }, +}); diff --git a/packages/volto-blocks/src/components/blocks/Text7/View.tsx b/packages/volto-blocks/src/components/blocks/Text7/View.tsx index 3f29464..560b9ff 100644 --- a/packages/volto-blocks/src/components/blocks/Text7/View.tsx +++ b/packages/volto-blocks/src/components/blocks/Text7/View.tsx @@ -1,81 +1,92 @@ -import React from 'react'; -// import redraft from 'redraft'; -// import { defineMessages, useIntl } from 'react-intl'; import { flattenToAppURL } from '@plone/volto/helpers'; import { UniversalLink } from '@plone/volto/components'; +import cx from 'classnames'; +import { TextBlockView } from '@plone/volto-slate/blocks/Text'; +import type { BlockViewProps } from '@plone/types'; -import config from '@plone/registry'; +import styles from '@redturtle/volto-blocks/components/blocks/Text7/styles.module.css'; +import type { Text7Data } from '@redturtle/volto-blocks/components/blocks/Text7/schema'; -// const messages = defineMessages({ -// cta_title_default: { -// id: 'cta_title_default', -// defaultMessage: 'Go to content', -// }, -// }); +import config from '@plone/registry'; -type Props = { - data: Record; +type Props = Omit & { + data: Text7Data; + className?: string; + style?: Record; }; -export default function View(props: Props) { +export default function View({ data, className, style }: Props) { // const intl = useIntl(); - const { data } = props; const img_column_width = data.img_column_width ? parseInt(data.img_column_width) : 6; + const Container = config.getComponent('Container').component || 'div'; + const Image = config.getComponent('Image').component; + return ( -
- TEST - {/* - + +
- - {data.url && ( - - )} - - -
- {data.title &&

{data.title}

} -
- {redraft( - data.content, - config.settings.richtextViewSettings.ToHTMLRenderers, - config.settings.richtextViewSettings.ToHTMLOptions, - )} -
- {data.has_cta && ( -
- -
- )} + {data.image && ( + + )} +
+
+ {data.title && ( +

+ {data.title} +

+ )} + {data.text && ( +
+ +
+ )} + {data.linkHref?.[0] && ( +
+ { + e.preventDefault(); + }} + > + {data.linkTitle} +
- - - */} -
+ )} +
+
+ ); } diff --git a/packages/volto-blocks/src/components/blocks/Text7/index.ts b/packages/volto-blocks/src/components/blocks/Text7/index.ts new file mode 100644 index 0000000..5cf911c --- /dev/null +++ b/packages/volto-blocks/src/components/blocks/Text7/index.ts @@ -0,0 +1,5 @@ +import loadable from '@loadable/component'; + +export const Text7Edit = loadable( + () => import(/* webpackChunkName: "redturtle__volto-blocks" */ './Edit'), +); diff --git a/packages/volto-blocks/src/components/blocks/Text7/schema.ts b/packages/volto-blocks/src/components/blocks/Text7/schema.ts new file mode 100644 index 0000000..7d34cb0 --- /dev/null +++ b/packages/volto-blocks/src/components/blocks/Text7/schema.ts @@ -0,0 +1,141 @@ +import { defineMessages, type IntlShape } from 'react-intl'; +import { addStyling } from '@plone/volto/helpers/Extensions/withBlockSchemaEnhancer'; +import type { JSONSchema } from '@plone/types'; + +export type Text7Data = { + '@type': 'text7'; + image?: string; + img_column_width?: string; + title?: string; + text?: object; + right?: boolean; + // TODO fix any + linkHref?: any; + linkTitle?: string; +}; + +export const Text7Schema = ({ + data, + intl, +}: { + data: Text7Data; + intl: IntlShape; +}): JSONSchema => { + const schema = { + title: intl.formatMessage(messages.title), + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: ['image', 'img_column_width', 'title'], + }, + { + id: 'cta', + title: intl.formatMessage(messages.cta_fieldset_title), + fields: ['linkHref', 'linkTitle'], + }, + ], + properties: { + image: { + title: intl.formatMessage(messages.image_title), + widget: 'image', + }, + img_column_width: { + title: 'Image column width', + description: 'Width of the image column', + default: '6', + choices: [ + ['1', '8%'], + ['2', '16%'], + ['3', '25%'], + ['4', '33%'], + ['5', '41%'], + ['6', '50%'], + ['7', '58%'], + ['8', '66%'], + ['9', '75%'], + ['10', '83%'], + ['11', '91%'], + ], + }, + title: { + title: intl.formatMessage(messages.title_title), + }, + // TODO necessary? + // text: { + // title: intl.formatMessage(messages.text_title), + // widget: 'slate', + // }, + linkTitle: { + title: intl.formatMessage(messages.LinkTitle), + default: intl.formatMessage(messages.cta_title_default), + }, + linkHref: { + title: intl.formatMessage(messages.LinkTo), + widget: 'object_browser', + mode: 'link', + selectedItemAttrs: ['Title', 'Description'], + allowExternals: true, + }, + }, + required: ['image', 'title'], + }; + + addStyling({ schema, intl, formData: data }); + + // @ts-ignore + schema.properties.styles.schema.properties.align = { + widget: 'align', + title: intl.formatMessage(messages.align), + // actions: ['left', 'right', 'center'], + actions: ['left', 'right'], + default: 'left', + }; + + // @ts-ignore + schema.properties.styles.schema.fieldsets[0].fields = ['align']; + + return schema; +}; + +const messages = defineMessages({ + title: { + id: 'redturtle__volto-blocks__text7_title', + defaultMessage: 'Text 7', + }, + image_title: { + id: 'redturtle__volto-blocks__text7_image_title', + defaultMessage: 'Image', + }, + title_title: { + id: 'Title', + defaultMessage: 'Title', + }, + text_title: { + id: 'Text', + defaultMessage: 'Text', + }, + cta_fieldset_title: { + id: 'redturtle__volto-blocks__cta_fieldset_title', + defaultMessage: 'Call to action', + }, + // copied from core listing block + LinkTitle: { + id: 'Link title', + defaultMessage: 'Link Title', + }, + // copied from core listing block + LinkTo: { + id: 'Link to', + defaultMessage: 'Link to', + }, + cta_title_default: { + id: 'redturtle__volto-blocks__cta_title_default', + defaultMessage: 'Read more', + }, + // copied from core teaser block + align: { + id: 'Alignment', + defaultMessage: 'Alignment', + }, +}); diff --git a/packages/volto-blocks/src/components/blocks/Text7/styles.module.css b/packages/volto-blocks/src/components/blocks/Text7/styles.module.css new file mode 100644 index 0000000..5a9c794 --- /dev/null +++ b/packages/volto-blocks/src/components/blocks/Text7/styles.module.css @@ -0,0 +1,67 @@ +.block { + container-type: inline-size; +} + +.image { + width: 100%; + height: auto; +} + +@container (width > 700px) { + .container { + display: flex; + gap: 2rem; + } + + .image-wrapper { + flex-shrink: 0; + } + + .body { + flex-grow: 1; + } + + .column-width-1 { + flex-basis: 8%; + } + + .column-width-2 { + flex-basis: 16%; + } + + .column-width-3 { + flex-basis: 25%; + } + + .column-width-4 { + flex-basis: 33%; + } + + .column-width-5 { + flex-basis: 41%; + } + + .column-width-6 { + flex-basis: 50%; + } + + .column-width-7 { + flex-basis: 58%; + } + + .column-width-8 { + flex-basis: 66%; + } + + .column-width-9 { + flex-basis: 75%; + } + + .column-width-10 { + flex-basis: 83%; + } + + .column-width-11 { + flex-basis: 91%; + } +} diff --git a/packages/volto-blocks/src/config/blocks.js b/packages/volto-blocks/src/config/blocks.js deleted file mode 100644 index 42198dc..0000000 --- a/packages/volto-blocks/src/config/blocks.js +++ /dev/null @@ -1,25 +0,0 @@ -import text7SVG from '@redturtle/qubicaamf-theme/icons/text7.svg'; -import Text7View from '@redturtle/qubicaamf-theme/components/blocks/Text7/View'; -import Text7Edit from '@redturtle/qubicaamf-theme/components/blocks/Text7/Edit'; - -const defaultBlocksConfig = { - restricted: false, - mostUsed: false, - security: { - addPermission: [], - view: [], - }, - sidebarTab: 1, -}; - -export const blocks = { - text7: { - ...defaultBlocksConfig, - id: 'text7', - title: 'Text 7', - icon: text7SVG, - group: 'text', - view: Text7View, - edit: Text7Edit, - }, -}; diff --git a/packages/volto-blocks/src/config/blocks.ts b/packages/volto-blocks/src/config/blocks.ts new file mode 100644 index 0000000..bedde11 --- /dev/null +++ b/packages/volto-blocks/src/config/blocks.ts @@ -0,0 +1,45 @@ +import type { BlocksConfigData, BlockConfigBase } from '@plone/types'; + +import BlockSettingsSchema from '@plone/volto/components/manage/Blocks/Block/Schema'; + +import text7SVG from '@redturtle/volto-blocks/icons/text7.svg'; +import Text7View from '@redturtle/volto-blocks/components/blocks/Text7/View'; +import { Text7Edit } from '@redturtle/volto-blocks/components/blocks/Text7'; +import { Text7Schema } from '@redturtle/volto-blocks/components/blocks/Text7/schema'; + +type Text7Config = Omit & { + blockSchema: typeof Text7Schema; +}; + +declare module '@plone/types' { + interface BlocksConfigData { + text7: Text7Config; + } +} +type RtBlocksConfig = Pick; + +const defaultBlocksConfig = { + restricted: false, + mostUsed: false, + security: { + addPermission: [], + view: [], + }, + sidebarTab: 1, + schema: BlockSettingsSchema, +} as const; + +export const blocks: RtBlocksConfig = { + text7: { + ...defaultBlocksConfig, + id: 'text7', + title: 'Text 7', + icon: text7SVG, + group: 'text', + view: Text7View, + edit: Text7Edit, + mostUsed: true, + blockHasOwnFocusManagement: true, + blockSchema: Text7Schema, + }, +} as const; diff --git a/packages/volto-blocks/src/declaration.d.ts b/packages/volto-blocks/src/declaration.d.ts new file mode 100644 index 0000000..7f95283 --- /dev/null +++ b/packages/volto-blocks/src/declaration.d.ts @@ -0,0 +1,2 @@ +declare var __CLIENT__: boolean; +declare var __SERVER__: boolean; diff --git a/packages/volto-blocks/src/index.js b/packages/volto-blocks/src/index.js index cb042f0..e24eeb7 100644 --- a/packages/volto-blocks/src/index.js +++ b/packages/volto-blocks/src/index.js @@ -1,4 +1,8 @@ +import { blocks } from './config/blocks'; + const applyConfig = (config) => { + config.blocks.blocksConfig = { ...config.blocks.blocksConfig, ...blocks }; + return config; }; diff --git a/packages/volto-blocks/tsconfig.json b/packages/volto-blocks/tsconfig.json index ddb0f54..fad8e6e 100644 --- a/packages/volto-blocks/tsconfig.json +++ b/packages/volto-blocks/tsconfig.json @@ -13,7 +13,9 @@ "lib": ["es2022", "dom", "dom.iterable"], "jsx": "react-jsx", "paths": { - "@plone/volto/*": ["../../core/packages/volto/src/*"] + "@plone/volto/*": ["../../core/packages/volto/src/*"], + "@plone/volto-slate/*": ["../../core/packages/volto-slate/src/*"], + "@redturtle/volto-blocks/*": ["./src/*"] } }, "include": ["**/*.ts", "**/*.tsx"], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d01a42b..63f4afe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -604,7 +604,7 @@ importers: version: 1.0.10 wait-on: specifier: ^7.2.0 - version: 7.2.0 + version: 7.2.0(debug@4.3.4) devDependencies: release-it: specifier: ^16.1.3 @@ -1440,16 +1440,46 @@ importers: packages/volto-blocks: dependencies: + '@loadable/component': + specifier: 5.14.1 + version: 5.14.1(react@18.2.0) + '@plone/components': + specifier: workspace:2.0.0-alpha.11 + version: link:../../core/packages/components + '@plone/volto-slate': + specifier: workspace:18.0.0-alpha.17 + version: link:../../core/packages/volto-slate + '@redturtle/volto-rt-slate': + specifier: ^1.1.3 + version: 1.1.3(@plone/volto@18.0.0-alpha.42(@babel/runtime@7.25.0)(@popperjs/core@2.11.8)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(seamless-immutable@7.1.4))(release-it@17.1.1(typescript@5.5.4)) + classnames: + specifier: 2.2.6 + version: 2.2.6 react: specifier: 18.2.0 version: 18.2.0 + react-aria-components: + specifier: ^1.2.0 + version: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) + react-intl: + specifier: 3.12.1 + version: 3.12.1(react@18.2.0) devDependencies: '@plone/scripts': specifier: ^3.6.1 version: 3.6.2 + '@plone/types': + specifier: workspace:1.0.0-alpha.19 + version: link:../../core/packages/types + '@types/classnames': + specifier: ^2.3.1 + version: 2.3.1 + '@types/loadable__component': + specifier: ^5.13.9 + version: 5.13.9 '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -2748,6 +2778,10 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} deprecated: Use @eslint/object-schema instead + '@hutson/parse-repository-url@5.0.0': + resolution: {integrity: sha512-e5+YUKENATs1JgYHMzTr2MW/NDcXGfYFAuOQU8gJgF/kEh4EqKgfGrfLI67bMD4tbhZVlkigz/9YYwWcbOFthg==} + engines: {node: '>=10.13.0'} + '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} @@ -3629,10 +3663,26 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@plone/registry@1.8.0': + resolution: {integrity: sha512-xQH7vhnzQpxPxZLZtObpN/jv4JOIBhYEKsdWUCYmL1e8wlbxb+Xk2C6qNK9+i+kyjmLdAUzDH0v5Xl9Y7igxKw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + react-dom: + optional: true + '@plone/scripts@3.6.2': resolution: {integrity: sha512-52S2Nb8sUDnHobzoYBstn6UkXxri+UGEh5DWZfy0xJ9h/ia6n9XI+mjtSEG3vKkr+hsbLH9sO8RlX4tpG3Kyhg==} hasBin: true + '@plone/volto-slate@18.0.0-alpha.17': + resolution: {integrity: sha512-ztO3BwN1vZ0q+ZVOPcU7Yz0PVaIpMj4xzsGr1+6/cAdCIxBD9JXaoI7fu3QJQFDHXDKNTg4cLWKQzjiyslczHw==} + + '@plone/volto@18.0.0-alpha.42': + resolution: {integrity: sha512-PXuHWSgI7ggGYbpN8NwnqM5mL0QX4SjD/yx+i0U7UWSexfeAs6RgRyZJSDW6A8QkzRN+qvctjaqZv6vimg90vw==} + engines: {node: ^16 || ^18 || ^20} + '@pmmmwh/react-refresh-webpack-plugin@0.4.3': resolution: {integrity: sha512-br5Qwvh8D2OQqSXpd1g/xqXKnK0r+Jz6qVKBbWmpUcrbGOxUrf39V5oZ1876084CGn18uMdR5uvPqBv9UqtBjQ==} engines: {node: '>= 10.x'} @@ -4200,11 +4250,22 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + '@redturtle/volto-rt-slate@1.1.3': + resolution: {integrity: sha1-1tcqONiOL0mEmOta5dG4MaCoSLM=, tarball: https://gitlab.com/api/v4/projects/56871163/packages/npm/@redturtle/volto-rt-slate/-/@redturtle/volto-rt-slate-1.1.3.tgz} + peerDependencies: + '@plone/volto': ^17.0.0 + '@redux-devtools/extension@3.3.0': resolution: {integrity: sha512-X34S/rC8S/M1BIrkYD1mJ5f8vlH0BDqxXrs96cvxSBo4FhMdbhU+GUGsmNYov1xjSyLMHgo8NYrUG8bNX7525g==} peerDependencies: redux: ^3.1.0 || ^4.0.0 || ^5.0.0 + '@release-it/conventional-changelog@8.0.1': + resolution: {integrity: sha512-pwc9jaBYDaSX5TXw6rEnPfqDkKJN2sFBhYpON1kBi9T3sA9EOBncC4ed0Bv3L1ciNb6eqEJXPfp+tQMqVlv/eg==} + engines: {node: '>=18'} + peerDependencies: + release-it: ^17.0.0 + '@rollup/pluginutils@5.1.0': resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} @@ -4897,6 +4958,10 @@ packages: '@types/chai@4.3.17': resolution: {integrity: sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==} + '@types/classnames@2.3.1': + resolution: {integrity: sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==} + deprecated: This is a stub types definition. classnames provides its own type definitions, so you do not need this installed. + '@types/connect-history-api-fallback@1.5.4': resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} @@ -5431,6 +5496,10 @@ packages: resolution: {integrity: sha512-6xm38yGVIa6mKm/DUCF2zFFJhERh/QWp1ufm4cNUvxsONBmfPg8uZ9pZBdOmF6qFGr/HlT6ABBkCSx/dlEtvWg==} engines: {node: '>=12 <14 || 14.2 - 14.9 || >14.10.0'} + JSONStream@1.3.5: + resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} + hasBin: true + abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} deprecated: Use your platform's native atob() and btoa() methods instead @@ -5503,6 +5572,9 @@ packages: add-dom-event-listener@1.1.0: resolution: {integrity: sha512-WCxx1ixHT0GQU9hb0KI/mhgRQhnU+U3GvwY6ZvVjYq8rsihIGoaIOUbY0yMPBxLH5MDtr0kz3fisWGNcbWW7Jw==} + add-stream@1.0.0: + resolution: {integrity: sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==} + address@1.1.2: resolution: {integrity: sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA==} engines: {node: '>= 0.12.0'} @@ -5703,6 +5775,9 @@ packages: array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} + array-ify@1.0.0: + resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==} + array-includes@3.1.8: resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==} engines: {node: '>= 0.4'} @@ -6600,6 +6675,9 @@ packages: commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + compare-func@2.0.0: + resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} + component-classes@1.2.6: resolution: {integrity: sha512-hPFGULxdwugu1QWW3SvVOCUHLzO34+a2J6Wqy0c5ASQkfi9/8nZcBB0ZohaEbXOQlCflMAEMmEWk7u7BVs4koA==} @@ -6629,6 +6707,10 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + concat-stream@2.0.0: + resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} + engines: {'0': node >= 6.0} + confbox@0.1.7: resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} @@ -6685,6 +6767,73 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} + conventional-changelog-angular@7.0.0: + resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==} + engines: {node: '>=16'} + + conventional-changelog-atom@4.0.0: + resolution: {integrity: sha512-q2YtiN7rnT1TGwPTwjjBSIPIzDJCRE+XAUahWxnh+buKK99Kks4WLMHoexw38GXx9OUxAsrp44f9qXe5VEMYhw==} + engines: {node: '>=16'} + + conventional-changelog-codemirror@4.0.0: + resolution: {integrity: sha512-hQSojc/5imn1GJK3A75m9hEZZhc3urojA5gMpnar4JHmgLnuM3CUIARPpEk86glEKr3c54Po3WV/vCaO/U8g3Q==} + engines: {node: '>=16'} + + conventional-changelog-conventionalcommits@7.0.2: + resolution: {integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==} + engines: {node: '>=16'} + + conventional-changelog-core@7.0.0: + resolution: {integrity: sha512-UYgaB1F/COt7VFjlYKVE/9tTzfU3VUq47r6iWf6lM5T7TlOxr0thI63ojQueRLIpVbrtHK4Ffw+yQGduw2Bhdg==} + engines: {node: '>=16'} + + conventional-changelog-ember@4.0.0: + resolution: {integrity: sha512-D0IMhwcJUg1Y8FSry6XAplEJcljkHVlvAZddhhsdbL1rbsqRsMfGx/PIkPYq0ru5aDgn+OxhQ5N5yR7P9mfsvA==} + engines: {node: '>=16'} + + conventional-changelog-eslint@5.0.0: + resolution: {integrity: sha512-6JtLWqAQIeJLn/OzUlYmzd9fKeNSWmQVim9kql+v4GrZwLx807kAJl3IJVc3jTYfVKWLxhC3BGUxYiuVEcVjgA==} + engines: {node: '>=16'} + + conventional-changelog-express@4.0.0: + resolution: {integrity: sha512-yWyy5c7raP9v7aTvPAWzqrztACNO9+FEI1FSYh7UP7YT1AkWgv5UspUeB5v3Ibv4/o60zj2o9GF2tqKQ99lIsw==} + engines: {node: '>=16'} + + conventional-changelog-jquery@5.0.0: + resolution: {integrity: sha512-slLjlXLRNa/icMI3+uGLQbtrgEny3RgITeCxevJB+p05ExiTgHACP5p3XiMKzjBn80n+Rzr83XMYfRInEtCPPw==} + engines: {node: '>=16'} + + conventional-changelog-jshint@4.0.0: + resolution: {integrity: sha512-LyXq1bbl0yG0Ai1SbLxIk8ZxUOe3AjnlwE6sVRQmMgetBk+4gY9EO3d00zlEt8Y8gwsITytDnPORl8al7InTjg==} + engines: {node: '>=16'} + + conventional-changelog-preset-loader@4.1.0: + resolution: {integrity: sha512-HozQjJicZTuRhCRTq4rZbefaiCzRM2pr6u2NL3XhrmQm4RMnDXfESU6JKu/pnKwx5xtdkYfNCsbhN5exhiKGJA==} + engines: {node: '>=16'} + + conventional-changelog-writer@7.0.1: + resolution: {integrity: sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==} + engines: {node: '>=16'} + hasBin: true + + conventional-changelog@5.1.0: + resolution: {integrity: sha512-aWyE/P39wGYRPllcCEZDxTVEmhyLzTc9XA6z6rVfkuCD2UBnhV/sgSOKbQrEG5z9mEZJjnopjgQooTKxEg8mAg==} + engines: {node: '>=16'} + + conventional-commits-filter@4.0.0: + resolution: {integrity: sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==} + engines: {node: '>=16'} + + conventional-commits-parser@5.0.0: + resolution: {integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==} + engines: {node: '>=16'} + hasBin: true + + conventional-recommended-bump@9.0.0: + resolution: {integrity: sha512-HR1yD0G5HgYAu6K0wJjLd7QGRK8MQDqqj6Tn1n/ja1dFwBCE6QmV+iSgQ5F7hkx7OUR/8bHpxJqYtXj2f/opPQ==} + engines: {node: '>=16'} + hasBin: true + convert-source-map@0.3.5: resolution: {integrity: sha512-+4nRk0k3oEpwUB7/CalD7xE2z4VmtEnnq0GO2IPTkrooTrAhEsWvuLF5iWP1dXrwluki/azwXV1ve7gtYuPldg==} @@ -6957,6 +7106,10 @@ packages: resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} engines: {node: '>=8'} + dargs@8.1.0: + resolution: {integrity: sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==} + engines: {node: '>=12'} + dashdash@1.14.1: resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} engines: {node: '>=0.10'} @@ -8321,6 +8474,16 @@ packages: resolution: {integrity: sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==} hasBin: true + git-raw-commits@4.0.0: + resolution: {integrity: sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==} + engines: {node: '>=16'} + hasBin: true + + git-semver-tags@7.0.1: + resolution: {integrity: sha512-NY0ZHjJzyyNXHTDZmj+GG7PyuAKtMsyWSwh07CR2hOZFa+/yoTsXci/nF2obzL8UDhakFNkD9gNdt/Ed+cxh2Q==} + engines: {node: '>=16'} + hasBin: true + git-up@7.0.0: resolution: {integrity: sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==} @@ -8480,6 +8643,11 @@ packages: handle-thing@2.0.1: resolution: {integrity: sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==} + handlebars@4.7.8: + resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} + engines: {node: '>=0.4.7'} + hasBin: true + har-schema@2.0.0: resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} engines: {node: '>=4'} @@ -8600,6 +8768,10 @@ packages: resolution: {integrity: sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hosted-git-info@7.0.2: + resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} + engines: {node: ^16.14.0 || >=18.0.0} + hpack.js@2.1.6: resolution: {integrity: sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==} @@ -9202,6 +9374,10 @@ packages: resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} engines: {node: '>= 0.4'} + is-text-path@2.0.0: + resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==} + engines: {node: '>=8'} + is-touch-device@1.0.1: resolution: {integrity: sha512-LAYzo9kMT1b2p19L/1ATGt2XcSilnzNlyvq6c0pbPRVisLbAPpLqr53tIJS00kvrTkj0HtR8U7+u8X0yR8lPSw==} @@ -10084,6 +10260,10 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + lines-and-columns@2.0.4: + resolution: {integrity: sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + linkify-it@3.0.2: resolution: {integrity: sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ==} @@ -10424,6 +10604,10 @@ packages: memoizerific@1.11.3: resolution: {integrity: sha512-/EuHYwAPdLtXwAwSZkh/Gutery6pD2KYd44oQLhAvQp/50mpyduZh8Q7PYHXTCJ+wuXxt7oij2LXyIJOOYFPog==} + meow@12.1.1: + resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} + engines: {node: '>=16.10'} + meow@13.2.0: resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==} engines: {node: '>=18'} @@ -10903,6 +11087,10 @@ packages: resolution: {integrity: sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + normalize-package-data@6.0.2: + resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} + engines: {node: ^16.14.0 || >=18.0.0} + normalize-path@2.1.1: resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} engines: {node: '>=0.10.0'} @@ -11311,6 +11499,10 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} + parse-json@7.1.1: + resolution: {integrity: sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==} + engines: {node: '>=16'} + parse-path@7.0.0: resolution: {integrity: sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==} @@ -12398,6 +12590,10 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} deprecated: This package is no longer supported. Please use @npmcli/package-json instead. + read-pkg-up@10.1.0: + resolution: {integrity: sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==} + engines: {node: '>=16'} + read-pkg-up@4.0.0: resolution: {integrity: sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==} engines: {node: '>=6'} @@ -12414,6 +12610,10 @@ packages: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} engines: {node: '>=8'} + read-pkg@8.1.0: + resolution: {integrity: sha512-PORM8AgzXeskHO/WEv312k9U03B8K9JSiWF/8N9sUuFjBa+9SF2u6K7VClzXwDXab51jCd8Nd36CNM+zR97ScQ==} + engines: {node: '>=16'} + readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} @@ -13222,6 +13422,10 @@ packages: resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} engines: {node: '>=0.10.0'} + split2@4.2.0: + resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} + engines: {node: '>= 10.x'} + split@0.3.3: resolution: {integrity: sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==} @@ -13682,6 +13886,10 @@ packages: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} + text-extensions@2.4.0: + resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==} + engines: {node: '>=8'} + text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} @@ -13956,6 +14164,14 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} + type-fest@3.13.1: + resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} + engines: {node: '>=14.16'} + + type-fest@4.24.0: + resolution: {integrity: sha512-spAaHzc6qre0TlZQQ2aA/nGMe+2Z/wyGk5Z+Ru2VUfdNwT6kWO6TjevOlpebsATEG1EIQ2sOiDszud3lO5mt/Q==} + engines: {node: '>=16'} + type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -13982,6 +14198,9 @@ packages: typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} + typedarray@0.0.6: + resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} + typescript@5.2.2: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} @@ -14006,6 +14225,11 @@ packages: ufo@1.5.4: resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + uglify-js@3.19.2: + resolution: {integrity: sha512-S8KA6DDI47nQXJSi2ctQ629YzwOVs+bQML6DAtvy0wgNdpi+0ySpQK0g2pxBq2xfF2z3YCscu7NNA8nXT9PlIQ==} + engines: {node: '>=0.8.0'} + hasBin: true + unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} @@ -14664,6 +14888,9 @@ packages: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} + wordwrap@1.0.0: + resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + worker-rpc@0.1.1: resolution: {integrity: sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg==} @@ -15998,6 +16225,22 @@ snapshots: transitivePeerDependencies: - supports-color + '@emotion/react@11.13.0(@types/react@18.3.3)(react@18.2.0)': + dependencies: + '@babel/runtime': 7.20.6 + '@emotion/babel-plugin': 11.12.0 + '@emotion/cache': 11.13.1 + '@emotion/serialize': 1.3.0 + '@emotion/use-insertion-effect-with-fallbacks': 1.1.0(react@18.2.0) + '@emotion/utils': 1.4.0 + '@emotion/weak-memoize': 0.4.0 + hoist-non-react-statics: 3.3.2 + react: 18.2.0 + optionalDependencies: + '@types/react': 18.3.3 + transitivePeerDependencies: + - supports-color + '@emotion/serialize@1.3.0': dependencies: '@emotion/hash': 0.9.2 @@ -16259,6 +16502,8 @@ snapshots: '@humanwhocodes/object-schema@2.0.3': {} + '@hutson/parse-repository-url@5.0.0': {} + '@iarna/toml@2.2.5': {} '@internationalized/date@3.5.5': @@ -18044,6 +18289,18 @@ snapshots: '@pkgr/core@0.1.1': {} + '@plone/registry@1.8.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + crypto-random-string: 3.2.0 + debug: 4.3.2 + dependency-graph: 0.10.0 + glob: 7.1.6 + react: 18.2.0 + optionalDependencies: + react-dom: 18.2.0(react@18.2.0) + transitivePeerDependencies: + - supports-color + '@plone/scripts@3.6.2': dependencies: '@babel/core': 7.25.2 @@ -18065,6 +18322,168 @@ snapshots: - debug - supports-color + '@plone/scripts@3.6.2(debug@4.3.2)': + dependencies: + '@babel/core': 7.25.2 + babel-plugin-react-intl: 5.1.17 + babel-preset-razzle: 4.2.17 + chalk: 4.1.2 + commander: 8.2.0 + comment-json: 4.2.4 + execa: 0.6.3 + find-parent-dir: 0.3.1 + fs-extra: 10.1.0 + git-url-parse: 13.1.1 + glob: 7.1.6 + lodash: 4.17.21 + mrs-developer: 2.2.0 + pofile: 1.0.10 + wait-on: 7.2.0(debug@4.3.2) + transitivePeerDependencies: + - debug + - supports-color + + '@plone/volto-slate@18.0.0-alpha.17(@types/react-dom@18.3.0)(@types/react@18.3.3)(redux@4.2.1)': + dependencies: + classnames: 2.2.6 + github-slugger: 1.4.0 + image-extensions: 1.1.0 + is-hotkey: 0.2.0 + is-url: 1.2.4 + jsdom: 16.7.0 + lodash: 4.17.21 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-intersection-observer: 9.1.0(react@18.2.0) + react-intl: 3.12.1(react@18.2.0) + react-redux: 8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) + react-router-dom: 5.2.0(react@18.2.0) + react-toastify: 5.5.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + redux-mock-store: 1.5.4 + semantic-ui-react: 2.1.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + slate: 0.100.0 + slate-history: 0.100.0(slate@0.100.0) + slate-hyperscript: 0.100.0(slate@0.100.0) + slate-react: 0.98.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(slate@0.100.0) + uuid: 9.0.1 + weak-key: 1.0.3 + transitivePeerDependencies: + - '@types/react' + - '@types/react-dom' + - bufferutil + - canvas + - react-native + - redux + - supports-color + - utf-8-validate + + '@plone/volto@18.0.0-alpha.42(@babel/runtime@7.25.0)(@popperjs/core@2.11.8)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(seamless-immutable@7.1.4)': + dependencies: + '@loadable/component': 5.14.1(react@18.2.0) + '@loadable/server': 5.14.0(@loadable/component@5.14.1(react@18.2.0))(react@18.2.0) + '@plone/registry': 1.8.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@plone/scripts': 3.6.2(debug@4.3.2) + '@plone/volto-slate': 18.0.0-alpha.17(@types/react-dom@18.3.0)(@types/react@18.3.3)(redux@4.2.1) + '@redux-devtools/extension': 3.3.0(redux@4.2.1) + classnames: 2.2.6 + connected-react-router: 6.8.0(history@4.10.1)(immutable@3.8.2)(react-redux@8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1))(react-router@5.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1)(seamless-immutable@7.1.4) + debug: 4.3.2 + decorate-component-with-props: 1.2.1(react@18.2.0) + dependency-graph: 0.10.0 + detect-browser: 5.1.0 + diff: 3.5.0 + express: 4.19.2 + filesize: 6.4.0 + github-slugger: 1.4.0 + history: 4.10.1 + hoist-non-react-statics: 3.3.2 + http-proxy-middleware: 2.0.1(debug@4.3.2) + image-extensions: 1.1.0 + immutable: 3.8.2 + is-hotkey: 0.2.0 + is-url: 1.2.4 + jotai: 2.0.3(react@18.2.0) + jwt-decode: 2.2.0 + linkify-it: 3.0.2 + locale: 0.1.0 + lodash: 4.17.21 + lodash-move: 1.1.1 + moment: 2.29.4 + object-assign: 4.1.1 + prepend-http: 2.0.0 + pretty-bytes: 5.3.0 + prismjs: 1.27.0 + process: 0.11.10 + promise-file-reader: 1.0.2 + prop-types: 15.7.2 + query-string: 7.1.0 + rc-time-picker: 3.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react: 18.2.0 + react-anchor-link-smooth-scroll: 1.0.12 + react-animate-height: 2.0.17(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-beautiful-dnd: 13.0.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-cookie: 4.1.1(react@18.2.0) + react-dates: 21.5.1(@babel/runtime@7.25.0)(moment@2.29.4)(react-dom@18.2.0(react@18.2.0))(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0) + react-detect-click-outside: 1.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-dnd: 5.0.0(react@18.2.0) + react-dnd-html5-backend: 5.0.1 + react-dom: 18.2.0(react@18.2.0) + react-dropzone: 11.1.0(react@18.2.0) + react-fast-compare: 2.0.4 + react-image-gallery: 1.2.7(react@18.2.0) + react-intersection-observer: 9.1.0(react@18.2.0) + react-intl: 3.12.1(react@18.2.0) + react-intl-redux: 2.3.0(@babel/runtime@7.25.0)(prop-types@15.7.2)(react-intl@3.12.1(react@18.2.0))(react-redux@8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1))(react@18.2.0) + react-medium-image-zoom: 3.0.15(prop-types@15.7.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-popper: 2.3.0(@popperjs/core@2.11.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-redux: 8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) + react-router: 5.2.0(react@18.2.0) + react-router-config: 5.1.1(react-router@5.2.0(react@18.2.0))(react@18.2.0) + react-router-dom: 5.2.0(react@18.2.0) + react-router-hash-link: 2.4.3(react-router-dom@5.2.0(react@18.2.0))(react@18.2.0) + react-select: 4.3.1(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-select-async-paginate: 0.5.3(react-dom@18.2.0(react@18.2.0))(react-select@4.3.1(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0) + react-side-effect: 2.1.2(react@18.2.0) + react-simple-code-editor: 0.7.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-sortable-hoc: 2.0.0(prop-types@15.7.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-test-renderer: 18.2.0(react@18.2.0) + react-toastify: 5.5.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-transition-group: 4.4.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-virtualized: 9.22.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + redux: 4.2.1 + redux-actions: 3.0.0 + redux-connect: 10.0.0(prop-types@15.7.2)(react-redux@8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1))(react-router-config@5.1.1(react-router@5.2.0(react@18.2.0))(react@18.2.0))(react-router-dom@5.2.0(react@18.2.0))(react-router@5.2.0(react@18.2.0))(react@18.2.0)(redux-actions@3.0.0) + redux-localstorage-simple: 2.5.1 + redux-mock-store: 1.5.4 + redux-thunk: 2.4.2(redux@4.2.1) + rrule: 2.7.1 + semantic-ui-less: 2.4.1 + semantic-ui-react: 2.1.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + serialize-javascript: 3.1.0 + slate: 0.100.0 + slate-hyperscript: 0.100.0(slate@0.100.0) + slate-react: 0.98.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(slate@0.100.0) + superagent: 3.8.2 + tlds: 1.203.1 + undoo: 0.5.0 + universal-cookie: 4.0.4 + universal-cookie-express: 4.0.3 + url: 0.11.4 + use-deep-compare-effect: 1.8.1(react@18.2.0) + uuid: 8.3.2 + transitivePeerDependencies: + - '@babel/runtime' + - '@popperjs/core' + - '@types/react' + - '@types/react-dom' + - bufferutil + - canvas + - react-native + - react-with-direction + - seamless-immutable + - supports-color + - utf-8-validate + '@pmmmwh/react-refresh-webpack-plugin@0.4.3(react-refresh@0.9.0)(sockjs-client@1.4.0)(webpack-dev-server@4.11.1(debug@4.3.2)(webpack@5.90.1(esbuild@0.21.5)))(webpack-hot-middleware@2.26.1)(webpack@5.90.1(esbuild@0.21.5))': dependencies: ansi-html: 0.0.7 @@ -19046,12 +19465,27 @@ snapshots: '@react-types/shared': 3.24.1(react@18.2.0) react: 18.2.0 + '@redturtle/volto-rt-slate@1.1.3(@plone/volto@18.0.0-alpha.42(@babel/runtime@7.25.0)(@popperjs/core@2.11.8)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(seamless-immutable@7.1.4))(release-it@17.1.1(typescript@5.5.4))': + dependencies: + '@plone/volto': 18.0.0-alpha.42(@babel/runtime@7.25.0)(@popperjs/core@2.11.8)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(seamless-immutable@7.1.4) + '@release-it/conventional-changelog': 8.0.1(release-it@17.1.1(typescript@5.5.4)) + transitivePeerDependencies: + - release-it + '@redux-devtools/extension@3.3.0(redux@4.2.1)': dependencies: '@babel/runtime': 7.25.0 immutable: 4.3.7 redux: 4.2.1 + '@release-it/conventional-changelog@8.0.1(release-it@17.1.1(typescript@5.5.4))': + dependencies: + concat-stream: 2.0.0 + conventional-changelog: 5.1.0 + conventional-recommended-bump: 9.0.0 + release-it: 17.1.1(typescript@5.5.4) + semver: 7.6.3 + '@rollup/pluginutils@5.1.0(rollup@4.20.0)': dependencies: '@types/estree': 1.0.5 @@ -19950,6 +20384,10 @@ snapshots: '@types/chai@4.3.17': {} + '@types/classnames@2.3.1': + dependencies: + classnames: 2.2.6 + '@types/connect-history-api-fallback@1.5.4': dependencies: '@types/express-serve-static-core': 4.19.5 @@ -20024,7 +20462,7 @@ snapshots: '@types/hoist-non-react-statics@3.3.5': dependencies: - '@types/react': 18.2.27 + '@types/react': 18.3.3 hoist-non-react-statics: 3.3.2 '@types/html-minifier-terser@6.1.0': {} @@ -20076,7 +20514,7 @@ snapshots: '@types/loadable__component@5.13.9': dependencies: - '@types/react': 18.2.27 + '@types/react': 18.3.3 '@types/lodash@4.17.7': {} @@ -20150,7 +20588,7 @@ snapshots: '@types/react-router@5.1.20': dependencies: '@types/history': 4.7.11 - '@types/react': 18.2.27 + '@types/react': 18.3.3 '@types/react-test-renderer@18.0.7': dependencies: @@ -20681,6 +21119,11 @@ snapshots: '@types/emscripten': 1.39.13 tslib: 1.14.1 + JSONStream@1.3.5: + dependencies: + jsonparse: 1.3.1 + through: 2.3.8 + abab@2.0.6: {} abbrev@1.1.1: {} @@ -20743,6 +21186,8 @@ snapshots: dependencies: object-assign: 4.1.1 + add-stream@1.0.0: {} + address@1.1.2: {} adjust-sourcemap-loader@3.0.0: @@ -20923,6 +21368,8 @@ snapshots: array-flatten@1.1.1: {} + array-ify@1.0.0: {} + array-includes@3.1.8: dependencies: call-bind: 1.0.7 @@ -21090,6 +21537,12 @@ snapshots: axe-core@4.8.4: {} + axios@0.21.4: + dependencies: + follow-redirects: 1.15.6(debug@4.3.4) + transitivePeerDependencies: + - debug + axios@0.21.4(debug@4.3.2): dependencies: follow-redirects: 1.15.6(debug@4.3.2) @@ -21102,7 +21555,7 @@ snapshots: transitivePeerDependencies: - debug - axios@1.7.3: + axios@1.7.3(debug@4.3.2): dependencies: follow-redirects: 1.15.6(debug@4.3.2) form-data: 4.0.0 @@ -22117,6 +22570,11 @@ snapshots: commondir@1.0.1: {} + compare-func@2.0.0: + dependencies: + array-ify: 1.0.0 + dot-prop: 5.3.0 + component-classes@1.2.6: dependencies: component-indexof: 0.0.3 @@ -22151,6 +22609,13 @@ snapshots: concat-map@0.0.1: {} + concat-stream@2.0.0: + dependencies: + buffer-from: 1.1.2 + inherits: 2.0.4 + readable-stream: 3.6.2 + typedarray: 0.0.6 + confbox@0.1.7: {} config-chain@1.1.13: @@ -22190,6 +22655,17 @@ snapshots: redux: 4.2.1 seamless-immutable: 7.1.4 + connected-react-router@6.8.0(history@4.10.1)(immutable@3.8.2)(react-redux@8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1))(react-router@5.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1)(seamless-immutable@7.1.4): + dependencies: + history: 4.10.1 + immutable: 3.8.2 + prop-types: 15.7.2 + react: 18.2.0 + react-redux: 8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) + react-router: 5.2.0(react@18.2.0) + redux: 4.2.1 + seamless-immutable: 7.1.4 + consola@2.15.3: {} consola@3.2.3: {} @@ -22206,6 +22682,86 @@ snapshots: content-type@1.0.5: {} + conventional-changelog-angular@7.0.0: + dependencies: + compare-func: 2.0.0 + + conventional-changelog-atom@4.0.0: {} + + conventional-changelog-codemirror@4.0.0: {} + + conventional-changelog-conventionalcommits@7.0.2: + dependencies: + compare-func: 2.0.0 + + conventional-changelog-core@7.0.0: + dependencies: + '@hutson/parse-repository-url': 5.0.0 + add-stream: 1.0.0 + conventional-changelog-writer: 7.0.1 + conventional-commits-parser: 5.0.0 + git-raw-commits: 4.0.0 + git-semver-tags: 7.0.1 + hosted-git-info: 7.0.2 + normalize-package-data: 6.0.2 + read-pkg: 8.1.0 + read-pkg-up: 10.1.0 + + conventional-changelog-ember@4.0.0: {} + + conventional-changelog-eslint@5.0.0: {} + + conventional-changelog-express@4.0.0: {} + + conventional-changelog-jquery@5.0.0: {} + + conventional-changelog-jshint@4.0.0: + dependencies: + compare-func: 2.0.0 + + conventional-changelog-preset-loader@4.1.0: {} + + conventional-changelog-writer@7.0.1: + dependencies: + conventional-commits-filter: 4.0.0 + handlebars: 4.7.8 + json-stringify-safe: 5.0.1 + meow: 12.1.1 + semver: 7.6.3 + split2: 4.2.0 + + conventional-changelog@5.1.0: + dependencies: + conventional-changelog-angular: 7.0.0 + conventional-changelog-atom: 4.0.0 + conventional-changelog-codemirror: 4.0.0 + conventional-changelog-conventionalcommits: 7.0.2 + conventional-changelog-core: 7.0.0 + conventional-changelog-ember: 4.0.0 + conventional-changelog-eslint: 5.0.0 + conventional-changelog-express: 4.0.0 + conventional-changelog-jquery: 5.0.0 + conventional-changelog-jshint: 4.0.0 + conventional-changelog-preset-loader: 4.1.0 + + conventional-commits-filter@4.0.0: {} + + conventional-commits-parser@5.0.0: + dependencies: + JSONStream: 1.3.5 + is-text-path: 2.0.0 + meow: 12.1.1 + split2: 4.2.0 + + conventional-recommended-bump@9.0.0: + dependencies: + conventional-changelog-preset-loader: 4.1.0 + conventional-commits-filter: 4.0.0 + conventional-commits-parser: 5.0.0 + git-raw-commits: 4.0.0 + git-semver-tags: 7.0.1 + meow: 12.1.1 + convert-source-map@0.3.5: {} convert-source-map@1.7.0: @@ -22611,6 +23167,8 @@ snapshots: dargs@7.0.0: {} + dargs@8.1.0: {} + dashdash@1.14.1: dependencies: assert-plus: 1.0.0 @@ -24337,6 +24895,17 @@ snapshots: pathe: 1.1.2 tar: 6.2.1 + git-raw-commits@4.0.0: + dependencies: + dargs: 8.1.0 + meow: 12.1.1 + split2: 4.2.0 + + git-semver-tags@7.0.1: + dependencies: + meow: 12.1.1 + semver: 7.6.3 + git-up@7.0.0: dependencies: is-ssh: 1.4.0 @@ -24366,7 +24935,7 @@ snapshots: gitly@2.0.3: dependencies: - axios: 0.21.4(debug@4.3.2) + axios: 0.21.4 tar: 6.2.1 transitivePeerDependencies: - debug @@ -24570,6 +25139,15 @@ snapshots: handle-thing@2.0.1: {} + handlebars@4.7.8: + dependencies: + minimist: 1.2.8 + neo-async: 2.6.2 + source-map: 0.6.1 + wordwrap: 1.0.0 + optionalDependencies: + uglify-js: 3.19.2 + har-schema@2.0.0: {} har-validator@5.1.5: @@ -24679,6 +25257,10 @@ snapshots: dependencies: lru-cache: 7.18.3 + hosted-git-info@7.0.2: + dependencies: + lru-cache: 10.4.3 + hpack.js@2.1.6: dependencies: inherits: 2.0.4 @@ -25314,6 +25896,10 @@ snapshots: dependencies: has-symbols: 1.0.3 + is-text-path@2.0.0: + dependencies: + text-extensions: 2.4.0 + is-touch-device@1.0.1: {} is-typed-array@1.1.13: @@ -26745,6 +27331,8 @@ snapshots: lines-and-columns@1.2.4: {} + lines-and-columns@2.0.4: {} + linkify-it@3.0.2: dependencies: uc.micro: 1.0.6 @@ -27207,6 +27795,8 @@ snapshots: dependencies: map-or-similar: 1.5.0 + meow@12.1.1: {} + meow@13.2.0: {} merge-descriptors@1.0.1: {} @@ -27847,6 +28437,12 @@ snapshots: semver: 7.6.3 validate-npm-package-license: 3.0.4 + normalize-package-data@6.0.2: + dependencies: + hosted-git-info: 7.0.2 + semver: 7.6.3 + validate-npm-package-license: 3.0.4 + normalize-path@2.1.1: dependencies: remove-trailing-separator: 1.1.0 @@ -28303,7 +28899,7 @@ snapshots: got: 12.6.1 registry-auth-token: 5.0.2 registry-url: 6.0.1 - semver: 7.6.0 + semver: 7.6.3 pacote@12.0.3: dependencies: @@ -28462,6 +29058,14 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 + parse-json@7.1.1: + dependencies: + '@babel/code-frame': 7.24.7 + error-ex: 1.3.2 + json-parse-even-better-errors: 3.0.2 + lines-and-columns: 2.0.4 + type-fest: 3.13.1 + parse-path@7.0.0: dependencies: protocols: 2.0.1 @@ -29470,6 +30074,28 @@ snapshots: react-with-styles: 4.2.0(@babel/runtime@7.20.6)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0) react-with-styles-interface-css: 6.0.0(@babel/runtime@7.20.6)(react-with-styles@4.2.0(@babel/runtime@7.20.6)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0)) + react-dates@21.5.1(@babel/runtime@7.25.0)(moment@2.29.4)(react-dom@18.2.0(react@18.2.0))(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0): + dependencies: + '@babel/runtime': 7.25.0 + airbnb-prop-types: 2.16.0(react@18.2.0) + consolidated-events: 2.0.2 + enzyme-shallow-equal: 1.0.7 + is-touch-device: 1.0.1 + lodash: 4.17.21 + moment: 2.29.4 + object.assign: 4.1.5 + object.values: 1.2.0 + prop-types: 15.7.2 + raf: 3.4.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-moment-proptypes: 1.8.1(moment@2.29.4) + react-outside-click-handler: 1.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-portal: 4.2.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-with-direction: 1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-with-styles: 4.2.0(@babel/runtime@7.25.0)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0) + react-with-styles-interface-css: 6.0.0(@babel/runtime@7.25.0)(react-with-styles@4.2.0(@babel/runtime@7.25.0)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0)) + react-detect-click-outside@1.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: react: 18.2.0 @@ -29611,6 +30237,14 @@ snapshots: react-intl: 3.12.1(react@18.2.0) react-redux: 8.1.2(@types/react-dom@18.2.12)(@types/react@18.2.27)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) + react-intl-redux@2.3.0(@babel/runtime@7.25.0)(prop-types@15.7.2)(react-intl@3.12.1(react@18.2.0))(react-redux@8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1))(react@18.2.0): + dependencies: + '@babel/runtime': 7.25.0 + prop-types: 15.7.2 + react: 18.2.0 + react-intl: 3.12.1(react@18.2.0) + react-redux: 8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) + react-intl@3.12.1(react@18.2.0): dependencies: '@formatjs/intl-displaynames': 1.2.10 @@ -29770,6 +30404,17 @@ snapshots: transitivePeerDependencies: - react-dom + react-select-async-paginate@0.5.3(react-dom@18.2.0(react@18.2.0))(react-select@4.3.1(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0): + dependencies: + '@babel/runtime': 7.20.6 + '@seznam/compose-react-refs': 1.0.6 + react: 18.2.0 + react-is-mounted-hook: 1.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-select: 4.3.1(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + sleep-promise: 9.1.0 + transitivePeerDependencies: + - react-dom + react-select@4.3.1(@types/react@18.2.27)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.20.6 @@ -29785,6 +30430,21 @@ snapshots: - '@types/react' - supports-color + react-select@4.3.1(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + dependencies: + '@babel/runtime': 7.20.6 + '@emotion/cache': 11.13.1 + '@emotion/react': 11.13.0(@types/react@18.3.3)(react@18.2.0) + memoize-one: 5.2.1 + prop-types: 15.7.2 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-input-autosize: 3.0.0(react@18.2.0) + react-transition-group: 4.4.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + transitivePeerDependencies: + - '@types/react' + - supports-color + react-shallow-renderer@16.15.0(react@18.2.0): dependencies: object-assign: 4.1.1 @@ -29891,6 +30551,13 @@ snapshots: global-cache: 1.2.1 react-with-styles: 4.2.0(@babel/runtime@7.20.6)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0) + react-with-styles-interface-css@6.0.0(@babel/runtime@7.25.0)(react-with-styles@4.2.0(@babel/runtime@7.25.0)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0)): + dependencies: + '@babel/runtime': 7.25.0 + array.prototype.flat: 1.3.2 + global-cache: 1.2.1 + react-with-styles: 4.2.0(@babel/runtime@7.25.0)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0) + react-with-styles@4.2.0(@babel/runtime@7.20.6)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.20.6 @@ -29901,6 +30568,16 @@ snapshots: react: 18.2.0 react-with-direction: 1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-with-styles@4.2.0(@babel/runtime@7.25.0)(react-with-direction@1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react@18.2.0): + dependencies: + '@babel/runtime': 7.25.0 + airbnb-prop-types: 2.16.0(react@18.2.0) + hoist-non-react-statics: 3.3.2 + object.assign: 4.1.5 + prop-types: 15.7.2 + react: 18.2.0 + react-with-direction: 1.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react@18.2.0: dependencies: loose-envify: 1.4.0 @@ -29924,6 +30601,12 @@ snapshots: normalize-package-data: 5.0.0 npm-normalize-package-bin: 3.0.1 + read-pkg-up@10.1.0: + dependencies: + find-up: 6.3.0 + read-pkg: 8.1.0 + type-fest: 4.24.0 + read-pkg-up@4.0.0: dependencies: find-up: 3.0.0 @@ -29948,6 +30631,13 @@ snapshots: parse-json: 5.2.0 type-fest: 0.6.0 + read-pkg@8.1.0: + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 6.0.2 + parse-json: 7.1.1 + type-fest: 4.24.0 + readable-stream@2.3.8: dependencies: core-util-is: 1.0.3 @@ -30039,6 +30729,16 @@ snapshots: react-router-dom: 5.2.0(react@18.2.0) redux-actions: 3.0.0 + redux-connect@10.0.0(prop-types@15.7.2)(react-redux@8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1))(react-router-config@5.1.1(react-router@5.2.0(react@18.2.0))(react@18.2.0))(react-router-dom@5.2.0(react@18.2.0))(react-router@5.2.0(react@18.2.0))(react@18.2.0)(redux-actions@3.0.0): + dependencies: + prop-types: 15.7.2 + react: 18.2.0 + react-redux: 8.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) + react-router: 5.2.0(react@18.2.0) + react-router-config: 5.1.1(react-router@5.2.0(react@18.2.0))(react@18.2.0) + react-router-dom: 5.2.0(react@18.2.0) + redux-actions: 3.0.0 + redux-localstorage-simple@2.5.1: dependencies: merge: 2.1.1 @@ -30713,7 +31413,7 @@ snapshots: semver-diff@4.0.0: dependencies: - semver: 7.6.0 + semver: 7.6.3 semver@5.7.2: {} @@ -31101,6 +31801,8 @@ snapshots: dependencies: extend-shallow: 3.0.2 + split2@4.2.0: {} + split@0.3.3: dependencies: through: 2.3.8 @@ -31690,6 +32392,8 @@ snapshots: glob: 7.1.6 minimatch: 3.1.2 + text-extensions@2.4.0: {} + text-table@0.2.0: {} textextensions@5.16.0: {} @@ -31935,6 +32639,10 @@ snapshots: type-fest@2.19.0: {} + type-fest@3.13.1: {} + + type-fest@4.24.0: {} + type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -31978,6 +32686,8 @@ snapshots: dependencies: is-typedarray: 1.0.0 + typedarray@0.0.6: {} + typescript@5.2.2: {} typescript@5.4.2: {} @@ -31990,6 +32700,9 @@ snapshots: ufo@1.5.4: {} + uglify-js@3.19.2: + optional: true + unbox-primitive@1.0.2: dependencies: call-bind: 1.0.7 @@ -32612,7 +33325,17 @@ snapshots: wait-on@7.2.0: dependencies: - axios: 1.7.3 + axios: 1.7.3(debug@4.3.4) + joi: 17.13.3 + lodash: 4.17.21 + minimist: 1.2.8 + rxjs: 7.8.1 + transitivePeerDependencies: + - debug + + wait-on@7.2.0(debug@4.3.2): + dependencies: + axios: 1.7.3(debug@4.3.2) joi: 17.13.3 lodash: 4.17.21 minimist: 1.2.8 @@ -32948,6 +33671,8 @@ snapshots: word-wrap@1.2.5: {} + wordwrap@1.0.0: {} + worker-rpc@0.1.1: dependencies: microevent.ts: 0.1.1