@skyux/config 5.0.0-beta.0 → 5.0.0-beta.4

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 (42) hide show
  1. package/LICENSE +21 -0
  2. package/app-config-host.d.ts +3 -0
  3. package/app-config-params.d.ts +3 -0
  4. package/app-config.module.d.ts +4 -0
  5. package/bundles/skyux-config.umd.js +386 -246
  6. package/bundles/skyux-config.umd.js.map +1 -1
  7. package/config.d.ts +33 -3
  8. package/documentation.json +4160 -0
  9. package/esm2015/app-config-host.js +9 -8
  10. package/esm2015/app-config-module-for-root-args.js +2 -1
  11. package/esm2015/app-config-params.js +9 -8
  12. package/esm2015/app-config.module.js +12 -10
  13. package/esm2015/config-params.js +2 -1
  14. package/esm2015/config.js +9 -8
  15. package/esm2015/params-provider.js +13 -16
  16. package/esm2015/params.js +1 -1
  17. package/esm2015/public-api.js +9 -0
  18. package/esm2015/skyux-config.js +2 -2
  19. package/fesm2015/skyux-config.js +49 -40
  20. package/fesm2015/skyux-config.js.map +1 -1
  21. package/package.json +6 -21
  22. package/params-provider.d.ts +3 -0
  23. package/{public_api.d.ts → public-api.d.ts} +0 -0
  24. package/skyux-config.d.ts +2 -1
  25. package/CHANGELOG.md +0 -144
  26. package/bundles/skyux-config.umd.min.js +0 -16
  27. package/bundles/skyux-config.umd.min.js.map +0 -1
  28. package/esm2015/public_api.js +0 -7
  29. package/esm5/app-config-host.js +0 -32
  30. package/esm5/app-config-module-for-root-args.js +0 -1
  31. package/esm5/app-config-params.js +0 -38
  32. package/esm5/app-config.module.js +0 -43
  33. package/esm5/config-params.js +0 -1
  34. package/esm5/config.js +0 -18
  35. package/esm5/params-provider.js +0 -35
  36. package/esm5/params.js +0 -151
  37. package/esm5/public_api.js +0 -7
  38. package/esm5/skyux-config.js +0 -5
  39. package/fesm5/skyux-config.js +0 -302
  40. package/fesm5/skyux-config.js.map +0 -1
  41. package/skyux-config.metadata.json +0 -1
  42. package/skyuxconfig-schema.json +0 -421
@@ -1,421 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "JSON schema for SKY UX CLI skyuxconfig.json",
4
- "definitions": {
5
- "externalFileCSS": {
6
- "type": "object",
7
- "properties": {
8
- "url": {
9
- "description": "Fully qualified URL of the file.",
10
- "type": "string"
11
- },
12
- "integrity": {
13
- "description": "Subresource integrity string to include.",
14
- "type": "string"
15
- }
16
- }
17
- },
18
- "externalFileJS": {
19
- "allOf":[
20
- {
21
- "$ref": "#/definitions/externalFileCSS"
22
- },
23
- {
24
- "properties": {
25
- "head": {
26
- "description": "Inject in the head versus before the closing body tag.",
27
- "type": "boolean"
28
- }
29
- }
30
- }
31
- ]
32
- },
33
- "availableThemes": {
34
- "type": "string",
35
- "enum": [
36
- "default",
37
- "modern"
38
- ]
39
- }
40
- },
41
- "properties": {
42
- "a11y": {
43
- "description": "Enables or disables accessibility test rules. You can manage rules individually, or you can enable or disable all rules in bulk.",
44
- "type": [
45
- "object",
46
- "boolean"
47
- ],
48
- "properties": {
49
- "rules": {
50
- "type": "array",
51
- "items": {
52
- "type": "string"
53
- }
54
- }
55
- }
56
- },
57
- "app": {
58
- "description": "Specifies configuration options for the local app when running skyux serve",
59
- "type": "object",
60
- "properties": {
61
- "base": {
62
- "description": "Allows the base href to be set during skyux build.",
63
- "type": "string"
64
- },
65
- "title": {
66
- "description": "Controls the page title at the template level while waiting for the application to load.",
67
- "type": "string"
68
- },
69
- "port": {
70
- "description": "Configures a port for the skyux serve command to use. If no port is specified, skyux serve dynamically finds an available port.",
71
- "type": "string"
72
- },
73
- "externals": {
74
- "description": "Dynamically injects CSS and JavaScript files into SKY UX Host. You should have a specific use-case for an externals and they must be white-listed by the SKY UX team.",
75
- "type": "object",
76
- "properties": {
77
- "css": {
78
- "description": "CSS files to inject",
79
- "type": "object",
80
- "properties": {
81
- "before": {
82
- "description": "CSS files to inject before default SKY UX files.",
83
- "type": "array",
84
- "items": {
85
- "$ref": "#/definitions/externalFileCSS"
86
- }
87
- },
88
- "after": {
89
- "description": "CSS files to inject after default SKY UX files.",
90
- "type": "array",
91
- "items": {
92
- "$ref": "#/definitions/externalFileCSS"
93
- }
94
- }
95
- }
96
- },
97
- "js": {
98
- "description": "JS files to inject",
99
- "type": "object",
100
- "properties": {
101
- "before": {
102
- "description": "JS files to inject before default SKY UX files.",
103
- "type": "array",
104
- "items": {
105
- "$ref": "#/definitions/externalFileJS"
106
- }
107
- },
108
- "after": {
109
- "description": "JS files to inject before default SKY UX files.",
110
- "type": "array",
111
- "items": {
112
- "$ref": "#/definitions/externalFileJS"
113
- }
114
- }
115
- }
116
- }
117
- }
118
- },
119
- "styles": {
120
- "description": "An array of CSS or SCSS files to be bundled with the SPA.",
121
- "type": "array",
122
- "items": {
123
- "type": "string"
124
- }
125
- },
126
- "theming": {
127
- "description": "Specifies the theming capabilities of the application.",
128
- "type": "object",
129
- "properties": {
130
- "theme": {
131
- "description": "The visual theme to apply to this application.",
132
- "type": "string",
133
- "default": "default",
134
- "$ref": "#/definitions/availableThemes"
135
- },
136
- "supportedThemes": {
137
- "type": "array",
138
- "items": {
139
- "$ref": "#/definitions/availableThemes"
140
- }
141
- }
142
- }
143
- }
144
- }
145
- },
146
- "appSettings": {
147
- "description": "Specifies data that is available for reuse throughout the application.",
148
- "type": "object"
149
- },
150
- "auth": {
151
- "description": "Indicates whether the application requires an authenticated Blackbaud ID",
152
- "type": "boolean"
153
- },
154
- "codeCoverageThreshold": {
155
- "description": "Specifies the minimum required code coverage threshold.",
156
- "type": "string",
157
- "enum": [
158
- "none",
159
- "standard",
160
- "strict"
161
- ]
162
- },
163
- "compileMode": {
164
- "description": "Specifies how to compile the project's code.",
165
- "type": "string",
166
- "enum": [
167
- "aot",
168
- "jit"
169
- ],
170
- "default": "aot"
171
- },
172
- "cssPath": {
173
- "description": "Specifies a path to reference CSS styles. This property is specific to the SKY UX docs site and is for internal Blackbaud use only.",
174
- "type": "string"
175
- },
176
- "enableIvy": {
177
- "description": "Enables or disables Angular's Ivy compiler during a build.",
178
- "type": "boolean"
179
- },
180
- "help": {
181
- "description": " Indicates whether to automatically include the help widget in the application to identify the current page and display relevant help content. This property is for internal Blackbaud use only.",
182
- "type": [
183
- "object"
184
- ]
185
- },
186
- "host": {
187
- "description": "Blackbaud Only - Specifies configuration options for communication with SKY UX Host.",
188
- "type": "object",
189
- "properties": {
190
- "bbCheckout": {
191
- "description": "Specifies bbCheckout options for the Host service.",
192
- "type": "object",
193
- "properties": {
194
- "version": {
195
- "description": "Specifies the whitelisted version of bbCheckout to include.",
196
- "type": "string",
197
- "enum": [
198
- "2"
199
- ]
200
- }
201
- }
202
- },
203
- "frameOptions": {
204
- "description": "Specifies frame options for the Host service.",
205
- "type": "object",
206
- "properties": {
207
- "none": {
208
- "description": "Sets the frame options to none. Superseds all other `frameOptions` properties.",
209
- "type": "boolean"
210
- },
211
- "self": {
212
- "description": "Sets the frame options to self.",
213
- "type": "boolean"
214
- },
215
- "blackbaud": {
216
- "description": "Sets the frame options to common Blackbaud URLs",
217
- "type": "boolean"
218
- },
219
- "urls": {
220
- "description": "Sets the frame options to this list. Can be used in conjunction with the `self` and `blackbaud` properties.",
221
- "type": "array"
222
- }
223
- },
224
- "if": {
225
- "properties": {
226
- "none": {
227
- "const": true
228
- }
229
- },
230
- "required": [
231
- "none"
232
- ]
233
- },
234
- "then": {
235
- "not": {
236
- "anyOf": [
237
- {
238
- "properties": {
239
- "blackbaud": {
240
- "const": true
241
- }
242
- },
243
- "required": [
244
- "blackbaud"
245
- ]
246
- },
247
- {
248
- "properties": {
249
- "self": {
250
- "const": true
251
- }
252
- },
253
- "required": [
254
- "self"
255
- ]
256
- },
257
- {
258
- "properties": {
259
- "urls": {
260
- "minItems": 1
261
- }
262
- },
263
- "required": [
264
- "urls"
265
- ]
266
- }
267
- ]
268
- }
269
- }
270
- },
271
- "url": {
272
- "description": "Specifies a base URL to pass information from skyux serve to the SKY UX Host.",
273
- "type": "string",
274
- "default": "https://host.nxt.blackbaud.com"
275
- }
276
- }
277
- },
278
- "importPath": {
279
- "description": "Specifies a path to reference SKY UX components in Angular. This property is specific to the SKY UX docs site and is for internal Blackbaud use only.",
280
- "type": "string"
281
- },
282
- "dependenciesForTranspilation": {
283
- "description": "Specifies a list of package dependencies that are not ES5 compatible. Each package listed will be coverted to support SKY UX Builder's target environment.",
284
- "type": "array"
285
- },
286
- "mode": {
287
- "description": "Controls how much boilerplate code to generate automatically.",
288
- "type": "string",
289
- "enum": [
290
- "easy",
291
- "advanced"
292
- ],
293
- "default": "easy"
294
- },
295
- "moduleAliases": {
296
- "description": "Specifies module aliases to allow for custom module resolution.",
297
- "type": "object"
298
- },
299
- "name": {
300
- "description": "Specifies the name of the project when running in SKY UX Host. By default, SKY UX Builder uses the name property in the package.json file, minus the 'blackbaud-skyux-spa-' prefix.",
301
- "type": "string"
302
- },
303
- "omnibar": {
304
- "description": "Specifies an object to pass to the omnibar's load method. This property is for internal Blackbaud use only.",
305
- "type": "object"
306
- },
307
- "pacts": {
308
- "description": "PACTS",
309
- "type": "array"
310
- },
311
- "params": {
312
- "description": "Specifies a list of parameters that are allowed at runtime.",
313
- "type": [
314
- "object"
315
- ],
316
- "patternProperties": {
317
- "^.*$": {
318
- "type": [
319
- "boolean",
320
- "object"
321
- ],
322
- "properties": {
323
- "required": {
324
- "description": "Indicates the parameter must be supplied to the application in order to function.",
325
- "type": "boolean"
326
- },
327
- "value": {
328
- "description": "The default value of the parameter. This value may be overridden at runtime by the query string or other future sources of parameter values."
329
- },
330
- "excludeFromRequests": {
331
- "description": "Indicates whether the parameter should be excluded from the parameters automatically added to the query string of URLs requested with SkyAuthHttp.",
332
- "type": "boolean",
333
- "default": true
334
- }
335
- }
336
- }
337
- }
338
- },
339
- "pipelineSettings": {
340
- "description": "Configuration options specific to pipeline configuration.",
341
- "type": "object"
342
- },
343
- "plugins": {
344
- "description": "Specifies plugins to expand on existing SKY UX Builder functionality and create new functionality.",
345
- "type": "array"
346
- },
347
- "redirects": {
348
- "description": "Specifies redirects for pages within an application using from : to pattern.",
349
- "type": "object"
350
- },
351
- "routes": {
352
- "description": "Allows you to use the omnibar but still define navigation items. This property is for internal Blackbaud use only.",
353
- "type": "object",
354
- "properties": {
355
- "public": {
356
- "description": "Public routes.",
357
- "type": "array"
358
- },
359
- "referenced": {
360
- "description": "Referenced routes.",
361
- "type": "array"
362
- }
363
- }
364
- },
365
- "useHashRouting": {
366
- "description": "Allows your SPA to use Angular's hash location strategy.",
367
- "type": "boolean"
368
- },
369
- "skyuxModules": {
370
- "description": "The individual SKY UX modules that should be imported into the application. Use this property for performance optimization when your application only uses a small subset of SKY UX components.",
371
- "type": "array"
372
- },
373
- "librarySettings": {
374
- "description": "Container for controlling library settings",
375
- "type": "object",
376
- "properties": {
377
- "whitelistedNonPeerDependencies": {
378
- "description": "Specifies package dependencies that are allowed to be added to a library's package.json `dependencies` object when a library is published.",
379
- "type": "array",
380
- "items": {
381
- "type": "string"
382
- }
383
- }
384
- }
385
- },
386
- "testSettings": {
387
- "description": "Container for controlling test settings.",
388
- "type": "object",
389
- "properties": {
390
- "e2e": {
391
- "description": "Test settings specific to the skyux e2e command.",
392
- "type": "object",
393
- "properties": {
394
- "browserSet": {
395
- "description": "The named set of browsers to run against.",
396
- "type": "string",
397
- "enum": [
398
- "speedy"
399
- ]
400
- }
401
- }
402
- },
403
- "unit": {
404
- "description": "Test settings specific to the skyux test command.",
405
- "type": "object",
406
- "properties": {
407
- "browserSet": {
408
- "description": "The named set of browsers to run against.",
409
- "type": "string",
410
- "enum": [
411
- "speedy",
412
- "quirky",
413
- "paranoid"
414
- ]
415
- }
416
- }
417
- }
418
- }
419
- }
420
- }
421
- }