@vritti/quantum-ui 0.4.4 → 0.5.1

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.
Files changed (452) hide show
  1. package/dist/Avatar.js +4 -4
  2. package/dist/Button.js +3 -2
  3. package/dist/Button.js.map +1 -1
  4. package/dist/Checkbox2.js +2 -2
  5. package/dist/CurrencyField.js +6 -2
  6. package/dist/CurrencyField.js.map +1 -1
  7. package/dist/CurrencySelector.js +20 -177
  8. package/dist/CurrencySelector.js.map +1 -1
  9. package/dist/Dialog.js +1 -1
  10. package/dist/PermissionGate.js +22 -7
  11. package/dist/PermissionGate.js.map +1 -1
  12. package/dist/Progress.js +2 -2
  13. package/dist/RadioGroup.js +2 -2
  14. package/dist/Sidebar.js +1 -1
  15. package/dist/Switch.js +8 -6
  16. package/dist/Switch.js.map +1 -1
  17. package/dist/TabsSkeleton.js +1 -1
  18. package/dist/Toggle.js +1 -1
  19. package/dist/assets/quantum-ui.css +0 -4
  20. package/dist/components/RichTextEditor.js +1 -1
  21. package/dist/currencies.js +179 -0
  22. package/dist/currencies.js.map +1 -0
  23. package/dist/dropdown-menu.js +2 -2
  24. package/dist/image-component.js +1 -1
  25. package/dist/index.js +2 -39
  26. package/dist/index.js.map +1 -1
  27. package/dist/index14.js +1 -1
  28. package/dist/index15.js +3 -3
  29. package/dist/index16.js +1 -1
  30. package/dist/index17.js +1 -1
  31. package/dist/index22.js +1 -1
  32. package/dist/index25.js +1 -1
  33. package/dist/index26.js +2 -2
  34. package/dist/index29.js +1123 -35
  35. package/dist/index29.js.map +1 -1
  36. package/dist/index30.js +36 -308
  37. package/dist/index30.js.map +1 -1
  38. package/dist/index31.js +307 -7
  39. package/dist/index31.js.map +1 -1
  40. package/dist/index32.js +8 -30
  41. package/dist/index32.js.map +1 -1
  42. package/dist/index33.js +29 -59
  43. package/dist/index33.js.map +1 -1
  44. package/dist/index34.js +59 -10
  45. package/dist/index34.js.map +1 -1
  46. package/dist/index35.js +10 -35
  47. package/dist/index35.js.map +1 -1
  48. package/dist/index36.js +27 -35341
  49. package/dist/index36.js.map +1 -1
  50. package/dist/index37.js +35341 -70
  51. package/dist/index37.js.map +1 -1
  52. package/dist/index38.js +72 -187
  53. package/dist/index38.js.map +1 -1
  54. package/dist/index39.js +199 -0
  55. package/dist/index39.js.map +1 -0
  56. package/dist/lib/components/Button/Button.d.ts.map +1 -1
  57. package/dist/lib/components/CurrencyField/CurrencyField.d.ts.map +1 -1
  58. package/dist/lib/components/PermissionGate/PermissionGate.d.ts +5 -3
  59. package/dist/lib/components/PermissionGate/PermissionGate.d.ts.map +1 -1
  60. package/dist/lib/components/Switch/Switch.d.ts.map +1 -1
  61. package/dist/lib/components/index.d.ts +0 -2
  62. package/dist/lib/components/index.d.ts.map +1 -1
  63. package/dist/lib/selects/index.d.ts +0 -34
  64. package/dist/lib/selects/index.d.ts.map +1 -1
  65. package/dist/lib/types/catalog-resolver.d.ts +4 -4
  66. package/dist/lib/types/catalog-resolver.d.ts.map +1 -1
  67. package/dist/selects/currency.js +1 -2
  68. package/dist/selects/currency.js.map +1 -1
  69. package/dist/types/catalog-resolver.js.map +1 -1
  70. package/dist/utils/motion.js +2 -2
  71. package/dist/value.js +1 -1
  72. package/package.json +12 -176
  73. package/dist/AppSelector.js +0 -37
  74. package/dist/AppSelector.js.map +0 -1
  75. package/dist/BillingCycleSelector.js +0 -37
  76. package/dist/BillingCycleSelector.js.map +0 -1
  77. package/dist/BusinessSelector.js +0 -37
  78. package/dist/BusinessSelector.js.map +0 -1
  79. package/dist/CategoryFilter.js +0 -42
  80. package/dist/CategoryFilter.js.map +0 -1
  81. package/dist/CloudProviderSelector.js +0 -37
  82. package/dist/CloudProviderSelector.js.map +0 -1
  83. package/dist/Combination.js +0 -1129
  84. package/dist/Combination.js.map +0 -1
  85. package/dist/CompanySelector.js +0 -20
  86. package/dist/CompanySelector.js.map +0 -1
  87. package/dist/CountrySelector.js +0 -37
  88. package/dist/CountrySelector.js.map +0 -1
  89. package/dist/CurrencyFilter.js +0 -25
  90. package/dist/CurrencyFilter.js.map +0 -1
  91. package/dist/CustomerSelector.js +0 -37
  92. package/dist/CustomerSelector.js.map +0 -1
  93. package/dist/DeploymentSelector.js +0 -37
  94. package/dist/DeploymentSelector.js.map +0 -1
  95. package/dist/FeaturePermissionSelector.js +0 -37
  96. package/dist/FeaturePermissionSelector.js.map +0 -1
  97. package/dist/FeatureSelector.js +0 -37
  98. package/dist/FeatureSelector.js.map +0 -1
  99. package/dist/InventoryItemSelector.js +0 -40
  100. package/dist/InventoryItemSelector.js.map +0 -1
  101. package/dist/LegalEntitySelector.js +0 -37
  102. package/dist/LegalEntitySelector.js.map +0 -1
  103. package/dist/LocationSelector.js +0 -45
  104. package/dist/LocationSelector.js.map +0 -1
  105. package/dist/LotSelector.js +0 -39
  106. package/dist/LotSelector.js.map +0 -1
  107. package/dist/MicrofrontendSelector.js +0 -19
  108. package/dist/MicrofrontendSelector.js.map +0 -1
  109. package/dist/ModifierGroupSelector.js +0 -24
  110. package/dist/ModifierGroupSelector.js.map +0 -1
  111. package/dist/OfferingSelector.js +0 -21
  112. package/dist/OfferingSelector.js.map +0 -1
  113. package/dist/OfferingVariantSelector.js +0 -24
  114. package/dist/OfferingVariantSelector.js.map +0 -1
  115. package/dist/PersonSelector.js +0 -20
  116. package/dist/PersonSelector.js.map +0 -1
  117. package/dist/PlanSelector.js +0 -37
  118. package/dist/PlanSelector.js.map +0 -1
  119. package/dist/PurchaseOrderSelector.js +0 -44
  120. package/dist/PurchaseOrderSelector.js.map +0 -1
  121. package/dist/QuantSelector.js +0 -73
  122. package/dist/QuantSelector.js.map +0 -1
  123. package/dist/RegionSelector.js +0 -37
  124. package/dist/RegionSelector.js.map +0 -1
  125. package/dist/RepositorySelector.js +0 -20
  126. package/dist/RepositorySelector.js.map +0 -1
  127. package/dist/RoleSelector.js +0 -20
  128. package/dist/RoleSelector.js.map +0 -1
  129. package/dist/SerialSelector.js +0 -39
  130. package/dist/SerialSelector.js.map +0 -1
  131. package/dist/SiteGroupSelector.js +0 -37
  132. package/dist/SiteGroupSelector.js.map +0 -1
  133. package/dist/SiteSelector.js +0 -37
  134. package/dist/SiteSelector.js.map +0 -1
  135. package/dist/SupplierItemSelector.js +0 -75
  136. package/dist/SupplierItemSelector.js.map +0 -1
  137. package/dist/SupplierSelector.js +0 -51
  138. package/dist/SupplierSelector.js.map +0 -1
  139. package/dist/TaxClassSelector.js +0 -20
  140. package/dist/TaxClassSelector.js.map +0 -1
  141. package/dist/UomSelector.js +0 -43
  142. package/dist/UomSelector.js.map +0 -1
  143. package/dist/UserSelector.js +0 -37
  144. package/dist/UserSelector.js.map +0 -1
  145. package/dist/VariantOptionSelector.js +0 -25
  146. package/dist/VariantOptionSelector.js.map +0 -1
  147. package/dist/VersionSelector.js +0 -37
  148. package/dist/VersionSelector.js.map +0 -1
  149. package/dist/components/CompanySelector.js +0 -2
  150. package/dist/components/CompanySelector.js.map +0 -1
  151. package/dist/components/PersonSelector.js +0 -2
  152. package/dist/components/PersonSelector.js.map +0 -1
  153. package/dist/lib/components/CompanySelector/CompanySelector.d.ts +0 -4
  154. package/dist/lib/components/CompanySelector/CompanySelector.d.ts.map +0 -1
  155. package/dist/lib/components/CompanySelector/index.d.ts +0 -2
  156. package/dist/lib/components/CompanySelector/index.d.ts.map +0 -1
  157. package/dist/lib/components/PersonSelector/PersonSelector.d.ts +0 -4
  158. package/dist/lib/components/PersonSelector/PersonSelector.d.ts.map +0 -1
  159. package/dist/lib/components/PersonSelector/index.d.ts +0 -2
  160. package/dist/lib/components/PersonSelector/index.d.ts.map +0 -1
  161. package/dist/lib/selects/app/AppFilter.d.ts +0 -12
  162. package/dist/lib/selects/app/AppFilter.d.ts.map +0 -1
  163. package/dist/lib/selects/app/AppSelector.d.ts +0 -4
  164. package/dist/lib/selects/app/AppSelector.d.ts.map +0 -1
  165. package/dist/lib/selects/app/index.d.ts +0 -3
  166. package/dist/lib/selects/app/index.d.ts.map +0 -1
  167. package/dist/lib/selects/app-code/AppCodeFilter.d.ts +0 -12
  168. package/dist/lib/selects/app-code/AppCodeFilter.d.ts.map +0 -1
  169. package/dist/lib/selects/app-code/AppCodeSelector.d.ts +0 -4
  170. package/dist/lib/selects/app-code/AppCodeSelector.d.ts.map +0 -1
  171. package/dist/lib/selects/app-code/index.d.ts +0 -3
  172. package/dist/lib/selects/app-code/index.d.ts.map +0 -1
  173. package/dist/lib/selects/billing-cycle/BillingCycleFilter.d.ts +0 -12
  174. package/dist/lib/selects/billing-cycle/BillingCycleFilter.d.ts.map +0 -1
  175. package/dist/lib/selects/billing-cycle/BillingCycleSelector.d.ts +0 -4
  176. package/dist/lib/selects/billing-cycle/BillingCycleSelector.d.ts.map +0 -1
  177. package/dist/lib/selects/billing-cycle/index.d.ts +0 -3
  178. package/dist/lib/selects/billing-cycle/index.d.ts.map +0 -1
  179. package/dist/lib/selects/business/BusinessFilter.d.ts +0 -12
  180. package/dist/lib/selects/business/BusinessFilter.d.ts.map +0 -1
  181. package/dist/lib/selects/business/BusinessSelector.d.ts +0 -4
  182. package/dist/lib/selects/business/BusinessSelector.d.ts.map +0 -1
  183. package/dist/lib/selects/business/index.d.ts +0 -3
  184. package/dist/lib/selects/business/index.d.ts.map +0 -1
  185. package/dist/lib/selects/category/CategoryFilter.d.ts +0 -12
  186. package/dist/lib/selects/category/CategoryFilter.d.ts.map +0 -1
  187. package/dist/lib/selects/category/CategorySelector.d.ts +0 -5
  188. package/dist/lib/selects/category/CategorySelector.d.ts.map +0 -1
  189. package/dist/lib/selects/category/index.d.ts +0 -3
  190. package/dist/lib/selects/category/index.d.ts.map +0 -1
  191. package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts +0 -12
  192. package/dist/lib/selects/cloud-provider/CloudProviderFilter.d.ts.map +0 -1
  193. package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts +0 -4
  194. package/dist/lib/selects/cloud-provider/CloudProviderSelector.d.ts.map +0 -1
  195. package/dist/lib/selects/cloud-provider/index.d.ts +0 -3
  196. package/dist/lib/selects/cloud-provider/index.d.ts.map +0 -1
  197. package/dist/lib/selects/cost-category/CostCategoryFilter.d.ts +0 -12
  198. package/dist/lib/selects/cost-category/CostCategoryFilter.d.ts.map +0 -1
  199. package/dist/lib/selects/cost-category/CostCategorySelector.d.ts +0 -4
  200. package/dist/lib/selects/cost-category/CostCategorySelector.d.ts.map +0 -1
  201. package/dist/lib/selects/cost-category/index.d.ts +0 -3
  202. package/dist/lib/selects/cost-category/index.d.ts.map +0 -1
  203. package/dist/lib/selects/country/CountryFilter.d.ts +0 -12
  204. package/dist/lib/selects/country/CountryFilter.d.ts.map +0 -1
  205. package/dist/lib/selects/country/CountrySelector.d.ts +0 -4
  206. package/dist/lib/selects/country/CountrySelector.d.ts.map +0 -1
  207. package/dist/lib/selects/country/index.d.ts +0 -3
  208. package/dist/lib/selects/country/index.d.ts.map +0 -1
  209. package/dist/lib/selects/customer/CustomerFilter.d.ts +0 -12
  210. package/dist/lib/selects/customer/CustomerFilter.d.ts.map +0 -1
  211. package/dist/lib/selects/customer/CustomerSelector.d.ts +0 -4
  212. package/dist/lib/selects/customer/CustomerSelector.d.ts.map +0 -1
  213. package/dist/lib/selects/customer/index.d.ts +0 -3
  214. package/dist/lib/selects/customer/index.d.ts.map +0 -1
  215. package/dist/lib/selects/deployment/DeploymentFilter.d.ts +0 -12
  216. package/dist/lib/selects/deployment/DeploymentFilter.d.ts.map +0 -1
  217. package/dist/lib/selects/deployment/DeploymentSelector.d.ts +0 -4
  218. package/dist/lib/selects/deployment/DeploymentSelector.d.ts.map +0 -1
  219. package/dist/lib/selects/deployment/index.d.ts +0 -3
  220. package/dist/lib/selects/deployment/index.d.ts.map +0 -1
  221. package/dist/lib/selects/feature/FeatureFilter.d.ts +0 -12
  222. package/dist/lib/selects/feature/FeatureFilter.d.ts.map +0 -1
  223. package/dist/lib/selects/feature/FeatureSelector.d.ts +0 -4
  224. package/dist/lib/selects/feature/FeatureSelector.d.ts.map +0 -1
  225. package/dist/lib/selects/feature/index.d.ts +0 -3
  226. package/dist/lib/selects/feature/index.d.ts.map +0 -1
  227. package/dist/lib/selects/feature-permission/FeaturePermissionFilter.d.ts +0 -12
  228. package/dist/lib/selects/feature-permission/FeaturePermissionFilter.d.ts.map +0 -1
  229. package/dist/lib/selects/feature-permission/FeaturePermissionSelector.d.ts +0 -4
  230. package/dist/lib/selects/feature-permission/FeaturePermissionSelector.d.ts.map +0 -1
  231. package/dist/lib/selects/feature-permission/index.d.ts +0 -3
  232. package/dist/lib/selects/feature-permission/index.d.ts.map +0 -1
  233. package/dist/lib/selects/inventory-item/InventoryItemFilter.d.ts +0 -12
  234. package/dist/lib/selects/inventory-item/InventoryItemFilter.d.ts.map +0 -1
  235. package/dist/lib/selects/inventory-item/InventoryItemSelector.d.ts +0 -4
  236. package/dist/lib/selects/inventory-item/InventoryItemSelector.d.ts.map +0 -1
  237. package/dist/lib/selects/inventory-item/index.d.ts +0 -3
  238. package/dist/lib/selects/inventory-item/index.d.ts.map +0 -1
  239. package/dist/lib/selects/legal-entity/LegalEntityFilter.d.ts +0 -12
  240. package/dist/lib/selects/legal-entity/LegalEntityFilter.d.ts.map +0 -1
  241. package/dist/lib/selects/legal-entity/LegalEntitySelector.d.ts +0 -4
  242. package/dist/lib/selects/legal-entity/LegalEntitySelector.d.ts.map +0 -1
  243. package/dist/lib/selects/legal-entity/index.d.ts +0 -3
  244. package/dist/lib/selects/legal-entity/index.d.ts.map +0 -1
  245. package/dist/lib/selects/location/LocationFilter.d.ts +0 -12
  246. package/dist/lib/selects/location/LocationFilter.d.ts.map +0 -1
  247. package/dist/lib/selects/location/LocationSelector.d.ts +0 -5
  248. package/dist/lib/selects/location/LocationSelector.d.ts.map +0 -1
  249. package/dist/lib/selects/location/index.d.ts +0 -3
  250. package/dist/lib/selects/location/index.d.ts.map +0 -1
  251. package/dist/lib/selects/lot/LotFilter.d.ts +0 -17
  252. package/dist/lib/selects/lot/LotFilter.d.ts.map +0 -1
  253. package/dist/lib/selects/lot/LotSelector.d.ts +0 -11
  254. package/dist/lib/selects/lot/LotSelector.d.ts.map +0 -1
  255. package/dist/lib/selects/lot/index.d.ts +0 -3
  256. package/dist/lib/selects/lot/index.d.ts.map +0 -1
  257. package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts +0 -4
  258. package/dist/lib/selects/microfrontend/MicrofrontendSelector.d.ts.map +0 -1
  259. package/dist/lib/selects/microfrontend/index.d.ts +0 -2
  260. package/dist/lib/selects/microfrontend/index.d.ts.map +0 -1
  261. package/dist/lib/selects/modifier-group/ModifierGroupSelector.d.ts +0 -8
  262. package/dist/lib/selects/modifier-group/ModifierGroupSelector.d.ts.map +0 -1
  263. package/dist/lib/selects/modifier-group/index.d.ts +0 -2
  264. package/dist/lib/selects/modifier-group/index.d.ts.map +0 -1
  265. package/dist/lib/selects/offering/OfferingSelector.d.ts +0 -4
  266. package/dist/lib/selects/offering/OfferingSelector.d.ts.map +0 -1
  267. package/dist/lib/selects/offering/index.d.ts +0 -2
  268. package/dist/lib/selects/offering/index.d.ts.map +0 -1
  269. package/dist/lib/selects/offering-variant/OfferingVariantSelector.d.ts +0 -6
  270. package/dist/lib/selects/offering-variant/OfferingVariantSelector.d.ts.map +0 -1
  271. package/dist/lib/selects/offering-variant/index.d.ts +0 -2
  272. package/dist/lib/selects/offering-variant/index.d.ts.map +0 -1
  273. package/dist/lib/selects/permission-group/PermissionGroupSelector.d.ts +0 -4
  274. package/dist/lib/selects/permission-group/PermissionGroupSelector.d.ts.map +0 -1
  275. package/dist/lib/selects/permission-group/index.d.ts +0 -2
  276. package/dist/lib/selects/permission-group/index.d.ts.map +0 -1
  277. package/dist/lib/selects/plan/PlanFilter.d.ts +0 -12
  278. package/dist/lib/selects/plan/PlanFilter.d.ts.map +0 -1
  279. package/dist/lib/selects/plan/PlanSelector.d.ts +0 -4
  280. package/dist/lib/selects/plan/PlanSelector.d.ts.map +0 -1
  281. package/dist/lib/selects/plan/index.d.ts +0 -3
  282. package/dist/lib/selects/plan/index.d.ts.map +0 -1
  283. package/dist/lib/selects/purchase-order/PurchaseOrderFilter.d.ts +0 -12
  284. package/dist/lib/selects/purchase-order/PurchaseOrderFilter.d.ts.map +0 -1
  285. package/dist/lib/selects/purchase-order/PurchaseOrderSelector.d.ts +0 -4
  286. package/dist/lib/selects/purchase-order/PurchaseOrderSelector.d.ts.map +0 -1
  287. package/dist/lib/selects/purchase-order/index.d.ts +0 -3
  288. package/dist/lib/selects/purchase-order/index.d.ts.map +0 -1
  289. package/dist/lib/selects/purchase-order-item/PurchaseOrderItemSelector.d.ts +0 -12
  290. package/dist/lib/selects/purchase-order-item/PurchaseOrderItemSelector.d.ts.map +0 -1
  291. package/dist/lib/selects/purchase-order-item/index.d.ts +0 -2
  292. package/dist/lib/selects/purchase-order-item/index.d.ts.map +0 -1
  293. package/dist/lib/selects/quant/QuantFilter.d.ts +0 -12
  294. package/dist/lib/selects/quant/QuantFilter.d.ts.map +0 -1
  295. package/dist/lib/selects/quant/QuantSelector.d.ts +0 -5
  296. package/dist/lib/selects/quant/QuantSelector.d.ts.map +0 -1
  297. package/dist/lib/selects/quant/index.d.ts +0 -3
  298. package/dist/lib/selects/quant/index.d.ts.map +0 -1
  299. package/dist/lib/selects/region/RegionFilter.d.ts +0 -12
  300. package/dist/lib/selects/region/RegionFilter.d.ts.map +0 -1
  301. package/dist/lib/selects/region/RegionSelector.d.ts +0 -4
  302. package/dist/lib/selects/region/RegionSelector.d.ts.map +0 -1
  303. package/dist/lib/selects/region/index.d.ts +0 -3
  304. package/dist/lib/selects/region/index.d.ts.map +0 -1
  305. package/dist/lib/selects/repository/RepositorySelector.d.ts +0 -4
  306. package/dist/lib/selects/repository/RepositorySelector.d.ts.map +0 -1
  307. package/dist/lib/selects/repository/index.d.ts +0 -2
  308. package/dist/lib/selects/repository/index.d.ts.map +0 -1
  309. package/dist/lib/selects/role/RoleSelector.d.ts +0 -4
  310. package/dist/lib/selects/role/RoleSelector.d.ts.map +0 -1
  311. package/dist/lib/selects/role/index.d.ts +0 -2
  312. package/dist/lib/selects/role/index.d.ts.map +0 -1
  313. package/dist/lib/selects/serial/SerialFilter.d.ts +0 -17
  314. package/dist/lib/selects/serial/SerialFilter.d.ts.map +0 -1
  315. package/dist/lib/selects/serial/SerialSelector.d.ts +0 -11
  316. package/dist/lib/selects/serial/SerialSelector.d.ts.map +0 -1
  317. package/dist/lib/selects/serial/index.d.ts +0 -3
  318. package/dist/lib/selects/serial/index.d.ts.map +0 -1
  319. package/dist/lib/selects/site/SiteFilter.d.ts +0 -12
  320. package/dist/lib/selects/site/SiteFilter.d.ts.map +0 -1
  321. package/dist/lib/selects/site/SiteSelector.d.ts +0 -4
  322. package/dist/lib/selects/site/SiteSelector.d.ts.map +0 -1
  323. package/dist/lib/selects/site/index.d.ts +0 -3
  324. package/dist/lib/selects/site/index.d.ts.map +0 -1
  325. package/dist/lib/selects/site-group/SiteGroupFilter.d.ts +0 -12
  326. package/dist/lib/selects/site-group/SiteGroupFilter.d.ts.map +0 -1
  327. package/dist/lib/selects/site-group/SiteGroupSelector.d.ts +0 -4
  328. package/dist/lib/selects/site-group/SiteGroupSelector.d.ts.map +0 -1
  329. package/dist/lib/selects/site-group/index.d.ts +0 -3
  330. package/dist/lib/selects/site-group/index.d.ts.map +0 -1
  331. package/dist/lib/selects/supplier/SupplierFilter.d.ts +0 -12
  332. package/dist/lib/selects/supplier/SupplierFilter.d.ts.map +0 -1
  333. package/dist/lib/selects/supplier/SupplierSelector.d.ts +0 -4
  334. package/dist/lib/selects/supplier/SupplierSelector.d.ts.map +0 -1
  335. package/dist/lib/selects/supplier/index.d.ts +0 -3
  336. package/dist/lib/selects/supplier/index.d.ts.map +0 -1
  337. package/dist/lib/selects/supplier-item/SupplierItemFilter.d.ts +0 -15
  338. package/dist/lib/selects/supplier-item/SupplierItemFilter.d.ts.map +0 -1
  339. package/dist/lib/selects/supplier-item/SupplierItemSelector.d.ts +0 -13
  340. package/dist/lib/selects/supplier-item/SupplierItemSelector.d.ts.map +0 -1
  341. package/dist/lib/selects/supplier-item/index.d.ts +0 -3
  342. package/dist/lib/selects/supplier-item/index.d.ts.map +0 -1
  343. package/dist/lib/selects/tax-class/TaxClassSelector.d.ts +0 -4
  344. package/dist/lib/selects/tax-class/TaxClassSelector.d.ts.map +0 -1
  345. package/dist/lib/selects/tax-class/index.d.ts +0 -2
  346. package/dist/lib/selects/tax-class/index.d.ts.map +0 -1
  347. package/dist/lib/selects/tax-group/TaxGroupFilter.d.ts +0 -12
  348. package/dist/lib/selects/tax-group/TaxGroupFilter.d.ts.map +0 -1
  349. package/dist/lib/selects/tax-group/TaxGroupSelector.d.ts +0 -4
  350. package/dist/lib/selects/tax-group/TaxGroupSelector.d.ts.map +0 -1
  351. package/dist/lib/selects/tax-group/index.d.ts +0 -3
  352. package/dist/lib/selects/tax-group/index.d.ts.map +0 -1
  353. package/dist/lib/selects/uom/UomFilter.d.ts +0 -12
  354. package/dist/lib/selects/uom/UomFilter.d.ts.map +0 -1
  355. package/dist/lib/selects/uom/UomSelector.d.ts +0 -4
  356. package/dist/lib/selects/uom/UomSelector.d.ts.map +0 -1
  357. package/dist/lib/selects/uom/index.d.ts +0 -3
  358. package/dist/lib/selects/uom/index.d.ts.map +0 -1
  359. package/dist/lib/selects/user/UserFilter.d.ts +0 -12
  360. package/dist/lib/selects/user/UserFilter.d.ts.map +0 -1
  361. package/dist/lib/selects/user/UserSelector.d.ts +0 -4
  362. package/dist/lib/selects/user/UserSelector.d.ts.map +0 -1
  363. package/dist/lib/selects/user/index.d.ts +0 -3
  364. package/dist/lib/selects/user/index.d.ts.map +0 -1
  365. package/dist/lib/selects/variant-option/VariantOptionSelector.d.ts +0 -8
  366. package/dist/lib/selects/variant-option/VariantOptionSelector.d.ts.map +0 -1
  367. package/dist/lib/selects/variant-option/index.d.ts +0 -2
  368. package/dist/lib/selects/variant-option/index.d.ts.map +0 -1
  369. package/dist/lib/selects/version/VersionFilter.d.ts +0 -12
  370. package/dist/lib/selects/version/VersionFilter.d.ts.map +0 -1
  371. package/dist/lib/selects/version/VersionSelector.d.ts +0 -4
  372. package/dist/lib/selects/version/VersionSelector.d.ts.map +0 -1
  373. package/dist/lib/selects/version/index.d.ts +0 -3
  374. package/dist/lib/selects/version/index.d.ts.map +0 -1
  375. package/dist/selects/app-code.js +0 -37
  376. package/dist/selects/app-code.js.map +0 -1
  377. package/dist/selects/app.js +0 -2
  378. package/dist/selects/app.js.map +0 -1
  379. package/dist/selects/billing-cycle.js +0 -2
  380. package/dist/selects/billing-cycle.js.map +0 -1
  381. package/dist/selects/business.js +0 -2
  382. package/dist/selects/business.js.map +0 -1
  383. package/dist/selects/category.js +0 -2
  384. package/dist/selects/category.js.map +0 -1
  385. package/dist/selects/cloud-provider.js +0 -2
  386. package/dist/selects/cloud-provider.js.map +0 -1
  387. package/dist/selects/cost-category.js +0 -50
  388. package/dist/selects/cost-category.js.map +0 -1
  389. package/dist/selects/country.js +0 -2
  390. package/dist/selects/country.js.map +0 -1
  391. package/dist/selects/customer.js +0 -2
  392. package/dist/selects/customer.js.map +0 -1
  393. package/dist/selects/deployment.js +0 -2
  394. package/dist/selects/deployment.js.map +0 -1
  395. package/dist/selects/feature-permission.js +0 -2
  396. package/dist/selects/feature-permission.js.map +0 -1
  397. package/dist/selects/feature.js +0 -2
  398. package/dist/selects/feature.js.map +0 -1
  399. package/dist/selects/inventory-item.js +0 -2
  400. package/dist/selects/inventory-item.js.map +0 -1
  401. package/dist/selects/legal-entity.js +0 -2
  402. package/dist/selects/legal-entity.js.map +0 -1
  403. package/dist/selects/location.js +0 -2
  404. package/dist/selects/location.js.map +0 -1
  405. package/dist/selects/lot.js +0 -2
  406. package/dist/selects/lot.js.map +0 -1
  407. package/dist/selects/microfrontend.js +0 -2
  408. package/dist/selects/microfrontend.js.map +0 -1
  409. package/dist/selects/modifier-group.js +0 -2
  410. package/dist/selects/modifier-group.js.map +0 -1
  411. package/dist/selects/offering-variant.js +0 -2
  412. package/dist/selects/offering-variant.js.map +0 -1
  413. package/dist/selects/offering.js +0 -2
  414. package/dist/selects/offering.js.map +0 -1
  415. package/dist/selects/permission-group.js +0 -21
  416. package/dist/selects/permission-group.js.map +0 -1
  417. package/dist/selects/plan.js +0 -2
  418. package/dist/selects/plan.js.map +0 -1
  419. package/dist/selects/purchase-order-item.js +0 -58
  420. package/dist/selects/purchase-order-item.js.map +0 -1
  421. package/dist/selects/purchase-order.js +0 -2
  422. package/dist/selects/purchase-order.js.map +0 -1
  423. package/dist/selects/quant.js +0 -2
  424. package/dist/selects/quant.js.map +0 -1
  425. package/dist/selects/region.js +0 -2
  426. package/dist/selects/region.js.map +0 -1
  427. package/dist/selects/repository.js +0 -2
  428. package/dist/selects/repository.js.map +0 -1
  429. package/dist/selects/role.js +0 -2
  430. package/dist/selects/role.js.map +0 -1
  431. package/dist/selects/serial.js +0 -2
  432. package/dist/selects/serial.js.map +0 -1
  433. package/dist/selects/site-group.js +0 -2
  434. package/dist/selects/site-group.js.map +0 -1
  435. package/dist/selects/site.js +0 -2
  436. package/dist/selects/site.js.map +0 -1
  437. package/dist/selects/supplier-item.js +0 -2
  438. package/dist/selects/supplier-item.js.map +0 -1
  439. package/dist/selects/supplier.js +0 -2
  440. package/dist/selects/supplier.js.map +0 -1
  441. package/dist/selects/tax-class.js +0 -2
  442. package/dist/selects/tax-class.js.map +0 -1
  443. package/dist/selects/tax-group.js +0 -37
  444. package/dist/selects/tax-group.js.map +0 -1
  445. package/dist/selects/uom.js +0 -2
  446. package/dist/selects/uom.js.map +0 -1
  447. package/dist/selects/user.js +0 -2
  448. package/dist/selects/user.js.map +0 -1
  449. package/dist/selects/variant-option.js +0 -2
  450. package/dist/selects/variant-option.js.map +0 -1
  451. package/dist/selects/version.js +0 -2
  452. package/dist/selects/version.js.map +0 -1
@@ -1,40 +1,6 @@
1
- export * from './app';
2
- export * from './billing-cycle';
3
- export * from './business';
4
- export * from './category';
5
- export * from './cloud-provider';
6
- export * from './country';
7
1
  export * from './currency';
8
- export * from './customer';
9
- export * from './deployment';
10
- export * from './feature';
11
- export * from './feature-permission';
12
2
  export * from './icon';
13
- export * from './inventory-item';
14
3
  export * from './iso-country';
15
- export * from './legal-entity';
16
4
  export * from './locale';
17
- export * from './location';
18
- export * from './lot';
19
- export * from './microfrontend';
20
- export * from './modifier-group';
21
- export * from './plan';
22
- export * from './offering';
23
- export * from './offering-variant';
24
- export * from './purchase-order';
25
- export * from './quant';
26
- export * from './region';
27
- export * from './repository';
28
- export * from './role';
29
- export * from './serial';
30
- export * from './site';
31
- export * from './site-group';
32
- export * from './supplier';
33
- export * from './supplier-item';
34
- export * from './tax-class';
35
5
  export * from './timezone';
36
- export * from './uom';
37
- export * from './user';
38
- export * from './variant-option';
39
- export * from './version';
40
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/selects/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/selects/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
@@ -23,7 +23,7 @@ export interface PlatformDenyCodes {
23
23
  }
24
24
  export type FeatureUnlocks = Record<string, PlatformCodes>;
25
25
  export type FeatureLocks = Record<string, PlatformDenyCodes>;
26
- export type SiteFeatureLocks = FeatureLocks;
26
+ export type WorkspaceFeatureLocks = FeatureLocks;
27
27
  export interface PermissionGroupRef {
28
28
  code: string;
29
29
  label: string;
@@ -125,7 +125,7 @@ export interface VersionSnapshot {
125
125
  }
126
126
  export declare function snapshotFeatureKey(code: string, scope: ScopeType): string;
127
127
  export declare const SNAPSHOT_SCHEMA_VERSION = 6;
128
- export type LockReason = 'PLAN' | 'SITE' | 'SERVICE';
128
+ export type LockReason = 'PLAN' | 'WORKSPACE' | 'SERVICE';
129
129
  export interface CatalogPermission {
130
130
  code: string;
131
131
  locked: boolean;
@@ -205,7 +205,7 @@ export interface SiteMatrix {
205
205
  name: string;
206
206
  };
207
207
  apps: SiteMatrixApp[];
208
- locks: SiteFeatureLocks;
208
+ locks: WorkspaceFeatureLocks;
209
209
  }
210
210
  export type RevokedGrants = Record<string, PlatformDenyCodes>;
211
211
  export type ClientPlatform = 'web' | 'ios' | 'android' | 'graphql' | 'http';
@@ -246,7 +246,7 @@ export interface ResolveUserFeaturesParams {
246
246
  snapshot: VersionSnapshot;
247
247
  businessCode: string;
248
248
  planCode: string | undefined;
249
- siteLocks: SiteFeatureLocks | undefined;
249
+ workspaceLocks: WorkspaceFeatureLocks | undefined;
250
250
  roleFeatures: FeatureUnlocks;
251
251
  platform: ClientPlatform;
252
252
  }
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-resolver.d.ts","sourceRoot":"","sources":["../../../lib/types/catalog-resolver.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnE,eAAO,MAAM,SAAS,EAAE,cAAc,EAAyC,CAAC;AAGhF,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEhD,eAAO,MAAM,YAAY,EAAE,gBAAgB,EAAsB,CAAC;AAGlE,eAAO,MAAM,YAAY,8BAA+B,CAAC;AACzD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAGvD,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAElE,eAAO,MAAM,WAAW,EAAE,SAAS,EAAwB,CAAC;AAE5D,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,SAAS,EAAE,UAAU,CAAwC,CAAC;AACrG,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,UAAU,EAAE,SAAS,CAAwC,CAAC;AAErG,wBAAgB,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,IAAI,SAAS,CAEvE;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,C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GAAG,SAAS,CAAC;IAClD,YAAY,EAAE,cAAc,CAAC;IAC7B,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,cAAc,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,cAAc,CAAC;IAC1B,OAAO,EAAE,aAAa,GAAG,SAAS,CAAC;CACpC"}
@@ -1,3 +1,2 @@
1
- export { C as CurrencyFilter } from '../CurrencyFilter.js';
2
- export { C as CurrencySelector } from '../CurrencySelector.js';
1
+ export { C as CurrencyFilter, a as CurrencySelector } from '../CurrencySelector.js';
3
2
  //# sourceMappingURL=currency.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"currency.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"currency.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-resolver.js","sources":["../../lib/types/catalog-resolver.ts"],"sourcesContent":["// Frontend mirror of @vritti/api-sdk/catalog-resolver types — keep field-for-field in sync\n\n/**\n * The surfaces a permission can be granted on.\n *\n * `web` and `mobile` are UI buckets, reached by loading a microfrontend. `graphql` and `http` are\n * API surfaces a credential signs its own requests against — no microfrontend and no route, so a\n * headless feature is grantable there and nowhere else, and each surface is entitled independently.\n */\nexport type PlatformBucket = 'web' | 'mobile' | 'graphql' | 'http';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile', 'graphql', 'http'];\n\n/** Buckets that reach their feature through a microfrontend, and so require one to resolve. */\nexport type UiPlatformBucket = 'web' | 'mobile';\n\nexport const UI_PLATFORMS: UiPlatformBucket[] = ['web', 'mobile'];\n\n// The API surfaces an app credential can present — the values of core's `app_type` enum\nexport const API_SURFACES = ['GRAPHQL', 'HTTP'] as const;\nexport type ApiSurface = (typeof API_SURFACES)[number];\n\n/** Buckets that admit an API credential rather than a person — exactly one per surface. */\nexport type ApiBucket = Exclude<PlatformBucket, UiPlatformBucket>;\n\nexport const API_BUCKETS: ApiBucket[] = ['graphql', 'http'];\n\nexport const SURFACE_BY_BUCKET: Record<ApiBucket, ApiSurface> = { graphql: 'GRAPHQL', http: 'HTTP' };\nexport const BUCKET_BY_SURFACE: Record<ApiSurface, ApiBucket> = { GRAPHQL: 'graphql', HTTP: 'http' };\n\nexport function isApiBucket(bucket: PlatformBucket): bucket is ApiBucket {\n return bucket === 'graphql' || bucket === 'http';\n}\n\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n graphql?: string[];\n http?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n graphql?: string[] | null;\n http?: string[] | null;\n}\n\nexport type FeatureUnlocks = Record<string, PlatformCodes>;\n\nexport type FeatureLocks = Record<string, PlatformDenyCodes>;\nexport type SiteFeatureLocks = FeatureLocks;\n\nexport interface PermissionGroupRef {\n code: string;\n label: string;\n sortOrder: number;\n}\n\nexport interface SnapshotPermission {\n code: string;\n label: string;\n isGlobal: boolean;\n businesses: string[];\n dependsOn: string[];\n platforms: PlatformBucket[];\n group?: string;\n}\n\nexport interface SnapshotMicrofrontendWeb {\n code: string;\n name: string;\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontendMobile {\n code: string;\n name: string;\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontends {\n web?: SnapshotMicrofrontendWeb;\n mobile?: SnapshotMicrofrontendMobile;\n}\n\nexport type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';\nexport type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';\nexport const SERVICE_CODES = ['GITEA'] as const;\nexport type ServiceCode = (typeof SERVICE_CODES)[number];\nexport interface SnapshotFeature {\n code: string;\n name: string;\n lucideIcon: string;\n sfSymbol: string;\n materialSymbol: string;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n permissions: SnapshotPermission[];\n microfrontends: SnapshotMicrofrontends;\n requiredServices: ServiceCode[];\n permissionGroups: PermissionGroupRef[];\n // Strict — it decides which of the `graphql`/`http` buckets the feature offers at all\n apiSurfaces: ApiSurface[];\n}\n\nexport interface SnapshotAppFeatureRef {\n code: string;\n scope: ScopeType;\n}\n\nexport interface SnapshotApp {\n code: string;\n name: string;\n icon: string;\n sortOrder: number;\n features: SnapshotAppFeatureRef[];\n}\n\nexport interface SnapshotRoleTemplate {\n name: string;\n code: string;\n scope: ScopeType;\n siteType: SiteType;\n features: FeatureUnlocks;\n}\n\nexport interface SnapshotPlan {\n code: string;\n name: string;\n isCustom: boolean;\n maxSites: number | null;\n unlockedPermissions: FeatureUnlocks;\n}\n\nexport interface VocabularyEntry {\n singular: string;\n plural: string;\n}\nexport interface BusinessVocabulary {\n site?: VocabularyEntry;\n siteGroup?: VocabularyEntry;\n outlet?: VocabularyEntry;\n warehouse?: VocabularyEntry;\n production?: VocabularyEntry;\n}\nexport interface SnapshotBusiness {\n name: string;\n vocabulary?: BusinessVocabulary;\n roleTemplates: Record<string, SnapshotRoleTemplate>;\n plans: Record<string, SnapshotPlan>;\n}\n\nexport interface VersionSnapshot {\n schemaVersion?: number;\n // Flat feature dictionary keyed by `${scope}.${code}` (see snapshotFeatureKey) — same-code features at different scopes stay distinct\n features: Record<string, SnapshotFeature>;\n apps: SnapshotApp[];\n businesses: Record<string, SnapshotBusiness>;\n}\n\n// Composite key for the snapshot feature dictionary — feature identity is (scope, code)\nexport function snapshotFeatureKey(code: string, scope: ScopeType): string {\n return `${scope}.${code}`;\n}\n\nexport const SNAPSHOT_SCHEMA_VERSION = 6;\n\nexport type LockReason = 'PLAN' | 'SITE' | 'SERVICE';\n\nexport interface CatalogPermission {\n code: string;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface FeatureCatalogEntry {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n web: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n mobile: {\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n permissions: CatalogPermission[];\n}\n\nexport type RoleItem = SnapshotRoleTemplate;\n\nexport interface SiteMatrixCell {\n inPlan: boolean;\n selected: boolean;\n availableIn: string[];\n}\n\nexport interface SiteMatrixPermission {\n code: string;\n label: string;\n dependsOn: string[];\n group?: PermissionGroupRef;\n web: SiteMatrixCell | null;\n mobile: SiteMatrixCell | null;\n graphql: SiteMatrixCell | null;\n http: SiteMatrixCell | null;\n}\n\nexport interface SiteMatrixFeature {\n code: string;\n name: string;\n icon: string | null;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n platforms: PlatformBucket[];\n inPlan: boolean;\n availableIn: string[];\n // API surfaces the feature declares — lets the app-credential editor filter by credential type\n apiSurfaces: ApiSurface[];\n permissions: SiteMatrixPermission[];\n}\n\nexport interface MatrixCounts {\n unlocked: number;\n total: number;\n}\n\nexport interface SiteMatrixApp {\n code: string;\n name: string;\n icon: string | null;\n counts: Record<PlatformBucket, MatrixCounts>;\n features: SiteMatrixFeature[];\n}\n\nexport interface SiteMatrix {\n plan: { code: string; name: string };\n apps: SiteMatrixApp[];\n locks: SiteFeatureLocks;\n}\n\nexport type RevokedGrants = Record<string, PlatformDenyCodes>;\n\nexport type ClientPlatform = 'web' | 'ios' | 'android' | 'graphql' | 'http';\n\nexport interface LockedPermission {\n code: string;\n reason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface PlanUpsell {\n plan: string;\n features: string[];\n}\n\nexport interface PermissionFeature {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n permissions: string[];\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n // Which declared services the org has not provisioned — empty unless lockReason is 'SERVICE'\n missingServices: ServiceCode[];\n lockedPermissions: LockedPermission[];\n upsell: PlanUpsell[];\n route: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n };\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n}\n\nexport interface ResolveUserFeaturesParams {\n snapshot: VersionSnapshot;\n businessCode: string;\n planCode: string | undefined;\n siteLocks: SiteFeatureLocks | undefined;\n roleFeatures: FeatureUnlocks;\n platform: ClientPlatform;\n}\n\nexport interface ComposeRoleGrantsParams {\n baseFeatures: FeatureUnlocks | undefined;\n additions: FeatureUnlocks;\n revoked: RevokedGrants | undefined;\n}\n"],"names":[],"mappings":"AAWO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAA,EAAU,WAAW,MAAM;AAKvE,MAAM,YAAA,GAAmC,CAAC,KAAA,EAAO,QAAQ;AAGzD,MAAM,YAAA,GAAe,CAAC,SAAA,EAAW,MAAM;AAMvC,MAAM,WAAA,GAA2B,CAAC,SAAA,EAAW,MAAM;AAEnD,MAAM,iBAAA,GAAmD,EAAE,OAAA,EAAS,SAAA,EAAW,MAAM,MAAA;AACrF,MAAM,iBAAA,GAAmD,EAAE,OAAA,EAAS,SAAA,EAAW,MAAM,MAAA;AAErF,SAAS,YAAY,MAAA,EAA6C;AACvE,EAAA,OAAO,MAAA,KAAW,aAAa,MAAA,KAAW,MAAA;AAC5C;AA6DO,MAAM,aAAA,GAAgB,CAAC,OAAO;AA0E9B,SAAS,kBAAA,CAAmB,MAAc,KAAA,EAA0B;AACzE,EAAA,OAAO,CAAA,EAAG,KAAK,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AACzB;AAEO,MAAM,uBAAA,GAA0B;;;;"}
1
+ {"version":3,"file":"catalog-resolver.js","sources":["../../lib/types/catalog-resolver.ts"],"sourcesContent":["// Frontend mirror of @vritti/api-sdk/catalog-resolver types — keep field-for-field in sync\n\n/**\n * The surfaces a permission can be granted on.\n *\n * `web` and `mobile` are UI buckets, reached by loading a microfrontend. `graphql` and `http` are\n * API surfaces a credential signs its own requests against — no microfrontend and no route, so a\n * headless feature is grantable there and nowhere else, and each surface is entitled independently.\n */\nexport type PlatformBucket = 'web' | 'mobile' | 'graphql' | 'http';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile', 'graphql', 'http'];\n\n/** Buckets that reach their feature through a microfrontend, and so require one to resolve. */\nexport type UiPlatformBucket = 'web' | 'mobile';\n\nexport const UI_PLATFORMS: UiPlatformBucket[] = ['web', 'mobile'];\n\n// The API surfaces an app credential can present — the values of core's `app_type` enum\nexport const API_SURFACES = ['GRAPHQL', 'HTTP'] as const;\nexport type ApiSurface = (typeof API_SURFACES)[number];\n\n/** Buckets that admit an API credential rather than a person — exactly one per surface. */\nexport type ApiBucket = Exclude<PlatformBucket, UiPlatformBucket>;\n\nexport const API_BUCKETS: ApiBucket[] = ['graphql', 'http'];\n\nexport const SURFACE_BY_BUCKET: Record<ApiBucket, ApiSurface> = { graphql: 'GRAPHQL', http: 'HTTP' };\nexport const BUCKET_BY_SURFACE: Record<ApiSurface, ApiBucket> = { GRAPHQL: 'graphql', HTTP: 'http' };\n\nexport function isApiBucket(bucket: PlatformBucket): bucket is ApiBucket {\n return bucket === 'graphql' || bucket === 'http';\n}\n\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n graphql?: string[];\n http?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n graphql?: string[] | null;\n http?: string[] | null;\n}\n\nexport type FeatureUnlocks = Record<string, PlatformCodes>;\n\nexport type FeatureLocks = Record<string, PlatformDenyCodes>;\nexport type WorkspaceFeatureLocks = FeatureLocks;\n\nexport interface PermissionGroupRef {\n code: string;\n label: string;\n sortOrder: number;\n}\n\nexport interface SnapshotPermission {\n code: string;\n label: string;\n isGlobal: boolean;\n businesses: string[];\n dependsOn: string[];\n platforms: PlatformBucket[];\n group?: string;\n}\n\nexport interface SnapshotMicrofrontendWeb {\n code: string;\n name: string;\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontendMobile {\n code: string;\n name: string;\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontends {\n web?: SnapshotMicrofrontendWeb;\n mobile?: SnapshotMicrofrontendMobile;\n}\n\nexport type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';\nexport type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';\nexport const SERVICE_CODES = ['GITEA'] as const;\nexport type ServiceCode = (typeof SERVICE_CODES)[number];\nexport interface SnapshotFeature {\n code: string;\n name: string;\n lucideIcon: string;\n sfSymbol: string;\n materialSymbol: string;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n permissions: SnapshotPermission[];\n microfrontends: SnapshotMicrofrontends;\n requiredServices: ServiceCode[];\n permissionGroups: PermissionGroupRef[];\n // Strict — it decides which of the `graphql`/`http` buckets the feature offers at all\n apiSurfaces: ApiSurface[];\n}\n\nexport interface SnapshotAppFeatureRef {\n code: string;\n scope: ScopeType;\n}\n\nexport interface SnapshotApp {\n code: string;\n name: string;\n icon: string;\n sortOrder: number;\n features: SnapshotAppFeatureRef[];\n}\n\nexport interface SnapshotRoleTemplate {\n name: string;\n code: string;\n scope: ScopeType;\n siteType: SiteType;\n features: FeatureUnlocks;\n}\n\nexport interface SnapshotPlan {\n code: string;\n name: string;\n isCustom: boolean;\n maxSites: number | null;\n unlockedPermissions: FeatureUnlocks;\n}\n\nexport interface VocabularyEntry {\n singular: string;\n plural: string;\n}\nexport interface BusinessVocabulary {\n site?: VocabularyEntry;\n siteGroup?: VocabularyEntry;\n outlet?: VocabularyEntry;\n warehouse?: VocabularyEntry;\n production?: VocabularyEntry;\n}\nexport interface SnapshotBusiness {\n name: string;\n vocabulary?: BusinessVocabulary;\n roleTemplates: Record<string, SnapshotRoleTemplate>;\n plans: Record<string, SnapshotPlan>;\n}\n\nexport interface VersionSnapshot {\n schemaVersion?: number;\n // Flat feature dictionary keyed by `${scope}.${code}` (see snapshotFeatureKey) — same-code features at different scopes stay distinct\n features: Record<string, SnapshotFeature>;\n apps: SnapshotApp[];\n businesses: Record<string, SnapshotBusiness>;\n}\n\n// Composite key for the snapshot feature dictionary — feature identity is (scope, code)\nexport function snapshotFeatureKey(code: string, scope: ScopeType): string {\n return `${scope}.${code}`;\n}\n\nexport const SNAPSHOT_SCHEMA_VERSION = 6;\n\nexport type LockReason = 'PLAN' | 'WORKSPACE' | 'SERVICE';\n\nexport interface CatalogPermission {\n code: string;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface FeatureCatalogEntry {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n web: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n mobile: {\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n permissions: CatalogPermission[];\n}\n\nexport type RoleItem = SnapshotRoleTemplate;\n\nexport interface SiteMatrixCell {\n inPlan: boolean;\n selected: boolean;\n availableIn: string[];\n}\n\nexport interface SiteMatrixPermission {\n code: string;\n label: string;\n dependsOn: string[];\n group?: PermissionGroupRef;\n web: SiteMatrixCell | null;\n mobile: SiteMatrixCell | null;\n graphql: SiteMatrixCell | null;\n http: SiteMatrixCell | null;\n}\n\nexport interface SiteMatrixFeature {\n code: string;\n name: string;\n icon: string | null;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n platforms: PlatformBucket[];\n inPlan: boolean;\n availableIn: string[];\n // API surfaces the feature declares — lets the app-credential editor filter by credential type\n apiSurfaces: ApiSurface[];\n permissions: SiteMatrixPermission[];\n}\n\nexport interface MatrixCounts {\n unlocked: number;\n total: number;\n}\n\nexport interface SiteMatrixApp {\n code: string;\n name: string;\n icon: string | null;\n counts: Record<PlatformBucket, MatrixCounts>;\n features: SiteMatrixFeature[];\n}\n\nexport interface SiteMatrix {\n plan: { code: string; name: string };\n apps: SiteMatrixApp[];\n locks: WorkspaceFeatureLocks;\n}\n\nexport type RevokedGrants = Record<string, PlatformDenyCodes>;\n\nexport type ClientPlatform = 'web' | 'ios' | 'android' | 'graphql' | 'http';\n\nexport interface LockedPermission {\n code: string;\n reason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface PlanUpsell {\n plan: string;\n features: string[];\n}\n\nexport interface PermissionFeature {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n permissions: string[];\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n // Which declared services the org has not provisioned — empty unless lockReason is 'SERVICE'\n missingServices: ServiceCode[];\n lockedPermissions: LockedPermission[];\n upsell: PlanUpsell[];\n route: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n };\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n}\n\nexport interface ResolveUserFeaturesParams {\n snapshot: VersionSnapshot;\n businessCode: string;\n planCode: string | undefined;\n workspaceLocks: WorkspaceFeatureLocks | undefined;\n roleFeatures: FeatureUnlocks;\n platform: ClientPlatform;\n}\n\nexport interface ComposeRoleGrantsParams {\n baseFeatures: FeatureUnlocks | undefined;\n additions: FeatureUnlocks;\n revoked: RevokedGrants | undefined;\n}\n"],"names":[],"mappings":"AAWO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAA,EAAU,WAAW,MAAM;AAKvE,MAAM,YAAA,GAAmC,CAAC,KAAA,EAAO,QAAQ;AAGzD,MAAM,YAAA,GAAe,CAAC,SAAA,EAAW,MAAM;AAMvC,MAAM,WAAA,GAA2B,CAAC,SAAA,EAAW,MAAM;AAEnD,MAAM,iBAAA,GAAmD,EAAE,OAAA,EAAS,SAAA,EAAW,MAAM,MAAA;AACrF,MAAM,iBAAA,GAAmD,EAAE,OAAA,EAAS,SAAA,EAAW,MAAM,MAAA;AAErF,SAAS,YAAY,MAAA,EAA6C;AACvE,EAAA,OAAO,MAAA,KAAW,aAAa,MAAA,KAAW,MAAA;AAC5C;AA6DO,MAAM,aAAA,GAAgB,CAAC,OAAO;AA0E9B,SAAS,kBAAA,CAAmB,MAAc,KAAA,EAA0B;AACzE,EAAA,OAAO,CAAA,EAAG,KAAK,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AACzB;AAEO,MAAM,uBAAA,GAA0B;;;;"}
@@ -3,8 +3,8 @@ export { A as AnimatePresence, aE as AsyncMotionValueAnimation, aF as DOMKeyfram
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import * as React from 'react';
5
5
  import { useState, useRef, useEffect, useContext, useMemo, useInsertionEffect, useCallback, useLayoutEffect, createContext, forwardRef } from 'react';
6
- import { u as useForceUpdate, L as LayoutGroup } from '../index37.js';
7
- export { D as DeprecatedLayoutGroupContext, n as nodeGroup } from '../index37.js';
6
+ import { u as useForceUpdate, L as LayoutGroup } from '../index38.js';
7
+ export { D as DeprecatedLayoutGroupContext, n as nodeGroup } from '../index38.js';
8
8
 
9
9
  const wrap = (min, max, v) => {
10
10
  const rangeSize = max - min;
package/dist/value.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
2
  import React__default from 'react';
3
- import { r as requireShim } from './index38.js';
3
+ import { r as requireShim } from './index39.js';
4
4
 
5
5
  var withSelector = {exports: {}};
6
6
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.4.4",
8
+ "version": "0.5.1",
9
9
  "type": "module",
10
10
  "sideEffects": false,
11
11
  "repository": {
@@ -160,50 +160,18 @@
160
160
  "types": "./dist/lib/components/Select/index.d.ts",
161
161
  "import": "./dist/components/Select.js"
162
162
  },
163
- "./PersonSelector": {
164
- "types": "./dist/lib/components/PersonSelector/index.d.ts",
165
- "import": "./dist/components/PersonSelector.js"
166
- },
167
- "./CompanySelector": {
168
- "types": "./dist/lib/components/CompanySelector/index.d.ts",
169
- "import": "./dist/components/CompanySelector.js"
170
- },
171
- "./Sortable": {
172
- "types": "./dist/lib/components/Sortable/index.d.ts",
173
- "import": "./dist/components/Sortable.js"
174
- },
175
- "./selects/cloud-provider": {
176
- "types": "./dist/lib/selects/cloud-provider/index.d.ts",
177
- "import": "./dist/selects/cloud-provider.js"
178
- },
179
- "./selects/business": {
180
- "types": "./dist/lib/selects/business/index.d.ts",
181
- "import": "./dist/selects/business.js"
182
- },
183
- "./selects/region": {
184
- "types": "./dist/lib/selects/region/index.d.ts",
185
- "import": "./dist/selects/region.js"
186
- },
187
- "./selects/repository": {
188
- "types": "./dist/lib/selects/repository/index.d.ts",
189
- "import": "./dist/selects/repository.js"
190
- },
191
- "./selects/plan": {
192
- "types": "./dist/lib/selects/plan/index.d.ts",
193
- "import": "./dist/selects/plan.js"
194
- },
195
- "./selects/billing-cycle": {
196
- "types": "./dist/lib/selects/billing-cycle/index.d.ts",
197
- "import": "./dist/selects/billing-cycle.js"
198
- },
199
- "./selects/country": {
200
- "types": "./dist/lib/selects/country/index.d.ts",
201
- "import": "./dist/selects/country.js"
202
- },
203
163
  "./selects/currency": {
204
164
  "types": "./dist/lib/selects/currency/index.d.ts",
205
165
  "import": "./dist/selects/currency.js"
206
166
  },
167
+ "./selects/icon": {
168
+ "types": "./dist/lib/selects/icon/index.d.ts",
169
+ "import": "./dist/selects/icon.js"
170
+ },
171
+ "./selects/iso-country": {
172
+ "types": "./dist/lib/selects/iso-country/index.d.ts",
173
+ "import": "./dist/selects/iso-country.js"
174
+ },
207
175
  "./selects/locale": {
208
176
  "types": "./dist/lib/selects/locale/index.d.ts",
209
177
  "import": "./dist/selects/locale.js"
@@ -212,33 +180,9 @@
212
180
  "types": "./dist/lib/selects/timezone/index.d.ts",
213
181
  "import": "./dist/selects/timezone.js"
214
182
  },
215
- "./selects/deployment": {
216
- "types": "./dist/lib/selects/deployment/index.d.ts",
217
- "import": "./dist/selects/deployment.js"
218
- },
219
- "./selects/feature": {
220
- "types": "./dist/lib/selects/feature/index.d.ts",
221
- "import": "./dist/selects/feature.js"
222
- },
223
- "./selects/feature-permission": {
224
- "types": "./dist/lib/selects/feature-permission/index.d.ts",
225
- "import": "./dist/selects/feature-permission.js"
226
- },
227
- "./selects/offering": {
228
- "types": "./dist/lib/selects/offering/index.d.ts",
229
- "import": "./dist/selects/offering.js"
230
- },
231
- "./selects/offering-variant": {
232
- "types": "./dist/lib/selects/offering-variant/index.d.ts",
233
- "import": "./dist/selects/offering-variant.js"
234
- },
235
- "./selects/permission-group": {
236
- "types": "./dist/lib/selects/permission-group/index.d.ts",
237
- "import": "./dist/selects/permission-group.js"
238
- },
239
- "./selects/icon": {
240
- "types": "./dist/lib/selects/icon/index.d.ts",
241
- "import": "./dist/selects/icon.js"
183
+ "./Sortable": {
184
+ "types": "./dist/lib/components/Sortable/index.d.ts",
185
+ "import": "./dist/components/Sortable.js"
242
186
  },
243
187
  "./icons": {
244
188
  "types": "./dist/lib/icons/index.d.ts",
@@ -248,114 +192,6 @@
248
192
  "types": "./dist/lib/types/catalog-resolver.d.ts",
249
193
  "import": "./dist/types/catalog-resolver.js"
250
194
  },
251
- "./selects/app": {
252
- "types": "./dist/lib/selects/app/index.d.ts",
253
- "import": "./dist/selects/app.js"
254
- },
255
- "./selects/quant": {
256
- "types": "./dist/lib/selects/quant/index.d.ts",
257
- "import": "./dist/selects/quant.js"
258
- },
259
- "./selects/app-code": {
260
- "types": "./dist/lib/selects/app-code/index.d.ts",
261
- "import": "./dist/selects/app-code.js"
262
- },
263
- "./selects/category": {
264
- "types": "./dist/lib/selects/category/index.d.ts",
265
- "import": "./dist/selects/category.js"
266
- },
267
- "./selects/customer": {
268
- "types": "./dist/lib/selects/customer/index.d.ts",
269
- "import": "./dist/selects/customer.js"
270
- },
271
- "./selects/inventory-item": {
272
- "types": "./dist/lib/selects/inventory-item/index.d.ts",
273
- "import": "./dist/selects/inventory-item.js"
274
- },
275
- "./selects/iso-country": {
276
- "types": "./dist/lib/selects/iso-country/index.d.ts",
277
- "import": "./dist/selects/iso-country.js"
278
- },
279
- "./selects/variant-option": {
280
- "types": "./dist/lib/selects/variant-option/index.d.ts",
281
- "import": "./dist/selects/variant-option.js"
282
- },
283
- "./selects/modifier-group": {
284
- "types": "./dist/lib/selects/modifier-group/index.d.ts",
285
- "import": "./dist/selects/modifier-group.js"
286
- },
287
- "./selects/lot": {
288
- "types": "./dist/lib/selects/lot/index.d.ts",
289
- "import": "./dist/selects/lot.js"
290
- },
291
- "./selects/serial": {
292
- "types": "./dist/lib/selects/serial/index.d.ts",
293
- "import": "./dist/selects/serial.js"
294
- },
295
- "./selects/location": {
296
- "types": "./dist/lib/selects/location/index.d.ts",
297
- "import": "./dist/selects/location.js"
298
- },
299
- "./selects/cost-category": {
300
- "types": "./dist/lib/selects/cost-category/index.d.ts",
301
- "import": "./dist/selects/cost-category.js"
302
- },
303
- "./selects/supplier": {
304
- "types": "./dist/lib/selects/supplier/index.d.ts",
305
- "import": "./dist/selects/supplier.js"
306
- },
307
- "./selects/supplier-item": {
308
- "types": "./dist/lib/selects/supplier-item/index.d.ts",
309
- "import": "./dist/selects/supplier-item.js"
310
- },
311
- "./selects/purchase-order": {
312
- "types": "./dist/lib/selects/purchase-order/index.d.ts",
313
- "import": "./dist/selects/purchase-order.js"
314
- },
315
- "./selects/purchase-order-item": {
316
- "types": "./dist/lib/selects/purchase-order-item/index.d.ts",
317
- "import": "./dist/selects/purchase-order-item.js"
318
- },
319
- "./selects/tax-group": {
320
- "types": "./dist/lib/selects/tax-group/index.d.ts",
321
- "import": "./dist/selects/tax-group.js"
322
- },
323
- "./selects/tax-class": {
324
- "types": "./dist/lib/selects/tax-class/index.d.ts",
325
- "import": "./dist/selects/tax-class.js"
326
- },
327
- "./selects/uom": {
328
- "types": "./dist/lib/selects/uom/index.d.ts",
329
- "import": "./dist/selects/uom.js"
330
- },
331
- "./selects/user": {
332
- "types": "./dist/lib/selects/user/index.d.ts",
333
- "import": "./dist/selects/user.js"
334
- },
335
- "./selects/microfrontend": {
336
- "types": "./dist/lib/selects/microfrontend/index.d.ts",
337
- "import": "./dist/selects/microfrontend.js"
338
- },
339
- "./selects/legal-entity": {
340
- "types": "./dist/lib/selects/legal-entity/index.d.ts",
341
- "import": "./dist/selects/legal-entity.js"
342
- },
343
- "./selects/site": {
344
- "types": "./dist/lib/selects/site/index.d.ts",
345
- "import": "./dist/selects/site.js"
346
- },
347
- "./selects/site-group": {
348
- "types": "./dist/lib/selects/site-group/index.d.ts",
349
- "import": "./dist/selects/site-group.js"
350
- },
351
- "./selects/role": {
352
- "types": "./dist/lib/selects/role/index.d.ts",
353
- "import": "./dist/selects/role.js"
354
- },
355
- "./selects/version": {
356
- "types": "./dist/lib/selects/version/index.d.ts",
357
- "import": "./dist/selects/version.js"
358
- },
359
195
  "./OTPField": {
360
196
  "types": "./dist/lib/components/OTPField/index.d.ts",
361
197
  "import": "./dist/components/OTPField.js"
@@ -1,37 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { forwardRef } from 'react';
3
- import { S as SelectFilter } from './SelectFilter.js';
4
- import { S as Select } from './Select.js';
5
-
6
- const AppFilter = Object.assign(
7
- forwardRef((props, ref) => /* @__PURE__ */ jsx(
8
- SelectFilter,
9
- {
10
- ref,
11
- name: "appId",
12
- label: "App",
13
- placeholder: "Select app",
14
- optionsEndpoint: "select-api/apps",
15
- fieldKeys: { valueKey: "id", labelKey: "name", descriptionKey: "code" },
16
- ...props
17
- }
18
- )),
19
- { displayName: "AppFilter", defaultLabel: "App", defaultName: "appId" }
20
- );
21
-
22
- const AppSelector = forwardRef((props, ref) => /* @__PURE__ */ jsx(
23
- Select,
24
- {
25
- ref,
26
- label: "App",
27
- placeholder: "Select app",
28
- searchable: true,
29
- optionsEndpoint: "select-api/apps",
30
- fieldKeys: { valueKey: "id", labelKey: "name", descriptionKey: "code" },
31
- ...props
32
- }
33
- ));
34
- AppSelector.displayName = "AppSelector";
35
-
36
- export { AppFilter as A, AppSelector as a };
37
- //# sourceMappingURL=AppSelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppSelector.js","sources":["../lib/selects/app/AppFilter.tsx","../lib/selects/app/AppSelector.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport { SelectFilter, type SelectFilterProps } from '../../components/Select/SelectFilter';\n\nexport type AppFilterProps = Omit<SelectFilterProps, 'optionsEndpoint' | 'name'> & { name?: string };\n\n// Pre-configured SelectFilter for app filtering with async search\nexport const AppFilter = Object.assign(\n forwardRef<HTMLButtonElement, AppFilterProps>((props, ref) => (\n <SelectFilter\n ref={ref}\n name=\"appId\"\n label=\"App\"\n placeholder=\"Select app\"\n optionsEndpoint=\"select-api/apps\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name', descriptionKey: 'code' }}\n {...props}\n />\n )),\n { displayName: 'AppFilter', defaultLabel: 'App', defaultName: 'appId' },\n);\n","import { forwardRef } from 'react';\nimport { Select, type SelectProps } from '../../components/Select/Select';\n\nexport type AppSelectorProps = Omit<SelectProps, 'optionsEndpoint'>;\n\n// Pre-configured Select for app selection with async search (supports single and multi-select)\nexport const AppSelector = forwardRef<HTMLButtonElement, AppSelectorProps>((props, ref) => (\n <Select\n ref={ref}\n label=\"App\"\n placeholder=\"Select app\"\n searchable\n optionsEndpoint=\"select-api/apps\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name', descriptionKey: 'code' }}\n {...props}\n />\n));\nAppSelector.displayName = 'AppSelector';\n"],"names":[],"mappings":";;;;;AAMO,MAAM,YAAY,MAAA,CAAO,MAAA;AAAA,EAC9B,UAAA,CAA8C,CAAC,KAAA,EAAO,GAAA,qBACpD,GAAA;AAAA,IAAC,YAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,IAAA,EAAK,OAAA;AAAA,MACL,KAAA,EAAM,KAAA;AAAA,MACN,WAAA,EAAY,YAAA;AAAA,MACZ,eAAA,EAAgB,iBAAA;AAAA,MAChB,WAAW,EAAE,QAAA,EAAU,MAAM,QAAA,EAAU,MAAA,EAAQ,gBAAgB,MAAA,EAAO;AAAA,MACrE,GAAG;AAAA;AAAA,GAEP,CAAA;AAAA,EACD,EAAE,WAAA,EAAa,WAAA,EAAa,YAAA,EAAc,KAAA,EAAO,aAAa,OAAA;AAChE;;ACbO,MAAM,WAAA,GAAc,UAAA,CAAgD,CAAC,KAAA,EAAO,GAAA,qBACjF,GAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,GAAA;AAAA,IACA,KAAA,EAAM,KAAA;AAAA,IACN,WAAA,EAAY,YAAA;AAAA,IACZ,UAAA,EAAU,IAAA;AAAA,IACV,eAAA,EAAgB,iBAAA;AAAA,IAChB,WAAW,EAAE,QAAA,EAAU,MAAM,QAAA,EAAU,MAAA,EAAQ,gBAAgB,MAAA,EAAO;AAAA,IACrE,GAAG;AAAA;AACN,CACD;AACD,WAAA,CAAY,WAAA,GAAc,aAAA;;;;"}
@@ -1,37 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { forwardRef } from 'react';
3
- import { S as SelectFilter } from './SelectFilter.js';
4
- import { S as Select } from './Select.js';
5
-
6
- const BillingCycleFilter = Object.assign(
7
- forwardRef((props, ref) => /* @__PURE__ */ jsx(
8
- SelectFilter,
9
- {
10
- ref,
11
- name: "billingCycleId",
12
- label: "Billing Cycle",
13
- placeholder: "Select billing cycle",
14
- optionsEndpoint: "select-api/billing-cycles",
15
- fieldKeys: { valueKey: "id", labelKey: "name" },
16
- ...props
17
- }
18
- )),
19
- { displayName: "BillingCycleFilter", defaultLabel: "Billing Cycle", defaultName: "billingCycleId" }
20
- );
21
-
22
- const BillingCycleSelector = forwardRef((props, ref) => /* @__PURE__ */ jsx(
23
- Select,
24
- {
25
- ref,
26
- label: "Billing Cycle",
27
- placeholder: "Select billing cycle",
28
- searchable: true,
29
- optionsEndpoint: "select-api/billing-cycles",
30
- fieldKeys: { valueKey: "id", labelKey: "name" },
31
- ...props
32
- }
33
- ));
34
- BillingCycleSelector.displayName = "BillingCycleSelector";
35
-
36
- export { BillingCycleFilter as B, BillingCycleSelector as a };
37
- //# sourceMappingURL=BillingCycleSelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BillingCycleSelector.js","sources":["../lib/selects/billing-cycle/BillingCycleFilter.tsx","../lib/selects/billing-cycle/BillingCycleSelector.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport { SelectFilter, type SelectFilterProps } from '../../components/Select/SelectFilter';\n\nexport type BillingCycleFilterProps = Omit<SelectFilterProps, 'optionsEndpoint' | 'name'> & { name?: string };\n\n// Pre-configured SelectFilter for billing cycle filtering with async search\nexport const BillingCycleFilter = Object.assign(\n forwardRef<HTMLButtonElement, BillingCycleFilterProps>((props, ref) => (\n <SelectFilter\n ref={ref}\n name=\"billingCycleId\"\n label=\"Billing Cycle\"\n placeholder=\"Select billing cycle\"\n optionsEndpoint=\"select-api/billing-cycles\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name' }}\n {...props}\n />\n )),\n { displayName: 'BillingCycleFilter', defaultLabel: 'Billing Cycle', defaultName: 'billingCycleId' },\n);\n","import { forwardRef } from 'react';\nimport { Select, type SelectProps } from '../../components/Select/Select';\n\nexport type BillingCycleSelectorProps = Omit<SelectProps, 'optionsEndpoint'>;\n\n// Pre-configured Select for billing cycle selection with async search\nexport const BillingCycleSelector = forwardRef<HTMLButtonElement, BillingCycleSelectorProps>((props, ref) => (\n <Select\n ref={ref}\n label=\"Billing Cycle\"\n placeholder=\"Select billing cycle\"\n searchable\n optionsEndpoint=\"select-api/billing-cycles\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name' }}\n {...props}\n />\n));\nBillingCycleSelector.displayName = 'BillingCycleSelector';\n"],"names":[],"mappings":";;;;;AAMO,MAAM,qBAAqB,MAAA,CAAO,MAAA;AAAA,EACvC,UAAA,CAAuD,CAAC,KAAA,EAAO,GAAA,qBAC7D,GAAA;AAAA,IAAC,YAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,IAAA,EAAK,gBAAA;AAAA,MACL,KAAA,EAAM,eAAA;AAAA,MACN,WAAA,EAAY,sBAAA;AAAA,MACZ,eAAA,EAAgB,2BAAA;AAAA,MAChB,SAAA,EAAW,EAAE,QAAA,EAAU,IAAA,EAAM,UAAU,MAAA,EAAO;AAAA,MAC7C,GAAG;AAAA;AAAA,GAEP,CAAA;AAAA,EACD,EAAE,WAAA,EAAa,oBAAA,EAAsB,YAAA,EAAc,eAAA,EAAiB,aAAa,gBAAA;AACnF;;ACbO,MAAM,oBAAA,GAAuB,UAAA,CAAyD,CAAC,KAAA,EAAO,GAAA,qBACnG,GAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,GAAA;AAAA,IACA,KAAA,EAAM,eAAA;AAAA,IACN,WAAA,EAAY,sBAAA;AAAA,IACZ,UAAA,EAAU,IAAA;AAAA,IACV,eAAA,EAAgB,2BAAA;AAAA,IAChB,SAAA,EAAW,EAAE,QAAA,EAAU,IAAA,EAAM,UAAU,MAAA,EAAO;AAAA,IAC7C,GAAG;AAAA;AACN,CACD;AACD,oBAAA,CAAqB,WAAA,GAAc,sBAAA;;;;"}
@@ -1,37 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { forwardRef } from 'react';
3
- import { S as SelectFilter } from './SelectFilter.js';
4
- import { S as Select } from './Select.js';
5
-
6
- const BusinessFilter = Object.assign(
7
- forwardRef((props, ref) => /* @__PURE__ */ jsx(
8
- SelectFilter,
9
- {
10
- ref,
11
- name: "businessId",
12
- label: "Business",
13
- placeholder: "Select business",
14
- optionsEndpoint: "select-api/businesses",
15
- fieldKeys: { valueKey: "id", labelKey: "name" },
16
- ...props
17
- }
18
- )),
19
- { displayName: "BusinessFilter", defaultLabel: "Business", defaultName: "businessId" }
20
- );
21
-
22
- const BusinessSelector = forwardRef((props, ref) => /* @__PURE__ */ jsx(
23
- Select,
24
- {
25
- ref,
26
- label: "Business",
27
- placeholder: "Select business",
28
- searchable: true,
29
- optionsEndpoint: "select-api/businesses",
30
- fieldKeys: { valueKey: "id", labelKey: "name" },
31
- ...props
32
- }
33
- ));
34
- BusinessSelector.displayName = "BusinessSelector";
35
-
36
- export { BusinessFilter as B, BusinessSelector as a };
37
- //# sourceMappingURL=BusinessSelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BusinessSelector.js","sources":["../lib/selects/business/BusinessFilter.tsx","../lib/selects/business/BusinessSelector.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport { SelectFilter, type SelectFilterProps } from '../../components/Select/SelectFilter';\n\nexport type BusinessFilterProps = Omit<SelectFilterProps, 'optionsEndpoint' | 'name'> & { name?: string };\n\n// Pre-configured SelectFilter for business filtering with async search\nexport const BusinessFilter = Object.assign(\n forwardRef<HTMLButtonElement, BusinessFilterProps>((props, ref) => (\n <SelectFilter\n ref={ref}\n name=\"businessId\"\n label=\"Business\"\n placeholder=\"Select business\"\n optionsEndpoint=\"select-api/businesses\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name' }}\n {...props}\n />\n )),\n { displayName: 'BusinessFilter', defaultLabel: 'Business', defaultName: 'businessId' },\n);\n","import { forwardRef } from 'react';\nimport { Select, type SelectProps } from '../../components/Select/Select';\n\nexport type BusinessSelectorProps = Omit<SelectProps, 'optionsEndpoint'>;\n\n// Pre-configured Select for business selection with async search\nexport const BusinessSelector = forwardRef<HTMLButtonElement, BusinessSelectorProps>((props, ref) => (\n <Select\n ref={ref}\n label=\"Business\"\n placeholder=\"Select business\"\n searchable\n optionsEndpoint=\"select-api/businesses\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name' }}\n {...props}\n />\n));\nBusinessSelector.displayName = 'BusinessSelector';\n"],"names":[],"mappings":";;;;;AAMO,MAAM,iBAAiB,MAAA,CAAO,MAAA;AAAA,EACnC,UAAA,CAAmD,CAAC,KAAA,EAAO,GAAA,qBACzD,GAAA;AAAA,IAAC,YAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,IAAA,EAAK,YAAA;AAAA,MACL,KAAA,EAAM,UAAA;AAAA,MACN,WAAA,EAAY,iBAAA;AAAA,MACZ,eAAA,EAAgB,uBAAA;AAAA,MAChB,SAAA,EAAW,EAAE,QAAA,EAAU,IAAA,EAAM,UAAU,MAAA,EAAO;AAAA,MAC7C,GAAG;AAAA;AAAA,GAEP,CAAA;AAAA,EACD,EAAE,WAAA,EAAa,gBAAA,EAAkB,YAAA,EAAc,UAAA,EAAY,aAAa,YAAA;AAC1E;;ACbO,MAAM,gBAAA,GAAmB,UAAA,CAAqD,CAAC,KAAA,EAAO,GAAA,qBAC3F,GAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,GAAA;AAAA,IACA,KAAA,EAAM,UAAA;AAAA,IACN,WAAA,EAAY,iBAAA;AAAA,IACZ,UAAA,EAAU,IAAA;AAAA,IACV,eAAA,EAAgB,uBAAA;AAAA,IAChB,SAAA,EAAW,EAAE,QAAA,EAAU,IAAA,EAAM,UAAU,MAAA,EAAO;AAAA,IAC7C,GAAG;AAAA;AACN,CACD;AACD,gBAAA,CAAiB,WAAA,GAAc,kBAAA;;;;"}
@@ -1,42 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { forwardRef } from 'react';
3
- import { S as SelectFilter } from './SelectFilter.js';
4
- import { S as Select } from './Select.js';
5
-
6
- const formatCategoryPath = (path) => path.split(".").slice(0, -1).map((segment) => segment.replace(/_/g, " ").replace(/\b\w/g, (c) => c.toUpperCase())).join(" › ");
7
- const CategorySelector = forwardRef((props, ref) => /* @__PURE__ */ jsx(
8
- Select,
9
- {
10
- ref,
11
- label: "Category",
12
- placeholder: "Select category",
13
- searchable: true,
14
- optionsEndpoint: "commerce-api/select-api/categories",
15
- fieldKeys: { valueKey: "id", labelKey: "name", descriptionKey: "path" },
16
- transformDescription: formatCategoryPath,
17
- ...props,
18
- params: { role: "CATEGORY", status: "active", ...props.params }
19
- }
20
- ));
21
- CategorySelector.displayName = "CategorySelector";
22
-
23
- const CategoryFilter = Object.assign(
24
- forwardRef((props, ref) => /* @__PURE__ */ jsx(
25
- SelectFilter,
26
- {
27
- ref,
28
- name: "categoryId",
29
- label: "Category",
30
- placeholder: "Select category",
31
- optionsEndpoint: "commerce-api/select-api/categories",
32
- fieldKeys: { valueKey: "id", labelKey: "name", descriptionKey: "path" },
33
- transformDescription: formatCategoryPath,
34
- ...props,
35
- params: { role: "CATEGORY", status: "active", ...props.params }
36
- }
37
- )),
38
- { displayName: "CategoryFilter", defaultLabel: "Category", defaultName: "categoryId" }
39
- );
40
-
41
- export { CategoryFilter as C, CategorySelector as a, formatCategoryPath as f };
42
- //# sourceMappingURL=CategoryFilter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CategoryFilter.js","sources":["../lib/selects/category/CategorySelector.tsx","../lib/selects/category/CategoryFilter.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport { Select, type SelectProps } from '../../components/Select/Select';\n\nexport type CategorySelectorProps = Omit<SelectProps, 'optionsEndpoint'>;\n\n// Renders the parent breadcrumb from an ltree path, dropping the leaf segment shown as the option label.\nexport const formatCategoryPath = (path: string): string =>\n path\n .split('.')\n .slice(0, -1)\n .map((segment) => segment.replace(/_/g, ' ').replace(/\\b\\w/g, (c) => c.toUpperCase()))\n .join(' › ');\n\n// Pre-configured Select for category selection — defaults to active leaf categories; override role/status via params\nexport const CategorySelector = forwardRef<HTMLButtonElement, CategorySelectorProps>((props, ref) => (\n <Select\n ref={ref}\n label=\"Category\"\n placeholder=\"Select category\"\n searchable\n optionsEndpoint=\"commerce-api/select-api/categories\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name', descriptionKey: 'path' }}\n transformDescription={formatCategoryPath}\n {...props}\n params={{ role: 'CATEGORY', status: 'active', ...props.params }}\n />\n));\nCategorySelector.displayName = 'CategorySelector';\n","import { forwardRef } from 'react';\nimport { SelectFilter, type SelectFilterProps } from '../../components/Select/SelectFilter';\nimport { formatCategoryPath } from './CategorySelector';\n\nexport type CategoryFilterProps = Omit<SelectFilterProps, 'optionsEndpoint' | 'name'> & { name?: string };\n\n// Pre-configured SelectFilter for category filtering with async search\nexport const CategoryFilter = Object.assign(\n forwardRef<HTMLButtonElement, CategoryFilterProps>((props, ref) => (\n <SelectFilter\n ref={ref}\n name=\"categoryId\"\n label=\"Category\"\n placeholder=\"Select category\"\n optionsEndpoint=\"commerce-api/select-api/categories\"\n fieldKeys={{ valueKey: 'id', labelKey: 'name', descriptionKey: 'path' }}\n transformDescription={formatCategoryPath}\n {...props}\n params={{ role: 'CATEGORY', status: 'active', ...props.params }}\n />\n )),\n { displayName: 'CategoryFilter', defaultLabel: 'Category', defaultName: 'categoryId' },\n);\n"],"names":[],"mappings":";;;;;AAMO,MAAM,kBAAA,GAAqB,CAAC,IAAA,KACjC,IAAA,CACG,KAAA,CAAM,GAAG,CAAA,CACT,KAAA,CAAM,CAAA,EAAG,EAAE,CAAA,CACX,GAAA,CAAI,CAAC,OAAA,KAAY,OAAA,CAAQ,OAAA,CAAQ,IAAA,EAAM,GAAG,CAAA,CAAE,OAAA,CAAQ,OAAA,EAAS,CAAC,CAAA,KAAM,CAAA,CAAE,WAAA,EAAa,CAAC,CAAA,CACpF,KAAK,KAAK;AAGR,MAAM,gBAAA,GAAmB,UAAA,CAAqD,CAAC,KAAA,EAAO,GAAA,qBAC3F,GAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,GAAA;AAAA,IACA,KAAA,EAAM,UAAA;AAAA,IACN,WAAA,EAAY,iBAAA;AAAA,IACZ,UAA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