@splunk/visualization-schemas 26.4.1 → 27.1.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/cjs/index.js +4617 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/index.js +4603 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/package.json +1 -0
- package/package.json +10 -16
- package/dist/index.js +0 -1
- package/types/index.d.ts +0 -4
- package/types/optionsSchemas/area.d.ts +0 -1
- package/types/optionsSchemas/bar.d.ts +0 -1
- package/types/optionsSchemas/bubble.d.ts +0 -1
- package/types/optionsSchemas/choroplethSvg.d.ts +0 -1
- package/types/optionsSchemas/column.d.ts +0 -1
- package/types/optionsSchemas/ellipse.d.ts +0 -1
- package/types/optionsSchemas/events.d.ts +0 -1
- package/types/optionsSchemas/fillerGauge.d.ts +0 -1
- package/types/optionsSchemas/image.d.ts +0 -1
- package/types/optionsSchemas/index.d.ts +0 -24
- package/types/optionsSchemas/line.d.ts +0 -1
- package/types/optionsSchemas/linkGraph.d.ts +0 -1
- package/types/optionsSchemas/map.d.ts +0 -1
- package/types/optionsSchemas/markdown.d.ts +0 -1
- package/types/optionsSchemas/markerGauge.d.ts +0 -1
- package/types/optionsSchemas/parallelCoordinates.d.ts +0 -1
- package/types/optionsSchemas/pie.d.ts +0 -1
- package/types/optionsSchemas/punchcard.d.ts +0 -1
- package/types/optionsSchemas/rectangle.d.ts +0 -1
- package/types/optionsSchemas/sankey.d.ts +0 -1
- package/types/optionsSchemas/scatter.d.ts +0 -1
- package/types/optionsSchemas/singleValue.d.ts +0 -1
- package/types/optionsSchemas/singleValueIcon.d.ts +0 -1
- package/types/optionsSchemas/singleValueRadial.d.ts +0 -1
- package/types/optionsSchemas/table.d.ts +0 -1
- package/types/types/index.d.ts +0 -4
- package/types/utils/constants.d.ts +0 -24
- package/types/utils/enhanceSchemaWithDynamicOptions.d.ts +0 -8
- package/types/utils/index.d.ts +0 -3
- package/types/utils/schemaUtils.d.ts +0 -244
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import { OptionsSchema } from '../types';
|
|
2
|
-
export declare const schemaDraft07: {
|
|
3
|
-
$schema: string;
|
|
4
|
-
$id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
definitions: {
|
|
7
|
-
schemaArray: {
|
|
8
|
-
type: string;
|
|
9
|
-
minItems: number;
|
|
10
|
-
items: {
|
|
11
|
-
$ref: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
nonNegativeInteger: {
|
|
15
|
-
type: string;
|
|
16
|
-
minimum: number;
|
|
17
|
-
};
|
|
18
|
-
nonNegativeIntegerDefault0: {
|
|
19
|
-
allOf: ({
|
|
20
|
-
$ref: string;
|
|
21
|
-
default?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
default: number;
|
|
24
|
-
$ref?: undefined;
|
|
25
|
-
})[];
|
|
26
|
-
};
|
|
27
|
-
simpleTypes: {
|
|
28
|
-
enum: string[];
|
|
29
|
-
};
|
|
30
|
-
stringArray: {
|
|
31
|
-
type: string;
|
|
32
|
-
items: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
uniqueItems: boolean;
|
|
36
|
-
default: any[];
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type: string[];
|
|
40
|
-
properties: {
|
|
41
|
-
$id: {
|
|
42
|
-
type: string;
|
|
43
|
-
format: string;
|
|
44
|
-
};
|
|
45
|
-
$schema: {
|
|
46
|
-
type: string;
|
|
47
|
-
format: string;
|
|
48
|
-
};
|
|
49
|
-
$ref: {
|
|
50
|
-
type: string;
|
|
51
|
-
format: string;
|
|
52
|
-
};
|
|
53
|
-
$comment: {
|
|
54
|
-
type: string;
|
|
55
|
-
};
|
|
56
|
-
title: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
description: {
|
|
60
|
-
type: string;
|
|
61
|
-
};
|
|
62
|
-
default: boolean;
|
|
63
|
-
readOnly: {
|
|
64
|
-
type: string;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
examples: {
|
|
68
|
-
type: string;
|
|
69
|
-
items: boolean;
|
|
70
|
-
};
|
|
71
|
-
multipleOf: {
|
|
72
|
-
type: string;
|
|
73
|
-
exclusiveMinimum: number;
|
|
74
|
-
};
|
|
75
|
-
maximum: {
|
|
76
|
-
type: string;
|
|
77
|
-
};
|
|
78
|
-
exclusiveMaximum: {
|
|
79
|
-
type: string;
|
|
80
|
-
};
|
|
81
|
-
minimum: {
|
|
82
|
-
type: string;
|
|
83
|
-
};
|
|
84
|
-
exclusiveMinimum: {
|
|
85
|
-
type: string;
|
|
86
|
-
};
|
|
87
|
-
maxLength: {
|
|
88
|
-
$ref: string;
|
|
89
|
-
};
|
|
90
|
-
minLength: {
|
|
91
|
-
$ref: string;
|
|
92
|
-
};
|
|
93
|
-
pattern: {
|
|
94
|
-
type: string;
|
|
95
|
-
format: string;
|
|
96
|
-
};
|
|
97
|
-
additionalItems: {
|
|
98
|
-
$ref: string;
|
|
99
|
-
};
|
|
100
|
-
items: {
|
|
101
|
-
anyOf: {
|
|
102
|
-
$ref: string;
|
|
103
|
-
}[];
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
maxItems: {
|
|
107
|
-
$ref: string;
|
|
108
|
-
};
|
|
109
|
-
minItems: {
|
|
110
|
-
$ref: string;
|
|
111
|
-
};
|
|
112
|
-
uniqueItems: {
|
|
113
|
-
type: string;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
contains: {
|
|
117
|
-
$ref: string;
|
|
118
|
-
};
|
|
119
|
-
maxProperties: {
|
|
120
|
-
$ref: string;
|
|
121
|
-
};
|
|
122
|
-
minProperties: {
|
|
123
|
-
$ref: string;
|
|
124
|
-
};
|
|
125
|
-
required: {
|
|
126
|
-
$ref: string;
|
|
127
|
-
};
|
|
128
|
-
additionalProperties: {
|
|
129
|
-
$ref: string;
|
|
130
|
-
};
|
|
131
|
-
definitions: {
|
|
132
|
-
type: string;
|
|
133
|
-
additionalProperties: {
|
|
134
|
-
$ref: string;
|
|
135
|
-
};
|
|
136
|
-
default: {};
|
|
137
|
-
};
|
|
138
|
-
properties: {
|
|
139
|
-
type: string;
|
|
140
|
-
additionalProperties: {
|
|
141
|
-
$ref: string;
|
|
142
|
-
};
|
|
143
|
-
default: {};
|
|
144
|
-
};
|
|
145
|
-
patternProperties: {
|
|
146
|
-
type: string;
|
|
147
|
-
additionalProperties: {
|
|
148
|
-
$ref: string;
|
|
149
|
-
};
|
|
150
|
-
propertyNames: {
|
|
151
|
-
format: string;
|
|
152
|
-
};
|
|
153
|
-
default: {};
|
|
154
|
-
};
|
|
155
|
-
dependencies: {
|
|
156
|
-
type: string;
|
|
157
|
-
additionalProperties: {
|
|
158
|
-
anyOf: {
|
|
159
|
-
$ref: string;
|
|
160
|
-
}[];
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
propertyNames: {
|
|
164
|
-
$ref: string;
|
|
165
|
-
};
|
|
166
|
-
const: boolean;
|
|
167
|
-
enum: {
|
|
168
|
-
type: string;
|
|
169
|
-
items: boolean;
|
|
170
|
-
minItems: number;
|
|
171
|
-
uniqueItems: boolean;
|
|
172
|
-
};
|
|
173
|
-
type: {
|
|
174
|
-
anyOf: ({
|
|
175
|
-
$ref: string;
|
|
176
|
-
type?: undefined;
|
|
177
|
-
items?: undefined;
|
|
178
|
-
minItems?: undefined;
|
|
179
|
-
uniqueItems?: undefined;
|
|
180
|
-
} | {
|
|
181
|
-
type: string;
|
|
182
|
-
items: {
|
|
183
|
-
$ref: string;
|
|
184
|
-
};
|
|
185
|
-
minItems: number;
|
|
186
|
-
uniqueItems: boolean;
|
|
187
|
-
$ref?: undefined;
|
|
188
|
-
})[];
|
|
189
|
-
};
|
|
190
|
-
format: {
|
|
191
|
-
type: string;
|
|
192
|
-
};
|
|
193
|
-
contentMediaType: {
|
|
194
|
-
type: string;
|
|
195
|
-
};
|
|
196
|
-
contentEncoding: {
|
|
197
|
-
type: string;
|
|
198
|
-
};
|
|
199
|
-
if: {
|
|
200
|
-
$ref: string;
|
|
201
|
-
};
|
|
202
|
-
then: {
|
|
203
|
-
$ref: string;
|
|
204
|
-
};
|
|
205
|
-
else: {
|
|
206
|
-
$ref: string;
|
|
207
|
-
};
|
|
208
|
-
allOf: {
|
|
209
|
-
$ref: string;
|
|
210
|
-
};
|
|
211
|
-
anyOf: {
|
|
212
|
-
$ref: string;
|
|
213
|
-
};
|
|
214
|
-
oneOf: {
|
|
215
|
-
$ref: string;
|
|
216
|
-
};
|
|
217
|
-
not: {
|
|
218
|
-
$ref: string;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
default: boolean;
|
|
222
|
-
};
|
|
223
|
-
export declare const createTestSchema: (optionsSchema: OptionsSchema) => {
|
|
224
|
-
$schema: string;
|
|
225
|
-
$id: string;
|
|
226
|
-
title: string;
|
|
227
|
-
description: string;
|
|
228
|
-
type: string;
|
|
229
|
-
properties: OptionsSchema;
|
|
230
|
-
};
|
|
231
|
-
export declare const TOKEN_PATTERN: string;
|
|
232
|
-
export declare const rgbColorPattern: RegExp;
|
|
233
|
-
export declare const rgbaColorPattern: RegExp;
|
|
234
|
-
export declare const colorPattern = "^#[0-9a-fA-F]{6}$|transparent";
|
|
235
|
-
export declare const colorPatternWithRGBA: string;
|
|
236
|
-
export declare const COLOR_OR_TOKEN_PATTERN: string;
|
|
237
|
-
export declare const COLOR_OR_TOKEN_PATTERN_WITH_RGBA: string;
|
|
238
|
-
export declare const DYNAMIC_OPTIONS_DSL_PATTERN: string;
|
|
239
|
-
/**
|
|
240
|
-
* Returns the regex string that matches each passed in value as well as tokens.
|
|
241
|
-
* @param {Array.<string>} values
|
|
242
|
-
* @returns {string}
|
|
243
|
-
*/
|
|
244
|
-
export declare const getPattern: (values: string[]) => string;
|