@vc-shell/create-vc-app 1.0.142 → 1.0.143

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 CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.0.143](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.142...v1.0.143) (2024-01-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * locales moved to app scope ([ee08999](https://github.com/VirtoCommerce/vc-shell/commit/ee089996fd204ada7b8320218680d47f3418dc68))
7
+
8
+
9
+
1
10
  ## [1.0.142](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.141...v1.0.142) (2024-01-10)
2
11
 
3
12
 
@@ -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.142",
28
- "@vc-shell/release-config": "^1.0.142",
29
- "@vc-shell/ts-config": "^1.0.142",
27
+ "@vc-shell/api-client-generator": "^1.0.143",
28
+ "@vc-shell/release-config": "^1.0.143",
29
+ "@vc-shell/ts-config": "^1.0.143",
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.142",
60
- "@vc-shell/framework": "^1.0.142",
59
+ "@vc-shell/config-generator": "^1.0.143",
60
+ "@vc-shell/framework": "^1.0.143",
61
61
  "@vueuse/core": "^10.7.1",
62
62
  "@vueuse/integrations": "^10.7.1",
63
63
  "moment": "^2.30.1",
@@ -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,104 @@
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
+ }
22
126
  }
23
127
  }
@@ -33,7 +33,7 @@ export const routes: RouteRecordRaw[] = [
33
33
  composable: useLogin,
34
34
  logo: whiteLogoImage,
35
35
  background: bgImage,
36
- title: "Vendor Portal",
36
+ title: "Scaffolded App",
37
37
  }),
38
38
  },
39
39
  {
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.142",
4
+ "version": "1.0.143",
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.142",
16
+ "@vc-shell/ts-config": "^1.0.143",
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 };