@pega/dx-component-builder-sdk 0.1.12 → 0.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/dx-component-builder-sdk",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
package/src/constants.js CHANGED
@@ -157,7 +157,7 @@ export const COMPONENT_SCHEMA = {
157
157
  },
158
158
  overrideType: [
159
159
  {
160
- name: 'Form (Field)',
160
+ name: 'Field (Form)',
161
161
  value: 'forms'
162
162
  },
163
163
  {
@@ -303,18 +303,10 @@ export const COMPONENT_SCHEMA = {
303
303
  name: 'Assignment Card',
304
304
  value: 'AssignmentCard'
305
305
  },
306
- {
307
- name: 'Attachment',
308
- value: 'Attachment'
309
- },
310
306
  {
311
307
  name: 'Dashboard Filter',
312
308
  value: 'DashboardFilter'
313
309
  },
314
- {
315
- name: 'Defer Load',
316
- value: 'DeferLoad'
317
- },
318
310
  {
319
311
  name: 'Error Boundary',
320
312
  value: 'ErrorBoundary'
@@ -327,14 +319,6 @@ export const COMPONENT_SCHEMA = {
327
319
  name: 'Nav Bar',
328
320
  value: 'NavBar'
329
321
  },
330
- {
331
- name: 'Reference',
332
- value: 'Reference'
333
- },
334
- {
335
- name: 'Region',
336
- value: 'Region'
337
- },
338
322
  {
339
323
  name: 'Stages',
340
324
  value: 'Stages'
@@ -507,6 +491,10 @@ export const COMPONENT_SCHEMA = {
507
491
  name: 'App Announcement',
508
492
  value: 'AppAnnouncement'
509
493
  },
494
+ {
495
+ name: 'Attachment',
496
+ value: 'Attachment'
497
+ },
510
498
  {
511
499
  name: 'Case History',
512
500
  value: 'CaseHistory'
@@ -25,7 +25,6 @@ export const SOURCE_OF_COMPONENT_TYPES = {
25
25
 
26
26
  export const getDeleteComponentsQuestions = async (options, sourceOfComponentsOption) => {
27
27
  const defaultPegaServerConfig = await getPegaServerConfig();
28
- const categoryType = getOptionsCategory(options);
29
28
 
30
29
  return [
31
30
  {
@@ -17,8 +17,6 @@ export const SOURCE_OF_COMPONENT_TYPES = {
17
17
  export const getListComponentsQuestions = async (options, sourceOfComponentsOption) => {
18
18
  const defaultPegaServerConfig = await getPegaServerConfig();
19
19
 
20
- const categoryType = getOptionsCategory(options);
21
-
22
20
  return [
23
21
 
24
22
  {