@7365admin1/layer-common 4.97.1-staging.672 → 4.97.1-staging.673
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.
|
@@ -72,6 +72,7 @@ export default function useFeedback() {
|
|
|
72
72
|
status = "",
|
|
73
73
|
provider = "",
|
|
74
74
|
service = "",
|
|
75
|
+
providerService = "",
|
|
75
76
|
userId = "",
|
|
76
77
|
category = "",
|
|
77
78
|
}: {
|
|
@@ -85,6 +86,8 @@ export default function useFeedback() {
|
|
|
85
86
|
status?: string;
|
|
86
87
|
provider?: string | any;
|
|
87
88
|
service?: string;
|
|
89
|
+
/** Optional: only this provider service's feedbacks (the stored `service` label, e.g. "Cleaning"). */
|
|
90
|
+
providerService?: string;
|
|
88
91
|
userId?: string;
|
|
89
92
|
/** Optional: one category (the feedback subject) or a comma list. Empty = all. */
|
|
90
93
|
category?: string;
|
|
@@ -103,6 +106,7 @@ export default function useFeedback() {
|
|
|
103
106
|
status,
|
|
104
107
|
provider,
|
|
105
108
|
service,
|
|
109
|
+
...(providerService && { providerService }),
|
|
106
110
|
...(category && { category }),
|
|
107
111
|
...(currentUser.value?.type != "site" && {
|
|
108
112
|
userId,
|
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.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.673",
|
|
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.",
|
package/utils/nav-sections.ts
CHANGED
|
@@ -117,6 +117,14 @@ export const NAV_SECTIONS: Record<string, string> = {
|
|
|
117
117
|
"Pest Control Services": "SERVICES",
|
|
118
118
|
"Landscaping Services": "SERVICES",
|
|
119
119
|
"Pool Maintenance Services": "SERVICES",
|
|
120
|
+
// Property Management's "Services at this site" groups (owner, 12 Nov 2026):
|
|
121
|
+
// one per provider service at the site, in the client's own words.
|
|
122
|
+
Cleaning: "SERVICES",
|
|
123
|
+
"M&E": "SERVICES",
|
|
124
|
+
"Pest Control": "SERVICES",
|
|
125
|
+
Pool: "SERVICES",
|
|
126
|
+
Garden: "SERVICES",
|
|
127
|
+
iRanger365: "SERVICES",
|
|
120
128
|
};
|
|
121
129
|
|
|
122
130
|
export type TSectionedNavItem<T> = { item: T; section: string };
|