Skip to content

Commit 04c7d08

Browse files
committed
v1.3.0
0 parents commit 04c7d08

File tree

124 files changed

+14077
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+14077
-0
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4

.eslintrc.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
node: true,
6+
es6: true,
7+
},
8+
extends: ["plugin:cypress/recommended", "eslint:recommended", "prettier"],
9+
parserOptions: {
10+
ecmaVersion: 2020,
11+
sourceType: "module",
12+
extraFileExtensions: [".svelte"],
13+
},
14+
plugins: ["svelte3"],
15+
16+
overrides: [
17+
{
18+
files: ["*.svelte"],
19+
processor: "svelte3/svelte3",
20+
},
21+
],
22+
settings: {
23+
// [todo] we can add stylelint for this
24+
"svelte3/ignore-styles": () => true,
25+
},
26+
rules: {
27+
"cypress/no-unnecessary-waiting": 0,
28+
"cypress/no-assigning-return-values": 0,
29+
"no-bitwise": ["error"],
30+
},
31+
};

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
package-lock.json
3+
4+
*.zip
5+
.Ds_store
6+
*.tgz
7+
*.log
8+
.vscode
9+
.idea
10+
11+
.env.local

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
yarn run lint-staged

.prettierrc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"useTabs": true,
3+
"semi": true,
4+
"singleQuote": false,
5+
"quoteProps": "as-needed",
6+
"trailingComma": "es5",
7+
"bracketSpacing": true,
8+
"arrowParens": "avoid",
9+
"svelteSortOrder": "options-scripts-markup-styles",
10+
11+
"plugins": [
12+
"prettier-plugin-svelte"
13+
],
14+
"overrides": [
15+
{
16+
"files": "*.svelte",
17+
"options": {
18+
"parser": "svelte"
19+
}
20+
},
21+
{
22+
"files": "*.ts",
23+
"options": {
24+
"parser": "typescript"
25+
}
26+
}
27+
]
28+
}

license.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 XB Software Sp. z o.o.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

locales/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default as en } from "./locales/en";
2+
export { default as cn } from "./locales/cn";

locales/locales/cn.js

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
export default {
2+
filemanager: {
3+
"My files": "我的文件",
4+
5+
"Add New": "添新",
6+
Ok: "好的",
7+
Cancel: "取消",
8+
9+
"Delete files": "删除文件",
10+
Files: "文件",
11+
Folder: "文件夹",
12+
"Back to parent folder": "返回父文件夹",
13+
14+
Information: "信息",
15+
Found: "成立",
16+
17+
"Are you sure you want to delete these items:": "您确定要删除此项目吗:",
18+
"Enter file name": "輸入檔名",
19+
"Enter folder name": "輸入資料夾名稱",
20+
21+
Result: "结果",
22+
Search: "搜索",
23+
"Search results in": "搜尋結果位於",
24+
"Add new file": "添加新文件",
25+
"Add new folder": "添加新文件夹",
26+
"Upload file": "上传文件",
27+
28+
Size: "尺寸",
29+
Name: "姓名",
30+
Type: "类型",
31+
Date: "日期",
32+
33+
Rename: "改名",
34+
Cut: "切",
35+
Delete: "删除",
36+
Copy: "复制",
37+
Paste: "粘贴",
38+
Download: "字典",
39+
Count: "伯爵",
40+
folder: "文件夹",
41+
folders: "文件夹",
42+
file: "文件",
43+
files: "文件",
44+
"Multiple files": "多個文件",
45+
multiple: "多種的",
46+
Preview: "預覽",
47+
of: "的",
48+
used: "過去慣常",
49+
"Select file or folder to view details":
50+
"選擇文件或資料夾以查看詳細信息",
51+
"Looks like nothing is here": "这里好像什么都没有",
52+
"Unknown file": "未知文件",
53+
54+
"A miniature file preview": "微文件预览",
55+
},
56+
};

locales/locales/en.js

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
export default {
2+
filemanager: {
3+
"My files": "My files",
4+
5+
"Add New": "Add New",
6+
Ok: "Ok",
7+
Cancel: "Cancel",
8+
9+
"Delete files": "Delete Files",
10+
Files: "Files",
11+
Folder: "Folder",
12+
"Back to parent folder": "Back to parent folder",
13+
14+
Information: "Information",
15+
Found: "Found",
16+
17+
"Are you sure you want to delete these items:":
18+
"Are you sure you want to delete these items:",
19+
"Enter file name": "Enter file name",
20+
"Enter folder name": "Enter folder name",
21+
22+
Result: "Result",
23+
Search: "Search",
24+
"Search results in": "Search results in",
25+
"Add new file": "Add new file",
26+
"Add new folder": "Add new folder",
27+
"Upload file": "Upload file",
28+
29+
Size: "Size",
30+
Name: "Name",
31+
Type: "Type",
32+
Date: "Date",
33+
34+
Rename: "Rename",
35+
Cut: "Cut",
36+
Delete: "Delete",
37+
Copy: "Copy",
38+
Paste: "Paste",
39+
Download: "Download",
40+
Count: "Count",
41+
folder: "folder",
42+
folders: "folders",
43+
file: "file",
44+
files: "files",
45+
"Multiple files": "Multiple files",
46+
multiple: "multiple",
47+
Preview: "Preview",
48+
of: "of",
49+
used: "used",
50+
"Select file or folder to view details":
51+
"Select file or folder to view details",
52+
"Looks like nothing is here": "Looks like nothing is here",
53+
"Unknown file": "Unknown file",
54+
55+
"A miniature file preview": "A miniature file preview",
56+
},
57+
};

0 commit comments

Comments
 (0)