highmark-cli 0.0.174 → 0.0.176
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/README.md +20 -2
- package/bin/abbreviations.js +6 -9
- package/bin/action/help.js +3 -3
- package/bin/action/publish.js +6 -9
- package/bin/action/server.js +2 -2
- package/bin/constants.js +2 -12
- package/bin/defaults.js +4 -6
- package/bin/main.js +7 -9
- package/bin/operation/copyClientFiles.js +19 -0
- package/bin/operation/copyFonts.js +5 -24
- package/bin/operation/html.js +5 -71
- package/bin/operation/server.js +1 -3
- package/bin/operation/watch.js +2 -4
- package/bin/options.js +4 -6
- package/package.json +2 -26
- package/.swcrc +0 -11
- package/bin/operation/copyCheckmark.js +0 -32
- package/bin/operation/copyClient.js +0 -51
- package/bin/utilities/client.js +0 -38
- package/checkmark.svg +0 -12
- package/client.js +0 -39623
- package/css/loading.css +0 -59
- package/lib/client.js +0 -74
- package/lib/constants.js +0 -70
- package/lib/createMethods.js +0 -84
- package/lib/customEventTypes.js +0 -74
- package/lib/localStorage.js +0 -41
- package/lib/migrate.js +0 -34
- package/lib/selectors.js +0 -26
- package/lib/state/version_1.js +0 -39
- package/lib/state.js +0 -153
- package/lib/styles.js +0 -82
- package/lib/utilities/element.js +0 -62
- package/lib/utilities/orientation.js +0 -39
- package/lib/versions.js +0 -13
- package/lib/view/button/closeMenu.js +0 -121
- package/lib/view/button/zoomMenuIn.js +0 -121
- package/lib/view/button/zoomMenuOut.js +0 -121
- package/lib/view/button.js +0 -160
- package/lib/view/checkbox.js +0 -193
- package/lib/view/div/buttons.js +0 -213
- package/lib/view/div/checkbox/fullScreen.js +0 -155
- package/lib/view/div/checkbox/invertColours.js +0 -154
- package/lib/view/div/checkbox/nativeGestures.js +0 -154
- package/lib/view/div/checkbox.js +0 -220
- package/lib/view/div/checkboxes.js +0 -213
- package/lib/view/div/menu.js +0 -301
- package/lib/view/div/overlay.js +0 -685
- package/lib/view/div/preloader.js +0 -204
- package/lib/view/div.js +0 -227
- package/lib/view/element.js +0 -164
- package/lib/view/span.js +0 -182
- package/lib/view/svg/closeMenu.js +0 -138
- package/lib/view/svg/zoomMenuIn.js +0 -146
- package/lib/view/svg/zoomMenuOut.js +0 -141
- package/lib/view/svg.js +0 -184
- package/lib/view.js +0 -247
- package/src/client.js +0 -70
- package/src/constants.js +0 -16
- package/src/createMethods.js +0 -105
- package/src/customEventTypes.js +0 -17
- package/src/localStorage.js +0 -40
- package/src/migrate.js +0 -19
- package/src/selectors.js +0 -5
- package/src/state/version_1.js +0 -32
- package/src/state.js +0 -152
- package/src/styles.js +0 -19
- package/src/utilities/element.js +0 -66
- package/src/utilities/orientation.js +0 -34
- package/src/versions.js +0 -3
- package/src/view/button/closeMenu.js +0 -16
- package/src/view/button/zoomMenuIn.js +0 -16
- package/src/view/button/zoomMenuOut.js +0 -16
- package/src/view/button.js +0 -38
- package/src/view/checkbox.js +0 -68
- package/src/view/div/buttons.js +0 -37
- package/src/view/div/checkbox/fullScreen.js +0 -40
- package/src/view/div/checkbox/invertColours.js +0 -37
- package/src/view/div/checkbox/nativeGestures.js +0 -38
- package/src/view/div/checkbox.js +0 -45
- package/src/view/div/checkboxes.js +0 -38
- package/src/view/div/menu.js +0 -88
- package/src/view/div/overlay.js +0 -602
- package/src/view/div/preloader.js +0 -25
- package/src/view/div.js +0 -47
- package/src/view/element.js +0 -16
- package/src/view/span.js +0 -20
- package/src/view/svg/closeMenu.js +0 -19
- package/src/view/svg/zoomMenuIn.js +0 -20
- package/src/view/svg/zoomMenuOut.js +0 -19
- package/src/view/svg.js +0 -24
- package/src/view.js +0 -64
- package/template/client.html +0 -4
- package/template/default.html +0 -71
- package/template/loading.html +0 -17
package/bin/utilities/client.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
const { pathUtilities, packageUtilities } = require("necessary");
|
|
4
|
-
|
|
5
|
-
const { copyFile } = require("../utilities/fileSystem"),
|
|
6
|
-
{ CLIENT_FILE_NAME } = require("../constants"),
|
|
7
|
-
{ directoryPathFromFilePath } = require("../utilities/path");
|
|
8
|
-
|
|
9
|
-
const { getPackagePath } = packageUtilities,
|
|
10
|
-
{ concatenatePaths } = pathUtilities;
|
|
11
|
-
|
|
12
|
-
function copyClientFile(context) {
|
|
13
|
-
const clientTargetFilePath = getClientTargetFilePath(context),
|
|
14
|
-
clientSSourceFilePath = getClientSourceFilePath(context);
|
|
15
|
-
|
|
16
|
-
copyFile(clientSSourceFilePath, clientTargetFilePath);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function getClientTargetFilePath(context) {
|
|
20
|
-
const { outputFilePath } = context,
|
|
21
|
-
outputDirectoryPath = directoryPathFromFilePath(outputFilePath),
|
|
22
|
-
clientTargetFilePath = concatenatePaths(outputDirectoryPath, CLIENT_FILE_NAME);
|
|
23
|
-
|
|
24
|
-
return clientTargetFilePath;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function getClientSourceFilePath(context) {
|
|
28
|
-
const packagePath = getPackagePath(),
|
|
29
|
-
clientSSourceFilePath = concatenatePaths(packagePath, CLIENT_FILE_NAME);
|
|
30
|
-
|
|
31
|
-
return clientSSourceFilePath;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
module.exports = {
|
|
35
|
-
copyClientFile,
|
|
36
|
-
getClientTargetFilePath,
|
|
37
|
-
getClientSourceFilePath
|
|
38
|
-
};
|
package/checkmark.svg
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
|
|
3
|
-
<svg width="20mm"
|
|
4
|
-
height="20mm"
|
|
5
|
-
viewBox="0 0 20 20"
|
|
6
|
-
version="1.1"
|
|
7
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
>
|
|
9
|
-
<g transform="matrix(0.70580178,0,0,0.69424702,3.0000007,2.999987)">
|
|
10
|
-
<path style="fill:#ffffff" d="M 6.0799812,16.1216 Q 7.3454978,13.232921 8.7898374,10.605598 10.247933,7.9645203 11.788561,5.7361107 13.604303,3.1225438 14.649729,1.9670722 15.323754,1.224269 15.915246,0.74282245 16.259136,0.46771016 17.001939,0.33015401 18.803925,1.9250438e-5 19.519217,1.9250438e-5 q 0.316379,0 0.316379,0.220089839562 0,0.20633422 -0.316379,0.49520213 -2.751123,2.44849948 -5.777358,7.00160798 -3.01248,4.5531088 -5.0895778,9.6701968 -0.78407,1.912031 -1.1004492,2.352211 -0.3026235,0.426424 -1.925786,0.426424 -1.0591824,0 -1.3342947,-0.206335 Q 4.0303946,19.753082 3.3288583,18.652633 2.1183642,16.823136 0.72904706,15.351285 -5.2992254e-7,14.580971 -5.2992254e-7,14.168303 q 0,-0.577736 0.81158127992254,-1.127961 0.81158125,-0.56398 1.33429465,-0.56398 0.7290476,0 1.7469631,0.825337 1.0316711,0.811581 2.1871427,2.819901 z" />
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|