bimplus-websdk 1.0.63 → 1.0.64
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 +118 -118
- package/clean +3 -3
- package/dist/bimplus-websdk.js +1 -1
- package/eslint.config.mjs +35 -35
- package/install +3 -3
- package/jsinspect +20 -20
- package/package.json +72 -72
- package/reinstall +4 -4
- package/types/bimplus-websdk.d.ts +532 -532
package/eslint.config.mjs
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import globals from "globals";
|
|
2
|
-
import js from "@eslint/js";
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
js.configs.recommended,
|
|
6
|
-
// File-pattern specific overrides
|
|
7
|
-
{
|
|
8
|
-
files: ["src/**/*", "test/**/*"],
|
|
9
|
-
rules: {
|
|
10
|
-
semi: ["warn", "always"] // check for missing semicolons at line ends
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
languageOptions: {
|
|
15
|
-
ecmaVersion: 2022,
|
|
16
|
-
sourceType: "module",
|
|
17
|
-
globals: {
|
|
18
|
-
...globals.browser,
|
|
19
|
-
$: true,
|
|
20
|
-
QUnit: true,
|
|
21
|
-
// Uint8Array: true,
|
|
22
|
-
// DataView : true,
|
|
23
|
-
// Promise: true,
|
|
24
|
-
// ArrayBuffer: true,
|
|
25
|
-
// needed for webpack files
|
|
26
|
-
define: true,
|
|
27
|
-
require: true,
|
|
28
|
-
module: true,
|
|
29
|
-
__dirname: true,
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
plugins: {},
|
|
33
|
-
rules: {},
|
|
34
|
-
},
|
|
35
|
-
];
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import js from "@eslint/js";
|
|
3
|
+
|
|
4
|
+
export default [
|
|
5
|
+
js.configs.recommended,
|
|
6
|
+
// File-pattern specific overrides
|
|
7
|
+
{
|
|
8
|
+
files: ["src/**/*", "test/**/*"],
|
|
9
|
+
rules: {
|
|
10
|
+
semi: ["warn", "always"] // check for missing semicolons at line ends
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
languageOptions: {
|
|
15
|
+
ecmaVersion: 2022,
|
|
16
|
+
sourceType: "module",
|
|
17
|
+
globals: {
|
|
18
|
+
...globals.browser,
|
|
19
|
+
$: true,
|
|
20
|
+
QUnit: true,
|
|
21
|
+
// Uint8Array: true,
|
|
22
|
+
// DataView : true,
|
|
23
|
+
// Promise: true,
|
|
24
|
+
// ArrayBuffer: true,
|
|
25
|
+
// needed for webpack files
|
|
26
|
+
define: true,
|
|
27
|
+
require: true,
|
|
28
|
+
module: true,
|
|
29
|
+
__dirname: true,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
plugins: {},
|
|
33
|
+
rules: {},
|
|
34
|
+
},
|
|
35
|
+
];
|
package/install
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
npm install
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
npm install
|
package/jsinspect
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
#install jsinspect
|
|
4
|
-
npm list -g --quiet jsinspect > "/dev/null" 2>&1
|
|
5
|
-
OUT=$?
|
|
6
|
-
if [ ${OUT} != 0 ]
|
|
7
|
-
then
|
|
8
|
-
npm install -g jsinspect
|
|
9
|
-
RET_VAL=$?
|
|
10
|
-
if [ ${RET_VAL} -ne 0 ]
|
|
11
|
-
then
|
|
12
|
-
echo "Error ---> Unable to install \"jsinspect\""
|
|
13
|
-
exit ${RET_VAL}
|
|
14
|
-
fi
|
|
15
|
-
echo "Info ---> \"jsinspect\" has been installed."
|
|
16
|
-
else
|
|
17
|
-
echo "Info ---> \"jsinspect\" already installed."
|
|
18
|
-
fi
|
|
19
|
-
|
|
20
|
-
jsinspect ./src
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
#install jsinspect
|
|
4
|
+
npm list -g --quiet jsinspect > "/dev/null" 2>&1
|
|
5
|
+
OUT=$?
|
|
6
|
+
if [ ${OUT} != 0 ]
|
|
7
|
+
then
|
|
8
|
+
npm install -g jsinspect
|
|
9
|
+
RET_VAL=$?
|
|
10
|
+
if [ ${RET_VAL} -ne 0 ]
|
|
11
|
+
then
|
|
12
|
+
echo "Error ---> Unable to install \"jsinspect\""
|
|
13
|
+
exit ${RET_VAL}
|
|
14
|
+
fi
|
|
15
|
+
echo "Info ---> \"jsinspect\" has been installed."
|
|
16
|
+
else
|
|
17
|
+
echo "Info ---> \"jsinspect\" already installed."
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
jsinspect ./src
|
package/package.json
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bimplus-websdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "bim+ websdk",
|
|
5
|
-
"types": "types/bimplus-websdk.d.ts",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"Allplan",
|
|
8
|
-
"Bimplus",
|
|
9
|
-
"library",
|
|
10
|
-
"javascript"
|
|
11
|
-
],
|
|
12
|
-
"main": "dist/bimplus-websdk.js",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "."
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"eslint": "eslint src/**/*.js test/**/*.js",
|
|
20
|
-
"build": "npm run eslint && webpack --config webpack.dev.js",
|
|
21
|
-
"build-prod": "npm run eslint && webpack --config webpack.prod.js",
|
|
22
|
-
"pub": "npm run build-prod && npm publish",
|
|
23
|
-
"pub-tag": "npm run build-prod && npm publish --tag dev",
|
|
24
|
-
"npm-pack": "npm run build-prod && npm pack",
|
|
25
|
-
"bump": "npm run bump:patch",
|
|
26
|
-
"bump:patch": "npm version patch --no-git-tag-version",
|
|
27
|
-
"install-documentation-package": "npm install -g documentation",
|
|
28
|
-
"lint-doc": "documentation lint ./src/Api/*.js",
|
|
29
|
-
"build-doc": "npm run lint-doc && documentation build ./src/Api/*.js --config doc_config.yml -f html -o ./documentation",
|
|
30
|
-
"build-docMd": "npm run lint-doc && documentation build ./src/Api/*.js -f md -o ./documentation/Bimplus_WebSDK_doc.md",
|
|
31
|
-
"build-docConf": "npm run build-docMd && cd ./documentation && python convert_to_confluence_md.py",
|
|
32
|
-
"build-docAll": "npm run build-doc && npm run build-docConf && npm run build-docMd && npm run build-doc",
|
|
33
|
-
"test": "node node_modules/karma/bin/karma start",
|
|
34
|
-
"test-chrome": "npm run test -- --single-run=true --browsers ChromeExt karma.conf.js",
|
|
35
|
-
"test-chrome-headless": "npm run test -- --single-run=true --browsers ChromeHeadless karma.conf.js",
|
|
36
|
-
"test-firefox": "npm run test -- --single-run=true --browsers Firefox karma.conf.js",
|
|
37
|
-
"test-firefox-headless": "npm run test -- --single-run=true --browsers FirefoxHeadless karma.conf.js",
|
|
38
|
-
"test-watch": "npm run test -- --browsers=ChromeExt --single-run=false --auto-watch"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@babel/core": "^7.28.6",
|
|
42
|
-
"@babel/plugin-transform-runtime": "^7.28.5",
|
|
43
|
-
"@babel/preset-env": "^7.28.6",
|
|
44
|
-
"@babel/runtime": "^7.28.6",
|
|
45
|
-
"axios": "^1.13.2",
|
|
46
|
-
"babel-loader": "^10.0.0",
|
|
47
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
48
|
-
"coverage-istanbul-loader": "^3.0.5",
|
|
49
|
-
"documentation": "^14.0.3",
|
|
50
|
-
"eslint": "^9.39.2",
|
|
51
|
-
"globals": "17.0.0",
|
|
52
|
-
"host-environment": "^2.1.2",
|
|
53
|
-
"karma": "^6.4.4",
|
|
54
|
-
"karma-chrome-launcher": "^3.2.0",
|
|
55
|
-
"karma-coverage-istanbul-reporter": "^3.0.2",
|
|
56
|
-
"karma-firefox-launcher": "^2.1.3",
|
|
57
|
-
"karma-host-environment": "^3.0.3",
|
|
58
|
-
"karma-jquery": "^0.2.4",
|
|
59
|
-
"karma-qunit": "^4.2.1",
|
|
60
|
-
"karma-webpack": "^5.0.1",
|
|
61
|
-
"qunit": "^2.25.0",
|
|
62
|
-
"terser-webpack-plugin": "^5.3.16",
|
|
63
|
-
"webpack": "^5.104.1",
|
|
64
|
-
"webpack-cli": "^6.0.1",
|
|
65
|
-
"webpack-merge": "^6.0.1"
|
|
66
|
-
},
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"async": "^3.2.6",
|
|
69
|
-
"dexie": "4.2.1",
|
|
70
|
-
"jquery": "4.0.0"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bimplus-websdk",
|
|
3
|
+
"version": "1.0.64",
|
|
4
|
+
"description": "bim+ websdk",
|
|
5
|
+
"types": "types/bimplus-websdk.d.ts",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"Allplan",
|
|
8
|
+
"Bimplus",
|
|
9
|
+
"library",
|
|
10
|
+
"javascript"
|
|
11
|
+
],
|
|
12
|
+
"main": "dist/bimplus-websdk.js",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "."
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"eslint": "eslint src/**/*.js test/**/*.js",
|
|
20
|
+
"build": "npm run eslint && webpack --config webpack.dev.js",
|
|
21
|
+
"build-prod": "npm run eslint && webpack --config webpack.prod.js",
|
|
22
|
+
"pub": "npm run build-prod && npm publish",
|
|
23
|
+
"pub-tag": "npm run build-prod && npm publish --tag dev",
|
|
24
|
+
"npm-pack": "npm run build-prod && npm pack",
|
|
25
|
+
"bump": "npm run bump:patch",
|
|
26
|
+
"bump:patch": "npm version patch --no-git-tag-version",
|
|
27
|
+
"install-documentation-package": "npm install -g documentation",
|
|
28
|
+
"lint-doc": "documentation lint ./src/Api/*.js",
|
|
29
|
+
"build-doc": "npm run lint-doc && documentation build ./src/Api/*.js --config doc_config.yml -f html -o ./documentation",
|
|
30
|
+
"build-docMd": "npm run lint-doc && documentation build ./src/Api/*.js -f md -o ./documentation/Bimplus_WebSDK_doc.md",
|
|
31
|
+
"build-docConf": "npm run build-docMd && cd ./documentation && python convert_to_confluence_md.py",
|
|
32
|
+
"build-docAll": "npm run build-doc && npm run build-docConf && npm run build-docMd && npm run build-doc",
|
|
33
|
+
"test": "node node_modules/karma/bin/karma start",
|
|
34
|
+
"test-chrome": "npm run test -- --single-run=true --browsers ChromeExt karma.conf.js",
|
|
35
|
+
"test-chrome-headless": "npm run test -- --single-run=true --browsers ChromeHeadless karma.conf.js",
|
|
36
|
+
"test-firefox": "npm run test -- --single-run=true --browsers Firefox karma.conf.js",
|
|
37
|
+
"test-firefox-headless": "npm run test -- --single-run=true --browsers FirefoxHeadless karma.conf.js",
|
|
38
|
+
"test-watch": "npm run test -- --browsers=ChromeExt --single-run=false --auto-watch"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@babel/core": "^7.28.6",
|
|
42
|
+
"@babel/plugin-transform-runtime": "^7.28.5",
|
|
43
|
+
"@babel/preset-env": "^7.28.6",
|
|
44
|
+
"@babel/runtime": "^7.28.6",
|
|
45
|
+
"axios": "^1.13.2",
|
|
46
|
+
"babel-loader": "^10.0.0",
|
|
47
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
48
|
+
"coverage-istanbul-loader": "^3.0.5",
|
|
49
|
+
"documentation": "^14.0.3",
|
|
50
|
+
"eslint": "^9.39.2",
|
|
51
|
+
"globals": "17.0.0",
|
|
52
|
+
"host-environment": "^2.1.2",
|
|
53
|
+
"karma": "^6.4.4",
|
|
54
|
+
"karma-chrome-launcher": "^3.2.0",
|
|
55
|
+
"karma-coverage-istanbul-reporter": "^3.0.2",
|
|
56
|
+
"karma-firefox-launcher": "^2.1.3",
|
|
57
|
+
"karma-host-environment": "^3.0.3",
|
|
58
|
+
"karma-jquery": "^0.2.4",
|
|
59
|
+
"karma-qunit": "^4.2.1",
|
|
60
|
+
"karma-webpack": "^5.0.1",
|
|
61
|
+
"qunit": "^2.25.0",
|
|
62
|
+
"terser-webpack-plugin": "^5.3.16",
|
|
63
|
+
"webpack": "^5.104.1",
|
|
64
|
+
"webpack-cli": "^6.0.1",
|
|
65
|
+
"webpack-merge": "^6.0.1"
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"async": "^3.2.6",
|
|
69
|
+
"dexie": "4.2.1",
|
|
70
|
+
"jquery": "4.0.0"
|
|
71
|
+
}
|
|
72
|
+
}
|
package/reinstall
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
./clean
|
|
4
|
-
./install
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
./clean
|
|
4
|
+
./install
|