@pega/custom-dx-components 0.25.23 → 0.25.25

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 (123) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/create/index.js +5 -1
  3. package/src/tasks/create/templates/Constellation/Field/Boolean/config.json.mustache +1 -0
  4. package/src/tasks/create/templates/Constellation/Field/Date/config.json.mustache +1 -0
  5. package/src/tasks/create/templates/Constellation/Field/DateTime/config.json.mustache +1 -0
  6. package/src/tasks/create/templates/Constellation/Field/Decimal/config.json.mustache +1 -0
  7. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/config.json.mustache +1 -0
  8. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/config.json.mustache +1 -0
  9. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/config.json.mustache +1 -0
  10. package/src/tasks/create/templates/Constellation/Field/Integer/config.json.mustache +1 -0
  11. package/src/tasks/create/templates/Constellation/Field/Picklist/config.json.mustache +1 -0
  12. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/config.json.mustache +1 -0
  13. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/config.json.mustache +1 -0
  14. package/src/tasks/create/templates/Constellation/Field/Text/config.json.mustache +1 -0
  15. package/src/tasks/create/templates/Constellation/Field/Text-Email/config.json.mustache +1 -0
  16. package/src/tasks/create/templates/Constellation/Field/Text-Input/config.json.mustache +1 -0
  17. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/config.json.mustache +1 -0
  18. package/src/tasks/create/templates/Constellation/Field/Text-Phone/config.json.mustache +1 -0
  19. package/src/tasks/create/templates/Constellation/Field/Text-URL/config.json.mustache +1 -0
  20. package/src/tasks/create/templates/Constellation/Field/TimeofDay/config.json.mustache +1 -0
  21. package/src/tasks/create/templates/Constellation/Template/DETAILS/config.json.mustache +1 -0
  22. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/config.json.mustache +1 -0
  23. package/src/tasks/create/templates/Constellation/Template/FORM/config.json.mustache +1 -0
  24. package/src/tasks/create/templates/Constellation/Template/FORM-region/config.json.mustache +1 -0
  25. package/src/tasks/create/templates/Constellation/Template/PAGE/config.json.mustache +1 -0
  26. package/src/tasks/create/templates/Constellation/Widget/CASE/config.json.mustache +1 -0
  27. package/src/tasks/create/templates/Constellation/Widget/PAGE/config.json.mustache +1 -0
  28. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/config.json.mustache +1 -0
  29. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/config.json.mustache +1 -0
  30. package/src/tasks/create/templates/Launchpad/Widget/CASE/config.json.mustache +1 -0
  31. package/src/tasks/create/templates/Launchpad/Widget/PAGE/config.json.mustache +1 -0
  32. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/config.json.mustache +1 -0
  33. package/src/tasks/create-all/index.js +5 -1
  34. package/src/tasks/init/template/package.json.mustache +8 -3
  35. package/src/tasks/init/template/scripts/components.json +3 -0
  36. package/src/tasks/init/template/scripts/esbuild.dev.js +34 -0
  37. package/src/tasks/init/template/scripts/index.mustache +26 -0
  38. package/src/tasks/init/template/scripts/index.ts +1 -0
  39. package/src/tasks/init/template/scripts/main.js +75 -0
  40. package/src/tasks/publish-archive/index.js +4 -2
  41. package/src/tasks/validator/index.js +10 -5
  42. package/src/util.js +28 -5
  43. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +1 -0
  44. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +1 -0
  45. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +1 -0
  46. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +1 -0
  47. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +1 -0
  48. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +1 -0
  49. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +1 -0
  50. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +1 -0
  51. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +1 -0
  52. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +1 -0
  53. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +1 -0
  54. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +1 -0
  55. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +1 -0
  56. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +1 -0
  57. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +1 -0
  58. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +1 -0
  59. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +1 -0
  60. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +1 -0
  61. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +1 -0
  62. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +1 -0
  63. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +1 -0
  64. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +1 -0
  65. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +1 -0
  66. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +1 -0
  67. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +1 -0
  68. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +1 -0
  69. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +1 -0
  70. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/config.json +1 -0
  71. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +1 -0
  72. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +1 -0
  73. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +1 -0
  74. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +1 -0
  75. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +1 -0
  76. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +1 -0
  77. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +1 -0
  78. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +1 -0
  79. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +1 -0
  80. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +1 -0
  81. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +1 -0
  82. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +1 -0
  83. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +1 -0
  84. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +1 -0
  85. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +1 -0
  86. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +1 -0
  87. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +1 -0
  88. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +1 -0
  89. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +1 -0
  90. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +1 -0
  91. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/config.json +1 -0
  92. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +1 -0
  93. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +1 -0
  94. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +1 -0
  95. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +1 -0
  96. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +1 -0
  97. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +1 -0
  98. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +1 -0
  99. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +1 -0
  100. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +1 -0
  101. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +1 -0
  102. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +1 -0
  103. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/config.json +1 -0
  104. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +1 -0
  105. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/config.json +1 -0
  106. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/config.json +1 -0
  107. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +1 -0
  108. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/config.json +1 -0
  109. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/config.json +1 -0
  110. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/config.json +1 -0
  111. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +1 -0
  112. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +1 -0
  113. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +1 -0
  114. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +1 -0
  115. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/config.json +1 -0
  116. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/config.json +1 -0
  117. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +1 -0
  118. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +1 -0
  119. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +1 -0
  120. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/config.json +1 -0
  121. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/config.json +1 -0
  122. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +1 -0
  123. package/tests/functional/localCreatePublishAllDeleteAll.test.js +3 -3
package/src/util.js CHANGED
@@ -36,6 +36,7 @@ import {
36
36
  SHARED_DIRECTORY,
37
37
  SHOW_DEBUG,
38
38
  COMPONENTS_PATH,
39
+ COMPONENT_SCHEMA,
39
40
  ARCHIVES_PATH,
40
41
  BIN_ARCHIVES_PATH,
41
42
  TEMP_PATH,
@@ -336,6 +337,8 @@ if (showDebug) addDebugLog("applyPegaData", "", "");
336
337
 
337
338
  export const checkJWTExpiration = async () => {
338
339
  const tokenAndStaticServer = await getC11NB2STokenAndStaticServer();
340
+ const isLibraryBased = getLibraryBased();
341
+ const isLibraryBasedCL = getLibraryBasedCL();
339
342
 
340
343
  if (tokenAndStaticServer.C11NB2S === undefined) {
341
344
  console.log(chalk.redBright("Need to authenticate, missing services token.\nBuilding a library requires authentication to acquire a token to build."));
@@ -349,13 +352,19 @@ export const checkJWTExpiration = async () => {
349
352
  process.exit(1);
350
353
  }
351
354
 
352
- // check that there is customer_org
353
- if (!customer_org || customer_org === "") {
354
- console.log(chalk.red(`PegaInfinity server DSS setting ${chalk.redBright.bold(`C11nCCv2CustomerOrg`)} is NOT set.`));
355
- console.log(chalk.red("Please update DSS setting, save and then reauthenticate."));
356
- process.exit(1);
355
+
356
+ // only check if older isLibraryBased
357
+ if (!isLibraryBasedCL && isLibraryBased) {
358
+ // check that there is customer_org
359
+ if (!customer_org || customer_org === "") {
360
+ console.log(chalk.red(`PegaInfinity server DSS setting ${chalk.redBright.bold(`C11nCCv2CustomerOrg`)} is NOT set.`));
361
+ console.log(chalk.red("Please update DSS setting, save and then reauthenticate."));
362
+ process.exit(1);
363
+ }
364
+
357
365
  }
358
366
 
367
+
359
368
  }
360
369
 
361
370
  export const checkAccessTokenExpiration = async() => {
@@ -2612,6 +2621,20 @@ if (showDebug) addDebugLog("getJestFunctionalTestList", ``, "");
2612
2621
 
2613
2622
  }
2614
2623
 
2624
+ export const getSubTypeLabel = (type, subtype) => {
2625
+ const subTypeList = COMPONENT_SCHEMA.subtype;
2626
+ const typeList = subTypeList[type.toLowerCase()];
2627
+
2628
+ for (let i in typeList) {
2629
+ if (typeList[i]['value'] === subtype) {
2630
+ const label = typeList[i]['name'].replace("&", "and");
2631
+ return label;
2632
+ }
2633
+ }
2634
+
2635
+ return "";
2636
+ }
2637
+
2615
2638
 
2616
2639
  // init
2617
2640
  await forceDefaultsUpdate();
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTestText",
10
10
  "type": "Field",
11
11
  "subtype": "Text",
12
+ "subtypeLabel": "Text",
12
13
  "properties": [
13
14
  {
14
15
  "name": "label",
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyBoolean",
10
10
  "type": "Field",
11
11
  "subtype": "Boolean",
12
+ "subtypeLabel": "Boolean",
12
13
  "icon": "images/pz-checkbox-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyCaseWidget",
10
10
  "type": "Widget",
11
11
  "subtype": "CASE",
12
+ "subtypeLabel": "CASE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyCurrency",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal-Currency",
12
+ "subtypeLabel": "Currency",
12
13
  "icon": "images/pz-currency-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDate",
10
10
  "type": "Field",
11
11
  "subtype": "Date",
12
+ "subtypeLabel": "Date",
12
13
  "icon": "images/pz-date-time-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDateTime",
10
10
  "type": "Field",
11
11
  "subtype": "DateTime",
12
+ "subtypeLabel": "DateTime",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDecimal",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal",
12
+ "subtypeLabel": "Decimal",
12
13
  "icon": "images/pz-decimal-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDetails",
10
10
  "type": "Template",
11
11
  "subtype": "DETAILS",
12
+ "subtypeLabel": "DETAILS",
12
13
  "icon": "OneColumnDetails.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyEmail",
10
10
  "type": "Field",
11
11
  "subtype": "Text-Email",
12
+ "subtypeLabel": "Email",
12
13
  "icon": "images/pz-email-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyForm",
10
10
  "type": "Template",
11
11
  "subtype": "FORM",
12
+ "subtypeLabel": "FORM",
12
13
  "icon": "DefaultForm.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyIconButtonURL",
10
10
  "type": "Field",
11
11
  "subtype": "Text-URL",
12
+ "subtypeLabel": "Icon Button URL",
12
13
  "icon": "images/pz-url-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyInteger",
10
10
  "type": "Field",
11
11
  "subtype": "Integer",
12
+ "subtypeLabel": "Integer",
12
13
  "properties": [
13
14
  {
14
15
  "name": "label",
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPage",
10
10
  "type": "Template",
11
11
  "subtype": "PAGE",
12
+ "subtypeLabel": "PAGE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPageCaseWidget",
10
10
  "type": "Widget",
11
11
  "subtype": ["PAGE","CASE"],
12
+ "subtypeLabel": "PAGE and CASE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPageWidget",
10
10
  "type": "Widget",
11
11
  "subtype": "PAGE",
12
+ "subtypeLabel": "PAGE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyParagraph",
10
10
  "type": "Field",
11
11
  "subtype": "Text-Paragraph",
12
+ "subtypeLabel": "Paragraph",
12
13
  "icon": "images/pz-text-area-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPercentage",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal-Percentage",
12
+ "subtypeLabel": "Percentage",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPhone",
10
10
  "type": "Field",
11
11
  "subtype": "Text-Phone",
12
+ "subtypeLabel": "Phone",
12
13
  "icon": "images/pz-phone-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPicklist",
10
10
  "type": "Field",
11
11
  "subtype": "Picklist",
12
+ "subtypeLabel": "Picklist",
12
13
  "icon": "images/pz-dropdown-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyRadiobuttons",
10
10
  "type": "Field",
11
11
  "subtype": "Picklist",
12
+ "subtypeLabel": "Radio buttons",
12
13
  "icon": "images/pz-dropdown-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MySearchbox",
10
10
  "type": "Field",
11
11
  "subtype": "Picklist",
12
+ "subtypeLabel": "Search box",
12
13
  "icon": "images/pz-dropdown-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyText",
10
10
  "type": "Field",
11
11
  "subtype": "Text",
12
+ "subtypeLabel": "Text",
12
13
  "properties": [
13
14
  {
14
15
  "name": "label",
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTextInput",
10
10
  "type": "Field",
11
11
  "subtype": "Text",
12
+ "subtypeLabel": "Text",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTimeOfDay",
10
10
  "type": "Field",
11
11
  "subtype": "TimeOfDay",
12
+ "subtypeLabel": "TimeOfDay",
12
13
  "icon": "images/pz-date-time-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTwoColumnDetails",
10
10
  "type": "Template",
11
11
  "subtype": "DETAILS",
12
+ "subtypeLabel": "DETAILS region",
12
13
  "icon": "TwoColumnDetails.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTwoColumnForm",
10
10
  "type": "Template",
11
11
  "subtype": "FORM",
12
+ "subtypeLabel": "FORM region",
12
13
  "icon": "TwoColumn.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyURL",
10
10
  "type": "Field",
11
11
  "subtype": "Text-URL",
12
+ "subtypeLabel": "URL",
12
13
  "icon": "images/pz-url-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTestText",
10
10
  "type": "Field",
11
11
  "subtype": "Text",
12
+ "subtypeLabel": "Text",
12
13
  "properties": [
13
14
  {
14
15
  "name": "label",
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyBoolean",
10
10
  "type": "Field",
11
11
  "subtype": "Boolean",
12
+ "subtypeLabel": "Boolean",
12
13
  "icon": "images/pz-checkbox-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyCaseWidget",
10
10
  "type": "Widget",
11
11
  "subtype": "CASE",
12
+ "subtypeLabel": "CASE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyCurrency",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal-Currency",
12
+ "subtypeLabel": "Currency",
12
13
  "icon": "images/pz-currency-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDate",
10
10
  "type": "Field",
11
11
  "subtype": "Date",
12
+ "subtypeLabel": "Date",
12
13
  "icon": "images/pz-date-time-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDateTime",
10
10
  "type": "Field",
11
11
  "subtype": "DateTime",
12
+ "subtypeLabel": "DateTime",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDecimal",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal",
12
+ "subtypeLabel": "Decimal",
12
13
  "icon": "images/pz-decimal-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDetails",
10
10
  "type": "Template",
11
11
  "subtype": "DETAILS",
12
+ "subtypeLabel": "DETAILS",
12
13
  "icon": "OneColumnDetails.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyEmail",
10
10
  "type": "Field",
11
11
  "subtype": "Text-Email",
12
+ "subtypeLabel": "Email",
12
13
  "icon": "images/pz-email-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyForm",
10
10
  "type": "Template",
11
11
  "subtype": "FORM",
12
+ "subtypeLabel": "FORM",
12
13
  "icon": "DefaultForm.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyIconButtonURL",
10
10
  "type": "Field",
11
11
  "subtype": "Text-URL",
12
+ "subtypeLabel": "Icon Button URL",
12
13
  "icon": "images/pz-url-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyInteger",
10
10
  "type": "Field",
11
11
  "subtype": "Integer",
12
+ "subtypeLabel": "Integer",
12
13
  "properties": [
13
14
  {
14
15
  "name": "label",
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPage",
10
10
  "type": "Template",
11
11
  "subtype": "PAGE",
12
+ "subtypeLabel": "PAGE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPageCaseWidget",
10
10
  "type": "Widget",
11
11
  "subtype": ["PAGE","CASE"],
12
+ "subtypeLabel": "PAGE and CASE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPageWidget",
10
10
  "type": "Widget",
11
11
  "subtype": "PAGE",
12
+ "subtypeLabel": "PAGE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyParagraph",
10
10
  "type": "Field",
11
11
  "subtype": "Text-Paragraph",
12
+ "subtypeLabel": "Paragraph",
12
13
  "icon": "images/pz-text-area-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPercentage",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal-Percentage",
12
+ "subtypeLabel": "Percentage",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPhone",
10
10
  "type": "Field",
11
11
  "subtype": "Text-Phone",
12
+ "subtypeLabel": "Phone",
12
13
  "icon": "images/pz-phone-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyPicklist",
10
10
  "type": "Field",
11
11
  "subtype": "Picklist",
12
+ "subtypeLabel": "Picklist",
12
13
  "icon": "images/pz-dropdown-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyRadiobuttons",
10
10
  "type": "Field",
11
11
  "subtype": "Picklist",
12
+ "subtypeLabel": "Radio buttons",
12
13
  "icon": "images/pz-dropdown-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MySearchbox",
10
10
  "type": "Field",
11
11
  "subtype": "Picklist",
12
+ "subtypeLabel": "Search box",
12
13
  "icon": "images/pz-dropdown-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyText",
10
10
  "type": "Field",
11
11
  "subtype": "Text",
12
+ "subtypeLabel": "Text",
12
13
  "properties": [
13
14
  {
14
15
  "name": "label",
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTextInput",
10
10
  "type": "Field",
11
11
  "subtype": "Text",
12
+ "subtypeLabel": "Text",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTimeOfDay",
10
10
  "type": "Field",
11
11
  "subtype": "TimeOfDay",
12
+ "subtypeLabel": "TimeOfDay",
12
13
  "icon": "images/pz-date-time-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTwoColumnDetails",
10
10
  "type": "Template",
11
11
  "subtype": "DETAILS",
12
+ "subtypeLabel": "DETAILS region",
12
13
  "icon": "TwoColumnDetails.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyTwoColumnForm",
10
10
  "type": "Template",
11
11
  "subtype": "FORM",
12
+ "subtypeLabel": "FORM region",
12
13
  "icon": "TwoColumn.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyURL",
10
10
  "type": "Field",
11
11
  "subtype": "Text-URL",
12
+ "subtypeLabel": "URL",
12
13
  "icon": "images/pz-url-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyBoolean",
10
10
  "type": "Field",
11
11
  "subtype": "Boolean",
12
+ "subtypeLabel": "Boolean",
12
13
  "icon": "images/pz-checkbox-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyCaseWidget",
10
10
  "type": "Widget",
11
11
  "subtype": "CASE",
12
+ "subtypeLabel": "CASE",
12
13
  "icon": "OneColumnPage.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyCurrency",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal-Currency",
12
+ "subtypeLabel": "Currency",
12
13
  "icon": "images/pz-currency-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDate",
10
10
  "type": "Field",
11
11
  "subtype": "Date",
12
+ "subtypeLabel": "Date",
12
13
  "icon": "images/pz-date-time-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDateTime",
10
10
  "type": "Field",
11
11
  "subtype": "DateTime",
12
+ "subtypeLabel": "DateTime",
12
13
  "icon": "images/pz-text-input-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDecimal",
10
10
  "type": "Field",
11
11
  "subtype": "Decimal",
12
+ "subtypeLabel": "Decimal",
12
13
  "icon": "images/pz-decimal-active.svg",
13
14
  "properties": [
14
15
  {
@@ -9,6 +9,7 @@
9
9
  "componentKey": "Pega_DXIL_MyDetails",
10
10
  "type": "Template",
11
11
  "subtype": "DETAILS",
12
+ "subtypeLabel": "DETAILS",
12
13
  "icon": "OneColumnDetails.svg",
13
14
  "properties": [
14
15
  {