@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-cui-kit.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-cui-kit.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/use-cui-kit.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,48 +1,4 @@
|
|
|
1
1
|
import { CuiKitType } from './use-cui-kit';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Hook that provides default CUI Kit lifecycle management with support for preflight checks.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* // Basic usage without preflight check
|
|
8
|
-
* const lifecycle = useDefaultCuiKitLifecycle({
|
|
9
|
-
* kit,
|
|
10
|
-
* inactivity: { idleTimeout: 60, areYouThereTimeoutOffset: 10 }
|
|
11
|
-
* });
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* // With before callback to validate conditions before showing "Are You There"
|
|
15
|
-
* const lifecycle = useDefaultCuiKitLifecycle({
|
|
16
|
-
* kit,
|
|
17
|
-
* inactivity: { idleTimeout: 60, areYouThereTimeoutOffset: 10 },
|
|
18
|
-
* onBeforeAreYouThereTimer: async () => {
|
|
19
|
-
* // Check if user has items in cart
|
|
20
|
-
* if (cartItems.length === 0) {
|
|
21
|
-
* return false; // Skip "Are You There" if no items selected
|
|
22
|
-
* }
|
|
23
|
-
*
|
|
24
|
-
* // Check system status
|
|
25
|
-
* const systemStatus = await checkSystemAvailability();
|
|
26
|
-
* return systemStatus.isOperational;
|
|
27
|
-
* }
|
|
28
|
-
* });
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // Advanced before callback with multiple conditions
|
|
32
|
-
* const onBeforeAreYouThereTimer = useCallback(async () => {
|
|
33
|
-
* // Don't show if pour is in progress
|
|
34
|
-
* if (pourInProgress) return false;
|
|
35
|
-
*
|
|
36
|
-
* // Don't show if maintenance mode is active
|
|
37
|
-
* const maintenance = await checkMaintenanceStatus();
|
|
38
|
-
* if (maintenance.active) return false;
|
|
39
|
-
*
|
|
40
|
-
* // Don't show if user has premium access (extended timeout)
|
|
41
|
-
* if (user?.isPremium) return false;
|
|
42
|
-
*
|
|
43
|
-
* return true; // Show "Are You There" screen
|
|
44
|
-
* }, [pourInProgress, user]);
|
|
45
|
-
*/
|
|
46
2
|
interface TimerProps {
|
|
47
3
|
/**
|
|
48
4
|
* The idle timeout in seconds. This is the time in seconds that the screen will wait before
|
|
@@ -157,6 +113,22 @@ interface LifecycleData {
|
|
|
157
113
|
*/
|
|
158
114
|
restartIdleTimer: () => void;
|
|
159
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Provides the default CUI Kit lifecycle: the idle and "Are You There" timers, the ambient and
|
|
118
|
+
* attract screen timers, and the dispense lifecycle events that reset them.
|
|
119
|
+
*
|
|
120
|
+
* Pass `onBeforeAreYouThereTimer` to decide, when the timer expires, whether the "Are You There"
|
|
121
|
+
* screen is shown; `areYouThereRejectionPolicy` controls the timers when it returns false.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```typescript
|
|
125
|
+
* const lifecycle = useDefaultCuiKitLifecycle({
|
|
126
|
+
* kit,
|
|
127
|
+
* inactivity: { idleTimeout: 60, areYouThereTimeoutOffset: 10 },
|
|
128
|
+
* onBeforeAreYouThereTimer: async () => !pourInProgress,
|
|
129
|
+
* });
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
160
132
|
export declare const useDefaultCuiKitLifecycle: ({ kit, inactivity, pour, screens, onBeforeAreYouThereTimer, areYouThereRejectionPolicy, }: Props) => LifecycleData;
|
|
161
133
|
export {};
|
|
162
134
|
//# sourceMappingURL=use-default-cui-kit-lifecycle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-default-cui-kit-lifecycle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-default-cui-kit-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../packages/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;AAShD,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;IAEF;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAElD;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;CAC3D;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;IAE7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAE/B;;;OAGG;IACH,cAAc,EAAE,MAAM,IAAI,CAAC;IAE3B;;;OAGG;IACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AACD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,GAAI,2FAOvC,KAAK,KAAG,aA6SV,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AvailabilityModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface Props<BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any> {
|
|
4
3
|
onBrandSelected?: (brand: AvailabilityModel<BrandData>) => void;
|
|
5
4
|
onBrandCleared?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-dispense-lifecycle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-dispense-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/use-dispense-lifecycle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,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,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,KAAK,EAAE,iBAAiB,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,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;AAcD,eAAO,MAAM,oBAAoB,GAAI,sSAkBlC,KAAK,SAmDP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-dispense-timers.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-dispense-timers.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/cui-kit/use-dispense-timers.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,yBAAyB,CAAC;AAIjC,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;AAMD,eAAO,MAAM,eAAe,GAAI,OAAO,UAAU;;;;CAwGhD,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
|
onFlavorSelected?: (flavor: AvailabilityModel, flavors: AvailabilityModel[]) => void;
|
|
6
5
|
onFlavorCleared?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-flavors.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-flavors.d.ts","sourceRoot":"","sources":["../../../../../../packages/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,GACrB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EACnC,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,uDAIC,KAAK;;;2BAsBM,iBAAiB,YACf,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBACf,OAAO;;;CAuC1B,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/device-assembly/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { DeviceAssemblyModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-device-assembly
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useDeviceAssembly: () => {
|
|
4
7
|
model: DeviceAssemblyModel | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useDeviceAssembly: () => {
|
|
|
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-device-assembly.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-device-assembly.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-device-assembly.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/device-assembly/use-device-assembly.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3E;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;CAS7B,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { DeviceAssemblyModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface DeviceAssemblyProps {
|
|
4
3
|
deviceAssembly: DeviceAssemblyModel;
|
|
5
4
|
}
|
|
6
5
|
type HoCDeviceAssemblyProps = DeviceAssemblyProps;
|
|
6
|
+
/**
|
|
7
|
+
* @kosService dispense.use-device-assembly
|
|
8
|
+
* @kosApiLevel 2
|
|
9
|
+
*/
|
|
7
10
|
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
11
|
export {};
|
|
9
12
|
//# sourceMappingURL=with-device-assembly.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-device-assembly.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-device-assembly.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/device-assembly/with-device-assembly.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,UAAU,mBAAmB;IAC3B,cAAc,EAAE,mBAAmB,CAAC;CACrC;AAED,KAAK,sBAAsB,GAAG,mBAAmB,CAAC;AAElD;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,sBAAsB,GAAG,sBAAsB,EACzD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,mBAAmB,CAAC,sDASlD"}
|
|
@@ -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/generic-pour/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { GenericPourModel } from '../../../models/models/generic-pour';
|
|
2
1
|
import { KosData } from '@kosdev-code/kos-ui-sdk';
|
|
3
|
-
|
|
2
|
+
import { GenericPourModel } from '../../../models/models/generic-pour';
|
|
3
|
+
/**
|
|
4
|
+
* @kosService dispense.use-generic-pour
|
|
5
|
+
* @kosApiLevel 4
|
|
6
|
+
*/
|
|
4
7
|
export declare const useGenericPour: (id: string, servicePathFactory: (selectedId: string, context?: KosData<Record<string, any>>) => string, itemId?: string, data?: Record<string, any>) => {
|
|
5
8
|
model: GenericPourModel | undefined;
|
|
6
9
|
ready: boolean;
|
|
@@ -10,6 +13,6 @@ export declare const useGenericPour: (id: string, servicePathFactory: (selectedI
|
|
|
10
13
|
ready: boolean;
|
|
11
14
|
error: string | undefined;
|
|
12
15
|
};
|
|
13
|
-
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('
|
|
16
|
+
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>>;
|
|
14
17
|
};
|
|
15
18
|
//# sourceMappingURL=use-generic-pour.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-generic-pour.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-generic-pour.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/generic-pour/use-generic-pour.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAEL,KAAK,gBAAgB,EAEtB,MAAM,qCAAqC,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,IAAI,MAAM,EACV,oBAAoB,CAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KACnC,MAAM,EACX,SAAS,MAAM,EACf,OAAO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;CAe3B,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { GenericPourModel } from '
|
|
2
|
-
|
|
1
|
+
import { GenericPourModel } from '../../../models/models/generic-pour';
|
|
3
2
|
interface GenericPourProps {
|
|
4
3
|
genericPour: GenericPourModel;
|
|
5
4
|
}
|
|
@@ -9,6 +8,10 @@ interface Identifiable {
|
|
|
9
8
|
itemId?: string;
|
|
10
9
|
}
|
|
11
10
|
type HoCGenericPourProps = GenericPourProps & Identifiable;
|
|
11
|
+
/**
|
|
12
|
+
* @kosService dispense.use-generic-pour
|
|
13
|
+
* @kosApiLevel 4
|
|
14
|
+
*/
|
|
12
15
|
export declare function withGenericPour<T extends HoCGenericPourProps = HoCGenericPourProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof GenericPourProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
16
|
export {};
|
|
14
17
|
//# sourceMappingURL=with-generic-pour.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-generic-pour.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-generic-pour.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/generic-pour/with-generic-pour.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAGvE,UAAU,gBAAgB;IACxB,WAAW,EAAE,gBAAgB,CAAC;CAC/B;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,KAAK,mBAAmB,GAAG,gBAAgB,GAAG,YAAY,CAAC;AAE3D;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,EACnD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,gBAAgB,CAAC,sDAa/C"}
|
|
@@ -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/holder/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { HolderModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-holder
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useHolder: (id: string) => {
|
|
4
7
|
model: HolderModel<any> | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useHolder: (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-holder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-holder.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-holder.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/holder/use-holder.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,IAAI,MAAM;;;;;;;;;;CASnC,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { HolderModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface HolderProps {
|
|
4
3
|
holder: HolderModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-holder
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withHolder<T extends HolderProps = HolderProps>(id: string, WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof HolderProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-holder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-holder.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-holder.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/holder/with-holder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,UAAU,WAAW;IACnB,MAAM,EAAE,WAAW,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,EAAE,EAAE,MAAM,EACV,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,WAAW,CAAC,sDAS1C"}
|
|
@@ -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/holder-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { HolderContainerModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-holder
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useHolderContainer: () => {
|
|
4
|
-
model: HolderContainerModel
|
|
7
|
+
model: HolderContainerModel | undefined;
|
|
5
8
|
ready: boolean;
|
|
6
9
|
error: string | undefined;
|
|
7
10
|
status: {
|
|
8
|
-
model: HolderContainerModel
|
|
11
|
+
model: HolderContainerModel | undefined;
|
|
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-holder-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-holder-container.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-holder-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/holder-container/use-holder-container.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE7E;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;CAS9B,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { HolderContainerModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface HolderContainerProps {
|
|
4
3
|
holderContainer: HolderContainerModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-holder
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withHolderContainer<T extends HolderContainerProps = HolderContainerProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof HolderContainerProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-holder-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-holder-container.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-holder-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/holder-container/with-holder-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAG5D,UAAU,oBAAoB;IAC5B,eAAe,EAAE,oBAAoB,CAAC;CACvC;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,SAAS,oBAAoB,GAAG,oBAAoB,EACrD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,oBAAoB,CAAC,sDASnD"}
|
package/ui/hooks/index.d.ts.map
CHANGED
|
@@ -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/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,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC;AAEtC,cAAc,gBAAgB,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/ingredient/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { PourStrategy } from '../utils/pour-strategy/pour-strategy';
|
|
2
|
-
import { IntentAware } from '../../../models';
|
|
3
1
|
import { ReactDOMAttributes } from '@use-gesture/react/dist/declarations/src/types';
|
|
4
|
-
|
|
2
|
+
import { IntentAware } from '../../../models';
|
|
3
|
+
import { PourStrategy } from '../utils/pour-strategy/pour-strategy';
|
|
5
4
|
interface IngredientPourProps {
|
|
6
5
|
onPour?: () => void;
|
|
7
6
|
onPourCancel?: () => void;
|
|
8
7
|
intentContainer: IntentAware;
|
|
9
8
|
strategy?: PourStrategy<IntentAware>;
|
|
10
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* @kosService dispense.ingredient
|
|
12
|
+
* @kosApiLevel 2
|
|
13
|
+
*/
|
|
11
14
|
export interface IngredientPourResponse {
|
|
12
15
|
handlers: (...args: any[]) => ReactDOMAttributes;
|
|
13
16
|
cancel: () => void;
|
|
@@ -17,33 +20,24 @@ export interface IngredientPourResponse {
|
|
|
17
20
|
};
|
|
18
21
|
}
|
|
19
22
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* The hook will return a number of gesture handlers that can be spread onto a DOM element.
|
|
23
|
-
* The hook will automatically detects if touch or mouse events are used.
|
|
24
|
-
*
|
|
23
|
+
* Handles press-to-pour for an intent-aware model, such as a holder or pump. Returns gesture handlers
|
|
24
|
+
* to spread onto a DOM element; touch and mouse input are both detected.
|
|
25
25
|
*
|
|
26
26
|
* @param onPour - callback initiated after pouring starts
|
|
27
27
|
* @param onPourCancel - callback initiated after pouring is cancelled
|
|
28
|
-
* @returns handlers - gesture handlers for
|
|
29
|
-
*
|
|
28
|
+
* @returns handlers - gesture handlers for pouring
|
|
30
29
|
*
|
|
31
30
|
* @example
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* onPourCancel: () => {
|
|
37
|
-
* console.log("Pouring cancelled");
|
|
38
|
-
* },
|
|
39
|
-
* });
|
|
40
|
-
*
|
|
41
|
-
* <div {...handlers()} />
|
|
42
|
-
*
|
|
31
|
+
* ```tsx
|
|
32
|
+
* const { handlers } = useIngredientPour({ intentContainer: holder, onPour, onPourCancel });
|
|
33
|
+
* return <button {...handlers()}>Pour</button>;
|
|
34
|
+
* ```
|
|
43
35
|
*
|
|
44
36
|
* @see {@link IntentAware.performIntent}
|
|
45
37
|
* @see {@link usePressGesture}
|
|
46
|
-
|
|
38
|
+
* @kosService dispense.use-ingredient
|
|
39
|
+
* @kosApiLevel 2
|
|
40
|
+
*/
|
|
47
41
|
export declare const useIngredientPour: ({ onPour, onPourCancel, intentContainer, strategy, }: IngredientPourProps) => IngredientPourResponse;
|
|
48
42
|
export {};
|
|
49
43
|
//# sourceMappingURL=use-ingredient-pour.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-ingredient-pour.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-ingredient-pour.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/ingredient/use-ingredient-pour.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,UAAU,mBAAmB;IAC3B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,kBAAkB,CAAC;IACjD,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB,MAAM,CAAC,EAAE;QACP,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAMD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,iBAAiB,GAAI,sDAK/B,mBAAmB,KAAG,sBAiCxB,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IngredientModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-ingredient
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useIngredient: () => {
|
|
4
7
|
model: IngredientModel<any> | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useIngredient: () => {
|
|
|
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-ingredient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-ingredient.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-ingredient.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/ingredient/use-ingredient.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;CASzB,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { IngredientModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface IngredientProps {
|
|
4
3
|
ingredient: IngredientModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-ingredient
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withIngredient<T extends IngredientProps = IngredientProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof IngredientProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-ingredient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-ingredient.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-ingredient.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/ingredient/with-ingredient.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,UAAU,eAAe;IACvB,UAAU,EAAE,eAAe,CAAC;CAC7B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EACxE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,eAAe,CAAC,sDAS9C"}
|
|
@@ -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/ingredient-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IngredientContainerModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-ingredient
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useIngredientContainer: () => {
|
|
4
7
|
model: IngredientContainerModel<{}> | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useIngredientContainer: () => {
|
|
|
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-ingredient-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-ingredient-container.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-ingredient-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/ingredient-container/use-ingredient-container.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;CASlC,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { IngredientContainerModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface IngredientContainerProps {
|
|
4
3
|
ingredientContainer: IngredientContainerModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-ingredient
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withIngredientContainer<T extends IngredientContainerProps = IngredientContainerProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof IngredientContainerProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-ingredient-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-ingredient-container.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"with-ingredient-container.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/ingredient-container/with-ingredient-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,UAAU,wBAAwB;IAChC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,CAAC,SAAS,wBAAwB,GAAG,wBAAwB,EAC7D,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,wBAAwB,CAAC,sDASvD"}
|
|
@@ -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/nozzle/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-dispense-kit.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-dispense-kit.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/nozzle/use-dispense-kit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,KAAK;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,eAAO,MAAM,cAAc,GACzB,yDAAwD,KAIvD;;;;;;gCAoBS,iBAAiB;;;;;;CAyD5B,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { NozzleModel } from '../../../models';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @kosService dispense.use-nozzle
|
|
4
|
+
* @kosApiLevel 2
|
|
5
|
+
*/
|
|
3
6
|
export declare const useNozzle: (path: string) => {
|
|
4
7
|
model: NozzleModel | undefined;
|
|
5
8
|
ready: boolean;
|
|
@@ -9,6 +12,6 @@ export declare const useNozzle: (path: 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-nozzle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-nozzle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"use-nozzle.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-dispense-sdk/src/ui/hooks/nozzle/use-nozzle.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM;;;;;;;;;;CAWrC,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { NozzleModel } from '../../../models';
|
|
2
|
-
|
|
3
2
|
interface NozzleProps {
|
|
4
3
|
nozzle: NozzleModel;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* @kosService dispense.use-nozzle
|
|
7
|
+
* @kosApiLevel 2
|
|
8
|
+
*/
|
|
6
9
|
export declare function withNozzle<T extends NozzleProps = NozzleProps>(path: string, WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof NozzleProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
8
11
|
//# sourceMappingURL=with-nozzle.d.ts.map
|