@pepperdash/mobile-control-react-app-core 1.22.4 → 1.22.5-selector-updates.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.
@@ -18,4 +18,6 @@ export declare const useIsTouchpanel: () => boolean;
18
18
  export declare const useDeviceInterfaceSupport: () => {
19
19
  [key: string]: import("../..").DeviceInterfaceInfo;
20
20
  } | undefined;
21
+ export declare const useInterfacesForDevice: (deviceKey: string) => string[];
22
+ export declare const useDeviceSupportsInterface: (deviceKey: string, interfaceToCheck: string) => boolean;
21
23
  //# sourceMappingURL=runtime.hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.hooks.d.ts","sourceRoot":"","sources":["../../../src/lib/store/runtimeConfig/runtime.hooks.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,gBAAgB,2BAA4C,CAAC;AAE1E,eAAO,MAAM,UAAU,cAAsC,CAAC;AAE9D,eAAO,MAAM,WAAW,uBAAuC,CAAC;AAEhE,eAAO,MAAM,aAAa,cAAyC,CAAC;AAEpE,eAAO,MAAM,WAAW,cAAuC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,2BACQ,CAAC;AAE3D,eAAO,MAAM,cAAc;;;;;;;;aAA0C,CAAC;AAEtE,eAAO,MAAM,gBAAgB,cAA4C,CAAC;AAE1E,eAAO,MAAM,eAAe,eAA2C,CAAC;AAExE,eAAO,MAAM,yBAAyB;;aACQ,CAAC"}
1
+ {"version":3,"file":"runtime.hooks.d.ts","sourceRoot":"","sources":["../../../src/lib/store/runtimeConfig/runtime.hooks.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,gBAAgB,2BAA4C,CAAC;AAE1E,eAAO,MAAM,UAAU,cAAsC,CAAC;AAE9D,eAAO,MAAM,WAAW,uBAAuC,CAAC;AAEhE,eAAO,MAAM,aAAa,cAAyC,CAAC;AAEpE,eAAO,MAAM,WAAW,cAAuC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,2BACQ,CAAC;AAE3D,eAAO,MAAM,cAAc;;;;;;;;aAA0C,CAAC;AAEtE,eAAO,MAAM,gBAAgB,cAA4C,CAAC;AAE1E,eAAO,MAAM,eAAe,eAA2C,CAAC;AAExE,eAAO,MAAM,yBAAyB;;aACQ,CAAC;AAE/C,eAAO,MAAM,sBAAsB,cAAe,MAAM,aACF,CAAC;AAEvD,eAAO,MAAM,0BAA0B,cAC1B,MAAM,oBACC,MAAM,YACqD,CAAC"}
@@ -309,4 +309,160 @@ export declare const selectDeviceInterfaceSupport: ((state: {
309
309
  argsMemoize: typeof import("reselect").weakMapMemoize;
310
310
  memoize: typeof import("reselect").weakMapMemoize;
311
311
  };
312
+ export declare const selectInterfacesForDevice: (deviceKey: string) => ((state: {
313
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
314
+ runtimeConfig: import("./runtimeConfig.slice").RuntimeConfigState;
315
+ rooms: Record<string, import("../..").RoomState>;
316
+ devices: Record<string, import("../..").DeviceState>;
317
+ ui: import("../..").UiConfigState;
318
+ }) => string[]) & {
319
+ clearCache: () => void;
320
+ resultsCount: () => number;
321
+ resetResultsCount: () => void;
322
+ } & {
323
+ resultFunc: (resultFuncArgs_0: {
324
+ [key: string]: import("../..").DeviceInterfaceInfo;
325
+ } | undefined) => string[];
326
+ memoizedResultFunc: ((resultFuncArgs_0: {
327
+ [key: string]: import("../..").DeviceInterfaceInfo;
328
+ } | undefined) => string[]) & {
329
+ clearCache: () => void;
330
+ resultsCount: () => number;
331
+ resetResultsCount: () => void;
332
+ };
333
+ lastResult: () => string[];
334
+ dependencies: [((state: {
335
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
336
+ runtimeConfig: import("./runtimeConfig.slice").RuntimeConfigState;
337
+ rooms: Record<string, import("../..").RoomState>;
338
+ devices: Record<string, import("../..").DeviceState>;
339
+ ui: import("../..").UiConfigState;
340
+ }) => {
341
+ [key: string]: import("../..").DeviceInterfaceInfo;
342
+ } | undefined) & {
343
+ clearCache: () => void;
344
+ resultsCount: () => number;
345
+ resetResultsCount: () => void;
346
+ } & {
347
+ resultFunc: (resultFuncArgs_0: import("./runtimeConfig.slice").RuntimeConfigState) => {
348
+ [key: string]: import("../..").DeviceInterfaceInfo;
349
+ } | undefined;
350
+ memoizedResultFunc: ((resultFuncArgs_0: import("./runtimeConfig.slice").RuntimeConfigState) => {
351
+ [key: string]: import("../..").DeviceInterfaceInfo;
352
+ } | undefined) & {
353
+ clearCache: () => void;
354
+ resultsCount: () => number;
355
+ resetResultsCount: () => void;
356
+ };
357
+ lastResult: () => {
358
+ [key: string]: import("../..").DeviceInterfaceInfo;
359
+ } | undefined;
360
+ dependencies: [(state: RootState) => import("./runtimeConfig.slice").RuntimeConfigState];
361
+ recomputations: () => number;
362
+ resetRecomputations: () => void;
363
+ dependencyRecomputations: () => number;
364
+ resetDependencyRecomputations: () => void;
365
+ } & {
366
+ argsMemoize: typeof import("reselect").weakMapMemoize;
367
+ memoize: typeof import("reselect").weakMapMemoize;
368
+ }];
369
+ recomputations: () => number;
370
+ resetRecomputations: () => void;
371
+ dependencyRecomputations: () => number;
372
+ resetDependencyRecomputations: () => void;
373
+ } & {
374
+ argsMemoize: typeof import("reselect").weakMapMemoize;
375
+ memoize: typeof import("reselect").weakMapMemoize;
376
+ };
377
+ export declare const selectDeviceSupportsInterface: (deviceKey: string, interfaceToCheck: string) => ((state: {
378
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
379
+ runtimeConfig: import("./runtimeConfig.slice").RuntimeConfigState;
380
+ rooms: Record<string, import("../..").RoomState>;
381
+ devices: Record<string, import("../..").DeviceState>;
382
+ ui: import("../..").UiConfigState;
383
+ }) => boolean) & {
384
+ clearCache: () => void;
385
+ resultsCount: () => number;
386
+ resetResultsCount: () => void;
387
+ } & {
388
+ resultFunc: (resultFuncArgs_0: string[]) => boolean;
389
+ memoizedResultFunc: ((resultFuncArgs_0: string[]) => boolean) & {
390
+ clearCache: () => void;
391
+ resultsCount: () => number;
392
+ resetResultsCount: () => void;
393
+ };
394
+ lastResult: () => boolean;
395
+ dependencies: [((state: {
396
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
397
+ runtimeConfig: import("./runtimeConfig.slice").RuntimeConfigState;
398
+ rooms: Record<string, import("../..").RoomState>;
399
+ devices: Record<string, import("../..").DeviceState>;
400
+ ui: import("../..").UiConfigState;
401
+ }) => string[]) & {
402
+ clearCache: () => void;
403
+ resultsCount: () => number;
404
+ resetResultsCount: () => void;
405
+ } & {
406
+ resultFunc: (resultFuncArgs_0: {
407
+ [key: string]: import("../..").DeviceInterfaceInfo;
408
+ } | undefined) => string[];
409
+ memoizedResultFunc: ((resultFuncArgs_0: {
410
+ [key: string]: import("../..").DeviceInterfaceInfo;
411
+ } | undefined) => string[]) & {
412
+ clearCache: () => void;
413
+ resultsCount: () => number;
414
+ resetResultsCount: () => void;
415
+ };
416
+ lastResult: () => string[];
417
+ dependencies: [((state: {
418
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
419
+ runtimeConfig: import("./runtimeConfig.slice").RuntimeConfigState;
420
+ rooms: Record<string, import("../..").RoomState>;
421
+ devices: Record<string, import("../..").DeviceState>;
422
+ ui: import("../..").UiConfigState;
423
+ }) => {
424
+ [key: string]: import("../..").DeviceInterfaceInfo;
425
+ } | undefined) & {
426
+ clearCache: () => void;
427
+ resultsCount: () => number;
428
+ resetResultsCount: () => void;
429
+ } & {
430
+ resultFunc: (resultFuncArgs_0: import("./runtimeConfig.slice").RuntimeConfigState) => {
431
+ [key: string]: import("../..").DeviceInterfaceInfo;
432
+ } | undefined;
433
+ memoizedResultFunc: ((resultFuncArgs_0: import("./runtimeConfig.slice").RuntimeConfigState) => {
434
+ [key: string]: import("../..").DeviceInterfaceInfo;
435
+ } | undefined) & {
436
+ clearCache: () => void;
437
+ resultsCount: () => number;
438
+ resetResultsCount: () => void;
439
+ };
440
+ lastResult: () => {
441
+ [key: string]: import("../..").DeviceInterfaceInfo;
442
+ } | undefined;
443
+ dependencies: [(state: RootState) => import("./runtimeConfig.slice").RuntimeConfigState];
444
+ recomputations: () => number;
445
+ resetRecomputations: () => void;
446
+ dependencyRecomputations: () => number;
447
+ resetDependencyRecomputations: () => void;
448
+ } & {
449
+ argsMemoize: typeof import("reselect").weakMapMemoize;
450
+ memoize: typeof import("reselect").weakMapMemoize;
451
+ }];
452
+ recomputations: () => number;
453
+ resetRecomputations: () => void;
454
+ dependencyRecomputations: () => number;
455
+ resetDependencyRecomputations: () => void;
456
+ } & {
457
+ argsMemoize: typeof import("reselect").weakMapMemoize;
458
+ memoize: typeof import("reselect").weakMapMemoize;
459
+ }];
460
+ recomputations: () => number;
461
+ resetRecomputations: () => void;
462
+ dependencyRecomputations: () => number;
463
+ resetDependencyRecomputations: () => void;
464
+ } & {
465
+ argsMemoize: typeof import("reselect").weakMapMemoize;
466
+ memoize: typeof import("reselect").weakMapMemoize;
467
+ };
312
468
  //# sourceMappingURL=runtime.selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.selectors.d.ts","sourceRoot":"","sources":["../../../src/lib/store/runtimeConfig/runtime.selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;2BAFH,SAAS;;;;;;;;CAKrC,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;2BAPG,SAAS;;;;;;;;CAUrC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;2BAZE,SAAS;;;;;;;;CAerC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;2BAjBA,SAAS;;;;;;;;CAoBrC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;2BAtBE,SAAS;;;;;;;;CAyBrC,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;2BA3BxB,SAAS;;;;;;;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AwCrC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;2BA1CF,SAAS;;;;;;;;CA6CrC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;2BA/CZ,SAAS;;;;;;;;CAkDrC,CAAC;AAEF,eAAO,MAAM,yBAAyB,cAAe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BApD9B,SAAS;;;;;;;;;;;;;;;;CAwDnC,CAAC;AAEJ,eAAO,MAAM,6BAA6B,cAC7B,MAAM,oBACC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCA5DG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;CAgEnC,CAAC"}
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.22.4",
4
+ "version": "1.22.5-selector-updates.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",