@knime/jsonforms 1.8.6 → 1.8.7
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 +8 -0
- package/dist/{AnyOfTwinlist-CN2MwsvB.js → AnyOfTwinlist-B3lypiur.js} +1 -1
- package/dist/{Button-tqyx0NFH.js → Button-gTfjPXU4.js} +4 -5
- package/dist/{CheckboxControl-RE0n5096.js → CheckboxControl-BkQ44Uxj.js} +11 -12
- package/dist/{Checkboxes-BgICqMGr.js → Checkboxes-BmUZ2CDH.js} +18 -17
- package/dist/CheckboxesControl-DZ70hajb.js +38 -0
- package/dist/{ComboBoxControl-CFlD8eXE.js → ComboBoxControl-BOnJXJJK.js} +132 -124
- package/dist/DateControl-BFs-mHV0.js +34 -0
- package/dist/DateTimeControl-06lr5z6U.js +44 -0
- package/dist/DateTimeFormatInput-DdoDuQgr.js +375 -0
- package/dist/DateTimeFormatPickerControl-BNNUwWoq.js +40 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-C--0viWF.js → DateTimeFormatPickerWithTypeControl-tieZcjif.js} +17 -24
- package/dist/Dropdown-DgLzYs1N.js +605 -0
- package/dist/DropdownControl-NW8_sCPB.js +31 -0
- package/dist/{HorizontalLayout-Ci4XB4_F.js → HorizontalLayout-CS_WKeeK.js} +3 -3
- package/dist/{InputField-B3FMlcG7.js → InputField-Cq0CoNDx.js} +39 -39
- package/dist/{IntegerControl-DTvwDu_1.js → IntegerControl-D8TYZOJ9.js} +1 -1
- package/dist/{IntervalControl-DQHxqYSG.js → IntervalControl-dVPrxAV7.js} +206 -209
- package/dist/LoadingDropdown-OAZ94jZa.js +75 -0
- package/dist/LoadingIcon-BK8jfTsz.js +18 -0
- package/dist/ManualTwinlistControl-BQLjGmy3.js +79 -0
- package/dist/MultiSelectListBoxControl-kqcoBl2C.js +31 -0
- package/dist/MultimodeTwinlistControl-BSnI3Nv-.js +500 -0
- package/dist/MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_a6fd4504_lang-BDJqwT00.js +66 -0
- package/dist/{MultiselectListBox-Deohiex5.js → MultiselectListBox-YT94gLy1.js} +91 -153
- package/dist/{NameFilter-OJ6BbgCw.js → NameFilter-CVf8SWRD.js} +3 -3
- package/dist/{NumberControl-Bqv5Yg5q.js → NumberControl-BS0iWMd1.js} +1 -1
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-Dpurs4vD.js +50 -0
- package/dist/{NumberInput-CceQgb7W.js → NumberInput-C9Z3WL4T.js} +3 -3
- package/dist/{OneOfDropdown-Cr4QdRNh.js → OneOfDropdown-BFvHiyIX.js} +10 -11
- package/dist/{RadioControl-C3iBCYho.js → RadioControl-CbIxlztZ.js} +2 -2
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BRmNVSjH.js +104 -0
- package/dist/{RichTextControl-ByOMoBFd.js → RichTextControl-B2UI22lk.js} +4873 -5138
- package/dist/{SectionHeading-B6h7HB3W.js → SectionHeading-D8MBv1Z3.js} +5 -5
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js +15484 -0
- package/dist/{SectionLayout-BVcWUqMv.js → SectionLayout-B4iTDlS-.js} +13 -13
- package/dist/SettingsSubPanel-7MtEQsCU.js +5 -0
- package/dist/SettingsSubPanelLayout-kZZLsSFp.js +62 -0
- package/dist/{SimpleButtonControl-YqkAS0xK.js → SimpleButtonControl-BoXOJ9zQ.js} +11 -11
- package/dist/SimpleTwinlistControl-DDlauBMw.js +25 -0
- package/dist/SingleSelectControl-jVse9F_G.js +55 -0
- package/dist/SingleSelectListBoxControl-ywxzUCCs.js +232 -0
- package/dist/SortListControl-C4bCDy6D.js +417 -0
- package/dist/StyledListItem-BnJ01Nlz.js +76 -0
- package/dist/{TextAreaControl-CeXKNbLO.js → TextAreaControl-BhtBIx41.js} +23 -26
- package/dist/{TextControl-D6E5xDzR.js → TextControl-C2dBvR8J.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-COlDG69H.js +47 -0
- package/dist/TimeControl-D4jyL0VO.js +35 -0
- package/dist/TwinlistControlBase-BqLpZHDo.js +58 -0
- package/dist/TwinlistLoadingInfo-BocQJbmS.js +956 -0
- package/dist/TypedStringFilter-C37z_WNB.js +27 -0
- package/dist/ValueSwitch-BkHtM8g5.js +131 -0
- package/dist/{ValueSwitchControl-BVWwNKDE.js → ValueSwitchControl-DWXZJ4B6.js} +1 -1
- package/dist/{VerticalLayout-M8_uuBIl.js → VerticalLayout-Cj0Iw5bO.js} +2 -2
- package/dist/VerticalLayoutBase-DbY0ymdY.js +20 -0
- package/dist/ZonedDateTimeControl-DDzW56Mi.js +68 -0
- package/dist/{_baseEach-FP8ISlsz.js → _baseEach-Bnv4si8j.js} +2 -2
- package/dist/_baseIteratee-26w6nADM.js +516 -0
- package/dist/{_getTag-DiktJuv_.js → _getTag-DsiTI6uv.js} +33 -34
- package/dist/ai-general-CEjHPwV_-Cvgl4_i4.js +22 -0
- package/dist/annotation-mode-RuLeuF8s-DzQXI1AV.js +22 -0
- package/dist/arrow-down-BUkisWSu-D4BXUOrP.js +22 -0
- package/dist/arrow-dropdown-DdgjzLAO.js +17 -0
- package/dist/arrow-next-CIOU5o42.js +17 -0
- package/dist/arrow-up-BD0GygxZ-D7Mems_w.js +22 -0
- package/dist/arrows-expand-D4HnemK6-CUTpcf1_.js +22 -0
- package/dist/arrows-move-MByhxCHY-DCt3qTon.js +22 -0
- package/dist/arrows-order-DG9bLo_s-5Ih9AY3t.js +22 -0
- package/dist/audio-datatype-ChGlgbFR-Co5Zwh98.js +22 -0
- package/dist/back-knRL_H9j-6rQffRgs.js +22 -0
- package/dist/binary-object-datatype-CduhSXn7-G7O0170V.js +22 -0
- package/dist/bit-byte-vector-datatype-53diw48X-C0vb-7Za.js +22 -0
- package/dist/bold-Bpd1mjNS-DZSOWkhE.js +22 -0
- package/dist/boolean-datatype-CNMwV1-Q-CjMVyisS.js +26 -0
- package/dist/calendar-DTdbEMEZ-DZIC5AGb.js +22 -0
- package/dist/case-sensitive-ULceA_jf-DzrrRvkb.js +21 -0
- package/dist/center-aligned-X-iYFab0-DyQ8fV6W.js +21 -0
- package/dist/checkmark-DmnbDwa7-C_OepG74.js +22 -0
- package/dist/chevron-down-DUgPIDVj-B4fFp-UP.js +22 -0
- package/dist/chevron-left-double-UgFnDa0n-w4rcZsHk.js +22 -0
- package/dist/chevron-left-reHqFzYq-Ci5X3496.js +22 -0
- package/dist/chevron-right-CqpG4jxa-BjjbYbFB.js +22 -0
- package/dist/chevron-right-double-DAZZqg3Y-Dd7WqGIE.js +22 -0
- package/dist/chevron-up-CP9hfisr-Bpqp3uMG.js +22 -0
- package/dist/circle-error-CUKvliKO-BsDmD6sr.js +22 -0
- package/dist/circle-info-BHbc2Dfd-CgX0kAFY.js +22 -0
- package/dist/circle-question-DJKFX8BS-ChfHp4tf.js +22 -0
- package/dist/circle-success-CzR_IhiJ-BlM-ztj-.js +22 -0
- package/dist/close-BuY4mhXV.js +17 -0
- package/dist/cloud-download-BjycS45T-Bxk0RB9z.js +22 -0
- package/dist/cloud-knime-CbfH2QXI-AGSEGIby.js +22 -0
- package/dist/cloud-upload-CBM_ZPio-Df18olgw.js +22 -0
- package/dist/cloud-workflow-CHVooPRY-Rmd1H_HY.js +22 -0
- package/dist/code-block-8dTtpw7o-DgvpySmi.js +22 -0
- package/dist/collection-list-datatype-BbBxWNoQ-C2p81j_V.js +22 -0
- package/dist/collection-set-datatype-gfqJuoiV-C4NnN6Q9.js +21 -0
- package/dist/color-picker-D7gvyEaI-BbTB1-lR.js +22 -0
- package/dist/component-B2Ox0yYN-CrKk0yfK.js +22 -0
- package/dist/connection-p5pto_YK-Dc4lKnMI.js +22 -0
- package/dist/cursor-Dwgv2ML3-BkyGUX-W.js +21 -0
- package/dist/data-app-BdXYo7bC-MFKVfbXR.js +22 -0
- package/dist/date-datatype-Cq5Mb-Rz-D5jygmPB.js +22 -0
- package/dist/date-time-CXa0bmvO-BKOAingr.js +22 -0
- package/dist/date-time-local-datatype-2M1INwiQ-B_lrZGk2.js +22 -0
- package/dist/date-time-zoned-datatype-olQRLG4p-CE-6u7ol.js +22 -0
- package/dist/db-database-CrBCUTVq-BYrm5Jg4.js +22 -0
- package/dist/default-extension-datatype-CpH9a_4m-dtNauDJC.js +22 -0
- package/dist/deploy-CF4vcyzf-BoIQJ4eP.js +22 -0
- package/dist/detect-DXa-xFxA-CAYBsRRH.js +22 -0
- package/dist/divider-CnnToczp-qDDiewPZ.js +21 -0
- package/dist/document-datatype-B_hkllA_-DbILVLkP.js +21 -0
- package/dist/duration-DE7cktzt-CYqGYHgQ.js +22 -0
- package/dist/duration-date-based-datatype-DvzT3E6b-CWAMdupg.js +22 -0
- package/dist/duration-time-based-datatype-DBJN91Tu-DuPFumws.js +22 -0
- package/dist/edit-DupAoog2-1zixQOq9.js +21 -0
- package/dist/education-DS376EBJ-ZJ6q5soh.js +22 -0
- package/dist/error-panel-DlRk6QCO-DOajzc4x.js +22 -0
- package/dist/execute-Dunu5ajY-Czsu21T1.js +22 -0
- package/dist/extension-4JadjVME-DGofAGsD.js +22 -0
- package/dist/extension-community-De5e8OmM-C_1ucbDz.js +22 -0
- package/dist/external-link-BiXB78-O--smUtSAz.js +22 -0
- package/dist/eye-CYWX12bw-Fj2N1qxL.js +25 -0
- package/dist/file-CWu1D3xj-7JuMP50G.js +22 -0
- package/dist/file-export-0X3T5whR-CfNGIAfA.js +22 -0
- package/dist/file-text-CUzJs5fe-CcYcEdC0.js +21 -0
- package/dist/filter-DGIMoqM1-DH-20woy.js +21 -0
- package/dist/floating-ui.vue-CDo9Kas1.js +1055 -0
- package/dist/flow-variable-in-DfVHb8Q6-B9gou0kW.js +30 -0
- package/dist/flow-variable-in-out-CZXPlePz-BnkaLnMM.js +38 -0
- package/dist/flow-variable-out-B5GnAU2d-BaWb5ncY.js +30 -0
- package/dist/folder-CgOQXlsa-Bo_anmPb.js +22 -0
- package/dist/folder-plus-BtmuHB9m-CdhxlbUz.js +22 -0
- package/dist/folder-workflow-NI_2jW5M-DOkDm8xy.js +22 -0
- package/dist/forum-CclgZ-7j-CRzC_mAZ.js +21 -0
- package/dist/function-catalog-BthrkGfD-CEp9atHO.js +22 -0
- package/dist/geo-datatype-D22EVbiv-D2Pj2aI6.js +26 -0
- package/dist/helm-datatype-BkZDIKEu-DLD0aWrJ.js +22 -0
- package/dist/home-Bcvrgb6q-DqRt7tOV.js +22 -0
- package/dist/{hotkeys-kwHHtFKz.js → hotkeys-rxnt4egK.js} +1 -1
- package/dist/image-png-datatype-DXI1vyFc-Bnh_VHrg.js +22 -0
- package/dist/image-svg-datatype-BkoxDjfE-Dl8ziH69.js +22 -0
- package/dist/import-B6KLpALE-Dpia7Pj_.js +22 -0
- package/dist/index-Bu8cAuLm.js +376 -0
- package/dist/index-CUSP9syR.js +204 -0
- package/dist/info-7Q08hRgI-V6hpBtkD.js +22 -0
- package/dist/interval-Dx80AKo_-DXQ03ZI_.js +22 -0
- package/dist/italic-DLUAn2LT-mJz9MhAv.js +22 -0
- package/dist/json-datatype-CslAT-V1-CEzTyDFX.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +84 -79
- package/dist/labeling-datatype-EUXY6MBu-DDHUKr_g.js +25 -0
- package/dist/left-aligned-CgdRLlyj-CsfhGahf.js +22 -0
- package/dist/like-D2rnvJMO-Bja0b-91.js +21 -0
- package/dist/limit-D87-XMRT-9zsEPquM.js +22 -0
- package/dist/linear-notation-molecule-d5kP2xXs-B3ko7qZS.js +22 -0
- package/dist/link-B0lweV4V-BLMCsgVm.js +22 -0
- package/dist/linked-metanode-Ik1_jf67-DnvJ9p04.js +22 -0
- package/dist/list-R-YhBe4M-fmLWauxG.js +22 -0
- package/dist/list-bulletpoint-Bsyc6vEO-BabpV-5E.js +22 -0
- package/dist/list-number-D2-3aYNM-X29j26tl.js +22 -0
- package/dist/list-thumbs-C_gV8qiQ-LwbhfbDH.js +22 -0
- package/dist/local-filesystem-zGOmKpFY-D3qjkS0c.js +22 -0
- package/dist/localTimeUtils-BfovHvC0.js +12126 -0
- package/dist/lock-mlEwUUt1-siq47Tp8.js +22 -0
- package/dist/magic-string.es-BQ9KnLz-.js +659 -0
- package/dist/message-datatype-C9-EmnSB-toPG-DiU.js +22 -0
- package/dist/metanode-DtkJqhjE-JmKltGzU.js +22 -0
- package/dist/microscope-DS6bN3jk-D6-iBu4y.js +22 -0
- package/dist/minus-CjUP6_Q8-C2cNkMBl.js +21 -0
- package/dist/model-pmml-datatype-94e99we--B6qWvQRR.js +22 -0
- package/dist/molecule-eT_tgLRf-Db6HzIxu.js +22 -0
- package/dist/more-actions-DBLTo2NK-DIZMs6E0.js +22 -0
- package/dist/navigator-e30QQMkl.js +4 -0
- package/dist/node-stack-B1tUffrH-DT_A3Km0.js +22 -0
- package/dist/number-double-datatype-CayvZwH9-DQIGZ_Be.js +21 -0
- package/dist/number-double-vector-datatype-skWwhKxd-Bva2EXW-.js +22 -0
- package/dist/number-integer-datatype-BhR4FHTI-CgzJMW52.js +22 -0
- package/dist/open-in-new-window-BLzRyCt0-C9_1hZjo.js +22 -0
- package/dist/parameter-DpU3cp7S-DU_6kWh8.js +22 -0
- package/dist/path-datatype-C97VTebF-DfguKZeK.js +22 -0
- package/dist/pending-changes-UhfijwVP-BW3sz-cD.js +22 -0
- package/dist/placeholder-BdlsIyd_-DnT2fjk_.js +21 -0
- package/dist/plus-BIHLsGIG-Cwj4-d6K.js +21 -0
- package/dist/popper-LGjf7Wza.js +905 -0
- package/dist/quote-Df1UEiut-wcHjq1W5.js +22 -0
- package/dist/re-execution-D6Vf8q4m-BtVB5yFs.js +22 -0
- package/dist/redo-gtkWmrwN-BEVcApVN.js +22 -0
- package/dist/reload-BVbCGubF.js +17 -0
- package/dist/reload-D2KQygjR-s3CVXXFQ.js +22 -0
- package/dist/reset-all-CnOZsHiC-DCh7OxpG.js +22 -0
- package/dist/right-aligned-DqKhZgBb-BAQMTF7u.js +22 -0
- package/dist/rocket-C4ar--Dz-CQT5nXkU.js +22 -0
- package/dist/save-Dc5j8rtx-B5Of3V-Q.js +22 -0
- package/dist/save-as-D9xt6dTU-CGe50563.js +22 -0
- package/dist/schedule-zAcSBtLR-DZJT8XzC.js +22 -0
- package/dist/search-DMQ_0_gU-Bse6bTV0.js +21 -0
- package/dist/selected-cancel-C1SnhoVq-CDNrsFod.js +22 -0
- package/dist/selected-execute-Ril2FDJ6-UHn8jm9U.js +22 -0
- package/dist/selected-reset-B6uNdY_x-CK0K3t4K.js +22 -0
- package/dist/send-Btyiuo31-C2us2xPf.js +22 -0
- package/dist/server-rack-workflow-Dm10gp1J-CbWjdARy.js +22 -0
- package/dist/settings-BonOwCqQ-BQRpQawF.js +25 -0
- package/dist/share-CM7XxCfc-DKiRPJGq.js +21 -0
- package/dist/shortcuts-CPtPBJxT-LALbCNZS.js +21 -0
- package/dist/sort-ascending-Bax79rC1-h3vjI2l0.js +22 -0
- package/dist/sort-descending-FZQuQEDb-FV26gxK9.js +22 -0
- package/dist/space-aIuAtYj8-B4M7xKxS.js +22 -0
- package/dist/space-local-B2_6Bsy_-CyRFC5tE.js +22 -0
- package/dist/space-private-Bzmo_auP-CxpDMsaW.js +22 -0
- package/dist/src/constants/inputFormats.d.ts +3 -0
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +25 -28
- package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +8 -1
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -13
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +16 -15
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +9 -2
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
- package/dist/src/higherOrderComponents/control/types.d.ts +8 -4
- package/dist/src/higherOrderComponents/control/util.d.ts +10 -30
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +6 -1
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +6 -3
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +5 -3
- package/dist/src/higherOrderComponents/layout/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/layout/util.d.ts +2 -18
- package/dist/src/higherOrderComponents/types.d.ts +11 -10
- package/dist/src/index.d.ts +2 -1
- package/dist/src/layoutComponents/Form.vue.d.ts +12 -4
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +12 -13
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +15 -17
- package/dist/src/layoutComponents/index.d.ts +2 -1
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +12 -14
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +11 -30
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +8 -3
- package/dist/src/loading/LoadingDialog.vue.d.ts +1 -1
- package/dist/src/renderers/checkboxesRenderer.d.ts +0 -2
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +2 -2
- package/dist/src/renderers/defaultRenderers.d.ts +1112 -1229
- package/dist/src/renderers/dropdownRenderer.d.ts +1 -241
- package/dist/src/renderers/fallbackRenderers.d.ts +8 -290
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/multiSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +6 -90
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/simpleButtonRenderer.d.ts +11 -81
- package/dist/src/renderers/singleSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/sortListRenderer.d.ts +998 -280
- package/dist/src/renderers/textMessageRenderer.d.ts +62 -106
- package/dist/src/renderers/textRenderer.d.ts +1 -241
- package/dist/src/renderers/twinlistRenderer.d.ts +2 -0
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -86
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +1 -1
- package/dist/src/types/ChoicesUiSchema.d.ts +13 -5
- package/dist/src/types/provided.d.ts +18 -4
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +14 -14
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +3 -22
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +3 -12
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +5 -18
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -10
- package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +4 -17
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +5 -117
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +925 -79
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/TextControl.vue.d.ts +204 -22
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +3 -5
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +5 -5
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
- package/dist/src/uiComponents/index.d.ts +2 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +3 -10
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +230 -10
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +9 -0
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +11 -43
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +8 -34
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +9 -1
- package/dist/strikethrough-B5OvXyS_-C-2aE0CG.js +22 -0
- package/dist/string-datatype-nDWXe0Ai-Bg7vxVYA.js +22 -0
- package/dist/string-vector-datatype-CKcnjj4A-D_XhjXhP.js +22 -0
- package/dist/subgraph-datatype-BeZaQU17-BoW0Iv2O.js +22 -0
- package/dist/term-datatype-ROXc3ddq-CGDTwE1Q.js +22 -0
- package/dist/test-tube-D1jY9f0B-BdVNcJnL.js +22 -0
- package/dist/testUtils/component.d.ts +86 -43
- package/dist/testing.js +9014 -8669
- package/dist/text-Dcwl242F-DKEEbE25.js +22 -0
- package/dist/textstyles-K03PpDJG-Bl-ERhSz.js +21 -0
- package/dist/thumbs-down-LaXuQYOO-i9duTrij.js +21 -0
- package/dist/thumbs-up-DMY3jgQp-B6tU5n6S.js +21 -0
- package/dist/time-BrqWI0yU-7du_RewE.js +22 -0
- package/dist/time-datatype-BQ767rrS-DKZC_Vrq.js +22 -0
- package/dist/to-bottom-C3w7coKl-DFEfTlCu.js +22 -0
- package/dist/to-top-qB5yRcmV-BgCtwtxh.js +22 -0
- package/dist/toString-BKm8v7Ps.js +25 -0
- package/dist/tool-datatype-DdDtNmoC-2NyLY-_i.js +22 -0
- package/dist/trash-BU3tMrJo-C4MsOwQa.js +22 -0
- package/dist/trigger-ClrkLEH_-_MNQWL4e.js +21 -0
- package/dist/underline-CLXwjAXP-M0SeJWoS.js +22 -0
- package/dist/undo-DqMrRbAA-CLiK3c2R.js +22 -0
- package/dist/unknown-datatype-DvCQu88a-8oUk1T_q.js +22 -0
- package/dist/unlink-AsK_ZWw_-DyUD7qtH.js +22 -0
- package/dist/uri-datatype-CdijzCVY-kZLY0UcD.js +22 -0
- package/dist/useBuiltinValidations-BR-uUi8P.js +74 -0
- package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
- package/dist/usePossibleValues-C3V_0Qn_.js +16 -0
- package/dist/user-DvUjWARa-dQXH7RAr.js +22 -0
- package/dist/variable-boolean-BHPrIPTX-DYM2AS5h.js +30 -0
- package/dist/variable-collection-boolean-C_J7wThg-BwqzihDN.js +30 -0
- package/dist/variable-collection-double-BxKPwsrE-BFebzDQQ.js +30 -0
- package/dist/variable-collection-integer-CevE-mrB-3SE8MUm2.js +30 -0
- package/dist/variable-collection-string-yxLbb_-V-DhA9vpT5.js +30 -0
- package/dist/variable-conda-environment-D7JkuG0q-BJlFFMXx.js +30 -0
- package/dist/variable-credential-SFWXg0a0-BN8itYsK.js +30 -0
- package/dist/variable-integer-BUHZT63E-D5s2dhP4.js +30 -0
- package/dist/variable-number-double-CuPKBr9M-BA51GMLC.js +30 -0
- package/dist/variable-path-CcdwgBlO-CH8COEJe.js +30 -0
- package/dist/variable-string-Dk4KUHML-DEOpn3kP.js +30 -0
- package/dist/variable-unknown-iniv12vq-COQ0qFek.js +30 -0
- package/dist/view-cards-Bzc1izf--C46qdQbF.js +21 -0
- package/dist/warning-BXPHX6v6-CZJ5gP2b.js +22 -0
- package/dist/workflow-DlZxP-3l-WTyOrK43.js +21 -0
- package/dist/x-close-CIB3TdAj-BvMQp-8N.js +22 -0
- package/dist/xml-datatype-D7nWox5y-DGxzgQLk.js +22 -0
- package/package.json +5 -5
- package/dist/BaseButton-Cebd2AHy.js +0 -112
- package/dist/Checkbox-BIBnSAck.js +0 -75
- package/dist/CheckboxesControl-CE6XhDqY.js +0 -40
- package/dist/DateControl-eNPS2WTM.js +0 -29
- package/dist/DateTimeControl-DZEyD9oL.js +0 -54
- package/dist/DateTimeFormatInput-DlMvNNcx.js +0 -347
- package/dist/DateTimeFormatPickerControl-D68M5qSo.js +0 -47
- package/dist/DateTimeInput-Br-irfLt.js +0 -11205
- package/dist/Dropdown-DHch9f3F.js +0 -606
- package/dist/DropdownControl-CrawSsha.js +0 -84
- package/dist/FunctionButton-D3yEMdaG.js +0 -75
- package/dist/LoadingDropdown-B7HKqTuw.js +0 -40
- package/dist/MultimodeTwinlistControl-jCmOUQ5W.js +0 -526
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DGBX2cRb.js +0 -53
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-CFpxDCH2.js +0 -108
- package/dist/SettingsSubPanel-D3d969ZZ.js +0 -143
- package/dist/SettingsSubPanel.vue_vue_type_style_index_1_lang-BEdJP1y9.js +0 -13321
- package/dist/SettingsSubPanelLayout-B3o1uRwT.js +0 -62
- package/dist/SimpleTwinlistControl-IBoMg9Sd.js +0 -22
- package/dist/SingleSelectControl-cq7XaB3B.js +0 -58
- package/dist/SortListControl-70CJRbMc.js +0 -372
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-_045fE-M.js +0 -93
- package/dist/TimeControl-CkgkbfS1.js +0 -33
- package/dist/TwinlistControlBase-1tCrR4R6.js +0 -40
- package/dist/TwinlistLoadingInfo-Dnb6tfMf.js +0 -1045
- package/dist/TypedStringFilter-BXyUHaUT.js +0 -25
- package/dist/ValueSwitch-DdQ5SvYw.js +0 -138
- package/dist/VerticalLayoutBase-aQMRHInU.js +0 -20
- package/dist/ZonedDateTimeControl-CnE_CI8U.js +0 -74
- package/dist/_baseIteratee-DhaGkQLM.js +0 -518
- package/dist/arrow-dropdown-DjUxzjqC.js +0 -17
- package/dist/arrow-next-Qa8PNb04.js +0 -17
- package/dist/close-h7XT0ja0.js +0 -17
- package/dist/floating-ui.vue-B-MrqKCT.js +0 -1019
- package/dist/index-Bf0xDq3g.js +0 -373
- package/dist/isObject-B53jY8Qg.js +0 -7
- package/dist/isObjectLike-BatpeCIi.js +0 -29
- package/dist/isSymbol-C3_SC0Qp.js +0 -8
- package/dist/localTimeUtils-CHO8EMz1.js +0 -886
- package/dist/magic-string.es-Dn8TxLpu.js +0 -858
- package/dist/navigator-D_R-txCf.js +0 -7
- package/dist/popper-CRR--9mA.js +0 -907
- package/dist/reload-BhzcZRFp.js +0 -17
- package/dist/src/JsonFormsDialog.vue.d.ts +0 -51
- package/dist/svgWithTitle-Cb7lcck4.js +0 -18
- package/dist/toString-B9O7P854.js +0 -26
- package/dist/useBuiltinValidations-6-n78vkY.js +0 -52
- package/dist/useDropdownNavigation-D6ZenVxz.js +0 -55
- package/dist/useHideOnNull-CCfNP3O7.js +0 -42
- package/dist/usePossibleValues-BJ0cNARj.js +0 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
|
|
2
2
|
import { o as r } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { T as i } from "./TwinlistControlBase-
|
|
3
|
+
import { T as i } from "./TwinlistControlBase-BqLpZHDo.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-BEdJP1y9.js";
|
|
2
|
+
import { D as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js";
|
|
4
3
|
const c = o({
|
|
5
4
|
name: "Button",
|
|
6
5
|
components: {
|
|
@@ -65,7 +64,7 @@ const c = o({
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
});
|
|
68
|
-
function f(e,
|
|
67
|
+
function f(e, u, B, m, h, _) {
|
|
69
68
|
const t = a("BaseButton");
|
|
70
69
|
return s(), n(t, {
|
|
71
70
|
class: r(e.classes),
|
|
@@ -77,7 +76,7 @@ function f(e, m, B, u, h, _) {
|
|
|
77
76
|
_: 3
|
|
78
77
|
}, 8, ["class", "disabled"]);
|
|
79
78
|
}
|
|
80
|
-
const
|
|
79
|
+
const b = /* @__PURE__ */ p(c, [["render", f], ["__scopeId", "data-v-a73d49d5"]]);
|
|
81
80
|
export {
|
|
82
|
-
|
|
81
|
+
b as B
|
|
83
82
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { C as
|
|
3
|
-
|
|
4
|
-
const b = /* @__PURE__ */ a({
|
|
1
|
+
import { defineComponent as n, ref as s, openBlock as r, createElementBlock as d, createVNode as u, unref as i, withCtx as p, createTextVNode as c, toDisplayString as v, renderSlot as a } from "vue";
|
|
2
|
+
import { C as m, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js";
|
|
3
|
+
const f = /* @__PURE__ */ n({
|
|
5
4
|
__name: "CheckboxControl",
|
|
6
5
|
props: {
|
|
7
6
|
control: {},
|
|
@@ -14,28 +13,28 @@ const b = /* @__PURE__ */ a({
|
|
|
14
13
|
onRegisterValidation: { type: Function }
|
|
15
14
|
},
|
|
16
15
|
setup(h) {
|
|
17
|
-
const t =
|
|
18
|
-
return (e, o) => (
|
|
16
|
+
const t = s(!1);
|
|
17
|
+
return (e, o) => (r(), d("div", {
|
|
19
18
|
class: "checkbox-input",
|
|
20
19
|
onMouseover: o[0] || (o[0] = (l) => t.value = !0),
|
|
21
20
|
onMouseleave: o[1] || (o[1] = (l) => t.value = !1)
|
|
22
21
|
}, [
|
|
23
|
-
u(i(
|
|
22
|
+
u(i(m), {
|
|
24
23
|
class: "checkbox",
|
|
25
24
|
disabled: e.disabled,
|
|
26
25
|
"model-value": e.control.data,
|
|
27
26
|
"onUpdate:modelValue": e.changeValue
|
|
28
27
|
}, {
|
|
29
28
|
default: p(() => [
|
|
30
|
-
c(
|
|
31
|
-
|
|
29
|
+
c(v(e.control.label) + " ", 1),
|
|
30
|
+
a(e.$slots, "icon", {}, void 0, !0)
|
|
32
31
|
]),
|
|
33
32
|
_: 3
|
|
34
33
|
}, 8, ["disabled", "model-value", "onUpdate:modelValue"]),
|
|
35
|
-
|
|
34
|
+
a(e.$slots, "buttons", { hover: t.value }, void 0, !0)
|
|
36
35
|
], 32));
|
|
37
36
|
}
|
|
38
|
-
}),
|
|
37
|
+
}), k = /* @__PURE__ */ b(f, [["__scopeId", "data-v-79e98ad6"]]);
|
|
39
38
|
export {
|
|
40
|
-
|
|
39
|
+
k as default
|
|
41
40
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
import { _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-BEdJP1y9.js";
|
|
1
|
+
import { _ as c, C as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js";
|
|
2
|
+
import { resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as h, Fragment as m, renderList as p, createBlock as x, withCtx as b, renderSlot as V, createTextVNode as y, toDisplayString as k } from "vue";
|
|
4
3
|
const _ = {
|
|
5
4
|
name: "Checkboxes",
|
|
6
5
|
components: {
|
|
7
|
-
Checkbox:
|
|
6
|
+
Checkbox: u
|
|
8
7
|
},
|
|
9
8
|
props: {
|
|
10
9
|
/**
|
|
@@ -75,30 +74,32 @@ const _ = {
|
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
76
|
};
|
|
78
|
-
function
|
|
79
|
-
const
|
|
80
|
-
return
|
|
81
|
-
class:
|
|
77
|
+
function v(e, a, t, r, C, d) {
|
|
78
|
+
const n = f("Checkbox");
|
|
79
|
+
return o(), s("div", {
|
|
80
|
+
class: h(["checkboxes", t.alignment])
|
|
82
81
|
}, [
|
|
83
|
-
(
|
|
82
|
+
(o(!0), s(m, null, p(t.possibleValues, (l) => (o(), x(n, {
|
|
84
83
|
ref_for: !0,
|
|
85
84
|
ref: "boxes",
|
|
86
|
-
key: `checkboxes-${
|
|
87
|
-
"model-value": t.modelValue.indexOf(
|
|
88
|
-
title:
|
|
89
|
-
invalid:
|
|
85
|
+
key: `checkboxes-${l.id}`,
|
|
86
|
+
"model-value": t.modelValue.indexOf(l.id) > -1,
|
|
87
|
+
title: l.text,
|
|
88
|
+
invalid: l.invalid,
|
|
90
89
|
disabled: t.disabled,
|
|
91
90
|
class: "box",
|
|
92
|
-
"onUpdate:modelValue": (
|
|
91
|
+
"onUpdate:modelValue": (i) => d.onUpdateModelValue(l.id, i)
|
|
93
92
|
}, {
|
|
94
|
-
default:
|
|
95
|
-
|
|
93
|
+
default: b(() => [
|
|
94
|
+
V(e.$slots, "label", { slotItem: l }, () => [
|
|
95
|
+
y(k(l.text), 1)
|
|
96
|
+
], !0)
|
|
96
97
|
]),
|
|
97
98
|
_: 2
|
|
98
99
|
}, 1032, ["model-value", "title", "invalid", "disabled", "onUpdate:modelValue"]))), 128))
|
|
99
100
|
], 2);
|
|
100
101
|
}
|
|
101
|
-
const B = /* @__PURE__ */
|
|
102
|
+
const B = /* @__PURE__ */ c(_, [["render", v], ["__scopeId", "data-v-c83ea4f7"]]);
|
|
102
103
|
export {
|
|
103
104
|
B as C
|
|
104
105
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as c, computed as n, ref as r, toRef as u, onMounted as p, openBlock as d, createBlock as m, unref as b, createCommentVNode as f } from "vue";
|
|
2
|
+
import { o as h } from "./index-Blg1O3Fz.js";
|
|
3
|
+
import { u as v } from "./usePossibleValues-C3V_0Qn_.js";
|
|
4
|
+
import { C as V } from "./Checkboxes-BmUZ2CDH.js";
|
|
5
|
+
import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js";
|
|
6
|
+
const C = /* @__PURE__ */ c({
|
|
7
|
+
__name: "CheckboxesControl",
|
|
8
|
+
props: {
|
|
9
|
+
control: {},
|
|
10
|
+
handleChange: { type: Function },
|
|
11
|
+
changeValue: { type: Function },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
isValid: { type: Boolean },
|
|
14
|
+
onRegisterValidation: { type: Function },
|
|
15
|
+
labelForId: {}
|
|
16
|
+
},
|
|
17
|
+
setup(s) {
|
|
18
|
+
const o = s, t = n(
|
|
19
|
+
() => o.control.uischema.options?.checkboxLayout
|
|
20
|
+
), a = r(null), { possibleValues: i } = v(u(o, "control")), l = n(() => a.value ?? i.value);
|
|
21
|
+
return p(() => {
|
|
22
|
+
a.value = o.control.schema.anyOf ? o.control.schema.anyOf.map(h) : null;
|
|
23
|
+
}), (e, k) => l.value ? (d(), m(b(V), {
|
|
24
|
+
key: 0,
|
|
25
|
+
id: e.labelForId,
|
|
26
|
+
class: "checkboxes",
|
|
27
|
+
"possible-values": l.value,
|
|
28
|
+
alignment: t.value,
|
|
29
|
+
disabled: e.disabled,
|
|
30
|
+
"model-value": e.control.data,
|
|
31
|
+
"is-valid": e.isValid,
|
|
32
|
+
"onUpdate:modelValue": e.changeValue
|
|
33
|
+
}, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "is-valid", "onUpdate:modelValue"])) : f("", !0);
|
|
34
|
+
}
|
|
35
|
+
}), I = /* @__PURE__ */ y(C, [["__scopeId", "data-v-2891ceef"]]);
|
|
36
|
+
export {
|
|
37
|
+
I as default
|
|
38
|
+
};
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
1
|
+
import { resolveComponent as h, openBlock as d, createElementBlock as f, withModifiers as a, withKeys as r, normalizeClass as w, renderSlot as B, createElementVNode as m, toDisplayString as I, createVNode as c, withDirectives as S, normalizeStyle as A, Fragment as D, renderList as k, createBlock as C, withCtx as O, createTextVNode as $, vShow as P, defineComponent as M, vModelText as x, toRef as z, computed as F, unref as N } from "vue";
|
|
2
|
+
import { u as U } from "./usePossibleValues-C3V_0Qn_.js";
|
|
3
|
+
import { C as L } from "./close-BuY4mhXV.js";
|
|
4
|
+
import { _ as E, C as H, v as K } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
import { A as j } from "./arrow-dropdown-DdgjzLAO.js";
|
|
7
|
+
import { c as W } from "./createMissingItem-B00Kg95q.js";
|
|
8
|
+
const y = () => {
|
|
9
|
+
let e = document?.activeElement;
|
|
10
|
+
for (; e?.shadowRoot; )
|
|
11
|
+
e = e?.shadowRoot?.activeElement;
|
|
12
|
+
return e;
|
|
13
|
+
}, g = 1, G = 28.5, X = 8, q = {
|
|
12
14
|
name: "Multiselect",
|
|
13
15
|
components: {
|
|
14
|
-
Checkbox:
|
|
15
|
-
DropdownIcon:
|
|
16
|
+
Checkbox: H,
|
|
17
|
+
DropdownIcon: j
|
|
16
18
|
},
|
|
17
19
|
props: {
|
|
18
20
|
/**
|
|
@@ -120,12 +122,13 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
120
122
|
compact: {
|
|
121
123
|
type: Boolean,
|
|
122
124
|
default: !1
|
|
125
|
+
},
|
|
126
|
+
disabled: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: !1
|
|
123
129
|
}
|
|
124
130
|
},
|
|
125
131
|
emits: ["update:modelValue", "focusOutside"],
|
|
126
|
-
setup() {
|
|
127
|
-
return { activeElement: W() };
|
|
128
|
-
},
|
|
129
132
|
data() {
|
|
130
133
|
return {
|
|
131
134
|
collapsed: !0,
|
|
@@ -147,7 +150,7 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
147
150
|
},
|
|
148
151
|
optionsHeight() {
|
|
149
152
|
return this.useSpecificOptionsHeight ? {
|
|
150
|
-
"max-height": `${this.sizeVisibleOptions *
|
|
153
|
+
"max-height": `${this.sizeVisibleOptions * G + X}px`
|
|
151
154
|
} : {};
|
|
152
155
|
},
|
|
153
156
|
refocusElementOnClose() {
|
|
@@ -168,17 +171,16 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
168
171
|
* @param {Number} changeInd - the positive or negative index shift for the next Element (usually 1 || -1).
|
|
169
172
|
* @returns {Element} - the next option Element in the list of options.
|
|
170
173
|
*/
|
|
171
|
-
getNextElement(e) {
|
|
172
|
-
return this.focusOptions[this.focusOptions.indexOf(
|
|
174
|
+
getNextElement(e, t = y()) {
|
|
175
|
+
return this.focusOptions[this.focusOptions.indexOf(t) + e] || (e < 0 ? this.focusOptions[this.focusOptions.length - 1] : this.focusOptions[0]);
|
|
173
176
|
},
|
|
174
177
|
onUpdateModelValue(e, t) {
|
|
175
|
-
t ? this.modelValue.indexOf(e) === -1 && this.emitNewSelection([...this.modelValue, e]) : this.emitNewSelection(this.modelValue.filter((
|
|
178
|
+
t ? this.modelValue.indexOf(e) === -1 && this.emitNewSelection([...this.modelValue, e]) : this.emitNewSelection(this.modelValue.filter((o) => o !== e)), this.closeDropdownOnSelection && this.closeOptions();
|
|
176
179
|
},
|
|
177
180
|
toggle() {
|
|
178
181
|
this.collapsed = !this.collapsed, setTimeout(() => {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}, y);
|
|
182
|
+
this.$refs.toggle?.focus();
|
|
183
|
+
}, g);
|
|
182
184
|
},
|
|
183
185
|
isChecked(e) {
|
|
184
186
|
return this.modelValue.includes(e);
|
|
@@ -193,7 +195,7 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
193
195
|
closeOptions(e = !0) {
|
|
194
196
|
this.collapsed = !0, e && setTimeout(() => {
|
|
195
197
|
this.refocusElementOnClose.focus();
|
|
196
|
-
},
|
|
198
|
+
}, g);
|
|
197
199
|
},
|
|
198
200
|
/**
|
|
199
201
|
* Handle closing the options if necessary and stopping the event if so.
|
|
@@ -206,7 +208,8 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
206
208
|
},
|
|
207
209
|
/* Handle arrow key "up" events. */
|
|
208
210
|
onUp() {
|
|
209
|
-
|
|
211
|
+
const e = y();
|
|
212
|
+
e !== this.$refs.toggle && this.getNextElement(-1, e).focus();
|
|
210
213
|
},
|
|
211
214
|
/* Handle arrow key "down" events. */
|
|
212
215
|
onDown() {
|
|
@@ -218,8 +221,8 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
218
221
|
*/
|
|
219
222
|
onFocusOut() {
|
|
220
223
|
setTimeout(() => {
|
|
221
|
-
this.focusElements.includes(
|
|
222
|
-
},
|
|
224
|
+
this.focusElements.includes(y()) || (this.closeOptions(!1), this.useCustomListBox && this.$emit("focusOutside"));
|
|
225
|
+
}, g);
|
|
223
226
|
},
|
|
224
227
|
/*
|
|
225
228
|
* Manually prevents default event bubbling and propagation for mousedown which can fire blur events that
|
|
@@ -239,62 +242,65 @@ const y = 1, J = 28.5, Q = 8, Y = {
|
|
|
239
242
|
).map((e) => e.$el && e.$el.firstChild));
|
|
240
243
|
}
|
|
241
244
|
}
|
|
242
|
-
},
|
|
243
|
-
function
|
|
244
|
-
const
|
|
245
|
-
return d(),
|
|
245
|
+
}, J = { key: 1 }, Q = ["tabindex"];
|
|
246
|
+
function Y(e, t, o, n, b, s) {
|
|
247
|
+
const p = h("DropdownIcon"), u = h("Checkbox");
|
|
248
|
+
return d(), f("div", {
|
|
246
249
|
ref: "multiselect",
|
|
247
|
-
class: w([
|
|
250
|
+
class: w([
|
|
251
|
+
"multiselect",
|
|
252
|
+
{ collapsed: b.collapsed, invalid: !o.isValid, compact: o.compact, disabled: o.disabled }
|
|
253
|
+
]),
|
|
248
254
|
onKeydown: [
|
|
249
|
-
t[2] || (t[2] = r((...
|
|
250
|
-
t[3] || (t[3] = r(a((...
|
|
251
|
-
t[4] || (t[4] = r(a((...
|
|
255
|
+
t[2] || (t[2] = r((...l) => s.closeOptionsAndStop && s.closeOptionsAndStop(...l), ["esc"])),
|
|
256
|
+
t[3] || (t[3] = r(a((...l) => s.onUp && s.onUp(...l), ["stop", "prevent"]), ["up"])),
|
|
257
|
+
t[4] || (t[4] = r(a((...l) => s.onDown && s.onDown(...l), ["stop", "prevent"]), ["down"]))
|
|
252
258
|
],
|
|
253
|
-
onFocusout: t[5] || (t[5] = a((...
|
|
254
|
-
onMousedown: t[6] || (t[6] = (...
|
|
259
|
+
onFocusout: t[5] || (t[5] = a((...l) => s.onFocusOut && s.onFocusOut(...l), ["stop"])),
|
|
260
|
+
onMousedown: t[6] || (t[6] = (...l) => s.onMousedown && s.onMousedown(...l))
|
|
255
261
|
}, [
|
|
256
|
-
|
|
257
|
-
|
|
262
|
+
o.useCustomListBox ? B(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), f("div", J, [
|
|
263
|
+
m("div", {
|
|
258
264
|
ref: "toggle",
|
|
259
265
|
role: "button",
|
|
260
|
-
tabindex:
|
|
261
|
-
class: w({ placeholder: !
|
|
262
|
-
onClick: t[0] || (t[0] = (...
|
|
263
|
-
onKeydown: t[1] || (t[1] = r(a((...
|
|
264
|
-
},
|
|
265
|
-
|
|
266
|
+
tabindex: o.disabled ? -1 : 0,
|
|
267
|
+
class: w({ placeholder: !o.modelValue.length }),
|
|
268
|
+
onClick: t[0] || (t[0] = (...l) => s.toggle && s.toggle(...l)),
|
|
269
|
+
onKeydown: t[1] || (t[1] = r(a((...l) => s.toggle && s.toggle(...l), ["prevent"]), ["space"]))
|
|
270
|
+
}, I(s.summary), 43, Q),
|
|
271
|
+
c(p, { class: "icon" })
|
|
266
272
|
])),
|
|
267
|
-
|
|
273
|
+
S(m("div", {
|
|
268
274
|
class: "options",
|
|
269
|
-
style: A(
|
|
275
|
+
style: A(s.optionsHeight)
|
|
270
276
|
}, [
|
|
271
|
-
(d(!0),
|
|
277
|
+
(d(!0), f(D, null, k(o.possibleValues, (l, i) => (d(), C(u, {
|
|
272
278
|
ref_for: !0,
|
|
273
279
|
ref: "option",
|
|
274
|
-
key: `multiselect-${
|
|
275
|
-
"data-index":
|
|
276
|
-
"model-value":
|
|
277
|
-
disabled:
|
|
280
|
+
key: `multiselect-${l.id}`,
|
|
281
|
+
"data-index": i,
|
|
282
|
+
"model-value": s.isChecked(l.id),
|
|
283
|
+
disabled: l.disabled,
|
|
278
284
|
class: "boxes",
|
|
279
|
-
"onUpdate:modelValue": (
|
|
285
|
+
"onUpdate:modelValue": (V) => s.onUpdateModelValue(l.id, V)
|
|
280
286
|
}, {
|
|
281
287
|
default: O(() => [
|
|
282
|
-
$(
|
|
288
|
+
$(I(l.text), 1)
|
|
283
289
|
]),
|
|
284
290
|
_: 2
|
|
285
291
|
}, 1032, ["data-index", "model-value", "disabled", "onUpdate:modelValue"]))), 128)),
|
|
286
|
-
|
|
292
|
+
B(e.$slots, "selectAction", {}, void 0, !0)
|
|
287
293
|
], 4), [
|
|
288
|
-
[P,
|
|
294
|
+
[P, s.showOptions]
|
|
289
295
|
])
|
|
290
296
|
], 34);
|
|
291
297
|
}
|
|
292
|
-
const
|
|
298
|
+
const Z = /* @__PURE__ */ E(q, [["render", Y], ["__scopeId", "data-v-eeb8fb15"]]), v = "draft-id-combobox-preview-item", _ = M({
|
|
293
299
|
name: "ComboBox",
|
|
294
300
|
components: {
|
|
295
|
-
Multiselect:
|
|
296
|
-
FunctionButton:
|
|
297
|
-
CloseIcon:
|
|
301
|
+
Multiselect: Z,
|
|
302
|
+
FunctionButton: K,
|
|
303
|
+
CloseIcon: L
|
|
298
304
|
},
|
|
299
305
|
props: {
|
|
300
306
|
/**
|
|
@@ -352,6 +358,10 @@ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
352
358
|
maxCharactersPerItem: {
|
|
353
359
|
type: Number,
|
|
354
360
|
default: null
|
|
361
|
+
},
|
|
362
|
+
disabled: {
|
|
363
|
+
type: Boolean,
|
|
364
|
+
default: !1
|
|
355
365
|
}
|
|
356
366
|
},
|
|
357
367
|
emits: {
|
|
@@ -383,9 +393,9 @@ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
383
393
|
},
|
|
384
394
|
searchResults() {
|
|
385
395
|
const e = this.allPossibleItems.some(
|
|
386
|
-
({ id:
|
|
396
|
+
({ id: o, text: n }) => o === this.trimmedSearchValue || n === this.trimmedSearchValue
|
|
387
397
|
), t = this.allPossibleItems.filter(
|
|
388
|
-
({ id:
|
|
398
|
+
({ id: o, text: n }) => n.toLowerCase().includes(this.trimmedLowerCasedSearchValue) || o === this.trimmedSearchValue
|
|
389
399
|
);
|
|
390
400
|
return this.allowNewValues && !e && !this.isSearchEmpty ? [
|
|
391
401
|
{ id: v, text: `${this.trimmedSearchValue} (new item)` },
|
|
@@ -400,7 +410,7 @@ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
400
410
|
},
|
|
401
411
|
selectedValues() {
|
|
402
412
|
return this.modelValue.map(
|
|
403
|
-
(e) => this.allPossibleItems.find((t) => e === t.id) ||
|
|
413
|
+
(e) => this.allPossibleItems.find((t) => e === t.id) || W(e)
|
|
404
414
|
);
|
|
405
415
|
},
|
|
406
416
|
maxSizeVisibleOptions() {
|
|
@@ -426,8 +436,7 @@ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
426
436
|
this.$refs.combobox.onDown();
|
|
427
437
|
},
|
|
428
438
|
onEnter() {
|
|
429
|
-
|
|
430
|
-
this.isSearchEmpty || typeof ((e = this.searchResults[0]) == null ? void 0 : e.id) > "u" || this.modelValue.includes(this.searchResults[0].id) || (this.updateSelectedIds([...this.modelValue, this.searchResults[0].id]), this.searchValue = "");
|
|
439
|
+
this.isSearchEmpty || typeof this.searchResults[0]?.id > "u" || this.modelValue.includes(this.searchResults[0].id) || (this.updateSelectedIds([...this.modelValue, this.searchResults[0].id]), this.searchValue = "");
|
|
431
440
|
},
|
|
432
441
|
onBackspace() {
|
|
433
442
|
this.searchValue || this.emitNewSelection(this.modelValue.slice(0, -1));
|
|
@@ -446,12 +455,12 @@ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
446
455
|
this.emitNewSelection(e);
|
|
447
456
|
return;
|
|
448
457
|
}
|
|
449
|
-
const
|
|
458
|
+
const o = {
|
|
450
459
|
id: this.trimmedSearchValue,
|
|
451
460
|
text: this.trimmedSearchValue
|
|
452
461
|
};
|
|
453
|
-
this.allPossibleItems.push(
|
|
454
|
-
e.map((n) => n === v ?
|
|
462
|
+
this.allPossibleItems.push(o), this.emitNewSelection(
|
|
463
|
+
e.map((n) => n === v ? o.id : n)
|
|
455
464
|
);
|
|
456
465
|
},
|
|
457
466
|
removeTag(e) {
|
|
@@ -476,10 +485,10 @@ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
|
|
|
476
485
|
};
|
|
477
486
|
}
|
|
478
487
|
}
|
|
479
|
-
}),
|
|
480
|
-
function
|
|
481
|
-
const
|
|
482
|
-
return d(),
|
|
488
|
+
}), ee = ["tabindex"], te = ["title"], se = ["maxlength", "disabled"], oe = { class: "icon-right" };
|
|
489
|
+
function le(e, t, o, n, b, s) {
|
|
490
|
+
const p = h("CloseIcon"), u = h("FunctionButton"), l = h("Multiselect");
|
|
491
|
+
return d(), C(l, {
|
|
483
492
|
ref: "combobox",
|
|
484
493
|
"model-value": e.modelValue,
|
|
485
494
|
"possible-values": e.searchResults,
|
|
@@ -490,82 +499,86 @@ function ie(e, t, i, n, m, o) {
|
|
|
490
499
|
"close-dropdown-on-selection": e.closeDropdownOnSelection,
|
|
491
500
|
"is-valid": e.isValid,
|
|
492
501
|
compact: e.compact,
|
|
502
|
+
disabled: e.disabled,
|
|
493
503
|
onFocusOutside: e.onFocusOutside,
|
|
494
504
|
"onUpdate:modelValue": e.updateSelectedIds
|
|
495
505
|
}, {
|
|
496
506
|
listBox: O(() => [
|
|
497
|
-
|
|
507
|
+
m("div", {
|
|
498
508
|
ref: "listBox",
|
|
499
509
|
class: "summary-input-icon-wrapper",
|
|
500
|
-
tabindex:
|
|
501
|
-
onKeydown: t[8] || (t[8] = r(a((...
|
|
510
|
+
tabindex: e.disabled ? -1 : 0,
|
|
511
|
+
onKeydown: t[8] || (t[8] = r(a((...i) => e.focusInput && e.focusInput(...i), ["prevent", "self"]), ["enter"]))
|
|
502
512
|
}, [
|
|
503
|
-
|
|
513
|
+
m("div", {
|
|
504
514
|
class: w([
|
|
505
515
|
"summary-input-wrapper",
|
|
506
516
|
{ "with-icon-right": e.hasSelection, compact: e.compact }
|
|
507
517
|
]),
|
|
508
|
-
onClick: t[7] || (t[7] = a((...
|
|
518
|
+
onClick: t[7] || (t[7] = a((...i) => e.focusInput && e.focusInput(...i), ["stop"]))
|
|
509
519
|
}, [
|
|
510
|
-
(d(!0),
|
|
520
|
+
(d(!0), f(D, null, k(e.selectedValues, ({ id: i, text: V, invalid: R }, T) => (d(), f("div", {
|
|
511
521
|
key: `item.id${T}`,
|
|
512
522
|
class: "tag",
|
|
513
|
-
title:
|
|
523
|
+
title: V
|
|
514
524
|
}, [
|
|
515
|
-
|
|
516
|
-
class: w(["text", { invalid:
|
|
517
|
-
},
|
|
518
|
-
|
|
525
|
+
m("span", {
|
|
526
|
+
class: w(["text", { invalid: R }])
|
|
527
|
+
}, I(V), 3),
|
|
528
|
+
c(u, {
|
|
519
529
|
class: "remove-tag-button",
|
|
520
530
|
compact: e.compact,
|
|
521
|
-
|
|
531
|
+
disabled: e.disabled,
|
|
532
|
+
onClick: a((ae) => e.removeTag(i), ["stop"])
|
|
522
533
|
}, {
|
|
523
534
|
default: O(() => [
|
|
524
|
-
|
|
535
|
+
c(p, { class: "remove-tag-button-icon" })
|
|
525
536
|
]),
|
|
526
537
|
_: 2
|
|
527
|
-
}, 1032, ["compact", "onClick"])
|
|
528
|
-
], 8,
|
|
529
|
-
|
|
538
|
+
}, 1032, ["compact", "disabled", "onClick"])
|
|
539
|
+
], 8, te))), 128)),
|
|
540
|
+
S(m("input", {
|
|
530
541
|
ref: "searchInput",
|
|
531
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
542
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
|
|
532
543
|
class: "search-input",
|
|
533
544
|
type: "text",
|
|
534
545
|
style: A(e.inputWidth),
|
|
535
546
|
maxlength: e.maxCharactersPerItem,
|
|
536
|
-
|
|
537
|
-
|
|
547
|
+
disabled: e.disabled,
|
|
548
|
+
onFocus: t[1] || (t[1] = (...i) => e.onInputFocus && e.onInputFocus(...i)),
|
|
549
|
+
onInput: t[2] || (t[2] = (...i) => e.onInput && e.onInput(...i)),
|
|
538
550
|
onKeydown: [
|
|
539
|
-
t[3] || (t[3] = r(a((...
|
|
540
|
-
t[4] || (t[4] = r((...
|
|
541
|
-
t[5] || (t[5] = r(a((...
|
|
542
|
-
t[6] || (t[6] = r((...
|
|
551
|
+
t[3] || (t[3] = r(a((...i) => e.onEnter && e.onEnter(...i), ["prevent"]), ["enter"])),
|
|
552
|
+
t[4] || (t[4] = r((...i) => e.onBackspace && e.onBackspace(...i), ["backspace"])),
|
|
553
|
+
t[5] || (t[5] = r(a((...i) => e.onDown && e.onDown(...i), ["stop", "prevent"]), ["down"])),
|
|
554
|
+
t[6] || (t[6] = r((...i) => e.closeOptionsAndStop && e.closeOptionsAndStop(...i), ["esc"]))
|
|
543
555
|
]
|
|
544
|
-
}, null, 44,
|
|
545
|
-
[
|
|
556
|
+
}, null, 44, se), [
|
|
557
|
+
[x, e.searchValue]
|
|
546
558
|
])
|
|
547
559
|
], 2),
|
|
548
|
-
|
|
549
|
-
|
|
560
|
+
S(m("div", oe, [
|
|
561
|
+
c(u, {
|
|
550
562
|
ref: "removeAllTags",
|
|
551
563
|
class: "remove-all-tags-button",
|
|
552
564
|
compact: e.compact,
|
|
565
|
+
disabled: e.disabled,
|
|
553
566
|
onClick: a(e.removeAllTags, ["stop"])
|
|
554
567
|
}, {
|
|
555
568
|
default: O(() => [
|
|
556
|
-
|
|
569
|
+
c(p)
|
|
557
570
|
]),
|
|
558
571
|
_: 1
|
|
559
|
-
}, 8, ["compact", "onClick"])
|
|
572
|
+
}, 8, ["compact", "disabled", "onClick"])
|
|
560
573
|
], 512), [
|
|
561
574
|
[P, e.hasSelection]
|
|
562
575
|
])
|
|
563
|
-
],
|
|
576
|
+
], 40, ee)
|
|
564
577
|
]),
|
|
565
578
|
_: 1
|
|
566
|
-
}, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "onFocusOutside", "onUpdate:modelValue"]);
|
|
579
|
+
}, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "disabled", "onFocusOutside", "onUpdate:modelValue"]);
|
|
567
580
|
}
|
|
568
|
-
const
|
|
581
|
+
const ie = /* @__PURE__ */ E(_, [["render", le], ["__scopeId", "data-v-b2800209"]]), ne = /* @__PURE__ */ M({
|
|
569
582
|
__name: "ComboBoxControl",
|
|
570
583
|
props: {
|
|
571
584
|
control: {},
|
|
@@ -577,29 +590,24 @@ const ne = /* @__PURE__ */ C(te, [["render", ie], ["__scopeId", "data-v-418fb7c5
|
|
|
577
590
|
labelForId: {}
|
|
578
591
|
},
|
|
579
592
|
setup(e) {
|
|
580
|
-
const t = e,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
const o = B(
|
|
585
|
-
() => m.value === null || m.value.length === 0
|
|
586
|
-
), c = B(
|
|
587
|
-
() => t.disabled || o.value
|
|
593
|
+
const t = e, { possibleValues: o } = U(z(t, "control")), n = F(
|
|
594
|
+
() => o.value === null || o.value.length === 0
|
|
595
|
+
), b = F(
|
|
596
|
+
() => t.disabled || n.value
|
|
588
597
|
);
|
|
589
|
-
return (
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
"
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
"
|
|
596
|
-
"
|
|
597
|
-
"is-valid": u.isValid,
|
|
598
|
+
return (s, p) => (d(), C(N(ie), {
|
|
599
|
+
id: s.labelForId,
|
|
600
|
+
"allow-new-values": n.value ? "" : !1,
|
|
601
|
+
"aria-label": s.control.label,
|
|
602
|
+
disabled: b.value,
|
|
603
|
+
"possible-values": n.value ? s.control.data.map((u) => ({ id: u, text: u })) : N(o),
|
|
604
|
+
"model-value": s.control.data,
|
|
605
|
+
"is-valid": s.isValid,
|
|
598
606
|
compact: "",
|
|
599
|
-
"onUpdate:modelValue":
|
|
600
|
-
}, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"]))
|
|
607
|
+
"onUpdate:modelValue": p[0] || (p[0] = (u) => s.changeValue(u))
|
|
608
|
+
}, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"]));
|
|
601
609
|
}
|
|
602
|
-
}),
|
|
610
|
+
}), fe = /* @__PURE__ */ E(ne, [["__scopeId", "data-v-7d8de6e7"]]);
|
|
603
611
|
export {
|
|
604
|
-
|
|
612
|
+
fe as default
|
|
605
613
|
};
|