baja-lite 1.6.2 → 1.6.4
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/.eslintignore +7 -0
- package/.eslintrc.cjs +89 -0
- package/.prettierrc +7 -0
- package/.vscode/settings.json +9 -0
- package/ci.js +33 -0
- package/package-cjs.json +17 -0
- package/package.json +80 -80
- package/pnpm-lock.yaml +2840 -0
- package/pnpm-workspace.yaml +2 -0
- package/{boot-remote.js → src/boot-remote.ts} +64 -63
- package/{boot.js → src/boot.ts} +170 -163
- package/{code.js → src/code.ts} +526 -517
- package/{convert-xml.js → src/convert-xml.ts} +460 -410
- package/src/error.ts +11 -0
- package/src/event.ts +34 -0
- package/src/fn.ts +295 -0
- package/{index.d.ts → src/index.ts} +11 -10
- package/src/math.ts +405 -0
- package/src/object.ts +342 -0
- package/{snowflake.js → src/snowflake.ts} +127 -108
- package/src/sql.ts +5529 -0
- package/{sqlite.js → src/sqlite.ts} +157 -156
- package/src/string.ts +111 -0
- package/src/test-mysql.ts +148 -0
- package/{test-postgresql.js → src/test-postgresql.ts} +80 -91
- package/{test-sqlite.js → src/test-sqlite.ts} +80 -90
- package/{test-xml.js → src/test-xml.ts} +70 -70
- package/{test.js → src/test.ts} +3 -2
- package/src/wx/base.ts +77 -0
- package/src/wx/mini.ts +147 -0
- package/src/wx/organ.ts +290 -0
- package/{wx/types.d.ts → src/wx/types.ts} +549 -560
- package/{wx.d.ts → src/wx.ts} +3 -3
- package/tsconfig.cjs.json +42 -0
- package/tsconfig.json +44 -0
- package/xml/event-report.xml +13 -0
- package/yarn.lock +1977 -0
- package/boot-remote.d.ts +0 -2
- package/boot.d.ts +0 -2
- package/code.d.ts +0 -2
- package/convert-xml.d.ts +0 -10
- package/error.d.ts +0 -5
- package/error.js +0 -13
- package/event.d.ts +0 -10
- package/event.js +0 -38
- package/fn.d.ts +0 -128
- package/fn.js +0 -172
- package/index.js +0 -10
- package/math.d.ts +0 -83
- package/math.js +0 -451
- package/object.d.ts +0 -126
- package/object.js +0 -321
- package/snowflake.d.ts +0 -12
- package/sql.d.ts +0 -2148
- package/sql.js +0 -5372
- package/sqlite.d.ts +0 -32
- package/string.d.ts +0 -17
- package/string.js +0 -105
- package/test-mysql.d.ts +0 -2
- package/test-mysql.js +0 -114
- package/test-postgresql.d.ts +0 -2
- package/test-sqlite.d.ts +0 -1
- package/test-xml.d.ts +0 -1
- package/test.d.ts +0 -1
- package/wx/base.d.ts +0 -11
- package/wx/base.js +0 -78
- package/wx/mini.d.ts +0 -52
- package/wx/mini.js +0 -112
- package/wx/organ.d.ts +0 -65
- package/wx/organ.js +0 -171
- package/wx/types.js +0 -1
- package/wx.js +0 -3
- /package/{README.md → Readme.md} +0 -0
package/{wx.d.ts → src/wx.ts}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './wx/mini.js';
|
|
2
|
-
export * from './wx/organ.js';
|
|
3
|
-
export * from './wx/types.js';
|
|
1
|
+
export * from './wx/mini.js';
|
|
2
|
+
export * from './wx/organ.js';
|
|
3
|
+
export * from './wx/types.js';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"include": [
|
|
3
|
+
"src/**/*"
|
|
4
|
+
],
|
|
5
|
+
"exclude": [
|
|
6
|
+
"node_modules",
|
|
7
|
+
"dist",
|
|
8
|
+
"test/**/*",
|
|
9
|
+
"*.spec.ts"
|
|
10
|
+
],
|
|
11
|
+
"compilerOptions": {
|
|
12
|
+
"target": "ES2020",
|
|
13
|
+
"baseUrl": "./src",
|
|
14
|
+
"rootDir": "./src",
|
|
15
|
+
"sourceMap": false,
|
|
16
|
+
"moduleResolution": "node",
|
|
17
|
+
"allowJs": false,
|
|
18
|
+
"strict": true,
|
|
19
|
+
"declaration": true,
|
|
20
|
+
"noUnusedLocals": true,
|
|
21
|
+
"emitDecoratorMetadata": true,
|
|
22
|
+
"strictNullChecks": true,
|
|
23
|
+
"composite": true,
|
|
24
|
+
"experimentalDecorators": true,
|
|
25
|
+
"resolveJsonModule": true,
|
|
26
|
+
"allowSyntheticDefaultImports": true,
|
|
27
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
28
|
+
"useUnknownInCatchVariables": false,
|
|
29
|
+
"noUncheckedIndexedAccess": true,
|
|
30
|
+
"noImplicitAny": false,
|
|
31
|
+
"esModuleInterop": true,
|
|
32
|
+
"removeComments": false,
|
|
33
|
+
"types": [],
|
|
34
|
+
"paths": {
|
|
35
|
+
"@element-plus/*": [
|
|
36
|
+
"packages/*"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"module": "commonjs",
|
|
40
|
+
"outDir": "./dist-cjs"
|
|
41
|
+
}
|
|
42
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"include": [
|
|
3
|
+
"src/**/*"
|
|
4
|
+
],
|
|
5
|
+
"exclude": [
|
|
6
|
+
"node_modules",
|
|
7
|
+
"dist",
|
|
8
|
+
"test/**/*",
|
|
9
|
+
"*.spec.ts"
|
|
10
|
+
],
|
|
11
|
+
"compilerOptions": {
|
|
12
|
+
"target": "ES2020",
|
|
13
|
+
"module": "esnext",
|
|
14
|
+
"baseUrl": "./src",
|
|
15
|
+
"rootDir": "./src",
|
|
16
|
+
"sourceMap": false,
|
|
17
|
+
"moduleResolution": "node",
|
|
18
|
+
"allowJs": false,
|
|
19
|
+
"strict": true,
|
|
20
|
+
"declaration": true,
|
|
21
|
+
"noUnusedLocals": true,
|
|
22
|
+
"emitDecoratorMetadata": true,
|
|
23
|
+
"strictNullChecks": true,
|
|
24
|
+
"composite": true,
|
|
25
|
+
"experimentalDecorators": true,
|
|
26
|
+
"resolveJsonModule": true,
|
|
27
|
+
"allowSyntheticDefaultImports": true,
|
|
28
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
29
|
+
"useUnknownInCatchVariables": false,
|
|
30
|
+
"noUncheckedIndexedAccess": true,
|
|
31
|
+
"noImplicitAny": false,
|
|
32
|
+
"esModuleInterop": true,
|
|
33
|
+
"removeComments": false,
|
|
34
|
+
"paths": {
|
|
35
|
+
"@element-plus/*": [
|
|
36
|
+
"packages/*"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"lib": ["ESNext"],
|
|
40
|
+
"types": ["node"],
|
|
41
|
+
"skipLibCheck": true,
|
|
42
|
+
"outDir": "./dist"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
3
|
+
<mapper namespace="org.jeecg.modules.system.mapper.SysUserDataPermissionMapper">
|
|
4
|
+
<insert id="addDataPermissionByDataId">
|
|
5
|
+
insert into sys_user_data_permission (eventh_user_id,data_id,user_id,data_type)
|
|
6
|
+
<foreach collection="dataPermission.userIds" open="(" close=")" item="userId" separator="),(" >
|
|
7
|
+
UUID_SHORT(),#{dataPermission.dataId},#{userId},#{dataPermission.dataType}
|
|
8
|
+
</foreach>
|
|
9
|
+
</insert>
|
|
10
|
+
<select id="getDataPermissionByDataId" resultType="java.lang.String">
|
|
11
|
+
select user_id from sys_user_data_permission where #{dataId}
|
|
12
|
+
</select>
|
|
13
|
+
</mapper>
|