vue-codemirror6 1.5.0 → 1.5.2
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/CHANGELOG.md +158 -144
- package/dist/index.cjs.js +3 -3
- package/dist/index.d.ts +704 -0
- package/dist/index.es.js +7 -5
- package/dist/index.iife.js +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/src/Meta.d.ts +1 -1
- package/dist/src/helpers/h-demi.d.ts +3 -3
- package/dist/src/index.d.ts +36 -5
- package/dist/src/interfaces/MetaInterface.d.ts +3 -2
- package/package.json +32 -29
package/CHANGELOG.md
CHANGED
|
@@ -4,308 +4,322 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [1.5.
|
|
7
|
+
#### [1.5.2](https://github.com/logue/vue-codemirror6.git/compare/1.5.1...1.5.2)
|
|
8
8
|
|
|
9
|
-
- Add
|
|
10
|
-
-
|
|
11
|
-
- Update
|
|
9
|
+
- Add AGENT.md. [`5514bf3`](https://github.com/logue/vue-codemirror6.git/commit/5514bf3664c4d1f5fdab926449780079362bc03b)
|
|
10
|
+
- Vulnerability response [`461d0b1`](https://github.com/logue/vue-codemirror6.git/commit/461d0b1e82c49088ffb0775310f01b2fb63b991c)
|
|
11
|
+
- Update dependencies. [`c8ef924`](https://github.com/logue/vue-codemirror6.git/commit/c8ef9247ec878390640c050c7e499ef508091354)
|
|
12
12
|
|
|
13
|
-
#### [1.
|
|
13
|
+
#### [1.5.1](https://github.com/logue/vue-codemirror6.gitcompare/1.5.0...1.5.1)
|
|
14
|
+
|
|
15
|
+
> 3 April 2026
|
|
16
|
+
|
|
17
|
+
- Fixed index.d.ts path. [`eed7df2`](https://github.com/logue/vue-codemirror6.git/commit/eed7df2e5dfc2310415e4b6c9e1f1a9cb3e32b3f)
|
|
18
|
+
|
|
19
|
+
#### [1.5.0](https://github.com/logue/vue-codemirror6.git/compare/1.4.3...1.5.0)
|
|
20
|
+
|
|
21
|
+
> 30 March 2026
|
|
22
|
+
|
|
23
|
+
- Add AI instructions. [`75fecba`](https://github.com/logue/vue-codemirror6.git/commit/75fecba1d79bbd308864dbbfb5884026c1c20be6)
|
|
24
|
+
- Fixed warnings output during the build process. [`4721a8d`](https://github.com/logue/vue-codemirror6.git/commit/4721a8d94faf0a32c5a7b2459f989e361acb0a27)
|
|
25
|
+
- Update Dependencies. [`c8c3d2a`](https://github.com/logue/vue-codemirror6.git/commit/c8c3d2a23ef8eecc6ab28d42d53bdc7f457ceac5)
|
|
26
|
+
|
|
27
|
+
#### [1.4.3](https://github.com/logue/vue-codemirror6.git/compare/1.4.2...1.4.3)
|
|
14
28
|
|
|
15
29
|
> 5 March 2026
|
|
16
30
|
|
|
17
|
-
- Replace eslint-plugin-import to eslint-plugin-x. [`e46491a`](https://github.com/logue/vue-codemirror6/commit/e46491a24270f8ea392a3354bbecbaf7092f8ef9)
|
|
18
|
-
- Add Japanese Readme. [`e279cc0`](https://github.com/logue/vue-codemirror6/commit/e279cc0e1b23bba6c1dd690fb6a963b82e8508f6)
|
|
19
|
-
- Update ChangeLog/ [`8648633`](https://github.com/logue/vue-codemirror6/commit/86486330c50af4c4c13eeabcc3b6a498ab8a65d1)
|
|
31
|
+
- Replace eslint-plugin-import to eslint-plugin-x. [`e46491a`](https://github.com/logue/vue-codemirror6.git/commit/e46491a24270f8ea392a3354bbecbaf7092f8ef9)
|
|
32
|
+
- Add Japanese Readme. [`e279cc0`](https://github.com/logue/vue-codemirror6.git/commit/e279cc0e1b23bba6c1dd690fb6a963b82e8508f6)
|
|
33
|
+
- Update ChangeLog/ [`8648633`](https://github.com/logue/vue-codemirror6.git/commit/86486330c50af4c4c13eeabcc3b6a498ab8a65d1)
|
|
20
34
|
|
|
21
|
-
#### [1.4.2](https://github.com/logue/vue-codemirror6/compare/1.4.0...1.4.2)
|
|
35
|
+
#### [1.4.2](https://github.com/logue/vue-codemirror6.git/compare/1.4.0...1.4.2)
|
|
22
36
|
|
|
23
37
|
> 17 February 2026
|
|
24
38
|
|
|
25
|
-
- Move the contents of Codemirror.ts to index.ts. [`d9a624b`](https://github.com/logue/vue-codemirror6/commit/d9a624bbe61034b2a5abe553b0e362818ea8e91b)
|
|
26
|
-
- Fixed dark mode in demo program. [`dd54015`](https://github.com/logue/vue-codemirror6/commit/dd54015c8ebb11cf24dd8d5b38e1e35e00ed56b5)
|
|
27
|
-
- Add oxilint. [`abb115e`](https://github.com/logue/vue-codemirror6/commit/abb115edd0bcafd641c4a7b35af566bdb1630334)
|
|
39
|
+
- Move the contents of Codemirror.ts to index.ts. [`d9a624b`](https://github.com/logue/vue-codemirror6.git/commit/d9a624bbe61034b2a5abe553b0e362818ea8e91b)
|
|
40
|
+
- Fixed dark mode in demo program. [`dd54015`](https://github.com/logue/vue-codemirror6.git/commit/dd54015c8ebb11cf24dd8d5b38e1e35e00ed56b5)
|
|
41
|
+
- Add oxilint. [`abb115e`](https://github.com/logue/vue-codemirror6.git/commit/abb115edd0bcafd641c4a7b35af566bdb1630334)
|
|
28
42
|
|
|
29
|
-
#### [1.4.0](https://github.com/logue/vue-codemirror6/compare/1.3.13...1.4.0)
|
|
43
|
+
#### [1.4.0](https://github.com/logue/vue-codemirror6.gi/compare/1.3.13...1.4.0)
|
|
30
44
|
|
|
31
45
|
> 17 October 2025
|
|
32
46
|
|
|
33
|
-
- fix: full example link [`#58`](https://github.com/logue/vue-codemirror6/pull/58)
|
|
34
|
-
- Update dependencies. [`985f36f`](https://github.com/logue/vue-codemirror6/commit/985f36f23c4fc1b562b53b664deb7ff1eec79989)
|
|
35
|
-
- Reviewed dependencies. Moved them to peerDependencies and relaxed the version requirements. [`1ffab22`](https://github.com/logue/vue-codemirror6/commit/1ffab224a4274e142449e74abc71a988f6ad8d1c)
|
|
36
|
-
- Update vue, codemirror. [`bfbd153`](https://github.com/logue/vue-codemirror6/commit/bfbd153eeec6c718b95bb719117ad5a02dcf6a37)
|
|
47
|
+
- fix: full example link [`#58`](https://github.com/logue/vue-codemirror6.git/pull/58)
|
|
48
|
+
- Update dependencies. [`985f36f`](https://github.com/logue/vue-codemirror6.git/commit/985f36f23c4fc1b562b53b664deb7ff1eec79989)
|
|
49
|
+
- Reviewed dependencies. Moved them to peerDependencies and relaxed the version requirements. [`1ffab22`](https://github.com/logue/vue-codemirror6.git/commit/1ffab224a4274e142449e74abc71a988f6ad8d1c)
|
|
50
|
+
- Update vue, codemirror. [`bfbd153`](https://github.com/logue/vue-codemirror6.git/commit/bfbd153eeec6c718b95bb719117ad5a02dcf6a37)
|
|
37
51
|
|
|
38
|
-
#### [1.3.13](https://github.com/logue/vue-codemirror6/compare/1.3.8...1.3.13)
|
|
52
|
+
#### [1.3.13](https://github.com/logue/vue-codemirror6.git/compare/1.3.8...1.3.13)
|
|
39
53
|
|
|
40
54
|
> 31 March 2025
|
|
41
55
|
|
|
42
|
-
- Rewrite to eslint.config.ts [`841f686`](https://github.com/logue/vue-codemirror6/commit/841f686ebab5f542a5b7bc1569660ce58a21af65)
|
|
43
|
-
- Fixed types path. [`2b86b2c`](https://github.com/logue/vue-codemirror6/commit/2b86b2c4da906f4591e13221e5c41e52b8792523)
|
|
44
|
-
- Update @codemirror/language, @codemirror/lint, @codemirror/state, @codemirror/view. [`916fa98`](https://github.com/logue/vue-codemirror6/commit/916fa9899e7c3806199f53bddb210d3cba9e7517)
|
|
56
|
+
- Rewrite to eslint.config.ts [`841f686`](https://github.com/logue/vue-codemirror6.git/commit/841f686ebab5f542a5b7bc1569660ce58a21af65)
|
|
57
|
+
- Fixed types path. [`2b86b2c`](https://github.com/logue/vue-codemirror6.git/commit/2b86b2c4da906f4591e13221e5c41e52b8792523)
|
|
58
|
+
- Update @codemirror/language, @codemirror/lint, @codemirror/state, @codemirror/view. [`916fa98`](https://github.com/logue/vue-codemirror6.git/commit/916fa9899e7c3806199f53bddb210d3cba9e7517)
|
|
45
59
|
|
|
46
|
-
#### [1.3.8](https://github.com/logue/vue-codemirror6/compare/1.1.16...1.3.8)
|
|
60
|
+
#### [1.3.8](https://github.com/logue/vue-codemirror6.git/compare/1.1.16...1.3.8)
|
|
47
61
|
|
|
48
62
|
> 22 November 2024
|
|
49
63
|
|
|
50
|
-
- Fix sample code syntax
|
|
51
|
-
- chore: demo docs [`#43`](https://github.com/logue/vue-codemirror6/pull/43)
|
|
52
|
-
- fix: editor not update content when `modelValue` change and selection is out of range [`#44`](https://github.com/logue/vue-codemirror6/pull/44)
|
|
53
|
-
- chore: props and readme doc [`#31`](https://github.com/logue/vue-codemirror6/pull/31)
|
|
54
|
-
- Reduce unnecessary updates [`#22`](https://github.com/logue/vue-codemirror6/pull/22)
|
|
55
|
-
- fix: coalescing-operator [`#20`](https://github.com/logue/vue-codemirror6/pull/20)
|
|
56
|
-
- Migrate to pnpm. [`6d83aec`](https://github.com/logue/vue-codemirror6/commit/6d83aec625d50228cbfb248bc5811b6f83975219)
|
|
57
|
-
- Update dependencies. [`992f209`](https://github.com/logue/vue-codemirror6/commit/992f209c5e4c269b72be119f693b0d0376d529bb)
|
|
58
|
-
- Update dependencies. [`b839a33`](https://github.com/logue/vue-codemirror6/commit/b839a33569fadf3a9bb5e2a8f972c377fc1fce88)
|
|
64
|
+
- Fix sample code syntax error [`#47`](https://github.com/logue/vue-codemirror6.git/pull/47)
|
|
65
|
+
- chore: demo docs [`#43`](https://github.com/logue/vue-codemirror6.git/pull/43)
|
|
66
|
+
- fix: editor not update content when `modelValue` change and selection is out of range [`#44`](https://github.com/logue/vue-codemirror6.git/pull/44)
|
|
67
|
+
- chore: props and readme doc [`#31`](https://github.com/logue/vue-codemirror6.git/pull/31)
|
|
68
|
+
- Reduce unnecessary updates [`#22`](https://github.com/logue/vue-codemirror6.git/pull/22)
|
|
69
|
+
- fix: coalescing-operator [`#20`](https://github.com/logue/vue-codemirror6.git/pull/20)
|
|
70
|
+
- Migrate to pnpm. [`6d83aec`](https://github.com/logue/vue-codemirror6.git/commit/6d83aec625d50228cbfb248bc5811b6f83975219)
|
|
71
|
+
- Update dependencies. [`992f209`](https://github.com/logue/vue-codemirror6.git/commit/992f209c5e4c269b72be119f693b0d0376d529bb)
|
|
72
|
+
- Update dependencies. [`b839a33`](https://github.com/logue/vue-codemirror6.git/commit/b839a33569fadf3a9bb5e2a8f972c377fc1fce88)
|
|
59
73
|
|
|
60
|
-
#### [1.1.16](https://github.com/logue/vue-codemirror6/compare/1.1.13...1.1.16)
|
|
74
|
+
#### [1.1.16](https://github.com/logue/vue-codemirror6.git/compare/1.1.13...1.1.16)
|
|
61
75
|
|
|
62
76
|
> 18 March 2023
|
|
63
77
|
|
|
64
|
-
- Expose `view`. #16 [`daf3e6b`](https://github.com/logue/vue-codemirror6/commit/daf3e6b17a161a5c0c5a35ea2442d85421f05d82)
|
|
65
|
-
- Fixed Maximum call stack size exceeded error. [`f10eaae`](https://github.com/logue/vue-codemirror6/commit/f10eaaea9145bc1d7a6605ab3cb8a82c0ca12df6)
|
|
66
|
-
- Partially fixed the problem that the values defined in props disappeared under certain conditions. [`1cc4468`](https://github.com/logue/vue-codemirror6/commit/1cc4468e35e39ee8eaae1b2f007e3425a757217f)
|
|
78
|
+
- Expose `view`. #16 [`daf3e6b`](https://github.com/logue/vue-codemirror6.git/commit/daf3e6b17a161a5c0c5a35ea2442d85421f05d82)
|
|
79
|
+
- Fixed Maximum call stack size exceeded error. [`f10eaae`](https://github.com/logue/vue-codemirror6.git/commit/f10eaaea9145bc1d7a6605ab3cb8a82c0ca12df6)
|
|
80
|
+
- Partially fixed the problem that the values defined in props disappeared under certain conditions. [`1cc4468`](https://github.com/logue/vue-codemirror6.git/commit/1cc4468e35e39ee8eaae1b2f007e3425a757217f)
|
|
67
81
|
|
|
68
|
-
#### [1.1.13](https://github.com/logue/vue-codemirror6/compare/1.1.12...1.1.13)
|
|
82
|
+
#### [1.1.13](https://github.com/logue/vue-codemirror6.git/compare/1.1.12...1.1.13)
|
|
69
83
|
|
|
70
84
|
> 13 March 2023
|
|
71
85
|
|
|
72
|
-
- Changed minimum Vue version requirement to 2.7.14. [`5b8b255`](https://github.com/logue/vue-codemirror6/commit/5b8b2558967f9fb6f6d9e83a0181afa50f182b98)
|
|
73
|
-
- Add allow-multiple-selections prop. [`ced91ed`](https://github.com/logue/vue-codemirror6/commit/ced91edab8fc25f8f1299341489f6bbbdace9ce8)
|
|
74
|
-
- Update CHANGELOG.md [`51d30e2`](https://github.com/logue/vue-codemirror6/commit/51d30e2f6370847ef888ab2b39ff6e1c8e3ec851)
|
|
86
|
+
- Changed minimum Vue version requirement to 2.7.14. [`5b8b255`](https://github.com/logue/vue-codemirror6.git/commit/5b8b2558967f9fb6f6d9e83a0181afa50f182b98)
|
|
87
|
+
- Add allow-multiple-selections prop. [`ced91ed`](https://github.com/logue/vue-codemirror6.git/commit/ced91edab8fc25f8f1299341489f6bbbdace9ce8)
|
|
88
|
+
- Update CHANGELOG.md [`51d30e2`](https://github.com/logue/vue-codemirror6.git/commit/51d30e2f6370847ef888ab2b39ff6e1c8e3ec851)
|
|
75
89
|
|
|
76
|
-
#### [1.1.12](https://github.com/logue/vue-codemirror6/compare/1.1.11...1.1.12)
|
|
90
|
+
#### [1.1.12](https://github.com/logue/vue-codemirror6.git/compare/1.1.11...1.1.12)
|
|
77
91
|
|
|
78
92
|
> 10 March 2023
|
|
79
93
|
|
|
80
|
-
- chore(CODEOWNERS): CODEOWNERS.com Bot, at your service! [`#14`](https://github.com/logue/vue-codemirror6/pull/14)
|
|
81
|
-
- Update demo code. (Replaced @codemirror/html to @codemirror/vue.) [`8da1a8a`](https://github.com/logue/vue-codemirror6/commit/8da1a8a4e37d713cc78281ce9c304c42a06940dc)
|
|
82
|
-
- Changed implementation to generate
|
|
83
|
-
- Update README.md. [`f8dd493`](https://github.com/logue/vue-codemirror6/commit/f8dd4934a7b9cc089cd830473db5250d28b3389b)
|
|
94
|
+
- chore(CODEOWNERS): CODEOWNERS.com Bot, at your service! [`#14`](https://github.com/logue/vue-codemirror6.git/pull/14)
|
|
95
|
+
- Update demo code. (Replaced @codemirror/html to @codemirror/vue.) [`8da1a8a`](https://github.com/logue/vue-codemirror6.git/commit/8da1a8a4e37d713cc78281ce9c304c42a06940dc)
|
|
96
|
+
- Changed implementation to generate \*.d.ts with vite-plugin-dts. [`1caaa20`](https://github.com/logue/vue-codemirror6.git/commit/1caaa20b1423a3d252a6c770a630fb60e2e3440d)
|
|
97
|
+
- Update README.md. [`f8dd493`](https://github.com/logue/vue-codemirror6.git/commit/f8dd4934a7b9cc089cd830473db5250d28b3389b)
|
|
84
98
|
|
|
85
|
-
#### [1.1.11](https://github.com/logue/vue-codemirror6/compare/1.1.3...1.1.11)
|
|
99
|
+
#### [1.1.11](https://github.com/logue/vue-codemirror6.git/compare/1.1.3...1.1.11)
|
|
86
100
|
|
|
87
101
|
> 4 February 2023
|
|
88
102
|
|
|
89
|
-
- [SECURITY FIX] CWE-1333: Inefficient Regular Expression Complexity #13 [`fc63a9f`](https://github.com/logue/vue-codemirror6/commit/fc63a9f14b5307089e9551157b011072971b112f)
|
|
90
|
-
- Fix for #11 [`c634b55`](https://github.com/logue/vue-codemirror6/commit/c634b555ffff93bb30da2f501ec366289fc86ec1)
|
|
91
|
-
- Add forceReconfigure() function. [`bbfa8ad`](https://github.com/logue/vue-codemirror6/commit/bbfa8adb5bd5cdb56a53bd69337a4e0313e52033)
|
|
103
|
+
- [SECURITY FIX] CWE-1333: Inefficient Regular Expression Complexity #13 [`fc63a9f`](https://github.com/logue/vue-codemirror6.git/commit/fc63a9f14b5307089e9551157b011072971b112f)
|
|
104
|
+
- Fix for #11 [`c634b55`](https://github.com/logue/vue-codemirror6.git/commit/c634b555ffff93bb30da2f501ec366289fc86ec1)
|
|
105
|
+
- Add forceReconfigure() function. [`bbfa8ad`](https://github.com/logue/vue-codemirror6.git/commit/bbfa8adb5bd5cdb56a53bd69337a4e0313e52033)
|
|
92
106
|
|
|
93
|
-
#### [1.1.3](https://github.com/logue/vue-codemirror6/compare/1.1.2...1.1.3)
|
|
107
|
+
#### [1.1.3](https://github.com/logue/vue-codemirror6.git/compare/1.1.2...1.1.3)
|
|
94
108
|
|
|
95
109
|
> 9 January 2023
|
|
96
110
|
|
|
97
|
-
- Bump json5 from 1.0.1 to 1.0.2 [`#10`](https://github.com/logue/vue-codemirror6/pull/10)
|
|
98
|
-
- Consolidated demo code generation settings into a single vite.config.ts [`7fe3ad2`](https://github.com/logue/vue-codemirror6/commit/7fe3ad25676eb34844b7bfe64b5dc73f30211a5b)
|
|
99
|
-
- Update dependencies. [`75b984e`](https://github.com/logue/vue-codemirror6/commit/75b984e38c13114ce30b853fba64493c55368be3)
|
|
111
|
+
- Bump json5 from 1.0.1 to 1.0.2 [`#10`](https://github.com/logue/vue-codemirror6.git/pull/10)
|
|
112
|
+
- Consolidated demo code generation settings into a single vite.config.ts [`7fe3ad2`](https://github.com/logue/vue-codemirror6.git/commit/7fe3ad25676eb34844b7bfe64b5dc73f30211a5b)
|
|
113
|
+
- Update dependencies. [`75b984e`](https://github.com/logue/vue-codemirror6.git/commit/75b984e38c13114ce30b853fba64493c55368be3)
|
|
100
114
|
|
|
101
|
-
#### [1.1.2](https://github.com/logue/vue-codemirror6/compare/1.1.1...1.1.2)
|
|
115
|
+
#### [1.1.2](https://github.com/logue/vue-codemirror6.git/compare/1.1.1...1.1.2)
|
|
102
116
|
|
|
103
117
|
> 24 December 2022
|
|
104
118
|
|
|
105
|
-
- Update CHANGELOG.md. [`72efba5`](https://github.com/logue/vue-codemirror6/commit/72efba5e9e272da2dcb3bd941079ee415d1b4c53)
|
|
106
|
-
- Minor fix. [`d1e3118`](https://github.com/logue/vue-codemirror6/commit/d1e3118ca2f2efe4d63f64e505d8a01a7c29a104)
|
|
107
|
-
- Update dependencies. [`d747a21`](https://github.com/logue/vue-codemirror6/commit/d747a21778b42ed12921dd468a91a910895925e8)
|
|
119
|
+
- Update CHANGELOG.md. [`72efba5`](https://github.com/logue/vue-codemirror6.git/commit/72efba5e9e272da2dcb3bd941079ee415d1b4c53)
|
|
120
|
+
- Minor fix. [`d1e3118`](https://github.com/logue/vue-codemirror6.git/commit/d1e3118ca2f2efe4d63f64e505d8a01a7c29a104)
|
|
121
|
+
- Update dependencies. [`d747a21`](https://github.com/logue/vue-codemirror6.git/commit/d747a21778b42ed12921dd468a91a910895925e8)
|
|
108
122
|
|
|
109
|
-
#### [1.1.1](https://github.com/logue/vue-codemirror6/compare/1.1.0...1.1.1)
|
|
123
|
+
#### [1.1.1](https://github.com/logue/vue-codemirror6.git/compare/1.1.0...1.1.1)
|
|
110
124
|
|
|
111
125
|
> 7 November 2022
|
|
112
126
|
|
|
113
|
-
- Fixed Markdown demo. [`399f32c`](https://github.com/logue/vue-codemirror6/commit/399f32c95440b24c253110670d46811673cf38bd)
|
|
114
|
-
- Fix cross-binding not works. [`137765b`](https://github.com/logue/vue-codemirror6/commit/137765b23c0b27ba3c4784d0708ee7172c94083a)
|
|
115
|
-
- Fixed taking URL class from other than node when building docs. [`fbf1d56`](https://github.com/logue/vue-codemirror6/commit/fbf1d56296b4b739b7ff84107ec33eb3681a0398)
|
|
127
|
+
- Fixed Markdown demo. [`399f32c`](https://github.com/logue/vue-codemirror6.git/commit/399f32c95440b24c253110670d46811673cf38bd)
|
|
128
|
+
- Fix cross-binding not works. [`137765b`](https://github.com/logue/vue-codemirror6.git/commit/137765b23c0b27ba3c4784d0708ee7172c94083a)
|
|
129
|
+
- Fixed taking URL class from other than node when building docs. [`fbf1d56`](https://github.com/logue/vue-codemirror6.git/commit/fbf1d56296b4b739b7ff84107ec33eb3681a0398)
|
|
116
130
|
|
|
117
|
-
#### [1.1.0](https://github.com/logue/vue-codemirror6/compare/1.0.3...1.1.0)
|
|
131
|
+
#### [1.1.0](https://github.com/logue/vue-codemirror6.git/compare/1.0.3...1.1.0)
|
|
118
132
|
|
|
119
133
|
> 31 October 2022
|
|
120
134
|
|
|
121
|
-
- Rewrite the demo code with Vue3 setup. [`fdc7e3c`](https://github.com/logue/vue-codemirror6/commit/fdc7e3c172ff8f1710a74459b1ed7da70420b732)
|
|
122
|
-
- Fixed wrong typing of computed value. [`9b5a572`](https://github.com/logue/vue-codemirror6/commit/9b5a572c5a18bfd3cf9cd5f4c0b0866efab9e893)
|
|
123
|
-
- Add CHANGELOG.md. [`1de388f`](https://github.com/logue/vue-codemirror6/commit/1de388f5126a6afeaec250adefc82bc709251bbd)
|
|
135
|
+
- Rewrite the demo code with Vue3 setup. [`fdc7e3c`](https://github.com/logue/vue-codemirror6.git/commit/fdc7e3c172ff8f1710a74459b1ed7da70420b732)
|
|
136
|
+
- Fixed wrong typing of computed value. [`9b5a572`](https://github.com/logue/vue-codemirror6.git/commit/9b5a572c5a18bfd3cf9cd5f4c0b0866efab9e893)
|
|
137
|
+
- Add CHANGELOG.md. [`1de388f`](https://github.com/logue/vue-codemirror6.git/commit/1de388f5126a6afeaec250adefc82bc709251bbd)
|
|
124
138
|
|
|
125
|
-
#### [1.0.3](https://github.com/logue/vue-codemirror6/compare/1.0.2...1.0.3)
|
|
139
|
+
#### [1.0.3](https://github.com/logue/vue-codemirror6.git/compare/1.0.2...1.0.3)
|
|
126
140
|
|
|
127
141
|
> 12 October 2022
|
|
128
142
|
|
|
129
|
-
- Update dependencies. [`7f096da`](https://github.com/logue/vue-codemirror6/commit/7f096da24bfc50c9f2932cac6ad023d3982281bf)
|
|
130
|
-
- Update demo code. [`ac33441`](https://github.com/logue/vue-codemirror6/commit/ac33441c2886664c11a91b5b838db74220f0b565)
|
|
131
|
-
- Fixed vite.config.docs.ts. [`b13628a`](https://github.com/logue/vue-codemirror6/commit/b13628aeaa29df6c525b899776ae7706cdf800bc)
|
|
143
|
+
- Update dependencies. [`7f096da`](https://github.com/logue/vue-codemirror6.git/commit/7f096da24bfc50c9f2932cac6ad023d3982281bf)
|
|
144
|
+
- Update demo code. [`ac33441`](https://github.com/logue/vue-codemirror6.git/commit/ac33441c2886664c11a91b5b838db74220f0b565)
|
|
145
|
+
- Fixed vite.config.docs.ts. [`b13628a`](https://github.com/logue/vue-codemirror6.git/commit/b13628aeaa29df6c525b899776ae7706cdf800bc)
|
|
132
146
|
|
|
133
|
-
#### [1.0.2](https://github.com/logue/vue-codemirror6/compare/1.0.1...1.0.2)
|
|
147
|
+
#### [1.0.2](https://github.com/logue/vue-codemirror6.git/compare/1.0.1...1.0.2)
|
|
134
148
|
|
|
135
149
|
> 15 September 2022
|
|
136
150
|
|
|
137
|
-
- Enabled to specify HTML tags used in components. [`9b9eecd`](https://github.com/logue/vue-codemirror6/commit/9b9eecdb4da434295bf176c4c17d832871aba927)
|
|
151
|
+
- Enabled to specify HTML tags used in components. [`9b9eecd`](https://github.com/logue/vue-codemirror6.git/commit/9b9eecdb4da434295bf176c4c17d832871aba927)
|
|
138
152
|
|
|
139
|
-
#### [1.0.1](https://github.com/logue/vue-codemirror6/compare/1.0.0...1.0.1)
|
|
153
|
+
#### [1.0.1](https://github.com/logue/vue-codemirror6.git/compare/1.0.0...1.0.1)
|
|
140
154
|
|
|
141
155
|
> 8 September 2022
|
|
142
156
|
|
|
143
|
-
- Update dependencies. [`f3631d0`](https://github.com/logue/vue-codemirror6/commit/f3631d0c3c00a07ba8e69916116db1d611397fb9)
|
|
144
|
-
- Disable drop console. [`e27b9ef`](https://github.com/logue/vue-codemirror6/commit/e27b9efea75180b3c6031c8e3a06c2bd5cee228b)
|
|
157
|
+
- Update dependencies. [`f3631d0`](https://github.com/logue/vue-codemirror6.git/commit/f3631d0c3c00a07ba8e69916116db1d611397fb9)
|
|
158
|
+
- Disable drop console. [`e27b9ef`](https://github.com/logue/vue-codemirror6.git/commit/e27b9efea75180b3c6031c8e3a06c2bd5cee228b)
|
|
145
159
|
|
|
146
|
-
### [1.0.0](https://github.com/logue/vue-codemirror6/compare/0.6.8...1.0.0)
|
|
160
|
+
### [1.0.0](https://github.com/logue/vue-codemirror6.git/compare/0.6.8...1.0.0)
|
|
147
161
|
|
|
148
162
|
> 20 August 2022
|
|
149
163
|
|
|
150
|
-
- Fixed editable and readonly toggle. [`97ac1bf`](https://github.com/logue/vue-codemirror6/commit/97ac1bf8b24775daefb58af91c318771ea355c8d)
|
|
151
|
-
- 1.0 [`4493c74`](https://github.com/logue/vue-codemirror6/commit/4493c744d38002fbca943f43b14985a3ae2c592c)
|
|
164
|
+
- Fixed editable and readonly toggle. [`97ac1bf`](https://github.com/logue/vue-codemirror6.git/commit/97ac1bf8b24775daefb58af91c318771ea355c8d)
|
|
165
|
+
- 1.0 [`4493c74`](https://github.com/logue/vue-codemirror6.git/commit/4493c744d38002fbca943f43b14985a3ae2c592c)
|
|
152
166
|
|
|
153
|
-
#### [0.6.8](https://github.com/logue/vue-codemirror6/compare/0.6.5...0.6.8)
|
|
167
|
+
#### [0.6.8](https://github.com/logue/vue-codemirror6.git/compare/0.6.5...0.6.8)
|
|
154
168
|
|
|
155
169
|
> 1 August 2022
|
|
156
170
|
|
|
157
|
-
- Unify props monitoring process. [`15b8a17`](https://github.com/logue/vue-codemirror6/commit/15b8a171cec652a03800fc9b53c9f3c5b78f74bf)
|
|
158
|
-
- Fixed an error around linter. [`b2fe3db`](https://github.com/logue/vue-codemirror6/commit/b2fe3dba9f6edd3167edeeff08f34139e444ecd7)
|
|
159
|
-
- Fixed dispatch may be executed multiple times when the value of prop is changed. [`2e19316`](https://github.com/logue/vue-codemirror6/commit/2e193168876e7e0da06695e68176433fd328c0b7)
|
|
171
|
+
- Unify props monitoring process. [`15b8a17`](https://github.com/logue/vue-codemirror6.git/commit/15b8a171cec652a03800fc9b53c9f3c5b78f74bf)
|
|
172
|
+
- Fixed an error around linter. [`b2fe3db`](https://github.com/logue/vue-codemirror6.git/commit/b2fe3dba9f6edd3167edeeff08f34139e444ecd7)
|
|
173
|
+
- Fixed dispatch may be executed multiple times when the value of prop is changed. [`2e19316`](https://github.com/logue/vue-codemirror6.git/commit/2e193168876e7e0da06695e68176433fd328c0b7)
|
|
160
174
|
|
|
161
|
-
#### [0.6.5](https://github.com/logue/vue-codemirror6/compare/0.6.4...0.6.5)
|
|
175
|
+
#### [0.6.5](https://github.com/logue/vue-codemirror6.git/compare/0.6.4...0.6.5)
|
|
162
176
|
|
|
163
177
|
> 4 July 2022
|
|
164
178
|
|
|
165
|
-
- Remove banner from source code. [`043e0ed`](https://github.com/logue/vue-codemirror6/commit/043e0ed0769c0b3bf52777e0d64199e713377418)
|
|
166
|
-
- Delete unnecessary cursor movement processing and assignment processing. [`c89fd00`](https://github.com/logue/vue-codemirror6/commit/c89fd0020e241dca2d8292511a2b55ffbece5a82)
|
|
179
|
+
- Remove banner from source code. [`043e0ed`](https://github.com/logue/vue-codemirror6.git/commit/043e0ed0769c0b3bf52777e0d64199e713377418)
|
|
180
|
+
- Delete unnecessary cursor movement processing and assignment processing. [`c89fd00`](https://github.com/logue/vue-codemirror6.git/commit/c89fd0020e241dca2d8292511a2b55ffbece5a82)
|
|
167
181
|
|
|
168
|
-
#### [0.6.4](https://github.com/logue/vue-codemirror6/compare/0.6.0...0.6.4)
|
|
182
|
+
#### [0.6.4](https://github.com/logue/vue-codemirror6.git/compare/0.6.0...0.6.4)
|
|
169
183
|
|
|
170
184
|
> 28 June 2022
|
|
171
185
|
|
|
172
|
-
- Fixed a bug that the cursor may move to a strange place when inputting. [`9977976`](https://github.com/logue/vue-codemirror6/commit/9977976678fda8a268a5c998f6bb95bdf0b86a1e)
|
|
173
|
-
- Changed the logic when assigning text values to CodeMirror. [`313e701`](https://github.com/logue/vue-codemirror6/commit/313e70196573f9365519a7558cbc0f05c193a000)
|
|
174
|
-
- Fixed the problem that the definition file was omitted because the binary output by analyze was given to npm. [`503a52e`](https://github.com/logue/vue-codemirror6/commit/503a52ef7c5077241b72909ee27afb262b52312e)
|
|
186
|
+
- Fixed a bug that the cursor may move to a strange place when inputting. [`9977976`](https://github.com/logue/vue-codemirror6.git/commit/9977976678fda8a268a5c998f6bb95bdf0b86a1e)
|
|
187
|
+
- Changed the logic when assigning text values to CodeMirror. [`313e701`](https://github.com/logue/vue-codemirror6.git/commit/313e70196573f9365519a7558cbc0f05c193a000)
|
|
188
|
+
- Fixed the problem that the definition file was omitted because the binary output by analyze was given to npm. [`503a52e`](https://github.com/logue/vue-codemirror6.git/commit/503a52ef7c5077241b72909ee27afb262b52312e)
|
|
175
189
|
|
|
176
|
-
#### [0.6.0](https://github.com/logue/vue-codemirror6/compare/0.5.5...0.6.0)
|
|
190
|
+
#### [0.6.0](https://github.com/logue/vue-codemirror6.git/compare/0.5.5...0.6.0)
|
|
177
191
|
|
|
178
192
|
> 9 June 2022
|
|
179
193
|
|
|
180
|
-
- Added minimal prop. [`d454d25`](https://github.com/logue/vue-codemirror6/commit/d454d257c1fd04b765f5fdb555b240395fe030b5)
|
|
181
|
-
- Migrate to CodeMirror 6.0.0. [`50cb696`](https://github.com/logue/vue-codemirror6/commit/50cb696dcc3af61d77a7e74ef37041d20bfb71fc)
|
|
182
|
-
- Add methods jsdoc and manual. [`44975eb`](https://github.com/logue/vue-codemirror6/commit/44975ebedf76d1179ab2c1835e9f16b8e583a64a)
|
|
194
|
+
- Added minimal prop. [`d454d25`](https://github.com/logue/vue-codemirror6.git/commit/d454d257c1fd04b765f5fdb555b240395fe030b5)
|
|
195
|
+
- Migrate to CodeMirror 6.0.0. [`50cb696`](https://github.com/logue/vue-codemirror6.git/commit/50cb696dcc3af61d77a7e74ef37041d20bfb71fc)
|
|
196
|
+
- Add methods jsdoc and manual. [`44975eb`](https://github.com/logue/vue-codemirror6.git/commit/44975ebedf76d1179ab2c1835e9f16b8e583a64a)
|
|
183
197
|
|
|
184
|
-
#### [0.5.5](https://github.com/logue/vue-codemirror6/compare/0.5.4...0.5.5)
|
|
198
|
+
#### [0.5.5](https://github.com/logue/vue-codemirror6.git/compare/0.5.4...0.5.5)
|
|
185
199
|
|
|
186
200
|
> 8 June 2022
|
|
187
201
|
|
|
188
|
-
- Urgent release. [`7db9007`](https://github.com/logue/vue-codemirror6/commit/7db9007886b5daeea94f7986d256291911b7a55c)
|
|
202
|
+
- Urgent release. [`7db9007`](https://github.com/logue/vue-codemirror6.git/commit/7db9007886b5daeea94f7986d256291911b7a55c)
|
|
189
203
|
|
|
190
|
-
#### [0.5.4](https://github.com/logue/vue-codemirror6/compare/0.5.3...0.5.4)
|
|
204
|
+
#### [0.5.4](https://github.com/logue/vue-codemirror6.git/compare/0.5.3...0.5.4)
|
|
191
205
|
|
|
192
206
|
> 31 May 2022
|
|
193
207
|
|
|
194
|
-
- Fixed a bug that the cursor goes to a strange place when inputting. [`81af5b2`](https://github.com/logue/vue-codemirror6/commit/81af5b2e950cd972bfe540621fb75a6a8e18d544)
|
|
208
|
+
- Fixed a bug that the cursor goes to a strange place when inputting. [`81af5b2`](https://github.com/logue/vue-codemirror6.git/commit/81af5b2e950cd972bfe540621fb75a6a8e18d544)
|
|
195
209
|
|
|
196
|
-
#### [0.5.3](https://github.com/logue/vue-codemirror6/compare/0.5.2...0.5.3)
|
|
210
|
+
#### [0.5.3](https://github.com/logue/vue-codemirror6.git/compare/0.5.2...0.5.3)
|
|
197
211
|
|
|
198
212
|
> 31 May 2022
|
|
199
213
|
|
|
200
|
-
- Fixed an issue where parent-to-child binding did not work properly. [`d355f2c`](https://github.com/logue/vue-codemirror6/commit/d355f2c7de4437360fdbf021029506d6cce4adba)
|
|
201
|
-
- Changed the implementation to call the extension directly with a function. [`98d338f`](https://github.com/logue/vue-codemirror6/commit/98d338f05a48922529f15f9d706f9614447ff1cb)
|
|
202
|
-
- The initial value of linter is set to simple undefined. [`6cec8b0`](https://github.com/logue/vue-codemirror6/commit/6cec8b000ce18a44a4077c375285a45df2993931)
|
|
214
|
+
- Fixed an issue where parent-to-child binding did not work properly. [`d355f2c`](https://github.com/logue/vue-codemirror6.git/commit/d355f2c7de4437360fdbf021029506d6cce4adba)
|
|
215
|
+
- Changed the implementation to call the extension directly with a function. [`98d338f`](https://github.com/logue/vue-codemirror6.git/commit/98d338f05a48922529f15f9d706f9614447ff1cb)
|
|
216
|
+
- The initial value of linter is set to simple undefined. [`6cec8b0`](https://github.com/logue/vue-codemirror6.git/commit/6cec8b000ce18a44a4077c375285a45df2993931)
|
|
203
217
|
|
|
204
|
-
#### [0.5.2](https://github.com/logue/vue-codemirror6/compare/0.5.1...0.5.2)
|
|
218
|
+
#### [0.5.2](https://github.com/logue/vue-codemirror6.git/compare/0.5.1...0.5.2)
|
|
205
219
|
|
|
206
220
|
> 30 May 2022
|
|
207
221
|
|
|
208
|
-
- Simplify extension processing. [`cd875ff`](https://github.com/logue/vue-codemirror6/commit/cd875ffdeffa072c6abb5b4e3964298bd490b582)
|
|
209
|
-
- Since lintGutter is displayed even for components for which linter is not specified, lintGutter is made an option. [`ab16cbb`](https://github.com/logue/vue-codemirror6/commit/ab16cbb1472a5b29c572279a303a4baa593f4eb3)
|
|
210
|
-
- Fixed innerText is undefined error. [`6466784`](https://github.com/logue/vue-codemirror6/commit/64667849779d0511a472cf8d116ecef8e51f1db8)
|
|
222
|
+
- Simplify extension processing. [`cd875ff`](https://github.com/logue/vue-codemirror6.git/commit/cd875ffdeffa072c6abb5b4e3964298bd490b582)
|
|
223
|
+
- Since lintGutter is displayed even for components for which linter is not specified, lintGutter is made an option. [`ab16cbb`](https://github.com/logue/vue-codemirror6.git/commit/ab16cbb1472a5b29c572279a303a4baa593f4eb3)
|
|
224
|
+
- Fixed innerText is undefined error. [`6466784`](https://github.com/logue/vue-codemirror6.git/commit/64667849779d0511a472cf8d116ecef8e51f1db8)
|
|
211
225
|
|
|
212
|
-
#### [0.5.1](https://github.com/logue/vue-codemirror6/compare/0.5.0...0.5.1)
|
|
226
|
+
#### [0.5.1](https://github.com/logue/vue-codemirror6.git/compare/0.5.0...0.5.1)
|
|
213
227
|
|
|
214
228
|
> 28 May 2022
|
|
215
229
|
|
|
216
|
-
- Fixed linter bug. [`03013b4`](https://github.com/logue/vue-codemirror6/commit/03013b44ce89ba455acafaceac68b2084fe364cf)
|
|
230
|
+
- Fixed linter bug. [`03013b4`](https://github.com/logue/vue-codemirror6.git/commit/03013b44ce89ba455acafaceac68b2084fe364cf)
|
|
217
231
|
|
|
218
|
-
#### [0.5.0](https://github.com/logue/vue-codemirror6/compare/0.3.7...0.5.0)
|
|
232
|
+
#### [0.5.0](https://github.com/logue/vue-codemirror6.git/compare/0.3.7...0.5.0)
|
|
219
233
|
|
|
220
234
|
> 27 May 2022
|
|
221
235
|
|
|
222
|
-
- The output program is compatible with both Vue2 and Vue3.☺ [`7571423`](https://github.com/logue/vue-codemirror6/commit/7571423b0b4f6150300b184b3fc765cb3bf2e21b)
|
|
236
|
+
- The output program is compatible with both Vue2 and Vue3.☺ [`7571423`](https://github.com/logue/vue-codemirror6.git/commit/7571423b0b4f6150300b184b3fc765cb3bf2e21b)
|
|
223
237
|
|
|
224
|
-
#### [0.3.7](https://github.com/logue/vue-codemirror6/compare/0.3.6...0.3.7)
|
|
238
|
+
#### [0.3.7](https://github.com/logue/vue-codemirror6.git/compare/0.3.6...0.3.7)
|
|
225
239
|
|
|
226
240
|
> 26 May 2022
|
|
227
241
|
|
|
228
|
-
- Change the formatting settings. [`42188a5`](https://github.com/logue/vue-codemirror6/commit/42188a5de4ddf1163789cdc2fbd255ed19487fad)
|
|
229
|
-
- Update documents. [`5a78106`](https://github.com/logue/vue-codemirror6/commit/5a7810681c786020afdac8f5d8da8d15f8ad802c)
|
|
230
|
-
- Update docs. [`15d7f8e`](https://github.com/logue/vue-codemirror6/commit/15d7f8e7e1edda995420485160cb9cfd4980fe74)
|
|
242
|
+
- Change the formatting settings. [`42188a5`](https://github.com/logue/vue-codemirror6.git/commit/42188a5de4ddf1163789cdc2fbd255ed19487fad)
|
|
243
|
+
- Update documents. [`5a78106`](https://github.com/logue/vue-codemirror6.git/commit/5a7810681c786020afdac8f5d8da8d15f8ad802c)
|
|
244
|
+
- Update docs. [`15d7f8e`](https://github.com/logue/vue-codemirror6.git/commit/15d7f8e7e1edda995420485160cb9cfd4980fe74)
|
|
231
245
|
|
|
232
|
-
#### [0.3.6](https://github.com/logue/vue-codemirror6/compare/0.3.2...0.3.6)
|
|
246
|
+
#### [0.3.6](https://github.com/logue/vue-codemirror6.git/compare/0.3.2...0.3.6)
|
|
233
247
|
|
|
234
248
|
> 19 May 2022
|
|
235
249
|
|
|
236
|
-
- Rename serve.vue to DemoPage.vue. [`3ba582b`](https://github.com/logue/vue-codemirror6/commit/3ba582b6fa24259b49d1f123b79db185ab7e077a)
|
|
237
|
-
- Fixed an issue where CodeMirror may not work properly during initial display. [`8092b64`](https://github.com/logue/vue-codemirror6/commit/8092b64039e9a3340624ca4e347151609c933a12)
|
|
238
|
-
- Add basic and tab props. [`54eace6`](https://github.com/logue/vue-codemirror6/commit/54eace641678967163fdf93d051181f701167e0e)
|
|
250
|
+
- Rename serve.vue to DemoPage.vue. [`3ba582b`](https://github.com/logue/vue-codemirror6.git/commit/3ba582b6fa24259b49d1f123b79db185ab7e077a)
|
|
251
|
+
- Fixed an issue where CodeMirror may not work properly during initial display. [`8092b64`](https://github.com/logue/vue-codemirror6.git/commit/8092b64039e9a3340624ca4e347151609c933a12)
|
|
252
|
+
- Add basic and tab props. [`54eace6`](https://github.com/logue/vue-codemirror6.git/commit/54eace641678967163fdf93d051181f701167e0e)
|
|
239
253
|
|
|
240
|
-
#### [0.3.2](https://github.com/logue/vue-codemirror6/compare/0.3.0...0.3.2)
|
|
254
|
+
#### [0.3.2](https://github.com/logue/vue-codemirror6.git/compare/0.3.0...0.3.2)
|
|
241
255
|
|
|
242
256
|
> 6 April 2022
|
|
243
257
|
|
|
244
|
-
- When building with vue3, it doesn't work with vue2, so build with vue2. [`87be702`](https://github.com/logue/vue-codemirror6/commit/87be702b278df9cf0f5b26bb8307f7a6d592fd73)
|
|
245
|
-
- Rewrite the wrapper part. [`1e77661`](https://github.com/logue/vue-codemirror6/commit/1e776619bb5f711a789bbe758d10142725de39aa)
|
|
246
|
-
- Update sample. [`f7ed0a5`](https://github.com/logue/vue-codemirror6/commit/f7ed0a507175b6c0d79cf6be55fbd317c5c999b6)
|
|
258
|
+
- When building with vue3, it doesn't work with vue2, so build with vue2. [`87be702`](https://github.com/logue/vue-codemirror6.git/commit/87be702b278df9cf0f5b26bb8307f7a6d592fd73)
|
|
259
|
+
- Rewrite the wrapper part. [`1e77661`](https://github.com/logue/vue-codemirror6.git/commit/1e776619bb5f711a789bbe758d10142725de39aa)
|
|
260
|
+
- Update sample. [`f7ed0a5`](https://github.com/logue/vue-codemirror6.git/commit/f7ed0a507175b6c0d79cf6be55fbd317c5c999b6)
|
|
247
261
|
|
|
248
|
-
#### [0.3.0](https://github.com/logue/vue-codemirror6/compare/0.1.7...0.3.0)
|
|
262
|
+
#### [0.3.0](https://github.com/logue/vue-codemirror6.git/compare/0.1.7...0.3.0)
|
|
249
263
|
|
|
250
264
|
> 29 March 2022
|
|
251
265
|
|
|
252
|
-
#### [0.1.7](https://github.com/logue/vue-codemirror6/compare/0.1.6...0.1.7)
|
|
266
|
+
#### [0.1.7](https://github.com/logue/vue-codemirror6.git/compare/0.1.6...0.1.7)
|
|
253
267
|
|
|
254
268
|
> 26 May 2022
|
|
255
269
|
|
|
256
|
-
- Change Lint settings. [`89558c1`](https://github.com/logue/vue-codemirror6/commit/89558c1ad3a11bc5bd4ee55a11d6bd58022c99eb)
|
|
270
|
+
- Change Lint settings. [`89558c1`](https://github.com/logue/vue-codemirror6.git/commit/89558c1ad3a11bc5bd4ee55a11d6bd58022c99eb)
|
|
257
271
|
|
|
258
|
-
#### [0.1.6](https://github.com/logue/vue-codemirror6/compare/0.1.2...0.1.6)
|
|
272
|
+
#### [0.1.6](https://github.com/logue/vue-codemirror6.git/compare/0.1.2...0.1.6)
|
|
259
273
|
|
|
260
274
|
> 19 May 2022
|
|
261
275
|
|
|
262
|
-
- Follow changes in the master branch [`d7a9e3f`](https://github.com/logue/vue-codemirror6/commit/d7a9e3f9cfd7580bb78c29f96e1f2c84d77d5801)
|
|
263
|
-
- Follow Vue3 version. [`1867c6c`](https://github.com/logue/vue-codemirror6/commit/1867c6c18fdc10f331e1dace37c5773242069150)
|
|
264
|
-
- Since past values may be included, nextTick processing was added to onMouted. [`dac2bdd`](https://github.com/logue/vue-codemirror6/commit/dac2bdd1ea935141ed25b93c9882f6ecc871099e)
|
|
276
|
+
- Follow changes in the master branch [`d7a9e3f`](https://github.com/logue/vue-codemirror6.git/commit/d7a9e3f9cfd7580bb78c29f96e1f2c84d77d5801)
|
|
277
|
+
- Follow Vue3 version. [`1867c6c`](https://github.com/logue/vue-codemirror6.git/commit/1867c6c18fdc10f331e1dace37c5773242069150)
|
|
278
|
+
- Since past values may be included, nextTick processing was added to onMouted. [`dac2bdd`](https://github.com/logue/vue-codemirror6.git/commit/dac2bdd1ea935141ed25b93c9882f6ecc871099e)
|
|
265
279
|
|
|
266
|
-
#### [0.1.2](https://github.com/logue/vue-codemirror6/compare/0.1.0...0.1.2)
|
|
280
|
+
#### [0.1.2](https://github.com/logue/vue-codemirror6.git/compare/0.1.0...0.1.2)
|
|
267
281
|
|
|
268
282
|
> 6 April 2022
|
|
269
283
|
|
|
270
|
-
- Squashed commit of the following: [`db4abdd`](https://github.com/logue/vue-codemirror6/commit/db4abdddda262a7fa4f69f028b423d13442cec68)
|
|
271
|
-
- When building with vue3, it doesn't work with vue2, so build with vue2. [`87be702`](https://github.com/logue/vue-codemirror6/commit/87be702b278df9cf0f5b26bb8307f7a6d592fd73)
|
|
272
|
-
- Rewrite the wrapper part. [`1e77661`](https://github.com/logue/vue-codemirror6/commit/1e776619bb5f711a789bbe758d10142725de39aa)
|
|
284
|
+
- Squashed commit of the following: [`db4abdd`](https://github.com/logue/vue-codemirror6.git/commit/db4abdddda262a7fa4f69f028b423d13442cec68)
|
|
285
|
+
- When building with vue3, it doesn't work with vue2, so build with vue2. [`87be702`](https://github.com/logue/vue-codemirror6.git/commit/87be702b278df9cf0f5b26bb8307f7a6d592fd73)
|
|
286
|
+
- Rewrite the wrapper part. [`1e77661`](https://github.com/logue/vue-codemirror6.git/commit/1e776619bb5f711a789bbe758d10142725de39aa)
|
|
273
287
|
|
|
274
|
-
#### [0.1.0](https://github.com/logue/vue-codemirror6/compare/0.0.6...0.1.0)
|
|
288
|
+
#### [0.1.0](https://github.com/logue/vue-codemirror6.git/compare/0.0.6...0.1.0)
|
|
275
289
|
|
|
276
290
|
> 18 March 2022
|
|
277
291
|
|
|
278
|
-
- Update Samples. (run `yarn run dev`) [`f658c65`](https://github.com/logue/vue-codemirror6/commit/f658c654f2910a133914f2fa0fdc8206dadb7232)
|
|
279
|
-
- Fixed IME probrem. [`7a42e63`](https://github.com/logue/vue-codemirror6/commit/7a42e63f75748039ebb082732fe46cd7967f32d7)
|
|
292
|
+
- Update Samples. (run `yarn run dev`) [`f658c65`](https://github.com/logue/vue-codemirror6.git/commit/f658c654f2910a133914f2fa0fdc8206dadb7232)
|
|
293
|
+
- Fixed IME probrem. [`7a42e63`](https://github.com/logue/vue-codemirror6.git/commit/7a42e63f75748039ebb082732fe46cd7967f32d7)
|
|
280
294
|
|
|
281
|
-
#### [0.0.6](https://github.com/logue/vue-codemirror6/compare/0.0.5...0.0.6)
|
|
295
|
+
#### [0.0.6](https://github.com/logue/vue-codemirror6.git/compare/0.0.5...0.0.6)
|
|
282
296
|
|
|
283
297
|
> 17 March 2022
|
|
284
298
|
|
|
285
|
-
- Fixed d.ts file destination. [`2cd9cdf`](https://github.com/logue/vue-codemirror6/commit/2cd9cdf3f0658d62ae434600e4e8cda14c407a47)
|
|
299
|
+
- Fixed d.ts file destination. [`2cd9cdf`](https://github.com/logue/vue-codemirror6.git/commit/2cd9cdf3f0658d62ae434600e4e8cda14c407a47)
|
|
286
300
|
|
|
287
|
-
#### [0.0.5](https://github.com/logue/vue-codemirror6/compare/0.0.4...0.0.5)
|
|
301
|
+
#### [0.0.5](https://github.com/logue/vue-codemirror6.git/compare/0.0.4...0.0.5)
|
|
288
302
|
|
|
289
303
|
> 17 March 2022
|
|
290
304
|
|
|
291
|
-
- Fixed a bug that the cursor position may be at the top when entering a key. [`e7f5407`](https://github.com/logue/vue-codemirror6/commit/e7f5407c76185cc805c10fc0366c5e6dff5f44f6)
|
|
305
|
+
- Fixed a bug that the cursor position may be at the top when entering a key. [`e7f5407`](https://github.com/logue/vue-codemirror6.git/commit/e7f5407c76185cc805c10fc0366c5e6dff5f44f6)
|
|
292
306
|
|
|
293
|
-
#### [0.0.4](https://github.com/logue/vue-codemirror6/compare/0.0.2...0.0.4)
|
|
307
|
+
#### [0.0.4](https://github.com/logue/vue-codemirror6.git/compare/0.0.2...0.0.4)
|
|
294
308
|
|
|
295
309
|
> 16 February 2022
|
|
296
310
|
|
|
297
|
-
- Update demo code. [`599fa5f`](https://github.com/logue/vue-codemirror6/commit/599fa5f4d87cc7783c98f56a9436a314b368fb64)
|
|
298
|
-
- Removed code that depends on other libraries from the output code. [`7d9e383`](https://github.com/logue/vue-codemirror6/commit/7d9e383c17f31ed8721f94711e7cd1dc595f9e07)
|
|
299
|
-
- Add demo code. [`3e06ef7`](https://github.com/logue/vue-codemirror6/commit/3e06ef70f5ed30fce5a6cb72add2b41fea2745fe)
|
|
311
|
+
- Update demo code. [`599fa5f`](https://github.com/logue/vue-codemirror6.git/commit/599fa5f4d87cc7783c98f56a9436a314b368fb64)
|
|
312
|
+
- Removed code that depends on other libraries from the output code. [`7d9e383`](https://github.com/logue/vue-codemirror6.git/commit/7d9e383c17f31ed8721f94711e7cd1dc595f9e07)
|
|
313
|
+
- Add demo code. [`3e06ef7`](https://github.com/logue/vue-codemirror6.git/commit/3e06ef70f5ed30fce5a6cb72add2b41fea2745fe)
|
|
300
314
|
|
|
301
|
-
#### [0.0.2](https://github.com/logue/vue-codemirror6/compare/0.0.1...0.0.2)
|
|
315
|
+
#### [0.0.2](https://github.com/logue/vue-codemirror6.git/compare/0.0.1...0.0.2)
|
|
302
316
|
|
|
303
317
|
> 14 February 2022
|
|
304
318
|
|
|
305
|
-
- Update package.json. Fixed typing settings. [`12ead23`](https://github.com/logue/vue-codemirror6/commit/12ead23c53c0a5ebc5a68c3bee7b192b587efafc)
|
|
319
|
+
- Update package.json. Fixed typing settings. [`12ead23`](https://github.com/logue/vue-codemirror6.git/commit/12ead23c53c0a5ebc5a68c3bee7b192b587efafc)
|
|
306
320
|
|
|
307
321
|
#### 0.0.1
|
|
308
322
|
|
|
309
323
|
> 10 February 2022
|
|
310
324
|
|
|
311
|
-
- Initial commit. [`b410884`](https://github.com/logue/vue-codemirror6/commit/b41088482f82615e9380e6231a59a39387d172a2)
|
|
325
|
+
- Initial commit. [`b410884`](https://github.com/logue/vue-codemirror6.git/commit/b41088482f82615e9380e6231a59a39387d172a2)
|
package/dist/index.cjs.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2026 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.5.
|
|
8
|
+
* @version 1.5.2
|
|
9
9
|
* @see {@link https://github.com/logue/vue-codemirror6}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});let e=require(`@codemirror/commands`),t=require(`@codemirror/language`),n=require(`@codemirror/lint`),r=require(`@codemirror/state`),i=require(`@codemirror/view`),a=require(`codemirror`),o=require(`vue-demi`);var s={version:`1.5.
|
|
13
|
-
`)===e)return;let t=!d.value.state.selection.ranges.every(t=>t.anchor<e.length&&t.head<e.length),n={from:0,to:d.value.state.doc.length,insert:e},r=s.preserveScrollPosition?d.value.scrollSnapshot().map(d.value.state.changes(n)):void 0;d.value.dispatch({changes:n,selection:t?{anchor:0,head:0}:d.value.state.selection,scrollIntoView:s.scrollIntoView,effects:r?[r]:void 0})},{immediate:!0}),(0,o.onMounted)(async()=>{if(globalThis.window===void 0||!l.value)return;let e=u.value;l.value.childNodes[0]&&(u.value!==``&&console.warn("[CodeMirror.vue] The <code-mirror> tag contains child elements that overwrite the `v-model` values."),e=l.value.childNodes[0].innerText.trim()),d.value=new i.EditorView({parent:l.value,state:r.EditorState.create({doc:e,extensions:v.value}),dispatch:e=>{d.value&&(d.value.update([e]),!(e.changes.empty||!e.docChanged)&&(c.emit(`update:modelValue`,e.state.doc.toString()),c.emit(`change`,e.state)))}}),await(0,o.nextTick)(),c.emit(`ready`,{view:d.value,state:d.value.state,container:l.value})}),(0,o.onUnmounted)(()=>{d.value&&(d.value.destroy(),c.emit(`destroy`))});let y={editor:l,view:d,cursor:m,selection:p,focus:f,length:g,json:h,diagnosticCount:_,dom:d.value?.contentDOM,lint:()=>{!s.linter||!d.value||(s.forceLinting&&(0,n.forceLinting)(d.value),_.value=(0,n.diagnosticCount)(d.value.state))},forceReconfigure:()=>{d.value?.dispatch({effects:r.StateEffect.reconfigure.of([])}),d.value?.dispatch({effects:r.StateEffect.appendConfig.of(v.value)})},getRange:(e,t)=>d.value?.state.sliceDoc(e,t),getLine:e=>d.value?.state.doc.line(e+1).text,lineCount:()=>d.value?.state.doc.lines??0,getCursor:()=>d.value?.state.selection.main.head??0,listSelections:()=>d.value?.state.selection.ranges??[],getSelection:()=>d.value?d.value.state.sliceDoc(d.value.state.selection.main.from,d.value.state.selection.main.to):``,getSelections:()=>{let e=d.value?.state;return e?e.selection.ranges.map(t=>e.sliceDoc(t.from,t.to)):[]},somethingSelected:()=>d.value?.state.selection.ranges.some(e=>!e.empty)??!1,replaceRange:(e,t,n)=>{d.value&&d.value.dispatch({changes:{from:t,to:n,insert:e}})},replaceSelection:e=>{d.value&&d.value.dispatch(d.value.state.replaceSelection(e))},setCursor:e=>{d.value&&d.value.dispatch({selection:{anchor:e}})},setSelection:(e,t)=>{d.value&&d.value.dispatch({selection:{anchor:e,head:t}})},setSelections:(e,t)=>{d.value&&d.value.dispatch({selection:r.EditorSelection.create(e,t)})},extendSelectionsBy:e=>{d.value&&p.value&&d.value.dispatch({selection:r.EditorSelection.create(p.value.ranges.map(t=>t.extend(e(t))))})}};return c.expose(y),y},render(){return l(this.$props.tag,{ref:`editor`,class:`vue-codemirror`},this.$slots.default?l(`aside`,{style:`display: none;`,"aria-hidden":`true`},u(this.$slots.default)):void 0)}}),f=e=>e.component(`CodeMirror`,d);exports.Meta=s,exports.default=d,exports.install=f;
|
|
12
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});let e=require(`@codemirror/commands`),t=require(`@codemirror/language`),n=require(`@codemirror/lint`),r=require(`@codemirror/state`),i=require(`@codemirror/view`),a=require(`codemirror`),o=require(`vue-demi`);var s={version:`1.5.2`,date:`2026-05-01T12:27:43.027Z`},c=e=>e?Object.entries(e).reduce((e,[t,n])=>(t=t.charAt(0).toUpperCase()+t.slice(1),t=`on${t}`,{...e,[t]:n}),{}):{};function l(e,t={},n){if(o.isVue2)return(0,o.h)(e,t,n);let{props:r,domProps:i,on:a,...s}=t,l=a?c(a):{};return(0,o.h)(e,{...s,...r,...i,...l},n)}var u=e=>typeof e==`function`?e():e??[],d=(0,o.defineComponent)({name:`CodeMirror`,model:{prop:`modelValue`,event:`update:modelValue`},props:{modelValue:{type:String,default:``},theme:{type:Object,default:()=>({})},dark:{type:Boolean,default:!1},basic:{type:Boolean,default:!1},minimal:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},wrap:{type:Boolean,default:!1},tab:{type:Boolean,default:!1},indentUnit:{type:String,default:void 0},allowMultipleSelections:{type:Boolean,default:!1},tabSize:{type:Number,default:void 0},lineSeparator:{type:String,default:void 0},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},extensions:{type:Array,default:()=>[]},phrases:{type:Object,default:void 0},lang:{type:Object,default:void 0},linter:{type:Function,default:void 0},linterConfig:{type:Object,default:()=>({})},forceLinting:{type:Boolean,default:!1},gutter:{type:Boolean,default:!1},gutterConfig:{type:Object,default:void 0},tag:{type:String,default:`div`},scrollIntoView:{type:Boolean,default:!0},preserveScrollPosition:{type:Boolean,default:!1},keymap:{type:Array,default:()=>[]}},emits:{"update:modelValue":(e=``)=>!0,update:e=>!0,ready:e=>!0,focus:e=>!0,change:e=>!0,destroy:()=>!0},setup(s,c){let l=(0,o.ref)(),u=(0,o.ref)(s.modelValue),d=(0,o.shallowRef)(void 0),f=(0,o.computed)({get:()=>d.value?.hasFocus??!1,set:e=>{e&&d.value&&d.value.focus()}}),p=(0,o.computed)({get:()=>d.value?.state.selection,set:e=>{d.value&&e&&d.value.dispatch({selection:e})}}),m=(0,o.computed)({get:()=>d.value?.state.selection.main.head??0,set:e=>{d.value&&d.value.dispatch({selection:{anchor:e}})}}),h=(0,o.computed)({get:()=>d.value?.state.toJSON(),set:e=>{d.value&&e&&d.value.setState(r.EditorState.fromJSON(e))}}),g=(0,o.ref)(0),_=(0,o.ref)(0),v=(0,o.computed)(()=>{let o=new r.Compartment,l=new r.Compartment;if(s.basic&&s.minimal)throw Error(`[Vue CodeMirror] Both basic and minimal cannot be specified.`);let u=[];return s.keymap&&s.keymap.length>0&&(u=s.keymap),s.tab&&u.push(e.indentWithTab),[s.basic&&!s.minimal?a.basicSetup:void 0,s.minimal&&!s.basic?a.minimalSetup:void 0,i.EditorView.updateListener.of(e=>{d.value&&(c.emit(`focus`,d.value.hasFocus),g.value=d.value.state.doc?.length,!(e.changes.empty||!e.docChanged)&&(s.linter&&(s.forceLinting&&(0,n.forceLinting)(d.value),_.value=s.linter(d.value).length),c.emit(`update`,e)))}),i.EditorView.theme(s.theme,{dark:s.dark}),s.wrap?i.EditorView.lineWrapping:void 0,s.indentUnit?t.indentUnit.of(s.indentUnit):void 0,r.EditorState.allowMultipleSelections.of(s.allowMultipleSelections),s.tabSize?l.of(r.EditorState.tabSize.of(s.tabSize)):void 0,s.phrases?r.EditorState.phrases.of(s.phrases):void 0,r.EditorState.readOnly.of(s.readonly),i.EditorView.editable.of(!s.disabled),s.lineSeparator?r.EditorState.lineSeparator.of(s.lineSeparator):void 0,s.lang?o.of(s.lang):void 0,s.linter?(0,n.linter)(s.linter,s.linterConfig):void 0,s.linter&&s.gutter?(0,n.lintGutter)(s.gutterConfig):void 0,s.placeholder?(0,i.placeholder)(s.placeholder):void 0,u.length>0?i.keymap.of(u):void 0,...s.extensions].filter(e=>!!e)});(0,o.watch)(v,e=>d.value?.dispatch({effects:r.StateEffect.reconfigure.of(e)}),{immediate:!0}),(0,o.watch)(()=>s.modelValue,async e=>{if(!d.value||d.value.composing||d.value.state.doc.toJSON().join(s.lineSeparator??`
|
|
13
|
+
`)===e)return;let t=!d.value.state.selection.ranges.every(t=>t.anchor<e.length&&t.head<e.length),n={from:0,to:d.value.state.doc.length,insert:e},r=s.preserveScrollPosition?d.value.scrollSnapshot().map(d.value.state.changes(n)):void 0;d.value.dispatch({changes:n,selection:t?{anchor:0,head:0}:d.value.state.selection,scrollIntoView:s.scrollIntoView,effects:r?[r]:void 0})},{immediate:!0}),(0,o.onMounted)(async()=>{if(globalThis.window===void 0||!l.value)return;let e=u.value;l.value.childNodes[0]&&(u.value!==``&&console.warn("[CodeMirror.vue] The <code-mirror> tag contains child elements that overwrite the `v-model` values."),e=l.value.childNodes[0].innerText.trim()),d.value=new i.EditorView({parent:l.value,state:r.EditorState.create({doc:e,extensions:v.value}),dispatch:e=>{d.value&&(d.value.update([e]),!(e.changes.empty||!e.docChanged)&&(c.emit(`update:modelValue`,e.state.doc.toString()),c.emit(`change`,e.state)))}}),await(0,o.nextTick)(),c.emit(`ready`,{view:d.value,state:d.value.state,container:l.value})}),(0,o.onUnmounted)(()=>{d.value&&(d.value.destroy(),c.emit(`destroy`))});let y={editor:l,view:d,cursor:m,selection:p,focus:f,length:g,json:h,diagnosticCount:_,dom:d.value?.contentDOM,lint:()=>{!s.linter||!d.value||(s.forceLinting&&(0,n.forceLinting)(d.value),_.value=(0,n.diagnosticCount)(d.value.state))},forceReconfigure:()=>{d.value?.dispatch({effects:r.StateEffect.reconfigure.of([])}),d.value?.dispatch({effects:r.StateEffect.appendConfig.of(v.value)})},getRange:(e,t)=>d.value?.state.sliceDoc(e,t),getLine:e=>d.value?.state.doc.line(e+1).text,lineCount:()=>d.value?.state.doc.lines??0,getCursor:()=>d.value?.state.selection.main.head??0,listSelections:()=>d.value?.state.selection.ranges??[],getSelection:()=>d.value?d.value.state.sliceDoc(d.value.state.selection.main.from,d.value.state.selection.main.to):``,getSelections:()=>{let e=d.value?.state;return e?e.selection.ranges.map(t=>e.sliceDoc(t.from,t.to)):[]},somethingSelected:()=>d.value?.state.selection.ranges.some(e=>!e.empty)??!1,replaceRange:(e,t,n)=>{d.value&&d.value.dispatch({changes:{from:t,to:n,insert:e}})},replaceSelection:e=>{d.value&&d.value.dispatch(d.value.state.replaceSelection(e))},setCursor:e=>{d.value&&d.value.dispatch({selection:{anchor:e}})},setSelection:(e,t)=>{d.value&&d.value.dispatch({selection:{anchor:e,head:t}})},setSelections:(e,t)=>{d.value&&d.value.dispatch({selection:r.EditorSelection.create(e,t)})},extendSelectionsBy:e=>{d.value&&p.value&&d.value.dispatch({selection:r.EditorSelection.create(p.value.ranges.map(t=>t.extend(e(t))))})}};return c.expose(y),y},render(){return l(this.$props.tag,{ref:`editor`,class:`vue-codemirror`},this.$slots.default?l(`aside`,{style:`display: none;`,"aria-hidden":`true`},u(this.$slots.default)):void 0)}}),f=e=>{e.component(`CodeMirror`,d)};exports.Meta=s,exports.default=d,exports.install=f;
|