tiptapify 0.0.4 → 0.0.5

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,5 +1,6 @@
1
1
  {
2
2
  "style": {
3
+ "paragraph": "paragraph",
3
4
  "heading": "heading",
4
5
  "headings": {
5
6
  "h1": "heading level 1",
@@ -49,10 +50,18 @@
49
50
  "outdent": "list item outdent"
50
51
  },
51
52
  "dialog": {
53
+ "close": "close",
54
+ "apply": "apply",
52
55
  "link": {
53
56
  "title": "add/edit link",
54
- "placeholder": "link address",
55
- "apply": "apply"
57
+ "placeholder": "link address"
58
+ },
59
+ "source": {
60
+ "title": "view source code",
61
+ "prettify": "prettify"
56
62
  }
63
+ },
64
+ "misc": {
65
+ "source": "view source code"
57
66
  }
58
67
  }
@@ -0,0 +1,67 @@
1
+ {
2
+ "style": {
3
+ "paragraph": "párrafo",
4
+ "heading": "encabezado",
5
+ "headings": {
6
+ "h1": "encabezado nivel 1",
7
+ "h2": "encabezado nivel 2",
8
+ "h3": "encabezado nivel 3",
9
+ "h4": "encabezado nivel 4",
10
+ "h5": "encabezado nivel 5",
11
+ "h6": "encabezado nivel 6"
12
+ },
13
+ "fontFamily": "familia de fuente",
14
+ "fontSize": "tamaño de fuente",
15
+ "lineHeight": "altura de línea"
16
+ },
17
+ "format": {
18
+ "bold": "negrita",
19
+ "italic": "cursiva",
20
+ "strike": "tachado",
21
+ "underline": "subrayado",
22
+ "sup": "superíndice",
23
+ "sub": "subíndice",
24
+ "break": "salto de línea",
25
+ "highlight": "resaltado",
26
+ "line": "línea horizontal",
27
+ "blockquote": "cita",
28
+ "code": "código",
29
+ "codeblock": "bloque de código",
30
+ "link": "enlace externo",
31
+ "formatClear": "limpiar formato"
32
+ },
33
+ "action": {
34
+ "undo": "deshacer",
35
+ "redo": "rehacer"
36
+ },
37
+ "alignment": "alineación",
38
+ "alignments": {
39
+ "left": "alinear a la izquierda",
40
+ "center": "centrar",
41
+ "right": "alinear a la derecha",
42
+ "justify": "justificar"
43
+ },
44
+ "list": "lista",
45
+ "lists": {
46
+ "bullet": "lista con viñetas",
47
+ "numbered": "lista numerada",
48
+ "task": "lista de tareas",
49
+ "indent": "aumentar sangría",
50
+ "outdent": "disminuir sangría"
51
+ },
52
+ "dialog": {
53
+ "close": "cerrar",
54
+ "apply": "aplicar",
55
+ "link": {
56
+ "title": "añadir/editar enlace",
57
+ "placeholder": "dirección del enlace"
58
+ },
59
+ "source": {
60
+ "title": "ver código fuente",
61
+ "prettify": "prettify"
62
+ }
63
+ },
64
+ "misc": {
65
+ "source": "ver código fuente"
66
+ }
67
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "style": {
3
+ "paragraph": "paragraphe",
4
+ "heading": "titre",
5
+ "headings": {
6
+ "h1": "titre niveau 1",
7
+ "h2": "titre niveau 2",
8
+ "h3": "titre niveau 3",
9
+ "h4": "titre niveau 4",
10
+ "h5": "titre niveau 5",
11
+ "h6": "titre niveau 6"
12
+ },
13
+ "fontFamily": "famille de police",
14
+ "fontSize": "taille de police",
15
+ "lineHeight": "hauteur de ligne"
16
+ },
17
+ "format": {
18
+ "bold": "gras",
19
+ "italic": "italique",
20
+ "strike": "barré",
21
+ "underline": "souligné",
22
+ "sup": "exposant",
23
+ "sub": "indice",
24
+ "break": "saut de ligne",
25
+ "highlight": "surbrillance",
26
+ "line": "ligne horizontale",
27
+ "blockquote": "citation",
28
+ "code": "code",
29
+ "codeblock": "bloc de code",
30
+ "link": "lien externe",
31
+ "formatClear": "effacer le formatage"
32
+ },
33
+ "action": {
34
+ "undo": "annuler",
35
+ "redo": "rétablir"
36
+ },
37
+ "alignment": "alignement",
38
+ "alignments": {
39
+ "left": "aligner à gauche",
40
+ "center": "centrer",
41
+ "right": "aligner à droite",
42
+ "justify": "justifier"
43
+ },
44
+ "list": "liste",
45
+ "lists": {
46
+ "bullet": "liste à puces",
47
+ "numbered": "liste numérotée",
48
+ "task": "liste de tâches",
49
+ "indent": "augmenter l'indentation",
50
+ "outdent": "diminuer l'indentation"
51
+ },
52
+ "dialog": {
53
+ "close": "fermer",
54
+ "apply": "appliquer",
55
+ "link": {
56
+ "title": "ajouter/modifier un lien",
57
+ "placeholder": "adresse du lien"
58
+ },
59
+ "source": {
60
+ "title": "voir le code source",
61
+ "prettify": "prettify"
62
+ }
63
+ },
64
+ "misc": {
65
+ "source": "voir le code source"
66
+ }
67
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "style": {
3
+ "paragraph": "paragrafo",
4
+ "heading": "intestazione",
5
+ "headings": {
6
+ "h1": "intestazione livello 1",
7
+ "h2": "intestazione livello 2",
8
+ "h3": "intestazione livello 3",
9
+ "h4": "intestazione livello 4",
10
+ "h5": "intestazione livello 5",
11
+ "h6": "intestazione livello 6"
12
+ },
13
+ "fontFamily": "famiglia del carattere",
14
+ "fontSize": "dimensione del carattere",
15
+ "lineHeight": "interlinea"
16
+ },
17
+ "format": {
18
+ "bold": "grassetto",
19
+ "italic": "corsivo",
20
+ "strike": "barrato",
21
+ "underline": "sottolineato",
22
+ "sup": "apice",
23
+ "sub": "pedice",
24
+ "break": "interruzione di riga",
25
+ "highlight": "evidenziato",
26
+ "line": "linea orizzontale",
27
+ "blockquote": "citazione",
28
+ "code": "codice",
29
+ "codeblock": "blocco di codice",
30
+ "link": "link esterno",
31
+ "formatClear": "cancella formattazione"
32
+ },
33
+ "action": {
34
+ "undo": "annulla",
35
+ "redo": "ripeti"
36
+ },
37
+ "alignment": "allineamento",
38
+ "alignments": {
39
+ "left": "allinea a sinistra",
40
+ "center": "allinea al centro",
41
+ "right": "allinea a destra",
42
+ "justify": "giustifica"
43
+ },
44
+ "list": "lista",
45
+ "lists": {
46
+ "bullet": "lista puntata",
47
+ "numbered": "lista numerata",
48
+ "task": "lista di attività",
49
+ "indent": "aumenta rientro",
50
+ "outdent": "riduci rientro"
51
+ },
52
+ "dialog": {
53
+ "close": "chiudi",
54
+ "apply": "applica",
55
+ "link": {
56
+ "title": "aggiungi/modifica link",
57
+ "placeholder": "indirizzo del link"
58
+ },
59
+ "source": {
60
+ "title": "visualizza codice sorgente",
61
+ "prettify": "prettify"
62
+ }
63
+ },
64
+ "misc": {
65
+ "source": "visualizza codice sorgente"
66
+ }
67
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "style": {
3
+ "paragraph": "akapit",
4
+ "heading": "nagłówek",
5
+ "headings": {
6
+ "h1": "nagłówek poziomu 1",
7
+ "h2": "nagłówek poziomu 2",
8
+ "h3": "nagłówek poziomu 3",
9
+ "h4": "nagłówek poziomu 4",
10
+ "h5": "nagłówek poziomu 5",
11
+ "h6": "nagłówek poziomu 6"
12
+ },
13
+ "fontFamily": "rodzina czcionek",
14
+ "fontSize": "rozmiar czcionki",
15
+ "lineHeight": "wysokość linii"
16
+ },
17
+ "format": {
18
+ "bold": "pogrubienie",
19
+ "italic": "kursywa",
20
+ "strike": "przekreślenie",
21
+ "underline": "podkreślenie",
22
+ "sup": "indeks górny",
23
+ "sub": "indeks dolny",
24
+ "break": "twarda spacja",
25
+ "highlight": "wyróżnienie",
26
+ "line": "linia pozioma",
27
+ "blockquote": "cytat",
28
+ "code": "kod",
29
+ "codeblock": "blok kodu",
30
+ "link": "link zewnętrzny",
31
+ "formatClear": "wyczyść formatowanie"
32
+ },
33
+ "action": {
34
+ "undo": "cofnij",
35
+ "redo": "przywróć"
36
+ },
37
+ "alignment": "wyrównanie",
38
+ "alignments": {
39
+ "left": "wyrównaj do lewej",
40
+ "center": "wyśrodkuj",
41
+ "right": "wyrównaj do prawej",
42
+ "justify": "wyjustuj"
43
+ },
44
+ "list": "lista",
45
+ "lists": {
46
+ "bullet": "lista wypunktowana",
47
+ "numbered": "lista numerowana",
48
+ "task": "lista zadań",
49
+ "indent": "zwiększ wcięcie",
50
+ "outdent": "zmniejsz wcięcie"
51
+ },
52
+ "dialog": {
53
+ "close": "zamknij",
54
+ "apply": "zastosuj",
55
+ "link": {
56
+ "title": "dodaj/edytuj link",
57
+ "placeholder": "adres linku"
58
+ },
59
+ "source": {
60
+ "title": "pokaż kod źródłowy",
61
+ "prettify": "prettify"
62
+ }
63
+ },
64
+ "misc": {
65
+ "source": "pokaż kod źródłowy"
66
+ }
67
+ }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "style": {
3
+ "paragraph": "абзац",
3
4
  "heading": "заголовок",
4
5
  "headings": {
5
6
  "h1": "заголовок 1-го уровня",
@@ -49,10 +50,18 @@
49
50
  "outdent": "уменьшить отступ элемента списка"
50
51
  },
51
52
  "dialog": {
53
+ "apply": "применить",
54
+ "close": "закрыть",
52
55
  "link": {
53
56
  "title": "добавление/изменение ссылки",
54
- "placeholder": "адрес ссылки",
55
- "apply": "применить"
57
+ "placeholder": "адрес ссылки"
58
+ },
59
+ "source": {
60
+ "title": "просмотр исходного кода",
61
+ "prettify": "prettify"
56
62
  }
63
+ },
64
+ "misc": {
65
+ "source": "просмотр исходного кода"
57
66
  }
58
67
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "style": {
3
+ "paragraph": "абзац",
3
4
  "heading": "заголовок",
4
5
  "headings": {
5
6
  "h1": "заголовок 1-го рівня",
@@ -49,10 +50,18 @@
49
50
  "outdent": "зменшити відступ елемента списку"
50
51
  },
51
52
  "dialog": {
53
+ "apply": "застосувати",
54
+ "close": "закрити",
52
55
  "link": {
53
56
  "title": "додавання/зміна посилання",
54
- "placeholder": "адреса посилання",
55
- "apply": "застосувати"
57
+ "placeholder": "адреса посилання"
58
+ },
59
+ "source": {
60
+ "title": "перегляд вихідного коду",
61
+ "prettify": "prettify"
56
62
  }
63
+ },
64
+ "misc": {
65
+ "source": "перегляд вихідного коду"
57
66
  }
58
67
  }
package/components.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- // Generated by unplugin-vue-components
4
- // Read more: https://github.com/vuejs/core/pull/3399
5
- // biome-ignore lint: disable
6
- export {}
7
-
8
- /* prettier-ignore */
9
- declare module 'vue' {
10
- export interface GlobalComponents {
11
- CodeBlockComponent: typeof import('./src/components/CodeBlockComponent.vue')['default']
12
- CommandsList: typeof import('./src/components/extensions/components/slashCommands/CommandsList.vue')['default']
13
- Footer: typeof import('./src/components/Footer.vue')['default']
14
- Index: typeof import('./src/components/Toolbar/Index.vue')['default']
15
- LinkDialog: typeof import('./src/components/extensions/components/LinkDialog.vue')['default']
16
- MenuBubble: typeof import('./src/components/MenuBubble.vue')['default']
17
- MenuFloating: typeof import('./src/components/MenuFloating.vue')['default']
18
- Tiptapify: typeof import('./src/components/Tiptapify.vue')['default']
19
- }
20
- }
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "moduleResolution": "Node",
6
- "strict": true,
7
- "jsx": "preserve",
8
- "esModuleInterop": true,
9
- "sourceMap": true,
10
- "resolveJsonModule": true,
11
- "isolatedModules": true,
12
- "lib": ["ESNext", "DOM"],
13
- "types": ["vite/client", "node"],
14
- "declaration": true,
15
- "declarationDir": "lib",
16
- "baseUrl": ".",
17
- "paths": {
18
- "@tiptapify/*": ["src/*"]
19
- }
20
- },
21
- "include": ["src/**/*"]
22
- }
package/vite.config.ts DELETED
@@ -1,86 +0,0 @@
1
- import { fileURLToPath, URL } from 'node:url'
2
- import vue from '@vitejs/plugin-vue'
3
- import vueJsx from '@vitejs/plugin-vue-jsx'
4
- import Components from 'unplugin-vue-components/vite'
5
- import { defineConfig } from 'vite'
6
- import vuetify from 'vite-plugin-vuetify'
7
- import svgLoader from 'vite-svg-loader'
8
- import tsconfigPaths from 'vite-tsconfig-paths'
9
- import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
10
- import path from 'path'
11
- import alias from '@rollup/plugin-alias'
12
-
13
- // https://vitejs.dev/config/
14
- export default defineConfig({
15
- plugins: [
16
- tsconfigPaths({
17
- loose: true,
18
- extensions: ['.ts', '.tsx', '.js', '.jsx', '.vue']
19
- }),
20
- vue(),
21
- vueJsx(),
22
- VueI18nPlugin({
23
- runtimeOnly: true,
24
- compositionOnly: true,
25
- include: [
26
- fileURLToPath(new URL('./src/i18n/locales/**', import.meta.url)),
27
- ],
28
- }),
29
- vuetify({
30
- autoImport: { labs: true },
31
- }),
32
- Components({
33
- dirs: ['src/components'],
34
- dts: true,
35
- }),
36
- svgLoader(),
37
- ],
38
- define: { 'process.env': {} },
39
- resolve: {
40
- preserveSymlinks: true,
41
- alias: {
42
- '@tiptapify': fileURLToPath(new URL('./src', import.meta.url)),
43
- },
44
- },
45
- build: {
46
- lib: {
47
- entry: path.resolve(__dirname, 'src/index.ts'),
48
- name: 'Tiptapify',
49
- formats: ['es', 'umd'],
50
- fileName: (format) => `tiptapify.${format}.js`
51
- },
52
- cssCodeSplit: false,
53
- rollupOptions: {
54
- plugins: [
55
- alias({
56
- entries: [
57
- { find: '@', replacement: path.resolve(__dirname, 'src') }
58
- ]
59
- })
60
- ],
61
- external: ['vue', 'vuetify'],
62
- output: {
63
- exports: "named",
64
- globals: {
65
- vue: 'Vue',
66
- vuetify: 'Vuetify'
67
- },
68
- assetFileNames: (assetInfo) => {
69
- if (assetInfo.name === 'style.css') return 'tiptapify.css';
70
- return assetInfo.name;
71
- }
72
- }
73
- },
74
- chunkSizeWarningLimit: 5000,
75
- },
76
- optimizeDeps: {
77
- exclude: ['vuetify'],
78
- include: [
79
- 'vue',
80
- '@tiptapify/components/Tiptapify.vue'
81
- ],
82
- entries: [
83
- './src/**/*.vue',
84
- ],
85
- },
86
- })