@elyra/canvas 12.9.0 → 12.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -1
- package/README.md +1 -1
- package/build.sh +1 -1
- package/dist/canvas-constants-af93267a.js +2 -0
- package/dist/canvas-constants-af93267a.js.map +1 -0
- package/dist/canvas-constants-ffce3b78.js +2 -0
- package/dist/canvas-constants-ffce3b78.js.map +1 -0
- package/dist/canvas-controller-3f67c4fb.js +2 -0
- package/dist/canvas-controller-3f67c4fb.js.map +1 -0
- package/dist/canvas-controller-cee447d2.js +2 -0
- package/dist/canvas-controller-cee447d2.js.map +1 -0
- package/dist/common-canvas-e212a9c1.js +2 -0
- package/dist/common-canvas-e212a9c1.js.map +1 -0
- package/dist/common-canvas-e98191b3.js +2 -0
- package/dist/common-canvas-e98191b3.js.map +1 -0
- package/dist/common-canvas.es.js +1 -1
- package/dist/common-canvas.es.js.map +1 -1
- package/dist/common-canvas.js +1 -1
- package/dist/common-canvas.js.map +1 -1
- package/dist/common-properties-653e50e3.js +2 -0
- package/dist/common-properties-653e50e3.js.map +1 -0
- package/dist/common-properties-e2c6def7.js +2 -0
- package/dist/common-properties-e2c6def7.js.map +1 -0
- package/dist/datarecord-metadata-v3-schema-10ddafaf.js +2 -0
- package/dist/datarecord-metadata-v3-schema-10ddafaf.js.map +1 -0
- package/dist/datarecord-metadata-v3-schema-1504c843.js +2 -0
- package/dist/datarecord-metadata-v3-schema-1504c843.js.map +1 -0
- package/dist/{en-3f6094d9.js → en-517f38fc.js} +2 -2
- package/dist/{en-3f6094d9.js.map → en-517f38fc.js.map} +1 -1
- package/dist/{en-8e5bfa1b.js → en-dc6f2e9f.js} +2 -2
- package/dist/{en-8e5bfa1b.js.map → en-dc6f2e9f.js.map} +1 -1
- package/dist/extends-5a45f92e.js +7 -0
- package/dist/extends-5a45f92e.js.map +1 -0
- package/dist/extends-a52336ca.js +8 -0
- package/dist/extends-a52336ca.js.map +1 -0
- package/dist/flexible-table-e6ccbe58.js +2 -0
- package/dist/flexible-table-e6ccbe58.js.map +1 -0
- package/dist/flexible-table-f60c1680.js +2 -0
- package/dist/flexible-table-f60c1680.js.map +1 -0
- package/dist/index-567978da.js +2 -0
- package/dist/{index-c21aec1b.js.map → index-567978da.js.map} +1 -1
- package/dist/index-59486e9a.js +2 -0
- package/dist/{index-7e2e5c97.js.map → index-59486e9a.js.map} +1 -1
- package/dist/isEmpty-def8f509.js +2 -0
- package/dist/{isEmpty-5d2981b6.js.map → isEmpty-def8f509.js.map} +1 -1
- package/dist/isEmpty-e171b734.js +2 -0
- package/dist/{isEmpty-6528e7c8.js.map → isEmpty-e171b734.js.map} +1 -1
- package/dist/lib/canvas-controller.es.js +2 -0
- package/dist/lib/canvas-controller.es.js.map +1 -0
- package/dist/lib/canvas-controller.js +2 -0
- package/dist/lib/canvas-controller.js.map +1 -0
- package/dist/lib/canvas.es.js +1 -1
- package/dist/lib/canvas.js +1 -1
- package/dist/lib/command-stack.es.js.map +1 -1
- package/dist/lib/command-stack.js.map +1 -1
- package/dist/lib/context-menu.es.js +1 -1
- package/dist/lib/context-menu.es.js.map +1 -1
- package/dist/lib/context-menu.js +1 -1
- package/dist/lib/context-menu.js.map +1 -1
- package/dist/lib/properties/field-picker.es.js +1 -1
- package/dist/lib/properties/field-picker.js +1 -1
- package/dist/lib/properties/flexible-table.es.js +1 -1
- package/dist/lib/properties/flexible-table.js +1 -1
- package/dist/lib/properties.es.js +1 -1
- package/dist/lib/properties.js +1 -1
- package/dist/lib/tooltip.es.js +1 -1
- package/dist/lib/tooltip.es.js.map +1 -1
- package/dist/lib/tooltip.js +1 -1
- package/dist/lib/tooltip.js.map +1 -1
- package/dist/styles/common-canvas.min.css +1 -1
- package/dist/styles/common-canvas.min.css.map +1 -1
- package/dist/toolbar-404bf690.js +2 -0
- package/dist/toolbar-404bf690.js.map +1 -0
- package/dist/toolbar-611d8ab9.js +2 -0
- package/dist/toolbar-611d8ab9.js.map +1 -0
- package/locales/command-actions/locales/index.js +1 -1
- package/locales/common-canvas/locales/index.js +1 -1
- package/locales/common-properties/locales/index.js +1 -1
- package/locales/palette/locales/index.js +1 -1
- package/locales/toolbar/locales/index.js +1 -1
- package/package.json +7 -4
- package/rollup.config.js +11 -8
- package/src/.eslintrc.js +1 -1
- package/src/command-actions/arrangeLayoutAction.js +1 -1
- package/src/command-actions/attachNodeToLinksAction.js +1 -1
- package/src/command-actions/collapseSuperNodeInPlaceAction.js +1 -1
- package/src/command-actions/commonPropertiesAction.js +1 -1
- package/src/command-actions/convertSuperNodeExternalToLocalAction.js +1 -1
- package/src/command-actions/convertSuperNodeLocalToExternalAction.js +1 -1
- package/src/command-actions/createAutoNodeAction.js +1 -1
- package/src/command-actions/createCommentAction.js +1 -1
- package/src/command-actions/createCommentLinkAction.js +1 -1
- package/src/command-actions/createNodeAction.js +1 -1
- package/src/command-actions/createNodeAttachLinksAction.js +1 -1
- package/src/command-actions/createNodeLinkAction.js +1 -1
- package/src/command-actions/createNodeLinkDetachedAction.js +1 -1
- package/src/command-actions/createNodeOnLinkAction.js +1 -1
- package/src/command-actions/createSuperNodeAction.js +1 -1
- package/src/command-actions/deconstructSuperNodeAction.js +1 -1
- package/src/command-actions/deleteLinkAction.js +1 -1
- package/src/command-actions/deleteObjectsAction.js +1 -1
- package/src/command-actions/disconnectObjectsAction.js +1 -1
- package/src/command-actions/displayPreviousPipelineAction.js +1 -1
- package/src/command-actions/displaySubPipelineAction.js +1 -1
- package/src/command-actions/editCommentAction.js +1 -1
- package/src/command-actions/editDecorationLabelAction.js +1 -1
- package/src/command-actions/expandSuperNodeInPlaceAction.js +1 -1
- package/src/command-actions/insertNodeIntoLinkAction.js +1 -1
- package/src/command-actions/moveObjectsAction.js +1 -1
- package/src/command-actions/pasteAction.js +1 -1
- package/src/command-actions/saveToPaletteAction.js +1 -1
- package/src/command-actions/setLinksStyleAction.js +2 -2
- package/src/command-actions/setNodeLabelAction.js +1 -1
- package/src/command-actions/setObjectsStyleAction.js +2 -2
- package/src/command-actions/sizeAndPositionObjectsAction.js +1 -1
- package/src/command-actions/updateLinkAction.js +1 -1
- package/src/command-stack/action.js +1 -1
- package/src/command-stack/command-stack.js +1 -1
- package/src/common-canvas/canvas-controller.js +79 -10
- package/src/common-canvas/cc-bottom-panel.jsx +28 -37
- package/src/common-canvas/cc-central-items.jsx +1 -1
- package/src/common-canvas/cc-contents.jsx +12 -4
- package/src/common-canvas/cc-context-menu.jsx +1 -1
- package/src/common-canvas/cc-right-flyout.jsx +1 -1
- package/src/common-canvas/cc-toolbar.jsx +14 -9
- package/src/common-canvas/common-canvas-utils.js +1 -1
- package/src/common-canvas/common-canvas.jsx +25 -5
- package/src/common-canvas/common-canvas.scss +24 -10
- package/src/common-canvas/d3-zoom-extension/.eslintrc.js +1 -1
- package/src/common-canvas/index.js +1 -1
- package/src/common-canvas/label-util.js +1 -1
- package/src/common-canvas/local-storage.js +1 -1
- package/src/common-canvas/svg-canvas-d3.js +40 -33
- package/src/common-canvas/svg-canvas-d3.scss +2 -3
- package/src/common-canvas/svg-canvas-renderer.js +56 -35
- package/src/common-canvas/svg-canvas-utils-comments.js +1 -1
- package/src/common-canvas/svg-canvas-utils-decs.js +1 -1
- package/src/common-canvas/svg-canvas-utils-display.js +1 -1
- package/src/common-canvas/svg-canvas-utils-links.js +1 -1
- package/src/common-canvas/svg-canvas-utils-nodes.js +1 -1
- package/src/common-properties/actions/action-factory.js +1 -1
- package/src/common-properties/actions/actions.scss +1 -1
- package/src/common-properties/actions/button/button.jsx +1 -1
- package/src/common-properties/actions/button/button.scss +1 -1
- package/src/common-properties/actions/button/index.js +1 -1
- package/src/common-properties/actions/image/image.jsx +1 -1
- package/src/common-properties/actions/image/image.scss +1 -1
- package/src/common-properties/actions/image/index.js +1 -1
- package/src/common-properties/actions.js +1 -1
- package/src/common-properties/common-properties.jsx +1 -1
- package/src/common-properties/components/components.scss +1 -1
- package/src/common-properties/components/control-item/control-item.jsx +1 -1
- package/src/common-properties/components/control-item/control-item.scss +1 -1
- package/src/common-properties/components/control-item/index.js +1 -1
- package/src/common-properties/components/editor-form/editor-form.jsx +1 -1
- package/src/common-properties/components/editor-form/editor-form.scss +1 -1
- package/src/common-properties/components/editor-form/index.js +1 -1
- package/src/common-properties/components/empty-table/empty-table.jsx +1 -1
- package/src/common-properties/components/empty-table/empty-table.scss +1 -1
- package/src/common-properties/components/empty-table/index.js +1 -1
- package/src/common-properties/components/field-picker/field-picker.jsx +1 -1
- package/src/common-properties/components/field-picker/field-picker.scss +1 -1
- package/src/common-properties/components/field-picker/index.js +1 -1
- package/src/common-properties/components/flexible-table/flexible-table.jsx +1 -1
- package/src/common-properties/components/flexible-table/index.js +1 -1
- package/src/common-properties/components/main-editor-properties-buttons/index.js +1 -1
- package/src/common-properties/components/main-editor-properties-buttons/main-editor-properties-buttons.jsx +1 -1
- package/src/common-properties/components/moveable-table-rows/index.js +1 -1
- package/src/common-properties/components/moveable-table-rows/moveable-table-rows.jsx +1 -1
- package/src/common-properties/components/moveable-table-rows/moveable-table-rows.scss +1 -1
- package/src/common-properties/components/properties-buttons/index.js +1 -1
- package/src/common-properties/components/properties-buttons/properties-buttons.jsx +1 -1
- package/src/common-properties/components/properties-buttons/properties-buttons.scss +1 -1
- package/src/common-properties/components/properties-editor/index.js +1 -1
- package/src/common-properties/components/properties-editor/properties-editor.jsx +1 -1
- package/src/common-properties/components/properties-modal/index.js +1 -1
- package/src/common-properties/components/properties-modal/properties-modal.jsx +1 -1
- package/src/common-properties/components/properties-modal/properties-modal.scss +1 -1
- package/src/common-properties/components/title-editor/index.js +1 -1
- package/src/common-properties/components/title-editor/title-editor.jsx +1 -1
- package/src/common-properties/components/title-editor/title-editor.scss +1 -1
- package/src/common-properties/components/truncated-content-tooltip/index.js +1 -1
- package/src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.jsx +7 -2
- package/src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.scss +1 -1
- package/src/common-properties/components/validation-message/index.js +1 -1
- package/src/common-properties/components/validation-message/validation-message.jsx +1 -1
- package/src/common-properties/components/validation-message/validation-message.scss +1 -1
- package/src/common-properties/components/virtualized-table/index.js +1 -1
- package/src/common-properties/components/virtualized-table/virtualized-table.jsx +2 -3
- package/src/common-properties/components/virtualized-table/virtualized-table.scss +1 -1
- package/src/common-properties/components/wide-flyout/index.js +1 -1
- package/src/common-properties/components/wide-flyout/wide-flyout.jsx +1 -1
- package/src/common-properties/components/wide-flyout/wide-flyout.scss +1 -1
- package/src/common-properties/constants/constants.js +2 -2
- package/src/common-properties/constants/form-constants.js +1 -1
- package/src/common-properties/controls/abstract-table.jsx +1 -1
- package/src/common-properties/controls/abstract-table.scss +1 -1
- package/src/common-properties/controls/checkbox/checkbox.jsx +1 -1
- package/src/common-properties/controls/checkbox/checkbox.scss +1 -1
- package/src/common-properties/controls/checkbox/index.js +1 -1
- package/src/common-properties/controls/checkboxset/checkboxset.jsx +1 -1
- package/src/common-properties/controls/checkboxset/checkboxset.scss +1 -1
- package/src/common-properties/controls/checkboxset/index.js +1 -1
- package/src/common-properties/controls/control-factory.js +1 -1
- package/src/common-properties/controls/controls.scss +1 -1
- package/src/common-properties/controls/datefield/datefield.jsx +32 -32
- package/src/common-properties/controls/datefield/index.js +1 -1
- package/src/common-properties/controls/dropdown/dropdown.jsx +1 -1
- package/src/common-properties/controls/dropdown/dropdown.scss +1 -1
- package/src/common-properties/controls/dropdown/index.js +1 -1
- package/src/common-properties/controls/expression/expression-builder/expression-builder.jsx +1 -1
- package/src/common-properties/controls/expression/expression-builder/expression-builder.scss +1 -1
- package/src/common-properties/controls/expression/expression-builder/expression-select-field-function.jsx +1 -1
- package/src/common-properties/controls/expression/expression-builder/expression-select-operator.jsx +1 -1
- package/src/common-properties/controls/expression/expression-builder/expression-selection-panel.jsx +1 -1
- package/src/common-properties/controls/expression/expression.jsx +1 -1
- package/src/common-properties/controls/expression/expression.scss +1 -1
- package/src/common-properties/controls/expression/expressionInfo-parser.js +1 -1
- package/src/common-properties/controls/expression/index.js +1 -1
- package/src/common-properties/controls/expression/languages/CLEM-hint.js +1 -1
- package/src/common-properties/controls/expression/languages/python-hint.js +1 -1
- package/src/common-properties/controls/expression/languages/r-hint.js +1 -1
- package/src/common-properties/controls/list/index.js +1 -1
- package/src/common-properties/controls/list/list.jsx +1 -1
- package/src/common-properties/controls/multiselect/index.js +1 -1
- package/src/common-properties/controls/multiselect/multiselect.jsx +1 -1
- package/src/common-properties/controls/multiselect/multiselect.scss +1 -1
- package/src/common-properties/controls/numberfield/index.js +1 -1
- package/src/common-properties/controls/numberfield/numberfield.jsx +1 -1
- package/src/common-properties/controls/numberfield/numberfield.scss +1 -1
- package/src/common-properties/controls/passwordfield/index.js +1 -1
- package/src/common-properties/controls/passwordfield/passwordfield.jsx +1 -1
- package/src/common-properties/controls/radioset/index.js +1 -1
- package/src/common-properties/controls/radioset/radioset.jsx +1 -1
- package/src/common-properties/controls/radioset/radioset.scss +1 -1
- package/src/common-properties/controls/readonly/index.js +1 -1
- package/src/common-properties/controls/readonly/readonly.jsx +13 -8
- package/src/common-properties/controls/readonly/readonly.scss +1 -1
- package/src/common-properties/controls/readonlytable/index.js +1 -1
- package/src/common-properties/controls/readonlytable/readonlytable.jsx +1 -1
- package/src/common-properties/controls/selectcolumns/index.js +1 -1
- package/src/common-properties/controls/selectcolumns/selectcolumns.jsx +1 -1
- package/src/common-properties/controls/selectcolumns/selectcolumns.scss +1 -1
- package/src/common-properties/controls/someofselect/index.js +1 -1
- package/src/common-properties/controls/someofselect/someofselect.jsx +1 -1
- package/src/common-properties/controls/someofselect/someofselect.scss +1 -1
- package/src/common-properties/controls/structureeditor/index.js +1 -1
- package/src/common-properties/controls/structureeditor/structureeditor.jsx +1 -1
- package/src/common-properties/controls/structureeditor/structureeditor.scss +1 -1
- package/src/common-properties/controls/structurelisteditor/index.js +1 -1
- package/src/common-properties/controls/structurelisteditor/structurelisteditor.jsx +1 -1
- package/src/common-properties/controls/structuretable/index.js +1 -1
- package/src/common-properties/controls/structuretable/structuretable.jsx +1 -1
- package/src/common-properties/controls/textarea/index.js +1 -1
- package/src/common-properties/controls/textarea/textarea.jsx +1 -1
- package/src/common-properties/controls/textarea/textarea.scss +1 -1
- package/src/common-properties/controls/textfield/index.js +1 -1
- package/src/common-properties/controls/textfield/textfield.jsx +1 -1
- package/src/common-properties/controls/textfield/textfield.scss +1 -1
- package/src/common-properties/controls/timefield/index.js +1 -1
- package/src/common-properties/controls/timefield/timefield.jsx +32 -33
- package/src/common-properties/controls/toggletext/index.js +1 -1
- package/src/common-properties/controls/toggletext/toggletext.jsx +1 -1
- package/src/common-properties/controls/toggletext/toggletext.scss +1 -1
- package/src/common-properties/form/ActionInfo.js +1 -1
- package/src/common-properties/form/Conditions.js +1 -1
- package/src/common-properties/form/ControlInfo.js +1 -1
- package/src/common-properties/form/EditorForm.js +1 -1
- package/src/common-properties/form/Form.js +1 -1
- package/src/common-properties/form/GroupInfo.js +1 -1
- package/src/common-properties/form/ParameterInfo.js +1 -1
- package/src/common-properties/form/PropertyDef.js +1 -1
- package/src/common-properties/form/StructureInfo.js +1 -1
- package/src/common-properties/form/UIItem.js +1 -1
- package/src/common-properties/index.js +1 -1
- package/src/common-properties/index.scss +1 -1
- package/src/common-properties/panels/action-panel/action-panel.jsx +1 -1
- package/src/common-properties/panels/action-panel/action-panel.scss +1 -1
- package/src/common-properties/panels/action-panel/index.js +1 -1
- package/src/common-properties/panels/column/column.jsx +1 -1
- package/src/common-properties/panels/column/column.scss +1 -1
- package/src/common-properties/panels/column/index.js +1 -1
- package/src/common-properties/panels/control/control.jsx +1 -1
- package/src/common-properties/panels/control/control.scss +1 -1
- package/src/common-properties/panels/control/index.js +1 -1
- package/src/common-properties/panels/panels.scss +1 -1
- package/src/common-properties/panels/selector/index.js +1 -1
- package/src/common-properties/panels/selector/selector.jsx +1 -1
- package/src/common-properties/panels/sub-panel/button.jsx +1 -1
- package/src/common-properties/panels/sub-panel/cell.jsx +1 -1
- package/src/common-properties/panels/sub-panel/invoker.jsx +1 -1
- package/src/common-properties/panels/sub-panel/sub-panel.scss +1 -1
- package/src/common-properties/panels/subtabs/index.js +1 -1
- package/src/common-properties/panels/subtabs/subtabs.jsx +1 -1
- package/src/common-properties/panels/subtabs/subtabs.scss +1 -1
- package/src/common-properties/panels/summary/index.js +1 -1
- package/src/common-properties/panels/summary/summary.jsx +1 -1
- package/src/common-properties/panels/summary/summary.scss +1 -1
- package/src/common-properties/panels/text-panel/index.js +1 -1
- package/src/common-properties/panels/text-panel/text-panel.jsx +1 -1
- package/src/common-properties/panels/text-panel/text-panel.scss +1 -1
- package/src/common-properties/panels/twisty/index.js +1 -1
- package/src/common-properties/panels/twisty/twisty.jsx +1 -1
- package/src/common-properties/panels/twisty/twisty.scss +1 -1
- package/src/common-properties/properties-controller.js +1 -1
- package/src/common-properties/properties-main/index.js +1 -1
- package/src/common-properties/properties-main/properties-main-widths.scss +1 -1
- package/src/common-properties/properties-main/properties-main.jsx +1 -1
- package/src/common-properties/properties-main/properties-main.scss +1 -1
- package/src/common-properties/properties-store.js +1 -1
- package/src/common-properties/reducers/action-states.js +1 -1
- package/src/common-properties/reducers/component-metadata.js +1 -1
- package/src/common-properties/reducers/control-states.js +1 -1
- package/src/common-properties/reducers/dataset-metadata.js +1 -1
- package/src/common-properties/reducers/disable-row-move-buttons.js +1 -1
- package/src/common-properties/reducers/error-messages.js +1 -1
- package/src/common-properties/reducers/panel-states.js +1 -1
- package/src/common-properties/reducers/properties.js +1 -1
- package/src/common-properties/reducers/row-selections.js +1 -1
- package/src/common-properties/reducers/row-static.js +1 -1
- package/src/common-properties/reducers/save-button-disable.jsx +1 -1
- package/src/common-properties/schema-validator/properties-schema-validator.js +2 -2
- package/src/common-properties/ui-conditions/condition-ops/cellNotEmpty.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/colDoesExists.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/colNotExists.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/condition-ops.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/contains.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/dmMeasurementEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/dmMeasurementNotEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/dmRoleEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/dmRoleNotEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/dmTypeEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/dmTypeNotEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/equals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/greaterThan.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/isDateTime.js +7 -5
- package/src/common-properties/ui-conditions/condition-ops/isEmpty.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/isNotEmpty.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/lengthEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/lengthGreaterThan.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/lengthLessThan.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/lessThan.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/matches.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/notContains.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/notEquals.js +1 -1
- package/src/common-properties/ui-conditions/condition-ops/notMatches.js +1 -1
- package/src/common-properties/ui-conditions/conditions-utils.js +1 -1
- package/src/common-properties/ui-conditions/ui-conditions-parser.js +1 -1
- package/src/common-properties/ui-conditions/ui-conditions.js +1 -1
- package/src/common-properties/ui-conditions/ui-groups-parser.js +1 -1
- package/src/common-properties/util/L10nProvider.js +1 -1
- package/src/common-properties/util/control-utils.js +1 -1
- package/src/common-properties/util/property-utils.js +1 -1
- package/src/context-menu/common-context-menu.jsx +12 -3
- package/src/context-menu/context-menu-wrapper.jsx +1 -1
- package/src/context-menu/context-menu.scss +1 -1
- package/src/flow-validation/validate-flow.js +2 -2
- package/src/icons/icon.jsx +1 -1
- package/src/icons/icon.scss +1 -1
- package/src/index.js +1 -1
- package/src/index.scss +1 -1
- package/src/logging/canvas-logger.js +1 -1
- package/src/notification-panel/notification-panel.jsx +1 -1
- package/src/notification-panel/notification-panel.scss +1 -1
- package/src/object-model/api-pipeline.js +9 -37
- package/src/object-model/canvas-in-handler.js +2 -2
- package/src/object-model/canvas-out-handler.js +1 -1
- package/src/object-model/config-utils.js +2 -2
- package/src/object-model/layout-dimensions.js +1 -1
- package/src/object-model/object-model.js +1 -1
- package/src/object-model/pipeline-in-handler.js +2 -3
- package/src/object-model/pipeline-out-handler.js +1 -1
- package/src/object-model/redux/canvas-store.js +69 -1
- package/src/object-model/redux/reducers/bottompanel.js +1 -1
- package/src/object-model/redux/reducers/breadcrumbs.js +1 -1
- package/src/object-model/redux/reducers/canvasconfig.js +1 -1
- package/src/object-model/redux/reducers/canvasinfo.js +1 -1
- package/src/object-model/redux/reducers/canvastoolbar.js +1 -1
- package/src/object-model/redux/reducers/categories.js +1 -1
- package/src/object-model/redux/reducers/comments.js +1 -1
- package/src/object-model/redux/reducers/contextmenu.js +1 -1
- package/src/object-model/redux/reducers/externalpipelineflows.js +1 -1
- package/src/object-model/redux/reducers/links.js +1 -1
- package/src/object-model/redux/reducers/nodes.js +1 -1
- package/src/object-model/redux/reducers/nodetypes.js +1 -1
- package/src/object-model/redux/reducers/notificationpanel.js +1 -1
- package/src/object-model/redux/reducers/notifications.js +1 -1
- package/src/object-model/redux/reducers/palette.js +1 -1
- package/src/object-model/redux/reducers/ports.js +1 -1
- package/src/object-model/redux/reducers/rightflyout.js +1 -1
- package/src/object-model/redux/reducers/selectioninfo.js +1 -1
- package/src/object-model/redux/reducers/tooltip.js +1 -1
- package/src/object-model/schemas-utils/schema-validator.js +2 -2
- package/src/object-model/schemas-utils/upgrade-palette.js +1 -1
- package/src/palette/palette-content-list-item.jsx +7 -6
- package/src/palette/palette-content-list.jsx +4 -2
- package/src/palette/palette-dialog-content-categories.jsx +1 -1
- package/src/palette/palette-dialog-content-category.jsx +1 -1
- package/src/palette/palette-dialog-content-grid-node.jsx +8 -7
- package/src/palette/palette-dialog-content-grid.jsx +4 -1
- package/src/palette/palette-dialog-content.jsx +5 -2
- package/src/palette/palette-dialog-topbar-three-way-icon.jsx +1 -1
- package/src/palette/palette-dialog-topbar.jsx +1 -1
- package/src/palette/palette-dialog.jsx +4 -2
- package/src/palette/palette-flyout-content-category.jsx +1 -1
- package/src/palette/palette-flyout-content-filtered-list.jsx +3 -1
- package/src/palette/palette-flyout-content-search.jsx +1 -1
- package/src/palette/palette-flyout-content.jsx +6 -3
- package/src/palette/palette-flyout-utils.js +5 -5
- package/src/palette/palette-flyout.jsx +4 -2
- package/src/palette/palette.jsx +6 -2
- package/src/palette/palette.scss +1 -1
- package/src/toolbar/toolbar-action-item.jsx +19 -6
- package/src/toolbar/toolbar-divider-item.jsx +1 -1
- package/src/toolbar/toolbar-overflow-item.jsx +1 -1
- package/src/toolbar/toolbar.jsx +2 -6
- package/src/toolbar/toolbar.scss +2 -2
- package/src/tooltip/tooltip.jsx +1 -1
- package/src/tooltip/tooltip.scss +1 -1
- package/stats.html +1 -1
- package/utils/logger.js +1 -1
- package/dist/canvas-controller-6f6b6511.js +0 -2
- package/dist/canvas-controller-6f6b6511.js.map +0 -1
- package/dist/canvas-controller-bf6c2800.js +0 -2
- package/dist/canvas-controller-bf6c2800.js.map +0 -1
- package/dist/common-properties-20877208.js +0 -2
- package/dist/common-properties-20877208.js.map +0 -1
- package/dist/common-properties-ea686c1c.js +0 -2
- package/dist/common-properties-ea686c1c.js.map +0 -1
- package/dist/datarecord-metadata-v3-schema-b4ad907c.js +0 -2
- package/dist/datarecord-metadata-v3-schema-b4ad907c.js.map +0 -1
- package/dist/datarecord-metadata-v3-schema-bf4483dd.js +0 -2
- package/dist/datarecord-metadata-v3-schema-bf4483dd.js.map +0 -1
- package/dist/extends-112ec8af.js +0 -8
- package/dist/extends-112ec8af.js.map +0 -1
- package/dist/extends-51fe578d.js +0 -7
- package/dist/extends-51fe578d.js.map +0 -1
- package/dist/flexible-table-13570aa9.js +0 -2
- package/dist/flexible-table-13570aa9.js.map +0 -1
- package/dist/flexible-table-20276887.js +0 -2
- package/dist/flexible-table-20276887.js.map +0 -1
- package/dist/index-7e2e5c97.js +0 -2
- package/dist/index-c21aec1b.js +0 -2
- package/dist/isEmpty-5d2981b6.js +0 -2
- package/dist/isEmpty-6528e7c8.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-7e2e5c97.js","sources":["../src/common-properties/components/properties-buttons/properties-buttons.jsx","../node_modules/lodash/hasIn.js","../node_modules/lodash/_baseHasIn.js","../node_modules/lodash/isEqual.js","../src/common-properties/constants/form-constants.js","../node_modules/lodash/_matchesStrictComparable.js","../node_modules/lodash/_baseMatches.js","../node_modules/lodash/_baseMatchesProperty.js","../node_modules/lodash/_baseProperty.js","../node_modules/lodash/_basePropertyDeep.js","../node_modules/lodash/property.js","../node_modules/lodash/_baseIteratee.js","../node_modules/lodash/_baseForOwn.js","../node_modules/lodash/_createBaseEach.js","../node_modules/lodash/_baseEach.js","../node_modules/lodash/_baseMap.js","../node_modules/lodash/_baseSortBy.js","../node_modules/lodash/_compareAscending.js","../node_modules/lodash/_compareMultiple.js","../node_modules/lodash/_baseOrderBy.js","../node_modules/lodash/_isIterateeCall.js","../node_modules/lodash/sortBy.js","../utils/logger.js","../src/common-properties/util/property-utils.js","../src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.jsx","../src/common-properties/components/truncated-content-tooltip/index.js","../src/common-properties/components/field-picker/field-picker.jsx","../src/common-properties/components/field-picker/index.js"],"sourcesContent":["/*\n * Copyright 2017-2020 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { Component } from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport PropTypes from \"prop-types\";\nimport { Button } from \"carbon-components-react\";\nimport classNames from \"classnames\";\nimport defaultMessages from \"../../../../locales/common-properties/locales/en.json\";\n\n\nclass PropertiesButtons extends Component {\n\n\trender() {\n\t\tconst applyButtonLabel = (typeof this.props.applyLabel === \"undefined\")\n\t\t\t? this.props.intl.formatMessage({ id: \"propertiesEdit.applyButton.label\", defaultMessage: defaultMessages[\"propertiesEdit.applyButton.label\"] })\n\t\t\t: this.props.applyLabel;\n\t\tconst rejectButtonLabel = (typeof this.props.rejectLabel === \"undefined\")\n\t\t\t? this.props.intl.formatMessage({ id: \"propertiesEdit.rejectButton.label\", defaultMessage: defaultMessages[\"propertiesEdit.rejectButton.label\"] })\n\t\t\t: this.props.rejectLabel;\n\n\t\tlet rejectButton;\n\t\tif (this.props.cancelHandler) {\n\t\t\trejectButton = (\n\t\t\t\t<Button\n\t\t\t\t\tdata-id=\"properties-cancel-button\"\n\t\t\t\t\tclassName=\"properties-cancel-button\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tsize=\"small\"\n\t\t\t\t\tkind=\"secondary\"\n\t\t\t\t\tonClick={this.props.cancelHandler}\n\t\t\t\t>\n\t\t\t\t\t{rejectButtonLabel}\n\t\t\t\t</Button>\n\t\t\t);\n\t\t}\n\t\tconst applyButton = (\n\t\t\t<Button\n\t\t\t\tdata-id=\"properties-apply-button\"\n\t\t\t\tclassName=\"properties-apply-button\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tsize=\"small\"\n\t\t\t\tonClick={this.props.okHandler}\n\t\t\t\tdisabled={!this.props.applyButtonEnabled}\n\t\t\t>\n\t\t\t\t{applyButtonLabel}\n\t\t\t</Button>\n\t\t);\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclassName={classNames(\"properties-modal-buttons\", { \"hide\": (typeof (this.props.showPropertiesButtons) !== \"undefined\" &&\n\t\t\t\t\t!this.props.showPropertiesButtons) })}\n\t\t\t>\n\t\t\t\t{rejectButton}\n\t\t\t\t{applyButton}\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nPropertiesButtons.propTypes = {\n\tintl: PropTypes.object.isRequired,\n\tcancelHandler: PropTypes.func,\n\tokHandler: PropTypes.func,\n\tapplyLabel: PropTypes.string,\n\trejectLabel: PropTypes.string,\n\tshowPropertiesButtons: PropTypes.bool,\n\tapplyButtonEnabled: PropTypes.bool\n};\n\nPropertiesButtons.defaultProps = {\n\tapplyButtonEnabled: true\n};\n\nexport default injectIntl(PropertiesButtons);\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","/*\n * Copyright 2017-2021 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst ItemType = {\n\tCONTROL: \"control\",\n\tADDITIONAL_LINK: \"additionalLink\",\n\tSTATIC_TEXT: \"staticText\",\n\tHORIZONTAL_SEPARATOR: \"hSeparator\",\n\tPANEL: \"panel\",\n\tSUB_TABS: \"subTabs\",\n\tPRIMARY_TABS: \"primaryTabs\",\n\tPANEL_SELECTOR: \"panelSelector\",\n\tCUSTOM_PANEL: \"customPanel\",\n\tACTION: \"action\",\n\tTEXT_PANEL: \"textPanel\"\n};\n\nconst EditStyle = {\n\tINLINE: \"inline\",\n\tSUBPANEL: \"subpanel\",\n\tON_PANEL: \"on_panel\"\n};\n\nconst Size = {\n\tLARGE: \"large\",\n\tMEDIUM: \"medium\",\n\tSMALL: \"small\"\n};\n\nconst GroupType = {\n\tCONTROLS: \"controls\",\n\tTABS: \"tabs\", // currently not used\n\tSUB_TABS: \"subTabs\",\n\tPANELS: \"panels\",\n\tADDITIONAL: \"additional\",\n\tCOLUMN_SELECTION: \"columnSelection\",\n\tPANEL_SELECTOR: \"panelSelector\",\n\tCUSTOM_PANEL: \"customPanel\",\n\tSUMMARY_PANEL: \"summaryPanel\",\n\tACTION_PANEL: \"actionPanel\",\n\tTEXT_PANEL: \"textPanel\",\n\tTWISTY_PANEL: \"twistyPanel\",\n\tCOLUMN_PANEL: \"columnPanel\"\n};\n\nconst PanelType = {\n\tGENERAL: \"general\",\n\tCOLUMN_SELECTION: \"columnSelection\",\n\tCUSTOM: \"custom\",\n\tSUMMARY: \"summary\",\n\tACTION_PANEL: \"actionPanel\",\n\tTWISTY_PANEL: \"twisty\",\n\tCOLUMN_PANEL: \"column\"\n};\n\nconst ControlType = {\n\tCUSTOM: \"custom\",\n\tTEXTFIELD: \"textfield\",\n\tPASSWORDFIELD: \"passwordfield\",\n\tTEXTAREA: \"textarea\",\n\tLIST: \"list\",\n\tEXPRESSION: \"expression\",\n\tNUMBERFIELD: \"numberfield\",\n\tDATEFIELD: \"datefield\",\n\tTIMEFIELD: \"timefield\",\n\tTIMESTAMP: \"timestampfield\",\n\tCHECKBOX: \"checkbox\",\n\tRADIOSET: \"radioset\",\n\tCHECKBOXSET: \"checkboxset\",\n\tONEOFSELECT: \"oneofselect\",\n\tMULTISELECT: \"multiselect\",\n\tSOMEOFSELECT: \"someofselect\",\n\tSELECTCOLUMN: \"selectcolumn\",\n\tSELECTCOLUMNS: \"selectcolumns\",\n\tSELECTSCHEMA: \"selectschema\",\n\tSTRUCTURETABLE: \"structuretable\",\n\tSTRUCTUREEDITOR: \"structureeditor\",\n\tSTRUCTURELISTEDITOR: \"structurelisteditor\",\n\tTOGGLETEXT: \"toggletext\",\n\tREADONLY: \"readonly\",\n\tREADONLYTABLE: \"readonlyTable\",\n\tSPINNER: \"spinner\",\n\tCODE: \"code\",\n\tHIDDEN: \"hidden\"\n};\n\nconst ParamRole = {\n\tTEXT: \"text\",\n\tENUM: \"enum\",\n\tCOLUMN: \"column\",\n\tNEW_COLUMN: \"new_column\",\n\tEXPRESSION: \"expression\",\n\tEMAIL: \"email\",\n\tURL: \"url\",\n\tCOLOR: \"color\",\n\tINTERVAL_YEAR: \"interval_year\",\n\tINTERVAL_DAY: \"interval_day\",\n\tINTERVAL_SECOND: \"interval_second\",\n\tCUSTOM: \"custom\",\n\tUNSPECIFIED: \"\"\n};\n\nconst Type = {\n\tBOOLEAN: \"boolean\",\n\tINTEGER: \"integer\",\n\tLONG: \"long\",\n\tDOUBLE: \"double\",\n\tSTRING: \"string\",\n\tPASSWORD: \"password\",\n\tDATE: \"date\",\n\tTIME: \"time\",\n\tSTRUCTURE: \"structure\",\n\tOBJECT: \"object\"\n};\n\nconst Separator = {\n\tBEFORE: \"before\",\n\tAFTER: \"after\"\n};\n\nconst ORIENTATIONS = {\n\tVERTICAL: \"vertical\",\n\tHORIZONTAL: \"horizontal\"\n};\n\nfunction hasValue(Enum, value) {\n\tfor (var key in Enum) {\n\t\tif (value === Enum[key]) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n}\n\nexport { GroupType, PanelType, Type, ParamRole, ControlType, hasValue, EditStyle, Size, ItemType, Separator, ORIENTATIONS };\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n","var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n","var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n","var arrayMap = require('./_arrayMap'),\n baseGet = require('./_baseGet'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n","/*\n * Copyright 2017-2020 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* eslint no-console: [\"error\", { allow: [\"log\", \"warn\", \"error\"] }] */\n\n// Modules\n\n// Globals\n\n// Private Methods ------------------------------------------------------------>\n\nfunction _getErrorMessage(prefix, errorObject, id) {\n\tvar classID = \"\";\n\tvar lineNumber = \"\";\n\tvar message = \"\";\n\n\t// Class name\n\tif (id) {\n\t\tclassID = id + \": \";\n\t}\n\n\tif (errorObject) {\n\t\t// Line number\n\t\tif (errorObject.lineNumber) {\n\t\t\tlineNumber = \"(line \" + errorObject.lineNumber + \"): \";\n\t\t}\n\t\t// Error message\n\t\tif (errorObject.message) {\n\t\t\tmessage = errorObject.message;\n\t\t} else {\n\t\t\tmessage = \"Message unavailable\";\n\t\t}\n\t}\n\n\tvar errorMessage = \"[\" + prefix + \"]: \" +\n\t\t\t\t\t\tclassID +\n\t\t\t\t\t\tlineNumber +\n\t\t\t\t\t\tmessage;\n\n\treturn errorMessage;\n}\n\n/**\n * Prints a DEBUG status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _debug(id, errorObject) {\n\tconsole.log(_getErrorMessage(\"DEBUG\", errorObject, id));\n}\n\n/**\n * Prints a INFO status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _info(id, errorObject) {\n\tconsole.log(_getErrorMessage(\"INFO\", errorObject, id));\n}\n\n/**\n * Prints a WARNING status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _warning(id, errorObject) {\n\tconsole.warn(_getErrorMessage(\"WARNING\", errorObject, id));\n}\n\n/**\n * Prints a ERROR status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _error(id, errorObject) {\n\tconsole.error(_getErrorMessage(\"ERROR\", errorObject, id));\n}\n\n// Public Methods ------------------------------------------------------------->\n\nmodule.exports.debug = _debug;\nmodule.exports.info = _info;\nmodule.exports.warn = _warning;\nmodule.exports.error = _error;\n","/*\n * Copyright 2017-2020 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint max-depth: [\"error\", 5] */\n\nimport logger from \"../../../utils/logger\";\nimport { ParamRole } from \"../constants/form-constants\";\nimport { DATA_TYPE, CARBON_ICONS } from \"../constants/constants\";\nimport { cloneDeep } from \"lodash\";\nimport { v4 as uuid4 } from \"uuid\";\nimport defaultMessages1 from \"../../../locales/common-properties/locales/en.json\";\nimport defaultMessages2 from \"../../../locales/command-actions/locales/en.json\";\n\n/**\n * A better type identifier than a simple 'typeOf' call:\n *\n * \ttoType({a: 4}); //\"object\"\n *\ttoType([1, 2, 3]); //\"array\"\n *\t(function() {console.log(toType(arguments))})(); //arguments\n *\ttoType(new ReferenceError); //\"error\"\n *\ttoType(new Date); //\"date\"\n *\ttoType(/a-z/); //\"regexp\"\n *\ttoType(Math); //\"math\"\n *\ttoType(JSON); //\"json\"\n *\ttoType(new Number(4)); //\"number\"\n *\ttoType(new String(\"abc\")); //\"string\"\n *\ttoType(new Boolean(true)); //\"boolean\"\n */\nfunction toType(obj) {\n\treturn ({}).toString.call(obj).match(/\\s([a-zA-Z]+)/)[1].toLowerCase();\n}\n\nfunction copy(obj) {\n\tif (typeof obj !== \"undefined\") {\n\t\treturn cloneDeep(obj);\n\t}\n\treturn obj;\n}\n\nfunction formatMessage(intl, key, substituteObj) {\n\tconst defaultMessages = { ...defaultMessages1, ...defaultMessages2 };\n\tlet formattedMessage;\n\tif (typeof intl !== \"undefined\" && intl !== null) {\n\t\tformattedMessage = intl.formatMessage({ id: key, defaultMessage: defaultMessages[key] }, substituteObj);\n\t} else {\n\t\tformattedMessage = defaultMessages[key];\n\t}\n\treturn formattedMessage;\n}\n\nfunction generateId() {\n\treturn \"properties-\" + uuid4();\n}\n\n/*\n* Parses text to see if there is any text replace elements ${}\n*/\nfunction evaluateText(text, controller) {\n\ttry {\n\t\tif (!text) {\n\t\t\treturn text;\n\t\t}\n\t\tconst startIdx = text.indexOf(\"${\");\n\t\tif (startIdx < 0) {\n\t\t\treturn text;\n\t\t}\n\t\tconst endIdx = text.substr(startIdx + 2).indexOf(\"}\");\n\t\tif (endIdx < 0) {\n\t\t\treturn text;\n\t\t}\n\t\tconst expression = text.substr(startIdx + 2, endIdx);\n\t\tconst newText = text.replace(\"${\" + expression + \"}\", _evaluateExpression(expression, controller));\n\t\treturn evaluateText(newText, controller); // test to see if there are more expressions\n\t} catch (e) {\n\t\tlogger.warn(\"Invalid expression. Make sure replacement expression in text is a valid expression.\");\n\t\treturn text;\n\t}\n}\n\nfunction _evaluateExpression(expression, controller) {\n\tconst paramStartIdx = expression.indexOf(\"(\");\n\tconst funcName = expression.substr(0, paramStartIdx);\n\tconst parameters = expression.slice(paramStartIdx + 1, -1).split(\",\");\n\tif (parameters.length === 0) {\n\t\treturn \"\";\n\t}\n\tlet value;\n\tlet paramValue;\n\tswitch (funcName) {\n\tcase \"percent\":\n\t\tparamValue = _getExpParameterValue(parameters[0], controller);\n\t\t// 0, undefined, null, or not a number return 0\n\t\tif (!paramValue || isNaN(paramValue)) {\n\t\t\treturn 0;\n\t\t}\n\t\tvalue = 100.0 / paramValue;\n\t\tif (parameters.length > 1) {\n\t\t\tvalue = value.toFixed(parseInt(parameters[1], 10));\n\t\t}\n\t\treturn value;\n\tcase \"sum\":\n\t\tvalue = 0;\n\t\tfor (const param of parameters) {\n\t\t\tparamValue = _getExpParameterValue(param, controller);\n\t\t\tif (!isNaN(paramValue)) {\n\t\t\t\tvalue += paramValue;\n\t\t\t}\n\t\t}\n\t\treturn value;\n\tdefault:\n\t\tbreak;\n\t}\n\treturn \"\";\n}\n\nfunction _getExpParameterValue(expParam, controller) {\n\t// assume property if parameter is a string\n\tif (isNaN(expParam)) {\n\t\treturn controller.getPropertyValue({ name: expParam.trim() });\n\t}\n\treturn parseFloat(expParam);\n}\n\nfunction getTableFieldIndex(control) {\n\tif (control) {\n\t\t// table\n\t\tif (control.subControls) {\n\t\t\tfor (let i = 0; i < control.subControls.length; i++) {\n\t\t\t\tif (control.subControls[i].role === ParamRole.COLUMN) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (control.role === ParamRole.COLUMN) { // array\n\t\t\treturn 0;\n\t\t}\n\t}\n\treturn -1;\n}\n\n// TODO: This can be removed once the WML Play service generates datasetMetadata instead of inputDataModel\n/**\n * Converts old style Modeler inputDataModel into newer datasetMetadata\n */\nfunction convertInputDataModel(dataModel) {\n\tconst datasetMetadata = {};\n\tdatasetMetadata.fields = [];\n\tif (dataModel && dataModel.columns) {\n\t\tfor (const column of dataModel.columns) {\n\t\t\tconst field = {};\n\t\t\tfield.name = column.name;\n\t\t\tfield.type = convertType(column.storage);\n\t\t\tfield.metadata = {};\n\t\t\tfield.metadata.description = \"\";\n\t\t\tif (column.measure) {\n\t\t\t\tfield.metadata.measure = column.measure.toLowerCase();\n\t\t\t}\n\t\t\tif (column.modelingRole) {\n\t\t\t\tfield.metadata.modeling_role = column.modelingRole.toLowerCase();\n\t\t\t}\n\t\t\tdatasetMetadata.fields.push(field);\n\t\t}\n\t}\n\treturn datasetMetadata;\n}\n\n/**\n * Converts from Modeler storage to WML type.\n */\nfunction convertType(storage) {\n\tlet retVal = storage.toLowerCase();\n\tif (storage === \"Real\") {\n\t\tretVal = \"double\";\n\t}\n\treturn retVal;\n}\n\n/**\n * Returns true if any subControl within control has 'structureType === object'\n */\nfunction isSubControlStructureObjectType(control) {\n\tif (control) {\n\t\tif (control.structureType && control.structureType === \"object\") {\n\t\t\treturn true;\n\t\t} else if (control.subControls) {\n\t\t\tfor (const subControl of control.subControls) {\n\t\t\t\tif (subControl.structureType && subControl.structureType === \"object\") {\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (subControl.subControls) {\n\t\t\t\t\tconst objectType = isSubControlStructureObjectType(subControl);\n\t\t\t\t\tif (objectType) { // continue if false\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn false;\n}\n\n/**\n * Converts the currentValues of a structure control of type 'object'\n * from an array of objects to an array of values.\n * @isList boolean, true if this structure is a list\n * Example currentValues: [{a: 1, b: 2}, {a: 10, b; 20}] || {z: 9, y: 88, x: [\"abc\", \"def\"]}\n * Example convertedValues: [[1, 2], [10, 20]] || [9, 88, [\"abc\", \"def\"]]\n */\nfunction convertObjectStructureToArray(isList, subControls, currentValues) {\n\tconst structureKeys = [];\n\tsubControls.forEach((control) => {\n\t\tstructureKeys.push(control.name);\n\t});\n\n\tif (isList) {\n\t\tconst convertedValues = [];\n\t\tif (typeof currentValues === \"object\" && currentValues !== null && Object.keys(currentValues).length > 0) {\n\t\t\tcurrentValues.forEach((row) => {\n\t\t\t\tif (Array.isArray(row)) { // check if any values in the row is a nested object\n\t\t\t\t\tconst convertedRow = [];\n\t\t\t\t\trow.forEach((field, index) => {\n\t\t\t\t\t\tlet value = field;\n\t\t\t\t\t\tif (typeof field === \"object\" && field !== null && Object.keys(field).length > 0) {\n\t\t\t\t\t\t\tvalue = convertObjectStructureToArray(subControls[index].valueDef.isList, subControls[index].subControls, field);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconvertedRow.push(value);\n\t\t\t\t\t});\n\t\t\t\t\tconvertedValues.push(convertedRow);\n\t\t\t\t} else if (typeof row === \"object\") {\n\t\t\t\t\tconst convertedRow = [];\n\t\t\t\t\tstructureKeys.forEach((key, index) => {\n\t\t\t\t\t\tlet value = typeof row[key] !== \"undefined\" ? row[key] : null;\n\t\t\t\t\t\t// subControls that are type 'object' will need to be converted\n\t\t\t\t\t\tif (subControls[index].structureType && subControls[index].structureType === \"object\") {\n\t\t\t\t\t\t\tvalue = convertObjectStructureToArray(subControls[index].valueDef.isList, subControls[index].subControls, row[key]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconvertedRow.push(value);\n\t\t\t\t\t});\n\t\t\t\t\tconvertedValues.push(convertedRow);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn convertedValues;\n\t}\n\n\tconst converted = [];\n\tstructureKeys.forEach((key, index) => {\n\t\tconst value = typeof currentValues[key] !== \"undefined\" ? currentValues[key] : null;\n\t\tconverted.push(value);\n\t});\n\treturn converted;\n}\n\n/**\n * Converts the currentValues of a structure control of type 'object'\n * from an array of values to an array of objects.\n * @isList boolean, true if this structure is a list\n * @convert boolean, true if the current control values need to be converted.\n * If false, need to determine if the subControls need to be converted\n * Example currentValues: [[1, 2], [10, 20]] || [9, 88, [\"abc\", \"def\"]]\n * Example convertedValues: [{a: 1, b: 2}, {a: 10, b; 20}] || {z: 9, y: 88, x: [\"abc\", \"def\"]}\n */\nfunction convertArrayStructureToObject(isList, subControls, currentValues, convert) {\n\tconst structureKeys = [];\n\tsubControls.forEach((control) => {\n\t\tstructureKeys.push(control.name);\n\t});\n\n\tif (isList && Array.isArray(currentValues)) {\n\t\tconst convertedValues = [];\n\t\tcurrentValues.forEach((row, idx) => {\n\t\t\tif (convert) { // this control needs to be converted, convert all values in this row and determine if there are nested structures to be converted\n\t\t\t\tconst newObject = {};\n\t\t\t\tstructureKeys.forEach((key, keyIndex) => {\n\t\t\t\t\t// subControls that are type 'object' will need to be converted\n\t\t\t\t\tif (subControls[keyIndex].structureType && subControls[keyIndex].structureType === \"object\") { // nested object\n\t\t\t\t\t\tnewObject[key] = convertArrayStructureToObject(subControls[keyIndex].valueDef.isList, subControls[keyIndex].subControls, row[keyIndex], true);\n\t\t\t\t\t} else if (typeof subControls.subControls !== \"undefined\") { // nested array\n\t\t\t\t\t\tnewObject[key] = convertArrayStructureToObject(subControls[keyIndex].valueDef.isList, subControls[keyIndex].subControls, row[keyIndex], false);\n\t\t\t\t\t} else { // value\n\t\t\t\t\t\tnewObject[key] = typeof row[keyIndex] !== \"undefined\" ? row[keyIndex] : null;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tconvertedValues.push(newObject);\n\t\t\t} else { // determine if each value in the row is a nested structure that needs to be converted\n\t\t\t\tconst convertedRow = [];\n\t\t\t\trow.forEach((field, index) => {\n\t\t\t\t\tlet value = field;\n\t\t\t\t\tif (subControls[index].structureType && subControls[index].structureType === \"object\") {\n\t\t\t\t\t\tvalue = convertArrayStructureToObject(subControls[index].valueDef.isList, subControls[index].subControls, field, true);\n\t\t\t\t\t}\n\t\t\t\t\tconvertedRow.push(value);\n\t\t\t\t});\n\t\t\t\tconvertedValues.push(convertedRow);\n\t\t\t}\n\t\t});\n\t\treturn convertedValues;\n\t}\n\n\tconst converted = {};\n\tstructureKeys.forEach((key, index) => {\n\t\tconverted[key] = currentValues && typeof currentValues[index] !== \"undefined\" ? currentValues[index] : null;\n\t});\n\treturn converted;\n}\n\n/**\n * Converts the input list of currentParameters into a simple array of field names\n * \tWill also remove invalid fields in currentParameters that are not in the data model.\n *\n * @param control the control to format the input list for\n * @param controlValues array of the currentControlValues\n * @param fields the filtered list of fields from the data model\n */\nfunction getFieldsFromControlValues(control, controlValues, fields) {\n\tconst dataColumnIndex = getTableFieldIndex(control);\n\tconst outputList = [];\n\tif (controlValues && dataColumnIndex !== -1) {\n\t\tfor (const controlValue of controlValues) {\n\t\t\tlet fieldName = controlValue;\n\t\t\tif (Array.isArray(controlValue)) {\n\t\t\t\tfieldName = stringifyFieldValue(controlValue[dataColumnIndex], control);\n\t\t\t} else if (toType(controlValue) === \"object\") {\n\t\t\t\tfieldName = stringifyFieldValue(controlValue, control);\n\t\t\t}\n\t\t\toutputList.push(fieldName);\n\t\t}\n\t}\n\treturn outputList;\n}\n\n/**\n * Returns the string field name for both string and object based field values.\n * If the control's propType is structure, return the combined schema and field names.\n *\n * @param value A field value. Can be string or object\n * @param control The control definition for the parameter\n * @param excludeSchema When true, exclude the schema prefix on compound entries\n * @return A string field name value or null\n */\nfunction stringifyFieldValue(value, control, excludeSchema) {\n\tconst theType = toType(value);\n\tif (theType === \"object\") {\n\t\tif (control && control.valueDef && value.link_ref) {\n\t\t\tlet stringName;\n\t\t\tif (!excludeSchema) {\n\t\t\t\tstringName = value.link_ref + \".\" + value.field_name;\n\t\t\t} else {\n\t\t\t\tstringName = value.field_name;\n\t\t\t}\n\t\t\treturn stringName;\n\t\t}\n\t\treturn null;\n\t}\n\treturn value;\n}\n\n/**\n * Returns true if the given field value matches the provided field prototype.\n *\n * @param fieldValue A persistent field value\n * @param fieldProto A field prototype structure\n * @return True if the field value matches the field prototype\n */\nfunction fieldValueMatchesProto(fieldValue, fieldProto) {\n\tconst theType = toType(fieldValue);\n\tif (theType === \"object\" && fieldValue.link_ref) {\n\t\treturn fieldValue.link_ref === fieldProto.schema &&\n\t\t\t\t\t\tfieldValue.field_name === fieldProto.origName;\n\t}\n\treturn fieldValue === fieldProto.name;\n}\n\n/**\n * Converts a display string for a field name into the value it is stored as.\n *\n * @param stringValue A field name, either plain or in schema.name format\n * @param The control The control\n * @param controller Properties controller\n * @return The field name in canonical format for storage (string or object)\n */\nfunction fieldStringToValue(stringValue, control, controller) {\n\tif (control.role === \"column\" && control.valueDef.propType === \"structure\") {\n\t\tconst dataModelFields = controller.getDatasetMetadataFields();\n\t\tfor (const field of dataModelFields) {\n\t\t\tif (field.name === stringValue) {\n\t\t\t\treturn { link_ref: field.schema, field_name: field.origName };\n\t\t\t}\n\t\t}\n\t}\n\treturn stringValue;\n}\n\nfunction getDMDefault(subControlDef, fieldName, fields) {\n\tlet defaultValue;\n\tconst dmField = subControlDef.dmDefault;\n\tif (fieldName) {\n\t\tfor (const field of fields) {\n\t\t\tif (field.name === fieldName) {\n\t\t\t\tswitch (dmField) {\n\t\t\t\tcase \"type\":\n\t\t\t\t\tdefaultValue = field.type;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"description\":\n\t\t\t\t\tdefaultValue = field.metadata.description;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"measure\":\n\t\t\t\t\tdefaultValue = _findCorrespondingValue(field.metadata.measure, subControlDef.values);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"modeling_role\":\n\t\t\t\t\tdefaultValue = _findCorrespondingValue(field.metadata.modeling_role, subControlDef.values);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn defaultValue;\n}\n\nfunction getDMFieldIcon(fields, value, iconType) {\n\tlet icon;\n\tconst correctField = fields.find(function(field) {\n\t\treturn field.origName === value;\n\t});\n\tswitch (iconType) {\n\tcase \"measure\":\n\t\tif (!correctField) {\n\t\t\treturn CARBON_ICONS.MEASUREMENTS.EMPTY;\n\t\t}\n\t\tswitch (correctField.metadata.measure) {\n\t\tcase \"range\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.SCALE;\n\t\t\tbreak;\n\t\tcase \"ordered_set\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.ORDINAL;\n\t\t\tbreak;\n\t\tcase \"discrete\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.DISCRETE;\n\t\t\tbreak;\n\t\tcase \"set\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.NOMINAL;\n\t\t\tbreak;\n\t\tcase \"flag\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.FLAG;\n\t\t\tbreak;\n\t\tcase \"collection\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.NOMINAL;\n\t\t\tbreak;\n\t\tcase \"geospatial\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.NOMINAL;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.EMPTY;\n\t\t\tbreak;\n\t\t}\n\t\tbreak;\n\tcase \"type\":\n\t\tif (!correctField) {\n\t\t\treturn \"typeEmpty\";\n\t\t}\n\t\tswitch (correctField.type) {\n\t\tcase DATA_TYPE.DATE:\n\t\t\ticon = DATA_TYPE.DATE;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.TIME:\n\t\t\ticon = DATA_TYPE.TIME;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.TIMESTAMP:\n\t\t\ticon = DATA_TYPE.TIMESTAMP;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.STRING:\n\t\t\ticon = DATA_TYPE.STRING;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.INTEGER:\n\t\t\ticon = DATA_TYPE.INTEGER;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.DOUBLE:\n\t\t\ticon = DATA_TYPE.DOUBLE;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ticon = \"typeEmpty\";\n\t\t\tbreak;\n\t\t}\n\t\tbreak;\n\tdefault:\n\t\tbreak;\n\t}\n\treturn icon;\n}\n\n\n// Attempts to synchronize the Modeler notions of measurement level\n// and modeling role with those defined in datarecord-metadata.\nfunction _findCorrespondingValue(input, values) {\n\t// First try for an exact match\n\tconst idx = values.indexOf(input);\n\tif (idx > -1) {\n\t\treturn values[idx];\n\t}\n\t// Next try for a case insensitive match\n\tconst searchTerm = input.toLowerCase();\n\tfor (const value of values) {\n\t\tif (searchTerm === value.toLowerCase()) {\n\t\t\treturn value;\n\t\t}\n\t}\n\t// Finally try for a startsWith match\n\tfor (const value of values) {\n\t\tif (searchTerm.startsWith(value.substring(0, 6).toLowerCase())) {\n\t\t\treturn value;\n\t\t}\n\t}\n\t// Last resort: Return the original value\n\treturn input;\n}\n\nexport {\n\ttoType,\n\tformatMessage,\n\tevaluateText,\n\tgetTableFieldIndex,\n\tconvertInputDataModel,\n\tisSubControlStructureObjectType,\n\tconvertObjectStructureToArray,\n\tconvertArrayStructureToObject,\n\tgetFieldsFromControlValues,\n\tcopy,\n\tstringifyFieldValue,\n\tfieldValueMatchesProto,\n\tfieldStringToValue,\n\tgenerateId,\n\tgetDMDefault,\n\tgetDMFieldIcon\n};\n","/*\n * Copyright 2017-2021 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { v4 as uuid4 } from \"uuid\";\nimport Tooltip from \"./../../../tooltip/tooltip.jsx\";\nimport { has } from \"lodash\";\n\n// Reusable component to show tooltip if the content is truncated\nexport default class TruncatedContentTooltip extends React.Component {\n\n\trender() {\n\t\tconst tooltip = (\n\t\t\t<div className=\"properties-tooltips\">\n\t\t\t\t{String(this.props.tooltipText)}\n\t\t\t</div>\n\t\t);\n\t\treturn (\n\t\t\t<div className=\"properties-truncated-tooltip\">\n\t\t\t\t<Tooltip\n\t\t\t\t\tid={`${uuid4()}-properties`}\n\t\t\t\t\ttip={tooltip}\n\t\t\t\t\tdirection=\"bottom\"\n\t\t\t\t\tclassName=\"properties-tooltips\"\n\t\t\t\t\tdisable={has(this.props, \"disabled\") ? this.props.disabled : true}\n\t\t\t\t\tshowToolTipIfTruncated\n\t\t\t\t>\n\t\t\t\t\t{this.props.content}\n\t\t\t\t</Tooltip>\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nTruncatedContentTooltip.propTypes = {\n\tcontent: PropTypes.element.isRequired,\n\ttooltipText: PropTypes.oneOfType([\n\t\tPropTypes.string.isRequired,\n\t\tPropTypes.number.isRequired,\n\t\tPropTypes.bool.isRequired,\n\t\tPropTypes.array.isRequired\n\t]),\n\tdisabled: PropTypes.bool\n};\n","/*\n * Copyright 2017-2021 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport TruncatedContentTooltip from \"./truncated-content-tooltip.jsx\";\nexport default TruncatedContentTooltip;\n","/*\n * Copyright 2017-2020 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint max-depth: [\"error\", 6] */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FlexibleTable from \"./../flexible-table\";\nimport TruncatedContentTooltip from \"./../truncated-content-tooltip\";\nimport PropertiesButtons from \"./../properties-buttons\";\nimport * as PropertyUtils from \"./../../util/property-utils\";\n\nimport { Button } from \"carbon-components-react\";\n\nimport { MESSAGE_KEYS, DATA_TYPE, SORT_DIRECTION, ROW_SELECTION } from \"./../../constants/constants\";\nimport Icon from \"./../../../icons/icon.jsx\";\nimport { ArrowLeft24, Reset24 } from \"@carbon/icons-react\";\n\nimport { has, isEmpty, sortBy, isEqual } from \"lodash\";\n\nimport Tooltip from \"./../../../tooltip/tooltip.jsx\";\n\nimport { v4 as uuid4 } from \"uuid\";\n\nexport default class FieldPicker extends React.Component {\n\tstatic getDerivedStateFromProps(nextProps, prevState) {\n\t\tif (!isEqual(nextProps.fields, prevState.origFields)) {\n\t\t\tlet selectedFields = prevState.selectedFields;\n\t\t\tif (nextProps.currentFields) {\n\t\t\t\tif (!isEqual(Object.keys(nextProps.currentFields), Object.keys(prevState.selectedFields))) {\n\t\t\t\t\tselectedFields = nextProps.currentFields;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn ({ fields: nextProps.fields, selectedFields: selectedFields, origFields: nextProps.fields });\n\t\t}\n\t\treturn ({});\n\t}\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tfields: this.props.fields, // list of fields dynamically adjusted by filtered or sort criteria\n\t\t\torigFields: this.props.fields,\n\t\t\tfilterIcons: [],\n\t\t\tfilterText: \"\",\n\t\t\tselectedFields: this.props.currentFields // list of fields selected\n\t\t};\n\t\tthis.multiSchema = props.controller.getDatasetMetadataSchemas() &&\n\t\t\tprops.controller.getDatasetMetadataSchemas().length > 1;\n\t\tthis.filterList = [];\n\n\t\tthis.filterType = this.filterType.bind(this);\n\t\tthis.getTableData = this.getTableData.bind(this);\n\t\tthis.getVisibleData = this.getVisibleData.bind(this);\n\t\tthis.handleSave = this.handleSave.bind(this);\n\t\tthis.handleCancel = this.handleCancel.bind(this);\n\t\tthis.handleReset = this.handleReset.bind(this);\n\t\tthis.getNewSelections = this.getNewSelections.bind(this);\n\t\tthis.onSort = this.onSort.bind(this);\n\t\tthis.onFilter = this.onFilter.bind(this);\n\t\tthis.updateFieldSelections = this.updateFieldSelections.bind(this);\n\t\tthis.filterList = this.getAvailableFilters();\n\t}\n\n\tonFilter(filterString) {\n\t\tthis.setState({ filterText: filterString });\n\t}\n\n\t/**\n\t* Reorder the current list of fields displayed according to the sort column\n\t* @param spec object with a column and direction to sort\n\t*/\n\tonSort(spec) {\n\t\tlet fields = Array.from(this.state.fields);\n\t\tfields = sortBy(fields, function(field) {\n\t\t\tswitch (spec.column) {\n\t\t\tcase \"fieldName\": return field.origName;\n\t\t\tcase \"dataType\": return field.type;\n\t\t\tcase \"schemaName\": return field.schema;\n\t\t\tdefault: return null;\n\t\t\t}\n\t\t});\n\t\tif (spec.direction === SORT_DIRECTION.DESC) {\n\t\t\tfields.reverse();\n\t\t}\n\t\tthis.setState({ fields: fields });\n\t}\n\n\tgetAvailableFilters() {\n\t\tconst filters = [];\n\t\tfor (const key in DATA_TYPE) {\n\t\t\tif (has(DATA_TYPE, key)) {\n\t\t\t\tconst dataType = DATA_TYPE[key];\n\t\t\t\tfor (const field of this.props.fields) {\n\t\t\t\t\tif (dataType === field.type) {\n\t\t\t\t\t\tconst filter = {\n\t\t\t\t\t\t\t\"type\": field.type\n\t\t\t\t\t\t};\n\t\t\t\t\t\tlet duplicate = false;\n\t\t\t\t\t\tfor (const filtered of filters) {\n\t\t\t\t\t\t\tif (filtered.type === filter.type) {\n\t\t\t\t\t\t\t\tduplicate = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!duplicate) {\n\t\t\t\t\t\t\tfilters.push(filter);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn filters;\n\t}\n\n\tgetTableData() {\n\t\tconst fields = this.getVisibleData();\n\t\tconst tableData = [];\n\t\tconst selectedFields = this.state.selectedFields;\n\t\tconst selectedRowsIndex = [];\n\t\tfor (let i = 0; i < selectedFields.length; i++) {\n\t\t\tconst idx = fields.findIndex((field) => field.name === selectedFields[i]);\n\t\t\tif (idx !== -1) {\n\t\t\t\tselectedRowsIndex.push(idx);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < fields.length; i++) {\n\t\t\tconst field = fields[i];\n\t\t\tconst columns = [];\n\t\t\tlet fieldContent = (\n\t\t\t\t<div className=\"properties-fp-field\">\n\t\t\t\t\t<div className=\"properties-fp-field-name\">\n\t\t\t\t\t\t{field.origName}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t\tif (this.props.dmIcon) {\n\t\t\t\tconst metadata = this.props.controller.getDatasetMetadataFields();\n\t\t\t\tconst dmIconType = PropertyUtils.getDMFieldIcon(metadata,\n\t\t\t\t\tfield.origName, this.props.dmIcon);\n\t\t\t\tconst dmIcon = dmIconType ? <Icon type={dmIconType} /> : null;\n\t\t\t\tlet disabled = true;\n\t\t\t\tif (field.origName) {\n\t\t\t\t\tdisabled = false;\n\t\t\t\t}\n\t\t\t\tconst fpFieldName = (\n\t\t\t\t\t<span className=\"properties-fp-field-name\">\n\t\t\t\t\t\t{field.origName}\n\t\t\t\t\t</span>\n\t\t\t\t);\n\t\t\t\tconst fieldNameWithTooltip = (\n\t\t\t\t\t<TruncatedContentTooltip\n\t\t\t\t\t\tcontent={fpFieldName}\n\t\t\t\t\t\ttooltipText={field.origName}\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\t\tfieldContent = (\n\t\t\t\t\t<div className=\"properties-fp-field\">\n\t\t\t\t\t\t<div className=\"properties-fp-field-type-icon\">\n\t\t\t\t\t\t\t{dmIcon}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{fieldNameWithTooltip}\n\t\t\t\t\t</div>\n\t\t\t\t);\n\t\t\t}\n\t\t\tcolumns.push({\n\t\t\t\tcolumn: \"fieldName\",\n\t\t\t\tcontent: fieldContent,\n\t\t\t\tfieldName: field.origName\n\t\t\t});\n\t\t\tif (this.multiSchema) {\n\t\t\t\tconst schemaContent = (<div className=\"properties-fp-schema\">\n\t\t\t\t\t{field.schema}\n\t\t\t\t</div>);\n\t\t\t\tcolumns.push({ column: \"schemaName\", content: schemaContent });\n\t\t\t}\n\t\t\tcolumns.push({\n\t\t\t\tcolumn: \"dataType\",\n\t\t\t\tcontent: (<div className=\"properties-fp-data\">\n\t\t\t\t\t<div className={\"properties-fp-data-type-icon\"}>\n\t\t\t\t\t\t<Icon type={field.type} />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className=\"properties-fp-field-type\">{field.type}</div>\n\t\t\t\t</div>),\n\t\t\t\tvalue: field.type\n\t\t\t});\n\n\t\t\ttableData.push({ className: \"properties-fp-data-rows\", columns: columns });\n\t\t}\n\t\tthis.selectedRowsIndex = selectedRowsIndex;\n\t\treturn tableData;\n\t}\n\n\t/**\n\t* Returns list of visible fields from search or filter\n\t*/\n\tgetVisibleData() {\n\t\tconst that = this;\n\t\tconst data = this.state.fields;\n\t\tconst\tfilteredData = data.filter(function(row) {\n\t\t\treturn that.state.filterIcons.indexOf(row.type) < 0;\n\t\t});\n\n\t\tconst visibleData = filteredData.filter(function(row) {\n\t\t\tif (typeof that.state.filterText !== \"undefined\" && that.state.filterText !== null) {\n\t\t\t\treturn row.origName.toLowerCase().indexOf(that.state.filterText.toLowerCase()) > -1;\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\n\t\treturn visibleData;\n\t}\n\n\t/**\n\t * Returns any new columns that were not a part of the original set.\n\t */\n\tgetNewSelections() {\n\t\tconst deltas = [];\n\t\tconst initialValues = this.props.currentFields;\n\t\tif (this.state.selectedFields) {\n\t\t\tfor (let i = 0; i < this.state.selectedFields.length; i++) {\n\t\t\t\tif (typeof initialValues === \"undefined\" || initialValues === null || initialValues.indexOf(this.state.selectedFields[i]) < 0) {\n\t\t\t\t\tdeltas.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn deltas;\n\t}\n\n\thandleSave() {\n\t\tthis.props.closeFieldPicker(this.state.selectedFields, this.getNewSelections());\n\t}\n\n\thandleCancel() {\n\t\tthis.handleReset();\n\t\tthis.props.closeFieldPicker();\n\t}\n\n\tupdateFieldSelections(rowsIndex) {\n\t\tconst fields = this.getVisibleData();\n\t\tconst currField = Array.from(this.state.selectedFields);\n\t\tlet current = currField.filter(function(value, index, arr) {\n\t\t\tconst idx = fields.findIndex((field) => field.name === currField[index]);\n\t\t\treturn (idx === -1 || rowsIndex.includes(idx));\n\t\t});\n\t\tfor (let i = 0; i < rowsIndex.length; i++) {\n\t\t\tconst field = fields[rowsIndex[i]];\n\t\t\tif (field && !current.includes(field)) {\n\t\t\t\tconst fieldName = field.name;\n\t\t\t\tcurrent.push(fieldName);\n\t\t\t}\n\t\t}\n\t\tcurrent = Array.from(new Set(current));\n\t\tthis.setState({\n\t\t\tselectedFields: current\n\t\t});\n\t}\n\n\t/**\n\t* Returns true if field is found in list, else false\n\t* @param list array of fields to search through\n\t* @param fieldName field name to find in data\n\t*/\n\tisFieldInList(list, fieldName) {\n\t\treturn list.some(function(field) {\n\t\t\treturn field.name === fieldName;\n\t\t});\n\t}\n\n\thandleReset() {\n\t\tthis.setState({\n\t\t\tselectedFields: this.props.currentFields,\n\t\t\tfilterIcons: [],\n\t\t\tfilterText: \"\",\n\t\t});\n\t}\n\n\tfilterType(evt) {\n\t\tconst type = evt.currentTarget.getAttribute(\"data-type\");\n\t\tconst iconsSelected = Array.from(this.state.filterIcons);\n\t\tconst index = iconsSelected.indexOf(type);\n\t\tif (index < 0) {\n\t\t\ticonsSelected.push(type);\n\t\t} else {\n\t\t\ticonsSelected.splice(index, 1);\n\t\t}\n\t\tthis.setState({ filterIcons: iconsSelected });\n\t}\n\n\t_genBackButton() {\n\t\tif (this.props.rightFlyout) {\n\t\t\tconst applyLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(), MESSAGE_KEYS.APPLYBUTTON_LABEL);\n\t\t\tconst rejectLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(), MESSAGE_KEYS.REJECTBUTTON_LABEL);\n\n\t\t\treturn (<PropertiesButtons\n\t\t\t\tokHandler={this.handleSave}\n\t\t\t\tcancelHandler={this.handleCancel}\n\t\t\t\tshowPropertiesButtons\n\t\t\t\tapplyLabel={applyLabel}\n\t\t\t\trejectLabel={rejectLabel}\n\t\t\t/>);\n\t\t}\n\n\t\tconst saveTooltip = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_SAVEBUTTON_TOOLTIP);\n\t\tconst tooltipId = uuid4() + \"-tooltip-fp\";\n\t\tconst tooltip = (\n\t\t\t<div className=\"properties-tooltips\">\n\t\t\t\t{saveTooltip}\n\t\t\t</div>\n\t\t);\n\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<Tooltip\n\t\t\t\t\tid={tooltipId}\n\t\t\t\t\ttip={tooltip}\n\t\t\t\t\tdirection=\"left\"\n\t\t\t\t\tclassName=\"properties-tooltips\"\n\t\t\t\t>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tclassName=\"properties-fp-back-button\"\n\t\t\t\t\t\t\trenderIcon={ArrowLeft24}\n\t\t\t\t\t\t\ticonDescription={this.props.title}\n\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\tkind=\"primary\"\n\t\t\t\t\t\t\tonClick={this.handleSave}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<label className=\"properties-fp-button-label\">{this.props.title}</label>\n\t\t\t\t\t</div>\n\t\t\t\t</Tooltip>\n\t\t\t</div>\n\t\t);\n\t}\n\n\t_genResetButton() {\n\t\tconst resetLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_RESETBUTTON_LABEL);\n\t\treturn (\n\t\t\t<Button\n\t\t\t\tclassName=\"properties-fp-reset-button-container\"\n\t\t\t\tonClick={this.handleReset}\n\t\t\t\trenderIcon={Reset24}\n\t\t\t\ticonDescription={resetLabel}\n\t\t\t\tsize=\"small\"\n\t\t\t\tkind=\"ghost\"\n\t\t\t>\n\t\t\t\t<span>{resetLabel}</span>\n\t\t\t</Button>\n\t\t);\n\t}\n\n\t_genFilterTypes() {\n\t\tconst that = this;\n\t\tconst filterLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_FILTER_LABEL);\n\t\tconst filters = this.filterList.map(function(filter, ind) {\n\t\t\tlet enabled = true;\n\t\t\tfor (let i = 0; i < that.state.filterIcons.length; i++) {\n\t\t\t\tif (filter.type === that.state.filterIcons[i]) {\n\t\t\t\t\tenabled = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst filterTooltipId = uuid4() + \"-tooltip-filters-\" + ind;\n\t\t\tconst dataTypeLabel = PropertyUtils.formatMessage(that.props.controller.getReactIntl(), MESSAGE_KEYS[`FIELDPICKER_${filter.type.toUpperCase()}_LABEL`]);\n\t\t\tconst tooltip = (\n\t\t\t\t<div className=\"properties-tooltips\">\n\t\t\t\t\t{dataTypeLabel}\n\t\t\t\t</div>\n\t\t\t);\n\t\t\tconst row = (\n\t\t\t\t<li key={\"filters\" + ind} className=\"properties-fp-filter-list-li\">\n\t\t\t\t\t<div className=\"properties-tooltips-filter\">\n\t\t\t\t\t\t<Tooltip\n\t\t\t\t\t\t\tid={filterTooltipId}\n\t\t\t\t\t\t\ttip={tooltip}\n\t\t\t\t\t\t\tdirection=\"bottom\"\n\t\t\t\t\t\t\tclassName=\"properties-tooltips icon-tooltip\"\n\t\t\t\t\t\t\tdisable={isEmpty(filter.type)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\tclassName=\"properties-fp-filter\"\n\t\t\t\t\t\t\t\tdata-type={filter.type}\n\t\t\t\t\t\t\t\tonClick={that.filterType.bind(that)}\n\t\t\t\t\t\t\t\taria-label={filterLabel + \" \" + filter.type}\n\t\t\t\t\t\t\t\tkind=\"ghost\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Icon type={filter.type} disabled={!enabled} />\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</Tooltip>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t);\n\t\t\treturn (row);\n\t\t});\n\t\treturn (\n\t\t\t<ul className=\"properties-fp-filter-list\">\n\t\t\t\t<li className=\"properties-fp-filter-list-title properties-fp-filter-list-li\">\n\t\t\t\t\t{filterLabel}\n\t\t\t\t</li>\n\t\t\t\t{filters}\n\t\t\t</ul>\n\t\t);\n\t}\n\n\t_genTable() {\n\n\t\tconst fieldColumnLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_FIELDCOLUMN_LABEL);\n\t\t// TODO: debug why resource key not used\n\t\tconst schemaColumnLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_SCHEMACOLUMN_LABEL);\n\t\tconst dataTypeColumnLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_DATATYPECOLUMN_LABEL);\n\t\t// TODO get label from resource and make id unique\n\t\tconst headers = [];\n\t\theaders.push({ \"key\": \"fieldName\", \"label\": fieldColumnLabel });\n\t\tif (this.multiSchema) {\n\t\t\theaders.push({ \"key\": \"schemaName\", \"label\": schemaColumnLabel });\n\t\t}\n\t\theaders.push({ \"key\": \"dataType\", \"label\": dataTypeColumnLabel });\n\n\t\tconst tableData = this.getTableData();\n\n\t\treturn (\n\t\t\t<FlexibleTable className=\"properties-fp-table\"\n\t\t\t\tsortable={[\"fieldName\", \"schemaName\", \"dataType\"]}\n\t\t\t\tfilterable={[\"fieldName\"]}\n\t\t\t\tonFilter={this.onFilter}\n\t\t\t\tcolumns={headers}\n\t\t\t\tdata={tableData}\n\t\t\t\tonSort={this.onSort}\n\t\t\t\tfilterKeyword={this.state.filterText}\n\t\t\t\tscrollKey=\"field-picker\"\n\t\t\t\trows={-1}\n\t\t\t\ttableLabel={this.props.title ? this.props.title : \"\"}\n\t\t\t\tselectedRows={this.selectedRowsIndex}\n\t\t\t\tupdateRowSelections={this.updateFieldSelections}\n\t\t\t\trowSelection={ROW_SELECTION.MULTIPLE}\n\t\t\t\tlight={this.props.controller.getLight()}\n\t\t\t/>\n\t\t);\n\t}\n\n\trender() {\n\t\tconst backButton = this._genBackButton();\n\t\tconst resetButton = this._genResetButton();\n\t\tconst filterTypes = this._genFilterTypes();\n\t\tconst table = this._genTable();\n\n\t\tif (this.props.rightFlyout) {\n\t\t\treturn (<div>\n\t\t\t\t<div className=\"properties-fp-top-row\">\n\t\t\t\t\t{filterTypes}\n\t\t\t\t\t{resetButton}\n\t\t\t\t</div>\n\t\t\t\t{table}\n\t\t\t\t{backButton}\n\t\t\t</div>);\n\t\t}\n\n\t\treturn (<div>\n\t\t\t<div className=\"properties-fp-top-row\">\n\t\t\t\t{backButton}\n\t\t\t\t{resetButton}\n\t\t\t</div>\n\t\t\t{filterTypes}\n\t\t\t{table}\n\t\t</div>);\n\t}\n}\n\nFieldPicker.propTypes = {\n\tcloseFieldPicker: PropTypes.func.isRequired,\n\tcurrentFields: PropTypes.array.isRequired,\n\tfields: PropTypes.array, // in current data model\n\ttitle: PropTypes.string,\n\tcontroller: PropTypes.object.isRequired,\n\trightFlyout: PropTypes.bool,\n\tdmIcon: PropTypes.string\n};\n","/*\n * Copyright 2017-2020 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport FieldPicker from \"./field-picker.jsx\";\nexport default FieldPicker;\n"],"names":["PropertiesButtons","rejectButton","applyButtonLabel","this","props","applyLabel","intl","formatMessage","id","defaultMessage","defaultMessages","rejectButtonLabel","rejectLabel","cancelHandler","React","Button","className","type","size","kind","onClick","applyButton","okHandler","disabled","applyButtonEnabled","classNames","showPropertiesButtons","Component","propTypes","PropTypes","object","isRequired","func","string","bool","defaultProps","injectIntl","baseHasIn","key","Object","hasPath","require$$1","hasIn_1","path","baseIsEqual","require$$0","isEqual_1","value","other","ParamRole","TEXT","ENUM","COLUMN","NEW_COLUMN","EXPRESSION","EMAIL","URL","COLOR","INTERVAL_YEAR","INTERVAL_DAY","INTERVAL_SECOND","CUSTOM","UNSPECIFIED","_matchesStrictComparable","srcValue","undefined","baseIsMatch","getMatchData","matchesStrictComparable","require$$2","_baseMatches","source","matchData","length","get","hasIn","isKey","require$$3","isStrictComparable","require$$4","require$$5","toKey","require$$6","_baseMatchesProperty","objValue","COMPARE_PARTIAL_FLAG","_baseProperty","baseGet","baseProperty","basePropertyDeep","property_1","baseMatches","baseMatchesProperty","identity","isArray","property","_baseIteratee","baseFor","keys","_baseForOwn","iteratee","isArrayLike","_baseEach","eachFunc","fromRight","collection","index","iterable","createBaseEach","baseEach","_baseMap","result","Array","_baseSortBy","array","comparer","sort","isSymbol","compareAscending","valIsDefined","valIsNull","valIsReflexive","valIsSymbol","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","_compareMultiple","orders","objCriteria","criteria","othCriteria","ordersLength","arrayMap","baseIteratee","baseMap","baseSortBy","baseUnary","compareMultiple","require$$7","require$$8","_baseOrderBy","iteratees","eq","isIndex","isObject","_isIterateeCall","baseFlatten","baseOrderBy","baseRest","isIterateeCall","sortBy_1","_getErrorMessage","prefix","errorObject","classID","lineNumber","message","console","log","warn","error","toType","obj","toString","call","match","toLowerCase","substituteObj","defaultMessages1","defaultMessages2","_getExpParameterValue","expParam","controller","isNaN","getPropertyValue","name","trim","parseFloat","getTableFieldIndex","control","subControls","i","role","convertType","storage","retVal","stringifyFieldValue","excludeSchema","valueDef","link_ref","field_name","getDMFieldIcon","fields","iconType","icon","correctField","find","field","origName","CARBON_ICONS","MEASUREMENTS","EMPTY","metadata","measure","SCALE","ORDINAL","DISCRETE","NOMINAL","FLAG","DATA_TYPE","DATE","TIME","TIMESTAMP","STRING","INTEGER","DOUBLE","_findCorrespondingValue","input","values","idx","indexOf","searchTerm","startsWith","substring","TruncatedContentTooltip","tooltip","String","tooltipText","Tooltip","uuid4","tip","direction","disable","_has","showToolTipIfTruncated","content","element","oneOfType","number","FieldPicker","state","_this","origFields","filterIcons","filterText","selectedFields","currentFields","multiSchema","getDatasetMetadataSchemas","filterList","filterType","bind","getTableData","getVisibleData","handleSave","handleCancel","handleReset","getNewSelections","onSort","onFilter","updateFieldSelections","getAvailableFilters","filterString","setState","spec","from","_sortBy","column","schema","SORT_DIRECTION","DESC","reverse","filters","dataType","filter","duplicate","push","tableData","selectedRowsIndex","findIndex","columns","fieldContent","dmIcon","dmIconType","PropertyUtils","getDatasetMetadataFields","Icon","fpFieldName","fieldNameWithTooltip","fieldName","schemaContent","that","row","deltas","initialValues","closeFieldPicker","rowsIndex","currField","current","arr","includes","Set","list","some","evt","currentTarget","getAttribute","iconsSelected","splice","rightFlyout","getReactIntl","MESSAGE_KEYS","APPLYBUTTON_LABEL","REJECTBUTTON_LABEL","saveTooltip","FIELDPICKER_SAVEBUTTON_TOOLTIP","tooltipId","renderIcon","ArrowLeft24","iconDescription","title","resetLabel","FIELDPICKER_RESETBUTTON_LABEL","Reset24","filterLabel","FIELDPICKER_FILTER_LABEL","map","ind","enabled","filterTooltipId","dataTypeLabel","toUpperCase","_isEmpty","fieldColumnLabel","FIELDPICKER_FIELDCOLUMN_LABEL","schemaColumnLabel","FIELDPICKER_SCHEMACOLUMN_LABEL","dataTypeColumnLabel","FIELDPICKER_DATATYPECOLUMN_LABEL","headers","FlexibleTable","sortable","filterable","data","filterKeyword","scrollKey","rows","tableLabel","selectedRows","updateRowSelections","rowSelection","ROW_SELECTION","MULTIPLE","light","getLight","backButton","_genBackButton","resetButton","_genResetButton","filterTypes","_genFilterTypes","table","_genTable","nextProps","prevState","_isEqual","TEXTFIELD","PASSWORDFIELD","TEXTAREA","LIST","NUMBERFIELD","DATEFIELD","TIMEFIELD","CHECKBOX","RADIOSET","CHECKBOXSET","ONEOFSELECT","MULTISELECT","SOMEOFSELECT","SELECTCOLUMN","SELECTCOLUMNS","SELECTSCHEMA","STRUCTURETABLE","STRUCTUREEDITOR","STRUCTURELISTEDITOR","TOGGLETEXT","READONLY","READONLYTABLE","SPINNER","CODE","HIDDEN","INLINE","SUBPANEL","ON_PANEL","CONTROLS","TABS","SUB_TABS","PANELS","ADDITIONAL","COLUMN_SELECTION","PANEL_SELECTOR","CUSTOM_PANEL","SUMMARY_PANEL","ACTION_PANEL","TEXT_PANEL","TWISTY_PANEL","COLUMN_PANEL","CONTROL","ADDITIONAL_LINK","STATIC_TEXT","HORIZONTAL_SEPARATOR","PANEL","PRIMARY_TABS","ACTION","VERTICAL","HORIZONTAL","GENERAL","SUMMARY","BEFORE","AFTER","LARGE","MEDIUM","SMALL","BOOLEAN","LONG","PASSWORD","STRUCTURE","OBJECT","convertArrayStructureToObject","isList","currentValues","convert","structureKeys","forEach","convertedValues","newObject","keyIndex","structureType","convertedRow","converted","dataModel","datasetMetadata","description","modelingRole","modeling_role","convertObjectStructureToArray","_typeof","_cloneDeep","evaluateText","text","startIdx","endIdx","substr","expression","newText","replace","paramValue","paramStartIdx","funcName","parameters","slice","split","toFixed","parseInt","_evaluateExpression","e","logger","stringValue","propType","fieldValue","fieldProto","subControlDef","defaultValue","dmField","dmDefault","controlValues","dataColumnIndex","outputList","controlValue","isSubControlStructureObjectType","subControl"],"mappings":"y+BAwBMA,6JAEL,eAQKC,EAPEC,OAAqD,IAA1BC,KAAKC,MAAMC,WACzCF,KAAKC,MAAME,KAAKC,cAAc,CAAEC,GAAI,mCAAoCC,eAAgBC,kBAAgB,sCACxGP,KAAKC,MAAMC,WACRM,OAAuD,IAA3BR,KAAKC,MAAMQ,YAC1CT,KAAKC,MAAME,KAAKC,cAAc,CAAEC,GAAI,oCAAqCC,eAAgBC,kBAAgB,uCACzGP,KAAKC,MAAMQ,YAGVT,KAAKC,MAAMS,gBACdZ,EACCa,wBAACC,oBACQ,2BACRC,UAAU,2BACVC,KAAK,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AE1B,UACJ8B,EAAehQ,GAAwBnB,EAAMK,SAASC,QAAS4Q,EAAc7P,kBAEzE,gBACJ8P,EAAehQ,GAAwBnB,EAAMK,SAASkP,cAAe2B,EAAc7P,sDAShF8P,gEAzGR,SAAoCrS,EAASwS,EAAe3R,OACrD4R,EAAkB1S,GAAmBC,GACrC0S,EAAa,MACfF,IAAsC,IAArBC,EAAwB,YACjBD,kCAAe,KAA/BG,UACN7L,EAAY6L,EACZ/W,MAAMlB,QAAQiY,GACjB7L,EAAYvG,GAAoBoS,EAAaF,GAAkBzS,GAC5B,WAAzBlB,GAAO6T,KACjB7L,EAAYvG,GAAoBoS,EAAc3S,IAE/C0S,EAAWzM,KAAKa,0CAGX4L,+GApJR,SAASE,EAAgC5S,MACpCA,EAAS,IACRA,EAAQkQ,eAA2C,WAA1BlQ,EAAQkQ,qBAC7B,EACD,GAAIlQ,EAAQC,YAAa,YACND,EAAQC,4CAAa,KAAnC4S,aACNA,EAAW3C,eAA8C,WAA7B2C,EAAW3C,qBACnC,EACD,GAAI2C,EAAW5S,aACF2S,EAAgCC,UAE3C,wCAIH,UAGF"}
|
|
1
|
+
{"version":3,"file":"index-59486e9a.js","sources":["../src/common-properties/components/properties-buttons/properties-buttons.jsx","../node_modules/lodash/hasIn.js","../node_modules/lodash/_baseHasIn.js","../node_modules/lodash/isEqual.js","../src/common-properties/constants/form-constants.js","../node_modules/lodash/_matchesStrictComparable.js","../node_modules/lodash/_baseMatches.js","../node_modules/lodash/_baseMatchesProperty.js","../node_modules/lodash/_baseProperty.js","../node_modules/lodash/_basePropertyDeep.js","../node_modules/lodash/property.js","../node_modules/lodash/_baseIteratee.js","../node_modules/lodash/_baseForOwn.js","../node_modules/lodash/_createBaseEach.js","../node_modules/lodash/_baseEach.js","../node_modules/lodash/_baseMap.js","../node_modules/lodash/_baseSortBy.js","../node_modules/lodash/_compareAscending.js","../node_modules/lodash/_compareMultiple.js","../node_modules/lodash/_baseOrderBy.js","../node_modules/lodash/_isIterateeCall.js","../node_modules/lodash/sortBy.js","../utils/logger.js","../src/common-properties/util/property-utils.js","../src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.jsx","../src/common-properties/components/truncated-content-tooltip/index.js","../src/common-properties/components/field-picker/field-picker.jsx","../src/common-properties/components/field-picker/index.js"],"sourcesContent":["/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { Component } from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport PropTypes from \"prop-types\";\nimport { Button } from \"carbon-components-react\";\nimport classNames from \"classnames\";\nimport defaultMessages from \"../../../../locales/common-properties/locales/en.json\";\n\n\nclass PropertiesButtons extends Component {\n\n\trender() {\n\t\tconst applyButtonLabel = (typeof this.props.applyLabel === \"undefined\")\n\t\t\t? this.props.intl.formatMessage({ id: \"propertiesEdit.applyButton.label\", defaultMessage: defaultMessages[\"propertiesEdit.applyButton.label\"] })\n\t\t\t: this.props.applyLabel;\n\t\tconst rejectButtonLabel = (typeof this.props.rejectLabel === \"undefined\")\n\t\t\t? this.props.intl.formatMessage({ id: \"propertiesEdit.rejectButton.label\", defaultMessage: defaultMessages[\"propertiesEdit.rejectButton.label\"] })\n\t\t\t: this.props.rejectLabel;\n\n\t\tlet rejectButton;\n\t\tif (this.props.cancelHandler) {\n\t\t\trejectButton = (\n\t\t\t\t<Button\n\t\t\t\t\tdata-id=\"properties-cancel-button\"\n\t\t\t\t\tclassName=\"properties-cancel-button\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tsize=\"small\"\n\t\t\t\t\tkind=\"secondary\"\n\t\t\t\t\tonClick={this.props.cancelHandler}\n\t\t\t\t>\n\t\t\t\t\t{rejectButtonLabel}\n\t\t\t\t</Button>\n\t\t\t);\n\t\t}\n\t\tconst applyButton = (\n\t\t\t<Button\n\t\t\t\tdata-id=\"properties-apply-button\"\n\t\t\t\tclassName=\"properties-apply-button\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tsize=\"small\"\n\t\t\t\tonClick={this.props.okHandler}\n\t\t\t\tdisabled={!this.props.applyButtonEnabled}\n\t\t\t>\n\t\t\t\t{applyButtonLabel}\n\t\t\t</Button>\n\t\t);\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclassName={classNames(\"properties-modal-buttons\", { \"hide\": (typeof (this.props.showPropertiesButtons) !== \"undefined\" &&\n\t\t\t\t\t!this.props.showPropertiesButtons) })}\n\t\t\t>\n\t\t\t\t{rejectButton}\n\t\t\t\t{applyButton}\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nPropertiesButtons.propTypes = {\n\tintl: PropTypes.object.isRequired,\n\tcancelHandler: PropTypes.func,\n\tokHandler: PropTypes.func,\n\tapplyLabel: PropTypes.string,\n\trejectLabel: PropTypes.string,\n\tshowPropertiesButtons: PropTypes.bool,\n\tapplyButtonEnabled: PropTypes.bool\n};\n\nPropertiesButtons.defaultProps = {\n\tapplyButtonEnabled: true\n};\n\nexport default injectIntl(PropertiesButtons);\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst ItemType = {\n\tCONTROL: \"control\",\n\tADDITIONAL_LINK: \"additionalLink\",\n\tSTATIC_TEXT: \"staticText\",\n\tHORIZONTAL_SEPARATOR: \"hSeparator\",\n\tPANEL: \"panel\",\n\tSUB_TABS: \"subTabs\",\n\tPRIMARY_TABS: \"primaryTabs\",\n\tPANEL_SELECTOR: \"panelSelector\",\n\tCUSTOM_PANEL: \"customPanel\",\n\tACTION: \"action\",\n\tTEXT_PANEL: \"textPanel\"\n};\n\nconst EditStyle = {\n\tINLINE: \"inline\",\n\tSUBPANEL: \"subpanel\",\n\tON_PANEL: \"on_panel\"\n};\n\nconst Size = {\n\tLARGE: \"large\",\n\tMEDIUM: \"medium\",\n\tSMALL: \"small\"\n};\n\nconst GroupType = {\n\tCONTROLS: \"controls\",\n\tTABS: \"tabs\", // currently not used\n\tSUB_TABS: \"subTabs\",\n\tPANELS: \"panels\",\n\tADDITIONAL: \"additional\",\n\tCOLUMN_SELECTION: \"columnSelection\",\n\tPANEL_SELECTOR: \"panelSelector\",\n\tCUSTOM_PANEL: \"customPanel\",\n\tSUMMARY_PANEL: \"summaryPanel\",\n\tACTION_PANEL: \"actionPanel\",\n\tTEXT_PANEL: \"textPanel\",\n\tTWISTY_PANEL: \"twistyPanel\",\n\tCOLUMN_PANEL: \"columnPanel\"\n};\n\nconst PanelType = {\n\tGENERAL: \"general\",\n\tCOLUMN_SELECTION: \"columnSelection\",\n\tCUSTOM: \"custom\",\n\tSUMMARY: \"summary\",\n\tACTION_PANEL: \"actionPanel\",\n\tTWISTY_PANEL: \"twisty\",\n\tCOLUMN_PANEL: \"column\"\n};\n\nconst ControlType = {\n\tCUSTOM: \"custom\",\n\tTEXTFIELD: \"textfield\",\n\tPASSWORDFIELD: \"passwordfield\",\n\tTEXTAREA: \"textarea\",\n\tLIST: \"list\",\n\tEXPRESSION: \"expression\",\n\tNUMBERFIELD: \"numberfield\",\n\tDATEFIELD: \"datefield\",\n\tTIMEFIELD: \"timefield\",\n\tTIMESTAMP: \"timestampfield\",\n\tCHECKBOX: \"checkbox\",\n\tRADIOSET: \"radioset\",\n\tCHECKBOXSET: \"checkboxset\",\n\tONEOFSELECT: \"oneofselect\",\n\tMULTISELECT: \"multiselect\",\n\tSOMEOFSELECT: \"someofselect\",\n\tSELECTCOLUMN: \"selectcolumn\",\n\tSELECTCOLUMNS: \"selectcolumns\",\n\tSELECTSCHEMA: \"selectschema\",\n\tSTRUCTURETABLE: \"structuretable\",\n\tSTRUCTUREEDITOR: \"structureeditor\",\n\tSTRUCTURELISTEDITOR: \"structurelisteditor\",\n\tTOGGLETEXT: \"toggletext\",\n\tREADONLY: \"readonly\",\n\tREADONLYTABLE: \"readonlyTable\",\n\tSPINNER: \"spinner\",\n\tCODE: \"code\",\n\tHIDDEN: \"hidden\"\n};\n\nconst ParamRole = {\n\tTEXT: \"text\",\n\tENUM: \"enum\",\n\tCOLUMN: \"column\",\n\tNEW_COLUMN: \"new_column\",\n\tEXPRESSION: \"expression\",\n\tEMAIL: \"email\",\n\tURL: \"url\",\n\tCOLOR: \"color\",\n\tINTERVAL_YEAR: \"interval_year\",\n\tINTERVAL_DAY: \"interval_day\",\n\tINTERVAL_SECOND: \"interval_second\",\n\tCUSTOM: \"custom\",\n\tUNSPECIFIED: \"\"\n};\n\nconst Type = {\n\tBOOLEAN: \"boolean\",\n\tINTEGER: \"integer\",\n\tLONG: \"long\",\n\tDOUBLE: \"double\",\n\tSTRING: \"string\",\n\tPASSWORD: \"password\",\n\tDATE: \"date\",\n\tTIME: \"time\",\n\tSTRUCTURE: \"structure\",\n\tOBJECT: \"object\"\n};\n\nconst Separator = {\n\tBEFORE: \"before\",\n\tAFTER: \"after\"\n};\n\nconst ORIENTATIONS = {\n\tVERTICAL: \"vertical\",\n\tHORIZONTAL: \"horizontal\"\n};\n\nfunction hasValue(Enum, value) {\n\tfor (var key in Enum) {\n\t\tif (value === Enum[key]) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n}\n\nexport { GroupType, PanelType, Type, ParamRole, ControlType, hasValue, EditStyle, Size, ItemType, Separator, ORIENTATIONS };\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n","var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n","var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n","var arrayMap = require('./_arrayMap'),\n baseGet = require('./_baseGet'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* eslint no-console: [\"error\", { allow: [\"log\", \"warn\", \"error\"] }] */\n\n// Modules\n\n// Globals\n\n// Private Methods ------------------------------------------------------------>\n\nfunction _getErrorMessage(prefix, errorObject, id) {\n\tvar classID = \"\";\n\tvar lineNumber = \"\";\n\tvar message = \"\";\n\n\t// Class name\n\tif (id) {\n\t\tclassID = id + \": \";\n\t}\n\n\tif (errorObject) {\n\t\t// Line number\n\t\tif (errorObject.lineNumber) {\n\t\t\tlineNumber = \"(line \" + errorObject.lineNumber + \"): \";\n\t\t}\n\t\t// Error message\n\t\tif (errorObject.message) {\n\t\t\tmessage = errorObject.message;\n\t\t} else {\n\t\t\tmessage = \"Message unavailable\";\n\t\t}\n\t}\n\n\tvar errorMessage = \"[\" + prefix + \"]: \" +\n\t\t\t\t\t\tclassID +\n\t\t\t\t\t\tlineNumber +\n\t\t\t\t\t\tmessage;\n\n\treturn errorMessage;\n}\n\n/**\n * Prints a DEBUG status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _debug(id, errorObject) {\n\tconsole.log(_getErrorMessage(\"DEBUG\", errorObject, id));\n}\n\n/**\n * Prints a INFO status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _info(id, errorObject) {\n\tconsole.log(_getErrorMessage(\"INFO\", errorObject, id));\n}\n\n/**\n * Prints a WARNING status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _warning(id, errorObject) {\n\tconsole.warn(_getErrorMessage(\"WARNING\", errorObject, id));\n}\n\n/**\n * Prints a ERROR status message to the console.\n *\n * @param {String} id: Logging ID included in status message.\n * @param {String} errorObject: Error object used to wrap message & line number.\n *\n * @returns void\n */\nfunction _error(id, errorObject) {\n\tconsole.error(_getErrorMessage(\"ERROR\", errorObject, id));\n}\n\n// Public Methods ------------------------------------------------------------->\n\nmodule.exports.debug = _debug;\nmodule.exports.info = _info;\nmodule.exports.warn = _warning;\nmodule.exports.error = _error;\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint max-depth: [\"error\", 5] */\n\nimport logger from \"../../../utils/logger\";\nimport { ParamRole } from \"../constants/form-constants\";\nimport { DATA_TYPE, CARBON_ICONS } from \"../constants/constants\";\nimport { cloneDeep } from \"lodash\";\nimport { v4 as uuid4 } from \"uuid\";\nimport defaultMessages1 from \"../../../locales/common-properties/locales/en.json\";\nimport defaultMessages2 from \"../../../locales/command-actions/locales/en.json\";\n\n/**\n * A better type identifier than a simple 'typeOf' call:\n *\n * \ttoType({a: 4}); //\"object\"\n *\ttoType([1, 2, 3]); //\"array\"\n *\t(function() {console.log(toType(arguments))})(); //arguments\n *\ttoType(new ReferenceError); //\"error\"\n *\ttoType(new Date); //\"date\"\n *\ttoType(/a-z/); //\"regexp\"\n *\ttoType(Math); //\"math\"\n *\ttoType(JSON); //\"json\"\n *\ttoType(new Number(4)); //\"number\"\n *\ttoType(new String(\"abc\")); //\"string\"\n *\ttoType(new Boolean(true)); //\"boolean\"\n */\nfunction toType(obj) {\n\treturn ({}).toString.call(obj).match(/\\s([a-zA-Z]+)/)[1].toLowerCase();\n}\n\nfunction copy(obj) {\n\tif (typeof obj !== \"undefined\") {\n\t\treturn cloneDeep(obj);\n\t}\n\treturn obj;\n}\n\nfunction formatMessage(intl, key, substituteObj) {\n\tconst defaultMessages = { ...defaultMessages1, ...defaultMessages2 };\n\tlet formattedMessage;\n\tif (typeof intl !== \"undefined\" && intl !== null) {\n\t\tformattedMessage = intl.formatMessage({ id: key, defaultMessage: defaultMessages[key] }, substituteObj);\n\t} else {\n\t\tformattedMessage = defaultMessages[key];\n\t}\n\treturn formattedMessage;\n}\n\nfunction generateId() {\n\treturn \"properties-\" + uuid4();\n}\n\n/*\n* Parses text to see if there is any text replace elements ${}\n*/\nfunction evaluateText(text, controller) {\n\ttry {\n\t\tif (!text) {\n\t\t\treturn text;\n\t\t}\n\t\tconst startIdx = text.indexOf(\"${\");\n\t\tif (startIdx < 0) {\n\t\t\treturn text;\n\t\t}\n\t\tconst endIdx = text.substr(startIdx + 2).indexOf(\"}\");\n\t\tif (endIdx < 0) {\n\t\t\treturn text;\n\t\t}\n\t\tconst expression = text.substr(startIdx + 2, endIdx);\n\t\tconst newText = text.replace(\"${\" + expression + \"}\", _evaluateExpression(expression, controller));\n\t\treturn evaluateText(newText, controller); // test to see if there are more expressions\n\t} catch (e) {\n\t\tlogger.warn(\"Invalid expression. Make sure replacement expression in text is a valid expression.\");\n\t\treturn text;\n\t}\n}\n\nfunction _evaluateExpression(expression, controller) {\n\tconst paramStartIdx = expression.indexOf(\"(\");\n\tconst funcName = expression.substr(0, paramStartIdx);\n\tconst parameters = expression.slice(paramStartIdx + 1, -1).split(\",\");\n\tif (parameters.length === 0) {\n\t\treturn \"\";\n\t}\n\tlet value;\n\tlet paramValue;\n\tswitch (funcName) {\n\tcase \"percent\":\n\t\tparamValue = _getExpParameterValue(parameters[0], controller);\n\t\t// 0, undefined, null, or not a number return 0\n\t\tif (!paramValue || isNaN(paramValue)) {\n\t\t\treturn 0;\n\t\t}\n\t\tvalue = 100.0 / paramValue;\n\t\tif (parameters.length > 1) {\n\t\t\tvalue = value.toFixed(parseInt(parameters[1], 10));\n\t\t}\n\t\treturn value;\n\tcase \"sum\":\n\t\tvalue = 0;\n\t\tfor (const param of parameters) {\n\t\t\tparamValue = _getExpParameterValue(param, controller);\n\t\t\tif (!isNaN(paramValue)) {\n\t\t\t\tvalue += paramValue;\n\t\t\t}\n\t\t}\n\t\treturn value;\n\tdefault:\n\t\tbreak;\n\t}\n\treturn \"\";\n}\n\nfunction _getExpParameterValue(expParam, controller) {\n\t// assume property if parameter is a string\n\tif (isNaN(expParam)) {\n\t\treturn controller.getPropertyValue({ name: expParam.trim() });\n\t}\n\treturn parseFloat(expParam);\n}\n\nfunction getTableFieldIndex(control) {\n\tif (control) {\n\t\t// table\n\t\tif (control.subControls) {\n\t\t\tfor (let i = 0; i < control.subControls.length; i++) {\n\t\t\t\tif (control.subControls[i].role === ParamRole.COLUMN) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (control.role === ParamRole.COLUMN) { // array\n\t\t\treturn 0;\n\t\t}\n\t}\n\treturn -1;\n}\n\n// TODO: This can be removed once the WML Play service generates datasetMetadata instead of inputDataModel\n/**\n * Converts old style Modeler inputDataModel into newer datasetMetadata\n */\nfunction convertInputDataModel(dataModel) {\n\tconst datasetMetadata = {};\n\tdatasetMetadata.fields = [];\n\tif (dataModel && dataModel.columns) {\n\t\tfor (const column of dataModel.columns) {\n\t\t\tconst field = {};\n\t\t\tfield.name = column.name;\n\t\t\tfield.type = convertType(column.storage);\n\t\t\tfield.metadata = {};\n\t\t\tfield.metadata.description = \"\";\n\t\t\tif (column.measure) {\n\t\t\t\tfield.metadata.measure = column.measure.toLowerCase();\n\t\t\t}\n\t\t\tif (column.modelingRole) {\n\t\t\t\tfield.metadata.modeling_role = column.modelingRole.toLowerCase();\n\t\t\t}\n\t\t\tdatasetMetadata.fields.push(field);\n\t\t}\n\t}\n\treturn datasetMetadata;\n}\n\n/**\n * Converts from Modeler storage to WML type.\n */\nfunction convertType(storage) {\n\tlet retVal = storage.toLowerCase();\n\tif (storage === \"Real\") {\n\t\tretVal = \"double\";\n\t}\n\treturn retVal;\n}\n\n/**\n * Returns true if any subControl within control has 'structureType === object'\n */\nfunction isSubControlStructureObjectType(control) {\n\tif (control) {\n\t\tif (control.structureType && control.structureType === \"object\") {\n\t\t\treturn true;\n\t\t} else if (control.subControls) {\n\t\t\tfor (const subControl of control.subControls) {\n\t\t\t\tif (subControl.structureType && subControl.structureType === \"object\") {\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (subControl.subControls) {\n\t\t\t\t\tconst objectType = isSubControlStructureObjectType(subControl);\n\t\t\t\t\tif (objectType) { // continue if false\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn false;\n}\n\n/**\n * Converts the currentValues of a structure control of type 'object'\n * from an array of objects to an array of values.\n * @isList boolean, true if this structure is a list\n * Example currentValues: [{a: 1, b: 2}, {a: 10, b; 20}] || {z: 9, y: 88, x: [\"abc\", \"def\"]}\n * Example convertedValues: [[1, 2], [10, 20]] || [9, 88, [\"abc\", \"def\"]]\n */\nfunction convertObjectStructureToArray(isList, subControls, currentValues) {\n\tconst structureKeys = [];\n\tsubControls.forEach((control) => {\n\t\tstructureKeys.push(control.name);\n\t});\n\n\tif (isList) {\n\t\tconst convertedValues = [];\n\t\tif (typeof currentValues === \"object\" && currentValues !== null && Object.keys(currentValues).length > 0) {\n\t\t\tcurrentValues.forEach((row) => {\n\t\t\t\tif (Array.isArray(row)) { // check if any values in the row is a nested object\n\t\t\t\t\tconst convertedRow = [];\n\t\t\t\t\trow.forEach((field, index) => {\n\t\t\t\t\t\tlet value = field;\n\t\t\t\t\t\tif (typeof field === \"object\" && field !== null && Object.keys(field).length > 0) {\n\t\t\t\t\t\t\tvalue = convertObjectStructureToArray(subControls[index].valueDef.isList, subControls[index].subControls, field);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconvertedRow.push(value);\n\t\t\t\t\t});\n\t\t\t\t\tconvertedValues.push(convertedRow);\n\t\t\t\t} else if (typeof row === \"object\") {\n\t\t\t\t\tconst convertedRow = [];\n\t\t\t\t\tstructureKeys.forEach((key, index) => {\n\t\t\t\t\t\tlet value = typeof row[key] !== \"undefined\" ? row[key] : null;\n\t\t\t\t\t\t// subControls that are type 'object' will need to be converted\n\t\t\t\t\t\tif (subControls[index].structureType && subControls[index].structureType === \"object\") {\n\t\t\t\t\t\t\tvalue = convertObjectStructureToArray(subControls[index].valueDef.isList, subControls[index].subControls, row[key]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconvertedRow.push(value);\n\t\t\t\t\t});\n\t\t\t\t\tconvertedValues.push(convertedRow);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn convertedValues;\n\t}\n\n\tconst converted = [];\n\tstructureKeys.forEach((key, index) => {\n\t\tconst value = typeof currentValues[key] !== \"undefined\" ? currentValues[key] : null;\n\t\tconverted.push(value);\n\t});\n\treturn converted;\n}\n\n/**\n * Converts the currentValues of a structure control of type 'object'\n * from an array of values to an array of objects.\n * @isList boolean, true if this structure is a list\n * @convert boolean, true if the current control values need to be converted.\n * If false, need to determine if the subControls need to be converted\n * Example currentValues: [[1, 2], [10, 20]] || [9, 88, [\"abc\", \"def\"]]\n * Example convertedValues: [{a: 1, b: 2}, {a: 10, b; 20}] || {z: 9, y: 88, x: [\"abc\", \"def\"]}\n */\nfunction convertArrayStructureToObject(isList, subControls, currentValues, convert) {\n\tconst structureKeys = [];\n\tsubControls.forEach((control) => {\n\t\tstructureKeys.push(control.name);\n\t});\n\n\tif (isList && Array.isArray(currentValues)) {\n\t\tconst convertedValues = [];\n\t\tcurrentValues.forEach((row, idx) => {\n\t\t\tif (convert) { // this control needs to be converted, convert all values in this row and determine if there are nested structures to be converted\n\t\t\t\tconst newObject = {};\n\t\t\t\tstructureKeys.forEach((key, keyIndex) => {\n\t\t\t\t\t// subControls that are type 'object' will need to be converted\n\t\t\t\t\tif (subControls[keyIndex].structureType && subControls[keyIndex].structureType === \"object\") { // nested object\n\t\t\t\t\t\tnewObject[key] = convertArrayStructureToObject(subControls[keyIndex].valueDef.isList, subControls[keyIndex].subControls, row[keyIndex], true);\n\t\t\t\t\t} else if (typeof subControls.subControls !== \"undefined\") { // nested array\n\t\t\t\t\t\tnewObject[key] = convertArrayStructureToObject(subControls[keyIndex].valueDef.isList, subControls[keyIndex].subControls, row[keyIndex], false);\n\t\t\t\t\t} else { // value\n\t\t\t\t\t\tnewObject[key] = typeof row[keyIndex] !== \"undefined\" ? row[keyIndex] : null;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tconvertedValues.push(newObject);\n\t\t\t} else { // determine if each value in the row is a nested structure that needs to be converted\n\t\t\t\tconst convertedRow = [];\n\t\t\t\trow.forEach((field, index) => {\n\t\t\t\t\tlet value = field;\n\t\t\t\t\tif (subControls[index].structureType && subControls[index].structureType === \"object\") {\n\t\t\t\t\t\tvalue = convertArrayStructureToObject(subControls[index].valueDef.isList, subControls[index].subControls, field, true);\n\t\t\t\t\t}\n\t\t\t\t\tconvertedRow.push(value);\n\t\t\t\t});\n\t\t\t\tconvertedValues.push(convertedRow);\n\t\t\t}\n\t\t});\n\t\treturn convertedValues;\n\t}\n\n\tconst converted = {};\n\tstructureKeys.forEach((key, index) => {\n\t\tconverted[key] = currentValues && typeof currentValues[index] !== \"undefined\" ? currentValues[index] : null;\n\t});\n\treturn converted;\n}\n\n/**\n * Converts the input list of currentParameters into a simple array of field names\n * \tWill also remove invalid fields in currentParameters that are not in the data model.\n *\n * @param control the control to format the input list for\n * @param controlValues array of the currentControlValues\n * @param fields the filtered list of fields from the data model\n */\nfunction getFieldsFromControlValues(control, controlValues, fields) {\n\tconst dataColumnIndex = getTableFieldIndex(control);\n\tconst outputList = [];\n\tif (controlValues && dataColumnIndex !== -1) {\n\t\tfor (const controlValue of controlValues) {\n\t\t\tlet fieldName = controlValue;\n\t\t\tif (Array.isArray(controlValue)) {\n\t\t\t\tfieldName = stringifyFieldValue(controlValue[dataColumnIndex], control);\n\t\t\t} else if (toType(controlValue) === \"object\") {\n\t\t\t\tfieldName = stringifyFieldValue(controlValue, control);\n\t\t\t}\n\t\t\toutputList.push(fieldName);\n\t\t}\n\t}\n\treturn outputList;\n}\n\n/**\n * Returns the string field name for both string and object based field values.\n * If the control's propType is structure, return the combined schema and field names.\n *\n * @param value A field value. Can be string or object\n * @param control The control definition for the parameter\n * @param excludeSchema When true, exclude the schema prefix on compound entries\n * @return A string field name value or null\n */\nfunction stringifyFieldValue(value, control, excludeSchema) {\n\tconst theType = toType(value);\n\tif (theType === \"object\") {\n\t\tif (control && control.valueDef && value.link_ref) {\n\t\t\tlet stringName;\n\t\t\tif (!excludeSchema) {\n\t\t\t\tstringName = value.link_ref + \".\" + value.field_name;\n\t\t\t} else {\n\t\t\t\tstringName = value.field_name;\n\t\t\t}\n\t\t\treturn stringName;\n\t\t}\n\t\treturn null;\n\t}\n\treturn value;\n}\n\n/**\n * Returns true if the given field value matches the provided field prototype.\n *\n * @param fieldValue A persistent field value\n * @param fieldProto A field prototype structure\n * @return True if the field value matches the field prototype\n */\nfunction fieldValueMatchesProto(fieldValue, fieldProto) {\n\tconst theType = toType(fieldValue);\n\tif (theType === \"object\" && fieldValue.link_ref) {\n\t\treturn fieldValue.link_ref === fieldProto.schema &&\n\t\t\t\t\t\tfieldValue.field_name === fieldProto.origName;\n\t}\n\treturn fieldValue === fieldProto.name;\n}\n\n/**\n * Converts a display string for a field name into the value it is stored as.\n *\n * @param stringValue A field name, either plain or in schema.name format\n * @param The control The control\n * @param controller Properties controller\n * @return The field name in canonical format for storage (string or object)\n */\nfunction fieldStringToValue(stringValue, control, controller) {\n\tif (control.role === \"column\" && control.valueDef.propType === \"structure\") {\n\t\tconst dataModelFields = controller.getDatasetMetadataFields();\n\t\tfor (const field of dataModelFields) {\n\t\t\tif (field.name === stringValue) {\n\t\t\t\treturn { link_ref: field.schema, field_name: field.origName };\n\t\t\t}\n\t\t}\n\t}\n\treturn stringValue;\n}\n\nfunction getDMDefault(subControlDef, fieldName, fields) {\n\tlet defaultValue;\n\tconst dmField = subControlDef.dmDefault;\n\tif (fieldName) {\n\t\tfor (const field of fields) {\n\t\t\tif (field.name === fieldName) {\n\t\t\t\tswitch (dmField) {\n\t\t\t\tcase \"type\":\n\t\t\t\t\tdefaultValue = field.type;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"description\":\n\t\t\t\t\tdefaultValue = field.metadata.description;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"measure\":\n\t\t\t\t\tdefaultValue = _findCorrespondingValue(field.metadata.measure, subControlDef.values);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"modeling_role\":\n\t\t\t\t\tdefaultValue = _findCorrespondingValue(field.metadata.modeling_role, subControlDef.values);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn defaultValue;\n}\n\nfunction getDMFieldIcon(fields, value, iconType) {\n\tlet icon;\n\tconst correctField = fields.find(function(field) {\n\t\treturn field.origName === value;\n\t});\n\tswitch (iconType) {\n\tcase \"measure\":\n\t\tif (!correctField) {\n\t\t\treturn CARBON_ICONS.MEASUREMENTS.EMPTY;\n\t\t}\n\t\tswitch (correctField.metadata.measure) {\n\t\tcase \"range\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.SCALE;\n\t\t\tbreak;\n\t\tcase \"ordered_set\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.ORDINAL;\n\t\t\tbreak;\n\t\tcase \"discrete\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.DISCRETE;\n\t\t\tbreak;\n\t\tcase \"set\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.NOMINAL;\n\t\t\tbreak;\n\t\tcase \"flag\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.FLAG;\n\t\t\tbreak;\n\t\tcase \"collection\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.NOMINAL;\n\t\t\tbreak;\n\t\tcase \"geospatial\":\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.NOMINAL;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ticon = CARBON_ICONS.MEASUREMENTS.EMPTY;\n\t\t\tbreak;\n\t\t}\n\t\tbreak;\n\tcase \"type\":\n\t\tif (!correctField) {\n\t\t\treturn \"typeEmpty\";\n\t\t}\n\t\tswitch (correctField.type) {\n\t\tcase DATA_TYPE.DATE:\n\t\t\ticon = DATA_TYPE.DATE;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.TIME:\n\t\t\ticon = DATA_TYPE.TIME;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.TIMESTAMP:\n\t\t\ticon = DATA_TYPE.TIMESTAMP;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.STRING:\n\t\t\ticon = DATA_TYPE.STRING;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.INTEGER:\n\t\t\ticon = DATA_TYPE.INTEGER;\n\t\t\tbreak;\n\t\tcase DATA_TYPE.DOUBLE:\n\t\t\ticon = DATA_TYPE.DOUBLE;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ticon = \"typeEmpty\";\n\t\t\tbreak;\n\t\t}\n\t\tbreak;\n\tdefault:\n\t\tbreak;\n\t}\n\treturn icon;\n}\n\n\n// Attempts to synchronize the Modeler notions of measurement level\n// and modeling role with those defined in datarecord-metadata.\nfunction _findCorrespondingValue(input, values) {\n\t// First try for an exact match\n\tconst idx = values.indexOf(input);\n\tif (idx > -1) {\n\t\treturn values[idx];\n\t}\n\t// Next try for a case insensitive match\n\tconst searchTerm = input.toLowerCase();\n\tfor (const value of values) {\n\t\tif (searchTerm === value.toLowerCase()) {\n\t\t\treturn value;\n\t\t}\n\t}\n\t// Finally try for a startsWith match\n\tfor (const value of values) {\n\t\tif (searchTerm.startsWith(value.substring(0, 6).toLowerCase())) {\n\t\t\treturn value;\n\t\t}\n\t}\n\t// Last resort: Return the original value\n\treturn input;\n}\n\nexport {\n\ttoType,\n\tformatMessage,\n\tevaluateText,\n\tgetTableFieldIndex,\n\tconvertInputDataModel,\n\tisSubControlStructureObjectType,\n\tconvertObjectStructureToArray,\n\tconvertArrayStructureToObject,\n\tgetFieldsFromControlValues,\n\tcopy,\n\tstringifyFieldValue,\n\tfieldValueMatchesProto,\n\tfieldStringToValue,\n\tgenerateId,\n\tgetDMDefault,\n\tgetDMFieldIcon\n};\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { v4 as uuid4 } from \"uuid\";\nimport Tooltip from \"./../../../tooltip/tooltip.jsx\";\nimport { has } from \"lodash\";\n\n// Reusable component to show tooltip if the content is truncated\nexport default class TruncatedContentTooltip extends React.Component {\n\n\trender() {\n\t\tlet tooltipText = this.props.tooltipText;\n\t\tif (typeof this.props.tooltipText !== \"object\") {\n\t\t\ttooltipText = String(this.props.tooltipText);\n\t\t}\n\t\tconst tooltip = (\n\t\t\t<div className=\"properties-tooltips\">\n\t\t\t\t{tooltipText}\n\t\t\t</div>\n\t\t);\n\t\treturn (\n\t\t\t<div className=\"properties-truncated-tooltip\">\n\t\t\t\t<Tooltip\n\t\t\t\t\tid={`${uuid4()}-properties`}\n\t\t\t\t\ttip={tooltip}\n\t\t\t\t\tdirection=\"bottom\"\n\t\t\t\t\tclassName=\"properties-tooltips\"\n\t\t\t\t\tdisable={has(this.props, \"disabled\") ? this.props.disabled : true}\n\t\t\t\t\tshowToolTipIfTruncated\n\t\t\t\t>\n\t\t\t\t\t{this.props.content}\n\t\t\t\t</Tooltip>\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nTruncatedContentTooltip.propTypes = {\n\tcontent: PropTypes.element.isRequired,\n\ttooltipText: PropTypes.oneOfType([\n\t\tPropTypes.string.isRequired,\n\t\tPropTypes.object.isRequired,\n\t\tPropTypes.number.isRequired,\n\t\tPropTypes.bool.isRequired,\n\t\tPropTypes.array.isRequired\n\t]),\n\tdisabled: PropTypes.bool\n};\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport TruncatedContentTooltip from \"./truncated-content-tooltip.jsx\";\nexport default TruncatedContentTooltip;\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint max-depth: [\"error\", 6] */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FlexibleTable from \"./../flexible-table\";\nimport TruncatedContentTooltip from \"./../truncated-content-tooltip\";\nimport PropertiesButtons from \"./../properties-buttons\";\nimport * as PropertyUtils from \"./../../util/property-utils\";\n\nimport { Button } from \"carbon-components-react\";\n\nimport { MESSAGE_KEYS, DATA_TYPE, SORT_DIRECTION, ROW_SELECTION } from \"./../../constants/constants\";\nimport Icon from \"./../../../icons/icon.jsx\";\nimport { ArrowLeft24, Reset24 } from \"@carbon/icons-react\";\n\nimport { has, isEmpty, sortBy, isEqual } from \"lodash\";\n\nimport Tooltip from \"./../../../tooltip/tooltip.jsx\";\n\nimport { v4 as uuid4 } from \"uuid\";\n\nexport default class FieldPicker extends React.Component {\n\tstatic getDerivedStateFromProps(nextProps, prevState) {\n\t\tif (!isEqual(nextProps.fields, prevState.origFields)) {\n\t\t\tlet selectedFields = prevState.selectedFields;\n\t\t\tif (nextProps.currentFields) {\n\t\t\t\tif (!isEqual(Object.keys(nextProps.currentFields), Object.keys(prevState.selectedFields))) {\n\t\t\t\t\tselectedFields = nextProps.currentFields;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn ({ fields: nextProps.fields, selectedFields: selectedFields, origFields: nextProps.fields });\n\t\t}\n\t\treturn ({});\n\t}\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tfields: this.props.fields, // list of fields dynamically adjusted by filtered or sort criteria\n\t\t\torigFields: this.props.fields,\n\t\t\tfilterIcons: [],\n\t\t\tfilterText: \"\",\n\t\t\tselectedFields: this.props.currentFields // list of fields selected\n\t\t};\n\t\tthis.multiSchema = props.controller.getDatasetMetadataSchemas() &&\n\t\t\tprops.controller.getDatasetMetadataSchemas().length > 1;\n\t\tthis.filterList = [];\n\n\t\tthis.filterType = this.filterType.bind(this);\n\t\tthis.getTableData = this.getTableData.bind(this);\n\t\tthis.getVisibleData = this.getVisibleData.bind(this);\n\t\tthis.handleSave = this.handleSave.bind(this);\n\t\tthis.handleCancel = this.handleCancel.bind(this);\n\t\tthis.handleReset = this.handleReset.bind(this);\n\t\tthis.getNewSelections = this.getNewSelections.bind(this);\n\t\tthis.onSort = this.onSort.bind(this);\n\t\tthis.onFilter = this.onFilter.bind(this);\n\t\tthis.updateFieldSelections = this.updateFieldSelections.bind(this);\n\t\tthis.filterList = this.getAvailableFilters();\n\t}\n\n\tonFilter(filterString) {\n\t\tthis.setState({ filterText: filterString });\n\t}\n\n\t/**\n\t* Reorder the current list of fields displayed according to the sort column\n\t* @param spec object with a column and direction to sort\n\t*/\n\tonSort(spec) {\n\t\tlet fields = Array.from(this.state.fields);\n\t\tfields = sortBy(fields, function(field) {\n\t\t\tswitch (spec.column) {\n\t\t\tcase \"fieldName\": return field.origName;\n\t\t\tcase \"dataType\": return field.type;\n\t\t\tcase \"schemaName\": return field.schema;\n\t\t\tdefault: return null;\n\t\t\t}\n\t\t});\n\t\tif (spec.direction === SORT_DIRECTION.DESC) {\n\t\t\tfields.reverse();\n\t\t}\n\t\tthis.setState({ fields: fields });\n\t}\n\n\tgetAvailableFilters() {\n\t\tconst filters = [];\n\t\tfor (const key in DATA_TYPE) {\n\t\t\tif (has(DATA_TYPE, key)) {\n\t\t\t\tconst dataType = DATA_TYPE[key];\n\t\t\t\tfor (const field of this.props.fields) {\n\t\t\t\t\tif (dataType === field.type) {\n\t\t\t\t\t\tconst filter = {\n\t\t\t\t\t\t\t\"type\": field.type\n\t\t\t\t\t\t};\n\t\t\t\t\t\tlet duplicate = false;\n\t\t\t\t\t\tfor (const filtered of filters) {\n\t\t\t\t\t\t\tif (filtered.type === filter.type) {\n\t\t\t\t\t\t\t\tduplicate = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!duplicate) {\n\t\t\t\t\t\t\tfilters.push(filter);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn filters;\n\t}\n\n\tgetTableData() {\n\t\tconst fields = this.getVisibleData();\n\t\tconst tableData = [];\n\t\tconst selectedFields = this.state.selectedFields;\n\t\tconst selectedRowsIndex = [];\n\t\tfor (let i = 0; i < selectedFields.length; i++) {\n\t\t\tconst idx = fields.findIndex((field) => field.name === selectedFields[i]);\n\t\t\tif (idx !== -1) {\n\t\t\t\tselectedRowsIndex.push(idx);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < fields.length; i++) {\n\t\t\tconst field = fields[i];\n\t\t\tconst columns = [];\n\t\t\tlet fieldContent = (\n\t\t\t\t<div className=\"properties-fp-field\">\n\t\t\t\t\t<div className=\"properties-fp-field-name\">\n\t\t\t\t\t\t{field.origName}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t\tif (this.props.dmIcon) {\n\t\t\t\tconst metadata = this.props.controller.getDatasetMetadataFields();\n\t\t\t\tconst dmIconType = PropertyUtils.getDMFieldIcon(metadata,\n\t\t\t\t\tfield.origName, this.props.dmIcon);\n\t\t\t\tconst dmIcon = dmIconType ? <Icon type={dmIconType} /> : null;\n\t\t\t\tlet disabled = true;\n\t\t\t\tif (field.origName) {\n\t\t\t\t\tdisabled = false;\n\t\t\t\t}\n\t\t\t\tconst fpFieldName = (\n\t\t\t\t\t<span className=\"properties-fp-field-name\">\n\t\t\t\t\t\t{field.origName}\n\t\t\t\t\t</span>\n\t\t\t\t);\n\t\t\t\tconst fieldNameWithTooltip = (\n\t\t\t\t\t<TruncatedContentTooltip\n\t\t\t\t\t\tcontent={fpFieldName}\n\t\t\t\t\t\ttooltipText={field.origName}\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\t\tfieldContent = (\n\t\t\t\t\t<div className=\"properties-fp-field\">\n\t\t\t\t\t\t<div className=\"properties-fp-field-type-icon\">\n\t\t\t\t\t\t\t{dmIcon}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{fieldNameWithTooltip}\n\t\t\t\t\t</div>\n\t\t\t\t);\n\t\t\t}\n\t\t\tcolumns.push({\n\t\t\t\tcolumn: \"fieldName\",\n\t\t\t\tcontent: fieldContent,\n\t\t\t\tfieldName: field.origName\n\t\t\t});\n\t\t\tif (this.multiSchema) {\n\t\t\t\tconst schemaContent = (<div className=\"properties-fp-schema\">\n\t\t\t\t\t{field.schema}\n\t\t\t\t</div>);\n\t\t\t\tcolumns.push({ column: \"schemaName\", content: schemaContent });\n\t\t\t}\n\t\t\tcolumns.push({\n\t\t\t\tcolumn: \"dataType\",\n\t\t\t\tcontent: (<div className=\"properties-fp-data\">\n\t\t\t\t\t<div className={\"properties-fp-data-type-icon\"}>\n\t\t\t\t\t\t<Icon type={field.type} />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className=\"properties-fp-field-type\">{field.type}</div>\n\t\t\t\t</div>),\n\t\t\t\tvalue: field.type\n\t\t\t});\n\n\t\t\ttableData.push({ className: \"properties-fp-data-rows\", columns: columns });\n\t\t}\n\t\tthis.selectedRowsIndex = selectedRowsIndex;\n\t\treturn tableData;\n\t}\n\n\t/**\n\t* Returns list of visible fields from search or filter\n\t*/\n\tgetVisibleData() {\n\t\tconst that = this;\n\t\tconst data = this.state.fields;\n\t\tconst\tfilteredData = data.filter(function(row) {\n\t\t\treturn that.state.filterIcons.indexOf(row.type) < 0;\n\t\t});\n\n\t\tconst visibleData = filteredData.filter(function(row) {\n\t\t\tif (typeof that.state.filterText !== \"undefined\" && that.state.filterText !== null) {\n\t\t\t\treturn row.origName.toLowerCase().indexOf(that.state.filterText.toLowerCase()) > -1;\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\n\t\treturn visibleData;\n\t}\n\n\t/**\n\t * Returns any new columns that were not a part of the original set.\n\t */\n\tgetNewSelections() {\n\t\tconst deltas = [];\n\t\tconst initialValues = this.props.currentFields;\n\t\tif (this.state.selectedFields) {\n\t\t\tfor (let i = 0; i < this.state.selectedFields.length; i++) {\n\t\t\t\tif (typeof initialValues === \"undefined\" || initialValues === null || initialValues.indexOf(this.state.selectedFields[i]) < 0) {\n\t\t\t\t\tdeltas.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn deltas;\n\t}\n\n\thandleSave() {\n\t\tthis.props.closeFieldPicker(this.state.selectedFields, this.getNewSelections());\n\t}\n\n\thandleCancel() {\n\t\tthis.handleReset();\n\t\tthis.props.closeFieldPicker();\n\t}\n\n\tupdateFieldSelections(rowsIndex) {\n\t\tconst fields = this.getVisibleData();\n\t\tconst currField = Array.from(this.state.selectedFields);\n\t\tlet current = currField.filter(function(value, index, arr) {\n\t\t\tconst idx = fields.findIndex((field) => field.name === currField[index]);\n\t\t\treturn (idx === -1 || rowsIndex.includes(idx));\n\t\t});\n\t\tfor (let i = 0; i < rowsIndex.length; i++) {\n\t\t\tconst field = fields[rowsIndex[i]];\n\t\t\tif (field && !current.includes(field)) {\n\t\t\t\tconst fieldName = field.name;\n\t\t\t\tcurrent.push(fieldName);\n\t\t\t}\n\t\t}\n\t\tcurrent = Array.from(new Set(current));\n\t\tthis.setState({\n\t\t\tselectedFields: current\n\t\t});\n\t}\n\n\t/**\n\t* Returns true if field is found in list, else false\n\t* @param list array of fields to search through\n\t* @param fieldName field name to find in data\n\t*/\n\tisFieldInList(list, fieldName) {\n\t\treturn list.some(function(field) {\n\t\t\treturn field.name === fieldName;\n\t\t});\n\t}\n\n\thandleReset() {\n\t\tthis.setState({\n\t\t\tselectedFields: this.props.currentFields,\n\t\t\tfilterIcons: [],\n\t\t\tfilterText: \"\",\n\t\t});\n\t}\n\n\tfilterType(evt) {\n\t\tconst type = evt.currentTarget.getAttribute(\"data-type\");\n\t\tconst iconsSelected = Array.from(this.state.filterIcons);\n\t\tconst index = iconsSelected.indexOf(type);\n\t\tif (index < 0) {\n\t\t\ticonsSelected.push(type);\n\t\t} else {\n\t\t\ticonsSelected.splice(index, 1);\n\t\t}\n\t\tthis.setState({ filterIcons: iconsSelected });\n\t}\n\n\t_genBackButton() {\n\t\tif (this.props.rightFlyout) {\n\t\t\tconst applyLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(), MESSAGE_KEYS.APPLYBUTTON_LABEL);\n\t\t\tconst rejectLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(), MESSAGE_KEYS.REJECTBUTTON_LABEL);\n\n\t\t\treturn (<PropertiesButtons\n\t\t\t\tokHandler={this.handleSave}\n\t\t\t\tcancelHandler={this.handleCancel}\n\t\t\t\tshowPropertiesButtons\n\t\t\t\tapplyLabel={applyLabel}\n\t\t\t\trejectLabel={rejectLabel}\n\t\t\t/>);\n\t\t}\n\n\t\tconst saveTooltip = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_SAVEBUTTON_TOOLTIP);\n\t\tconst tooltipId = uuid4() + \"-tooltip-fp\";\n\t\tconst tooltip = (\n\t\t\t<div className=\"properties-tooltips\">\n\t\t\t\t{saveTooltip}\n\t\t\t</div>\n\t\t);\n\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<Tooltip\n\t\t\t\t\tid={tooltipId}\n\t\t\t\t\ttip={tooltip}\n\t\t\t\t\tdirection=\"left\"\n\t\t\t\t\tclassName=\"properties-tooltips\"\n\t\t\t\t>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tclassName=\"properties-fp-back-button\"\n\t\t\t\t\t\t\trenderIcon={ArrowLeft24}\n\t\t\t\t\t\t\ticonDescription={this.props.title}\n\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\tkind=\"primary\"\n\t\t\t\t\t\t\tonClick={this.handleSave}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<label className=\"properties-fp-button-label\">{this.props.title}</label>\n\t\t\t\t\t</div>\n\t\t\t\t</Tooltip>\n\t\t\t</div>\n\t\t);\n\t}\n\n\t_genResetButton() {\n\t\tconst resetLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_RESETBUTTON_LABEL);\n\t\treturn (\n\t\t\t<Button\n\t\t\t\tclassName=\"properties-fp-reset-button-container\"\n\t\t\t\tonClick={this.handleReset}\n\t\t\t\trenderIcon={Reset24}\n\t\t\t\ticonDescription={resetLabel}\n\t\t\t\tsize=\"small\"\n\t\t\t\tkind=\"ghost\"\n\t\t\t>\n\t\t\t\t<span>{resetLabel}</span>\n\t\t\t</Button>\n\t\t);\n\t}\n\n\t_genFilterTypes() {\n\t\tconst that = this;\n\t\tconst filterLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_FILTER_LABEL);\n\t\tconst filters = this.filterList.map(function(filter, ind) {\n\t\t\tlet enabled = true;\n\t\t\tfor (let i = 0; i < that.state.filterIcons.length; i++) {\n\t\t\t\tif (filter.type === that.state.filterIcons[i]) {\n\t\t\t\t\tenabled = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst filterTooltipId = uuid4() + \"-tooltip-filters-\" + ind;\n\t\t\tconst dataTypeLabel = PropertyUtils.formatMessage(that.props.controller.getReactIntl(), MESSAGE_KEYS[`FIELDPICKER_${filter.type.toUpperCase()}_LABEL`]);\n\t\t\tconst tooltip = (\n\t\t\t\t<div className=\"properties-tooltips\">\n\t\t\t\t\t{dataTypeLabel}\n\t\t\t\t</div>\n\t\t\t);\n\t\t\tconst row = (\n\t\t\t\t<li key={\"filters\" + ind} className=\"properties-fp-filter-list-li\">\n\t\t\t\t\t<div className=\"properties-tooltips-filter\">\n\t\t\t\t\t\t<Tooltip\n\t\t\t\t\t\t\tid={filterTooltipId}\n\t\t\t\t\t\t\ttip={tooltip}\n\t\t\t\t\t\t\tdirection=\"bottom\"\n\t\t\t\t\t\t\tclassName=\"properties-tooltips icon-tooltip\"\n\t\t\t\t\t\t\tdisable={isEmpty(filter.type)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\tclassName=\"properties-fp-filter\"\n\t\t\t\t\t\t\t\tdata-type={filter.type}\n\t\t\t\t\t\t\t\tonClick={that.filterType.bind(that)}\n\t\t\t\t\t\t\t\taria-label={filterLabel + \" \" + filter.type}\n\t\t\t\t\t\t\t\tkind=\"ghost\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Icon type={filter.type} disabled={!enabled} />\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</Tooltip>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t);\n\t\t\treturn (row);\n\t\t});\n\t\treturn (\n\t\t\t<ul className=\"properties-fp-filter-list\">\n\t\t\t\t<li className=\"properties-fp-filter-list-title properties-fp-filter-list-li\">\n\t\t\t\t\t{filterLabel}\n\t\t\t\t</li>\n\t\t\t\t{filters}\n\t\t\t</ul>\n\t\t);\n\t}\n\n\t_genTable() {\n\n\t\tconst fieldColumnLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_FIELDCOLUMN_LABEL);\n\t\t// TODO: debug why resource key not used\n\t\tconst schemaColumnLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_SCHEMACOLUMN_LABEL);\n\t\tconst dataTypeColumnLabel = PropertyUtils.formatMessage(this.props.controller.getReactIntl(),\n\t\t\tMESSAGE_KEYS.FIELDPICKER_DATATYPECOLUMN_LABEL);\n\t\t// TODO get label from resource and make id unique\n\t\tconst headers = [];\n\t\theaders.push({ \"key\": \"fieldName\", \"label\": fieldColumnLabel });\n\t\tif (this.multiSchema) {\n\t\t\theaders.push({ \"key\": \"schemaName\", \"label\": schemaColumnLabel });\n\t\t}\n\t\theaders.push({ \"key\": \"dataType\", \"label\": dataTypeColumnLabel });\n\n\t\tconst tableData = this.getTableData();\n\n\t\treturn (\n\t\t\t<FlexibleTable className=\"properties-fp-table\"\n\t\t\t\tsortable={[\"fieldName\", \"schemaName\", \"dataType\"]}\n\t\t\t\tfilterable={[\"fieldName\"]}\n\t\t\t\tonFilter={this.onFilter}\n\t\t\t\tcolumns={headers}\n\t\t\t\tdata={tableData}\n\t\t\t\tonSort={this.onSort}\n\t\t\t\tfilterKeyword={this.state.filterText}\n\t\t\t\tscrollKey=\"field-picker\"\n\t\t\t\trows={-1}\n\t\t\t\ttableLabel={this.props.title ? this.props.title : \"\"}\n\t\t\t\tselectedRows={this.selectedRowsIndex}\n\t\t\t\tupdateRowSelections={this.updateFieldSelections}\n\t\t\t\trowSelection={ROW_SELECTION.MULTIPLE}\n\t\t\t\tlight={this.props.controller.getLight()}\n\t\t\t/>\n\t\t);\n\t}\n\n\trender() {\n\t\tconst backButton = this._genBackButton();\n\t\tconst resetButton = this._genResetButton();\n\t\tconst filterTypes = this._genFilterTypes();\n\t\tconst table = this._genTable();\n\n\t\tif (this.props.rightFlyout) {\n\t\t\treturn (<div>\n\t\t\t\t<div className=\"properties-fp-top-row\">\n\t\t\t\t\t{filterTypes}\n\t\t\t\t\t{resetButton}\n\t\t\t\t</div>\n\t\t\t\t{table}\n\t\t\t\t{backButton}\n\t\t\t</div>);\n\t\t}\n\n\t\treturn (<div>\n\t\t\t<div className=\"properties-fp-top-row\">\n\t\t\t\t{backButton}\n\t\t\t\t{resetButton}\n\t\t\t</div>\n\t\t\t{filterTypes}\n\t\t\t{table}\n\t\t</div>);\n\t}\n}\n\nFieldPicker.propTypes = {\n\tcloseFieldPicker: PropTypes.func.isRequired,\n\tcurrentFields: PropTypes.array.isRequired,\n\tfields: PropTypes.array, // in current data model\n\ttitle: PropTypes.string,\n\tcontroller: PropTypes.object.isRequired,\n\trightFlyout: PropTypes.bool,\n\tdmIcon: PropTypes.string\n};\n","/*\n * Copyright 2017-2022 Elyra Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport FieldPicker from \"./field-picker.jsx\";\nexport default FieldPicker;\n"],"names":["PropertiesButtons","rejectButton","applyButtonLabel","this","props","applyLabel","intl","formatMessage","id","defaultMessage","defaultMessages","rejectButtonLabel","rejectLabel","cancelHandler","React","Button","className","type","size","kind","onClick","applyButton","okHandler","disabled","applyButtonEnabled","classNames","showPropertiesButtons","Component","defaultProps","injectIntl","baseHasIn","object","key","Object","hasPath","require$$1","hasIn_1","path","baseIsEqual","require$$0","isEqual_1","value","other","ParamRole","TEXT","ENUM","COLUMN","NEW_COLUMN","EXPRESSION","EMAIL","URL","COLOR","INTERVAL_YEAR","INTERVAL_DAY","INTERVAL_SECOND","CUSTOM","UNSPECIFIED","_matchesStrictComparable","srcValue","undefined","baseIsMatch","getMatchData","matchesStrictComparable","require$$2","_baseMatches","source","matchData","length","get","hasIn","isKey","require$$3","isStrictComparable","require$$4","require$$5","toKey","require$$6","_baseMatchesProperty","objValue","COMPARE_PARTIAL_FLAG","_baseProperty","baseGet","baseProperty","basePropertyDeep","property_1","baseMatches","baseMatchesProperty","identity","isArray","property","_baseIteratee","baseFor","keys","_baseForOwn","iteratee","isArrayLike","_baseEach","eachFunc","fromRight","collection","index","iterable","createBaseEach","baseEach","_baseMap","result","Array","_baseSortBy","array","comparer","sort","isSymbol","compareAscending","valIsDefined","valIsNull","valIsReflexive","valIsSymbol","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","_compareMultiple","orders","objCriteria","criteria","othCriteria","ordersLength","arrayMap","baseIteratee","baseMap","baseSortBy","baseUnary","compareMultiple","require$$7","require$$8","_baseOrderBy","iteratees","eq","isIndex","isObject","_isIterateeCall","baseFlatten","baseOrderBy","baseRest","isIterateeCall","sortBy_1","_getErrorMessage","prefix","errorObject","classID","lineNumber","message","console","log","warn","error","toType","obj","toString","call","match","toLowerCase","substituteObj","defaultMessages1","defaultMessages2","_getExpParameterValue","expParam","controller","isNaN","getPropertyValue","name","trim","parseFloat","getTableFieldIndex","control","subControls","i","role","convertType","storage","retVal","stringifyFieldValue","excludeSchema","valueDef","link_ref","field_name","getDMFieldIcon","fields","iconType","icon","correctField","find","field","origName","CARBON_ICONS","MEASUREMENTS","EMPTY","metadata","measure","SCALE","ORDINAL","DISCRETE","NOMINAL","FLAG","DATA_TYPE","DATE","TIME","TIMESTAMP","STRING","INTEGER","DOUBLE","_findCorrespondingValue","input","values","idx","indexOf","searchTerm","startsWith","substring","TruncatedContentTooltip","tooltipText","_typeof","String","tooltip","Tooltip","uuid4","tip","direction","disable","_has","showToolTipIfTruncated","content","FieldPicker","state","_this","origFields","filterIcons","filterText","selectedFields","currentFields","multiSchema","getDatasetMetadataSchemas","filterList","filterType","bind","getTableData","getVisibleData","handleSave","handleCancel","handleReset","getNewSelections","onSort","onFilter","updateFieldSelections","getAvailableFilters","filterString","setState","spec","from","_sortBy","column","schema","SORT_DIRECTION","DESC","reverse","filters","dataType","filter","duplicate","push","tableData","selectedRowsIndex","findIndex","columns","fieldContent","dmIcon","dmIconType","PropertyUtils","getDatasetMetadataFields","Icon","fpFieldName","fieldNameWithTooltip","fieldName","schemaContent","that","row","deltas","initialValues","closeFieldPicker","rowsIndex","currField","current","arr","includes","Set","list","some","evt","currentTarget","getAttribute","iconsSelected","splice","rightFlyout","getReactIntl","MESSAGE_KEYS","APPLYBUTTON_LABEL","REJECTBUTTON_LABEL","saveTooltip","FIELDPICKER_SAVEBUTTON_TOOLTIP","tooltipId","renderIcon","ArrowLeft24","iconDescription","title","resetLabel","FIELDPICKER_RESETBUTTON_LABEL","Reset24","filterLabel","FIELDPICKER_FILTER_LABEL","map","ind","enabled","filterTooltipId","dataTypeLabel","toUpperCase","_isEmpty","fieldColumnLabel","FIELDPICKER_FIELDCOLUMN_LABEL","schemaColumnLabel","FIELDPICKER_SCHEMACOLUMN_LABEL","dataTypeColumnLabel","FIELDPICKER_DATATYPECOLUMN_LABEL","headers","FlexibleTable","sortable","filterable","data","filterKeyword","scrollKey","rows","tableLabel","selectedRows","updateRowSelections","rowSelection","ROW_SELECTION","MULTIPLE","light","getLight","backButton","_genBackButton","resetButton","_genResetButton","filterTypes","_genFilterTypes","table","_genTable","nextProps","prevState","_isEqual","TEXTFIELD","PASSWORDFIELD","TEXTAREA","LIST","NUMBERFIELD","DATEFIELD","TIMEFIELD","CHECKBOX","RADIOSET","CHECKBOXSET","ONEOFSELECT","MULTISELECT","SOMEOFSELECT","SELECTCOLUMN","SELECTCOLUMNS","SELECTSCHEMA","STRUCTURETABLE","STRUCTUREEDITOR","STRUCTURELISTEDITOR","TOGGLETEXT","READONLY","READONLYTABLE","SPINNER","CODE","HIDDEN","INLINE","SUBPANEL","ON_PANEL","CONTROLS","TABS","SUB_TABS","PANELS","ADDITIONAL","COLUMN_SELECTION","PANEL_SELECTOR","CUSTOM_PANEL","SUMMARY_PANEL","ACTION_PANEL","TEXT_PANEL","TWISTY_PANEL","COLUMN_PANEL","CONTROL","ADDITIONAL_LINK","STATIC_TEXT","HORIZONTAL_SEPARATOR","PANEL","PRIMARY_TABS","ACTION","VERTICAL","HORIZONTAL","GENERAL","SUMMARY","BEFORE","AFTER","LARGE","MEDIUM","SMALL","BOOLEAN","LONG","PASSWORD","STRUCTURE","OBJECT","convertArrayStructureToObject","isList","currentValues","convert","structureKeys","forEach","convertedValues","newObject","keyIndex","structureType","convertedRow","converted","dataModel","datasetMetadata","description","modelingRole","modeling_role","convertObjectStructureToArray","_cloneDeep","evaluateText","text","startIdx","endIdx","substr","expression","newText","replace","paramValue","paramStartIdx","funcName","parameters","slice","split","toFixed","parseInt","_evaluateExpression","e","logger","stringValue","propType","fieldValue","fieldProto","subControlDef","defaultValue","dmField","dmDefault","controlValues","dataColumnIndex","outputList","controlValue","isS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,EAAkBvS,GAAmBC,GACrCuS,EAAa,MACfF,IAAsC,IAArBC,EAAwB,YACjBD,kCAAe,KAA/BG,UACN5L,EAAY4L,EACZ5W,MAAMlB,QAAQ8X,GACjB5L,EAAYrG,GAAoBiS,EAAaF,GAAkBtS,GAC5B,WAAzBlB,GAAO0T,KACjB5L,EAAYrG,GAAoBiS,EAAcxS,IAE/CuS,EAAWxM,KAAKa,0CAGX2L,+GApJR,SAASE,EAAgCzS,MACpCA,EAAS,IACRA,EAAQgQ,eAA2C,WAA1BhQ,EAAQgQ,qBAC7B,EACD,GAAIhQ,EAAQC,YAAa,YACND,EAAQC,4CAAa,KAAnCyS,aACNA,EAAW1C,eAA8C,WAA7B0C,EAAW1C,qBACnC,EACD,GAAI0C,EAAWzS,aACFwS,EAAgCC,UAE3C,wCAIH,UAGF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var e=function(){this.__data__=[],this.size=0};var n=function(t,r){return t===r||t!=t&&r!=r},o=n;var a=function(t,r){for(var e=t.length;e--;)if(o(t[e][0],r))return e;return-1},i=a,c=Array.prototype.splice;var u=a;var s=a;var l=a;var f=e,p=function(t){var r=this.__data__,e=i(r,t);return!(e<0)&&(e==r.length-1?r.pop():c.call(r,e,1),--this.size,!0)},v=function(t){var r=this.__data__,e=u(r,t);return e<0?void 0:r[e][1]},y=function(t){return s(this.__data__,t)>-1},h=function(t,r){var e=this.__data__,n=l(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function b(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}b.prototype.clear=f,b.prototype.delete=p,b.prototype.get=v,b.prototype.has=y,b.prototype.set=h;var j=b,_="object"==typeof t&&t&&t.Object===Object&&t,d=_,g="object"==typeof self&&self&&self.Object===Object&&self,w=d||g||Function("return this")(),O=w.Symbol,m=O,A=Object.prototype,x=A.hasOwnProperty,S=A.toString,P=m?m.toStringTag:void 0;var z=function(t){var r=x.call(t,P),e=t[P];try{t[P]=void 0;var n=!0}catch(t){}var o=S.call(t);return n&&(r?t[P]=e:delete t[P]),o},T=Object.prototype.toString;var k=z,F=function(t){return T.call(t)},$=O?O.toStringTag:void 0;var E=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":$&&$ in Object(t)?k(t):F(t)};var M=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)},q=E,C=M;var D,I=function(t){if(!C(t))return!1;var r=q(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},B=w["__core-js_shared__"],R=(D=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";var U=function(t){return!!R&&R in t},V=Function.prototype.toString;var W=function(t){if(null!=t){try{return V.call(t)}catch(t){}try{return t+""}catch(t){}}return""},G=I,N=U,H=M,J=W,K=/^\[object .+?Constructor\]$/,L=Function.prototype,Q=Object.prototype,X=L.toString,Y=Q.hasOwnProperty,Z=RegExp("^"+X.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var tt=function(t){return!(!H(t)||N(t))&&(G(t)?Z:K).test(J(t))},rt=function(t,r){return null==t?void 0:t[r]};var et=function(t,r){var e=rt(t,r);return tt(e)?e:void 0},nt=et(w,"Map"),ot=et(Object,"create"),at=ot;var it=function(){this.__data__=at?at(null):{},this.size=0};var ct=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},ut=ot,st=Object.prototype.hasOwnProperty;var lt=function(t){var r=this.__data__;if(ut){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return st.call(r,t)?r[t]:void 0},ft=ot,pt=Object.prototype.hasOwnProperty;var vt=ot;var yt=it,ht=ct,bt=lt,jt=function(t){var r=this.__data__;return ft?void 0!==r[t]:pt.call(r,t)},_t=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=vt&&void 0===r?"__lodash_hash_undefined__":r,this};function dt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}dt.prototype.clear=yt,dt.prototype.delete=ht,dt.prototype.get=bt,dt.prototype.has=jt,dt.prototype.set=_t;var gt=dt,wt=j,Ot=nt;var mt=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var At=function(t,r){var e=t.__data__;return mt(r)?e["string"==typeof r?"string":"hash"]:e.map},xt=At;var St=At;var Pt=At;var zt=At;var Tt=function(){this.size=0,this.__data__={hash:new gt,map:new(Ot||wt),string:new gt}},kt=function(t){var r=xt(this,t).delete(t);return this.size-=r?1:0,r},Ft=function(t){return St(this,t).get(t)},$t=function(t){return Pt(this,t).has(t)},Et=function(t,r){var e=zt(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function Mt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}Mt.prototype.clear=Tt,Mt.prototype.delete=kt,Mt.prototype.get=Ft,Mt.prototype.has=$t,Mt.prototype.set=Et;var qt=Mt;var Ct=function(t){return null!=t&&"object"==typeof t},Dt=E,It=Ct;var Bt=function(t){return It(t)&&"[object Arguments]"==Dt(t)},Rt=Ct,Ut=Object.prototype,Vt=Ut.hasOwnProperty,Wt=Ut.propertyIsEnumerable,Gt=Bt(function(){return arguments}())?Bt:function(t){return Rt(t)&&Vt.call(t,"callee")&&!Wt.call(t,"callee")},Nt=Array.isArray,Ht={exports:{}};var Jt=function(){return!1};!function(t,r){var e=w,n=Jt,o=r&&!r.nodeType&&r,a=o&&t&&!t.nodeType&&t,i=a&&a.exports===o?e.Buffer:void 0,c=(i?i.isBuffer:void 0)||n;t.exports=c}(Ht,Ht.exports);var Kt=/^(?:0|[1-9]\d*)$/;var Lt=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==e||"symbol"!=e&&Kt.test(t))&&t>-1&&t%1==0&&t<r};var Qt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Xt=E,Yt=Qt,Zt=Ct,tr={};tr["[object Float32Array]"]=tr["[object Float64Array]"]=tr["[object Int8Array]"]=tr["[object Int16Array]"]=tr["[object Int32Array]"]=tr["[object Uint8Array]"]=tr["[object Uint8ClampedArray]"]=tr["[object Uint16Array]"]=tr["[object Uint32Array]"]=!0,tr["[object Arguments]"]=tr["[object Array]"]=tr["[object ArrayBuffer]"]=tr["[object Boolean]"]=tr["[object DataView]"]=tr["[object Date]"]=tr["[object Error]"]=tr["[object Function]"]=tr["[object Map]"]=tr["[object Number]"]=tr["[object Object]"]=tr["[object RegExp]"]=tr["[object Set]"]=tr["[object String]"]=tr["[object WeakMap]"]=!1;var rr=function(t){return Zt(t)&&Yt(t.length)&&!!tr[Xt(t)]};var er=function(t){return function(r){return t(r)}},nr={exports:{}};!function(t,r){var e=_,n=r&&!r.nodeType&&r,o=n&&t&&!t.nodeType&&t,a=o&&o.exports===n&&e.process,i=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=i}(nr,nr.exports);var or=rr,ar=er,ir=nr.exports,cr=ir&&ir.isTypedArray,ur=cr?ar(cr):or,sr=Object.prototype;var lr=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||sr)};var fr=function(t,r){return function(e){return t(r(e))}},pr=fr(Object.keys,Object),vr=lr,yr=pr,hr=Object.prototype.hasOwnProperty;var br=function(t){if(!vr(t))return yr(t);var r=[];for(var e in Object(t))hr.call(t,e)&&"constructor"!=e&&r.push(e);return r},jr=I,_r=Qt;var dr=function(t){return null!=t&&_r(t.length)&&!jr(t)},gr=et(w,"DataView"),wr=et(w,"Promise"),Or=et(w,"Set"),mr=gr,Ar=nt,xr=wr,Sr=Or,Pr=et(w,"WeakMap"),zr=E,Tr=W,kr=Tr(mr),Fr=Tr(Ar),$r=Tr(xr),Er=Tr(Sr),Mr=Tr(Pr),qr=zr;(mr&&"[object DataView]"!=qr(new mr(new ArrayBuffer(1)))||Ar&&"[object Map]"!=qr(new Ar)||xr&&"[object Promise]"!=qr(xr.resolve())||Sr&&"[object Set]"!=qr(new Sr)||Pr&&"[object WeakMap]"!=qr(new Pr))&&(qr=function(t){var r=zr(t),e="[object Object]"==r?t.constructor:void 0,n=e?Tr(e):"";if(n)switch(n){case kr:return"[object DataView]";case Fr:return"[object Map]";case $r:return"[object Promise]";case Er:return"[object Set]";case Mr:return"[object WeakMap]"}return r});var Cr=qr,Dr=E,Ir=Ct;var Br=function(t){return"symbol"==typeof t||Ir(t)&&"[object Symbol]"==Dr(t)},Rr=Nt,Ur=Br,Vr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wr=/^\w*$/;var Gr=function(t,r){if(Rr(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!Ur(t))||(Wr.test(t)||!Vr.test(t)||null!=r&&t in Object(r))},Nr=qt;function Hr(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],a=e.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return e.cache=a.set(o,i)||a,i};return e.cache=new(Hr.Cache||Nr),e}Hr.Cache=Nr;var Jr=Hr;var Kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lr=/\\(\\)?/g,Qr=function(t){var r=Jr(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache;return r}((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(Kr,(function(t,e,n,o){r.push(n?o.replace(Lr,"$1"):e||t)})),r}));var Xr=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o},Yr=Xr,Zr=Nt,te=Br,re=O?O.prototype:void 0,ee=re?re.toString:void 0;var ne=function t(r){if("string"==typeof r)return r;if(Zr(r))return Yr(r,t)+"";if(te(r))return ee?ee.call(r):"";var e=r+"";return"0"==e&&1/r==-Infinity?"-0":e},oe=ne;var ae=function(t){return null==t?"":oe(t)},ie=Nt,ce=Gr,ue=Qr,se=ae;var le=function(t,r){return ie(t)?t:ce(t,r)?[t]:ue(se(t))},fe=Br;var pe=function(t){if("string"==typeof t||fe(t))return t;var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},ve=le,ye=Gt,he=Nt,be=Lt,je=Qt,_e=pe;var de=function(t,r,e){for(var n=-1,o=(r=ve(r,t)).length,a=!1;++n<o;){var i=_e(r[n]);if(!(a=null!=t&&e(t,i)))break;t=t[i]}return a||++n!=o?a:!!(o=null==t?0:t.length)&&je(o)&&be(i,o)&&(he(t)||ye(t))},ge=Object.prototype.hasOwnProperty;var we=function(t,r){return null!=t&&ge.call(t,r)},Oe=de;var me=function(t,r){return null!=t&&Oe(t,r,we)},Ae=br,xe=Cr,Se=Gt,Pe=Nt,ze=dr,Te=Ht.exports,ke=lr,Fe=ur,$e=Object.prototype.hasOwnProperty;var Ee=function(t){if(null==t)return!0;if(ze(t)&&(Pe(t)||"string"==typeof t||"function"==typeof t.splice||Te(t)||Fe(t)||Se(t)))return!t.length;var r=xe(t);if("[object Map]"==r||"[object Set]"==r)return!t.size;if(ke(t))return!Ae(t).length;for(var e in t)if($e.call(t,e))return!1;return!0};export{O as A,Cr as B,nr as C,Or as D,ae as E,t as F,r as G,le as _,pe as a,E as b,Xr as c,Ee as d,dr as e,lr as f,er as g,me as h,Ct as i,Nt as j,de as k,Gr as l,Br as m,n,Lt as o,M as p,j as q,nt as r,qt as s,et as t,Gt as u,Ht as v,ur as w,br as x,w as y,fr as z};
|
|
2
|
+
//# sourceMappingURL=isEmpty-def8f509.js.map
|