@kosdev-code/kos-dispense-sdk 2.0.2
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/dispense-registration-manager-DxIbOft8.js +1759 -0
- package/dispense-registration-manager-DxIbOft8.js.map +1 -0
- package/dispense-registration-manager-aM9RAFHn.cjs +2 -0
- package/dispense-registration-manager-aM9RAFHn.cjs.map +1 -0
- package/extension-utils-hWIrDMX4.cjs +2 -0
- package/extension-utils-hWIrDMX4.cjs.map +1 -0
- package/extension-utils-qcU_4sXo.js +370 -0
- package/extension-utils-qcU_4sXo.js.map +1 -0
- package/index.cjs +2 -0
- package/index.cjs.map +1 -0
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -0
- package/index.js +103 -0
- package/index.js.map +1 -0
- package/models/constants/constants.d.ts +229 -0
- package/models/constants/constants.d.ts.map +1 -0
- package/models/constants/index.d.ts +2 -0
- package/models/constants/index.d.ts.map +1 -0
- package/models/index.d.ts +6 -0
- package/models/index.d.ts.map +1 -0
- package/models/models/assembly/assembly-model.d.ts +40 -0
- package/models/models/assembly/assembly-model.d.ts.map +1 -0
- package/models/models/assembly/assembly-registration.d.ts +81 -0
- package/models/models/assembly/assembly-registration.d.ts.map +1 -0
- package/models/models/assembly/board-utils.d.ts +6 -0
- package/models/models/assembly/board-utils.d.ts.map +1 -0
- package/models/models/assembly/holder-utils.d.ts +5 -0
- package/models/models/assembly/holder-utils.d.ts.map +1 -0
- package/models/models/assembly/index.d.ts +4 -0
- package/models/models/assembly/index.d.ts.map +1 -0
- package/models/models/assembly/nozzle-utils.d.ts +6 -0
- package/models/models/assembly/nozzle-utils.d.ts.map +1 -0
- package/models/models/assembly/pump-utils.d.ts +7 -0
- package/models/models/assembly/pump-utils.d.ts.map +1 -0
- package/models/models/assembly/services/assembly-services.d.ts +8 -0
- package/models/models/assembly/services/assembly-services.d.ts.map +1 -0
- package/models/models/assembly/services/index.d.ts +2 -0
- package/models/models/assembly/services/index.d.ts.map +1 -0
- package/models/models/assembly/types/index.d.ts +64 -0
- package/models/models/availability/availability-model.d.ts +89 -0
- package/models/models/availability/availability-model.d.ts.map +1 -0
- package/models/models/availability/index.d.ts +3 -0
- package/models/models/availability/index.d.ts.map +1 -0
- package/models/models/availability/types/index.d.ts +71 -0
- package/models/models/board/board-container-model.d.ts +23 -0
- package/models/models/board/board-container-model.d.ts.map +1 -0
- package/models/models/board/board-container-registration.d.ts +87 -0
- package/models/models/board/board-container-registration.d.ts.map +1 -0
- package/models/models/board/board-model.d.ts +18 -0
- package/models/models/board/board-model.d.ts.map +1 -0
- package/models/models/board/board-registration.d.ts +84 -0
- package/models/models/board/board-registration.d.ts.map +1 -0
- package/models/models/board/index.d.ts +5 -0
- package/models/models/board/index.d.ts.map +1 -0
- package/models/models/board/types/index.d.ts +36 -0
- package/models/models/board/types/services.d.ts +12 -0
- package/models/models/board/types/services.d.ts.map +1 -0
- package/models/models/board/utils/board-trouble-data-mapper.d.ts +7 -0
- package/models/models/board/utils/board-trouble-data-mapper.d.ts.map +1 -0
- package/models/models/board/utils/board-trouble-resolver.d.ts +7 -0
- package/models/models/board/utils/board-trouble-resolver.d.ts.map +1 -0
- package/models/models/device-assembly/device-assembly-model.d.ts +17 -0
- package/models/models/device-assembly/device-assembly-model.d.ts.map +1 -0
- package/models/models/device-assembly/device-assembly-registration.d.ts +89 -0
- package/models/models/device-assembly/device-assembly-registration.d.ts.map +1 -0
- package/models/models/device-assembly/index.d.ts +4 -0
- package/models/models/device-assembly/index.d.ts.map +1 -0
- package/models/models/device-assembly/types/index.d.ts +1 -0
- package/models/models/holder/holder-model.d.ts +93 -0
- package/models/models/holder/holder-model.d.ts.map +1 -0
- package/models/models/holder/index.d.ts +5 -0
- package/models/models/holder/index.d.ts.map +1 -0
- package/models/models/holder/services/assignment-services.d.ts +25 -0
- package/models/models/holder/services/assignment-services.d.ts.map +1 -0
- package/models/models/holder/services/holder-services.d.ts +28 -0
- package/models/models/holder/services/holder-services.d.ts.map +1 -0
- package/models/models/holder/services/index.d.ts +3 -0
- package/models/models/holder/services/index.d.ts.map +1 -0
- package/models/models/holder/types/index.d.ts +163 -0
- package/models/models/holder/utils/holder-utils.d.ts +9 -0
- package/models/models/holder/utils/holder-utils.d.ts.map +1 -0
- package/models/models/holder-container/holder-container-model.d.ts +80 -0
- package/models/models/holder-container/holder-container-model.d.ts.map +1 -0
- package/models/models/holder-container/index.d.ts +3 -0
- package/models/models/holder-container/index.d.ts.map +1 -0
- package/models/models/holder-container/types/index.d.ts +69 -0
- package/models/models/index.d.ts +13 -0
- package/models/models/index.d.ts.map +1 -0
- package/models/models/ingredient/index.d.ts +4 -0
- package/models/models/ingredient/index.d.ts.map +1 -0
- package/models/models/ingredient/ingredient-model.d.ts +86 -0
- package/models/models/ingredient/ingredient-model.d.ts.map +1 -0
- package/models/models/ingredient/services/index.d.ts +2 -0
- package/models/models/ingredient/services/index.d.ts.map +1 -0
- package/models/models/ingredient/services/ingredient-services.d.ts +30 -0
- package/models/models/ingredient/services/ingredient-services.d.ts.map +1 -0
- package/models/models/ingredient/types/index.d.ts +67 -0
- package/models/models/ingredient-container/index.d.ts +3 -0
- package/models/models/ingredient-container/index.d.ts.map +1 -0
- package/models/models/ingredient-container/ingredient-container-model.d.ts +80 -0
- package/models/models/ingredient-container/ingredient-container-model.d.ts.map +1 -0
- package/models/models/ingredient-container/types/index.d.ts +67 -0
- package/models/models/nozzle/index.d.ts +5 -0
- package/models/models/nozzle/index.d.ts.map +1 -0
- package/models/models/nozzle/nozzle-model.d.ts +257 -0
- package/models/models/nozzle/nozzle-model.d.ts.map +1 -0
- package/models/models/nozzle/services/index.d.ts +2 -0
- package/models/models/nozzle/services/index.d.ts.map +1 -0
- package/models/models/nozzle/services/nozzle-services.d.ts +181 -0
- package/models/models/nozzle/services/nozzle-services.d.ts.map +1 -0
- package/models/models/nozzle/types/index.d.ts +85 -0
- package/models/models/pump/index.d.ts +4 -0
- package/models/models/pump/index.d.ts.map +1 -0
- package/models/models/pump/pump-model.d.ts +91 -0
- package/models/models/pump/pump-model.d.ts.map +1 -0
- package/models/models/pump/services/index.d.ts +2 -0
- package/models/models/pump/services/index.d.ts.map +1 -0
- package/models/models/pump/services/pump-services.d.ts +27 -0
- package/models/models/pump/services/pump-services.d.ts.map +1 -0
- package/models/models/pump/types/index.d.ts +55 -0
- package/models/models/pump/utils/pump-trouble-resolver.d.ts +8 -0
- package/models/models/pump/utils/pump-trouble-resolver.d.ts.map +1 -0
- package/models/models/pump-container/index.d.ts +3 -0
- package/models/models/pump-container/index.d.ts.map +1 -0
- package/models/models/pump-container/pump-container-model.d.ts +85 -0
- package/models/models/pump-container/pump-container-model.d.ts.map +1 -0
- package/models/models/pump-container/types/index.d.ts +31 -0
- package/models/models/types/assembly.d.ts +83 -0
- package/models/models/types/assembly.d.ts.map +1 -0
- package/models/models/types/index.d.ts +4 -0
- package/models/models/types/index.d.ts.map +1 -0
- package/models/models/types/intent.d.ts +19 -0
- package/models/models/types/intent.d.ts.map +1 -0
- package/models/models/types/pouring.d.ts +9 -0
- package/models/models/types/pouring.d.ts.map +1 -0
- package/models/utils/dispense-registration-manager.d.ts +28 -0
- package/models/utils/dispense-registration-manager.d.ts.map +1 -0
- package/models/utils/extension-utils.d.ts +265 -0
- package/models/utils/extension-utils.d.ts.map +1 -0
- package/models/utils/openapi.d.ts +9276 -0
- package/models/utils/registration.d.ts +4 -0
- package/models/utils/registration.d.ts.map +1 -0
- package/models/utils/service.d.ts +64 -0
- package/models/utils/service.d.ts.map +1 -0
- package/models.cjs +2 -0
- package/models.cjs.map +1 -0
- package/models.d.ts +1 -0
- package/models.js +38 -0
- package/models.js.map +1 -0
- package/package.json +36 -0
- package/pump-provider-COTqsOH-.js +1013 -0
- package/pump-provider-COTqsOH-.js.map +1 -0
- package/pump-provider-D2HzZ2Bj.cjs +2 -0
- package/pump-provider-D2HzZ2Bj.cjs.map +1 -0
- package/ui/contexts/assembly/assembly-provider.d.ts +12 -0
- package/ui/contexts/assembly/assembly-provider.d.ts.map +1 -0
- package/ui/contexts/assembly/index.d.ts +2 -0
- package/ui/contexts/assembly/index.d.ts.map +1 -0
- package/ui/contexts/availability/availability-provider.d.ts +13 -0
- package/ui/contexts/availability/availability-provider.d.ts.map +1 -0
- package/ui/contexts/availability/index.d.ts +2 -0
- package/ui/contexts/availability/index.d.ts.map +1 -0
- package/ui/contexts/board/board-provider.d.ts +13 -0
- package/ui/contexts/board/board-provider.d.ts.map +1 -0
- package/ui/contexts/board/index.d.ts +2 -0
- package/ui/contexts/board/index.d.ts.map +1 -0
- package/ui/contexts/board-container/board-container-provider.d.ts +12 -0
- package/ui/contexts/board-container/board-container-provider.d.ts.map +1 -0
- package/ui/contexts/board-container/index.d.ts +2 -0
- package/ui/contexts/board-container/index.d.ts.map +1 -0
- package/ui/contexts/cui-kit/cui-kit.d.ts +22 -0
- package/ui/contexts/cui-kit/cui-kit.d.ts.map +1 -0
- package/ui/contexts/cui-kit/index.d.ts +2 -0
- package/ui/contexts/cui-kit/index.d.ts.map +1 -0
- package/ui/contexts/device-assembly/device-assembly-provider.d.ts +12 -0
- package/ui/contexts/device-assembly/device-assembly-provider.d.ts.map +1 -0
- package/ui/contexts/device-assembly/index.d.ts +2 -0
- package/ui/contexts/device-assembly/index.d.ts.map +1 -0
- package/ui/contexts/holder/holder-provider.d.ts +13 -0
- package/ui/contexts/holder/holder-provider.d.ts.map +1 -0
- package/ui/contexts/holder/index.d.ts +2 -0
- package/ui/contexts/holder/index.d.ts.map +1 -0
- package/ui/contexts/holder-container/holder-container-provider.d.ts +13 -0
- package/ui/contexts/holder-container/holder-container-provider.d.ts.map +1 -0
- package/ui/contexts/holder-container/index.d.ts +2 -0
- package/ui/contexts/holder-container/index.d.ts.map +1 -0
- package/ui/contexts/index.d.ts +13 -0
- package/ui/contexts/index.d.ts.map +1 -0
- package/ui/contexts/ingredient/index.d.ts +2 -0
- package/ui/contexts/ingredient/index.d.ts.map +1 -0
- package/ui/contexts/ingredient/ingredient-provider.d.ts +13 -0
- package/ui/contexts/ingredient/ingredient-provider.d.ts.map +1 -0
- package/ui/contexts/ingredient-container/index.d.ts +2 -0
- package/ui/contexts/ingredient-container/index.d.ts.map +1 -0
- package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts +13 -0
- package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts.map +1 -0
- package/ui/contexts/nozzle/index.d.ts +2 -0
- package/ui/contexts/nozzle/index.d.ts.map +1 -0
- package/ui/contexts/nozzle/nozzle-provider.d.ts +13 -0
- package/ui/contexts/nozzle/nozzle-provider.d.ts.map +1 -0
- package/ui/contexts/pump/index.d.ts +2 -0
- package/ui/contexts/pump/index.d.ts.map +1 -0
- package/ui/contexts/pump/pump-provider.d.ts +13 -0
- package/ui/contexts/pump/pump-provider.d.ts.map +1 -0
- package/ui/hooks/assembly/index.d.ts +3 -0
- package/ui/hooks/assembly/index.d.ts.map +1 -0
- package/ui/hooks/assembly/use-assembly.d.ts +14 -0
- package/ui/hooks/assembly/use-assembly.d.ts.map +1 -0
- package/ui/hooks/assembly/with-assembly.d.ts +8 -0
- package/ui/hooks/assembly/with-assembly.d.ts.map +1 -0
- package/ui/hooks/availability/index.d.ts +3 -0
- package/ui/hooks/availability/index.d.ts.map +1 -0
- package/ui/hooks/availability/use-availability.d.ts +14 -0
- package/ui/hooks/availability/use-availability.d.ts.map +1 -0
- package/ui/hooks/availability/with-availability.d.ts +8 -0
- package/ui/hooks/availability/with-availability.d.ts.map +1 -0
- package/ui/hooks/board/index.d.ts +3 -0
- package/ui/hooks/board/index.d.ts.map +1 -0
- package/ui/hooks/board/use-board.d.ts +14 -0
- package/ui/hooks/board/use-board.d.ts.map +1 -0
- package/ui/hooks/board/with-board.d.ts +8 -0
- package/ui/hooks/board/with-board.d.ts.map +1 -0
- package/ui/hooks/board-container/index.d.ts +3 -0
- package/ui/hooks/board-container/index.d.ts.map +1 -0
- package/ui/hooks/board-container/use-board-container.d.ts +14 -0
- package/ui/hooks/board-container/use-board-container.d.ts.map +1 -0
- package/ui/hooks/board-container/with-board-container.d.ts +8 -0
- package/ui/hooks/board-container/with-board-container.d.ts.map +1 -0
- package/ui/hooks/cui-kit/index.d.ts +8 -0
- package/ui/hooks/cui-kit/index.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts +18 -0
- package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-beverages.d.ts +17 -0
- package/ui/hooks/cui-kit/use-beverages.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-brands.d.ts +17 -0
- package/ui/hooks/cui-kit/use-brands.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-cui-kit.d.ts +127 -0
- package/ui/hooks/cui-kit/use-cui-kit.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts +88 -0
- package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts +19 -0
- package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-dispense-timers.d.ts +17 -0
- package/ui/hooks/cui-kit/use-dispense-timers.d.ts.map +1 -0
- package/ui/hooks/cui-kit/use-flavors.d.ts +17 -0
- package/ui/hooks/cui-kit/use-flavors.d.ts.map +1 -0
- package/ui/hooks/device-assembly/index.d.ts +3 -0
- package/ui/hooks/device-assembly/index.d.ts.map +1 -0
- package/ui/hooks/device-assembly/use-device-assembly.d.ts +14 -0
- package/ui/hooks/device-assembly/use-device-assembly.d.ts.map +1 -0
- package/ui/hooks/device-assembly/with-device-assembly.d.ts +9 -0
- package/ui/hooks/device-assembly/with-device-assembly.d.ts.map +1 -0
- package/ui/hooks/holder/index.d.ts +3 -0
- package/ui/hooks/holder/index.d.ts.map +1 -0
- package/ui/hooks/holder/use-holder.d.ts +14 -0
- package/ui/hooks/holder/use-holder.d.ts.map +1 -0
- package/ui/hooks/holder/with-holder.d.ts +8 -0
- package/ui/hooks/holder/with-holder.d.ts.map +1 -0
- package/ui/hooks/holder-container/index.d.ts +3 -0
- package/ui/hooks/holder-container/index.d.ts.map +1 -0
- package/ui/hooks/holder-container/use-holder-container.d.ts +14 -0
- package/ui/hooks/holder-container/use-holder-container.d.ts.map +1 -0
- package/ui/hooks/holder-container/with-holder-container.d.ts +8 -0
- package/ui/hooks/holder-container/with-holder-container.d.ts.map +1 -0
- package/ui/hooks/index.d.ts +14 -0
- package/ui/hooks/index.d.ts.map +1 -0
- package/ui/hooks/ingredient/index.d.ts +4 -0
- package/ui/hooks/ingredient/index.d.ts.map +1 -0
- package/ui/hooks/ingredient/use-ingredient-pour.d.ts +49 -0
- package/ui/hooks/ingredient/use-ingredient-pour.d.ts.map +1 -0
- package/ui/hooks/ingredient/use-ingredient.d.ts +14 -0
- package/ui/hooks/ingredient/use-ingredient.d.ts.map +1 -0
- package/ui/hooks/ingredient/with-ingredient.d.ts +8 -0
- package/ui/hooks/ingredient/with-ingredient.d.ts.map +1 -0
- package/ui/hooks/ingredient-container/index.d.ts +3 -0
- package/ui/hooks/ingredient-container/index.d.ts.map +1 -0
- package/ui/hooks/ingredient-container/use-ingredient-container.d.ts +14 -0
- package/ui/hooks/ingredient-container/use-ingredient-container.d.ts.map +1 -0
- package/ui/hooks/ingredient-container/with-ingredient-container.d.ts +8 -0
- package/ui/hooks/ingredient-container/with-ingredient-container.d.ts.map +1 -0
- package/ui/hooks/nozzle/index.d.ts +3 -0
- package/ui/hooks/nozzle/index.d.ts.map +1 -0
- package/ui/hooks/nozzle/use-dispense-kit.d.ts +22 -0
- package/ui/hooks/nozzle/use-dispense-kit.d.ts.map +1 -0
- package/ui/hooks/nozzle/use-nozzle.d.ts +14 -0
- package/ui/hooks/nozzle/use-nozzle.d.ts.map +1 -0
- package/ui/hooks/nozzle/with-nozzle.d.ts +8 -0
- package/ui/hooks/nozzle/with-nozzle.d.ts.map +1 -0
- package/ui/hooks/nozzle-pour/index.d.ts +2 -0
- package/ui/hooks/nozzle-pour/index.d.ts.map +1 -0
- package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts +48 -0
- package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts.map +1 -0
- package/ui/hooks/pump/index.d.ts +3 -0
- package/ui/hooks/pump/index.d.ts.map +1 -0
- package/ui/hooks/pump/use-pump.d.ts +14 -0
- package/ui/hooks/pump/use-pump.d.ts.map +1 -0
- package/ui/hooks/pump/with-pump.d.ts +8 -0
- package/ui/hooks/pump/with-pump.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts +5 -0
- package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts +4 -0
- package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/index.d.ts +7 -0
- package/ui/hooks/utils/pour-strategy/index.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts +8 -0
- package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts +13 -0
- package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts +5 -0
- package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts.map +1 -0
- package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts +4 -0
- package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts.map +1 -0
- package/ui/index.d.ts +3 -0
- package/ui/index.d.ts.map +1 -0
- package/ui.cjs +2 -0
- package/ui.cjs.map +1 -0
- package/ui.d.ts +1 -0
- package/ui.js +70 -0
- package/ui.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nozzle-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAClD,iBAAiB,CAAC,mBAAmB,CAAC,CAUvC,CAAC;AACF,eAAO,MAAM,gBAAgB,kBAM5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/pump/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PumpModel } from '../../../models';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
interface PumpType {
|
|
5
|
+
model?: PumpModel;
|
|
6
|
+
}
|
|
7
|
+
interface PumpProviderProps {
|
|
8
|
+
id?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const PumpProvider: React.FunctionComponent<PropsWithChildren<PumpProviderProps>>;
|
|
11
|
+
export declare const usePumpContext: () => PumpType;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=pump-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pump-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAChD,iBAAiB,CAAC,iBAAiB,CAAC,CAUrC,CAAC;AACF,eAAO,MAAM,cAAc,gBAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/assembly/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AssemblyModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
export declare const useAssembly: () => {
|
|
4
|
+
model: AssemblyModel<any, any> | undefined;
|
|
5
|
+
ready: boolean;
|
|
6
|
+
error: string | undefined;
|
|
7
|
+
status: {
|
|
8
|
+
model: AssemblyModel<any, any> | undefined;
|
|
9
|
+
ready: boolean;
|
|
10
|
+
error: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=use-assembly.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/assembly/use-assembly.ts"],"names":[],"mappings":";AACA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE/D,eAAO,MAAM,WAAW;;;;;;;;;;CASvB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssemblyModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
interface AssemblyProps {
|
|
4
|
+
assembly: AssemblyModel;
|
|
5
|
+
}
|
|
6
|
+
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
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=with-assembly.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EAClE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,WAEzB,KAAK,CAAC,EAAE,MAAM,aAAa,CAAC,sDAS5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/availability/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AvailabilityModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
export declare const useAvailability: () => {
|
|
4
|
+
model: AvailabilityModel<any> | undefined;
|
|
5
|
+
ready: boolean;
|
|
6
|
+
error: string | undefined;
|
|
7
|
+
status: {
|
|
8
|
+
model: AvailabilityModel<any> | undefined;
|
|
9
|
+
ready: boolean;
|
|
10
|
+
error: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=use-availability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-availability.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/availability/use-availability.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEvE,eAAO,MAAM,eAAe;;;;;;;;;;CAS3B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AvailabilityModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
interface AvailabilityProps {
|
|
4
|
+
beverage: AvailabilityModel;
|
|
5
|
+
}
|
|
6
|
+
export declare function withBeverage<T extends AvailabilityProps = AvailabilityProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof AvailabilityProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=with-availability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-availability.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,WAEzB,KAAK,CAAC,EAAE,MAAM,iBAAiB,CAAC,sDAShD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BoardModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
export declare const useBoard: (id: string) => {
|
|
4
|
+
model: BoardModel<{}> | undefined;
|
|
5
|
+
ready: boolean;
|
|
6
|
+
error: string | undefined;
|
|
7
|
+
status: {
|
|
8
|
+
model: BoardModel<{}> | undefined;
|
|
9
|
+
ready: boolean;
|
|
10
|
+
error: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=use-board.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-board.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board/use-board.ts"],"names":[],"mappings":";AACA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD,eAAO,MAAM,QAAQ,OAAQ,MAAM;;;;;;;;;;CASlC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BoardModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
interface BoardProps {
|
|
4
|
+
board: BoardModel;
|
|
5
|
+
}
|
|
6
|
+
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
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=with-board.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-board.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,wBAAgB,SAAS,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EACzD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,QAE5B,MAAM,aAAa,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,sDASzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BoardContainerModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
export declare const useBoardContainer: () => {
|
|
4
|
+
model: BoardContainerModel | undefined;
|
|
5
|
+
ready: boolean;
|
|
6
|
+
error: string | undefined;
|
|
7
|
+
status: {
|
|
8
|
+
model: BoardContainerModel | undefined;
|
|
9
|
+
ready: boolean;
|
|
10
|
+
error: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=use-board-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-board-container.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board-container/use-board-container.ts"],"names":[],"mappings":";AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,iBAAiB;;;;;;;;;;CAS7B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BoardContainerModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
interface BoardContainerProps {
|
|
4
|
+
boardContainer: BoardContainerModel;
|
|
5
|
+
}
|
|
6
|
+
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
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=with-board-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-board-container.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,EACnD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,WACzB,KAAK,CAAC,EAAE,MAAM,mBAAmB,CAAC,sDASlD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './use-beverages';
|
|
2
|
+
export * from './use-brands';
|
|
3
|
+
export * from './use-cui-kit';
|
|
4
|
+
export * from './use-default-cui-kit-lifecycle';
|
|
5
|
+
export * from './use-dispense-lifecycle';
|
|
6
|
+
export * from './use-dispense-timers';
|
|
7
|
+
export * from './use-flavors';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { KosTimer } from '@kosdev-code/kos-ui-sdk';
|
|
2
|
+
|
|
3
|
+
interface TimerProps {
|
|
4
|
+
defaultAmbientTime?: number;
|
|
5
|
+
defaultAttractTime?: number;
|
|
6
|
+
onAttractTimer?: VoidFunction;
|
|
7
|
+
onAmbientTimer?: VoidFunction;
|
|
8
|
+
onResetAttractTimer?: VoidFunction;
|
|
9
|
+
onResumeAttractTimer?: VoidFunction;
|
|
10
|
+
}
|
|
11
|
+
export declare const useAmbientAttractTimers: (props: TimerProps) => {
|
|
12
|
+
attractTimer: KosTimer | null;
|
|
13
|
+
restart: () => void;
|
|
14
|
+
pause: () => void;
|
|
15
|
+
resume: () => void;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=use-ambient-attract-timers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-ambient-attract-timers.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-ambient-attract-timers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAI9E,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,UAAW,UAAU;;;;;CAgGxD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AvailabilityModel } from '../../../models';
|
|
2
|
+
import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
onBeverageSelected?: (brand: AvailabilityModel) => void;
|
|
6
|
+
onClearBeverage?: () => void;
|
|
7
|
+
companionType?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useBeverages: <B extends Record<string, any> = any, C extends IKosDataModel = IKosDataModel>({ onBeverageSelected, onClearBeverage, companionType, }: Props) => {
|
|
10
|
+
beverages: AvailabilityModel<B>[];
|
|
11
|
+
beverageCompanions: C[];
|
|
12
|
+
selectBeverage: (beverage: AvailabilityModel) => Promise<void>;
|
|
13
|
+
selectedBeverage: AvailabilityModel<B> | null;
|
|
14
|
+
clearBeverage: () => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=use-beverages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-beverages.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/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,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,YAAY,0IAOtB,KAAK;;;+BAaa,iBAAiB;;;CAsCrC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AvailabilityModel } from '../../../models';
|
|
2
|
+
import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
onBrandSelected?: (brand: AvailabilityModel) => void;
|
|
6
|
+
onBrandCleared?: () => void;
|
|
7
|
+
companionType?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useBrands: <B extends Record<string, any> = any, C extends IKosDataModel = IKosDataModel>({ onBrandSelected, onBrandCleared, companionType, }: Props) => {
|
|
10
|
+
brands: AvailabilityModel<any>[];
|
|
11
|
+
brandCompanions: C[];
|
|
12
|
+
selectedBrand: AvailabilityModel<B> | null;
|
|
13
|
+
selectBrand: (brand: AvailabilityModel<B>) => Promise<void>;
|
|
14
|
+
clearBrand: () => void;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=use-brands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-brands.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-brands.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,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,sIAOnB,KAAK;;;;yBAeU,kBAAkB,CAAC,CAAC;;CAqBrC,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { useNozzlePour } from '../nozzle-pour/use-nozzle-pour';
|
|
2
|
+
import { AvailabilityModel } from '../../../models';
|
|
3
|
+
import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
|
|
4
|
+
|
|
5
|
+
export declare const DISPENSE_GROUP_BRAND = "brands";
|
|
6
|
+
export declare const DISPENSE_GROUP_BEVERAGE = "beverages";
|
|
7
|
+
export declare const DISPENSE_GROUP_FLAVOR = "flavors";
|
|
8
|
+
type InitialGroup = typeof DISPENSE_GROUP_BRAND | typeof DISPENSE_GROUP_BEVERAGE;
|
|
9
|
+
export interface UseCuiKitProps {
|
|
10
|
+
/**
|
|
11
|
+
* The initial group to display when the cui kit is first rendered.
|
|
12
|
+
* The default is to start at the list of brands however for simpler cases
|
|
13
|
+
* it may be desirable to start at the list of beverages.
|
|
14
|
+
*/
|
|
15
|
+
initialGroup?: InitialGroup;
|
|
16
|
+
/**
|
|
17
|
+
* Options to configure the behavior of the cui kit.
|
|
18
|
+
*/
|
|
19
|
+
options?: {
|
|
20
|
+
/**
|
|
21
|
+
* The companion types to associate with the brand, beverage, and flavor models. This
|
|
22
|
+
* is useful when companion models have been created to represent the brand, beverage, and flavor
|
|
23
|
+
* models rather than merely augmenting the AvailabilityModel data.
|
|
24
|
+
*/
|
|
25
|
+
companionTypes?: {
|
|
26
|
+
/**
|
|
27
|
+
* The model type of the brand companion.
|
|
28
|
+
*/
|
|
29
|
+
brand?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The model type of the beverage companion.
|
|
32
|
+
*/
|
|
33
|
+
beverage?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The model type of the flavor companion.
|
|
36
|
+
*/
|
|
37
|
+
flavor?: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
interface DispenseGroupType<AdditionalData extends Record<string, any> = any, Companion extends IKosDataModel = IKosDataModel> {
|
|
42
|
+
/**
|
|
43
|
+
* The list of AvailabilityModels to display in the group.
|
|
44
|
+
*/
|
|
45
|
+
models: AvailabilityModel<AdditionalData>[];
|
|
46
|
+
/**
|
|
47
|
+
* The list of companion models that are associated with the models in the group.
|
|
48
|
+
*
|
|
49
|
+
* If no companion model types are provided in the options, this list will be empty.
|
|
50
|
+
*/
|
|
51
|
+
companions?: Companion[];
|
|
52
|
+
/**
|
|
53
|
+
* Clear the current selection in the group. This will reset the group to its initial state.
|
|
54
|
+
*/
|
|
55
|
+
clear: VoidFunction;
|
|
56
|
+
/**
|
|
57
|
+
* The event handlers for the group. These handlers will be called when a model in the group is selected.
|
|
58
|
+
*/
|
|
59
|
+
handlers: {
|
|
60
|
+
/**
|
|
61
|
+
* The handler to call when a model in the group is selected.
|
|
62
|
+
*/
|
|
63
|
+
onSelected: (model: AvailabilityModel<AdditionalData>) => void;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
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> {
|
|
67
|
+
/**
|
|
68
|
+
* The navigation state of the cui kit.
|
|
69
|
+
*/
|
|
70
|
+
nav: {
|
|
71
|
+
/**
|
|
72
|
+
* The current group that is being displayed.
|
|
73
|
+
*/
|
|
74
|
+
currentGroup: string;
|
|
75
|
+
/**
|
|
76
|
+
* The handler to navigate back to the previous group.
|
|
77
|
+
*/
|
|
78
|
+
back: VoidFunction;
|
|
79
|
+
/**
|
|
80
|
+
* The handler to navigate to the initial group as defined in the options.
|
|
81
|
+
*/
|
|
82
|
+
home: VoidFunction;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Provides functions and status related to the pour operation.
|
|
86
|
+
*/
|
|
87
|
+
pour: ReturnType<typeof useNozzlePour>;
|
|
88
|
+
/**
|
|
89
|
+
* The current selections of the cui kit.
|
|
90
|
+
*/
|
|
91
|
+
selections: {
|
|
92
|
+
/**
|
|
93
|
+
* The selected brand model.
|
|
94
|
+
*/
|
|
95
|
+
[DISPENSE_GROUP_BRAND]: AvailabilityModel<BrandData> | null;
|
|
96
|
+
/**
|
|
97
|
+
* The selected beverage model.
|
|
98
|
+
*/
|
|
99
|
+
[DISPENSE_GROUP_BEVERAGE]: AvailabilityModel<BeverageData> | null;
|
|
100
|
+
/**
|
|
101
|
+
* The selected flavor models.
|
|
102
|
+
*/
|
|
103
|
+
[DISPENSE_GROUP_FLAVOR]: AvailabilityModel<FlavorData>[] | null;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* The group of brands to display.
|
|
107
|
+
*/
|
|
108
|
+
[DISPENSE_GROUP_BRAND]: DispenseGroupType<BrandData, BrandCompanion>;
|
|
109
|
+
/**
|
|
110
|
+
* The group of beverages to display. This list will be filtered
|
|
111
|
+
* based on previous selections and the relationships of the models in the graph.
|
|
112
|
+
*
|
|
113
|
+
* For example, if a brand has been selected, this will return the list of beverages that
|
|
114
|
+
* are associated with the selected brand. Otherwise, it will return the list of all beverages.
|
|
115
|
+
*/
|
|
116
|
+
[DISPENSE_GROUP_BEVERAGE]: DispenseGroupType<BeverageData, BeverageCompanion>;
|
|
117
|
+
/**
|
|
118
|
+
* The group of flavors to display. This list will be filtered
|
|
119
|
+
* based on previous selections and the relationships of the models in the graph.
|
|
120
|
+
* For example, if a beverage has been selected, this will return the list of flavors that
|
|
121
|
+
* are associated with the selected beverage. Otherwise, it will return the list of all flavors.
|
|
122
|
+
*/
|
|
123
|
+
[DISPENSE_GROUP_FLAVOR]: DispenseGroupType<FlavorData, FlavorCompanion>;
|
|
124
|
+
}
|
|
125
|
+
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>;
|
|
126
|
+
export {};
|
|
127
|
+
//# sourceMappingURL=use-cui-kit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-cui-kit.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-cui-kit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAI/D,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAC7C,eAAO,MAAM,uBAAuB,cAAc,CAAC;AACnD,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAE/C,KAAK,YAAY,GACb,OAAO,oBAAoB,GAC3B,OAAO,uBAAuB,CAAC;AACnC,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;;WAIG;QACH,cAAc,CAAC,EAAE;YACf;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;YACf;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACH,CAAC;CACH;AAED,UAAU,iBAAiB,CACzB,cAAc,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAChD,SAAS,SAAS,aAAa,GAAG,aAAa;IAE/C;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC,EAAE,CAAC;IAE5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IAEzB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE;QACR;;WAEG;QACH,UAAU,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;KAChE,CAAC;CACH;AACD,MAAM,WAAW,UAAU,CACzB,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,EAC5C,cAAc,SAAS,aAAa,GAAG,aAAa,EACpD,iBAAiB,SAAS,aAAa,GAAG,aAAa,EACvD,eAAe,SAAS,aAAa,GAAG,aAAa;IAErD;;OAEG;IACH,GAAG,EAAE;QACH;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,IAAI,EAAE,YAAY,CAAC;QAEnB;;WAEG;QACH,IAAI,EAAE,YAAY,CAAC;KACpB,CAAC;IAEF;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;IAEvC;;OAEG;IACH,UAAU,EAAE;QACV;;WAEG;QACH,CAAC,oBAAoB,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;QAE5D;;WAEG;QACH,CAAC,uBAAuB,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;QAElE;;WAEG;QACH,CAAC,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,EAAE,GAAG,IAAI,CAAC;KACjE,CAAC;IAEF;;OAEG;IACH,CAAC,oBAAoB,CAAC,EAAE,iBAAiB,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;IACrE;;;;;;OAMG;IACH,CAAC,uBAAuB,CAAC,EAAE,iBAAiB,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC;IAE9E;;;;;OAKG;IACH,CAAC,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;CACzE;AAED,eAAO,MAAM,SAAS,gVAUnB,cAAc,KAAG,WAClB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,eAAe,CA0JhB,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { CuiKitType } from './use-cui-kit';
|
|
2
|
+
|
|
3
|
+
interface TimerProps {
|
|
4
|
+
/**
|
|
5
|
+
* The idle timeout in seconds. This is the time in seconds that the screen will wait before
|
|
6
|
+
* the current session is considered idle at which point the current selections will be cleared
|
|
7
|
+
* and the screen will return to the home screen.
|
|
8
|
+
*/
|
|
9
|
+
idleTimeout?: number;
|
|
10
|
+
/**
|
|
11
|
+
* This is the amount of time left in the idle timeout at which point the are you there screen will be shown.
|
|
12
|
+
*
|
|
13
|
+
* For example, if the idle timer was set to 60 seconds and the areYouThereTimeoutOffset was set to 10 seconds,
|
|
14
|
+
* the are you there screen would be shown after 50 seconds of inactivity to provide an opportunity for the user
|
|
15
|
+
* to indicate that they are still present.
|
|
16
|
+
*/
|
|
17
|
+
areYouThereTimeoutOffset?: number;
|
|
18
|
+
}
|
|
19
|
+
interface Props {
|
|
20
|
+
/**
|
|
21
|
+
* The CuiKit instance
|
|
22
|
+
*/
|
|
23
|
+
kit?: CuiKitType | null;
|
|
24
|
+
/**
|
|
25
|
+
* The timer configuration for the inactivity timer
|
|
26
|
+
*/
|
|
27
|
+
inactivity?: TimerProps;
|
|
28
|
+
/**
|
|
29
|
+
* An alternate timer configuration that is applied when a pour has been initiated
|
|
30
|
+
* in the current session. This is useful when the idle timeout should be different
|
|
31
|
+
* when a pour has been initiated.
|
|
32
|
+
*/
|
|
33
|
+
pour?: TimerProps;
|
|
34
|
+
/**
|
|
35
|
+
* Screen configuration to control the visibility and timing of the attract and ambient screens.
|
|
36
|
+
*/
|
|
37
|
+
screens?: {
|
|
38
|
+
/**
|
|
39
|
+
* The amount of time in seconds before the attract screen is shown.
|
|
40
|
+
*/
|
|
41
|
+
attractTimeout?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The amount of time in seconds measured as an offset from the attract timeout
|
|
44
|
+
* that the ambient screen will be shown. For example, if the attract screen is to be
|
|
45
|
+
* show after 300 seconds and the ambient timeout is set to 120 seconds, the ambient screen will appear
|
|
46
|
+
* after 180 seconds and display for 120 seconds before the attract screen is shown.
|
|
47
|
+
*/
|
|
48
|
+
ambientTimeoutOffset?: number;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
interface LifecycleData {
|
|
52
|
+
/**
|
|
53
|
+
* Flag to indicate if the are you there timoute screen should be shown
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
*/
|
|
56
|
+
showAreYouThere: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Callback that when invoked will reset the are you there timer and hide the screen
|
|
59
|
+
* @returns
|
|
60
|
+
*/
|
|
61
|
+
clearAreYouThere: () => void;
|
|
62
|
+
/**
|
|
63
|
+
* The countdown value for the are you there screen. This value is used to display the countdown.
|
|
64
|
+
* If a pour has been initiated at any point in the current session, the countdown value will be based
|
|
65
|
+
* on the pour idleTimeout and pour areYouThereTimeoutOffset value. Otherwise it will be based on the
|
|
66
|
+
* inactivity idleTimeout and areYouThereTimeoutOffset values.
|
|
67
|
+
* @type {number}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
areYouThereCountdown: number;
|
|
71
|
+
/**
|
|
72
|
+
* Flag to indicate if the ambient screen should be shown
|
|
73
|
+
*/
|
|
74
|
+
showAmbientScreen: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Flag to indicate if the attract screen should be shown
|
|
77
|
+
*/
|
|
78
|
+
showAttractScreen: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Callback to pause and reset the screen timer. This will typically be called when a user
|
|
81
|
+
* interacts with the screen when the ambient or attract screen is show. This will set
|
|
82
|
+
* the `showAmbientScreen` and `showAttractScreen` flags to false and reset the timer.
|
|
83
|
+
*/
|
|
84
|
+
pauseScreenTimer: () => void;
|
|
85
|
+
}
|
|
86
|
+
export declare const useDefaultCuiKitLifecycle: ({ kit, inactivity, pour, screens, }: Props) => LifecycleData;
|
|
87
|
+
export {};
|
|
88
|
+
//# sourceMappingURL=use-default-cui-kit-lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-default-cui-kit-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,UAAU,UAAU;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AACD,UAAU,KAAK;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB;;;;;WAKG;QACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;KAC/B,CAAC;CACH;AAED,UAAU,aAAa;IACrB;;;OAGG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAE7B;;;;;;;OAOG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AACD,eAAO,MAAM,yBAAyB,wCAKnC,KAAK,KAAG,aAmKV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AvailabilityModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
interface Props<BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any> {
|
|
4
|
+
onBrandSelected?: (brand: AvailabilityModel<BrandData>) => void;
|
|
5
|
+
onBrandCleared?: () => void;
|
|
6
|
+
onBeverageSelected?: (brand: AvailabilityModel<BeverageData>) => void;
|
|
7
|
+
onBeverageCleared?: () => void;
|
|
8
|
+
onFlavorSelected?: (brand: AvailabilityModel<FlavorData>) => void;
|
|
9
|
+
onFlavorCleared?: () => void;
|
|
10
|
+
onPour?: () => void;
|
|
11
|
+
onPourCancel?: () => void;
|
|
12
|
+
onAmbientTimer?: () => void;
|
|
13
|
+
onAttractTimer?: () => void;
|
|
14
|
+
onResumeAttractTimer?: () => void;
|
|
15
|
+
onInit?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const useDispenseLifecycle: ({ onInit, onBrandSelected, onBrandCleared, onBeverageCleared, onBeverageSelected, onFlavorCleared, onFlavorSelected, onPour, onPourCancel, onAmbientTimer, onAttractTimer, onResumeAttractTimer, }: Props) => void;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=use-dispense-lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dispense-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-dispense-lifecycle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,KAAK,CACb,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,KAAK,EAAE,iBAAiB,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IACtE,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AASD,eAAO,MAAM,oBAAoB,uMAa9B,KAAK,SA0EP,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { KosTimer } from '@kosdev-code/kos-ui-sdk';
|
|
2
|
+
|
|
3
|
+
interface TimerProps {
|
|
4
|
+
defaultIdleTime?: number;
|
|
5
|
+
defaultAreYouThereTime?: number;
|
|
6
|
+
onIdleTimer?: VoidFunction;
|
|
7
|
+
onAreYouThereTimer?: VoidFunction;
|
|
8
|
+
onResetIdleTimer?: VoidFunction;
|
|
9
|
+
prefix?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const useCuiKitTimers: (props: TimerProps) => {
|
|
12
|
+
idleTimer: KosTimer | null;
|
|
13
|
+
restart: () => void;
|
|
14
|
+
pause: () => void;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=use-dispense-timers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dispense-timers.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-dispense-timers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAI9E,UAAU,UAAU;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,kBAAkB,CAAC,EAAE,YAAY,CAAC;IAClC,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,eAAe,UAAW,UAAU;;;;CA4EhD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AvailabilityModel } from '../../../models';
|
|
2
|
+
import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
onFlavorSelected?: (flavor: AvailabilityModel, flavors: AvailabilityModel[]) => void;
|
|
6
|
+
onFlavorCleared?: () => void;
|
|
7
|
+
companionType?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useFlavors: <F extends Record<string, any> = any, C extends IKosDataModel = IKosDataModel>({ onFlavorSelected, onFlavorCleared, companionType, }: Props) => {
|
|
10
|
+
flavors: AvailabilityModel<F>[];
|
|
11
|
+
flavorCompanions: C[];
|
|
12
|
+
selectFlavor: (flavor: AvailabilityModel) => Promise<void>;
|
|
13
|
+
selectedFlavors: AvailabilityModel<any>[] | null;
|
|
14
|
+
clearFlavors: () => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=use-flavors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-flavors.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,UAAU,KAAK;IACb,gBAAgB,CAAC,EAAE,CACjB,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,iBAAiB,EAAE,KACzB,IAAI,CAAC;IACV,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,UAAU,wIAOpB,KAAK;;;2BAkBW,iBAAiB;;;CAkCnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/device-assembly/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeviceAssemblyModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
export declare const useDeviceAssembly: () => {
|
|
4
|
+
model: DeviceAssemblyModel | undefined;
|
|
5
|
+
ready: boolean;
|
|
6
|
+
error: string | undefined;
|
|
7
|
+
status: {
|
|
8
|
+
model: DeviceAssemblyModel | undefined;
|
|
9
|
+
ready: boolean;
|
|
10
|
+
error: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=use-device-assembly.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-device-assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/device-assembly/use-device-assembly.ts"],"names":[],"mappings":";AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,iBAAiB;;;;;;;;;;CAS7B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeviceAssemblyModel } from '../../../models';
|
|
2
|
+
|
|
3
|
+
interface DeviceAssemblyProps {
|
|
4
|
+
deviceAssembly: DeviceAssemblyModel;
|
|
5
|
+
}
|
|
6
|
+
type HoCDeviceAssemblyProps = DeviceAssemblyProps;
|
|
7
|
+
export declare function withDeviceAssembly<T extends HoCDeviceAssemblyProps = HoCDeviceAssemblyProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof DeviceAssemblyProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=with-device-assembly.d.ts.map
|