@7365admin1/layer-common 4.118.7 → 4.118.9
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,17 @@
|
|
|
1
1
|
# @iservice365/layer-common
|
|
2
2
|
|
|
3
|
+
## 4.118.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8ba5d5c: Incident report PDF: the Incident Information heading bar starts 2px inside a white edge, so no sliver of its ghost is painted at the foot of the previous page.
|
|
8
|
+
|
|
9
|
+
## 4.118.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d6ac842: Incident report PDF: the Incident Information heading bar has no stroke, so the clipped ghost of the repeated heading no longer shows as a thin line at the foot of a page.
|
|
14
|
+
|
|
3
15
|
## 4.118.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -3170,11 +3182,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
|
|
|
3170
3182
|
`utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
|
|
3171
3183
|
own rule from two endpoints the console already calls, unprojected:
|
|
3172
3184
|
|
|
3173
|
-
|
|
3174
|
-
|
|
3185
|
+
GET /api/members/user/:user/app/admin the Seven365 staff membership
|
|
3186
|
+
GET /api/roles/id/:role that membership's role document
|
|
3175
3187
|
|
|
3176
|
-
|
|
3177
|
-
|
|
3188
|
+
owner = member.type === "admin" && role.type === "admin" && role.default === true
|
|
3189
|
+
staff = member.type === "admin" && role.type === "admin"
|
|
3178
3190
|
|
|
3179
3191
|
`role.default` is the marker because it is the only property of a platform
|
|
3180
3192
|
staff role no API caller can set - `role.controller.ts` validates create and
|
|
@@ -333,8 +333,15 @@ const maskNRIC = (value: any) => {
|
|
|
333
333
|
break-after: avoid;
|
|
334
334
|
page-break-after: avoid;
|
|
335
335
|
}
|
|
336
|
+
/* The heading is a solid bar with no stroke: when the repeated heading is laid
|
|
337
|
+
out at the foot of the previous page Chrome paints a clipped ghost of it
|
|
338
|
+
there, and a stroke on that ghost showed as a thin line. */
|
|
336
339
|
.ir-section {
|
|
337
|
-
border:
|
|
340
|
+
/* A white top border with the colour clipped to the padding box: the ghost then
|
|
341
|
+
starts 2px lower than the page foot, so not even a 0.2pt sliver is painted. */
|
|
342
|
+
border: 0;
|
|
343
|
+
border-top: 2px solid #fff;
|
|
344
|
+
background-clip: padding-box;
|
|
338
345
|
font-weight: 400;
|
|
339
346
|
}
|
|
340
347
|
</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.9",
|
|
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.",
|