@knime/jsonforms 1.15.1 → 1.15.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/CHANGELOG.md +11 -0
- package/dist/AnyOfTwinlist--MdzLj12.js +22 -0
- package/dist/{Button-B9RSLVI2.js → Button-V53sPts7.js} +7 -8
- package/dist/CheckboxControl-DxmF67Fl.js +40 -0
- package/dist/Checkboxes-Dc2mE1E7.js +105 -0
- package/dist/CheckboxesControl-MTDoYv6o.js +38 -0
- package/dist/{ComboBoxControl-2r1FWcy-.js → ComboBoxControl-eTVu0ilp.js} +165 -234
- package/dist/DateControl-DsBPH7xg.js +29 -0
- package/dist/DateTimeControl-BscBtjDl.js +45 -0
- package/dist/DateTimeFormatInput-CnxjE9CW.js +373 -0
- package/dist/DateTimeFormatPickerControl-CYOPU0JI.js +40 -0
- package/dist/DateTimeFormatPickerWithTypeControl-Cw0R0IXT.js +76 -0
- package/dist/{DateTimeInput-DcwhvMD2.js → DateTimeInput-DZ-22w4C.js} +377 -421
- package/dist/{Dropdown-D49sEHBa.js → Dropdown-DYa_CZWd.js} +87 -145
- package/dist/DropdownControl-ChX3Fkhd.js +31 -0
- package/dist/HorizontalLayout-DZvUpTvS.js +25 -0
- package/dist/{InputField-C_aZPs-f.js → InputField-BFt5Zzv5.js} +36 -48
- package/dist/IntegerControl-BD7DJKmE.js +20 -0
- package/dist/IntervalControl-BvpmygdW.js +545 -0
- package/dist/LoadingDropdown-CyKWt1IO.js +72 -0
- package/dist/LoadingIcon-BqKwArbh.js +18 -0
- package/dist/ManualTwinlistControl-QbonJ1LT.js +79 -0
- package/dist/MultiSelectListBoxControl-D6JvhoAd.js +31 -0
- package/dist/MultimodeTwinlistControl-2Rotlohs.js +499 -0
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_bd2eaa56_lang-pnMOUiIt.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_2c8e8d82_lang-Cal28Ekk.js} +7 -6
- package/dist/{MultiselectListBox-CfdPbcn1.js → MultiselectListBox-DPzM2Ttt.js} +83 -102
- package/dist/NameFilter-CU8FByJ_.js +24 -0
- package/dist/NumberControl-BdT6fi25.js +20 -0
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-Bld73u64.js +50 -0
- package/dist/{NumberInput-DWTImcA_.js → NumberInput-7lO4sZya.js} +54 -72
- package/dist/OneOfDropdown-DB1aVf_c.js +33 -0
- package/dist/RadioControl-CuVOGSxA.js +24 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-CiHB1cWM.js +104 -0
- package/dist/{RichTextControl-B1mJMs1e.js → RichTextControl-GezlZvsV.js} +3777 -4126
- package/dist/SectionHeading-D5y3im2k.js +19 -0
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-1WZC8AqN.js} +5284 -5456
- package/dist/SectionLayout-Cg1g2Yo3.js +46 -0
- package/dist/SettingsSubPanel-B6gyM99J.js +5 -0
- package/dist/SettingsSubPanelLayout-DVclglW2.js +62 -0
- package/dist/SimpleButtonControl-DFTQjOZI.js +61 -0
- package/dist/SimpleTwinlistControl-DMPdJAZ9.js +25 -0
- package/dist/SingleSelectControl-BGFi0465.js +55 -0
- package/dist/SingleSelectListBoxControl-BE7-OUkf.js +232 -0
- package/dist/SortListControl-qqG_jOzq.js +377 -0
- package/dist/StyledListItem-xeXwpQpT.js +76 -0
- package/dist/TextAreaControl-CWVnSSxA.js +108 -0
- package/dist/TextControl-ByEqNjPa.js +4 -0
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CTLy3TVR.js +47 -0
- package/dist/TimeControl-C4nZHiqg.js +36 -0
- package/dist/TwinlistControlBase-D0xdGWtx.js +40 -0
- package/dist/TwinlistLoadingInfo-DbxgK_4I.js +956 -0
- package/dist/TypedStringFilter-BC23XyG4.js +26 -0
- package/dist/ValueSwitch-DZ5vEThg.js +131 -0
- package/dist/ValueSwitchControl-CE1tgpks.js +20 -0
- package/dist/VerticalLayout-1r4v5PV2.js +30 -0
- package/dist/VerticalLayoutBase-C42y1fUX.js +20 -0
- package/dist/ZonedDateTimeControl-2naMUn7s.js +69 -0
- package/dist/{_baseEach-CWap1NWh.js → _baseEach-BSevR6MA.js} +2 -2
- package/dist/{_baseIteratee-D0MXvnuf.js → _baseIteratee-1E2Ks-cN.js} +3 -3
- package/dist/{_getTag-BvpAzjaz.js → _getTag-Ccp_NogL.js} +1 -1
- package/dist/ai-general-CEjHPwV_-Ws4CQTjh.js +22 -0
- package/dist/annotation-mode-RuLeuF8s-UjD_emkZ.js +22 -0
- package/dist/arrow-down-BUkisWSu-7Ciz802S.js +22 -0
- package/dist/{arrow-dropdown-eS-nVNCv.js → arrow-dropdown-BAFsD8Su.js} +1 -7
- package/dist/{arrow-next-BmOStWql.js → arrow-next-BQVCxGb8.js} +1 -7
- package/dist/arrow-up-BD0GygxZ-CCHoDJ4b.js +22 -0
- package/dist/arrows-expand-D4HnemK6-B0MREwqc.js +22 -0
- package/dist/arrows-move-MByhxCHY-BjC6qPku.js +22 -0
- package/dist/arrows-order-DG9bLo_s-DLValluv.js +22 -0
- package/dist/audio-datatype-ChGlgbFR-C9yB9qQX.js +22 -0
- package/dist/back-knRL_H9j-B7vbidIG.js +22 -0
- package/dist/binary-object-datatype-CduhSXn7-BqOw5870.js +22 -0
- package/dist/bit-byte-vector-datatype-53diw48X-BLCCXzfE.js +22 -0
- package/dist/bold-Bpd1mjNS-B5iYJAZi.js +22 -0
- package/dist/boolean-datatype-CNMwV1-Q-CRrTrCct.js +26 -0
- package/dist/calendar-DTdbEMEZ-CbCE8k3Z.js +22 -0
- package/dist/case-sensitive-ULceA_jf-BMZr4Uv2.js +21 -0
- package/dist/center-aligned-X-iYFab0-D_5CZBTu.js +21 -0
- package/dist/checkmark-DmnbDwa7-04ebZpBP.js +22 -0
- package/dist/chevron-down-DUgPIDVj-DfDUifQz.js +22 -0
- package/dist/chevron-left-double-UgFnDa0n-DK1ekeue.js +22 -0
- package/dist/chevron-left-reHqFzYq-BpGcSX3v.js +22 -0
- package/dist/chevron-right-CqpG4jxa-C3yxzvbr.js +22 -0
- package/dist/chevron-right-double-DAZZqg3Y-CKSzeBGi.js +22 -0
- package/dist/chevron-up-CP9hfisr-q9ehBZii.js +22 -0
- package/dist/circle-error-CUKvliKO-CY2WZ8Yu.js +22 -0
- package/dist/circle-info-BHbc2Dfd-DjxVneVH.js +22 -0
- package/dist/circle-question-DJKFX8BS-DemRyGld.js +22 -0
- package/dist/circle-success-CzR_IhiJ-BxGLvnN_.js +22 -0
- package/dist/{close-0dYG2oDA.js → close-DGt8x-x_.js} +1 -7
- package/dist/cloud-download-BjycS45T-FbmeADIb.js +22 -0
- package/dist/cloud-knime-CbfH2QXI-63AvDFXk.js +22 -0
- package/dist/cloud-upload-CBM_ZPio-KKGmnW3v.js +22 -0
- package/dist/cloud-workflow-CHVooPRY-CdpSEAvP.js +22 -0
- package/dist/code-block-8dTtpw7o-Bpnzr3bG.js +22 -0
- package/dist/collection-list-datatype-BbBxWNoQ-DpFl0VV9.js +22 -0
- package/dist/collection-set-datatype-gfqJuoiV-DHqHCn-t.js +21 -0
- package/dist/color-picker-D7gvyEaI-8-cXx3az.js +22 -0
- package/dist/component-B2Ox0yYN-C6AVyKeh.js +22 -0
- package/dist/connection-p5pto_YK-Cke7KKAq.js +22 -0
- package/dist/cursor-Dwgv2ML3-qpfZBmQp.js +21 -0
- package/dist/data-app-BdXYo7bC-DoNSmz6g.js +22 -0
- package/dist/date-datatype-Cq5Mb-Rz-DIzzhN7A.js +22 -0
- package/dist/date-time-CXa0bmvO-CSPhgyei.js +22 -0
- package/dist/date-time-local-datatype-2M1INwiQ-trbdFDK0.js +22 -0
- package/dist/date-time-zoned-datatype-olQRLG4p-5F-HIRMj.js +22 -0
- package/dist/db-database-CrBCUTVq-DPR5FRmG.js +22 -0
- package/dist/default-extension-datatype-CpH9a_4m-D5plEQxZ.js +22 -0
- package/dist/deploy-CF4vcyzf-of6OID4b.js +22 -0
- package/dist/detect-DXa-xFxA-C7dMSsxW.js +22 -0
- package/dist/divider-CnnToczp-CGGtzjnC.js +21 -0
- package/dist/document-datatype-B_hkllA_-CGgMSV4R.js +21 -0
- package/dist/duration-DE7cktzt-eEHO9S8B.js +22 -0
- package/dist/duration-date-based-datatype-DvzT3E6b-CHbxSq-h.js +22 -0
- package/dist/duration-time-based-datatype-DBJN91Tu-BZjQb5c1.js +22 -0
- package/dist/edit-DupAoog2-V1o26yCi.js +21 -0
- package/dist/education-DS376EBJ-MBW9Fmv0.js +22 -0
- package/dist/error-panel-DlRk6QCO-DF4HcG70.js +22 -0
- package/dist/execute-Dunu5ajY-CyA1tf6J.js +22 -0
- package/dist/extension-4JadjVME-DONRz7Fy.js +22 -0
- package/dist/extension-community-De5e8OmM-BwsIc20s.js +22 -0
- package/dist/external-link-BiXB78-O-PBQVGo51.js +22 -0
- package/dist/eye-CYWX12bw-Duq6UB1r.js +25 -0
- package/dist/file-CWu1D3xj-BXKZosMT.js +22 -0
- package/dist/file-export-0X3T5whR-D6SzZyYm.js +22 -0
- package/dist/file-text-CUzJs5fe-jBAICYSE.js +21 -0
- package/dist/filter-DGIMoqM1-BEeW36bJ.js +21 -0
- package/dist/flow-variable-in-DfVHb8Q6-COt9hMCY.js +30 -0
- package/dist/flow-variable-in-out-CZXPlePz-utwyMbr7.js +38 -0
- package/dist/flow-variable-out-B5GnAU2d-Bk5KWFVz.js +30 -0
- package/dist/folder-CgOQXlsa-BxF1RKvI.js +22 -0
- package/dist/folder-plus-BtmuHB9m-Db5nOPcU.js +22 -0
- package/dist/folder-workflow-NI_2jW5M-nhwxiBes.js +22 -0
- package/dist/forum-CclgZ-7j-Ch4iTpbg.js +21 -0
- package/dist/function-catalog-BthrkGfD-BKjqGzmj.js +22 -0
- package/dist/geo-datatype-D22EVbiv-ayQNz1bu.js +26 -0
- package/dist/helm-datatype-BkZDIKEu-BX7Wrfzo.js +22 -0
- package/dist/home-Bcvrgb6q-BaLxJAg5.js +22 -0
- package/dist/image-png-datatype-DXI1vyFc-Duz6guvj.js +22 -0
- package/dist/image-svg-datatype-BkoxDjfE-Be0zggV3.js +22 -0
- package/dist/import-B6KLpALE-BoGDBxM_.js +22 -0
- package/dist/index-DVwliH8a.js +203 -0
- package/dist/info-7Q08hRgI-4fDQFef5.js +22 -0
- package/dist/interval-Dx80AKo_-Bnhqrgsh.js +22 -0
- package/dist/italic-DLUAn2LT-BgOIC--C.js +22 -0
- package/dist/json-datatype-CslAT-V1-DU--8PR0.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +108 -134
- package/dist/labeling-datatype-EUXY6MBu-B12d4jQb.js +25 -0
- package/dist/left-aligned-CgdRLlyj-Cm-CRIOX.js +22 -0
- package/dist/like-D2rnvJMO-DlkiV5WW.js +21 -0
- package/dist/limit-D87-XMRT-gnCILrJ-.js +22 -0
- package/dist/linear-notation-molecule-d5kP2xXs-B3u2ek3a.js +22 -0
- package/dist/link-B0lweV4V-n04-QiHw.js +22 -0
- package/dist/linked-metanode-Ik1_jf67-UFS5CX2f.js +22 -0
- package/dist/list-R-YhBe4M-9y9ToEYk.js +22 -0
- package/dist/list-bulletpoint-Bsyc6vEO-CzvpFsXE.js +22 -0
- package/dist/list-number-D2-3aYNM-B68POlSr.js +22 -0
- package/dist/list-thumbs-C_gV8qiQ-DoJ2-xy8.js +22 -0
- package/dist/local-filesystem-zGOmKpFY-txQFr1oD.js +22 -0
- package/dist/{localTimeUtils-CfchSrLG.js → localTimeUtils-ofPz-s5l.js} +1 -1
- package/dist/lock-mlEwUUt1-C_POpKZ0.js +22 -0
- package/dist/message-datatype-C9-EmnSB-DqyiLZm4.js +22 -0
- package/dist/metanode-DtkJqhjE-Clj0bnmY.js +22 -0
- package/dist/microscope-DS6bN3jk-h146aLkM.js +22 -0
- package/dist/minus-CjUP6_Q8-CRcR7Lhz.js +21 -0
- package/dist/model-pmml-datatype-94e99we--DlRQACuj.js +22 -0
- package/dist/molecule-eT_tgLRf-ypw8MLo7.js +22 -0
- package/dist/more-actions-DBLTo2NK-D_qPYTyZ.js +22 -0
- package/dist/node-stack-B1tUffrH-C01m1uIq.js +22 -0
- package/dist/number-double-datatype-CayvZwH9-Bm8h5p6M.js +21 -0
- package/dist/number-double-vector-datatype-skWwhKxd-BM6Ipmdc.js +22 -0
- package/dist/number-integer-datatype-BhR4FHTI-BTXU1EuZ.js +22 -0
- package/dist/open-in-new-window-BLzRyCt0-CduNinJM.js +22 -0
- package/dist/parameter-DpU3cp7S-D12u2Rdm.js +22 -0
- package/dist/path-datatype-C97VTebF-DfcP91df.js +22 -0
- package/dist/pending-changes-UhfijwVP-CWzc-eMC.js +22 -0
- package/dist/placeholder-BdlsIyd_-D0gCDp5r.js +21 -0
- package/dist/plus-BIHLsGIG-D1IuPrfV.js +21 -0
- package/dist/quote-Df1UEiut-BNlv64Y7.js +22 -0
- package/dist/re-execution-D6Vf8q4m-BgpBBwzI.js +22 -0
- package/dist/redo-gtkWmrwN-BPP-3C2B.js +22 -0
- package/dist/reload-D2KQygjR-C6MzcpR7.js +22 -0
- package/dist/{reload-57Xc2t-6.js → reload-DCdbNLa2.js} +1 -7
- package/dist/reset-all-CnOZsHiC-CHaG2DcX.js +22 -0
- package/dist/right-aligned-DqKhZgBb-C-3qi6ZW.js +22 -0
- package/dist/rocket-C4ar--Dz-MeI-wWHa.js +22 -0
- package/dist/save-Dc5j8rtx-BtCIL1vP.js +22 -0
- package/dist/save-as-D9xt6dTU-8vXEMe63.js +22 -0
- package/dist/schedule-zAcSBtLR-Cvy6CSus.js +22 -0
- package/dist/search-DMQ_0_gU-Dhhjub6q.js +21 -0
- package/dist/selected-cancel-C1SnhoVq-DE9WfdCp.js +22 -0
- package/dist/selected-execute-Ril2FDJ6-B6KgRuhq.js +22 -0
- package/dist/selected-reset-B6uNdY_x-bO6bfPbY.js +22 -0
- package/dist/send-Btyiuo31-yKXF2b0W.js +22 -0
- package/dist/server-rack-workflow-Dm10gp1J-BY5lVrIy.js +22 -0
- package/dist/settings-BonOwCqQ-DkACpObW.js +25 -0
- package/dist/share-CM7XxCfc-CKhZIf-z.js +21 -0
- package/dist/shortcuts-CPtPBJxT-DW1mt_C0.js +21 -0
- package/dist/sort-ascending-Bax79rC1-Co49uF0o.js +22 -0
- package/dist/sort-descending-FZQuQEDb-DnEqhTO2.js +22 -0
- package/dist/space-aIuAtYj8-CkeSxHvT.js +22 -0
- package/dist/space-local-B2_6Bsy_-fO6UQbWC.js +22 -0
- package/dist/space-private-Bzmo_auP-BUTvGwFt.js +22 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +4 -0
- package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
- package/dist/strikethrough-B5OvXyS_-BDcl1x-T.js +22 -0
- package/dist/string-datatype-nDWXe0Ai-C2f_oA5E.js +22 -0
- package/dist/string-vector-datatype-CKcnjj4A-BF-uQspT.js +22 -0
- package/dist/subgraph-datatype-BeZaQU17-D4yTSENW.js +22 -0
- package/dist/term-datatype-ROXc3ddq-DUN2DKe3.js +22 -0
- package/dist/test-tube-D1jY9f0B-DBphlm1P.js +22 -0
- package/dist/testing.js +2 -2
- package/dist/text-Dcwl242F-W2_yYFcO.js +22 -0
- package/dist/textstyles-K03PpDJG-D1dBBlhO.js +21 -0
- package/dist/thumbs-down-LaXuQYOO-BKgB-IYH.js +21 -0
- package/dist/thumbs-up-DMY3jgQp-BccPI1vO.js +21 -0
- package/dist/time-BrqWI0yU-Lucb_rir.js +22 -0
- package/dist/time-datatype-BQ767rrS-CikC2kym.js +22 -0
- package/dist/to-bottom-C3w7coKl-fPLBp6r8.js +22 -0
- package/dist/to-top-qB5yRcmV-20VJGtT0.js +22 -0
- package/dist/{toString-C-X8cE7K.js → toString-CSnbWb-n.js} +1 -1
- package/dist/tool-datatype-DdDtNmoC-B5jX9hLX.js +22 -0
- package/dist/trash-BU3tMrJo-CqIIyo9O.js +22 -0
- package/dist/trigger-ClrkLEH_-Dp_G4-MA.js +21 -0
- package/dist/underline-CLXwjAXP-C0dzvFcg.js +22 -0
- package/dist/undo-DqMrRbAA-Ck_wV_0h.js +22 -0
- package/dist/unknown-datatype-DvCQu88a-Dy_04oAu.js +22 -0
- package/dist/unlink-AsK_ZWw_-CEBDol0v.js +22 -0
- package/dist/uri-datatype-CdijzCVY-DLvF3v9A.js +22 -0
- package/dist/{useBuiltinValidations-D0WuEacN.js → useBuiltinValidations-rwOsR_Sq.js} +1 -1
- package/dist/{usePossibleValues-DTVXBGRC.js → usePossibleValues-DXZusnxu.js} +1 -1
- package/dist/user-DvUjWARa-M6h6zN2y.js +22 -0
- package/dist/variable-boolean-BHPrIPTX-rRapdt9g.js +30 -0
- package/dist/variable-collection-boolean-C_J7wThg-BHOF0-dc.js +30 -0
- package/dist/variable-collection-double-BxKPwsrE-B7RZaZYI.js +30 -0
- package/dist/variable-collection-integer-CevE-mrB-BxdS9Vqn.js +30 -0
- package/dist/variable-collection-string-yxLbb_-V-C4A3-vJo.js +30 -0
- package/dist/variable-conda-environment-D7JkuG0q-qMJ6e2IL.js +30 -0
- package/dist/variable-credential-SFWXg0a0-s4Qwg512.js +30 -0
- package/dist/variable-integer-BUHZT63E-JOQL3zUx.js +30 -0
- package/dist/variable-number-double-CuPKBr9M-DKs2hJzj.js +30 -0
- package/dist/variable-path-CcdwgBlO-D9GLoIqS.js +30 -0
- package/dist/variable-string-Dk4KUHML-C3xf_tqm.js +30 -0
- package/dist/variable-unknown-iniv12vq-kxbEoIxO.js +30 -0
- package/dist/view-cards-Bzc1izf--BkS89pbU.js +21 -0
- package/dist/warning-BXPHX6v6-BbUq1x-O.js +22 -0
- package/dist/workflow-DlZxP-3l-BrCmrtoJ.js +21 -0
- package/dist/x-close-CIB3TdAj-9yKOArW-.js +22 -0
- package/dist/xml-datatype-D7nWox5y-CaFhjHZe.js +22 -0
- package/package.json +5 -4
- package/dist/AnyOfTwinlist-BmHETHvW.js +0 -28
- package/dist/CheckboxControl-q88fZSZD.js +0 -58
- package/dist/Checkboxes-Bofcg7tl.js +0 -120
- package/dist/CheckboxesControl-DY0R1PDD.js +0 -47
- package/dist/DateControl-vnkppn62.js +0 -38
- package/dist/DateTimeControl-MkF9G3Xz.js +0 -53
- package/dist/DateTimeFormatInput-Ds2VLXw1.js +0 -426
- package/dist/DateTimeFormatPickerControl-D3OjZCj7.js +0 -47
- package/dist/DateTimeFormatPickerWithTypeControl-DDto-oJk.js +0 -85
- package/dist/DropdownControl-aeEqC-Yg.js +0 -46
- package/dist/HorizontalLayout-D0toQmVl.js +0 -39
- package/dist/IntegerControl-DAwniqjW.js +0 -33
- package/dist/IntervalControl-Bkuhg0Ga.js +0 -647
- package/dist/LoadingDropdown-B9jHjdWV.js +0 -50
- package/dist/LoadingIcon-RPBUjTO3.js +0 -23
- package/dist/ManualTwinlistControl-DGW-7a2Q.js +0 -90
- package/dist/MultiSelectListBoxControl-BYHuC9jL.js +0 -48
- package/dist/MultimodeTwinlistControl-oIvgI_FP.js +0 -486
- package/dist/NameFilter-BV68t_P5.js +0 -37
- package/dist/NumberControl-Dm01CJW9.js +0 -33
- package/dist/NumberControlBase-CN5eTKEm.js +0 -58
- package/dist/OneOfDropdown-DuXXP0Qn.js +0 -50
- package/dist/RadioControl-X6HLs9F1.js +0 -36
- package/dist/RadioControlBase-BGUHTIUl.js +0 -111
- package/dist/SectionHeading-B6JkPyMh.js +0 -31
- package/dist/SectionLayout-7pXn4OHo.js +0 -61
- package/dist/SettingsSubPanel-DToMRoLu.js +0 -48
- package/dist/SettingsSubPanelLayout-DnZnghFr.js +0 -83
- package/dist/SimpleButtonControl-DOSd92Kq.js +0 -84
- package/dist/SimpleTwinlistControl-RBfQTk47.js +0 -31
- package/dist/SingleSelectControl-C-GLQD-a.js +0 -73
- package/dist/SingleSelectListBoxControl-CDg_1QUT.js +0 -260
- package/dist/SortListControl-CWuxKIEb.js +0 -445
- package/dist/StyledListItem-NqAG7jSw.js +0 -81
- package/dist/TextAreaControl-Dt5ZGrae.js +0 -122
- package/dist/TextControl-w9vrCC1T.js +0 -54
- package/dist/TimeControl-DiNQSV4K.js +0 -46
- package/dist/TwinlistControlBase-CMFEecdr.js +0 -47
- package/dist/TwinlistLoadingInfo-Cy6HY-97.js +0 -1080
- package/dist/TypedStringFilter-FUF8sqOm.js +0 -32
- package/dist/ValueSwitch-Ozmr1YfK.js +0 -162
- package/dist/ValueSwitchControl-CdFlHo-2.js +0 -33
- package/dist/VerticalLayout-DY8gbasK.js +0 -39
- package/dist/VerticalLayoutBase-CpN-KONq.js +0 -32
- package/dist/ZonedDateTimeControl-Cg3dAfq5.js +0 -79
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as C, toRef as d, computed as a, markRaw as I, createBlock as k, openBlock as F, unref as c, mergeProps as T } from "vue";
|
|
2
|
+
import { m as _ } from "./index-Blg1O3Fz.js";
|
|
3
|
+
import { u as L, a as U } from "./usePossibleValues-DXZusnxu.js";
|
|
4
|
+
import { T as z, a as M } from "./TwinlistLoadingInfo-DbxgK_4I.js";
|
|
5
|
+
import { u as x } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_2c8e8d82_lang-Cal28Ekk.js";
|
|
6
|
+
import { _ as B } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-1WZC8AqN.js";
|
|
7
|
+
const D = /* @__PURE__ */ C({
|
|
8
|
+
__name: "ManualTwinlistControl",
|
|
9
|
+
props: {
|
|
10
|
+
control: {},
|
|
11
|
+
handleChange: { type: Function },
|
|
12
|
+
changeValue: { type: Function },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
isValid: { type: Boolean },
|
|
15
|
+
onRegisterValidation: { type: Function },
|
|
16
|
+
labelForId: {}
|
|
17
|
+
},
|
|
18
|
+
setup(r) {
|
|
19
|
+
const n = r;
|
|
20
|
+
let o;
|
|
21
|
+
const t = (e) => {
|
|
22
|
+
const l = _(n.control.data, e);
|
|
23
|
+
n.changeValue(l), o?.(l);
|
|
24
|
+
}, p = (e) => {
|
|
25
|
+
if (e !== null)
|
|
26
|
+
if ("includedValues" in e) {
|
|
27
|
+
const { includedValues: l, excludedValues: u, includeUnknownValues: y } = e;
|
|
28
|
+
if (!l || !u)
|
|
29
|
+
return;
|
|
30
|
+
t({
|
|
31
|
+
manuallySelected: l,
|
|
32
|
+
manuallyDeselected: u,
|
|
33
|
+
includeUnknownColumns: y
|
|
34
|
+
});
|
|
35
|
+
} else
|
|
36
|
+
t({ manuallySelected: e });
|
|
37
|
+
}, { possibleValues: s } = L(
|
|
38
|
+
d(n, "control")
|
|
39
|
+
), { selectedAndDeselected: i, setCurrentManualFilter: m } = x({
|
|
40
|
+
data: a(() => ({ manualFilter: n.control.data })),
|
|
41
|
+
possibleValueIds: a(
|
|
42
|
+
() => s.value?.map(({ id: e }) => e) ?? null
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
o = m;
|
|
46
|
+
const b = a(() => {
|
|
47
|
+
const { selected: e, deselected: l } = i.value;
|
|
48
|
+
return {
|
|
49
|
+
includedValues: e,
|
|
50
|
+
excludedValues: l,
|
|
51
|
+
includeUnknownValues: n.control.data.includeUnknownColumns
|
|
52
|
+
};
|
|
53
|
+
}), f = a(
|
|
54
|
+
() => i.value.selected === null ? I(z) : null
|
|
55
|
+
), { excludedLabel: w, includedLabel: V } = U(
|
|
56
|
+
d(n, "control")
|
|
57
|
+
), h = a(() => w ?? "Excludes"), v = a(() => V ?? "Includes"), g = a(
|
|
58
|
+
() => n.control.uischema.options?.twinlistSize
|
|
59
|
+
);
|
|
60
|
+
return (e, l) => (F(), k(c(M), T(e.$attrs, {
|
|
61
|
+
id: e.labelForId,
|
|
62
|
+
"show-search": "",
|
|
63
|
+
disabled: e.disabled,
|
|
64
|
+
"empty-state-component": f.value,
|
|
65
|
+
"model-value": b.value,
|
|
66
|
+
"possible-values": c(s) ?? [],
|
|
67
|
+
size: g.value,
|
|
68
|
+
"left-label": h.value,
|
|
69
|
+
"right-label": v.value,
|
|
70
|
+
"is-valid": e.isValid,
|
|
71
|
+
compact: "",
|
|
72
|
+
"show-resize-handle": "",
|
|
73
|
+
"onUpdate:modelValue": p
|
|
74
|
+
}), null, 16, ["id", "disabled", "empty-state-component", "model-value", "possible-values", "size", "left-label", "right-label", "is-valid"]));
|
|
75
|
+
}
|
|
76
|
+
}), $ = /* @__PURE__ */ B(D, [["__scopeId", "data-v-3a892220"]]);
|
|
77
|
+
export {
|
|
78
|
+
$ as default
|
|
79
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent as s, toRef as n, createBlock as t, openBlock as d, unref as o } from "vue";
|
|
2
|
+
import { u as r } from "./usePossibleValues-DXZusnxu.js";
|
|
3
|
+
import { M as u } from "./MultiselectListBox-DPzM2Ttt.js";
|
|
4
|
+
const V = /* @__PURE__ */ s({
|
|
5
|
+
__name: "MultiSelectListBoxControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
isValid: { type: Boolean },
|
|
12
|
+
onRegisterValidation: { type: Function },
|
|
13
|
+
labelForId: {}
|
|
14
|
+
},
|
|
15
|
+
setup(l) {
|
|
16
|
+
const a = l, { possibleValues: i } = r(n(a, "control"));
|
|
17
|
+
return (e, p) => (d(), t(o(u), {
|
|
18
|
+
id: e.labelForId,
|
|
19
|
+
"possible-values": o(i) || [],
|
|
20
|
+
disabled: e.disabled,
|
|
21
|
+
"model-value": e.control.data,
|
|
22
|
+
"is-valid": e.isValid,
|
|
23
|
+
ariaLabel: e.control.label,
|
|
24
|
+
size: e.control.uischema.options?.size,
|
|
25
|
+
"onUpdate:modelValue": e.changeValue
|
|
26
|
+
}, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"]));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
V as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
import { createElementBlock as z, openBlock as b, createElementVNode as g, toRef as L, resolveComponent as y, normalizeClass as D, createBlock as T, createCommentVNode as I, createVNode as h, withCtx as c, renderSlot as _, normalizeProps as U, guardReactiveProps as k, mergeProps as R, defineComponent as K, ref as Q, computed as m, markRaw as X, unref as w, createSlots as Y, toDisplayString as x } from "vue";
|
|
2
|
+
import { D as F } from "./index-DVwliH8a.js";
|
|
3
|
+
import { m as Z } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { u as $, a as ee } from "./usePossibleValues-DXZusnxu.js";
|
|
5
|
+
import { a as te, S as ae, u as le, T as ne } from "./TwinlistLoadingInfo-DbxgK_4I.js";
|
|
6
|
+
import { u as se } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_2c8e8d82_lang-Cal28Ekk.js";
|
|
7
|
+
import { f as B } from "./useSearch-hpyYQ_6y.js";
|
|
8
|
+
import { C as ie } from "./Checkboxes-Dc2mE1E7.js";
|
|
9
|
+
import { y as oe, _ as A } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-1WZC8AqN.js";
|
|
10
|
+
import { V as de } from "./ValueSwitch-DZ5vEThg.js";
|
|
11
|
+
const re = {
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "#000",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
viewBox: "0 0 32 32"
|
|
17
|
+
};
|
|
18
|
+
function ue(t, l) {
|
|
19
|
+
return b(), z("svg", re, l[0] || (l[0] = [
|
|
20
|
+
g("path", { d: "m13.31 27.81 5.11-3.19v-9.15L28.95 4.19H3.05l10.26 11.28z" }, null, -1)
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
const ce = { render: ue }, pe = {
|
|
24
|
+
manual: "Manual",
|
|
25
|
+
wildcard: "Wildcard",
|
|
26
|
+
regex: "Regex",
|
|
27
|
+
type: "Type"
|
|
28
|
+
}, me = {
|
|
29
|
+
name: "MultiModeTwinlist",
|
|
30
|
+
components: {
|
|
31
|
+
Label: oe,
|
|
32
|
+
FilterIcon: ce,
|
|
33
|
+
SearchInput: ae,
|
|
34
|
+
Checkboxes: ie,
|
|
35
|
+
ValueSwitch: de,
|
|
36
|
+
Twinlist: te
|
|
37
|
+
},
|
|
38
|
+
props: {
|
|
39
|
+
/**
|
|
40
|
+
* initial values
|
|
41
|
+
*/
|
|
42
|
+
mode: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: !1,
|
|
45
|
+
default: "manual"
|
|
46
|
+
},
|
|
47
|
+
manualSelection: {
|
|
48
|
+
type: [Object, Array, null],
|
|
49
|
+
default: () => []
|
|
50
|
+
},
|
|
51
|
+
pattern: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ""
|
|
54
|
+
},
|
|
55
|
+
caseSensitivePattern: {
|
|
56
|
+
default: !1,
|
|
57
|
+
type: Boolean
|
|
58
|
+
},
|
|
59
|
+
inversePattern: {
|
|
60
|
+
default: !1,
|
|
61
|
+
type: Boolean
|
|
62
|
+
},
|
|
63
|
+
withTypes: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: !0
|
|
66
|
+
},
|
|
67
|
+
selectedTypes: {
|
|
68
|
+
type: Array,
|
|
69
|
+
default: () => []
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* Hiding and disabling
|
|
73
|
+
*/
|
|
74
|
+
showMode: {
|
|
75
|
+
default: !0,
|
|
76
|
+
type: Boolean
|
|
77
|
+
},
|
|
78
|
+
// enable search in case of manual selection
|
|
79
|
+
showSearch: {
|
|
80
|
+
default: !0,
|
|
81
|
+
type: Boolean
|
|
82
|
+
},
|
|
83
|
+
disabled: {
|
|
84
|
+
default: !1,
|
|
85
|
+
type: Boolean
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Labels
|
|
89
|
+
*/
|
|
90
|
+
withModeLabel: {
|
|
91
|
+
default: !1,
|
|
92
|
+
type: Boolean
|
|
93
|
+
},
|
|
94
|
+
modeLabel: {
|
|
95
|
+
type: String,
|
|
96
|
+
required: !1,
|
|
97
|
+
default: "Selection mode"
|
|
98
|
+
},
|
|
99
|
+
withPatternLabel: {
|
|
100
|
+
default: !1,
|
|
101
|
+
type: Boolean
|
|
102
|
+
},
|
|
103
|
+
patternLabel: {
|
|
104
|
+
type: String,
|
|
105
|
+
required: !1,
|
|
106
|
+
default: "Pattern"
|
|
107
|
+
},
|
|
108
|
+
withTypesLabel: {
|
|
109
|
+
default: !1,
|
|
110
|
+
type: Boolean
|
|
111
|
+
},
|
|
112
|
+
typesLabel: {
|
|
113
|
+
type: String,
|
|
114
|
+
required: !1,
|
|
115
|
+
default: "Selected types"
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
* List of possible values. Each item must have an `id` and a `text` property
|
|
119
|
+
* @example
|
|
120
|
+
* [{
|
|
121
|
+
* id: 'pdf',
|
|
122
|
+
* text: 'PDF'
|
|
123
|
+
* }, {
|
|
124
|
+
* id: 'XLS',
|
|
125
|
+
* text: 'Excel',
|
|
126
|
+
* }]
|
|
127
|
+
* For type selection, additionally, an element has to have a property `type` wich itself has properties
|
|
128
|
+
* `id` and `text`, e.g.
|
|
129
|
+
* [{
|
|
130
|
+
* id: 'pdf',
|
|
131
|
+
* text: 'PDF',
|
|
132
|
+
* type: {
|
|
133
|
+
* id: 'StringValue',
|
|
134
|
+
* text: 'String'
|
|
135
|
+
* }]
|
|
136
|
+
*/
|
|
137
|
+
possibleValues: {
|
|
138
|
+
type: Array,
|
|
139
|
+
default: () => []
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
* List of possible types which should be selectable but are not necessarily present in the possible values.
|
|
143
|
+
*/
|
|
144
|
+
additionalPossibleTypes: {
|
|
145
|
+
type: Array,
|
|
146
|
+
default: () => []
|
|
147
|
+
},
|
|
148
|
+
compact: {
|
|
149
|
+
type: Boolean,
|
|
150
|
+
default: !1
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
emits: [
|
|
154
|
+
// Prop updates
|
|
155
|
+
"update:manualSelection",
|
|
156
|
+
"update:pattern",
|
|
157
|
+
"update:selectedTypes",
|
|
158
|
+
"update:mode",
|
|
159
|
+
"update:caseSensitivePattern",
|
|
160
|
+
"update:inversePattern",
|
|
161
|
+
// Non-prop update
|
|
162
|
+
"update:selected"
|
|
163
|
+
],
|
|
164
|
+
setup(t) {
|
|
165
|
+
const { includedValues: l } = le(
|
|
166
|
+
L(t, "manualSelection")
|
|
167
|
+
);
|
|
168
|
+
return { manuallySelected: l };
|
|
169
|
+
},
|
|
170
|
+
data() {
|
|
171
|
+
return {
|
|
172
|
+
invalidPossibleValueIds: /* @__PURE__ */ new Set()
|
|
173
|
+
};
|
|
174
|
+
},
|
|
175
|
+
computed: {
|
|
176
|
+
possibleValueIds() {
|
|
177
|
+
return this.possibleValues.map(({ id: t }) => t);
|
|
178
|
+
},
|
|
179
|
+
possibleTypes() {
|
|
180
|
+
const t = this.possibleValues.map(({ type: n }) => n).filter(Boolean), l = t.map((n) => n.id);
|
|
181
|
+
return [...this.additionalPossibleTypes.filter(
|
|
182
|
+
(n) => n && !l.includes(n.id)
|
|
183
|
+
), ...t].filter((n) => n && n.id !== "").filter(
|
|
184
|
+
// remove duplicates
|
|
185
|
+
(n, s, f) => s === f.findIndex((u) => u.id === n.id && u.text === n.text)
|
|
186
|
+
);
|
|
187
|
+
},
|
|
188
|
+
matchingValueIds() {
|
|
189
|
+
return this.possibleValues.filter((t) => this.itemMatches(t)).map((t) => t.id);
|
|
190
|
+
},
|
|
191
|
+
twinlistModelValue() {
|
|
192
|
+
return this.mode === "manual" ? this.manualSelection : this.matchingValueIds;
|
|
193
|
+
},
|
|
194
|
+
selectedValues() {
|
|
195
|
+
return this.mode === "manual" ? this.manuallySelected : this.matchingValueIds;
|
|
196
|
+
},
|
|
197
|
+
selectionDisabled() {
|
|
198
|
+
return this.disabled || this.mode !== "manual";
|
|
199
|
+
},
|
|
200
|
+
normalizedSearchTerm() {
|
|
201
|
+
return this.mode === "manual" ? null : B[this.mode].normalize(
|
|
202
|
+
this.mode === "type" ? this.selectedTypes : this.pattern,
|
|
203
|
+
this.caseSensitivePattern
|
|
204
|
+
);
|
|
205
|
+
},
|
|
206
|
+
possibleModes() {
|
|
207
|
+
let t = Object.entries(pe).map(([l, a]) => ({ id: l, text: a }));
|
|
208
|
+
return this.withTypes || (t = t.filter((l) => l.id !== "type")), t;
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
watch: {
|
|
212
|
+
selectedValues: {
|
|
213
|
+
immediate: !0,
|
|
214
|
+
handler(t, l) {
|
|
215
|
+
!l || t === null || (t.length !== l.length || l.some((a, d) => a !== t[d])) && this.$emit("update:selected", this.selectedValues);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
methods: {
|
|
220
|
+
onManualInput(t) {
|
|
221
|
+
this.mode === "manual" && this.$emit("update:manualSelection", t);
|
|
222
|
+
},
|
|
223
|
+
onPatternInput(t) {
|
|
224
|
+
this.$emit("update:pattern", t);
|
|
225
|
+
},
|
|
226
|
+
onTypeInput(t) {
|
|
227
|
+
this.$emit("update:selectedTypes", t, this.possibleTypes);
|
|
228
|
+
},
|
|
229
|
+
onModeChange(t) {
|
|
230
|
+
this.$emit("update:mode", t);
|
|
231
|
+
},
|
|
232
|
+
onToggleCaseSensitivePattern(t) {
|
|
233
|
+
this.$emit("update:caseSensitivePattern", t);
|
|
234
|
+
},
|
|
235
|
+
onToggleInversePattern(t) {
|
|
236
|
+
this.$emit("update:inversePattern", t);
|
|
237
|
+
},
|
|
238
|
+
validate() {
|
|
239
|
+
return this.$refs.twinlist.validate();
|
|
240
|
+
},
|
|
241
|
+
hasSelection() {
|
|
242
|
+
return !!this.selectedValues?.length;
|
|
243
|
+
},
|
|
244
|
+
itemMatches(t) {
|
|
245
|
+
return B[this.mode].test(
|
|
246
|
+
this.mode === "type" ? t.type?.id : t.text,
|
|
247
|
+
this.normalizedSearchTerm,
|
|
248
|
+
this.caseSensitivePattern,
|
|
249
|
+
this.inversePattern
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
function he(t, l, a, d, n, s) {
|
|
255
|
+
const f = y("ValueSwitch"), u = y("Label"), S = y("FilterIcon"), V = y("SearchInput"), C = y("Checkboxes"), v = y("Twinlist");
|
|
256
|
+
return b(), z("div", {
|
|
257
|
+
class: D(["multi-mode-twinlist", { disabled: a.disabled }])
|
|
258
|
+
}, [
|
|
259
|
+
a.showMode ? (b(), T(u, {
|
|
260
|
+
key: 0,
|
|
261
|
+
active: a.withModeLabel,
|
|
262
|
+
text: a.modeLabel,
|
|
263
|
+
class: "label"
|
|
264
|
+
}, {
|
|
265
|
+
default: c(({ labelForId: r }) => [
|
|
266
|
+
h(f, {
|
|
267
|
+
id: r,
|
|
268
|
+
ref: "mode",
|
|
269
|
+
compact: a.compact,
|
|
270
|
+
"model-value": a.mode,
|
|
271
|
+
disabled: a.disabled,
|
|
272
|
+
"possible-values": s.possibleModes,
|
|
273
|
+
"onUpdate:modelValue": s.onModeChange
|
|
274
|
+
}, null, 8, ["id", "compact", "model-value", "disabled", "possible-values", "onUpdate:modelValue"])
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}, 8, ["active", "text"])) : I("", !0),
|
|
278
|
+
a.mode === "regex" || a.mode === "wildcard" ? (b(), T(u, {
|
|
279
|
+
key: 1,
|
|
280
|
+
active: a.withPatternLabel,
|
|
281
|
+
text: a.patternLabel,
|
|
282
|
+
class: "label"
|
|
283
|
+
}, {
|
|
284
|
+
default: c(({ labelForId: r }) => [
|
|
285
|
+
h(V, {
|
|
286
|
+
id: r,
|
|
287
|
+
ref: "search",
|
|
288
|
+
"model-value": a.pattern,
|
|
289
|
+
label: a.patternLabel,
|
|
290
|
+
"initial-case-sensitive-search": a.caseSensitivePattern,
|
|
291
|
+
"initial-inverse-search": a.inversePattern,
|
|
292
|
+
placeholder: "Pattern",
|
|
293
|
+
"show-case-sensitive-search-button": "",
|
|
294
|
+
"show-inverse-search-button": "",
|
|
295
|
+
disabled: a.disabled,
|
|
296
|
+
tooltips: {
|
|
297
|
+
inverseSearch: "Move matching to other side"
|
|
298
|
+
},
|
|
299
|
+
compact: a.compact,
|
|
300
|
+
"onUpdate:modelValue": s.onPatternInput,
|
|
301
|
+
onToggleCaseSensitiveSearch: s.onToggleCaseSensitivePattern,
|
|
302
|
+
onToggleInverseSearch: s.onToggleInversePattern
|
|
303
|
+
}, {
|
|
304
|
+
icon: c(() => [
|
|
305
|
+
h(S)
|
|
306
|
+
]),
|
|
307
|
+
_: 2
|
|
308
|
+
}, 1032, ["id", "model-value", "label", "initial-case-sensitive-search", "initial-inverse-search", "disabled", "compact", "onUpdate:modelValue", "onToggleCaseSensitiveSearch", "onToggleInverseSearch"])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["active", "text"])) : I("", !0),
|
|
312
|
+
a.mode === "type" && s.possibleTypes.length > 0 ? (b(), T(u, {
|
|
313
|
+
key: 2,
|
|
314
|
+
active: a.withTypesLabel,
|
|
315
|
+
text: a.typesLabel,
|
|
316
|
+
class: "label"
|
|
317
|
+
}, {
|
|
318
|
+
default: c(() => [
|
|
319
|
+
h(C, {
|
|
320
|
+
"model-value": a.selectedTypes,
|
|
321
|
+
"possible-values": s.possibleTypes,
|
|
322
|
+
disabled: a.disabled,
|
|
323
|
+
"onUpdate:modelValue": s.onTypeInput
|
|
324
|
+
}, {
|
|
325
|
+
label: c((r) => [
|
|
326
|
+
_(t.$slots, "type", U(k(r)), void 0, !0)
|
|
327
|
+
]),
|
|
328
|
+
_: 3
|
|
329
|
+
}, 8, ["model-value", "possible-values", "disabled", "onUpdate:modelValue"])
|
|
330
|
+
]),
|
|
331
|
+
_: 3
|
|
332
|
+
}, 8, ["active", "text"])) : I("", !0),
|
|
333
|
+
h(v, R(t.$attrs, {
|
|
334
|
+
ref: "twinlist",
|
|
335
|
+
disabled: s.selectionDisabled,
|
|
336
|
+
"show-search": a.mode === "manual" && a.showSearch,
|
|
337
|
+
"model-value": s.twinlistModelValue,
|
|
338
|
+
"possible-values": a.possibleValues,
|
|
339
|
+
compact: a.compact,
|
|
340
|
+
"onUpdate:modelValue": s.onManualInput
|
|
341
|
+
}), {
|
|
342
|
+
option: c((r) => [
|
|
343
|
+
_(t.$slots, "option", U(k(r)), void 0, !0)
|
|
344
|
+
]),
|
|
345
|
+
_: 3
|
|
346
|
+
}, 16, ["disabled", "show-search", "model-value", "possible-values", "compact", "onUpdate:modelValue"])
|
|
347
|
+
], 2);
|
|
348
|
+
}
|
|
349
|
+
const ye = /* @__PURE__ */ A(me, [["render", he], ["__scopeId", "data-v-b53c11fe"]]), be = { class: "data-type-text" }, fe = /* @__PURE__ */ K({
|
|
350
|
+
__name: "MultimodeTwinlistControl",
|
|
351
|
+
props: {
|
|
352
|
+
control: {},
|
|
353
|
+
handleChange: {},
|
|
354
|
+
changeValue: {},
|
|
355
|
+
disabled: { type: Boolean },
|
|
356
|
+
isValid: { type: Boolean },
|
|
357
|
+
onRegisterValidation: {},
|
|
358
|
+
labelForId: {},
|
|
359
|
+
twinlistSize: { default: 10 },
|
|
360
|
+
twinlistLeftLabel: { default: "Excludes" },
|
|
361
|
+
showUnknownValues: { type: Boolean, default: !1 },
|
|
362
|
+
twinlistRightLabel: { default: "Includes" }
|
|
363
|
+
},
|
|
364
|
+
setup(t) {
|
|
365
|
+
const l = t;
|
|
366
|
+
let a = () => {
|
|
367
|
+
};
|
|
368
|
+
const d = (e) => {
|
|
369
|
+
const o = Z(l.control.data, e);
|
|
370
|
+
l.changeValue(o), a?.(o.manualFilter);
|
|
371
|
+
}, n = (e) => {
|
|
372
|
+
d({ selected: e });
|
|
373
|
+
}, s = (e) => {
|
|
374
|
+
if (e !== null)
|
|
375
|
+
if ("includedValues" in e) {
|
|
376
|
+
const { includedValues: o, excludedValues: i, includeUnknownValues: p } = e;
|
|
377
|
+
if (!o || !i)
|
|
378
|
+
return;
|
|
379
|
+
d({
|
|
380
|
+
manualFilter: {
|
|
381
|
+
manuallySelected: o,
|
|
382
|
+
manuallyDeselected: i,
|
|
383
|
+
includeUnknownColumns: p
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
} else
|
|
387
|
+
d({ manualFilter: { manuallySelected: e } });
|
|
388
|
+
}, f = (e) => {
|
|
389
|
+
d({ patternFilter: { pattern: e } });
|
|
390
|
+
}, u = (e) => {
|
|
391
|
+
d({ mode: e.toUpperCase() });
|
|
392
|
+
}, S = (e, o) => {
|
|
393
|
+
d({ typeFilter: { selectedTypes: e, typeDisplays: o } });
|
|
394
|
+
}, V = (e) => {
|
|
395
|
+
d({ patternFilter: { isInverted: e } });
|
|
396
|
+
}, C = (e) => {
|
|
397
|
+
d({ patternFilter: { isCaseSensitive: e } });
|
|
398
|
+
}, { possibleValues: v } = $(
|
|
399
|
+
L(l, "control")
|
|
400
|
+
), r = Q([]), { selectedAndDeselected: M, setCurrentManualFilter: q } = se({
|
|
401
|
+
data: m(() => l.control.data),
|
|
402
|
+
possibleValueIds: m(
|
|
403
|
+
() => v.value?.map(({ id: e }) => e) ?? null
|
|
404
|
+
)
|
|
405
|
+
});
|
|
406
|
+
a = q;
|
|
407
|
+
const E = m(() => {
|
|
408
|
+
const { selected: e, deselected: o } = M.value;
|
|
409
|
+
return l.showUnknownValues ? {
|
|
410
|
+
includedValues: e,
|
|
411
|
+
excludedValues: o,
|
|
412
|
+
includeUnknownValues: l.control.data.manualFilter.includeUnknownColumns
|
|
413
|
+
} : e;
|
|
414
|
+
}), O = m(
|
|
415
|
+
() => M.value.selected === null ? X(ne) : null
|
|
416
|
+
), j = (e) => typeof e > "u" ? {} : e.reduce(
|
|
417
|
+
(o, { id: i, text: p }) => ({ ...o, [i]: p }),
|
|
418
|
+
{}
|
|
419
|
+
), N = () => {
|
|
420
|
+
const e = l.control.data.typeFilter;
|
|
421
|
+
if (!e)
|
|
422
|
+
return [];
|
|
423
|
+
const o = e.selectedTypes, i = j(
|
|
424
|
+
e.typeDisplays
|
|
425
|
+
);
|
|
426
|
+
return o.map((p) => ({
|
|
427
|
+
id: p,
|
|
428
|
+
text: i[p] || p
|
|
429
|
+
}));
|
|
430
|
+
};
|
|
431
|
+
r.value = N();
|
|
432
|
+
const P = m(
|
|
433
|
+
() => !!v.value?.[0]?.hasOwnProperty("type")
|
|
434
|
+
), { excludedLabel: H, includedLabel: W } = ee(
|
|
435
|
+
L(l, "control")
|
|
436
|
+
), G = m(() => H ?? l.twinlistLeftLabel), J = m(() => W ?? l.twinlistRightLabel);
|
|
437
|
+
return (e, o) => (b(), T(w(ye), R(e.$attrs, {
|
|
438
|
+
id: e.labelForId,
|
|
439
|
+
disabled: e.disabled,
|
|
440
|
+
"with-types": P.value,
|
|
441
|
+
"selected-types": e.control.data.typeFilter?.selectedTypes,
|
|
442
|
+
"additional-possible-types": r.value,
|
|
443
|
+
pattern: e.control.data.patternFilter.pattern,
|
|
444
|
+
mode: e.control.data.mode.toLowerCase(),
|
|
445
|
+
"case-sensitive-pattern": e.control.data.patternFilter.isCaseSensitive,
|
|
446
|
+
"empty-state-component": O.value,
|
|
447
|
+
"inverse-pattern": e.control.data.patternFilter.isInverted,
|
|
448
|
+
"manual-selection": E.value,
|
|
449
|
+
"include-unknown-values": e.control.data.manualFilter.includeUnknownColumns,
|
|
450
|
+
"mode-label": "Selection mode",
|
|
451
|
+
"possible-values": w(v) ?? [],
|
|
452
|
+
size: e.twinlistSize,
|
|
453
|
+
"left-label": G.value,
|
|
454
|
+
"right-label": J.value,
|
|
455
|
+
"is-valid": e.isValid,
|
|
456
|
+
compact: "",
|
|
457
|
+
"show-resize-handle": "",
|
|
458
|
+
"onUpdate:selected": n,
|
|
459
|
+
"onUpdate:manualSelection": s,
|
|
460
|
+
"onUpdate:pattern": f,
|
|
461
|
+
"onUpdate:mode": u,
|
|
462
|
+
"onUpdate:selectedTypes": S,
|
|
463
|
+
"onUpdate:inversePattern": V,
|
|
464
|
+
"onUpdate:caseSensitivePattern": C
|
|
465
|
+
}), Y({ _: 2 }, [
|
|
466
|
+
P.value ? {
|
|
467
|
+
name: "option",
|
|
468
|
+
fn: c(({ slotItem: i }) => [
|
|
469
|
+
g("div", {
|
|
470
|
+
class: D(["data-type-entry", { invalid: i.invalid }])
|
|
471
|
+
}, [
|
|
472
|
+
h(w(F), {
|
|
473
|
+
"icon-name": i?.type?.id,
|
|
474
|
+
"icon-title": i?.type?.text,
|
|
475
|
+
size: "small"
|
|
476
|
+
}, null, 8, ["icon-name", "icon-title"]),
|
|
477
|
+
g("span", null, x(i.text), 1)
|
|
478
|
+
], 2)
|
|
479
|
+
]),
|
|
480
|
+
key: "0"
|
|
481
|
+
} : void 0,
|
|
482
|
+
P.value ? {
|
|
483
|
+
name: "type",
|
|
484
|
+
fn: c(({ slotItem: i }) => [
|
|
485
|
+
h(w(F), {
|
|
486
|
+
"icon-name": i.id,
|
|
487
|
+
"icon-title": i.text,
|
|
488
|
+
size: "small"
|
|
489
|
+
}, null, 8, ["icon-name", "icon-title"]),
|
|
490
|
+
g("span", be, x(i.text), 1)
|
|
491
|
+
]),
|
|
492
|
+
key: "1"
|
|
493
|
+
} : void 0
|
|
494
|
+
]), 1040, ["id", "disabled", "with-types", "selected-types", "additional-possible-types", "pattern", "mode", "case-sensitive-pattern", "empty-state-component", "inverse-pattern", "manual-selection", "include-unknown-values", "possible-values", "size", "left-label", "right-label", "is-valid"]));
|
|
495
|
+
}
|
|
496
|
+
}), Me = /* @__PURE__ */ A(fe, [["__scopeId", "data-v-2c8e8d82"]]);
|
|
497
|
+
export {
|
|
498
|
+
Me as default
|
|
499
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ref as v, watch as m } from "vue";
|
|
2
2
|
import { g as S, a as g } from "./index-Blg1O3Fz.js";
|
|
3
|
-
|
|
3
|
+
/* empty css */
|
|
4
|
+
import "./TwinlistLoadingInfo-DbxgK_4I.js";
|
|
4
5
|
const w = ({
|
|
5
6
|
knownValuesSide: s,
|
|
6
7
|
possibleValueIds: l,
|
|
@@ -14,7 +15,7 @@ const w = ({
|
|
|
14
15
|
...u(s.previous),
|
|
15
16
|
...g(l, t)
|
|
16
17
|
]);
|
|
17
|
-
},
|
|
18
|
+
}, j = ({
|
|
18
19
|
data: s,
|
|
19
20
|
possibleValueIds: l
|
|
20
21
|
}) => {
|
|
@@ -27,13 +28,13 @@ const w = ({
|
|
|
27
28
|
if (!t.value || !l.value)
|
|
28
29
|
return;
|
|
29
30
|
let e, o;
|
|
30
|
-
const { manuallyDeselected:
|
|
31
|
-
previous:
|
|
31
|
+
const { manuallyDeselected: p, manuallySelected: f, includeUnknownColumns: r } = t.value, i = {
|
|
32
|
+
previous: p,
|
|
32
33
|
setNext: (c) => {
|
|
33
34
|
e = c;
|
|
34
35
|
}
|
|
35
36
|
}, d = {
|
|
36
|
-
previous:
|
|
37
|
+
previous: f,
|
|
37
38
|
setNext: (c) => {
|
|
38
39
|
o = c;
|
|
39
40
|
}
|
|
@@ -61,5 +62,5 @@ const w = ({
|
|
|
61
62
|
}), { selectedAndDeselected: n, setCurrentManualFilter: a };
|
|
62
63
|
};
|
|
63
64
|
export {
|
|
64
|
-
|
|
65
|
+
j as u
|
|
65
66
|
};
|