@clickview/library-editor 1.45.1 → 1.46.1-rc.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 (163) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/css/{101-library-editor-737d33c429.chunk.css → 101-library-editor-ea0aa41f12.chunk.css} +1 -1
  3. package/dist/css/{3778-library-editor-75b6a2eca6.chunk.css → 1260-library-editor-826bc90b86.chunk.css} +3 -4
  4. package/dist/css/{1601-library-editor-6b7ab30a3e.chunk.css → 1601-library-editor-4a6aafa66a.chunk.css} +1 -1
  5. package/dist/css/{1876-library-editor-22d3cf78a3.chunk.css → 1703-library-editor-3334df179f.chunk.css} +3 -3
  6. package/dist/css/{1703-library-editor-22d3cf78a3.chunk.css → 1876-library-editor-3334df179f.chunk.css} +3 -3
  7. package/dist/css/{2417-library-editor-1142af5a96.chunk.css → 2417-library-editor-1c2828a69b.chunk.css} +2 -2
  8. package/dist/css/{2601-library-editor-0db14cf497.chunk.css → 2601-library-editor-8922d361d6.chunk.css} +3 -3
  9. package/dist/css/{2644-library-editor-94bb070288.chunk.css → 2644-library-editor-cdc1c17774.chunk.css} +1 -1
  10. package/dist/css/{3087-library-editor-e17193216d.chunk.css → 3087-library-editor-7c76d2234e.chunk.css} +1 -1
  11. package/dist/css/{343-library-editor-9c019e516a.chunk.css → 343-library-editor-a5b4b92fa3.chunk.css} +1 -1
  12. package/dist/css/{456-library-editor-4494773a3a.chunk.css → 456-library-editor-a92bd26671.chunk.css} +1 -1
  13. package/dist/css/{61-library-editor-af56e745db.chunk.css → 61-library-editor-796336d468.chunk.css} +12 -12
  14. package/dist/css/{7408-library-editor-58e2f5e100.chunk.css → 7408-library-editor-2a67dae087.chunk.css} +2 -2
  15. package/dist/css/{8614-library-editor-e951fd6c97.chunk.css → 8614-library-editor-126f3beb94.chunk.css} +1 -1
  16. package/dist/css/{9383-library-editor-454e5b7acb.chunk.css → 9383-library-editor-a65f7ef186.chunk.css} +3 -3
  17. package/dist/css/{5185-library-editor-577789a2ba.chunk.css → 9677-library-editor-9461efc9c7.chunk.css} +11 -10
  18. package/dist/css/library-editor-app-f98ed58456.css +62 -0
  19. package/dist/languages/en.json +1 -1
  20. package/dist/scripts/101-1199c50c5c.chunk.js +1 -0
  21. package/dist/scripts/{1010-78c730c3d3.chunk.js → 1010-60f6dfd832.chunk.js} +1 -1
  22. package/dist/scripts/{1086-bf7355e402.chunk.js → 1086-2682e6d3f7.chunk.js} +1 -1
  23. package/dist/scripts/{112-9f396668ac.chunk.js → 112-24c19e2cde.chunk.js} +1 -1
  24. package/dist/scripts/{1216-7c3584c6ee.chunk.js → 1216-f3e3f911fa.chunk.js} +1 -1
  25. package/dist/scripts/1260-78c187f4ef.chunk.js +1 -0
  26. package/dist/scripts/{1269-99208bcecc.chunk.js → 1269-a34a1de36d.chunk.js} +1 -1
  27. package/dist/scripts/{1409-a161f8245a.chunk.js → 1409-93a72ff5bf.chunk.js} +1 -1
  28. package/dist/scripts/{1601-879d0665e7.chunk.js → 1601-cfa68d5d16.chunk.js} +2 -2
  29. package/dist/scripts/{1703-63ad0b3ce1.chunk.js → 1703-0ee4d1051b.chunk.js} +1 -1
  30. package/dist/scripts/{1832-882ab67791.chunk.js → 1832-23fead57c5.chunk.js} +1 -1
  31. package/dist/scripts/{1876-42c5fe7a33.chunk.js → 1876-a98a0d0a0b.chunk.js} +1 -1
  32. package/dist/scripts/2229-3110d984e1.chunk.js +1 -0
  33. package/dist/scripts/{2417-a7f6defb26.chunk.js → 2417-d1a2c3b7e1.chunk.js} +1 -1
  34. package/dist/scripts/{243-e21d40c982.chunk.js → 243-2012c53e96.chunk.js} +1 -1
  35. package/dist/scripts/{2482-b7ad002b09.chunk.js → 2482-955e4b3615.chunk.js} +1 -1
  36. package/dist/scripts/{259-671fc59e31.chunk.js → 259-7d1d480f6e.chunk.js} +1 -1
  37. package/dist/scripts/{2601-c4230f3cfd.chunk.js → 2601-bd6f95da25.chunk.js} +1 -1
  38. package/dist/scripts/{2644-4815c4b278.chunk.js → 2644-4ce78c8ca5.chunk.js} +1 -1
  39. package/dist/scripts/{2692-92122fb3d2.chunk.js → 2692-438539ccbe.chunk.js} +1 -1
  40. package/dist/scripts/{2888-2c0a5591ef.chunk.js → 2888-55edc16fd6.chunk.js} +1 -1
  41. package/dist/scripts/{299-9ab1d59d5c.chunk.js → 299-eeaac48864.chunk.js} +1 -1
  42. package/dist/scripts/{2998-234d4e79d4.chunk.js → 2998-24191bc8ab.chunk.js} +1 -1
  43. package/dist/scripts/{3087-f8664286fd.chunk.js → 3087-f5133d0df6.chunk.js} +1 -1
  44. package/dist/scripts/{3400-48eceba386.chunk.js → 3400-95d7a3a0d6.chunk.js} +1 -1
  45. package/dist/scripts/{343-6d71f27a71.chunk.js → 343-12058c1904.chunk.js} +1 -1
  46. package/dist/scripts/{35-3e0fe9666f.chunk.js → 35-7bfbab50e6.chunk.js} +1 -1
  47. package/dist/scripts/{3551-5456900410.chunk.js → 3551-5513258594.chunk.js} +1 -1
  48. package/dist/scripts/{376-7e5af8f053.chunk.js → 376-98c734f74f.chunk.js} +1 -1
  49. package/dist/scripts/{3763-64dc73b8c4.chunk.js → 3763-c5de5a36a1.chunk.js} +1 -1
  50. package/dist/scripts/{4201-228a2b8d76.chunk.js → 4201-6311ac5cac.chunk.js} +1 -1
  51. package/dist/scripts/{4245-cacf193d02.chunk.js → 4245-6e9e71cc7d.chunk.js} +1 -1
  52. package/dist/scripts/4365-7d121d1f6d.chunk.js +1 -0
  53. package/dist/scripts/4523-9752080367.chunk.js +1 -0
  54. package/dist/scripts/456-bf597ac34f.chunk.js +1 -0
  55. package/dist/scripts/{4591-c798b9d80a.chunk.js → 4591-9e342f97bc.chunk.js} +1 -1
  56. package/dist/scripts/{4860-f770422186.chunk.js → 4860-955b4bf901.chunk.js} +1 -1
  57. package/dist/scripts/{5046-432362ee4e.chunk.js → 5046-19d7090284.chunk.js} +1 -1
  58. package/dist/scripts/{514-20644e0a4e.chunk.js → 514-927a43219d.chunk.js} +1 -1
  59. package/dist/scripts/{5286-f967ae444b.chunk.js → 5286-293188ce69.chunk.js} +1 -1
  60. package/dist/scripts/{5412-e675c4ef4e.chunk.js → 5412-95152820bb.chunk.js} +1 -1
  61. package/dist/scripts/{5418-dce1baab7a.chunk.js → 5418-f31f79952c.chunk.js} +1 -1
  62. package/dist/scripts/{5424-50632a5025.chunk.js → 5424-f53a7d8068.chunk.js} +1 -1
  63. package/dist/scripts/{5707-bc3c7af0c0.chunk.js → 5707-41f283fd98.chunk.js} +1 -1
  64. package/dist/scripts/{5747-d8ee53162d.chunk.js → 5747-0ab2cc3678.chunk.js} +1 -1
  65. package/dist/scripts/5891-fd54bbba6a.chunk.js +1 -0
  66. package/dist/scripts/6081-b551510fc5.chunk.js +1 -0
  67. package/dist/scripts/{6093-7fe8c7fcce.chunk.js → 6093-7e5c1af050.chunk.js} +1 -1
  68. package/dist/scripts/61-56d9da10bd.chunk.js +2 -0
  69. package/dist/scripts/{6352-bbe31ba815.chunk.js → 6352-aaaf02499b.chunk.js} +1 -1
  70. package/dist/scripts/{6732-35dcc7a725.chunk.js → 6732-5bf9ec4e56.chunk.js} +1 -1
  71. package/dist/scripts/{6774-5af5e4b0b8.chunk.js → 6774-3cad51b5b7.chunk.js} +1 -1
  72. package/dist/scripts/6963-b0c3a2aab0.chunk.js +1 -0
  73. package/dist/scripts/{7002-8564980898.chunk.js → 7002-3686f9dcfb.chunk.js} +1 -1
  74. package/dist/scripts/{7053-79f4e3e275.chunk.js → 7053-38535c04ca.chunk.js} +1 -1
  75. package/dist/scripts/{7071-a0cb4a599c.chunk.js → 7071-5a543a7eec.chunk.js} +1 -1
  76. package/dist/scripts/708-c23337f233.chunk.js +1 -0
  77. package/dist/scripts/{7295-aa334844a4.chunk.js → 7295-594d2f2def.chunk.js} +1 -1
  78. package/dist/scripts/{7376-34e0848b6f.chunk.js → 7376-baac126511.chunk.js} +1 -1
  79. package/dist/scripts/{7408-64e0468c04.chunk.js → 7408-d742ffa35e.chunk.js} +1 -1
  80. package/dist/scripts/7942-f89817af29.chunk.js +1 -0
  81. package/dist/scripts/{8213-0a91276442.chunk.js → 8213-ef3077d565.chunk.js} +1 -1
  82. package/dist/scripts/{8362-9fa19d6e1e.chunk.js → 8362-e82bef3e07.chunk.js} +1 -1
  83. package/dist/scripts/8614-eaacae0502.chunk.js +2 -0
  84. package/dist/scripts/{8726-b262387b6e.chunk.js → 8726-edded1064e.chunk.js} +1 -1
  85. package/dist/scripts/{8727-2a68455289.chunk.js → 8727-2e314f9301.chunk.js} +1 -1
  86. package/dist/scripts/{8762-63efbfcfa7.chunk.js → 8762-4ee15995c8.chunk.js} +1 -1
  87. package/dist/scripts/{8906-5592870e17.chunk.js → 8906-3bde92a78d.chunk.js} +1 -1
  88. package/dist/scripts/{9357-2b5993c1b5.chunk.js → 9357-c5c5984ec8.chunk.js} +1 -1
  89. package/dist/scripts/{9383-7d95ed4d9b.chunk.js → 9383-b01e8ae3c8.chunk.js} +1 -1
  90. package/dist/scripts/9523-2ecd0578c4.chunk.js +1 -0
  91. package/dist/scripts/9677-e8e9037adf.chunk.js +2 -0
  92. package/dist/scripts/{9695-694c2d9147.chunk.js → 9695-a04e508364.chunk.js} +1 -1
  93. package/dist/scripts/{9927-8b7265b00a.chunk.js → 9927-a667775ac4.chunk.js} +1 -1
  94. package/dist/scripts/bundle-baa7524fc9.min.js +2 -0
  95. package/package.json +72 -72
  96. package/typings/libs/CVEvents.d.ts +12 -12
  97. package/typings/libs/CVLanguages.d.ts +24 -24
  98. package/typings/libs/Environment.d.ts +10 -10
  99. package/typings/libs/LazyLoad.d.ts +29 -29
  100. package/typings/libs/LazyLoad.ts +27 -27
  101. package/typings/libs/backbone.validation.d.ts +99 -99
  102. package/typings/libs/cloneDeep.d.ts +4 -4
  103. package/typings/libs/cookiesjs.d.ts +24 -24
  104. package/typings/libs/draft-convert.d.ts +3 -3
  105. package/typings/libs/google-api.d.ts +4 -4
  106. package/typings/libs/microsoft-teams.d.ts +2 -2
  107. package/typings/libs/trackjs.d.ts +2 -2
  108. package/typings/libs/videojs-contrib-quality-levels.d.ts +30 -30
  109. package/typings/utils/imports.d.ts +9 -9
  110. package/dist/css/101-library-editor-5af6f4e937.chunk.css +0 -2
  111. package/dist/css/2696-library-editor-4a7e07523b.chunk.css +0 -77
  112. package/dist/css/3746-library-editor-d4c68a200b.chunk.css +0 -1
  113. package/dist/css/3778-library-editor-e7f11db43a.chunk.css +0 -12
  114. package/dist/css/456-library-editor-e9cac790d6.chunk.css +0 -17
  115. package/dist/css/5524-library-editor-36f0a42508.chunk.css +0 -11
  116. package/dist/css/5891-library-editor-d4c68a200b.chunk.css +0 -1
  117. package/dist/css/61-library-editor-dab660c60e.chunk.css +0 -47
  118. package/dist/css/6963-library-editor-d4c68a200b.chunk.css +0 -1
  119. package/dist/css/8614-library-editor-5368f03ffe.chunk.css +0 -16
  120. package/dist/css/library-editor-app-899160fa5a.css +0 -62
  121. package/dist/css/library-editor-app-fbeb5c3df6.css +0 -62
  122. package/dist/scripts/101-c0d2df70fc.chunk.js +0 -1
  123. package/dist/scripts/101-dd5f891259.chunk.js +0 -1
  124. package/dist/scripts/2696-c93bc6ba82.chunk.js +0 -2
  125. package/dist/scripts/3087-31652fd164.chunk.js +0 -1
  126. package/dist/scripts/3746-092214a0a0.chunk.js +0 -1
  127. package/dist/scripts/3746-fab7340300.chunk.js +0 -1
  128. package/dist/scripts/3778-34a6c70ced.chunk.js +0 -1
  129. package/dist/scripts/3778-60cf0a97d4.chunk.js +0 -1
  130. package/dist/scripts/4523-6d51af0964.chunk.js +0 -1
  131. package/dist/scripts/456-a1c2432237.chunk.js +0 -1
  132. package/dist/scripts/456-b245f4891e.chunk.js +0 -1
  133. package/dist/scripts/5185-48169130b8.chunk.js +0 -2
  134. package/dist/scripts/5524-165e9fe50f.chunk.js +0 -1
  135. package/dist/scripts/5524-3ecfd1675f.chunk.js +0 -1
  136. package/dist/scripts/5850-5f1fb603a9.chunk.js +0 -1
  137. package/dist/scripts/5850-cc71016a8b.chunk.js +0 -1
  138. package/dist/scripts/5891-b72da0591f.chunk.js +0 -1
  139. package/dist/scripts/5891-f7bd1916f7.chunk.js +0 -1
  140. package/dist/scripts/61-1aa3a1edbc.chunk.js +0 -2
  141. package/dist/scripts/61-ad1f6f5f42.chunk.js +0 -2
  142. package/dist/scripts/6427-cbace62568.chunk.js +0 -1
  143. package/dist/scripts/6721-40652e0514.chunk.js +0 -1
  144. package/dist/scripts/6721-b31c7b97e8.chunk.js +0 -1
  145. package/dist/scripts/6963-386c2153af.chunk.js +0 -1
  146. package/dist/scripts/6963-688cb60ece.chunk.js +0 -1
  147. package/dist/scripts/708-0c400838a2.chunk.js +0 -1
  148. package/dist/scripts/8542-727d658bd8.chunk.js +0 -1
  149. package/dist/scripts/8614-d2aae15910.chunk.js +0 -2
  150. package/dist/scripts/8614-d2aae15910.chunk.js.LICENSE.txt +0 -1
  151. package/dist/scripts/8614-e48ce79761.chunk.js +0 -2
  152. package/dist/scripts/8614-e48ce79761.chunk.js.LICENSE.txt +0 -1
  153. package/dist/scripts/bundle-59de85bc08.min.js +0 -2
  154. package/dist/scripts/bundle-59de85bc08.min.js.LICENSE.txt +0 -1
  155. package/dist/scripts/bundle-6c5a619a82.min.js +0 -2
  156. package/dist/scripts/bundle-6c5a619a82.min.js.LICENSE.txt +0 -1
  157. /package/dist/css/{5524-library-editor-de77327cdc.chunk.css → 4365-library-editor-de77327cdc.chunk.css} +0 -0
  158. /package/dist/css/{3746-library-editor-46e4b6af59.chunk.css → 7942-library-editor-46e4b6af59.chunk.css} +0 -0
  159. /package/dist/scripts/{1601-879d0665e7.chunk.js.LICENSE.txt → 1601-cfa68d5d16.chunk.js.LICENSE.txt} +0 -0
  160. /package/dist/scripts/{2696-c93bc6ba82.chunk.js.LICENSE.txt → 61-56d9da10bd.chunk.js.LICENSE.txt} +0 -0
  161. /package/dist/scripts/{5185-48169130b8.chunk.js.LICENSE.txt → 8614-eaacae0502.chunk.js.LICENSE.txt} +0 -0
  162. /package/dist/scripts/{61-1aa3a1edbc.chunk.js.LICENSE.txt → 9677-e8e9037adf.chunk.js.LICENSE.txt} +0 -0
  163. /package/dist/scripts/{61-ad1f6f5f42.chunk.js.LICENSE.txt → bundle-baa7524fc9.min.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,72 +1,72 @@
1
- {
2
- "name": "@clickview/library-editor",
3
- "description": "Library Editor",
4
- "version": "1.45.1",
5
- "main": "dist/scripts/bundle.js",
6
- "types": "dist/projects/library-editor/src/index.d.ts",
7
- "scripts": {
8
- "start": "cross-env NODE_ENV=development webpack -w --config ./tooling/webpack.config.js",
9
- "build": "cross-env NODE_ENV=production webpack --config ./tooling/webpack.config.js"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "https://gitlab.cvinternal.net/front-end/clickview"
14
- },
15
- "author": "Shale Kuzmanovski, Michael McDonnell",
16
- "license": "ISC",
17
- "devDependencies": {
18
- "@fortawesome/fontawesome": "1.1.8",
19
- "@types/clipboard": "2.0.1",
20
- "@types/cropperjs": "1.3.0",
21
- "@types/jqueryui": "1.12.7",
22
- "@types/linkifyjs": "2.1.3",
23
- "@types/node-polyglot": "0.4.34",
24
- "@types/typeahead": "0.11.32",
25
- "@types/webpack-env": "1.13.9",
26
- "babel-minify-webpack-plugin": "0.3.1",
27
- "mkdirp": "0.5.1",
28
- "npm-run-all": "4.1.5",
29
- "prettier": "1.18.2",
30
- "regenerator-runtime": "0.13.7",
31
- "rev-hash": "3.0.0",
32
- "stylelint-config-recommended": "2.2.0",
33
- "stylelint-scss": "3.12.1",
34
- "typedoc": "0.14.2",
35
- "webpack-bundle-analyzer": "3.8.0",
36
- "webpack-env": "0.8.0",
37
- "webpack-hot-middleware": "2.25.1",
38
- "write-json-file": "4.1.1"
39
- },
40
- "dependencies": {
41
- "@babel/polyfill": "7.4.4",
42
- "@clickview/styles": "1.32.0",
43
- "@clickview/url-signer": "1.0.0",
44
- "abortcontroller-polyfill": "1.7.3",
45
- "autotrack": "2.4.1",
46
- "clipboard": "2.0.4",
47
- "corejs-typeahead": "1.2.1",
48
- "cropperjs": "1.5.6",
49
- "jquery-ui": "1.12.1",
50
- "linkifyjs": "2.1.8",
51
- "node-polyglot": "2.3.0",
52
- "tempusdominus-bootstrap-4": "5.1.2"
53
- },
54
- "browserslist": [
55
- "Firefox >= 22",
56
- "Chrome >= 28",
57
- "Safari >= 6",
58
- "IE >= 11",
59
- "Edge >= 20"
60
- ],
61
- "babel": {
62
- "presets": [
63
- [
64
- "@babel/preset-env",
65
- {
66
- "corejs": 3,
67
- "useBuiltIns": "entry"
68
- }
69
- ]
70
- ]
71
- }
72
- }
1
+ {
2
+ "name": "@clickview/library-editor",
3
+ "description": "Library Editor",
4
+ "version": "1.46.1-rc.0",
5
+ "main": "dist/scripts/bundle.js",
6
+ "types": "dist/projects/library-editor/src/index.d.ts",
7
+ "scripts": {
8
+ "start": "cross-env NODE_ENV=development webpack -w --config ./tooling/webpack.config.js",
9
+ "build": "cross-env NODE_ENV=production webpack --config ./tooling/webpack.config.js"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://gitlab.cvinternal.net/front-end/clickview"
14
+ },
15
+ "author": "Shale Kuzmanovski, Michael McDonnell",
16
+ "license": "ISC",
17
+ "devDependencies": {
18
+ "@fortawesome/fontawesome": "1.1.8",
19
+ "@types/clipboard": "2.0.1",
20
+ "@types/cropperjs": "1.3.0",
21
+ "@types/jqueryui": "1.12.7",
22
+ "@types/linkifyjs": "2.1.3",
23
+ "@types/node-polyglot": "0.4.34",
24
+ "@types/typeahead": "0.11.32",
25
+ "@types/webpack-env": "1.13.9",
26
+ "babel-minify-webpack-plugin": "0.3.1",
27
+ "mkdirp": "0.5.1",
28
+ "npm-run-all": "4.1.5",
29
+ "prettier": "1.18.2",
30
+ "regenerator-runtime": "0.13.7",
31
+ "rev-hash": "3.0.0",
32
+ "stylelint-config-recommended": "2.2.0",
33
+ "stylelint-scss": "3.12.1",
34
+ "typedoc": "0.14.2",
35
+ "webpack-bundle-analyzer": "3.8.0",
36
+ "webpack-env": "0.8.0",
37
+ "webpack-hot-middleware": "2.25.1",
38
+ "write-json-file": "4.1.1"
39
+ },
40
+ "dependencies": {
41
+ "@babel/polyfill": "7.4.4",
42
+ "@clickview/styles": "1.32.0",
43
+ "@clickview/url-signer": "1.0.0",
44
+ "abortcontroller-polyfill": "1.7.3",
45
+ "autotrack": "2.4.1",
46
+ "clipboard": "2.0.4",
47
+ "corejs-typeahead": "1.2.1",
48
+ "cropperjs": "1.5.6",
49
+ "jquery-ui": "1.12.1",
50
+ "linkifyjs": "2.1.8",
51
+ "node-polyglot": "2.3.0",
52
+ "tempusdominus-bootstrap-4": "5.1.2"
53
+ },
54
+ "browserslist": [
55
+ "Firefox >= 22",
56
+ "Chrome >= 28",
57
+ "Safari >= 6",
58
+ "IE >= 11",
59
+ "Edge >= 20"
60
+ ],
61
+ "babel": {
62
+ "presets": [
63
+ [
64
+ "@babel/preset-env",
65
+ {
66
+ "corejs": 3,
67
+ "useBuiltIns": "entry"
68
+ }
69
+ ]
70
+ ]
71
+ }
72
+ }
@@ -1,13 +1,13 @@
1
- export = CVEvents;
2
-
3
- export as namespace CVEvents;
4
-
5
- declare namespace CVEvents {
6
- class CVEventsApi {
7
- constructor(t: any);
8
- off(t: any, e?: any): void;
9
- on(t: any, e: any): void;
10
- one(eventName: string, callback: (...args: any) => any): void;
11
- trigger(t: any, ...args: any[]): void;
12
- }
1
+ export = CVEvents;
2
+
3
+ export as namespace CVEvents;
4
+
5
+ declare namespace CVEvents {
6
+ class CVEventsApi {
7
+ constructor(t: any);
8
+ off(t: any, e?: any): void;
9
+ on(t: any, e: any): void;
10
+ one(eventName: string, callback: (...args: any) => any): void;
11
+ trigger(t: any, ...args: any[]): void;
12
+ }
13
13
  }
@@ -1,24 +1,24 @@
1
- interface SetLanguageOptions {
2
- validate: boolean;
3
- }
4
-
5
- interface LanguageSet {
6
- [languagecode: string]: Language;
7
- }
8
-
9
- interface Language {
10
- englishName: string;
11
- nativeName: string;
12
- }
13
-
14
- interface ICVLanguages {
15
- VERSION: string;
16
-
17
- getEnglishName(languageCode: string): string;
18
- getNativeName(languageCode: string): string;
19
- getFullEnglishName(languageCode: string): string;
20
- getFullNativeName(languageCode: string): string;
21
- getEnglishNameContains(englishName: string): Language[];
22
- }
23
-
24
- declare let CVLanguages: ICVLanguages;
1
+ interface SetLanguageOptions {
2
+ validate: boolean;
3
+ }
4
+
5
+ interface LanguageSet {
6
+ [languagecode: string]: Language;
7
+ }
8
+
9
+ interface Language {
10
+ englishName: string;
11
+ nativeName: string;
12
+ }
13
+
14
+ interface ICVLanguages {
15
+ VERSION: string;
16
+
17
+ getEnglishName(languageCode: string): string;
18
+ getNativeName(languageCode: string): string;
19
+ getFullEnglishName(languageCode: string): string;
20
+ getFullNativeName(languageCode: string): string;
21
+ getEnglishNameContains(englishName: string): Language[];
22
+ }
23
+
24
+ declare let CVLanguages: ICVLanguages;
@@ -1,11 +1,11 @@
1
- /**
2
- * Compile time globals are exposed via webpack using DefinePlugin.
3
- * Each global is explicitly set in each webpack confg.
4
- */
5
-
6
- interface IEnvironments {
7
- isDevelopment: boolean;
8
- }
9
-
10
- declare let ENVIRONMENT: string;
1
+ /**
2
+ * Compile time globals are exposed via webpack using DefinePlugin.
3
+ * Each global is explicitly set in each webpack confg.
4
+ */
5
+
6
+ interface IEnvironments {
7
+ isDevelopment: boolean;
8
+ }
9
+
10
+ declare let ENVIRONMENT: string;
11
11
  declare let env: IEnvironments;
@@ -1,30 +1,30 @@
1
- interface ILazyLoadOptions {
2
- elements_selector?: string;
3
- container?: HTMLElement;
4
- threshold?: number;
5
- thresholds?: string;
6
- data_src?: string;
7
- data_srcset?: string;
8
- data_sizes?: string;
9
- data_bg?: string;
10
- class_loading?: string;
11
- class_loaded?: string;
12
- class_error?: string;
13
- load_delay?: number;
14
- callback_enter?: (elt: HTMLElement) => void;
15
- callback_exit?: (elt: HTMLElement) => void;
16
- callback_reveal?: (elt: HTMLElement) => void;
17
- callback_loaded?: (elt: HTMLElement) => void;
18
- callback_error?: (elt: HTMLElement) => void;
19
- callback_finish?: () => void;
20
- use_native?: boolean;
21
- }
22
- interface ILazyLoad {
23
- new(options?: ILazyLoadOptions, elements?: NodeListOf<HTMLElement>): any;
24
- update: (elements?: NodeListOf<HTMLElement>) => void;
25
- destroy: () => void;
26
- load: (element: HTMLElement, force?: boolean) => void;
27
- loadAll: () => void;
28
- }
29
- declare let LazyLoad: ILazyLoad;
1
+ interface ILazyLoadOptions {
2
+ elements_selector?: string;
3
+ container?: HTMLElement;
4
+ threshold?: number;
5
+ thresholds?: string;
6
+ data_src?: string;
7
+ data_srcset?: string;
8
+ data_sizes?: string;
9
+ data_bg?: string;
10
+ class_loading?: string;
11
+ class_loaded?: string;
12
+ class_error?: string;
13
+ load_delay?: number;
14
+ callback_enter?: (elt: HTMLElement) => void;
15
+ callback_exit?: (elt: HTMLElement) => void;
16
+ callback_reveal?: (elt: HTMLElement) => void;
17
+ callback_loaded?: (elt: HTMLElement) => void;
18
+ callback_error?: (elt: HTMLElement) => void;
19
+ callback_finish?: () => void;
20
+ use_native?: boolean;
21
+ }
22
+ interface ILazyLoad {
23
+ new(options?: ILazyLoadOptions, elements?: NodeListOf<HTMLElement>): any;
24
+ update: (elements?: NodeListOf<HTMLElement>) => void;
25
+ destroy: () => void;
26
+ load: (element: HTMLElement, force?: boolean) => void;
27
+ loadAll: () => void;
28
+ }
29
+ declare let LazyLoad: ILazyLoad;
30
30
  export default LazyLoad;
@@ -1,27 +1,27 @@
1
- interface ILazyLoadOptions {
2
- threshold?: number;
3
- container?: HTMLElement;
4
- elements_selector?: any;
5
- throttle?: number;
6
- data_src?: string;
7
- data_srcset?: string;
8
- class_loading?: string;
9
- class_loaded?: string;
10
- class_error?: string;
11
- skip_invisible?: boolean;
12
- show_while_loading?: boolean;
13
- callback_set?: (elt: HTMLImageElement) => void;
14
- callback_loaded?: (elt: HTMLImageElement) => void;
15
- callback_error?: (elt: HTMLImageElement) => void;
16
- callback_processed?: (elts: HTMLImageElement[]) => void;
17
- placeholder?: string;
18
- }
19
- interface ILazyLoad {
20
- new (options?: ILazyLoadOptions): any;
21
- update(): void;
22
- destroy(): void;
23
- handleScroll(): void;
24
- loadAll(): void;
25
- }
26
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
27
- declare const LazyLoad: ILazyLoad;
1
+ interface ILazyLoadOptions {
2
+ threshold?: number;
3
+ container?: HTMLElement;
4
+ elements_selector?: any;
5
+ throttle?: number;
6
+ data_src?: string;
7
+ data_srcset?: string;
8
+ class_loading?: string;
9
+ class_loaded?: string;
10
+ class_error?: string;
11
+ skip_invisible?: boolean;
12
+ show_while_loading?: boolean;
13
+ callback_set?: (elt: HTMLImageElement) => void;
14
+ callback_loaded?: (elt: HTMLImageElement) => void;
15
+ callback_error?: (elt: HTMLImageElement) => void;
16
+ callback_processed?: (elts: HTMLImageElement[]) => void;
17
+ placeholder?: string;
18
+ }
19
+ interface ILazyLoad {
20
+ new (options?: ILazyLoadOptions): any;
21
+ update(): void;
22
+ destroy(): void;
23
+ handleScroll(): void;
24
+ loadAll(): void;
25
+ }
26
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
27
+ declare const LazyLoad: ILazyLoad;
@@ -1,100 +1,100 @@
1
-
2
- import * as Backbone from 'backbone';
3
-
4
- export = Backbone.Validation;
5
-
6
- declare module 'backbone' {
7
-
8
- interface Messages {
9
- acceptance: string;
10
- digits: string;
11
- email: string;
12
- equalTo: string;
13
- inlinePattern: string;
14
- length: string;
15
- max: string;
16
- maxLength: string;
17
- min: string;
18
- minLength: string;
19
- number: string;
20
- oneOf: string;
21
- range: string;
22
- rangeLength: string;
23
- required: string;
24
- url: string;
25
- }
26
-
27
- interface Patterns {
28
- compile: any;
29
- dotAll: boolean;
30
- exec: any;
31
- flags: string;
32
- global: boolean;
33
- ignoreCase: boolean;
34
- lastIndex: number;
35
- multiline: boolean;
36
- source: string;
37
- sticky: boolean;
38
- test: any;
39
- toString: any;
40
- unicode: boolean;
41
- }
42
-
43
- interface Validation {
44
- bind(view: any, options?: any): void;
45
- configure(options: any): void;
46
- unbind(view: any, options?: any): void;
47
- }
48
-
49
- namespace Validation {
50
- const version: string;
51
- const messages: Messages;
52
- const patterns: {
53
- digits: Patterns,
54
- email: Patterns,
55
- number: Patterns,
56
- url: Patterns
57
- };
58
-
59
- function bind(view: any, options?: any): void;
60
- function configure(options: any): void;
61
- function unbind(view: any, options?: any): void;
62
-
63
- namespace attributeLoaders {
64
- function inputNames(view: any): any;
65
- }
66
-
67
- namespace callbacks {
68
- function invalid(view: any, attr: any, error: any, selector: any): void;
69
- function valid(view: any, attr: any, selector: any): void;
70
- }
71
-
72
- namespace labelFormatters {
73
- function label(attrName: any, model: any): any;
74
- function none(attrName: any): any;
75
- function sentenceCase(attrName: any): any;
76
- }
77
-
78
- namespace mixin {
79
- function isValid(option?: any): any;
80
- function preValidate(attr: any, value: any): any;
81
- function validate(attrs: any, setOptions: any): any;
82
- }
83
-
84
- namespace validators {
85
- function acceptance(p0: any, p1: any, p2: any, p3: any): any;
86
- function equalTo(p0: any, p1: any, p2: any, p3: any, p4: any): any;
87
- function fn(p0: any, p1: any, p2: any, p3: any, p4: any): any;
88
- function length(p0: any, p1: any, p2: any, p3: any): any;
89
- function max(p0: any, p1: any, p2: any, p3: any): any;
90
- function maxLength(p0: any, p1: any, p2: any, p3: any): any;
91
- function min(p0: any, p1: any, p2: any, p3: any): any;
92
- function minLength(p0: any, p1: any, p2: any, p3: any): any;
93
- function oneOf(p0: any, p1: any, p2: any, p3: any): any;
94
- function pattern(p0: any, p1: any, p2: any, p3: any): any;
95
- function range(p0: any, p1: any, p2: any, p3: any): any;
96
- function rangeLength(p0: any, p1: any, p2: any, p3: any): any;
97
- function required(p0: any, p1: any, p2: any, p3: any, p4: any): any;
98
- }
99
- }
1
+
2
+ import * as Backbone from 'backbone';
3
+
4
+ export = Backbone.Validation;
5
+
6
+ declare module 'backbone' {
7
+
8
+ interface Messages {
9
+ acceptance: string;
10
+ digits: string;
11
+ email: string;
12
+ equalTo: string;
13
+ inlinePattern: string;
14
+ length: string;
15
+ max: string;
16
+ maxLength: string;
17
+ min: string;
18
+ minLength: string;
19
+ number: string;
20
+ oneOf: string;
21
+ range: string;
22
+ rangeLength: string;
23
+ required: string;
24
+ url: string;
25
+ }
26
+
27
+ interface Patterns {
28
+ compile: any;
29
+ dotAll: boolean;
30
+ exec: any;
31
+ flags: string;
32
+ global: boolean;
33
+ ignoreCase: boolean;
34
+ lastIndex: number;
35
+ multiline: boolean;
36
+ source: string;
37
+ sticky: boolean;
38
+ test: any;
39
+ toString: any;
40
+ unicode: boolean;
41
+ }
42
+
43
+ interface Validation {
44
+ bind(view: any, options?: any): void;
45
+ configure(options: any): void;
46
+ unbind(view: any, options?: any): void;
47
+ }
48
+
49
+ namespace Validation {
50
+ const version: string;
51
+ const messages: Messages;
52
+ const patterns: {
53
+ digits: Patterns,
54
+ email: Patterns,
55
+ number: Patterns,
56
+ url: Patterns
57
+ };
58
+
59
+ function bind(view: any, options?: any): void;
60
+ function configure(options: any): void;
61
+ function unbind(view: any, options?: any): void;
62
+
63
+ namespace attributeLoaders {
64
+ function inputNames(view: any): any;
65
+ }
66
+
67
+ namespace callbacks {
68
+ function invalid(view: any, attr: any, error: any, selector: any): void;
69
+ function valid(view: any, attr: any, selector: any): void;
70
+ }
71
+
72
+ namespace labelFormatters {
73
+ function label(attrName: any, model: any): any;
74
+ function none(attrName: any): any;
75
+ function sentenceCase(attrName: any): any;
76
+ }
77
+
78
+ namespace mixin {
79
+ function isValid(option?: any): any;
80
+ function preValidate(attr: any, value: any): any;
81
+ function validate(attrs: any, setOptions: any): any;
82
+ }
83
+
84
+ namespace validators {
85
+ function acceptance(p0: any, p1: any, p2: any, p3: any): any;
86
+ function equalTo(p0: any, p1: any, p2: any, p3: any, p4: any): any;
87
+ function fn(p0: any, p1: any, p2: any, p3: any, p4: any): any;
88
+ function length(p0: any, p1: any, p2: any, p3: any): any;
89
+ function max(p0: any, p1: any, p2: any, p3: any): any;
90
+ function maxLength(p0: any, p1: any, p2: any, p3: any): any;
91
+ function min(p0: any, p1: any, p2: any, p3: any): any;
92
+ function minLength(p0: any, p1: any, p2: any, p3: any): any;
93
+ function oneOf(p0: any, p1: any, p2: any, p3: any): any;
94
+ function pattern(p0: any, p1: any, p2: any, p3: any): any;
95
+ function range(p0: any, p1: any, p2: any, p3: any): any;
96
+ function rangeLength(p0: any, p1: any, p2: any, p3: any): any;
97
+ function required(p0: any, p1: any, p2: any, p3: any, p4: any): any;
98
+ }
99
+ }
100
100
  }
@@ -1,5 +1,5 @@
1
- declare function cloneDeep<T>(obj: T): T;
2
-
3
- declare module 'lodash.clonedeep' {
4
- export = cloneDeep;
1
+ declare function cloneDeep<T>(obj: T): T;
2
+
3
+ declare module 'lodash.clonedeep' {
4
+ export = cloneDeep;
5
5
  }
@@ -1,24 +1,24 @@
1
- interface IDocCookies {
2
-
3
- getItem(sKey: string): string;
4
-
5
- setItem(
6
- sKey: string,
7
- sValue: string,
8
- vEnd?: number | string | Date,
9
- sPath?: string,
10
- sDomain?: string,
11
- bSecure?: string,
12
- ): boolean;
13
-
14
- removeItem(sKey: string, sPath?: string, sDomain?: string): boolean;
15
-
16
- hasItem(sKey: string): boolean;
17
-
18
- keys(): string[];
19
-
20
- clear(sPath?: string, sDomain?: string): void;
21
-
22
- }
23
-
24
- declare let docCookies: IDocCookies;
1
+ interface IDocCookies {
2
+
3
+ getItem(sKey: string): string;
4
+
5
+ setItem(
6
+ sKey: string,
7
+ sValue: string,
8
+ vEnd?: number | string | Date,
9
+ sPath?: string,
10
+ sDomain?: string,
11
+ bSecure?: string,
12
+ ): boolean;
13
+
14
+ removeItem(sKey: string, sPath?: string, sDomain?: string): boolean;
15
+
16
+ hasItem(sKey: string): boolean;
17
+
18
+ keys(): string[];
19
+
20
+ clear(sPath?: string, sDomain?: string): void;
21
+
22
+ }
23
+
24
+ declare let docCookies: IDocCookies;
@@ -1,4 +1,4 @@
1
- declare module 'draft-convert' {
2
- export const convertFromHTML: (options: any) => (html: string) => any;
3
- export const convertToHTML: (options: any) => (draftJsContent: any) => string;
1
+ declare module 'draft-convert' {
2
+ export const convertFromHTML: (options: any) => (html: string) => any;
3
+ export const convertToHTML: (options: any) => (draftJsContent: any) => string;
4
4
  }
@@ -1,5 +1,5 @@
1
- declare namespace gapi {
2
- declare namespace sharetoclassroom {
3
- declare function go(id: string): void;
4
- }
1
+ declare namespace gapi {
2
+ declare namespace sharetoclassroom {
3
+ declare function go(id: string): void;
4
+ }
5
5
  }
@@ -1,3 +1,3 @@
1
- declare namespace shareToMicrosoftTeams {
2
- declare function renderButtons(): void;
1
+ declare namespace shareToMicrosoftTeams {
2
+ declare function renderButtons(): void;
3
3
  }
@@ -1,3 +1,3 @@
1
- declare namespace trackJs {
2
- declare function track(error: string | Error): void;
1
+ declare namespace trackJs {
2
+ declare function track(error: string | Error): void;
3
3
  }