@kosdev-code/kos-ddk-model-components 0.1.0-dev.10
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/components/actions/action.d.ts +18 -0
- package/components/actions/action.d.ts.map +1 -0
- package/components/actions/index.d.ts +4 -0
- package/components/actions/index.d.ts.map +1 -0
- package/components/actions/intent/calibrate-action.d.ts +7 -0
- package/components/actions/intent/calibrate-action.d.ts.map +1 -0
- package/components/actions/intent/fixed-45.d.ts +7 -0
- package/components/actions/intent/fixed-45.d.ts.map +1 -0
- package/components/actions/intent/flush-action.d.ts +7 -0
- package/components/actions/intent/flush-action.d.ts.map +1 -0
- package/components/actions/intent/high-flow-test-action.d.ts +7 -0
- package/components/actions/intent/high-flow-test-action.d.ts.map +1 -0
- package/components/actions/intent/hold-to-pour-action.d.ts +7 -0
- package/components/actions/intent/hold-to-pour-action.d.ts.map +1 -0
- package/components/actions/intent/index.d.ts +12 -0
- package/components/actions/intent/index.d.ts.map +1 -0
- package/components/actions/intent/intent-action.d.ts +26 -0
- package/components/actions/intent/intent-action.d.ts.map +1 -0
- package/components/actions/intent/low-flow-test-action.d.ts +7 -0
- package/components/actions/intent/low-flow-test-action.d.ts.map +1 -0
- package/components/actions/intent/manual-override-action.d.ts +7 -0
- package/components/actions/intent/manual-override-action.d.ts.map +1 -0
- package/components/actions/intent/msv-reset-action.d.ts +7 -0
- package/components/actions/intent/msv-reset-action.d.ts.map +1 -0
- package/components/actions/intent/prime-action.d.ts +7 -0
- package/components/actions/intent/prime-action.d.ts.map +1 -0
- package/components/actions/intent/purge-action.d.ts +7 -0
- package/components/actions/intent/purge-action.d.ts.map +1 -0
- package/components/actions/trouble/generic-trouble-action.d.ts +7 -0
- package/components/actions/trouble/generic-trouble-action.d.ts.map +1 -0
- package/components/actions/trouble/index.d.ts +5 -0
- package/components/actions/trouble/index.d.ts.map +1 -0
- package/components/actions/trouble/trouble-aware-action.d.ts +26 -0
- package/components/actions/trouble/trouble-aware-action.d.ts.map +1 -0
- package/components/agitate-modal/agitator-modal.d.ts +5 -0
- package/components/agitate-modal/agitator-modal.d.ts.map +1 -0
- package/components/agitate-modal/index.d.ts +2 -0
- package/components/agitate-modal/index.d.ts.map +1 -0
- package/components/agitation-control-view/agitation-control-view.d.ts +5 -0
- package/components/agitation-control-view/agitation-control-view.d.ts.map +1 -0
- package/components/agitation-control-view/index.d.ts +2 -0
- package/components/agitation-control-view/index.d.ts.map +1 -0
- package/components/calibrate-modal/calibrate-modal.d.ts +10 -0
- package/components/calibrate-modal/calibrate-modal.d.ts.map +1 -0
- package/components/calibrate-modal/index.d.ts +2 -0
- package/components/calibrate-modal/index.d.ts.map +1 -0
- package/components/carb-tank/detail/agitator.d.ts +8 -0
- package/components/carb-tank/detail/agitator.d.ts.map +1 -0
- package/components/carb-tank/index.d.ts +3 -0
- package/components/carb-tank/index.d.ts.map +1 -0
- package/components/carb-tank/summary/agitator.d.ts +8 -0
- package/components/carb-tank/summary/agitator.d.ts.map +1 -0
- package/components/cartridge-agitator/detail/agitator.d.ts +8 -0
- package/components/cartridge-agitator/detail/agitator.d.ts.map +1 -0
- package/components/cartridge-agitator/index.d.ts +3 -0
- package/components/cartridge-agitator/index.d.ts.map +1 -0
- package/components/cartridge-agitator/summary/agitator.d.ts +8 -0
- package/components/cartridge-agitator/summary/agitator.d.ts.map +1 -0
- package/components/config-prop-context/StagedChanges.d.ts +20 -0
- package/components/config-prop-context/StagedChanges.d.ts.map +1 -0
- package/components/config-prop-context/index.d.ts +2 -0
- package/components/config-prop-context/index.d.ts.map +1 -0
- package/components/config-prop-info-card/config-prop-info-card.d.ts +8 -0
- package/components/config-prop-info-card/config-prop-info-card.d.ts.map +1 -0
- package/components/config-prop-info-card/index.d.ts +2 -0
- package/components/config-prop-info-card/index.d.ts.map +1 -0
- package/components/config-prop-input-card/config-prop-input-card.d.ts +9 -0
- package/components/config-prop-input-card/config-prop-input-card.d.ts.map +1 -0
- package/components/config-prop-input-card/index.d.ts +2 -0
- package/components/config-prop-input-card/index.d.ts.map +1 -0
- package/components/config-prop-input-range-card/config-prop-input-range-card.d.ts +9 -0
- package/components/config-prop-input-range-card/config-prop-input-range-card.d.ts.map +1 -0
- package/components/config-prop-input-range-card/index.d.ts +2 -0
- package/components/config-prop-input-range-card/index.d.ts.map +1 -0
- package/components/config-prop-multi-input-enable-card/config-prop-multi-input-enable-card.d.ts +18 -0
- package/components/config-prop-multi-input-enable-card/config-prop-multi-input-enable-card.d.ts.map +1 -0
- package/components/config-prop-multi-input-enable-card/index.d.ts +2 -0
- package/components/config-prop-multi-input-enable-card/index.d.ts.map +1 -0
- package/components/config-prop-picker-card/config-prop-picker-card.d.ts +12 -0
- package/components/config-prop-picker-card/config-prop-picker-card.d.ts.map +1 -0
- package/components/config-prop-picker-card/index.d.ts +2 -0
- package/components/config-prop-picker-card/index.d.ts.map +1 -0
- package/components/config-prop-single-input-enable-card/config-prop-single-input-enable-card.d.ts +14 -0
- package/components/config-prop-single-input-enable-card/config-prop-single-input-enable-card.d.ts.map +1 -0
- package/components/config-prop-single-input-enable-card/index.d.ts +2 -0
- package/components/config-prop-single-input-enable-card/index.d.ts.map +1 -0
- package/components/config-prop-switch-card/config-prop-switch-card.d.ts +8 -0
- package/components/config-prop-switch-card/config-prop-switch-card.d.ts.map +1 -0
- package/components/config-prop-switch-card/index.d.ts +2 -0
- package/components/config-prop-switch-card/index.d.ts.map +1 -0
- package/components/config-prop-time-picker-card/config-prop-time-picker-card.d.ts +8 -0
- package/components/config-prop-time-picker-card/config-prop-time-picker-card.d.ts.map +1 -0
- package/components/config-prop-time-picker-card/index.d.ts +2 -0
- package/components/config-prop-time-picker-card/index.d.ts.map +1 -0
- package/components/config-prop-toggle-card/config-prop-toggle-card.d.ts +9 -0
- package/components/config-prop-toggle-card/config-prop-toggle-card.d.ts.map +1 -0
- package/components/config-prop-toggle-card/index.d.ts +2 -0
- package/components/config-prop-toggle-card/index.d.ts.map +1 -0
- package/components/config-property-input/base-config-property-component-factory.d.ts +3 -0
- package/components/config-property-input/base-config-property-component-factory.d.ts.map +1 -0
- package/components/config-property-input/config-property-input-types.d.ts +31 -0
- package/components/config-property-input/config-property-input-types.d.ts.map +1 -0
- package/components/config-property-input/config-property-input.d.ts +13 -0
- package/components/config-property-input/config-property-input.d.ts.map +1 -0
- package/components/config-property-input/index.d.ts +3 -0
- package/components/config-property-input/index.d.ts.map +1 -0
- package/components/date-picker-card/date-picker-card.d.ts +15 -0
- package/components/date-picker-card/date-picker-card.d.ts.map +1 -0
- package/components/date-picker-card/index.d.ts +2 -0
- package/components/date-picker-card/index.d.ts.map +1 -0
- package/components/diagnostics-modal/diagnostics-modal.d.ts +10 -0
- package/components/diagnostics-modal/diagnostics-modal.d.ts.map +1 -0
- package/components/diagnostics-modal/index.d.ts +2 -0
- package/components/diagnostics-modal/index.d.ts.map +1 -0
- package/components/dispenser-info-settings/dispenser-info-settings.d.ts +3 -0
- package/components/dispenser-info-settings/dispenser-info-settings.d.ts.map +1 -0
- package/components/dispenser-info-settings/index.d.ts +2 -0
- package/components/dispenser-info-settings/index.d.ts.map +1 -0
- package/components/dispenser-serial-number/dispenser-serial-number.d.ts +6 -0
- package/components/dispenser-serial-number/dispenser-serial-number.d.ts.map +1 -0
- package/components/dispenser-serial-number/index.d.ts +2 -0
- package/components/dispenser-serial-number/index.d.ts.map +1 -0
- package/components/dispenser-settings/dispenser-settings.d.ts +3 -0
- package/components/dispenser-settings/dispenser-settings.d.ts.map +1 -0
- package/components/dispenser-settings/index.d.ts +2 -0
- package/components/dispenser-settings/index.d.ts.map +1 -0
- package/components/enjoy-by-date/enjoy-by-date.d.ts +9 -0
- package/components/enjoy-by-date/enjoy-by-date.d.ts.map +1 -0
- package/components/enjoy-by-date/index.d.ts +2 -0
- package/components/enjoy-by-date/index.d.ts.map +1 -0
- package/components/future-progress-bar/future-progress-bar.d.ts +26 -0
- package/components/future-progress-bar/future-progress-bar.d.ts.map +1 -0
- package/components/future-progress-bar/index.d.ts +2 -0
- package/components/future-progress-bar/index.d.ts.map +1 -0
- package/components/hardware-info/hardware-info.d.ts +4 -0
- package/components/hardware-info/hardware-info.d.ts.map +1 -0
- package/components/hardware-info/index.d.ts +2 -0
- package/components/hardware-info/index.d.ts.map +1 -0
- package/components/hold-to-pour-button/hold-to-pour-button.d.ts +10 -0
- package/components/hold-to-pour-button/hold-to-pour-button.d.ts.map +1 -0
- package/components/hold-to-pour-button/index.d.ts +2 -0
- package/components/hold-to-pour-button/index.d.ts.map +1 -0
- package/components/holders/holder-card.d.ts +12 -0
- package/components/holders/holder-card.d.ts.map +1 -0
- package/components/holders/holder-group-view.d.ts +13 -0
- package/components/holders/holder-group-view.d.ts.map +1 -0
- package/components/holders/index.d.ts +7 -0
- package/components/holders/index.d.ts.map +1 -0
- package/components/holders/macro-holder-card.d.ts +13 -0
- package/components/holders/macro-holder-card.d.ts.map +1 -0
- package/components/holders/macro-holder-group-view.d.ts +11 -0
- package/components/holders/macro-holder-group-view.d.ts.map +1 -0
- package/components/holders/macro-setup-step-card.d.ts +11 -0
- package/components/holders/macro-setup-step-card.d.ts.map +1 -0
- package/components/holders/use-visible-troubles.d.ts +6 -0
- package/components/holders/use-visible-troubles.d.ts.map +1 -0
- package/components/ice-agitator/detail/agitator.d.ts +8 -0
- package/components/ice-agitator/detail/agitator.d.ts.map +1 -0
- package/components/ice-agitator/index.d.ts +3 -0
- package/components/ice-agitator/index.d.ts.map +1 -0
- package/components/ice-agitator/summary/agitator.d.ts +8 -0
- package/components/ice-agitator/summary/agitator.d.ts.map +1 -0
- package/components/ice-agitator-settings-view/ice-agitator-settings-view.d.ts +18 -0
- package/components/ice-agitator-settings-view/ice-agitator-settings-view.d.ts.map +1 -0
- package/components/ice-agitator-settings-view/index.d.ts +2 -0
- package/components/ice-agitator-settings-view/index.d.ts.map +1 -0
- package/components/index.d.ts +51 -0
- package/components/index.d.ts.map +1 -0
- package/components/localization-settings/index.d.ts +2 -0
- package/components/localization-settings/index.d.ts.map +1 -0
- package/components/localization-settings/localization-settings.d.ts +8 -0
- package/components/localization-settings/localization-settings.d.ts.map +1 -0
- package/components/network-test-results/NetworkTestResults.d.ts +8 -0
- package/components/network-test-results/NetworkTestResults.d.ts.map +1 -0
- package/components/network-test-results/index.d.ts +2 -0
- package/components/network-test-results/index.d.ts.map +1 -0
- package/components/notification-card-view/index.d.ts +2 -0
- package/components/notification-card-view/index.d.ts.map +1 -0
- package/components/notification-card-view/notification-card-view.d.ts +10 -0
- package/components/notification-card-view/notification-card-view.d.ts.map +1 -0
- package/components/plugin-tabs/index.d.ts +2 -0
- package/components/plugin-tabs/index.d.ts.map +1 -0
- package/components/plugin-tabs/plugin-tabs.d.ts +9 -0
- package/components/plugin-tabs/plugin-tabs.d.ts.map +1 -0
- package/components/probe-view/index.d.ts +2 -0
- package/components/probe-view/index.d.ts.map +1 -0
- package/components/probe-view/probe-view.d.ts +7 -0
- package/components/probe-view/probe-view.d.ts.map +1 -0
- package/components/pump-cards/cgp-pump-card/cgp-pump-card.d.ts +8 -0
- package/components/pump-cards/cgp-pump-card/cgp-pump-card.d.ts.map +1 -0
- package/components/pump-cards/cgp-pump-card/index.d.ts +2 -0
- package/components/pump-cards/cgp-pump-card/index.d.ts.map +1 -0
- package/components/pump-cards/holder-actions/holder-actions.d.ts +6 -0
- package/components/pump-cards/holder-actions/holder-actions.d.ts.map +1 -0
- package/components/pump-cards/holder-actions/index.d.ts +2 -0
- package/components/pump-cards/holder-actions/index.d.ts.map +1 -0
- package/components/pump-cards/holder-notifications/holder-notifications.d.ts +8 -0
- package/components/pump-cards/holder-notifications/holder-notifications.d.ts.map +1 -0
- package/components/pump-cards/holder-notifications/index.d.ts +2 -0
- package/components/pump-cards/holder-notifications/index.d.ts.map +1 -0
- package/components/pump-cards/index.d.ts +9 -0
- package/components/pump-cards/index.d.ts.map +1 -0
- package/components/pump-cards/lfcv-pump-card/index.d.ts +2 -0
- package/components/pump-cards/lfcv-pump-card/index.d.ts.map +1 -0
- package/components/pump-cards/lfcv-pump-card/lfcv-pump-card.d.ts +8 -0
- package/components/pump-cards/lfcv-pump-card/lfcv-pump-card.d.ts.map +1 -0
- package/components/pump-cards/msv-pump-card/index.d.ts +2 -0
- package/components/pump-cards/msv-pump-card/index.d.ts.map +1 -0
- package/components/pump-cards/msv-pump-card/msv-pump-card.d.ts +8 -0
- package/components/pump-cards/msv-pump-card/msv-pump-card.d.ts.map +1 -0
- package/components/pump-cards/super-pump/index.d.ts +2 -0
- package/components/pump-cards/super-pump/index.d.ts.map +1 -0
- package/components/pump-cards/super-pump/super-pump-card.d.ts +8 -0
- package/components/pump-cards/super-pump/super-pump-card.d.ts.map +1 -0
- package/components/pump-cards/valve-card/index.d.ts +2 -0
- package/components/pump-cards/valve-card/index.d.ts.map +1 -0
- package/components/pump-cards/valve-card/valve-card.d.ts +8 -0
- package/components/pump-cards/valve-card/valve-card.d.ts.map +1 -0
- package/components/pump-cards/water-pump-card/index.d.ts +2 -0
- package/components/pump-cards/water-pump-card/index.d.ts.map +1 -0
- package/components/pump-cards/water-pump-card/water-pump-card.d.ts +8 -0
- package/components/pump-cards/water-pump-card/water-pump-card.d.ts.map +1 -0
- package/components/reboot-view/index.d.ts +2 -0
- package/components/reboot-view/index.d.ts.map +1 -0
- package/components/reboot-view/reboot-view.d.ts +3 -0
- package/components/reboot-view/reboot-view.d.ts.map +1 -0
- package/components/remote-nns-modal/index.d.ts +2 -0
- package/components/remote-nns-modal/index.d.ts.map +1 -0
- package/components/remote-nns-modal/remote-nns-modal.d.ts +10 -0
- package/components/remote-nns-modal/remote-nns-modal.d.ts.map +1 -0
- package/components/remote-tray/detail/remote-tray.d.ts +8 -0
- package/components/remote-tray/detail/remote-tray.d.ts.map +1 -0
- package/components/remote-tray/index.d.ts +3 -0
- package/components/remote-tray/index.d.ts.map +1 -0
- package/components/remote-tray/summary/remote-tray.d.ts +8 -0
- package/components/remote-tray/summary/remote-tray.d.ts.map +1 -0
- package/components/replace-line/index.d.ts +2 -0
- package/components/replace-line/index.d.ts.map +1 -0
- package/components/replace-line/replace-line.d.ts +10 -0
- package/components/replace-line/replace-line.d.ts.map +1 -0
- package/components/replace-pump/index.d.ts +2 -0
- package/components/replace-pump/index.d.ts.map +1 -0
- package/components/replace-pump/replace-pump.d.ts +10 -0
- package/components/replace-pump/replace-pump.d.ts.map +1 -0
- package/components/rfid-override/index.d.ts +2 -0
- package/components/rfid-override/index.d.ts.map +1 -0
- package/components/rfid-override/rfid-override.d.ts +5 -0
- package/components/rfid-override/rfid-override.d.ts.map +1 -0
- package/components/setup-required/index.d.ts +2 -0
- package/components/setup-required/index.d.ts.map +1 -0
- package/components/setup-required/setup-required.d.ts +8 -0
- package/components/setup-required/setup-required.d.ts.map +1 -0
- package/components/setup-sidebar/index.d.ts +2 -0
- package/components/setup-sidebar/index.d.ts.map +1 -0
- package/components/setup-sidebar/setup-sidebar.d.ts +18 -0
- package/components/setup-sidebar/setup-sidebar.d.ts.map +1 -0
- package/components/software/index.d.ts +2 -0
- package/components/software/index.d.ts.map +1 -0
- package/components/software/software.d.ts +4 -0
- package/components/software/software.d.ts.map +1 -0
- package/components/spm-field-calibration/index.d.ts +2 -0
- package/components/spm-field-calibration/index.d.ts.map +1 -0
- package/components/spm-field-calibration/spm-field-calibration-modal.d.ts +10 -0
- package/components/spm-field-calibration/spm-field-calibration-modal.d.ts.map +1 -0
- package/components/state-experience/index.d.ts +2 -0
- package/components/state-experience/index.d.ts.map +1 -0
- package/components/state-experience/state-experience.d.ts +5 -0
- package/components/state-experience/state-experience.d.ts.map +1 -0
- package/components/system-date-picker-card/index.d.ts +2 -0
- package/components/system-date-picker-card/index.d.ts.map +1 -0
- package/components/system-date-picker-card/system-date-picker-card.d.ts +2 -0
- package/components/system-date-picker-card/system-date-picker-card.d.ts.map +1 -0
- package/components/time-picker-card/index.d.ts +2 -0
- package/components/time-picker-card/index.d.ts.map +1 -0
- package/components/time-picker-card/time-picker-card.d.ts +11 -0
- package/components/time-picker-card/time-picker-card.d.ts.map +1 -0
- package/components/time-settings/index.d.ts +2 -0
- package/components/time-settings/index.d.ts.map +1 -0
- package/components/time-settings/time-settings.d.ts +8 -0
- package/components/time-settings/time-settings.d.ts.map +1 -0
- package/components/time-zone-picker-card/index.d.ts +2 -0
- package/components/time-zone-picker-card/index.d.ts.map +1 -0
- package/components/time-zone-picker-card/time-zone-picker-card.d.ts +6 -0
- package/components/time-zone-picker-card/time-zone-picker-card.d.ts.map +1 -0
- package/components/water-settings/index.d.ts +2 -0
- package/components/water-settings/index.d.ts.map +1 -0
- package/components/water-settings/water-settings.d.ts +8 -0
- package/components/water-settings/water-settings.d.ts.map +1 -0
- package/contexts/animation/animation-provider.d.ts +12 -0
- package/contexts/animation/animation-provider.d.ts.map +1 -0
- package/contexts/animation/index.d.ts +2 -0
- package/contexts/animation/index.d.ts.map +1 -0
- package/contexts/application/application-component-configuration-provider.d.ts +18 -0
- package/contexts/application/application-component-configuration-provider.d.ts.map +1 -0
- package/contexts/application/application-provider.d.ts +12 -0
- package/contexts/application/application-provider.d.ts.map +1 -0
- package/contexts/application/index.d.ts +3 -0
- package/contexts/application/index.d.ts.map +1 -0
- package/contexts/dashboard-operations/dashboard-operations-provider.d.ts +12 -0
- package/contexts/dashboard-operations/dashboard-operations-provider.d.ts.map +1 -0
- package/contexts/dashboard-operations/index.d.ts +2 -0
- package/contexts/dashboard-operations/index.d.ts.map +1 -0
- package/contexts/dispenser-info/dispenser-info-provider.d.ts +13 -0
- package/contexts/dispenser-info/dispenser-info-provider.d.ts.map +1 -0
- package/contexts/dispenser-info/index.d.ts +2 -0
- package/contexts/dispenser-info/index.d.ts.map +1 -0
- package/contexts/index.d.ts +15 -0
- package/contexts/index.d.ts.map +1 -0
- package/contexts/ingredient-summary/index.d.ts +2 -0
- package/contexts/ingredient-summary/index.d.ts.map +1 -0
- package/contexts/ingredient-summary/ingredient-summary-provider.d.ts +13 -0
- package/contexts/ingredient-summary/ingredient-summary-provider.d.ts.map +1 -0
- package/contexts/macro-assignment/index.d.ts +2 -0
- package/contexts/macro-assignment/index.d.ts.map +1 -0
- package/contexts/macro-assignment/macro-assignment-provider.d.ts +12 -0
- package/contexts/macro-assignment/macro-assignment-provider.d.ts.map +1 -0
- package/contexts/network-test/index.d.ts +2 -0
- package/contexts/network-test/index.d.ts.map +1 -0
- package/contexts/network-test/network-test-provider.d.ts +13 -0
- package/contexts/network-test/network-test-provider.d.ts.map +1 -0
- package/contexts/network-test-container/index.d.ts +2 -0
- package/contexts/network-test-container/index.d.ts.map +1 -0
- package/contexts/network-test-container/network-test-container-provider.d.ts +12 -0
- package/contexts/network-test-container/network-test-container-provider.d.ts.map +1 -0
- package/contexts/nutritive-sweetener/index.d.ts +2 -0
- package/contexts/nutritive-sweetener/index.d.ts.map +1 -0
- package/contexts/nutritive-sweetener/nutritive-sweetener-provider.d.ts +13 -0
- package/contexts/nutritive-sweetener/nutritive-sweetener-provider.d.ts.map +1 -0
- package/contexts/reboot/index.d.ts +2 -0
- package/contexts/reboot/index.d.ts.map +1 -0
- package/contexts/reboot/reboot-provider.d.ts +13 -0
- package/contexts/reboot/reboot-provider.d.ts.map +1 -0
- package/contexts/settings/index.d.ts +2 -0
- package/contexts/settings/index.d.ts.map +1 -0
- package/contexts/settings/settings-provider.d.ts +12 -0
- package/contexts/settings/settings-provider.d.ts.map +1 -0
- package/contexts/setup-step/index.d.ts +2 -0
- package/contexts/setup-step/index.d.ts.map +1 -0
- package/contexts/setup-step/setup-step-provider.d.ts +13 -0
- package/contexts/setup-step/setup-step-provider.d.ts.map +1 -0
- package/contexts/setup-step-container/index.d.ts +2 -0
- package/contexts/setup-step-container/index.d.ts.map +1 -0
- package/contexts/setup-step-container/setup-step-container-provider.d.ts +12 -0
- package/contexts/setup-step-container/setup-step-container-provider.d.ts.map +1 -0
- package/contexts/utilities/index.d.ts +2 -0
- package/contexts/utilities/index.d.ts.map +1 -0
- package/contexts/utilities/utilities-provider.d.ts +13 -0
- package/contexts/utilities/utilities-provider.d.ts.map +1 -0
- package/contexts/utilities-container/index.d.ts +2 -0
- package/contexts/utilities-container/index.d.ts.map +1 -0
- package/contexts/utilities-container/utilities-container-provider.d.ts +12 -0
- package/contexts/utilities-container/utilities-container-provider.d.ts.map +1 -0
- package/extensions/cui-extension.d.ts +49 -0
- package/extensions/cui-extension.d.ts.map +1 -0
- package/extensions/dashboard-detail-extension.d.ts +49 -0
- package/extensions/dashboard-detail-extension.d.ts.map +1 -0
- package/extensions/dashboard-macro-summary-extension.d.ts +40 -0
- package/extensions/dashboard-macro-summary-extension.d.ts.map +1 -0
- package/extensions/dashboard-pump-detail-extension.d.ts +46 -0
- package/extensions/dashboard-pump-detail-extension.d.ts.map +1 -0
- package/extensions/dashboard-summary-extension.d.ts +48 -0
- package/extensions/dashboard-summary-extension.d.ts.map +1 -0
- package/extensions/index.d.ts +16 -0
- package/extensions/index.d.ts.map +1 -0
- package/extensions/nav-view-extension.d.ts +45 -0
- package/extensions/nav-view-extension.d.ts.map +1 -0
- package/extensions/setup-extension.d.ts +45 -0
- package/extensions/setup-extension.d.ts.map +1 -0
- package/extensions/trouble-action-extension.d.ts +93 -0
- package/extensions/trouble-action-extension.d.ts.map +1 -0
- package/extensions/view-extension.d.ts +85 -0
- package/extensions/view-extension.d.ts.map +1 -0
- package/hooks/actions/index.d.ts +4 -0
- package/hooks/actions/index.d.ts.map +1 -0
- package/hooks/actions/types.d.ts +9 -0
- package/hooks/actions/types.d.ts.map +1 -0
- package/hooks/actions/use-combined-actions.d.ts +8 -0
- package/hooks/actions/use-combined-actions.d.ts.map +1 -0
- package/hooks/actions/use-pump-action.d.ts +126 -0
- package/hooks/actions/use-pump-action.d.ts.map +1 -0
- package/hooks/actions/use-trouble-action.d.ts +13 -0
- package/hooks/actions/use-trouble-action.d.ts.map +1 -0
- package/hooks/agitation-control/index.d.ts +3 -0
- package/hooks/agitation-control/index.d.ts.map +1 -0
- package/hooks/agitation-control/use-agitation-control.d.ts +13 -0
- package/hooks/agitation-control/use-agitation-control.d.ts.map +1 -0
- package/hooks/agitation-control/with-agitation-control.d.ts +8 -0
- package/hooks/agitation-control/with-agitation-control.d.ts.map +1 -0
- package/hooks/animation/index.d.ts +3 -0
- package/hooks/animation/index.d.ts.map +1 -0
- package/hooks/animation/use-animation.d.ts +13 -0
- package/hooks/animation/use-animation.d.ts.map +1 -0
- package/hooks/animation/with-animation.d.ts +6 -0
- package/hooks/animation/with-animation.d.ts.map +1 -0
- package/hooks/application/index.d.ts +3 -0
- package/hooks/application/index.d.ts.map +1 -0
- package/hooks/application/use-application.d.ts +13 -0
- package/hooks/application/use-application.d.ts.map +1 -0
- package/hooks/application/with-application.d.ts +7 -0
- package/hooks/application/with-application.d.ts.map +1 -0
- package/hooks/calibration/index.d.ts +2 -0
- package/hooks/calibration/index.d.ts.map +1 -0
- package/hooks/calibration/use-pump-calibration.d.ts +92 -0
- package/hooks/calibration/use-pump-calibration.d.ts.map +1 -0
- package/hooks/carb-water/index.d.ts +3 -0
- package/hooks/carb-water/index.d.ts.map +1 -0
- package/hooks/carb-water/use-carb-water.d.ts +13 -0
- package/hooks/carb-water/use-carb-water.d.ts.map +1 -0
- package/hooks/carb-water/with-carb-water.d.ts +7 -0
- package/hooks/carb-water/with-carb-water.d.ts.map +1 -0
- package/hooks/copy-logs/index.d.ts +3 -0
- package/hooks/copy-logs/index.d.ts.map +1 -0
- package/hooks/copy-logs/use-copy-logs.d.ts +13 -0
- package/hooks/copy-logs/use-copy-logs.d.ts.map +1 -0
- package/hooks/copy-logs/with-copy-logs.d.ts +8 -0
- package/hooks/copy-logs/with-copy-logs.d.ts.map +1 -0
- package/hooks/dashboard-operations/index.d.ts +3 -0
- package/hooks/dashboard-operations/index.d.ts.map +1 -0
- package/hooks/dashboard-operations/use-dashboard-operations.d.ts +13 -0
- package/hooks/dashboard-operations/use-dashboard-operations.d.ts.map +1 -0
- package/hooks/dashboard-operations/with-dashboard-operations.d.ts +7 -0
- package/hooks/dashboard-operations/with-dashboard-operations.d.ts.map +1 -0
- package/hooks/dispenser-info/index.d.ts +3 -0
- package/hooks/dispenser-info/index.d.ts.map +1 -0
- package/hooks/dispenser-info/use-dispenser-info.d.ts +13 -0
- package/hooks/dispenser-info/use-dispenser-info.d.ts.map +1 -0
- package/hooks/dispenser-info/with-dispenser-info.d.ts +6 -0
- package/hooks/dispenser-info/with-dispenser-info.d.ts.map +1 -0
- package/hooks/door/index.d.ts +3 -0
- package/hooks/door/index.d.ts.map +1 -0
- package/hooks/door/use-door.d.ts +13 -0
- package/hooks/door/use-door.d.ts.map +1 -0
- package/hooks/door/with-door.d.ts +11 -0
- package/hooks/door/with-door.d.ts.map +1 -0
- package/hooks/extensions/index.d.ts +2 -0
- package/hooks/extensions/index.d.ts.map +1 -0
- package/hooks/extensions/use-view-extensions.d.ts +12 -0
- package/hooks/extensions/use-view-extensions.d.ts.map +1 -0
- package/hooks/future/index.d.ts +2 -0
- package/hooks/future/index.d.ts.map +1 -0
- package/hooks/future/use-future-container.d.ts +8 -0
- package/hooks/future/use-future-container.d.ts.map +1 -0
- package/hooks/holder-experience/holder-experience.d.ts +13 -0
- package/hooks/holder-experience/holder-experience.d.ts.map +1 -0
- package/hooks/holder-experience/index.d.ts +2 -0
- package/hooks/holder-experience/index.d.ts.map +1 -0
- package/hooks/holders/index.d.ts +2 -0
- package/hooks/holders/index.d.ts.map +1 -0
- package/hooks/holders/use-holder-content.d.ts +26 -0
- package/hooks/holders/use-holder-content.d.ts.map +1 -0
- package/hooks/index.d.ts +31 -0
- package/hooks/index.d.ts.map +1 -0
- package/hooks/ingredient-summary/index.d.ts +3 -0
- package/hooks/ingredient-summary/index.d.ts.map +1 -0
- package/hooks/ingredient-summary/use-ingredient-summary.d.ts +13 -0
- package/hooks/ingredient-summary/use-ingredient-summary.d.ts.map +1 -0
- package/hooks/ingredient-summary/with-ingredient-summary.d.ts +7 -0
- package/hooks/ingredient-summary/with-ingredient-summary.d.ts.map +1 -0
- package/hooks/macro-assignment/index.d.ts +3 -0
- package/hooks/macro-assignment/index.d.ts.map +1 -0
- package/hooks/macro-assignment/use-macro-assignment.d.ts +13 -0
- package/hooks/macro-assignment/use-macro-assignment.d.ts.map +1 -0
- package/hooks/macro-assignment/with-macro-assignment.d.ts +6 -0
- package/hooks/macro-assignment/with-macro-assignment.d.ts.map +1 -0
- package/hooks/network-test/index.d.ts +3 -0
- package/hooks/network-test/index.d.ts.map +1 -0
- package/hooks/network-test/use-network-test.d.ts +13 -0
- package/hooks/network-test/use-network-test.d.ts.map +1 -0
- package/hooks/network-test/with-network-test.d.ts +7 -0
- package/hooks/network-test/with-network-test.d.ts.map +1 -0
- package/hooks/network-test-container/index.d.ts +3 -0
- package/hooks/network-test-container/index.d.ts.map +1 -0
- package/hooks/network-test-container/use-network-test-container.d.ts +13 -0
- package/hooks/network-test-container/use-network-test-container.d.ts.map +1 -0
- package/hooks/network-test-container/with-network-test-container.d.ts +7 -0
- package/hooks/network-test-container/with-network-test-container.d.ts.map +1 -0
- package/hooks/nutritive-sweetener/index.d.ts +3 -0
- package/hooks/nutritive-sweetener/index.d.ts.map +1 -0
- package/hooks/nutritive-sweetener/use-nutritive-sweetener.d.ts +13 -0
- package/hooks/nutritive-sweetener/use-nutritive-sweetener.d.ts.map +1 -0
- package/hooks/nutritive-sweetener/with-nutritive-sweetener.d.ts +7 -0
- package/hooks/nutritive-sweetener/with-nutritive-sweetener.d.ts.map +1 -0
- package/hooks/plain-water/index.d.ts +3 -0
- package/hooks/plain-water/index.d.ts.map +1 -0
- package/hooks/plain-water/use-plain-water.d.ts +13 -0
- package/hooks/plain-water/use-plain-water.d.ts.map +1 -0
- package/hooks/plain-water/with-plain-water.d.ts +6 -0
- package/hooks/plain-water/with-plain-water.d.ts.map +1 -0
- package/hooks/plugin-extensions/index.d.ts +2 -0
- package/hooks/plugin-extensions/index.d.ts.map +1 -0
- package/hooks/plugin-extensions/use-plugin-extensions.d.ts +4 -0
- package/hooks/plugin-extensions/use-plugin-extensions.d.ts.map +1 -0
- package/hooks/reboot/index.d.ts +3 -0
- package/hooks/reboot/index.d.ts.map +1 -0
- package/hooks/reboot/use-reboot.d.ts +13 -0
- package/hooks/reboot/use-reboot.d.ts.map +1 -0
- package/hooks/reboot/with-reboot.d.ts +7 -0
- package/hooks/reboot/with-reboot.d.ts.map +1 -0
- package/hooks/settings/index.d.ts +3 -0
- package/hooks/settings/index.d.ts.map +1 -0
- package/hooks/settings/use-settings.d.ts +13 -0
- package/hooks/settings/use-settings.d.ts.map +1 -0
- package/hooks/settings/with-settings.d.ts +6 -0
- package/hooks/settings/with-settings.d.ts.map +1 -0
- package/hooks/setup-step/index.d.ts +3 -0
- package/hooks/setup-step/index.d.ts.map +1 -0
- package/hooks/setup-step/use-setup-step.d.ts +13 -0
- package/hooks/setup-step/use-setup-step.d.ts.map +1 -0
- package/hooks/setup-step/with-setup-step.d.ts +7 -0
- package/hooks/setup-step/with-setup-step.d.ts.map +1 -0
- package/hooks/setup-step-container/index.d.ts +3 -0
- package/hooks/setup-step-container/index.d.ts.map +1 -0
- package/hooks/setup-step-container/use-setup-step-container.d.ts +13 -0
- package/hooks/setup-step-container/use-setup-step-container.d.ts.map +1 -0
- package/hooks/setup-step-container/with-setup-step-container.d.ts +6 -0
- package/hooks/setup-step-container/with-setup-step-container.d.ts.map +1 -0
- package/hooks/start/index.d.ts +3 -0
- package/hooks/start/index.d.ts.map +1 -0
- package/hooks/start/use-start.d.ts +13 -0
- package/hooks/start/use-start.d.ts.map +1 -0
- package/hooks/start/with-start.d.ts +8 -0
- package/hooks/start/with-start.d.ts.map +1 -0
- package/hooks/test/index.d.ts +3 -0
- package/hooks/test/index.d.ts.map +1 -0
- package/hooks/test/use-test.d.ts +13 -0
- package/hooks/test/use-test.d.ts.map +1 -0
- package/hooks/test/with-test.d.ts +6 -0
- package/hooks/test/with-test.d.ts.map +1 -0
- package/hooks/trouble-action/index.d.ts +3 -0
- package/hooks/trouble-action/index.d.ts.map +1 -0
- package/hooks/trouble-action/use-trouble-action.d.ts +13 -0
- package/hooks/trouble-action/use-trouble-action.d.ts.map +1 -0
- package/hooks/trouble-action/with-trouble-action.d.ts +8 -0
- package/hooks/trouble-action/with-trouble-action.d.ts.map +1 -0
- package/hooks/troubles/index.d.ts +4 -0
- package/hooks/troubles/index.d.ts.map +1 -0
- package/hooks/troubles/use-trouble-data.d.ts +3 -0
- package/hooks/troubles/use-trouble-data.d.ts.map +1 -0
- package/hooks/troubles/use-trouble-decoration.d.ts +110 -0
- package/hooks/troubles/use-trouble-decoration.d.ts.map +1 -0
- package/hooks/troubles/use-trouble-visibility.d.ts +9 -0
- package/hooks/troubles/use-trouble-visibility.d.ts.map +1 -0
- package/hooks/utilities/index.d.ts +3 -0
- package/hooks/utilities/index.d.ts.map +1 -0
- package/hooks/utilities/use-utilities.d.ts +13 -0
- package/hooks/utilities/use-utilities.d.ts.map +1 -0
- package/hooks/utilities/with-utilities.d.ts +7 -0
- package/hooks/utilities/with-utilities.d.ts.map +1 -0
- package/hooks/utilities-container/index.d.ts +3 -0
- package/hooks/utilities-container/index.d.ts.map +1 -0
- package/hooks/utilities-container/use-utilities-container.d.ts +13 -0
- package/hooks/utilities-container/use-utilities-container.d.ts.map +1 -0
- package/hooks/utilities-container/with-utilities-container.d.ts +6 -0
- package/hooks/utilities-container/with-utilities-container.d.ts.map +1 -0
- package/index.cjs +9651 -0
- package/index.cjs.map +1 -0
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -0
- package/index.js +9651 -0
- package/index.js.map +1 -0
- package/models/index.d.ts +2 -0
- package/models/index.d.ts.map +1 -0
- package/models/test/index.d.ts +4 -0
- package/models/test/index.d.ts.map +1 -0
- package/models/test/services/index.d.ts +2 -0
- package/models/test/services/index.d.ts.map +1 -0
- package/models/test/services/test-services.d.ts +10 -0
- package/models/test/services/test-services.d.ts.map +1 -0
- package/models/test/test-model.d.ts +22 -0
- package/models/test/test-model.d.ts.map +1 -0
- package/models/test/test-registration.d.ts +70 -0
- package/models/test/test-registration.d.ts.map +1 -0
- package/package.json +28 -0
- package/styles/actions.d.ts +12 -0
- package/styles/actions.d.ts.map +1 -0
- package/utils/companion-utils.d.ts +3 -0
- package/utils/companion-utils.d.ts.map +1 -0
- package/utils/extension-utils.d.ts +28 -0
- package/utils/extension-utils.d.ts.map +1 -0
- package/utils/index.d.ts +6 -0
- package/utils/index.d.ts.map +1 -0
- package/utils/plugin-visibility-extension.d.ts +3 -0
- package/utils/plugin-visibility-extension.d.ts.map +1 -0
- package/utils/registration/constants/extension-points.d.ts +12 -0
- package/utils/registration/constants/extension-points.d.ts.map +1 -0
- package/utils/registration/extensions/index.d.ts +2 -0
- package/utils/registration/extensions/index.d.ts.map +1 -0
- package/utils/registration/index.d.ts +2 -0
- package/utils/registration/index.d.ts.map +1 -0
- package/utils/registration/registration-utils.d.ts +4 -0
- package/utils/registration/registration-utils.d.ts.map +1 -0
- package/utils/troubles/index.d.ts +2 -0
- package/utils/troubles/index.d.ts.map +1 -0
- package/utils/troubles/trouble-label-factory.d.ts +14 -0
- package/utils/troubles/trouble-label-factory.d.ts.map +1 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { IntentAware } from '@kosdev-code/kos-dispense-sdk';
|
|
2
|
+
import { IntentAwareAction } from '../../components';
|
|
3
|
+
import { ActionLabels } from './types';
|
|
4
|
+
type PumpAction = "calibrate" | "fixed-45" | "flush" | "high-flow-test" | "hold-to-pour" | "low-flow-test" | "manual-override" | "msv-reset" | "prime" | "purge";
|
|
5
|
+
type Factory = (actionId: PumpAction) => FactoryResponse;
|
|
6
|
+
type FactoryResponse = (new (intentContainer: IntentAware) => IntentAwareAction) | undefined;
|
|
7
|
+
export type PumpActionResponse = [
|
|
8
|
+
IntentAwareAction | null,
|
|
9
|
+
(actionId: PumpAction) => Promise<void>,
|
|
10
|
+
ActionLabels
|
|
11
|
+
];
|
|
12
|
+
/**
|
|
13
|
+
* React hook for executing pump maintenance and diagnostic actions.
|
|
14
|
+
*
|
|
15
|
+
* This hook provides a unified interface for triggering various pump operations
|
|
16
|
+
* including calibration, priming, purging, and flow tests. It manages action
|
|
17
|
+
* state, progress tracking via KOS Futures, and internationalized labels.
|
|
18
|
+
*
|
|
19
|
+
* The hook supports optional intent containers, returning safe defaults when
|
|
20
|
+
* no container is provided. This allows components to render UI before models
|
|
21
|
+
* are fully loaded, supporting progressive enhancement patterns.
|
|
22
|
+
*
|
|
23
|
+
* Available pump actions:
|
|
24
|
+
* - `calibrate` - Calibrate pump flow rate
|
|
25
|
+
* - `prime` - Prime the pump line
|
|
26
|
+
* - `purge` - Purge the pump line
|
|
27
|
+
* - `flush` - Flush the system
|
|
28
|
+
* - `low-flow-test` - Run low flow rate test
|
|
29
|
+
* - `high-flow-test` - Run high flow rate test
|
|
30
|
+
* - `fixed-45` - Fixed 45oz pour test
|
|
31
|
+
* - `hold-to-pour` - Hold-to-pour operation
|
|
32
|
+
* - `manual-override` - Manual pump override
|
|
33
|
+
* - `msv-reset` - MSV reset operation
|
|
34
|
+
*
|
|
35
|
+
* @param intentContainer - Optional model implementing {@link IntentAware} interface.
|
|
36
|
+
* When undefined, hook returns null action and safe handlers that
|
|
37
|
+
* won't execute operations. This enables components to render before
|
|
38
|
+
* models are available.
|
|
39
|
+
* @param actionFactory - Optional factory function for custom action types.
|
|
40
|
+
* Defaults to {@link pumpActionFactory} with standard pump actions.
|
|
41
|
+
* Provide custom factory to extend available actions.
|
|
42
|
+
*
|
|
43
|
+
* @returns Tuple containing:
|
|
44
|
+
* - [0] {@link IntentAwareAction} instance or null (null when intentContainer undefined or before first action)
|
|
45
|
+
* - [1] `handleAction` function accepting {@link PumpAction} type strings to trigger operations
|
|
46
|
+
* - [2] {@link ActionLabels} object with internationalized strings (title, summary, success/failure messages, action label)
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* Basic pump action controls:
|
|
50
|
+
* ```tsx
|
|
51
|
+
* import { usePumpAction } from '@kosdev-code/kos-ddk-model-components';
|
|
52
|
+
*
|
|
53
|
+
* function PumpControls({ pump }: { pump: PumpModel }) {
|
|
54
|
+
* const [action, handleAction, labels] = usePumpAction(pump);
|
|
55
|
+
*
|
|
56
|
+
* return (
|
|
57
|
+
* <div>
|
|
58
|
+
* <button onPointerDown={() => handleAction("calibrate")}>
|
|
59
|
+
* Calibrate
|
|
60
|
+
* </button>
|
|
61
|
+
* <button onPointerDown={() => handleAction("prime")}>
|
|
62
|
+
* Prime
|
|
63
|
+
* </button>
|
|
64
|
+
* <button onPointerDown={() => handleAction("purge")}>
|
|
65
|
+
* Purge
|
|
66
|
+
* </button>
|
|
67
|
+
* {action && (
|
|
68
|
+
* <FutureProgressBar
|
|
69
|
+
* title={labels.title}
|
|
70
|
+
* future={action.future}
|
|
71
|
+
* />
|
|
72
|
+
* )}
|
|
73
|
+
* </div>
|
|
74
|
+
* );
|
|
75
|
+
* }
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* Handling optional pump (progressive enhancement):
|
|
80
|
+
* ```tsx
|
|
81
|
+
* function MaintenancePanel({ pump }: { pump?: PumpModel }) {
|
|
82
|
+
* const [action, handleAction, labels] = usePumpAction(pump);
|
|
83
|
+
*
|
|
84
|
+
* // Hook safely handles undefined pump - returns null action and safe handlers
|
|
85
|
+
* return (
|
|
86
|
+
* <div>
|
|
87
|
+
* <button
|
|
88
|
+
* disabled={!pump}
|
|
89
|
+
* onClick={() => handleAction("prime")}
|
|
90
|
+
* >
|
|
91
|
+
* {labels.actionLabel || 'Prime'}
|
|
92
|
+
* </button>
|
|
93
|
+
* {action && <ProgressDisplay action={action} />}
|
|
94
|
+
* </div>
|
|
95
|
+
* );
|
|
96
|
+
* }
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* Custom action factory:
|
|
101
|
+
* ```tsx
|
|
102
|
+
* const customFactory = (actionId: PumpAction) => {
|
|
103
|
+
* if (actionId === "my-custom-action") return MyCustomAction;
|
|
104
|
+
* return pumpActionFactory(actionId);
|
|
105
|
+
* };
|
|
106
|
+
*
|
|
107
|
+
* function CustomPumpControls({ pump }: { pump: PumpModel }) {
|
|
108
|
+
* const [action, handleAction] = usePumpAction(pump, customFactory);
|
|
109
|
+
*
|
|
110
|
+
* return (
|
|
111
|
+
* <button onClick={() => handleAction("my-custom-action")}>
|
|
112
|
+
* Custom Operation
|
|
113
|
+
* </button>
|
|
114
|
+
* );
|
|
115
|
+
* }
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* @category Hooks - Actions
|
|
119
|
+
* @see {@link IntentAware} for required model interface
|
|
120
|
+
* @see {@link PumpAction} for available action types
|
|
121
|
+
* @see {@link IntentAwareAction} for action execution and progress tracking
|
|
122
|
+
* @see {@link ActionLabels} for internationalization label structure
|
|
123
|
+
*/
|
|
124
|
+
export declare const usePumpAction: (intentContainer?: IntentAware, actionFactory?: Factory) => PumpActionResponse;
|
|
125
|
+
export {};
|
|
126
|
+
//# sourceMappingURL=use-pump-action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pump-action.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/actions/use-pump-action.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGjE,OAAO,EAWL,KAAK,iBAAiB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEjE,KAAK,UAAU,GACX,WAAW,GACX,UAAU,GACV,OAAO,GACP,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,OAAO,GACP,OAAO,CAAC;AAEZ,KAAK,OAAO,GAAG,CAAC,QAAQ,EAAE,UAAU,KAAK,eAAe,CAAC;AACzD,KAAK,eAAe,GAChB,CAAC,KAAK,eAAe,EAAE,WAAW,KAAK,iBAAiB,CAAC,GACzD,SAAS,CAAC;AAyCd,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iBAAiB,GAAG,IAAI;IACxB,CAAC,QAAQ,EAAE,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC;IACvC,YAAY;CACb,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GG;AACH,eAAO,MAAM,aAAa,GACxB,kBAAkB,WAAW,EAC7B,gBAAe,OAA2B,KACzC,kBA0BF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TroubleAware } from '@kosdev-code/kos-ui-sdk';
|
|
2
|
+
import { TroubleAwareAction } from '../../components/actions';
|
|
3
|
+
import { ActionLabels } from './types';
|
|
4
|
+
type Factory = (actionId: string) => FactoryResponse;
|
|
5
|
+
type FactoryResponse = (new (model: TroubleAware, trouble: string) => TroubleAwareAction) | undefined;
|
|
6
|
+
export type TroubleActionResponse = [
|
|
7
|
+
TroubleAwareAction | null,
|
|
8
|
+
() => Promise<void>,
|
|
9
|
+
ActionLabels
|
|
10
|
+
];
|
|
11
|
+
export declare const useTroubleAction: (troubleAware: TroubleAware, troubleKey: string, actionFactory?: Factory) => TroubleActionResponse;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=use-trouble-action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-trouble-action.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/actions/use-trouble-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAQ5D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,KAAK,OAAO,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,eAAe,CAAC;AACrD,KAAK,eAAe,GAChB,CAAC,KAAK,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,KAAK,kBAAkB,CAAC,GAClE,SAAS,CAAC;AAOd,MAAM,MAAM,qBAAqB,GAAG;IAClC,kBAAkB,GAAG,IAAI;IACzB,MAAM,OAAO,CAAC,IAAI,CAAC;IACnB,YAAY;CACb,CAAC;AAYF,eAAO,MAAM,gBAAgB,GAC3B,cAAc,YAAY,EAC1B,YAAY,MAAM,EAClB,gBAAe,OAA2B,KACzC,qBAcF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/agitation-control/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AgitationControlModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useAgitationControl: () => {
|
|
3
|
+
model: AgitationControlModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: AgitationControlModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-agitation-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-agitation-control.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/agitation-control/use-agitation-control.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,EACtB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,mBAAmB;;;;;;;;;;CAS/B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AgitationControlModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
interface AgitationControlProps {
|
|
3
|
+
agitationControl: AgitationControlModel;
|
|
4
|
+
}
|
|
5
|
+
type HoCAgitationControlProps = AgitationControlProps;
|
|
6
|
+
export declare function withAgitationControl<T extends HoCAgitationControlProps = HoCAgitationControlProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof AgitationControlProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=with-agitation-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-agitation-control.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/agitation-control/with-agitation-control.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,qBAAqB,CAAC;CACzC;AAED,KAAK,wBAAwB,GAAG,qBAAqB,CAAC;AAEtD,wBAAgB,oBAAoB,CAClC,CAAC,SAAS,wBAAwB,GAAG,wBAAwB,EAC7D,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,qBAAqB,CAAC,sDASpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/animation/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AnimationModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useAnimation: () => {
|
|
3
|
+
model: AnimationModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: AnimationModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-animation.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/animation/use-animation.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAExE,eAAO,MAAM,YAAY;;;;;;;;;;CASxB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AnimationModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export interface AnimationProps {
|
|
3
|
+
animation: AnimationModel;
|
|
4
|
+
}
|
|
5
|
+
export declare function withAnimation<T extends AnimationProps = AnimationProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof AnimationProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=with-animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-animation.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/animation/with-animation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EACrE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,cAAc,CAAC,sDAS7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/application/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApplicationModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useApplication: () => {
|
|
3
|
+
model: ApplicationModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: ApplicationModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-application.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-application.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/application/use-application.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,eAAO,MAAM,cAAc;;;;;;;;;;CAS1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ApplicationModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
interface ApplicationProps {
|
|
3
|
+
application: ApplicationModel;
|
|
4
|
+
}
|
|
5
|
+
export declare function withApplication<T extends ApplicationProps = ApplicationProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof ApplicationProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=with-application.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-application.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/application/with-application.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,UAAU,gBAAgB;IACxB,WAAW,EAAE,gBAAgB,CAAC;CAC/B;AAED,wBAAgB,eAAe,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,EAC3E,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,gBAAgB,CAAC,sDAS/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/calibration/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { IntentAware, IntentContainer } from '@kosdev-code/kos-dispense-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* Combined interface representing a model that supports both intent operations
|
|
4
|
+
* and intent volume resolution for calibration purposes.
|
|
5
|
+
*
|
|
6
|
+
* This interface combines {@link IntentAware} for executing intents with
|
|
7
|
+
* {@link IntentContainer} for resolving appropriate volumes, enabling complete
|
|
8
|
+
* calibration workflows that determine the correct volume and execute the operation.
|
|
9
|
+
*
|
|
10
|
+
* @category Hooks - Calibration
|
|
11
|
+
* @see {@link IntentAware} for intent execution capabilities
|
|
12
|
+
* @see {@link IntentContainer} for volume resolution capabilities
|
|
13
|
+
*/
|
|
14
|
+
export type IntentAwareContainer = IntentAware & IntentContainer;
|
|
15
|
+
/**
|
|
16
|
+
* React hook for managing pump calibration operations and state.
|
|
17
|
+
*
|
|
18
|
+
* This hook retrieves the calibration volume from the device, tracks whether
|
|
19
|
+
* calibration is possible, and provides an action handler for triggering
|
|
20
|
+
* calibration operations. It combines volume resolution with the pump action
|
|
21
|
+
* pattern for a complete calibration workflow.
|
|
22
|
+
*
|
|
23
|
+
* The hook automatically:
|
|
24
|
+
* - Resolves the appropriate calibration volume from the device based on ingredient type
|
|
25
|
+
* - Updates the volume when the ingredient assignment changes
|
|
26
|
+
* - Tracks calibration readiness state (requires volume > 0 and assigned ingredient)
|
|
27
|
+
* - Provides action handlers integrated with the KOS Future system for progress tracking
|
|
28
|
+
*
|
|
29
|
+
* @param intentContainer - Optional model implementing {@link IntentAware} and {@link IntentContainer}
|
|
30
|
+
* interfaces, typically a holder or pump model. When undefined, the hook
|
|
31
|
+
* returns safe defaults (undefined volume, cannot calibrate).
|
|
32
|
+
*
|
|
33
|
+
* @returns Object containing calibration state and handlers:
|
|
34
|
+
* - `calibrateVolume`: Resolved calibration volume in oz (rounded to integer), or undefined if not yet resolved
|
|
35
|
+
* - `canCalibrate`: Boolean indicating if calibration is ready (volume > 0 and ingredient assigned)
|
|
36
|
+
* - `action`: Current {@link IntentAwareAction} instance or null (for progress tracking)
|
|
37
|
+
* - `handleAction`: Function to trigger pump actions including calibration (accepts {@link PumpAction} type strings)
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* Basic calibration button with volume display:
|
|
41
|
+
* ```tsx
|
|
42
|
+
* import { usePumpCalibration } from '@kosdev-code/kos-ddk-model-components';
|
|
43
|
+
*
|
|
44
|
+
* function PumpCard({ holder }: { holder: HolderModel }) {
|
|
45
|
+
* const { calibrateVolume, canCalibrate, action, handleAction } =
|
|
46
|
+
* usePumpCalibration(holder);
|
|
47
|
+
*
|
|
48
|
+
* return (
|
|
49
|
+
* <div>
|
|
50
|
+
* <button
|
|
51
|
+
* disabled={!canCalibrate}
|
|
52
|
+
* onPointerDown={() => handleAction("calibrate")}
|
|
53
|
+
* >
|
|
54
|
+
* Calibrate {canCalibrate && `(${calibrateVolume} oz)`}
|
|
55
|
+
* </button>
|
|
56
|
+
* {action && <FutureProgressBar {...action} />}
|
|
57
|
+
* </div>
|
|
58
|
+
* );
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* Handling optional holder (graceful degradation):
|
|
64
|
+
* ```tsx
|
|
65
|
+
* function PumpControls({ holder }: { holder?: HolderModel }) {
|
|
66
|
+
* const { calibrateVolume, canCalibrate, handleAction } =
|
|
67
|
+
* usePumpCalibration(holder);
|
|
68
|
+
*
|
|
69
|
+
* // Hook safely handles undefined holder
|
|
70
|
+
* if (!holder) return <div>No pump selected</div>;
|
|
71
|
+
*
|
|
72
|
+
* return (
|
|
73
|
+
* <button disabled={!canCalibrate} onClick={() => handleAction("calibrate")}>
|
|
74
|
+
* Calibrate ({calibrateVolume ?? '...'} oz)
|
|
75
|
+
* </button>
|
|
76
|
+
* );
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @category Hooks - Calibration
|
|
81
|
+
* @see {@link usePumpAction} for the underlying action handler
|
|
82
|
+
* @see {@link IntentAware} for intent operation interface
|
|
83
|
+
* @see {@link IntentContainer} for volume resolution interface
|
|
84
|
+
* @see {@link IntentAwareAction} for action execution and progress tracking
|
|
85
|
+
*/
|
|
86
|
+
export declare const usePumpCalibration: (intentContainer?: IntentAwareContainer) => {
|
|
87
|
+
calibrateVolume: number | undefined;
|
|
88
|
+
canCalibrate: boolean | 0 | undefined;
|
|
89
|
+
action: import('../..').IntentAwareAction | null;
|
|
90
|
+
handleAction: (actionId: "calibrate" | "fixed-45" | "flush" | "high-flow-test" | "hold-to-pour" | "low-flow-test" | "manual-override" | "msv-reset" | "prime" | "purge") => Promise<void>;
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=use-pump-calibration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pump-calibration.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/calibration/use-pump-calibration.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAIvC;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,eAAe,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,eAAO,MAAM,kBAAkB,GAAI,kBAAkB,oBAAoB;;;;;CAgBxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/carb-water/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CarbWaterModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useCarbWater: () => {
|
|
3
|
+
model: CarbWaterModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: CarbWaterModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-carb-water.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-carb-water.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/carb-water/use-carb-water.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAExE,eAAO,MAAM,YAAY;;;;;;;;;;CASxB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CarbWaterModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
interface CarbWaterProps {
|
|
3
|
+
carbWater: CarbWaterModel;
|
|
4
|
+
}
|
|
5
|
+
export declare function withCarbWater<T extends CarbWaterProps = CarbWaterProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof CarbWaterProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=with-carb-water.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-carb-water.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/carb-water/with-carb-water.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,UAAU,cAAc;IACtB,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EACrE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,cAAc,CAAC,sDAS7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/copy-logs/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CopyLogsModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useCopyLogs: () => {
|
|
3
|
+
model: CopyLogsModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: CopyLogsModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-copy-logs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-copy-logs.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/copy-logs/use-copy-logs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGtE,eAAO,MAAM,WAAW;;;;;;;;;;CAWvB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CopyLogsModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
interface CopyLogsProps {
|
|
3
|
+
copyLogs: CopyLogsModel;
|
|
4
|
+
}
|
|
5
|
+
type HoCCopyLogsProps = CopyLogsProps;
|
|
6
|
+
export declare function withCopyLogs<T extends HoCCopyLogsProps = HoCCopyLogsProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof CopyLogsProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=with-copy-logs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-copy-logs.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/copy-logs/with-copy-logs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5D,UAAU,aAAa;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED,KAAK,gBAAgB,GAAG,aAAa,CAAC;AAEtC,wBAAgB,YAAY,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,EACxE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,sDAS5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/dashboard-operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DashboardOperationsModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useDashboardOperations: () => {
|
|
3
|
+
model: DashboardOperationsModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: DashboardOperationsModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-dashboard-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dashboard-operations.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/dashboard-operations/use-dashboard-operations.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,sBAAsB;;;;;;;;;;CASlC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DashboardOperationsModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
interface DashboardOperationsProps {
|
|
3
|
+
dashboardOperations: DashboardOperationsModel;
|
|
4
|
+
}
|
|
5
|
+
export declare function withDashboardOperations<T extends DashboardOperationsProps = DashboardOperationsProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof DashboardOperationsProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=with-dashboard-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-dashboard-operations.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/dashboard-operations/with-dashboard-operations.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,UAAU,wBAAwB;IAChC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;AAED,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/dispenser-info/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DispenserInfoModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useDispenserInfo: () => {
|
|
3
|
+
model: DispenserInfoModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: DispenserInfoModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-dispenser-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dispenser-info.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/dispenser-info/use-dispenser-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEhF,eAAO,MAAM,gBAAgB;;;;;;;;;;CAS5B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DispenserInfoModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export interface DispenserInfoProps {
|
|
3
|
+
dispenserInfo: DispenserInfoModel;
|
|
4
|
+
}
|
|
5
|
+
export declare function withDispenserInfo<T extends DispenserInfoProps = DispenserInfoProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof DispenserInfoProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=with-dispenser-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-dispenser-info.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/dispenser-info/with-dispenser-info.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGjE,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,kBAAkB,CAAC;CACnC;AAED,wBAAgB,iBAAiB,CAC/B,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,EACjD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAChC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,kBAAkB,CAAC,sDASjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/door/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DoorModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
export declare const useDoor: (id: string) => {
|
|
3
|
+
model: DoorModel | undefined;
|
|
4
|
+
ready: boolean;
|
|
5
|
+
error: string | undefined;
|
|
6
|
+
status: {
|
|
7
|
+
model: DoorModel | undefined;
|
|
8
|
+
ready: boolean;
|
|
9
|
+
error: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('node_modules/@kosdev-code/kos-ui-sdk/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-door.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-door.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/door/use-door.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE9D,eAAO,MAAM,OAAO,GAAI,IAAI,MAAM;;;;;;;;;;CASjC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DoorModel } from '../../../../kos-ddk-models/src/index.ts';
|
|
2
|
+
interface DoorProps {
|
|
3
|
+
door: DoorModel;
|
|
4
|
+
}
|
|
5
|
+
interface Identifiable {
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
type HoCDoorProps = DoorProps & Identifiable;
|
|
9
|
+
export declare function withDoor<T extends HoCDoorProps = HoCDoorProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof DoorProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=with-door.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-door.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/door/with-door.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGxD,UAAU,SAAS;IACjB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,KAAK,YAAY,GAAG,SAAS,GAAG,YAAY,CAAC;AAE7C,wBAAgB,QAAQ,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EAC5D,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAEhC,OAAO,IAAI,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,sDASxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
defaultNamespace: string;
|
|
3
|
+
extensionPoint: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const useViewExtensions: ({ defaultNamespace, extensionPoint, }: Props) => {
|
|
6
|
+
namespaces: any[];
|
|
7
|
+
t: import('@kosdev-code/kos-ui-sdk').TFunction;
|
|
8
|
+
labelMap: {};
|
|
9
|
+
contributionMap: Record<string, any>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=use-view-extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-view-extensions.d.ts","sourceRoot":"","sources":["../../../../../packages/kos-ddk-model-components/src/hooks/extensions/use-view-extensions.ts"],"names":[],"mappings":"AAUA,UAAU,KAAK;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;CACxB;AAOD,eAAO,MAAM,iBAAiB,GAAI,uCAG/B,KAAK;;;;;CAgCP,CAAC"}
|