@kosdev-code/kos-dispense-sdk 0.1.0-dev.5880 → 0.1.0-next.1008
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.kos.json +129 -0
- package/{dispense-registration-manager-ukk4OBeX.cjs → dispense-registration-manager-CfWgJqfq.cjs} +807 -445
- package/dispense-registration-manager-CfWgJqfq.cjs.map +1 -0
- package/{dispense-registration-manager-C4XZ_c3x.js → dispense-registration-manager-DtN0T_JG.js} +846 -484
- package/dispense-registration-manager-DtN0T_JG.js.map +1 -0
- package/{extension-utils-CMVLCSA8.cjs → extension-utils-BWYG2dYG.cjs} +52 -194
- package/extension-utils-BWYG2dYG.cjs.map +1 -0
- package/{extension-utils-FxS68Xu9.js → extension-utils-BoXtjU5_.js} +58 -200
- package/extension-utils-BoXtjU5_.js.map +1 -0
- package/extensions/control-pour-extension.d.ts +8 -9
- package/extensions/control-pour-extension.d.ts.map +1 -1
- package/extensions/index.d.ts.map +1 -1
- package/index.cjs +31 -11
- package/index.cjs.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +118 -98
- package/index.js.map +1 -1
- package/models/constants/constants.d.ts +14 -178
- package/models/constants/constants.d.ts.map +1 -1
- package/models/constants/index.d.ts.map +1 -1
- package/models/index.d.ts.map +1 -1
- package/models/models/assembly/assembly-model.d.ts +12 -5
- package/models/models/assembly/assembly-model.d.ts.map +1 -1
- package/models/models/assembly/assembly-registration.d.ts +12 -71
- package/models/models/assembly/assembly-registration.d.ts.map +1 -1
- package/models/models/assembly/board-utils.d.ts +1 -2
- package/models/models/assembly/board-utils.d.ts.map +1 -1
- package/models/models/assembly/holder-utils.d.ts +1 -2
- package/models/models/assembly/holder-utils.d.ts.map +1 -1
- package/models/models/assembly/index.d.ts.map +1 -1
- package/models/models/assembly/nozzle-utils.d.ts +1 -2
- package/models/models/assembly/nozzle-utils.d.ts.map +1 -1
- package/models/models/assembly/pump-utils.d.ts +2 -3
- package/models/models/assembly/pump-utils.d.ts.map +1 -1
- package/models/models/assembly/services/assembly-services.d.ts +0 -1
- package/models/models/assembly/services/assembly-services.d.ts.map +1 -1
- package/models/models/assembly/services/index.d.ts.map +1 -1
- package/models/models/assembly/types/index.d.ts +8 -3
- package/models/models/availability/availability-model.d.ts +13 -78
- package/models/models/availability/availability-model.d.ts.map +1 -1
- package/models/models/availability/index.d.ts.map +1 -1
- package/models/models/availability/types/index.d.ts +7 -13
- package/models/models/board/board-container-model.d.ts +10 -3
- package/models/models/board/board-container-model.d.ts.map +1 -1
- package/models/models/board/board-container-registration.d.ts +13 -77
- package/models/models/board/board-container-registration.d.ts.map +1 -1
- package/models/models/board/board-model.d.ts +1 -2
- package/models/models/board/board-model.d.ts.map +1 -1
- package/models/models/board/board-registration.d.ts +12 -74
- package/models/models/board/board-registration.d.ts.map +1 -1
- package/models/models/board/index.d.ts.map +1 -1
- package/models/models/board/types/index.d.ts +12 -2
- package/models/models/board/types/services.d.ts.map +1 -1
- package/models/models/board/utils/board-trouble-data-mapper.d.ts +1 -2
- package/models/models/board/utils/board-trouble-data-mapper.d.ts.map +1 -1
- package/models/models/board/utils/board-trouble-resolver.d.ts +0 -1
- package/models/models/board/utils/board-trouble-resolver.d.ts.map +1 -1
- package/models/models/cui-kit-state/cui-kit-state-model.d.ts +133 -0
- package/models/models/cui-kit-state/cui-kit-state-model.d.ts.map +1 -0
- package/models/models/cui-kit-state/index.d.ts +4 -0
- package/models/models/cui-kit-state/index.d.ts.map +1 -0
- package/models/models/cui-kit-state/types/index.d.ts +82 -0
- package/models/models/device-assembly/device-assembly-model.d.ts +6 -3
- package/models/models/device-assembly/device-assembly-model.d.ts.map +1 -1
- package/models/models/device-assembly/device-assembly-registration.d.ts +14 -79
- package/models/models/device-assembly/device-assembly-registration.d.ts.map +1 -1
- package/models/models/device-assembly/index.d.ts.map +1 -1
- package/models/models/device-assembly/types/index.d.ts +4 -0
- package/models/models/generic-pour/generic-pour-model.d.ts +19 -4
- package/models/models/generic-pour/generic-pour-model.d.ts.map +1 -1
- package/models/models/generic-pour/generic-pour-registration.d.ts +13 -75
- package/models/models/generic-pour/generic-pour-registration.d.ts.map +1 -1
- package/models/models/generic-pour/index.d.ts.map +1 -1
- package/models/models/generic-pour/services/generic-pour-services.d.ts.map +1 -1
- package/models/models/generic-pour/services/index.d.ts.map +1 -1
- package/models/models/generic-pour/types/index.d.ts +4 -0
- package/models/models/holder/holder-model.d.ts +16 -75
- package/models/models/holder/holder-model.d.ts.map +1 -1
- package/models/models/holder/index.d.ts.map +1 -1
- package/models/models/holder/services/assignment-services.d.ts.map +1 -1
- package/models/models/holder/services/holder-services.d.ts.map +1 -1
- package/models/models/holder/services/index.d.ts.map +1 -1
- package/models/models/holder/types/index.d.ts +11 -7
- package/models/models/holder/utils/holder-utils.d.ts +0 -1
- package/models/models/holder/utils/holder-utils.d.ts.map +1 -1
- package/models/models/holder-container/holder-container-model.d.ts +12 -70
- package/models/models/holder-container/holder-container-model.d.ts.map +1 -1
- package/models/models/holder-container/index.d.ts.map +1 -1
- package/models/models/holder-container/types/index.d.ts +16 -5
- package/models/models/index.d.ts +1 -0
- package/models/models/index.d.ts.map +1 -1
- package/models/models/ingredient/index.d.ts.map +1 -1
- package/models/models/ingredient/ingredient-model.d.ts +12 -76
- package/models/models/ingredient/ingredient-model.d.ts.map +1 -1
- package/models/models/ingredient/services/index.d.ts.map +1 -1
- package/models/models/ingredient/services/ingredient-services.d.ts.map +1 -1
- package/models/models/ingredient/types/index.d.ts +7 -13
- package/models/models/ingredient-container/index.d.ts.map +1 -1
- package/models/models/ingredient-container/ingredient-container-model.d.ts +12 -70
- package/models/models/ingredient-container/ingredient-container-model.d.ts.map +1 -1
- package/models/models/ingredient-container/types/index.d.ts +7 -3
- package/models/models/nozzle/index.d.ts.map +1 -1
- package/models/models/nozzle/nozzle-model.d.ts +20 -81
- package/models/models/nozzle/nozzle-model.d.ts.map +1 -1
- package/models/models/nozzle/services/index.d.ts.map +1 -1
- package/models/models/nozzle/services/nozzle-services.d.ts +11 -65
- package/models/models/nozzle/services/nozzle-services.d.ts.map +1 -1
- package/models/models/nozzle/types/index.d.ts +7 -3
- package/models/models/pump/index.d.ts.map +1 -1
- package/models/models/pump/pump-model.d.ts +12 -81
- package/models/models/pump/pump-model.d.ts.map +1 -1
- package/models/models/pump/services/index.d.ts.map +1 -1
- package/models/models/pump/services/pump-services.d.ts +3 -5
- package/models/models/pump/services/pump-services.d.ts.map +1 -1
- package/models/models/pump/types/index.d.ts +7 -3
- package/models/models/pump/utils/pump-trouble-resolver.d.ts +0 -1
- package/models/models/pump/utils/pump-trouble-resolver.d.ts.map +1 -1
- package/models/models/pump-container/index.d.ts.map +1 -1
- package/models/models/pump-container/pump-container-model.d.ts +16 -70
- package/models/models/pump-container/pump-container-model.d.ts.map +1 -1
- package/models/models/pump-container/types/index.d.ts +7 -3
- package/models/models/types/assembly.d.ts.map +1 -1
- package/models/models/types/index.d.ts.map +1 -1
- package/models/models/types/intent.d.ts +11 -79
- package/models/models/types/intent.d.ts.map +1 -1
- package/models/models/types/pouring.d.ts.map +1 -1
- package/models/utils/dispense-registration-manager.d.ts +34 -10
- package/models/utils/dispense-registration-manager.d.ts.map +1 -1
- package/models/utils/extension-utils.d.ts +66 -173
- package/models/utils/extension-utils.d.ts.map +1 -1
- package/models/utils/openapi-index.d.ts +1 -1
- package/models/utils/openapi-index.d.ts.map +1 -1
- package/models/utils/pour-context.d.ts +8 -0
- package/models/utils/pour-context.d.ts.map +1 -0
- package/models/utils/registration.d.ts +0 -1
- package/models/utils/registration.d.ts.map +1 -1
- package/models/utils/service.d.ts +34 -35
- package/models/utils/service.d.ts.map +1 -1
- package/models/utils/services/dispense/1.6.5/service.d.ts +34 -35
- package/models/utils/services/dispense/1.6.5/service.d.ts.map +1 -1
- package/models/utils/services/dispense/1.8.1/service.d.ts +34 -35
- package/models/utils/services/dispense/1.8.1/service.d.ts.map +1 -1
- package/models/utils/services/dispense/daily/openapi.d.ts +1941 -1812
- package/models/utils/services/dispense/daily/service.d.ts +127 -37
- package/models/utils/services/dispense/daily/service.d.ts.map +1 -1
- package/models/utils/services-index.d.ts +1 -1
- package/models/utils/services-index.d.ts.map +1 -1
- package/models.cjs +4 -5
- package/models.cjs.map +1 -1
- package/models.d.ts +1 -0
- package/models.js +29 -30
- package/models.js.map +1 -1
- package/package.json +11 -12
- package/{pump-provider-BAQXIUuP.cjs → pump-provider-B4WR3LiY.cjs} +480 -544
- package/pump-provider-B4WR3LiY.cjs.map +1 -0
- package/{pump-provider-9rUgev7q.js → pump-provider-CPUsLke5.js} +541 -605
- package/pump-provider-CPUsLke5.js.map +1 -0
- package/ui/contexts/assembly/assembly-provider.d.ts +9 -2
- package/ui/contexts/assembly/assembly-provider.d.ts.map +1 -1
- package/ui/contexts/assembly/index.d.ts.map +1 -1
- package/ui/contexts/availability/availability-provider.d.ts +9 -2
- package/ui/contexts/availability/availability-provider.d.ts.map +1 -1
- package/ui/contexts/availability/index.d.ts.map +1 -1
- package/ui/contexts/board/board-provider.d.ts +9 -2
- package/ui/contexts/board/board-provider.d.ts.map +1 -1
- package/ui/contexts/board/index.d.ts.map +1 -1
- package/ui/contexts/board-container/board-container-provider.d.ts +9 -2
- package/ui/contexts/board-container/board-container-provider.d.ts.map +1 -1
- package/ui/contexts/board-container/index.d.ts.map +1 -1
- package/ui/contexts/cui-kit/cui-kit.d.ts +17 -3
- package/ui/contexts/cui-kit/cui-kit.d.ts.map +1 -1
- package/ui/contexts/cui-kit/index.d.ts.map +1 -1
- package/ui/contexts/device-assembly/device-assembly-provider.d.ts +9 -2
- package/ui/contexts/device-assembly/device-assembly-provider.d.ts.map +1 -1
- package/ui/contexts/device-assembly/index.d.ts.map +1 -1
- package/ui/contexts/holder/holder-provider.d.ts +9 -2
- package/ui/contexts/holder/holder-provider.d.ts.map +1 -1
- package/ui/contexts/holder/index.d.ts.map +1 -1
- package/ui/contexts/holder-container/holder-container-provider.d.ts +9 -2
- package/ui/contexts/holder-container/holder-container-provider.d.ts.map +1 -1
- package/ui/contexts/holder-container/index.d.ts.map +1 -1
- package/ui/contexts/index.d.ts.map +1 -1
- package/ui/contexts/ingredient/index.d.ts.map +1 -1
- package/ui/contexts/ingredient/ingredient-provider.d.ts +9 -2
- package/ui/contexts/ingredient/ingredient-provider.d.ts.map +1 -1
- package/ui/contexts/ingredient-container/index.d.ts.map +1 -1
- package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts +9 -2
- package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts.map +1 -1
- package/ui/contexts/nozzle/index.d.ts.map +1 -1
- package/ui/contexts/nozzle/nozzle-provider.d.ts +9 -2
- package/ui/contexts/nozzle/nozzle-provider.d.ts.map +1 -1
- package/ui/contexts/pump/index.d.ts.map +1 -1
- package/ui/contexts/pump/pump-provider.d.ts +9 -2
- package/ui/contexts/pump/pump-provider.d.ts.map +1 -1
- package/ui/hooks/assembly/index.d.ts.map +1 -1
- package/ui/hooks/assembly/use-assembly.d.ts +5 -2
- package/ui/hooks/assembly/use-assembly.d.ts.map +1 -1
- package/ui/hooks/assembly/with-assembly.d.ts +4 -1
- package/ui/hooks/assembly/with-assembly.d.ts.map +1 -1
- package/ui/hooks/availability/index.d.ts.map +1 -1
- package/ui/hooks/availability/use-availability.d.ts +5 -2
- package/ui/hooks/availability/use-availability.d.ts.map +1 -1
- package/ui/hooks/availability/with-availability.d.ts +0 -1
- package/ui/hooks/availability/with-availability.d.ts.map +1 -1
- package/ui/hooks/board/index.d.ts.map +1 -1
- package/ui/hooks/board/use-board.d.ts +5 -2
- package/ui/hooks/board/use-board.d.ts.map +1 -1
- package/ui/hooks/board/with-board.d.ts +4 -1
- package/ui/hooks/board/with-board.d.ts.map +1 -1
- package/ui/hooks/board-container/index.d.ts.map +1 -1
- package/ui/hooks/board-container/use-board-container.d.ts +5 -2
- package/ui/hooks/board-container/use-board-container.d.ts.map +1 -1
- package/ui/hooks/board-container/with-board-container.d.ts +4 -1
- package/ui/hooks/board-container/with-board-container.d.ts.map +1 -1
- package/ui/hooks/cui-kit/dispense-topics.d.ts +0 -1
- package/ui/hooks/cui-kit/dispense-topics.d.ts.map +1 -1
- package/ui/hooks/cui-kit/index.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts +0 -1
- package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-beverages.d.ts +1 -2
- package/ui/hooks/cui-kit/use-beverages.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-brands.d.ts +1 -2
- package/ui/hooks/cui-kit/use-brands.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-cui-kit.d.ts +51 -7
- package/ui/hooks/cui-kit/use-cui-kit.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts +16 -44
- package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts +0 -1
- package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-dispense-timers.d.ts +0 -1
- package/ui/hooks/cui-kit/use-dispense-timers.d.ts.map +1 -1
- package/ui/hooks/cui-kit/use-flavors.d.ts +1 -2
- package/ui/hooks/cui-kit/use-flavors.d.ts.map +1 -1
- package/ui/hooks/device-assembly/index.d.ts.map +1 -1
- package/ui/hooks/device-assembly/use-device-assembly.d.ts +5 -2
- package/ui/hooks/device-assembly/use-device-assembly.d.ts.map +1 -1
- package/ui/hooks/device-assembly/with-device-assembly.d.ts +4 -1
- package/ui/hooks/device-assembly/with-device-assembly.d.ts.map +1 -1
- package/ui/hooks/generic-pour/index.d.ts.map +1 -1
- package/ui/hooks/generic-pour/use-generic-pour.d.ts +6 -3
- package/ui/hooks/generic-pour/use-generic-pour.d.ts.map +1 -1
- package/ui/hooks/generic-pour/with-generic-pour.d.ts +5 -2
- package/ui/hooks/generic-pour/with-generic-pour.d.ts.map +1 -1
- package/ui/hooks/holder/index.d.ts.map +1 -1
- package/ui/hooks/holder/use-holder.d.ts +5 -2
- package/ui/hooks/holder/use-holder.d.ts.map +1 -1
- package/ui/hooks/holder/with-holder.d.ts +4 -1
- package/ui/hooks/holder/with-holder.d.ts.map +1 -1
- package/ui/hooks/holder-container/index.d.ts.map +1 -1
- package/ui/hooks/holder-container/use-holder-container.d.ts +7 -4
- package/ui/hooks/holder-container/use-holder-container.d.ts.map +1 -1
- package/ui/hooks/holder-container/with-holder-container.d.ts +4 -1
- package/ui/hooks/holder-container/with-holder-container.d.ts.map +1 -1
- package/ui/hooks/index.d.ts.map +1 -1
- package/ui/hooks/ingredient/index.d.ts.map +1 -1
- package/ui/hooks/ingredient/use-ingredient-pour.d.ts +16 -22
- package/ui/hooks/ingredient/use-ingredient-pour.d.ts.map +1 -1
- package/ui/hooks/ingredient/use-ingredient.d.ts +5 -2
- package/ui/hooks/ingredient/use-ingredient.d.ts.map +1 -1
- package/ui/hooks/ingredient/with-ingredient.d.ts +4 -1
- package/ui/hooks/ingredient/with-ingredient.d.ts.map +1 -1
- package/ui/hooks/ingredient-container/index.d.ts.map +1 -1
- package/ui/hooks/ingredient-container/use-ingredient-container.d.ts +5 -2
- package/ui/hooks/ingredient-container/use-ingredient-container.d.ts.map +1 -1
- package/ui/hooks/ingredient-container/with-ingredient-container.d.ts +4 -1
- package/ui/hooks/ingredient-container/with-ingredient-container.d.ts.map +1 -1
- package/ui/hooks/nozzle/index.d.ts.map +1 -1
- package/ui/hooks/nozzle/use-dispense-kit.d.ts +0 -1
- package/ui/hooks/nozzle/use-dispense-kit.d.ts.map +1 -1
- package/ui/hooks/nozzle/use-nozzle.d.ts +5 -2
- package/ui/hooks/nozzle/use-nozzle.d.ts.map +1 -1
- package/ui/hooks/nozzle/with-nozzle.d.ts +4 -1
- package/ui/hooks/nozzle/with-nozzle.d.ts.map +1 -1
- package/ui/hooks/nozzle-pour/index.d.ts.map +1 -1
- package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts +16 -22
- package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts.map +1 -1
- package/ui/hooks/pour/index.d.ts.map +1 -1
- package/ui/hooks/pour/use-pour.d.ts +11 -23
- package/ui/hooks/pour/use-pour.d.ts.map +1 -1
- package/ui/hooks/pump/index.d.ts.map +1 -1
- package/ui/hooks/pump/use-pump.d.ts +1 -2
- package/ui/hooks/pump/use-pump.d.ts.map +1 -1
- package/ui/hooks/pump/with-pump.d.ts +0 -1
- package/ui/hooks/pump/with-pump.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts +5 -2
- package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts +4 -1
- package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/index.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts +11 -2
- package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts +5 -2
- package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts +5 -2
- package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts.map +1 -1
- package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts +4 -1
- package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts.map +1 -1
- package/ui/index.d.ts.map +1 -1
- package/ui/utils/pour-context.d.ts +1 -7
- package/ui/utils/pour-context.d.ts.map +1 -1
- package/ui.cjs +3 -7
- package/ui.cjs.map +1 -1
- package/ui.d.ts +1 -0
- package/ui.js +64 -68
- package/ui.js.map +1 -1
- package/dispense-registration-manager-C4XZ_c3x.js.map +0 -1
- package/dispense-registration-manager-ukk4OBeX.cjs.map +0 -1
- package/extension-utils-CMVLCSA8.cjs.map +0 -1
- package/extension-utils-FxS68Xu9.js.map +0 -1
- package/kos-models.json +0 -180
- package/pump-provider-9rUgev7q.js.map +0 -1
- package/pump-provider-BAQXIUuP.cjs.map +0 -1
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { HolderModel } from '../../../models';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
2
|
+
import { HolderModel } from '../../../models';
|
|
4
3
|
interface HolderType {
|
|
5
4
|
model?: HolderModel;
|
|
6
5
|
}
|
|
7
6
|
interface HolderProviderProps {
|
|
8
7
|
id?: string;
|
|
9
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @kosService dispense.use-holder
|
|
11
|
+
* @kosApiLevel 2
|
|
12
|
+
*/
|
|
10
13
|
export declare const HolderProvider: React.FunctionComponent<PropsWithChildren<HolderProviderProps>>;
|
|
14
|
+
/**
|
|
15
|
+
* @kosService dispense.use-holder
|
|
16
|
+
* @kosApiLevel 2
|
|
17
|
+
*/
|
|
11
18
|
export declare const useHolderContext: () => HolderType;
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=holder-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"holder-provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"holder-provider.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/holder/holder-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAGD,UAAU,mBAAmB;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAClD,iBAAiB,CAAC,mBAAmB,CAAC,CAUvC,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,kBAM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/holder/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { HolderContainerModel } from '../../../models';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
2
|
+
import { HolderContainerModel } from '../../../models';
|
|
4
3
|
interface HolderContainerType {
|
|
5
4
|
model?: HolderContainerModel;
|
|
6
5
|
}
|
|
7
6
|
interface HolderContainerProviderProps {
|
|
8
7
|
id?: string;
|
|
9
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @kosService dispense.use-holder
|
|
11
|
+
* @kosApiLevel 2
|
|
12
|
+
*/
|
|
10
13
|
export declare const HolderContainerProvider: React.FunctionComponent<PropsWithChildren<HolderContainerProviderProps>>;
|
|
14
|
+
/**
|
|
15
|
+
* @kosService dispense.use-holder
|
|
16
|
+
* @kosApiLevel 2
|
|
17
|
+
*/
|
|
11
18
|
export declare const useHolderContainerContext: () => HolderContainerType;
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=holder-container-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"holder-container-provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"holder-container-provider.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/holder-container/holder-container-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAG5D,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAKD,UAAU,4BAA4B;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAC3D,iBAAiB,CAAC,4BAA4B,CAAC,CAchD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,2BAQrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/holder-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-dispense-sdk/src/ui/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/ingredient/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { IngredientModel } from '../../../models';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
2
|
+
import { IngredientModel } from '../../../models';
|
|
4
3
|
interface IngredientType {
|
|
5
4
|
model?: IngredientModel;
|
|
6
5
|
}
|
|
7
6
|
interface IngredientProviderProps {
|
|
8
7
|
id?: string;
|
|
9
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @kosService dispense.use-ingredient
|
|
11
|
+
* @kosApiLevel 2
|
|
12
|
+
*/
|
|
10
13
|
export declare const IngredientProvider: React.FunctionComponent<PropsWithChildren<IngredientProviderProps>>;
|
|
14
|
+
/**
|
|
15
|
+
* @kosService dispense.use-ingredient
|
|
16
|
+
* @kosApiLevel 2
|
|
17
|
+
*/
|
|
11
18
|
export declare const useIngredientContext: () => IngredientType;
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=ingredient-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient-provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ingredient-provider.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/ingredient/ingredient-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAGD,UAAU,uBAAuB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CACtD,iBAAiB,CAAC,uBAAuB,CAAC,CAU3C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,sBAQhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/ingredient-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { IngredientContainerModel } from '../../../models';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
2
|
+
import { IngredientContainerModel } from '../../../models';
|
|
4
3
|
interface IngredientContainerType {
|
|
5
4
|
model?: IngredientContainerModel;
|
|
6
5
|
}
|
|
7
6
|
interface IngredientContainerProviderProps {
|
|
8
7
|
id?: string;
|
|
9
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @kosService dispense.use-ingredient
|
|
11
|
+
* @kosApiLevel 2
|
|
12
|
+
*/
|
|
10
13
|
export declare const IngredientContainerProvider: React.FunctionComponent<PropsWithChildren<IngredientContainerProviderProps>>;
|
|
14
|
+
/**
|
|
15
|
+
* @kosService dispense.use-ingredient
|
|
16
|
+
* @kosApiLevel 2
|
|
17
|
+
*/
|
|
11
18
|
export declare const useIngredientContainerContext: () => IngredientContainerType;
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=ingredient-container-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient-container-provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ingredient-container-provider.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/ingredient-container/ingredient-container-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,wBAAwB,CAAC;CAClC;AAKD,UAAU,gCAAgC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,iBAAiB,CAC/D,iBAAiB,CAAC,gCAAgC,CAAC,CAcpD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,+BAQzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/nozzle/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { NozzleModel } from '../../../models';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
2
|
+
import { NozzleModel } from '../../../models';
|
|
4
3
|
interface NozzleType {
|
|
5
4
|
model?: NozzleModel;
|
|
6
5
|
}
|
|
7
6
|
interface NozzleProviderProps {
|
|
8
7
|
path: string;
|
|
9
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @kosService dispense.use-nozzle
|
|
11
|
+
* @kosApiLevel 2
|
|
12
|
+
*/
|
|
10
13
|
export declare const NozzleProvider: React.FunctionComponent<PropsWithChildren<NozzleProviderProps>>;
|
|
14
|
+
/**
|
|
15
|
+
* @kosService dispense.use-nozzle
|
|
16
|
+
* @kosApiLevel 2
|
|
17
|
+
*/
|
|
11
18
|
export declare const useNozzleContext: () => NozzleType;
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=nozzle-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nozzle-provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"nozzle-provider.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/nozzle/nozzle-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAGD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAClD,iBAAiB,CAAC,mBAAmB,CAAC,CAUvC,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,kBAM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/pump/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { PumpModel } from '../../../models';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
2
|
+
import { PumpModel } from '../../../models';
|
|
4
3
|
interface PumpType {
|
|
5
4
|
model?: PumpModel;
|
|
6
5
|
}
|
|
7
6
|
interface PumpProviderProps {
|
|
8
7
|
id?: string;
|
|
9
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @kosService dispense.use-pump
|
|
11
|
+
* @kosApiLevel 2
|
|
12
|
+
*/
|
|
10
13
|
export declare const PumpProvider: React.FunctionComponent<PropsWithChildren<PumpProviderProps>>;
|
|
14
|
+
/**
|
|
15
|
+
* @kosService dispense.use-pump
|
|
16
|
+
* @kosApiLevel 2
|
|
17
|
+
*/
|
|
11
18
|
export declare const usePumpContext: () => PumpType;
|
|
12
19
|
export {};
|
|
13
20
|
//# sourceMappingURL=pump-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pump-provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"pump-provider.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/contexts/pump/pump-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,UAAU,QAAQ;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAGD,UAAU,iBAAiB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAChD,iBAAiB,CAAC,iBAAiB,CAAC,CAUrC,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,cAAc,gBAM1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/assembly/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { AssemblyModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-assembly
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useAssembly: () => {
|
|
4
7
|
model: AssemblyModel<any, any> | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useAssembly: () => {
|
|
|
9
12
|
ready: boolean;
|
|
10
13
|
error: string | undefined;
|
|
11
14
|
};
|
|
12
|
-
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('
|
|
15
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
16
|
};
|
|
14
17
|
//# sourceMappingURL=use-assembly.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-assembly.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-assembly.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/assembly/use-assembly.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;CASvB,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { AssemblyModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface AssemblyProps {
|
|
4
3
|
assembly: AssemblyModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-assembly
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withAssembly<T extends AssemblyProps = AssemblyProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof AssemblyProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-assembly.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-assembly.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-assembly.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/assembly/with-assembly.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,UAAU,aAAa;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EAClE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,sDAS5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/availability/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { AvailabilityModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-availability
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useAvailability: () => {
|
|
4
7
|
model: AvailabilityModel<any, Record<string, any>> | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useAvailability: () => {
|
|
|
9
12
|
ready: boolean;
|
|
10
13
|
error: string | undefined;
|
|
11
14
|
};
|
|
12
|
-
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('
|
|
15
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
16
|
};
|
|
14
17
|
//# sourceMappingURL=use-availability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-availability.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-availability.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/availability/use-availability.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;CAS3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-availability.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-availability.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/availability/with-availability.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,iBAAiB;IACzB,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,EAC1E,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,iBAAiB,CAAC,sDAShD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/board/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { BoardModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-board
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useBoard: (id: string) => {
|
|
4
7
|
model: BoardModel<{}> | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useBoard: (id: string) => {
|
|
|
9
12
|
ready: boolean;
|
|
10
13
|
error: string | undefined;
|
|
11
14
|
};
|
|
12
|
-
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('
|
|
15
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
16
|
};
|
|
14
17
|
//# sourceMappingURL=use-board.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-board.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-board.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/board/use-board.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,QAAQ,GAAI,IAAI,MAAM;;;;;;;;;;CASlC,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { BoardModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface BoardProps {
|
|
4
3
|
board: BoardModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-board
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withBoard<T extends BoardProps = BoardProps>(WrappedComponent: React.ComponentType<T>): (id: string) => (props: Omit<T, keyof BoardProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-board.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-board.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-board.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/board/with-board.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,UAAU,UAAU;IAClB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EACzD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,IAAI,MAAM,MAAM,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,UAAU,CAAC,sDASzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/board-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { BoardContainerModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-board
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useBoardContainer: () => {
|
|
4
7
|
model: BoardContainerModel | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useBoardContainer: () => {
|
|
|
9
12
|
ready: boolean;
|
|
10
13
|
error: string | undefined;
|
|
11
14
|
};
|
|
12
|
-
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('
|
|
15
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
16
|
};
|
|
14
17
|
//# sourceMappingURL=use-board-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-board-container.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-board-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/board-container/use-board-container.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3E;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;CAS7B,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { BoardContainerModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface BoardContainerProps {
|
|
4
3
|
boardContainer: BoardContainerModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-board
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withBoardContainer<T extends BoardContainerProps = BoardContainerProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof BoardContainerProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-board-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-board-container.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-board-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/board-container/with-board-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,UAAU,mBAAmB;IAC3B,cAAc,EAAE,mBAAmB,CAAC;CACrC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,EACnD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,mBAAmB,CAAC,sDASlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispense-topics.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"dispense-topics.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/dispense-topics.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB,CAChC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAC3C,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAC9C,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG;IAE5C,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IAChE,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IACzE,qBAAqB,CAAC,EAAE,CACtB,SAAS,EAAE,iBAAiB,CAAC,YAAY,CAAC,EAAE,KACzC,IAAI,CAAC;IACV,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IACnE,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AA+BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,SAAS,EAAE,iBAAiB,GAC3B,iBAAiB,EAAE,CAarB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-ambient-attract-timers.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-ambient-attract-timers.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/use-ambient-attract-timers.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,yBAAyB,CAAC;AAQjC,UAAU,UAAU;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,oBAAoB,CAAC,EAAE,YAAY,CAAC;CACrC;AAED,eAAO,MAAM,uBAAuB,GAAI,OAAO,UAAU;;;;;CAgGxD,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AvailabilityModel } from '../../../models';
|
|
2
1
|
import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
|
|
3
|
-
|
|
2
|
+
import { AvailabilityModel } from '../../../models';
|
|
4
3
|
interface Props {
|
|
5
4
|
onBeverageSelected?: (brand: AvailabilityModel) => void;
|
|
6
5
|
onClearBeverage?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-beverages.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-beverages.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/use-beverages.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,KAAK;IACb,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,qBAAqB,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,YAAY,GACvB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EACnC,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,gFAKC,KAAK;;;+BAcQ,iBAAiB,YACjB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBACf,OAAO;;;CA2C1B,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AvailabilityModel } from '../../../models';
|
|
2
1
|
import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
|
|
3
|
-
|
|
2
|
+
import { AvailabilityModel } from '../../../models';
|
|
4
3
|
interface Props {
|
|
5
4
|
onBrandSelected?: (brand: AvailabilityModel) => void;
|
|
6
5
|
onBrandCleared?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-brands.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-brands.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/use-brands.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,UAAU,KAAK;IACb,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACrD,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,SAAS,GACpB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EACnC,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,qDAIC,KAAK;;;;yBAcK,iBAAiB,CAAC,CAAC,CAAC,YACjB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBACf,OAAO;;CAmC1B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useNozzlePour } from '../nozzle-pour/use-nozzle-pour';
|
|
2
|
-
import { PourContext } from '../../utils/pour-context';
|
|
3
|
-
import { AvailabilityModel } from '../../../models';
|
|
4
1
|
import { IKosDataModel, KosTimer } from '@kosdev-code/kos-ui-sdk';
|
|
5
|
-
|
|
2
|
+
import { AvailabilityModel, CuiKitSteps, CuiPourOptions, CuiPourResult } from '../../../models';
|
|
3
|
+
import { PourContext } from '../../utils/pour-context';
|
|
4
|
+
import { NozzlePourResponse } from '../nozzle-pour/use-nozzle-pour';
|
|
5
|
+
import { PourStrategy } from '../utils/pour-strategy';
|
|
6
6
|
export declare const DISPENSE_GROUP_BRAND = "brands";
|
|
7
7
|
export declare const DISPENSE_GROUP_BEVERAGE = "beverages";
|
|
8
8
|
export declare const DISPENSE_GROUP_FLAVOR = "flavors";
|
|
@@ -12,12 +12,32 @@ export interface UseCuiKitProps {
|
|
|
12
12
|
* The initial group to display when the cui kit is first rendered.
|
|
13
13
|
* The default is to start at the list of brands however for simpler cases
|
|
14
14
|
* it may be desirable to start at the list of beverages.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated Use `steps`; `steps.brands` decides whether navigation starts at brands.
|
|
15
17
|
*/
|
|
16
18
|
initialGroup?: InitialGroup;
|
|
19
|
+
/**
|
|
20
|
+
* The steps the kit shows. `beverages` is always on; `brands`, `flavors` and `pour` are
|
|
21
|
+
* opt-in. Without it the kit keeps its original brand → beverage → flavor flow. Cannot be
|
|
22
|
+
* combined with `initialGroup`.
|
|
23
|
+
*
|
|
24
|
+
* @kosApiLevel 17
|
|
25
|
+
*/
|
|
26
|
+
steps?: CuiKitSteps;
|
|
17
27
|
/**
|
|
18
28
|
* Options to configure the behavior of the cui kit.
|
|
19
29
|
*/
|
|
20
30
|
options?: {
|
|
31
|
+
/** Pour defaults for every pour the kit starts. */
|
|
32
|
+
pour?: {
|
|
33
|
+
/** Gesture strategy for pours that do not name one. Default: hold to pour. */
|
|
34
|
+
strategy?: PourStrategy;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Called when a pour ends on its own (a fixed or automated pour finishing, or a pour
|
|
38
|
+
* failing) rather than being cancelled. A hold-to-pour release never calls it.
|
|
39
|
+
*/
|
|
40
|
+
onPourComplete?: (result: CuiPourResult) => void;
|
|
21
41
|
/**
|
|
22
42
|
* The companion types to associate with the brand, beverage, and flavor models. This
|
|
23
43
|
* is useful when companion models have been created to represent the brand, beverage, and flavor
|
|
@@ -61,9 +81,22 @@ interface DispenseGroupType<AdditionalData extends Record<string, any> = any, Co
|
|
|
61
81
|
/**
|
|
62
82
|
* The handler to call when a model in the group is selected.
|
|
63
83
|
*/
|
|
64
|
-
onSelected: (model: AvailabilityModel<AdditionalData>, context?: Record<string, any>, forceUpdate?: boolean) => void
|
|
84
|
+
onSelected: (model: AvailabilityModel<AdditionalData>, context?: Record<string, any>, forceUpdate?: boolean) => Promise<void>;
|
|
65
85
|
};
|
|
66
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* The kit's pour control.
|
|
89
|
+
* @kosService dispense.cui-kit
|
|
90
|
+
* @kosApiLevel 17
|
|
91
|
+
*/
|
|
92
|
+
export interface CuiKitPour extends NozzlePourResponse {
|
|
93
|
+
/** Starts a pour without a gesture: a click-to-pour button or an automated pour. */
|
|
94
|
+
start: (options?: CuiPourOptions) => Promise<boolean>;
|
|
95
|
+
/** The press half of a custom pour gesture; prefer the kit's `useCuiPour` hook. */
|
|
96
|
+
press: (options?: CuiPourOptions) => Promise<boolean>;
|
|
97
|
+
/** The release half of a custom pour gesture. */
|
|
98
|
+
release: (options?: CuiPourOptions) => void;
|
|
99
|
+
}
|
|
67
100
|
export interface CuiKitType<BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any, BrandCompanion extends IKosDataModel = IKosDataModel, BeverageCompanion extends IKosDataModel = IKosDataModel, FlavorCompanion extends IKosDataModel = IKosDataModel> {
|
|
68
101
|
/**
|
|
69
102
|
* Provides functions and status related to the timers in the cui kit if available.
|
|
@@ -102,11 +135,22 @@ export interface CuiKitType<BrandData extends Record<string, any> = any, Beverag
|
|
|
102
135
|
* The handler to navigate to the initial group as defined in the options.
|
|
103
136
|
*/
|
|
104
137
|
home: VoidFunction;
|
|
138
|
+
/** The steps shown, in order. */
|
|
139
|
+
steps?: string[];
|
|
140
|
+
/** Whether `back()` has a step to move to. */
|
|
141
|
+
canBack?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Moves to the pour step; only available when `steps.pour` is on. With `start`, also
|
|
144
|
+
* starts a pour, unless its strategy needs a held button.
|
|
145
|
+
*/
|
|
146
|
+
toPour?: (options?: CuiPourOptions & {
|
|
147
|
+
start?: boolean;
|
|
148
|
+
}) => void;
|
|
105
149
|
};
|
|
106
150
|
/**
|
|
107
151
|
* Provides functions and status related to the pour operation.
|
|
108
152
|
*/
|
|
109
|
-
pour:
|
|
153
|
+
pour: CuiKitPour;
|
|
110
154
|
updateOnBeforePour: (callback: (context?: PourContext) => Promise<boolean>) => void;
|
|
111
155
|
/**
|
|
112
156
|
* The current selections of the cui kit.
|
|
@@ -187,6 +231,6 @@ export interface CuiKitType<BrandData extends Record<string, any> = any, Beverag
|
|
|
187
231
|
*/
|
|
188
232
|
[DISPENSE_GROUP_FLAVOR]: DispenseGroupType<FlavorData, FlavorCompanion>;
|
|
189
233
|
}
|
|
190
|
-
export declare const useCuiKit: <BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any, BrandCompanion extends IKosDataModel = IKosDataModel, BeverageCompanion extends IKosDataModel = IKosDataModel, FlavorCompanion extends IKosDataModel = IKosDataModel>({ initialGroup, options, }: UseCuiKitProps) => CuiKitType<BrandData, BeverageData, FlavorData, BrandCompanion, BeverageCompanion, FlavorCompanion>;
|
|
234
|
+
export declare const useCuiKit: <BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any, BrandCompanion extends IKosDataModel = IKosDataModel, BeverageCompanion extends IKosDataModel = IKosDataModel, FlavorCompanion extends IKosDataModel = IKosDataModel>({ initialGroup, steps, options, }: UseCuiKitProps) => CuiKitType<BrandData, BeverageData, FlavorData, BrandCompanion, BeverageCompanion, FlavorCompanion>;
|
|
191
235
|
export {};
|
|
192
236
|
//# sourceMappingURL=use-cui-kit.d.ts.map
|