diff --git a/canvas_modules/common-canvas/__tests__/common-properties/conversion-test.js b/canvas_modules/common-canvas/__tests__/common-properties/conversion-test.js
deleted file mode 100644
index fb8d6ddb5a..0000000000
--- a/canvas_modules/common-canvas/__tests__/common-properties/conversion-test.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright 2017-2023 Elyra Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import React from "react";
-import CommonProperties from "../../src/common-properties/common-properties.jsx";
-import { mount } from "../_utils_/mount-utils.js";
-import { IntlProvider } from "react-intl";
-
-
-import { expect } from "chai";
-import sinon from "sinon";
-import isEqual from "lodash/isEqual";
-import oldForm from "../test_resources/json/oldDeriveForm.json";
-import deriveDatasetMetadata from "../test_resources/json/deriveDatasetMetadata.json";
-
-
-const applyPropertyChanges = sinon.spy();
-const closePropertiesDialog = sinon.spy();
-let controller = null;
-function controllerHandler(inController) {
- controller = inController;
-}
-
-describe("CommonProperties converts property sets correctly", () => {
-
- it("should convert inputDataModel into datasetMetadata", () => {
- createCommonProperties2("Modal");
- const form = controller.getForm();
- const newDatasetMetadata = form.data.datasetMetadata;
- const expectedDatasetMetadata = deriveDatasetMetadata;
- // console.log("Expected1: " + JSON.stringify(expectedDatasetMetadata));
- // console.log("Actual1 : " + JSON.stringify(newDatasetMetadata));
- expect(isEqual(JSON.parse(JSON.stringify(expectedDatasetMetadata)),
- JSON.parse(JSON.stringify(newDatasetMetadata)))).to.be.true;
- });
-});
-
-function createCommonProperties2(container) {
- const propertiesInfo = {};
- propertiesInfo.formData = oldForm.formData;
- propertiesInfo.appData = {};
- propertiesInfo.additionalComponents = {};
- const callbacks = {
- applyPropertyChanges: applyPropertyChanges,
- closePropertiesDialog: closePropertiesDialog,
- controllerHandler: controllerHandler
- };
-
- const locale = "en";
- const wrapper = mount(
-
-
-
- );
- return wrapper;
-}
diff --git a/canvas_modules/common-canvas/__tests__/test_resources/json/oldDeriveForm.json b/canvas_modules/common-canvas/__tests__/test_resources/json/oldDeriveForm.json
deleted file mode 100644
index 1d48d7faf8..0000000000
--- a/canvas_modules/common-canvas/__tests__/test_resources/json/oldDeriveForm.json
+++ /dev/null
@@ -1,255 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "derive",
- "label": "Derive",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "new_name",
- "label": {
- "text": "Derive field"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "formula_expr",
- "label": {
- "text": "Expression"
- },
- "controlType": "expression",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "formula_measure_type",
- "label": {
- "text": "Measurement"
- },
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "OrderedSet",
- "Typeless",
- "Collection",
- "Geospatial"
- ],
- "valueLabels": [
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "Ordered Set",
- "Typeless",
- "Collection",
- "Geospatial"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentProperties": {
- "formula_measure_type": [
- "Default"
- ],
- "annotation": [
- ""
- ],
- "new_name": [
- "Na_to_K"
- ],
- "formula_expr": [
- "Na/K"
- ],
- "use_custom_name": [
- "false"
- ],
- "custom_name": [
- "Na_to_K"
- ]
- },
- "inputDataModel": {
- "columns": [
- {
- "name": "Age",
- "label": "",
- "storage": "Integer",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Sex",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "BP",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Cholesterol",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Na",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "K",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Drug",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id2PZSCTRPRIJ",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id2PZSCTRPRIJ"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/common-canvas/src/common-properties/properties-main/properties-main.jsx b/canvas_modules/common-canvas/src/common-properties/properties-main/properties-main.jsx
index fe38061c0d..98a4b7172d 100644
--- a/canvas_modules/common-canvas/src/common-properties/properties-main/properties-main.jsx
+++ b/canvas_modules/common-canvas/src/common-properties/properties-main/properties-main.jsx
@@ -107,7 +107,6 @@ class PropertiesMain extends React.Component {
}
if (newProps.propertiesInfo) {
if (!isEqual(Object.keys(newProps.propertiesInfo), Object.keys(this.props.propertiesInfo)) ||
- (newProps.propertiesInfo.formData && !isEqual(newProps.propertiesInfo.formData, this.props.propertiesInfo.formData)) ||
(newProps.propertiesInfo.parameterDef && !isEqual(newProps.propertiesInfo.parameterDef, this.props.propertiesInfo.parameterDef)) ||
(newProps.propertiesInfo.appData && !isEqual(newProps.propertiesInfo.appData, this.props.propertiesInfo.appData))) {
const sameParameterDefRendered = newProps.propertiesInfo.id === this.props.propertiesInfo.id;
@@ -149,18 +148,12 @@ class PropertiesMain extends React.Component {
setForm(propertiesInfo, sameParameterDefRendered) {
let formData = null;
- if (propertiesInfo.formData && Object.keys(propertiesInfo.formData).length !== 0) {
- formData = propertiesInfo.formData;
- } else if (propertiesInfo.parameterDef) {
+ if (propertiesInfo.parameterDef) {
if (this.props.propertiesConfig.schemaValidation) {
validateParameterDefAgainstSchema(propertiesInfo.parameterDef);
}
formData = Form.makeForm(propertiesInfo.parameterDef, this.props.propertiesConfig.containerType);
}
- // TODO: This can be removed once the WML Play service generates datasetMetadata instead of inputDataModel
- if (formData && formData.data && formData.data.inputDataModel && !formData.data.datasetMetadata) {
- formData.data.datasetMetadata = PropertyUtils.convertInputDataModel(formData.data.inputDataModel);
- }
this.propertiesController.setForm(formData, this.props.intl, sameParameterDefRendered);
if (formData) {
diff --git a/canvas_modules/common-canvas/src/common-properties/util/property-utils.js b/canvas_modules/common-canvas/src/common-properties/util/property-utils.js
index 3f5c3ee2ca..cfd0cadc77 100644
--- a/canvas_modules/common-canvas/src/common-properties/util/property-utils.js
+++ b/canvas_modules/common-canvas/src/common-properties/util/property-utils.js
@@ -153,43 +153,6 @@ function getTableFieldIndex(control) {
return -1;
}
-// TODO: This can be removed once the WML Play service generates datasetMetadata instead of inputDataModel
-/**
- * Converts old style Modeler inputDataModel into newer datasetMetadata
- */
-function convertInputDataModel(dataModel) {
- const datasetMetadata = {};
- datasetMetadata.fields = [];
- if (dataModel && dataModel.columns) {
- for (const column of dataModel.columns) {
- const field = {};
- field.name = column.name;
- field.type = convertType(column.storage);
- field.metadata = {};
- field.metadata.description = "";
- if (column.measure) {
- field.metadata.measure = column.measure.toLowerCase();
- }
- if (column.modelingRole) {
- field.metadata.modeling_role = column.modelingRole.toLowerCase();
- }
- datasetMetadata.fields.push(field);
- }
- }
- return datasetMetadata;
-}
-
-/**
- * Converts from Modeler storage to WML type.
- */
-function convertType(storage) {
- let retVal = storage.toLowerCase();
- if (storage === "Real") {
- retVal = "double";
- }
- return retVal;
-}
-
/**
* Returns true if any subControl within control has 'structureType === object'
*/
@@ -595,7 +558,6 @@ export {
formatMessage,
evaluateText,
getTableFieldIndex,
- convertInputDataModel,
isSubControlStructureObjectType,
convertObjectStructureToArray,
convertArrayStructureToObject,
diff --git a/canvas_modules/common-canvas/src/flow-validation/validate-flow.js b/canvas_modules/common-canvas/src/flow-validation/validate-flow.js
index 3ae9314442..f4f1bf7206 100644
--- a/canvas_modules/common-canvas/src/flow-validation/validate-flow.js
+++ b/canvas_modules/common-canvas/src/flow-validation/validate-flow.js
@@ -14,7 +14,6 @@
* limitations under the License.
*/
import Form from "../common-properties/form/Form";
-import { convertInputDataModel } from "../common-properties/util/property-utils";
import PropertiesController from "../common-properties/properties-controller";
import logger from "../../utils/logger";
import { isEqual } from "lodash";
@@ -72,10 +71,6 @@ function _getFormData(nodeId, pipelineId, getParameterData, canvasController) {
} else {
formData = parameterData.data.formData;
}
- // TODO: This can be removed once the WML Play service generates datasetMetadata instead of inputDataModel
- if (formData && formData.data && formData.data.inputDataModel && !formData.data.datasetMetadata) {
- formData.data.datasetMetadata = convertInputDataModel(formData.data.inputDataModel);
- }
} else {
logger.warn("flow-validation", { message: "No parameter def found for node " + nodeId });
}
diff --git a/canvas_modules/harness/src/client/App.js b/canvas_modules/harness/src/client/App.js
index b8dc098ed1..086318340f 100644
--- a/canvas_modules/harness/src/client/App.js
+++ b/canvas_modules/harness/src/client/App.js
@@ -1683,7 +1683,6 @@ class App extends React.Component {
const propsInfo = {
title: ,
messages: messages,
- formData: properties.formData,
parameterDef: properties,
appData: appData,
additionalComponents: additionalComponents,
@@ -1798,7 +1797,6 @@ class App extends React.Component {
const expressionInfo = this.state.expressionBuilder ? ExpressionInfo : null;
const propsInfo = {
title: ,
- formData: properties.formData,
parameterDef: properties,
additionalComponents: additionalComponents,
expressionInfo: expressionInfo,
diff --git a/canvas_modules/harness/test_resources/forms/aggregate.json b/canvas_modules/harness/test_resources/forms/aggregate.json
deleted file mode 100644
index b9bc05f582..0000000000
--- a/canvas_modules/harness/test_resources/forms/aggregate.json
+++ /dev/null
@@ -1,817 +0,0 @@
-{
- "formData": {
- "componentId": "aggregate",
- "label": "Aggregate",
- "editorSize": "small",
- "help": {
- "data": {
- "url": "aggregate.html",
- "title": "Aggregate"
- }
- },
- "uiItems": [
- {
- "id": "form-primary-tabs",
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "id": "basic-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "label": "Settings",
- "uiItems": [
- {
- "id": "aggregation-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "aggregation-settings",
- "panelType": "columnSelection",
- "label": "Aggregations",
- "uiItems": [
- {
- "id": "keys-uiitem",
- "itemType": "control",
- "control": {
- "name": "keys",
- "role": "column",
- "visible": true,
- "description": {
- "text": "Lists fields that can be used as categories for aggregation. Both continuous (numeric) and categorical fields can be used as keys. If you choose more than one key field, the values will be combined to produce a key value for aggregating records."
- },
- "separateLabel": true,
- "label": {
- "text": "Key Fields"
- },
- "language": "CLEM",
- "controlType": "selectcolumns",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "aggregates-summary-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "aggregates-summary",
- "panelType": "summary",
- "label": "Aggregations",
- "uiItems": [
- {
- "id": "aggregates-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "aggregates-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "aggregates-uiitem",
- "itemType": "control",
- "control": {
- "name": "aggregates",
- "visible": true,
- "childItem": {
- "id": "aggregates-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "AggregateOpEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "operations-uiitem",
- "itemType": "control",
- "control": {
- "name": "operations",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Aggregate Operations"
- },
- "language": "CLEM",
- "values": [
- "Sum",
- "Mean",
- "Min",
- "Max",
- "SDev",
- "Median",
- "Count",
- "Variance",
- "FirstQuartile",
- "ThirdQuartile"
- ],
- "controlType": "checkboxset",
- "required": false,
- "valueLabels": [
- "Sum",
- "Mean",
- "Minimum",
- "Maximum",
- "Std. Deviation",
- "Median",
- "Count",
- "Variance",
- "First Quartile",
- "Third Quartile"
- ],
- "width": 32,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": {
- "parameterRef": "aggregate_defaults"
- }
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": {
- "text": "Lists the fields for which values will be aggregated as well as the selected modes of aggregation."
- },
- "separateLabel": true,
- "label": {
- "text": "Aggregate Fields"
- },
- "defaultRow": [
- {
- "parameterRef": "aggregate_defaults"
- }
- ],
- "subControls": [
- {
- "name": "field",
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 12,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "operations",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Aggregate Operations"
- },
- "language": "CLEM",
- "values": [
- "Sum",
- "Mean",
- "Min",
- "Max",
- "SDev",
- "Median",
- "Count",
- "Variance",
- "FirstQuartile",
- "ThirdQuartile"
- ],
- "controlType": "checkboxset",
- "required": false,
- "valueLabels": [
- "Sum",
- "Mean",
- "Minimum",
- "Maximum",
- "Std. Deviation",
- "Median",
- "Count",
- "Variance",
- "First Quartile",
- "Third Quartile"
- ],
- "width": 32,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": {
- "parameterRef": "aggregate_defaults"
- }
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "default-mode-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "default-mode",
- "panelType": "general",
- "uiItems": [
- {
- "id": "aggregate_defaults-uiitem",
- "itemType": "control",
- "control": {
- "name": "aggregate_defaults",
- "visible": true,
- "description": {
- "text": "Specify the default aggregation mode to be used for newly added fields."
- },
- "separateLabel": true,
- "label": {
- "text": "Default Mode"
- },
- "language": "CLEM",
- "values": [
- "Mean",
- "Sum",
- "Min",
- "Max",
- "SDev",
- "Median",
- "Count",
- "Variance",
- "FirstQuartile",
- "ThirdQuartile"
- ],
- "controlType": "checkboxset",
- "required": false,
- "valueLabels": [
- "Mean",
- "Sum",
- "Min",
- "Max",
- "SDev",
- "Median",
- "Count",
- "Variance",
- "1st Quartile",
- "3rd Quartile"
- ],
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": "other-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "other-settings",
- "panelType": "general",
- "uiItems": [
- {
- "id": "inc_record_count-uiitem",
- "itemType": "control",
- "control": {
- "name": "inc_record_count",
- "visible": true,
- "description": {
- "text": "Select to include an extra field in each output record called Record_Count, by default. This field indicates how many input records were aggregated to form each aggregate record."
- },
- "separateLabel": false,
- "label": {
- "text": "Include record count"
- },
- "language": "CLEM",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "count_field-uiitem",
- "itemType": "control",
- "control": {
- "name": "count_field",
- "visible": true,
- "description": {
- "text": "Create a custom name for this field by typing in the edit field."
- },
- "separateLabel": true,
- "label": {
- "text": "Record count field"
- },
- "language": "CLEM",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "extension-uiitem",
- "itemType": "control",
- "control": {
- "name": "extension",
- "visible": true,
- "description": {
- "text": "Specify a suffix or prefix, such as '1' or 'new' to add to duplicate aggregated fields."
- },
- "separateLabel": true,
- "label": {
- "text": "New field name extension"
- },
- "language": "CLEM",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "add_as-uiitem",
- "itemType": "control",
- "control": {
- "name": "add_as",
- "visible": true,
- "description": {
- "text": "Select Suffix or Prefix to indicate your preferred extension style."
- },
- "separateLabel": true,
- "label": {
- "text": "Add as"
- },
- "language": "CLEM",
- "orientation": "vertical",
- "values": [
- "Suffix",
- "Prefix"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "Suffix",
- "Prefix"
- ],
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Optimization",
- "group": "optimization",
- "content": {
- "id": "optimization-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "optimization",
- "panelType": "general",
- "label": "Optimization",
- "uiItems": [
- {
- "id": "other-optimization-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "other-optimization",
- "panelType": "general",
- "uiItems": [
- {
- "id": "contiguous-uiitem",
- "itemType": "control",
- "control": {
- "name": "contiguous",
- "visible": true,
- "description": {
- "text": "Select this option if you know that all records with the same key values are grouped together in the input (for example, if the input is sorted on the key fields). Doing so can improve performance."
- },
- "separateLabel": false,
- "label": {
- "text": "Keys are contiguous"
- },
- "language": "CLEM",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "allow_approximation-uiitem",
- "itemType": "control",
- "control": {
- "name": "allow_approximation",
- "visible": true,
- "description": {
- "text": "If you are using Analytic Server you can select this check box to use an approximated value for these statistics instead which is calculated by binning the data and then computing an estimate for the statistic based on the distribution across the bins."
- },
- "separateLabel": false,
- "label": {
- "text": "Allow approximation for Median and Quartiles"
- },
- "language": "CLEM",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "bin_count-uiitem",
- "itemType": "control",
- "control": {
- "name": "bin_count",
- "visible": true,
- "description": {
- "text": "Select the number of bins to be used when estimating the statistic; the number of bins affects the Maximum error %."
- },
- "separateLabel": true,
- "label": {
- "text": "Number of bins"
- },
- "language": "CLEM",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "id": "annotations-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "id": "use_custom_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "visible": true,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Custom name"
- },
- "language": "CLEM",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "custom_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": ""
- },
- "language": "CLEM",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "annotation-uiitem",
- "itemType": "control",
- "control": {
- "name": "annotation",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Annotation"
- },
- "language": "CLEM",
- "controlType": "textarea",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "conditions": [
- {
- "enabled": {
- "parameter_refs": [
- "bin_count"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "allow_approximation",
- "op": "equals",
- "value": true
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "count_field"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "inc_record_count",
- "op": "equals",
- "value": true
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "custom_name"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "use_custom_name",
- "op": "equals",
- "value": true
- }
- }
- }
- }
- ],
- "data": {
- "currentParameters": {
- "add_as": "Suffix",
- "contiguous": false,
- "inc_record_count": true,
- "aggregates": [],
- "annotation": "",
- "aggregate_exprs": [],
- "count_field": "Record_Count",
- "use_custom_name": false,
- "allow_approximation": false,
- "bin_count": 1000,
- "aggregate_defaults": [
- "Mean",
- "Sum"
- ],
- "custom_name": "",
- "keys": [],
- "extension": ""
- },
- "datasetMetadata": [
- {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- }
- ]
- }
- ]
- },
- "resources": {
- "aggregate_defaults.label": "Default Mode",
- "aggregate_defaults.Sum.label": "Sum",
- "optimization.label": "Optimization",
- "add_as.label": "Add as",
- "bin_count.label": "Number of bins",
- "aggregate_defaults.Min.label": "Min",
- "add_as.Suffix.label": "Suffix",
- "aggregate_exprs.label": "Aggregate Expression",
- "aggregate-exprs-settings.label": "Aggregate Expression",
- "bin_count.desc": "Select the number of bins to be used when estimating the statistic; the number of bins affects the Maximum error %.",
- "aggregate_defaults.desc": "Specify the default aggregation mode to be used for newly added fields.",
- "aggregate_ops.label": "Aggregate Fields",
- "aggregate_defaults.FirstQuartile.label": "1st Quartile",
- "aggregate.label": "Aggregate",
- "AggregateOpEntry.operations.FirstQuartile.label": "First Quartile",
- "extension.label": "New field name extension",
- "AggregateOpEntry.operations.Count.label": "Count",
- "aggregate_ops.desc": "Lists the fields for which values will be aggregated as well as the selected modes of aggregation.",
- "AggregateOpEntry.operations.Mean.label": "Mean",
- "aggregate_defaults.Variance.label": "Variance",
- "AggregateExprEntry.expression.label": "Expression",
- "count_field.label": "Record count field",
- "AggregateExprEntry.field.label": "Field",
- "aggregate-exprs-summary.label": "Aggregates Expression",
- "aggregation-settings.label": "Aggregations",
- "aggregate_defaults.Count.label": "Count",
- "aggregate_keys.label": "Key Fields",
- "AggregateOpEntry.operations.ThirdQuartile.label": "Third Quartile",
- "contiguous.desc": "Select this option if you know that all records with the same key values are grouped together in the input (for example, if the input is sorted on the key fields). Doing so can improve performance.",
- "inc_record_count.label": "Include record count",
- "add_as.desc": "Select Suffix or Prefix to indicate your preferred extension style.",
- "AggregateOpEntry.operations.Median.label": "Median",
- "AggregateOpEntry.label": "Aggregate Operations",
- "add_as.Prefix.label": "Prefix",
- "aggregate_defaults.Max.label": "Max",
- "allow_approximation.label": "Allow approximation for Median and Quartiles",
- "aggregates.label": "Aggregate fields",
- "aggregate_defaults.SDev.label": "SDev",
- "AggregateOpEntry.operations.Sum.label": "Sum",
- "basic-settings.label": "Settings",
- "keys.label": "Key fields",
- "aggregate_defaults.ThirdQuartile.label": "3rd Quartile",
- "allow_approximation.desc": "If you are using Analytic Server you can select this check box to use an approximated value for these statistics instead which is calculated by binning the data and then computing an estimate for the statistic based on the distribution across the bins.",
- "AggregateOpEntry.operations.Max.label": "Maximum",
- "AggregateOpEntry.operations.Min.label": "Minimum",
- "aggregate_defaults.Mean.label": "Mean",
- "aggregates-summary.label": "Aggregations",
- "AggregateOpEntry.field.label": "Field",
- "aggregate.desc": "Provides summary information on groups of records",
- "contiguous.label": "Keys are contiguous",
- "AggregateOpEntry.operations.label": "Aggregate Operations",
- "AggregateExprEntry.label": "Aggregate Expression",
- "inc_record_count.desc": "Select to include an extra field in each output record called Record_Count, by default. This field indicates how many input records were aggregated to form each aggregate record.",
- "AggregateOpEntry.operations.SDev.label": "Std. Deviation",
- "aggregate_keys.desc": "Lists fields that can be used as categories for aggregation. Both continuous (numeric) and categorical fields can be used as keys. If you choose more than one key field, the values will be combined to produce a key value for aggregating records.",
- "AggregateOpEntry.operations.Variance.label": "Variance",
- "aggregate_defaults.Median.label": "Median",
- "count_field.desc": "Create a custom name for this field by typing in the edit field.",
- "extension.desc": "Specify a suffix or prefix, such as '1' or 'new' to add to duplicate aggregated fields."
- }
- }
-}
diff --git a/canvas_modules/harness/test_resources/forms/cart.json b/canvas_modules/harness/test_resources/forms/cart.json
deleted file mode 100644
index 2c45f336c6..0000000000
--- a/canvas_modules/harness/test_resources/forms/cart.json
+++ /dev/null
@@ -1,343 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "cart",
- "label": "C&R Tree",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Fields",
- "group": "fields-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "fields-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "use-custom",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "custom_fields",
- "label": {
- "text": "Use custom fields"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "field-allocation",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "target",
- "label": {
- "text": "Target"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "inputs",
- "label": {
- "text": "Inputs"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Build Options",
- "group": "build-options",
- "content": {
- "itemType": "subTabs",
- "tabs": [
- {
- "text": "Basics",
- "group": "basics-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basics-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "max_depth",
- "label": {
- "text": "Max. depth"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Advanced",
- "group": "advanced-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "advanced-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "min_impurity",
- "label": {
- "text": "Minimum change in impurity"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "impurity_measure",
- "label": {
- "text": "Impurity measure for categorical targets"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Gini",
- "Twoing",
- "Ordered"
- ],
- "valueLabels": [
- "Gini",
- "Twoing",
- "Ordered"
- ]
- }
- }
- ]
- }
- }
- }
- ]
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "custom_fields": false,
- "min_impurity": "1.0E-4",
- "max_depth": 5,
- "annotation": "",
- "impurity_measure": "Gini",
- "inputs": [
- "Age",
- "Sex",
- "BP",
- "Cholesterol",
- "Na",
- "K",
- "Drug"
- ],
- "use_custom_name": false,
- "target": "",
- "custom_name": ""
- },
- "inputDataModel": {
- "columns": [
- {
- "name": "Age",
- "label": "",
- "storage": "Integer",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Sex",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "BP",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Cholesterol",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Na",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "K",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Drug",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id2N9TRVEAXC5",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id2N9TRVEAXC5"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/derive.json b/canvas_modules/harness/test_resources/forms/derive.json
deleted file mode 100644
index 6d967b5e88..0000000000
--- a/canvas_modules/harness/test_resources/forms/derive.json
+++ /dev/null
@@ -1,551 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "derive",
- "label": "Derive",
- "editorSize": "small",
- "help": {},
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "new_name",
- "label": {
- "text": "Derive field"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "formula_expr",
- "label": {
- "text": "Expression"
- },
- "controlType": "expression",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "formula_measure_type",
- "label": {
- "text": "Measurement"
- },
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "OrderedSet",
- "Typeless",
- "Collection",
- "Geospatial"
- ],
- "valueLabels": [
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "Ordered Set",
- "Typeless",
- "Collection",
- "Geospatial"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotation",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "conditions": [
- {
- "enabled": {
- "parameter_refs": [
- "new_name"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "formula_expr",
- "op": "notContains",
- "value": "!"
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "formula_expr"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "new_name",
- "op": "isNotEmpty"
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "annotation"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "custom_name",
- "op": "isNotEmpty"
- }
- }
- }
- },
- {
- "visible": {
- "parameter_refs": [
- "annotation"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "custom_name",
- "op": "isNotEmpty"
- }
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Either Measurement:Range is selected or Expression should contain '/'",
- "resource_key": "formula_expr_not_valid"
- },
- "focus_parameter_ref": "formula_expr"
- },
- "evaluate": {
- "or": [
- {
- "condition": {
- "parameter_ref": "formula_measure_type",
- "op": "contains",
- "value": "Range"
- }
- },
- {
- "condition": {
- "parameter_ref": "formula_expr",
- "op": "contains",
- "value": "/"
- }
- }
- ]
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Field cannot be empty nor contain \"quotes\"",
- "resource_key": "new_name"
- },
- "focus_parameter_ref": "new_name"
- },
- "evaluate": {
- "and": [
- {
- "condition": {
- "parameter_ref": "new_name",
- "op": "isNotEmpty"
- }
- },
- {
- "condition": {
- "parameter_ref": "new_name",
- "op": "notContains",
- "value": "\""
- }
- },
- {
- "condition": {
- "parameter_ref": "new_name",
- "op": "notContains",
- "value": "'"
- }
- }
- ]
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Field cannot contain \"quote(s)\"",
- "resource_key": "formula_expr"
- },
- "focus_parameter_ref": "formula_expr"
- },
- "evaluate": {
- "and": [
- {
- "condition": {
- "parameter_ref": "formula_expr",
- "op": "notContains",
- "value": "'"
- }
- },
- {
- "condition": {
- "parameter_ref": "formula_expr",
- "op": "notContains",
- "value": "\""
- }
- }
- ]
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Field cannot contain ttt",
- "resource_key": "formula_expr"
- },
- "focus_parameter_ref": "formula_expr"
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "formula_expr",
- "op": "notContains",
- "value": "ttt"
- }
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Field cannot be default",
- "resource_key": "formula_measure_type"
- },
- "focus_parameter_ref": "formula_measure_type"
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "formula_measure_type",
- "op": "notContains",
- "value": "Default"
- }
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Field cannot contain \"quotes\"",
- "resource_key": "custom_name"
- },
- "focus_parameter_ref": "custom_name"
- },
- "evaluate": {
- "and": [
- {
- "condition": {
- "parameter_ref": "custom_name",
- "op": "notContains",
- "value": "'"
- }
- },
- {
- "condition": {
- "parameter_ref": "custom_name",
- "op": "notContains",
- "value": "\""
- }
- }
- ]
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Field cannot be empty nor contain \"quotes\"",
- "resource_key": "annotation"
- },
- "focus_parameter_ref": "annotation"
- },
- "evaluate": {
- "and": [
- {
- "condition": {
- "parameter_ref": "annotation",
- "op": "isNotEmpty"
- }
- },
- {
- "condition": {
- "parameter_ref": "annotation",
- "op": "notContains",
- "value": "\""
- }
- },
- {
- "condition": {
- "parameter_ref": "annotation",
- "op": "notContains",
- "value": "'"
- }
- }
- ]
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "type": "warning",
- "message": {
- "default": "Annotation is empty when there is a custom name",
- "resource_key": "custom_name"
- },
- "focus_parameter_ref": "custom_name"
- },
- "evaluate": {
- "or": [
- {
- "condition": {
- "parameter_ref": "custom_name",
- "op": "isEmpty"
- }
- },
- {
- "and": [
- {
- "condition": {
- "parameter_ref": "custom_name",
- "op": "isNotEmpty"
- }
- },
- {
- "condition": {
- "parameter_ref": "annotation",
- "op": "isNotEmpty"
- }
- }
- ]
- }
- ]
- }
- }
- }
- ],
- "data": {
- "currentParameters": {
- "formula_measure_type": "Default",
- "annotation": "",
- "new_name": "Na_to_K",
- "formula_expr": "Na/K",
- "use_custom_name": false,
- "custom_name": "Na_to_K"
- },
- "datasetMetadata": {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id2PZSCTRPRIJ",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id2PZSCTRPRIJ"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/featureselection.json b/canvas_modules/harness/test_resources/forms/featureselection.json
deleted file mode 100644
index 3b3d60b792..0000000000
--- a/canvas_modules/harness/test_resources/forms/featureselection.json
+++ /dev/null
@@ -1,437 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "featureselection",
- "label": "Feature Selection",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Fields",
- "group": "fields-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "fields-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "use-custom",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "custom_fields",
- "label": {
- "text": "Use custom fields"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "field-allocation",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "target",
- "label": {
- "text": "Target"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "inputs",
- "label": {
- "text": "Inputs"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "partition",
- "label": {
- "text": "Partition"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Build Options",
- "group": "build-options",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "build-options",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "screen_missing_values",
- "label": {
- "text": "Screen max. percentage of missing values"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "max_missing_values",
- "label": {
- "text": "Max. percentage of missing values"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "screen_single_category",
- "label": {
- "text": "Screen max. percentage with single category"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "max_single_category",
- "label": {
- "text": "Max. percentage with single category"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "screen_num_categories",
- "label": {
- "text": "Screen max. percentage of a single category"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "max_num_categories",
- "label": {
- "text": "Max. percentage of a single category"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "screen_coeff_of_var",
- "label": {
- "text": "Screen min. coefficient of variation"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "min_coeff_of_var",
- "label": {
- "text": "Min. coefficient of variation"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "screen_std_dev",
- "label": {
- "text": "Screen min. standard deviation"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "min_std_dev",
- "label": {
- "text": "Min. standard deviation"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "custom_fields": false,
- "screen_std_dev": true,
- "min_std_dev": 0.0,
- "screen_missing_values": true,
- "max_missing_values": 70.0,
- "partition": "",
- "annotation": "",
- "min_coeff_of_var": 0.1,
- "screen_coeff_of_var": true,
- "max_single_category": 90.0,
- "inputs": [],
- "screen_num_categories": true,
- "use_custom_name": false,
- "max_num_categories": 95.0,
- "target": "",
- "screen_single_category": true,
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": [
- {
- "name": "Age",
- "label": "",
- "storage": "Integer",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Sex",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "BP",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Cholesterol",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Na",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "K",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Drug",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id2X7SSLWQEJL",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id2X7SSLWQEJL"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/filler.json b/canvas_modules/harness/test_resources/forms/filler.json
deleted file mode 100644
index a41e7acd64..0000000000
--- a/canvas_modules/harness/test_resources/forms/filler.json
+++ /dev/null
@@ -1,331 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "filler",
- "label": "Filler",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "fields",
- "label": {
- "text": "Fill in fields"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "replace_mode",
- "label": {
- "text": "Replace"
- },
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Conditional",
- "Always",
- "Blank",
- "Null",
- "BlankAndNull"
- ],
- "valueLabels": [
- "Based on condition",
- "Always",
- "Blank values",
- "Null values",
- "Blank and null values"
- ]
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "condition",
- "label": {
- "text": "Condition"
- },
- "controlType": "expression",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "replace_with",
- "label": {
- "text": "Replace with"
- },
- "controlType": "expression",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "conditions": [
- {
- "validation": {
- "fail_message": {
- "type": "error",
- "message": {
- "default": "Expression cannot contain help"
- },
- "focus_parameter_ref": "condition"
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "condition",
- "op": "customSyntaxCheck"
- }
- }
- }
- }
- ],
- "data": {
- "currentParameters": {
- "annotation": "",
- "replace_mode": "Conditional",
- "replace_with": 0,
- "condition": "@BLANK(@FIELD)",
- "fields": [
- "Sex",
- "BP"
- ],
- "use_custom_name": false,
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input",
- "range": {
- "min": 21,
- "max": 55
- }
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input",
- "values": [
- "male",
- "female",
- "not specified"
- ]
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input",
- "values": [
- "very high",
- "high",
- "normal",
- "low",
- "very low"
- ]
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input",
- "values": [
- "hdl good",
- "hdl bad",
- "ldl good",
- "ldl bad"
- ]
- }
- },
- {
- "name": "Na",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input",
- "range": {
- "min": -0.5,
- "max": 1
- }
- }
- },
- {
- "name": "K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input",
- "range": {
- "min": -1.5,
- "max": 0.5
- }
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input",
- "values": [
- "Bumetanide",
- "Chlorthalidone",
- "Chlorothiazide",
- "Ethacrynate",
- "Furosemide",
- "Hydrochlorothiazide",
- "Indapamide",
- "Methyclothiazide",
- "Metolazone",
- "Torsemide"
- ]
- }
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id4BESVRC4LTA",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id4BESVRC4LTA"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/filter.json b/canvas_modules/harness/test_resources/forms/filter.json
deleted file mode 100644
index 3e460a57b8..0000000000
--- a/canvas_modules/harness/test_resources/forms/filter.json
+++ /dev/null
@@ -1,951 +0,0 @@
-{
- "formData": {
- "componentId": "filter",
- "label": "Discard Fields",
- "editorSize": "small",
- "help": {
- "data": {
- "url": "filter.html",
- "title": "Filter"
- }
- },
- "uiItems": [
- {
- "id": "form-primary-tabs",
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Filter",
- "group": "filter-settings",
- "content": {
- "id": "filter-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "filter-settings",
- "panelType": "general",
- "label": "Filter",
- "uiItems": [
- {
- "id": "other-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "other-settings",
- "panelType": "general",
- "uiItems": [
- {
- "id": "default_include-uiitem",
- "itemType": "control",
- "control": {
- "name": "default_include",
- "visible": true,
- "description": {
- "text": "Specify whether the fields selected in this node are removed from the dataset (Filter), or are kept and all unselected fields are removed (Retain)."
- },
- "separateLabel": true,
- "label": {
- "text": "Mode"
- },
- "language": "CLEM",
- "orientation": "vertical",
- "values": [
- "true",
- "false"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "Filter the selected fields",
- "Retain the selected fields (all other fields are filtered)"
- ],
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "filter-operations-panel-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "filter-operations-panel",
- "panelType": "twisty",
- "label": "Filter Options",
- "uiItems": [
- {
- "id": "actions1-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions1",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "toggleAllFields-uiitem",
- "itemType": "action",
- "action": {
- "name": "toggleAllFields",
- "label": {
- "text": "Toggle All Fields"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "actions2-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions2",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "includeAllFields-uiitem",
- "itemType": "action",
- "action": {
- "name": "includeAllFields",
- "label": {
- "text": "Include All Fields"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "actions3-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions3",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "removeAllFields-uiitem",
- "itemType": "action",
- "action": {
- "name": "removeAllFields",
- "label": {
- "text": "Remove All Fields"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "actions4-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions4",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "removeDuplicates-uiitem",
- "itemType": "action",
- "action": {
- "name": "removeDuplicates",
- "label": {
- "text": "Remove Duplicates"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": "data-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "data-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "selected_fields-uiitem",
- "itemType": "control",
- "control": {
- "name": "selected_fields",
- "role": "column",
- "visible": true,
- "description": {
- "text": "Fields added to this list will either be filtered or retained based on the mode selected."
- },
- "separateLabel": true,
- "label": {
- "text": "Select Fields"
- },
- "language": "CLEM",
- "controlType": "selectcolumns",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "custom-filter-summary-panel-uiitem",
- "itemType": "customPanel",
- "panel": {
- "id": "custom-filter-summary-panel",
- "panelType": "custom",
- "uiItems": [],
- "parameters": [
- "filterSummaryValue"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Rename",
- "group": "rename-settings",
- "content": {
- "id": "rename-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "rename-settings",
- "panelType": "general",
- "label": "Rename",
- "uiItems": [
- {
- "id": "rename-operations-panel-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "rename-operations-panel",
- "panelType": "twisty",
- "label": "Rename Options",
- "uiItems": [
- {
- "id": "actions5-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions5",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "renameDuplicates-uiitem",
- "itemType": "action",
- "action": {
- "name": "renameDuplicates",
- "label": {
- "text": "Rename Duplicates"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "actions9-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions9",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "useInputFieldNames-uiitem",
- "itemType": "action",
- "action": {
- "name": "useInputFieldNames",
- "label": {
- "text": "Use Input Field Names"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "truncate-operations-setting-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "truncate-operations-setting",
- "panelType": "general",
- "uiItems": [
- {
- "id": "truncate_max-uiitem-separator-before",
- "itemType": "hSeparator"
- },
- {
- "id": "truncate_max-uiitem",
- "itemType": "control",
- "control": {
- "name": "truncate_max",
- "visible": true,
- "description": {
- "text": "Specify a number of characters to limit the length of field names."
- },
- "separateLabel": true,
- "label": {
- "text": "Maximum length"
- },
- "language": "CLEM",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": 8
- },
- "labelVisible": true
- }
- },
- {
- "id": "truncate_num_digits-uiitem",
- "itemType": "control",
- "control": {
- "name": "truncate_num_digits",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Number of digits"
- },
- "language": "CLEM",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": 3
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "actions7-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions7",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "truncateFieldNames-uiitem",
- "itemType": "action",
- "action": {
- "name": "truncateFieldNames",
- "label": {
- "text": "Truncate Field Names"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name",
- "truncate_max",
- "truncate_num_digits"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "truncate-operations-setting-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "truncate-operations-setting",
- "panelType": "general",
- "uiItems": [
- {
- "id": "anonymize_name-uiitem-separator-before",
- "itemType": "hSeparator"
- },
- {
- "id": "anonymize_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "anonymize_name",
- "visible": true,
- "description": {
- "text": " Choose 'Selected fields only' option to anonymize only the names of fields already selected on the Filter tab. The default is 'All fields' option, which anonymizes all field names."
- },
- "separateLabel": true,
- "label": {
- "text": "Anonymize names of"
- },
- "language": "CLEM",
- "values": [
- "all",
- "selected"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "All fields",
- "Selected fields only"
- ],
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "all"
- },
- "labelVisible": true
- }
- },
- {
- "id": "name_prefix-uiitem",
- "itemType": "control",
- "control": {
- "name": "name_prefix",
- "visible": true,
- "description": {
- "text": "The default prefix for anonymized field names is 'anon_'; choose 'Custom' and type your own prefix if you want a different one."
- },
- "separateLabel": true,
- "label": {
- "text": "Field names prefix"
- },
- "language": "CLEM",
- "values": [
- "auto",
- "custom"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "Auto",
- "Custom"
- ],
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "auto"
- },
- "labelVisible": true
- }
- },
- {
- "id": "name_prefix_custom-uiitem",
- "itemType": "control",
- "control": {
- "name": "name_prefix_custom",
- "visible": true,
- "description": {
- "text": "name_prefix_custom.desc"
- },
- "separateLabel": false,
- "label": {
- "text": "name_prefix_custom.label"
- },
- "language": "CLEM",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "anon_"
- },
- "labelVisible": false
- }
- }
- ]
- }
- },
- {
- "id": "actions8-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions8",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "anonymizeFieldNames-uiitem",
- "itemType": "action",
- "action": {
- "name": "anonymizeFieldNames",
- "label": {
- "text": "Anonymize Field Names"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "selected_fields",
- "new_name",
- "anonymize_name",
- "name_prefix",
- "name_prefix_custom"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "filterops"
- }
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": "rename-settings-field-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "rename-settings-field",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "new_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "new_name",
- "visible": true,
- "description": {
- "text": "Add fields to this list to rename them."
- },
- "separateLabel": true,
- "label": {
- "text": "Rename Fields"
- },
- "defaultRow": [
- ""
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 22,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "new_name",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "New Name"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "controlType": "textfield",
- "required": true,
- "width": 22,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "custom-rename-summary-panel-uiitem",
- "itemType": "customPanel",
- "panel": {
- "id": "custom-rename-summary-panel",
- "panelType": "custom",
- "uiItems": [],
- "parameters": [
- "renameSummaryValue"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "id": "annotations-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "id": "use_custom_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "visible": true,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Custom name"
- },
- "language": "CLEM",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "custom_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": ""
- },
- "language": "CLEM",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "annotation-uiitem",
- "itemType": "control",
- "control": {
- "name": "annotation",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Annotation"
- },
- "language": "CLEM",
- "controlType": "textarea",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "conditions": [
- {
- "enabled": {
- "parameter_refs": [
- "name_prefix_custom"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "name_prefix",
- "op": "equals",
- "value": "custom"
- }
- }
- }
- },
- {
- "validation": {
- "fail_message": {
- "focus_parameter_ref": "RenameFieldEntry.new_name",
- "message": {
- "default": "The rename field entry value cannot be empty",
- "resource_key": "rename_field_entry_new_name_not_empty"
- },
- "type": "error"
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "RenameFieldEntry.new_name",
- "op": "isNotEmpty"
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "custom_name"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "use_custom_name",
- "op": "equals",
- "value": true
- }
- }
- }
- }
- ],
- "data": {
- "currentParameters": {
- "annotation": "",
- "new_name": [],
- "default_include": "true",
- "selected_fields": [
- "K",
- "Na"
- ],
- "use_custom_name": true,
- "custom_name": "Discard Fields"
- },
- "datasetMetadata": [
- {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na_to_K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- }
- ]
- }
- ]
- },
- "resources": {
- "renameSummary_renamed_label": "renamed",
- "toggleAllFields.label": "Toggle All Fields",
- "renameDuplicates.label": "Rename Duplicates",
- "filter.renameFields.desc": "Add fields to this list to rename them.",
- "truncateFieldNames.label": "Truncate Field Names",
- "RenameFieldEntry.field.label": "Field",
- "filterSummary_in_label": "in",
- "useInputFieldNames.label": "Use Input Field Names",
- "Fields_label": "Fields",
- "truncate_max.label": "Maximum length",
- "anonymize_name.all.label": "All fields",
- "rename-operations-panel.label": "Rename Options",
- "renameSummary_in_label": "in",
- "filterSummary_out_label": "out",
- "RenameFieldEntry.new_name.label": "New Name",
- "filterSummary_filtered_label": "filtered",
- "filter-operations-panel.label": "Filter Options",
- "renameSummary_change_label": "no change",
- "filter.desc": "Renames and drops fields from the data set",
- "filter.selectFields.desc": "Fields added to this list will either be filtered or retained based on the mode selected.",
- "truncate_num_digits.label": "Number of digits",
- "anonymize_name.desc": " Choose 'Selected fields only' option to anonymize only the names of fields already selected on the Filter tab. The default is 'All fields' option, which anonymizes all field names.",
- "name_prefix.custom.label": "Custom",
- "replace_invalid_cha.label": "Replace invalid characters with",
- "replace_invalid_cha.hash.label": "Hash('#')",
- "name_prefix.auto.label": "Auto",
- "renameStats.label": "Rename For IBM SPSS Statistics",
- "anonymize_multi_response.label": "Anonymize multi response sets",
- "RenameFieldEntry.label": "Rename",
- "anonymize_name.label": "Anonymize names of",
- "filter.selectFields.label": "Select Fields",
- "basic-settings.label": "Settings",
- "name_prefix.label": "Field names prefix",
- "truncate_max.desc": "Specify a number of characters to limit the length of field names.",
- "anonymize_name.selected.label": "Selected fields only",
- "filter.defaultInclude.desc": "Specify whether the fields selected in this node are removed from the dataset (Filter), or are kept and all unselected fields are removed (Retain).",
- "rename_field_entry_new_name_not_empty": "The rename field entry value cannot be empty",
- "includeAllFields.label": "Include All Fields",
- "replace_invalid_cha.under_score.label": "Underscore('_')",
- "filter.renameFields.label": "Rename Fields",
- "filter.label": "Filter",
- "filter.defaultInclude.true.label": "Filter the selected fields",
- "filter.defaultInclude.false.label": "Retain the selected fields (all other fields are filtered)",
- "removeDuplicates.label": "Remove Duplicates",
- "removeAllFields.label": "Remove All Fields",
- "rename_multi_response.label": "Rename multi response sets",
- "name_prefix.desc": "The default prefix for anonymized field names is 'anon_'; choose 'Custom' and type your own prefix if you want a different one.",
- "anonymizeFieldNames.label": "Anonymize Field Names",
- "filter.defaultInclude.label": "Mode",
- "filter-settings.label": "Filter",
- "rename-settings.label": "Rename"
- }
- }
-}
diff --git a/canvas_modules/harness/test_resources/forms/histogram.json b/canvas_modules/harness/test_resources/forms/histogram.json
deleted file mode 100644
index cfc4a9a5d7..0000000000
--- a/canvas_modules/harness/test_resources/forms/histogram.json
+++ /dev/null
@@ -1,252 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "histogram",
- "label": "Histogram",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Plot",
- "group": "plot-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "plot-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "field",
- "label": {
- "text": "Field (continuous)"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "color_field",
- "label": {
- "text": "Color (discrete)"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "panel_field",
- "label": {
- "text": "Panel (discrete)"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Appearance",
- "group": "appearance-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "appearance-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "title",
- "label": {
- "text": "Title"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "subtitle",
- "label": {
- "text": "Subtitle"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "caption",
- "label": {
- "text": "Caption"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "use_grid",
- "label": {
- "text": "Display gridline"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "color_field": "",
- "subtitle": "",
- "field": "",
- "annotation": "",
- "panel_field": "",
- "use_grid": true,
- "caption": "",
- "use_custom_name": false,
- "title": "",
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id5JJU3MCD9IM",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id5JJU3MCD9IM"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/merge.json b/canvas_modules/harness/test_resources/forms/merge.json
deleted file mode 100644
index c16959ca89..0000000000
--- a/canvas_modules/harness/test_resources/forms/merge.json
+++ /dev/null
@@ -1,340 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "merge",
- "label": "Merge",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "method-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "method",
- "label": {
- "text": "Merge method"
- },
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Order",
- "Keys",
- "Condition",
- "Gtt"
- ],
- "valueLabels": [
- "Order",
- "Keys",
- "Condition",
- "Ranked condition"
- ]
- }
- }
- ]
- }
- },
- {
- "itemType": "panelSelector",
- "tabs": [
- {
- "text": "Order.label",
- "group": "Order",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "Order",
- "panelType": "general",
- "uiItems": []
- }
- }
- },
- {
- "text": "Keys.label",
- "group": "Keys",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "Keys",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "key-allocation-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "key_fields",
- "label": {
- "text": "Keys"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- }
- ]
- }
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "common-keys-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "common_keys",
- "label": {
- "text": "Combine duplicate key fields"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Condition.label",
- "group": "Condition",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "Condition",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "rename_duplicate_fields",
- "label": {
- "text": "Add tags to duplicate fields to avoid merge conflicts"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "condition",
- "label": {
- "text": "Condition"
- },
- "controlType": "expression",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Gtt.label",
- "group": "Gtt",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "Gtt",
- "panelType": "general",
- "uiItems": []
- }
- }
- }
- ],
- "dependsOn": "method"
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "join-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "join",
- "label": {
- "text": "Join"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Inner",
- "FullOuter",
- "PartialOuter",
- "Anti"
- ],
- "valueLabels": [
- "Inner join",
- "Full outer join",
- "Partial outer join",
- "Anti-join"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "method": "Order",
- "join": "Inner",
- "annotation": "",
- "common_keys": true,
- "condition": "",
- "rename_duplicate_fields": true,
- "use_custom_name": false,
- "custom_name": "",
- "key_fields": []
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id7ZLSY6QSLUB",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id7ZLSY6QSLUB"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/multiplot.json b/canvas_modules/harness/test_resources/forms/multiplot.json
deleted file mode 100644
index 5769043b8f..0000000000
--- a/canvas_modules/harness/test_resources/forms/multiplot.json
+++ /dev/null
@@ -1,344 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "multiplot",
- "label": "Multiplot",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Plot",
- "group": "plot-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "plot-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "x_field",
- "label": {
- "text": "X field (continuous)"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "y_fields",
- "label": {
- "text": "Y fields (continuous)"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "panel_field",
- "label": {
- "text": "Panel (discrete)"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "normalize",
- "label": {
- "text": "Normalize"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "use_overlay_expr",
- "label": {
- "text": "Create overlay?"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "overlay_expression",
- "label": {
- "text": "Overlay: y = "
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "records_limit",
- "label": {
- "text": "Record count limit"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "if_over_limit",
- "label": {
- "text": "When limit is exceeded"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "PlotBins",
- "PlotSample",
- "PlotAll"
- ],
- "valueLabels": [
- "Bin",
- "Sample",
- "Use all data"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Appearance",
- "group": "appearance-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "appearance-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "title",
- "label": {
- "text": "Title"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "subtitle",
- "label": {
- "text": "Subtitle"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "caption",
- "label": {
- "text": "Caption"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "use_grid",
- "label": {
- "text": "Display gridline"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "if_over_limit": "PlotBins",
- "subtitle": "",
- "normalize": false,
- "overlay_expression": "",
- "annotation": "",
- "records_limit": 2000,
- "panel_field": "",
- "x_field": "",
- "use_grid": true,
- "caption": "",
- "use_custom_name": false,
- "title": "",
- "y_fields": [],
- "use_overlay_expr": false,
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id6KWSEP9GRM3",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id6KWSEP9GRM3"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/neuralnetwork.json b/canvas_modules/harness/test_resources/forms/neuralnetwork.json
deleted file mode 100644
index 1f1d3dee5a..0000000000
--- a/canvas_modules/harness/test_resources/forms/neuralnetwork.json
+++ /dev/null
@@ -1,325 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "neuralnetwork",
- "label": "Neural Net",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Fields",
- "group": "fields-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "fields-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "use-custom",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "custom_fields",
- "label": {
- "text": "Use custom fields"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "field-allocation",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "targets",
- "label": {
- "text": "Targets"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "inputs",
- "label": {
- "text": "Inputs"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Build Options",
- "group": "build-options",
- "content": {
- "itemType": "subTabs",
- "tabs": [
- {
- "text": "Basics",
- "group": "basics-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basics-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "method",
- "label": {
- "text": "Neural net type"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "multilayerPerceptron",
- "radialBasisFunction"
- ],
- "valueLabels": [
- "Multilayer Perceptron (MLP)",
- "Radial Basis Function (RBF)"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Advanced",
- "group": "advanced-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "advanced-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "overfit_prevention_pct",
- "label": {
- "text": "Overfit prevention set (%)"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "method": "multilayerPerceptron",
- "custom_fields": false,
- "targets": [],
- "annotation": "",
- "inputs": [
- "Age",
- "Sex",
- "BP",
- "Cholesterol",
- "Na",
- "K",
- "Drug"
- ],
- "use_custom_name": false,
- "overfit_prevention_pct": 30.0,
- "custom_name": ""
- },
- "inputDataModel": {
- "columns": [
- {
- "name": "Age",
- "label": "",
- "storage": "Integer",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Sex",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "BP",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Cholesterol",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Na",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "K",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Drug",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id7XGU98GP86F",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id7XGU98GP86F"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/randomtrees.json b/canvas_modules/harness/test_resources/forms/randomtrees.json
deleted file mode 100644
index 76f4a09966..0000000000
--- a/canvas_modules/harness/test_resources/forms/randomtrees.json
+++ /dev/null
@@ -1,356 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "randomtrees",
- "label": "Random Trees",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Fields",
- "group": "fields-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "fields-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "use-custom",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "custom_fields",
- "label": {
- "text": "Use custom fields"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "field-allocation",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "target",
- "label": {
- "text": "Target"
- },
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "inputs",
- "label": {
- "text": "Inputs"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Build Options",
- "group": "build-options",
- "content": {
- "itemType": "subTabs",
- "tabs": [
- {
- "text": "Basics",
- "group": "basics-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basics-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "number_of_models",
- "label": {
- "text": "Number of models to build"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "sample_size",
- "label": {
- "text": "Sample size"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "max_node_number",
- "label": {
- "text": "Max number of nodes"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "max_depth",
- "label": {
- "text": "Max. depth"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "min_child_node_size",
- "label": {
- "text": "Minimum child node size"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Advanced",
- "group": "advanced-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "advanced-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "max_pct_missing",
- "label": {
- "text": "Max percentage of missing values"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "exclude_single_cat_pct",
- "label": {
- "text": "Exclude fields with a single category majority (%)"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "max_category_number",
- "label": {
- "text": "Max number of field categories"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "custom_fields": false,
- "max_node_number": 10000,
- "number_of_models": 100,
- "exclude_single_cat_pct": 95,
- "max_pct_missing": 70,
- "max_depth": 10,
- "annotation": "",
- "sample_size": 1,
- "max_category_number": 49,
- "inputs": [],
- "use_custom_name": false,
- "target": "",
- "custom_name": "",
- "min_child_node_size": 5
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id1Z2TZUEHW2W",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id1Z2TZUEHW2W"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/reorder.json b/canvas_modules/harness/test_resources/forms/reorder.json
deleted file mode 100644
index e4a8a0ce59..0000000000
--- a/canvas_modules/harness/test_resources/forms/reorder.json
+++ /dev/null
@@ -1,315 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "reorder",
- "label": "Field Reorder",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "panel",
- "panel": {
- "id": "mode-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "mode",
- "label": {
- "text": "Mode"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Custom",
- "Auto"
- ],
- "valueLabels": [
- "Custom order",
- "Automatic sort"
- ]
- }
- }
- ]
- }
- },
- {
- "itemType": "panelSelector",
- "tabs": [
- {
- "text": "Custom.label",
- "group": "Custom",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "Custom",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "start_fields",
- "label": {
- "text": "Fields appearing at the start"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "end_fields",
- "label": {
- "text": "Fields appearing at the end"
- },
- "controlType": "selectcolumns",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Auto.label",
- "group": "Auto",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "Auto",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "sort_by",
- "label": {
- "text": "Sort by"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Name",
- "Type",
- "Storage"
- ],
- "valueLabels": [
- "Name",
- "Type",
- "Storage"
- ]
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "ascending",
- "label": {
- "text": "Ascending?"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ],
- "dependsOn": "mode"
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "end_fields": [],
- "annotation": "",
- "sort_by": "Name",
- "start_fields": [],
- "ascending": true,
- "use_custom_name": false,
- "mode": "Custom",
- "custom_name": ""
- },
- "inputDataModel": {
- "columns": [
- {
- "name": "Age",
- "label": "",
- "storage": "Integer",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Sex",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "BP",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Cholesterol",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- },
- {
- "name": "Na",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "K",
- "label": "",
- "storage": "Real",
- "measure": "Range",
- "modelingRole": "Input"
- },
- {
- "name": "Drug",
- "label": "",
- "storage": "String",
- "measure": "Discrete",
- "modelingRole": "Input"
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "idUDSKKIJGSU",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/idUDSKKIJGSU"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/sample.json b/canvas_modules/harness/test_resources/forms/sample.json
deleted file mode 100644
index bff711e4d8..0000000000
--- a/canvas_modules/harness/test_resources/forms/sample.json
+++ /dev/null
@@ -1,315 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "sample",
- "label": "Sample",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "mode",
- "label": {
- "text": "Mode"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "orientation": "horizontal",
- "values": [
- "Include",
- "Discard"
- ],
- "valueLabels": [
- "Include",
- "Discard"
- ]
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "sample_type",
- "label": {
- "text": "Sample"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "orientation": "horizontal",
- "values": [
- "First",
- "OneInN",
- "RandomPct"
- ],
- "valueLabels": [
- "First n",
- "One in n",
- "Random %"
- ]
- }
- },
- {
- "itemType": "panelSelector",
- "tabs": [
- {
- "text": "First.label",
- "group": "First",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "First",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "first_n",
- "label": {
- "text": "First n value"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "OneInN.label",
- "group": "OneInN",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "OneInN",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "one_in_n",
- "label": {
- "text": "One in n value"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "RandomPct.label",
- "group": "RandomPct",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "RandomPct",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "rand_pct",
- "label": {
- "text": "Random % value"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "double",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ],
- "dependsOn": "sample_type"
- },
- {
- "itemType": "panel",
- "panel": {
- "id": "size-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "hSeparator"
- },
- {
- "itemType": "control",
- "control": {
- "name": "use_max_size",
- "label": {
- "text": "Use maximum sample size"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "maximum_size",
- "label": {
- "text": "Maximum sample size"
- },
- "controlType": "numberfield",
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "sample_type": "First",
- "maximum_size": 10000,
- "annotation": "",
- "use_max_size": false,
- "one_in_n": 2,
- "first_n": 10000,
- "use_custom_name": false,
- "mode": "Include",
- "rand_pct": 50.0,
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id6BBU7YQDM5I",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id6BBU7YQDM5I"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/sort.json b/canvas_modules/harness/test_resources/forms/sort.json
deleted file mode 100644
index 0aa722dbc9..0000000000
--- a/canvas_modules/harness/test_resources/forms/sort.json
+++ /dev/null
@@ -1,318 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "sort",
- "label": "Sort",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "keys",
- "label": {
- "text": "Sort by"
- },
- "controlType": "structuretable",
- "valueDef": {
- "propType": "structure",
- "isList": true,
- "isMap": false
- },
- "subControls": [
- {
- "name": "field",
- "label": {
- "text": "Field"
- },
- "visible": true,
- "width": 28,
- "controlType": "selectcolumn",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "role": "column"
- },
- {
- "name": "sort_order",
- "label": {
- "text": "Order"
- },
- "visible": true,
- "width": 16,
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Ascending",
- "Descending"
- ],
- "valueLabels": [
- "Ascending",
- "Descending"
- ]
- }
- ],
- "keyIndex": 0,
- "defaultRow": [
- "",
- "Ascending"
- ],
- "childItem": {
- "itemType": "additionalLink",
- "panel": {
- "id": "SortEntry",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "sort_order",
- "label": {
- "text": "Order"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Ascending",
- "Descending"
- ],
- "valueLabels": [
- "Ascending",
- "Descending"
- ]
- }
- }
- ]
- },
- "text": "...",
- "secondaryText": "Sort"
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "annotation": "",
- "use_custom_name": false,
- "custom_name": "",
- "keys": [
- [
- "Na",
- "Ascending"
- ],
- [
- "Drug",
- "Descending"
- ],
- [
- "Sex",
- "Ascending"
- ],
- [
- "Age",
- "Descending"
- ],
- [
- "BP",
- "Ascending"
- ],
- [
- "Cholesterol",
- "Ascending"
- ]
- ]
- },
- "datasetMetadata": {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na_to_K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id4JBTXCW9LBR",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id4JBTXCW9LBR"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/table.json b/canvas_modules/harness/test_resources/forms/table.json
deleted file mode 100644
index b3df518c94..0000000000
--- a/canvas_modules/harness/test_resources/forms/table.json
+++ /dev/null
@@ -1,206 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "table",
- "label": "Table",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "highlight_expr",
- "label": {
- "text": "Highlight records where"
- },
- "controlType": "expression",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "annotation": "",
- "use_custom_name": false,
- "highlight_expr": "",
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Na",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "K",
- "type": "double",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- }
- ]
- }
- }
- },
- "appData": {
- "nodeId": "id1M7UZZTCRMA",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id1M7UZZTCRMA"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/type.json b/canvas_modules/harness/test_resources/forms/type.json
deleted file mode 100644
index f4932127f6..0000000000
--- a/canvas_modules/harness/test_resources/forms/type.json
+++ /dev/null
@@ -1,3628 +0,0 @@
-{
- "formData": {
- "componentId": "type",
- "label": "Define Types",
- "editorSize": "large",
- "help": {
- "data": {
- "url": "type.html",
- "title": "Type"
- }
- },
- "uiItems": [
- {
- "id": "form-primary-tabs",
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "id": "basic-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "label": "Settings",
- "uiItems": [
- {
- "id": "other-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "other-settings",
- "panelType": "general",
- "uiItems": [
- {
- "id": "default_value_mode-uiitem",
- "itemType": "control",
- "control": {
- "name": "default_value_mode",
- "visible": true,
- "description": {
- "text": "Using the View unused field settings option, you can view type settings for fields that are no longer present in the data or were once connected to this Type node. This is useful when reusing a Type node for datasets that have changed."
- },
- "separateLabel": true,
- "label": {
- "text": "Default Mode"
- },
- "language": "CLEM",
- "values": [
- "Read",
- "Pass"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "Read metadata",
- "Pass (do not scan)"
- ],
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Read"
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "type-operations-panel-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "type-operations-panel",
- "panelType": "twisty",
- "label": "Type Operations",
- "uiItems": [
- {
- "id": "type-operations-setting-panel1-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "type-operations-setting-panel1",
- "panelType": "general",
- "uiItems": []
- }
- },
- {
- "id": "actions1-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions1",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "typeops_apply_uniquefield-uiitem",
- "itemType": "action",
- "action": {
- "name": "typeops_apply_uniquefield",
- "label": {
- "text": "Set unique fields to None"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": "metadata_all",
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "typeops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "type-operations-setting-panel2-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "type-operations-setting-panel2",
- "panelType": "general",
- "uiItems": [
- {
- "id": "sets_larger_than-uiitem",
- "itemType": "control",
- "control": {
- "name": "sets_larger_than",
- "visible": true,
- "description": {
- "text": "You can choose to Ignore Large Sets once a Type node has been instantiated. Ignoring large sets will automatically ignore sets with a large number of members."
- },
- "separateLabel": true,
- "label": {
- "text": "Set categorical fields to None if they exceed this many values"
- },
- "language": "CLEM",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": 50
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "actions2-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions2",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "typeops_apply_largeset-uiitem",
- "itemType": "action",
- "action": {
- "name": "typeops_apply_largeset",
- "label": {
- "text": "Apply"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": "metadata_all",
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "typeops"
- }
- }
- }
- ]
- }
- },
- {
- "id": "type-operations-setting-panel3-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "type-operations-setting-panel3",
- "panelType": "general",
- "uiItems": [
- {
- "id": "continuous_to_ordinal_range-uiitem",
- "itemType": "control",
- "control": {
- "name": "continuous_to_ordinal_range",
- "visible": true,
- "description": {
- "text": "You can choose to Convert Continuous Integers To Ordinal once a Type node has been instantiated. See the topic Converting Continuous Data for more information."
- },
- "separateLabel": true,
- "label": {
- "text": "Set continuous integer field to ordinal if range less than or equal to"
- },
- "language": "CLEM",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": 10
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "actions3-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions3",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "typeops_apply_continuous_to_ordinal-uiitem",
- "itemType": "action",
- "action": {
- "name": "typeops_apply_continuous_to_ordinal",
- "label": {
- "text": "Apply"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": "metadata_all",
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "typeops"
- }
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": "settings-summary-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "settings-summary",
- "panelType": "general",
- "label": "Configure Types",
- "uiItems": [
- {
- "id": "actions-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "actions",
- "panelType": "actionPanel",
- "uiItems": [
- {
- "id": "readValues-uiitem",
- "itemType": "action",
- "action": {
- "name": "readValues",
- "label": {
- "text": "Read Values"
- },
- "actionType": "button",
- "data": {
- "async": true,
- "action_type": "task",
- "action_sub_type": "partialExecute",
- "parameters": [],
- "settings": {},
- "return_type": "editor_data"
- }
- }
- },
- {
- "id": "clearAllValues-uiitem",
- "itemType": "action",
- "action": {
- "name": "clearAllValues",
- "label": {
- "text": "Clear All Values"
- },
- "actionType": "button",
- "data": {
- "parameter_ref": [
- "metadata_all"
- ],
- "action_type": "common-canvas-custom-action",
- "action_sub_type": "clearallvalues"
- }
- }
- }
- ]
- }
- },
- {
- "id": "type-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "type-settings",
- "panelType": "columnSelection",
- "label": "Field Definition",
- "uiItems": [
- {
- "id": "metadata_all-uiitem",
- "itemType": "control",
- "control": {
- "name": "metadata_all",
- "visible": true,
- "childItem": {
- "id": "metadata_all-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "TypeEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "measure_type-uiitem",
- "itemType": "control",
- "control": {
- "name": "measure_type",
- "sortable": true,
- "visible": true,
- "description": {
- "text": "This is the measurement level, used to describe characteristics of the data in a given field."
- },
- "separateLabel": true,
- "label": {
- "text": "Measure"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "Default",
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "OrderedSet",
- "Typeless"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Default",
- "Continuous",
- "Categorical",
- "Flag",
- "Nominal",
- "Ordinal",
- "Typeless"
- ],
- "width": 30,
- "filterable": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Default"
- },
- "labelVisible": true
- }
- },
- {
- "id": "role-uiitem",
- "itemType": "control",
- "control": {
- "name": "role",
- "sortable": true,
- "visible": true,
- "description": {
- "text": "Role Used to tell modeling nodes whether fields will be Input (predictor fields) or Target (predicted fields) for a machine-learning process. Both and None are also available roles, along with Partition, which indicates a field used to partition records into separate samples for training, testing, and validation."
- },
- "separateLabel": true,
- "label": {
- "text": "Role"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "Input",
- "Target",
- "Both",
- "None",
- "Partition",
- "Split",
- "Frequency",
- "RecordID"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Input",
- "Target",
- "Both",
- "None",
- "Partition",
- "Split",
- "Frequency",
- "Record ID"
- ],
- "width": 25,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Input"
- },
- "labelVisible": true
- }
- },
- {
- "id": "value_mode-uiitem",
- "itemType": "control",
- "control": {
- "name": "value_mode",
- "sortable": false,
- "visible": true,
- "description": {
- "text": "Enables you to specify options for reading data values from the data set, or use the Specify option to specify measurement levels and values "
- },
- "separateLabel": true,
- "label": {
- "text": "Value mode"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "Read",
- "Pass",
- "Specify",
- "Read+",
- "Current"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Read",
- "Pass",
- "Specify",
- "Extend",
- "Current"
- ],
- "width": 28,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Read"
- },
- "labelVisible": true
- }
- },
- {
- "id": "values-uiitem",
- "itemType": "control",
- "control": {
- "name": "values",
- "sortable": false,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Values"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textarea",
- "required": false,
- "width": 35,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": []
- },
- "labelVisible": true
- }
- },
- {
- "id": "labels-uiitem",
- "itemType": "control",
- "control": {
- "name": "labels",
- "visible": false,
- "description": null,
- "data": {
- "type": "table"
- },
- "separateLabel": true,
- "label": {
- "text": "Value Labels (Add/Edit Labels)"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "customControlId": "custom-value-label-table-control",
- "controlType": "custom",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": []
- },
- "labelVisible": true
- }
- },
- {
- "id": "max_string_length-uiitem",
- "itemType": "control",
- "control": {
- "name": "max_string_length",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Max String Length"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": 255
- },
- "labelVisible": true
- }
- },
- {
- "id": "check-uiitem",
- "itemType": "control",
- "control": {
- "name": "check",
- "sortable": false,
- "visible": true,
- "description": {
- "text": "Set options to ensure that field values conform to the specified values or ranges"
- },
- "separateLabel": true,
- "label": {
- "text": "Check"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "None",
- "Nullify",
- "Coerce",
- "Discard",
- "Warn",
- "Abort"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "None",
- "Nullify",
- "Coerce",
- "Discard",
- "Warn",
- "Abort"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "None"
- },
- "labelVisible": true
- }
- },
- {
- "id": "enable-uiitem",
- "itemType": "control",
- "control": {
- "name": "enable",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Define missing values"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "missing_values-uiitem",
- "itemType": "control",
- "control": {
- "name": "missing_values",
- "role": "expression",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Missing values"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textarea",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": []
- },
- "labelVisible": true
- }
- },
- {
- "id": "range-uiitem",
- "itemType": "control",
- "control": {
- "name": "range",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Range"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "lower-uiitem",
- "itemType": "control",
- "control": {
- "name": "lower",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Lower"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "upper-uiitem",
- "itemType": "control",
- "control": {
- "name": "upper",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Upper"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "null-uiitem",
- "itemType": "control",
- "control": {
- "name": "null",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Null"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "whitespace-uiitem",
- "itemType": "control",
- "control": {
- "name": "whitespace",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "White space"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- }
- ]
- },
- "textType": "...",
- "secondaryText": "Field Definition"
- },
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Types"
- },
- "defaultRow": [
- "",
- "Default",
- "Input",
- "Read",
- [],
- [],
- 255,
- "None",
- false,
- [],
- false,
- null,
- null,
- false,
- false
- ],
- "rowSelection": "multiple-edit",
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "dmImage": "type",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "filterable": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "measure_type",
- "sortable": true,
- "visible": true,
- "resizable": true,
- "description": {
- "text": "This is the measurement level, used to describe characteristics of the data in a given field."
- },
- "separateLabel": true,
- "label": {
- "text": "Measure"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "Default",
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "OrderedSet",
- "Typeless"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Default",
- "Continuous",
- "Categorical",
- "Flag",
- "Nominal",
- "Ordinal",
- "Typeless"
- ],
- "width": 30,
- "filterable": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Default"
- },
- "labelVisible": true
- },
- {
- "name": "role",
- "sortable": true,
- "visible": true,
- "description": {
- "text": "Role Used to tell modeling nodes whether fields will be Input (predictor fields) or Target (predicted fields) for a machine-learning process. Both and None are also available roles, along with Partition, which indicates a field used to partition records into separate samples for training, testing, and validation."
- },
- "separateLabel": true,
- "label": {
- "text": "Role"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "Input",
- "Target",
- "Both",
- "None",
- "Partition",
- "Split",
- "Frequency",
- "RecordID"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Input",
- "Target",
- "Both",
- "None",
- "Partition",
- "Split",
- "Frequency",
- "Record ID"
- ],
- "width": 25,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Input"
- },
- "labelVisible": true
- },
- {
- "name": "value_mode",
- "label": {
- "text": "Value mode"
- },
- "description": {
- "text": "Enables you to specify options for reading data values from the data set, or use the Specify option to specify measurement levels and values "
- },
- "labelVisible": true,
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Read"
- },
- "role": "enum",
- "values": [
- "Read",
- "Pass",
- "Specify",
- "Read+",
- "local"
- ],
- "valueLabels": [
- "Read",
- "Pass",
- "Specify",
- "Extend",
- "local"
- ],
- "valueDescs": [
- null,
- null,
- null,
- null,
- null
- ],
- "sortable": false,
- "visible": true,
- "width": 28,
- "editStyle": "inline",
- "light": true
- },
- {
- "name": "values",
- "sortable": false,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Values"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textarea",
- "required": false,
- "width": 35,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": []
- },
- "labelVisible": true
- },
- {
- "name": "labels",
- "visible": false,
- "description": null,
- "data": {
- "type": "table"
- },
- "separateLabel": true,
- "label": {
- "text": "Value Labels (Add/Edit Labels)"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "customControlId": "custom-value-label-table-control",
- "controlType": "custom",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": []
- },
- "labelVisible": true
- },
- {
- "name": "max_string_length",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Max String Length"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": 255
- },
- "labelVisible": true
- },
- {
- "name": "check",
- "sortable": false,
- "visible": true,
- "description": {
- "text": "Set options to ensure that field values conform to the specified values or ranges"
- },
- "separateLabel": true,
- "label": {
- "text": "Check"
- },
- "language": "CLEM",
- "editStyle": "inline",
- "values": [
- "None",
- "Nullify",
- "Coerce",
- "Discard",
- "Warn",
- "Abort"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "None",
- "Nullify",
- "Coerce",
- "Discard",
- "Warn",
- "Abort"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "None"
- },
- "labelVisible": true
- },
- {
- "name": "enable",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Define missing values"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- },
- {
- "name": "missing_values",
- "role": "expression",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Missing values"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textarea",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false,
- "defaultValue": []
- },
- "labelVisible": true
- },
- {
- "name": "range",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Range"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- },
- {
- "name": "lower",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Lower"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- },
- {
- "name": "upper",
- "visible": false,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Upper"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- },
- {
- "name": "null",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Null"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- },
- {
- "name": "whitespace",
- "visible": false,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "White space"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- ],
- "multiSelectEditChildItem": {
- "itemType": "additionalLink",
- "panel": {
- "id": "TypeEntry",
- "panelType": "general",
- "nestedPanel": false,
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "measure_type",
- "label": {
- "text": "Measure"
- },
- "description": {
- "text": "This is the measurement level, used to describe characteristics of the data in a given field."
- },
- "labelVisible": true,
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Default"
- },
- "role": "enum",
- "values": [
- "Range",
- "Discrete",
- "Flag",
- "Set",
- "OrderedSet",
- "Typeless"
- ],
- "valueLabels": [
- "Continuous",
- "Categorical",
- "Flag",
- "Nominal",
- "Ordinal",
- "Typeless"
- ],
- "valueDescs": [
- null,
- null,
- null,
- null,
- null,
- null
- ],
- "sortable": true,
- "filterable": false,
- "light": true
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "role",
- "label": {
- "text": "Role"
- },
- "description": {
- "text": "Role Used to tell modeling nodes whether fields will be Input (predictor fields) or Target (predicted fields) for a machine-learning process. Both and None are also available roles, along with Partition, which indicates a field used to partition records into separate samples for training, testing, and validation."
- },
- "labelVisible": true,
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Input"
- },
- "role": "enum",
- "values": [
- "Input",
- "Target",
- "Both",
- "None",
- "Partition",
- "Split",
- "Frequency",
- "RecordID"
- ],
- "valueLabels": [
- "Input",
- "Target",
- "Both",
- "None",
- "Partition",
- "Split",
- "Frequency",
- "Record ID"
- ],
- "valueDescs": [
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null
- ],
- "sortable": true,
- "light": true
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "value_mode",
- "label": {
- "text": "Value mode"
- },
- "description": {
- "text": "Enables you to specify options for reading data values from the data set, or use the Specify option to specify measurement levels and values "
- },
- "labelVisible": true,
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "Read"
- },
- "role": "enum",
- "values": [
- "Read",
- "Pass",
- "Specify",
- "Read+",
- "local"
- ],
- "valueLabels": [
- "Read",
- "Pass",
- "Specify",
- "Extend",
- "local"
- ],
- "valueDescs": [
- null,
- null,
- null,
- null,
- null
- ],
- "sortable": false,
- "light": true
- }
- }
- ],
- "open": false,
- "className": "properties-editstyle-inline"
- },
- "text": "...",
- "secondaryText": "Field Definition"
- },
- "language": "CLEM",
- "addRemoveRows": false,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "rows": 8,
- "valueDef": {
- "propType": "complex_type",
- "isList": true,
- "isMap": false
- },
- "labelVisible": false
- }
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Format",
- "group": "format-settings",
- "content": {
- "id": "format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "format-settings",
- "panelType": "general",
- "label": "Format",
- "uiItems": [
- {
- "id": "format-summary-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "format-summary",
- "panelType": "summary",
- "label": "Configure Formats",
- "uiItems": [
- {
- "id": "date-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "date-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "date_format-uiitem",
- "itemType": "control",
- "control": {
- "name": "date_format",
- "visible": true,
- "childItem": {
- "id": "date_format-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "DateFormatEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "format-uiitem",
- "itemType": "control",
- "control": {
- "name": "format",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Format"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "values": [
- "DEFAULT",
- "DDMMYY",
- "MMDDYY",
- "YYMMDD",
- "YYYYMMDD",
- "YYYYDDD",
- "DAY",
- "MONTH",
- "DD-MM-YY",
- "DD-MM-YYYY",
- "MM-DD-YY",
- "MM-DD-YYYY",
- "DD-MON-YY",
- "DD-MON-YYYY",
- "YYYY-MM-DD",
- "DD.MM.YY",
- "DD.MM.YYYY",
- "MM.DD.YYYY",
- "DD.MON.YY",
- "DD.MON.YYYY",
- "DD/MM/YY",
- "DD/MM/YYYY",
- "MM/DD/YY",
- "MM/DD/YYYY",
- "DD/MON/YY",
- "DD/MON/YYYY",
- "MON YYYY",
- "q Q YYYY",
- "ww WK YYYY"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "DDMMYY",
- "MMDDYY",
- "YYMMDD",
- "YYYYMMDD",
- "YYYYDDD",
- "DAY",
- "MONTH",
- "DD-MM-YY",
- "DD-MM-YYYY",
- "MM-DD-YY",
- "MM-DD-YYYY",
- "DD-MON-YY",
- "DD-MON-YYYY",
- "YYYY-MM-DD",
- "DD.MM.YY",
- "DD.MM.YYYY",
- "MM.DD.YYYY",
- "DD.MON.YY",
- "DD.MON.YYYY",
- "DD/MM/YY",
- "DD/MM/YYYY",
- "MM/DD/YY",
- "MM/DD/YYYY",
- "DD/MON/YY",
- "DD/MON/YYYY",
- "MON YYYY",
- "q Q YYYY",
- "ww WK YYYY"
- ],
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Date Format"
- },
- "defaultRow": [
- "DEFAULT"
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "format",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Format"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "values": [
- "DEFAULT",
- "DDMMYY",
- "MMDDYY",
- "YYMMDD",
- "YYYYMMDD",
- "YYYYDDD",
- "DAY",
- "MONTH",
- "DD-MM-YY",
- "DD-MM-YYYY",
- "MM-DD-YY",
- "MM-DD-YYYY",
- "DD-MON-YY",
- "DD-MON-YYYY",
- "YYYY-MM-DD",
- "DD.MM.YY",
- "DD.MM.YYYY",
- "MM.DD.YYYY",
- "DD.MON.YY",
- "DD.MON.YYYY",
- "DD/MM/YY",
- "DD/MM/YYYY",
- "MM/DD/YY",
- "MM/DD/YYYY",
- "DD/MON/YY",
- "DD/MON/YYYY",
- "MON YYYY",
- "q Q YYYY",
- "ww WK YYYY"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "DDMMYY",
- "MMDDYY",
- "YYMMDD",
- "YYYYMMDD",
- "YYYYDDD",
- "DAY",
- "MONTH",
- "DD-MM-YY",
- "DD-MM-YYYY",
- "MM-DD-YY",
- "MM-DD-YYYY",
- "DD-MON-YY",
- "DD-MON-YYYY",
- "YYYY-MM-DD",
- "DD.MM.YY",
- "DD.MM.YYYY",
- "MM.DD.YYYY",
- "DD.MON.YY",
- "DD.MON.YYYY",
- "DD/MM/YY",
- "DD/MM/YYYY",
- "MM/DD/YY",
- "MM/DD/YYYY",
- "DD/MON/YY",
- "DD/MON/YYYY",
- "MON YYYY",
- "q Q YYYY",
- "ww WK YYYY"
- ],
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "time-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "time-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "time_format-uiitem",
- "itemType": "control",
- "control": {
- "name": "time_format",
- "visible": true,
- "childItem": {
- "id": "time_format-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "TimeFormatEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "format-uiitem",
- "itemType": "control",
- "control": {
- "name": "format",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Format"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "values": [
- "DEFAULT",
- "HHMMSS",
- "HHMM",
- "MMSS",
- "HH:MM:SS",
- "HH:MM",
- "MM:SS",
- "(H)H:(M)M:(S)S",
- "(H)H:(M)M",
- "(M)M:(S)S",
- "HH.MM.SS",
- "HH.MM",
- "MM.SS",
- "(H)H.(M)M.(S)S",
- "(H)H.(M)M",
- "(M)M.(S)S"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "HHMMSS",
- "HHMM",
- "MMSS",
- "HH:MM:SS",
- "HH:MM",
- "MM:SS",
- "(H)H:(M)M:(S)S",
- "(H)H:(M)M",
- "(M)M:(S)S",
- "HH.MM.SS",
- "HH.MM",
- "MM.SS",
- "(H)H.(M)M.(S)S",
- "(H)H.(M)M",
- "(M)M.(S)S"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Time Format"
- },
- "defaultRow": [
- "DEFAULT"
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "format",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Format"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "values": [
- "DEFAULT",
- "HHMMSS",
- "HHMM",
- "MMSS",
- "HH:MM:SS",
- "HH:MM",
- "MM:SS",
- "(H)H:(M)M:(S)S",
- "(H)H:(M)M",
- "(M)M:(S)S",
- "HH.MM.SS",
- "HH.MM",
- "MM.SS",
- "(H)H.(M)M.(S)S",
- "(H)H.(M)M",
- "(M)M.(S)S"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "HHMMSS",
- "HHMM",
- "MMSS",
- "HH:MM:SS",
- "HH:MM",
- "MM:SS",
- "(H)H:(M)M:(S)S",
- "(H)H:(M)M",
- "(M)M:(S)S",
- "HH.MM.SS",
- "HH.MM",
- "MM.SS",
- "(H)H.(M)M.(S)S",
- "(H)H.(M)M",
- "(M)M.(S)S"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "number-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "number-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "number_format-uiitem",
- "itemType": "control",
- "control": {
- "name": "number_format",
- "visible": true,
- "childItem": {
- "id": "number_format-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "NumberFormatEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "format-uiitem",
- "itemType": "control",
- "control": {
- "name": "format",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Format"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "DEFAULT",
- "STANDARD",
- "SCIENTIFIC",
- "CURRENCY"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "Stream default",
- "Standard (###.###)",
- "Scientific (#.###E+##)",
- "Currency ($###.##)"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Number Format"
- },
- "defaultRow": [
- "DEFAULT"
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "format",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Format"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "DEFAULT",
- "STANDARD",
- "SCIENTIFIC",
- "CURRENCY"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "Standard (###.###)",
- "Scientific (#.###E+##)",
- "Currency ($###.##)"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "decimal-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "decimal-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "decimal_separator-uiitem",
- "itemType": "control",
- "control": {
- "name": "decimal_separator",
- "visible": true,
- "childItem": {
- "id": "decimal_separator-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "DecimalSeparatorEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "separator-uiitem",
- "itemType": "control",
- "control": {
- "name": "separator",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Separator"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "DEFAULT",
- "PERIOD",
- "COMMA"
- ],
- "controlType": "radioset",
- "required": false,
- "valueLabels": [
- "Stream default",
- "Period (.)",
- "Comma (,)"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Decimal symbol"
- },
- "defaultRow": [
- "DEFAULT"
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "separator",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Separator"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "DEFAULT",
- "PERIOD",
- "COMMA"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "Period (.)",
- "Comma (,)"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "grouping-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "grouping-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "grouping_symbol-uiitem",
- "itemType": "control",
- "control": {
- "name": "grouping_symbol",
- "visible": true,
- "childItem": {
- "id": "grouping_symbol-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "GroupingSymbolEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "symbol-uiitem",
- "itemType": "control",
- "control": {
- "name": "symbol",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Symbol"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "DEFAULT",
- "NONE",
- "LOCALE",
- "PERIOD",
- "COMMA",
- "SPACE"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "None",
- "Locale defined",
- "Period (.)",
- "Comma (,)",
- "Space"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": {
- "text": "For number display formats, select the symbol used to group values."
- },
- "separateLabel": true,
- "label": {
- "text": "Number grouping symbol"
- },
- "defaultRow": [
- "DEFAULT"
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "symbol",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Symbol"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "DEFAULT",
- "NONE",
- "LOCALE",
- "PERIOD",
- "COMMA",
- "SPACE"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Stream default",
- "None",
- "Locale defined",
- "Period (.)",
- "Comma (,)",
- "Space"
- ],
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "DEFAULT"
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "standard-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "standard-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "standard_places-uiitem",
- "itemType": "control",
- "control": {
- "name": "standard_places",
- "visible": true,
- "childItem": {
- "id": "standard_places-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "StandardPlacesEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "places-uiitem",
- "itemType": "control",
- "control": {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": {
- "text": "The stream default for flat file export is whatever is specified for the Standard decimal places setting in the stream properties."
- },
- "separateLabel": true,
- "label": {
- "text": "Standard decimal places"
- },
- "defaultRow": [
- -1
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "scientific-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "scientific-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "scientific_places-uiitem",
- "itemType": "control",
- "control": {
- "name": "scientific_places",
- "visible": true,
- "childItem": {
- "id": "scientific_places-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "ScientificPlacesEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "places-uiitem",
- "itemType": "control",
- "control": {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Scientific decimal places"
- },
- "defaultRow": [
- -1
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "currency-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "currency-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "currency_places-uiitem",
- "itemType": "control",
- "control": {
- "name": "currency_places",
- "visible": true,
- "childItem": {
- "id": "currency_places-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "CurrencyPlacesEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "places-uiitem",
- "itemType": "control",
- "control": {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Currency decimal places"
- },
- "defaultRow": [
- -1
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "export-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "export-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "export_places-uiitem",
- "itemType": "control",
- "control": {
- "name": "export_places",
- "visible": true,
- "childItem": {
- "id": "export_places-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "ExportPlacesEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "places-uiitem",
- "itemType": "control",
- "control": {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": {
- "text": "Export decimal places setting only applies to flat file exports, and it overrides the stream properties."
- },
- "separateLabel": true,
- "label": {
- "text": "Export decimal places"
- },
- "defaultRow": [
- -1
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "places",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Places"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "justify-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "justify-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "justify-uiitem",
- "itemType": "control",
- "control": {
- "name": "justify",
- "visible": true,
- "childItem": {
- "id": "justify-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "JustifyEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "Justify-uiitem",
- "itemType": "control",
- "control": {
- "name": "Justify",
- "sortable": true,
- "visible": true,
- "description": {
- "text": "Justify.desc"
- },
- "separateLabel": true,
- "label": {
- "text": "Justify"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "AUTO",
- "CENTER",
- "LEFT",
- "RIGHT"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Auto",
- "Center",
- "Left",
- "Right"
- ],
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "AUTO"
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": {
- "text": "Specifies how the values should be justified within the column."
- },
- "separateLabel": true,
- "label": {
- "text": "Justify"
- },
- "defaultRow": [
- "AUTO"
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "Justify",
- "sortable": true,
- "visible": true,
- "description": {
- "text": "Justify.desc"
- },
- "separateLabel": true,
- "label": {
- "text": "Justify"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "orientation": "vertical",
- "values": [
- "AUTO",
- "CENTER",
- "LEFT",
- "RIGHT"
- ],
- "controlType": "oneofselect",
- "required": false,
- "valueLabels": [
- "Auto",
- "Center",
- "Left",
- "Right"
- ],
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": "AUTO"
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- },
- {
- "id": "column-format-settings-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "column-format-settings",
- "panelType": "columnSelection",
- "uiItems": [
- {
- "id": "column_width-uiitem",
- "itemType": "control",
- "control": {
- "name": "column_width",
- "visible": true,
- "childItem": {
- "id": "column_width-edit-uiitem",
- "itemType": "additionalLink",
- "panel": {
- "id": "ColumnWidthEntry",
- "panelType": "general",
- "uiItems": [
- {
- "id": "width-uiitem",
- "itemType": "control",
- "control": {
- "name": "width",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Width"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- }
- ]
- },
- "textType": "..."
- },
- "description": {
- "text": "By default, column widths are automatically calculated based on the values of the field."
- },
- "separateLabel": true,
- "label": {
- "text": "Column Width"
- },
- "defaultRow": [
- -1
- ],
- "subControls": [
- {
- "name": "field",
- "sortable": true,
- "role": "column",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Field"
- },
- "language": "CLEM",
- "controlType": "selectcolumn",
- "required": false,
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false,
- "defaultValue": ""
- },
- "labelVisible": true
- },
- {
- "name": "width",
- "sortable": true,
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Width"
- },
- "language": "CLEM",
- "editStyle": "subpanel",
- "controlType": "numberfield",
- "required": false,
- "width": 20,
- "summary": true,
- "valueDef": {
- "propType": "integer",
- "isList": false,
- "isMap": false,
- "defaultValue": -1
- },
- "labelVisible": true
- }
- ],
- "language": "CLEM",
- "addRemoveRows": true,
- "keyIndex": 0,
- "controlType": "structuretable",
- "required": false,
- "valueDef": {
- "propType": "complex_type",
- "isList": false,
- "isMap": true
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "id": "annotations-uiitem",
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "id": "use_custom_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "visible": true,
- "description": null,
- "separateLabel": false,
- "label": {
- "text": "Custom name"
- },
- "language": "CLEM",
- "controlType": "checkbox",
- "required": false,
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false,
- "defaultValue": false
- },
- "labelVisible": false
- }
- },
- {
- "id": "custom_name-uiitem",
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": ""
- },
- "language": "CLEM",
- "controlType": "textfield",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- },
- {
- "id": "annotation-uiitem",
- "itemType": "control",
- "control": {
- "name": "annotation",
- "visible": true,
- "description": null,
- "separateLabel": true,
- "label": {
- "text": "Annotation"
- },
- "language": "CLEM",
- "controlType": "textarea",
- "required": false,
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "labelVisible": true
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "conditions": [
- {
- "enabled": {
- "parameter_refs": [
- "metadata_all[9]",
- "metadata_all[13]",
- "metadata_all[14]",
- "metadata_all[10]"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "metadata_all[8]",
- "op": "equals",
- "value": true
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "metadata_all[11]",
- "metadata_all[12]"
- ],
- "evaluate": {
- "and": [
- {
- "condition": {
- "parameter_ref": "metadata_all[10]",
- "op": "equals",
- "value": true
- }
- },
- {
- "condition": {
- "parameter_ref": "metadata_all[8]",
- "op": "equals",
- "value": true
- }
- }
- ]
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "metadata_all[4]",
- "metadata_all[5]"
- ],
- "evaluate": {
- "or": [
- {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "Range"
- }
- },
- {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "Set"
- }
- },
- {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "Discrete"
- }
- },
- {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "Flag"
- }
- },
- {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "OrderedSet"
- }
- }
- ]
- }
- }
- },
- {
- "enum_filter": {
- "target": {
- "parameter_ref": "metadata_all[2]",
- "values": [
- "None",
- "RecordID"
- ]
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "Typeless"
- }
- }
- }
- },
- {
- "enum_filter": {
- "target": {
- "parameter_ref": "metadata_all[3]",
- "values": [
- "Read",
- "Read+"
- ]
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "metadata_all[1]",
- "op": "equals",
- "value": "Discrete"
- }
- }
- }
- },
- {
- "enabled": {
- "parameter_refs": [
- "custom_name"
- ],
- "evaluate": {
- "condition": {
- "parameter_ref": "use_custom_name",
- "op": "equals",
- "value": true
- }
- }
- }
- }
- ],
- "data": {
- "currentParameters": {
- "number_format": [],
- "grouping_symbol": [],
- "annotation": "",
- "standard_places": [],
- "default_value_mode": "Read",
- "column_width": [],
- "justify": [],
- "scientific_places": [],
- "currency_places": [],
- "metadata_all": [
- [
- "Age",
- "Range",
- "Input",
- "Specify",
- [
- "15",
- "74"
- ],
- [],
- -1,
- "None",
- false,
- [],
- false,
- null,
- null,
- false,
- false
- ],
- [
- "Sex",
- "Flag",
- "Input",
- "Specify",
- [
- "F",
- "M"
- ],
- [],
- 1,
- "None",
- false,
- [],
- false,
- null,
- null,
- false,
- false
- ],
- [
- "BP",
- "Set",
- "Input",
- "Specify",
- [
- "HIGH",
- "LOW",
- "NORMAL"
- ],
- [],
- 6,
- "None",
- false,
- [],
- false,
- null,
- null,
- false,
- false
- ],
- [
- "Cholesterol",
- "Flag",
- "Input",
- "Specify",
- [
- "HIGH",
- "NORMAL"
- ],
- [],
- 6,
- "None",
- false,
- [],
- false,
- null,
- null,
- false,
- false
- ],
- [
- "Drug",
- "Set",
- "Target",
- "Specify",
- [
- "drugA",
- "drugB",
- "drugC",
- "drugX",
- "drugY"
- ],
- [],
- 5,
- "None",
- false,
- [],
- false,
- null,
- null,
- false,
- false
- ]
- ],
- "use_custom_name": true,
- "export_places": [],
- "date_format": [],
- "time_format": [],
- "custom_name": "Define Types",
- "decimal_separator": []
- },
- "datasetMetadata": [
- {
- "fields": [
- {
- "name": "Age",
- "type": "integer",
- "metadata": {
- "description": "",
- "measure": "range",
- "modeling_role": "input"
- }
- },
- {
- "name": "Sex",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "BP",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Cholesterol",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- },
- {
- "name": "Drug",
- "type": "string",
- "metadata": {
- "description": "",
- "measure": "discrete",
- "modeling_role": "input"
- }
- }
- ]
- }
- ]
- },
- "resources": {
- "JustifyEntry.Justify.AUTO.label": "Auto",
- "DateFormatEntry.format.MM-DD-YYYY.label": "MM-DD-YYYY",
- "TypeEntry.measure_type.Discrete.label": "Categorical",
- "typeops_apply_largeset_action.label": "Apply",
- "TimeFormatEntry.format.DEFAULT.label": "Stream default",
- "measure_type.desc": "This is the measurement level, used to describe characteristics of the data in a given field.",
- "check.desc": "Set options to ensure that field values conform to the specified values or ranges",
- "GroupingSymbolEntry.symbol.COMMA.label": "Comma (,)",
- "JustifyEntry.Justify.LEFT.label": "Left",
- "clear_all_values_action.desc": "Reset values for all fields read into the node",
- "TimeFormatEntry.format.HH.MM.SS.label": "HH.MM.SS",
- "JustifyEntry.Justify.CENTER.label": "Center",
- "ScientificPlacesEntry.places.label": "Places",
- "DateFormatEntry.format.DD.MON.YYYY.label": "DD.MON.YYYY",
- "standard_places.label": "Standard decimal places",
- "TimeFormatEntry.format.label": "Format",
- "TypeEntry.role.Target.label": "Target",
- "DateFormatEntry.format.DD/MM/YY.label": "DD/MM/YY",
- "missing-settings.label": "Configure Missing Values",
- "currency_places.label": "Currency decimal places",
- "continuous_to_ordinal_range.desc": "You can choose to Convert Continuous Integers To Ordinal once a Type node has been instantiated. See the topic Converting Continuous Data for more information.",
- "CurrencyPlacesEntry.places.label": "Places",
- "TypeEntry.role.Split.label": "Split",
- "NumberFormatEntry.format.CURRENCY.label": "Currency ($###.##)",
- "TypeEntry.null.label": "Null",
- "DateFormatEntry.format.MONTH.label": "MONTH",
- "sets_larger_than.label": "Set categorical fields to None if they exceed this many values",
- "TypeEntry.upper.label": "Upper",
- "GroupingSymbolEntry.symbol.LOCALE.label": "Locale defined",
- "default_value_mode.Pass.label": "Pass (do not scan)",
- "DateFormatEntry.format.MM/DD/YY.label": "MM/DD/YY",
- "TypeEntry.value_mode.Specify.label": "Specify",
- "DecimalSeparatorEntry.field.label": "Field",
- "ScientificPlacesEntry.field.label": "Field",
- "DateFormatEntry.format.YYYY-MM-DD.label": "YYYY-MM-DD",
- "values.desc": "This column enables you to specify options for reading data values from the data set, or use the Specify option to specify measurement levels and values in a separate dialog box.",
- "TypeEntry.measure_type.OrderedSet.label": "Ordinal",
- "ColumnWidthEntry.width.label": "Width",
- "TypeEntry.role.Frequency.label": "Frequency",
- "GroupingSymbolEntry.symbol.SPACE.label": "Space",
- "scientific_places.label": "Scientific decimal places",
- "TypeEntry.missing_values.label": "Missing values",
- "DateFormatEntry.format.MMDDYY.label": "MMDDYY",
- "export_places.desc": "Export decimal places setting only applies to flat file exports, and it overrides the stream properties.",
- "ExportPlacesEntry.field.label": "Field",
- "typevalue_labels_label": "Labels",
- "TypeEntry.role.Both.label": "Both",
- "read_values_action.desc": "Clicking Read Values auto-types and reads values from your data source based on your selection.",
- "GroupingSymbolEntry.symbol.NONE.label": "None",
- "TypeEntry.value_mode.Read+.label": "Extend",
- "typevalue_message_label": "If you need to edit the Labels, please go back to type table and check the checkbox besides the field which you need to edit.",
- "TypeEntry.range.label": "Range",
- "DecimalSeparatorEntry.separator.COMMA.label": "Comma (,)",
- "TypeEntry.role.label": "Role",
- "grouping_symbol.desc": "For number display formats, select the symbol used to group values.",
- "standard_places.desc": "The stream default for flat file export is whatever is specified for the Standard decimal places setting in the stream properties.",
- "type_metadata.label": "Types",
- "grouping_symbol.label": "Number grouping symbol",
- "DateFormatEntry.format.YYMMDD.label": "YYMMDD",
- "TimeFormatEntry.format.(H)H:(M)M:(S)S.label": "(H)H:(M)M:(S)S",
- "column_width.label": "Column Width",
- "settings-summary.label": "Configure Types",
- "TimeFormatEntry.format.MM:SS.label": "MM:SS",
- "continuous_to_ordinal_range.label": "Set continuous integer field to ordinal if range less than or equal to",
- "TypeEntry.check.Nullify.label": "Nullify",
- "time_format.label": "Time Format",
- "justify.label": "Justify",
- "NumberFormatEntry.format.label": "Format",
- "typeops_apply_unique_field_action.desc": "Using the tools menu button, you can choose to Ignore Unique Fields once a Type node has been instantiated (either through your specifications, reading values, or running the stream). Ignoring unique fields will automatically ignore fields with only one value.",
- "TimeFormatEntry.format.HH:MM.label": "HH:MM",
- "justify.desc": "Specifies how the values should be justified within the column.",
- "date_format.label": "Date Format",
- "TimeFormatEntry.format.MM.SS.label": "MM.SS",
- "TypeEntry.value_mode.Pass.label": "Pass",
- "TypeEntry.measure_type.Default.label": "Default",
- "TypeEntry.values.label": "Values",
- "TimeFormatEntry.format.(M)M:(S)S.label": "(M)M:(S)S",
- "TypeEntry.value_mode.Read.label": "Read",
- "TypeEntry.measure_type.Range.label": "Continuous",
- "NumberFormatEntry.format.STANDARD.label": "Standard (###.###)",
- "type.desc": "Defines field metadata and purpose",
- "TimeFormatEntry.format.HH:MM:SS.label": "HH:MM:SS",
- "DateFormatEntry.format.label": "Format",
- "TypeEntry.labels.label": "Value Labels (Add/Edit Labels)",
- "TypeEntry.check.Abort.label": "Abort",
- "TypeEntry.description.label": "Description",
- "NumberFormatEntry.format.SCIENTIFIC.label": "Scientific (#.###E+##)",
- "DecimalSeparatorEntry.separator.label": "Separator",
- "number_format.label": "Number Format",
- "TimeFormatEntry.format.HHMMSS.label": "HHMMSS",
- "type.label": "Type",
- "TypeEntry.field.label": "Field",
- "default_value_mode.label": "Default Mode",
- "TypeEntry.measure_type.Set.label": "Nominal",
- "DateFormatEntry.format.DD/MM/YYYY.label": "DD/MM/YYYY",
- "read_values_action.label": "Read Values",
- "TypeEntry.measure_type.Flag.label": "Flag",
- "TypeEntry.whitespace.label": "White space",
- "TimeFormatEntry.format.(H)H.(M)M.(S)S.label": "(H)H.(M)M.(S)S",
- "type-settings.label": "Field Definition",
- "JustifyEntry.field.label": "Field",
- "JustifyEntry.Justify.label": "Justify",
- "DecimalSeparatorEntry.separator.DEFAULT.label": "Stream default",
- "GroupingSymbolEntry.symbol.DEFAULT.label": "Stream default",
- "basic-settings.label": "Settings",
- "column_width.desc": "By default, column widths are automatically calculated based on the values of the field.",
- "StandardPlacesEntry.places.label": "Places",
- "DateFormatEntry.format.DD/MON/YYYY.label": "DD/MON/YYYY",
- "TypeEntry.label": "Field Definition",
- "DateFormatEntry.format.YYYYMMDD.label": "YYYYMMDD",
- "DateFormatEntry.field.label": "Field",
- "DateFormatEntry.format.DAY.label": "DAY",
- "GroupingSymbolEntry.field.label": "Field",
- "TypeEntry.role.None.label": "None",
- "DateFormatEntry.format.DD-MON-YYYY.label": "DD-MON-YYYY",
- "GroupingSymbolEntry.symbol.PERIOD.label": "Period (.)",
- "TypeEntry.check.None.label": "None",
- "TypeEntry.check.Discard.label": "Discard",
- "DateFormatEntry.format.DD-MM-YYYY.label": "DD-MM-YYYY",
- "typeops_apply_unique_field_action.label": "Set unique fields to None",
- "export_places.label": "Export decimal places",
- "DateFormatEntry.format.DD-MM-YY.label": "DD-MM-YY",
- "decimal_separator.label": "Decimal symbol",
- "missing-summary.label": "Configure Missing Values",
- "TypeEntry.measure_type.Typeless.label": "Typeless",
- "TypeEntry.measure_type.label": "Measure",
- "DateFormatEntry.format.MON YYYY.label": "MON YYYY",
- "type-operations-panel.label": "Type Operations",
- "NumberFormatEntry.field.label": "Field",
- "TimeFormatEntry.field.label": "Field",
- "default_value_mode.desc": "Using the View unused field settings option, you can view type settings for fields that are no longer present in the data or were once connected to this Type node. This is useful when reusing a Type node for datasets that have changed.",
- "decimal_separator.desc": "Specifies how decimals should be represented in the data.",
- "TypeEntry.value_mode.label": "Value mode",
- "TypeEntry.check.Warn.label": "Warn",
- "value_mode.desc": "Enables you to specify options for reading data values from the data set, or use the Specify option to specify measurement levels and values ",
- "DateFormatEntry.format.DD-MON-YY.label": "DD-MON-YY",
- "missing_metadata.desc": "Used to specify how missing values for the field will be handled.",
- "TimeFormatEntry.format.MMSS.label": "MMSS",
- "DateFormatEntry.format.ww WK YYYY.label": "ww WK YYYY",
- "CurrencyPlacesEntry.field.label": "Field",
- "TypeEntry.role.Input.label": "Input",
- "format-summary.label": "Configure Formats",
- "TypeEntry.check.label": "Check",
- "TypeEntry.max_string_length.label": "Max String Length",
- "TimeFormatEntry.format.(M)M.(S)S.label": "(M)M.(S)S",
- "clear_all_values_action.label": "Clear All Values",
- "GroupingSymbolEntry.symbol.label": "Symbol",
- "TypeEntry.value_mode.Current.label": "Current",
- "DecimalSeparatorEntry.separator.PERIOD.label": "Period (.)",
- "DateFormatEntry.format.YYYYDDD.label": "YYYYDDD",
- "TimeFormatEntry.format.(H)H:(M)M.label": "(H)H:(M)M",
- "ColumnWidthEntry.field.label": "Field",
- "typevalue_values_label": "Values",
- "TypeEntry.enable.label": "Define missing values",
- "typeops_apply_continuous_to_ordinal_action.label": "Apply",
- "TimeFormatEntry.format.HH.MM.label": "HH.MM",
- "ExportPlacesEntry.places.label": "Places",
- "NumberFormatEntry.format.DEFAULT.label": "Stream default",
- "DateFormatEntry.format.q Q YYYY.label": "q Q YYYY",
- "DateFormatEntry.format.DD.MON.YY.label": "DD.MON.YY",
- "DateFormatEntry.format.DD.MM.YYYY.label": "DD.MM.YYYY",
- "DateFormatEntry.format.MM-DD-YY.label": "MM-DD-YY",
- "TypeEntry.lower.label": "Lower",
- "role.desc": "Role Used to tell modeling nodes whether fields will be Input (predictor fields) or Target (predicted fields) for a machine-learning process. Both and None are also available roles, along with Partition, which indicates a field used to partition records into separate samples for training, testing, and validation.",
- "TypeEntry.role.Partition.label": "Partition",
- "DateFormatEntry.format.DD.MM.YY.label": "DD.MM.YY",
- "JustifyEntry.Justify.RIGHT.label": "Right",
- "TimeFormatEntry.format.HHMM.label": "HHMM",
- "DateFormatEntry.format.DEFAULT.label": "Stream default",
- "TypeEntry.check.Coerce.label": "Coerce",
- "DateFormatEntry.format.DD/MON/YY.label": "DD/MON/YY",
- "DateFormatEntry.format.DDMMYY.label": "DDMMYY",
- "DateFormatEntry.format.MM/DD/YYYY.label": "MM/DD/YYYY",
- "TypeEntry.role.RecordID.label": "Record ID",
- "default_value_mode.Read.label": "Read metadata",
- "DateFormatEntry.format.MM.DD.YYYY.label": "MM.DD.YYYY",
- "format-settings.label": "Format",
- "missing_metadata.label": "Missing Values",
- "sets_larger_than.desc": "You can choose to Ignore Large Sets once a Type node has been instantiated. Ignoring large sets will automatically ignore sets with a large number of members.",
- "TimeFormatEntry.format.(H)H.(M)M.label": "(H)H.(M)M",
- "StandardPlacesEntry.field.label": "Field"
- }
- }
-}
diff --git a/canvas_modules/harness/test_resources/forms/userinput.json b/canvas_modules/harness/test_resources/forms/userinput.json
deleted file mode 100644
index 5d4a24f050..0000000000
--- a/canvas_modules/harness/test_resources/forms/userinput.json
+++ /dev/null
@@ -1,325 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "userinput",
- "label": "User Input",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "definitions",
- "label": {
- "text": "Field definitions"
- },
- "controlType": "structurelisteditor",
- "valueDef": {
- "propType": "structure",
- "isList": true,
- "isMap": false
- },
- "subControls": [
- {
- "name": "name",
- "label": {
- "text": "Field name"
- },
- "visible": true,
- "width": 16,
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- },
- {
- "name": "custom_storage",
- "label": {
- "text": "Storage"
- },
- "visible": true,
- "width": 12,
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "String",
- "Integer",
- "Real",
- "Time",
- "Date",
- "Timestamp"
- ],
- "valueLabels": [
- "String",
- "Integer",
- "Real",
- "Time",
- "Date",
- "Timestamp"
- ]
- },
- {
- "name": "data",
- "label": {
- "text": "Definition"
- },
- "visible": true,
- "width": 20,
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- ],
- "keyIndex": -1,
- "defaultRow": [
- "",
- "String",
- "[]"
- ],
- "childItem": {
- "itemType": "additionalLink",
- "panel": {
- "id": "FieldEntry",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "name",
- "label": {
- "text": "Field name"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_storage",
- "label": {
- "text": "Storage"
- },
- "controlType": "oneofselect",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "String",
- "Integer",
- "Real",
- "Time",
- "Date",
- "Timestamp"
- ],
- "valueLabels": [
- "String",
- "Integer",
- "Real",
- "Time",
- "Date",
- "Timestamp"
- ]
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "data",
- "label": {
- "text": "Definition"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": true,
- "isMap": false
- }
- }
- }
- ]
- },
- "text": "...",
- "secondaryText": "Field Definition"
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "data_mode",
- "label": {
- "text": "Generate data"
- },
- "controlType": "radioset",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "values": [
- "Combined",
- "Ordered"
- ],
- "valueLabels": [
- "All combinations",
- "In order"
- ]
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "conditions": [
- {
- "validation": {
- "id": "userinput_warning1",
- "fail_message": {
- "type": "warning",
- "focus_parameter_ref": "data_mode",
- "message": {
- "default": "data_mode should not be in order"
- }
- },
- "evaluate": {
- "condition": {
- "parameter_ref": "data_mode",
- "op": "notEquals",
- "value": "Ordered"
- }
- }
- }
- }
- ],
- "data": {
- "currentParameters": {
- "data_mode": "In order",
- "annotation": "",
- "use_custom_name": false,
- "definitions": [],
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id2WXT8ZTYBV1",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id2WXT8ZTYBV1"
- },
- "additionalComponents": null
-}
diff --git a/canvas_modules/harness/test_resources/forms/variablefile.json b/canvas_modules/harness/test_resources/forms/variablefile.json
deleted file mode 100644
index 2284d8da5b..0000000000
--- a/canvas_modules/harness/test_resources/forms/variablefile.json
+++ /dev/null
@@ -1,161 +0,0 @@
-{
- "title": {
- "key": null,
- "ref": null,
- "props": {
- "id": "dialog.nodePropertiesTitle",
- "tagName": "span",
- "values": {}
- },
- "_owner": null,
- "_store": {}
- },
- "formData": {
- "componentId": "variablefile",
- "label": "Var. File",
- "editorSize": "small",
- "uiItems": [
- {
- "itemType": "primaryTabs",
- "tabs": [
- {
- "text": "Settings",
- "group": "basic-settings",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "basic-settings",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "full_filename",
- "label": {
- "text": "File"
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- },
- "charLimit": 100,
- "additionalText": "Enter file name"
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "read_field_names",
- "label": {
- "text": "Read field names from file"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- },
- {
- "text": "Annotations",
- "group": "annotations",
- "content": {
- "itemType": "panel",
- "panel": {
- "id": "annotations",
- "panelType": "general",
- "uiItems": [
- {
- "itemType": "control",
- "control": {
- "name": "use_custom_name",
- "label": {
- "text": "Custom name"
- },
- "labelVisible": false,
- "controlType": "checkbox",
- "valueDef": {
- "propType": "boolean",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "custom_name",
- "label": {
- "text": ""
- },
- "controlType": "textfield",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- },
- {
- "itemType": "control",
- "control": {
- "name": "annotation",
- "label": {
- "text": "Annotation"
- },
- "controlType": "textarea",
- "valueDef": {
- "propType": "string",
- "isList": false,
- "isMap": false
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "buttons": [
- {
- "id": "ok",
- "text": "OK",
- "isPrimary": true,
- "url": ""
- },
- {
- "id": "cancel",
- "text": "Cancel",
- "isPrimary": false,
- "url": ""
- }
- ],
- "data": {
- "currentParameters": {
- "annotation": "",
- "read_field_names": true,
- "use_custom_name": false,
- "full_filename": "",
- "custom_name": ""
- },
- "datasetMetadata": {
- "fields": []
- }
- }
- },
- "appData": {
- "nodeId": "id7Q4T94Q8SU9",
- "updateUrl": "streams/153651d6-9b88-423c-b01b-861f12d01489/diagrams/153651d6-9b88-423c-b01b-861f12d01489/nodes/id7Q4T94Q8SU9"
- },
- "additionalComponents": null
-}
diff --git a/docs/pages/04-common-properties.md b/docs/pages/04-common-properties.md
index 0b205f0c2b..4aa415872b 100644
--- a/docs/pages/04-common-properties.md
+++ b/docs/pages/04-common-properties.md
@@ -53,24 +53,6 @@ The expressionInfo object must conform to the [expressionInfo schema](https://gi
The optional messages attribute can be used to set validation messages associated with a node. The format of the message objects is defined in [Pipeline Flow UI schema](https://github.com/elyra-ai/pipeline-schemas/blob/main/common-pipeline/pipeline-flow/pipeline-flow-ui-v3-schema.json)
-??? warning "Providing Form Data - deprecated"
-
- A now deprecated alternative to using the paramDef is to provide a formData object in the propertiesInfo.
- ```js
- this.propertiesInfo = {
- formData: this.formData,
- appData: "{user data returned back in applyPropertyChanges}", // Optional
- additionalComponents: "{additional control(s) to display}", // Optional
- messages: "[node_messages]", // Optional - Node messages array
- expressionInfo: this.expressionInfo, // Optional - Information for expression builder
- initialEditorSize: "{size}", // Optional - This value will override the value of
- // editor_size in uiHints. This can have a value of
- // "small", "medium", "large", or null
- id: "{id}" // Optional - Unique parameter definition ID
- }
- ```
- See the [formData schema](https://github.com/elyra-ai/pipeline-schemas/tree/master/common-canvas/form)
-
### Step 3 : Display the Common Properties object
Finally, you'll need to display the Common Properties object. Inside your render code, add the following:
diff --git a/docs/pages/04.02-callbacks.md b/docs/pages/04.02-callbacks.md
index 16f27c4772..59d00c3d37 100644
--- a/docs/pages/04.02-callbacks.md
+++ b/docs/pages/04.02-callbacks.md
@@ -117,20 +117,18 @@ buttonIconHandler(data, callbackIcon) {
### helpClickHandler()
Executes when user clicks the help icon in the property editor dialog. The callback provides the following data:
-- nodeTypeId: in case of parameterDef, id property of uihints; in case formData, the componentId.
-- helpData: Optional helpData specified in paramDef/formData (see below).
+- nodeTypeId: in case of parameterDef, id property of uihints;
+- helpData: Optional helpData specified in paramDef (see below).
- appData: Optional application data that was passed in to `propertiesInfo`
```js
helpClickHandler(nodeTypeId, helpData, appData) {
}
```
-To control whether a node shows the help icon in the right flyout, a help object with optional helpData needs to be provided in the paramDef or formData:
+To control whether a node shows the help icon in the right flyout, a help object with optional helpData needs to be provided in the paramDef:
- paramDef: Provide help object in operator's uihints. If help object exists, the icon will be shown. Optionally, provide a helpData object within the help object, which will be passed in the helpClickHandler callback.
https://github.com/elyra-ai/pipeline-schemas/blob/master/common-pipeline/operators/uihints-v3-schema.json#L64
-- formData: add help object to form definition: https://github.com/elyra-ai/pipeline-schemas/blob/master/common-canvas/form/form-v3-schema.json#L51
-
If no help object is found, no help link will be shown.