@knime/jsonforms 2.1.1 → 3.0.0
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/CHANGELOG.md +41 -1
- package/README.md +18 -98
- package/dist/{AnyOfTwinlist-BquVq8AS.js → AnyOfTwinlist-CcodfEXw.js} +1 -1
- package/dist/{CheckboxControl-Am9U-bYD.js → CheckboxControl-B_MAR82s.js} +8 -7
- package/dist/{CheckboxesControl-BspIlIbB.js → CheckboxesControl--bG4aF6O.js} +2 -2
- package/dist/{ColorControl-BHUfVY4p.js → ColorControl-CEp2Ei7R.js} +4 -4
- package/dist/{ColorPreviewControl-CEpL_kaL.js → ColorPreviewControl-j0uQH95J.js} +4 -3
- package/dist/{ComboBoxControl-ClQQen4_.js → ComboBoxControl-BpJzwiv6.js} +9 -9
- package/dist/{DateControl-ByQT8Gkd.js → DateControl-83Fi6P5y.js} +7 -7
- package/dist/{DateTimeControl-a63aJR3P.js → DateTimeControl-C-D8bFm3.js} +19 -19
- package/dist/{DateTimeFormatPickerControl-CIInYUo6.js → DateTimeFormatPickerControl-B9gl_66T.js} +8 -7
- package/dist/{DropdownControl-CJfBEr1U.js → DropdownControl-CtveoldX.js} +2 -2
- package/dist/{ExecutorCoresControl-BL3bqvQS.js → ExecutorCoresControl-CErHidL7.js} +1 -1
- package/dist/{ExecutorMemoryControl-9jYFehP_.js → ExecutorMemoryControl-DgSM86Yg.js} +1 -1
- package/dist/FileUploadControl-BBfnxURy.js +56 -0
- package/dist/{GridSelectionControl-Cg2XRfVM.js → GridSelectionControl-BaI4j0Jj.js} +37 -36
- package/dist/HorizontalLayout-D1SRCyhL.js +26 -0
- package/dist/{IntegerControl-DEB61wXs.js → IntegerControl-v93Xw4DJ.js} +1 -1
- package/dist/{IntervalControl-vIYmRD6L.js → IntervalControl-CVlO_mFO.js} +6 -5
- package/dist/{LinkControl-BgVxs7t4.js → LinkControl-j8GrcZZG.js} +8 -7
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-QC7aOc4F.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js} +12 -12
- package/dist/{ManualTwinlistControl-D9db17UY.js → ManualTwinlistControl-BzJehuHs.js} +3 -3
- package/dist/{MultimodeTwinlistControl-C0WiAqkl.js → MultimodeTwinlistControl-Br0DrpsZ.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-Cl3v0hvj.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CHcU__0y.js} +6 -6
- package/dist/{NameFilter-CYEFdbqE.js → NameFilter-BjuVseuX.js} +1 -1
- package/dist/{NumberControl-CgslsnZZ.js → NumberControl-BF76FEhD.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DlCmQrES.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DMTsK83k.js} +13 -13
- package/dist/{OneOfDropdown-ClWfBNwo.js → OneOfDropdown-DpXmZauV.js} +5 -5
- package/dist/{ProgressButtonControl-JO35CcdZ.js → ProgressButtonControl-t8QMA22a.js} +6 -5
- package/dist/{RadioButtonsWithDescriptionControl-CgDg8qWw.js → RadioButtonsWithDescriptionControl-CeZ4qYCr.js} +11 -10
- package/dist/{RadioControl-DaG8qc-8.js → RadioControl-DOn1Kre5.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CP-6xtB-.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CExBvDXt.js} +13 -13
- package/dist/ResourceControlBase-CX97xRiy.js +70 -0
- package/dist/RichTextControl-BrVmkMgh.js +60 -0
- package/dist/{SectionHeading-bAxFt0K8.js → SectionHeading-YAJTwOE4.js} +1 -1
- package/dist/SectionLayout-BYOxuxY2.js +47 -0
- package/dist/SettingsSubPanel-DgISjowU.js +5 -0
- package/dist/SettingsSubPanelLayout-BQJCnTqx.js +69 -0
- package/dist/{SimpleButtonControl-Bht3vfB_.js → SimpleButtonControl-GTX19t2_.js} +12 -11
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js +1284 -0
- package/dist/{SimpleTwinlistControl-58JJjuyJ.js → SimpleTwinlistControl-DOH1_L25.js} +2 -2
- package/dist/{SingleSelectControl-BsOPp7Ee.js → SingleSelectControl-mY_yYOyk.js} +2 -2
- package/dist/SortListControl-D-Um5gEW.js +81 -0
- package/dist/{TeamAndSpacesControl-CymLVHjW.js → TeamAndSpacesControl-fGumynvr.js} +14 -13
- package/dist/{TeamResourceControl--On-UM_r.js → TeamResourceControl--1Sj3-Ks.js} +1 -1
- package/dist/{TextAreaControl-DTSkxwKf.js → TextAreaControl-Cwq-lNBk.js} +1 -1
- package/dist/{TextControl-WLp7dgu8.js → TextControl-MvbrNTGW.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-CIHgwaWC.js → TextControl.vue_vue_type_script_setup_true_lang-Cbv0bM2X.js} +7 -6
- package/dist/{TimeControl-CuQSizhM.js → TimeControl-WG0SC4_b.js} +13 -13
- package/dist/TimeframesControl-CX5eKOGZ.js +53 -0
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-BpwYc4Ax.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.js} +2 -2
- package/dist/{TypedStringFilter-7V8iSJLO.js → TypedStringFilter-BnWygKQJ.js} +1 -1
- package/dist/{ValueSwitchControl-DXgWtmcK.js → ValueSwitchControl-BByKe7NK.js} +1 -1
- package/dist/{VerticalLayout-BVioYa5B.js → VerticalLayout-DIBkvSZ9.js} +6 -6
- package/dist/{VerticalLayoutBase-DGVBvwtI.js → VerticalLayoutBase-BEDnWcoh.js} +1 -1
- package/dist/{ZonedDateTimeControl-C1ju6F01.js → ZonedDateTimeControl-B45OygrC.js} +7 -7
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +67 -64
- package/dist/src/JsonFormsDialog.vue.d.ts +42 -30
- package/dist/src/constants/inputFormats.d.ts +0 -2
- package/dist/src/higherOrderComponents/control/validation/useCustomValidation.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +2 -2
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +11 -0
- package/dist/src/renderers/checkboxRenderer.d.ts +3 -0
- package/dist/src/renderers/colorPreviewRenderer.d.ts +2 -0
- package/dist/src/renderers/defaultRenderers.d.ts +17 -2
- package/dist/src/renderers/fallbackRenderers.d.ts +3 -0
- package/dist/src/renderers/linkRenderer.d.ts +2 -0
- package/dist/src/renderers/progressButtonRenderer.d.ts +3 -0
- package/dist/src/renderers/radioWithDescriptionRenderer.d.ts +2 -0
- package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +11 -0
- package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -0
- package/dist/src/renderers/textMessageRenderer.d.ts +2 -0
- package/dist/src/uiComponents/TextControl.vue.d.ts +456 -0
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +144 -0
- package/dist/testUtils/component.d.ts +1 -0
- package/dist/testing.js +7627 -8185
- package/dist/{useBuiltinValidations-C3odz7pt.js → useBuiltinValidations-_4IBMopQ.js} +1 -1
- package/dist/{usePossibleValues-BA8iHFUA.js → usePossibleValues-CXVLf00v.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-c39xqmHn.js → useUnknownValuesInTwinlist-uXOCQkVS.js} +1 -1
- package/package.json +31 -29
- package/dist/FileUploadControl-IZ_tqpYV.js +0 -211
- package/dist/HorizontalLayout-DM22_7Xq.js +0 -25
- package/dist/MultiSelectListBoxControl-CQOFIEci.js +0 -543
- package/dist/ResourceControlBase-ByovkzLI.js +0 -89
- package/dist/RichTextControl-C4Rivk0R.js +0 -19917
- package/dist/SectionLayout-C2iFQIJR.js +0 -46
- package/dist/SettingsSubPanel-KwmK5MAt.js +0 -5
- package/dist/SettingsSubPanelLayout-C0k9Q7I2.js +0 -67
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-D7lL4y23.js +0 -30911
- package/dist/SingleSelectListBoxControl-BJzba-ZZ.js +0 -233
- package/dist/SortListControl-Ul4DUauo.js +0 -105
- package/dist/StyledListItem-Ba8daevG.js +0 -76
- package/dist/TimeframesControl-CGSCEaIi.js +0 -345
- package/dist/_Uint8Array-Cpnt95Yo.js +0 -347
- package/dist/add-user-BBT39sTb-CG24m5YJ.js +0 -22
- package/dist/ai-general-xv5Ym88e-DE8E7CNp.js +0 -22
- package/dist/annotation-mode-C0YL12XP-DfawJujX.js +0 -22
- package/dist/arrow-down-D8Q9vZG_-DcAfj8o_.js +0 -22
- package/dist/arrow-up-DJlZjTYZ-1XnRBZ0P.js +0 -22
- package/dist/arrows-expand-eXIczgyQ-B3FVGplS.js +0 -22
- package/dist/arrows-move-CDiEl6Ry-Bo2ZB-mA.js +0 -22
- package/dist/arrows-order-DMoJXS-I-DPBpqfHi.js +0 -22
- package/dist/audio-datatype-DyzJTMxb-DTmcrWPM.js +0 -22
- package/dist/auto-configure-BU7AIhL7-7W3z7Vjz.js +0 -22
- package/dist/back-D1kA9zuH-BEZ-4_Jq.js +0 -22
- package/dist/binary-object-datatype-DHZPEEoV-CRw3XKLB.js +0 -22
- package/dist/bit-byte-vector-datatype-XJ0yjm_4-CEgn9iC8.js +0 -22
- package/dist/bold-C8dRggXe-6IPJQhwP.js +0 -22
- package/dist/boolean-datatype-B0SBV35e-CbyKKGIA.js +0 -26
- package/dist/calendar-B6v1nLjF-BKpP_1SW.js +0 -22
- package/dist/case-sensitive-CHP-__99-D6Rj7D6f.js +0 -21
- package/dist/cell-renderer-DGnkQWTq-S8TXb3dZ.js +0 -22
- package/dist/center-aligned--zRFP8Lf-BEE4X4hh.js +0 -21
- package/dist/checkmark-DOn23D5R-rxMT0GCo.js +0 -22
- package/dist/chevron-down-BsSG_C_8-Cfrnjb3w.js +0 -22
- package/dist/chevron-left-BKFnSetN-Bx1MWzNQ.js +0 -22
- package/dist/chevron-left-double-D-EEhZoy-B8ub7r6P.js +0 -22
- package/dist/chevron-right-CozOeJxa-kKTlykdH.js +0 -22
- package/dist/chevron-right-double-BgfwXKBg-BRs2WvE-.js +0 -22
- package/dist/chevron-up-FA-c_L5N-4KUaGKTL.js +0 -22
- package/dist/circle-error-CwUp2gKh-DuI-n9Aj.js +0 -22
- package/dist/circle-info-CcCjmOUH-DVaAMsUw.js +0 -23
- package/dist/circle-question-TFLpel6L-Hedu9Mij.js +0 -22
- package/dist/circle-success-CGkhxpZE-CjfudGdX.js +0 -22
- package/dist/circle-unchecked-DOoOn6iz-D8kdRFQp.js +0 -22
- package/dist/cloud-download-CstHUDZv-C-WGWvoq.js +0 -22
- package/dist/cloud-knime-CpZfWe3J-CzXuaBfv.js +0 -22
- package/dist/cloud-pending-changes-CWBUkOnb-CPJyy-Ev.js +0 -22
- package/dist/cloud-synced-DlT_4y5Q-DksE46gj.js +0 -22
- package/dist/cloud-upload-DQvu_3cc-DSyKsPL2.js +0 -22
- package/dist/cloud-workflow-Bo_4KHLP-CqLk4jMl.js +0 -22
- package/dist/code-block-DrOaCM3g-CWqFyCPp.js +0 -22
- package/dist/collection-BBXRVj4b-DzRZ2FYd.js +0 -22
- package/dist/collection-list-datatype-DDLoFog9-BJCoX4C9.js +0 -22
- package/dist/collection-set-datatype-QGQHiErr-CAdy8yuM.js +0 -21
- package/dist/color-picker-k6GkGnF5-CLo1hd1p.js +0 -22
- package/dist/column-width-Cjb-6nqI-DQNnYUv-.js +0 -22
- package/dist/comment-DL9ZR-vM-C_pdSkWG.js +0 -22
- package/dist/component-BArrSsoi-C7_Z0-LO.js +0 -22
- package/dist/connection-cIDhN_bU-BIGOEjAm.js +0 -22
- package/dist/copy-D43FaHi--Bqzsv-mJ.js +0 -22
- package/dist/cursor-DSIjd7yc-Dpz9Lrqw.js +0 -21
- package/dist/data-app-BHCZS7qU-BIo58eph.js +0 -22
- package/dist/data-value-view-DZAfZGqs-DhMYQ2cr.js +0 -22
- package/dist/date-datatype-DX2o-Qoi-CYq6C3ol.js +0 -22
- package/dist/date-time-C3cmSAQm-4lY0sp_P.js +0 -22
- package/dist/date-time-local-datatype-BRveWl93-BZ2J2WBh.js +0 -22
- package/dist/date-time-zoned-datatype-CvUpjzJk--64mYFwG.js +0 -22
- package/dist/db-browse-BJj19qUq-Ch52lRw1.js +0 -22
- package/dist/db-database-CyCrPzu--BS4xKzSk.js +0 -22
- package/dist/db-fetch-CJMHzQp5-DWPRnfqi.js +0 -22
- package/dist/db-schema-C4gtYXvd-BYoJR6p0.js +0 -22
- package/dist/db-table-DifKATf6-KRgPlhpP.js +0 -22
- package/dist/db-table-view-CcF1plGQ-GWm0F_aK.js +0 -22
- package/dist/default-extension-datatype-C7jbGM5d-D9ZsnSId.js +0 -22
- package/dist/deploy-Dr6jEhZU-DzOC-qkj.js +0 -23
- package/dist/detect-DkQik2ep-rz0pMmXV.js +0 -22
- package/dist/divider-Bhqt1kvt-BUTkZSiz.js +0 -21
- package/dist/document-datatype-CmWsp5e8-DV_4gTNI.js +0 -21
- package/dist/duplicate-Mtq886XD-BDwFp0vh.js +0 -22
- package/dist/duration-Dfp9ox2I-O6SvCaQi.js +0 -22
- package/dist/duration-date-based-datatype-ZMMDq_rT-CDt5lyG7.js +0 -22
- package/dist/duration-time-based-datatype-DWj4ALsB-DsmwU90P.js +0 -22
- package/dist/edit-Bg040TR4-b6Iis--R.js +0 -21
- package/dist/education-CsB0t7AG-DPdzrZoU.js +0 -22
- package/dist/error-panel-BCvYjM5m-DkUiTXXy.js +0 -22
- package/dist/execute-CDtz4PKy-DnZ_VzSj.js +0 -22
- package/dist/execute-all-JZlJ6VtK-BRWL6yGw.js +0 -22
- package/dist/expand-panel-C0-YqxWN-BHfaacQk.js +0 -22
- package/dist/extension-DV2OG2b--DnDIZgNC.js +0 -22
- package/dist/extension-community-BL7uY2lh-CLmC7cDx.js +0 -22
- package/dist/external-link-D6c_uzZp-DzmmvCj-.js +0 -22
- package/dist/eye-DIQBS75n-Dht8rqDh.js +0 -25
- package/dist/feedback-CSzO39Ck-_5Kb5BA8.js +0 -22
- package/dist/file-D-fzxVWf-DuSqjOtW.js +0 -22
- package/dist/file-export-Cm5xiHIP-C69wFruS.js +0 -22
- package/dist/file-text-DCIkmzWQ-BFimj56Y.js +0 -21
- package/dist/filter-BCzsHR5o-CwUoswlw.js +0 -21
- package/dist/flow-variable-default-D8YRzPWl-CpGKqThq.js +0 -30
- package/dist/flow-variable-in-BiO5ppkU-DPCxQ3G3.js +0 -30
- package/dist/flow-variable-in-out-v434yDUG-CAUwA7jG.js +0 -38
- package/dist/flow-variable-out-BuATVHTL-pBP1Cpsr.js +0 -30
- package/dist/folder-move-6L5NfoIs-CCvXkj23.js +0 -22
- package/dist/folder-plus-0Z-aPAxX-CRBuYU-L.js +0 -22
- package/dist/folder-search-DDOYg0f6-ZAg3M7SD.js +0 -22
- package/dist/folder-workflow-hjaE8p-i-D-fV75pH.js +0 -22
- package/dist/folder-xz8Bw1k6-BA8_1QZQ.js +0 -22
- package/dist/forum-CunE8Bpo-C-wlrh9D.js +0 -21
- package/dist/function-catalog-CRXmv7AG-DQaA-Tmr.js +0 -22
- package/dist/geo-datatype-CTQgQTql-3afSSNXf.js +0 -26
- package/dist/helm-datatype-XIlHXQBP-CfAw1o3q.js +0 -22
- package/dist/hide-eye-BrIKmBWt-C4ZB3p0E.js +0 -22
- package/dist/home-CW06ROg3-DSEiuG9b.js +0 -22
- package/dist/image-png-datatype-CtnGTQlX-BTrmagz9.js +0 -22
- package/dist/image-svg-datatype-DgySAOGM-D8sMKjGu.js +0 -22
- package/dist/import-Bjz9KZM--Czwljnbl.js +0 -22
- package/dist/import-table-BaqmTPnF-KBTO9jUb.js +0 -22
- package/dist/info-C8GezBIf-Dch65mSh.js +0 -22
- package/dist/interval-CzQaVMPH-BlShDDyv.js +0 -22
- package/dist/italic-B6SY7x6N-nPHEULCb.js +0 -22
- package/dist/json-datatype-DgHr_Q8U-D9JVcPcg.js +0 -22
- package/dist/key-9hybjORk-Ddo06Uhm.js +0 -22
- package/dist/labeling-datatype-CGG_DguN-zVFM9bm1.js +0 -25
- package/dist/layout-editor-At6vQ3aU-_vACjtdi.js +0 -21
- package/dist/left-aligned-C90MrNJd-BycLKNPp.js +0 -22
- package/dist/like-BwC1fMTh-BnWdstjv.js +0 -21
- package/dist/limit-D84DMtQW-BQKtYFEX.js +0 -22
- package/dist/linear-notation-molecule-CepA_vEp-B6rduvb7.js +0 -22
- package/dist/link-DH0XmQMp-DHKPqpFQ.js +0 -22
- package/dist/linked-component-BOb5aj87-VJSVKxb2.js +0 -22
- package/dist/linked-metanode-ojS3JQJp-DsDbWgKM.js +0 -22
- package/dist/list-CQmzxqnp-SMwX3o5g.js +0 -22
- package/dist/list-bulletpoint-BLPnukaY-B-dI0B3j.js +0 -22
- package/dist/list-number-C47JfmdB-CnC1kdmb.js +0 -22
- package/dist/list-thumbs-F5ICnK4Z-B4s8HN9S.js +0 -22
- package/dist/local-filesystem-fyrwOsG5-2QfXKxG5.js +0 -22
- package/dist/lock-B9qCq8wW-W-EScG8_.js +0 -22
- package/dist/login-DGaxAy8E-DplCH1d8.js +0 -22
- package/dist/menu-BSS_QnZi-BOELQ3Yk.js +0 -22
- package/dist/message-datatype-Ds55YGMQ-jYlTIlmg.js +0 -22
- package/dist/metanode-BOoscDpe-XlNaz2vg.js +0 -22
- package/dist/microscope-CPwlykKH-DEDMkyNL.js +0 -22
- package/dist/mini-map-DKez_1T0-Cahzhl89.js +0 -20
- package/dist/minimize-dialog-CsKInFjQ-BBJxcvtc.js +0 -22
- package/dist/minimize-side-panel-DOe27uOi-B1eGxGoW.js +0 -22
- package/dist/minus-CUOnFK-_-BayAD_Oj.js +0 -21
- package/dist/model-pmml-datatype-kXlL8AWg-BsnoLBbB.js +0 -22
- package/dist/molecule-CT71Yhf1-D1GYGR9u.js +0 -22
- package/dist/more-actions-r1Ai1cv8-B0GjqFNY.js +0 -21
- package/dist/node-stack-B2-NOdn1-D2FRePNH.js +0 -22
- package/dist/nodes-align-horiz-BNN1SQyE-CyLZoBce.js +0 -21
- package/dist/nodes-align-vert-JG8gmWk5-BgLUgNvo.js +0 -21
- package/dist/number-double-datatype-B6nc4th6-ad3ikMHG.js +0 -21
- package/dist/number-double-vector-datatype-D3rzzxjM-BfuXokZI.js +0 -22
- package/dist/number-integer-datatype-BWoQkZ03-B8Qu4a38.js +0 -22
- package/dist/open-in-new-window-BAU_-IMl-BntsNAiy.js +0 -22
- package/dist/pan-mode-CGVZU5HB-D1D1fDOx.js +0 -22
- package/dist/parameter-D3NI1oyc-DWVtzeJm.js +0 -22
- package/dist/path-datatype-BD3D-7dL-C0z756yo.js +0 -22
- package/dist/path-separator-DRnUilGA-CyCV3Plv.js +0 -22
- package/dist/pending-changes-BvFdyKn8-BSAk8Anu.js +0 -21
- package/dist/pin-B6vKBZDp-C_Evg0RJ.js +0 -22
- package/dist/placeholder-CIq-OFkj-CmtHyf9F.js +0 -21
- package/dist/plus-BGcbvgG4-VxJkt5K_.js +0 -21
- package/dist/python-Bn3ET_9Z-4xs10DVx.js +0 -22
- package/dist/quote-BhPMewQl-BB7YZbnU.js +0 -22
- package/dist/random-seed-BmLMj_2x-DINXvCyu.js +0 -22
- package/dist/re-execution-CPa8UUdU-DSh5IBWv.js +0 -22
- package/dist/redo-BjctXrq6-CXEF8-NI.js +0 -22
- package/dist/regex-CErlWJQW-DA_ql2aG.js +0 -22
- package/dist/reload-CDm_DDdP-Fd0ZpQlL.js +0 -22
- package/dist/rename-Cyk_xng4-CnXeJQJm.js +0 -21
- package/dist/replace-9aOLtKuD-CxVqwqlW.js +0 -22
- package/dist/reset-all-Buf5y-HV-yqQogBSP.js +0 -22
- package/dist/resume-execution-CRqaKZqz-DDEun7FX.js +0 -22
- package/dist/right-aligned-2BkZ58o--DNU12Qz-.js +0 -22
- package/dist/rocket-Bs46VoUh-CdcoaCLE.js +0 -22
- package/dist/save-B7DzWjxS-DEhl2_Ha.js +0 -22
- package/dist/save-as-CTnCvHfQ-DHo_klKr.js +0 -22
- package/dist/schedule-DuSqromp-CYmkgvHM.js +0 -22
- package/dist/search-gykfARpE-BYJfIOtQ.js +0 -21
- package/dist/secret-store-_ZlpQRjr-BvlKXNSj.js +0 -22
- package/dist/selected-cancel-CS3Gep56-C9GEWbnN.js +0 -22
- package/dist/selected-execution-BJxjtKXq-CtXf3XQa.js +0 -22
- package/dist/selected-reset-SMx6XDk5-BPXGkgvp.js +0 -22
- package/dist/send-G2BlBsxu-wWPrZT8j.js +0 -22
- package/dist/server-rack-workflow-CBhKbyGY-ZH_KKpmd.js +0 -22
- package/dist/service-9hAt2V0T-Duty0VTm.js +0 -22
- package/dist/settings-BLMTAq-1-Cndtz_qY.js +0 -25
- package/dist/share-BIrWLTtn-CuejjOqB.js +0 -21
- package/dist/shortcuts-fbNZWoSf-qAlitit9.js +0 -21
- package/dist/sort-ascending-DNyV4Drg-Diy2exe3.js +0 -22
- package/dist/sort-descending-BdIGPn-9-N6lsqMWz.js +0 -22
- package/dist/space-fMpb-o4--Dtc6msQ9.js +0 -22
- package/dist/space-local-D4kTqwrB-Bw55rxSt.js +0 -22
- package/dist/space-private-D06CTwvE-BOVgGaU-.js +0 -22
- package/dist/src/renderers/multiSelectListBoxRenderer.d.ts +0 -2
- package/dist/src/renderers/singleSelectListBoxRenderer.d.ts +0 -2
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +0 -4
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +0 -4
- package/dist/stepwise-execution-C1mAO3z_-C4K_30H5.js +0 -22
- package/dist/stop-Cgmy2iPY-rhKvsxmC.js +0 -21
- package/dist/strikethrough-DG4Ejxqk-Dp8pX2a2.js +0 -22
- package/dist/string-datatype-CHI_qvxE-dO6YPMGs.js +0 -22
- package/dist/string-vector-datatype-DhgtZI8f-DaF6iUbK.js +0 -22
- package/dist/subgraph-datatype-BHBSS1-Z-DooE5glI.js +0 -22
- package/dist/table-Pffb9Oig-Qm0Lnd2q.js +0 -22
- package/dist/table-statistics-y-P6EXGX-Dr_wYI1l.js +0 -22
- package/dist/tag-_fZiuJaC-1MYJ4Isf.js +0 -26
- package/dist/team-CtZLwOou-B7uTVyAB.js +0 -21
- package/dist/template-gallery-BtXi4GHd-nN0iWvUH.js +0 -22
- package/dist/term-datatype-CRrmVXQx-Dv677Gvq.js +0 -22
- package/dist/test-tube-BsB8mbus-Bue-zpxe.js +0 -22
- package/dist/text-DFu-L62Z-BTEFdI1o.js +0 -22
- package/dist/textstyles-j0GQtKYE-Bi-9sFdi.js +0 -21
- package/dist/thumbs-down-CiozrdIW-D_MYB8bp.js +0 -21
- package/dist/thumbs-up-E4uRtjhi-CYG6GS0_.js +0 -21
- package/dist/time-DU80J5X8-BcsmMFZA.js +0 -22
- package/dist/time-datatype-CBnmuYLa-DW-GinPM.js +0 -22
- package/dist/to-bottom-B8wat1Dk-dZIr5jgK.js +0 -22
- package/dist/to-top-CCAfU4xz-B_h4WxQ_.js +0 -22
- package/dist/tool-datatype-l6cMJHHd-jJ0aD1sj.js +0 -22
- package/dist/trash-Dq5FHwNO-DLPPdw7h.js +0 -22
- package/dist/trigger-Qns9VYQG-DGnl6pL2.js +0 -21
- package/dist/underline-CDZcVZHB-CbY7bD3t.js +0 -22
- package/dist/undo-CnghWcXK-Ccw8iISP.js +0 -22
- package/dist/unknown-datatype-BEY7muOy-I-9pRgOD.js +0 -22
- package/dist/unlink-CL0kTZX2-DRLTsg6g.js +0 -22
- package/dist/update-file-5lTfm97G-mHppEON3.js +0 -22
- package/dist/uri-datatype-CJhmCZiq-CtfSafgW.js +0 -22
- package/dist/usage-827uIQyn-DIKbEX0l.js +0 -22
- package/dist/user-DTq28OjK-rkiwu_vh.js +0 -22
- package/dist/validate-CD0_eO0m-8oVXNF5a.js +0 -22
- package/dist/variable-boolean-BzyG4BGV-1sVo2OvZ.js +0 -30
- package/dist/variable-collection-boolean-nWAd6a7R-C4VwqvmK.js +0 -30
- package/dist/variable-collection-double-h0sMrPKC-B52qNpRH.js +0 -30
- package/dist/variable-collection-integer-BZEs4wch-DjbV1XdW.js +0 -30
- package/dist/variable-collection-string-BPIuxyHK-DAChnEef.js +0 -30
- package/dist/variable-conda-environment-DZ5kqmc5-D7ZHN-07.js +0 -30
- package/dist/variable-credential-D32ztDmY-BhRWTYKa.js +0 -30
- package/dist/variable-integer-CtoE3pq3-CImcxmZ5.js +0 -30
- package/dist/variable-number-double-D5CGjCM8-BeldYUcA.js +0 -30
- package/dist/variable-path-Dyuv7RmO-CJLnCIcu.js +0 -30
- package/dist/variable-string-JWu8Gafe-CtGVUodS.js +0 -30
- package/dist/variable-unknown-DYSdcnPs-CI1AHhG1.js +0 -30
- package/dist/version-CSTTEeam-BTvqqSmX.js +0 -22
- package/dist/view-cards-DS0Cpf95-DkVzMMCo.js +0 -21
- package/dist/warning-CJC1Oij--zDYjDnEV.js +0 -22
- package/dist/workflow-n50o8jCH-BBOhCXJw.js +0 -21
- package/dist/x-close-D-oEO9N9-Cm-R8R13.js +0 -22
- package/dist/xml-datatype-BlUTXDpw-DsXvhEwI.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,44 @@
|
|
|
1
|
-
# @knime/
|
|
1
|
+
# @knime/jsonforms
|
|
2
|
+
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Move `@knime/jsonforms` into knime-designsystem (KDS-907). Its KNIME Design System
|
|
8
|
+
dependencies are now local `workspace:^` packages, so the package no longer
|
|
9
|
+
depends on `@knime/components` or `@knime/styles`.
|
|
10
|
+
|
|
11
|
+
BREAKING CHANGES:
|
|
12
|
+
|
|
13
|
+
- The `singleSelectListBox` and `multiSelectListBox` renderers have been removed.
|
|
14
|
+
Consumers relying on those formats should migrate to the `Dropdown` /
|
|
15
|
+
`MultiSelectDropdown` renderers.
|
|
16
|
+
- `@vueuse/core` is now a peer dependency (it replaces the internal `lodash-es`
|
|
17
|
+
usage). Consumers must provide `@vueuse/core`; KDS consumers already do via
|
|
18
|
+
`@knime/kds-components`.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- b8baf16: Bump `@jsonforms/core`, `@jsonforms/vue` and `@jsonforms/vue-vanilla` from `3.4.0`
|
|
23
|
+
to `3.8.0`. No changes to the public API of `@knime/jsonforms`.
|
|
24
|
+
- 53e5a7a: Bump `ajv` from `8.18.0` to `8.20.0`, which includes a security fix for prototype
|
|
25
|
+
pollution via the `format` keyword using `$data` references.
|
|
26
|
+
- eece880: Remove the `uuid` dependency from `@knime/jsonforms`. Internal validation
|
|
27
|
+
registration ids are now generated with a simple per-instance counter instead of
|
|
28
|
+
`uuidv4`, since the id is only used as a key into a local record and never leaves
|
|
29
|
+
the closure.
|
|
30
|
+
- db75908: Remove the unused `@jsonforms/vue-vanilla` dependency. It was never imported by
|
|
31
|
+
`@knime/jsonforms` (only declared and marked as a Rollup external).
|
|
32
|
+
- Updated dependencies [83dcf9c]
|
|
33
|
+
- Updated dependencies [d6c8a53]
|
|
34
|
+
- Updated dependencies [98f37bd]
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
- Updated dependencies [b5c0b76]
|
|
37
|
+
- Updated dependencies [abe3709]
|
|
38
|
+
- Updated dependencies [b5c0b76]
|
|
39
|
+
- @knime/kds-components@2.1.0
|
|
40
|
+
- @knime/utils@1.12.1
|
|
41
|
+
- @knime/kds-rich-text-editor@2.1.0
|
|
2
42
|
|
|
3
43
|
## 2.1.1
|
|
4
44
|
|
package/README.md
CHANGED
|
@@ -1,85 +1,26 @@
|
|
|
1
1
|
#  KNIME JSONForms integration
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
`@knime/jsonforms` is the KNIME [JSONForms](https://jsonforms.io/)
|
|
4
|
+
integration, built on top of [`@jsonforms/vue`](https://github.com/eclipsesource/jsonforms).
|
|
5
|
+
It renders a settings dialog from a JSON `schema` + `uischema` + `data` triple.
|
|
6
|
+
It powers node dialogs and other schema-driven forms across our apps.
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
npm install @knime/jsonforms
|
|
12
|
-
```
|
|
8
|
+
The package ships a **comprehensive set of default renderers built on KNIME Design System components**
|
|
9
|
+
(text, number, dropdown, combo box, radio, value switch, twinlist, date/time, rich text, and more, plus
|
|
10
|
+
the standard layouts). For many forms these defaults are all you need. Consumers can also **extend the
|
|
11
|
+
set with their own custom renderers** — this is how [`knime-core-ui`] adds node-dialog widgets (array
|
|
12
|
+
layouts, file choosers, credentials, flow variables, …).
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
```javascript
|
|
19
|
-
import { JsonFormsDialog } from "@knime/jsonforms";
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
It requires renderers as property, which can be constructed using a variety of defaults.
|
|
23
|
-
|
|
24
|
-
Those default components are divided into layouts and controls:
|
|
25
|
-
|
|
26
|
-
```javascript
|
|
27
|
-
import { controls, layouts } from "@jsonforms/testing";
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Use the `toRenderers` method to construct the final list of renderers once the chosen controls/layouts are modified in the desired way. A modification might entail replacing the tester by which this renderer is used by jsonforms or wrapping a control using higher order vue components.
|
|
31
|
-
|
|
32
|
-
Combined example:
|
|
33
|
-
|
|
34
|
-
```vue
|
|
35
|
-
<script setup lang="ts">
|
|
36
|
-
import {
|
|
37
|
-
controls,
|
|
38
|
-
layouts,
|
|
39
|
-
JsonFormsDialog
|
|
40
|
-
toRenderers
|
|
41
|
-
} from "@knime/jsonforms"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
const renderers = toRenderers([/**
|
|
45
|
-
Add newly constructed renderers here
|
|
46
|
-
*/], [
|
|
47
|
-
controls.dropdownRenderer,
|
|
48
|
-
controls.textRenderer
|
|
49
|
-
], [
|
|
50
|
-
layouts.sectionRenderer
|
|
51
|
-
])
|
|
52
|
-
</script>
|
|
53
|
-
<template>
|
|
54
|
-
<JsonFormsDialog :data="..." ... :renderers="renderers" />
|
|
55
|
-
</template>
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Testing
|
|
59
|
-
|
|
60
|
-
Types and utility methods for testing are made available in the following way:
|
|
61
|
-
|
|
62
|
-
```javascript
|
|
63
|
-
import * from "@knime/jsonforms/testing"
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Development
|
|
16
|
+
For installation, usage examples, and how to extend the package with custom renderers, see the
|
|
17
|
+
**Product Features/JSONForms** page in the design-system Storybook (source: [stories/JSONForms.mdx]).
|
|
67
18
|
|
|
68
|
-
|
|
19
|
+
## Development in Storybook
|
|
69
20
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Install dependencies
|
|
75
|
-
|
|
76
|
-
```sh
|
|
77
|
-
pnpm install
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
and then use the following commands. For detailed explanations see [Vue CLI docs]:
|
|
81
|
-
|
|
82
|
-
## Demo application with mocks
|
|
21
|
+
The JSONForms mocks are showcased as Storybook stories under
|
|
22
|
+
`Product Features/JSONForms` (one story per mock, in `stories/`). Run the
|
|
23
|
+
design-system Storybook to browse and develop them:
|
|
83
24
|
|
|
84
25
|
```sh
|
|
85
26
|
pnpm dev
|
|
@@ -108,29 +49,8 @@ Note: noisy Vue warnings are suppressed if you set the environment flag `SUPPRES
|
|
|
108
49
|
and they are also suppressed when running with `CI=true` which is set by default in most pipeline
|
|
109
50
|
environments.
|
|
110
51
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
```sh
|
|
116
|
-
pnpm audit
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## Building
|
|
120
|
-
|
|
121
|
-
To build the package, use the following command:
|
|
122
|
-
|
|
123
|
-
```sh
|
|
124
|
-
pnpm build
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
# Join the Community!
|
|
128
|
-
|
|
129
|
-
- [KNIME Forum](https://forum.knime.com/)
|
|
130
|
-
|
|
131
|
-
[Vue]: https://vuejs.org/
|
|
132
|
-
[node]: https://knime-com.atlassian.net/wiki/spaces/SPECS/pages/905281540/Node.js+Installation
|
|
133
|
-
[Vue CLI docs]: https://cli.vuejs.org/guide/
|
|
134
|
-
[Vue library]: https://cli.vuejs.org/guide/build-targets.html#library
|
|
52
|
+
[`@jsonforms/vue`]: https://github.com/eclipsesource/jsonforms
|
|
53
|
+
[`knime-core-ui`]: https://bitbucket.org/KNIME/knime-core-ui
|
|
54
|
+
[stories/JSONForms.mdx]: stories/JSONForms.mdx
|
|
135
55
|
[LCOV]: https://github.com/linux-test-project/lcov
|
|
136
56
|
[Clover]: http://openclover.org/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as p, createBlock as t, mergeProps as r, unref as a } from "vue";
|
|
2
2
|
import { o as l } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { _ as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.js";
|
|
4
4
|
const d = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { defineComponent as a, ref as s, openBlock as d, createElementBlock as u, createElementVNode as c, createVNode as i, unref as b, renderSlot as r } from "vue";
|
|
2
|
+
import { KdsCheckbox as v } from "@knime/kds-components";
|
|
3
|
+
import { _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
4
|
+
const f = { class: "checkbox-container" }, x = /* @__PURE__ */ a({
|
|
4
5
|
__name: "CheckboxControl",
|
|
5
6
|
props: {
|
|
6
7
|
control: {},
|
|
@@ -29,12 +30,12 @@ const f = { class: "checkbox-container" }, x = /* @__PURE__ */ r({
|
|
|
29
30
|
"sub-text": e.subText,
|
|
30
31
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => e.changeValue(l === !0))
|
|
31
32
|
}, null, 8, ["disabled", "model-value", "label", "error", "sub-text"]),
|
|
32
|
-
|
|
33
|
+
r(n.$slots, "icon", {}, void 0, !0)
|
|
33
34
|
]),
|
|
34
|
-
|
|
35
|
+
r(n.$slots, "buttons", { hover: t.value }, void 0, !0)
|
|
35
36
|
], 32));
|
|
36
37
|
}
|
|
37
|
-
}),
|
|
38
|
+
}), C = /* @__PURE__ */ m(x, [["__scopeId", "data-v-4f590a2d"]]);
|
|
38
39
|
export {
|
|
39
|
-
|
|
40
|
+
C as default
|
|
40
41
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, computed as l, ref as r, toRef as c, onMounted as i, openBlock as d, createBlock as m, unref as p, createCommentVNode as b } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { KdsCheckboxGroup as f } from "@knime/kds-components";
|
|
3
3
|
import { o as h } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as v } from "./usePossibleValues-
|
|
4
|
+
import { u as v } from "./usePossibleValues-CXVLf00v.js";
|
|
5
5
|
const F = /* @__PURE__ */ u({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const c = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as o, openBlock as a, createBlock as l, unref as t } from "vue";
|
|
2
|
+
import { KdsColorInput as n } from "@knime/kds-components";
|
|
3
|
+
const c = /* @__PURE__ */ o({
|
|
4
4
|
__name: "ColorControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -13,7 +13,7 @@ const c = /* @__PURE__ */ a({
|
|
|
13
13
|
labelForId: {}
|
|
14
14
|
},
|
|
15
15
|
setup(e) {
|
|
16
|
-
return (r, d) => (
|
|
16
|
+
return (r, d) => (a(), l(t(n), {
|
|
17
17
|
id: e.labelForId,
|
|
18
18
|
ariaLabel: e.control.label,
|
|
19
19
|
"model-value": e.control.data ?? "",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as e, createElementBlock as o, createVNode as y, unref as p, computed as s, normalizeStyle as m, createBlock as d, Fragment as f, renderList as k } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { KdsEmptyState as w } from "@knime/kds-components";
|
|
3
|
+
import { _ as v, u as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
3
4
|
const P = { class: "empty-state-wrapper" }, $ = /* @__PURE__ */ u({
|
|
4
5
|
__name: "ColorPreviewEmptyState",
|
|
5
6
|
setup(r) {
|
|
@@ -55,7 +56,7 @@ const P = { class: "empty-state-wrapper" }, $ = /* @__PURE__ */ u({
|
|
|
55
56
|
}))
|
|
56
57
|
]));
|
|
57
58
|
}
|
|
58
|
-
}), G = /* @__PURE__ */ v(E, [["__scopeId", "data-v-ad83046f"]]), I = { class: "color-preview" },
|
|
59
|
+
}), G = /* @__PURE__ */ v(E, [["__scopeId", "data-v-ad83046f"]]), I = { class: "color-preview" }, j = /* @__PURE__ */ u({
|
|
59
60
|
__name: "ColorPreviewControl",
|
|
60
61
|
props: {
|
|
61
62
|
control: {},
|
|
@@ -85,5 +86,5 @@ const P = { class: "empty-state-wrapper" }, $ = /* @__PURE__ */ u({
|
|
|
85
86
|
}
|
|
86
87
|
});
|
|
87
88
|
export {
|
|
88
|
-
|
|
89
|
+
j as default
|
|
89
90
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as r, toRef as
|
|
2
|
-
import {
|
|
3
|
-
import { u as v } from "./usePossibleValues-
|
|
1
|
+
import { defineComponent as r, toRef as d, computed as a, openBlock as c, createBlock as b, unref as u } from "vue";
|
|
2
|
+
import { KdsMultiSelectDropdown as m } from "@knime/kds-components";
|
|
3
|
+
import { u as v } from "./usePossibleValues-CXVLf00v.js";
|
|
4
4
|
const w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "ComboBoxControl",
|
|
6
6
|
props: {
|
|
@@ -14,20 +14,20 @@ const w = /* @__PURE__ */ r({
|
|
|
14
14
|
labelForId: {}
|
|
15
15
|
},
|
|
16
16
|
setup(e) {
|
|
17
|
-
const l = e, { possibleValues: o } = v(
|
|
17
|
+
const l = e, { possibleValues: o } = v(d(l, "control")), t = a(
|
|
18
18
|
() => o.value === null || o.value.length === 0
|
|
19
|
-
),
|
|
19
|
+
), n = a(
|
|
20
20
|
() => l.control.uischema.providedOptions?.includes("possibleValues") || l.control.uischema.options?.possibleValues !== void 0
|
|
21
21
|
), i = a(
|
|
22
|
-
() => l.disabled || t.value &&
|
|
22
|
+
() => l.disabled || t.value && n.value
|
|
23
23
|
);
|
|
24
|
-
return (p, V) => (
|
|
24
|
+
return (p, V) => (c(), b(u(m), {
|
|
25
25
|
id: e.labelForId,
|
|
26
26
|
"model-value": e.control.data,
|
|
27
|
-
"allow-new-values": !
|
|
27
|
+
"allow-new-values": !n.value,
|
|
28
28
|
ariaLabel: e.control.label,
|
|
29
29
|
disabled: i.value,
|
|
30
|
-
"possible-values": t.value ? e.control.data.map((
|
|
30
|
+
"possible-values": t.value ? e.control.data.map((s) => ({ id: s, text: s })) : u(o),
|
|
31
31
|
error: e.error,
|
|
32
32
|
"sub-text": e.subText,
|
|
33
33
|
"onUpdate:modelValue": e.changeValue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as l, computed as i, openBlock as d, createBlock as
|
|
1
|
+
import { defineComponent as l, computed as i, openBlock as d, createBlock as u, unref as c } from "vue";
|
|
2
2
|
import { T as m } from "./index-_VUHzju5.js";
|
|
3
|
-
import {
|
|
3
|
+
import { KdsDateInput as s } from "@knime/kds-components";
|
|
4
4
|
import { p } from "./plainDateTimeUtils-BZSKqp9i.js";
|
|
5
5
|
const y = /* @__PURE__ */ l({
|
|
6
6
|
__name: "DateControl",
|
|
@@ -15,7 +15,7 @@ const y = /* @__PURE__ */ l({
|
|
|
15
15
|
labelForId: {}
|
|
16
16
|
},
|
|
17
17
|
setup(t) {
|
|
18
|
-
const
|
|
18
|
+
const o = t, a = (e) => {
|
|
19
19
|
if (!e)
|
|
20
20
|
return null;
|
|
21
21
|
try {
|
|
@@ -24,13 +24,13 @@ const y = /* @__PURE__ */ l({
|
|
|
24
24
|
return p.fromString(e).date;
|
|
25
25
|
}
|
|
26
26
|
}, r = i(
|
|
27
|
-
() => o
|
|
27
|
+
() => a(o.control.data)
|
|
28
28
|
), n = (e) => {
|
|
29
|
-
|
|
29
|
+
o.changeValue(e?.toString() ?? "");
|
|
30
30
|
};
|
|
31
|
-
return (e, b) => (d(), c(
|
|
31
|
+
return (e, b) => (d(), u(c(s), {
|
|
32
32
|
id: t.labelForId,
|
|
33
|
-
ariaLabel:
|
|
33
|
+
ariaLabel: o.control.label,
|
|
34
34
|
"model-value": r.value,
|
|
35
35
|
disabled: t.disabled,
|
|
36
36
|
error: t.error,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { T
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent as M, computed as l, ref as P, openBlock as v, createBlock as x, unref as h } from "vue";
|
|
2
|
+
import { T } from "./index-_VUHzju5.js";
|
|
3
|
+
import { KdsDateTimeInput as L, KdsDateInput as w } from "@knime/kds-components";
|
|
4
4
|
import { p as n } from "./plainDateTimeUtils-BZSKqp9i.js";
|
|
5
|
-
const
|
|
5
|
+
const j = /* @__PURE__ */ M({
|
|
6
6
|
__name: "DateTimeControl",
|
|
7
7
|
props: {
|
|
8
8
|
control: {},
|
|
@@ -19,47 +19,47 @@ const N = /* @__PURE__ */ P({
|
|
|
19
19
|
() => n.getMaxGranularity(o.value, {
|
|
20
20
|
showMilliseconds: !1
|
|
21
21
|
})
|
|
22
|
-
),
|
|
22
|
+
), s = (e) => {
|
|
23
23
|
if (typeof e != "string" || e === "")
|
|
24
24
|
return null;
|
|
25
25
|
try {
|
|
26
|
-
return
|
|
26
|
+
return T.PlainDate.from(e);
|
|
27
27
|
} catch {
|
|
28
28
|
return n.fromString(e).date;
|
|
29
29
|
}
|
|
30
30
|
}, f = l(
|
|
31
|
-
() =>
|
|
31
|
+
() => s(o.value?.minimum)
|
|
32
32
|
), g = l(
|
|
33
|
-
() =>
|
|
34
|
-
), d =
|
|
33
|
+
() => s(o.value?.maximum)
|
|
34
|
+
), d = P(
|
|
35
35
|
n.detectGranularity(t.control.data)
|
|
36
36
|
), V = l(() => {
|
|
37
37
|
const { date: e, time: u } = n.fromString(t.control.data);
|
|
38
|
-
return e === null ? null : e.toPlainDateTime(u ??
|
|
38
|
+
return e === null ? null : e.toPlainDateTime(u ?? T.PlainTime.from("00:00:00"));
|
|
39
39
|
}), U = l(
|
|
40
40
|
() => n.fromString(t.control.data).date
|
|
41
41
|
);
|
|
42
42
|
let r, i, m = !1;
|
|
43
43
|
const S = () => {
|
|
44
44
|
m = !1;
|
|
45
|
-
const e = i ?? d.value, u = r !== void 0, B = i !== void 0,
|
|
45
|
+
const e = i ?? d.value, u = r !== void 0, B = i !== void 0, c = r;
|
|
46
46
|
if (r = void 0, i = void 0, d.value = e, u) {
|
|
47
|
-
if (
|
|
47
|
+
if (c === null) {
|
|
48
48
|
t.changeValue("");
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
t.changeValue(
|
|
52
52
|
n.toString(
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
c.toPlainDate(),
|
|
54
|
+
c.toPlainTime(),
|
|
55
55
|
e
|
|
56
56
|
)
|
|
57
57
|
);
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
if (B) {
|
|
61
|
-
const { date: y, time:
|
|
62
|
-
y && t.changeValue(n.toString(y,
|
|
61
|
+
const { date: y, time: I } = n.fromString(t.control.data);
|
|
62
|
+
y && t.changeValue(n.toString(y, I, e));
|
|
63
63
|
}
|
|
64
64
|
}, b = () => {
|
|
65
65
|
m || (m = !0, queueMicrotask(S));
|
|
@@ -70,7 +70,7 @@ const N = /* @__PURE__ */ P({
|
|
|
70
70
|
}, k = (e) => {
|
|
71
71
|
t.changeValue(e === null ? "" : e.toString());
|
|
72
72
|
};
|
|
73
|
-
return (e, u) => p.value ? (v(), x(
|
|
73
|
+
return (e, u) => p.value ? (v(), x(h(L), {
|
|
74
74
|
key: 0,
|
|
75
75
|
id: a.labelForId,
|
|
76
76
|
ariaLabel: a.control.label,
|
|
@@ -84,7 +84,7 @@ const N = /* @__PURE__ */ P({
|
|
|
84
84
|
"sub-text": a.subText,
|
|
85
85
|
"onUpdate:modelValue": F,
|
|
86
86
|
"onUpdate:granularity": G
|
|
87
|
-
}, null, 8, ["id", "ariaLabel", "model-value", "min-date", "max-date", "granularity", "max-granularity", "disabled", "error", "sub-text"])) : (v(), x(
|
|
87
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "min-date", "max-date", "granularity", "max-granularity", "disabled", "error", "sub-text"])) : (v(), x(h(w), {
|
|
88
88
|
key: 1,
|
|
89
89
|
id: a.labelForId,
|
|
90
90
|
ariaLabel: a.control.label,
|
|
@@ -99,5 +99,5 @@ const N = /* @__PURE__ */ P({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
export {
|
|
102
|
-
|
|
102
|
+
j as default
|
|
103
103
|
};
|
package/dist/{DateTimeFormatPickerControl-CIInYUo6.js → DateTimeFormatPickerControl-B9gl_66T.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as s, computed as a, openBlock as u, createBlock as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { defineComponent as s, computed as a, openBlock as u, createBlock as m, unref as l } from "vue";
|
|
2
|
+
import { KdsDateTimeFormatInput as i } from "@knime/kds-components";
|
|
3
|
+
import { u as c } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
4
|
+
const v = /* @__PURE__ */ s({
|
|
4
5
|
__name: "DateTimeFormatPickerControl",
|
|
5
6
|
props: {
|
|
6
7
|
control: {},
|
|
@@ -15,13 +16,13 @@ const h = /* @__PURE__ */ s({
|
|
|
15
16
|
setup(e) {
|
|
16
17
|
const o = e, t = a(
|
|
17
18
|
() => o.control.uischema
|
|
18
|
-
),
|
|
19
|
-
return (b, f) => (u(),
|
|
19
|
+
), r = a(() => t.value.options), n = a(() => r.value?.allowedFormats), d = c(t, "dateTimeFormats", []);
|
|
20
|
+
return (b, f) => (u(), m(l(i), {
|
|
20
21
|
id: e.labelForId,
|
|
21
22
|
ariaLabel: e.control.label,
|
|
22
23
|
"model-value": o.control.data,
|
|
23
24
|
disabled: e.disabled,
|
|
24
|
-
"allowed-formats":
|
|
25
|
+
"allowed-formats": n.value,
|
|
25
26
|
"all-default-formats": l(d) ?? [],
|
|
26
27
|
error: e.error,
|
|
27
28
|
"sub-text": e.subText,
|
|
@@ -30,5 +31,5 @@ const h = /* @__PURE__ */ s({
|
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
v as default
|
|
34
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, toRef as t, openBlock as n, createBlock as r, unref as s } from "vue";
|
|
2
|
-
import { u } from "./usePossibleValues-
|
|
3
|
-
import { _ as d } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u } from "./usePossibleValues-CXVLf00v.js";
|
|
3
|
+
import { _ as d } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js";
|
|
4
4
|
const p = /* @__PURE__ */ l({
|
|
5
5
|
__name: "DropdownControl",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, computed as e, openBlock as p, createBlock as m, mergeProps as h } from "vue";
|
|
2
|
-
import { R as v } from "./ResourceControlBase-
|
|
2
|
+
import { R as v } from "./ResourceControlBase-CX97xRiy.js";
|
|
3
3
|
const g = /* @__PURE__ */ d({
|
|
4
4
|
__name: "ExecutorCoresControl",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, computed as o, openBlock as i, createBlock as p, mergeProps as d } from "vue";
|
|
2
|
-
import { R as m } from "./ResourceControlBase-
|
|
2
|
+
import { R as m } from "./ResourceControlBase-CX97xRiy.js";
|
|
3
3
|
const x = /* @__PURE__ */ c({
|
|
4
4
|
__name: "ExecutorMemoryControl",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as b, ref as s, computed as o, openBlock as h, createElementBlock as v, createVNode as y, unref as F, createElementVNode as r, toDisplayString as _ } from "vue";
|
|
2
|
+
import { KdsButton as g } from "@knime/kds-components";
|
|
3
|
+
import { _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
4
|
+
const S = { class: "wrapper" }, k = { class: "filename" }, x = ["id", "aria-label", "accept", "multiple", "disabled"], B = /* @__PURE__ */ b({
|
|
5
|
+
inheritAttrs: !1,
|
|
6
|
+
__name: "FileUploadControl",
|
|
7
|
+
props: {
|
|
8
|
+
control: {},
|
|
9
|
+
handleChange: { type: Function },
|
|
10
|
+
changeValue: { type: Function },
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
error: { type: Boolean },
|
|
13
|
+
subText: {},
|
|
14
|
+
onRegisterValidation: { type: Function },
|
|
15
|
+
labelForId: {}
|
|
16
|
+
},
|
|
17
|
+
setup(e) {
|
|
18
|
+
const l = e, a = s(l.control.data?.slice()), d = o(
|
|
19
|
+
() => l.control.uischema.options?.accept ?? "*"
|
|
20
|
+
), i = o(
|
|
21
|
+
() => l.control.uischema.options?.multiple ?? !1
|
|
22
|
+
), c = s(null), u = o(() => a.value?.map?.(({ name: t }) => t).join(", ") || "No file selected"), p = o(() => `Select file${i.value ? "s" : ""}`), f = () => {
|
|
23
|
+
c.value?.click();
|
|
24
|
+
}, m = (t) => {
|
|
25
|
+
const n = t.target;
|
|
26
|
+
n.files && (a.value = Array.from(n.files), l.handleChange(l.control.path, Array.from(a.value)));
|
|
27
|
+
};
|
|
28
|
+
return (t, n) => (h(), v("div", S, [
|
|
29
|
+
y(F(g), {
|
|
30
|
+
class: "file-select-button",
|
|
31
|
+
label: p.value,
|
|
32
|
+
"leading-icon": "search",
|
|
33
|
+
variant: "outlined",
|
|
34
|
+
disabled: e.disabled,
|
|
35
|
+
size: "small",
|
|
36
|
+
onClick: f
|
|
37
|
+
}, null, 8, ["label", "disabled"]),
|
|
38
|
+
r("span", k, _(u.value), 1),
|
|
39
|
+
r("input", {
|
|
40
|
+
id: e.labelForId,
|
|
41
|
+
ref_key: "fileSelector",
|
|
42
|
+
ref: c,
|
|
43
|
+
"aria-label": e.control.label,
|
|
44
|
+
type: "file",
|
|
45
|
+
accept: d.value,
|
|
46
|
+
multiple: i.value,
|
|
47
|
+
disabled: e.disabled,
|
|
48
|
+
hidden: "",
|
|
49
|
+
onChange: m
|
|
50
|
+
}, null, 40, x)
|
|
51
|
+
]));
|
|
52
|
+
}
|
|
53
|
+
}), N = /* @__PURE__ */ C(B, [["__scopeId", "data-v-37968bc6"]]);
|
|
54
|
+
export {
|
|
55
|
+
N as default
|
|
56
|
+
};
|