lucid-extension-sdk 0.0.425 → 0.0.426
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.
|
@@ -3,7 +3,7 @@ import { HorizontalBadgePos, VerticalBadgePos } from '../properties/datagraphic/
|
|
|
3
3
|
/**
|
|
4
4
|
* When configuring a field on a LucidCardBlock to be displayed as a data graphic, one of these values specifies
|
|
5
5
|
* the function to convert the field value to the data graphic settings. The definition of these functions is in
|
|
6
|
-
*
|
|
6
|
+
* LucidCardsRegistry.registerDefaults.
|
|
7
7
|
*/
|
|
8
8
|
export declare enum FieldDisplayType {
|
|
9
9
|
/**
|
|
@@ -34,6 +34,11 @@ export declare enum FieldDisplayType {
|
|
|
34
34
|
* as a string, e.g. "Sep 9"
|
|
35
35
|
*/
|
|
36
36
|
DateBadge = "DateBadge",
|
|
37
|
+
/**
|
|
38
|
+
* Given a date range, display a small calendar icon alongside a short version of the date range
|
|
39
|
+
* as a string, e.g. "1/16/2025 - 2/16/2025"
|
|
40
|
+
*/
|
|
41
|
+
DateRangeBadge = "DateRangeBadge",
|
|
37
42
|
/** Given an object containing iconUrl (optional) and name (optional), determine whether
|
|
38
43
|
* to display as an ImageBadge or InitializedString (or nothing, if neither is present).
|
|
39
44
|
*
|
|
@@ -7,7 +7,7 @@ const validators_1 = require("../validators/validators");
|
|
|
7
7
|
/**
|
|
8
8
|
* When configuring a field on a LucidCardBlock to be displayed as a data graphic, one of these values specifies
|
|
9
9
|
* the function to convert the field value to the data graphic settings. The definition of these functions is in
|
|
10
|
-
*
|
|
10
|
+
* LucidCardsRegistry.registerDefaults.
|
|
11
11
|
*/
|
|
12
12
|
var FieldDisplayType;
|
|
13
13
|
(function (FieldDisplayType) {
|
|
@@ -39,6 +39,11 @@ var FieldDisplayType;
|
|
|
39
39
|
* as a string, e.g. "Sep 9"
|
|
40
40
|
*/
|
|
41
41
|
FieldDisplayType["DateBadge"] = "DateBadge";
|
|
42
|
+
/**
|
|
43
|
+
* Given a date range, display a small calendar icon alongside a short version of the date range
|
|
44
|
+
* as a string, e.g. "1/16/2025 - 2/16/2025"
|
|
45
|
+
*/
|
|
46
|
+
FieldDisplayType["DateRangeBadge"] = "DateRangeBadge";
|
|
42
47
|
/** Given an object containing iconUrl (optional) and name (optional), determine whether
|
|
43
48
|
* to display as an ImageBadge or InitializedString (or nothing, if neither is present).
|
|
44
49
|
*
|