@ridp/threejs 1.1.7 → 1.2.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.
Files changed (77) hide show
  1. package/dist/common-C1rNPPkt.cjs +15 -0
  2. package/dist/common-D1_IztgM.js +54 -0
  3. package/dist/hooks.cjs +1 -1
  4. package/dist/hooks.js +4 -4
  5. package/dist/modelSerialize-5oJb1ka7.js +965 -0
  6. package/dist/modelSerialize-Ds_2KBaA.cjs +5 -0
  7. package/dist/threejs.cjs +1 -1
  8. package/dist/threejs.js +184 -24
  9. package/dist/useGLTFLoader-2awW2QaH.cjs +4 -0
  10. package/dist/useGLTFLoader-BBGTGOYm.js +5507 -0
  11. package/dist/utils.cjs +1 -1
  12. package/dist/utils.js +18 -16
  13. package/esdoc/ast/source/.external-ecmascript.js.json +2801 -2801
  14. package/esdoc/ast/source/hooks/index.js.json +738 -738
  15. package/esdoc/ast/source/hooks/useGLTFLoader.js.json +9110 -9110
  16. package/esdoc/ast/source/hooks/useObb.js.json +16462 -16462
  17. package/esdoc/ast/source/hooks/useRaycaster.js.json +15555 -15555
  18. package/esdoc/ast/source/hooks/useThreeJs.js.json +52886 -52886
  19. package/esdoc/ast/source/index.js.json +569 -569
  20. package/esdoc/ast/source/instance/IDBCache.js.json +40977 -40977
  21. package/esdoc/ast/source/instance/index.js.json +231 -231
  22. package/esdoc/ast/source/utils/ImageLoader.js.json +7036 -7036
  23. package/esdoc/ast/source/utils/common.js.json +5133 -5133
  24. package/esdoc/ast/source/utils/css3dHelper.js.json +9100 -9100
  25. package/esdoc/ast/source/utils/disposeObject.js.json +5977 -5977
  26. package/esdoc/ast/source/utils/helper.js.json +10521 -10521
  27. package/esdoc/ast/source/utils/index.js.json +907 -907
  28. package/esdoc/badge.svg +17 -17
  29. package/esdoc/class/src/instance/IDBCache.js~IDBCache.html +1299 -1299
  30. package/esdoc/coverage.json +85 -85
  31. package/esdoc/css/github.css +83 -83
  32. package/esdoc/css/identifiers.css +37 -37
  33. package/esdoc/css/manual.css +134 -134
  34. package/esdoc/css/prettify-tomorrow.css +132 -132
  35. package/esdoc/css/search.css +84 -84
  36. package/esdoc/css/source.css +55 -55
  37. package/esdoc/css/style.css +608 -608
  38. package/esdoc/css/test.css +58 -58
  39. package/esdoc/file/src/hooks/index.js.html +75 -75
  40. package/esdoc/file/src/hooks/useGLTFLoader.js.html +75 -75
  41. package/esdoc/file/src/hooks/useObb.js.html +75 -75
  42. package/esdoc/file/src/hooks/useRaycaster.js.html +75 -75
  43. package/esdoc/file/src/hooks/useThreeJs.js.html +75 -75
  44. package/esdoc/file/src/index.js.html +75 -75
  45. package/esdoc/file/src/instance/IDBCache.js.html +75 -75
  46. package/esdoc/file/src/instance/index.js.html +75 -75
  47. package/esdoc/file/src/utils/ImageLoader.js.html +75 -75
  48. package/esdoc/file/src/utils/common.js.html +75 -75
  49. package/esdoc/file/src/utils/css3dHelper.js.html +75 -75
  50. package/esdoc/file/src/utils/disposeObject.js.html +75 -75
  51. package/esdoc/file/src/utils/helper.js.html +75 -75
  52. package/esdoc/file/src/utils/index.js.html +75 -75
  53. package/esdoc/function/index.html +2019 -2019
  54. package/esdoc/identifiers.html +738 -738
  55. package/esdoc/image/badge.svg +17 -17
  56. package/esdoc/image/manual-badge.svg +17 -17
  57. package/esdoc/index.html +153 -153
  58. package/esdoc/index.json +2050 -2050
  59. package/esdoc/script/inherited-summary.js +28 -28
  60. package/esdoc/script/inner-link.js +32 -32
  61. package/esdoc/script/manual.js +12 -12
  62. package/esdoc/script/patch-for-local.js +8 -8
  63. package/esdoc/script/prettify/Apache-License-2.0.txt +202 -202
  64. package/esdoc/script/prettify/prettify.js +46 -46
  65. package/esdoc/script/pretty-print.js +25 -25
  66. package/esdoc/script/search.js +117 -117
  67. package/esdoc/script/search_index.js +571 -571
  68. package/esdoc/script/test-summary.js +54 -54
  69. package/esdoc/source.html +213 -213
  70. package/esdoc/variable/index.html +225 -225
  71. package/package.json +3 -5
  72. package/dist/ImageLoader-B_rHfhtt.cjs +0 -1
  73. package/dist/ImageLoader-D9uANgrl.js +0 -1475
  74. package/dist/common-DTEEkXFr.cjs +0 -1
  75. package/dist/common-DhuVL1VV.js +0 -73
  76. package/dist/useGLTFLoader-BDER-upw.cjs +0 -1
  77. package/dist/useGLTFLoader-UD3WYZET.js +0 -7016
@@ -1,132 +1,132 @@
1
- /* Tomorrow Theme */
2
- /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
- /* Pretty printing styles. Used with prettify.js. */
4
- /* SPAN elements with the classes below are added by prettyprint. */
5
- /* plain text */
6
- .pln {
7
- color: #4d4d4c; }
8
-
9
- @media screen {
10
- /* string content */
11
- .str {
12
- color: #718c00; }
13
-
14
- /* a keyword */
15
- .kwd {
16
- color: #8959a8; }
17
-
18
- /* a comment */
19
- .com {
20
- color: #8e908c; }
21
-
22
- /* a type name */
23
- .typ {
24
- color: #4271ae; }
25
-
26
- /* a literal value */
27
- .lit {
28
- color: #f5871f; }
29
-
30
- /* punctuation */
31
- .pun {
32
- color: #4d4d4c; }
33
-
34
- /* lisp open bracket */
35
- .opn {
36
- color: #4d4d4c; }
37
-
38
- /* lisp close bracket */
39
- .clo {
40
- color: #4d4d4c; }
41
-
42
- /* a markup tag name */
43
- .tag {
44
- color: #c82829; }
45
-
46
- /* a markup attribute name */
47
- .atn {
48
- color: #f5871f; }
49
-
50
- /* a markup attribute value */
51
- .atv {
52
- color: #3e999f; }
53
-
54
- /* a declaration */
55
- .dec {
56
- color: #f5871f; }
57
-
58
- /* a variable name */
59
- .var {
60
- color: #c82829; }
61
-
62
- /* a function name */
63
- .fun {
64
- color: #4271ae; } }
65
- /* Use higher contrast and text-weight for printable form. */
66
- @media print, projection {
67
- .str {
68
- color: #060; }
69
-
70
- .kwd {
71
- color: #006;
72
- font-weight: bold; }
73
-
74
- .com {
75
- color: #600;
76
- font-style: italic; }
77
-
78
- .typ {
79
- color: #404;
80
- font-weight: bold; }
81
-
82
- .lit {
83
- color: #044; }
84
-
85
- .pun, .opn, .clo {
86
- color: #440; }
87
-
88
- .tag {
89
- color: #006;
90
- font-weight: bold; }
91
-
92
- .atn {
93
- color: #404; }
94
-
95
- .atv {
96
- color: #060; } }
97
- /* Style */
98
- /*
99
- pre.prettyprint {
100
- background: white;
101
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
102
- font-size: 12px;
103
- line-height: 1.5;
104
- border: 1px solid #ccc;
105
- padding: 10px; }
106
- */
107
-
108
- /* Specify class=linenums on a pre to get line numbering */
109
- ol.linenums {
110
- margin-top: 0;
111
- margin-bottom: 0; }
112
-
113
- /* IE indents via margin-left */
114
- li.L0,
115
- li.L1,
116
- li.L2,
117
- li.L3,
118
- li.L4,
119
- li.L5,
120
- li.L6,
121
- li.L7,
122
- li.L8,
123
- li.L9 {
124
- /* */ }
125
-
126
- /* Alternate shading for lines */
127
- li.L1,
128
- li.L3,
129
- li.L5,
130
- li.L7,
131
- li.L9 {
132
- /* */ }
1
+ /* Tomorrow Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* Pretty printing styles. Used with prettify.js. */
4
+ /* SPAN elements with the classes below are added by prettyprint. */
5
+ /* plain text */
6
+ .pln {
7
+ color: #4d4d4c; }
8
+
9
+ @media screen {
10
+ /* string content */
11
+ .str {
12
+ color: #718c00; }
13
+
14
+ /* a keyword */
15
+ .kwd {
16
+ color: #8959a8; }
17
+
18
+ /* a comment */
19
+ .com {
20
+ color: #8e908c; }
21
+
22
+ /* a type name */
23
+ .typ {
24
+ color: #4271ae; }
25
+
26
+ /* a literal value */
27
+ .lit {
28
+ color: #f5871f; }
29
+
30
+ /* punctuation */
31
+ .pun {
32
+ color: #4d4d4c; }
33
+
34
+ /* lisp open bracket */
35
+ .opn {
36
+ color: #4d4d4c; }
37
+
38
+ /* lisp close bracket */
39
+ .clo {
40
+ color: #4d4d4c; }
41
+
42
+ /* a markup tag name */
43
+ .tag {
44
+ color: #c82829; }
45
+
46
+ /* a markup attribute name */
47
+ .atn {
48
+ color: #f5871f; }
49
+
50
+ /* a markup attribute value */
51
+ .atv {
52
+ color: #3e999f; }
53
+
54
+ /* a declaration */
55
+ .dec {
56
+ color: #f5871f; }
57
+
58
+ /* a variable name */
59
+ .var {
60
+ color: #c82829; }
61
+
62
+ /* a function name */
63
+ .fun {
64
+ color: #4271ae; } }
65
+ /* Use higher contrast and text-weight for printable form. */
66
+ @media print, projection {
67
+ .str {
68
+ color: #060; }
69
+
70
+ .kwd {
71
+ color: #006;
72
+ font-weight: bold; }
73
+
74
+ .com {
75
+ color: #600;
76
+ font-style: italic; }
77
+
78
+ .typ {
79
+ color: #404;
80
+ font-weight: bold; }
81
+
82
+ .lit {
83
+ color: #044; }
84
+
85
+ .pun, .opn, .clo {
86
+ color: #440; }
87
+
88
+ .tag {
89
+ color: #006;
90
+ font-weight: bold; }
91
+
92
+ .atn {
93
+ color: #404; }
94
+
95
+ .atv {
96
+ color: #060; } }
97
+ /* Style */
98
+ /*
99
+ pre.prettyprint {
100
+ background: white;
101
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
102
+ font-size: 12px;
103
+ line-height: 1.5;
104
+ border: 1px solid #ccc;
105
+ padding: 10px; }
106
+ */
107
+
108
+ /* Specify class=linenums on a pre to get line numbering */
109
+ ol.linenums {
110
+ margin-top: 0;
111
+ margin-bottom: 0; }
112
+
113
+ /* IE indents via margin-left */
114
+ li.L0,
115
+ li.L1,
116
+ li.L2,
117
+ li.L3,
118
+ li.L4,
119
+ li.L5,
120
+ li.L6,
121
+ li.L7,
122
+ li.L8,
123
+ li.L9 {
124
+ /* */ }
125
+
126
+ /* Alternate shading for lines */
127
+ li.L1,
128
+ li.L3,
129
+ li.L5,
130
+ li.L7,
131
+ li.L9 {
132
+ /* */ }
@@ -1,84 +1,84 @@
1
- /* search box */
2
- .search-box {
3
- position: absolute;
4
- top: 10px;
5
- right: 50px;
6
- padding-right: 8px;
7
- padding-bottom: 10px;
8
- line-height: normal;
9
- font-size: 12px;
10
- }
11
-
12
- .search-box img {
13
- width: 20px;
14
- vertical-align: top;
15
- }
16
-
17
- .search-input {
18
- display: inline;
19
- visibility: hidden;
20
- width: 0;
21
- padding: 2px;
22
- height: 1.5em;
23
- outline: none;
24
- background: transparent;
25
- border: 1px #0af;
26
- border-style: none none solid none;
27
- vertical-align: bottom;
28
- }
29
-
30
- .search-input-edge {
31
- display: none;
32
- width: 1px;
33
- height: 5px;
34
- background-color: #0af;
35
- vertical-align: bottom;
36
- }
37
-
38
- .search-result {
39
- position: absolute;
40
- display: none;
41
- height: 600px;
42
- width: 100%;
43
- padding: 0;
44
- margin-top: 5px;
45
- margin-left: 24px;
46
- background: white;
47
- box-shadow: 1px 1px 4px rgb(0,0,0);
48
- white-space: nowrap;
49
- overflow-y: scroll;
50
- }
51
-
52
- .search-result-import-path {
53
- color: #aaa;
54
- font-size: 12px;
55
- }
56
-
57
- .search-result li {
58
- list-style: none;
59
- padding: 2px 4px;
60
- }
61
-
62
- .search-result li a {
63
- display: block;
64
- }
65
-
66
- .search-result li.selected {
67
- background: #ddd;
68
- }
69
-
70
- .search-result li.search-separator {
71
- background: rgb(37, 138, 175);
72
- color: white;
73
- }
74
-
75
- .search-box.active .search-input {
76
- visibility: visible;
77
- transition: width 0.2s ease-out;
78
- width: 300px;
79
- }
80
-
81
- .search-box.active .search-input-edge {
82
- display: inline-block;
83
- }
84
-
1
+ /* search box */
2
+ .search-box {
3
+ position: absolute;
4
+ top: 10px;
5
+ right: 50px;
6
+ padding-right: 8px;
7
+ padding-bottom: 10px;
8
+ line-height: normal;
9
+ font-size: 12px;
10
+ }
11
+
12
+ .search-box img {
13
+ width: 20px;
14
+ vertical-align: top;
15
+ }
16
+
17
+ .search-input {
18
+ display: inline;
19
+ visibility: hidden;
20
+ width: 0;
21
+ padding: 2px;
22
+ height: 1.5em;
23
+ outline: none;
24
+ background: transparent;
25
+ border: 1px #0af;
26
+ border-style: none none solid none;
27
+ vertical-align: bottom;
28
+ }
29
+
30
+ .search-input-edge {
31
+ display: none;
32
+ width: 1px;
33
+ height: 5px;
34
+ background-color: #0af;
35
+ vertical-align: bottom;
36
+ }
37
+
38
+ .search-result {
39
+ position: absolute;
40
+ display: none;
41
+ height: 600px;
42
+ width: 100%;
43
+ padding: 0;
44
+ margin-top: 5px;
45
+ margin-left: 24px;
46
+ background: white;
47
+ box-shadow: 1px 1px 4px rgb(0,0,0);
48
+ white-space: nowrap;
49
+ overflow-y: scroll;
50
+ }
51
+
52
+ .search-result-import-path {
53
+ color: #aaa;
54
+ font-size: 12px;
55
+ }
56
+
57
+ .search-result li {
58
+ list-style: none;
59
+ padding: 2px 4px;
60
+ }
61
+
62
+ .search-result li a {
63
+ display: block;
64
+ }
65
+
66
+ .search-result li.selected {
67
+ background: #ddd;
68
+ }
69
+
70
+ .search-result li.search-separator {
71
+ background: rgb(37, 138, 175);
72
+ color: white;
73
+ }
74
+
75
+ .search-box.active .search-input {
76
+ visibility: visible;
77
+ transition: width 0.2s ease-out;
78
+ width: 300px;
79
+ }
80
+
81
+ .search-box.active .search-input-edge {
82
+ display: inline-block;
83
+ }
84
+
@@ -1,55 +1,55 @@
1
- table.files-summary {
2
- width: 100%;
3
- margin: 10px 0;
4
- border-spacing: 0;
5
- border: 0;
6
- border-collapse: collapse;
7
- text-align: right;
8
- }
9
-
10
- table.files-summary tbody tr:hover {
11
- background: #eee;
12
- }
13
-
14
- table.files-summary td:first-child,
15
- table.files-summary td:nth-of-type(2) {
16
- text-align: left;
17
- }
18
-
19
- table.files-summary[data-use-coverage="false"] td.coverage {
20
- display: none;
21
- }
22
-
23
- table.files-summary thead {
24
- background: #fafafa;
25
- }
26
-
27
- table.files-summary td {
28
- border: solid 1px #ddd;
29
- padding: 4px 10px;
30
- vertical-align: top;
31
- }
32
-
33
- table.files-summary td.identifiers > span {
34
- display: block;
35
- margin-top: 4px;
36
- }
37
- table.files-summary td.identifiers > span:first-child {
38
- margin-top: 0;
39
- }
40
-
41
- table.files-summary .coverage-count {
42
- font-size: 12px;
43
- color: #aaa;
44
- display: inline-block;
45
- min-width: 40px;
46
- }
47
-
48
- .total-coverage-count {
49
- position: relative;
50
- bottom: 2px;
51
- font-size: 12px;
52
- color: #666;
53
- font-weight: 500;
54
- padding-left: 5px;
55
- }
1
+ table.files-summary {
2
+ width: 100%;
3
+ margin: 10px 0;
4
+ border-spacing: 0;
5
+ border: 0;
6
+ border-collapse: collapse;
7
+ text-align: right;
8
+ }
9
+
10
+ table.files-summary tbody tr:hover {
11
+ background: #eee;
12
+ }
13
+
14
+ table.files-summary td:first-child,
15
+ table.files-summary td:nth-of-type(2) {
16
+ text-align: left;
17
+ }
18
+
19
+ table.files-summary[data-use-coverage="false"] td.coverage {
20
+ display: none;
21
+ }
22
+
23
+ table.files-summary thead {
24
+ background: #fafafa;
25
+ }
26
+
27
+ table.files-summary td {
28
+ border: solid 1px #ddd;
29
+ padding: 4px 10px;
30
+ vertical-align: top;
31
+ }
32
+
33
+ table.files-summary td.identifiers > span {
34
+ display: block;
35
+ margin-top: 4px;
36
+ }
37
+ table.files-summary td.identifiers > span:first-child {
38
+ margin-top: 0;
39
+ }
40
+
41
+ table.files-summary .coverage-count {
42
+ font-size: 12px;
43
+ color: #aaa;
44
+ display: inline-block;
45
+ min-width: 40px;
46
+ }
47
+
48
+ .total-coverage-count {
49
+ position: relative;
50
+ bottom: 2px;
51
+ font-size: 12px;
52
+ color: #666;
53
+ font-weight: 500;
54
+ padding-left: 5px;
55
+ }