@haloduck/ui 1.0.0
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 +104 -0
- package/documentation.json +2104 -0
- package/haloduck-ui-1.0.0.tgz +0 -0
- package/package.json +57 -0
- package/public/i18n/en.json +1 -0
- package/public/i18n/haloduck/en.json +52 -0
- package/public/i18n/haloduck/ko.json +52 -0
- package/public/i18n/icons/en.png +0 -0
- package/public/i18n/icons/ko.png +0 -0
- package/public/i18n/ko.json +1 -0
- package/public/image/search.svg +3 -0
- package/scripts/copy-i18n.js +26 -0
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@haloduck/ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "HaloDuck UI Library - Angular 기반 UI 컴포넌트 라이브러리",
|
|
5
|
+
"keywords": ["angular", "haloduck", "ui", "components", "typescript", "tailwindcss"],
|
|
6
|
+
"author": "HaloDuck",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/haloduck/haloduck-frontend.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/haloduck/haloduck-frontend/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/haloduck/haloduck-frontend#readme",
|
|
16
|
+
"main": "bundles/haloduck-ui.umd.js",
|
|
17
|
+
"module": "fesm2022/haloduck-ui.mjs",
|
|
18
|
+
"es2022": "fesm2022/haloduck-ui.mjs",
|
|
19
|
+
"esm2022": "fesm2022/haloduck-ui.mjs",
|
|
20
|
+
"fesm2022": "fesm2022/haloduck-ui.mjs",
|
|
21
|
+
"typings": "index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./fesm2022/haloduck-ui.mjs",
|
|
25
|
+
"require": "./bundles/haloduck-ui.umd.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "ng build @haloduck/ui",
|
|
30
|
+
"build:prod": "ng build @haloduck/ui --configuration production",
|
|
31
|
+
"test": "ng test @haloduck/ui",
|
|
32
|
+
"lint": "ng lint @haloduck/ui",
|
|
33
|
+
"prepublishOnly": "npm run build:prod"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@angular/common": "^19.2.0",
|
|
37
|
+
"@angular/core": "^19.2.0",
|
|
38
|
+
"rxjs": "~7.8.0",
|
|
39
|
+
"@angular/forms": "^19.2.10",
|
|
40
|
+
"@jsverse/transloco": "^7.6.1",
|
|
41
|
+
"@angular/cdk": "^19.2.15",
|
|
42
|
+
"@ngrx/component-store": "^19.0.0",
|
|
43
|
+
"three": "^0.175.0",
|
|
44
|
+
"three-stdlib": "^2.35.15",
|
|
45
|
+
"@types/three": "^0.175.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"tslib": "^2.3.0"
|
|
49
|
+
},
|
|
50
|
+
"sideEffects": false,
|
|
51
|
+
"bin": {
|
|
52
|
+
"haloduck-copy-i18n": "./scripts/copy-i18n.js"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ui.button.Close": "Close",
|
|
3
|
+
"ui.button.Copied": "Copied",
|
|
4
|
+
"ui.button.Copy": "Copy",
|
|
5
|
+
"ui.button.Download": "Download",
|
|
6
|
+
"ui.button.View": "View",
|
|
7
|
+
"ui.calendar.15 Days ago": "15 Days ago",
|
|
8
|
+
"ui.calendar.2 Days ago": "2 Days ago",
|
|
9
|
+
"ui.calendar.2 months ago": "2 months ago",
|
|
10
|
+
"ui.calendar.3 Days ago": "3 Days ago",
|
|
11
|
+
"ui.calendar.3 months ago": "3 months ago",
|
|
12
|
+
"ui.calendar.6 months ago": "6 months ago",
|
|
13
|
+
"ui.calendar.April": "April",
|
|
14
|
+
"ui.calendar.August": "August",
|
|
15
|
+
"ui.calendar.December": "December",
|
|
16
|
+
"ui.calendar.February": "February",
|
|
17
|
+
"ui.calendar.Fri": "Fri",
|
|
18
|
+
"ui.calendar.January": "January",
|
|
19
|
+
"ui.calendar.July": "July",
|
|
20
|
+
"ui.calendar.June": "June",
|
|
21
|
+
"ui.calendar.March": "March",
|
|
22
|
+
"ui.calendar.May": "May",
|
|
23
|
+
"ui.calendar.Mon": "Mon",
|
|
24
|
+
"ui.calendar.November": "November",
|
|
25
|
+
"ui.calendar.October": "October",
|
|
26
|
+
"ui.calendar.Period": "Period",
|
|
27
|
+
"ui.calendar.Pick a date.": "Pick a date.",
|
|
28
|
+
"ui.calendar.Pick a period.": "Pick a period.",
|
|
29
|
+
"ui.calendar.Sat": "Sat",
|
|
30
|
+
"ui.calendar.September": "September",
|
|
31
|
+
"ui.calendar.Sun": "Sun",
|
|
32
|
+
"ui.calendar.Thu": "Thu",
|
|
33
|
+
"ui.calendar.Tue": "Tue",
|
|
34
|
+
"ui.calendar.Wed": "Wed",
|
|
35
|
+
"ui.calendar._year_": "`{{year}}",
|
|
36
|
+
"ui.calendar.a month ago": "a month ago",
|
|
37
|
+
"ui.calendar.a week ago": "a week ago",
|
|
38
|
+
"ui.calendar.a year ago": "a year ago",
|
|
39
|
+
"ui.calendar.pick manually": "pick manually",
|
|
40
|
+
"ui.calendar.today": "today",
|
|
41
|
+
"ui.calendar.yesterday": "yesterday",
|
|
42
|
+
"ui.draw.Clear": "Clear",
|
|
43
|
+
"ui.file.Drag and drop an image here, or click to select": "Drag and drop an image here, or click to select",
|
|
44
|
+
"ui.file.Drag and drop files here, or click to select files": "Drag and drop files here, or click to select files",
|
|
45
|
+
"ui.file.Remove": "Remove",
|
|
46
|
+
"ui.file.Uploaded": "Uploaded",
|
|
47
|
+
"ui.file.Uploading...": "Uploading...",
|
|
48
|
+
"ui.select.Keyword...": "Keyword...",
|
|
49
|
+
"ui.select.Select...": "Select...",
|
|
50
|
+
"ui.table.Load More...": "Load More...",
|
|
51
|
+
"ui.table.No data available.": "No data available."
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ui.button.Close": "닫기",
|
|
3
|
+
"ui.button.Copied": "복사됨",
|
|
4
|
+
"ui.button.Copy": "복사",
|
|
5
|
+
"ui.button.Download": "다운로드",
|
|
6
|
+
"ui.button.View": "보기",
|
|
7
|
+
"ui.calendar.15 Days ago": "보름전",
|
|
8
|
+
"ui.calendar.2 Days ago": "이틀전",
|
|
9
|
+
"ui.calendar.2 months ago": "두달전",
|
|
10
|
+
"ui.calendar.3 Days ago": "사흘전",
|
|
11
|
+
"ui.calendar.3 months ago": "석달전",
|
|
12
|
+
"ui.calendar.6 months ago": "반년전",
|
|
13
|
+
"ui.calendar.April": "4월",
|
|
14
|
+
"ui.calendar.August": "8월",
|
|
15
|
+
"ui.calendar.December": "12월",
|
|
16
|
+
"ui.calendar.February": "2월",
|
|
17
|
+
"ui.calendar.Fri": "금",
|
|
18
|
+
"ui.calendar.January": "1월",
|
|
19
|
+
"ui.calendar.July": "7월",
|
|
20
|
+
"ui.calendar.June": "6월",
|
|
21
|
+
"ui.calendar.March": "3월",
|
|
22
|
+
"ui.calendar.May": "5월",
|
|
23
|
+
"ui.calendar.Mon": "월",
|
|
24
|
+
"ui.calendar.November": "11월",
|
|
25
|
+
"ui.calendar.October": "10월",
|
|
26
|
+
"ui.calendar.Period": "기간",
|
|
27
|
+
"ui.calendar.Pick a date.": "날짜를 선택하세요.",
|
|
28
|
+
"ui.calendar.Pick a period.": "기간을 선택하세요.",
|
|
29
|
+
"ui.calendar.Sat": "토",
|
|
30
|
+
"ui.calendar.September": "9월",
|
|
31
|
+
"ui.calendar.Sun": "일",
|
|
32
|
+
"ui.calendar.Thu": "목",
|
|
33
|
+
"ui.calendar.Tue": "화",
|
|
34
|
+
"ui.calendar.Wed": "수",
|
|
35
|
+
"ui.calendar._year_": "{{year}}년",
|
|
36
|
+
"ui.calendar.a month ago": "한달전",
|
|
37
|
+
"ui.calendar.a week ago": "일주일전",
|
|
38
|
+
"ui.calendar.a year ago": "일년전",
|
|
39
|
+
"ui.calendar.pick manually": "pick manually",
|
|
40
|
+
"ui.calendar.today": "오늘",
|
|
41
|
+
"ui.calendar.yesterday": "어제",
|
|
42
|
+
"ui.draw.Clear": "지우기",
|
|
43
|
+
"ui.file.Drag and drop an image here, or click to select": "이미지를 드래그 앤 드롭하거나 클릭하여 선택하세요",
|
|
44
|
+
"ui.file.Drag and drop files here, or click to select files": "파일을 드래그 앤 드롭하거나 클릭하여 선택하세요",
|
|
45
|
+
"ui.file.Remove": "제거",
|
|
46
|
+
"ui.file.Uploaded": "업로드됨",
|
|
47
|
+
"ui.file.Uploading...": "업로드 중...",
|
|
48
|
+
"ui.select.Keyword...": "검색어...",
|
|
49
|
+
"ui.select.Select...": "선택...",
|
|
50
|
+
"ui.table.Load More...": "더보기...",
|
|
51
|
+
"ui.table.No data available.": "데이터가 없습니다."
|
|
52
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M19.6 21L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16C7.68333 16 6.146 15.3707 4.888 14.112C3.63 12.8533 3.00067 11.316 3 9.5C2.99933 7.684 3.62867 6.14667 4.888 4.888C6.14733 3.62933 7.68467 3 9.5 3C11.3153 3 12.853 3.62933 14.113 4.888C15.373 6.14667 16.002 7.684 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L21 19.6L19.6 21ZM9.5 14C10.75 14 11.8127 13.5627 12.688 12.688C13.5633 11.8133 14.0007 10.7507 14 9.5C13.9993 8.24933 13.562 7.187 12.688 6.313C11.814 5.439 10.7513 5.00133 9.5 5C8.24867 4.99867 7.18633 5.43633 6.313 6.313C5.43967 7.18967 5.002 8.252 5 9.5C4.998 10.748 5.43567 11.8107 6.313 12.688C7.19033 13.5653 8.25267 14.0027 9.5 14Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
function copyFolderSync(from, to) {
|
|
7
|
+
fs.mkdirSync(to, { recursive: true });
|
|
8
|
+
for (const file of fs.readdirSync(from)) {
|
|
9
|
+
const src = path.join(from, file);
|
|
10
|
+
const dest = path.join(to, file);
|
|
11
|
+
if (fs.lstatSync(src).isDirectory()) {
|
|
12
|
+
copyFolderSync(src, dest);
|
|
13
|
+
} else {
|
|
14
|
+
fs.copyFileSync(src, dest);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// 명령행 인자에서 targetDir을 받음
|
|
20
|
+
const project = process.argv[2];
|
|
21
|
+
const targetDir = project
|
|
22
|
+
? path.resolve(process.cwd(), `projects/${project}/public/i18n/haloduck`)
|
|
23
|
+
: path.resolve(process.cwd(), 'public/i18n/haloduck');
|
|
24
|
+
const sourceDir = path.resolve(__dirname, '../public/i18n/haloduck');
|
|
25
|
+
|
|
26
|
+
copyFolderSync(sourceDir, targetDir);
|