@acorex/platform-generator 18.0.7 → 18.0.8

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.
Files changed (55) hide show
  1. package/README.md +11 -11
  2. package/generators.json +9 -9
  3. package/package.json +1 -1
  4. package/src/generators/app-module/files/.eslintrc.json.template +40 -40
  5. package/src/generators/app-module/files/jest.config.ts.template +22 -22
  6. package/src/generators/app-module/files/project.json.template +308 -308
  7. package/src/generators/app-module/files/src/app/app.component.ts.template +10 -10
  8. package/src/generators/app-module/files/src/app/app.module.ts.template +99 -99
  9. package/src/generators/app-module/files/src/app/app.routes.ts.template +13 -13
  10. package/src/generators/app-module/files/src/app/header-interceptor.interceptor.ts.template +33 -33
  11. package/src/generators/app-module/files/src/app/modules/auth/application.loader.ts.template +34 -34
  12. package/src/generators/app-module/files/src/app/modules/auth/auth-root.module.ts.template +52 -52
  13. package/src/generators/app-module/files/src/app/modules/auth/auth.strategy.ts.template +91 -91
  14. package/src/generators/app-module/files/src/app/modules/auth/feature.loader.ts.template +17 -17
  15. package/src/generators/app-module/files/src/app/modules/auth/permission.loader.ts.template +21 -21
  16. package/src/generators/app-module/files/src/app/modules/auth/tenant.loader.ts.template +32 -32
  17. package/src/generators/app-module/files/src/app/modules/common/translation-root.module.ts.template +45 -45
  18. package/src/generators/app-module/files/src/app/modules/layout/entity.loader.ts.template +21 -21
  19. package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template +79 -79
  20. package/src/generators/app-module/files/src/app/modules/layout/menu.loader.ts.template +159 -159
  21. package/src/generators/app-module/files/src/app/modules/root/home/home.page.html.template +2 -2
  22. package/src/generators/app-module/files/src/app/modules/root/home/home.page.ts.template +9 -9
  23. package/src/generators/app-module/files/src/app/modules/root/root.module.ts.template +32 -32
  24. package/src/generators/app-module/files/src/app/modules/root/sample/sample.entity.ts.template +184 -184
  25. package/src/generators/app-module/files/src/assets/auth-background.svg +6 -6
  26. package/src/generators/app-module/files/src/assets/documents.svg +9 -9
  27. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/brands.min.css +1457 -1457
  28. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/fontawesome.min.css +11291 -11291
  29. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/light.min.css +22 -22
  30. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/regular.min.css +22 -22
  31. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/solid.min.css +5 -5
  32. package/src/generators/app-module/files/src/assets/i18n/en/auth.json +49 -49
  33. package/src/generators/app-module/files/src/assets/i18n/en/common.json +179 -179
  34. package/src/generators/app-module/files/src/assets/images/error/error-404.svg +336 -336
  35. package/src/generators/app-module/files/src/assets/images/error/error-offline.svg +133 -133
  36. package/src/generators/app-module/files/src/assets/logos/logo-colored.svg +18 -18
  37. package/src/generators/app-module/files/src/assets/logos/logo-white.svg +17 -17
  38. package/src/generators/app-module/files/src/assets/themes/default/default.scss.template +141 -141
  39. package/src/generators/app-module/files/src/environments/environment.dev.ts.template +19 -19
  40. package/src/generators/app-module/files/src/environments/environment.local.ts.template +19 -19
  41. package/src/generators/app-module/files/src/environments/environment.prod.ts.template +19 -19
  42. package/src/generators/app-module/files/src/environments/environment.test.local.ts.template +19 -19
  43. package/src/generators/app-module/files/src/environments/environment.test.ts.template +19 -19
  44. package/src/generators/app-module/files/src/environments/environment.ts.template +19 -19
  45. package/src/generators/app-module/files/src/index.html.template +34 -34
  46. package/src/generators/app-module/files/src/main.ts.template +6 -6
  47. package/src/generators/app-module/files/src/styles.scss.template +188 -188
  48. package/src/generators/app-module/files/src/test-setup.ts.template +7 -7
  49. package/src/generators/app-module/files/tailwind.config.js.template +18 -18
  50. package/src/generators/app-module/files/tsconfig.app.json.template +10 -10
  51. package/src/generators/app-module/files/tsconfig.editor.json.template +7 -7
  52. package/src/generators/app-module/files/tsconfig.json.template +34 -34
  53. package/src/generators/app-module/files/tsconfig.spec.json.template +11 -11
  54. package/src/generators/app-module/schema.d.ts +4 -4
  55. package/src/generators/app-module/schema.json +27 -27
@@ -1,22 +1,22 @@
1
- /*!
2
- * Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Commercial License)
4
- * Copyright 2023 Fonticons, Inc.
5
- */
6
- :host,
7
- :root {
8
- --fa-style-family-classic: 'Font Awesome 6 Pro';
9
- --fa-font-light: normal 300 1em/1 'Font Awesome 6 Pro';
10
- }
11
- @font-face {
12
- font-family: 'Font Awesome 6 Pro';
13
- font-style: normal;
14
- font-weight: 300;
15
- font-display: block;
16
- src: url(../webfonts/fa-light-300.woff2) format('woff2'),
17
- url(../webfonts/fa-light-300.ttf) format('truetype');
18
- }
19
- .fa-light,
20
- .fal {
21
- font-weight: 300;
22
- }
1
+ /*!
2
+ * Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Commercial License)
4
+ * Copyright 2023 Fonticons, Inc.
5
+ */
6
+ :host,
7
+ :root {
8
+ --fa-style-family-classic: 'Font Awesome 6 Pro';
9
+ --fa-font-light: normal 300 1em/1 'Font Awesome 6 Pro';
10
+ }
11
+ @font-face {
12
+ font-family: 'Font Awesome 6 Pro';
13
+ font-style: normal;
14
+ font-weight: 300;
15
+ font-display: block;
16
+ src: url(../webfonts/fa-light-300.woff2) format('woff2'),
17
+ url(../webfonts/fa-light-300.ttf) format('truetype');
18
+ }
19
+ .fa-light,
20
+ .fal {
21
+ font-weight: 300;
22
+ }
@@ -1,22 +1,22 @@
1
- /*!
2
- * Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Commercial License)
4
- * Copyright 2023 Fonticons, Inc.
5
- */
6
- :host,
7
- :root {
8
- --fa-style-family-classic: 'Font Awesome 6 Pro';
9
- --fa-font-regular: normal 400 1em/1 'Font Awesome 6 Pro';
10
- }
11
- @font-face {
12
- font-family: 'Font Awesome 6 Pro';
13
- font-style: normal;
14
- font-weight: 400;
15
- font-display: block;
16
- src: url(../webfonts/fa-regular-400.woff2) format('woff2'),
17
- url(../webfonts/fa-regular-400.ttf) format('truetype');
18
- }
19
- .fa-regular,
20
- .far {
21
- font-weight: 400;
22
- }
1
+ /*!
2
+ * Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Commercial License)
4
+ * Copyright 2023 Fonticons, Inc.
5
+ */
6
+ :host,
7
+ :root {
8
+ --fa-style-family-classic: 'Font Awesome 6 Pro';
9
+ --fa-font-regular: normal 400 1em/1 'Font Awesome 6 Pro';
10
+ }
11
+ @font-face {
12
+ font-family: 'Font Awesome 6 Pro';
13
+ font-style: normal;
14
+ font-weight: 400;
15
+ font-display: block;
16
+ src: url(../webfonts/fa-regular-400.woff2) format('woff2'),
17
+ url(../webfonts/fa-regular-400.ttf) format('truetype');
18
+ }
19
+ .fa-regular,
20
+ .far {
21
+ font-weight: 400;
22
+ }
@@ -1,6 +1,6 @@
1
- /*!
2
- * Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Commercial License)
4
- * Copyright 2023 Fonticons, Inc.
5
- */
1
+ /*!
2
+ * Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Commercial License)
4
+ * Copyright 2023 Fonticons, Inc.
5
+ */
6
6
  :host,:root{--fa-style-family-classic:"Font Awesome 6 Pro";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Pro"}@font-face{font-family:"Font Awesome 6 Pro";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
@@ -1,49 +1,49 @@
1
- {
2
- "email": "Email",
3
- "password": "Password",
4
- "confirm-password": "Confirm Password",
5
- "username": "Username",
6
- "username-email": "Username / Email",
7
- "firstname": "First Name",
8
- "lastname": "Last Name",
9
- "mobile": "Mobile",
10
- "processing": "Processing...",
11
- "redirecting": "Redirecting...",
12
- "backLogin": "Back to Login",
13
- "signin": {
14
- "title": "Sign In",
15
- "submit": "Sign In",
16
- "or": "or",
17
- "remember": "Remember me",
18
- "hint": "Continue to your applications",
19
- "noAccount": "Don’t have an account?",
20
- "register": "Register here"
21
- },
22
- "signup": {
23
- "title": "Sign Up",
24
- "submit": "Sign Up",
25
- "hint": "Your applications are just one step ahead",
26
- "keepLoggedIn": "Remember me",
27
- "hasAccount": "Already have an account?"
28
- },
29
- "tenant-chooser": {
30
- "description": "Please select your company and continue",
31
- "footer": "Did you change your mind?"
32
- },
33
- "application-chooser": {
34
- "description": "Please select your application and continue",
35
- "footer": "Did you change your mind?",
36
- "backCompany": "Choose another Company"
37
- },
38
- "twofactor": {
39
- "title": "Two Step Verification",
40
- "hint": "We sent a code to your mobile number",
41
- "textBoxHint": "Type your 6 digit security code"
42
- },
43
- "forgot": {
44
- "password": "Forgot Password",
45
- "submit": "Reset Password",
46
- "remember": "Remember Password?",
47
- "hint": "Enter Your {{ name }}"
48
- }
49
- }
1
+ {
2
+ "email": "Email",
3
+ "password": "Password",
4
+ "confirm-password": "Confirm Password",
5
+ "username": "Username",
6
+ "username-email": "Username / Email",
7
+ "firstname": "First Name",
8
+ "lastname": "Last Name",
9
+ "mobile": "Mobile",
10
+ "processing": "Processing...",
11
+ "redirecting": "Redirecting...",
12
+ "backLogin": "Back to Login",
13
+ "signin": {
14
+ "title": "Sign In",
15
+ "submit": "Sign In",
16
+ "or": "or",
17
+ "remember": "Remember me",
18
+ "hint": "Continue to your applications",
19
+ "noAccount": "Don’t have an account?",
20
+ "register": "Register here"
21
+ },
22
+ "signup": {
23
+ "title": "Sign Up",
24
+ "submit": "Sign Up",
25
+ "hint": "Your applications are just one step ahead",
26
+ "keepLoggedIn": "Remember me",
27
+ "hasAccount": "Already have an account?"
28
+ },
29
+ "tenant-chooser": {
30
+ "description": "Please select your company and continue",
31
+ "footer": "Did you change your mind?"
32
+ },
33
+ "application-chooser": {
34
+ "description": "Please select your application and continue",
35
+ "footer": "Did you change your mind?",
36
+ "backCompany": "Choose another Company"
37
+ },
38
+ "twofactor": {
39
+ "title": "Two Step Verification",
40
+ "hint": "We sent a code to your mobile number",
41
+ "textBoxHint": "Type your 6 digit security code"
42
+ },
43
+ "forgot": {
44
+ "password": "Forgot Password",
45
+ "submit": "Reset Password",
46
+ "remember": "Remember Password?",
47
+ "hint": "Enter Your {{ name }}"
48
+ }
49
+ }
@@ -1,179 +1,179 @@
1
- {
2
- "search": "Search",
3
- "yes": "yes",
4
- "no": "No",
5
- "confirm": "Confirm",
6
- "welcome": "Welcome",
7
- "okay": "Okay",
8
- "accept": "Accept",
9
- "decline": "Decline",
10
- "cancel": "Cancel",
11
- "canceled": "Canceled",
12
- "failed": "Failed",
13
- "remove": "Remove",
14
- "edit": "Edit",
15
- "delete": "Delete",
16
- "create": "Create",
17
- "configs": "Configs",
18
- "no-result-found": "No results found",
19
- "no-result-for": "No results for &nbsp<b>\"{{ exp }}\"</b>",
20
- "searching": "searching ...",
21
- "save": "Save",
22
- "save-as": "Save As...",
23
- "title": "Title",
24
- "description": "Description",
25
- "name": "Name",
26
- "uniquename": "Unique Name",
27
- "size": "Size",
28
- "add-item": "Add Item",
29
- "color": "Color",
30
- "display": "Display",
31
- "min-value": "Min Value",
32
- "value": "Value",
33
- "max-value": "Max Value",
34
- "refresh-rate": "Refresh Rate",
35
- "condition": "Condition",
36
- "loading": "loading",
37
- "firstname": "Firstname",
38
- "required": "Required",
39
- "submit": "Submit",
40
- "viewAll": "View All",
41
- "viewLess": "View Less",
42
- "processing": "Processing...",
43
- "redirecting": "Redirecting...",
44
- "dateTime": {
45
- "weekdays": {
46
- "short": {
47
- "0": "Sun",
48
- "1": "Mon",
49
- "2": "Tue",
50
- "3": "Wed",
51
- "4": "Thu",
52
- "5": "Fri",
53
- "6": "Sat"
54
- },
55
- "long": {
56
- "0": "Sunday",
57
- "1": "Monday",
58
- "2": "Tuesday",
59
- "3": "Wednesday",
60
- "4": "Thursday",
61
- "5": "Friday",
62
- "6": "Saturday"
63
- }
64
- },
65
- "months": {
66
- "georgian": {
67
- "short": {
68
- "0": "Jan",
69
- "1": "Feb",
70
- "2": "Mar",
71
- "3": "Apr",
72
- "4": "May",
73
- "5": "Jun",
74
- "6": "Jul",
75
- "7": "Aug",
76
- "8": "Sep",
77
- "9": "Oct",
78
- "10": "Nov",
79
- "11": "Dec"
80
- },
81
- "long": {
82
- "0": "January",
83
- "1": "February",
84
- "2": "March",
85
- "3": "April",
86
- "4": "May",
87
- "5": "June",
88
- "6": "July",
89
- "7": "August",
90
- "8": "September",
91
- "9": "October",
92
- "10": "November",
93
- "11": "December"
94
- }
95
- },
96
- "jalali": {
97
- "short": {
98
- "0": "Far",
99
- "1": "Ordi",
100
- "2": "Khor",
101
- "3": "Tir",
102
- "4": "Mordad",
103
- "5": "Shah",
104
- "6": "Mehr",
105
- "7": "Aban",
106
- "8": "Azar",
107
- "9": "Dey",
108
- "10": "Bah",
109
- "11": "Esf"
110
- },
111
- "long": {
112
- "0": "Farvardin",
113
- "1": "Ordibehesht",
114
- "2": "Khordad",
115
- "3": "Tir",
116
- "4": "Mordad",
117
- "5": "Shahrivar",
118
- "6": "Mehr",
119
- "7": "Aban",
120
- "8": "Azar",
121
- "9": "Dey",
122
- "10": "Bahman",
123
- "11": "Esfand"
124
- }
125
- }
126
- },
127
- "dayTime": {
128
- "am": "am",
129
- "pm": "pm",
130
- "m": "m",
131
- "a": "a",
132
- "p": "p"
133
- },
134
- "set": "Set",
135
- "today": "Today",
136
- "now": "Now",
137
- "hour": "Hour",
138
- "minute": "Minute",
139
- "second": "Second",
140
- "date": "Date",
141
- "time": "Time",
142
- "duration": {
143
- "format_second": "{0} second(s)",
144
- "format_minute": "{0} minute(s)"
145
- }
146
- },
147
- "validation": {
148
- "messages": {
149
- "title": "Please fix the following error(s):",
150
- "required": "This field is required",
151
- "email": "Please enter a valid email address!",
152
- "phone": "Please enter a valid phone number!",
153
- "invalid-rull-name": "Invalid rule name: &nbsp<b>\"{{ name }}\"</b>"
154
- }
155
- },
156
- "selectbox": {
157
- "popover": {
158
- "title": "Choose an items..."
159
- }
160
- },
161
- "datepicker": {
162
- "popover": {
163
- "title": "Choose a date..."
164
- }
165
- },
166
- "datapager": {
167
- "info": {
168
- "text": "[page] of [totalPages] pages ([totalItems] items)"
169
- }
170
- },
171
- "uploader": {
172
- "zone": {
173
- "text": "Drop files to upload them"
174
- }
175
- },
176
- "action-sheet": {
177
- "title": "Action Sheet..."
178
- }
179
- }
1
+ {
2
+ "search": "Search",
3
+ "yes": "yes",
4
+ "no": "No",
5
+ "confirm": "Confirm",
6
+ "welcome": "Welcome",
7
+ "okay": "Okay",
8
+ "accept": "Accept",
9
+ "decline": "Decline",
10
+ "cancel": "Cancel",
11
+ "canceled": "Canceled",
12
+ "failed": "Failed",
13
+ "remove": "Remove",
14
+ "edit": "Edit",
15
+ "delete": "Delete",
16
+ "create": "Create",
17
+ "configs": "Configs",
18
+ "no-result-found": "No results found",
19
+ "no-result-for": "No results for &nbsp<b>\"{{ exp }}\"</b>",
20
+ "searching": "searching ...",
21
+ "save": "Save",
22
+ "save-as": "Save As...",
23
+ "title": "Title",
24
+ "description": "Description",
25
+ "name": "Name",
26
+ "uniquename": "Unique Name",
27
+ "size": "Size",
28
+ "add-item": "Add Item",
29
+ "color": "Color",
30
+ "display": "Display",
31
+ "min-value": "Min Value",
32
+ "value": "Value",
33
+ "max-value": "Max Value",
34
+ "refresh-rate": "Refresh Rate",
35
+ "condition": "Condition",
36
+ "loading": "loading",
37
+ "firstname": "Firstname",
38
+ "required": "Required",
39
+ "submit": "Submit",
40
+ "viewAll": "View All",
41
+ "viewLess": "View Less",
42
+ "processing": "Processing...",
43
+ "redirecting": "Redirecting...",
44
+ "dateTime": {
45
+ "weekdays": {
46
+ "short": {
47
+ "0": "Sun",
48
+ "1": "Mon",
49
+ "2": "Tue",
50
+ "3": "Wed",
51
+ "4": "Thu",
52
+ "5": "Fri",
53
+ "6": "Sat"
54
+ },
55
+ "long": {
56
+ "0": "Sunday",
57
+ "1": "Monday",
58
+ "2": "Tuesday",
59
+ "3": "Wednesday",
60
+ "4": "Thursday",
61
+ "5": "Friday",
62
+ "6": "Saturday"
63
+ }
64
+ },
65
+ "months": {
66
+ "georgian": {
67
+ "short": {
68
+ "0": "Jan",
69
+ "1": "Feb",
70
+ "2": "Mar",
71
+ "3": "Apr",
72
+ "4": "May",
73
+ "5": "Jun",
74
+ "6": "Jul",
75
+ "7": "Aug",
76
+ "8": "Sep",
77
+ "9": "Oct",
78
+ "10": "Nov",
79
+ "11": "Dec"
80
+ },
81
+ "long": {
82
+ "0": "January",
83
+ "1": "February",
84
+ "2": "March",
85
+ "3": "April",
86
+ "4": "May",
87
+ "5": "June",
88
+ "6": "July",
89
+ "7": "August",
90
+ "8": "September",
91
+ "9": "October",
92
+ "10": "November",
93
+ "11": "December"
94
+ }
95
+ },
96
+ "jalali": {
97
+ "short": {
98
+ "0": "Far",
99
+ "1": "Ordi",
100
+ "2": "Khor",
101
+ "3": "Tir",
102
+ "4": "Mordad",
103
+ "5": "Shah",
104
+ "6": "Mehr",
105
+ "7": "Aban",
106
+ "8": "Azar",
107
+ "9": "Dey",
108
+ "10": "Bah",
109
+ "11": "Esf"
110
+ },
111
+ "long": {
112
+ "0": "Farvardin",
113
+ "1": "Ordibehesht",
114
+ "2": "Khordad",
115
+ "3": "Tir",
116
+ "4": "Mordad",
117
+ "5": "Shahrivar",
118
+ "6": "Mehr",
119
+ "7": "Aban",
120
+ "8": "Azar",
121
+ "9": "Dey",
122
+ "10": "Bahman",
123
+ "11": "Esfand"
124
+ }
125
+ }
126
+ },
127
+ "dayTime": {
128
+ "am": "am",
129
+ "pm": "pm",
130
+ "m": "m",
131
+ "a": "a",
132
+ "p": "p"
133
+ },
134
+ "set": "Set",
135
+ "today": "Today",
136
+ "now": "Now",
137
+ "hour": "Hour",
138
+ "minute": "Minute",
139
+ "second": "Second",
140
+ "date": "Date",
141
+ "time": "Time",
142
+ "duration": {
143
+ "format_second": "{0} second(s)",
144
+ "format_minute": "{0} minute(s)"
145
+ }
146
+ },
147
+ "validation": {
148
+ "messages": {
149
+ "title": "Please fix the following error(s):",
150
+ "required": "This field is required",
151
+ "email": "Please enter a valid email address!",
152
+ "phone": "Please enter a valid phone number!",
153
+ "invalid-rull-name": "Invalid rule name: &nbsp<b>\"{{ name }}\"</b>"
154
+ }
155
+ },
156
+ "selectbox": {
157
+ "popover": {
158
+ "title": "Choose an items..."
159
+ }
160
+ },
161
+ "datepicker": {
162
+ "popover": {
163
+ "title": "Choose a date..."
164
+ }
165
+ },
166
+ "datapager": {
167
+ "info": {
168
+ "text": "[page] of [totalPages] pages ([totalItems] items)"
169
+ }
170
+ },
171
+ "uploader": {
172
+ "zone": {
173
+ "text": "Drop files to upload them"
174
+ }
175
+ },
176
+ "action-sheet": {
177
+ "title": "Action Sheet..."
178
+ }
179
+ }