@evercam/ui 1.0.0-preview-stats-monitor-commponent-6baabcfb7 → 1.0.0-preview-cameraPowerSchedule-dd6520ae2

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/dist/tags.json CHANGED
@@ -484,5 +484,11 @@
484
484
  "step"
485
485
  ],
486
486
  "description": ""
487
+ },
488
+ "ESchedule": {
489
+ "attributes": [
490
+ "schedule"
491
+ ],
492
+ "description": ""
487
493
  }
488
494
  }
package/dist/types.d.ts CHANGED
@@ -327,33 +327,5 @@ export declare enum CompareMode {
327
327
  Curtain = "curtain",
328
328
  Transparency = "transparency"
329
329
  }
330
- export type StatsPanel = {
331
- dom: HTMLCanvasElement;
332
- update: (value: number, maxValue: number) => void;
333
- };
334
- export type StatsInstance = {
335
- REVISION: number;
336
- dom: HTMLDivElement;
337
- addPanel: (panel: StatsPanel) => StatsPanel;
338
- showPanel: (id: number) => void;
339
- begin: () => void;
340
- end: () => number;
341
- update: () => void;
342
- domElement: HTMLDivElement;
343
- setMode: (id: number) => void;
344
- panels: StatsPanel[];
345
- };
346
- export type CustomPanel = {
347
- name: string;
348
- foregroundColor: string;
349
- backgroundColor: string;
350
- };
351
- export type PanelConfig = {
352
- showFPS: boolean;
353
- showMS: boolean;
354
- showMemory: boolean;
355
- customPanels: Array<CustomPanel>;
356
- };
357
- export type StatsPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right";
358
330
  declare const _default: {};
359
331
  export default _default;
package/dist/utils.d.ts CHANGED
@@ -17,5 +17,5 @@ export declare const schedules: Record<ScheduleType, Schedule>;
17
17
  export declare const twentyFourHours: number;
18
18
  export declare const hoursMinutesStrToMinutes: (time: string) => number;
19
19
  export declare const minutesToHoursMinutesStr: (number: number) => string;
20
- export declare function toNumericSchedule(schedule: Schedule): Record<string, [number, number]>;
20
+ export declare function toNumericSchedule(schedule: Schedule): Record<string, number[][]>;
21
21
  export declare function subtractOneHourFromEndIntervals(schedule: Record<string, string[]>): Record<string, string[]>;
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@evercam/ui",
5
- "version": "1.0.0-preview-stats-monitor-commponent-6baabcfb7",
5
+ "version": "1.0.0-preview-cameraPowerSchedule-dd6520ae2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -3331,6 +3331,26 @@
3331
3331
  }
3332
3332
  }
3333
3333
  ]
3334
+ },
3335
+ {
3336
+ "name": "ESchedule",
3337
+ "source": {
3338
+ "module": "./src/components/ESchedule.vue",
3339
+ "symbol": "ESchedule"
3340
+ },
3341
+ "description": "",
3342
+ "doc-url": "https://ui.evercam.io/",
3343
+ "attributes": [
3344
+ {
3345
+ "name": "schedule",
3346
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
3347
+ "default": "null",
3348
+ "value": {
3349
+ "kind": "expression",
3350
+ "type": "object"
3351
+ }
3352
+ }
3353
+ ]
3334
3354
  }
3335
3355
  ],
3336
3356
  "attributes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/ui",
3
- "version": "1.0.0-preview-stats-monitor-commponent-6baabcfb7",
3
+ "version": "1.0.0-preview-cameraPowerSchedule-dd6520ae2",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Evercam - Constuction Cameras.",