@picteus/extension-sdk 0.17.0 → 0.18.0
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/generated/viewKit.d.ts +335 -262
- package/dist/generated/viewKit.js +325 -255
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +5 -1
- package/dist/picteus-ws-client/apis/ImageApi.js +7 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationSettings.js +1 -1
- package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
- package/dist/picteus-ws-client/models/Collection.js +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
- package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityState.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityState.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionState.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionState.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
- package/dist/picteus-ws-client/models/Image.d.ts +1 -1
- package/dist/picteus-ws-client/models/Image.js +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageEmbedding.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
- package/dist/picteus-ws-client/models/Manifest.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
- package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/PromptKind.js +1 -1
- package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
- package/dist/picteus-ws-client/models/Repository.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryState.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryState.js +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
- package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
- package/dist/picteus-ws-client/models/Software.d.ts +1 -1
- package/dist/picteus-ws-client/models/Software.js +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -36,10 +36,20 @@ export declare enum Size {
|
|
|
36
36
|
medium = "medium",
|
|
37
37
|
large = "large"
|
|
38
38
|
}
|
|
39
|
-
/**
|
|
40
|
-
export declare enum
|
|
39
|
+
/** Visual presentation style for string values. */
|
|
40
|
+
export declare enum StringRepresentation {
|
|
41
41
|
plain = "plain",
|
|
42
|
-
chip = "chip"
|
|
42
|
+
chip = "chip",
|
|
43
|
+
multiline = "multiline"
|
|
44
|
+
}
|
|
45
|
+
/** Visual separator rendered between sequential elements or items. */
|
|
46
|
+
export declare enum Separator {
|
|
47
|
+
bar = "bar",
|
|
48
|
+
comma = "comma",
|
|
49
|
+
dot = "dot",
|
|
50
|
+
slash = "slash",
|
|
51
|
+
dash = "dash",
|
|
52
|
+
space = "space"
|
|
43
53
|
}
|
|
44
54
|
/** Supported syntax highlighting languages for formatted code blocks. */
|
|
45
55
|
export declare enum CodeLanguage {
|
|
@@ -47,6 +57,11 @@ export declare enum CodeLanguage {
|
|
|
47
57
|
json = "json",
|
|
48
58
|
yaml = "yaml"
|
|
49
59
|
}
|
|
60
|
+
/** Visual presentation style for boolean values. */
|
|
61
|
+
export declare enum BooleanRepresentation {
|
|
62
|
+
plain = "plain",
|
|
63
|
+
badge = "badge"
|
|
64
|
+
}
|
|
50
65
|
/** Visual color tone variants for badge pill representations. */
|
|
51
66
|
export declare enum BadgeVariant {
|
|
52
67
|
neutral = "neutral",
|
|
@@ -74,6 +89,11 @@ export declare enum TableColumnAlign {
|
|
|
74
89
|
center = "center",
|
|
75
90
|
right = "right"
|
|
76
91
|
}
|
|
92
|
+
/** Width mode for table columns. */
|
|
93
|
+
export declare enum TableColumnWidthMode {
|
|
94
|
+
fixed = "fixed",
|
|
95
|
+
maximum = "maximum"
|
|
96
|
+
}
|
|
77
97
|
/** Visual styling variants for hairline dividers. */
|
|
78
98
|
export declare enum DividerStyle {
|
|
79
99
|
hairline = "hairline",
|
|
@@ -145,37 +165,48 @@ export interface PrimitiveModifiers extends BaseModifiers {
|
|
|
145
165
|
readonly monospace?: boolean;
|
|
146
166
|
}
|
|
147
167
|
/**
|
|
148
|
-
*
|
|
149
|
-
* Supports plain text
|
|
168
|
+
* Universal textual string primitive element.
|
|
169
|
+
* Supports plain text, compact chip pill, or multiline pre-wrapped presentation.
|
|
150
170
|
*/
|
|
151
|
-
export interface
|
|
171
|
+
export interface StringElement extends UiElementBase {
|
|
152
172
|
/**
|
|
153
173
|
* Discriminator type
|
|
154
174
|
*
|
|
155
|
-
* @defaultValue "string
|
|
175
|
+
* @defaultValue "string"
|
|
156
176
|
*/
|
|
157
|
-
readonly type: "string
|
|
177
|
+
readonly type: "string";
|
|
158
178
|
/** Text value */
|
|
159
179
|
readonly value: string;
|
|
160
180
|
/**
|
|
161
181
|
* Display representation mode
|
|
162
182
|
*
|
|
163
|
-
* @defaultValue
|
|
183
|
+
* @defaultValue StringRepresentation.plain
|
|
164
184
|
*/
|
|
165
|
-
readonly representation?:
|
|
185
|
+
readonly representation?: StringRepresentation;
|
|
166
186
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
167
187
|
readonly modifiers?: PrimitiveModifiers;
|
|
168
188
|
}
|
|
169
|
-
/**
|
|
170
|
-
|
|
189
|
+
/**
|
|
190
|
+
* Collection of textual string values rendered as a sequence of inline items or chips.
|
|
191
|
+
* Supports visual separators (comma, dot, slash, bar, dash, space) and copyable affordance.
|
|
192
|
+
*/
|
|
193
|
+
export interface StringsElement extends UiElementBase {
|
|
171
194
|
/**
|
|
172
195
|
* Discriminator type
|
|
173
196
|
*
|
|
174
|
-
* @defaultValue "
|
|
197
|
+
* @defaultValue "strings"
|
|
175
198
|
*/
|
|
176
|
-
readonly type: "
|
|
177
|
-
/**
|
|
178
|
-
readonly
|
|
199
|
+
readonly type: "strings";
|
|
200
|
+
/** Array of string values */
|
|
201
|
+
readonly values: string[];
|
|
202
|
+
/**
|
|
203
|
+
* Display representation mode (plain text or visual chips)
|
|
204
|
+
*
|
|
205
|
+
* @defaultValue StringRepresentation.plain
|
|
206
|
+
*/
|
|
207
|
+
readonly representation?: StringRepresentation;
|
|
208
|
+
/** Optional visual separator rendered between sequential values */
|
|
209
|
+
readonly separator?: Separator;
|
|
179
210
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
180
211
|
readonly modifiers?: PrimitiveModifiers;
|
|
181
212
|
}
|
|
@@ -261,6 +292,21 @@ export interface RatioElement extends UiElementBase {
|
|
|
261
292
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
262
293
|
readonly modifiers?: PrimitiveModifiers;
|
|
263
294
|
}
|
|
295
|
+
/** Image dimensions representation displaying formatted width and height in pixels. */
|
|
296
|
+
export interface DimensionsElement extends UiElementBase {
|
|
297
|
+
/**
|
|
298
|
+
* Discriminator type
|
|
299
|
+
*
|
|
300
|
+
* @defaultValue "dimensions"
|
|
301
|
+
*/
|
|
302
|
+
readonly type: "dimensions";
|
|
303
|
+
/** Width in pixels */
|
|
304
|
+
readonly width: number;
|
|
305
|
+
/** Height in pixels */
|
|
306
|
+
readonly height: number;
|
|
307
|
+
/** Optional visual modifiers (copyable) */
|
|
308
|
+
readonly modifiers?: BaseModifiers;
|
|
309
|
+
}
|
|
264
310
|
/** Single color representation with hex value, shape/size styling, text display toggle, and copy affordance. */
|
|
265
311
|
export interface ColourElement extends UiElementBase {
|
|
266
312
|
/**
|
|
@@ -345,29 +391,25 @@ export interface NumberBoundedMeterElement extends UiElementBase {
|
|
|
345
391
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
346
392
|
readonly modifiers?: PrimitiveModifiers;
|
|
347
393
|
}
|
|
348
|
-
/**
|
|
349
|
-
|
|
394
|
+
/**
|
|
395
|
+
* Universal boolean primitive element.
|
|
396
|
+
* Supports standard plain text or badge pill presentation with customizable labels and variants.
|
|
397
|
+
*/
|
|
398
|
+
export interface BooleanElement extends UiElementBase {
|
|
350
399
|
/**
|
|
351
400
|
* Discriminator type
|
|
352
401
|
*
|
|
353
|
-
* @defaultValue "boolean
|
|
402
|
+
* @defaultValue "boolean"
|
|
354
403
|
*/
|
|
355
|
-
readonly type: "boolean
|
|
404
|
+
readonly type: "boolean";
|
|
356
405
|
/** Boolean state value */
|
|
357
406
|
readonly value: boolean;
|
|
358
|
-
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
359
|
-
readonly modifiers?: PrimitiveModifiers;
|
|
360
|
-
}
|
|
361
|
-
/** Visual badge pill representation of a boolean state. */
|
|
362
|
-
export interface BooleanBadgeElement extends UiElementBase {
|
|
363
407
|
/**
|
|
364
|
-
*
|
|
408
|
+
* Display representation mode
|
|
365
409
|
*
|
|
366
|
-
* @defaultValue
|
|
410
|
+
* @defaultValue BooleanRepresentation.plain
|
|
367
411
|
*/
|
|
368
|
-
readonly
|
|
369
|
-
/** Boolean state value */
|
|
370
|
-
readonly value: boolean;
|
|
412
|
+
readonly representation?: BooleanRepresentation;
|
|
371
413
|
/**
|
|
372
414
|
* Custom display label when true (defaults to "true")
|
|
373
415
|
*
|
|
@@ -381,7 +423,7 @@ export interface BooleanBadgeElement extends UiElementBase {
|
|
|
381
423
|
*/
|
|
382
424
|
readonly falseLabel?: string;
|
|
383
425
|
/**
|
|
384
|
-
* Badge color tone
|
|
426
|
+
* Badge color tone when rendered as badge
|
|
385
427
|
*
|
|
386
428
|
* @defaultValue BadgeVariant.neutral
|
|
387
429
|
*/
|
|
@@ -499,15 +541,12 @@ export interface HtmlBlockElement extends UiElementBase {
|
|
|
499
541
|
export interface Slot {
|
|
500
542
|
/** Optional slot label (e.g. "Slot A") */
|
|
501
543
|
readonly label?: string;
|
|
502
|
-
/**
|
|
503
|
-
readonly width?:
|
|
544
|
+
/** Width percentage (1-100) */
|
|
545
|
+
readonly width?: number;
|
|
504
546
|
/** Rendered content inside the slot */
|
|
505
547
|
readonly content: UiElement;
|
|
506
548
|
}
|
|
507
|
-
/**
|
|
508
|
-
* Multi-slot horizontal row with declared column width proportions.
|
|
509
|
-
* Examples: "1/3 + 2/3", "equal thirds", "1/4 + 3/4".
|
|
510
|
-
*/
|
|
549
|
+
/** Multi-slot horizontal row layout comprising slots with individual widths. */
|
|
511
550
|
export interface MultiSlotElement extends UiElementBase {
|
|
512
551
|
/**
|
|
513
552
|
* Discriminator type
|
|
@@ -515,8 +554,6 @@ export interface MultiSlotElement extends UiElementBase {
|
|
|
515
554
|
* @defaultValue "multi-slot"
|
|
516
555
|
*/
|
|
517
556
|
readonly type: "multi-slot";
|
|
518
|
-
/** Proportions descriptor (e.g. "1/3 + 2/3", "equal", "1/4 + 3/4") */
|
|
519
|
-
readonly proportions?: string;
|
|
520
557
|
/** List of slots comprising the row */
|
|
521
558
|
readonly slots: Slot[];
|
|
522
559
|
}
|
|
@@ -531,6 +568,8 @@ export interface FlowingElement extends UiElementBase {
|
|
|
531
568
|
* @defaultValue "flowing"
|
|
532
569
|
*/
|
|
533
570
|
readonly type: "flowing";
|
|
571
|
+
/** Optional visual separator rendered between sequential child elements */
|
|
572
|
+
readonly separator?: Separator;
|
|
534
573
|
/** List of child elements rendered sequentially with line wrapping */
|
|
535
574
|
readonly elements: UiElement[];
|
|
536
575
|
}
|
|
@@ -566,8 +605,14 @@ export interface TableColumn {
|
|
|
566
605
|
* @defaultValue TableColumnAlign.left
|
|
567
606
|
*/
|
|
568
607
|
readonly align?: TableColumnAlign;
|
|
569
|
-
/**
|
|
570
|
-
readonly width?:
|
|
608
|
+
/** Width percentage (1-100) */
|
|
609
|
+
readonly width?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Sizing mode for the provided width
|
|
612
|
+
*
|
|
613
|
+
* @defaultValue TableColumnWidthMode.fixed
|
|
614
|
+
*/
|
|
615
|
+
readonly widthMode?: TableColumnWidthMode;
|
|
571
616
|
}
|
|
572
617
|
/** Single table row containing an array of cell values. */
|
|
573
618
|
export interface TableRow {
|
|
@@ -585,12 +630,6 @@ export interface TableElement extends UiElementBase {
|
|
|
585
630
|
* @defaultValue "table"
|
|
586
631
|
*/
|
|
587
632
|
readonly type: "table";
|
|
588
|
-
/**
|
|
589
|
-
* Whether to render a column header row
|
|
590
|
-
*
|
|
591
|
-
* @defaultValue true
|
|
592
|
-
*/
|
|
593
|
-
readonly hasHeader?: boolean;
|
|
594
633
|
/**
|
|
595
634
|
* Whether to render alternating row background colors
|
|
596
635
|
*
|
|
@@ -703,7 +742,7 @@ export interface UiCard extends UiContainer {
|
|
|
703
742
|
* Uses the @discriminator("type") decorator so all child models inheriting from UiElement
|
|
704
743
|
* are automatically recognized by schema emitters and SDK code generators.
|
|
705
744
|
*/
|
|
706
|
-
export type UiElement =
|
|
745
|
+
export type UiElement = StringElement | StringsElement | StringCodeElement | XmlElement | JsonElement | StringUrlElement | IdentifierElement | RatioElement | DimensionsElement | ColourElement | NumberUnboundedElement | NumberBoundedStarsElement | NumberBoundedMeterElement | BooleanElement | TimestampElement | ImageReferenceElement | MarkdownBlockElement | HtmlBlockElement | MultiSlotElement | FlowingElement | LabelValueElement | TableElement | RepeatingGroupElement | CollapsibleGroupElement | DividerElement;
|
|
707
746
|
/** Polymorphic base model for interactive actions. */
|
|
708
747
|
export type UiAction = ButtonActionElement | ExternalLinkActionElement;
|
|
709
748
|
/**
|
|
@@ -792,64 +831,75 @@ export declare class PrimitiveModifiersClass extends ViewKitNode<PrimitiveModifi
|
|
|
792
831
|
});
|
|
793
832
|
}
|
|
794
833
|
/**
|
|
795
|
-
* Class implementation of the `
|
|
834
|
+
* Class implementation of the `StringElement` interface.
|
|
796
835
|
*
|
|
797
836
|
* @remarks
|
|
798
|
-
*
|
|
799
|
-
* Supports plain text
|
|
837
|
+
* Universal textual string primitive element.
|
|
838
|
+
* Supports plain text, compact chip pill, or multiline pre-wrapped presentation.
|
|
800
839
|
*/
|
|
801
|
-
export declare class
|
|
840
|
+
export declare class StringElementClass extends BaseUiElement<StringElement> implements StringElement {
|
|
802
841
|
/**
|
|
803
|
-
* Discriminator identifier for `
|
|
842
|
+
* Discriminator identifier for `StringElement`.
|
|
804
843
|
*
|
|
805
|
-
* @defaultValue "string
|
|
844
|
+
* @defaultValue "string"
|
|
806
845
|
*/
|
|
807
|
-
readonly type = "string
|
|
846
|
+
readonly type = "string";
|
|
808
847
|
/** Text value */
|
|
809
848
|
readonly value: string;
|
|
810
849
|
/**
|
|
811
850
|
* Display representation mode
|
|
812
851
|
*
|
|
813
|
-
* @defaultValue
|
|
852
|
+
* @defaultValue StringRepresentation.plain
|
|
814
853
|
*/
|
|
815
|
-
readonly representation?:
|
|
854
|
+
readonly representation?: StringRepresentation;
|
|
816
855
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
817
856
|
readonly modifiers?: PrimitiveModifiers;
|
|
818
857
|
/**
|
|
819
|
-
* Constructs a new `
|
|
858
|
+
* Constructs a new `StringElementClass` instance.
|
|
820
859
|
*
|
|
821
860
|
* @param value - Text value
|
|
822
861
|
* @param options - Optional component settings. (representation (defaults to `plain`), modifiers).
|
|
823
862
|
*/
|
|
824
863
|
constructor(value: string, options?: {
|
|
825
|
-
representation?:
|
|
864
|
+
representation?: StringRepresentation;
|
|
826
865
|
modifiers?: PrimitiveModifiers;
|
|
827
866
|
});
|
|
828
867
|
}
|
|
829
868
|
/**
|
|
830
|
-
* Class implementation of the `
|
|
869
|
+
* Class implementation of the `StringsElement` interface.
|
|
831
870
|
*
|
|
832
871
|
* @remarks
|
|
833
|
-
*
|
|
872
|
+
* Collection of textual string values rendered as a sequence of inline items or chips.
|
|
873
|
+
* Supports visual separators (comma, dot, slash, bar, dash, space) and copyable affordance.
|
|
834
874
|
*/
|
|
835
|
-
export declare class
|
|
875
|
+
export declare class StringsElementClass extends BaseUiElement<StringsElement> implements StringsElement {
|
|
836
876
|
/**
|
|
837
|
-
* Discriminator identifier for `
|
|
877
|
+
* Discriminator identifier for `StringsElement`.
|
|
838
878
|
*
|
|
839
|
-
* @defaultValue "
|
|
879
|
+
* @defaultValue "strings"
|
|
840
880
|
*/
|
|
841
|
-
readonly type = "
|
|
842
|
-
/**
|
|
843
|
-
readonly
|
|
881
|
+
readonly type = "strings";
|
|
882
|
+
/** Array of string values */
|
|
883
|
+
readonly values: string[];
|
|
884
|
+
/**
|
|
885
|
+
* Display representation mode (plain text or visual chips)
|
|
886
|
+
*
|
|
887
|
+
* @defaultValue StringRepresentation.plain
|
|
888
|
+
*/
|
|
889
|
+
readonly representation?: StringRepresentation;
|
|
890
|
+
/** Optional visual separator rendered between sequential values */
|
|
891
|
+
readonly separator?: Separator;
|
|
844
892
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
845
893
|
readonly modifiers?: PrimitiveModifiers;
|
|
846
894
|
/**
|
|
847
|
-
* Constructs a new `
|
|
895
|
+
* Constructs a new `StringsElementClass` instance.
|
|
848
896
|
*
|
|
849
|
-
* @param
|
|
850
|
-
* @param options - Optional component settings. (modifiers).
|
|
897
|
+
* @param values - Array of string values
|
|
898
|
+
* @param options - Optional component settings. (representation (defaults to `plain`), separator, modifiers).
|
|
851
899
|
*/
|
|
852
|
-
constructor(
|
|
900
|
+
constructor(values: string[], options?: {
|
|
901
|
+
representation?: StringRepresentation;
|
|
902
|
+
separator?: Separator;
|
|
853
903
|
modifiers?: PrimitiveModifiers;
|
|
854
904
|
});
|
|
855
905
|
}
|
|
@@ -1021,6 +1071,36 @@ export declare class RatioElementClass extends BaseUiElement<RatioElement> imple
|
|
|
1021
1071
|
modifiers?: PrimitiveModifiers;
|
|
1022
1072
|
});
|
|
1023
1073
|
}
|
|
1074
|
+
/**
|
|
1075
|
+
* Class implementation of the `DimensionsElement` interface.
|
|
1076
|
+
*
|
|
1077
|
+
* @remarks
|
|
1078
|
+
* Image dimensions representation displaying formatted width and height in pixels.
|
|
1079
|
+
*/
|
|
1080
|
+
export declare class DimensionsElementClass extends BaseUiElement<DimensionsElement> implements DimensionsElement {
|
|
1081
|
+
/**
|
|
1082
|
+
* Discriminator identifier for `DimensionsElement`.
|
|
1083
|
+
*
|
|
1084
|
+
* @defaultValue "dimensions"
|
|
1085
|
+
*/
|
|
1086
|
+
readonly type = "dimensions";
|
|
1087
|
+
/** Width in pixels */
|
|
1088
|
+
readonly width: number;
|
|
1089
|
+
/** Height in pixels */
|
|
1090
|
+
readonly height: number;
|
|
1091
|
+
/** Optional visual modifiers (copyable) */
|
|
1092
|
+
readonly modifiers?: BaseModifiers;
|
|
1093
|
+
/**
|
|
1094
|
+
* Constructs a new `DimensionsElementClass` instance.
|
|
1095
|
+
*
|
|
1096
|
+
* @param width - Width in pixels
|
|
1097
|
+
* @param height - Height in pixels
|
|
1098
|
+
* @param options - Optional component settings. (modifiers).
|
|
1099
|
+
*/
|
|
1100
|
+
constructor(width: number, height: number, options?: {
|
|
1101
|
+
modifiers?: BaseModifiers;
|
|
1102
|
+
});
|
|
1103
|
+
}
|
|
1024
1104
|
/**
|
|
1025
1105
|
* Class implementation of the `ColourElement` interface.
|
|
1026
1106
|
*
|
|
@@ -1172,47 +1252,27 @@ export declare class NumberBoundedMeterElementClass extends BaseUiElement<Number
|
|
|
1172
1252
|
});
|
|
1173
1253
|
}
|
|
1174
1254
|
/**
|
|
1175
|
-
* Class implementation of the `
|
|
1255
|
+
* Class implementation of the `BooleanElement` interface.
|
|
1176
1256
|
*
|
|
1177
1257
|
* @remarks
|
|
1178
|
-
*
|
|
1258
|
+
* Universal boolean primitive element.
|
|
1259
|
+
* Supports standard plain text or badge pill presentation with customizable labels and variants.
|
|
1179
1260
|
*/
|
|
1180
|
-
export declare class
|
|
1261
|
+
export declare class BooleanElementClass extends BaseUiElement<BooleanElement> implements BooleanElement {
|
|
1181
1262
|
/**
|
|
1182
|
-
* Discriminator identifier for `
|
|
1263
|
+
* Discriminator identifier for `BooleanElement`.
|
|
1183
1264
|
*
|
|
1184
|
-
* @defaultValue "boolean
|
|
1265
|
+
* @defaultValue "boolean"
|
|
1185
1266
|
*/
|
|
1186
|
-
readonly type = "boolean
|
|
1267
|
+
readonly type = "boolean";
|
|
1187
1268
|
/** Boolean state value */
|
|
1188
1269
|
readonly value: boolean;
|
|
1189
|
-
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
1190
|
-
readonly modifiers?: PrimitiveModifiers;
|
|
1191
|
-
/**
|
|
1192
|
-
* Constructs a new `BooleanPlainElementClass` instance.
|
|
1193
|
-
*
|
|
1194
|
-
* @param value - Boolean state value
|
|
1195
|
-
* @param options - Optional component settings. (modifiers).
|
|
1196
|
-
*/
|
|
1197
|
-
constructor(value: boolean, options?: {
|
|
1198
|
-
modifiers?: PrimitiveModifiers;
|
|
1199
|
-
});
|
|
1200
|
-
}
|
|
1201
|
-
/**
|
|
1202
|
-
* Class implementation of the `BooleanBadgeElement` interface.
|
|
1203
|
-
*
|
|
1204
|
-
* @remarks
|
|
1205
|
-
* Visual badge pill representation of a boolean state.
|
|
1206
|
-
*/
|
|
1207
|
-
export declare class BooleanBadgeElementClass extends BaseUiElement<BooleanBadgeElement> implements BooleanBadgeElement {
|
|
1208
1270
|
/**
|
|
1209
|
-
*
|
|
1271
|
+
* Display representation mode
|
|
1210
1272
|
*
|
|
1211
|
-
* @defaultValue
|
|
1273
|
+
* @defaultValue BooleanRepresentation.plain
|
|
1212
1274
|
*/
|
|
1213
|
-
readonly
|
|
1214
|
-
/** Boolean state value */
|
|
1215
|
-
readonly value: boolean;
|
|
1275
|
+
readonly representation?: BooleanRepresentation;
|
|
1216
1276
|
/**
|
|
1217
1277
|
* Custom display label when true (defaults to "true")
|
|
1218
1278
|
*
|
|
@@ -1226,7 +1286,7 @@ export declare class BooleanBadgeElementClass extends BaseUiElement<BooleanBadge
|
|
|
1226
1286
|
*/
|
|
1227
1287
|
readonly falseLabel?: string;
|
|
1228
1288
|
/**
|
|
1229
|
-
* Badge color tone
|
|
1289
|
+
* Badge color tone when rendered as badge
|
|
1230
1290
|
*
|
|
1231
1291
|
* @defaultValue BadgeVariant.neutral
|
|
1232
1292
|
*/
|
|
@@ -1234,12 +1294,13 @@ export declare class BooleanBadgeElementClass extends BaseUiElement<BooleanBadge
|
|
|
1234
1294
|
/** Optional visual modifiers (copyable, truncate, emphasis, monospace) */
|
|
1235
1295
|
readonly modifiers?: PrimitiveModifiers;
|
|
1236
1296
|
/**
|
|
1237
|
-
* Constructs a new `
|
|
1297
|
+
* Constructs a new `BooleanElementClass` instance.
|
|
1238
1298
|
*
|
|
1239
1299
|
* @param value - Boolean state value
|
|
1240
|
-
* @param options - Optional component settings. (trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
1300
|
+
* @param options - Optional component settings. (representation (defaults to `plain`), trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
1241
1301
|
*/
|
|
1242
1302
|
constructor(value: boolean, options?: {
|
|
1303
|
+
representation?: BooleanRepresentation;
|
|
1243
1304
|
trueLabel?: string;
|
|
1244
1305
|
falseLabel?: string;
|
|
1245
1306
|
variant?: BadgeVariant;
|
|
@@ -1457,8 +1518,8 @@ export declare class SlotClass extends ViewKitNode<Slot> implements Slot {
|
|
|
1457
1518
|
readonly content: UiElement;
|
|
1458
1519
|
/** Optional slot label (e.g. "Slot A") */
|
|
1459
1520
|
readonly label?: string;
|
|
1460
|
-
/**
|
|
1461
|
-
readonly width?:
|
|
1521
|
+
/** Width percentage (1-100) */
|
|
1522
|
+
readonly width?: number;
|
|
1462
1523
|
/**
|
|
1463
1524
|
* Constructs a new `SlotClass` instance.
|
|
1464
1525
|
*
|
|
@@ -1467,15 +1528,14 @@ export declare class SlotClass extends ViewKitNode<Slot> implements Slot {
|
|
|
1467
1528
|
*/
|
|
1468
1529
|
constructor(content: UiElement, options?: {
|
|
1469
1530
|
label?: string;
|
|
1470
|
-
width?:
|
|
1531
|
+
width?: number;
|
|
1471
1532
|
});
|
|
1472
1533
|
}
|
|
1473
1534
|
/**
|
|
1474
1535
|
* Class implementation of the `MultiSlotElement` interface.
|
|
1475
1536
|
*
|
|
1476
1537
|
* @remarks
|
|
1477
|
-
* Multi-slot horizontal row
|
|
1478
|
-
* Examples: "1/3 + 2/3", "equal thirds", "1/4 + 3/4".
|
|
1538
|
+
* Multi-slot horizontal row layout comprising slots with individual widths.
|
|
1479
1539
|
*/
|
|
1480
1540
|
export declare class MultiSlotElementClass extends BaseUiElement<MultiSlotElement> implements MultiSlotElement {
|
|
1481
1541
|
/**
|
|
@@ -1486,17 +1546,12 @@ export declare class MultiSlotElementClass extends BaseUiElement<MultiSlotElemen
|
|
|
1486
1546
|
readonly type = "multi-slot";
|
|
1487
1547
|
/** List of slots comprising the row */
|
|
1488
1548
|
readonly slots: Slot[];
|
|
1489
|
-
/** Proportions descriptor (e.g. "1/3 + 2/3", "equal", "1/4 + 3/4") */
|
|
1490
|
-
readonly proportions?: string;
|
|
1491
1549
|
/**
|
|
1492
1550
|
* Constructs a new `MultiSlotElementClass` instance.
|
|
1493
1551
|
*
|
|
1494
1552
|
* @param slots - List of slots comprising the row
|
|
1495
|
-
* @param options - Optional component settings. (proportions).
|
|
1496
1553
|
*/
|
|
1497
|
-
constructor(slots: Slot[]
|
|
1498
|
-
proportions?: string;
|
|
1499
|
-
});
|
|
1554
|
+
constructor(slots: Slot[]);
|
|
1500
1555
|
}
|
|
1501
1556
|
/**
|
|
1502
1557
|
* Class implementation of the `FlowingElement` interface.
|
|
@@ -1514,12 +1569,17 @@ export declare class FlowingElementClass extends BaseUiElement<FlowingElement> i
|
|
|
1514
1569
|
readonly type = "flowing";
|
|
1515
1570
|
/** List of child elements rendered sequentially with line wrapping */
|
|
1516
1571
|
readonly elements: UiElement[];
|
|
1572
|
+
/** Optional visual separator rendered between sequential child elements */
|
|
1573
|
+
readonly separator?: Separator;
|
|
1517
1574
|
/**
|
|
1518
1575
|
* Constructs a new `FlowingElementClass` instance.
|
|
1519
1576
|
*
|
|
1520
1577
|
* @param elements - List of child elements rendered sequentially with line wrapping
|
|
1578
|
+
* @param options - Optional component settings. (separator).
|
|
1521
1579
|
*/
|
|
1522
|
-
constructor(elements: UiElement[]
|
|
1580
|
+
constructor(elements: UiElement[], options?: {
|
|
1581
|
+
separator?: Separator;
|
|
1582
|
+
});
|
|
1523
1583
|
}
|
|
1524
1584
|
/**
|
|
1525
1585
|
* Class implementation of the `LabelValueElement` interface.
|
|
@@ -1571,17 +1631,24 @@ export declare class TableColumnClass extends ViewKitNode<TableColumn> implement
|
|
|
1571
1631
|
* @defaultValue TableColumnAlign.left
|
|
1572
1632
|
*/
|
|
1573
1633
|
readonly align?: TableColumnAlign;
|
|
1574
|
-
/**
|
|
1575
|
-
readonly width?:
|
|
1634
|
+
/** Width percentage (1-100) */
|
|
1635
|
+
readonly width?: number;
|
|
1636
|
+
/**
|
|
1637
|
+
* Sizing mode for the provided width
|
|
1638
|
+
*
|
|
1639
|
+
* @defaultValue TableColumnWidthMode.fixed
|
|
1640
|
+
*/
|
|
1641
|
+
readonly widthMode?: TableColumnWidthMode;
|
|
1576
1642
|
/**
|
|
1577
1643
|
* Constructs a new `TableColumnClass` instance.
|
|
1578
1644
|
*
|
|
1579
|
-
* @param options - Optional component settings. (header, align (defaults to `left`), width).
|
|
1645
|
+
* @param options - Optional component settings. (header, align (defaults to `left`), width, widthMode (defaults to `fixed`)).
|
|
1580
1646
|
*/
|
|
1581
1647
|
constructor(options?: {
|
|
1582
1648
|
header?: string;
|
|
1583
1649
|
align?: TableColumnAlign;
|
|
1584
|
-
width?:
|
|
1650
|
+
width?: number;
|
|
1651
|
+
widthMode?: TableColumnWidthMode;
|
|
1585
1652
|
});
|
|
1586
1653
|
}
|
|
1587
1654
|
/**
|
|
@@ -1616,12 +1683,6 @@ export declare class TableElementClass extends BaseUiElement<TableElement> imple
|
|
|
1616
1683
|
readonly type = "table";
|
|
1617
1684
|
/** Tabular data rows */
|
|
1618
1685
|
readonly rows: TableRow[];
|
|
1619
|
-
/**
|
|
1620
|
-
* Whether to render a column header row
|
|
1621
|
-
*
|
|
1622
|
-
* @defaultValue true
|
|
1623
|
-
*/
|
|
1624
|
-
readonly hasHeader?: boolean;
|
|
1625
1686
|
/**
|
|
1626
1687
|
* Whether to render alternating row background colors
|
|
1627
1688
|
*
|
|
@@ -1646,10 +1707,9 @@ export declare class TableElementClass extends BaseUiElement<TableElement> imple
|
|
|
1646
1707
|
* Constructs a new `TableElementClass` instance.
|
|
1647
1708
|
*
|
|
1648
1709
|
* @param rows - Tabular data rows
|
|
1649
|
-
* @param options - Optional component settings. (
|
|
1710
|
+
* @param options - Optional component settings. (isStriped (defaults to `false`), withColumnSeparators (defaults to `false`), withRowSeparators (defaults to `false`), columns).
|
|
1650
1711
|
*/
|
|
1651
1712
|
constructor(rows: TableRow[], options?: {
|
|
1652
|
-
hasHeader?: boolean;
|
|
1653
1713
|
isStriped?: boolean;
|
|
1654
1714
|
withColumnSeparators?: boolean;
|
|
1655
1715
|
withRowSeparators?: boolean;
|
|
@@ -1879,31 +1939,34 @@ export declare class UiContainerBuilder {
|
|
|
1879
1939
|
*/
|
|
1880
1940
|
addElements(...items: UiElement[]): this;
|
|
1881
1941
|
/**
|
|
1882
|
-
* Appends a `
|
|
1942
|
+
* Appends a `StringElement` component.
|
|
1883
1943
|
*
|
|
1884
1944
|
* @remarks
|
|
1885
|
-
*
|
|
1886
|
-
* Supports plain text
|
|
1945
|
+
* Universal textual string primitive element.
|
|
1946
|
+
* Supports plain text, compact chip pill, or multiline pre-wrapped presentation.
|
|
1887
1947
|
*
|
|
1888
1948
|
* @param value - Text value
|
|
1889
1949
|
* @param options - Optional component settings (representation (defaults to `plain`), modifiers).
|
|
1890
1950
|
* @returns This builder instance for method chaining.
|
|
1891
1951
|
*/
|
|
1892
|
-
|
|
1893
|
-
representation?:
|
|
1952
|
+
addString(value: string, options?: {
|
|
1953
|
+
representation?: StringRepresentation;
|
|
1894
1954
|
modifiers?: PrimitiveModifiers;
|
|
1895
1955
|
}): this;
|
|
1896
1956
|
/**
|
|
1897
|
-
* Appends a `
|
|
1957
|
+
* Appends a `StringsElement` component.
|
|
1898
1958
|
*
|
|
1899
1959
|
* @remarks
|
|
1900
|
-
*
|
|
1960
|
+
* Collection of textual string values rendered as a sequence of inline items or chips.
|
|
1961
|
+
* Supports visual separators (comma, dot, slash, bar, dash, space) and copyable affordance.
|
|
1901
1962
|
*
|
|
1902
|
-
* @param
|
|
1903
|
-
* @param options - Optional component settings (modifiers).
|
|
1963
|
+
* @param values - Array of string values
|
|
1964
|
+
* @param options - Optional component settings (representation (defaults to `plain`), separator, modifiers).
|
|
1904
1965
|
* @returns This builder instance for method chaining.
|
|
1905
1966
|
*/
|
|
1906
|
-
|
|
1967
|
+
addStrings(values: string[], options?: {
|
|
1968
|
+
representation?: StringRepresentation;
|
|
1969
|
+
separator?: Separator;
|
|
1907
1970
|
modifiers?: PrimitiveModifiers;
|
|
1908
1971
|
}): this;
|
|
1909
1972
|
/**
|
|
@@ -1986,6 +2049,20 @@ export declare class UiContainerBuilder {
|
|
|
1986
2049
|
addRatio(value: number, options?: {
|
|
1987
2050
|
modifiers?: PrimitiveModifiers;
|
|
1988
2051
|
}): this;
|
|
2052
|
+
/**
|
|
2053
|
+
* Appends a `DimensionsElement` component.
|
|
2054
|
+
*
|
|
2055
|
+
* @remarks
|
|
2056
|
+
* Image dimensions representation displaying formatted width and height in pixels.
|
|
2057
|
+
*
|
|
2058
|
+
* @param width - Width in pixels
|
|
2059
|
+
* @param height - Height in pixels
|
|
2060
|
+
* @param options - Optional component settings (modifiers).
|
|
2061
|
+
* @returns This builder instance for method chaining.
|
|
2062
|
+
*/
|
|
2063
|
+
addDimensions(width: number, height: number, options?: {
|
|
2064
|
+
modifiers?: BaseModifiers;
|
|
2065
|
+
}): this;
|
|
1989
2066
|
/**
|
|
1990
2067
|
* Appends a `ColourElement` component.
|
|
1991
2068
|
*
|
|
@@ -2097,29 +2174,18 @@ export declare class UiContainerBuilder {
|
|
|
2097
2174
|
modifiers?: PrimitiveModifiers;
|
|
2098
2175
|
}): this;
|
|
2099
2176
|
/**
|
|
2100
|
-
* Appends a `
|
|
2101
|
-
*
|
|
2102
|
-
* @remarks
|
|
2103
|
-
* Plain boolean value representation (textual "true" / "false").
|
|
2104
|
-
*
|
|
2105
|
-
* @param value - Boolean state value
|
|
2106
|
-
* @param options - Optional component settings (modifiers).
|
|
2107
|
-
* @returns This builder instance for method chaining.
|
|
2108
|
-
*/
|
|
2109
|
-
addBooleanPlain(value: boolean, options?: {
|
|
2110
|
-
modifiers?: PrimitiveModifiers;
|
|
2111
|
-
}): this;
|
|
2112
|
-
/**
|
|
2113
|
-
* Appends a `BooleanBadgeElement` component.
|
|
2177
|
+
* Appends a `BooleanElement` component.
|
|
2114
2178
|
*
|
|
2115
2179
|
* @remarks
|
|
2116
|
-
*
|
|
2180
|
+
* Universal boolean primitive element.
|
|
2181
|
+
* Supports standard plain text or badge pill presentation with customizable labels and variants.
|
|
2117
2182
|
*
|
|
2118
2183
|
* @param value - Boolean state value
|
|
2119
|
-
* @param options - Optional component settings (trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
2184
|
+
* @param options - Optional component settings (representation (defaults to `plain`), trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
2120
2185
|
* @returns This builder instance for method chaining.
|
|
2121
2186
|
*/
|
|
2122
|
-
|
|
2187
|
+
addBoolean(value: boolean, options?: {
|
|
2188
|
+
representation?: BooleanRepresentation;
|
|
2123
2189
|
trueLabel?: string;
|
|
2124
2190
|
falseLabel?: string;
|
|
2125
2191
|
variant?: BadgeVariant;
|
|
@@ -2225,16 +2291,12 @@ export declare class UiContainerBuilder {
|
|
|
2225
2291
|
* Appends a `MultiSlotElement` component.
|
|
2226
2292
|
*
|
|
2227
2293
|
* @remarks
|
|
2228
|
-
* Multi-slot horizontal row
|
|
2229
|
-
* Examples: "1/3 + 2/3", "equal thirds", "1/4 + 3/4".
|
|
2294
|
+
* Multi-slot horizontal row layout comprising slots with individual widths.
|
|
2230
2295
|
*
|
|
2231
2296
|
* @param slots - List of slots comprising the row
|
|
2232
|
-
* @param options - Optional component settings (proportions).
|
|
2233
2297
|
* @returns This builder instance for method chaining.
|
|
2234
2298
|
*/
|
|
2235
|
-
addMultiSlot(slots: Slot[]
|
|
2236
|
-
proportions?: string;
|
|
2237
|
-
}): this;
|
|
2299
|
+
addMultiSlot(slots: Slot[]): this;
|
|
2238
2300
|
/**
|
|
2239
2301
|
* Appends a `FlowingElement` component.
|
|
2240
2302
|
*
|
|
@@ -2243,9 +2305,12 @@ export declare class UiContainerBuilder {
|
|
|
2243
2305
|
* Renders child elements horizontally in sequence, automatically wrapping to the next line when space runs out.
|
|
2244
2306
|
*
|
|
2245
2307
|
* @param elements - List of child elements rendered sequentially with line wrapping
|
|
2308
|
+
* @param options - Optional component settings (separator).
|
|
2246
2309
|
* @returns This builder instance for method chaining.
|
|
2247
2310
|
*/
|
|
2248
|
-
addFlowing(elements: UiElement[]
|
|
2311
|
+
addFlowing(elements: UiElement[], options?: {
|
|
2312
|
+
separator?: Separator;
|
|
2313
|
+
}): this;
|
|
2249
2314
|
/**
|
|
2250
2315
|
* Appends a `LabelValueElement` component.
|
|
2251
2316
|
*
|
|
@@ -2269,11 +2334,10 @@ export declare class UiContainerBuilder {
|
|
|
2269
2334
|
* Supports header/borderless modes, 2-column key-value tables, and 3-column data tables.
|
|
2270
2335
|
*
|
|
2271
2336
|
* @param rows - Tabular data rows
|
|
2272
|
-
* @param options - Optional component settings (
|
|
2337
|
+
* @param options - Optional component settings (isStriped (defaults to `false`), withColumnSeparators (defaults to `false`), withRowSeparators (defaults to `false`), columns).
|
|
2273
2338
|
* @returns This builder instance for method chaining.
|
|
2274
2339
|
*/
|
|
2275
2340
|
addTable(rows: TableRow[], options?: {
|
|
2276
|
-
hasHeader?: boolean;
|
|
2277
2341
|
isStriped?: boolean;
|
|
2278
2342
|
withColumnSeparators?: boolean;
|
|
2279
2343
|
withRowSeparators?: boolean;
|
|
@@ -2444,31 +2508,34 @@ export declare class UiCardBuilder {
|
|
|
2444
2508
|
*/
|
|
2445
2509
|
addElements(...items: UiElement[]): this;
|
|
2446
2510
|
/**
|
|
2447
|
-
* Appends a `
|
|
2511
|
+
* Appends a `StringElement` component.
|
|
2448
2512
|
*
|
|
2449
2513
|
* @remarks
|
|
2450
|
-
*
|
|
2451
|
-
* Supports plain text
|
|
2514
|
+
* Universal textual string primitive element.
|
|
2515
|
+
* Supports plain text, compact chip pill, or multiline pre-wrapped presentation.
|
|
2452
2516
|
*
|
|
2453
2517
|
* @param value - Text value
|
|
2454
2518
|
* @param options - Optional component settings (representation (defaults to `plain`), modifiers).
|
|
2455
2519
|
* @returns This builder instance for method chaining.
|
|
2456
2520
|
*/
|
|
2457
|
-
|
|
2458
|
-
representation?:
|
|
2521
|
+
addString(value: string, options?: {
|
|
2522
|
+
representation?: StringRepresentation;
|
|
2459
2523
|
modifiers?: PrimitiveModifiers;
|
|
2460
2524
|
}): this;
|
|
2461
2525
|
/**
|
|
2462
|
-
* Appends a `
|
|
2526
|
+
* Appends a `StringsElement` component.
|
|
2463
2527
|
*
|
|
2464
2528
|
* @remarks
|
|
2465
|
-
*
|
|
2529
|
+
* Collection of textual string values rendered as a sequence of inline items or chips.
|
|
2530
|
+
* Supports visual separators (comma, dot, slash, bar, dash, space) and copyable affordance.
|
|
2466
2531
|
*
|
|
2467
|
-
* @param
|
|
2468
|
-
* @param options - Optional component settings (modifiers).
|
|
2532
|
+
* @param values - Array of string values
|
|
2533
|
+
* @param options - Optional component settings (representation (defaults to `plain`), separator, modifiers).
|
|
2469
2534
|
* @returns This builder instance for method chaining.
|
|
2470
2535
|
*/
|
|
2471
|
-
|
|
2536
|
+
addStrings(values: string[], options?: {
|
|
2537
|
+
representation?: StringRepresentation;
|
|
2538
|
+
separator?: Separator;
|
|
2472
2539
|
modifiers?: PrimitiveModifiers;
|
|
2473
2540
|
}): this;
|
|
2474
2541
|
/**
|
|
@@ -2551,6 +2618,20 @@ export declare class UiCardBuilder {
|
|
|
2551
2618
|
addRatio(value: number, options?: {
|
|
2552
2619
|
modifiers?: PrimitiveModifiers;
|
|
2553
2620
|
}): this;
|
|
2621
|
+
/**
|
|
2622
|
+
* Appends a `DimensionsElement` component.
|
|
2623
|
+
*
|
|
2624
|
+
* @remarks
|
|
2625
|
+
* Image dimensions representation displaying formatted width and height in pixels.
|
|
2626
|
+
*
|
|
2627
|
+
* @param width - Width in pixels
|
|
2628
|
+
* @param height - Height in pixels
|
|
2629
|
+
* @param options - Optional component settings (modifiers).
|
|
2630
|
+
* @returns This builder instance for method chaining.
|
|
2631
|
+
*/
|
|
2632
|
+
addDimensions(width: number, height: number, options?: {
|
|
2633
|
+
modifiers?: BaseModifiers;
|
|
2634
|
+
}): this;
|
|
2554
2635
|
/**
|
|
2555
2636
|
* Appends a `ColourElement` component.
|
|
2556
2637
|
*
|
|
@@ -2662,29 +2743,18 @@ export declare class UiCardBuilder {
|
|
|
2662
2743
|
modifiers?: PrimitiveModifiers;
|
|
2663
2744
|
}): this;
|
|
2664
2745
|
/**
|
|
2665
|
-
* Appends a `
|
|
2666
|
-
*
|
|
2667
|
-
* @remarks
|
|
2668
|
-
* Plain boolean value representation (textual "true" / "false").
|
|
2669
|
-
*
|
|
2670
|
-
* @param value - Boolean state value
|
|
2671
|
-
* @param options - Optional component settings (modifiers).
|
|
2672
|
-
* @returns This builder instance for method chaining.
|
|
2673
|
-
*/
|
|
2674
|
-
addBooleanPlain(value: boolean, options?: {
|
|
2675
|
-
modifiers?: PrimitiveModifiers;
|
|
2676
|
-
}): this;
|
|
2677
|
-
/**
|
|
2678
|
-
* Appends a `BooleanBadgeElement` component.
|
|
2746
|
+
* Appends a `BooleanElement` component.
|
|
2679
2747
|
*
|
|
2680
2748
|
* @remarks
|
|
2681
|
-
*
|
|
2749
|
+
* Universal boolean primitive element.
|
|
2750
|
+
* Supports standard plain text or badge pill presentation with customizable labels and variants.
|
|
2682
2751
|
*
|
|
2683
2752
|
* @param value - Boolean state value
|
|
2684
|
-
* @param options - Optional component settings (trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
2753
|
+
* @param options - Optional component settings (representation (defaults to `plain`), trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
2685
2754
|
* @returns This builder instance for method chaining.
|
|
2686
2755
|
*/
|
|
2687
|
-
|
|
2756
|
+
addBoolean(value: boolean, options?: {
|
|
2757
|
+
representation?: BooleanRepresentation;
|
|
2688
2758
|
trueLabel?: string;
|
|
2689
2759
|
falseLabel?: string;
|
|
2690
2760
|
variant?: BadgeVariant;
|
|
@@ -2790,16 +2860,12 @@ export declare class UiCardBuilder {
|
|
|
2790
2860
|
* Appends a `MultiSlotElement` component.
|
|
2791
2861
|
*
|
|
2792
2862
|
* @remarks
|
|
2793
|
-
* Multi-slot horizontal row
|
|
2794
|
-
* Examples: "1/3 + 2/3", "equal thirds", "1/4 + 3/4".
|
|
2863
|
+
* Multi-slot horizontal row layout comprising slots with individual widths.
|
|
2795
2864
|
*
|
|
2796
2865
|
* @param slots - List of slots comprising the row
|
|
2797
|
-
* @param options - Optional component settings (proportions).
|
|
2798
2866
|
* @returns This builder instance for method chaining.
|
|
2799
2867
|
*/
|
|
2800
|
-
addMultiSlot(slots: Slot[]
|
|
2801
|
-
proportions?: string;
|
|
2802
|
-
}): this;
|
|
2868
|
+
addMultiSlot(slots: Slot[]): this;
|
|
2803
2869
|
/**
|
|
2804
2870
|
* Appends a `FlowingElement` component.
|
|
2805
2871
|
*
|
|
@@ -2808,9 +2874,12 @@ export declare class UiCardBuilder {
|
|
|
2808
2874
|
* Renders child elements horizontally in sequence, automatically wrapping to the next line when space runs out.
|
|
2809
2875
|
*
|
|
2810
2876
|
* @param elements - List of child elements rendered sequentially with line wrapping
|
|
2877
|
+
* @param options - Optional component settings (separator).
|
|
2811
2878
|
* @returns This builder instance for method chaining.
|
|
2812
2879
|
*/
|
|
2813
|
-
addFlowing(elements: UiElement[]
|
|
2880
|
+
addFlowing(elements: UiElement[], options?: {
|
|
2881
|
+
separator?: Separator;
|
|
2882
|
+
}): this;
|
|
2814
2883
|
/**
|
|
2815
2884
|
* Appends a `LabelValueElement` component.
|
|
2816
2885
|
*
|
|
@@ -2834,11 +2903,10 @@ export declare class UiCardBuilder {
|
|
|
2834
2903
|
* Supports header/borderless modes, 2-column key-value tables, and 3-column data tables.
|
|
2835
2904
|
*
|
|
2836
2905
|
* @param rows - Tabular data rows
|
|
2837
|
-
* @param options - Optional component settings (
|
|
2906
|
+
* @param options - Optional component settings (isStriped (defaults to `false`), withColumnSeparators (defaults to `false`), withRowSeparators (defaults to `false`), columns).
|
|
2838
2907
|
* @returns This builder instance for method chaining.
|
|
2839
2908
|
*/
|
|
2840
2909
|
addTable(rows: TableRow[], options?: {
|
|
2841
|
-
hasHeader?: boolean;
|
|
2842
2910
|
isStriped?: boolean;
|
|
2843
2911
|
withColumnSeparators?: boolean;
|
|
2844
2912
|
withRowSeparators?: boolean;
|
|
@@ -3006,33 +3074,36 @@ export declare function primitiveModifiers(options?: {
|
|
|
3006
3074
|
copyable?: boolean;
|
|
3007
3075
|
}): PrimitiveModifiers;
|
|
3008
3076
|
/**
|
|
3009
|
-
* Creates a `
|
|
3077
|
+
* Creates a `StringElement` component instance.
|
|
3010
3078
|
*
|
|
3011
3079
|
* @remarks
|
|
3012
|
-
*
|
|
3013
|
-
* Supports plain text
|
|
3080
|
+
* Universal textual string primitive element.
|
|
3081
|
+
* Supports plain text, compact chip pill, or multiline pre-wrapped presentation.
|
|
3014
3082
|
*
|
|
3015
3083
|
* @param value - Text value
|
|
3016
3084
|
* @param options - Optional settings (representation (defaults to `plain`), modifiers).
|
|
3017
|
-
* @returns A strongly-typed `
|
|
3085
|
+
* @returns A strongly-typed `StringElement` object.
|
|
3018
3086
|
*/
|
|
3019
|
-
export declare function
|
|
3020
|
-
representation?:
|
|
3087
|
+
export declare function string(value: string, options?: {
|
|
3088
|
+
representation?: StringRepresentation;
|
|
3021
3089
|
modifiers?: PrimitiveModifiers;
|
|
3022
|
-
}):
|
|
3090
|
+
}): StringElement;
|
|
3023
3091
|
/**
|
|
3024
|
-
* Creates a `
|
|
3092
|
+
* Creates a `StringsElement` component instance.
|
|
3025
3093
|
*
|
|
3026
3094
|
* @remarks
|
|
3027
|
-
*
|
|
3095
|
+
* Collection of textual string values rendered as a sequence of inline items or chips.
|
|
3096
|
+
* Supports visual separators (comma, dot, slash, bar, dash, space) and copyable affordance.
|
|
3028
3097
|
*
|
|
3029
|
-
* @param
|
|
3030
|
-
* @param options - Optional settings (modifiers).
|
|
3031
|
-
* @returns A strongly-typed `
|
|
3098
|
+
* @param values - Array of string values
|
|
3099
|
+
* @param options - Optional settings (representation (defaults to `plain`), separator, modifiers).
|
|
3100
|
+
* @returns A strongly-typed `StringsElement` object.
|
|
3032
3101
|
*/
|
|
3033
|
-
export declare function
|
|
3102
|
+
export declare function strings(values: string[], options?: {
|
|
3103
|
+
representation?: StringRepresentation;
|
|
3104
|
+
separator?: Separator;
|
|
3034
3105
|
modifiers?: PrimitiveModifiers;
|
|
3035
|
-
}):
|
|
3106
|
+
}): StringsElement;
|
|
3036
3107
|
/**
|
|
3037
3108
|
* Creates a `StringCodeElement` component instance.
|
|
3038
3109
|
*
|
|
@@ -3113,6 +3184,20 @@ export declare function identifier(value: string, options?: {
|
|
|
3113
3184
|
export declare function ratio(value: number, options?: {
|
|
3114
3185
|
modifiers?: PrimitiveModifiers;
|
|
3115
3186
|
}): RatioElement;
|
|
3187
|
+
/**
|
|
3188
|
+
* Creates a `DimensionsElement` component instance.
|
|
3189
|
+
*
|
|
3190
|
+
* @remarks
|
|
3191
|
+
* Image dimensions representation displaying formatted width and height in pixels.
|
|
3192
|
+
*
|
|
3193
|
+
* @param width - Width in pixels
|
|
3194
|
+
* @param height - Height in pixels
|
|
3195
|
+
* @param options - Optional settings (modifiers).
|
|
3196
|
+
* @returns A strongly-typed `DimensionsElement` object.
|
|
3197
|
+
*/
|
|
3198
|
+
export declare function dimensions(width: number, height: number, options?: {
|
|
3199
|
+
modifiers?: BaseModifiers;
|
|
3200
|
+
}): DimensionsElement;
|
|
3116
3201
|
/**
|
|
3117
3202
|
* Creates a `ColourElement` component instance.
|
|
3118
3203
|
*
|
|
@@ -3224,34 +3309,23 @@ export declare function numberMeter(value: number, options?: {
|
|
|
3224
3309
|
modifiers?: PrimitiveModifiers;
|
|
3225
3310
|
}): NumberBoundedMeterElement;
|
|
3226
3311
|
/**
|
|
3227
|
-
* Creates a `
|
|
3228
|
-
*
|
|
3229
|
-
* @remarks
|
|
3230
|
-
* Plain boolean value representation (textual "true" / "false").
|
|
3231
|
-
*
|
|
3232
|
-
* @param value - Boolean state value
|
|
3233
|
-
* @param options - Optional settings (modifiers).
|
|
3234
|
-
* @returns A strongly-typed `BooleanPlainElement` object.
|
|
3235
|
-
*/
|
|
3236
|
-
export declare function booleanPlain(value: boolean, options?: {
|
|
3237
|
-
modifiers?: PrimitiveModifiers;
|
|
3238
|
-
}): BooleanPlainElement;
|
|
3239
|
-
/**
|
|
3240
|
-
* Creates a `BooleanBadgeElement` component instance.
|
|
3312
|
+
* Creates a `BooleanElement` component instance.
|
|
3241
3313
|
*
|
|
3242
3314
|
* @remarks
|
|
3243
|
-
*
|
|
3315
|
+
* Universal boolean primitive element.
|
|
3316
|
+
* Supports standard plain text or badge pill presentation with customizable labels and variants.
|
|
3244
3317
|
*
|
|
3245
3318
|
* @param value - Boolean state value
|
|
3246
|
-
* @param options - Optional settings (trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
3247
|
-
* @returns A strongly-typed `
|
|
3319
|
+
* @param options - Optional settings (representation (defaults to `plain`), trueLabel (defaults to `true`), falseLabel (defaults to `false`), variant (defaults to `neutral`), modifiers).
|
|
3320
|
+
* @returns A strongly-typed `BooleanElement` object.
|
|
3248
3321
|
*/
|
|
3249
|
-
export declare function
|
|
3322
|
+
export declare function boolean(value: boolean, options?: {
|
|
3323
|
+
representation?: BooleanRepresentation;
|
|
3250
3324
|
trueLabel?: string;
|
|
3251
3325
|
falseLabel?: string;
|
|
3252
3326
|
variant?: BadgeVariant;
|
|
3253
3327
|
modifiers?: PrimitiveModifiers;
|
|
3254
|
-
}):
|
|
3328
|
+
}): BooleanElement;
|
|
3255
3329
|
/**
|
|
3256
3330
|
* Creates a `TimestampElement` component instance.
|
|
3257
3331
|
*
|
|
@@ -3389,22 +3463,18 @@ export declare function html(content: string, options?: {
|
|
|
3389
3463
|
*/
|
|
3390
3464
|
export declare function slot(content: UiElement, options?: {
|
|
3391
3465
|
label?: string;
|
|
3392
|
-
width?:
|
|
3466
|
+
width?: number;
|
|
3393
3467
|
}): Slot;
|
|
3394
3468
|
/**
|
|
3395
3469
|
* Creates a `MultiSlotElement` component instance.
|
|
3396
3470
|
*
|
|
3397
3471
|
* @remarks
|
|
3398
|
-
* Multi-slot horizontal row
|
|
3399
|
-
* Examples: "1/3 + 2/3", "equal thirds", "1/4 + 3/4".
|
|
3472
|
+
* Multi-slot horizontal row layout comprising slots with individual widths.
|
|
3400
3473
|
*
|
|
3401
3474
|
* @param slots - List of slots comprising the row
|
|
3402
|
-
* @param options - Optional settings (proportions).
|
|
3403
3475
|
* @returns A strongly-typed `MultiSlotElement` object.
|
|
3404
3476
|
*/
|
|
3405
|
-
export declare function multiSlot(slots: Slot[]
|
|
3406
|
-
proportions?: string;
|
|
3407
|
-
}): MultiSlotElement;
|
|
3477
|
+
export declare function multiSlot(slots: Slot[]): MultiSlotElement;
|
|
3408
3478
|
/**
|
|
3409
3479
|
* Creates a `FlowingElement` component instance.
|
|
3410
3480
|
*
|
|
@@ -3413,9 +3483,12 @@ export declare function multiSlot(slots: Slot[], options?: {
|
|
|
3413
3483
|
* Renders child elements horizontally in sequence, automatically wrapping to the next line when space runs out.
|
|
3414
3484
|
*
|
|
3415
3485
|
* @param elements - List of child elements rendered sequentially with line wrapping
|
|
3486
|
+
* @param options - Optional settings (separator).
|
|
3416
3487
|
* @returns A strongly-typed `FlowingElement` object.
|
|
3417
3488
|
*/
|
|
3418
|
-
export declare function flowing(elements: UiElement[]
|
|
3489
|
+
export declare function flowing(elements: UiElement[], options?: {
|
|
3490
|
+
separator?: Separator;
|
|
3491
|
+
}): FlowingElement;
|
|
3419
3492
|
/**
|
|
3420
3493
|
* Creates a `LabelValueElement` component instance.
|
|
3421
3494
|
*
|
|
@@ -3437,13 +3510,14 @@ export declare function labelValue(label: string, value: UiElement, options?: {
|
|
|
3437
3510
|
* @remarks
|
|
3438
3511
|
* Column definition for structured tables.
|
|
3439
3512
|
*
|
|
3440
|
-
* @param options - Optional settings (header, align (defaults to `left`), width).
|
|
3513
|
+
* @param options - Optional settings (header, align (defaults to `left`), width, widthMode (defaults to `fixed`)).
|
|
3441
3514
|
* @returns A strongly-typed `TableColumn` object.
|
|
3442
3515
|
*/
|
|
3443
3516
|
export declare function tableColumn(options?: {
|
|
3444
3517
|
header?: string;
|
|
3445
3518
|
align?: TableColumnAlign;
|
|
3446
|
-
width?:
|
|
3519
|
+
width?: number;
|
|
3520
|
+
widthMode?: TableColumnWidthMode;
|
|
3447
3521
|
}): TableColumn;
|
|
3448
3522
|
/**
|
|
3449
3523
|
* Creates a `TableRow` component instance.
|
|
@@ -3463,11 +3537,10 @@ export declare function tableRow(cells: UiElement[]): TableRow;
|
|
|
3463
3537
|
* Supports header/borderless modes, 2-column key-value tables, and 3-column data tables.
|
|
3464
3538
|
*
|
|
3465
3539
|
* @param rows - Tabular data rows
|
|
3466
|
-
* @param options - Optional settings (
|
|
3540
|
+
* @param options - Optional settings (isStriped (defaults to `false`), withColumnSeparators (defaults to `false`), withRowSeparators (defaults to `false`), columns).
|
|
3467
3541
|
* @returns A strongly-typed `TableElement` object.
|
|
3468
3542
|
*/
|
|
3469
3543
|
export declare function table(rows: TableRow[], options?: {
|
|
3470
|
-
hasHeader?: boolean;
|
|
3471
3544
|
isStriped?: boolean;
|
|
3472
3545
|
withColumnSeparators?: boolean;
|
|
3473
3546
|
withRowSeparators?: boolean;
|
|
@@ -3612,21 +3685,21 @@ export declare function isEnvelop(value: unknown, withDeepValidation?: boolean):
|
|
|
3612
3685
|
*/
|
|
3613
3686
|
export declare function isUiElement(value: unknown, withDeepValidation?: boolean): value is UiElement;
|
|
3614
3687
|
/**
|
|
3615
|
-
* Type guard predicate narrowing a value to `
|
|
3688
|
+
* Type guard predicate narrowing a value to `StringElement`.
|
|
3616
3689
|
*
|
|
3617
3690
|
* @param value - The value to inspect.
|
|
3618
3691
|
* @param withDeepValidation - Whether to recursively validate all properties.
|
|
3619
|
-
* @returns `true` if the value is a `
|
|
3692
|
+
* @returns `true` if the value is a `StringElement` (type = "string"), otherwise `false`.
|
|
3620
3693
|
*/
|
|
3621
|
-
export declare function
|
|
3694
|
+
export declare function isStringElement(value: unknown, withDeepValidation?: boolean): value is StringElement;
|
|
3622
3695
|
/**
|
|
3623
|
-
* Type guard predicate narrowing a value to `
|
|
3696
|
+
* Type guard predicate narrowing a value to `StringsElement`.
|
|
3624
3697
|
*
|
|
3625
3698
|
* @param value - The value to inspect.
|
|
3626
3699
|
* @param withDeepValidation - Whether to recursively validate all properties.
|
|
3627
|
-
* @returns `true` if the value is a `
|
|
3700
|
+
* @returns `true` if the value is a `StringsElement` (type = "strings"), otherwise `false`.
|
|
3628
3701
|
*/
|
|
3629
|
-
export declare function
|
|
3702
|
+
export declare function isStringsElement(value: unknown, withDeepValidation?: boolean): value is StringsElement;
|
|
3630
3703
|
/**
|
|
3631
3704
|
* Type guard predicate narrowing a value to `StringCodeElement`.
|
|
3632
3705
|
*
|
|
@@ -3675,6 +3748,14 @@ export declare function isIdentifierElement(value: unknown, withDeepValidation?:
|
|
|
3675
3748
|
* @returns `true` if the value is a `RatioElement` (type = "ratio"), otherwise `false`.
|
|
3676
3749
|
*/
|
|
3677
3750
|
export declare function isRatioElement(value: unknown, withDeepValidation?: boolean): value is RatioElement;
|
|
3751
|
+
/**
|
|
3752
|
+
* Type guard predicate narrowing a value to `DimensionsElement`.
|
|
3753
|
+
*
|
|
3754
|
+
* @param value - The value to inspect.
|
|
3755
|
+
* @param withDeepValidation - Whether to recursively validate all properties.
|
|
3756
|
+
* @returns `true` if the value is a `DimensionsElement` (type = "dimensions"), otherwise `false`.
|
|
3757
|
+
*/
|
|
3758
|
+
export declare function isDimensionsElement(value: unknown, withDeepValidation?: boolean): value is DimensionsElement;
|
|
3678
3759
|
/**
|
|
3679
3760
|
* Type guard predicate narrowing a value to `ColourElement`.
|
|
3680
3761
|
*
|
|
@@ -3708,21 +3789,13 @@ export declare function isNumberBoundedStarsElement(value: unknown, withDeepVali
|
|
|
3708
3789
|
*/
|
|
3709
3790
|
export declare function isNumberBoundedMeterElement(value: unknown, withDeepValidation?: boolean): value is NumberBoundedMeterElement;
|
|
3710
3791
|
/**
|
|
3711
|
-
* Type guard predicate narrowing a value to `
|
|
3712
|
-
*
|
|
3713
|
-
* @param value - The value to inspect.
|
|
3714
|
-
* @param withDeepValidation - Whether to recursively validate all properties.
|
|
3715
|
-
* @returns `true` if the value is a `BooleanPlainElement` (type = "boolean-plain"), otherwise `false`.
|
|
3716
|
-
*/
|
|
3717
|
-
export declare function isBooleanPlainElement(value: unknown, withDeepValidation?: boolean): value is BooleanPlainElement;
|
|
3718
|
-
/**
|
|
3719
|
-
* Type guard predicate narrowing a value to `BooleanBadgeElement`.
|
|
3792
|
+
* Type guard predicate narrowing a value to `BooleanElement`.
|
|
3720
3793
|
*
|
|
3721
3794
|
* @param value - The value to inspect.
|
|
3722
3795
|
* @param withDeepValidation - Whether to recursively validate all properties.
|
|
3723
|
-
* @returns `true` if the value is a `
|
|
3796
|
+
* @returns `true` if the value is a `BooleanElement` (type = "boolean"), otherwise `false`.
|
|
3724
3797
|
*/
|
|
3725
|
-
export declare function
|
|
3798
|
+
export declare function isBooleanElement(value: unknown, withDeepValidation?: boolean): value is BooleanElement;
|
|
3726
3799
|
/**
|
|
3727
3800
|
* Type guard predicate narrowing a value to `TimestampElement`.
|
|
3728
3801
|
*
|