@payloadcms/richtext-lexical 3.61.0-internal.c252d14 → 3.61.0-internal.c47b5e9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/cell/rscEntry.d.ts +2 -10
  2. package/dist/cell/rscEntry.d.ts.map +1 -1
  3. package/dist/cell/rscEntry.js +1 -2
  4. package/dist/cell/rscEntry.js.map +1 -1
  5. package/dist/exports/client/Field-F2KOJLMQ.js +2 -0
  6. package/dist/exports/client/{Field-YYMTSGSP.js.map → Field-F2KOJLMQ.js.map} +3 -3
  7. package/dist/exports/client/RelationshipComponent-UCIWIEVD.js +2 -0
  8. package/dist/exports/client/RelationshipComponent-UCIWIEVD.js.map +7 -0
  9. package/dist/exports/client/bundled.css +1 -1
  10. package/dist/exports/client/chunk-52JG5GGJ.js +2 -0
  11. package/dist/exports/client/chunk-52JG5GGJ.js.map +7 -0
  12. package/dist/exports/client/component-5YLBQB5B.js +2 -0
  13. package/dist/exports/client/component-5YLBQB5B.js.map +7 -0
  14. package/dist/exports/client/componentInline-QEXUNJU4.js +2 -0
  15. package/dist/exports/client/index.js +21 -21
  16. package/dist/exports/client/index.js.map +3 -3
  17. package/dist/features/blocks/client/component/BlockContent.js +1 -1
  18. package/dist/features/blocks/client/component/BlockContent.js.map +1 -1
  19. package/dist/features/blocks/client/component/index.d.ts +1 -0
  20. package/dist/features/blocks/client/component/index.d.ts.map +1 -1
  21. package/dist/features/blocks/client/component/index.js +23 -20
  22. package/dist/features/blocks/client/component/index.js.map +1 -1
  23. package/dist/features/blocks/client/componentInline/index.d.ts +2 -1
  24. package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -1
  25. package/dist/features/blocks/client/componentInline/index.js +6 -6
  26. package/dist/features/blocks/client/componentInline/index.js.map +1 -1
  27. package/dist/features/blocks/client/nodes/BlocksNode.d.ts +2 -2
  28. package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -1
  29. package/dist/features/blocks/client/nodes/BlocksNode.js +5 -3
  30. package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -1
  31. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +2 -2
  32. package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -1
  33. package/dist/features/blocks/client/nodes/InlineBlocksNode.js +5 -3
  34. package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -1
  35. package/dist/features/blocks/server/nodes/BlocksNode.d.ts +2 -1
  36. package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -1
  37. package/dist/features/blocks/server/nodes/BlocksNode.js +9 -2
  38. package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -1
  39. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +1 -1
  40. package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -1
  41. package/dist/features/blocks/server/nodes/InlineBlocksNode.js +6 -5
  42. package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -1
  43. package/dist/features/link/nodes/AutoLinkNode.js +1 -1
  44. package/dist/features/link/nodes/AutoLinkNode.js.map +1 -1
  45. package/dist/features/link/nodes/LinkNode.js +1 -1
  46. package/dist/features/link/nodes/LinkNode.js.map +1 -1
  47. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
  48. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +4 -4
  49. package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
  50. package/dist/features/migrations/slateToLexical/feature.server.d.ts +29 -0
  51. package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -1
  52. package/dist/features/migrations/slateToLexical/feature.server.js +18 -0
  53. package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -1
  54. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
  55. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +4 -4
  56. package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
  57. package/dist/features/relationship/client/components/RelationshipComponent.d.ts +1 -1
  58. package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -1
  59. package/dist/features/relationship/client/components/RelationshipComponent.js +2 -2
  60. package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -1
  61. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +1 -1
  62. package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -1
  63. package/dist/features/relationship/client/nodes/RelationshipNode.js +3 -2
  64. package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -1
  65. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +2 -1
  66. package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -1
  67. package/dist/features/relationship/server/nodes/RelationshipNode.js +9 -2
  68. package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -1
  69. package/dist/features/typesServer.d.ts +2 -2
  70. package/dist/features/typesServer.d.ts.map +1 -1
  71. package/dist/features/typesServer.js.map +1 -1
  72. package/dist/features/upload/client/component/index.d.ts +1 -0
  73. package/dist/features/upload/client/component/index.d.ts.map +1 -1
  74. package/dist/features/upload/client/component/index.js +2 -2
  75. package/dist/features/upload/client/component/index.js.map +1 -1
  76. package/dist/features/upload/client/nodes/UploadNode.d.ts +2 -2
  77. package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -1
  78. package/dist/features/upload/client/nodes/UploadNode.js +2 -1
  79. package/dist/features/upload/client/nodes/UploadNode.js.map +1 -1
  80. package/dist/features/upload/client/plugin/index.js +2 -2
  81. package/dist/features/upload/client/plugin/index.js.map +1 -1
  82. package/dist/features/upload/server/nodes/UploadNode.d.ts +2 -1
  83. package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -1
  84. package/dist/features/upload/server/nodes/UploadNode.js +6 -0
  85. package/dist/features/upload/server/nodes/UploadNode.js.map +1 -1
  86. package/dist/field/bundled.css +1 -1
  87. package/dist/field/index.d.ts.map +1 -1
  88. package/dist/field/index.js +48 -40
  89. package/dist/field/index.js.map +1 -1
  90. package/dist/field/rscEntry.d.ts +2 -3
  91. package/dist/field/rscEntry.d.ts.map +1 -1
  92. package/dist/field/rscEntry.js +3 -1
  93. package/dist/field/rscEntry.js.map +1 -1
  94. package/dist/index.d.ts.map +1 -1
  95. package/dist/index.js +8 -25
  96. package/dist/index.js.map +1 -1
  97. package/dist/lexical/config/client/loader.d.ts.map +1 -1
  98. package/dist/lexical/config/client/loader.js +2 -4
  99. package/dist/lexical/config/client/loader.js.map +1 -1
  100. package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -1
  101. package/dist/lexical/plugins/handles/utils/setHandlePosition.js +1 -1
  102. package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -1
  103. package/dist/lexical/theme/EditorTheme.d.ts.map +1 -1
  104. package/dist/lexical/theme/EditorTheme.js +3 -39
  105. package/dist/lexical/theme/EditorTheme.js.map +1 -1
  106. package/dist/lexical/ui/ContentEditable.d.ts.map +1 -1
  107. package/dist/lexical/ui/ContentEditable.js +16 -9
  108. package/dist/lexical/ui/ContentEditable.js.map +1 -1
  109. package/dist/types.d.ts +6 -2
  110. package/dist/types.d.ts.map +1 -1
  111. package/dist/types.js.map +1 -1
  112. package/dist/utilities/editorConfigFactory.js +1 -1
  113. package/dist/utilities/editorConfigFactory.js.map +1 -1
  114. package/dist/utilities/generateImportMap.d.ts +2 -0
  115. package/dist/utilities/generateImportMap.d.ts.map +1 -1
  116. package/dist/utilities/generateImportMap.js +5 -13
  117. package/dist/utilities/generateImportMap.js.map +1 -1
  118. package/dist/{getDefaultSanitizedEditorConfig.d.ts → utilities/getDefaultSanitizedEditorConfig.d.ts} +1 -1
  119. package/dist/utilities/getDefaultSanitizedEditorConfig.d.ts.map +1 -0
  120. package/dist/{getDefaultSanitizedEditorConfig.js → utilities/getDefaultSanitizedEditorConfig.js} +2 -2
  121. package/dist/utilities/getDefaultSanitizedEditorConfig.js.map +1 -0
  122. package/dist/utilities/initLexicalFeatures.d.ts.map +1 -1
  123. package/dist/utilities/initLexicalFeatures.js +12 -13
  124. package/dist/utilities/initLexicalFeatures.js.map +1 -1
  125. package/package.json +7 -7
  126. package/dist/exports/client/Field-YYMTSGSP.js +0 -2
  127. package/dist/exports/client/RelationshipComponent-JXQOFHXF.js +0 -2
  128. package/dist/exports/client/RelationshipComponent-JXQOFHXF.js.map +0 -7
  129. package/dist/exports/client/chunk-ADWHGDDR.js +0 -2
  130. package/dist/exports/client/chunk-ADWHGDDR.js.map +0 -7
  131. package/dist/exports/client/component-WT25HAJA.js +0 -2
  132. package/dist/exports/client/component-WT25HAJA.js.map +0 -7
  133. package/dist/exports/client/componentInline-MIPTDFRK.js +0 -2
  134. package/dist/getDefaultSanitizedEditorConfig.d.ts.map +0 -1
  135. package/dist/getDefaultSanitizedEditorConfig.js.map +0 -1
  136. /package/dist/exports/client/{componentInline-MIPTDFRK.js.map → componentInline-QEXUNJU4.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ "use client";import{a as h}from"./chunk-DBWINSQN.js";import{a as f}from"./chunk-F26IQ5RE.js";import{jsx as o,jsxs as c}from"react/jsx-runtime";import{useLexicalComposerContext as S}from"@lexical/react/LexicalComposerContext.js";import{useLexicalEditable as j}from"@lexical/react/useLexicalEditable";import{getTranslation as B}from"@payloadcms/translations";import{Button as b,useConfig as L,usePayloadAPI as A,useTranslation as I}from"@payloadcms/ui";import{$getNodeByKey as P}from"lexical";import k,{useCallback as H,useReducer as K,useRef as M,useState as O}from"react";var _={depth:0},X=g=>{let{className:e,data:{relationTo:R,value:s},nodeKey:a}=g;if(typeof s=="object")throw new Error("Relationship value should be a string or number. The Lexical Relationship component should not receive the populated value object.");let v=M(null),[l]=S(),i=j(),{config:{routes:{api:C},serverURL:N},getEntityConfig:$}=L(),[t]=O(()=>$({collectionSlug:R})),{i18n:w,t:n}=I(),[u,x]=K(r=>r+1,0),[{data:m},{setParams:d}]=A(`${N}${C}/${t.slug}/${s}`,{initialParams:_}),{closeDocumentDrawer:p,DocumentDrawer:D,DocumentDrawerToggler:E}=f({id:s,collectionSlug:t.slug}),T=H(()=>{l.update(()=>{P(a)?.remove()})},[l,a]),y=k.useCallback(()=>{d({..._,cacheBust:u}),p(),x()},[u,d,p]);return c("div",{className:`${e}__contents`,contentEditable:!1,ref:v,children:[c("div",{className:`${e}__wrap`,children:[o("p",{className:`${e}__label`,children:n("fields:labelRelationship",{label:t.labels?.singular?B(t.labels?.singular,w):t.slug})}),o(E,{className:`${e}__doc-drawer-toggler`,children:o("p",{className:`${e}__title`,children:m?m[t?.admin?.useAsTitle||"id"]:s})})]}),i&&c("div",{className:`${e}__actions`,children:[o(b,{buttonStyle:"icon-label",className:`${e}__swapButton`,disabled:!i,el:"button",icon:"swap",onClick:()=>{a&&l.dispatchCommand(h,{replace:{nodeKey:a}})},round:!0,tooltip:n("fields:swapRelationship")}),o(b,{buttonStyle:"icon-label",className:`${e}__removeButton`,disabled:!i,icon:"x",onClick:r=>{r.preventDefault(),T()},round:!0,tooltip:n("fields:removeRelationship")})]}),!!s&&o(D,{onSave:y})]})};export{X as RelationshipComponent};
2
+ //# sourceMappingURL=RelationshipComponent-UCIWIEVD.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/features/relationship/client/components/RelationshipComponent.tsx"],
4
+ "sourcesContent": ["'use client'\nimport type { ElementFormatType } from 'lexical'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { useLexicalEditable } from '@lexical/react/useLexicalEditable'\nimport { getTranslation } from '@payloadcms/translations'\nimport { Button, useConfig, usePayloadAPI, useTranslation } from '@payloadcms/ui'\nimport { $getNodeByKey } from 'lexical'\nimport React, { useCallback, useReducer, useRef, useState } from 'react'\n\nimport type { RelationshipData } from '../../server/nodes/RelationshipNode.js'\n\nimport { useLexicalDocumentDrawer } from '../../../../utilities/fieldsDrawer/useLexicalDocumentDrawer.js'\nimport './index.scss'\nimport { INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND } from '../drawer/commands.js'\n\nconst initialParams = {\n depth: 0,\n}\n\ntype Props = {\n className: string\n data: RelationshipData\n format?: ElementFormatType\n nodeKey?: string\n}\n\nexport const RelationshipComponent: React.FC<Props> = (props) => {\n const {\n className: baseClass,\n data: { relationTo, value },\n nodeKey,\n } = props\n\n if (typeof value === 'object') {\n throw new Error(\n 'Relationship value should be a string or number. The Lexical Relationship component should not receive the populated value object.',\n )\n }\n\n const relationshipElemRef = useRef<HTMLDivElement | null>(null)\n\n const [editor] = useLexicalComposerContext()\n const isEditable = useLexicalEditable()\n const {\n config: {\n routes: { api },\n serverURL,\n },\n getEntityConfig,\n } = useConfig()\n\n const [relatedCollection] = useState(() => getEntityConfig({ collectionSlug: relationTo }))\n\n const { i18n, t } = useTranslation()\n const [cacheBust, dispatchCacheBust] = useReducer((state) => state + 1, 0)\n const [{ data }, { setParams }] = usePayloadAPI(\n `${serverURL}${api}/${relatedCollection.slug}/${value}`,\n { initialParams },\n )\n\n const { closeDocumentDrawer, DocumentDrawer, DocumentDrawerToggler } = useLexicalDocumentDrawer({\n id: value,\n collectionSlug: relatedCollection.slug,\n })\n\n const removeRelationship = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey!)?.remove()\n })\n }, [editor, nodeKey])\n\n const updateRelationship = React.useCallback(() => {\n setParams({\n ...initialParams,\n cacheBust, // do this to get the usePayloadAPI to re-fetch the data even though the URL string hasn't changed\n })\n\n closeDocumentDrawer()\n dispatchCacheBust()\n }, [cacheBust, setParams, closeDocumentDrawer])\n\n return (\n <div className={`${baseClass}__contents`} contentEditable={false} ref={relationshipElemRef}>\n <div className={`${baseClass}__wrap`}>\n <p className={`${baseClass}__label`}>\n {t('fields:labelRelationship', {\n label: relatedCollection.labels?.singular\n ? getTranslation(relatedCollection.labels?.singular, i18n)\n : relatedCollection.slug,\n })}\n </p>\n <DocumentDrawerToggler className={`${baseClass}__doc-drawer-toggler`}>\n <p className={`${baseClass}__title`}>\n {data ? data[relatedCollection?.admin?.useAsTitle || 'id'] : value}\n </p>\n </DocumentDrawerToggler>\n </div>\n {isEditable && (\n <div className={`${baseClass}__actions`}>\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__swapButton`}\n disabled={!isEditable}\n el=\"button\"\n icon=\"swap\"\n onClick={() => {\n if (nodeKey) {\n editor.dispatchCommand(INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND, {\n replace: { nodeKey },\n })\n }\n }}\n round\n tooltip={t('fields:swapRelationship')}\n />\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__removeButton`}\n disabled={!isEditable}\n icon=\"x\"\n onClick={(e) => {\n e.preventDefault()\n removeRelationship()\n }}\n round\n tooltip={t('fields:removeRelationship')}\n />\n </div>\n )}\n\n {!!value && <DocumentDrawer onSave={updateRelationship} />}\n </div>\n )\n}\n"],
5
+ "mappings": "+IAGA,OAASA,6BAAAA,MAAiC,2CAC1C,OAASC,sBAAAA,MAA0B,oCACnC,OAASC,kBAAAA,MAAsB,2BAC/B,OAASC,UAAAA,EAAQC,aAAAA,EAAWC,iBAAAA,EAAeC,kBAAAA,MAAsB,iBACjE,OAASC,iBAAAA,MAAqB,UAC9B,OAAOC,GAASC,eAAAA,EAAaC,cAAAA,EAAYC,UAAAA,EAAQC,YAAAA,MAAgB,QAQjE,IAAMC,EAAgB,CACpBC,MAAO,CACT,EASaC,EAA0CC,GAAA,CACrD,GAAM,CACJC,UAAWC,EACXC,KAAM,CAAEC,WAAAA,EAAYC,MAAAA,CAAK,EACzBC,QAAAA,CAAO,EACLN,EAEJ,GAAI,OAAOK,GAAU,SACnB,MAAM,IAAIE,MACR,oIAAA,EAIJ,IAAMC,EAAsBC,EAA8B,IAAA,EAEpD,CAACC,CAAA,EAAUC,EAAA,EACXC,EAAaC,EAAA,EACb,CACJC,OAAQ,CACNC,OAAQ,CAAEC,IAAAA,CAAG,EACbC,UAAAA,CAAS,EAEXC,gBAAAA,CAAe,EACbC,EAAA,EAEE,CAACC,CAAA,EAAqBC,EAAS,IAAMH,EAAgB,CAAEI,eAAgBlB,CAAW,CAAA,CAAA,EAElF,CAAEmB,KAAAA,EAAMC,EAAAA,CAAC,EAAKC,EAAA,EACd,CAACC,EAAWC,CAAA,EAAqBC,EAAYC,GAAUA,EAAQ,EAAG,CAAA,EAClE,CAAC,CAAE1B,KAAAA,CAAI,EAAI,CAAE2B,UAAAA,CAAS,CAAE,EAAIC,EAChC,GAAGd,CAAA,GAAYD,CAAA,IAAOI,EAAkBY,IAAI,IAAI3B,CAAA,GAChD,CAAER,cAAAA,CAAc,CAAA,EAGZ,CAAEoC,oBAAAA,EAAqBC,eAAAA,EAAgBC,sBAAAA,CAAqB,EAAKC,EAAyB,CAC9FC,GAAIhC,EACJiB,eAAgBF,EAAkBY,IACpC,CAAA,EAEMM,EAAqBC,EAAY,IAAA,CACrC7B,EAAO8B,OAAO,IAAA,CACZC,EAAcnC,CAAA,GAAWoC,OAAA,CAC3B,CAAA,CACF,EAAG,CAAChC,EAAQJ,CAAA,CAAQ,EAEdqC,EAAqBC,EAAML,YAAY,IAAA,CAC3CT,EAAU,CACR,GAAGjC,EACH6B,UAAAA,CACF,CAAA,EAEAO,EAAA,EACAN,EAAA,CACF,EAAG,CAACD,EAAWI,EAAWG,CAAA,CAAoB,EAE9C,OACEY,EAAC,MAAA,CAAI5C,UAAW,GAAGC,CAAA,aAAuB4C,gBAAiB,GAAOC,IAAKvC,YACrEqC,EAAC,MAAA,CAAI5C,UAAW,GAAGC,CAAA,mBACjB8C,EAAC,IAAA,CAAE/C,UAAW,GAAGC,CAAA,mBACdsB,EAAE,2BAA4B,CAC7ByB,MAAO7B,EAAkB8B,QAAQC,SAC7BC,EAAehC,EAAkB8B,QAAQC,SAAU5B,CAAA,EACnDH,EAAkBY,IACxB,CAAA,IAEFgB,EAACb,EAAA,CAAsBlC,UAAW,GAAGC,CAAA,gCACnC8C,EAAC,IAAA,CAAE/C,UAAW,GAAGC,CAAA,mBACdC,EAAOA,EAAKiB,GAAmBiC,OAAOC,YAAc,IAAA,EAAQjD,SAIlEO,GACCiC,EAAC,MAAA,CAAI5C,UAAW,GAAGC,CAAA,sBACjB8C,EAACO,EAAA,CACCC,YAAY,aACZvD,UAAW,GAAGC,CAAA,eACduD,SAAU,CAAC7C,EACX8C,GAAG,SACHC,KAAK,OACLC,QAASA,IAAA,CACHtD,GACFI,EAAOmD,gBAAgBC,EAAyC,CAC9DC,QAAS,CAAEzD,QAAAA,CAAQ,CACrB,CAAA,CAEJ,EACA0D,MAAK,GACLC,QAASzC,EAAE,yBAAA,IAEbwB,EAACO,EAAA,CACCC,YAAY,aACZvD,UAAW,GAAGC,CAAA,iBACduD,SAAU,CAAC7C,EACX+C,KAAK,IACLC,QAAUM,GAAA,CACRA,EAAEC,eAAc,EAChB7B,EAAA,CACF,EACA0B,MAAK,GACLC,QAASzC,EAAE,2BAAA,OAKhB,CAAC,CAACnB,GAAS2C,EAACd,EAAA,CAAekC,OAAQzB,MAG1C",
6
+ "names": ["useLexicalComposerContext", "useLexicalEditable", "getTranslation", "Button", "useConfig", "usePayloadAPI", "useTranslation", "$getNodeByKey", "React", "useCallback", "useReducer", "useRef", "useState", "initialParams", "depth", "RelationshipComponent", "props", "className", "baseClass", "data", "relationTo", "value", "nodeKey", "Error", "relationshipElemRef", "useRef", "editor", "useLexicalComposerContext", "isEditable", "useLexicalEditable", "config", "routes", "api", "serverURL", "getEntityConfig", "useConfig", "relatedCollection", "useState", "collectionSlug", "i18n", "t", "useTranslation", "cacheBust", "dispatchCacheBust", "useReducer", "state", "setParams", "usePayloadAPI", "slug", "closeDocumentDrawer", "DocumentDrawer", "DocumentDrawerToggler", "useLexicalDocumentDrawer", "id", "removeRelationship", "useCallback", "update", "$getNodeByKey", "remove", "updateRelationship", "React", "_jsxs", "contentEditable", "ref", "_jsx", "label", "labels", "singular", "getTranslation", "admin", "useAsTitle", "Button", "buttonStyle", "disabled", "el", "icon", "onClick", "dispatchCommand", "INSERT_RELATIONSHIP_WITH_DRAWER_COMMAND", "replace", "round", "tooltip", "e", "preventDefault", "onSave"]
7
+ }