@editora/plugins 1.0.8 → 1.0.9
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/LICENSE +21 -0
- package/README.md +22 -0
- package/dist/approval-workflow.cjs.js +447 -0
- package/dist/approval-workflow.esm.js +1070 -0
- package/dist/blocks-library.cjs.js +442 -0
- package/dist/blocks-library.esm.js +1317 -0
- package/dist/citations.cjs.js +548 -0
- package/dist/citations.esm.js +1457 -0
- package/dist/conditional-content.cjs.js +626 -0
- package/dist/conditional-content.esm.js +1360 -0
- package/dist/content-rules.cjs.js +408 -0
- package/dist/content-rules.esm.js +1093 -0
- package/dist/data-binding.cjs.js +321 -0
- package/dist/data-binding.esm.js +913 -0
- package/dist/doc-schema.cjs.js +398 -0
- package/dist/doc-schema.esm.js +1310 -0
- package/dist/enterprise.cjs.js +1 -0
- package/dist/enterprise.esm.js +56 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +109 -81
- package/dist/mentions.cjs.js +105 -0
- package/dist/mentions.esm.js +726 -0
- package/dist/page-break.cjs.js +2 -2
- package/dist/page-break.esm.js +32 -32
- package/dist/pii-redaction.cjs.js +436 -0
- package/dist/pii-redaction.esm.js +1377 -0
- package/dist/preview.cjs.js +3 -3
- package/dist/preview.esm.js +29 -29
- package/dist/slash-commands.cjs.js +90 -0
- package/dist/slash-commands.esm.js +752 -0
- package/dist/smart-paste.cjs.js +398 -0
- package/dist/smart-paste.esm.js +1388 -0
- package/dist/track-changes.cjs.js +77 -0
- package/dist/track-changes.esm.js +755 -0
- package/dist/translation-workflow.cjs.js +626 -0
- package/dist/translation-workflow.esm.js +1718 -0
- package/dist/version-diff.cjs.js +362 -0
- package/dist/version-diff.esm.js +768 -0
- package/index.d.ts +798 -0
- package/package.json +104 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@editora/plugins",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "40+ Free Premium Plugins for Editora Rich Text Editor. Table editor, code formatting, accessibility, math, media, and more. Free enterprise plugin collection.",
|
|
5
5
|
"author": "Ajay Kumar <ajaykr089@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,6 +54,12 @@
|
|
|
54
54
|
"require": "./dist/lite.cjs.js",
|
|
55
55
|
"default": "./dist/lite.esm.js"
|
|
56
56
|
},
|
|
57
|
+
"./enterprise": {
|
|
58
|
+
"types": "./index.d.ts",
|
|
59
|
+
"import": "./dist/enterprise.esm.js",
|
|
60
|
+
"require": "./dist/enterprise.cjs.js",
|
|
61
|
+
"default": "./dist/enterprise.esm.js"
|
|
62
|
+
},
|
|
57
63
|
"./shared-config": {
|
|
58
64
|
"types": "./index.d.ts",
|
|
59
65
|
"import": "./dist/shared-config.esm.js",
|
|
@@ -72,6 +78,24 @@
|
|
|
72
78
|
"require": "./dist/anchor.cjs.js",
|
|
73
79
|
"default": "./dist/anchor.esm.js"
|
|
74
80
|
},
|
|
81
|
+
"./approval-workflow": {
|
|
82
|
+
"types": "./index.d.ts",
|
|
83
|
+
"import": "./dist/approval-workflow.esm.js",
|
|
84
|
+
"require": "./dist/approval-workflow.cjs.js",
|
|
85
|
+
"default": "./dist/approval-workflow.esm.js"
|
|
86
|
+
},
|
|
87
|
+
"./pii-redaction": {
|
|
88
|
+
"types": "./index.d.ts",
|
|
89
|
+
"import": "./dist/pii-redaction.esm.js",
|
|
90
|
+
"require": "./dist/pii-redaction.cjs.js",
|
|
91
|
+
"default": "./dist/pii-redaction.esm.js"
|
|
92
|
+
},
|
|
93
|
+
"./smart-paste": {
|
|
94
|
+
"types": "./index.d.ts",
|
|
95
|
+
"import": "./dist/smart-paste.esm.js",
|
|
96
|
+
"require": "./dist/smart-paste.cjs.js",
|
|
97
|
+
"default": "./dist/smart-paste.esm.js"
|
|
98
|
+
},
|
|
75
99
|
"./background-color": {
|
|
76
100
|
"types": "./index.d.ts",
|
|
77
101
|
"import": "./dist/background-color.esm.js",
|
|
@@ -84,6 +108,12 @@
|
|
|
84
108
|
"require": "./dist/blockquote.cjs.js",
|
|
85
109
|
"default": "./dist/blockquote.esm.js"
|
|
86
110
|
},
|
|
111
|
+
"./blocks-library": {
|
|
112
|
+
"types": "./index.d.ts",
|
|
113
|
+
"import": "./dist/blocks-library.esm.js",
|
|
114
|
+
"require": "./dist/blocks-library.cjs.js",
|
|
115
|
+
"default": "./dist/blocks-library.esm.js"
|
|
116
|
+
},
|
|
87
117
|
"./bold": {
|
|
88
118
|
"types": "./index.d.ts",
|
|
89
119
|
"import": "./dist/bold.esm.js",
|
|
@@ -96,6 +126,42 @@
|
|
|
96
126
|
"require": "./dist/capitalization.cjs.js",
|
|
97
127
|
"default": "./dist/capitalization.esm.js"
|
|
98
128
|
},
|
|
129
|
+
"./conditional-content": {
|
|
130
|
+
"types": "./index.d.ts",
|
|
131
|
+
"import": "./dist/conditional-content.esm.js",
|
|
132
|
+
"require": "./dist/conditional-content.cjs.js",
|
|
133
|
+
"default": "./dist/conditional-content.esm.js"
|
|
134
|
+
},
|
|
135
|
+
"./content-rules": {
|
|
136
|
+
"types": "./index.d.ts",
|
|
137
|
+
"import": "./dist/content-rules.esm.js",
|
|
138
|
+
"require": "./dist/content-rules.cjs.js",
|
|
139
|
+
"default": "./dist/content-rules.esm.js"
|
|
140
|
+
},
|
|
141
|
+
"./citations": {
|
|
142
|
+
"types": "./index.d.ts",
|
|
143
|
+
"import": "./dist/citations.esm.js",
|
|
144
|
+
"require": "./dist/citations.cjs.js",
|
|
145
|
+
"default": "./dist/citations.esm.js"
|
|
146
|
+
},
|
|
147
|
+
"./data-binding": {
|
|
148
|
+
"types": "./index.d.ts",
|
|
149
|
+
"import": "./dist/data-binding.esm.js",
|
|
150
|
+
"require": "./dist/data-binding.cjs.js",
|
|
151
|
+
"default": "./dist/data-binding.esm.js"
|
|
152
|
+
},
|
|
153
|
+
"./doc-schema": {
|
|
154
|
+
"types": "./index.d.ts",
|
|
155
|
+
"import": "./dist/doc-schema.esm.js",
|
|
156
|
+
"require": "./dist/doc-schema.cjs.js",
|
|
157
|
+
"default": "./dist/doc-schema.esm.js"
|
|
158
|
+
},
|
|
159
|
+
"./translation-workflow": {
|
|
160
|
+
"types": "./index.d.ts",
|
|
161
|
+
"import": "./dist/translation-workflow.esm.js",
|
|
162
|
+
"require": "./dist/translation-workflow.cjs.js",
|
|
163
|
+
"default": "./dist/translation-workflow.esm.js"
|
|
164
|
+
},
|
|
99
165
|
"./checklist": {
|
|
100
166
|
"types": "./index.d.ts",
|
|
101
167
|
"import": "./dist/checklist.esm.js",
|
|
@@ -228,6 +294,12 @@
|
|
|
228
294
|
"require": "./dist/media-manager.cjs.js",
|
|
229
295
|
"default": "./dist/media-manager.esm.js"
|
|
230
296
|
},
|
|
297
|
+
"./mentions": {
|
|
298
|
+
"types": "./index.d.ts",
|
|
299
|
+
"import": "./dist/mentions.esm.js",
|
|
300
|
+
"require": "./dist/mentions.cjs.js",
|
|
301
|
+
"default": "./dist/mentions.esm.js"
|
|
302
|
+
},
|
|
231
303
|
"./merge-tag": {
|
|
232
304
|
"types": "./index.d.ts",
|
|
233
305
|
"import": "./dist/merge-tag.esm.js",
|
|
@@ -264,6 +336,12 @@
|
|
|
264
336
|
"require": "./dist/spell-check.cjs.js",
|
|
265
337
|
"default": "./dist/spell-check.esm.js"
|
|
266
338
|
},
|
|
339
|
+
"./slash-commands": {
|
|
340
|
+
"types": "./index.d.ts",
|
|
341
|
+
"import": "./dist/slash-commands.esm.js",
|
|
342
|
+
"require": "./dist/slash-commands.cjs.js",
|
|
343
|
+
"default": "./dist/slash-commands.esm.js"
|
|
344
|
+
},
|
|
267
345
|
"./strikethrough": {
|
|
268
346
|
"types": "./index.d.ts",
|
|
269
347
|
"import": "./dist/strikethrough.esm.js",
|
|
@@ -276,6 +354,18 @@
|
|
|
276
354
|
"require": "./dist/table.cjs.js",
|
|
277
355
|
"default": "./dist/table.esm.js"
|
|
278
356
|
},
|
|
357
|
+
"./track-changes": {
|
|
358
|
+
"types": "./index.d.ts",
|
|
359
|
+
"import": "./dist/track-changes.esm.js",
|
|
360
|
+
"require": "./dist/track-changes.cjs.js",
|
|
361
|
+
"default": "./dist/track-changes.esm.js"
|
|
362
|
+
},
|
|
363
|
+
"./version-diff": {
|
|
364
|
+
"types": "./index.d.ts",
|
|
365
|
+
"import": "./dist/version-diff.esm.js",
|
|
366
|
+
"require": "./dist/version-diff.cjs.js",
|
|
367
|
+
"default": "./dist/version-diff.esm.js"
|
|
368
|
+
},
|
|
279
369
|
"./template": {
|
|
280
370
|
"types": "./index.d.ts",
|
|
281
371
|
"import": "./dist/template.esm.js",
|
|
@@ -311,10 +401,19 @@
|
|
|
311
401
|
],
|
|
312
402
|
"scripts": {
|
|
313
403
|
"build": "vite build",
|
|
314
|
-
"typecheck:build": "tsc -p tsconfig.build.json --noEmit",
|
|
404
|
+
"typecheck:build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.build.json --noEmit",
|
|
315
405
|
"dev": "vite build --watch",
|
|
316
406
|
"clean": "rm -rf dist",
|
|
317
|
-
"prepublishOnly": "npm run typecheck:build && npm run build"
|
|
407
|
+
"prepublishOnly": "npm run typecheck:build && npm run build",
|
|
408
|
+
"test:content-rules": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./content-rules/src/ContentRulesPlugin.native.test.js",
|
|
409
|
+
"test:citations": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./citations/src/CitationsPlugin.native.test.js",
|
|
410
|
+
"test:approval-workflow": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./approval-workflow/src/ApprovalWorkflowPlugin.native.test.js",
|
|
411
|
+
"test:pii-redaction": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./pii-redaction/src/PIIRedactionPlugin.native.test.js",
|
|
412
|
+
"test:smart-paste": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./smart-paste/src/SmartPastePlugin.native.test.js",
|
|
413
|
+
"test:blocks-library": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./blocks-library/src/BlocksLibraryPlugin.native.test.js",
|
|
414
|
+
"test:doc-schema": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./doc-schema/src/DocSchemaPlugin.native.test.js",
|
|
415
|
+
"test:translation-workflow": "node ../../node_modules/jest/bin/jest.js -c ./jest.config.cjs --watchman=false --runTestsByPath ./translation-workflow/src/TranslationWorkflowPlugin.native.test.js",
|
|
416
|
+
"verify:citations": "npm run typecheck:build && npm run test:citations && npm run test:content-rules && npm run test:approval-workflow && npm run test:pii-redaction && npm run test:smart-paste && npm run test:blocks-library && npm run test:doc-schema && npm run test:translation-workflow && npm run build"
|
|
318
417
|
},
|
|
319
418
|
"peerDependencies": {
|
|
320
419
|
"@editora/core": "^1.0.7"
|
|
@@ -324,7 +423,7 @@
|
|
|
324
423
|
"mathjax": "^3.2.2"
|
|
325
424
|
},
|
|
326
425
|
"devDependencies": {
|
|
327
|
-
"@editora/core": "^1.0.
|
|
426
|
+
"@editora/core": "^1.0.8",
|
|
328
427
|
"@types/katex": "^0.16.8",
|
|
329
428
|
"typescript": "^5.0.0",
|
|
330
429
|
"vite": "^7.3.1"
|
|
@@ -332,5 +431,5 @@
|
|
|
332
431
|
"publishConfig": {
|
|
333
432
|
"access": "public"
|
|
334
433
|
},
|
|
335
|
-
"gitHead": "
|
|
434
|
+
"gitHead": "80e0808ae4909de63b8e0f1dd915b06b33a8ed44"
|
|
336
435
|
}
|