@pristy/pristy-libvue 1.8.3 → 1.9.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.
@@ -1,15 +1,11 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare const _default: DefineComponent<{}, {
3
3
  isSharedLink: boolean;
4
- toast: Record<string, any>;
5
- confirm: Record<string, any>;
6
4
  readOnly: boolean;
7
5
  contentNode?: Record<string, any>;
8
6
  contentUrl?: string;
9
7
  $props: {
10
8
  readonly isSharedLink?: boolean;
11
- readonly toast?: Record<string, any>;
12
- readonly confirm?: Record<string, any>;
13
9
  readonly readOnly?: boolean;
14
10
  readonly contentNode?: Record<string, any>;
15
11
  readonly contentUrl?: string;
@@ -17,6 +13,6 @@ declare const _default: DefineComponent<{}, {
17
13
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
18
14
  editorContainer: HTMLDivElement;
19
15
  consultationEditorContainer: HTMLDivElement;
20
- }, any>;
16
+ }, HTMLDivElement>;
21
17
  export default _default;
22
18
  //# sourceMappingURL=CodeMirrorEditor.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeMirrorEditor.vue.d.ts","sourceRoot":"","sources":["../../src/components/CodeMirrorEditor.vue"],"names":[],"mappings":";AA0HA;"}
1
+ {"version":3,"file":"CodeMirrorEditor.vue.d.ts","sourceRoot":"","sources":["../../src/components/CodeMirrorEditor.vue"],"names":[],"mappings":";AAiPA;"}
@@ -4,12 +4,10 @@ declare const _default: DefineComponent<{}, {
4
4
  versions: unknown[];
5
5
  visible: boolean;
6
6
  contentNode: Record<string, any>;
7
- toast: Record<string, any>;
8
7
  $props: {
9
8
  readonly versions?: unknown[];
10
9
  readonly visible?: boolean;
11
10
  readonly contentNode?: Record<string, any>;
12
- readonly toast?: Record<string, any>;
13
11
  };
14
12
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
15
13
  mergeViewContainer: HTMLDivElement;
@@ -0,0 +1,57 @@
1
+ import { EditorView } from '@codemirror/view';
2
+ /**
3
+ * Returns the CodeMirror language extension for a given MIME type.
4
+ *
5
+ * @param {string} mimeType - The MIME type of the content
6
+ * @returns {Extension[]} The CodeMirror language extension, or an empty array for plain text
7
+ */
8
+ export function getLanguageExtension(mimeType: string): Extension[];
9
+ /**
10
+ * Returns the base extensions for a CodeMirror editor.
11
+ *
12
+ * @param {Object} options - Configuration options
13
+ * @param {boolean} options.editable - Whether the editor is editable (default: false)
14
+ * @param {boolean} options.showLineNumbers - Whether to show line numbers (default: true)
15
+ * @param {boolean} options.enableHistory - Whether to enable undo/redo history (default: true for editable)
16
+ * @param {boolean} options.dark - Whether to use dark theme (default: false)
17
+ * @param {boolean} options.lineWrapping - Whether to enable soft line wrapping (default: false)
18
+ * @param {Function} options.onUpdate - Callback function called on document changes
19
+ * @returns {Extension[]} Array of CodeMirror extensions
20
+ */
21
+ export function getBaseExtensions(options?: {
22
+ editable: boolean;
23
+ showLineNumbers: boolean;
24
+ enableHistory: boolean;
25
+ dark: boolean;
26
+ lineWrapping: boolean;
27
+ onUpdate: Function;
28
+ }): Extension[];
29
+ /**
30
+ * Creates a CodeMirror editor instance.
31
+ *
32
+ * @param {Object} options - Configuration options
33
+ * @param {HTMLElement} options.parent - The parent DOM element to attach the editor to
34
+ * @param {string} options.content - The initial content of the editor
35
+ * @param {string} options.mimeType - The MIME type for syntax highlighting
36
+ * @param {boolean} options.editable - Whether the editor is editable (default: false)
37
+ * @param {Function} options.onUpdate - Callback function called on document changes
38
+ * @returns {EditorView} The CodeMirror editor view instance
39
+ */
40
+ export function createEditorView(options: {
41
+ parent: HTMLElement;
42
+ content: string;
43
+ mimeType: string;
44
+ editable: boolean;
45
+ onUpdate: Function;
46
+ }): EditorView;
47
+ /**
48
+ * Vue composable for managing CodeMirror editor instances.
49
+ * Provides reactive state management and automatic cleanup.
50
+ *
51
+ * @returns {Object} Composable API
52
+ */
53
+ export function useCodeMirror(): any;
54
+ export { EditorState } from '@codemirror/state';
55
+ export { EditorView } from '@codemirror/view';
56
+ export { oneDark } from '@codemirror/theme-one-dark';
57
+ //# sourceMappingURL=useCodeMirror.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCodeMirror.d.ts","sourceRoot":"","sources":["../../src/composables/useCodeMirror.js"],"names":[],"mappings":"AAsLA;;;;;GAKG;AACH,+CAHW,MAAM,GACJ,SAAS,EAAE,CAavB;AAED;;;;;;;;;;;GAWG;AACH,4CARG;IAAyB,QAAQ,EAAzB,OAAO;IACU,eAAe,EAAhC,OAAO;IACU,aAAa,EAA9B,OAAO;IACU,IAAI,EAArB,OAAO;IACU,YAAY,EAA7B,OAAO;IACW,QAAQ;CAClC,GAAU,SAAS,EAAE,CA+CvB;AAED;;;;;;;;;;GAUG;AACH,0CAPG;IAA6B,MAAM,EAA3B,WAAW;IACK,OAAO,EAAvB,MAAM;IACU,QAAQ,EAAxB,MAAM;IACW,QAAQ,EAAzB,OAAO;IACW,QAAQ;CAClC,GAAU,UAAU,CAmCtB;AAED;;;;;GAKG;AACH,qCA+DC;;;;2BAlW+C,kBAAkB"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Vue composable for collaborative editing with CodeMirror.
3
+ * Integrates @codemirror/collab with WebSocket communication.
4
+ *
5
+ * @returns {Object} Composable API
6
+ */
7
+ export function useCollabEditor(): any;
8
+ export const ROLE_EDITOR: "editor";
9
+ export const ROLE_OBSERVER: "observer";
10
+ export default useCollabEditor;
11
+ //# sourceMappingURL=useCollabEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollabEditor.d.ts","sourceRoot":"","sources":["../../src/composables/useCollabEditor.js"],"names":[],"mappings":"AA+IA;;;;;GAKG;AACH,uCAslBC;AA7sBD,0BAA2B,QAAQ,CAAC;AACpC,4BAA6B,UAAU,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Vue composable for managing WebSocket connections for collaborative editing.
3
+ * Provides automatic reconnection, heartbeat, and message buffering.
4
+ *
5
+ * @param {Object} config - Configuration options
6
+ * @returns {Object} Composable API
7
+ */
8
+ export function useCollabWebSocket(config?: any): any;
9
+ export namespace ConnectionState {
10
+ let DISCONNECTED: string;
11
+ let CONNECTING: string;
12
+ let CONNECTED: string;
13
+ let RECONNECTING: string;
14
+ let ERROR: string;
15
+ }
16
+ export default useCollabWebSocket;
17
+ //# sourceMappingURL=useCollabWebSocket.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCollabWebSocket.d.ts","sourceRoot":"","sources":["../../src/composables/useCollabWebSocket.js"],"names":[],"mappings":"AA0CA;;;;;;GAMG;AACH,sDA0RC"}
@@ -0,0 +1,44 @@
1
+ import { Ref } from 'vue';
2
+ /**
3
+ * Renders Markdown content to sanitized HTML.
4
+ *
5
+ * @param {string} content - The Markdown content to render
6
+ * @returns {string} Sanitized HTML string
7
+ */
8
+ export function renderMarkdown(content: string): string;
9
+ /**
10
+ * Sanitizes HTML content.
11
+ *
12
+ * @param {string} content - The HTML content to sanitize
13
+ * @returns {string} Sanitized HTML string
14
+ */
15
+ export function sanitizeHtml(content: string): string;
16
+ /**
17
+ * Generates a complete HTML document for iframe preview.
18
+ *
19
+ * @param {string} bodyContent - The HTML content for the body
20
+ * @param {string} customStyles - Optional custom CSS to add/override
21
+ * @returns {string} Complete HTML document string
22
+ */
23
+ export function generatePreviewDocument(bodyContent: string, customStyles?: string): string;
24
+ /**
25
+ * Vue composable for Markdown/HTML preview functionality.
26
+ * Provides reactive preview content generation with proper sanitization.
27
+ *
28
+ * @param {Object} options - Configuration options
29
+ * @param {import('vue').Ref<string>} options.content - Reactive reference to the content
30
+ * @param {import('vue').Ref<string>} options.mimeType - Reactive reference to the MIME type
31
+ * @param {string} options.customStyles - Optional custom CSS styles
32
+ * @returns {Object} Composable API
33
+ */
34
+ export function useMarkdownPreview(options?: {
35
+ content: Ref<string>;
36
+ mimeType: Ref<string>;
37
+ customStyles: string;
38
+ }): any;
39
+ /**
40
+ * Default CSS styles for the iframe preview.
41
+ * These styles provide a clean, readable presentation for Markdown/HTML content.
42
+ */
43
+ export const DEFAULT_PREVIEW_STYLES: "\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;\n color: #333;\n margin: 1rem;\n line-height: 1.6;\n }\n h1, h2, h3, h4, h5, h6 {\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n }\n h1 { font-size: 2em; }\n h2 { font-size: 1.5em; }\n h3 { font-size: 1.25em; }\n p { margin-bottom: 1em; }\n ul { list-style-type: disc; padding-left: 2em; }\n ol { list-style-type: decimal; padding-left: 2em; }\n li { margin-bottom: 0.25em; }\n blockquote {\n margin-left: 0;\n padding-left: 1em;\n border-left: 3px solid #ccc;\n color: #666;\n }\n code {\n background-color: #f4f4f4;\n padding: 0.2em 0.4em;\n border-radius: 3px;\n font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;\n font-size: 0.9em;\n }\n pre {\n background-color: #f4f4f4;\n padding: 1em;\n border-radius: 6px;\n overflow-x: auto;\n }\n pre code {\n background-color: transparent;\n padding: 0;\n }\n a { color: #0066cc; }\n a:hover { text-decoration: underline; }\n img { max-width: 100%; height: auto; }\n table {\n border-collapse: collapse;\n width: 100%;\n margin-bottom: 1em;\n }\n th, td {\n border: 1px solid #ddd;\n padding: 0.5em;\n text-align: left;\n }\n th { background-color: #f4f4f4; }\n hr {\n border: none;\n border-top: 1px solid #ddd;\n margin: 2em 0;\n }\n";
44
+ //# sourceMappingURL=useMarkdownPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMarkdownPreview.d.ts","sourceRoot":"","sources":["../../src/composables/useMarkdownPreview.js"],"names":[],"mappings":";AA+MA;;;;;GAKG;AACH,wCAHW,MAAM,GACJ,MAAM,CAQlB;AAED;;;;;GAKG;AACH,sCAHW,MAAM,GACJ,MAAM,CAOlB;AAED;;;;;;GAMG;AACH,qDAJW,MAAM,iBACN,MAAM,GACJ,MAAM,CAkBlB;AAED;;;;;;;;;GASG;AACH,6CALG;IAA2C,OAAO,EAA1C,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC;IACU,QAAQ,EAA3C,OAAO,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC;IACT,YAAY,EAA5B,MAAM;CACd,OA0DF;AAnND;;;GAGG;AACH,09CA6DE"}
@@ -7,6 +7,7 @@ declare const i18n: I18n<{
7
7
  save: string;
8
8
  cancel: string;
9
9
  error: {
10
+ error: string;
10
11
  "401": string;
11
12
  "502": string;
12
13
  "504": string;
@@ -617,6 +618,27 @@ declare const i18n: I18n<{
617
618
  refreshError: string;
618
619
  unsavedChanges: string;
619
620
  confirmationHeader: string;
621
+ lineWrap: string;
622
+ viewMode: {
623
+ editorOnly: string;
624
+ previewOnly: string;
625
+ split: string;
626
+ };
627
+ };
628
+ collab: {
629
+ enable: string;
630
+ disable: string;
631
+ connected: string;
632
+ disconnected: string;
633
+ reconnecting: string;
634
+ peers: string;
635
+ initError: string;
636
+ sessionFull: string;
637
+ locked: string;
638
+ offline: string;
639
+ participantsTooltip: string;
640
+ editorsTooltip: string;
641
+ observersTooltip: string;
620
642
  };
621
643
  diffViewer: {
622
644
  compareTitle: string;
@@ -656,6 +678,7 @@ declare const i18n: I18n<{
656
678
  save: string;
657
679
  cancel: string;
658
680
  error: {
681
+ error: string;
659
682
  "401": string;
660
683
  "502": string;
661
684
  "504": string;
@@ -1264,6 +1287,27 @@ declare const i18n: I18n<{
1264
1287
  refreshError: string;
1265
1288
  unsavedChanges: string;
1266
1289
  confirmationHeader: string;
1290
+ lineWrap: string;
1291
+ viewMode: {
1292
+ editorOnly: string;
1293
+ previewOnly: string;
1294
+ split: string;
1295
+ };
1296
+ };
1297
+ collab: {
1298
+ enable: string;
1299
+ disable: string;
1300
+ connected: string;
1301
+ disconnected: string;
1302
+ reconnecting: string;
1303
+ peers: string;
1304
+ initError: string;
1305
+ sessionFull: string;
1306
+ locked: string;
1307
+ offline: string;
1308
+ participantsTooltip: string;
1309
+ editorsTooltip: string;
1310
+ observersTooltip: string;
1267
1311
  };
1268
1312
  diffViewer: {
1269
1313
  compareTitle: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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6 +48,7 @@ export { default as alfrescoFileService } from './services/AlfrescoFileService.j
48
48
  export { default as alfrescoNodeService } from './services/AlfrescoNodeService.js';
49
49
  export { default as alfrescoPermissionService } from './services/AlfrescoPermissionService.js';
50
50
  export { default as collaboraAccessService } from './services/CollaboraAccessService.js';
51
+ export { default as collabService } from './services/CollabService.js';
51
52
  export { default as errorService } from './services/ErrorService.js';
52
53
  export { default as favoriteService } from './services/FavoriteService.js';
53
54
  export { default as formatService } from './services/FormatService.js';
@@ -66,6 +67,7 @@ export { default as i18n } from './i18n';
66
67
  export { messages } from './i18n/locales';
67
68
  export * from './AlfrescoApi';
68
69
  export { useCollaboraStore } from './stores/collabora';
70
+ export { useCollabStore } from './stores/collab.js';
69
71
  export { useConfigStore } from './stores/config';
70
72
  export { useMenuStore } from './stores/menu';
71
73
  export { useNavigationStore } from './stores/navigation.js';
@@ -87,4 +89,8 @@ export namespace componentLibrary {
87
89
  export { PDFComponent, PristyIcon, PaginatorComponent, CopyOrMovePopup, TreeExplorer, EllipsisBreadcrumb, BreadCrumbAlfresco, ContentTableView, ContentListView, ContentGridView, DynamicContentView, ContentFiltersHeader, ImageViewer, VideoPlayer, PreviewPanel, LayoutSelector, HelpKeyMessage, SelectionStatus, MemberList, ActionMenu, CustomToastContent, FolderUpload, UploadTargetInfo, UploadStatus, AddPairInConfigDialog, ConfigDatatable, ConfigUpload, ListVersionConfig, AddCriterionPopup, AdvancedSearchPanel, AdvancedViewPanel, ExactSearch, FavoriteViewMenu, UserViewsFavoritesPanel, SaveViewPopup, PdfToolsComponent, CodeMirrorEditor, DiffViewerDialog, ArrayEditor, CreateWorkflowPopup, ImportNewVersionPopup, ShareLinkPopup, MemberListPopup, SendMailPopup, ImportPopupWithWorker, ErrorComponent };
88
90
  export { default as filingPlanService, NatureDocument, TypeDossier } from './services/FilingPlanService.js';
89
91
  export { checkNotNull, checkString } from './directives/assert.js';
92
+ export { useCodeMirror, getLanguageExtension, getBaseExtensions, createEditorView } from './composables/useCodeMirror.js';
93
+ export { useMarkdownPreview, renderMarkdown, sanitizeHtml, generatePreviewDocument, DEFAULT_PREVIEW_STYLES } from './composables/useMarkdownPreview.js';
94
+ export { useCollabWebSocket, ConnectionState } from './composables/useCollabWebSocket.js';
95
+ export { useCollabEditor, ROLE_EDITOR, ROLE_OBSERVER } from './composables/useCollabEditor.js';
90
96
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiEE,iCA+CC;;yBA/FsB,sCAAsC;uBACxC,6BAA6B;+BAFrB,gDAAgD;4BAGnD,wCAAwC;yBAC3C,+BAA+B;+BACzB,gDAAgD;+BAChD,gDAAgD;6BAClD,8CAA8C;4BAC/C,6CAA6C;4BAC7C,6CAA6C;+BAC1C,gDAAgD;iCAC9C,kDAAkD;wBAC3D,qCAAqC;wBACrC,qCAAqC;yBACpC,0CAA0C;2BAOxC,4CAA4C;2BAC5C,iCAAiC;4BALhC,kCAAkC;uBAMvC,mCAAmC;uBACnC,kCAAkC;+BAC1B,2CAA2C;yBAGjD,+BAA+B;6BAD3B,mCAAmC;yBADvC,+BAA+B;kCAItB,+CAA+C;4BACrD,yCAAyC;yBAC5C,sCAAsC;8BACjC,2CAA2C;8BAC3C,2CAA2C;gCACzC,6CAA6C;8BAC/C,2CAA2C;wBACjD,qCAAqC;6BAChC,0CAA0C;oCACnC,iDAAiD;0BAC3D,uCAAuC;8BACnC,6CAA6C;6BAC9C,mCAAmC;6BACnC,mCAAmC;wBACxC,qCAAqC;gCA7B7B,4CAA4C;kCAC1C,8CAA8C;2BAErD,uCAAuC;4BACtC,wCAAwC;0BAC1C,sCAAsC;kCAS9B,8CAA8C;2BAgBrD,iCAAiC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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