@pepperdash/mobile-control-react-app-core 1.21.0 → 1.22.0-ibasic-volume.1

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.
@@ -1,9 +1,11 @@
1
1
  export * from './interfaces';
2
2
  export * from './useButtonHeldHeartbeat';
3
+ export * from './useDeviceIBasicVolume';
3
4
  export * from './useDeviceIBasicVolumeWithFeedback';
4
5
  export * from './useGetAllDeviceStateFromRoomConfiguration';
5
6
  export * from './useOverflow';
6
7
  export * from './usePressHoldRelease';
8
+ export * from './useRoomIBasicVolume';
7
9
  export * from './useRoomIBasicVolumeWithFeedback';
8
10
  export * from './useScroll';
9
11
  export * from './useStateIsSynced';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -1,3 +1,14 @@
1
+ export * from "./interfaceNames";
2
+ export * from "./useAvrControl";
3
+ export * from "./useDevicePresetsModel";
4
+ export * from "./useEndpoint";
5
+ export * from "./useIBasicVolume";
6
+ export * from "./useIBasicVolumeWithFeedback";
7
+ export * from "./useIChannel";
8
+ export * from "./useIColor";
9
+ export * from "./useICommunicationMonitor";
10
+ export * from "./useIDeviceInfoMessenger";
11
+ export * from "./useIDPad";
1
12
  export * from './interfaceNames';
2
13
  export * from './useAvrControl';
3
14
  export * from './useCameraBase';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,eAAe,CAAC;AAC9B,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAA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AkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+ /**
3
+ * hook to control a volume device that implements the IBasicVolumeControls interface
4
+ * @param path path prefix to for the device. i.e. /device/{key} or /room/{key}
5
+ * @returns
6
+ */
7
+ export declare function useIBasicVolume(path: string): IBasicVolumeReturn | undefined;
8
+ export interface IBasicVolumeReturn {
9
+ volumeUp: PressHoldReleaseReturn;
10
+ volumeDown: PressHoldReleaseReturn;
11
+ muteToggle: () => void;
12
+ }
13
+ export declare function useGetIBasicVolume(path: string): IBasicVolumeReturn | undefined;
14
+ //# sourceMappingURL=useIBasicVolume.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIBasicVolume.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIBasicVolume.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,GACX,kBAAkB,GAAG,SAAS,CAahC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,sBAAsB,CAAC;IACnC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,GACX,kBAAkB,GAAG,SAAS,CAahC"}
@@ -1,5 +1,5 @@
1
1
  import { Volume } from '../../../types';
2
- import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+ import { IBasicVolumeReturn } from './useIBasicVolume';
3
3
  /**
4
4
  * hook to control a volume device that implements the IBasicVolumeWithFeedback interface
5
5
  * @param path path prefix to for the device. i.e. /device/{key} or /room/{key}
@@ -7,12 +7,9 @@ import { PressHoldReleaseReturn } from '../usePressHoldRelease';
7
7
  * @returns
8
8
  */
9
9
  export declare function useIBasicVolumeWithFeedback(path: string, volumeState: Volume | undefined): IBasicVolumeWithFeedbackReturn | undefined;
10
- export interface IBasicVolumeWithFeedbackReturn {
10
+ export interface IBasicVolumeWithFeedbackReturn extends IBasicVolumeReturn {
11
11
  volumeState: Volume;
12
- volumeUp: PressHoldReleaseReturn;
13
- volumeDown: PressHoldReleaseReturn;
14
12
  setLevel: (level: number) => void;
15
- muteToggle: () => void;
16
13
  muteOn: () => void;
17
14
  muteOff: () => void;
18
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useIBasicVolumeWithFeedback.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIBasicVolumeWithFeedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,8BAA8B,GAAG,SAAS,CAyB5C;AAED,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,sBAAsB,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,8BAA8B,GAAG,SAAS,CAyB5C"}
1
+ {"version":3,"file":"useIBasicVolumeWithFeedback.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIBasicVolumeWithFeedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAmB,MAAM,mBAAmB,CAAC;AAExE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,8BAA8B,GAAG,SAAS,CAuB5C;AAED,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB;IACxE,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,8BAA8B,GAAG,SAAS,CAwB5C"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Wrapper hook for a device volume
3
+ * @param deviceKey
4
+ * @returns
5
+ */
6
+ export declare function useDeviceIBasicVolume(deviceKey: string): import("./interfaces/useIBasicVolume").IBasicVolumeReturn | undefined;
7
+ //# sourceMappingURL=useDeviceIBasicVolume.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeviceIBasicVolume.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useDeviceIBasicVolume.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,yEAKtD"}
@@ -0,0 +1,9 @@
1
+ import { RoomVolumeType } from '../../types';
2
+ /**
3
+ * Wrapper hook for the room volumes
4
+ * @param roomKey
5
+ * @param type either master or they key of the aux volume
6
+ * @returns
7
+ */
8
+ export declare function useRoomIBasicVolume(roomKey: string, type: RoomVolumeType): import("./interfaces/useIBasicVolume").IBasicVolumeReturn | undefined;
9
+ //# sourceMappingURL=useRoomIBasicVolume.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRoomIBasicVolume.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useRoomIBasicVolume.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,yEAKxE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pepperdash/mobile-control-react-app-core",
3
3
  "private": false,
4
- "version": "1.21.0",
4
+ "version": "1.22.0-ibasic-volume.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",