@abyss-project/commons-front-core 11.0.0 → 11.1.0

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 (139) hide show
  1. package/README.md +15 -0
  2. package/catalog/catalog-entries.ts +2 -0
  3. package/catalog/pages/MarkdownEditor.tsx +48 -0
  4. package/catalog/pages/PdfEditor.tsx +153 -0
  5. package/catalog/pages/index.ts +4 -0
  6. package/catalog/specs/responsive.spec.ts +5 -1
  7. package/dist/AbyssCloud-IuD91X6C.js +2949 -0
  8. package/dist/{AbyssCookieConsentProvider-C3NZfWxR.js → AbyssCookieConsentProvider-PchfQjs2.js} +2038 -1407
  9. package/dist/{CookieConsentSettings.component-Dvbp3MIX.js → CookieConsentSettings.component-D8G0H6Wl.js} +1 -1
  10. package/dist/Tabs-CZQ1JYlW.js +2315 -0
  11. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  12. package/dist/components/editors/MarkdownEditor/MarkdownEditor.d.ts +19 -0
  13. package/dist/components/editors/MarkdownEditor/crepe-labels.d.ts +17 -0
  14. package/dist/components/editors/MarkdownEditor/index.d.ts +2 -0
  15. package/dist/components/editors/MarkdownEditor/markdown-theme.d.ts +7 -0
  16. package/dist/components/editors/PdfEditor/PdfEditor.d.ts +9 -0
  17. package/dist/components/editors/PdfEditor/engine/open-pdf-document.d.ts +8 -0
  18. package/dist/components/editors/PdfEditor/engine/operations/reducer.spec.d.ts +1 -0
  19. package/dist/components/editors/PdfEditor/engine/operations/rotate-coords.spec.d.ts +1 -0
  20. package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/types.d.ts +1 -2
  21. package/dist/components/editors/PdfEditor/index.d.ts +3 -0
  22. package/dist/components/editors/PdfEditor/pdf-colors.d.ts +26 -0
  23. package/dist/components/editors/PdfEditor/pdf-colors.spec.d.ts +1 -0
  24. package/dist/components/editors/PdfEditor/signature/SignatureDrawPad.d.ts +15 -0
  25. package/dist/components/editors/PdfEditor/signature/SignaturePicker.d.ts +31 -0
  26. package/dist/components/editors/PdfEditor/signature/SignaturePicker.spec.d.ts +1 -0
  27. package/dist/components/editors/PdfEditor/signature/SignatureSaveButton.d.ts +14 -0
  28. package/dist/components/editors/PdfEditor/signature/SignatureSavedList.d.ts +19 -0
  29. package/dist/components/editors/PdfEditor/signature/SignatureUploadPanel.d.ts +14 -0
  30. package/dist/components/editors/PdfEditor/signature/resolve-asset.d.ts +19 -0
  31. package/dist/components/editors/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
  32. package/dist/components/editors/PdfEditor/signature/test-support/pdf-editor-test-harness.d.ts +28 -0
  33. package/dist/components/editors/PdfEditor/toolbar/EraserIcon.d.ts +3 -0
  34. package/dist/components/editors/PdfEditor/toolbar/GroupPanel.d.ts +17 -0
  35. package/dist/components/editors/PdfEditor/toolbar/PanelRow.d.ts +14 -0
  36. package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +67 -0
  37. package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.spec.d.ts +1 -0
  38. package/dist/components/editors/PdfEditor/toolbar/SavedAssets.d.ts +24 -0
  39. package/dist/components/editors/PdfEditor/toolbar/ToolGroupButton.d.ts +20 -0
  40. package/dist/components/editors/PdfEditor/toolbar/tool-groups.d.ts +34 -0
  41. package/dist/components/editors/PdfEditor/toolbar/tool-options/DrawOptions.d.ts +6 -0
  42. package/dist/components/editors/PdfEditor/toolbar/tool-options/FillFieldsOptions.d.ts +13 -0
  43. package/dist/components/editors/PdfEditor/toolbar/tool-options/HighlightOptions.d.ts +6 -0
  44. package/dist/components/editors/PdfEditor/toolbar/tool-options/RedactOptions.d.ts +6 -0
  45. package/dist/components/editors/PdfEditor/toolbar/tool-options/ShapeOptions.d.ts +6 -0
  46. package/dist/components/editors/PdfEditor/toolbar/tool-options/SignatureOptions.d.ts +5 -0
  47. package/dist/components/editors/PdfEditor/toolbar/tool-options/TextOptions.d.ts +6 -0
  48. package/dist/components/editors/PdfEditor/toolbar/tool-options/ToolOptions.d.ts +14 -0
  49. package/dist/components/editors/PdfEditor/toolbar/tool-options/swatches.d.ts +2 -0
  50. package/dist/components/editors/PdfEditor/toolbar/tool-settings.d.ts +14 -0
  51. package/dist/components/editors/PdfEditor/viewer/InsertPagesButton.d.ts +14 -0
  52. package/dist/components/editors/PdfEditor/viewer/InsertPagesButton.spec.d.ts +1 -0
  53. package/dist/components/editors/PdfEditor/viewer/InsertPagesDialog.d.ts +28 -0
  54. package/dist/components/editors/PdfEditor/viewer/PageOverlay.d.ts +37 -0
  55. package/dist/components/editors/PdfEditor/viewer/PageOverlay.spec.d.ts +1 -0
  56. package/dist/components/editors/PdfEditor/viewer/PageSidebar.d.ts +16 -0
  57. package/dist/components/editors/PdfEditor/viewer/PageSidebar.spec.d.ts +1 -0
  58. package/dist/components/editors/PdfEditor/viewer/PageThumbnail.d.ts +16 -0
  59. package/dist/components/editors/PdfEditor/viewer/PdfCanvas.d.ts +26 -0
  60. package/dist/components/editors/PdfEditor/viewer/PdfCanvas.spec.d.ts +1 -0
  61. package/dist/components/editors/PdfEditor/viewer/ViewerControls.d.ts +21 -0
  62. package/dist/components/editors/PdfEditor/viewer/ViewerControls.spec.d.ts +1 -0
  63. package/dist/components/editors/PdfEditor/viewer/test-support/viewer-test-harness.d.ts +30 -0
  64. package/dist/components/editors/editors-guard.spec.d.ts +1 -0
  65. package/dist/components/editors/index.d.ts +2 -0
  66. package/dist/cookie-consent.js +2 -2
  67. package/dist/{design-theme-sPEoMB7j.js → design-theme-DPp0aQVa.js} +9302 -12244
  68. package/dist/editors.d.ts +1 -0
  69. package/dist/editors.js +5239 -0
  70. package/dist/hooks/use-rich-intl.hook.d.ts +636 -0
  71. package/dist/{index-Cb-uMz_V.js → index-B2ZxOr31.js} +3 -3
  72. package/dist/{index-CCaW-38I.js → index-Bo9YtyKq.js} +2 -2
  73. package/dist/{index-DEqCdX0Q.js → index-Bv63SeVQ.js} +2 -2
  74. package/dist/{index-C2KrTHAO.js → index-ByTOd2ak.js} +2 -2
  75. package/dist/{index-DD25yrsQ.js → index-C2CPAKkL.js} +4 -4
  76. package/dist/{index-CB-jdY_E.js → index-C7XhFFZA.js} +2 -2
  77. package/dist/{index-DIpJhT2r.js → index-CBIn4IuA.js} +2 -2
  78. package/dist/{index-CNcmCFNN.js → index-CE5F7UaD.js} +1 -1
  79. package/dist/{index-CKCWWoQb.js → index-CS0JFqYy.js} +3 -3
  80. package/dist/{index-CXwwKVPn.js → index-CVp3TsdG.js} +3 -3
  81. package/dist/{index-C9FzqvHz.js → index-CaWs53z9.js} +2 -2
  82. package/dist/{index-CrWjgIMV.js → index-CjAqdRJ0.js} +4 -4
  83. package/dist/{index-D9s128sK.js → index-DNhK2v38.js} +4 -4
  84. package/dist/{index-Ut9uJwau.js → index-DVg7Zewe.js} +2 -2
  85. package/dist/{index-QNJIP2m4.js → index-DWi7OlB1.js} +2 -2
  86. package/dist/{index-DtHUaGVU.js → index-DY51R82n.js} +3 -3
  87. package/dist/{index-aYivWEyJ.js → index-DzXd6CTA.js} +2 -2
  88. package/dist/{index-whpnjq54.js → index-RIO2UT1x.js} +2 -2
  89. package/dist/{index-lE9lxmTc.js → index-ZXDv7i0D.js} +2 -2
  90. package/dist/{index-BVGdsnC4.js → index-yAKnJ5ME.js} +2 -2
  91. package/dist/{index-Di1amUHq.js → index-z9-0V3EC.js} +2 -2
  92. package/dist/index.js +5676 -7907
  93. package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +1 -1
  94. package/dist/legacy/components/PdfEditor/index.d.ts +2 -2
  95. package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +1 -1
  96. package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +1 -1
  97. package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +1 -1
  98. package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +1 -1
  99. package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +1 -1
  100. package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +1 -1
  101. package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +1 -1
  102. package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +1 -1
  103. package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +1 -1
  104. package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +1 -1
  105. package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +1 -1
  106. package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +1 -1
  107. package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +1 -1
  108. package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +2 -2
  109. package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +2 -2
  110. package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +1 -1
  111. package/dist/legacy.js +26800 -209
  112. package/dist/sortable.esm-BYVnqZQ-.js +69330 -0
  113. package/dist/translations/editors-i18n.spec.d.ts +1 -0
  114. package/dist/translations/en.d.ts +318 -0
  115. package/dist/translations/fr.d.ts +318 -0
  116. package/package.json +13 -6
  117. package/vite.config.ts +4 -0
  118. package/dist/index-DPi7aKci.js +0 -95942
  119. /package/dist/{legacy/components/PdfEditor/operations/apply.spec.d.ts → components/editors/MarkdownEditor/MarkdownEditor.spec.d.ts} +0 -0
  120. /package/dist/{legacy/components/PdfEditor/operations/compute-page-order.spec.d.ts → components/editors/PdfEditor/PdfEditor.spec.d.ts} +0 -0
  121. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-acro-form-fields.d.ts +0 -0
  122. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-export.d.ts +0 -0
  123. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-page-order.d.ts +0 -0
  124. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-pdf-document.d.ts +0 -0
  125. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-undo-redo.d.ts +0 -0
  126. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/hooks/use-uploaded-docs.d.ts +0 -0
  127. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/actions.d.ts +0 -0
  128. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/apply.d.ts +0 -0
  129. /package/dist/{legacy/components/PdfEditor/operations/extract.spec.d.ts → components/editors/PdfEditor/engine/operations/apply.spec.d.ts} +0 -0
  130. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/compute-page-order.d.ts +0 -0
  131. /package/dist/{legacy/components/PdfEditor/operations/redact.spec.d.ts → components/editors/PdfEditor/engine/operations/compute-page-order.spec.d.ts} +0 -0
  132. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/extract.d.ts +0 -0
  133. /package/dist/{legacy/components/PdfEditor/operations/reducer.spec.d.ts → components/editors/PdfEditor/engine/operations/extract.spec.d.ts} +0 -0
  134. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/pdf-data-url.d.ts +0 -0
  135. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/rasterize.d.ts +0 -0
  136. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/redact.d.ts +0 -0
  137. /package/dist/{legacy/components/PdfEditor/operations/rotate-coords.spec.d.ts → components/editors/PdfEditor/engine/operations/redact.spec.d.ts} +0 -0
  138. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/reducer.d.ts +0 -0
  139. /package/dist/{legacy/components/PdfEditor → components/editors/PdfEditor/engine}/operations/rotate-coords.d.ts +0 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -1998,6 +1998,324 @@ declare const _default: {
1998
1998
  close: string;
1999
1999
  };
2000
2000
  };
2001
+ editors: {
2002
+ markdown: {
2003
+ aria: {
2004
+ bold: string;
2005
+ italic: string;
2006
+ strikethrough: string;
2007
+ code: string;
2008
+ latex: string;
2009
+ link: string;
2010
+ 'block-add': string;
2011
+ 'block-drag': string;
2012
+ 'link-copy': string;
2013
+ 'link-edit': string;
2014
+ 'link-remove': string;
2015
+ 'link-confirm': string;
2016
+ 'table-column': string;
2017
+ 'table-row': string;
2018
+ 'table-align-left': string;
2019
+ 'table-align-center': string;
2020
+ 'table-align-right': string;
2021
+ 'table-delete-column': string;
2022
+ 'table-delete-row': string;
2023
+ 'table-add-row': string;
2024
+ 'table-add-column': string;
2025
+ 'image-caption': string;
2026
+ 'latex-confirm': string;
2027
+ };
2028
+ placeholder: string;
2029
+ crepe: {
2030
+ 'slash-menu': {
2031
+ groups: {
2032
+ text: string;
2033
+ list: string;
2034
+ advanced: string;
2035
+ };
2036
+ items: {
2037
+ text: string;
2038
+ h1: string;
2039
+ h2: string;
2040
+ h3: string;
2041
+ h4: string;
2042
+ h5: string;
2043
+ h6: string;
2044
+ quote: string;
2045
+ divider: string;
2046
+ 'bullet-list': string;
2047
+ 'ordered-list': string;
2048
+ 'task-list': string;
2049
+ image: string;
2050
+ 'code-block': string;
2051
+ table: string;
2052
+ math: string;
2053
+ };
2054
+ };
2055
+ 'link-tooltip': {
2056
+ 'input-placeholder': string;
2057
+ };
2058
+ 'image-block': {
2059
+ inline: {
2060
+ upload: string;
2061
+ 'upload-placeholder': string;
2062
+ };
2063
+ block: {
2064
+ upload: string;
2065
+ confirm: string;
2066
+ 'caption-placeholder': string;
2067
+ 'upload-placeholder': string;
2068
+ };
2069
+ };
2070
+ 'code-block': {
2071
+ 'search-placeholder': string;
2072
+ copy: string;
2073
+ 'no-result': string;
2074
+ 'preview-edit': string;
2075
+ 'preview-hide': string;
2076
+ 'preview-label': string;
2077
+ };
2078
+ };
2079
+ };
2080
+ pdf: {
2081
+ groups: {
2082
+ toolbar: string;
2083
+ annotate: string;
2084
+ 'sign-fill': string;
2085
+ pages: string;
2086
+ security: string;
2087
+ file: string;
2088
+ 'active-tool': string;
2089
+ options: string;
2090
+ 'saved-assets': string;
2091
+ font: {
2092
+ sans: string;
2093
+ serif: string;
2094
+ mono: string;
2095
+ };
2096
+ shape: {
2097
+ rect: string;
2098
+ ellipse: string;
2099
+ line: string;
2100
+ arrow: string;
2101
+ };
2102
+ };
2103
+ 'signature-ui': {
2104
+ tabs: {
2105
+ label: string;
2106
+ upload: string;
2107
+ };
2108
+ draw: {
2109
+ pad: string;
2110
+ width: {
2111
+ thin: string;
2112
+ medium: string;
2113
+ thick: string;
2114
+ };
2115
+ };
2116
+ upload: {
2117
+ preview: string;
2118
+ };
2119
+ saved: {
2120
+ kind: string;
2121
+ };
2122
+ 'unknown-error': string;
2123
+ };
2124
+ toolbar: {
2125
+ 'change-file': string;
2126
+ select: string;
2127
+ text: string;
2128
+ draw: string;
2129
+ shape: string;
2130
+ highlight: string;
2131
+ redact: string;
2132
+ signature: string;
2133
+ eraser: string;
2134
+ 'fill-fields': string;
2135
+ undo: string;
2136
+ redo: string;
2137
+ download: string;
2138
+ 'save-to-cloud': string;
2139
+ 'save-to-cloud-new': string;
2140
+ 'cloud-replace': string;
2141
+ 'toggle-pages': string;
2142
+ };
2143
+ sidebar: {
2144
+ pages: string;
2145
+ };
2146
+ viewer: {
2147
+ 'drag-page': string;
2148
+ 'insert-read-failed': string;
2149
+ 'insert-cloud-failed': string;
2150
+ 'insert-pdf-only': string;
2151
+ 'zoom-in': string;
2152
+ 'zoom-out': string;
2153
+ 'fit-width': string;
2154
+ 'reset-zoom': string;
2155
+ 'prev-page': string;
2156
+ 'next-page': string;
2157
+ 'page-indicator': string;
2158
+ };
2159
+ insert: {
2160
+ 'image-device': string;
2161
+ 'image-cloud': string;
2162
+ 'saved-title': string;
2163
+ personal: string;
2164
+ button: string;
2165
+ reading: string;
2166
+ };
2167
+ 'insert-dialog': {
2168
+ title: string;
2169
+ helper: string;
2170
+ 'select-all': string;
2171
+ 'select-none': string;
2172
+ 'page-label': string;
2173
+ confirm: string;
2174
+ };
2175
+ action: {
2176
+ cancel: string;
2177
+ delete: string;
2178
+ };
2179
+ placement: {
2180
+ hint: string;
2181
+ cancel: string;
2182
+ };
2183
+ error: {
2184
+ 'load-failed': string;
2185
+ 'export-failed': string;
2186
+ 'try-another': string;
2187
+ };
2188
+ document: {
2189
+ 'blank-page': string;
2190
+ 'page-numbers': string;
2191
+ watermark: string;
2192
+ extract: string;
2193
+ compress: string;
2194
+ protect: string;
2195
+ };
2196
+ password: {
2197
+ title: string;
2198
+ help: string;
2199
+ label: string;
2200
+ confirm: string;
2201
+ };
2202
+ compress: {
2203
+ saved: string;
2204
+ 'already-optimal': string;
2205
+ };
2206
+ unlock: {
2207
+ title: string;
2208
+ help: string;
2209
+ confirm: string;
2210
+ wrong: string;
2211
+ };
2212
+ watermark: {
2213
+ title: string;
2214
+ label: string;
2215
+ apply: string;
2216
+ };
2217
+ extract: {
2218
+ title: string;
2219
+ confirm: string;
2220
+ };
2221
+ loading: string;
2222
+ text: {
2223
+ 'hint-short': string;
2224
+ placeholder: string;
2225
+ size: string;
2226
+ font: string;
2227
+ };
2228
+ draw: {
2229
+ color: string;
2230
+ width: string;
2231
+ };
2232
+ shape: {
2233
+ kind: string;
2234
+ fill: string;
2235
+ 'fill-none': string;
2236
+ 'fill-on': string;
2237
+ };
2238
+ redact: {
2239
+ hint: string;
2240
+ warning: string;
2241
+ };
2242
+ signature: {
2243
+ 'add-hint': string;
2244
+ 'add-button': string;
2245
+ 'apply-all-pages': string;
2246
+ 'manage-assets': string;
2247
+ 'asset-load-failed': string;
2248
+ clear: string;
2249
+ 'picker-title': string;
2250
+ tabs: {
2251
+ draw: string;
2252
+ saved: string;
2253
+ };
2254
+ save: {
2255
+ kind: string;
2256
+ name: string;
2257
+ scope: string;
2258
+ 'scope-personal': string;
2259
+ button: string;
2260
+ title: string;
2261
+ SIGNATURE: string;
2262
+ INITIALS: string;
2263
+ STAMP: string;
2264
+ error: string;
2265
+ };
2266
+ saved: {
2267
+ 'scope-label': string;
2268
+ scope: {
2269
+ personal: string;
2270
+ };
2271
+ group: {
2272
+ personal: string;
2273
+ organization: string;
2274
+ project: string;
2275
+ };
2276
+ kind: {
2277
+ all: string;
2278
+ SIGNATURE: string;
2279
+ INITIALS: string;
2280
+ STAMP: string;
2281
+ TEXT_BLOCK: string;
2282
+ };
2283
+ empty: string;
2284
+ };
2285
+ upload: {
2286
+ title: string;
2287
+ reading: string;
2288
+ 'max-size': string;
2289
+ error: {
2290
+ 'read-failed': string;
2291
+ };
2292
+ };
2293
+ draw: {
2294
+ title: string;
2295
+ helper: string;
2296
+ 'stroke-color': string;
2297
+ 'stroke-width': string;
2298
+ };
2299
+ use: string;
2300
+ };
2301
+ 'fill-fields': {
2302
+ empty: string;
2303
+ detected: string;
2304
+ flatten: string;
2305
+ 'flatten-hint': string;
2306
+ };
2307
+ page: {
2308
+ inserted: string;
2309
+ rotate: string;
2310
+ delete: string;
2311
+ 'confirm-delete': {
2312
+ title: string;
2313
+ description: string;
2314
+ confirm: string;
2315
+ };
2316
+ };
2317
+ };
2318
+ };
2001
2319
  };
2002
2320
  };
2003
2321
  export default _default;
@@ -1998,6 +1998,324 @@ declare const _default: {
1998
1998
  close: string;
1999
1999
  };
2000
2000
  };
2001
+ editors: {
2002
+ markdown: {
2003
+ aria: {
2004
+ bold: string;
2005
+ italic: string;
2006
+ strikethrough: string;
2007
+ code: string;
2008
+ latex: string;
2009
+ link: string;
2010
+ 'block-add': string;
2011
+ 'block-drag': string;
2012
+ 'link-copy': string;
2013
+ 'link-edit': string;
2014
+ 'link-remove': string;
2015
+ 'link-confirm': string;
2016
+ 'table-column': string;
2017
+ 'table-row': string;
2018
+ 'table-align-left': string;
2019
+ 'table-align-center': string;
2020
+ 'table-align-right': string;
2021
+ 'table-delete-column': string;
2022
+ 'table-delete-row': string;
2023
+ 'table-add-row': string;
2024
+ 'table-add-column': string;
2025
+ 'image-caption': string;
2026
+ 'latex-confirm': string;
2027
+ };
2028
+ placeholder: string;
2029
+ crepe: {
2030
+ 'slash-menu': {
2031
+ groups: {
2032
+ text: string;
2033
+ list: string;
2034
+ advanced: string;
2035
+ };
2036
+ items: {
2037
+ text: string;
2038
+ h1: string;
2039
+ h2: string;
2040
+ h3: string;
2041
+ h4: string;
2042
+ h5: string;
2043
+ h6: string;
2044
+ quote: string;
2045
+ divider: string;
2046
+ 'bullet-list': string;
2047
+ 'ordered-list': string;
2048
+ 'task-list': string;
2049
+ image: string;
2050
+ 'code-block': string;
2051
+ table: string;
2052
+ math: string;
2053
+ };
2054
+ };
2055
+ 'link-tooltip': {
2056
+ 'input-placeholder': string;
2057
+ };
2058
+ 'image-block': {
2059
+ inline: {
2060
+ upload: string;
2061
+ 'upload-placeholder': string;
2062
+ };
2063
+ block: {
2064
+ upload: string;
2065
+ confirm: string;
2066
+ 'caption-placeholder': string;
2067
+ 'upload-placeholder': string;
2068
+ };
2069
+ };
2070
+ 'code-block': {
2071
+ 'search-placeholder': string;
2072
+ copy: string;
2073
+ 'no-result': string;
2074
+ 'preview-edit': string;
2075
+ 'preview-hide': string;
2076
+ 'preview-label': string;
2077
+ };
2078
+ };
2079
+ };
2080
+ pdf: {
2081
+ groups: {
2082
+ toolbar: string;
2083
+ annotate: string;
2084
+ 'sign-fill': string;
2085
+ pages: string;
2086
+ security: string;
2087
+ file: string;
2088
+ 'active-tool': string;
2089
+ options: string;
2090
+ 'saved-assets': string;
2091
+ font: {
2092
+ sans: string;
2093
+ serif: string;
2094
+ mono: string;
2095
+ };
2096
+ shape: {
2097
+ rect: string;
2098
+ ellipse: string;
2099
+ line: string;
2100
+ arrow: string;
2101
+ };
2102
+ };
2103
+ 'signature-ui': {
2104
+ tabs: {
2105
+ label: string;
2106
+ upload: string;
2107
+ };
2108
+ draw: {
2109
+ pad: string;
2110
+ width: {
2111
+ thin: string;
2112
+ medium: string;
2113
+ thick: string;
2114
+ };
2115
+ };
2116
+ upload: {
2117
+ preview: string;
2118
+ };
2119
+ saved: {
2120
+ kind: string;
2121
+ };
2122
+ 'unknown-error': string;
2123
+ };
2124
+ toolbar: {
2125
+ 'change-file': string;
2126
+ select: string;
2127
+ text: string;
2128
+ draw: string;
2129
+ shape: string;
2130
+ highlight: string;
2131
+ redact: string;
2132
+ signature: string;
2133
+ eraser: string;
2134
+ 'fill-fields': string;
2135
+ undo: string;
2136
+ redo: string;
2137
+ download: string;
2138
+ 'save-to-cloud': string;
2139
+ 'save-to-cloud-new': string;
2140
+ 'cloud-replace': string;
2141
+ 'toggle-pages': string;
2142
+ };
2143
+ sidebar: {
2144
+ pages: string;
2145
+ };
2146
+ viewer: {
2147
+ 'drag-page': string;
2148
+ 'insert-read-failed': string;
2149
+ 'insert-cloud-failed': string;
2150
+ 'insert-pdf-only': string;
2151
+ 'zoom-in': string;
2152
+ 'zoom-out': string;
2153
+ 'fit-width': string;
2154
+ 'reset-zoom': string;
2155
+ 'prev-page': string;
2156
+ 'next-page': string;
2157
+ 'page-indicator': string;
2158
+ };
2159
+ insert: {
2160
+ 'image-device': string;
2161
+ 'image-cloud': string;
2162
+ 'saved-title': string;
2163
+ personal: string;
2164
+ button: string;
2165
+ reading: string;
2166
+ };
2167
+ 'insert-dialog': {
2168
+ title: string;
2169
+ helper: string;
2170
+ 'select-all': string;
2171
+ 'select-none': string;
2172
+ 'page-label': string;
2173
+ confirm: string;
2174
+ };
2175
+ action: {
2176
+ cancel: string;
2177
+ delete: string;
2178
+ };
2179
+ placement: {
2180
+ hint: string;
2181
+ cancel: string;
2182
+ };
2183
+ error: {
2184
+ 'load-failed': string;
2185
+ 'export-failed': string;
2186
+ 'try-another': string;
2187
+ };
2188
+ document: {
2189
+ 'blank-page': string;
2190
+ 'page-numbers': string;
2191
+ watermark: string;
2192
+ extract: string;
2193
+ compress: string;
2194
+ protect: string;
2195
+ };
2196
+ password: {
2197
+ title: string;
2198
+ help: string;
2199
+ label: string;
2200
+ confirm: string;
2201
+ };
2202
+ compress: {
2203
+ saved: string;
2204
+ 'already-optimal': string;
2205
+ };
2206
+ unlock: {
2207
+ title: string;
2208
+ help: string;
2209
+ confirm: string;
2210
+ wrong: string;
2211
+ };
2212
+ watermark: {
2213
+ title: string;
2214
+ label: string;
2215
+ apply: string;
2216
+ };
2217
+ extract: {
2218
+ title: string;
2219
+ confirm: string;
2220
+ };
2221
+ loading: string;
2222
+ text: {
2223
+ 'hint-short': string;
2224
+ placeholder: string;
2225
+ size: string;
2226
+ font: string;
2227
+ };
2228
+ draw: {
2229
+ color: string;
2230
+ width: string;
2231
+ };
2232
+ shape: {
2233
+ kind: string;
2234
+ fill: string;
2235
+ 'fill-none': string;
2236
+ 'fill-on': string;
2237
+ };
2238
+ redact: {
2239
+ hint: string;
2240
+ warning: string;
2241
+ };
2242
+ signature: {
2243
+ 'add-hint': string;
2244
+ 'add-button': string;
2245
+ 'apply-all-pages': string;
2246
+ 'manage-assets': string;
2247
+ 'asset-load-failed': string;
2248
+ clear: string;
2249
+ 'picker-title': string;
2250
+ tabs: {
2251
+ draw: string;
2252
+ saved: string;
2253
+ };
2254
+ save: {
2255
+ kind: string;
2256
+ name: string;
2257
+ scope: string;
2258
+ 'scope-personal': string;
2259
+ button: string;
2260
+ title: string;
2261
+ SIGNATURE: string;
2262
+ INITIALS: string;
2263
+ STAMP: string;
2264
+ error: string;
2265
+ };
2266
+ saved: {
2267
+ 'scope-label': string;
2268
+ scope: {
2269
+ personal: string;
2270
+ };
2271
+ group: {
2272
+ personal: string;
2273
+ organization: string;
2274
+ project: string;
2275
+ };
2276
+ kind: {
2277
+ all: string;
2278
+ SIGNATURE: string;
2279
+ INITIALS: string;
2280
+ STAMP: string;
2281
+ TEXT_BLOCK: string;
2282
+ };
2283
+ empty: string;
2284
+ };
2285
+ upload: {
2286
+ title: string;
2287
+ reading: string;
2288
+ 'max-size': string;
2289
+ error: {
2290
+ 'read-failed': string;
2291
+ };
2292
+ };
2293
+ draw: {
2294
+ title: string;
2295
+ helper: string;
2296
+ 'stroke-color': string;
2297
+ 'stroke-width': string;
2298
+ };
2299
+ use: string;
2300
+ };
2301
+ 'fill-fields': {
2302
+ empty: string;
2303
+ detected: string;
2304
+ flatten: string;
2305
+ 'flatten-hint': string;
2306
+ };
2307
+ page: {
2308
+ inserted: string;
2309
+ rotate: string;
2310
+ delete: string;
2311
+ 'confirm-delete': {
2312
+ title: string;
2313
+ description: string;
2314
+ confirm: string;
2315
+ };
2316
+ };
2317
+ };
2318
+ };
2001
2319
  };
2002
2320
  };
2003
2321
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -26,6 +26,10 @@
26
26
  "import": "./dist/legacy.js",
27
27
  "types": "./dist/legacy.d.ts"
28
28
  },
29
+ "./editors": {
30
+ "import": "./dist/editors.js",
31
+ "types": "./dist/editors.d.ts"
32
+ },
29
33
  "./fonts.css": "./dist/fonts.css",
30
34
  "./legacy/fonts.css": "./dist/legacy/fonts.css"
31
35
  },
@@ -42,6 +46,9 @@
42
46
  ],
43
47
  "legacy": [
44
48
  "./dist/legacy.d.ts"
49
+ ],
50
+ "editors": [
51
+ "./dist/editors.d.ts"
45
52
  ]
46
53
  }
47
54
  },
@@ -101,11 +108,11 @@
101
108
  "@fontsource-variable/geist": "^5.3.0",
102
109
  "@fontsource-variable/geist-mono": "^5.3.0",
103
110
  "@fontsource-variable/lexend": "^5.3.0",
104
- "@milkdown/core": "^7.15.3",
105
- "@milkdown/crepe": "^7.15.3",
106
- "@milkdown/plugin-listener": "^7.15.3",
107
- "@milkdown/react": "^7.15.3",
108
- "@milkdown/utils": "^7.15.3",
111
+ "@milkdown/core": "7.15.3",
112
+ "@milkdown/crepe": "7.15.3",
113
+ "@milkdown/plugin-listener": "7.15.3",
114
+ "@milkdown/react": "7.15.3",
115
+ "@milkdown/utils": "7.15.3",
109
116
  "@nivo/bar": "^0.88.0",
110
117
  "@nivo/core": "^0.88.0",
111
118
  "@nivo/line": "^0.88.0",