lucid-extension-sdk 0.0.418 → 0.0.419
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.
|
@@ -180,7 +180,7 @@ export type SerializedLucidCardFieldDisplaySettings = {
|
|
|
180
180
|
'textBadgeSettings'?: TextBadgeSettings | undefined;
|
|
181
181
|
} | undefined;
|
|
182
182
|
};
|
|
183
|
-
export declare const
|
|
183
|
+
export declare const isSerializedLucidCardFieldDisplaySettings: (subject: unknown) => subject is import("../guards").DestructureGuardedTypeObj<{
|
|
184
184
|
StencilConfig: (x: unknown) => x is import("../guards").DestructureGuardedTypeObj<{
|
|
185
185
|
getterKey: (x: unknown) => x is FieldDisplayType;
|
|
186
186
|
fg: (x: unknown) => x is string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LucidCardFields = exports.StatusValues = exports.deserializeLucidCardFieldDisplaySettings = exports.serializeLucidCardFieldDisplaySettings = exports.copyLucidCardFieldDisplaySettings = exports.
|
|
3
|
+
exports.LucidCardFields = exports.StatusValues = exports.deserializeLucidCardFieldDisplaySettings = exports.serializeLucidCardFieldDisplaySettings = exports.copyLucidCardFieldDisplaySettings = exports.isSerializedLucidCardFieldDisplaySettings = exports.isOnClickHandlerKey = exports.OnClickHandlerKeys = exports.isFieldDisplayType = exports.FieldDisplayType = void 0;
|
|
4
4
|
const checks_1 = require("../checks");
|
|
5
5
|
const badgeposition_1 = require("../properties/datagraphic/badgeposition");
|
|
6
6
|
const validators_1 = require("../validators/validators");
|
|
@@ -107,7 +107,7 @@ const isStencilConfig = (0, validators_1.objectValidator)({
|
|
|
107
107
|
'imageBadgeSettings': (0, validators_1.option)(isImageBadgeSettings),
|
|
108
108
|
'textBadgeSettings': (0, validators_1.option)(isTextBadgeSettings),
|
|
109
109
|
});
|
|
110
|
-
exports.
|
|
110
|
+
exports.isSerializedLucidCardFieldDisplaySettings = (0, validators_1.objectValidator)({
|
|
111
111
|
'StencilConfig': (0, validators_1.option)(isStencilConfig),
|
|
112
112
|
});
|
|
113
113
|
function copyLucidCardFieldDisplaySettings(settings) {
|
|
@@ -8,7 +8,7 @@ const cardfielddisplaysettings_1 = require("./cardfielddisplaysettings");
|
|
|
8
8
|
exports.isSerializedCardIntegrationConfig = (0, validators_1.objectValidator)({
|
|
9
9
|
'cc': (0, validators_1.objectValidator)({
|
|
10
10
|
'f': (0, checks_1.isTypedArray)(checks_1.isString),
|
|
11
|
-
'fd': (0, validators_1.option)((0, checks_1.isTypedArray)((0, checks_1.isPair)(checks_1.isString, cardfielddisplaysettings_1.
|
|
11
|
+
'fd': (0, validators_1.option)((0, checks_1.isTypedArray)((0, checks_1.isPair)(checks_1.isString, cardfielddisplaysettings_1.isSerializedLucidCardFieldDisplaySettings))),
|
|
12
12
|
'fs': (0, validators_1.option)((0, checks_1.isTypedArray)((0, checks_1.isPair)(checks_1.isString, textstyle_1.isPartialTextStyle))),
|
|
13
13
|
'id': (0, validators_1.option)(checks_1.isString),
|
|
14
14
|
}),
|