@kosdev-code/kos-dispense-sdk 2.1.38 → 2.1.39

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 (38) hide show
  1. package/dispense-registration-manager-C6k10ipu.cjs +2698 -0
  2. package/dispense-registration-manager-C6k10ipu.cjs.map +1 -0
  3. package/dispense-registration-manager-lJlcyq5G.js +2700 -0
  4. package/dispense-registration-manager-lJlcyq5G.js.map +1 -0
  5. package/{extension-utils-DrsPfQWC.js → extension-utils-AS0Z5eod.js} +194 -157
  6. package/{extension-utils-DrsPfQWC.js.map → extension-utils-AS0Z5eod.js.map} +1 -1
  7. package/extension-utils-DNbm2KRk.cjs +500 -0
  8. package/{extension-utils-BDyaRwRN.cjs.map → extension-utils-DNbm2KRk.cjs.map} +1 -1
  9. package/index.cjs +142 -1
  10. package/index.cjs.map +1 -1
  11. package/index.js +124 -121
  12. package/index.js.map +1 -1
  13. package/kos-models.json +1 -1
  14. package/models/models/assembly/holder-utils.d.ts.map +1 -1
  15. package/models/models/holder/holder-model.d.ts.map +1 -1
  16. package/models/models/holder/types/index.d.ts +2 -0
  17. package/models/models/nozzle/nozzle-model.d.ts +1 -0
  18. package/models/models/nozzle/nozzle-model.d.ts.map +1 -1
  19. package/models/models/types/assembly.d.ts +1 -0
  20. package/models/models/types/assembly.d.ts.map +1 -1
  21. package/models.cjs +47 -1
  22. package/models.cjs.map +1 -1
  23. package/models.js +40 -40
  24. package/package.json +14 -2
  25. package/pump-provider-BSEusYig.js +1825 -0
  26. package/{pump-provider-Bytd6qXc.js.map → pump-provider-BSEusYig.js.map} +1 -1
  27. package/pump-provider-D4Ed_gH6.cjs +1824 -0
  28. package/{pump-provider-CTELJBW5.cjs.map → pump-provider-D4Ed_gH6.cjs.map} +1 -1
  29. package/ui.cjs +73 -1
  30. package/ui.cjs.map +1 -1
  31. package/ui.js +67 -67
  32. package/dispense-registration-manager-Cj0565Ze.cjs +0 -2
  33. package/dispense-registration-manager-Cj0565Ze.cjs.map +0 -1
  34. package/dispense-registration-manager-CzAqcL8D.js +0 -2044
  35. package/dispense-registration-manager-CzAqcL8D.js.map +0 -1
  36. package/extension-utils-BDyaRwRN.cjs +0 -2
  37. package/pump-provider-Bytd6qXc.js +0 -1308
  38. package/pump-provider-CTELJBW5.cjs +0 -2
package/index.cjs CHANGED
@@ -1,2 +1,143 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@kosdev-code/kos-api-levels"),i=require("@kosdev-code/kos-ui-plugin/utilities"),r=require("./dispense-registration-manager-Cj0565Ze.cjs"),o=require("./extension-utils-BDyaRwRN.cjs"),e=require("./pump-provider-CTELJBW5.cjs");require("@kosdev-code/kos-ui-sdk");require("react");require("@emotion/react/jsx-runtime");const t=i.createExtensionSchema({},{rankable:!1}),n=i.extensionPointId("cui","control","pour"),d=i.defineExtensionPoint({id:n,contributionKey:"controlPour",displayName:"Control Pour",description:"Extension point for controlled pour plugin configurations with view support",hasView:!0,isRankable:!1,schema:t,metadata:{exportName:"ControlPourExtension",category:"Dispense",tags:["pour","control","beverage"]},validate:(s,a)=>{i.validateWithSchema(t,s,a)},transform:i.createViewAwareTransform()}),l=n;u.registerApiLevels({"kos-dispense-sdk":16});exports.Assembly=r.Assembly;exports.Availability=r.Availability;exports.Board=r.Board;exports.BoardContainer=r.BoardContainer;Object.defineProperty(exports,"BoardContainerModel",{enumerable:!0,get:()=>r.BoardContainerModel});exports.CONTEXT_ASSEMBLY_DATA=r.CONTEXT_ASSEMBLY_DATA;exports.CONTEXT_ASSEMBLY_RAW_DATA=r.CONTEXT_ASSEMBLY_RAW_DATA;exports.DeviceAssembly=r.DeviceAssembly;exports.DispenseModelType=r.DispenseModelType;exports.DispenserModels=r.kosModels;exports.ExtensionType=r.ExtensionType;exports.GenericPour=r.GenericPour;exports.Holder=r.Holder;exports.HolderContainer=r.HolderContainer;exports.Ingredient=r.Ingredient;exports.IngredientContainer=r.IngredientContainer;exports.KosModelRegistry=r.KosModelRegistry;exports.Nozzle=r.Nozzle;exports.PourState=r.PourState;exports.Pump=r.Pump;exports.PumpContainer=r.PumpContainer;exports.PumpIndex=r.PumpIndex;exports.TOPIC_BOARD_LINKED=r.TOPIC_BOARD_LINKED;exports.TOPIC_BOARD_UNLINKED=r.TOPIC_BOARD_UNLINKED;exports.TOPIC_GENERIC_POUR_CANCEL=r.TOPIC_GENERIC_POUR_CANCEL;exports.TOPIC_GENERIC_POUR_PROGRESS=r.TOPIC_GENERIC_POUR_PROGRESS;exports.TOPIC_GENERIC_POUR_STARTED=r.TOPIC_GENERIC_POUR_STARTED;exports.kosModels=r.kosModels;exports.registerDispenseModels=r.registerDispenseModels;exports.AssemblyServices=o.index;exports.AssemblyTypes=o.assembly;exports.DispenseExtensionManager=o.DispenseExtensionManager;exports.GenericPourServices=o.index$1;exports.HolderServices=o.index$2;exports.IngredientServices=o.index$3;exports.KosExtensionManager=o.KosExtensionManager;exports.NozzleServices=o.index$4;exports.PumpServices=o.index$5;exports.getFuelGaugeValue=o.getFuelGaugeValue;exports.AssemblyProvider=e.AssemblyProvider;exports.AvailabilityProvider=e.AvailabilityProvider;exports.BoardContainerProvider=e.BoardContainerProvider;exports.BoardProvider=e.BoardProvider;exports.CuiKit=e.CuiKit;exports.CuiKitWrapper=e.CuiKitWrapper;exports.DISPENSE_GROUP_BEVERAGE=e.DISPENSE_GROUP_BEVERAGE;exports.DISPENSE_GROUP_BRAND=e.DISPENSE_GROUP_BRAND;exports.DISPENSE_GROUP_FLAVOR=e.DISPENSE_GROUP_FLAVOR;exports.DeviceAssemblyProvider=e.DeviceAssemblyProvider;exports.HoldToPourIntentStrategy=e.HoldToPourIntentStrategy;exports.HoldToPourStrategy=e.HoldToPourStrategy;exports.HolderContainerProvider=e.HolderContainerProvider;exports.HolderProvider=e.HolderProvider;exports.IngredientContainerProvider=e.IngredientContainerProvider;exports.IngredientProvider=e.IngredientProvider;exports.NozzleProvider=e.NozzleProvider;exports.PourContext=e.PourContext;exports.PumpProvider=e.PumpProvider;exports.TapOrHoldIntentStrategy=e.TapOrHoldIntentStrategy;exports.TapToPourIntentStrategy=e.TapToPourIntentStrategy;exports.TapToPourStrategy=e.TapToPourStrategy;exports.initializeCuiKit=e.initializeCuiKit;exports.useAssembly=e.useAssembly;exports.useAssemblyContext=e.useAssemblyContext;exports.useAvailability=e.useAvailability;exports.useAvailabilityContext=e.useAvailabilityContext;exports.useBeverages=e.useBeverages;exports.useBoard=e.useBoard;exports.useBoardContainer=e.useBoardContainer;exports.useBoardContainerContext=e.useBoardContainerContext;exports.useBoardContext=e.useBoardContext;exports.useBrands=e.useBrands;exports.useCuiKit=e.useCuiKit;exports.useCuiKitTimers=e.useCuiKitTimers;exports.useDefaultCuiKitLifecycle=e.useDefaultCuiKitLifecycle;exports.useDeviceAssembly=e.useDeviceAssembly;exports.useDeviceAssemblyContext=e.useDeviceAssemblyContext;exports.useDispenseLifecycle=e.useDispenseLifecycle;exports.useFlavors=e.useFlavors;exports.useGenericPour=e.useGenericPour;exports.useHolder=e.useHolder;exports.useHolderContainer=e.useHolderContainer;exports.useHolderContainerContext=e.useHolderContainerContext;exports.useHolderContext=e.useHolderContext;exports.useIngredient=e.useIngredient;exports.useIngredientContainer=e.useIngredientContainer;exports.useIngredientContainerContext=e.useIngredientContainerContext;exports.useIngredientContext=e.useIngredientContext;exports.useIngredientPour=e.useIngredientPour;exports.useNozzle=e.useNozzle;exports.useNozzleContext=e.useNozzleContext;exports.useNozzlePour=e.useNozzlePour;exports.usePourTarget=e.usePourTarget;exports.usePumpContext=e.usePumpContext;exports.withAssembly=e.withAssembly;exports.withBeverage=e.withBeverage;exports.withBoard=e.withBoard;exports.withBoardContainer=e.withBoardContainer;exports.withDeviceAssembly=e.withDeviceAssembly;exports.withGenericPour=e.withGenericPour;exports.withHolder=e.withHolder;exports.withHolderContainer=e.withHolderContainer;exports.withIngredient=e.withIngredient;exports.withIngredientContainer=e.withIngredientContainer;exports.withNozzle=e.withNozzle;exports.ControlPourExtension=d;exports.EXTENSION_POINT_CONTROL_POUR=l;
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const kosApiLevels = require("@kosdev-code/kos-api-levels");
4
+ const utilities = require("@kosdev-code/kos-ui-plugin/utilities");
5
+ const dispenseRegistrationManager = require("./dispense-registration-manager-C6k10ipu.cjs");
6
+ const extensionUtils = require("./extension-utils-DNbm2KRk.cjs");
7
+ const pumpProvider = require("./pump-provider-D4Ed_gH6.cjs");
8
+ require("@kosdev-code/kos-ui-sdk");
9
+ require("react");
10
+ require("@emotion/react/jsx-runtime");
11
+ const ControlPourSchema = utilities.createExtensionSchema({}, { rankable: false });
12
+ const EXTENSION_ID = utilities.extensionPointId("cui", "control", "pour");
13
+ const ControlPourExtension = utilities.defineExtensionPoint({
14
+ id: EXTENSION_ID,
15
+ contributionKey: "controlPour",
16
+ displayName: "Control Pour",
17
+ description: "Extension point for controlled pour plugin configurations with view support",
18
+ hasView: true,
19
+ isRankable: false,
20
+ schema: ControlPourSchema,
21
+ metadata: {
22
+ exportName: "ControlPourExtension",
23
+ category: "Dispense",
24
+ tags: ["pour", "control", "beverage"]
25
+ },
26
+ validate: (data, context) => {
27
+ utilities.validateWithSchema(ControlPourSchema, data, context);
28
+ },
29
+ transform: utilities.createViewAwareTransform()
30
+ });
31
+ const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;
32
+ kosApiLevels.registerApiLevels({ "kos-dispense-sdk": 16 });
33
+ exports.Assembly = dispenseRegistrationManager.Assembly;
34
+ exports.Availability = dispenseRegistrationManager.Availability;
35
+ exports.Board = dispenseRegistrationManager.Board;
36
+ exports.BoardContainer = dispenseRegistrationManager.BoardContainer;
37
+ Object.defineProperty(exports, "BoardContainerModel", {
38
+ enumerable: true,
39
+ get: () => dispenseRegistrationManager.BoardContainerModel
40
+ });
41
+ exports.CONTEXT_ASSEMBLY_DATA = dispenseRegistrationManager.CONTEXT_ASSEMBLY_DATA;
42
+ exports.CONTEXT_ASSEMBLY_RAW_DATA = dispenseRegistrationManager.CONTEXT_ASSEMBLY_RAW_DATA;
43
+ exports.DeviceAssembly = dispenseRegistrationManager.DeviceAssembly;
44
+ exports.DispenseModelType = dispenseRegistrationManager.DispenseModelType;
45
+ exports.DispenserModels = dispenseRegistrationManager.kosModels;
46
+ exports.ExtensionType = dispenseRegistrationManager.ExtensionType;
47
+ exports.GenericPour = dispenseRegistrationManager.GenericPour;
48
+ exports.Holder = dispenseRegistrationManager.Holder;
49
+ exports.HolderContainer = dispenseRegistrationManager.HolderContainer;
50
+ exports.Ingredient = dispenseRegistrationManager.Ingredient;
51
+ exports.IngredientContainer = dispenseRegistrationManager.IngredientContainer;
52
+ exports.KosModelRegistry = dispenseRegistrationManager.KosModelRegistry;
53
+ exports.Nozzle = dispenseRegistrationManager.Nozzle;
54
+ exports.PourState = dispenseRegistrationManager.PourState;
55
+ exports.Pump = dispenseRegistrationManager.Pump;
56
+ exports.PumpContainer = dispenseRegistrationManager.PumpContainer;
57
+ exports.PumpIndex = dispenseRegistrationManager.PumpIndex;
58
+ exports.TOPIC_BOARD_LINKED = dispenseRegistrationManager.TOPIC_BOARD_LINKED;
59
+ exports.TOPIC_BOARD_UNLINKED = dispenseRegistrationManager.TOPIC_BOARD_UNLINKED;
60
+ exports.TOPIC_GENERIC_POUR_CANCEL = dispenseRegistrationManager.TOPIC_GENERIC_POUR_CANCEL;
61
+ exports.TOPIC_GENERIC_POUR_PROGRESS = dispenseRegistrationManager.TOPIC_GENERIC_POUR_PROGRESS;
62
+ exports.TOPIC_GENERIC_POUR_STARTED = dispenseRegistrationManager.TOPIC_GENERIC_POUR_STARTED;
63
+ exports.kosModels = dispenseRegistrationManager.kosModels;
64
+ exports.registerDispenseModels = dispenseRegistrationManager.registerDispenseModels;
65
+ exports.AssemblyServices = extensionUtils.index;
66
+ exports.AssemblyTypes = extensionUtils.assembly;
67
+ exports.DispenseExtensionManager = extensionUtils.DispenseExtensionManager;
68
+ exports.GenericPourServices = extensionUtils.index$1;
69
+ exports.HolderServices = extensionUtils.index$2;
70
+ exports.IngredientServices = extensionUtils.index$3;
71
+ exports.KosExtensionManager = extensionUtils.KosExtensionManager;
72
+ exports.NozzleServices = extensionUtils.index$4;
73
+ exports.PumpServices = extensionUtils.index$5;
74
+ exports.getFuelGaugeValue = extensionUtils.getFuelGaugeValue;
75
+ exports.AssemblyProvider = pumpProvider.AssemblyProvider;
76
+ exports.AvailabilityProvider = pumpProvider.AvailabilityProvider;
77
+ exports.BoardContainerProvider = pumpProvider.BoardContainerProvider;
78
+ exports.BoardProvider = pumpProvider.BoardProvider;
79
+ exports.CuiKit = pumpProvider.CuiKit;
80
+ exports.CuiKitWrapper = pumpProvider.CuiKitWrapper;
81
+ exports.DISPENSE_GROUP_BEVERAGE = pumpProvider.DISPENSE_GROUP_BEVERAGE;
82
+ exports.DISPENSE_GROUP_BRAND = pumpProvider.DISPENSE_GROUP_BRAND;
83
+ exports.DISPENSE_GROUP_FLAVOR = pumpProvider.DISPENSE_GROUP_FLAVOR;
84
+ exports.DeviceAssemblyProvider = pumpProvider.DeviceAssemblyProvider;
85
+ exports.HoldToPourIntentStrategy = pumpProvider.HoldToPourIntentStrategy;
86
+ exports.HoldToPourStrategy = pumpProvider.HoldToPourStrategy;
87
+ exports.HolderContainerProvider = pumpProvider.HolderContainerProvider;
88
+ exports.HolderProvider = pumpProvider.HolderProvider;
89
+ exports.IngredientContainerProvider = pumpProvider.IngredientContainerProvider;
90
+ exports.IngredientProvider = pumpProvider.IngredientProvider;
91
+ exports.NozzleProvider = pumpProvider.NozzleProvider;
92
+ exports.PourContext = pumpProvider.PourContext;
93
+ exports.PumpProvider = pumpProvider.PumpProvider;
94
+ exports.TapOrHoldIntentStrategy = pumpProvider.TapOrHoldIntentStrategy;
95
+ exports.TapToPourIntentStrategy = pumpProvider.TapToPourIntentStrategy;
96
+ exports.TapToPourStrategy = pumpProvider.TapToPourStrategy;
97
+ exports.initializeCuiKit = pumpProvider.initializeCuiKit;
98
+ exports.useAssembly = pumpProvider.useAssembly;
99
+ exports.useAssemblyContext = pumpProvider.useAssemblyContext;
100
+ exports.useAvailability = pumpProvider.useAvailability;
101
+ exports.useAvailabilityContext = pumpProvider.useAvailabilityContext;
102
+ exports.useBeverages = pumpProvider.useBeverages;
103
+ exports.useBoard = pumpProvider.useBoard;
104
+ exports.useBoardContainer = pumpProvider.useBoardContainer;
105
+ exports.useBoardContainerContext = pumpProvider.useBoardContainerContext;
106
+ exports.useBoardContext = pumpProvider.useBoardContext;
107
+ exports.useBrands = pumpProvider.useBrands;
108
+ exports.useCuiKit = pumpProvider.useCuiKit;
109
+ exports.useCuiKitTimers = pumpProvider.useCuiKitTimers;
110
+ exports.useDefaultCuiKitLifecycle = pumpProvider.useDefaultCuiKitLifecycle;
111
+ exports.useDeviceAssembly = pumpProvider.useDeviceAssembly;
112
+ exports.useDeviceAssemblyContext = pumpProvider.useDeviceAssemblyContext;
113
+ exports.useDispenseLifecycle = pumpProvider.useDispenseLifecycle;
114
+ exports.useFlavors = pumpProvider.useFlavors;
115
+ exports.useGenericPour = pumpProvider.useGenericPour;
116
+ exports.useHolder = pumpProvider.useHolder;
117
+ exports.useHolderContainer = pumpProvider.useHolderContainer;
118
+ exports.useHolderContainerContext = pumpProvider.useHolderContainerContext;
119
+ exports.useHolderContext = pumpProvider.useHolderContext;
120
+ exports.useIngredient = pumpProvider.useIngredient;
121
+ exports.useIngredientContainer = pumpProvider.useIngredientContainer;
122
+ exports.useIngredientContainerContext = pumpProvider.useIngredientContainerContext;
123
+ exports.useIngredientContext = pumpProvider.useIngredientContext;
124
+ exports.useIngredientPour = pumpProvider.useIngredientPour;
125
+ exports.useNozzle = pumpProvider.useNozzle;
126
+ exports.useNozzleContext = pumpProvider.useNozzleContext;
127
+ exports.useNozzlePour = pumpProvider.useNozzlePour;
128
+ exports.usePourTarget = pumpProvider.usePourTarget;
129
+ exports.usePumpContext = pumpProvider.usePumpContext;
130
+ exports.withAssembly = pumpProvider.withAssembly;
131
+ exports.withBeverage = pumpProvider.withBeverage;
132
+ exports.withBoard = pumpProvider.withBoard;
133
+ exports.withBoardContainer = pumpProvider.withBoardContainer;
134
+ exports.withDeviceAssembly = pumpProvider.withDeviceAssembly;
135
+ exports.withGenericPour = pumpProvider.withGenericPour;
136
+ exports.withHolder = pumpProvider.withHolder;
137
+ exports.withHolderContainer = pumpProvider.withHolderContainer;
138
+ exports.withIngredient = pumpProvider.withIngredient;
139
+ exports.withIngredientContainer = pumpProvider.withIngredientContainer;
140
+ exports.withNozzle = pumpProvider.withNozzle;
141
+ exports.ControlPourExtension = ControlPourExtension;
142
+ exports.EXTENSION_POINT_CONTROL_POUR = EXTENSION_POINT_CONTROL_POUR;
2
143
  //# sourceMappingURL=index.cjs.map
package/index.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport type { ValidationContext } from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport {\n createExtensionSchema,\n extensionPointId,\n createViewAwareTransform,\n defineExtensionPoint,\n validateWithSchema,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/api-archaeology-report.md, produced by the archaeology scanner.\nregisterApiLevels({ \"kos-dispense-sdk\": 16 });\n\nexport * from \"./extensions\";\nexport * from \"./models\";\nexport { kosModels as DispenserModels } from \"./models\";\nexport * from \"./models/models/generic-pour\";\nexport * from \"./ui\";\n"],"names":["ControlPourSchema","createExtensionSchema","EXTENSION_ID","extensionPointId","ControlPourExtension","defineExtensionPoint","data","context","validateWithSchema","createViewAwareTransform","EXTENSION_POINT_CONTROL_POUR","registerApiLevels"],"mappings":"2ZAYA,MAAMA,EAAoBC,EAAAA,sBAAsB,CAAA,EAAI,CAAE,SAAU,GAAO,EAKjEC,EAAeC,EAAAA,iBAAiB,MAAO,UAAW,MAAM,EAQjDC,EAAuBC,EAAAA,qBAGlC,CACA,GAAIH,EACJ,gBAAiB,cACjB,YAAa,eACb,YACE,8EACF,QAAS,GACT,WAAY,GAEZ,OAAQF,EACR,SAAU,CACR,WAAY,uBACZ,SAAU,WACV,KAAM,CAAC,OAAQ,UAAW,UAAU,CAAA,EAGtC,SAAU,CAACM,EAA6BC,IAA+B,CAErEC,qBAAmBR,EAAmBM,EAAMC,CAAO,CACrD,EAEA,UAAWE,EAAAA,yBAAA,CACb,CAAC,EAGYC,EAA+BR,EChD5CS,EAAAA,kBAAkB,CAAE,mBAAoB,GAAI"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport type { ValidationContext } from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport {\n createExtensionSchema,\n extensionPointId,\n createViewAwareTransform,\n defineExtensionPoint,\n validateWithSchema,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/api-archaeology-report.md, produced by the archaeology scanner.\nregisterApiLevels({ \"kos-dispense-sdk\": 16 });\n\nexport * from \"./extensions\";\nexport * from \"./models\";\nexport { kosModels as DispenserModels } from \"./models\";\nexport * from \"./models/models/generic-pour\";\nexport * from \"./ui\";\n"],"names":["createExtensionSchema","extensionPointId","defineExtensionPoint","validateWithSchema","createViewAwareTransform","registerApiLevels"],"mappings":";;;;;;;;;;AAYA,MAAM,oBAAoBA,UAAAA,sBAAsB,CAAA,GAAI,EAAE,UAAU,OAAO;AAKvE,MAAM,eAAeC,UAAAA,iBAAiB,OAAO,WAAW,MAAM;AAQvD,MAAM,uBAAuBC,UAAAA,qBAGlC;AAAA,EACA,IAAI;AAAA,EACJ,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,aACE;AAAA,EACF,SAAS;AAAA,EACT,YAAY;AAAA,EAEZ,QAAQ;AAAA,EACR,UAAU;AAAA,IACR,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAAA;AAAA,EAGtC,UAAU,CAAC,MAA6B,YAA+B;AAErEC,iCAAmB,mBAAmB,MAAM,OAAO;AAAA,EACrD;AAAA,EAEA,WAAWC,UAAAA,yBAAA;AACb,CAAC;AAGM,MAAM,+BAA+B;AChD5CC,aAAAA,kBAAkB,EAAE,oBAAoB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/index.js CHANGED
@@ -1,137 +1,140 @@
1
- import { registerApiLevels as r } from "@kosdev-code/kos-api-levels";
2
- import { createExtensionSchema as t, extensionPointId as i, defineExtensionPoint as n, createViewAwareTransform as u, validateWithSchema as l } from "@kosdev-code/kos-ui-plugin/utilities";
3
- import { A as v, b as A, e as T, d as y, B as S, C as N, a as _, f as x, D, o as O, E as b, G as R, H as B, j as h, I as f, k as w, K as z, N as H, n as G, P as K, l as L, m as M, T as U, c as k, g as V, h as X, i as F, o as W, r as Y } from "./dispense-registration-manager-CzAqcL8D.js";
4
- import { i as q, f as J, D as Q, a as Z, b as $, c as ee, K as se, d as ae, e as oe, g as re } from "./extension-utils-DrsPfQWC.js";
5
- import { A as ie, a as ne, d as ue, B as le, f as de, C as Pe, G as Ce, F as pe, J as ce, D as me, a4 as Ee, a5 as Ie, j as ge, H as ve, m as Ae, I as Te, N as ye, ab as Se, P as Ne, a6 as _e, a7 as xe, a8 as De, i as Oe, q as be, u as Re, r as Be, b as he, z as fe, t as we, x as ze, e as He, c as Ge, E as Ke, K as Le, O as Me, L as Ue, R as ke, g as Ve, M as Xe, Q as Fe, a9 as We, T as Ye, V as je, k as qe, h as Je, X as Qe, _ as Ze, n as $e, l as es, Y as ss, a0 as as, o as os, a2 as rs, a3 as ts, p as is, w as ns, s as us, v as ls, y as ds, S as Ps, aa as Cs, U as ps, W as cs, Z as ms, $ as Es, a1 as Is } from "./pump-provider-Bytd6qXc.js";
1
+ import { registerApiLevels } from "@kosdev-code/kos-api-levels";
2
+ import { createExtensionSchema, extensionPointId, defineExtensionPoint, createViewAwareTransform, validateWithSchema } from "@kosdev-code/kos-ui-plugin/utilities";
3
+ import { A, b, e, d, B, C, a, f, D, o, E, G, H, j, I, k, K, N, n, P, l, m, T, c, g, h, i, o as o2, r } from "./dispense-registration-manager-lJlcyq5G.js";
4
+ import { i as i2, f as f2, D as D2, a as a2, b as b2, c as c2, K as K2, d as d2, e as e2, g as g2 } from "./extension-utils-AS0Z5eod.js";
5
+ import { A as A2, a as a3, d as d3, B as B2, f as f3, C as C2, G as G2, F, J, D as D3, a4, a5, j as j2, H as H2, m as m2, I as I2, N as N2, ab, P as P2, a6, a7, a8, i as i3, q, u, r as r2, b as b3, z, t, x, e as e3, c as c3, E as E2, K as K3, O, L, R, g as g3, M, Q, a9, T as T2, V, k as k2, h as h2, X, _, n as n2, l as l2, Y, a0, o as o3, a2 as a22, a3 as a32, p, w, s, v, y, S, aa, U, W, Z, $, a1 } from "./pump-provider-BSEusYig.js";
6
6
  import "@kosdev-code/kos-ui-sdk";
7
7
  import "react";
8
8
  import "@emotion/react/jsx-runtime";
9
- const e = t({}, { rankable: !1 }), s = i("cui", "control", "pour"), m = n({
10
- id: s,
9
+ const ControlPourSchema = createExtensionSchema({}, { rankable: false });
10
+ const EXTENSION_ID = extensionPointId("cui", "control", "pour");
11
+ const ControlPourExtension = defineExtensionPoint({
12
+ id: EXTENSION_ID,
11
13
  contributionKey: "controlPour",
12
14
  displayName: "Control Pour",
13
15
  description: "Extension point for controlled pour plugin configurations with view support",
14
- hasView: !0,
15
- isRankable: !1,
16
- schema: e,
16
+ hasView: true,
17
+ isRankable: false,
18
+ schema: ControlPourSchema,
17
19
  metadata: {
18
20
  exportName: "ControlPourExtension",
19
21
  category: "Dispense",
20
22
  tags: ["pour", "control", "beverage"]
21
23
  },
22
- validate: (a, o) => {
23
- l(e, a, o);
24
+ validate: (data, context) => {
25
+ validateWithSchema(ControlPourSchema, data, context);
24
26
  },
25
- transform: u()
26
- }), E = s;
27
- r({ "kos-dispense-sdk": 16 });
27
+ transform: createViewAwareTransform()
28
+ });
29
+ const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;
30
+ registerApiLevels({ "kos-dispense-sdk": 16 });
28
31
  export {
29
- v as Assembly,
30
- ie as AssemblyProvider,
31
- q as AssemblyServices,
32
- J as AssemblyTypes,
33
- A as Availability,
34
- ne as AvailabilityProvider,
35
- T as Board,
36
- y as BoardContainer,
37
- S as BoardContainerModel,
38
- ue as BoardContainerProvider,
39
- le as BoardProvider,
40
- N as CONTEXT_ASSEMBLY_DATA,
41
- _ as CONTEXT_ASSEMBLY_RAW_DATA,
42
- m as ControlPourExtension,
43
- de as CuiKit,
44
- Pe as CuiKitWrapper,
45
- Ce as DISPENSE_GROUP_BEVERAGE,
46
- pe as DISPENSE_GROUP_BRAND,
47
- ce as DISPENSE_GROUP_FLAVOR,
48
- x as DeviceAssembly,
49
- me as DeviceAssemblyProvider,
50
- Q as DispenseExtensionManager,
32
+ A as Assembly,
33
+ A2 as AssemblyProvider,
34
+ i2 as AssemblyServices,
35
+ f2 as AssemblyTypes,
36
+ b as Availability,
37
+ a3 as AvailabilityProvider,
38
+ e as Board,
39
+ d as BoardContainer,
40
+ B as BoardContainerModel,
41
+ d3 as BoardContainerProvider,
42
+ B2 as BoardProvider,
43
+ C as CONTEXT_ASSEMBLY_DATA,
44
+ a as CONTEXT_ASSEMBLY_RAW_DATA,
45
+ ControlPourExtension,
46
+ f3 as CuiKit,
47
+ C2 as CuiKitWrapper,
48
+ G2 as DISPENSE_GROUP_BEVERAGE,
49
+ F as DISPENSE_GROUP_BRAND,
50
+ J as DISPENSE_GROUP_FLAVOR,
51
+ f as DeviceAssembly,
52
+ D3 as DeviceAssemblyProvider,
53
+ D2 as DispenseExtensionManager,
51
54
  D as DispenseModelType,
52
- O as DispenserModels,
53
- E as EXTENSION_POINT_CONTROL_POUR,
54
- b as ExtensionType,
55
- R as GenericPour,
56
- Z as GenericPourServices,
57
- Ee as HoldToPourIntentStrategy,
58
- Ie as HoldToPourStrategy,
59
- B as Holder,
60
- h as HolderContainer,
61
- ge as HolderContainerProvider,
62
- ve as HolderProvider,
63
- $ as HolderServices,
64
- f as Ingredient,
65
- w as IngredientContainer,
66
- Ae as IngredientContainerProvider,
67
- Te as IngredientProvider,
68
- ee as IngredientServices,
69
- se as KosExtensionManager,
70
- z as KosModelRegistry,
71
- H as Nozzle,
72
- ye as NozzleProvider,
73
- ae as NozzleServices,
74
- Se as PourContext,
75
- G as PourState,
76
- K as Pump,
77
- L as PumpContainer,
78
- M as PumpIndex,
79
- Ne as PumpProvider,
80
- oe as PumpServices,
81
- U as TOPIC_BOARD_LINKED,
82
- k as TOPIC_BOARD_UNLINKED,
83
- V as TOPIC_GENERIC_POUR_CANCEL,
84
- X as TOPIC_GENERIC_POUR_PROGRESS,
85
- F as TOPIC_GENERIC_POUR_STARTED,
86
- _e as TapOrHoldIntentStrategy,
87
- xe as TapToPourIntentStrategy,
88
- De as TapToPourStrategy,
89
- re as getFuelGaugeValue,
90
- Oe as initializeCuiKit,
91
- W as kosModels,
92
- Y as registerDispenseModels,
93
- be as useAssembly,
94
- Re as useAssemblyContext,
95
- Be as useAvailability,
96
- he as useAvailabilityContext,
97
- fe as useBeverages,
98
- we as useBoard,
99
- ze as useBoardContainer,
100
- He as useBoardContainerContext,
101
- Ge as useBoardContext,
102
- Ke as useBrands,
103
- Le as useCuiKit,
104
- Me as useCuiKitTimers,
105
- Ue as useDefaultCuiKitLifecycle,
106
- ke as useDeviceAssembly,
107
- Ve as useDeviceAssemblyContext,
108
- Xe as useDispenseLifecycle,
109
- Fe as useFlavors,
110
- We as useGenericPour,
111
- Ye as useHolder,
112
- je as useHolderContainer,
113
- qe as useHolderContainerContext,
114
- Je as useHolderContext,
115
- Qe as useIngredient,
116
- Ze as useIngredientContainer,
117
- $e as useIngredientContainerContext,
118
- es as useIngredientContext,
119
- ss as useIngredientPour,
120
- as as useNozzle,
121
- os as useNozzleContext,
122
- rs as useNozzlePour,
123
- ts as usePourTarget,
124
- is as usePumpContext,
125
- ns as withAssembly,
126
- us as withBeverage,
127
- ls as withBoard,
128
- ds as withBoardContainer,
129
- Ps as withDeviceAssembly,
130
- Cs as withGenericPour,
131
- ps as withHolder,
132
- cs as withHolderContainer,
133
- ms as withIngredient,
134
- Es as withIngredientContainer,
135
- Is as withNozzle
55
+ o as DispenserModels,
56
+ EXTENSION_POINT_CONTROL_POUR,
57
+ E as ExtensionType,
58
+ G as GenericPour,
59
+ a2 as GenericPourServices,
60
+ a4 as HoldToPourIntentStrategy,
61
+ a5 as HoldToPourStrategy,
62
+ H as Holder,
63
+ j as HolderContainer,
64
+ j2 as HolderContainerProvider,
65
+ H2 as HolderProvider,
66
+ b2 as HolderServices,
67
+ I as Ingredient,
68
+ k as IngredientContainer,
69
+ m2 as IngredientContainerProvider,
70
+ I2 as IngredientProvider,
71
+ c2 as IngredientServices,
72
+ K2 as KosExtensionManager,
73
+ K as KosModelRegistry,
74
+ N as Nozzle,
75
+ N2 as NozzleProvider,
76
+ d2 as NozzleServices,
77
+ ab as PourContext,
78
+ n as PourState,
79
+ P as Pump,
80
+ l as PumpContainer,
81
+ m as PumpIndex,
82
+ P2 as PumpProvider,
83
+ e2 as PumpServices,
84
+ T as TOPIC_BOARD_LINKED,
85
+ c as TOPIC_BOARD_UNLINKED,
86
+ g as TOPIC_GENERIC_POUR_CANCEL,
87
+ h as TOPIC_GENERIC_POUR_PROGRESS,
88
+ i as TOPIC_GENERIC_POUR_STARTED,
89
+ a6 as TapOrHoldIntentStrategy,
90
+ a7 as TapToPourIntentStrategy,
91
+ a8 as TapToPourStrategy,
92
+ g2 as getFuelGaugeValue,
93
+ i3 as initializeCuiKit,
94
+ o2 as kosModels,
95
+ r as registerDispenseModels,
96
+ q as useAssembly,
97
+ u as useAssemblyContext,
98
+ r2 as useAvailability,
99
+ b3 as useAvailabilityContext,
100
+ z as useBeverages,
101
+ t as useBoard,
102
+ x as useBoardContainer,
103
+ e3 as useBoardContainerContext,
104
+ c3 as useBoardContext,
105
+ E2 as useBrands,
106
+ K3 as useCuiKit,
107
+ O as useCuiKitTimers,
108
+ L as useDefaultCuiKitLifecycle,
109
+ R as useDeviceAssembly,
110
+ g3 as useDeviceAssemblyContext,
111
+ M as useDispenseLifecycle,
112
+ Q as useFlavors,
113
+ a9 as useGenericPour,
114
+ T2 as useHolder,
115
+ V as useHolderContainer,
116
+ k2 as useHolderContainerContext,
117
+ h2 as useHolderContext,
118
+ X as useIngredient,
119
+ _ as useIngredientContainer,
120
+ n2 as useIngredientContainerContext,
121
+ l2 as useIngredientContext,
122
+ Y as useIngredientPour,
123
+ a0 as useNozzle,
124
+ o3 as useNozzleContext,
125
+ a22 as useNozzlePour,
126
+ a32 as usePourTarget,
127
+ p as usePumpContext,
128
+ w as withAssembly,
129
+ s as withBeverage,
130
+ v as withBoard,
131
+ y as withBoardContainer,
132
+ S as withDeviceAssembly,
133
+ aa as withGenericPour,
134
+ U as withHolder,
135
+ W as withHolderContainer,
136
+ Z as withIngredient,
137
+ $ as withIngredientContainer,
138
+ a1 as withNozzle
136
139
  };
137
140
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport type { ValidationContext } from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport {\n createExtensionSchema,\n extensionPointId,\n createViewAwareTransform,\n defineExtensionPoint,\n validateWithSchema,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/api-archaeology-report.md, produced by the archaeology scanner.\nregisterApiLevels({ \"kos-dispense-sdk\": 16 });\n\nexport * from \"./extensions\";\nexport * from \"./models\";\nexport { kosModels as DispenserModels } from \"./models\";\nexport * from \"./models/models/generic-pour\";\nexport * from \"./ui\";\n"],"names":["ControlPourSchema","createExtensionSchema","EXTENSION_ID","extensionPointId","ControlPourExtension","defineExtensionPoint","data","context","validateWithSchema","createViewAwareTransform","EXTENSION_POINT_CONTROL_POUR","registerApiLevels"],"mappings":";;;;;;;;AAYA,MAAMA,IAAoBC,EAAsB,CAAA,GAAI,EAAE,UAAU,IAAO,GAKjEC,IAAeC,EAAiB,OAAO,WAAW,MAAM,GAQjDC,IAAuBC,EAGlC;AAAA,EACA,IAAIH;AAAA,EACJ,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,aACE;AAAA,EACF,SAAS;AAAA,EACT,YAAY;AAAA,EAEZ,QAAQF;AAAA,EACR,UAAU;AAAA,IACR,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAAA;AAAA,EAGtC,UAAU,CAACM,GAA6BC,MAA+B;AAErE,IAAAC,EAAmBR,GAAmBM,GAAMC,CAAO;AAAA,EACrD;AAAA,EAEA,WAAWE,EAAA;AACb,CAAC,GAGYC,IAA+BR;AChD5CS,EAAkB,EAAE,oBAAoB,IAAI;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport type { ValidationContext } from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport {\n createExtensionSchema,\n extensionPointId,\n createViewAwareTransform,\n defineExtensionPoint,\n validateWithSchema,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/api-archaeology-report.md, produced by the archaeology scanner.\nregisterApiLevels({ \"kos-dispense-sdk\": 16 });\n\nexport * from \"./extensions\";\nexport * from \"./models\";\nexport { kosModels as DispenserModels } from \"./models\";\nexport * from \"./models/models/generic-pour\";\nexport * from \"./ui\";\n"],"names":[],"mappings":";;;;;;;;AAYA,MAAM,oBAAoB,sBAAsB,CAAA,GAAI,EAAE,UAAU,OAAO;AAKvE,MAAM,eAAe,iBAAiB,OAAO,WAAW,MAAM;AAQvD,MAAM,uBAAuB,qBAGlC;AAAA,EACA,IAAI;AAAA,EACJ,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,aACE;AAAA,EACF,SAAS;AAAA,EACT,YAAY;AAAA,EAEZ,QAAQ;AAAA,EACR,UAAU;AAAA,IACR,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAAA;AAAA,EAGtC,UAAU,CAAC,MAA6B,YAA+B;AAErE,uBAAmB,mBAAmB,MAAM,OAAO;AAAA,EACrD;AAAA,EAEA,WAAW,yBAAA;AACb,CAAC;AAGM,MAAM,+BAA+B;AChD5C,kBAAkB,EAAE,oBAAoB,IAAI;"}
package/kos-models.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-04-14T16:03:47.443Z",
2
+ "generatedAt": "2026-05-07T18:09:23.908Z",
3
3
  "packageName": "@kosdev-code/kos-dispense-sdk",
4
4
  "models": {
5
5
  "device-assembly-model": {
@@ -1 +1 @@
1
- {"version":3,"file":"holder-utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/assembly/holder-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,wBAAwB,0FAI5B,MAAM,cACD,eAAe,yBAAyB,CAAC,oCA2CtD,CAAC"}
1
+ {"version":3,"file":"holder-utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/assembly/holder-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,wBAAwB,0FAI5B,MAAM,cACD,eAAe,yBAAyB,CAAC,oCAoDtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"holder-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/holder/holder-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAIV,wBAAwB,EAGzB,MAAM,yBAAyB,CAAC;AAiCjC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM1D,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAoZD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+EK;AACL,eAAO,MAAM,MAAM,EAAE,QAAQ,CAC3B,wBAAwB,CAAC,WAAW,EAAE,aAAa,CAAC,CAWrD,CAAC"}
1
+ {"version":3,"file":"holder-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/holder/holder-model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAIV,wBAAwB,EAGzB,MAAM,yBAAyB,CAAC;AAiCjC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM1D,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAsZD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+EK;AACL,eAAO,MAAM,MAAM,EAAE,QAAQ,CAC3B,wBAAwB,CAAC,WAAW,EAAE,aAAa,CAAC,CAWrD,CAAC"}
@@ -15,6 +15,7 @@ export interface HolderOptions<AdditionalData extends object = any> {
15
15
  ingredientSource?: string;
16
16
  group: string;
17
17
  slice: HolderSlice;
18
+ attributes?: Record<string, any>;
18
19
  data: AdditionalData;
19
20
  }
20
21
 
@@ -54,6 +55,7 @@ export interface HolderModel<AdditionalData extends object = any>
54
55
  removed: boolean;
55
56
  unassigned: boolean;
56
57
  updateModel(options: HolderOptions): void;
58
+ attributes: Record<string, any>;
57
59
  data: AdditionalData;
58
60
 
59
61
  /**
@@ -144,6 +144,7 @@ declare class NozzleModelImpl implements PourStrategyAware {
144
144
  * */
145
145
  cancelPour(): Promise<void>;
146
146
  private updateGroupMembers;
147
+ reload(): Promise<void>;
147
148
  /** @internal */
148
149
  load(context?: KosContext): Promise<void>;
149
150
  updateAvailability(update: AvailabilityResponse): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"nozzle-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/nozzle/nozzle-model.ts"],"names":[],"mappings":"AACA,OAAO,EAuBL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAML,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,aAAa,EAKb,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAajB,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AACpE,eAAO,MAAM,0BAA0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","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/nozzle/nozzle-model.ts"],"names":[],"mappings":"AACA,OAAO,EAuBL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAML,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,aAAa,EAKb,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAajB,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AACpE,eAAO,MAAM,0BAA0B,8BAA8B,CAAC;AACtE,eAAO,MAAM,wBAAwB,4BAA4B,CAAC;AAMlE,KAAK,SAAS,GACV,YAAY,GACZ,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,CAAC;AAMrB,UAAU,eACR,SAAQ,eAAe,EACrB,aAAa,EACb,eAAe,EACf,cAAc,EACd,oBAAoB,CAAC,SAAS,EAAE,SAAS,CAAC;CAAG;AAEjD;;;;;GAKG;AACH,cAqCM,eAAgB,YAAW,iBAAiB;IAChD,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,iBAAiB,CAAC,CAAoB;IAC9C,OAAO,CAAC,cAAc,CAAC,CAAoB;IAC3C,OAAO,CAAC,gBAAgB,CAAC,CAAsB;IACrC,OAAO,CAAC,kBAAkB,CAAwC;IAC5E,aAAa,EAAE,oBAAoB,CAAC;IA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;;;;;;;SAQK;IAGQ,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IAkCrD;;SAEK;IAIQ,UAAU;IAMvB,OAAO,CAAC,kBAAkB;IAepB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAgB7B,gBAAgB;IACV,IAAI,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IA6CzC,kBAAkB,CAAC,MAAM,EAAE,oBAAoB;CAkFtD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+EK;AACL,eAAO,MAAM,MAAM,EAAE,QAAQ,CAC3B,wBAAwB,CAAC,WAAW,EAAE,aAAa,CAAC,CAWrD,CAAC"}
@@ -26,6 +26,7 @@ export type AssemblyHolder<HolderExt extends object = {}> = {
26
26
  container?: {
27
27
  enjoyByDate: number;
28
28
  };
29
+ attributes?: Record<string, any>;
29
30
  };
30
31
  export type SubAssemblyPump<PumpExt extends object = {}> = Omit<AssemblyPump<PumpExt>, "pumps">;
31
32
  export type AssemblyPump<PumpExt extends object = {}> = {
@@ -1 +1 @@
1
- {"version":3,"file":"assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/assembly.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,CAAC,QAAQ,SAAS,MAAM,GAAG,EAAE,IAAI;KACvD,GAAG,IAAI,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC;CACvC,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EA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C;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AACF,MAAM,WAAW,oBAAoB,CACnC,WAAW,SAAS,MAAM,GAAG,GAAG,EAChC,SAAS,SAAS,MAAM,GAAG,GAAG,EAC9B,SAAS,SAAS,MAAM,GAAG,GAAG,EAC9B,QAAQ,SAAS,MAAM,GAAG,GAAG,EAC7B,OAAO,SAAS,MAAM,GAAG,GAAG;IAE5B,UAAU,EAAE,QAAQ,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC;CAC9E;AAED,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,OAAO,CAAC,oBAAoB,CAAC,IAClE,oBAAoB,CAClB,CAAC,CAAC,aAAa,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,aAAa,CAAC,GAAG,GAAG,EACxD,CAAC,CAAC,WAAW,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,GAAG,EACpD,CAAC,CAAC,WAAW,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,GAAG,EACpD,CAAC,CAAC,UAAU,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,GAAG,EAClD,CAAC,CAAC,SAAS,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,GAAG,CACjD,CAAC"}
1
+ {"version":3,"file":"assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/assembly.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,CAAC,QAA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CAAC,CAAC,UAAU,CAAC,GAAG,GAAG,EAClD,CAAC,CAAC,SAAS,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,GAAG,CACjD,CAAC"}
package/models.cjs CHANGED
@@ -1,2 +1,48 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./dispense-registration-manager-Cj0565Ze.cjs"),n=require("./extension-utils-BDyaRwRN.cjs");require("@kosdev-code/kos-ui-sdk");require("react");exports.Assembly=e.Assembly;exports.Availability=e.Availability;exports.Board=e.Board;exports.BoardContainer=e.BoardContainer;Object.defineProperty(exports,"BoardContainerModel",{enumerable:!0,get:()=>e.BoardContainerModel});exports.CONTEXT_ASSEMBLY_DATA=e.CONTEXT_ASSEMBLY_DATA;exports.CONTEXT_ASSEMBLY_RAW_DATA=e.CONTEXT_ASSEMBLY_RAW_DATA;exports.DeviceAssembly=e.DeviceAssembly;exports.DispenseModelType=e.DispenseModelType;exports.ExtensionType=e.ExtensionType;exports.GenericPour=e.GenericPour;exports.Holder=e.Holder;exports.HolderContainer=e.HolderContainer;exports.Ingredient=e.Ingredient;exports.IngredientContainer=e.IngredientContainer;exports.KosModelRegistry=e.KosModelRegistry;exports.Nozzle=e.Nozzle;exports.PourState=e.PourState;exports.Pump=e.Pump;exports.PumpContainer=e.PumpContainer;exports.PumpIndex=e.PumpIndex;exports.TOPIC_BOARD_LINKED=e.TOPIC_BOARD_LINKED;exports.TOPIC_BOARD_UNLINKED=e.TOPIC_BOARD_UNLINKED;exports.TOPIC_GENERIC_POUR_CANCEL=e.TOPIC_GENERIC_POUR_CANCEL;exports.TOPIC_GENERIC_POUR_PROGRESS=e.TOPIC_GENERIC_POUR_PROGRESS;exports.TOPIC_GENERIC_POUR_STARTED=e.TOPIC_GENERIC_POUR_STARTED;exports.kosModels=e.kosModels;exports.registerDispenseModels=e.registerDispenseModels;exports.AssemblyServices=n.index;exports.AssemblyTypes=n.assembly;exports.DispenseExtensionManager=n.DispenseExtensionManager;exports.GenericPourServices=n.index$1;exports.HolderServices=n.index$2;exports.IngredientServices=n.index$3;exports.KosExtensionManager=n.KosExtensionManager;exports.NozzleServices=n.index$4;exports.PumpServices=n.index$5;exports.getFuelGaugeValue=n.getFuelGaugeValue;
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const dispenseRegistrationManager = require("./dispense-registration-manager-C6k10ipu.cjs");
4
+ const extensionUtils = require("./extension-utils-DNbm2KRk.cjs");
5
+ require("@kosdev-code/kos-ui-sdk");
6
+ require("react");
7
+ exports.Assembly = dispenseRegistrationManager.Assembly;
8
+ exports.Availability = dispenseRegistrationManager.Availability;
9
+ exports.Board = dispenseRegistrationManager.Board;
10
+ exports.BoardContainer = dispenseRegistrationManager.BoardContainer;
11
+ Object.defineProperty(exports, "BoardContainerModel", {
12
+ enumerable: true,
13
+ get: () => dispenseRegistrationManager.BoardContainerModel
14
+ });
15
+ exports.CONTEXT_ASSEMBLY_DATA = dispenseRegistrationManager.CONTEXT_ASSEMBLY_DATA;
16
+ exports.CONTEXT_ASSEMBLY_RAW_DATA = dispenseRegistrationManager.CONTEXT_ASSEMBLY_RAW_DATA;
17
+ exports.DeviceAssembly = dispenseRegistrationManager.DeviceAssembly;
18
+ exports.DispenseModelType = dispenseRegistrationManager.DispenseModelType;
19
+ exports.ExtensionType = dispenseRegistrationManager.ExtensionType;
20
+ exports.GenericPour = dispenseRegistrationManager.GenericPour;
21
+ exports.Holder = dispenseRegistrationManager.Holder;
22
+ exports.HolderContainer = dispenseRegistrationManager.HolderContainer;
23
+ exports.Ingredient = dispenseRegistrationManager.Ingredient;
24
+ exports.IngredientContainer = dispenseRegistrationManager.IngredientContainer;
25
+ exports.KosModelRegistry = dispenseRegistrationManager.KosModelRegistry;
26
+ exports.Nozzle = dispenseRegistrationManager.Nozzle;
27
+ exports.PourState = dispenseRegistrationManager.PourState;
28
+ exports.Pump = dispenseRegistrationManager.Pump;
29
+ exports.PumpContainer = dispenseRegistrationManager.PumpContainer;
30
+ exports.PumpIndex = dispenseRegistrationManager.PumpIndex;
31
+ exports.TOPIC_BOARD_LINKED = dispenseRegistrationManager.TOPIC_BOARD_LINKED;
32
+ exports.TOPIC_BOARD_UNLINKED = dispenseRegistrationManager.TOPIC_BOARD_UNLINKED;
33
+ exports.TOPIC_GENERIC_POUR_CANCEL = dispenseRegistrationManager.TOPIC_GENERIC_POUR_CANCEL;
34
+ exports.TOPIC_GENERIC_POUR_PROGRESS = dispenseRegistrationManager.TOPIC_GENERIC_POUR_PROGRESS;
35
+ exports.TOPIC_GENERIC_POUR_STARTED = dispenseRegistrationManager.TOPIC_GENERIC_POUR_STARTED;
36
+ exports.kosModels = dispenseRegistrationManager.kosModels;
37
+ exports.registerDispenseModels = dispenseRegistrationManager.registerDispenseModels;
38
+ exports.AssemblyServices = extensionUtils.index;
39
+ exports.AssemblyTypes = extensionUtils.assembly;
40
+ exports.DispenseExtensionManager = extensionUtils.DispenseExtensionManager;
41
+ exports.GenericPourServices = extensionUtils.index$1;
42
+ exports.HolderServices = extensionUtils.index$2;
43
+ exports.IngredientServices = extensionUtils.index$3;
44
+ exports.KosExtensionManager = extensionUtils.KosExtensionManager;
45
+ exports.NozzleServices = extensionUtils.index$4;
46
+ exports.PumpServices = extensionUtils.index$5;
47
+ exports.getFuelGaugeValue = extensionUtils.getFuelGaugeValue;
2
48
  //# sourceMappingURL=models.cjs.map
package/models.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"models.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"models.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}