@fiduswriter/frontend 0.1.57 → 0.1.59

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.
package/package.json CHANGED
@@ -1,308 +1,309 @@
1
1
  {
2
- "name": "@fiduswriter/frontend",
3
- "version": "0.1.57",
4
- "description": "Fidus Writer-specific shared utilities and UI chrome",
5
- "keywords": [
6
- "fiduswriter",
7
- "frontend",
8
- "spa",
9
- "router",
10
- "ui",
11
- "browser"
12
- ],
13
- "homepage": "https://git.fiduswriter.org/fiduswriter/fiduswriter-frontend-ts",
14
- "bugs": {
15
- "url": "https://git.fiduswriter.org/fiduswriter/fiduswriter-frontend-ts/issues"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "https://git.fiduswriter.org/fiduswriter/fiduswriter-frontend-ts.git"
20
- },
21
- "license": "AGPL-3.0",
22
- "author": "Johannes Wilm",
23
- "type": "module",
24
- "main": "./dist/index.js",
25
- "types": "./dist/index.d.ts",
26
- "exports": {
27
- ".": {
28
- "types": "./dist/index.d.ts",
29
- "default": "./dist/index.js"
30
- },
31
- "./common": {
32
- "types": "./dist/common/index.d.ts",
33
- "default": "./dist/common/index.js"
34
- },
35
- "./feedback": {
36
- "types": "./dist/feedback/index.d.ts",
37
- "default": "./dist/feedback/index.js"
38
- },
39
- "./menu": {
40
- "types": "./dist/menu/index.d.ts",
41
- "default": "./dist/menu/index.js"
42
- },
43
- "./indexed_db": {
44
- "types": "./dist/indexed_db/index.d.ts",
45
- "default": "./dist/indexed_db/index.js"
46
- },
47
- "./prelogin": {
48
- "types": "./dist/prelogin/index.d.ts",
49
- "default": "./dist/prelogin/index.js"
50
- },
51
- "./prelogin/templates": {
52
- "types": "./dist/prelogin/templates.d.ts",
53
- "default": "./dist/prelogin/templates.js"
54
- },
55
- "./pages/404": {
56
- "types": "./dist/pages/404.d.ts",
57
- "default": "./dist/pages/404.js"
58
- },
59
- "./pages/offline": {
60
- "types": "./dist/pages/offline.d.ts",
61
- "default": "./dist/pages/offline.js"
62
- },
63
- "./pages/setup": {
64
- "types": "./dist/pages/setup.d.ts",
65
- "default": "./dist/pages/setup.js"
66
- },
67
- "./pages/flatpage": {
68
- "types": "./dist/pages/flatpage.d.ts",
69
- "default": "./dist/pages/flatpage.js"
70
- },
71
- "./admin_console": {
72
- "types": "./dist/admin_console/index.d.ts",
73
- "default": "./dist/admin_console/index.js"
74
- },
75
- "./error_hook": {
76
- "types": "./dist/error_hook/index.d.ts",
77
- "default": "./dist/error_hook/index.js"
78
- },
79
- "./documents/overview": {
80
- "types": "./dist/documents/overview/index.d.ts",
81
- "default": "./dist/documents/overview/index.js"
82
- },
83
- "./documents/tools": {
84
- "types": "./dist/documents/tools.d.ts",
85
- "default": "./dist/documents/tools.js"
86
- },
87
- "./documents/importer/register": {
88
- "types": "./dist/documents/importer/register.d.ts",
89
- "default": "./dist/documents/importer/register.js"
90
- },
91
- "./documents/importer/native": {
92
- "types": "./dist/documents/importer/native/index.d.ts",
93
- "default": "./dist/documents/importer/native/index.js"
94
- },
95
- "./documents/importer/native/import": {
96
- "types": "./dist/documents/importer/native/import.d.ts",
97
- "default": "./dist/documents/importer/native/import.js"
98
- },
99
- "./documents/importer/native/file": {
100
- "types": "./dist/documents/importer/native/file.d.ts",
101
- "default": "./dist/documents/importer/native/file.js"
102
- },
103
- "./documents/importer/docx": {
104
- "types": "./dist/documents/importer/docx/index.d.ts",
105
- "default": "./dist/documents/importer/docx/index.js"
106
- },
107
- "./documents/importer/odt": {
108
- "types": "./dist/documents/importer/odt/index.d.ts",
109
- "default": "./dist/documents/importer/odt/index.js"
110
- },
111
- "./documents/importer/pandoc": {
112
- "types": "./dist/documents/importer/pandoc/index.d.ts",
113
- "default": "./dist/documents/importer/pandoc/index.js"
114
- },
115
- "./documents/revisions": {
116
- "types": "./dist/documents/revisions/index.d.ts",
117
- "default": "./dist/documents/revisions/index.js"
118
- },
119
- "./user/profile": {
120
- "types": "./dist/user/profile/index.d.ts",
121
- "default": "./dist/user/profile/index.js"
122
- },
123
- "./user/auth/login": {
124
- "types": "./dist/user/auth/login.d.ts",
125
- "default": "./dist/user/auth/login.js"
126
- },
127
- "./user/auth/signup": {
128
- "types": "./dist/user/auth/signup.d.ts",
129
- "default": "./dist/user/auth/signup.js"
130
- },
131
- "./user/auth/password-reset": {
132
- "types": "./dist/user/auth/password_reset_request.d.ts",
133
- "default": "./dist/user/auth/password_reset_request.js"
134
- },
135
- "./user/auth/password-reset-change": {
136
- "types": "./dist/user/auth/password_reset_change.d.ts",
137
- "default": "./dist/user/auth/password_reset_change.js"
138
- },
139
- "./user/auth/email-confirm": {
140
- "types": "./dist/user/auth/email_confirm.d.ts",
141
- "default": "./dist/user/auth/email_confirm.js"
142
- },
143
- "./user/auth/two-factor": {
144
- "types": "./dist/user/auth/two_factor.d.ts",
145
- "default": "./dist/user/auth/two_factor.js"
146
- },
147
- "./user/contacts": {
148
- "types": "./dist/user/contacts/index.d.ts",
149
- "default": "./dist/user/contacts/index.js"
150
- },
151
- "./user/contacts/add_dialog": {
152
- "types": "./dist/user/contacts/add_dialog.d.ts",
153
- "default": "./dist/user/contacts/add_dialog.js"
154
- },
155
- "./document_templates": {
156
- "types": "./dist/document_templates/index.d.ts",
157
- "default": "./dist/document_templates/index.js"
158
- },
159
- "./document_templates/overview": {
160
- "types": "./dist/document_templates/overview.d.ts",
161
- "default": "./dist/document_templates/overview.js"
162
- },
163
- "./document_templates/editor": {
164
- "types": "./dist/document_templates/editor.d.ts",
165
- "default": "./dist/document_templates/editor.js"
166
- },
167
- "./maintenance": {
168
- "types": "./dist/maintenance/index.d.ts",
169
- "default": "./dist/maintenance/index.js"
170
- },
171
- "./workers/adjust-doc": {
172
- "types": "./dist/workers/adjust_doc_to_template.d.ts",
173
- "default": "./dist/workers/adjust_doc_to_template.js"
174
- },
175
- "./app": {
176
- "types": "./dist/app/index.d.ts",
177
- "default": "./dist/app/index.js"
178
- },
179
- "./api": {
180
- "types": "./dist/api/index.d.ts",
181
- "default": "./dist/api/index.js"
182
- },
183
- "./i18n": {
184
- "types": "./dist/i18n/index.d.ts",
185
- "default": "./dist/i18n/index.js"
186
- }
187
- },
188
- "files": [
189
- "dist/",
190
- "css/",
191
- "static/",
192
- "scripts/",
193
- "src/",
194
- "locale/*/messages.json",
195
- "README.md",
196
- "LICENSE",
197
- "logo.svg"
198
- ],
199
- "scripts": {
200
- "build": "tsc && node scripts/aggregate-assets.js",
201
- "prepare": "npm run build",
202
- "prepublishOnly": "npm run build",
203
- "typecheck": "tsc --noEmit",
204
- "lint": "eslint src",
205
- "lint:fix": "eslint src --fix",
206
- "format": "prettier --write .",
207
- "format:check": "prettier --check .",
208
- "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.js",
209
- "install-hooks": "husky",
210
- "postinstall": "node scripts/aggregate-assets.js"
211
- },
212
- "dependencies": {
213
- "@fiduswriter/bibliography-manager": "^0.1.33",
214
- "@fiduswriter/document": "^0.3.16",
215
- "@fiduswriter/document-template-editor": "^0.1.21",
216
- "@fiduswriter/editor": "^0.2.25",
217
- "@fiduswriter/image-manager": "^0.1.28",
218
- "downloadjs": "^1.4.7",
219
- "fwtoolkit": "^0.2.26",
220
- "jszip": "^3.10.1",
221
- "prosemirror-history": "^1.3.2",
222
- "prosemirror-keymap": "^1.2.2",
223
- "prosemirror-model": "^1.25.0",
224
- "prosemirror-state": "^1.4.3",
225
- "prosemirror-view": "^1.38.1",
226
- "qrcode": "^1.5.3",
227
- "stacktrace-js": "^2.0.2",
228
- "w3c-keyname": "2.2.8"
229
- },
230
- "devDependencies": {
231
- "@eslint/js": "^10.0.1",
232
- "@swc/core": "^1.16.1",
233
- "@swc/jest": "^0.2.39",
234
- "@types/downloadjs": "^1.4.6",
235
- "@types/jest": "^30.0.0",
236
- "@types/qrcode": "^1.5.6",
237
- "@typescript/native": "npm:typescript@^7.0.2",
238
- "eslint": "^10.6.0",
239
- "gettext-parser": "^9.1.1",
240
- "globals": "^15.15.0",
241
- "happy-dom": "^20.10.6",
242
- "husky": "^9.1.7",
243
- "jest": "^30.4.2",
244
- "lint-staged": "^17.0.8",
245
- "prettier": "^3.5.3",
246
- "typescript": "npm:@typescript/typescript6@^6.0.2",
247
- "typescript-eslint": "^8.67.0"
248
- },
249
- "fiduswriter": {
250
- "css": {
251
- "fwtoolkit": [
252
- "reset.css",
253
- "colors.css",
254
- "forms.css",
255
- "buttons.css",
256
- "dialog.css",
257
- "loader.css",
258
- "alerts.css",
259
- "pulldown.css",
260
- "data_table.css",
261
- "overview_menu.css",
262
- "progress_task.css",
263
- "ui_tabs.css",
264
- "content_menu.css",
265
- "dialog_table.css",
266
- "common.css",
267
- "drop_up.css",
268
- "faq_dialog.css",
269
- "file_selector.css",
270
- "inline_tools.css",
271
- "input_list.css",
272
- "two_pane_selector.css",
273
- "type_switch.css",
274
- "checkable_list.css",
275
- "pulldown_menu.css",
276
- "add_remove_dialog.css"
277
- ],
278
- "own": {
279
- "additive": [
280
- "colors.css"
2
+ "name": "@fiduswriter/frontend",
3
+ "version": "0.1.59",
4
+ "description": "Fidus Writer-specific shared utilities and UI chrome",
5
+ "keywords": [
6
+ "fiduswriter",
7
+ "frontend",
8
+ "spa",
9
+ "router",
10
+ "ui",
11
+ "browser"
12
+ ],
13
+ "homepage": "https://git.fiduswriter.org/fiduswriter/fiduswriter-frontend-ts",
14
+ "bugs": {
15
+ "url": "https://git.fiduswriter.org/fiduswriter/fiduswriter-frontend-ts/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://git.fiduswriter.org/fiduswriter/fiduswriter-frontend-ts.git"
20
+ },
21
+ "license": "AGPL-3.0",
22
+ "author": "Johannes Wilm",
23
+ "type": "module",
24
+ "main": "./dist/index.js",
25
+ "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "default": "./dist/index.js"
30
+ },
31
+ "./common": {
32
+ "types": "./dist/common/index.d.ts",
33
+ "default": "./dist/common/index.js"
34
+ },
35
+ "./feedback": {
36
+ "types": "./dist/feedback/index.d.ts",
37
+ "default": "./dist/feedback/index.js"
38
+ },
39
+ "./menu": {
40
+ "types": "./dist/menu/index.d.ts",
41
+ "default": "./dist/menu/index.js"
42
+ },
43
+ "./indexed_db": {
44
+ "types": "./dist/indexed_db/index.d.ts",
45
+ "default": "./dist/indexed_db/index.js"
46
+ },
47
+ "./prelogin": {
48
+ "types": "./dist/prelogin/index.d.ts",
49
+ "default": "./dist/prelogin/index.js"
50
+ },
51
+ "./prelogin/templates": {
52
+ "types": "./dist/prelogin/templates.d.ts",
53
+ "default": "./dist/prelogin/templates.js"
54
+ },
55
+ "./pages/404": {
56
+ "types": "./dist/pages/404.d.ts",
57
+ "default": "./dist/pages/404.js"
58
+ },
59
+ "./pages/offline": {
60
+ "types": "./dist/pages/offline.d.ts",
61
+ "default": "./dist/pages/offline.js"
62
+ },
63
+ "./pages/setup": {
64
+ "types": "./dist/pages/setup.d.ts",
65
+ "default": "./dist/pages/setup.js"
66
+ },
67
+ "./pages/flatpage": {
68
+ "types": "./dist/pages/flatpage.d.ts",
69
+ "default": "./dist/pages/flatpage.js"
70
+ },
71
+ "./admin_console": {
72
+ "types": "./dist/admin_console/index.d.ts",
73
+ "default": "./dist/admin_console/index.js"
74
+ },
75
+ "./error_hook": {
76
+ "types": "./dist/error_hook/index.d.ts",
77
+ "default": "./dist/error_hook/index.js"
78
+ },
79
+ "./documents/overview": {
80
+ "types": "./dist/documents/overview/index.d.ts",
81
+ "default": "./dist/documents/overview/index.js"
82
+ },
83
+ "./documents/tools": {
84
+ "types": "./dist/documents/tools.d.ts",
85
+ "default": "./dist/documents/tools.js"
86
+ },
87
+ "./documents/importer/register": {
88
+ "types": "./dist/documents/importer/register.d.ts",
89
+ "default": "./dist/documents/importer/register.js"
90
+ },
91
+ "./documents/importer/native": {
92
+ "types": "./dist/documents/importer/native/index.d.ts",
93
+ "default": "./dist/documents/importer/native/index.js"
94
+ },
95
+ "./documents/importer/native/import": {
96
+ "types": "./dist/documents/importer/native/import.d.ts",
97
+ "default": "./dist/documents/importer/native/import.js"
98
+ },
99
+ "./documents/importer/native/file": {
100
+ "types": "./dist/documents/importer/native/file.d.ts",
101
+ "default": "./dist/documents/importer/native/file.js"
102
+ },
103
+ "./documents/importer/docx": {
104
+ "types": "./dist/documents/importer/docx/index.d.ts",
105
+ "default": "./dist/documents/importer/docx/index.js"
106
+ },
107
+ "./documents/importer/odt": {
108
+ "types": "./dist/documents/importer/odt/index.d.ts",
109
+ "default": "./dist/documents/importer/odt/index.js"
110
+ },
111
+ "./documents/importer/pandoc": {
112
+ "types": "./dist/documents/importer/pandoc/index.d.ts",
113
+ "default": "./dist/documents/importer/pandoc/index.js"
114
+ },
115
+ "./documents/revisions": {
116
+ "types": "./dist/documents/revisions/index.d.ts",
117
+ "default": "./dist/documents/revisions/index.js"
118
+ },
119
+ "./user/profile": {
120
+ "types": "./dist/user/profile/index.d.ts",
121
+ "default": "./dist/user/profile/index.js"
122
+ },
123
+ "./user/auth/login": {
124
+ "types": "./dist/user/auth/login.d.ts",
125
+ "default": "./dist/user/auth/login.js"
126
+ },
127
+ "./user/auth/signup": {
128
+ "types": "./dist/user/auth/signup.d.ts",
129
+ "default": "./dist/user/auth/signup.js"
130
+ },
131
+ "./user/auth/password-reset": {
132
+ "types": "./dist/user/auth/password_reset_request.d.ts",
133
+ "default": "./dist/user/auth/password_reset_request.js"
134
+ },
135
+ "./user/auth/password-reset-change": {
136
+ "types": "./dist/user/auth/password_reset_change.d.ts",
137
+ "default": "./dist/user/auth/password_reset_change.js"
138
+ },
139
+ "./user/auth/email-confirm": {
140
+ "types": "./dist/user/auth/email_confirm.d.ts",
141
+ "default": "./dist/user/auth/email_confirm.js"
142
+ },
143
+ "./user/auth/two-factor": {
144
+ "types": "./dist/user/auth/two_factor.d.ts",
145
+ "default": "./dist/user/auth/two_factor.js"
146
+ },
147
+ "./user/contacts": {
148
+ "types": "./dist/user/contacts/index.d.ts",
149
+ "default": "./dist/user/contacts/index.js"
150
+ },
151
+ "./user/contacts/add_dialog": {
152
+ "types": "./dist/user/contacts/add_dialog.d.ts",
153
+ "default": "./dist/user/contacts/add_dialog.js"
154
+ },
155
+ "./document_templates": {
156
+ "types": "./dist/document_templates/index.d.ts",
157
+ "default": "./dist/document_templates/index.js"
158
+ },
159
+ "./document_templates/overview": {
160
+ "types": "./dist/document_templates/overview.d.ts",
161
+ "default": "./dist/document_templates/overview.js"
162
+ },
163
+ "./document_templates/editor": {
164
+ "types": "./dist/document_templates/editor.d.ts",
165
+ "default": "./dist/document_templates/editor.js"
166
+ },
167
+ "./maintenance": {
168
+ "types": "./dist/maintenance/index.d.ts",
169
+ "default": "./dist/maintenance/index.js"
170
+ },
171
+ "./workers/adjust-doc": {
172
+ "types": "./dist/workers/adjust_doc_to_template.d.ts",
173
+ "default": "./dist/workers/adjust_doc_to_template.js"
174
+ },
175
+ "./app": {
176
+ "types": "./dist/app/index.d.ts",
177
+ "default": "./dist/app/index.js"
178
+ },
179
+ "./api": {
180
+ "types": "./dist/api/index.d.ts",
181
+ "default": "./dist/api/index.js"
182
+ },
183
+ "./i18n": {
184
+ "types": "./dist/i18n/index.d.ts",
185
+ "default": "./dist/i18n/index.js"
186
+ }
187
+ },
188
+ "files": [
189
+ "dist/",
190
+ "css/",
191
+ "static/",
192
+ "scripts/",
193
+ "src/",
194
+ "locale/*/messages.json",
195
+ "README.md",
196
+ "LICENSE",
197
+ "logo.svg"
198
+ ],
199
+ "scripts": {
200
+ "build": "tsc && node scripts/aggregate-assets.js",
201
+ "prepare": "npm run build",
202
+ "prepublishOnly": "npm run build",
203
+ "typecheck": "tsc --noEmit",
204
+ "lint": "eslint src",
205
+ "lint:fix": "eslint src --fix",
206
+ "format": "prettier --write .",
207
+ "format:check": "prettier --check .",
208
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.js",
209
+ "install-hooks": "husky",
210
+ "postinstall": "node scripts/aggregate-assets.js"
211
+ },
212
+ "dependencies": {
213
+ "@fiduswriter/bibliography-manager": "^0.1.34",
214
+ "@fiduswriter/document": "^0.3.17",
215
+ "@fiduswriter/document-template-editor": "^0.1.21",
216
+ "@fiduswriter/editor": "^0.2.28",
217
+ "@fiduswriter/image-manager": "^0.1.28",
218
+ "downloadjs": "^1.4.7",
219
+ "fwtoolkit": "^0.2.26",
220
+ "jszip": "^3.10.1",
221
+ "prosemirror-history": "^1.3.2",
222
+ "prosemirror-keymap": "^1.2.2",
223
+ "prosemirror-model": "^1.25.0",
224
+ "prosemirror-state": "^1.4.3",
225
+ "prosemirror-view": "^1.38.1",
226
+ "qrcode": "^1.5.3",
227
+ "stacktrace-js": "^2.0.2",
228
+ "w3c-keyname": "2.2.8",
229
+ "fast-deep-equal": "^3.1.3"
230
+ },
231
+ "devDependencies": {
232
+ "@eslint/js": "^10.0.1",
233
+ "@swc/core": "^1.16.1",
234
+ "@swc/jest": "^0.2.39",
235
+ "@types/downloadjs": "^1.4.6",
236
+ "@types/jest": "^30.0.0",
237
+ "@types/qrcode": "^1.5.6",
238
+ "@typescript/native": "npm:typescript@^7.0.2",
239
+ "eslint": "^10.6.0",
240
+ "gettext-parser": "^9.1.1",
241
+ "globals": "^15.15.0",
242
+ "happy-dom": "^20.10.6",
243
+ "husky": "^9.1.7",
244
+ "jest": "^30.4.2",
245
+ "lint-staged": "^17.0.8",
246
+ "prettier": "^3.5.3",
247
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
248
+ "typescript-eslint": "^8.67.0"
249
+ },
250
+ "fiduswriter": {
251
+ "css": {
252
+ "fwtoolkit": [
253
+ "reset.css",
254
+ "colors.css",
255
+ "forms.css",
256
+ "buttons.css",
257
+ "dialog.css",
258
+ "loader.css",
259
+ "alerts.css",
260
+ "pulldown.css",
261
+ "data_table.css",
262
+ "overview_menu.css",
263
+ "progress_task.css",
264
+ "ui_tabs.css",
265
+ "content_menu.css",
266
+ "dialog_table.css",
267
+ "common.css",
268
+ "drop_up.css",
269
+ "faq_dialog.css",
270
+ "file_selector.css",
271
+ "inline_tools.css",
272
+ "input_list.css",
273
+ "two_pane_selector.css",
274
+ "type_switch.css",
275
+ "checkable_list.css",
276
+ "pulldown_menu.css",
277
+ "add_remove_dialog.css"
278
+ ],
279
+ "own": {
280
+ "additive": [
281
+ "colors.css"
282
+ ],
283
+ "component": [
284
+ "fonts.css",
285
+ "header_menu.css",
286
+ "admin.css",
287
+ "flatpage.css",
288
+ "prelogin.css",
289
+ "document_overview.css",
290
+ "document_template_admin.css",
291
+ "show_profile.css",
292
+ "two_factor.css",
293
+ "feedback.css",
294
+ "user_template_manager.css",
295
+ "errorlist.css"
296
+ ]
297
+ }
298
+ }
299
+ },
300
+ "lint-staged": {
301
+ "*.{ts,js,mjs,css,md,json,html}": [
302
+ "prettier --write"
281
303
  ],
282
- "component": [
283
- "fonts.css",
284
- "header_menu.css",
285
- "admin.css",
286
- "flatpage.css",
287
- "prelogin.css",
288
- "document_overview.css",
289
- "document_template_admin.css",
290
- "show_profile.css",
291
- "two_factor.css",
292
- "feedback.css",
293
- "user_template_manager.css",
294
- "errorlist.css"
304
+ "*.{ts,js,mjs}": [
305
+ "eslint --fix",
306
+ "sh -c 'npm run typecheck'"
295
307
  ]
296
- }
297
308
  }
298
- },
299
- "lint-staged": {
300
- "*.{ts,js,mjs,css,md,json,html}": [
301
- "prettier --write"
302
- ],
303
- "*.{ts,js,mjs}": [
304
- "eslint --fix",
305
- "sh -c 'npm run typecheck'"
306
- ]
307
- }
308
309
  }