@7365admin1/layer-common 4.118.4 → 4.118.5
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,5 +1,11 @@
|
|
|
1
1
|
# @iservice365/layer-common
|
|
2
2
|
|
|
3
|
+
## 4.118.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d86b42b: Incident report PDF: every field cell has a top and bottom edge, so a cell that starts a new page is not open at the top.
|
|
8
|
+
|
|
3
9
|
## 4.118.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -3151,11 +3157,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
|
|
|
3151
3157
|
`utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
|
|
3152
3158
|
own rule from two endpoints the console already calls, unprojected:
|
|
3153
3159
|
|
|
3154
|
-
|
|
3155
|
-
|
|
3160
|
+
GET /api/members/user/:user/app/admin the Seven365 staff membership
|
|
3161
|
+
GET /api/roles/id/:role that membership's role document
|
|
3156
3162
|
|
|
3157
|
-
|
|
3158
|
-
|
|
3163
|
+
owner = member.type === "admin" && role.type === "admin" && role.default === true
|
|
3164
|
+
staff = member.type === "admin" && role.type === "admin"
|
|
3159
3165
|
|
|
3160
3166
|
`role.default` is the marker because it is the only property of a platform
|
|
3161
3167
|
staff role no API caller can set - `role.controller.ts` validates create and
|
|
@@ -273,7 +273,9 @@ const maskNRIC = (value: any) => {
|
|
|
273
273
|
/* No outer wrapper border: every field cell draws its own left/bottom edge (and
|
|
274
274
|
right edge when it ends a row), so a page break leaves each box closed. */
|
|
275
275
|
.ir-cell {
|
|
276
|
+
/* Top AND bottom, so a cell that starts a page is closed above as well. */
|
|
276
277
|
border-left: 1px solid #8a8a8a;
|
|
278
|
+
border-top: 1px solid #8a8a8a;
|
|
277
279
|
border-bottom: 1px solid #8a8a8a;
|
|
278
280
|
break-inside: avoid;
|
|
279
281
|
page-break-inside: avoid;
|
|
@@ -289,5 +291,6 @@ const maskNRIC = (value: any) => {
|
|
|
289
291
|
.ir-section {
|
|
290
292
|
break-after: avoid;
|
|
291
293
|
border: 1px solid #8a8a8a;
|
|
294
|
+
border-bottom: 0;
|
|
292
295
|
}
|
|
293
296
|
</style>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.118.
|
|
5
|
+
"version": "4.118.5",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|