@fayz-ai/plugin-menu 0.10.3 → 0.10.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.
@@ -1,4 +1,18 @@
1
1
  import type { MenuDataProvider, FullMenuDataProvider } from './types';
2
2
  export declare const LEGACY_MENU_ID = "__default__";
3
+ /**
4
+ * Where an item with no category sits.
5
+ *
6
+ * A legacy item's seat IS its category, so an item without one had no seat and
7
+ * `getPlacements` dropped it — it was fetched, counted in `itemCount`, and then
8
+ * filtered out before any section could render it. Creating an item without
9
+ * choosing a section made it invisible, permanently and with no error.
10
+ *
11
+ * This section is synthetic: it is not a category, nothing writes to it, and it
12
+ * appears only while something is unfiled. Dragging an item out of it calls
13
+ * placeItem, which sets a real category — so the bucket empties itself and then
14
+ * disappears.
15
+ */
16
+ export declare const UNFILED_SECTION_ID = "__unfiled__";
3
17
  export declare function wrapLegacyProvider(provider: MenuDataProvider): FullMenuDataProvider;
4
18
  //# sourceMappingURL=legacy-adapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-adapter.d.ts","sourceRoot":"","sources":["../../src/data/legacy-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAarE,eAAO,MAAM,cAAc,gBAAgB,CAAA;AAU3C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,oBAAoB,CA+InF"}
1
+ {"version":3,"file":"legacy-adapter.d.ts","sourceRoot":"","sources":["../../src/data/legacy-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAarE,eAAO,MAAM,cAAc,gBAAgB,CAAA;AAM3C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB,gBAAgB,CAAA;AAM/C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,oBAAoB,CAwLnF"}
@@ -1 +1 @@
1
- {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/data/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,iBAAiB,EAAwB,MAAM,cAAc,CAAA;AAa7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAwMD,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,uBAA4B,GAAG,gBAAgB,CA8M9F"}
1
+ {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/data/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,iBAAiB,EAAwB,MAAM,cAAc,CAAA;AAa7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AA2MD,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,uBAA4B,GAAG,gBAAgB,CA8M9F"}