@knime/jsonforms 1.15.1 → 1.15.3

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.
Files changed (296) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/AnyOfTwinlist-KB0IjyOd.js +22 -0
  3. package/dist/{Button-B9RSLVI2.js → Button-B6NccR4s.js} +7 -8
  4. package/dist/CheckboxControl-CYfjLF_Q.js +40 -0
  5. package/dist/Checkboxes-D2Of8wBA.js +105 -0
  6. package/dist/CheckboxesControl-BktrOnVe.js +38 -0
  7. package/dist/{ComboBoxControl-2r1FWcy-.js → ComboBoxControl-BUOtNRUR.js} +165 -234
  8. package/dist/DateControl-CR9yBHT0.js +34 -0
  9. package/dist/DateTimeControl-mxyPurHh.js +44 -0
  10. package/dist/DateTimeFormatInput-CRxeQ0Zh.js +373 -0
  11. package/dist/DateTimeFormatPickerControl-CehuGkzU.js +40 -0
  12. package/dist/DateTimeFormatPickerWithTypeControl-mC42XrIO.js +76 -0
  13. package/dist/{Dropdown-D49sEHBa.js → Dropdown-BeD0EGmH.js} +87 -145
  14. package/dist/DropdownControl-BzJ4RWdp.js +31 -0
  15. package/dist/HorizontalLayout-D7SNG8xY.js +25 -0
  16. package/dist/{InputField-C_aZPs-f.js → InputField-Z_TvmegD.js} +36 -48
  17. package/dist/IntegerControl-BumFaaD0.js +20 -0
  18. package/dist/IntervalControl-CsmmAUQZ.js +545 -0
  19. package/dist/LoadingDropdown-rhddxaPI.js +72 -0
  20. package/dist/LoadingIcon-Fu4ZKrdj.js +18 -0
  21. package/dist/ManualTwinlistControl-phvyxHwm.js +79 -0
  22. package/dist/MultiSelectListBoxControl-8TfBURKM.js +31 -0
  23. package/dist/MultimodeTwinlistControl-Dm1PWjAe.js +499 -0
  24. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_bd2eaa56_lang-pnMOUiIt.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_2c8e8d82_lang-BR3eNADi.js} +7 -6
  25. package/dist/{MultiselectListBox-CfdPbcn1.js → MultiselectListBox-B31ZfMfu.js} +83 -102
  26. package/dist/NameFilter-BA29AcPW.js +24 -0
  27. package/dist/NumberControl-Da2etxiM.js +20 -0
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-BNrHgQ8S.js +50 -0
  29. package/dist/{NumberInput-DWTImcA_.js → NumberInput-DYMhWjUe.js} +54 -72
  30. package/dist/OneOfDropdown-DKmDvBWW.js +33 -0
  31. package/dist/RadioControl-BXUGZ9wv.js +24 -0
  32. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-W1ekTlJW.js +104 -0
  33. package/dist/{RichTextControl-B1mJMs1e.js → RichTextControl-CmHdELxR.js} +3777 -4126
  34. package/dist/SectionHeading-BG2yzVJD.js +19 -0
  35. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CB-Psmtt.js} +5284 -5456
  36. package/dist/SectionLayout-Bnm0Jl3H.js +46 -0
  37. package/dist/SettingsSubPanel-BY9KQcH7.js +5 -0
  38. package/dist/SettingsSubPanelLayout-DWhYLL3Z.js +62 -0
  39. package/dist/SimpleButtonControl-bjRoDhnR.js +61 -0
  40. package/dist/SimpleTwinlistControl-DqRByJvP.js +25 -0
  41. package/dist/SingleSelectControl-C8xAQWvt.js +55 -0
  42. package/dist/SingleSelectListBoxControl-DOA07yeJ.js +232 -0
  43. package/dist/SortListControl-BfpG7HYZ.js +377 -0
  44. package/dist/StyledListItem-B9I3u4_i.js +76 -0
  45. package/dist/TextAreaControl-C7ICVJ17.js +108 -0
  46. package/dist/TextControl-9dzJf6hH.js +4 -0
  47. package/dist/TextControl.vue_vue_type_script_setup_true_lang-B2nV46-b.js +47 -0
  48. package/dist/TimeControl-cbvEThGD.js +35 -0
  49. package/dist/TwinlistControlBase-D6ffMZbh.js +40 -0
  50. package/dist/TwinlistLoadingInfo-CB-TBzpK.js +956 -0
  51. package/dist/TypedStringFilter-C8njK-LK.js +26 -0
  52. package/dist/ValueSwitch-BkpbDab4.js +131 -0
  53. package/dist/ValueSwitchControl-DuvmApeV.js +20 -0
  54. package/dist/VerticalLayout-Cpti_fKY.js +30 -0
  55. package/dist/VerticalLayoutBase-BHsF4RN4.js +20 -0
  56. package/dist/ZonedDateTimeControl-CjOD_mZp.js +68 -0
  57. package/dist/{_baseEach-CWap1NWh.js → _baseEach-V7XhUaXb.js} +2 -2
  58. package/dist/{_baseIteratee-D0MXvnuf.js → _baseIteratee-C1so1JZP.js} +3 -3
  59. package/dist/{_getTag-BvpAzjaz.js → _getTag-BHYRy9P4.js} +1 -1
  60. package/dist/ai-general-CEjHPwV_-Ws4CQTjh.js +22 -0
  61. package/dist/annotation-mode-RuLeuF8s-UjD_emkZ.js +22 -0
  62. package/dist/arrow-down-BUkisWSu-7Ciz802S.js +22 -0
  63. package/dist/{arrow-dropdown-eS-nVNCv.js → arrow-dropdown-BAFsD8Su.js} +1 -7
  64. package/dist/{arrow-next-BmOStWql.js → arrow-next-BQVCxGb8.js} +1 -7
  65. package/dist/arrow-up-BD0GygxZ-CCHoDJ4b.js +22 -0
  66. package/dist/arrows-expand-D4HnemK6-B0MREwqc.js +22 -0
  67. package/dist/arrows-move-MByhxCHY-BjC6qPku.js +22 -0
  68. package/dist/arrows-order-DG9bLo_s-DLValluv.js +22 -0
  69. package/dist/audio-datatype-ChGlgbFR-C9yB9qQX.js +22 -0
  70. package/dist/back-knRL_H9j-B7vbidIG.js +22 -0
  71. package/dist/binary-object-datatype-CduhSXn7-BqOw5870.js +22 -0
  72. package/dist/bit-byte-vector-datatype-53diw48X-BLCCXzfE.js +22 -0
  73. package/dist/bold-Bpd1mjNS-B5iYJAZi.js +22 -0
  74. package/dist/boolean-datatype-CNMwV1-Q-CRrTrCct.js +26 -0
  75. package/dist/calendar-DTdbEMEZ-CbCE8k3Z.js +22 -0
  76. package/dist/case-sensitive-ULceA_jf-BMZr4Uv2.js +21 -0
  77. package/dist/center-aligned-X-iYFab0-D_5CZBTu.js +21 -0
  78. package/dist/checkmark-DmnbDwa7-04ebZpBP.js +22 -0
  79. package/dist/chevron-down-DUgPIDVj-DfDUifQz.js +22 -0
  80. package/dist/chevron-left-double-UgFnDa0n-DK1ekeue.js +22 -0
  81. package/dist/chevron-left-reHqFzYq-BpGcSX3v.js +22 -0
  82. package/dist/chevron-right-CqpG4jxa-C3yxzvbr.js +22 -0
  83. package/dist/chevron-right-double-DAZZqg3Y-CKSzeBGi.js +22 -0
  84. package/dist/chevron-up-CP9hfisr-q9ehBZii.js +22 -0
  85. package/dist/circle-error-CUKvliKO-CY2WZ8Yu.js +22 -0
  86. package/dist/circle-info-BHbc2Dfd-DjxVneVH.js +22 -0
  87. package/dist/circle-question-DJKFX8BS-DemRyGld.js +22 -0
  88. package/dist/circle-success-CzR_IhiJ-BxGLvnN_.js +22 -0
  89. package/dist/{close-0dYG2oDA.js → close-DGt8x-x_.js} +1 -7
  90. package/dist/cloud-download-BjycS45T-FbmeADIb.js +22 -0
  91. package/dist/cloud-knime-CbfH2QXI-63AvDFXk.js +22 -0
  92. package/dist/cloud-upload-CBM_ZPio-KKGmnW3v.js +22 -0
  93. package/dist/cloud-workflow-CHVooPRY-CdpSEAvP.js +22 -0
  94. package/dist/code-block-8dTtpw7o-Bpnzr3bG.js +22 -0
  95. package/dist/collection-list-datatype-BbBxWNoQ-DpFl0VV9.js +22 -0
  96. package/dist/collection-set-datatype-gfqJuoiV-DHqHCn-t.js +21 -0
  97. package/dist/color-picker-D7gvyEaI-8-cXx3az.js +22 -0
  98. package/dist/component-B2Ox0yYN-C6AVyKeh.js +22 -0
  99. package/dist/connection-p5pto_YK-Cke7KKAq.js +22 -0
  100. package/dist/cursor-Dwgv2ML3-qpfZBmQp.js +21 -0
  101. package/dist/data-app-BdXYo7bC-DoNSmz6g.js +22 -0
  102. package/dist/date-datatype-Cq5Mb-Rz-DIzzhN7A.js +22 -0
  103. package/dist/date-time-CXa0bmvO-CSPhgyei.js +22 -0
  104. package/dist/date-time-local-datatype-2M1INwiQ-trbdFDK0.js +22 -0
  105. package/dist/date-time-zoned-datatype-olQRLG4p-5F-HIRMj.js +22 -0
  106. package/dist/db-database-CrBCUTVq-DPR5FRmG.js +22 -0
  107. package/dist/default-extension-datatype-CpH9a_4m-D5plEQxZ.js +22 -0
  108. package/dist/deploy-CF4vcyzf-of6OID4b.js +22 -0
  109. package/dist/detect-DXa-xFxA-C7dMSsxW.js +22 -0
  110. package/dist/divider-CnnToczp-CGGtzjnC.js +21 -0
  111. package/dist/document-datatype-B_hkllA_-CGgMSV4R.js +21 -0
  112. package/dist/duration-DE7cktzt-eEHO9S8B.js +22 -0
  113. package/dist/duration-date-based-datatype-DvzT3E6b-CHbxSq-h.js +22 -0
  114. package/dist/duration-time-based-datatype-DBJN91Tu-BZjQb5c1.js +22 -0
  115. package/dist/edit-DupAoog2-V1o26yCi.js +21 -0
  116. package/dist/education-DS376EBJ-MBW9Fmv0.js +22 -0
  117. package/dist/error-panel-DlRk6QCO-DF4HcG70.js +22 -0
  118. package/dist/execute-Dunu5ajY-CyA1tf6J.js +22 -0
  119. package/dist/extension-4JadjVME-DONRz7Fy.js +22 -0
  120. package/dist/extension-community-De5e8OmM-BwsIc20s.js +22 -0
  121. package/dist/external-link-BiXB78-O-PBQVGo51.js +22 -0
  122. package/dist/eye-CYWX12bw-Duq6UB1r.js +25 -0
  123. package/dist/file-CWu1D3xj-BXKZosMT.js +22 -0
  124. package/dist/file-export-0X3T5whR-D6SzZyYm.js +22 -0
  125. package/dist/file-text-CUzJs5fe-jBAICYSE.js +21 -0
  126. package/dist/filter-DGIMoqM1-BEeW36bJ.js +21 -0
  127. package/dist/flow-variable-in-DfVHb8Q6-COt9hMCY.js +30 -0
  128. package/dist/flow-variable-in-out-CZXPlePz-utwyMbr7.js +38 -0
  129. package/dist/flow-variable-out-B5GnAU2d-Bk5KWFVz.js +30 -0
  130. package/dist/folder-CgOQXlsa-BxF1RKvI.js +22 -0
  131. package/dist/folder-plus-BtmuHB9m-Db5nOPcU.js +22 -0
  132. package/dist/folder-workflow-NI_2jW5M-nhwxiBes.js +22 -0
  133. package/dist/forum-CclgZ-7j-Ch4iTpbg.js +21 -0
  134. package/dist/function-catalog-BthrkGfD-BKjqGzmj.js +22 -0
  135. package/dist/geo-datatype-D22EVbiv-ayQNz1bu.js +26 -0
  136. package/dist/helm-datatype-BkZDIKEu-BX7Wrfzo.js +22 -0
  137. package/dist/home-Bcvrgb6q-BaLxJAg5.js +22 -0
  138. package/dist/image-png-datatype-DXI1vyFc-Duz6guvj.js +22 -0
  139. package/dist/image-svg-datatype-BkoxDjfE-Be0zggV3.js +22 -0
  140. package/dist/import-B6KLpALE-BoGDBxM_.js +22 -0
  141. package/dist/index-DVwliH8a.js +203 -0
  142. package/dist/info-7Q08hRgI-4fDQFef5.js +22 -0
  143. package/dist/interval-Dx80AKo_-Bnhqrgsh.js +22 -0
  144. package/dist/italic-DLUAn2LT-BgOIC--C.js +22 -0
  145. package/dist/json-datatype-CslAT-V1-DU--8PR0.js +22 -0
  146. package/dist/knime-jsonforms.css +1 -1
  147. package/dist/knime-jsonforms.js +108 -134
  148. package/dist/labeling-datatype-EUXY6MBu-B12d4jQb.js +25 -0
  149. package/dist/left-aligned-CgdRLlyj-Cm-CRIOX.js +22 -0
  150. package/dist/like-D2rnvJMO-DlkiV5WW.js +21 -0
  151. package/dist/limit-D87-XMRT-gnCILrJ-.js +22 -0
  152. package/dist/linear-notation-molecule-d5kP2xXs-B3u2ek3a.js +22 -0
  153. package/dist/link-B0lweV4V-n04-QiHw.js +22 -0
  154. package/dist/linked-metanode-Ik1_jf67-UFS5CX2f.js +22 -0
  155. package/dist/list-R-YhBe4M-9y9ToEYk.js +22 -0
  156. package/dist/list-bulletpoint-Bsyc6vEO-CzvpFsXE.js +22 -0
  157. package/dist/list-number-D2-3aYNM-B68POlSr.js +22 -0
  158. package/dist/list-thumbs-C_gV8qiQ-DoJ2-xy8.js +22 -0
  159. package/dist/local-filesystem-zGOmKpFY-txQFr1oD.js +22 -0
  160. package/dist/{DateTimeInput-DcwhvMD2.js → localTimeUtils-_Nz5xQcb.js} +4511 -3695
  161. package/dist/lock-mlEwUUt1-C_POpKZ0.js +22 -0
  162. package/dist/message-datatype-C9-EmnSB-DqyiLZm4.js +22 -0
  163. package/dist/metanode-DtkJqhjE-Clj0bnmY.js +22 -0
  164. package/dist/microscope-DS6bN3jk-h146aLkM.js +22 -0
  165. package/dist/minus-CjUP6_Q8-CRcR7Lhz.js +21 -0
  166. package/dist/model-pmml-datatype-94e99we--DlRQACuj.js +22 -0
  167. package/dist/molecule-eT_tgLRf-ypw8MLo7.js +22 -0
  168. package/dist/more-actions-DBLTo2NK-D_qPYTyZ.js +22 -0
  169. package/dist/node-stack-B1tUffrH-C01m1uIq.js +22 -0
  170. package/dist/number-double-datatype-CayvZwH9-Bm8h5p6M.js +21 -0
  171. package/dist/number-double-vector-datatype-skWwhKxd-BM6Ipmdc.js +22 -0
  172. package/dist/number-integer-datatype-BhR4FHTI-BTXU1EuZ.js +22 -0
  173. package/dist/open-in-new-window-BLzRyCt0-CduNinJM.js +22 -0
  174. package/dist/parameter-DpU3cp7S-D12u2Rdm.js +22 -0
  175. package/dist/path-datatype-C97VTebF-DfcP91df.js +22 -0
  176. package/dist/pending-changes-UhfijwVP-CWzc-eMC.js +22 -0
  177. package/dist/placeholder-BdlsIyd_-D0gCDp5r.js +21 -0
  178. package/dist/plus-BIHLsGIG-D1IuPrfV.js +21 -0
  179. package/dist/quote-Df1UEiut-BNlv64Y7.js +22 -0
  180. package/dist/re-execution-D6Vf8q4m-BgpBBwzI.js +22 -0
  181. package/dist/redo-gtkWmrwN-BPP-3C2B.js +22 -0
  182. package/dist/reload-D2KQygjR-C6MzcpR7.js +22 -0
  183. package/dist/{reload-57Xc2t-6.js → reload-DCdbNLa2.js} +1 -7
  184. package/dist/reset-all-CnOZsHiC-CHaG2DcX.js +22 -0
  185. package/dist/right-aligned-DqKhZgBb-C-3qi6ZW.js +22 -0
  186. package/dist/rocket-C4ar--Dz-MeI-wWHa.js +22 -0
  187. package/dist/save-Dc5j8rtx-BtCIL1vP.js +22 -0
  188. package/dist/save-as-D9xt6dTU-8vXEMe63.js +22 -0
  189. package/dist/schedule-zAcSBtLR-Cvy6CSus.js +22 -0
  190. package/dist/search-DMQ_0_gU-Dhhjub6q.js +21 -0
  191. package/dist/selected-cancel-C1SnhoVq-DE9WfdCp.js +22 -0
  192. package/dist/selected-execute-Ril2FDJ6-B6KgRuhq.js +22 -0
  193. package/dist/selected-reset-B6uNdY_x-bO6bfPbY.js +22 -0
  194. package/dist/send-Btyiuo31-yKXF2b0W.js +22 -0
  195. package/dist/server-rack-workflow-Dm10gp1J-BY5lVrIy.js +22 -0
  196. package/dist/settings-BonOwCqQ-DkACpObW.js +25 -0
  197. package/dist/share-CM7XxCfc-CKhZIf-z.js +21 -0
  198. package/dist/shortcuts-CPtPBJxT-DW1mt_C0.js +21 -0
  199. package/dist/sort-ascending-Bax79rC1-Co49uF0o.js +22 -0
  200. package/dist/sort-descending-FZQuQEDb-DnEqhTO2.js +22 -0
  201. package/dist/space-aIuAtYj8-CkeSxHvT.js +22 -0
  202. package/dist/space-local-B2_6Bsy_-fO6UQbWC.js +22 -0
  203. package/dist/space-private-Bzmo_auP-BUTvGwFt.js +22 -0
  204. package/dist/src/types/ChoicesUiSchema.d.ts +4 -0
  205. package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
  206. package/dist/strikethrough-B5OvXyS_-BDcl1x-T.js +22 -0
  207. package/dist/string-datatype-nDWXe0Ai-C2f_oA5E.js +22 -0
  208. package/dist/string-vector-datatype-CKcnjj4A-BF-uQspT.js +22 -0
  209. package/dist/subgraph-datatype-BeZaQU17-D4yTSENW.js +22 -0
  210. package/dist/term-datatype-ROXc3ddq-DUN2DKe3.js +22 -0
  211. package/dist/test-tube-D1jY9f0B-DBphlm1P.js +22 -0
  212. package/dist/testing.js +2 -2
  213. package/dist/text-Dcwl242F-W2_yYFcO.js +22 -0
  214. package/dist/textstyles-K03PpDJG-D1dBBlhO.js +21 -0
  215. package/dist/thumbs-down-LaXuQYOO-BKgB-IYH.js +21 -0
  216. package/dist/thumbs-up-DMY3jgQp-BccPI1vO.js +21 -0
  217. package/dist/time-BrqWI0yU-Lucb_rir.js +22 -0
  218. package/dist/time-datatype-BQ767rrS-CikC2kym.js +22 -0
  219. package/dist/to-bottom-C3w7coKl-fPLBp6r8.js +22 -0
  220. package/dist/to-top-qB5yRcmV-20VJGtT0.js +22 -0
  221. package/dist/{toString-C-X8cE7K.js → toString-B48cVDY_.js} +1 -1
  222. package/dist/tool-datatype-DdDtNmoC-B5jX9hLX.js +22 -0
  223. package/dist/trash-BU3tMrJo-CqIIyo9O.js +22 -0
  224. package/dist/trigger-ClrkLEH_-Dp_G4-MA.js +21 -0
  225. package/dist/underline-CLXwjAXP-C0dzvFcg.js +22 -0
  226. package/dist/undo-DqMrRbAA-Ck_wV_0h.js +22 -0
  227. package/dist/unknown-datatype-DvCQu88a-Dy_04oAu.js +22 -0
  228. package/dist/unlink-AsK_ZWw_-CEBDol0v.js +22 -0
  229. package/dist/uri-datatype-CdijzCVY-DLvF3v9A.js +22 -0
  230. package/dist/{useBuiltinValidations-D0WuEacN.js → useBuiltinValidations-CllSUxkL.js} +1 -1
  231. package/dist/{usePossibleValues-DTVXBGRC.js → usePossibleValues-DwOe-HFF.js} +1 -1
  232. package/dist/user-DvUjWARa-M6h6zN2y.js +22 -0
  233. package/dist/variable-boolean-BHPrIPTX-rRapdt9g.js +30 -0
  234. package/dist/variable-collection-boolean-C_J7wThg-BHOF0-dc.js +30 -0
  235. package/dist/variable-collection-double-BxKPwsrE-B7RZaZYI.js +30 -0
  236. package/dist/variable-collection-integer-CevE-mrB-BxdS9Vqn.js +30 -0
  237. package/dist/variable-collection-string-yxLbb_-V-C4A3-vJo.js +30 -0
  238. package/dist/variable-conda-environment-D7JkuG0q-qMJ6e2IL.js +30 -0
  239. package/dist/variable-credential-SFWXg0a0-s4Qwg512.js +30 -0
  240. package/dist/variable-integer-BUHZT63E-JOQL3zUx.js +30 -0
  241. package/dist/variable-number-double-CuPKBr9M-DKs2hJzj.js +30 -0
  242. package/dist/variable-path-CcdwgBlO-D9GLoIqS.js +30 -0
  243. package/dist/variable-string-Dk4KUHML-C3xf_tqm.js +30 -0
  244. package/dist/variable-unknown-iniv12vq-kxbEoIxO.js +30 -0
  245. package/dist/view-cards-Bzc1izf--BkS89pbU.js +21 -0
  246. package/dist/warning-BXPHX6v6-BbUq1x-O.js +22 -0
  247. package/dist/workflow-DlZxP-3l-BrCmrtoJ.js +21 -0
  248. package/dist/x-close-CIB3TdAj-9yKOArW-.js +22 -0
  249. package/dist/xml-datatype-D7nWox5y-CaFhjHZe.js +22 -0
  250. package/package.json +5 -4
  251. package/dist/AnyOfTwinlist-BmHETHvW.js +0 -28
  252. package/dist/CheckboxControl-q88fZSZD.js +0 -58
  253. package/dist/Checkboxes-Bofcg7tl.js +0 -120
  254. package/dist/CheckboxesControl-DY0R1PDD.js +0 -47
  255. package/dist/DateControl-vnkppn62.js +0 -38
  256. package/dist/DateTimeControl-MkF9G3Xz.js +0 -53
  257. package/dist/DateTimeFormatInput-Ds2VLXw1.js +0 -426
  258. package/dist/DateTimeFormatPickerControl-D3OjZCj7.js +0 -47
  259. package/dist/DateTimeFormatPickerWithTypeControl-DDto-oJk.js +0 -85
  260. package/dist/DropdownControl-aeEqC-Yg.js +0 -46
  261. package/dist/HorizontalLayout-D0toQmVl.js +0 -39
  262. package/dist/IntegerControl-DAwniqjW.js +0 -33
  263. package/dist/IntervalControl-Bkuhg0Ga.js +0 -647
  264. package/dist/LoadingDropdown-B9jHjdWV.js +0 -50
  265. package/dist/LoadingIcon-RPBUjTO3.js +0 -23
  266. package/dist/ManualTwinlistControl-DGW-7a2Q.js +0 -90
  267. package/dist/MultiSelectListBoxControl-BYHuC9jL.js +0 -48
  268. package/dist/MultimodeTwinlistControl-oIvgI_FP.js +0 -486
  269. package/dist/NameFilter-BV68t_P5.js +0 -37
  270. package/dist/NumberControl-Dm01CJW9.js +0 -33
  271. package/dist/NumberControlBase-CN5eTKEm.js +0 -58
  272. package/dist/OneOfDropdown-DuXXP0Qn.js +0 -50
  273. package/dist/RadioControl-X6HLs9F1.js +0 -36
  274. package/dist/RadioControlBase-BGUHTIUl.js +0 -111
  275. package/dist/SectionHeading-B6JkPyMh.js +0 -31
  276. package/dist/SectionLayout-7pXn4OHo.js +0 -61
  277. package/dist/SettingsSubPanel-DToMRoLu.js +0 -48
  278. package/dist/SettingsSubPanelLayout-DnZnghFr.js +0 -83
  279. package/dist/SimpleButtonControl-DOSd92Kq.js +0 -84
  280. package/dist/SimpleTwinlistControl-RBfQTk47.js +0 -31
  281. package/dist/SingleSelectControl-C-GLQD-a.js +0 -73
  282. package/dist/SingleSelectListBoxControl-CDg_1QUT.js +0 -260
  283. package/dist/SortListControl-CWuxKIEb.js +0 -445
  284. package/dist/StyledListItem-NqAG7jSw.js +0 -81
  285. package/dist/TextAreaControl-Dt5ZGrae.js +0 -122
  286. package/dist/TextControl-w9vrCC1T.js +0 -54
  287. package/dist/TimeControl-DiNQSV4K.js +0 -46
  288. package/dist/TwinlistControlBase-CMFEecdr.js +0 -47
  289. package/dist/TwinlistLoadingInfo-Cy6HY-97.js +0 -1080
  290. package/dist/TypedStringFilter-FUF8sqOm.js +0 -32
  291. package/dist/ValueSwitch-Ozmr1YfK.js +0 -162
  292. package/dist/ValueSwitchControl-CdFlHo-2.js +0 -33
  293. package/dist/VerticalLayout-DY8gbasK.js +0 -39
  294. package/dist/VerticalLayoutBase-CpN-KONq.js +0 -32
  295. package/dist/ZonedDateTimeControl-Cg3dAfq5.js +0 -79
  296. package/dist/localTimeUtils-CfchSrLG.js +0 -884
@@ -0,0 +1,956 @@
1
+ import { createElementBlock as v, openBlock as d, createElementVNode as r, computed as u, nextTick as te, resolveComponent as w, createBlock as V, normalizeClass as L, withCtx as k, createCommentVNode as y, createVNode as I, renderSlot as H, defineComponent as Z, useCssVars as X, ref as E, normalizeStyle as D, Fragment as ne, renderList as le, unref as N, toRef as O, toDisplayString as R, normalizeProps as P, guardReactiveProps as K } from "vue";
2
+ import { N as se } from "./arrow-next-BQVCxGb8.js";
3
+ import { u as W } from "./useSearch-hpyYQ_6y.js";
4
+ import { G as oe, H as ie, _ as T, v as ae, y as ue } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CB-Psmtt.js";
5
+ import { M as de } from "./MultiselectListBox-B31ZfMfu.js";
6
+ import { C as ce } from "./close-DGt8x-x_.js";
7
+ import { I as re } from "./InputField-Z_TvmegD.js";
8
+ import { c as F } from "./createMissingItem-B00Kg95q.js";
9
+ import { L as he } from "./LoadingIcon-Fu4ZKrdj.js";
10
+ const me = {
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ fill: "none",
13
+ stroke: "#000",
14
+ "stroke-linejoin": "round",
15
+ viewBox: "0 0 32 32"
16
+ };
17
+ function ve(e, t) {
18
+ return d(), v("svg", me, t[0] || (t[0] = [
19
+ r("circle", {
20
+ cx: "13.2",
21
+ cy: "13.2",
22
+ r: "10"
23
+ }, null, -1),
24
+ r("path", { d: "m20.2 20.2 8.6 8.6" }, null, -1)
25
+ ]));
26
+ }
27
+ const fe = { render: ve };
28
+ var we = "Expected a function";
29
+ function be(e, t, n) {
30
+ var s = !0, o = !0;
31
+ if (typeof e != "function")
32
+ throw new TypeError(we);
33
+ return oe(n) && (s = "leading" in n ? !!n.leading : s, o = "trailing" in n ? !!n.trailing : o), ie(e, t, {
34
+ leading: s,
35
+ maxWait: t,
36
+ trailing: o
37
+ });
38
+ }
39
+ const G = (e, t, n) => {
40
+ const s = u(() => !e.value || e.value.length === 0 ? 0 : e.value.length), o = u(() => 0);
41
+ return ((h, f, c) => `${h} of ${f} entries`)(
42
+ s.value,
43
+ t,
44
+ o.value
45
+ );
46
+ }, ge = {
47
+ xmlns: "http://www.w3.org/2000/svg",
48
+ fill: "none",
49
+ stroke: "#000",
50
+ "stroke-linejoin": "round",
51
+ viewBox: "0 0 32 32"
52
+ };
53
+ function Se(e, t) {
54
+ return d(), v("svg", ge, t[0] || (t[0] = [
55
+ r("path", { d: "M6 22.7h21.3m-6.8 6.8 6.8-6.8-6.8-6.7M26 9.3H4.7m6.8-6.8L4.7 9.3l6.8 6.7" }, null, -1)
56
+ ]));
57
+ }
58
+ const Ie = { render: Se }, pe = {
59
+ xmlns: "http://www.w3.org/2000/svg",
60
+ fill: "none",
61
+ stroke: "#000",
62
+ "stroke-linejoin": "round",
63
+ viewBox: "0 0 32 32"
64
+ };
65
+ function _e(e, t) {
66
+ return d(), v("svg", pe, t[0] || (t[0] = [
67
+ r("path", {
68
+ fill: "#000",
69
+ stroke: "none",
70
+ d: "M13.297 19.097H5.444l-1.763 4.891H1.132L8.29 5.246h2.163l7.17 18.742h-2.536ZM6.19 17.063h6.372L9.371 8.297ZM28.37 23.988q-.205-.412-.334-1.467-1.66 1.725-3.965 1.725-2.06 0-3.385-1.159-1.313-1.171-1.313-2.96 0-2.176 1.647-3.373 1.66-1.21 4.66-1.21h2.317V14.45q0-1.249-.746-1.983-.747-.746-2.202-.746-1.274 0-2.136.643-.863.644-.863 1.558h-2.394q0-1.043.734-2.008.746-.979 2.008-1.545 1.274-.566 2.793-.566 2.407 0 3.772 1.21 1.364 1.197 1.416 3.308v6.41q0 1.919.489 3.051v.206zm-3.951-1.815q1.12 0 2.124-.579 1.004-.58 1.454-1.506V17.23h-1.866q-4.377 0-4.377 2.562 0 1.12.747 1.75.746.631 1.918.631",
71
+ class: "text"
72
+ }, null, -1)
73
+ ]));
74
+ }
75
+ const ye = { render: _e }, Le = {
76
+ clear: "Clear",
77
+ inverseSearch: "Exclude results that match query",
78
+ caseSensitive: "Toggle case sensitivity"
79
+ }, ke = {
80
+ name: "SearchInput",
81
+ components: {
82
+ InputField: re,
83
+ FunctionButton: ae,
84
+ CloseIcon: ce,
85
+ LensIcon: fe,
86
+ InverseSearchIcon: Ie,
87
+ UpperLowerCaseIcon: ye
88
+ },
89
+ props: {
90
+ id: {
91
+ type: String,
92
+ default: null
93
+ },
94
+ name: {
95
+ type: String,
96
+ default: null
97
+ },
98
+ modelValue: {
99
+ type: String,
100
+ default: ""
101
+ },
102
+ placeholder: {
103
+ type: String,
104
+ // A pseudo-placeholder to allow hiding the clear-button without any input
105
+ default: " "
106
+ },
107
+ initialCaseSensitiveSearch: {
108
+ default: !1,
109
+ type: Boolean
110
+ },
111
+ initialInverseSearch: {
112
+ default: !1,
113
+ type: Boolean
114
+ },
115
+ showCaseSensitiveSearchButton: {
116
+ default: !1,
117
+ type: Boolean
118
+ },
119
+ showInverseSearchButton: {
120
+ default: !1,
121
+ type: Boolean
122
+ },
123
+ autofocus: {
124
+ default: !1,
125
+ type: Boolean
126
+ },
127
+ disabled: {
128
+ default: !1,
129
+ type: Boolean
130
+ },
131
+ tooltips: {
132
+ type: Object,
133
+ default: () => ({})
134
+ },
135
+ focusOnMount: {
136
+ type: Boolean,
137
+ default: !1
138
+ },
139
+ ariaActivedescendant: {
140
+ type: String,
141
+ default: null
142
+ },
143
+ ariaOwns: {
144
+ type: String,
145
+ default: null
146
+ },
147
+ compact: {
148
+ type: Boolean,
149
+ default: !1
150
+ }
151
+ },
152
+ emits: [
153
+ "clear",
154
+ "update:modelValue",
155
+ "toggle-case-sensitive-search",
156
+ "toggle-inverse-search",
157
+ "focus"
158
+ ],
159
+ expose: ["focus"],
160
+ data() {
161
+ return {
162
+ caseSensitiveSearch: this.initialCaseSensitiveSearch,
163
+ inverseSearch: this.initialInverseSearch
164
+ };
165
+ },
166
+ computed: {
167
+ showClearButton() {
168
+ return !this.disabled && this.modelValue !== "";
169
+ },
170
+ showSpacer() {
171
+ return this.showClearButton && (this.showCaseSensitiveSearchButton || this.showInverseSearchButton);
172
+ },
173
+ tooltipsWithDefaults() {
174
+ return { ...Le, ...this.tooltips };
175
+ }
176
+ },
177
+ async mounted() {
178
+ this.focusOnMount && (await te(), this.focus());
179
+ },
180
+ methods: {
181
+ clearSearch() {
182
+ this.$emit("clear"), this.$emit("update:modelValue", ""), this.focus();
183
+ },
184
+ toggleCaseSensitiveSearch() {
185
+ this.caseSensitiveSearch = !this.caseSensitiveSearch, this.$emit("toggle-case-sensitive-search", this.caseSensitiveSearch), this.focus();
186
+ },
187
+ toggleInverseSearch() {
188
+ this.inverseSearch = !this.inverseSearch, this.$emit("toggle-inverse-search", this.inverseSearch), this.focus();
189
+ },
190
+ focus() {
191
+ this.$refs.searchInput.focus();
192
+ }
193
+ }
194
+ }, Be = {
195
+ key: 0,
196
+ class: "icon-slot-wrapper"
197
+ }, Ve = {
198
+ key: 1,
199
+ class: "spacer"
200
+ };
201
+ function xe(e, t, n, s, o, l) {
202
+ const h = w("LensIcon"), f = w("CloseIcon"), c = w("FunctionButton"), S = w("UpperLowerCaseIcon"), b = w("InverseSearchIcon"), g = w("InputField");
203
+ return d(), V(g, {
204
+ id: n.id,
205
+ ref: "searchInput",
206
+ name: n.name,
207
+ "model-value": n.modelValue,
208
+ placeholder: n.placeholder,
209
+ autofocus: n.autofocus,
210
+ disabled: n.disabled,
211
+ class: L(["search-input", { disabled: n.disabled }]),
212
+ autocomplete: "off",
213
+ "aria-owns": n.ariaOwns,
214
+ "aria-activedescendant": n.ariaActivedescendant,
215
+ role: "searchbox",
216
+ compact: n.compact,
217
+ onFocus: t[0] || (t[0] = (p) => e.$emit("focus", p)),
218
+ "onUpdate:modelValue": t[1] || (t[1] = (p) => e.$emit("update:modelValue", p))
219
+ }, {
220
+ icon: k(() => [
221
+ n.disabled ? y("", !0) : (d(), v("div", Be, [
222
+ H(e.$slots, "icon", {}, () => [
223
+ I(h)
224
+ ], !0)
225
+ ]))
226
+ ]),
227
+ iconRight: k(() => [
228
+ l.showClearButton ? (d(), V(c, {
229
+ key: 0,
230
+ class: "clear-search",
231
+ compact: n.compact,
232
+ title: l.tooltipsWithDefaults.clear,
233
+ onClick: l.clearSearch
234
+ }, {
235
+ default: k(() => [
236
+ I(f)
237
+ ]),
238
+ _: 1
239
+ }, 8, ["compact", "title", "onClick"])) : y("", !0),
240
+ l.showSpacer ? (d(), v("span", Ve)) : y("", !0),
241
+ !n.disabled && n.showCaseSensitiveSearchButton ? (d(), V(c, {
242
+ key: 2,
243
+ class: "toggle-case-sensitive-search",
244
+ compact: n.compact,
245
+ active: o.caseSensitiveSearch,
246
+ title: l.tooltipsWithDefaults.caseSensitive,
247
+ onClick: l.toggleCaseSensitiveSearch
248
+ }, {
249
+ default: k(() => [
250
+ I(S)
251
+ ]),
252
+ _: 1
253
+ }, 8, ["compact", "active", "title", "onClick"])) : y("", !0),
254
+ !n.disabled && n.showInverseSearchButton ? (d(), V(c, {
255
+ key: 3,
256
+ class: "toggle-inverse-search",
257
+ compact: n.compact,
258
+ title: l.tooltipsWithDefaults.inverseSearch,
259
+ active: o.inverseSearch,
260
+ onClick: l.toggleInverseSearch
261
+ }, {
262
+ default: k(() => [
263
+ I(b)
264
+ ]),
265
+ _: 1
266
+ }, 8, ["compact", "title", "active", "onClick"])) : y("", !0)
267
+ ]),
268
+ _: 3
269
+ }, 8, ["id", "name", "model-value", "placeholder", "autofocus", "disabled", "class", "aria-owns", "aria-activedescendant", "compact"]);
270
+ }
271
+ const Ce = /* @__PURE__ */ T(ke, [["render", xe], ["__scopeId", "data-v-edba0a22"]]), Re = {
272
+ xmlns: "http://www.w3.org/2000/svg",
273
+ fill: "none",
274
+ stroke: "#000",
275
+ "stroke-linejoin": "round",
276
+ viewBox: "0 0 32 32"
277
+ };
278
+ function Me(e, t) {
279
+ return d(), v("svg", Re, t[0] || (t[0] = [
280
+ r("path", { d: "m14.8 5 11 11-11 11M6.2 5l11 11-11 11" }, null, -1)
281
+ ]));
282
+ }
283
+ const Ee = { render: Me }, Te = {
284
+ xmlns: "http://www.w3.org/2000/svg",
285
+ fill: "none",
286
+ stroke: "#000",
287
+ "stroke-linejoin": "round",
288
+ viewBox: "0 0 32 32"
289
+ };
290
+ function Ae(e, t) {
291
+ return d(), v("svg", Te, t[0] || (t[0] = [
292
+ r("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1)
293
+ ]));
294
+ }
295
+ const De = { render: Ae }, ze = {
296
+ xmlns: "http://www.w3.org/2000/svg",
297
+ fill: "none",
298
+ stroke: "#000",
299
+ "stroke-linejoin": "round",
300
+ viewBox: "0 0 32 32"
301
+ };
302
+ function He(e, t) {
303
+ return d(), v("svg", ze, t[0] || (t[0] = [
304
+ r("path", { d: "m21.5 27-11-11 11-11" }, null, -1)
305
+ ]));
306
+ }
307
+ const Ne = { render: He }, Ue = 10, j = "2px", Oe = /* @__PURE__ */ Z({
308
+ __name: "ResizeHandle",
309
+ props: {
310
+ numberOfHandles: {},
311
+ handleWidth: {},
312
+ connectHandlesOnResize: { type: Boolean, default: !1 },
313
+ multipleHandlesHandleGap: { default: "0px" },
314
+ disabled: { type: Boolean, default: !1 }
315
+ },
316
+ emits: ["resize-move", "resize-end"],
317
+ setup(e, { emit: t }) {
318
+ X((a) => ({
319
+ aa149252: j
320
+ }));
321
+ const n = t, s = e, o = E(0), l = E(null), h = u(
322
+ () => `calc(${s.handleWidth} + 2 * ${j})`
323
+ ), f = u(
324
+ () => s.connectHandlesOnResize && s.numberOfHandles > 1 && l.value !== null
325
+ ), c = u(
326
+ () => `(${s.numberOfHandles} - 1) * ${s.multipleHandlesHandleGap}`
327
+ ), S = u(
328
+ () => `(2 * ${s.numberOfHandles})`
329
+ ), b = u(
330
+ () => `(100% - ${c.value}) / ${S.value}`
331
+ ), g = u(
332
+ () => `calc(100% - 2 * ${b.value})`
333
+ ), p = (a) => {
334
+ s.disabled || (a.target.setPointerCapture(a.pointerId), a.preventDefault(), l.value = a.pointerId, o.value = a.clientY);
335
+ }, B = be((a) => {
336
+ if (l.value === a.pointerId) {
337
+ const _ = a.clientY - o.value;
338
+ (_ < 0 && a.offsetY <= 0 || _ > 0 && a.offsetY >= 0) && n("resize-move", _), o.value = a.clientY;
339
+ }
340
+ }, Ue), i = (a) => {
341
+ l.value === a.pointerId && (o.value = 0, l.value = null, n("resize-end"));
342
+ };
343
+ return (a, _) => (d(), v("div", {
344
+ class: "resize-handle-container",
345
+ style: D({ gap: a.multipleHandlesHandleGap })
346
+ }, [
347
+ f.value ? (d(), v("div", {
348
+ key: 0,
349
+ class: "handle connection",
350
+ style: D({ width: g.value })
351
+ }, null, 4)) : y("", !0),
352
+ (d(!0), v(ne, null, le(a.numberOfHandles, (x) => (d(), v("div", {
353
+ key: x,
354
+ class: L(["handle-container", { disabled: a.disabled }]),
355
+ style: D({ width: h.value }),
356
+ onPointerdown: p,
357
+ onPointerup: i,
358
+ onPointermove: _[0] || (_[0] = //@ts-ignore
359
+ (...C) => N(B) && N(B)(...C)),
360
+ onLostpointercapture: i
361
+ }, _[1] || (_[1] = [
362
+ r("div", { class: "handle" }, null, -1)
363
+ ]), 38))), 128))
364
+ ], 4));
365
+ }
366
+ }), Pe = /* @__PURE__ */ T(Oe, [["__scopeId", "data-v-2123c51f"]]), M = "Enter", z = 5, J = 30, Q = 24, Ke = 4, We = 56, Fe = ["left", "right"], Ge = Ke * Q + 2 * We, je = `calc((100% - ${J}px) * 1 / 6)`, qe = (e) => {
367
+ const t = u(
368
+ () => e.value !== null && "includeUnknownValues" in e.value ? { withUnknownValues: e.value } : { standard: e.value }
369
+ ), n = u(() => typeof t.value.standard < "u" ? t.value.standard : t.value.withUnknownValues.includedValues), s = u(
370
+ () => t.value.withUnknownValues?.excludedValues ?? null
371
+ ), o = u(
372
+ () => t.value.withUnknownValues?.includeUnknownValues ?? null
373
+ ), l = u(
374
+ () => o.value === !1
375
+ ), h = u(
376
+ () => o.value === !0
377
+ );
378
+ return {
379
+ includedValues: n,
380
+ excludedValues: s,
381
+ showUnknownExcludedValues: l,
382
+ showUnknownIncludedValues: h,
383
+ getEmitValue: (c, S = (g) => g, b = (g) => g) => t.value.withUnknownValues ? {
384
+ includedValues: c,
385
+ excludedValues: S(s.value),
386
+ includeUnknownValues: b(
387
+ t.value.withUnknownValues.includeUnknownValues
388
+ )
389
+ } : c
390
+ };
391
+ }, U = {
392
+ name: "Twinlist",
393
+ components: {
394
+ ArrowNextDoubleIcon: Ee,
395
+ ArrowNextIcon: se,
396
+ ArrowPrevDoubleIcon: De,
397
+ ArrowPrevIcon: Ne,
398
+ MultiselectListBox: de,
399
+ Label: ue,
400
+ SearchInput: Ce,
401
+ ResizeHandle: Pe
402
+ },
403
+ props: {
404
+ modelValue: {
405
+ type: [Object, Array, null],
406
+ default: null
407
+ },
408
+ initialCaseSensitiveSearch: {
409
+ default: !1,
410
+ type: Boolean
411
+ },
412
+ initialSearchTerm: {
413
+ type: String,
414
+ required: !1,
415
+ default: ""
416
+ },
417
+ /**
418
+ * Hiding and disabling
419
+ */
420
+ showSearch: {
421
+ default: !1,
422
+ type: Boolean
423
+ },
424
+ disabled: {
425
+ default: !1,
426
+ type: Boolean
427
+ },
428
+ showEmptyState: {
429
+ default: !0,
430
+ type: Boolean
431
+ },
432
+ /**
433
+ * Labels
434
+ */
435
+ leftLabel: {
436
+ type: String,
437
+ default: "Possible values"
438
+ },
439
+ rightLabel: {
440
+ type: String,
441
+ default: "Selected values"
442
+ },
443
+ withSearchLabel: {
444
+ default: !1,
445
+ type: Boolean
446
+ },
447
+ searchLabel: {
448
+ type: String,
449
+ required: !1,
450
+ default: "Search values"
451
+ },
452
+ searchPlaceholder: {
453
+ type: String,
454
+ required: !1,
455
+ default: "Search"
456
+ },
457
+ unknownValuesText: {
458
+ type: String,
459
+ required: !1,
460
+ default: "Unknown values"
461
+ },
462
+ /**
463
+ * Is only used when emptyStateComponent is null
464
+ */
465
+ emptyStateLabel: {
466
+ default: "No entries in this list",
467
+ type: String
468
+ },
469
+ /**
470
+ * this component is displayed centered in the middle of the box in case it is empty
471
+ */
472
+ emptyStateComponent: {
473
+ default: null,
474
+ type: Object
475
+ },
476
+ /**
477
+ * Controls the size of the list.
478
+ * Number of visible items (for others user need to scroll)
479
+ * - 0 means all
480
+ * - values 1 - 4 are ignored; 5 is minimum
481
+ */
482
+ size: {
483
+ type: Number,
484
+ default: 0,
485
+ validator(e) {
486
+ return e >= 0;
487
+ }
488
+ },
489
+ showResizeHandle: {
490
+ type: Boolean,
491
+ default: !1
492
+ },
493
+ isValid: {
494
+ default: !0,
495
+ type: Boolean
496
+ },
497
+ /**
498
+ * List of possible values. Each item must have an `id` and a `text` property
499
+ * @example
500
+ * [{
501
+ * id: 'pdf',
502
+ * text: 'PDF'
503
+ * }, {
504
+ * id: 'XLS',
505
+ * text: 'Excel',
506
+ * }]
507
+ */
508
+ possibleValues: {
509
+ type: Array,
510
+ default: () => []
511
+ },
512
+ compact: {
513
+ type: Boolean,
514
+ default: !1
515
+ }
516
+ },
517
+ emits: [
518
+ /**
519
+ * This event gets emitted whenever the user changes the selection.
520
+ * In case the modelValue of this Twinlist is with unknown values, the emitted value here will also be.
521
+ */
522
+ "update:modelValue"
523
+ ],
524
+ setup(e) {
525
+ const {
526
+ includedValues: t,
527
+ excludedValues: n,
528
+ showUnknownExcludedValues: s,
529
+ showUnknownIncludedValues: o,
530
+ getEmitValue: l
531
+ } = qe(O(e, "modelValue")), h = E(e.initialSearchTerm), f = E(e.initialCaseSensitiveSearch), c = u(() => e.possibleValues.map((m) => m.id)), S = u(() => new Set(c.value)), b = u(() => t.value ? o.value ? t.value.filter(
532
+ (m) => S.value.has(m)
533
+ ) : t.value : null), g = u(() => Object.assign(
534
+ {},
535
+ ...e.possibleValues.map((m, A) => ({
536
+ [m.id]: { item: m, index: A }
537
+ }))
538
+ )), p = u(() => b.value === null ? [] : b.value.map(
539
+ (m) => g.value[m]?.item || F(m)
540
+ )), B = O(e, "showSearch"), i = W(
541
+ h,
542
+ f,
543
+ p,
544
+ B
545
+ ), a = u(() => {
546
+ if (!n.value) {
547
+ const m = new Set(t.value);
548
+ return c.value.filter(
549
+ (A) => !m.has(A)
550
+ );
551
+ }
552
+ return s.value ? n.value.filter(
553
+ (m) => S.value.has(m)
554
+ ) : n.value;
555
+ }), _ = u(() => b.value === null ? [] : a.value.map(
556
+ (m) => g.value[m]?.item || F(m)
557
+ )), x = W(
558
+ h,
559
+ f,
560
+ _,
561
+ B
562
+ ), C = u(() => e.showSearch && h.value !== ""), $ = u(() => e.showSearch && C.value ? G(x, a.value.length) : null), ee = u(() => e.showSearch && C.value ? G(
563
+ i,
564
+ b.value?.length
565
+ ) : null);
566
+ return {
567
+ includedValues: t,
568
+ excludedValues: n,
569
+ showUnknownExcludedValues: s,
570
+ showUnknownIncludedValues: o,
571
+ getEmitValue: l,
572
+ searchTerm: h,
573
+ filteredExcludedItems: x,
574
+ filteredIncludedItems: i,
575
+ knownExcludedValues: a,
576
+ knownIncludedValues: b,
577
+ possibleValueIds: c,
578
+ possibleValueIdsSet: S,
579
+ excludedLabels: $,
580
+ includedLabels: ee,
581
+ caseSensitiveSearch: f,
582
+ allIncludedItems: p,
583
+ possibleValueMap: g
584
+ };
585
+ },
586
+ data() {
587
+ return {
588
+ invalidPossibleValueIds: /* @__PURE__ */ new Set(),
589
+ rightSelected: [],
590
+ leftSelected: [],
591
+ unknownValuesId: Symbol("Unknown values"),
592
+ constants: Object.freeze({
593
+ MIN_LIST_SIZE: z,
594
+ BUTTON_HEIGHT: Q,
595
+ BUTTON_WIDTH: J,
596
+ RESIZE_HANDLE_WIDTH: je,
597
+ MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT: Ge
598
+ })
599
+ };
600
+ },
601
+ computed: {
602
+ listSize() {
603
+ const e = this.size === 0 ? this.possibleValues.length : this.size;
604
+ return e > z ? e : z;
605
+ },
606
+ moveAllRightButtonDisabled() {
607
+ return this.filteredExcludedItems.length === 0 && !this.showUnknownExcludedValues;
608
+ },
609
+ moveRightButtonDisabled() {
610
+ return this.leftSelected.length === 0;
611
+ },
612
+ moveAllLeftButtonDisabled() {
613
+ return this.filteredIncludedItems.length === 0 && !this.showUnknownIncludedValues;
614
+ },
615
+ moveLeftButtonDisabled() {
616
+ return this.rightSelected.length === 0;
617
+ }
618
+ },
619
+ mounted() {
620
+ this.showResizeHandle && this.getListBoxes().forEach((e) => e.initResizeHeight());
621
+ },
622
+ methods: {
623
+ getIndex(e) {
624
+ return this.possibleValueMap[e]?.index ?? -1;
625
+ },
626
+ compareByOriginalSorting(e, t) {
627
+ return this.getIndex(e) - this.getIndex(t);
628
+ },
629
+ clearSelections() {
630
+ this.getListBoxes().forEach((e) => e.clearSelection());
631
+ },
632
+ moveItems(e, {
633
+ toNewIncludedValues: t,
634
+ toNewExcludedValues: n
635
+ }) {
636
+ const s = e.filter((c) => c !== this.unknownValuesId), o = e.length > s.length, l = {
637
+ knownValues: s,
638
+ movingUnknownValues: o
639
+ };
640
+ let h = null, f = null;
641
+ this.includedValues !== null && (h = t({
642
+ previous: this.includedValues,
643
+ movingParts: l
644
+ })), this.excludedValues && (f = n({
645
+ previous: this.knownExcludedValues,
646
+ movingParts: l
647
+ })), this.clearSelections(), this.$emit(
648
+ "update:modelValue",
649
+ this.getEmitValue(
650
+ h,
651
+ () => f,
652
+ (c) => o ? !c : c
653
+ )
654
+ );
655
+ },
656
+ moveRight(e = null) {
657
+ this.moveItems(e ?? this.leftSelected, {
658
+ toNewIncludedValues: this.addMovedItems.bind(this),
659
+ toNewExcludedValues: this.filterMovedItems.bind(this)
660
+ });
661
+ },
662
+ moveLeft(e = null) {
663
+ this.moveItems(e ?? this.rightSelected, {
664
+ toNewIncludedValues: this.filterMovedItems.bind(this),
665
+ toNewExcludedValues: this.addMovedItems.bind(this)
666
+ });
667
+ },
668
+ /**
669
+ * Filters out the moved items and also invalid items if unknown values are being moved.
670
+ */
671
+ filterMovedItems({
672
+ previous: e,
673
+ movingParts: { movingUnknownValues: t, knownValues: n }
674
+ }) {
675
+ const s = new Set(n);
676
+ return e.filter(
677
+ (o) => !s.has(o) && (!t || this.possibleValueIdsSet.has(o))
678
+ );
679
+ },
680
+ /**
681
+ * Adds the given items sorting by the order in the possible values afterwards and removing invalid items
682
+ * if unknown values are being moved
683
+ */
684
+ addMovedItems({
685
+ previous: e,
686
+ movingParts: { movingUnknownValues: t, knownValues: n }
687
+ }) {
688
+ return [
689
+ ...t ? e.filter((s) => this.possibleValueIdsSet.has(s)) : e,
690
+ ...n.filter((s) => this.possibleValueIdsSet.has(s))
691
+ ].sort(this.compareByOriginalSorting);
692
+ },
693
+ onMoveRightButtonClick() {
694
+ this.moveRight();
695
+ },
696
+ onMoveAllRightButtonClick() {
697
+ const e = this.filteredExcludedItems.map((t) => t.id);
698
+ this.moveRight(
699
+ e.concat(
700
+ this.showUnknownExcludedValues ? [this.unknownValuesId] : []
701
+ )
702
+ );
703
+ },
704
+ onMoveAllRightButtonKey(e) {
705
+ e.key === M && (this.onMoveAllRightButtonClick(), this.stopPropagation(e));
706
+ },
707
+ onMoveRightButtonKey(e) {
708
+ e.key === M && (this.moveRight(), this.stopPropagation(e));
709
+ },
710
+ onMoveLeftButtonClick() {
711
+ this.moveLeft();
712
+ },
713
+ onMoveAllLeftButtonClick() {
714
+ const e = this.filteredIncludedItems.map((t) => t.id);
715
+ this.moveLeft(
716
+ e.concat(
717
+ this.showUnknownIncludedValues ? [this.unknownValuesId] : []
718
+ )
719
+ );
720
+ },
721
+ onMoveLeftButtonKey(e) {
722
+ e.key === M && (this.moveLeft(), this.stopPropagation(e));
723
+ },
724
+ onMoveAllLeftButtonKey(e) {
725
+ e.key === M && (this.onMoveAllLeftButtonClick(), this.stopPropagation(e));
726
+ },
727
+ stopPropagation(e) {
728
+ e.preventDefault(), e.stopPropagation();
729
+ },
730
+ onLeftListBoxDoubleClick(e) {
731
+ this.moveRight([e]);
732
+ },
733
+ onLeftListBoxShiftDoubleClick(e) {
734
+ this.moveRight(e);
735
+ },
736
+ onRightListBoxDoubleClick(e) {
737
+ this.moveLeft([e]);
738
+ },
739
+ onRightListBoxShiftDoubleClick(e) {
740
+ this.moveLeft(e);
741
+ },
742
+ onLeftInput(e) {
743
+ e.length > 0 && this.$refs.right.clearSelection(), this.leftSelected = e;
744
+ },
745
+ onRightInput(e) {
746
+ e.length > 0 && this.$refs.left.clearSelection(), this.rightSelected = e;
747
+ },
748
+ onSearchInput(e) {
749
+ this.searchTerm = e;
750
+ },
751
+ hasSelection() {
752
+ return (this.includedValues?.length ?? 0) > 0;
753
+ },
754
+ validate() {
755
+ const e = !this.filteredIncludedItems.some((t) => t.invalid) && (!this.excludedValues || !this.filteredExcludedItems.some((t) => t.invalid));
756
+ return {
757
+ isValid: e,
758
+ errorMessage: e ? null : "One or more of the selected items is invalid."
759
+ };
760
+ },
761
+ getListBoxes() {
762
+ return Fe.map(
763
+ (e) => this.$refs[e]
764
+ );
765
+ },
766
+ onResizeMove(e) {
767
+ this.getListBoxes().forEach((t) => t.onResizeMove(e));
768
+ },
769
+ onResizeEnd() {
770
+ this.getListBoxes().forEach((e) => e.onResizeEnd());
771
+ }
772
+ }
773
+ }, q = () => {
774
+ X((e) => ({
775
+ "9edbba54": `${e.constants.BUTTON_WIDTH}px`,
776
+ "4ca536cd": `${e.constants.MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT}px`,
777
+ "15cbc38d": `${e.constants.BUTTON_HEIGHT}px`
778
+ }));
779
+ }, Y = U.setup;
780
+ U.setup = Y ? (e, t) => (q(), Y(e, t)) : q;
781
+ const Ye = { class: "twinlist" }, Ze = { class: "header" }, Xe = { class: "title" }, Je = ["title"], Qe = ["title"], $e = { class: "title" }, et = ["title"], tt = ["title"], nt = { class: "buttons" };
782
+ function lt(e, t, n, s, o, l) {
783
+ const h = w("SearchInput"), f = w("Label"), c = w("MultiselectListBox"), S = w("ArrowNextIcon"), b = w("ArrowNextDoubleIcon"), g = w("ArrowPrevIcon"), p = w("ArrowPrevDoubleIcon"), B = w("ResizeHandle");
784
+ return d(), v("div", Ye, [
785
+ n.showSearch ? (d(), V(f, {
786
+ key: 0,
787
+ active: n.withSearchLabel,
788
+ text: n.searchLabel,
789
+ class: "search-wrapper"
790
+ }, {
791
+ default: k(({ labelForId: i }) => [
792
+ I(h, {
793
+ id: i,
794
+ ref: "search",
795
+ placeholder: n.searchPlaceholder,
796
+ "model-value": s.searchTerm,
797
+ label: n.searchLabel,
798
+ "initial-case-sensitive-search": n.initialCaseSensitiveSearch,
799
+ "show-case-sensitive-search-button": "",
800
+ disabled: n.disabled,
801
+ tooltips: {
802
+ inverseSearch: "Move matching to other side"
803
+ },
804
+ compact: n.compact,
805
+ "onUpdate:modelValue": l.onSearchInput,
806
+ onToggleCaseSensitiveSearch: t[0] || (t[0] = (a) => s.caseSensitiveSearch = a)
807
+ }, null, 8, ["id", "placeholder", "model-value", "label", "initial-case-sensitive-search", "disabled", "compact", "onUpdate:modelValue"])
808
+ ]),
809
+ _: 1
810
+ }, 8, ["active", "text"])) : y("", !0),
811
+ r("div", Ze, [
812
+ r("div", Xe, [
813
+ r("div", {
814
+ class: "label",
815
+ title: n.leftLabel
816
+ }, R(n.leftLabel), 9, Je),
817
+ s.excludedLabels ? (d(), v("div", {
818
+ key: 0,
819
+ title: s.excludedLabels,
820
+ class: "info"
821
+ }, R(s.excludedLabels), 9, Qe)) : y("", !0)
822
+ ]),
823
+ t[9] || (t[9] = r("div", { class: "space" }, null, -1)),
824
+ r("div", $e, [
825
+ r("div", {
826
+ class: "label",
827
+ title: n.rightLabel
828
+ }, R(n.rightLabel), 9, et),
829
+ s.includedLabels ? (d(), v("div", {
830
+ key: 0,
831
+ title: s.includedLabels,
832
+ class: "info"
833
+ }, R(s.includedLabels), 9, tt)) : y("", !0)
834
+ ])
835
+ ]),
836
+ r("div", {
837
+ class: L(["lists", { disabled: n.disabled }])
838
+ }, [
839
+ I(c, {
840
+ ref: "left",
841
+ "with-is-empty-state": n.showEmptyState,
842
+ "empty-state-label": n.emptyStateLabel,
843
+ "empty-state-component": n.emptyStateComponent,
844
+ size: l.listSize,
845
+ "min-size": o.constants.MIN_LIST_SIZE,
846
+ class: "list-box",
847
+ "model-value": o.leftSelected,
848
+ "with-bottom-value": s.showUnknownExcludedValues,
849
+ "bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
850
+ "is-valid": n.isValid,
851
+ "possible-values": s.filteredExcludedItems,
852
+ ariaLabel: n.leftLabel,
853
+ disabled: n.disabled,
854
+ onDoubleClickOnItem: l.onLeftListBoxDoubleClick,
855
+ onDoubleClickShift: l.onLeftListBoxShiftDoubleClick,
856
+ onKeyArrowRight: l.moveRight,
857
+ "onUpdate:modelValue": l.onLeftInput
858
+ }, {
859
+ option: k((i) => [
860
+ H(e.$slots, "option", P(K(i)), void 0, !0)
861
+ ]),
862
+ _: 3
863
+ }, 8, ["with-is-empty-state", "empty-state-label", "empty-state-component", "size", "min-size", "model-value", "with-bottom-value", "bottom-value", "is-valid", "possible-values", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowRight", "onUpdate:modelValue"]),
864
+ r("div", nt, [
865
+ r("div", {
866
+ ref: "moveRight",
867
+ class: L({ disabled: l.moveRightButtonDisabled || n.disabled }),
868
+ role: "button",
869
+ tabindex: "0",
870
+ onClick: t[1] || (t[1] = (...i) => l.onMoveRightButtonClick && l.onMoveRightButtonClick(...i)),
871
+ onKeydown: t[2] || (t[2] = (...i) => l.onMoveRightButtonKey && l.onMoveRightButtonKey(...i))
872
+ }, [
873
+ I(S, { class: "icon" })
874
+ ], 34),
875
+ r("div", {
876
+ ref: "moveAllRight",
877
+ class: L({ disabled: l.moveAllRightButtonDisabled || n.disabled }),
878
+ role: "button",
879
+ tabindex: "0",
880
+ onClick: t[3] || (t[3] = (...i) => l.onMoveAllRightButtonClick && l.onMoveAllRightButtonClick(...i)),
881
+ onKeydown: t[4] || (t[4] = (...i) => l.onMoveAllRightButtonKey && l.onMoveAllRightButtonKey(...i))
882
+ }, [
883
+ I(b, { class: "icon" })
884
+ ], 34),
885
+ r("div", {
886
+ ref: "moveLeft",
887
+ class: L({ disabled: l.moveLeftButtonDisabled || n.disabled }),
888
+ role: "button",
889
+ tabindex: "0",
890
+ onClick: t[5] || (t[5] = (...i) => l.onMoveLeftButtonClick && l.onMoveLeftButtonClick(...i)),
891
+ onKeydown: t[6] || (t[6] = (...i) => l.onMoveLeftButtonKey && l.onMoveLeftButtonKey(...i))
892
+ }, [
893
+ I(g, { class: "icon" })
894
+ ], 34),
895
+ r("div", {
896
+ ref: "moveAllLeft",
897
+ class: L({ disabled: l.moveAllLeftButtonDisabled || n.disabled }),
898
+ role: "button",
899
+ tabindex: "0",
900
+ onClick: t[7] || (t[7] = (...i) => l.onMoveAllLeftButtonClick && l.onMoveAllLeftButtonClick(...i)),
901
+ onKeydown: t[8] || (t[8] = (...i) => l.onMoveAllLeftButtonKey && l.onMoveAllLeftButtonKey(...i))
902
+ }, [
903
+ I(p, { class: "icon" })
904
+ ], 34)
905
+ ]),
906
+ I(c, {
907
+ ref: "right",
908
+ class: L(["list-box", { "with-empty-state-icon": n.emptyStateComponent }]),
909
+ "model-value": o.rightSelected,
910
+ "with-bottom-value": s.showUnknownIncludedValues,
911
+ "bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
912
+ "with-is-empty-state": n.showEmptyState,
913
+ "empty-state-label": n.emptyStateLabel,
914
+ "empty-state-component": n.emptyStateComponent,
915
+ "possible-values": s.filteredIncludedItems,
916
+ size: l.listSize,
917
+ "min-size": o.constants.MIN_LIST_SIZE,
918
+ ariaLabel: n.rightLabel,
919
+ disabled: n.disabled,
920
+ onDoubleClickOnItem: l.onRightListBoxDoubleClick,
921
+ onDoubleClickShift: l.onRightListBoxShiftDoubleClick,
922
+ onKeyArrowLeft: l.moveLeft,
923
+ "onUpdate:modelValue": l.onRightInput
924
+ }, {
925
+ option: k((i) => [
926
+ H(e.$slots, "option", P(K(i)), void 0, !0)
927
+ ]),
928
+ _: 3
929
+ }, 8, ["class", "model-value", "with-bottom-value", "bottom-value", "with-is-empty-state", "empty-state-label", "empty-state-component", "possible-values", "size", "min-size", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowLeft", "onUpdate:modelValue"])
930
+ ], 2),
931
+ n.showResizeHandle ? (d(), V(B, {
932
+ key: 1,
933
+ "number-of-handles": 2,
934
+ "handle-width": o.constants.RESIZE_HANDLE_WIDTH,
935
+ "connect-handles-on-resize": "",
936
+ "multiple-handles-handle-gap": `${o.constants.BUTTON_WIDTH}px`,
937
+ onResizeMove: l.onResizeMove,
938
+ onResizeEnd: l.onResizeEnd
939
+ }, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : y("", !0)
940
+ ]);
941
+ }
942
+ const ft = /* @__PURE__ */ T(U, [["render", lt], ["__scopeId", "data-v-0fa3ade8"]]), st = { class: "info" }, ot = /* @__PURE__ */ Z({
943
+ __name: "TwinlistLoadingInfo",
944
+ setup(e) {
945
+ return (t, n) => (d(), v("div", st, [
946
+ n[0] || (n[0] = r("span", null, "Loading...", -1)),
947
+ I(N(he), { class: "icon" })
948
+ ]));
949
+ }
950
+ }), wt = /* @__PURE__ */ T(ot, [["__scopeId", "data-v-52b0b5dd"]]);
951
+ export {
952
+ Ce as S,
953
+ wt as T,
954
+ ft as a,
955
+ qe as u
956
+ };