@retalia/pos-components 0.0.17 → 0.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retalia/pos-components",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -295,16 +295,20 @@ declare class PosTransactionActionBar {
295
295
  /** Envelope action names. `clearBasket` shows Cancel. `tender` shows Cash and Card. */
296
296
  readonly availableActions: _angular_core.InputSignal<readonly string[]>;
297
297
  readonly disabled: _angular_core.InputSignal<boolean>;
298
+ /** Key that clicks Cash. Empty hides the hint and the shortcut. */
299
+ readonly cashHotkey: _angular_core.InputSignal<string>;
298
300
  /** Key that clicks Card. Empty hides the hint and the shortcut. */
299
301
  readonly cardHotkey: _angular_core.InputSignal<string>;
300
302
  readonly action: _angular_core.OutputEmitterRef<PosTransactionActionBarIntent>;
303
+ private readonly cashButton;
301
304
  private readonly cardButton;
302
305
  protected onDocumentKeydown(event: KeyboardEvent): void;
306
+ private buttonForHotkey;
303
307
  protected onClear(): void;
304
308
  protected onCash(): void;
305
309
  protected onCard(): void;
306
310
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PosTransactionActionBar, never>;
307
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PosTransactionActionBar, "pos-transaction-action-bar", never, { "availableActions": { "alias": "availableActions"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "cardHotkey": { "alias": "cardHotkey"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, ["*"], true, never>;
311
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PosTransactionActionBar, "pos-transaction-action-bar", never, { "availableActions": { "alias": "availableActions"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "cashHotkey": { "alias": "cashHotkey"; "required": false; "isSignal": true; }; "cardHotkey": { "alias": "cardHotkey"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, ["*"], true, never>;
308
312
  }
309
313
 
310
314
  type PosItemEntryIntent = {