primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
1 lines • 24.7 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../src/editor/BaseEditor.vue","../../src/editor/Editor.vue","../../src/editor/Editor.vue?vue&type=template&id=5563cab3&lang.js"],"sourcesContent":["<script>\nimport BaseEditableHolder from '@primevue/core/baseeditableholder';\nimport EditorStyle from 'primevue/editor/style';\n\nexport default {\n name: 'BaseEditor',\n extends: BaseEditableHolder,\n props: {\n placeholder: String,\n readonly: Boolean,\n formats: Array,\n editorStyle: null,\n modules: null\n },\n style: EditorStyle,\n provide() {\n return {\n $pcEditor: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" v-bind=\"ptmi('root')\">\n <div ref=\"toolbarElement\" :class=\"cx('toolbar')\" v-bind=\"ptm('toolbar')\">\n <slot name=\"toolbar\">\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <select class=\"ql-header\" defaultValue=\"0\" v-bind=\"ptm('header')\">\n <option value=\"1\" v-bind=\"ptm('option')\">Heading</option>\n <option value=\"2\" v-bind=\"ptm('option')\">Subheading</option>\n <option value=\"0\" v-bind=\"ptm('option')\">Normal</option>\n </select>\n <select class=\"ql-font\" v-bind=\"ptm('font')\">\n <option v-bind=\"ptm('option')\"></option>\n <option value=\"serif\" v-bind=\"ptm('option')\"></option>\n <option value=\"monospace\" v-bind=\"ptm('option')\"></option>\n </select>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-bold\" type=\"button\" v-bind=\"ptm('bold')\"></button>\n <button class=\"ql-italic\" type=\"button\" v-bind=\"ptm('italic')\"></button>\n <button class=\"ql-underline\" type=\"button\" v-bind=\"ptm('underline')\"></button>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <select class=\"ql-color\" v-bind=\"ptm('color')\"></select>\n <select class=\"ql-background\" v-bind=\"ptm('background')\"></select>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-list\" value=\"ordered\" type=\"button\" v-bind=\"ptm('list')\"></button>\n <button class=\"ql-list\" value=\"bullet\" type=\"button\" v-bind=\"ptm('list')\"></button>\n <select class=\"ql-align\" v-bind=\"ptm('select')\">\n <option defaultValue v-bind=\"ptm('option')\"></option>\n <option value=\"center\" v-bind=\"ptm('option')\"></option>\n <option value=\"right\" v-bind=\"ptm('option')\"></option>\n <option value=\"justify\" v-bind=\"ptm('option')\"></option>\n </select>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-link\" type=\"button\" v-bind=\"ptm('link')\"></button>\n <button class=\"ql-image\" type=\"button\" v-bind=\"ptm('image')\"></button>\n <button class=\"ql-code-block\" type=\"button\" v-bind=\"ptm('codeBlock')\"></button>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-clean\" type=\"button\" v-bind=\"ptm('clean')\"></button>\n </span>\n </slot>\n </div>\n <div ref=\"editorElement\" :class=\"cx('content')\" :style=\"editorStyle\" v-bind=\"ptm('content')\"></div>\n </div>\n</template>\n\n<script>\nimport { isExist } from '@primeuix/utils/dom';\nimport BaseEditor from './BaseEditor.vue';\n\nconst QuillJS = (function () {\n try {\n return window.Quill;\n } catch {\n return null;\n }\n})();\n\nexport default {\n name: 'Editor',\n extends: BaseEditor,\n inheritAttrs: false,\n emits: ['text-change', 'selection-change', 'load'],\n quill: null,\n watch: {\n modelValue(newValue, oldValue) {\n if (newValue !== oldValue && this.quill && !this.quill.hasFocus()) {\n this.renderValue(newValue);\n }\n },\n readonly() {\n this.handleReadOnlyChange();\n }\n },\n mounted() {\n const configuration = {\n modules: {\n toolbar: this.$refs.toolbarElement,\n ...this.modules\n },\n readOnly: this.readonly,\n theme: 'snow',\n formats: this.formats,\n placeholder: this.placeholder\n };\n\n if (QuillJS) {\n // Loaded by script only\n this.quill = new QuillJS(this.$refs.editorElement, configuration);\n this.initQuill();\n this.handleLoad();\n } else {\n import('quill')\n .then((module) => {\n if (module && isExist(this.$refs.editorElement)) {\n if (module.default) {\n // webpack\n this.quill = new module.default(this.$refs.editorElement, configuration);\n } else {\n // parceljs\n this.quill = new module(this.$refs.editorElement, configuration);\n }\n\n this.initQuill();\n }\n })\n .then(() => {\n this.handleLoad();\n });\n }\n },\n beforeUnmount() {\n this.quill = null;\n },\n methods: {\n renderValue(value) {\n if (this.quill) {\n if (value) {\n const delta = this.quill.clipboard.convert({ html: value });\n this.quill.setContents(delta);\n } else {\n this.quill.setText('');\n }\n }\n },\n initQuill() {\n this.renderValue(this.d_value);\n\n this.quill.on('text-change', (delta, oldContents, source) => {\n if (source === 'user') {\n let html = this.quill.getSemanticHTML();\n let text = this.quill.getText().trim();\n\n if (html === '<p><br></p>') {\n html = '';\n }\n\n this.writeValue(html);\n this.$emit('text-change', {\n htmlValue: html,\n textValue: text,\n delta: delta,\n source: source,\n instance: this.quill\n });\n }\n });\n\n this.quill.on('selection-change', (range, oldRange, source) => {\n let html = this.quill.getSemanticHTML();\n let text = this.quill.getText().trim();\n\n this.$emit('selection-change', {\n htmlValue: html,\n textValue: text,\n range: range,\n oldRange: oldRange,\n source: source,\n instance: this.quill\n });\n });\n },\n handleLoad() {\n if (this.quill && this.quill.getModule('toolbar')) {\n this.$emit('load', { instance: this.quill });\n }\n },\n handleReadOnlyChange() {\n if (this.quill) this.quill.enable(!this.readonly);\n }\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" v-bind=\"ptmi('root')\">\n <div ref=\"toolbarElement\" :class=\"cx('toolbar')\" v-bind=\"ptm('toolbar')\">\n <slot name=\"toolbar\">\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <select class=\"ql-header\" defaultValue=\"0\" v-bind=\"ptm('header')\">\n <option value=\"1\" v-bind=\"ptm('option')\">Heading</option>\n <option value=\"2\" v-bind=\"ptm('option')\">Subheading</option>\n <option value=\"0\" v-bind=\"ptm('option')\">Normal</option>\n </select>\n <select class=\"ql-font\" v-bind=\"ptm('font')\">\n <option v-bind=\"ptm('option')\"></option>\n <option value=\"serif\" v-bind=\"ptm('option')\"></option>\n <option value=\"monospace\" v-bind=\"ptm('option')\"></option>\n </select>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-bold\" type=\"button\" v-bind=\"ptm('bold')\"></button>\n <button class=\"ql-italic\" type=\"button\" v-bind=\"ptm('italic')\"></button>\n <button class=\"ql-underline\" type=\"button\" v-bind=\"ptm('underline')\"></button>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <select class=\"ql-color\" v-bind=\"ptm('color')\"></select>\n <select class=\"ql-background\" v-bind=\"ptm('background')\"></select>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-list\" value=\"ordered\" type=\"button\" v-bind=\"ptm('list')\"></button>\n <button class=\"ql-list\" value=\"bullet\" type=\"button\" v-bind=\"ptm('list')\"></button>\n <select class=\"ql-align\" v-bind=\"ptm('select')\">\n <option defaultValue v-bind=\"ptm('option')\"></option>\n <option value=\"center\" v-bind=\"ptm('option')\"></option>\n <option value=\"right\" v-bind=\"ptm('option')\"></option>\n <option value=\"justify\" v-bind=\"ptm('option')\"></option>\n </select>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-link\" type=\"button\" v-bind=\"ptm('link')\"></button>\n <button class=\"ql-image\" type=\"button\" v-bind=\"ptm('image')\"></button>\n <button class=\"ql-code-block\" type=\"button\" v-bind=\"ptm('codeBlock')\"></button>\n </span>\n <span class=\"ql-formats\" v-bind=\"ptm('formats')\">\n <button class=\"ql-clean\" type=\"button\" v-bind=\"ptm('clean')\"></button>\n </span>\n </slot>\n </div>\n <div ref=\"editorElement\" :class=\"cx('content')\" :style=\"editorStyle\" v-bind=\"ptm('content')\"></div>\n </div>\n</template>\n\n<script>\nimport { isExist } from '@primeuix/utils/dom';\nimport BaseEditor from './BaseEditor.vue';\n\nconst QuillJS = (function () {\n try {\n return window.Quill;\n } catch {\n return null;\n }\n})();\n\nexport default {\n name: 'Editor',\n extends: BaseEditor,\n inheritAttrs: false,\n emits: ['text-change', 'selection-change', 'load'],\n quill: null,\n watch: {\n modelValue(newValue, oldValue) {\n if (newValue !== oldValue && this.quill && !this.quill.hasFocus()) {\n this.renderValue(newValue);\n }\n },\n readonly() {\n this.handleReadOnlyChange();\n }\n },\n mounted() {\n const configuration = {\n modules: {\n toolbar: this.$refs.toolbarElement,\n ...this.modules\n },\n readOnly: this.readonly,\n theme: 'snow',\n formats: this.formats,\n placeholder: this.placeholder\n };\n\n if (QuillJS) {\n // Loaded by script only\n this.quill = new QuillJS(this.$refs.editorElement, configuration);\n this.initQuill();\n this.handleLoad();\n } else {\n import('quill')\n .then((module) => {\n if (module && isExist(this.$refs.editorElement)) {\n if (module.default) {\n // webpack\n this.quill = new module.default(this.$refs.editorElement, configuration);\n } else {\n // parceljs\n this.quill = new module(this.$refs.editorElement, configuration);\n }\n\n this.initQuill();\n }\n })\n .then(() => {\n this.handleLoad();\n });\n }\n },\n beforeUnmount() {\n this.quill = null;\n },\n methods: {\n renderValue(value) {\n if (this.quill) {\n if (value) {\n const delta = this.quill.clipboard.convert({ html: value });\n this.quill.setContents(delta);\n } else {\n this.quill.setText('');\n }\n }\n },\n initQuill() {\n this.renderValue(this.d_value);\n\n this.quill.on('text-change', (delta, oldContents, source) => {\n if (source === 'user') {\n let html = this.quill.getSemanticHTML();\n let text = this.quill.getText().trim();\n\n if (html === '<p><br></p>') {\n html = '';\n }\n\n this.writeValue(html);\n this.$emit('text-change', {\n htmlValue: html,\n textValue: text,\n delta: delta,\n source: source,\n instance: this.quill\n });\n }\n });\n\n this.quill.on('selection-change', (range, oldRange, source) => {\n let html = this.quill.getSemanticHTML();\n let text = this.quill.getText().trim();\n\n this.$emit('selection-change', {\n htmlValue: html,\n textValue: text,\n range: range,\n oldRange: oldRange,\n source: source,\n instance: this.quill\n });\n });\n },\n handleLoad() {\n if (this.quill && this.quill.getModule('toolbar')) {\n this.$emit('load', { instance: this.quill });\n }\n },\n handleReadOnlyChange() {\n if (this.quill) this.quill.enable(!this.readonly);\n }\n }\n};\n</script>\n"],"names":["name","BaseEditableHolder","props","placeholder","String","readonly","Boolean","formats","Array","editorStyle","modules","style","EditorStyle","provide","$pcEditor","$parentInstance","QuillJS","window","Quill","_unused","BaseEditor","inheritAttrs","emits","quill","watch","modelValue","newValue","oldValue","hasFocus","renderValue","handleReadOnlyChange","mounted","_this","configuration","_objectSpread","toolbar","$refs","toolbarElement","readOnly","theme","editorElement","initQuill","handleLoad","then","module","isExist","beforeUnmount","methods","value","delta","clipboard","convert","html","setContents","setText","_this2","d_value","on","oldContents","source","getSemanticHTML","text","getText","trim","writeValue","$emit","htmlValue","textValue","instance","range","oldRange","getModule","enable","_openBlock","_createElementBlock","_mergeProps","_ctx","cx","ptmi","_createElementVNode","ref","ptm","_renderSlot","defaultValue","type"],"mappings":";;;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,YAAY;AAClB,EAAA,SAAA,EAASC,kBAAkB;AAC3BC,EAAAA,KAAK,EAAE;AACHC,IAAAA,WAAW,EAAEC,MAAM;AACnBC,IAAAA,QAAQ,EAAEC,OAAO;AACjBC,IAAAA,OAAO,EAAEC,KAAK;AACdC,IAAAA,WAAW,EAAE,IAAI;AACjBC,IAAAA,OAAO,EAAE;GACZ;AACDC,EAAAA,KAAK,EAAEC,WAAW;EAClBC,OAAO,EAAA,SAAPA,OAAOA,GAAG;IACN,OAAO;AACHC,MAAAA,SAAS,EAAE,IAAI;AACfC,MAAAA,eAAe,EAAE;KACpB;AACL;AACJ,CAAC;;;;;;;;ACgCD,IAAMC,OAAM,GAAK,YAAY;EACzB,IAAI;IACA,OAAOC,MAAM,CAACC,KAAK;GACvB,CAAE,OAAAC,OAAA,EAAM;AACJ,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