@things-factory/lite-menu 6.2.75 → 6.2.78
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/client/actions/{lite-menu.js → lite-menu.ts} +2 -2
- package/client/{lite-menu-setting-let.js → lite-menu-setting-let.ts} +16 -22
- package/client/pages/{addon-menu-setting.js → addon-menu-setting.ts} +47 -71
- package/client/tsconfig.json +13 -0
- package/client/viewparts/{lite-menu-landscape.js → lite-menu-landscape.ts} +23 -25
- package/client/viewparts/{lite-menu-part.js → lite-menu-part.ts} +44 -49
- package/client/viewparts/{lite-menu-portrait.js → lite-menu-portrait.ts} +15 -19
- package/client/viewparts/{top-menu-bar.js → top-menu-bar.ts} +11 -14
- package/dist-client/actions/lite-menu.d.ts +7 -0
- package/dist-client/actions/lite-menu.js +114 -0
- package/dist-client/actions/lite-menu.js.map +1 -0
- package/dist-client/bootstrap.d.ts +4 -0
- package/dist-client/bootstrap.js +14 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/index.d.ts +4 -0
- package/dist-client/index.js +5 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/lite-menu-setting-let.d.ts +13 -0
- package/dist-client/lite-menu-setting-let.js +83 -0
- package/dist-client/lite-menu-setting-let.js.map +1 -0
- package/dist-client/pages/addon-menu-setting.d.ts +7 -0
- package/dist-client/pages/addon-menu-setting.js +480 -0
- package/dist-client/pages/addon-menu-setting.js.map +1 -0
- package/dist-client/reducers/lite-menu.d.ts +14 -0
- package/dist-client/reducers/lite-menu.js +60 -0
- package/dist-client/reducers/lite-menu.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +8 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-client/viewparts/lite-menu-landscape-styles.d.ts +1 -0
- package/dist-client/viewparts/lite-menu-landscape-styles.js +149 -0
- package/dist-client/viewparts/lite-menu-landscape-styles.js.map +1 -0
- package/dist-client/viewparts/lite-menu-landscape.d.ts +20 -0
- package/dist-client/viewparts/lite-menu-landscape.js +103 -0
- package/dist-client/viewparts/lite-menu-landscape.js.map +1 -0
- package/dist-client/viewparts/lite-menu-part.d.ts +28 -0
- package/dist-client/viewparts/lite-menu-part.js +143 -0
- package/dist-client/viewparts/lite-menu-part.js.map +1 -0
- package/dist-client/viewparts/lite-menu-portrait-styles.d.ts +1 -0
- package/dist-client/viewparts/lite-menu-portrait-styles.js +147 -0
- package/dist-client/viewparts/lite-menu-portrait-styles.js.map +1 -0
- package/dist-client/viewparts/lite-menu-portrait.d.ts +12 -0
- package/dist-client/viewparts/lite-menu-portrait.js +89 -0
- package/dist-client/viewparts/lite-menu-portrait.js.map +1 -0
- package/dist-client/viewparts/top-menu-bar.d.ts +22 -0
- package/dist-client/viewparts/top-menu-bar.js +150 -0
- package/dist-client/viewparts/top-menu-bar.js.map +1 -0
- package/dist-server/index.js +0 -1
- package/dist-server/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -13
- package/server/index.ts +0 -1
- package/server/tsconfig.json +10 -0
- package/things-factory.config.js +2 -2
- package/dist-server/migrations/index.js +0 -12
- package/dist-server/migrations/index.js.map +0 -1
- package/server/migrations/index.ts +0 -9
- package/tsconfig.json +0 -9
- /package/client/{bootstrap.js → bootstrap.ts} +0 -0
- /package/client/{index.js → index.ts} +0 -0
- /package/client/reducers/{lite-menu.js → lite-menu.ts} +0 -0
- /package/client/{route.js → route.ts} +0 -0
- /package/client/viewparts/{lite-menu-landscape-styles.js → lite-menu-landscape-styles.ts} +0 -0
- /package/client/viewparts/{lite-menu-portrait-styles.js → lite-menu-portrait-styles.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/lite-menu",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.78",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
|
-
"browser": "client/index.js",
|
|
5
|
+
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
7
7
|
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
8
8
|
"description": "module that helps to organize menus efficiently and flexibly",
|
|
@@ -17,10 +17,13 @@
|
|
|
17
17
|
"directory": "packages/lite-menu"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
20
|
+
"build": "npm run build:server && npm run build:client",
|
|
21
|
+
"copy:files": "copyfiles -e \"./client/**/*.{ts,js,json}\" -u 1 \"./client/**/*\" dist-client",
|
|
22
|
+
"build:client": "npm run copy:files && npx tsc --p ./client/tsconfig.json",
|
|
23
|
+
"build:server": "npx tsc --p ./server/tsconfig.json",
|
|
24
|
+
"clean:client": "npx rimraf dist-client",
|
|
25
|
+
"clean:server": "npx rimraf dist-server",
|
|
26
|
+
"clean": "npm run clean:server && npm run clean:client",
|
|
24
27
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
28
|
},
|
|
26
29
|
"dependencies": {
|
|
@@ -34,13 +37,13 @@
|
|
|
34
37
|
"@operato/shell": "^1.0.1",
|
|
35
38
|
"@operato/styles": "^1.0.0",
|
|
36
39
|
"@operato/utils": "^1.0.1",
|
|
37
|
-
"@things-factory/apptool-base": "^6.2.
|
|
38
|
-
"@things-factory/auth-base": "^6.2.
|
|
39
|
-
"@things-factory/board-service": "^6.2.
|
|
40
|
-
"@things-factory/board-ui": "^6.2.
|
|
41
|
-
"@things-factory/more-base": "^6.2.
|
|
42
|
-
"@things-factory/setting-base": "^6.2.
|
|
40
|
+
"@things-factory/apptool-base": "^6.2.77",
|
|
41
|
+
"@things-factory/auth-base": "^6.2.77",
|
|
42
|
+
"@things-factory/board-service": "^6.2.77",
|
|
43
|
+
"@things-factory/board-ui": "^6.2.77",
|
|
44
|
+
"@things-factory/more-base": "^6.2.77",
|
|
45
|
+
"@things-factory/setting-base": "^6.2.77",
|
|
43
46
|
"@things-factory/utils": "^6.2.48"
|
|
44
47
|
},
|
|
45
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "0dea8fed691c4ac45c3f06f70d9f211d3fd0031b"
|
|
46
49
|
}
|
package/server/index.ts
CHANGED
package/things-factory.config.js
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.migrations = void 0;
|
|
4
|
-
const glob = require('glob');
|
|
5
|
-
const path = require('path');
|
|
6
|
-
exports.migrations = [];
|
|
7
|
-
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
|
|
8
|
-
if (file.indexOf('index.js') !== -1)
|
|
9
|
-
return;
|
|
10
|
-
exports.migrations = exports.migrations.concat(Object.values(require(path.resolve(file))) || []);
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;IACzE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA","sourcesContent":["const glob = require('glob')\nconst path = require('path')\n\nexport var migrations = []\n\nglob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {\n if (file.indexOf('index.js') !== -1) return\n migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])\n})\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const glob = require('glob')
|
|
2
|
-
const path = require('path')
|
|
3
|
-
|
|
4
|
-
export var migrations = []
|
|
5
|
-
|
|
6
|
-
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {
|
|
7
|
-
if (file.indexOf('index.js') !== -1) return
|
|
8
|
-
migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])
|
|
9
|
-
})
|
package/tsconfig.json
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|