@evercam/ui 0.0.65 → 1.0.0-1b091ef3a

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.
Files changed (95) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +2 -2
  3. package/dist/attributes.json +796 -69
  4. package/dist/components/EActionButton.vue.d.ts +17 -0
  5. package/dist/components/EAvatar.vue.d.ts +2 -0
  6. package/dist/components/{EFlagIcon.vue.d.ts → ECard.vue.d.ts} +1 -1
  7. package/dist/components/ECheckbox.vue.d.ts +5 -0
  8. package/dist/components/ECopyToClipboardBtn.vue.d.ts +31 -0
  9. package/dist/components/EDialog.vue.d.ts +34 -0
  10. package/dist/components/EDivider.vue.d.ts +5 -0
  11. package/dist/components/EEvercamLogo.vue.d.ts +6 -0
  12. package/dist/components/EExpandableMenu.vue.d.ts +9 -8
  13. package/dist/components/EFadeTransition.vue.d.ts +7 -0
  14. package/dist/components/EFeedackButton.vue.d.ts +42 -0
  15. package/dist/components/EGlobalSearch.vue.d.ts +1 -1
  16. package/dist/components/EHeatmapBar.vue.d.ts +13 -2
  17. package/dist/components/EImagePlayer.vue.d.ts +127 -0
  18. package/dist/components/ELayout.vue.d.ts +32 -0
  19. package/dist/components/EPopover.vue.d.ts +17 -0
  20. package/dist/components/EPulsatingDot.vue.d.ts +19 -0
  21. package/dist/components/ERadioGroup.vue.d.ts +46 -0
  22. package/dist/components/ERangeSlider.vue.d.ts +31 -0
  23. package/dist/components/EReadMore.vue.d.ts +1 -0
  24. package/dist/components/ESchedulePicker.vue.d.ts +27 -0
  25. package/dist/components/ESelect.vue.d.ts +60 -0
  26. package/dist/components/ETabs.vue.d.ts +25 -0
  27. package/dist/components/EToggleSwitch.vue.d.ts +42 -17
  28. package/dist/components/ETooltip.vue.d.ts +16 -0
  29. package/dist/components/EVideoPlayer.vue.d.ts +4 -2
  30. package/dist/components/EVoiceInput.vue.d.ts +49 -0
  31. package/dist/components/EVoiceInputVolumeIndicator.vue.d.ts +13 -0
  32. package/dist/components/EZoomSlider.vue.d.ts +5 -0
  33. package/dist/components/EZoomableImg.vue.d.ts +160 -0
  34. package/dist/components/charts/ECursor.vue.d.ts +73 -0
  35. package/dist/components/charts/ECursorBehavior.vue.d.ts +21 -0
  36. package/dist/components/charts/ETimelineBarsChart.vue.d.ts +114 -0
  37. package/dist/components/charts/ETimelineForbiddenInterval.vue.d.ts +83 -0
  38. package/dist/components/charts/ETimelineGroupContainer.vue.d.ts +89 -0
  39. package/dist/components/charts/ETimelineLinesChart.vue.d.ts +105 -0
  40. package/dist/components/charts/ETimelineRectsChart.vue.d.ts +122 -0
  41. package/dist/components/charts/ETimelineRectsChartGroupedDots.vue.d.ts +83 -0
  42. package/dist/components/charts/ETimelineSVGDefs.vue.d.ts +24 -0
  43. package/dist/components/charts/EXAxis.vue.d.ts +82 -0
  44. package/dist/components/charts/EXAxisBackground.vue.d.ts +68 -0
  45. package/dist/components/charts/EXAxisDetailed.vue.d.ts +68 -0
  46. package/dist/components/charts/EXAxisOverview.vue.d.ts +68 -0
  47. package/dist/components/charts/EZoomBehavior.vue.d.ts +57 -0
  48. package/dist/components/charts/constants.d.ts +64 -0
  49. package/dist/components/chat/EChat.vue.d.ts +54 -0
  50. package/dist/components/chat/EChatBody.vue.d.ts +21 -0
  51. package/dist/components/chat/EChatFooter.vue.d.ts +9 -0
  52. package/dist/components/chat/EChatHeader.vue.d.ts +10 -0
  53. package/dist/components/chat/EChatInput.vue.d.ts +28 -0
  54. package/dist/components/chat/EChatMessage.vue.d.ts +39 -0
  55. package/dist/components/chat/EChatMessageActions.vue.d.ts +20 -0
  56. package/dist/components/chat/EChatSuggestionCard.vue.d.ts +13 -0
  57. package/dist/components/chat/EChatWrapper.vue.d.ts +9 -0
  58. package/dist/components/chat/EMarkdown.vue.d.ts +27 -0
  59. package/dist/components/chat/MarkdownProcessor.d.ts +59 -0
  60. package/dist/components/svgIcons/Brightness.vue.d.ts +5 -0
  61. package/dist/components/svgIcons/MarkUp.vue.d.ts +5 -0
  62. package/dist/components/svgIcons/Nerves.vue.d.ts +5 -0
  63. package/dist/components/svgIcons/Tag.vue.d.ts +6 -0
  64. package/dist/components/svgIcons/TagPlus.vue.d.ts +6 -0
  65. package/dist/components/svgIcons/index.d.ts +14 -2
  66. package/dist/components/{ETimeline.config.d.ts → timeline/ETimeline.config.d.ts} +1 -1
  67. package/dist/components/timeline/ETimeline.vue.d.ts +171 -0
  68. package/dist/components/timeline/ETimelineCursor.vue.d.ts +9 -0
  69. package/dist/components/timeline/ETimelineMarker.vue.d.ts +17 -0
  70. package/dist/components/timeline/ETimelineMarkers.vue.d.ts +31 -0
  71. package/dist/components/{ETimelineMilestone.vue.d.ts → timeline/ETimelineMilestone.vue.d.ts} +52 -17
  72. package/dist/components/timeline/ETimelineSelectedTimestampCursor.vue.d.ts +9 -0
  73. package/dist/constants.d.ts +8 -6
  74. package/dist/directives/clickOutside.d.ts +3 -0
  75. package/dist/directives/index.d.ts +3 -2
  76. package/dist/index.d.ts +776 -259
  77. package/dist/index.mjs +17184 -6229
  78. package/dist/index.mjs.map +1 -1
  79. package/dist/index.umd.js +70 -27
  80. package/dist/index.umd.js.map +1 -1
  81. package/dist/mixins/form-field.d.ts +12 -0
  82. package/dist/mixins/inactivity-listener.d.ts +5 -5
  83. package/dist/mixins/index.d.ts +4 -1
  84. package/dist/mixins/select-form-field.d.ts +44 -0
  85. package/dist/mixins/toggle-open.d.ts +14 -0
  86. package/dist/style.css +1 -1
  87. package/dist/styles.css +1 -38965
  88. package/dist/tags.json +241 -21
  89. package/dist/types.d.ts +152 -38
  90. package/dist/utils.d.ts +16 -0
  91. package/dist/web-types.json +1730 -139
  92. package/package.json +29 -10
  93. package/dist/components/ETimeline.vue.d.ts +0 -339
  94. package/dist/components/charts/classNames.d.ts +0 -7
  95. /package/dist/directives/{resize-observer.d.ts → resizeObserver.d.ts} +0 -0
package/dist/tags.json CHANGED
@@ -6,7 +6,8 @@
6
6
  "badge-color",
7
7
  "badge-text",
8
8
  "badge-size",
9
- "image"
9
+ "image",
10
+ "background-classes"
10
11
  ],
11
12
  "description": ""
12
13
  },
@@ -75,7 +76,9 @@
75
76
  "video-listeners",
76
77
  "video-options",
77
78
  "is-hls",
78
- "streaming-token",
79
+ "is-edge-video",
80
+ "edge-streaming-token",
81
+ "auth-token",
79
82
  "pause-on-click",
80
83
  "is-hls-loading",
81
84
  "is-playing",
@@ -96,38 +99,25 @@
96
99
  "ETimeline": {
97
100
  "attributes": [
98
101
  "events-groups",
99
- "x-axes-config",
100
102
  "dark",
101
103
  "start-date",
102
104
  "end-date",
103
105
  "selected-timestamp",
104
106
  "show-event-tooltip",
105
- "disable-zoom",
106
107
  "insert-zeros-at-interval",
107
108
  "flatten-line-graph-ends",
108
- "curtains",
109
109
  "show-labels",
110
- "rect-min-width",
111
110
  "bar-height",
112
111
  "bar-ypadding",
113
- "bar-xpadding",
114
112
  "chart-min-height",
115
113
  "chart-min-label-height",
116
- "min-zoom",
117
- "max-zoom",
118
114
  "min-date",
119
115
  "max-date",
120
- "cursor-timestamp",
121
- "selected-class",
122
116
  "pan-on-date-click",
123
- "pan-transition-duration",
124
117
  "selected-date",
125
- "auto-resize",
126
118
  "markers",
127
119
  "sticky-markers",
128
120
  "fit-markers-on-change",
129
- "zoom-to-interval-transition-duration",
130
- "zoom-to-boundaries-transition-duration",
131
121
  "milestone-bullet-size",
132
122
  "milestones-first",
133
123
  "forbidden-intervals",
@@ -136,7 +126,9 @@
136
126
  "locked",
137
127
  "timezone",
138
128
  "stop-click-propagation",
139
- "tooltip-position"
129
+ "tooltip-position",
130
+ "max-domain-padding",
131
+ "show-cursor"
140
132
  ],
141
133
  "description": ""
142
134
  },
@@ -154,10 +146,13 @@
154
146
  "items",
155
147
  "selected-value",
156
148
  "show-counts",
149
+ "names-only",
157
150
  "show-names",
158
151
  "colors",
152
+ "colors-dark",
159
153
  "label",
160
- "dense"
154
+ "dense",
155
+ "dark"
161
156
  ],
162
157
  "description": ""
163
158
  },
@@ -179,7 +174,8 @@
179
174
  "show-all",
180
175
  "expand-text",
181
176
  "collapse-text",
182
- "more-text-with-placeholder"
177
+ "more-text-with-placeholder",
178
+ "one-per-line"
183
179
  ],
184
180
  "description": ""
185
181
  },
@@ -206,10 +202,18 @@
206
202
  },
207
203
  "EToggleSwitch": {
208
204
  "attributes": [
205
+ "value",
206
+ "label",
207
+ "disabled",
208
+ "type",
209
+ "required",
210
+ "errors",
209
211
  "options",
212
+ "set-initial-value",
213
+ "multiple",
210
214
  "color",
211
215
  "size",
212
- "default-value"
216
+ "vertical"
213
217
  ],
214
218
  "description": ""
215
219
  },
@@ -248,9 +252,225 @@
248
252
  ],
249
253
  "description": ""
250
254
  },
251
- "EFlagIcon": {
255
+ "EImagePlayer": {
256
+ "attributes": [
257
+ "frames",
258
+ "time-per-frame",
259
+ "is-playing",
260
+ "frame-index",
261
+ "height",
262
+ "initial-quality",
263
+ "preload",
264
+ "preload-size",
265
+ "reset-index-on-frames-change",
266
+ "preload-while-playing",
267
+ "with-controls",
268
+ "play-on-click",
269
+ "disable-play-pause-animation",
270
+ "disable-play-button",
271
+ "is-live",
272
+ "selected-snapshot-quality",
273
+ "placeholder-image",
274
+ "is-mobile",
275
+ "is-zoomable",
276
+ "is-annotation-active",
277
+ "aspect-ratio",
278
+ "preloading-queue-id"
279
+ ],
280
+ "description": ""
281
+ },
282
+ "EZoomableImg": {
283
+ "attributes": [
284
+ "src",
285
+ "alt",
286
+ "allow-zoom",
287
+ "img-props",
288
+ "slider",
289
+ "disabled",
290
+ "hide-content-on-blur",
291
+ "initial-params",
292
+ "embedded",
293
+ "overlay-style",
294
+ "foreground-style",
295
+ "pan",
296
+ "slot-transition",
297
+ "height",
298
+ "is-calendar-active",
299
+ "blur-background",
300
+ "cover",
301
+ "is-widget",
302
+ "is-annotation-active",
303
+ "is-mobile",
304
+ "placeholder-image",
305
+ "show-miniature",
306
+ "miniature-width"
307
+ ],
308
+ "description": ""
309
+ },
310
+ "EZoomSlider": {
311
+ "attributes": [
312
+ "dark"
313
+ ],
314
+ "description": ""
315
+ },
316
+ "EActionButton": {
317
+ "attributes": [
318
+ "tooltip-text",
319
+ "tooltip-color",
320
+ "tooltip-position",
321
+ "button-classes",
322
+ "icon",
323
+ "icon-size",
324
+ "icon-color",
325
+ "dark"
326
+ ],
327
+ "description": ""
328
+ },
329
+ "ETooltip": {
330
+ "attributes": [
331
+ "text",
332
+ "position",
333
+ "color",
334
+ "dark"
335
+ ],
336
+ "description": ""
337
+ },
338
+ "ELayout": {
339
+ "attributes": [
340
+ "height",
341
+ "with-overlay"
342
+ ],
343
+ "description": ""
344
+ },
345
+ "EChat": {
346
+ "attributes": [
347
+ "dark",
348
+ "messages",
349
+ "user",
350
+ "embedded",
351
+ "show-header",
352
+ "inline-footer",
353
+ "height",
354
+ "width",
355
+ "show-user-avatar",
356
+ "show-copilot-avatar",
357
+ "readonly",
358
+ "is-loading",
359
+ "is-disabled",
360
+ "header-text",
361
+ "input-placeholder",
362
+ "loading-message",
363
+ "suggestions",
364
+ "exposed-regexes",
365
+ "e-markdown-props",
366
+ "silence-timeout"
367
+ ],
368
+ "description": ""
369
+ },
370
+ "ECopyToClipboardBtn": {
371
+ "attributes": [
372
+ "text",
373
+ "button-text",
374
+ "button-classes",
375
+ "description",
376
+ "icon-type",
377
+ "text-only-button",
378
+ "dark"
379
+ ],
380
+ "description": ""
381
+ },
382
+ "EPopover": {
383
+ "attributes": [
384
+ "dark",
385
+ "label",
386
+ "panel-side",
387
+ "panel-classes"
388
+ ],
389
+ "description": ""
390
+ },
391
+ "EVoiceRecorderToText": {
392
+ "attributes": [
393
+ "value",
394
+ "dark",
395
+ "disabled",
396
+ "icon-size",
397
+ "silence-timeout"
398
+ ],
399
+ "description": ""
400
+ },
401
+ "ERadioGroup": {
402
+ "attributes": [
403
+ "value",
404
+ "label",
405
+ "disabled",
406
+ "type",
407
+ "required",
408
+ "errors",
409
+ "options",
410
+ "set-initial-value",
411
+ "multiple",
412
+ "dark",
413
+ "with-description"
414
+ ],
415
+ "description": ""
416
+ },
417
+ "ESelect": {
418
+ "attributes": [
419
+ "value",
420
+ "label",
421
+ "disabled",
422
+ "type",
423
+ "required",
424
+ "errors",
425
+ "options",
426
+ "set-initial-value",
427
+ "multiple",
428
+ "dark",
429
+ "with-select-all",
430
+ "custom-selection-label",
431
+ "name",
432
+ "with-checkbox",
433
+ "searchable",
434
+ "search-placeholder",
435
+ "with-search-query-visible"
436
+ ],
437
+ "description": ""
438
+ },
439
+ "ETabs": {
440
+ "attributes": [
441
+ "value",
442
+ "label",
443
+ "disabled",
444
+ "type",
445
+ "required",
446
+ "errors",
447
+ "dark",
448
+ "vertical",
449
+ "active-class"
450
+ ],
451
+ "description": ""
452
+ },
453
+ "ECard": {
454
+ "attributes": [
455
+ "title",
456
+ "width",
457
+ "height",
458
+ "image-size",
459
+ "image-padding",
460
+ "image",
461
+ "blur-background",
462
+ "image-translation",
463
+ "dark"
464
+ ],
465
+ "description": ""
466
+ },
467
+ "ESchedulePicker": {
252
468
  "attributes": [
253
- "code"
469
+ "schedule-type",
470
+ "preload-schedule",
471
+ "edit-mode",
472
+ "dark",
473
+ "step"
254
474
  ],
255
475
  "description": ""
256
476
  }
package/dist/types.d.ts CHANGED
@@ -1,29 +1,49 @@
1
- import { BadgeSizes, AvatarSizes, IconSizes, BadgeColors, ToggleSwitchSizes } from './constants';
1
+ import { AvatarSizes, BadgeColors, BadgeSizes, IconSizes, ToggleSwitchSizes } from './constants';
2
+ export declare enum ScheduleType {
3
+ Continuous = "continuous",
4
+ WorkingHours = "workingHours",
5
+ Empty = "empty",
6
+ Custom = "custom"
7
+ }
8
+ export declare enum Days {
9
+ Monday = "monday",
10
+ Tuesday = "tuesday",
11
+ Wednesday = "wednesday",
12
+ Thursday = "thursday",
13
+ Friday = "friday",
14
+ Saturday = "saturday",
15
+ Sunday = "sunday"
16
+ }
17
+ export type Schedule = {
18
+ [day in Days]: string[];
19
+ };
2
20
  export declare enum Size {
3
- dot = "dot",
4
- xs = "xs",
5
- sm = "sm",
6
- md = "base",
7
- base = "base",
8
- lg = "lg",
9
- xl = "xl",
10
- "2xl" = "2xl",
11
- "3xl" = "3xl",
12
- "4xl" = "4xl",
13
- "5xl" = "5xl",
14
- "6xl" = "6xl",
15
- "7xl" = "7xl",
16
- "8xl" = "8xl",
17
- "9xl" = "9xl"
21
+ Dot = "dot",
22
+ TwoXs = "2xs",
23
+ Xs = "xs",
24
+ Sm = "sm",
25
+ Md = "base",
26
+ Base = "base",
27
+ Lg = "lg",
28
+ Xl = "xl",
29
+ TwoXl = "2xl",
30
+ ThreeXl = "3xl",
31
+ FourXl = "4xl",
32
+ FiveXl = "5xl",
33
+ SixXl = "6xl",
34
+ SevenXl = "7xl",
35
+ EightXl = "8xl",
36
+ NineXl = "9xl"
18
37
  }
19
38
  export declare enum BaseColor {
20
- warning = "warning",
21
- error = "error",
22
- info = "info",
23
- success = "success",
24
- primary = "primary",
25
- brand = "brand",
26
- default = "default"
39
+ Warning = "warning",
40
+ Error = "error",
41
+ Info = "info",
42
+ Success = "success",
43
+ Primary = "primary",
44
+ Brand = "brand",
45
+ Default = "default",
46
+ Gray = "gray"
27
47
  }
28
48
  /**
29
49
  * {@link Size}
@@ -51,9 +71,9 @@ export type FlexAlignItems = "start" | "center" | "end" | "baseline" | "stretch"
51
71
  export type FlexAlignContent = "around" | "baseline" | "between" | "center" | "end" | "evenly" | "normal" | "start" | "stretch";
52
72
  export type FlexAlignSelf = "auto" | "baseline" | "center" | "end" | "start" | "stretch";
53
73
  export declare enum TimelineAxis {
54
- overview = "overview",
55
- detailed = "detailed",
56
- detailedBackground = "detailedBackground"
74
+ Overview = "overview",
75
+ Detailed = "detailed",
76
+ DetailedBackground = "detailedBackground"
57
77
  }
58
78
  export type TimelineTicksConfig = {
59
79
  precision: number;
@@ -73,6 +93,7 @@ export type TimelineBarEvent = {
73
93
  color?: string;
74
94
  className?: string;
75
95
  text?: string;
96
+ textColor?: string;
76
97
  [key: string]: any;
77
98
  };
78
99
  export type TimelineRangeEvent = {
@@ -104,11 +125,11 @@ export type TimelineMilestoneEvent = {
104
125
  */
105
126
  export type TimelineEvent = TimelineBarEvent | TimelineRangeEvent | TimelineCountEvent | TimelineMilestoneEvent;
106
127
  export declare enum TimelineChartType {
107
- bars = "bars",
108
- dots = "dots",
109
- lineGraph = "lineGraph",
110
- barChart = "barGraph",
111
- milestones = "milestones"
128
+ Bars = "bars",
129
+ Dots = "dots",
130
+ LineGraph = "lineGraph",
131
+ BarChart = "barGraph",
132
+ Milestones = "milestones"
112
133
  }
113
134
  /**
114
135
  * {@link TimelineEvent}
@@ -128,6 +149,7 @@ export type TimelineEventsGroup = {
128
149
  milestonesDotSize?: number;
129
150
  height?: number;
130
151
  dotsSize?: number;
152
+ groupOverlappingDots?: boolean;
131
153
  bottom?: boolean;
132
154
  barBorderRadius?: number;
133
155
  };
@@ -139,9 +161,9 @@ export type TimelineEventsByType = {
139
161
  };
140
162
  export type TimelinePrecision = "hour" | "day" | "week" | "month" | "year";
141
163
  export declare enum TimelineIntervalChangeTrigger {
142
- zoom = "zoom",
143
- autoPan = "autoPan",
144
- initial = "initial"
164
+ Zoom = "zoom",
165
+ AutoPan = "autoPan",
166
+ Initial = "initial"
145
167
  }
146
168
  export type TimelineMarker = {
147
169
  timestamp: string | Date;
@@ -160,9 +182,11 @@ export type TimelineInterval = {
160
182
  endDate: Date | string | number;
161
183
  };
162
184
  export type HeatmapBarItem = {
185
+ id?: string | number;
163
186
  name: string;
164
187
  count: number;
165
188
  value: string | number;
189
+ itemClass?: string | Record<string, boolean>;
166
190
  };
167
191
  export type HoursHeatmapChartItem = {
168
192
  count: number;
@@ -199,13 +223,103 @@ export interface FullscreenDocument extends Document {
199
223
  mozFullScreenEnabled: boolean;
200
224
  }
201
225
  export type D3TimestampParams = {
202
- timestamp: string | Date;
203
- timezone: string;
226
+ timestamp: string | Date | number;
227
+ timezone?: string;
204
228
  };
205
229
  export type D3DateParams = {
206
- date: Date;
207
- timezone: string;
230
+ date: Date | string;
231
+ timezone?: string;
208
232
  };
209
233
  export type TimelineDomain = Date[] | string[];
234
+ export declare enum ImageQuality {
235
+ ThreeSixty = "360",
236
+ FourEighty = "480",
237
+ SevenTwenty = "720",
238
+ OneZeroEightZero = "1080",
239
+ Auto = "auto"
240
+ }
241
+ export type SrcSet = {
242
+ [q in ImageQuality]: string;
243
+ };
244
+ export interface Frame {
245
+ label: string;
246
+ src: string;
247
+ srcSet?: SrcSet;
248
+ timestamp: Timestamp;
249
+ }
250
+ export declare enum Position {
251
+ Top = "top",
252
+ Right = "right",
253
+ Bottom = "bottom",
254
+ Left = "left"
255
+ }
256
+ export declare enum ChatMessageRole {
257
+ System = "system",
258
+ Copilot = "copilot",
259
+ User = "user"
260
+ }
261
+ export declare enum ChatMessageType {
262
+ Text = "text",
263
+ Error = "error",
264
+ Json = "json"
265
+ }
266
+ export type ChatMessageAnnotation = {
267
+ index: number;
268
+ text: string;
269
+ url?: string;
270
+ [key: string]: unknown;
271
+ };
272
+ export interface ChatMessage {
273
+ id: number;
274
+ role: ChatMessageRole;
275
+ content: string | string[] | Record<string, unknown>;
276
+ timestamp?: Timestamp;
277
+ isLoading?: boolean;
278
+ type?: ChatMessageType;
279
+ data?: unknown;
280
+ annotations?: ChatMessageAnnotation[];
281
+ withActions?: boolean;
282
+ }
283
+ export interface ChatSuggestion {
284
+ type: string;
285
+ text: string;
286
+ icon: string;
287
+ color?: string;
288
+ width?: number;
289
+ display?: "row" | "column";
290
+ }
291
+ export declare enum FeedbackType {
292
+ Positive = "positive",
293
+ Negative = "negative"
294
+ }
295
+ export type DialogAction = {
296
+ label: string;
297
+ id?: string | number;
298
+ closeOnClick?: boolean;
299
+ color: BaseColor;
300
+ };
301
+ export type Feedback = {
302
+ type: FeedbackType;
303
+ message: string;
304
+ [key: string]: unknown;
305
+ };
306
+ export type EMarkdownRegex = {
307
+ regex: RegExp;
308
+ type: string;
309
+ };
310
+ export type EMarkdownRegexMatch = {
311
+ match: string;
312
+ type: string;
313
+ };
314
+ export type ESelectionGroupOption = {
315
+ label: string;
316
+ value: any;
317
+ disabled?: boolean;
318
+ };
319
+ export type ERadioGroupOption = ESelectionGroupOption & {
320
+ description?: string;
321
+ };
322
+ export type EToggleSwitchOption = ESelectionGroupOption;
323
+ export type CssClassMap = Record<string, boolean>;
210
324
  declare const _default: {};
211
325
  export default _default;
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,21 @@
1
+ import { Schedule, ScheduleType } from './types';
1
2
  export declare function isFullScreen(): boolean;
2
3
  export declare function makeFullScreen(element: HTMLElement): Promise<unknown>;
3
4
  export declare function exitFullScreen(): Promise<void | null>;
4
5
  export declare function debounce<T extends (...args: any[]) => any>(func: T, wait?: number): (...args: Parameters<T>) => void;
5
6
  export declare function getRandomChars(length?: number): string;
7
+ export declare function getImageData(image: HTMLImageElement, x?: number, y?: number, width?: number, height?: number): string;
8
+ export declare function isValidDate(dateString?: string): boolean;
9
+ export declare function hexToRgba(hex: string, alpha?: number): string;
10
+ export declare function rgbToRgba(rgb: string, alpha?: number): string | null;
11
+ export declare function isRgba(color: string): boolean;
12
+ export declare function toRgba(color: string, alpha?: number): string | null;
13
+ export declare function generateUniqueId(obj: Record<string, unknown>): string;
14
+ export declare function hashCode(str: string): number;
15
+ export declare function getGradientColors(startColor: string, endColor: string, length: number): string[];
16
+ export declare const schedules: Record<ScheduleType, Schedule>;
17
+ export declare const twentyFourHours: number;
18
+ export declare const hoursMinutesStrToMinutes: (time: string) => number;
19
+ export declare const minutesToHoursMinutesStr: (number: number) => string;
20
+ export declare function toNumericSchedule(schedule: Schedule): Record<string, [number, number]>;
21
+ export declare function subtractOneHourFromEndIntervals(schedule: Record<string, string[]>): Record<string, string[]>;