@vc-shell/create-vc-app 1.0.142 → 1.0.144
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/CHANGELOG.md +18 -0
- package/dist/templates/base/package.json +5 -5
- package/dist/templates/base/public/img/icons/apple-touch-icon.png +0 -0
- package/dist/templates/base/public/img/icons/favicon-16x16.png +0 -0
- package/dist/templates/base/public/img/icons/favicon-32x32.png +0 -0
- package/dist/templates/base/public/img/icons/favicon.ico +0 -0
- package/dist/templates/base/public/img/icons/mstile-150x150.png +0 -0
- package/dist/templates/base/public/img/icons/pwa-192x192.png +0 -0
- package/dist/templates/base/public/img/icons/pwa-512x512.png +0 -0
- package/dist/templates/base/public/img/icons/safari-pinned-tab.svg +21 -26
- package/dist/templates/base/src/locales/en.json +183 -0
- package/dist/templates/base/src/router/routes.ts +1 -1
- package/package.json +2 -2
- package/dist/templates/base/src/types/index.ts +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.0.144](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.143...v1.0.144) (2024-01-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **create-vc-app:** update base favicon; common pages locales ([b284f33](https://github.com/VirtoCommerce/vc-shell/commit/b284f331f17b58c472fdc4c6c671962a646388b3))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.0.143](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.142...v1.0.143) (2024-01-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* locales moved to app scope ([ee08999](https://github.com/VirtoCommerce/vc-shell/commit/ee089996fd204ada7b8320218680d47f3418dc68))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
## [1.0.142](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.141...v1.0.142) (2024-01-10)
|
|
2
20
|
|
|
3
21
|
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@types/node": "^20.10.5",
|
|
25
25
|
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
|
26
26
|
"@typescript-eslint/parser": "^6.16.0",
|
|
27
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
28
|
-
"@vc-shell/release-config": "^1.0.
|
|
29
|
-
"@vc-shell/ts-config": "^1.0.
|
|
27
|
+
"@vc-shell/api-client-generator": "^1.0.144",
|
|
28
|
+
"@vc-shell/release-config": "^1.0.144",
|
|
29
|
+
"@vc-shell/ts-config": "^1.0.144",
|
|
30
30
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
31
31
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
32
32
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
59
|
-
"@vc-shell/config-generator": "^1.0.
|
|
60
|
-
"@vc-shell/framework": "^1.0.
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.144",
|
|
60
|
+
"@vc-shell/framework": "^1.0.144",
|
|
61
61
|
"@vueuse/core": "^10.7.1",
|
|
62
62
|
"@vueuse/integrations": "^10.7.1",
|
|
63
63
|
"moment": "^2.30.1",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -2,36 +2,31 @@
|
|
|
2
2
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
|
3
3
|
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
|
4
4
|
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width="
|
|
5
|
+
width="147.000000pt" height="147.000000pt" viewBox="0 0 147.000000 147.000000"
|
|
6
6
|
preserveAspectRatio="xMidYMid meet">
|
|
7
7
|
<metadata>
|
|
8
8
|
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
|
9
9
|
</metadata>
|
|
10
|
-
<g transform="translate(0.000000,
|
|
10
|
+
<g transform="translate(0.000000,147.000000) scale(0.100000,-0.100000)"
|
|
11
11
|
fill="#000000" stroke="none">
|
|
12
|
-
<path d="
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
25 -
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
<path d="
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-98 -16 -217 -329 -212 -343 6 -5 73 56 154 131 174 36 9 106 -3 140 -25z"/>
|
|
32
|
-
<path d="M4119 1666 c-155 -46 -257 -147 -304 -301 -83 -275 119 -559 405
|
|
33
|
-
-569 83 -3 139 9 218 46 235 110 321 423 176 639 -112 169 -304 240 -495 185z
|
|
34
|
-
m178 -261 c29 -7 80 -51 97 -84 44 -85 9 -193 -77 -238 -43 -22 -117 -20 -158
|
|
35
|
-
3 -132 77 -116 267 26 318 38 13 59 13 112 1z"/>
|
|
12
|
+
<path d="M110 1428 c0 -6 18 -50 56 -135 8 -18 20 -48 28 -65 42 -95 137 -310
|
|
13
|
+
160 -360 14 -31 30 -68 36 -82 l10 -26 164 0 c136 0 164 2 160 14 -3 7 1 20 8
|
|
14
|
+
27 7 8 15 23 16 34 2 11 8 23 14 26 5 3 9 8 7 10 -6 9 34 99 44 99 6 0 7 3 4
|
|
15
|
+
6 -3 4 -1 16 5 28 7 11 11 24 10 29 -1 4 3 7 9 7 5 0 8 4 4 9 -3 5 -1 12 5 16
|
|
16
|
+
5 3 10 15 10 26 0 10 5 19 12 19 6 0 8 3 5 6 -4 4 3 25 14 48 43 85 49 98 49
|
|
17
|
+
112 0 8 5 14 11 14 5 0 7 5 4 10 -3 6 -1 10 6 10 7 0 9 3 6 6 -3 4 -1 16 5 28
|
|
18
|
+
12 21 14 27 17 45 0 5 8 17 17 25 14 15 10 16 -48 17 -221 2 -242 0 -255 -18
|
|
19
|
+
-7 -10 -17 -23 -22 -29 -5 -7 -8 -14 -5 -17 7 -6 -17 -57 -27 -57 -5 0 -6 -6
|
|
20
|
+
-3 -14 3 -7 -2 -21 -11 -30 -9 -9 -14 -16 -10 -16 3 0 0 -10 -7 -22 -7 -13
|
|
21
|
+
-13 -25 -14 -28 -10 -36 -29 -70 -37 -67 -6 2 -41 71 -77 153 l-66 149 -157 0
|
|
22
|
+
c-86 0 -157 -3 -157 -7z"/>
|
|
23
|
+
<path d="M1200 1109 c-172 -23 -334 -139 -407 -293 -30 -62 -58 -154 -49 -163
|
|
24
|
+
4 -4 173 -6 277 -4 20 1 30 9 39 30 26 64 119 130 183 131 15 0 27 3 28 8 1 4
|
|
25
|
+
2 73 3 153 2 99 -1 146 -8 145 -6 0 -36 -3 -66 -7z"/>
|
|
26
|
+
<path d="M1250 673 c-38 -7 -78 -51 -85 -93 -15 -91 74 -155 159 -115 85 40
|
|
27
|
+
79 164 -9 201 -19 8 -36 13 -37 13 -2 -1 -14 -4 -28 -6z"/>
|
|
28
|
+
<path d="M887 503 l-148 -4 7 -37 c32 -178 177 -339 360 -401 52 -17 121 -27
|
|
29
|
+
159 -22 7 1 10 52 9 143 -1 79 -2 145 -3 148 0 3 -15 7 -32 8 -65 5 -144 63
|
|
30
|
+
-179 132 -11 22 -21 39 -23 38 -1 -1 -69 -4 -150 -5z"/>
|
|
36
31
|
</g>
|
|
37
32
|
</svg>
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
"PROFILE": "Profile",
|
|
7
7
|
"LOGOUT": "Log Out"
|
|
8
8
|
},
|
|
9
|
+
"USER": {
|
|
10
|
+
"ROLE": {
|
|
11
|
+
"ADMINISTRATOR": "Administrator"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
9
14
|
"MENU": {
|
|
10
15
|
"DASHBOARD": "Home"
|
|
11
16
|
},
|
|
@@ -19,5 +24,183 @@
|
|
|
19
24
|
"DASHBOARD": {
|
|
20
25
|
"TITLE": "Dashboard"
|
|
21
26
|
}
|
|
27
|
+
},
|
|
28
|
+
"COMPONENTS": {
|
|
29
|
+
"MOLECULES": {
|
|
30
|
+
"VC_SELECT": {
|
|
31
|
+
"CLICK_TO_SELECT": "Click to select..."
|
|
32
|
+
},
|
|
33
|
+
"VC_FILE_UPLOAD": {
|
|
34
|
+
"DRAG_HERE": "Drag and drop file here or",
|
|
35
|
+
"BROWSE": "browse your files"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"ORGANISMS": {
|
|
39
|
+
"VC_GALLERY": {
|
|
40
|
+
"INTERNAL": {
|
|
41
|
+
"VC_GALLERY_ITEM": {
|
|
42
|
+
"FULLSCREEN": "Fullscreen",
|
|
43
|
+
"EDIT": "Edit",
|
|
44
|
+
"DELETE": "Delete"
|
|
45
|
+
},
|
|
46
|
+
"VC_GALLERY_PREVIEW": {
|
|
47
|
+
"COPY_IMAGE_LINK": "copy image link"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"GALLERY_IS_EMPTY": "Gallery is empty"
|
|
51
|
+
},
|
|
52
|
+
"VC_APP": {
|
|
53
|
+
"INTERNAL": {
|
|
54
|
+
"VC_APP_BAR": {
|
|
55
|
+
"BACK": "Back"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"VC_BLADE": {
|
|
60
|
+
"SEE_DETAILS": "See details",
|
|
61
|
+
"ERROR_POPUP": {
|
|
62
|
+
"TITLE": "Error details"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"VC_TABLE": {
|
|
66
|
+
"CURRENT_PAGE_SELECTED": "All items in this page are selected.",
|
|
67
|
+
"SELECT_ALL": "Select all items",
|
|
68
|
+
"ALL_SELECTED": "All items are selected.",
|
|
69
|
+
"CANCEL": "Cancel selection",
|
|
70
|
+
"ALL_ACTIONS": "All actions",
|
|
71
|
+
"ALL_FILTERS": "Filters",
|
|
72
|
+
"SEARCH": "Search...",
|
|
73
|
+
"EMPTY":"List is empty.",
|
|
74
|
+
"NOT_FOUND":"Nothing found.",
|
|
75
|
+
"TOTALS": "Totals:"
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
"VC_POPUP": {
|
|
79
|
+
"OK": "OK",
|
|
80
|
+
"CONFIRM": "Confirm",
|
|
81
|
+
"CANCEL": "Cancel",
|
|
82
|
+
"TITLE": {
|
|
83
|
+
"CONFIRMATION": "Confirmation",
|
|
84
|
+
"ERROR": "Error"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"CHANGE_PASSWORD": {
|
|
89
|
+
"TITLE": "Change password",
|
|
90
|
+
"CURRENT_PASSWORD": {
|
|
91
|
+
"LABEL": "Current password",
|
|
92
|
+
"PLACEHOLDER": "Enter password"
|
|
93
|
+
},
|
|
94
|
+
"NEW_PASSWORD": {
|
|
95
|
+
"LABEL": "New password",
|
|
96
|
+
"PLACEHOLDER": "Enter password"
|
|
97
|
+
},
|
|
98
|
+
"CONFIRM_PASSWORD": {
|
|
99
|
+
"LABEL": "Confirm password",
|
|
100
|
+
"PLACEHOLDER": "Confirm password"
|
|
101
|
+
},
|
|
102
|
+
"CANCEL": "Cancel",
|
|
103
|
+
"SAVE": "Update",
|
|
104
|
+
"ERRORS": {
|
|
105
|
+
"Repeat-password": "Passwords are not same",
|
|
106
|
+
"Equal-passwords": "The new password must not match the old one",
|
|
107
|
+
"Invalid-token": "Token is invalid or expired",
|
|
108
|
+
"Password-too-weak": "New password does not comply one or more password security policies:",
|
|
109
|
+
"PasswordTooShort": "Passwords too short",
|
|
110
|
+
"PasswordRequiresUniqueChars": "Passwords must use different characters",
|
|
111
|
+
"PasswordRequiresLower": "Passwords must have at least one lowercase ('a'-'z')",
|
|
112
|
+
"PasswordRequiresUpper": "Passwords must have at least one uppercase ('A'-'Z')",
|
|
113
|
+
"PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9')",
|
|
114
|
+
"PasswordRequiresNonAlphanumeric": "Passwords must have at least one non alphanumeric character",
|
|
115
|
+
"Incorrect password.": "You entered an incorrect password",
|
|
116
|
+
"You have used this password in the past. Choose another one.": "You have used this password in the past. Choose another one."
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"NOTIFICATION_DROPDOWN": {
|
|
120
|
+
"TITLE": "Notifications",
|
|
121
|
+
"EMPTY": "No notifications yet"
|
|
122
|
+
},
|
|
123
|
+
"LANGUAGE_SELECTOR": {
|
|
124
|
+
"TITLE": "Language selector"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"INVITATION": {
|
|
128
|
+
"TITLE": "New user activation",
|
|
129
|
+
"FIELDS": {
|
|
130
|
+
"EMAIL": {
|
|
131
|
+
"LABEL": "Email"
|
|
132
|
+
},
|
|
133
|
+
"PASSWORD": {
|
|
134
|
+
"LABEL": "New password",
|
|
135
|
+
"PLACEHOLDER": "Enter password"
|
|
136
|
+
},
|
|
137
|
+
"CONFIRM_PASSWORD": {
|
|
138
|
+
"LABEL": "Confirm password",
|
|
139
|
+
"PLACEHOLDER": "Confirm password"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"ACCEPT_INVITATION": "Activate",
|
|
143
|
+
"ERRORS": {
|
|
144
|
+
"Repeat-password": "Passwords are not same",
|
|
145
|
+
"Invalid-token": "Token is invalid or expired",
|
|
146
|
+
"Password-too-weak": "New password does not comply one or more password security policies:",
|
|
147
|
+
"PasswordTooShort": "Passwords too short",
|
|
148
|
+
"PasswordRequiresUniqueChars": "Passwords must use different characters",
|
|
149
|
+
"PasswordRequiresLower": "Passwords must have at least one lowercase ('a'-'z')",
|
|
150
|
+
"PasswordRequiresUpper": "Passwords must have at least one uppercase ('A'-'Z')",
|
|
151
|
+
"PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9')",
|
|
152
|
+
"PasswordRequiresNonAlphanumeric": "Passwords must have at least one non alphanumeric character",
|
|
153
|
+
"recentPasswordUsed": "You have used this password in the past. Choose another one."
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"LOGIN": {
|
|
157
|
+
"FIELDS": {
|
|
158
|
+
"LOGIN": {
|
|
159
|
+
"LABEL": "Username",
|
|
160
|
+
"PLACEHOLDER": "Enter your username"
|
|
161
|
+
},
|
|
162
|
+
"PASSWORD": {
|
|
163
|
+
"LABEL": "Password",
|
|
164
|
+
"PLACEHOLDER": "Enter your password"
|
|
165
|
+
},
|
|
166
|
+
"FORGOT_PASSWORD": {
|
|
167
|
+
"TITLE": "Forgot password",
|
|
168
|
+
"LABEL": "Email",
|
|
169
|
+
"PLACEHOLDER": "Please enter your email"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"FORGOT_PASSWORD_BUTTON": "Forgot your password?",
|
|
173
|
+
"BUTTON": "Log in",
|
|
174
|
+
"FORGOT_BUTTON": "Submit",
|
|
175
|
+
"BACK_BUTTON": "Back",
|
|
176
|
+
"BUTTON_OK": "Ok",
|
|
177
|
+
"RESET_EMAIL_TEXT": "We will send you an email with instructions on how to reset your password.",
|
|
178
|
+
"RESET_EMAIL_SENT": "Email with instructions has been sent to you."
|
|
179
|
+
},
|
|
180
|
+
"PASSWORDRESET": {
|
|
181
|
+
"TITLE": "Password reset",
|
|
182
|
+
"FIELDS": {
|
|
183
|
+
"PASSWORD": {
|
|
184
|
+
"LABEL": "New password",
|
|
185
|
+
"PLACEHOLDER": "Enter password"
|
|
186
|
+
},
|
|
187
|
+
"CONFIRM_PASSWORD": {
|
|
188
|
+
"LABEL": "Confirm password",
|
|
189
|
+
"PLACEHOLDER": "Confirm password"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"SAVE_PASSWORD": "Save",
|
|
193
|
+
"ERRORS": {
|
|
194
|
+
"Repeat-password": "Passwords are not same",
|
|
195
|
+
"Invalid-token": "Token is invalid or expired",
|
|
196
|
+
"Password-too-weak": "New password does not comply one or more password security policies:",
|
|
197
|
+
"PasswordTooShort": "Passwords too short",
|
|
198
|
+
"PasswordRequiresUniqueChars": "Passwords must use different characters",
|
|
199
|
+
"PasswordRequiresLower": "Passwords must have at least one lowercase ('a'-'z')",
|
|
200
|
+
"PasswordRequiresUpper": "Passwords must have at least one uppercase ('A'-'Z')",
|
|
201
|
+
"PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9')",
|
|
202
|
+
"PasswordRequiresNonAlphanumeric": "Passwords must have at least one non alphanumeric character",
|
|
203
|
+
"recentPasswordUsed": "You have used this password in the past. Choose another one."
|
|
204
|
+
}
|
|
22
205
|
}
|
|
23
206
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/create-vc-app",
|
|
3
3
|
"description": "Application scaffolding",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.144",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/prompts": "^2.4.4",
|
|
16
|
-
"@vc-shell/ts-config": "^1.0.
|
|
16
|
+
"@vc-shell/ts-config": "^1.0.144",
|
|
17
17
|
"copyfiles": "^2.4.1",
|
|
18
18
|
"cross-env": "^7.0.3",
|
|
19
19
|
"shx": "^0.3.4",
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ComputedRef } from "vue";
|
|
2
|
-
import { PushNotification } from "@vc-shell/framework";
|
|
3
|
-
|
|
4
|
-
enum UserPermissions {
|
|
5
|
-
SellerUsersManage = "seller:users:manage",
|
|
6
|
-
SellerDetailsEdit = "seller:details:edit",
|
|
7
|
-
SellerProductsSearchFromAllSellers = "seller:products:search_from_all_sellers",
|
|
8
|
-
ManageSellerFulfillmentCenters = "seller:fulfillment_centers:manage",
|
|
9
|
-
ManageSellerReviews = "seller:reviews:manage",
|
|
10
|
-
SellerImportProfilesEdit = "seller:import_profiles:edit",
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface IShippingInfo {
|
|
14
|
-
label: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
address?: string;
|
|
17
|
-
phone?: string;
|
|
18
|
-
email?: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface INotificationActions {
|
|
22
|
-
name: string | ComputedRef<string>;
|
|
23
|
-
clickHandler(): void;
|
|
24
|
-
outline: boolean;
|
|
25
|
-
variant: "primary" | "secondary" | "special" | "danger" | "widget" | "onlytext" | undefined;
|
|
26
|
-
isVisible?: boolean | ComputedRef<boolean>;
|
|
27
|
-
disabled?: boolean | ComputedRef<boolean>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface IProductPushNotification extends PushNotification {
|
|
31
|
-
profileName?: string;
|
|
32
|
-
newStatus?: string;
|
|
33
|
-
productId?: string;
|
|
34
|
-
productName?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface INewOrderPushNotification extends PushNotification {
|
|
38
|
-
orderId?: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type { IShippingInfo, INotificationActions, IProductPushNotification, INewOrderPushNotification };
|
|
42
|
-
|
|
43
|
-
export { UserPermissions };
|