unicode-input-toolconverter 0.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 (123) hide show
  1. package/.babelrc.json +3 -0
  2. package/.editorconfig +16 -0
  3. package/.nojekyll +0 -0
  4. package/.nyc_output/out.json +173804 -0
  5. package/.nyc_output/processinfo/index.json +1 -0
  6. package/CHANGES.md +11 -0
  7. package/COPYING.LESSER.txt +180 -0
  8. package/COPYING.txt +687 -0
  9. package/README.md +65 -0
  10. package/_locales/en-US/messages.json +3126 -0
  11. package/_locales/hu-HU/messages.json +3126 -0
  12. package/_locales/pt-BR/messages.json +3126 -0
  13. package/_locales/sv-SE/messages.json +3126 -0
  14. package/babel.config.json +5 -0
  15. package/browser_action/characterSelection.js +91 -0
  16. package/browser_action/charrefConverters.js +389 -0
  17. package/browser_action/chartBuild.js +155 -0
  18. package/browser_action/encodingBehaviors.js +72 -0
  19. package/browser_action/encodings.js +97 -0
  20. package/browser_action/entities.js +12 -0
  21. package/browser_action/entityBehaviors.js +96 -0
  22. package/browser_action/index-es.html +15 -0
  23. package/browser_action/index-instrumented.html +16 -0
  24. package/browser_action/index-pages.html +16 -0
  25. package/browser_action/index.html +16 -0
  26. package/browser_action/index.iife.min.js +2 -0
  27. package/browser_action/index.iife.min.js.map +1 -0
  28. package/browser_action/index.instrumented.iife.min.js +2 -0
  29. package/browser_action/index.instrumented.iife.min.js.map +1 -0
  30. package/browser_action/index.js +95 -0
  31. package/browser_action/preferences/prefDefaults.js +52 -0
  32. package/browser_action/service-worker/sw-activateCallback.js +53 -0
  33. package/browser_action/service-worker/sw-locales.json +6 -0
  34. package/browser_action/service-worker/sw-resources.json +73 -0
  35. package/browser_action/service-worker/sw-unicode-data.json +3 -0
  36. package/browser_action/styles/unicode-dialog.css +391 -0
  37. package/browser_action/templateUtils/elements.js +12 -0
  38. package/browser_action/templateUtils/fill.js +3 -0
  39. package/browser_action/templateUtils/validation.js +6 -0
  40. package/browser_action/templates/chartBuild.js +185 -0
  41. package/browser_action/templates/index.js +1304 -0
  42. package/browser_action/templatesElementCustomization/widgets.js +56 -0
  43. package/browser_action/unicode/UnicodeConverter.js +793 -0
  44. package/browser_action/unicode/charrefunicodeDb.js +258 -0
  45. package/browser_action/unicode/getScriptInfoForCodePoint.js +646 -0
  46. package/browser_action/unicode/hangul.js +253 -0
  47. package/browser_action/unicode/lastScriptNames.json +5 -0
  48. package/browser_action/unicode/parseUnihanFromTextFileStrings.js +56 -0
  49. package/browser_action/unicode/unicodeFieldInfo.js +120 -0
  50. package/browser_action/unicode/unicodeScripts.js +4912 -0
  51. package/browser_action/unicode/unihan.js +129 -0
  52. package/browser_action/unicode/unihanDbPopulate.js +26 -0
  53. package/browser_action/unicodecharref.js +1480 -0
  54. package/browser_action/utils/DOMUtils.js +122 -0
  55. package/browser_action/utils/FetchUtils.js +19 -0
  56. package/browser_action/utils/TextUtils.js +28 -0
  57. package/browser_action/utils/TypedArrayUtils.js +21 -0
  58. package/browser_action/utils/semicolonSeparatedToArray.js +12 -0
  59. package/browser_action/utils/setupServiceWorker.js +193 -0
  60. package/cypress.config.js +21 -0
  61. package/download/entities/copyright-software-20021231.html +70 -0
  62. package/download/entities/html5-uppercase.ent +54 -0
  63. package/download/entities/htmlmathml-f.ent +2164 -0
  64. package/download/entities/isoamsa.ent +201 -0
  65. package/download/entities/isoamsb.ent +177 -0
  66. package/download/entities/isoamsc.ent +77 -0
  67. package/download/entities/isoamsn.ent +148 -0
  68. package/download/entities/isoamso.ent +107 -0
  69. package/download/entities/isoamsr.ent +238 -0
  70. package/download/entities/isobox.ent +95 -0
  71. package/download/entities/isocyr1.ent +122 -0
  72. package/download/entities/isocyr2.ent +81 -0
  73. package/download/entities/isodia.ent +69 -0
  74. package/download/entities/isogrk1.ent +104 -0
  75. package/download/entities/isogrk2.ent +75 -0
  76. package/download/entities/isogrk3.ent +98 -0
  77. package/download/entities/isogrk4.ent +98 -0
  78. package/download/entities/isolat1.ent +117 -0
  79. package/download/entities/isolat2.ent +176 -0
  80. package/download/entities/isomfrk.ent +107 -0
  81. package/download/entities/isomopf.ent +81 -0
  82. package/download/entities/isomscr.ent +107 -0
  83. package/download/entities/isonum.ent +131 -0
  84. package/download/entities/isopub.ent +140 -0
  85. package/download/entities/isotech.ent +216 -0
  86. package/download/entities/mmlalias.ent +598 -0
  87. package/download/entities/mmlextra.ent +154 -0
  88. package/download/entities/predefined.ent +52 -0
  89. package/download/entities/w3centities-f.ent +2276 -0
  90. package/download/entities/xhtml1-lat1.ent +143 -0
  91. package/download/entities/xhtml1-special.ent +78 -0
  92. package/download/entities/xhtml1-symbol.ent +171 -0
  93. package/eslint.config.js +66 -0
  94. package/icons/openWindow16.png +0 -0
  95. package/icons/openWindow24.png +0 -0
  96. package/lgtm.yml +5 -0
  97. package/lib/background.html +11 -0
  98. package/lib/background.js +13 -0
  99. package/lib/overlay.css +6 -0
  100. package/manifest.json +37 -0
  101. package/package.json +121 -0
  102. package/polyfills/browser-polyfill.min.js +8 -0
  103. package/polyfills/browser-polyfill.min.js.map +1 -0
  104. package/server.js +61 -0
  105. package/sw.js +259 -0
  106. package/tools/entities-import.js +62 -0
  107. package/tools/findEsResources.js +30 -0
  108. package/tools/list-locales.js +17 -0
  109. package/tools/parseUnicodeCharts.js +428 -0
  110. package/tools/ucd-import.js +24 -0
  111. package/tools/unicode-charts.html +596 -0
  112. package/tools/unihan-import.js +72 -0
  113. package/unicode_copyright.txt +46 -0
  114. package/vendor/camelcase/index.js +110 -0
  115. package/vendor/fflate/esm/browser.js +2665 -0
  116. package/vendor/intl-dom/dist/index.esm.js +2962 -0
  117. package/vendor/jamilih/dist/jml-es.js +2359 -0
  118. package/vendor/jquery/dist/jquery.js +10716 -0
  119. package/vendor/json-6/dist/index.mjs +1783 -0
  120. package/vendor/miller-columns/dist/index-es.min.js +1 -0
  121. package/vendor/miller-columns/miller-columns.css +75 -0
  122. package/vendor/simple-prefs/dist/index.esm.js +286 -0
  123. package/web-ext-config.cjs +13 -0
@@ -0,0 +1 @@
1
+ {"processes":{},"files":{},"externalIds":{}}
package/CHANGES.md ADDED
@@ -0,0 +1,11 @@
1
+ # CHANGES for unicode-input-toolconverter
2
+
3
+ # 0.2.0
4
+
5
+ - feat: update to Unicode 10.1
6
+ - fix: avoid alert and avoid waiting for install
7
+ - chore: update devDeps. and lint
8
+
9
+ ## 0.1.0
10
+
11
+ - Initial webextensions release (re-implementation of XUL add-on)
@@ -0,0 +1,180 @@
1
+ Note from Brett Zamir, the copyright holder:
2
+
3
+ The Unicode Converter/Input Tool extension,
4
+ which includes all of the files in this XPI distribution, with
5
+ the exception of the Unicode data files contained in the top
6
+ level data directory, which are under their own license from
7
+ http://unicode.org , whose copyright is also included, is
8
+ hereby released under GNU Lesser GPL version 3 or any later
9
+ version (as explicitly permitted by section 6 below or
10
+ section 14 in the regular GPL license text).
11
+
12
+
13
+ -------------------------------------------------
14
+
15
+
16
+ GNU LESSER GENERAL PUBLIC LICENSE
17
+ Version 3, 29 June 2007
18
+
19
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
20
+ Everyone is permitted to copy and distribute verbatim copies
21
+ of this license document, but changing it is not allowed.
22
+
23
+
24
+ This version of the GNU Lesser General Public License incorporates
25
+ the terms and conditions of version 3 of the GNU General Public
26
+ License, supplemented by the additional permissions listed below.
27
+
28
+ 0. Additional Definitions.
29
+
30
+ As used herein, "this License" refers to version 3 of the GNU Lesser
31
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
32
+ General Public License.
33
+
34
+ "The Library" refers to a covered work governed by this License,
35
+ other than an Application or a Combined Work as defined below.
36
+
37
+ An "Application" is any work that makes use of an interface provided
38
+ by the Library, but which is not otherwise based on the Library.
39
+ Defining a subclass of a class defined by the Library is deemed a mode
40
+ of using an interface provided by the Library.
41
+
42
+ A "Combined Work" is a work produced by combining or linking an
43
+ Application with the Library. The particular version of the Library
44
+ with which the Combined Work was made is also called the "Linked
45
+ Version".
46
+
47
+ The "Minimal Corresponding Source" for a Combined Work means the
48
+ Corresponding Source for the Combined Work, excluding any source code
49
+ for portions of the Combined Work that, considered in isolation, are
50
+ based on the Application, and not on the Linked Version.
51
+
52
+ The "Corresponding Application Code" for a Combined Work means the
53
+ object code and/or source code for the Application, including any data
54
+ and utility programs needed for reproducing the Combined Work from the
55
+ Application, but excluding the System Libraries of the Combined Work.
56
+
57
+ 1. Exception to Section 3 of the GNU GPL.
58
+
59
+ You may convey a covered work under sections 3 and 4 of this License
60
+ without being bound by section 3 of the GNU GPL.
61
+
62
+ 2. Conveying Modified Versions.
63
+
64
+ If you modify a copy of the Library, and, in your modifications, a
65
+ facility refers to a function or data to be supplied by an Application
66
+ that uses the facility (other than as an argument passed when the
67
+ facility is invoked), then you may convey a copy of the modified
68
+ version:
69
+
70
+ a) under this License, provided that you make a good faith effort to
71
+ ensure that, in the event an Application does not supply the
72
+ function or data, the facility still operates, and performs
73
+ whatever part of its purpose remains meaningful, or
74
+
75
+ b) under the GNU GPL, with none of the additional permissions of
76
+ this License applicable to that copy.
77
+
78
+ 3. Object Code Incorporating Material from Library Header Files.
79
+
80
+ The object code form of an Application may incorporate material from
81
+ a header file that is part of the Library. You may convey such object
82
+ code under terms of your choice, provided that, if the incorporated
83
+ material is not limited to numerical parameters, data structure
84
+ layouts and accessors, or small macros, inline functions and templates
85
+ (ten or fewer lines in length), you do both of the following:
86
+
87
+ a) Give prominent notice with each copy of the object code that the
88
+ Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the object code with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ 4. Combined Works.
95
+
96
+ You may convey a Combined Work under terms of your choice that,
97
+ taken together, effectively do not restrict modification of the
98
+ portions of the Library contained in the Combined Work and reverse
99
+ engineering for debugging such modifications, if you also do each of
100
+ the following:
101
+
102
+ a) Give prominent notice with each copy of the Combined Work that
103
+ the Library is used in it and that the Library and its use are
104
+ covered by this License.
105
+
106
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
107
+ document.
108
+
109
+ c) For a Combined Work that displays copyright notices during
110
+ execution, include the copyright notice for the Library among
111
+ these notices, as well as a reference directing the user to the
112
+ copies of the GNU GPL and this license document.
113
+
114
+ d) Do one of the following:
115
+
116
+ 0) Convey the Minimal Corresponding Source under the terms of this
117
+ License, and the Corresponding Application Code in a form
118
+ suitable for, and under terms that permit, the user to
119
+ recombine or relink the Application with a modified version of
120
+ the Linked Version to produce a modified Combined Work, in the
121
+ manner specified by section 6 of the GNU GPL for conveying
122
+ Corresponding Source.
123
+
124
+ 1) Use a suitable shared library mechanism for linking with the
125
+ Library. A suitable mechanism is one that (a) uses at run time
126
+ a copy of the Library already present on the user's computer
127
+ system, and (b) will operate properly with a modified version
128
+ of the Library that is interface-compatible with the Linked
129
+ Version.
130
+
131
+ e) Provide Installation Information, but only if you would otherwise
132
+ be required to provide such information under section 6 of the
133
+ GNU GPL, and only to the extent that such information is
134
+ necessary to install and execute a modified version of the
135
+ Combined Work produced by recombining or relinking the
136
+ Application with a modified version of the Linked Version. (If
137
+ you use option 4d0, the Installation Information must accompany
138
+ the Minimal Corresponding Source and Corresponding Application
139
+ Code. If you use option 4d1, you must provide the Installation
140
+ Information in the manner specified by section 6 of the GNU GPL
141
+ for conveying Corresponding Source.)
142
+
143
+ 5. Combined Libraries.
144
+
145
+ You may place library facilities that are a work based on the
146
+ Library side by side in a single library together with other library
147
+ facilities that are not Applications and are not covered by this
148
+ License, and convey such a combined library under terms of your
149
+ choice, if you do both of the following:
150
+
151
+ a) Accompany the combined library with a copy of the same work based
152
+ on the Library, uncombined with any other library facilities,
153
+ conveyed under the terms of this License.
154
+
155
+ b) Give prominent notice with the combined library that part of it
156
+ is a work based on the Library, and explaining where to find the
157
+ accompanying uncombined form of the same work.
158
+
159
+ 6. Revised Versions of the GNU Lesser General Public License.
160
+
161
+ The Free Software Foundation may publish revised and/or new versions
162
+ of the GNU Lesser General Public License from time to time. Such new
163
+ versions will be similar in spirit to the present version, but may
164
+ differ in detail to address new problems or concerns.
165
+
166
+ Each version is given a distinguishing version number. If the
167
+ Library as you received it specifies that a certain numbered version
168
+ of the GNU Lesser General Public License "or any later version"
169
+ applies to it, you have the option of following the terms and
170
+ conditions either of that published version or of any later version
171
+ published by the Free Software Foundation. If the Library as you
172
+ received it does not specify a version number of the GNU Lesser
173
+ General Public License, you may choose any version of the GNU Lesser
174
+ General Public License ever published by the Free Software Foundation.
175
+
176
+ If the Library as you received it specifies that a proxy can decide
177
+ whether future versions of the GNU Lesser General Public License shall
178
+ apply, that proxy's public statement of acceptance of any version is
179
+ permanent authorization for you to choose that version for the
180
+ Library.