@7365admin1/layer-common 4.2.21-staging.282 → 4.2.21-staging.283

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.
@@ -184,19 +184,6 @@ function isActionSelected(resource: string, action: string) {
184
184
  return holdsPermission(definedModel.value, `${resource}:${action}`);
185
185
  }
186
186
 
187
- /**
188
- * Is this box ticked?
189
- *
190
- * The same grant is stored under more than one spelling. An exact `includes()`
191
- * showed a role holding `work-orders:see-all-work-orders` as NOT having
192
- * `workOrder:see-all-work-orders`, so the dialog reported a grant the role
193
- * really holds as absent -- and unticking a box then cleared nothing. Ticks are
194
- * alias-aware, and so is the untick below.
195
- */
196
- function isActionSelected(resource: string, action: string) {
197
- return holdsPermission(definedModel.value, `${resource}:${action}`);
198
- }
199
-
200
187
  function selectedActionCount(resource: string) {
201
188
  const actions = safePermissions.value[resource];
202
189
  if (actions) {
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.2.21-staging.282",
5
+ "version": "4.2.21-staging.283",
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.",