jqtree 1.7.0 → 1.7.1
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/.github/workflows/ci.yml +2 -10
- package/.github/workflows/codeql-analysis.yml +2 -2
- package/bower.json +1 -1
- package/docs/Gemfile.lock +34 -37
- package/docs/_config.yml +1 -1
- package/docs/_entries/10_changelog.md +4 -0
- package/docs/package.json +7 -7
- package/docs/pnpm-lock.yaml +387 -269
- package/docs/static/bower.json +2 -2
- package/docs/static/bower_components/fontawesome/css/all.min.css +6 -2
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
- package/docs/static/bower_components/jquery/dist/jquery.js +813 -1102
- package/docs/static/bower_components/jquery/dist/jquery.min.js +2 -2
- package/docs/static/documentation.css +104 -222
- package/docs/tree.jquery.js +3 -3
- package/lib/dragAndDropHandler.js +21 -10
- package/lib/elementsRenderer.js +25 -15
- package/lib/mouse.widget.js +12 -1
- package/lib/node.js +13 -10
- package/lib/nodeElement.js +19 -12
- package/lib/saveStateHandler.js +1 -1
- package/lib/scrollHandler.js +7 -3
- package/lib/selectNodeHandler.js +1 -1
- package/lib/simple.widget.js +2 -0
- package/lib/test/jqTree/accessibility.test.js +37 -0
- package/lib/test/jqTree/events.test.js +73 -77
- package/lib/test/node.test.js +7 -4
- package/lib/version.js +1 -1
- package/package.json +36 -40
- package/src/dragAndDropHandler.ts +24 -10
- package/src/elementsRenderer.ts +49 -42
- package/src/jqtreeOptions.ts +3 -3
- package/src/mouse.widget.ts +12 -0
- package/src/node.ts +10 -5
- package/src/nodeElement.ts +27 -21
- package/src/saveStateHandler.ts +1 -1
- package/src/scrollHandler.ts +6 -2
- package/src/selectNodeHandler.ts +1 -1
- package/src/simple.widget.ts +2 -0
- package/src/test/jqTree/accessibility.test.ts +25 -0
- package/src/test/jqTree/events.test.ts +79 -93
- package/src/test/jqTree/methods.test.ts +1 -1
- package/src/test/node.test.ts +6 -4
- package/src/test/nodeUtil.test.ts +1 -1
- package/src/tree.jquery.ts +1 -1
- package/src/version.ts +1 -1
- package/tree.jquery.debug.js +100 -54
- package/tree.jquery.debug.js.map +1 -1
- package/tree.jquery.js +3 -3
- package/tree.jquery.js.map +1 -1
- package/tsconfig.json +1 -0
- package/.tool-versions +0 -1
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.eot +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.svg +0 -3717
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.woff +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.eot +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.svg +0 -801
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.woff +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.eot +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.svg +0 -5028
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.woff +0 -0
package/.github/workflows/ci.yml
CHANGED
|
@@ -46,7 +46,7 @@ jobs:
|
|
|
46
46
|
run: |
|
|
47
47
|
pnpm run tsc
|
|
48
48
|
- name: Clean coverage
|
|
49
|
-
run:
|
|
49
|
+
run: rm -rf .nyc_output && npx jest --clearCache
|
|
50
50
|
- name: Run jest tests
|
|
51
51
|
run: pnpm run jest
|
|
52
52
|
- name: Playwright install
|
|
@@ -60,20 +60,12 @@ jobs:
|
|
|
60
60
|
name: screenshots
|
|
61
61
|
path: src/playwright/playwright.test.ts-snapshots/
|
|
62
62
|
- name: Merge coverage
|
|
63
|
-
run:
|
|
64
|
-
pnpm run merge-coverage
|
|
65
|
-
pnpm run print-coverage
|
|
66
|
-
pnpm run write-coverage
|
|
63
|
+
run: cp jest-coverage/coverage-final.json .nyc_output/coverage_jsdom.json
|
|
67
64
|
- name: Coverage artifact
|
|
68
65
|
uses: actions/upload-artifact@v3
|
|
69
66
|
with:
|
|
70
67
|
name: coverage
|
|
71
68
|
path: .nyc_output
|
|
72
|
-
- name: Coveralls
|
|
73
|
-
uses: coverallsapp/github-action@master
|
|
74
|
-
with:
|
|
75
|
-
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
76
|
-
path-to-lcov: ./lcov.info
|
|
77
69
|
- name: Codecov
|
|
78
70
|
uses: codecov/codecov-action@v3
|
|
79
71
|
with:
|
package/bower.json
CHANGED
package/docs/Gemfile.lock
CHANGED
|
@@ -1,43 +1,42 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: https://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
activesupport (
|
|
4
|
+
activesupport (7.0.4.3)
|
|
5
5
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
6
|
-
i18n (>=
|
|
7
|
-
minitest (
|
|
8
|
-
tzinfo (~>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
public_suffix (>= 2.0.2, < 5.0)
|
|
6
|
+
i18n (>= 1.6, < 2)
|
|
7
|
+
minitest (>= 5.1)
|
|
8
|
+
tzinfo (~> 2.0)
|
|
9
|
+
addressable (2.8.1)
|
|
10
|
+
public_suffix (>= 2.0.2, < 6.0)
|
|
12
11
|
coffee-script (2.4.1)
|
|
13
12
|
coffee-script-source
|
|
14
13
|
execjs
|
|
15
14
|
coffee-script-source (1.11.1)
|
|
16
15
|
colorator (1.1.0)
|
|
17
|
-
commonmarker (0.23.
|
|
18
|
-
concurrent-ruby (1.
|
|
16
|
+
commonmarker (0.23.9)
|
|
17
|
+
concurrent-ruby (1.2.2)
|
|
19
18
|
dnsruby (1.61.9)
|
|
20
19
|
simpleidn (~> 0.1)
|
|
21
20
|
em-websocket (0.5.3)
|
|
22
21
|
eventmachine (>= 0.12.9)
|
|
23
22
|
http_parser.rb (~> 0)
|
|
24
|
-
ethon (0.
|
|
23
|
+
ethon (0.16.0)
|
|
25
24
|
ffi (>= 1.15.0)
|
|
26
25
|
eventmachine (1.2.7)
|
|
27
26
|
execjs (2.8.1)
|
|
28
|
-
faraday (2.
|
|
29
|
-
faraday-net_http (
|
|
27
|
+
faraday (2.7.4)
|
|
28
|
+
faraday-net_http (>= 2.0, < 3.1)
|
|
30
29
|
ruby2_keywords (>= 0.0.4)
|
|
31
|
-
faraday-net_http (
|
|
30
|
+
faraday-net_http (3.0.2)
|
|
32
31
|
ffi (1.15.5)
|
|
33
32
|
forwardable-extended (2.6.0)
|
|
34
33
|
gemoji (3.0.1)
|
|
35
|
-
github-pages (
|
|
34
|
+
github-pages (228)
|
|
36
35
|
github-pages-health-check (= 1.17.9)
|
|
37
|
-
jekyll (= 3.9.
|
|
36
|
+
jekyll (= 3.9.3)
|
|
38
37
|
jekyll-avatar (= 0.7.0)
|
|
39
38
|
jekyll-coffeescript (= 1.1.1)
|
|
40
|
-
jekyll-commonmark-ghpages (= 0.
|
|
39
|
+
jekyll-commonmark-ghpages (= 0.4.0)
|
|
41
40
|
jekyll-default-layout (= 0.1.4)
|
|
42
41
|
jekyll-feed (= 0.15.1)
|
|
43
42
|
jekyll-gist (= 1.5.0)
|
|
@@ -71,10 +70,10 @@ GEM
|
|
|
71
70
|
jemoji (= 0.12.0)
|
|
72
71
|
kramdown (= 2.3.2)
|
|
73
72
|
kramdown-parser-gfm (= 1.1.0)
|
|
74
|
-
liquid (= 4.0.
|
|
73
|
+
liquid (= 4.0.4)
|
|
75
74
|
mercenary (~> 0.3)
|
|
76
75
|
minima (= 2.5.1)
|
|
77
|
-
nokogiri (>= 1.13.
|
|
76
|
+
nokogiri (>= 1.13.6, < 2.0)
|
|
78
77
|
rouge (= 3.26.0)
|
|
79
78
|
terminal-table (~> 1.4)
|
|
80
79
|
github-pages-health-check (1.17.9)
|
|
@@ -83,17 +82,17 @@ GEM
|
|
|
83
82
|
octokit (~> 4.0)
|
|
84
83
|
public_suffix (>= 3.0, < 5.0)
|
|
85
84
|
typhoeus (~> 1.3)
|
|
86
|
-
html-pipeline (2.14.
|
|
85
|
+
html-pipeline (2.14.3)
|
|
87
86
|
activesupport (>= 2)
|
|
88
87
|
nokogiri (>= 1.4)
|
|
89
88
|
http_parser.rb (0.8.0)
|
|
90
|
-
i18n (
|
|
89
|
+
i18n (1.12.0)
|
|
91
90
|
concurrent-ruby (~> 1.0)
|
|
92
|
-
jekyll (3.9.
|
|
91
|
+
jekyll (3.9.3)
|
|
93
92
|
addressable (~> 2.4)
|
|
94
93
|
colorator (~> 1.0)
|
|
95
94
|
em-websocket (~> 0.5)
|
|
96
|
-
i18n (
|
|
95
|
+
i18n (>= 0.7, < 2)
|
|
97
96
|
jekyll-sass-converter (~> 1.0)
|
|
98
97
|
jekyll-watch (~> 2.0)
|
|
99
98
|
kramdown (>= 1.17, < 3)
|
|
@@ -109,11 +108,11 @@ GEM
|
|
|
109
108
|
coffee-script-source (~> 1.11.1)
|
|
110
109
|
jekyll-commonmark (1.4.0)
|
|
111
110
|
commonmarker (~> 0.22)
|
|
112
|
-
jekyll-commonmark-ghpages (0.
|
|
113
|
-
commonmarker (~> 0.23.
|
|
111
|
+
jekyll-commonmark-ghpages (0.4.0)
|
|
112
|
+
commonmarker (~> 0.23.7)
|
|
114
113
|
jekyll (~> 3.9.0)
|
|
115
114
|
jekyll-commonmark (~> 1.4.0)
|
|
116
|
-
rouge (>= 2.0, <
|
|
115
|
+
rouge (>= 2.0, < 5.0)
|
|
117
116
|
jekyll-default-layout (0.1.4)
|
|
118
117
|
jekyll (~> 3.0)
|
|
119
118
|
jekyll-feed (0.15.1)
|
|
@@ -201,28 +200,28 @@ GEM
|
|
|
201
200
|
rexml
|
|
202
201
|
kramdown-parser-gfm (1.1.0)
|
|
203
202
|
kramdown (~> 2.0)
|
|
204
|
-
liquid (4.0.
|
|
205
|
-
listen (3.
|
|
203
|
+
liquid (4.0.4)
|
|
204
|
+
listen (3.8.0)
|
|
206
205
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
207
206
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
208
207
|
mercenary (0.3.6)
|
|
209
|
-
mini_portile2 (2.8.
|
|
208
|
+
mini_portile2 (2.8.1)
|
|
210
209
|
minima (2.5.1)
|
|
211
210
|
jekyll (>= 3.5, < 5.0)
|
|
212
211
|
jekyll-feed (~> 0.9)
|
|
213
212
|
jekyll-seo-tag (~> 2.1)
|
|
214
|
-
minitest (5.
|
|
215
|
-
nokogiri (1.
|
|
213
|
+
minitest (5.18.0)
|
|
214
|
+
nokogiri (1.14.3)
|
|
216
215
|
mini_portile2 (~> 2.8.0)
|
|
217
216
|
racc (~> 1.4)
|
|
218
|
-
octokit (4.25.
|
|
217
|
+
octokit (4.25.1)
|
|
219
218
|
faraday (>= 1, < 3)
|
|
220
219
|
sawyer (~> 0.9)
|
|
221
220
|
pathutil (0.16.2)
|
|
222
221
|
forwardable-extended (~> 2.6)
|
|
223
222
|
public_suffix (4.0.7)
|
|
224
|
-
racc (1.6.
|
|
225
|
-
rb-fsevent (0.11.
|
|
223
|
+
racc (1.6.2)
|
|
224
|
+
rb-fsevent (0.11.2)
|
|
226
225
|
rb-inotify (0.10.1)
|
|
227
226
|
ffi (~> 1.0)
|
|
228
227
|
rexml (3.2.5)
|
|
@@ -242,16 +241,14 @@ GEM
|
|
|
242
241
|
unf (~> 0.1.4)
|
|
243
242
|
terminal-table (1.8.0)
|
|
244
243
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
245
|
-
thread_safe (0.3.6)
|
|
246
244
|
typhoeus (1.4.0)
|
|
247
245
|
ethon (>= 0.9.0)
|
|
248
|
-
tzinfo (
|
|
249
|
-
|
|
246
|
+
tzinfo (2.0.6)
|
|
247
|
+
concurrent-ruby (~> 1.0)
|
|
250
248
|
unf (0.1.4)
|
|
251
249
|
unf_ext
|
|
252
250
|
unf_ext (0.0.8.2)
|
|
253
251
|
unicode-display_width (1.8.0)
|
|
254
|
-
zeitwerk (2.5.4)
|
|
255
252
|
|
|
256
253
|
PLATFORMS
|
|
257
254
|
ruby
|
package/docs/_config.yml
CHANGED
package/docs/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"copy_static": "cp ../tree.jquery.js . && cp ../jqtree.css ."
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@tailwindcss/typography": "^0.5.
|
|
14
|
-
"autoprefixer": "^10.4.
|
|
15
|
-
"postcss": "^8.4.
|
|
16
|
-
"postcss-cli": "^10",
|
|
17
|
-
"postcss-import": "^15",
|
|
13
|
+
"@tailwindcss/typography": "^0.5.9",
|
|
14
|
+
"autoprefixer": "^10.4.14",
|
|
15
|
+
"postcss": "^8.4.27",
|
|
16
|
+
"postcss-cli": "^10.1.0",
|
|
17
|
+
"postcss-import": "^15.1.0",
|
|
18
18
|
"postcss-load-config": "^4.0.1",
|
|
19
|
-
"postcss-nested": "^6",
|
|
20
|
-
"tailwindcss": "^3.
|
|
19
|
+
"postcss-nested": "^6.0.1",
|
|
20
|
+
"tailwindcss": "^3.3.3"
|
|
21
21
|
}
|
|
22
22
|
}
|