@abyss-project/commons-front-core 11.1.2 → 13.0.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 (83) hide show
  1. package/README.md +2 -2
  2. package/catalog/pages/LineChart.tsx +19 -2
  3. package/catalog/pages/StatTile.tsx +16 -0
  4. package/catalog/pages/ToolIcon.tsx +48 -48
  5. package/dist/{AbyssCookieConsentProvider-PchfQjs2.js → AbyssCookieConsentProvider-D5jeL5KA.js} +1402 -1800
  6. package/dist/{CookieConsentSettings.component-D8G0H6Wl.js → CookieConsentSettings.component-C69wpa-v.js} +1 -1
  7. package/dist/{Tabs-CZQ1JYlW.js → Tabs-CwVEV4SO.js} +162 -142
  8. package/dist/assets/logo/index.d.ts +9 -7
  9. package/dist/auth/client/abyss-login.d.ts +2 -2
  10. package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.d.ts +2 -2
  11. package/dist/components/data/LineChart/LineChart.d.ts +10 -2
  12. package/dist/components/data/StatTile/StatTile.d.ts +5 -3
  13. package/dist/components/inputs/DateField/DateField.d.ts +7 -1
  14. package/dist/cookie-consent.js +2 -2
  15. package/dist/{design-theme-DPp0aQVa.js → design-theme-DkGGYH91.js} +5250 -5224
  16. package/dist/{sortable.esm-BYVnqZQ-.js → editors-DkiY6BfJ.js} +31061 -26291
  17. package/dist/editors.js +4 -5272
  18. package/dist/hooks/use-rich-intl.hook.d.ts +36 -414
  19. package/dist/{index-z9-0V3EC.js → index-2l12Iu8k.js} +2 -2
  20. package/dist/{index-B2ZxOr31.js → index-B52OKB4p.js} +3 -3
  21. package/dist/{index-C7XhFFZA.js → index-BacMl_If.js} +2 -2
  22. package/dist/{index-CBIn4IuA.js → index-Bh7buNbj.js} +2 -2
  23. package/dist/{index-Bv63SeVQ.js → index-BoCgQirm.js} +2 -2
  24. package/dist/{index-DNhK2v38.js → index-CXGI5k75.js} +4 -4
  25. package/dist/{index-DzXd6CTA.js → index-Cg6Mv7QT.js} +2 -2
  26. package/dist/{index-DWi7OlB1.js → index-CgIjHnfl.js} +2 -2
  27. package/dist/{index-ZXDv7i0D.js → index-Cl1BSx17.js} +2 -2
  28. package/dist/{index-Bo9YtyKq.js → index-CtMx42h6.js} +2 -2
  29. package/dist/{index-yAKnJ5ME.js → index-CvRSR1eE.js} +2 -2
  30. package/dist/{index-RIO2UT1x.js → index-CwdirjZn.js} +2 -2
  31. package/dist/{index-C2CPAKkL.js → index-D1YeCKtd.js} +4 -4
  32. package/dist/{index-ByTOd2ak.js → index-DMiPquK5.js} +2 -2
  33. package/dist/{index-CS0JFqYy.js → index-DSjH42Mo.js} +3 -3
  34. package/dist/{index-CaWs53z9.js → index-DVsMyd7m.js} +2 -2
  35. package/dist/{index-CE5F7UaD.js → index-DW0z3W_H.js} +1 -1
  36. package/dist/{index-DVg7Zewe.js → index-DmCRAN1O.js} +2 -2
  37. package/dist/{index-CjAqdRJ0.js → index-KH3KmoUw.js} +4 -4
  38. package/dist/{index-CVp3TsdG.js → index-PHSTFO70.js} +3 -3
  39. package/dist/{index-DY51R82n.js → index-orVFXDIv.js} +3 -3
  40. package/dist/index.js +4491 -4467
  41. package/dist/isSymbol-CubIld3H.js +446 -0
  42. package/dist/legacy/components/Inputs/index.d.ts +0 -1
  43. package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -1
  44. package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +10 -8
  45. package/dist/legacy/components/Support/support-service.logic.d.ts +6 -0
  46. package/dist/legacy/components/Support/types.d.ts +7 -7
  47. package/dist/legacy/components/index.d.ts +0 -1
  48. package/dist/legacy.js +6158 -12073
  49. package/dist/theme/tokens/domain.d.ts +5 -2
  50. package/dist/theme/tokens/product-marks.spec.d.ts +1 -0
  51. package/dist/translations/en.d.ts +7 -206
  52. package/dist/translations/fr.d.ts +7 -206
  53. package/dist/translations/product-naming.spec.d.ts +1 -0
  54. package/dist/utils/project-link-wording.utils.d.ts +2 -2
  55. package/package.json +4 -4
  56. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +0 -14
  57. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/crepe-theme.d.ts +0 -7
  58. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/index.d.ts +0 -1
  59. package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +0 -3
  60. package/dist/legacy/components/PdfEditor/index.d.ts +0 -3
  61. package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +0 -10
  62. package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +0 -19
  63. package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +0 -12
  64. package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +0 -13
  65. package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +0 -10
  66. package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +0 -20
  67. package/dist/legacy/components/PdfEditor/tools/DrawTool.d.ts +0 -9
  68. package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +0 -9
  69. package/dist/legacy/components/PdfEditor/tools/RedactTool.d.ts +0 -8
  70. package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +0 -17
  71. package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +0 -15
  72. package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +0 -12
  73. package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +0 -44
  74. package/dist/legacy/components/PdfEditor/tools/tool-options-ui.d.ts +0 -5
  75. package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +0 -9
  76. package/dist/legacy/components/PdfEditor/viewer/InsertPagesDialog.d.ts +0 -10
  77. package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +0 -38
  78. package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +0 -15
  79. package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +0 -17
  80. package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +0 -26
  81. package/dist/legacy/components/PdfEditor/viewer/ViewerControls.d.ts +0 -21
  82. /package/dist/legacy/components/{Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.spec.d.ts → Support/support-service.logic.spec.d.ts} +0 -0
  83. /package/dist/legacy/{components/PdfEditor/signature/resolve-asset.spec.d.ts → legacy-editors-removed.spec.d.ts} +0 -0
@@ -36,9 +36,9 @@ export declare enum AccessLevel {
36
36
  Write = "write",
37
37
  Read = "read"
38
38
  }
39
- /** One member per product of the ecosystem; a tool is told apart by its icon, not by a color. */
39
+ /** One member per product or product feature of the ecosystem; a tool is told apart by its icon, not by a color. */
40
40
  export declare enum ToolKind {
41
- Main = "main",
41
+ Platform = "platform",
42
42
  Cloud = "cloud",
43
43
  Crypt = "crypt",
44
44
  Form = "form",
@@ -49,11 +49,14 @@ export declare enum ToolKind {
49
49
  Storage = "storage",
50
50
  Monitor = "monitor",
51
51
  Console = "console",
52
+ Workspace = "workspace",
52
53
  Atlas = "atlas",
53
54
  Board = "board",
54
55
  Draw = "draw",
55
56
  Retrospective = "retrospective",
57
+ Link = "link",
56
58
  ShortLink = "shortLink",
59
+ Flow = "flow",
57
60
  Beam = "beam",
58
61
  Extract = "extract"
59
62
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -12,209 +12,6 @@ declare const _default: {
12
12
  'section-shared': string;
13
13
  'section-organization': string;
14
14
  };
15
- 'pdf-editor': {
16
- toolbar: {
17
- 'change-file': string;
18
- select: string;
19
- text: string;
20
- draw: string;
21
- shape: string;
22
- highlight: string;
23
- redact: string;
24
- signature: string;
25
- eraser: string;
26
- 'fill-fields': string;
27
- insert: string;
28
- undo: string;
29
- redo: string;
30
- download: string;
31
- 'save-to-cloud': string;
32
- 'toggle-pages': string;
33
- document: string;
34
- aria: {
35
- tools: string;
36
- history: string;
37
- };
38
- };
39
- sidebar: {
40
- pages: string;
41
- };
42
- viewer: {
43
- 'zoom-in': string;
44
- 'zoom-out': string;
45
- 'fit-width': string;
46
- 'reset-zoom': string;
47
- 'prev-page': string;
48
- 'next-page': string;
49
- 'page-indicator': string;
50
- };
51
- insert: {
52
- 'image-device': string;
53
- 'image-cloud': string;
54
- 'saved-title': string;
55
- personal: string;
56
- button: string;
57
- reading: string;
58
- 'only-pdf': string;
59
- };
60
- 'insert-dialog': {
61
- title: string;
62
- helper: string;
63
- 'select-all': string;
64
- 'select-none': string;
65
- 'page-label': string;
66
- confirm: string;
67
- };
68
- action: {
69
- cancel: string;
70
- delete: string;
71
- };
72
- placement: {
73
- hint: string;
74
- cancel: string;
75
- };
76
- error: {
77
- 'load-failed': string;
78
- 'export-failed': string;
79
- 'try-another': string;
80
- };
81
- document: {
82
- 'blank-page': string;
83
- 'page-numbers': string;
84
- watermark: string;
85
- extract: string;
86
- compress: string;
87
- protect: string;
88
- };
89
- password: {
90
- title: string;
91
- help: string;
92
- label: string;
93
- confirm: string;
94
- };
95
- compress: {
96
- saved: string;
97
- 'already-optimal': string;
98
- };
99
- unlock: {
100
- title: string;
101
- help: string;
102
- confirm: string;
103
- wrong: string;
104
- };
105
- watermark: {
106
- title: string;
107
- label: string;
108
- apply: string;
109
- };
110
- extract: {
111
- title: string;
112
- confirm: string;
113
- };
114
- loading: string;
115
- text: {
116
- 'hint-short': string;
117
- placeholder: string;
118
- size: string;
119
- font: string;
120
- };
121
- draw: {
122
- color: string;
123
- width: string;
124
- 'custom-color': string;
125
- };
126
- shape: {
127
- kind: string;
128
- fill: string;
129
- 'fill-none': string;
130
- 'fill-on': string;
131
- };
132
- redact: {
133
- hint: string;
134
- warning: string;
135
- };
136
- signature: {
137
- 'placement-hint': string;
138
- 'add-hint': string;
139
- 'add-button': string;
140
- 'apply-all-pages': string;
141
- 'manage-assets': string;
142
- 'asset-load-failed': string;
143
- clear: string;
144
- 'picker-title': string;
145
- tabs: {
146
- draw: string;
147
- upload: string;
148
- saved: string;
149
- };
150
- save: {
151
- kind: string;
152
- name: string;
153
- scope: string;
154
- 'scope-personal': string;
155
- button: string;
156
- title: string;
157
- SIGNATURE: string;
158
- INITIALS: string;
159
- STAMP: string;
160
- error: string;
161
- };
162
- saved: {
163
- 'scope-label': string;
164
- scope: {
165
- personal: string;
166
- };
167
- group: {
168
- personal: string;
169
- organization: string;
170
- project: string;
171
- };
172
- kind: {
173
- all: string;
174
- SIGNATURE: string;
175
- INITIALS: string;
176
- STAMP: string;
177
- TEXT_BLOCK: string;
178
- };
179
- empty: string;
180
- };
181
- upload: {
182
- title: string;
183
- browse: string;
184
- replace: string;
185
- reading: string;
186
- 'max-size': string;
187
- error: {
188
- 'invalid-type': string;
189
- 'too-large': string;
190
- 'read-failed': string;
191
- };
192
- };
193
- draw: {
194
- title: string;
195
- helper: string;
196
- 'stroke-color': string;
197
- 'stroke-width': string;
198
- };
199
- use: string;
200
- };
201
- 'fill-fields': {
202
- empty: string;
203
- detected: string;
204
- flatten: string;
205
- 'flatten-hint': string;
206
- };
207
- page: {
208
- inserted: string;
209
- rotate: string;
210
- delete: string;
211
- 'confirm-delete': {
212
- title: string;
213
- description: string;
214
- confirm: string;
215
- };
216
- };
217
- };
218
15
  'quota-phrase': {
219
16
  held: string;
220
17
  monthly: string;
@@ -1263,7 +1060,7 @@ declare const _default: {
1263
1060
  'attachments-title': string;
1264
1061
  };
1265
1062
  service: {
1266
- ABYSS: string;
1063
+ ABYSS_PLATFORM: string;
1267
1064
  ABYSS_CLOUD: string;
1268
1065
  ABYSS_CRYPT: string;
1269
1066
  ABYSS_STORAGE: string;
@@ -1275,7 +1072,11 @@ declare const _default: {
1275
1072
  ABYSS_TRAINING: string;
1276
1073
  ABYSS_CONSOLE: string;
1277
1074
  ABYSS_GAME_ODYSSEY: string;
1278
- ABYSS_TOOLS: string;
1075
+ ABYSS_WORKSPACE: string;
1076
+ ABYSS_EXTRACT: string;
1077
+ ABYSS_BEAM: string;
1078
+ ABYSS_LINK: string;
1079
+ ABYSS_FLOW: string;
1279
1080
  };
1280
1081
  context: {
1281
1082
  extraction: {
@@ -1304,7 +1105,7 @@ declare const _default: {
1304
1105
  auth: {
1305
1106
  hero: {
1306
1107
  tagline: {
1307
- ABYSS: string;
1108
+ ABYSS_PLATFORM: string;
1308
1109
  ABYSS_CLOUD: string;
1309
1110
  ABYSS_MEMORIES: string;
1310
1111
  ABYSS_TRAINING: string;
@@ -12,209 +12,6 @@ declare const _default: {
12
12
  'section-shared': string;
13
13
  'section-organization': string;
14
14
  };
15
- 'pdf-editor': {
16
- toolbar: {
17
- 'change-file': string;
18
- select: string;
19
- text: string;
20
- draw: string;
21
- shape: string;
22
- highlight: string;
23
- redact: string;
24
- signature: string;
25
- eraser: string;
26
- 'fill-fields': string;
27
- insert: string;
28
- undo: string;
29
- redo: string;
30
- download: string;
31
- 'save-to-cloud': string;
32
- 'toggle-pages': string;
33
- document: string;
34
- aria: {
35
- tools: string;
36
- history: string;
37
- };
38
- };
39
- sidebar: {
40
- pages: string;
41
- };
42
- viewer: {
43
- 'zoom-in': string;
44
- 'zoom-out': string;
45
- 'fit-width': string;
46
- 'reset-zoom': string;
47
- 'prev-page': string;
48
- 'next-page': string;
49
- 'page-indicator': string;
50
- };
51
- insert: {
52
- 'image-device': string;
53
- 'image-cloud': string;
54
- 'saved-title': string;
55
- personal: string;
56
- button: string;
57
- reading: string;
58
- 'only-pdf': string;
59
- };
60
- 'insert-dialog': {
61
- title: string;
62
- helper: string;
63
- 'select-all': string;
64
- 'select-none': string;
65
- 'page-label': string;
66
- confirm: string;
67
- };
68
- action: {
69
- cancel: string;
70
- delete: string;
71
- };
72
- placement: {
73
- hint: string;
74
- cancel: string;
75
- };
76
- error: {
77
- 'load-failed': string;
78
- 'export-failed': string;
79
- 'try-another': string;
80
- };
81
- document: {
82
- 'blank-page': string;
83
- 'page-numbers': string;
84
- watermark: string;
85
- extract: string;
86
- compress: string;
87
- protect: string;
88
- };
89
- password: {
90
- title: string;
91
- help: string;
92
- label: string;
93
- confirm: string;
94
- };
95
- compress: {
96
- saved: string;
97
- 'already-optimal': string;
98
- };
99
- unlock: {
100
- title: string;
101
- help: string;
102
- confirm: string;
103
- wrong: string;
104
- };
105
- watermark: {
106
- title: string;
107
- label: string;
108
- apply: string;
109
- };
110
- extract: {
111
- title: string;
112
- confirm: string;
113
- };
114
- loading: string;
115
- text: {
116
- 'hint-short': string;
117
- placeholder: string;
118
- size: string;
119
- font: string;
120
- };
121
- draw: {
122
- color: string;
123
- width: string;
124
- 'custom-color': string;
125
- };
126
- shape: {
127
- kind: string;
128
- fill: string;
129
- 'fill-none': string;
130
- 'fill-on': string;
131
- };
132
- redact: {
133
- hint: string;
134
- warning: string;
135
- };
136
- signature: {
137
- 'placement-hint': string;
138
- 'add-hint': string;
139
- 'add-button': string;
140
- 'apply-all-pages': string;
141
- 'manage-assets': string;
142
- 'asset-load-failed': string;
143
- clear: string;
144
- 'picker-title': string;
145
- tabs: {
146
- draw: string;
147
- upload: string;
148
- saved: string;
149
- };
150
- save: {
151
- kind: string;
152
- name: string;
153
- scope: string;
154
- 'scope-personal': string;
155
- button: string;
156
- title: string;
157
- SIGNATURE: string;
158
- INITIALS: string;
159
- STAMP: string;
160
- error: string;
161
- };
162
- saved: {
163
- 'scope-label': string;
164
- scope: {
165
- personal: string;
166
- };
167
- group: {
168
- personal: string;
169
- organization: string;
170
- project: string;
171
- };
172
- kind: {
173
- all: string;
174
- SIGNATURE: string;
175
- INITIALS: string;
176
- STAMP: string;
177
- TEXT_BLOCK: string;
178
- };
179
- empty: string;
180
- };
181
- upload: {
182
- title: string;
183
- browse: string;
184
- replace: string;
185
- reading: string;
186
- 'max-size': string;
187
- error: {
188
- 'invalid-type': string;
189
- 'too-large': string;
190
- 'read-failed': string;
191
- };
192
- };
193
- draw: {
194
- title: string;
195
- helper: string;
196
- 'stroke-color': string;
197
- 'stroke-width': string;
198
- };
199
- use: string;
200
- };
201
- 'fill-fields': {
202
- empty: string;
203
- detected: string;
204
- flatten: string;
205
- 'flatten-hint': string;
206
- };
207
- page: {
208
- inserted: string;
209
- rotate: string;
210
- delete: string;
211
- 'confirm-delete': {
212
- title: string;
213
- description: string;
214
- confirm: string;
215
- };
216
- };
217
- };
218
15
  'quota-phrase': {
219
16
  held: string;
220
17
  monthly: string;
@@ -1281,7 +1078,7 @@ declare const _default: {
1281
1078
  'attachments-title': string;
1282
1079
  };
1283
1080
  service: {
1284
- ABYSS: string;
1081
+ ABYSS_PLATFORM: string;
1285
1082
  ABYSS_CLOUD: string;
1286
1083
  ABYSS_CRYPT: string;
1287
1084
  ABYSS_STORAGE: string;
@@ -1293,7 +1090,11 @@ declare const _default: {
1293
1090
  ABYSS_TRAINING: string;
1294
1091
  ABYSS_CONSOLE: string;
1295
1092
  ABYSS_GAME_ODYSSEY: string;
1296
- ABYSS_TOOLS: string;
1093
+ ABYSS_WORKSPACE: string;
1094
+ ABYSS_EXTRACT: string;
1095
+ ABYSS_BEAM: string;
1096
+ ABYSS_LINK: string;
1097
+ ABYSS_FLOW: string;
1297
1098
  };
1298
1099
  context: {
1299
1100
  extraction: {
@@ -1304,7 +1105,7 @@ declare const _default: {
1304
1105
  auth: {
1305
1106
  hero: {
1306
1107
  tagline: {
1307
- ABYSS: string;
1108
+ ABYSS_PLATFORM: string;
1308
1109
  ABYSS_CLOUD: string;
1309
1110
  ABYSS_MEMORIES: string;
1310
1111
  ABYSS_TRAINING: string;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,3 @@
1
- import { ABYSS_LINK } from '../legacy/components/Spotlight';
1
+ import { ProjectLinkMode } from '../legacy/components/Spotlight';
2
2
  import { ExistingTranslationKey } from '../hooks/use-rich-intl.hook';
3
- export declare const getAbyssLinkWording: (link: ABYSS_LINK) => ExistingTranslationKey;
3
+ export declare const getAbyssLinkWording: (link: ProjectLinkMode) => ExistingTranslationKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "11.1.2",
3
+ "version": "13.0.0",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -87,7 +87,7 @@
87
87
  "react-is": "^18.0.0 || ^19.0.0",
88
88
  "react-router-dom": "^6.15.0",
89
89
  "zustand": "^5.0.0",
90
- "@abyss-project/main": "25.0.0"
90
+ "@abyss-project/main": "26.1.1"
91
91
  },
92
92
  "peerDependenciesMeta": {
93
93
  "@abyss-project/capacitor-auth": {
@@ -99,7 +99,7 @@
99
99
  "@abyss-project/crypt": "^1.0.9",
100
100
  "@abyss-project/form": "^1.0.13",
101
101
  "@abyss-project/memories": "^1.0.12",
102
- "@abyss-project/monitor": "^16.2.0",
102
+ "@abyss-project/monitor": "^16.3.0",
103
103
  "@abyss-project/spotlight": "^1.4.0",
104
104
  "@abyss-project/storage": "^3.1.0",
105
105
  "@capacitor/clipboard": "^7.0.1",
@@ -137,7 +137,7 @@
137
137
  "use-debounce": "^10.0.5",
138
138
  "uuid": "^9.0.0",
139
139
  "yup": "^0.32.11",
140
- "@abyss-project/main": "25.0.0"
140
+ "@abyss-project/main": "26.1.1"
141
141
  },
142
142
  "devDependencies": {
143
143
  "@abyss-project/cloud": "^2.4.0",
@@ -1,14 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CrepeConfig } from '@milkdown/crepe';
3
- type Props = {
4
- placeholder?: string;
5
- defaultValue?: string;
6
- externalValue?: string;
7
- onChange?: (md: string) => void;
8
- readOnly?: boolean;
9
- onUploadFile?: (file: File) => Promise<string>;
10
- enableImageUpload?: boolean;
11
- enableFileUpload?: boolean;
12
- } & CrepeConfig;
13
- declare const AbyssMarkdownEditor: React.FC<Props>;
14
- export default AbyssMarkdownEditor;
@@ -1,7 +0,0 @@
1
- import { Theme } from '@mui/material';
2
- /**
3
- * Crepe (Milkdown) reads its whole palette from `--crepe-*` CSS custom properties. Every color is
4
- * taken from the host's MUI theme, so the editor follows the light and dark palettes instead of
5
- * painting a fixed dark surface with near-white text.
6
- */
7
- export declare const crepeThemeVars: (theme: Theme) => Record<string, string>;
@@ -1 +0,0 @@
1
- export { default as AbyssMarkdownEditor } from './AbyssMarkdownEditor.component';
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { PdfEditorProps } from '../../../components/editors/PdfEditor/engine/types';
3
- export declare const PdfEditor: React.FC<PdfEditorProps>;
@@ -1,3 +0,0 @@
1
- export { PdfEditor } from './PdfEditor';
2
- export { PdfOperationType } from '../../../components/editors/PdfEditor/engine/types';
3
- export type { PdfEditorProps, PdfOperation, ExportRequest, ExportOption, PdfSource, PdfEditorMode, AcroFormField, AssetPalette, AssetPaletteItem, AssetPaletteOrgBucket, AssetPaletteProjectBucket, SaveSignatureFn, OperationsAdapter, } from '../../../components/editors/PdfEditor/engine/types';
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AssetPalette, SaveSignatureFn } from '../../../../components/editors/PdfEditor/engine/types';
3
- interface SignatureDrawCanvasProps {
4
- onCapture: (dataUrl: string) => void;
5
- onCancel: () => void;
6
- onSave?: SaveSignatureFn;
7
- assetPalette?: AssetPalette;
8
- }
9
- export declare const SignatureDrawCanvas: React.FC<SignatureDrawCanvasProps>;
10
- export {};
@@ -1,19 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AssetPalette, SaveSignatureFn } from '../../../../components/editors/PdfEditor/engine/types';
3
- import { ResolveAssetBytes } from './resolve-asset';
4
- interface SignaturePickerProps {
5
- open: boolean;
6
- onClose: () => void;
7
- onCapture: (dataUrl: string) => void;
8
- /** Called when the user picks a TEXT_BLOCK asset — receives raw text so the
9
- * host can switch to text-placement mode rather than image insertion. */
10
- onCaptureText?: (text: string) => void;
11
- assetPalette?: AssetPalette;
12
- onSaveSignature?: SaveSignatureFn;
13
- resolveAssetBytes?: ResolveAssetBytes;
14
- onAssetError?: (message: string) => void;
15
- /** Optional URL to the host's "manage assets" page (Account → Assets). */
16
- manageAssetsUrl?: string;
17
- }
18
- export declare const SignaturePicker: React.FC<SignaturePickerProps>;
19
- export {};
@@ -1,12 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AssetPalette, SaveSignatureFn } from '../../../../components/editors/PdfEditor/engine/types';
3
- interface SignatureSaveButtonProps {
4
- dataUrl: string | null;
5
- onSave: SaveSignatureFn;
6
- /** When provided and it contains at least one org bucket, a scope picker
7
- * appears in the save dialog so the user can target a personal OR an
8
- * organization asset. */
9
- assetPalette?: AssetPalette;
10
- }
11
- export declare const SignatureSaveButton: React.FC<SignatureSaveButtonProps>;
12
- export {};
@@ -1,13 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AssetPalette } from '../../../../components/editors/PdfEditor/engine/types';
3
- import { ResolveAssetBytes } from './resolve-asset';
4
- interface SignatureSavedListProps {
5
- palette: AssetPalette;
6
- onPick: (dataUrl: string) => void;
7
- onPickText?: (text: string) => void;
8
- onClose: () => void;
9
- resolveAssetBytes?: ResolveAssetBytes;
10
- onAssetError?: (message: string) => void;
11
- }
12
- export declare const SignatureSavedList: React.FC<SignatureSavedListProps>;
13
- export {};
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AssetPalette, SaveSignatureFn } from '../../../../components/editors/PdfEditor/engine/types';
3
- interface SignatureUploadDropzoneProps {
4
- onCapture: (dataUrl: string) => void;
5
- onCancel: () => void;
6
- onSave?: SaveSignatureFn;
7
- assetPalette?: AssetPalette;
8
- }
9
- export declare const SignatureUploadDropzone: React.FC<SignatureUploadDropzoneProps>;
10
- export {};
@@ -1,20 +0,0 @@
1
- import { AssetPaletteItem } from '../../../../components/editors/PdfEditor/engine/types';
2
- /**
3
- * Host-provided resolver that returns a usable data URL for a server-stored
4
- * asset. Authenticated hosts implement this via a presigned download so it works
5
- * cross-origin (a bare `fetch` of the storage public-access URL is CORS-blocked
6
- * even though an `<img>` of the same URL renders fine).
7
- */
8
- export type ResolveAssetBytes = (item: AssetPaletteItem) => Promise<string>;
9
- /**
10
- * Resolve an asset palette item to a data URL ready to embed.
11
- *
12
- * - Prefers the host `resolver` (authenticated, cross-origin safe).
13
- * - Falls back to a direct `fetch` of `downloadUrl` — correct for same-origin or
14
- * `data:` URLs (e.g. anonymous local signatures), which is why anonymous mode
15
- * works without a resolver.
16
- *
17
- * Throws on failure so callers can surface a visible error instead of silently
18
- * doing nothing.
19
- */
20
- export declare const resolveAssetDataUrl: (item: AssetPaletteItem, resolver?: ResolveAssetBytes) => Promise<string>;