@7365admin1/layer-common 4.118.3 → 4.118.4

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.4
4
+
5
+ ### Patch Changes
6
+
7
+ - bbd74e4: Incident report PDF: no outer border around the Incident Information table; each field cell draws its own edges so a page break leaves clean, closed boxes.
8
+
3
9
  ## 4.118.3
4
10
 
5
11
  ### Patch Changes
@@ -3145,11 +3151,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
3145
3151
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
3146
3152
  own rule from two endpoints the console already calls, unprojected:
3147
3153
 
3148
- GET /api/members/user/:user/app/admin the Seven365 staff membership
3149
- GET /api/roles/id/:role that membership's role document
3154
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
3155
+ GET /api/roles/id/:role that membership's role document
3150
3156
 
3151
- owner = member.type === "admin" && role.type === "admin" && role.default === true
3152
- staff = member.type === "admin" && role.type === "admin"
3157
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
3158
+ staff = member.type === "admin" && role.type === "admin"
3153
3159
 
3154
3160
  `role.default` is the marker because it is the only property of a platform
3155
3161
  staff role no API caller can set - `role.controller.ts` validates create and
@@ -270,20 +270,17 @@ const maskNRIC = (value: any) => {
270
270
  }
271
271
  .ir-status--approved { color: #2e7d32; }
272
272
  .ir-status--rejected { color: #c62828; }
273
- .ir-box {
274
- border: 1px solid #8a8a8a;
275
- }
273
+ /* No outer wrapper border: every field cell draws its own left/bottom edge (and
274
+ right edge when it ends a row), so a page break leaves each box closed. */
276
275
  .ir-cell {
276
+ border-left: 1px solid #8a8a8a;
277
277
  border-bottom: 1px solid #8a8a8a;
278
278
  break-inside: avoid;
279
279
  page-break-inside: avoid;
280
280
  }
281
- .ir-e {
281
+ .ir-cell:not(.ir-e) {
282
282
  border-right: 1px solid #8a8a8a;
283
283
  }
284
- .ir-last {
285
- border-bottom: 0;
286
- }
287
284
  /* A label always travels with its value. */
288
285
  .ir-cell p:first-child {
289
286
  break-after: avoid;
@@ -291,6 +288,6 @@ const maskNRIC = (value: any) => {
291
288
  }
292
289
  .ir-section {
293
290
  break-after: avoid;
294
- border-bottom: 1px solid #8a8a8a;
291
+ border: 1px solid #8a8a8a;
295
292
  }
296
293
  </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.3",
5
+ "version": "4.118.4",
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.",