@7365admin1/layer-common 4.180.1 → 4.180.2
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 +10 -4
- package/assets/css/primitives.css +3 -2
- package/components/MemberMain.vue +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @iservice365/layer-common
|
|
2
2
|
|
|
3
|
+
## 4.180.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c78dd50: Mobile table cards: keep StatusChip pills (role, status) on one line.
|
|
8
|
+
|
|
3
9
|
## 4.180.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -3972,11 +3978,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
|
|
|
3972
3978
|
`utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
|
|
3973
3979
|
own rule from two endpoints the console already calls, unprojected:
|
|
3974
3980
|
|
|
3975
|
-
|
|
3976
|
-
|
|
3981
|
+
GET /api/members/user/:user/app/admin the Seven365 staff membership
|
|
3982
|
+
GET /api/roles/id/:role that membership's role document
|
|
3977
3983
|
|
|
3978
|
-
|
|
3979
|
-
|
|
3984
|
+
owner = member.type === "admin" && role.type === "admin" && role.default === true
|
|
3985
|
+
staff = member.type === "admin" && role.type === "admin"
|
|
3980
3986
|
|
|
3981
3987
|
`role.default` is the marker because it is the only property of a platform
|
|
3982
3988
|
staff role no API caller can set - `role.controller.ts` validates create and
|
|
@@ -1227,8 +1227,9 @@ select option {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
|
|
1229
1229
|
/* Long values (emails, sync messages) wrap inside the card instead of
|
|
1230
|
-
running off it; chips and
|
|
1231
|
-
|
|
1230
|
+
running off it; chips (Vuetify's and our StatusChip) and buttons keep
|
|
1231
|
+
their one-line shape: a StatusChip role pill broke as "Range / r". */
|
|
1232
|
+
.v-data-table__td-value :is(span, div, p, a):not(.v-chip):not(.v-chip *):not(.status-chip):not(.status-chip *):not(.v-btn):not(.v-btn *) {
|
|
1232
1233
|
white-space: normal !important;
|
|
1233
1234
|
overflow: visible;
|
|
1234
1235
|
text-overflow: clip;
|
|
@@ -941,6 +941,18 @@ const updateActionText = computed(() => {
|
|
|
941
941
|
white-space: normal;
|
|
942
942
|
max-width: 300px;
|
|
943
943
|
}
|
|
944
|
+
/* Phone card layout: the cell is ~190 px, so the pill was squeezed to "Rang…".
|
|
945
|
+
Let the role pill keep its width and the site drop to the next line. */
|
|
946
|
+
@media (max-width: 599.98px) {
|
|
947
|
+
.member-access {
|
|
948
|
+
flex-wrap: wrap;
|
|
949
|
+
min-width: 0;
|
|
950
|
+
justify-content: flex-end;
|
|
951
|
+
}
|
|
952
|
+
.member-table :deep(.member-role-chip) {
|
|
953
|
+
flex-shrink: 0;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
944
956
|
.member-access__more,
|
|
945
957
|
.member-access__scope {
|
|
946
958
|
font-size: 12px;
|
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.180.
|
|
5
|
+
"version": "4.180.2",
|
|
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.",
|