@shwfed/nuxt 0.1.44 → 0.1.45

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
3
  "configKey": "shwfed",
4
- "version": "0.1.44",
4
+ "version": "0.1.45",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -5,6 +5,7 @@ type Item = Readonly<{
5
5
  id: string;
6
6
  title: string;
7
7
  icon?: string;
8
+ disabled?: boolean;
8
9
  keywords?: ReadonlyArray<string>;
9
10
  effect: Effect.Effect<void, never, Scope.Scope>;
10
11
  }>;
@@ -60,6 +60,7 @@ whenever(() => meta_k?.value, () => {
60
60
  v-for="child in group.children"
61
61
  :key="child.id"
62
62
  :value="child.id"
63
+ :disabled="child.disabled"
63
64
  @select="
64
65
  child.effect.pipe(Effect.scoped).pipe(Effect.tap(() => {
65
66
  isCommandOpen = false;
@@ -171,6 +172,7 @@ whenever(() => meta_k?.value, () => {
171
172
  <DropdownMenuItem
172
173
  v-for="item in group.children"
173
174
  :key="item.id"
175
+ :disabled="item.disabled"
174
176
  @select="item.effect.pipe(Effect.scoped).pipe(Effect.tap(() => {
175
177
  isCommandOpen = false;
176
178
  })).pipe(Effect.runPromise)"
@@ -5,6 +5,7 @@ type Item = Readonly<{
5
5
  id: string;
6
6
  title: string;
7
7
  icon?: string;
8
+ disabled?: boolean;
8
9
  keywords?: ReadonlyArray<string>;
9
10
  effect: Effect.Effect<void, never, Scope.Scope>;
10
11
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",