@evercam/ui 0.0.65 → 1.0.0-137f13197

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 +40 -0
  2. package/README.md +2 -2
  3. package/dist/attributes.json +801 -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 +5 -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 +777 -259
  77. package/dist/index.mjs +17188 -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 +242 -21
  89. package/dist/types.d.ts +152 -38
  90. package/dist/utils.d.ts +16 -0
  91. package/dist/web-types.json +1774 -174
  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,10 +76,13 @@
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",
85
+ "show-loading-animation",
82
86
  "is-zoomable",
83
87
  "zoomable-ignore-pointer-events",
84
88
  "timezone",
@@ -96,38 +100,25 @@
96
100
  "ETimeline": {
97
101
  "attributes": [
98
102
  "events-groups",
99
- "x-axes-config",
100
103
  "dark",
101
104
  "start-date",
102
105
  "end-date",
103
106
  "selected-timestamp",
104
107
  "show-event-tooltip",
105
- "disable-zoom",
106
108
  "insert-zeros-at-interval",
107
109
  "flatten-line-graph-ends",
108
- "curtains",
109
110
  "show-labels",
110
- "rect-min-width",
111
111
  "bar-height",
112
112
  "bar-ypadding",
113
- "bar-xpadding",
114
113
  "chart-min-height",
115
114
  "chart-min-label-height",
116
- "min-zoom",
117
- "max-zoom",
118
115
  "min-date",
119
116
  "max-date",
120
- "cursor-timestamp",
121
- "selected-class",
122
117
  "pan-on-date-click",
123
- "pan-transition-duration",
124
118
  "selected-date",
125
- "auto-resize",
126
119
  "markers",
127
120
  "sticky-markers",
128
121
  "fit-markers-on-change",
129
- "zoom-to-interval-transition-duration",
130
- "zoom-to-boundaries-transition-duration",
131
122
  "milestone-bullet-size",
132
123
  "milestones-first",
133
124
  "forbidden-intervals",
@@ -136,7 +127,9 @@
136
127
  "locked",
137
128
  "timezone",
138
129
  "stop-click-propagation",
139
- "tooltip-position"
130
+ "tooltip-position",
131
+ "max-domain-padding",
132
+ "show-cursor"
140
133
  ],
141
134
  "description": ""
142
135
  },
@@ -154,10 +147,13 @@
154
147
  "items",
155
148
  "selected-value",
156
149
  "show-counts",
150
+ "names-only",
157
151
  "show-names",
158
152
  "colors",
153
+ "colors-dark",
159
154
  "label",
160
- "dense"
155
+ "dense",
156
+ "dark"
161
157
  ],
162
158
  "description": ""
163
159
  },
@@ -179,7 +175,8 @@
179
175
  "show-all",
180
176
  "expand-text",
181
177
  "collapse-text",
182
- "more-text-with-placeholder"
178
+ "more-text-with-placeholder",
179
+ "one-per-line"
183
180
  ],
184
181
  "description": ""
185
182
  },
@@ -206,10 +203,18 @@
206
203
  },
207
204
  "EToggleSwitch": {
208
205
  "attributes": [
206
+ "value",
207
+ "label",
208
+ "disabled",
209
+ "type",
210
+ "required",
211
+ "errors",
209
212
  "options",
213
+ "set-initial-value",
214
+ "multiple",
210
215
  "color",
211
216
  "size",
212
- "default-value"
217
+ "vertical"
213
218
  ],
214
219
  "description": ""
215
220
  },
@@ -248,9 +253,225 @@
248
253
  ],
249
254
  "description": ""
250
255
  },
251
- "EFlagIcon": {
256
+ "EImagePlayer": {
257
+ "attributes": [
258
+ "frames",
259
+ "time-per-frame",
260
+ "is-playing",
261
+ "frame-index",
262
+ "height",
263
+ "initial-quality",
264
+ "preload",
265
+ "preload-size",
266
+ "reset-index-on-frames-change",
267
+ "preload-while-playing",
268
+ "with-controls",
269
+ "play-on-click",
270
+ "disable-play-pause-animation",
271
+ "disable-play-button",
272
+ "is-live",
273
+ "selected-snapshot-quality",
274
+ "placeholder-image",
275
+ "is-mobile",
276
+ "is-zoomable",
277
+ "is-annotation-active",
278
+ "aspect-ratio",
279
+ "preloading-queue-id"
280
+ ],
281
+ "description": ""
282
+ },
283
+ "EZoomableImg": {
284
+ "attributes": [
285
+ "src",
286
+ "alt",
287
+ "allow-zoom",
288
+ "img-props",
289
+ "slider",
290
+ "disabled",
291
+ "hide-content-on-blur",
292
+ "initial-params",
293
+ "embedded",
294
+ "overlay-style",
295
+ "foreground-style",
296
+ "pan",
297
+ "slot-transition",
298
+ "height",
299
+ "is-calendar-active",
300
+ "blur-background",
301
+ "cover",
302
+ "is-widget",
303
+ "is-annotation-active",
304
+ "is-mobile",
305
+ "placeholder-image",
306
+ "show-miniature",
307
+ "miniature-width"
308
+ ],
309
+ "description": ""
310
+ },
311
+ "EZoomSlider": {
312
+ "attributes": [
313
+ "dark"
314
+ ],
315
+ "description": ""
316
+ },
317
+ "EActionButton": {
318
+ "attributes": [
319
+ "tooltip-text",
320
+ "tooltip-color",
321
+ "tooltip-position",
322
+ "button-classes",
323
+ "icon",
324
+ "icon-size",
325
+ "icon-color",
326
+ "dark"
327
+ ],
328
+ "description": ""
329
+ },
330
+ "ETooltip": {
331
+ "attributes": [
332
+ "text",
333
+ "position",
334
+ "color",
335
+ "dark"
336
+ ],
337
+ "description": ""
338
+ },
339
+ "ELayout": {
340
+ "attributes": [
341
+ "height",
342
+ "with-overlay"
343
+ ],
344
+ "description": ""
345
+ },
346
+ "EChat": {
347
+ "attributes": [
348
+ "dark",
349
+ "messages",
350
+ "user",
351
+ "embedded",
352
+ "show-header",
353
+ "inline-footer",
354
+ "height",
355
+ "width",
356
+ "show-user-avatar",
357
+ "show-copilot-avatar",
358
+ "readonly",
359
+ "is-loading",
360
+ "is-disabled",
361
+ "header-text",
362
+ "input-placeholder",
363
+ "loading-message",
364
+ "suggestions",
365
+ "exposed-regexes",
366
+ "e-markdown-props",
367
+ "silence-timeout"
368
+ ],
369
+ "description": ""
370
+ },
371
+ "ECopyToClipboardBtn": {
372
+ "attributes": [
373
+ "text",
374
+ "button-text",
375
+ "button-classes",
376
+ "description",
377
+ "icon-type",
378
+ "text-only-button",
379
+ "dark"
380
+ ],
381
+ "description": ""
382
+ },
383
+ "EPopover": {
384
+ "attributes": [
385
+ "dark",
386
+ "label",
387
+ "panel-side",
388
+ "panel-classes"
389
+ ],
390
+ "description": ""
391
+ },
392
+ "EVoiceRecorderToText": {
393
+ "attributes": [
394
+ "value",
395
+ "dark",
396
+ "disabled",
397
+ "icon-size",
398
+ "silence-timeout"
399
+ ],
400
+ "description": ""
401
+ },
402
+ "ERadioGroup": {
403
+ "attributes": [
404
+ "value",
405
+ "label",
406
+ "disabled",
407
+ "type",
408
+ "required",
409
+ "errors",
410
+ "options",
411
+ "set-initial-value",
412
+ "multiple",
413
+ "dark",
414
+ "with-description"
415
+ ],
416
+ "description": ""
417
+ },
418
+ "ESelect": {
419
+ "attributes": [
420
+ "value",
421
+ "label",
422
+ "disabled",
423
+ "type",
424
+ "required",
425
+ "errors",
426
+ "options",
427
+ "set-initial-value",
428
+ "multiple",
429
+ "dark",
430
+ "with-select-all",
431
+ "custom-selection-label",
432
+ "name",
433
+ "with-checkbox",
434
+ "searchable",
435
+ "search-placeholder",
436
+ "with-search-query-visible"
437
+ ],
438
+ "description": ""
439
+ },
440
+ "ETabs": {
441
+ "attributes": [
442
+ "value",
443
+ "label",
444
+ "disabled",
445
+ "type",
446
+ "required",
447
+ "errors",
448
+ "dark",
449
+ "vertical",
450
+ "active-class"
451
+ ],
452
+ "description": ""
453
+ },
454
+ "ECard": {
455
+ "attributes": [
456
+ "title",
457
+ "width",
458
+ "height",
459
+ "image-size",
460
+ "image-padding",
461
+ "image",
462
+ "blur-background",
463
+ "image-translation",
464
+ "dark"
465
+ ],
466
+ "description": ""
467
+ },
468
+ "ESchedulePicker": {
252
469
  "attributes": [
253
- "code"
470
+ "schedule-type",
471
+ "preload-schedule",
472
+ "edit-mode",
473
+ "dark",
474
+ "step"
254
475
  ],
255
476
  "description": ""
256
477
  }
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[]>;