@demos-europe/demosplan-ui 0.4.21 → 0.4.22

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 (541) hide show
  1. package/.claude/settings.local.json +4 -19
  2. package/.idea/demosplan-ui.iml +11 -0
  3. package/.idea/git_toolbox_blame.xml +6 -0
  4. package/.idea/git_toolbox_prj.xml +15 -0
  5. package/.idea/material_theme_project_new.xml +13 -0
  6. package/.idea/modules.xml +8 -0
  7. package/.idea/sonarlint/issuestore/0/2/02d5146f94659f11c56f0ea1d9c504ff9492b546 +0 -0
  8. package/.idea/sonarlint/issuestore/0/2/02f4902c3db5247c732bde5aaf0d4fb55363c3b1 +3 -0
  9. package/.idea/sonarlint/issuestore/0/3/0343acf33ca1b061164f9846ff8ce30429205a2a +0 -0
  10. package/.idea/sonarlint/issuestore/0/4/04d5869ea32abbf6abf5a3cb9a671637ac2e345b +0 -0
  11. package/.idea/sonarlint/issuestore/0/9/0918cbb76f2c44f223706cec9d31a32cd1177ce4 +0 -0
  12. package/.idea/sonarlint/issuestore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
  13. package/.idea/sonarlint/issuestore/0/b/0b63533e07c8b10a8fbfe7f35df1bffec8103e14 +0 -0
  14. package/.idea/sonarlint/issuestore/0/c/0c0fd6a370cd10350462b46937e98f903bcb1435 +0 -0
  15. package/.idea/sonarlint/issuestore/0/e/0e600c187f4cf8bd0dd6b678f55067a8300ab570 +0 -0
  16. package/.idea/sonarlint/issuestore/0/f/0f43007644f06a63afbfbfc129aadd61bf40318a +0 -0
  17. package/.idea/sonarlint/issuestore/1/4/14148858b7b4a0aa23ddfdc41ef62be2db925c70 +0 -0
  18. package/.idea/sonarlint/issuestore/1/5/15ff6a89ff653ef3176ddb9c5e0b59c16c2db949 +0 -0
  19. package/.idea/sonarlint/issuestore/1/6/169d7dbe9a819ce675ee66de130c5a7c92bb763d +0 -0
  20. package/.idea/sonarlint/issuestore/1/8/18a1ebb3a44ad977a5cfa60b6620a47ba00163a3 +0 -0
  21. package/.idea/sonarlint/issuestore/1/f/1fd3ecff7dd864e5b00c14a4333d8cde8c9faf11 +0 -0
  22. package/.idea/sonarlint/issuestore/2/0/204a133d39c4a2c7b86de23f541f342e0a7a3234 +0 -0
  23. package/.idea/sonarlint/issuestore/2/4/2491406c07bfc2b0f7ed8e010e56d6e468c374d0 +0 -0
  24. package/.idea/sonarlint/issuestore/2/5/257d0fa8d58da6d96f5a7af9724b2e1c92c62a2d +3 -0
  25. package/.idea/sonarlint/issuestore/2/8/282dcb1e4436703724dd35bb567086834c3ebdb4 +3 -0
  26. package/.idea/sonarlint/issuestore/2/a/2aeb7bd71ee8453ff4601a1fc8fcd4fa9c5fe355 +0 -0
  27. package/.idea/sonarlint/issuestore/2/c/2c25e229323612e7988c659ad7b51c7b1e2b2403 +0 -0
  28. package/.idea/sonarlint/issuestore/2/f/2fa1946a2afc952506e41d87833ed29401fc29a0 +0 -0
  29. package/.idea/sonarlint/issuestore/3/4/3463c59843592ad2a00c54f39e2943583bd6fff9 +0 -0
  30. package/.idea/sonarlint/issuestore/3/9/390f31a969ba7940070bf32aac2a0d1f7b7bd78b +0 -0
  31. package/.idea/sonarlint/issuestore/3/e/3ebc20bbfa3c33cf20481a2de7591c997c68abb9 +0 -0
  32. package/.idea/sonarlint/issuestore/4/1/417425bfa2cef1f22539e792dcb0a7f7784f9604 +0 -0
  33. package/.idea/sonarlint/issuestore/4/1/41ac9772c7dd3fc038485f99106b427a5e28f2e3 +0 -0
  34. package/.idea/sonarlint/issuestore/4/4/44d3ca69a31c68c4d920b1fbb0083732713d2690 +2 -0
  35. package/.idea/sonarlint/issuestore/4/8/48a8ec70d252121fbc7df4e8a45044e964b5d6b7 +0 -0
  36. package/.idea/sonarlint/issuestore/4/9/49e951d8246d0914f9d10b3955a7178866cfcee9 +0 -0
  37. package/.idea/sonarlint/issuestore/4/d/4def76d1eea91e36f7789929705c032be6df27cd +0 -0
  38. package/.idea/sonarlint/issuestore/4/f/4f40ac4df99b3f8bbd80db9b729d3b4b401623eb +0 -0
  39. package/.idea/sonarlint/issuestore/4/f/4f4bba1840f039e57f25bbd19ec0e20c15fc0e1d +0 -0
  40. package/.idea/sonarlint/issuestore/5/1/51f466e675bcd7ca84bf6287bab7404cde26db22 +0 -0
  41. package/.idea/sonarlint/issuestore/5/2/5222c3d19fd979fed770b7f3664147b2ed16b230 +0 -0
  42. package/.idea/sonarlint/issuestore/5/2/52cb9deee3ee8b8add01ec855fc4a45818ac7638 +5 -0
  43. package/.idea/sonarlint/issuestore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
  44. package/.idea/sonarlint/issuestore/5/4/5471e6ec0c0e189560fccc7f474993fc6e1f758a +0 -0
  45. package/.idea/sonarlint/issuestore/5/7/578f3ebc33c3ca6ab8e66c97f3c2eba2237b40ea +0 -0
  46. package/.idea/sonarlint/issuestore/5/8/5831775a729fcf9cb12959996af17091f46f440b +0 -0
  47. package/.idea/sonarlint/issuestore/5/8/5842d31a915855888fd63b1aca8c3a4dd8c95880 +0 -0
  48. package/.idea/sonarlint/issuestore/5/c/5ce582bce204b2edd80e7602b279b3d64cc737e0 +0 -0
  49. package/.idea/sonarlint/issuestore/5/f/5f2f0e365ced14f666cef2ac164c93530d4e0c2a +0 -0
  50. package/.idea/sonarlint/issuestore/6/0/60882ef9544224120d1d72534f44b973f3a57746 +0 -0
  51. package/.idea/sonarlint/issuestore/6/0/60a7f3adc2729926865b49b02008b2874d65429d +2 -0
  52. package/.idea/sonarlint/issuestore/6/0/60b89c88214907466f4d004bb8a2e56a468da7f5 +0 -0
  53. package/.idea/sonarlint/issuestore/6/0/60bb79bf1ee7929bf0f8c20166ae12e49d7af9ea +3 -0
  54. package/.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
  55. package/.idea/sonarlint/issuestore/6/5/65c98391f12bde62f0955f439128e0f8cb1eac6a +0 -0
  56. package/.idea/sonarlint/issuestore/6/7/6733e547a8a62f0e2b41358995a67255b967bfeb +0 -0
  57. package/.idea/sonarlint/issuestore/6/8/68e29ca13d4f4cada132a831a6a1b52c0a0ebfd3 +0 -0
  58. package/.idea/sonarlint/issuestore/6/9/692f3fce406d97e843fbf744ad689b51e3754dff +0 -0
  59. package/.idea/sonarlint/issuestore/6/a/6a835d16be742d060f08912c5808bbf862426d3d +0 -0
  60. package/.idea/sonarlint/issuestore/6/c/6cd35da18772c8847edacba05dd265c15ded5d0b +0 -0
  61. package/.idea/sonarlint/issuestore/6/e/6e142af7dffa0e82efece3ff58722e96f4283a3f +0 -0
  62. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  63. package/.idea/sonarlint/issuestore/7/2/725cc9c146a136cafafef5ffec4cb307badb1d0e +0 -0
  64. package/.idea/sonarlint/issuestore/7/3/73e399246034aaf963bb1ad4b0a0e2b5228f57cc +0 -0
  65. package/.idea/sonarlint/issuestore/7/7/7710090cd8b91b750ed58a2f3196d971d7de988b +0 -0
  66. package/.idea/sonarlint/issuestore/7/8/785055d2374e9ff4841f875174c20cad0c0d9a80 +0 -0
  67. package/.idea/sonarlint/issuestore/7/8/78a09338d0e7bb67a5d2643580367940bee1e5b2 +0 -0
  68. package/.idea/sonarlint/issuestore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
  69. package/.idea/sonarlint/issuestore/7/a/7a6581baac8c66b8e331b8187db03c64201001f1 +0 -0
  70. package/.idea/sonarlint/issuestore/8/5/852060cc24633564871605ce8d1e59970ef2485c +0 -0
  71. package/.idea/sonarlint/issuestore/8/5/85e8222943093a270d57ab07964a75d9a15648eb +0 -0
  72. package/.idea/sonarlint/issuestore/8/6/86abd2602e79b84f352d24c72f079541f41aeb6d +0 -0
  73. package/.idea/sonarlint/issuestore/8/8/881d5d47bdc17ef8facebef59b68b5fc099a0293 +0 -0
  74. package/.idea/sonarlint/issuestore/8/8/882c515e635f40a7e1ad419c70c0f2d2c17e2f37 +0 -0
  75. package/.idea/sonarlint/issuestore/8/9/89d3df066dd0ec67c57e82d68cce94cb72f820b5 +0 -0
  76. package/.idea/sonarlint/issuestore/8/b/8bff50de15c7d9b1166aa9ad98243d1a04b7e4c4 +0 -0
  77. package/.idea/sonarlint/issuestore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
  78. package/.idea/sonarlint/issuestore/9/0/900448384f6077c203e834650b95017f7a373583 +2 -0
  79. package/.idea/sonarlint/issuestore/9/1/912f3a935b193eb148539815f9aef4a4252c12ba +0 -0
  80. package/.idea/sonarlint/issuestore/9/4/94dd0b13f6f12ba5eae129046b1d061ddd546d72 +5 -0
  81. package/.idea/sonarlint/issuestore/9/5/958a078793035ab0aad2086f7be79b55628402c0 +0 -0
  82. package/.idea/sonarlint/issuestore/9/6/96dcf27dc8ae3662215096d9e00c194897d29c0b +0 -0
  83. package/.idea/sonarlint/issuestore/9/7/9730e89df0a4367176020e461c38c37b7ae58b9a +0 -0
  84. package/.idea/sonarlint/issuestore/9/8/98c4f1f9f94adc9e53100dbf68ce8c5df2a47f01 +0 -0
  85. package/.idea/sonarlint/issuestore/9/9/9920d82d6cbbfe404d91c79781048e0c0514767e +0 -0
  86. package/.idea/sonarlint/issuestore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
  87. package/.idea/sonarlint/issuestore/a/1/a1991714da3efb5da4456ee802727afe63035aa5 +0 -0
  88. package/.idea/sonarlint/issuestore/a/7/a70ff2c42b6ffb69f1686cf6ced65733a75e056f +0 -0
  89. package/.idea/sonarlint/issuestore/a/8/a8b0d4ad8d44e8bb48b2ca34ddbd84b549ee9105 +3 -0
  90. package/.idea/sonarlint/issuestore/a/a/aaf524b8c18d54117ff8a4de5b06cdd7f5776d0d +0 -0
  91. package/.idea/sonarlint/issuestore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
  92. package/.idea/sonarlint/issuestore/b/0/b0a40903f86afa7d5940f95f66995a290b6d4fe2 +0 -0
  93. package/.idea/sonarlint/issuestore/b/2/b26e3039f1510dfa296fdfb6a1a5f12cdca84371 +0 -0
  94. package/.idea/sonarlint/issuestore/b/3/b3349079128f17cb6e0cecf3cccfa4fe5188f92f +3 -0
  95. package/.idea/sonarlint/issuestore/b/4/b4a9acebce4d56aa444e5b857fa140163bcbd47f +0 -0
  96. package/.idea/sonarlint/issuestore/b/5/b5320db1c0a02ceb68cb70d050f5dc9d420b928b +0 -0
  97. package/.idea/sonarlint/issuestore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
  98. package/.idea/sonarlint/issuestore/b/9/b9f0a0a757a4dc7cc57724b3534dfdf189c25ea6 +0 -0
  99. package/.idea/sonarlint/issuestore/b/b/bb971971f3915fff5703a078f2784df410b7298e +0 -0
  100. package/.idea/sonarlint/issuestore/b/e/be023cb04cabb819ee6a97d9fc2a088cb4eded97 +0 -0
  101. package/.idea/sonarlint/issuestore/b/e/be633e1bf05efdb3dec5eae2777f024e1aee5599 +0 -0
  102. package/.idea/sonarlint/issuestore/c/2/c2b3144db64026759165a569b0f1f5086c6be0d3 +0 -0
  103. package/.idea/sonarlint/issuestore/c/6/c62bdf361b714427c19bdc47c8c97f90cce4dad3 +0 -0
  104. package/.idea/sonarlint/issuestore/c/6/c680d0675608db3debbc56eab6dae6478ea3d2db +0 -0
  105. package/.idea/sonarlint/issuestore/c/b/cb44f758b6159383fc5e20e1b38c4a3781d4e4bc +0 -0
  106. package/.idea/sonarlint/issuestore/c/c/ccc24fa53ed888a7471d8f2d4afae2e0ae89171d +0 -0
  107. package/.idea/sonarlint/issuestore/c/e/ced731c009a96db35c13542868ab840aa2ef6de4 +0 -0
  108. package/.idea/sonarlint/issuestore/d/1/d13af3479d43279b14b3cf9dbac30965ada1dadb +0 -0
  109. package/.idea/sonarlint/issuestore/d/2/d2b81feb53c8d963c77dbd7e63afdc568883baad +0 -0
  110. package/.idea/sonarlint/issuestore/d/3/d350eccaa5bdadf800f3540db3f0e94c0417a0f3 +0 -0
  111. package/.idea/sonarlint/issuestore/d/3/d3f37835937f760d81f9a81b56b898afec37a1e7 +0 -0
  112. package/.idea/sonarlint/issuestore/d/4/d4e02cf17e1477bc4516d78f557bdcd1b933fafd +0 -0
  113. package/.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
  114. package/.idea/sonarlint/issuestore/d/6/d690bc5bd5193edbd3f7e29b2d1be4d3f991937b +0 -0
  115. package/.idea/sonarlint/issuestore/d/7/d76f3a535e1a92673864b9fca18992b4f862dbba +2 -0
  116. package/.idea/sonarlint/issuestore/d/a/dac4ed416fff2cc3bff02b81a88328ec7c19de0e +0 -0
  117. package/.idea/sonarlint/issuestore/e/0/e00bc8f8672ab358b454ac1d2030d3526a374653 +0 -0
  118. package/.idea/sonarlint/issuestore/e/0/e017677da38130b31bd766d7a84884050023d597 +0 -0
  119. package/.idea/sonarlint/issuestore/e/1/e15a6d4820640fb201495dfd5875489fd536ebb3 +0 -0
  120. package/.idea/sonarlint/issuestore/e/4/e4ba9c2909b6e543ec138e95d86cee25af778d54 +0 -0
  121. package/.idea/sonarlint/issuestore/e/8/e804956e69c2d0944d08ff64caa3e6286590814b +0 -0
  122. package/.idea/sonarlint/issuestore/f/0/f039b4d90e01657caf0dbfd31860e93d585b6752 +0 -0
  123. package/.idea/sonarlint/issuestore/f/0/f096934f71a0918e4829a4f76b3bba64b8d65f1e +0 -0
  124. package/.idea/sonarlint/issuestore/f/1/f11f7a7b3a7306f994e28b2eba9c69a5b555c017 +0 -0
  125. package/.idea/sonarlint/issuestore/f/1/f1b96288c62ba6818b30b3d2e7506e30c1b4a742 +3 -0
  126. package/.idea/sonarlint/issuestore/f/3/f351a44ab2314976174827d1ca2495fd38ea8df8 +0 -0
  127. package/.idea/sonarlint/issuestore/f/3/f37789881b66dffd7123fa80ee7ad838f3bdafaf +0 -0
  128. package/.idea/sonarlint/issuestore/f/4/f40b81d4c7242e4401b8ae55bdcab1c38b860071 +0 -0
  129. package/.idea/sonarlint/issuestore/f/4/f425d43e761ebef46b781334764eb5d3bb913cf8 +3 -0
  130. package/.idea/sonarlint/issuestore/f/6/f61f9b480b4da03d8ff7d137ce344656354cd190 +0 -0
  131. package/.idea/sonarlint/issuestore/f/6/f65d6b8cc814626bac7a38f2cd1c930554388594 +0 -0
  132. package/.idea/sonarlint/issuestore/f/9/f900edc44cb929c2267a16100a32851f6d5b477d +0 -0
  133. package/.idea/sonarlint/issuestore/f/b/fb8261203d602a51243c9a77b6c1ee63bb7b6966 +0 -0
  134. package/.idea/sonarlint/issuestore/f/f/ff7918f0784b416c82bb974889323c13506e7d0a +0 -0
  135. package/.idea/sonarlint/issuestore/index.pb +259 -0
  136. package/.idea/sonarlint/securityhotspotstore/0/2/0233f8559e74312ed5074ade1be1aea02e6e4f1e +0 -0
  137. package/.idea/sonarlint/securityhotspotstore/0/2/02d5146f94659f11c56f0ea1d9c504ff9492b546 +0 -0
  138. package/.idea/sonarlint/securityhotspotstore/0/2/02f4902c3db5247c732bde5aaf0d4fb55363c3b1 +0 -0
  139. package/.idea/sonarlint/securityhotspotstore/0/3/0343acf33ca1b061164f9846ff8ce30429205a2a +0 -0
  140. package/.idea/sonarlint/securityhotspotstore/0/4/04d5869ea32abbf6abf5a3cb9a671637ac2e345b +0 -0
  141. package/.idea/sonarlint/securityhotspotstore/0/9/0918cbb76f2c44f223706cec9d31a32cd1177ce4 +0 -0
  142. package/.idea/sonarlint/securityhotspotstore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
  143. package/.idea/sonarlint/securityhotspotstore/0/b/0b63533e07c8b10a8fbfe7f35df1bffec8103e14 +0 -0
  144. package/.idea/sonarlint/securityhotspotstore/0/c/0c0fd6a370cd10350462b46937e98f903bcb1435 +0 -0
  145. package/.idea/sonarlint/securityhotspotstore/0/e/0e600c187f4cf8bd0dd6b678f55067a8300ab570 +0 -0
  146. package/.idea/sonarlint/securityhotspotstore/0/f/0f43007644f06a63afbfbfc129aadd61bf40318a +0 -0
  147. package/.idea/sonarlint/securityhotspotstore/1/4/14148858b7b4a0aa23ddfdc41ef62be2db925c70 +0 -0
  148. package/.idea/sonarlint/securityhotspotstore/1/5/15ff6a89ff653ef3176ddb9c5e0b59c16c2db949 +0 -0
  149. package/.idea/sonarlint/securityhotspotstore/1/6/169d7dbe9a819ce675ee66de130c5a7c92bb763d +0 -0
  150. package/.idea/sonarlint/securityhotspotstore/1/8/18a1ebb3a44ad977a5cfa60b6620a47ba00163a3 +0 -0
  151. package/.idea/sonarlint/securityhotspotstore/1/f/1fd3ecff7dd864e5b00c14a4333d8cde8c9faf11 +0 -0
  152. package/.idea/sonarlint/securityhotspotstore/2/0/204a133d39c4a2c7b86de23f541f342e0a7a3234 +0 -0
  153. package/.idea/sonarlint/securityhotspotstore/2/4/2491406c07bfc2b0f7ed8e010e56d6e468c374d0 +0 -0
  154. package/.idea/sonarlint/securityhotspotstore/2/5/257d0fa8d58da6d96f5a7af9724b2e1c92c62a2d +0 -0
  155. package/.idea/sonarlint/securityhotspotstore/2/8/282dcb1e4436703724dd35bb567086834c3ebdb4 +0 -0
  156. package/.idea/sonarlint/securityhotspotstore/2/a/2aeb7bd71ee8453ff4601a1fc8fcd4fa9c5fe355 +0 -0
  157. package/.idea/sonarlint/securityhotspotstore/2/c/2c25e229323612e7988c659ad7b51c7b1e2b2403 +0 -0
  158. package/.idea/sonarlint/securityhotspotstore/2/f/2fa1946a2afc952506e41d87833ed29401fc29a0 +0 -0
  159. package/.idea/sonarlint/securityhotspotstore/3/4/3463c59843592ad2a00c54f39e2943583bd6fff9 +0 -0
  160. package/.idea/sonarlint/securityhotspotstore/3/9/390f31a969ba7940070bf32aac2a0d1f7b7bd78b +0 -0
  161. package/.idea/sonarlint/securityhotspotstore/3/e/3ebc20bbfa3c33cf20481a2de7591c997c68abb9 +0 -0
  162. package/.idea/sonarlint/securityhotspotstore/4/1/417425bfa2cef1f22539e792dcb0a7f7784f9604 +0 -0
  163. package/.idea/sonarlint/securityhotspotstore/4/1/41ac9772c7dd3fc038485f99106b427a5e28f2e3 +0 -0
  164. package/.idea/sonarlint/securityhotspotstore/4/4/44d3ca69a31c68c4d920b1fbb0083732713d2690 +0 -0
  165. package/.idea/sonarlint/securityhotspotstore/4/8/48a8ec70d252121fbc7df4e8a45044e964b5d6b7 +0 -0
  166. package/.idea/sonarlint/securityhotspotstore/4/9/49e951d8246d0914f9d10b3955a7178866cfcee9 +0 -0
  167. package/.idea/sonarlint/securityhotspotstore/4/d/4def76d1eea91e36f7789929705c032be6df27cd +0 -0
  168. package/.idea/sonarlint/securityhotspotstore/4/f/4f40ac4df99b3f8bbd80db9b729d3b4b401623eb +0 -0
  169. package/.idea/sonarlint/securityhotspotstore/4/f/4f4bba1840f039e57f25bbd19ec0e20c15fc0e1d +0 -0
  170. package/.idea/sonarlint/securityhotspotstore/5/1/51f466e675bcd7ca84bf6287bab7404cde26db22 +0 -0
  171. package/.idea/sonarlint/securityhotspotstore/5/2/5222c3d19fd979fed770b7f3664147b2ed16b230 +0 -0
  172. package/.idea/sonarlint/securityhotspotstore/5/2/52cb9deee3ee8b8add01ec855fc4a45818ac7638 +0 -0
  173. package/.idea/sonarlint/securityhotspotstore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
  174. package/.idea/sonarlint/securityhotspotstore/5/4/5471e6ec0c0e189560fccc7f474993fc6e1f758a +0 -0
  175. package/.idea/sonarlint/securityhotspotstore/5/7/578f3ebc33c3ca6ab8e66c97f3c2eba2237b40ea +0 -0
  176. package/.idea/sonarlint/securityhotspotstore/5/8/5831775a729fcf9cb12959996af17091f46f440b +0 -0
  177. package/.idea/sonarlint/securityhotspotstore/5/8/5842d31a915855888fd63b1aca8c3a4dd8c95880 +0 -0
  178. package/.idea/sonarlint/securityhotspotstore/5/c/5ce582bce204b2edd80e7602b279b3d64cc737e0 +0 -0
  179. package/.idea/sonarlint/securityhotspotstore/5/f/5f2f0e365ced14f666cef2ac164c93530d4e0c2a +0 -0
  180. package/.idea/sonarlint/securityhotspotstore/6/0/60882ef9544224120d1d72534f44b973f3a57746 +0 -0
  181. package/.idea/sonarlint/securityhotspotstore/6/0/60a7f3adc2729926865b49b02008b2874d65429d +0 -0
  182. package/.idea/sonarlint/securityhotspotstore/6/0/60b89c88214907466f4d004bb8a2e56a468da7f5 +0 -0
  183. package/.idea/sonarlint/securityhotspotstore/6/0/60bb79bf1ee7929bf0f8c20166ae12e49d7af9ea +0 -0
  184. package/.idea/sonarlint/securityhotspotstore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
  185. package/.idea/sonarlint/securityhotspotstore/6/5/65c98391f12bde62f0955f439128e0f8cb1eac6a +0 -0
  186. package/.idea/sonarlint/securityhotspotstore/6/7/6733e547a8a62f0e2b41358995a67255b967bfeb +0 -0
  187. package/.idea/sonarlint/securityhotspotstore/6/8/68e29ca13d4f4cada132a831a6a1b52c0a0ebfd3 +0 -0
  188. package/.idea/sonarlint/securityhotspotstore/6/9/692f3fce406d97e843fbf744ad689b51e3754dff +0 -0
  189. package/.idea/sonarlint/securityhotspotstore/6/a/6a835d16be742d060f08912c5808bbf862426d3d +0 -0
  190. package/.idea/sonarlint/securityhotspotstore/6/e/6e142af7dffa0e82efece3ff58722e96f4283a3f +0 -0
  191. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  192. package/.idea/sonarlint/securityhotspotstore/7/2/725cc9c146a136cafafef5ffec4cb307badb1d0e +0 -0
  193. package/.idea/sonarlint/securityhotspotstore/7/3/73e399246034aaf963bb1ad4b0a0e2b5228f57cc +0 -0
  194. package/.idea/sonarlint/securityhotspotstore/7/7/7710090cd8b91b750ed58a2f3196d971d7de988b +0 -0
  195. package/.idea/sonarlint/securityhotspotstore/7/8/785055d2374e9ff4841f875174c20cad0c0d9a80 +0 -0
  196. package/.idea/sonarlint/securityhotspotstore/7/8/78a09338d0e7bb67a5d2643580367940bee1e5b2 +0 -0
  197. package/.idea/sonarlint/securityhotspotstore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
  198. package/.idea/sonarlint/securityhotspotstore/7/a/7a6581baac8c66b8e331b8187db03c64201001f1 +0 -0
  199. package/.idea/sonarlint/securityhotspotstore/8/5/852060cc24633564871605ce8d1e59970ef2485c +0 -0
  200. package/.idea/sonarlint/securityhotspotstore/8/5/85e8222943093a270d57ab07964a75d9a15648eb +2 -0
  201. package/.idea/sonarlint/securityhotspotstore/8/6/86abd2602e79b84f352d24c72f079541f41aeb6d +0 -0
  202. package/.idea/sonarlint/securityhotspotstore/8/8/881d5d47bdc17ef8facebef59b68b5fc099a0293 +0 -0
  203. package/.idea/sonarlint/securityhotspotstore/8/8/882c515e635f40a7e1ad419c70c0f2d2c17e2f37 +0 -0
  204. package/.idea/sonarlint/securityhotspotstore/8/9/89d3df066dd0ec67c57e82d68cce94cb72f820b5 +0 -0
  205. package/.idea/sonarlint/securityhotspotstore/8/b/8bff50de15c7d9b1166aa9ad98243d1a04b7e4c4 +0 -0
  206. package/.idea/sonarlint/securityhotspotstore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
  207. package/.idea/sonarlint/securityhotspotstore/9/0/900448384f6077c203e834650b95017f7a373583 +0 -0
  208. package/.idea/sonarlint/securityhotspotstore/9/1/912f3a935b193eb148539815f9aef4a4252c12ba +0 -0
  209. package/.idea/sonarlint/securityhotspotstore/9/4/94dd0b13f6f12ba5eae129046b1d061ddd546d72 +0 -0
  210. package/.idea/sonarlint/securityhotspotstore/9/5/958a078793035ab0aad2086f7be79b55628402c0 +0 -0
  211. package/.idea/sonarlint/securityhotspotstore/9/6/96dcf27dc8ae3662215096d9e00c194897d29c0b +0 -0
  212. package/.idea/sonarlint/securityhotspotstore/9/7/9730e89df0a4367176020e461c38c37b7ae58b9a +0 -0
  213. package/.idea/sonarlint/securityhotspotstore/9/8/98c4f1f9f94adc9e53100dbf68ce8c5df2a47f01 +0 -0
  214. package/.idea/sonarlint/securityhotspotstore/9/9/9920d82d6cbbfe404d91c79781048e0c0514767e +0 -0
  215. package/.idea/sonarlint/securityhotspotstore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
  216. package/.idea/sonarlint/securityhotspotstore/a/1/a1991714da3efb5da4456ee802727afe63035aa5 +0 -0
  217. package/.idea/sonarlint/securityhotspotstore/a/7/a70ff2c42b6ffb69f1686cf6ced65733a75e056f +0 -0
  218. package/.idea/sonarlint/securityhotspotstore/a/8/a8b0d4ad8d44e8bb48b2ca34ddbd84b549ee9105 +0 -0
  219. package/.idea/sonarlint/securityhotspotstore/a/a/aaf524b8c18d54117ff8a4de5b06cdd7f5776d0d +0 -0
  220. package/.idea/sonarlint/securityhotspotstore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
  221. package/.idea/sonarlint/securityhotspotstore/b/0/b0a40903f86afa7d5940f95f66995a290b6d4fe2 +0 -0
  222. package/.idea/sonarlint/securityhotspotstore/b/2/b26e3039f1510dfa296fdfb6a1a5f12cdca84371 +0 -0
  223. package/.idea/sonarlint/securityhotspotstore/b/3/b3349079128f17cb6e0cecf3cccfa4fe5188f92f +0 -0
  224. package/.idea/sonarlint/securityhotspotstore/b/4/b4a9acebce4d56aa444e5b857fa140163bcbd47f +0 -0
  225. package/.idea/sonarlint/securityhotspotstore/b/5/b5320db1c0a02ceb68cb70d050f5dc9d420b928b +0 -0
  226. package/.idea/sonarlint/securityhotspotstore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
  227. package/.idea/sonarlint/securityhotspotstore/b/9/b9f0a0a757a4dc7cc57724b3534dfdf189c25ea6 +0 -0
  228. package/.idea/sonarlint/securityhotspotstore/b/b/bb971971f3915fff5703a078f2784df410b7298e +0 -0
  229. package/.idea/sonarlint/securityhotspotstore/b/e/be023cb04cabb819ee6a97d9fc2a088cb4eded97 +0 -0
  230. package/.idea/sonarlint/securityhotspotstore/b/e/be633e1bf05efdb3dec5eae2777f024e1aee5599 +0 -0
  231. package/.idea/sonarlint/securityhotspotstore/c/2/c2b3144db64026759165a569b0f1f5086c6be0d3 +0 -0
  232. package/.idea/sonarlint/securityhotspotstore/c/6/c62bdf361b714427c19bdc47c8c97f90cce4dad3 +0 -0
  233. package/.idea/sonarlint/securityhotspotstore/c/6/c680d0675608db3debbc56eab6dae6478ea3d2db +0 -0
  234. package/.idea/sonarlint/securityhotspotstore/c/b/cb44f758b6159383fc5e20e1b38c4a3781d4e4bc +0 -0
  235. package/.idea/sonarlint/securityhotspotstore/c/e/ced731c009a96db35c13542868ab840aa2ef6de4 +0 -0
  236. package/.idea/sonarlint/securityhotspotstore/d/1/d13af3479d43279b14b3cf9dbac30965ada1dadb +0 -0
  237. package/.idea/sonarlint/securityhotspotstore/d/2/d2b81feb53c8d963c77dbd7e63afdc568883baad +0 -0
  238. package/.idea/sonarlint/securityhotspotstore/d/3/d3f37835937f760d81f9a81b56b898afec37a1e7 +0 -0
  239. package/.idea/sonarlint/securityhotspotstore/d/4/d4e02cf17e1477bc4516d78f557bdcd1b933fafd +0 -0
  240. package/.idea/sonarlint/securityhotspotstore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
  241. package/.idea/sonarlint/securityhotspotstore/d/6/d690bc5bd5193edbd3f7e29b2d1be4d3f991937b +0 -0
  242. package/.idea/sonarlint/securityhotspotstore/d/7/d76f3a535e1a92673864b9fca18992b4f862dbba +0 -0
  243. package/.idea/sonarlint/securityhotspotstore/d/a/dac4ed416fff2cc3bff02b81a88328ec7c19de0e +0 -0
  244. package/.idea/sonarlint/securityhotspotstore/e/0/e00bc8f8672ab358b454ac1d2030d3526a374653 +0 -0
  245. package/.idea/sonarlint/securityhotspotstore/e/1/e15a6d4820640fb201495dfd5875489fd536ebb3 +0 -0
  246. package/.idea/sonarlint/securityhotspotstore/e/8/e804956e69c2d0944d08ff64caa3e6286590814b +0 -0
  247. package/.idea/sonarlint/securityhotspotstore/f/0/f039b4d90e01657caf0dbfd31860e93d585b6752 +0 -0
  248. package/.idea/sonarlint/securityhotspotstore/f/0/f096934f71a0918e4829a4f76b3bba64b8d65f1e +0 -0
  249. package/.idea/sonarlint/securityhotspotstore/f/1/f11f7a7b3a7306f994e28b2eba9c69a5b555c017 +0 -0
  250. package/.idea/sonarlint/securityhotspotstore/f/1/f1b96288c62ba6818b30b3d2e7506e30c1b4a742 +0 -0
  251. package/.idea/sonarlint/securityhotspotstore/f/3/f351a44ab2314976174827d1ca2495fd38ea8df8 +0 -0
  252. package/.idea/sonarlint/securityhotspotstore/f/3/f37789881b66dffd7123fa80ee7ad838f3bdafaf +0 -0
  253. package/.idea/sonarlint/securityhotspotstore/f/4/f40b81d4c7242e4401b8ae55bdcab1c38b860071 +0 -0
  254. package/.idea/sonarlint/securityhotspotstore/f/4/f425d43e761ebef46b781334764eb5d3bb913cf8 +0 -0
  255. package/.idea/sonarlint/securityhotspotstore/f/6/f61f9b480b4da03d8ff7d137ce344656354cd190 +0 -0
  256. package/.idea/sonarlint/securityhotspotstore/f/6/f65d6b8cc814626bac7a38f2cd1c930554388594 +0 -0
  257. package/.idea/sonarlint/securityhotspotstore/f/9/f900edc44cb929c2267a16100a32851f6d5b477d +0 -0
  258. package/.idea/sonarlint/securityhotspotstore/f/b/fb8261203d602a51243c9a77b6c1ee63bb7b6966 +0 -0
  259. package/.idea/sonarlint/securityhotspotstore/f/f/ff7918f0784b416c82bb974889323c13506e7d0a +0 -0
  260. package/.idea/sonarlint/securityhotspotstore/index.pb +249 -0
  261. package/.idea/sonarlint-state.xml +6 -0
  262. package/.idea/sonarlint.xml +8 -0
  263. package/.idea/vcs.xml +1 -1
  264. package/.yarn/install-state.gz +0 -0
  265. package/.yarn/releases/yarn-1.22.22.cjs +148049 -0
  266. package/CHANGELOG.md +13 -1
  267. package/dist/demosplan-ui.umd.js +1 -1
  268. package/moveToClaudeMD.md +65 -0
  269. package/package.json +1 -1
  270. package/src/components/DpAutocomplete/DpAutocomplete.vue +65 -29
  271. package/src/components/DpProgressBar/DpProgressBar.vue +11 -5
  272. package/tokens/dist/css/theme.css +1 -1
  273. package/tokens/dist/js/boxShadow.js +1 -1
  274. package/tokens/dist/js/breakpoints.js +1 -1
  275. package/tokens/dist/js/color.brand.js +1 -1
  276. package/tokens/dist/js/color.data.js +1 -1
  277. package/tokens/dist/js/color.palette.js +1 -1
  278. package/tokens/dist/js/color.ui-tailwind.js +1899 -0
  279. package/tokens/dist/js/color.ui.js +1 -1
  280. package/tokens/dist/js/fontSize.js +1 -1
  281. package/tokens/dist/js/rounded.js +1 -1
  282. package/tokens/dist/js/space.js +1 -1
  283. package/tokens/dist/js/zIndex.js +1 -1
  284. package/tokens/dist/scss/_boxShadow.scss +1 -1
  285. package/tokens/dist/scss/_breakpoints.scss +1 -1
  286. package/tokens/dist/scss/_color.brand.scss +1 -1
  287. package/tokens/dist/scss/_color.data.scss +1 -1
  288. package/tokens/dist/scss/_color.palette.scss +1 -1
  289. package/tokens/dist/scss/_color.ui.scss +1 -1
  290. package/tokens/dist/scss/_fontSize.scss +1 -1
  291. package/tokens/dist/scss/_rounded.scss +1 -1
  292. package/tokens/dist/scss/_space.scss +1 -1
  293. package/tokens/dist/scss/_zIndex.scss +1 -1
  294. package/tokens/dist/tailwind/color.brand.js +8 -0
  295. package/tokens/dist/tailwind/color.data.js +30 -0
  296. package/tokens/dist/tailwind/color.palette.js +60 -0
  297. package/tokens/scss/_boxShadow.scss +8 -0
  298. package/tokens/scss/_color.brand.scss +10 -0
  299. package/tokens/scss/_color.data.scss +32 -0
  300. package/tokens/scss/_color.palette.scss +62 -0
  301. package/tokens/scss/_color.scss +89 -0
  302. package/tokens/scss/_color.ui.scss +60 -0
  303. package/tokens/scss/_fontSize.scss +26 -0
  304. package/tokens/scss/_rounded.scss +9 -0
  305. package/tokens/scss/_space.scss +13 -0
  306. package/yarn-error.log +14081 -0
  307. package/.idea/codeStyles/Project.xml +0 -62
  308. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  309. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  310. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_11_07_2025_09_56_[Changes]/shelved.patch +0 -175
  311. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_11_07_2025_09_56__Changes_.xml +0 -4
  312. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_55_[Changes]/shelved.patch +0 -18
  313. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_55__Changes_.xml +0 -4
  314. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_56_[Changes]/shelved.patch +0 -18
  315. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_56__Changes_.xml +0 -4
  316. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_06_2025_14_40_[Changes]/shelved.patch +0 -58
  317. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_24_06_2025_11_14_[Changes]/shelved.patch +0 -217
  318. package/.idea/shelf/Uncommitted_changes_before_Update_at_09_05_2025_14_28_[Changes]/shelved.patch +0 -295
  319. package/.idea/shelf/Uncommitted_changes_before_Update_at_15_07_2025_11_56_[Changes]/shelved.patch +0 -18
  320. package/.idea/shelf/Uncommitted_changes_before_Update_at_15_07_2025_11_56__Changes_.xml +0 -4
  321. package/.idea/workspace.xml +0 -981
  322. package/coverage/clover.xml +0 -6
  323. package/coverage/coverage-final.json +0 -1
  324. package/coverage/lcov-report/base.css +0 -224
  325. package/coverage/lcov-report/block-navigation.js +0 -87
  326. package/coverage/lcov-report/favicon.png +0 -0
  327. package/coverage/lcov-report/index.html +0 -101
  328. package/coverage/lcov-report/prettify.css +0 -1
  329. package/coverage/lcov-report/prettify.js +0 -2
  330. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  331. package/coverage/lcov-report/sorter.js +0 -196
  332. package/debug-storybook.log +0 -40
  333. package/storybook-static/assets/CleanHtml-BxfZNGDF.js +0 -48
  334. package/storybook-static/assets/CleanHtml-CeG3Pc5D.js +0 -2
  335. package/storybook-static/assets/Color-AVL7NMMY-CrqVLxS7.js +0 -1
  336. package/storybook-static/assets/DocsRenderer-PQXLIZUC-C94DWaTq.js +0 -2
  337. package/storybook-static/assets/DpAccordion-BJ0eYoeL.js +0 -9
  338. package/storybook-static/assets/DpAccordion-CKgNMMg7.js +0 -1
  339. package/storybook-static/assets/DpAccordion.stories-Bi3-V11T.js +0 -26
  340. package/storybook-static/assets/DpApi-BU9X0WT6.js +0 -4
  341. package/storybook-static/assets/DpAutocomplete-BhABAuyz.js +0 -6
  342. package/storybook-static/assets/DpAutocomplete-Ds8IvIaM.js +0 -1
  343. package/storybook-static/assets/DpAutocomplete.stories-DGmOfoqI.js +0 -8
  344. package/storybook-static/assets/DpBadge-BPAWHuN0.js +0 -16
  345. package/storybook-static/assets/DpBadge-mgPu9WO8.js +0 -1
  346. package/storybook-static/assets/DpBadge.stories-DEFu_g_d.js +0 -69
  347. package/storybook-static/assets/DpBulkEditHeader-DYRPNRDA.js +0 -10
  348. package/storybook-static/assets/DpBulkEditHeader-qNgl3Gdq.js +0 -1
  349. package/storybook-static/assets/DpBulkEditHeader.stories-CgKeZjbQ.js +0 -50
  350. package/storybook-static/assets/DpButton-BLywaapW.js +0 -15
  351. package/storybook-static/assets/DpButton-BX5f5Y08.js +0 -28
  352. package/storybook-static/assets/DpButton.stories-Bh1aQWo-.js +0 -60
  353. package/storybook-static/assets/DpButtonIcon-CutRnDpO.js +0 -4
  354. package/storybook-static/assets/DpButtonRow-CU6rf5xR.js +0 -12
  355. package/storybook-static/assets/DpButtonRow-DRRw4r4F.js +0 -1
  356. package/storybook-static/assets/DpButtonRow.stories-BRZ52We0.js +0 -60
  357. package/storybook-static/assets/DpCard-CNBkliZ1.js +0 -1
  358. package/storybook-static/assets/DpCard-CqzBHYky.js +0 -5
  359. package/storybook-static/assets/DpCard.stories-CkAnU1Vf.js +0 -8
  360. package/storybook-static/assets/DpCheckbox-BdZqABk4.js +0 -1
  361. package/storybook-static/assets/DpCheckbox-Db9FgQPp.js +0 -25
  362. package/storybook-static/assets/DpCheckbox.stories-yTBXYgIJ.js +0 -48
  363. package/storybook-static/assets/DpCheckboxGroup-CE1noRhA.js +0 -10
  364. package/storybook-static/assets/DpCheckboxGroup-CFaFEzrL.js +0 -1
  365. package/storybook-static/assets/DpCheckboxGroup.stories-DQ7BzPww.js +0 -15
  366. package/storybook-static/assets/DpColumnSelector-B0Q0n09i.js +0 -10
  367. package/storybook-static/assets/DpColumnSelector-BjRvX20u.js +0 -1
  368. package/storybook-static/assets/DpColumnSelector.stories-Bsxtu-R9.js +0 -17
  369. package/storybook-static/assets/DpConfirmDialog-B4NQKzL5.js +0 -8
  370. package/storybook-static/assets/DpConfirmDialog-CQYtFW-3.js +0 -1
  371. package/storybook-static/assets/DpConfirmDialog.stories-iv2KRiDU.js +0 -73
  372. package/storybook-static/assets/DpContextualHelp-DnsCCoZB.js +0 -4
  373. package/storybook-static/assets/DpContextualHelp-cg4NfoZJ.js +0 -12
  374. package/storybook-static/assets/DpContextualHelp.stories-D5HWdQyH.js +0 -45
  375. package/storybook-static/assets/DpDataTable-Cr1GA5Cb.js +0 -16
  376. package/storybook-static/assets/DpDataTable-f7CVMPNi.js +0 -10
  377. package/storybook-static/assets/DpDataTable.stories-BjXZnrni.js +0 -123
  378. package/storybook-static/assets/DpDataTableExtended-C-oFpO_I.js +0 -14
  379. package/storybook-static/assets/DpDataTableExtended-mDxHCvB0.js +0 -2
  380. package/storybook-static/assets/DpDataTableExtended.stories-I5_PptZr.js +0 -73
  381. package/storybook-static/assets/DpDateRangePicker-D5652u0C.js +0 -1
  382. package/storybook-static/assets/DpDateRangePicker-YGJhE-xN.js +0 -10
  383. package/storybook-static/assets/DpDateRangePicker.stories-CCfSjt7J.js +0 -19
  384. package/storybook-static/assets/DpDatepicker-BlQqmRXh.js +0 -14
  385. package/storybook-static/assets/DpDatepicker-CFlgW3DB.js +0 -30
  386. package/storybook-static/assets/DpDatepicker.stories-QbL7uNPB.js +0 -55
  387. package/storybook-static/assets/DpDatetimePicker-BNogWwEl.js +0 -17
  388. package/storybook-static/assets/DpDatetimePicker-DQokm861.js +0 -2
  389. package/storybook-static/assets/DpDatetimePicker.stories-dJTr_X4a.js +0 -39
  390. package/storybook-static/assets/DpDetails-Do--n1SK.js +0 -1
  391. package/storybook-static/assets/DpDetails-qy-zsMYA.js +0 -12
  392. package/storybook-static/assets/DpDetails.stories-BmFnnpwr.js +0 -89
  393. package/storybook-static/assets/DpDraggable-CddfZrQg.js +0 -12
  394. package/storybook-static/assets/DpDraggable-DLTo9Q5K.js +0 -6
  395. package/storybook-static/assets/DpDraggable.stories-YSsJhbLZ.js +0 -290
  396. package/storybook-static/assets/DpEditableList-5FqvJbtx.js +0 -8
  397. package/storybook-static/assets/DpEditableList-CKEmMpmV.js +0 -28
  398. package/storybook-static/assets/DpEditableList.stories-CunPGVO1.js +0 -48
  399. package/storybook-static/assets/DpEditor-xJ7bfv4o.js +0 -12
  400. package/storybook-static/assets/DpEditor.stories-IBm6EtTh.js +0 -90
  401. package/storybook-static/assets/DpFlyout-DgegOHH0.js +0 -8
  402. package/storybook-static/assets/DpFlyout-Dsx6KYUl.js +0 -1
  403. package/storybook-static/assets/DpFlyout.stories-vre_uXPR.js +0 -23
  404. package/storybook-static/assets/DpFormRow-BsMZgRL2.js +0 -1
  405. package/storybook-static/assets/DpFormRow-DkKEMIVl.js +0 -9
  406. package/storybook-static/assets/DpFormRow.stories-ix_fpK9y.js +0 -12
  407. package/storybook-static/assets/DpIcon-DNUvGdzz.js +0 -9
  408. package/storybook-static/assets/DpIcon-dOAQoUKG.js +0 -5
  409. package/storybook-static/assets/DpIcon.stories-DGgU5AFH.js +0 -149
  410. package/storybook-static/assets/DpInlineNotification-CEzn4Pqd.js +0 -2
  411. package/storybook-static/assets/DpInlineNotification-wqa943WU.js +0 -13
  412. package/storybook-static/assets/DpInlineNotification.stories-B0z19u_O.js +0 -17
  413. package/storybook-static/assets/DpInput-HcmwQIdx.js +0 -33
  414. package/storybook-static/assets/DpInput-cN-WEvOL.js +0 -16
  415. package/storybook-static/assets/DpInput.stories-bIIwZ06I.js +0 -131
  416. package/storybook-static/assets/DpLabel-CIRt98zd.js +0 -30
  417. package/storybook-static/assets/DpLabel-DFauD5I2.js +0 -1
  418. package/storybook-static/assets/DpLabel.stories-DOvT5FP0.js +0 -212
  419. package/storybook-static/assets/DpLoading-CPPK2VdG.js +0 -20
  420. package/storybook-static/assets/DpLoading-rM7osZHK.js +0 -1
  421. package/storybook-static/assets/DpLoading.stories-DbGxhEdp.js +0 -43
  422. package/storybook-static/assets/DpModal-CVn3FCXs.js +0 -26
  423. package/storybook-static/assets/DpModal-oGkhZvzT.js +0 -1
  424. package/storybook-static/assets/DpModal.stories-D85oaATj.js +0 -129
  425. package/storybook-static/assets/DpMultiselect-Bm5hUadB.js +0 -22
  426. package/storybook-static/assets/DpMultiselect-C43chKj1.js +0 -44
  427. package/storybook-static/assets/DpMultiselect.stories-CIoTsG-g.js +0 -107
  428. package/storybook-static/assets/DpMultistepNav-AnSXdU2J.js +0 -1
  429. package/storybook-static/assets/DpMultistepNav-C2Zadn2N.js +0 -13
  430. package/storybook-static/assets/DpMultistepNav.stories-BG2cLqfE.js +0 -30
  431. package/storybook-static/assets/DpNotification-C1QXVdor.js +0 -1
  432. package/storybook-static/assets/DpNotification-DyJmy8iY.js +0 -29
  433. package/storybook-static/assets/DpNotification.stories-DfecPPLD.js +0 -105
  434. package/storybook-static/assets/DpPager-BaoMw4uo.js +0 -1
  435. package/storybook-static/assets/DpPager-XfqFqQGG.js +0 -12
  436. package/storybook-static/assets/DpPager.stories-DHEGD-lB.js +0 -24
  437. package/storybook-static/assets/DpProgressBar-4fw0icXV.js +0 -20
  438. package/storybook-static/assets/DpProgressBar-C0dbsdgz.js +0 -1
  439. package/storybook-static/assets/DpProgressBar.stories-BSJKPymL.js +0 -26
  440. package/storybook-static/assets/DpRadio-9df2JDL9.js +0 -13
  441. package/storybook-static/assets/DpRadio-D2xw34qI.js +0 -2
  442. package/storybook-static/assets/DpRadio.stories-BE1cjwtP.js +0 -117
  443. package/storybook-static/assets/DpResettableInput-BPdfP0Ae.js +0 -8
  444. package/storybook-static/assets/DpResettableInput-nox0ihQv.js +0 -1
  445. package/storybook-static/assets/DpResettableInput.stories-Cq1mfxTz.js +0 -41
  446. package/storybook-static/assets/DpSearchField-CFqegLRV.js +0 -1
  447. package/storybook-static/assets/DpSearchField-f1Llye-2.js +0 -4
  448. package/storybook-static/assets/DpSearchField.stories-CdMKRXtW.js +0 -52
  449. package/storybook-static/assets/DpSelect-BzmpttTu.js +0 -1
  450. package/storybook-static/assets/DpSelect-J0BVjsqi.js +0 -11
  451. package/storybook-static/assets/DpSelect.stories-NpI9vCfo.js +0 -129
  452. package/storybook-static/assets/DpSkeletonBox-CDn0SzQb.js +0 -20
  453. package/storybook-static/assets/DpSkeletonBox-a5wBcRN-.js +0 -1
  454. package/storybook-static/assets/DpSkeletonBox.stories-Cb2yeXBb.js +0 -70
  455. package/storybook-static/assets/DpSlidebar-Bfb2VXSk.js +0 -21
  456. package/storybook-static/assets/DpSlidebar-DtAyUisB.js +0 -1
  457. package/storybook-static/assets/DpSlidebar.stories-DKSwFYzN.js +0 -23
  458. package/storybook-static/assets/DpSlidingPagination-BCXUgS46.js +0 -1
  459. package/storybook-static/assets/DpSlidingPagination-CfkT9VBg.js +0 -21
  460. package/storybook-static/assets/DpSlidingPagination.stories-DZ80NUNd.js +0 -35
  461. package/storybook-static/assets/DpSplitButton-Cft5u7Pe.js +0 -4
  462. package/storybook-static/assets/DpStickyElement-Biohssqu.js +0 -21
  463. package/storybook-static/assets/DpStickyElement-ClzY3p1-.js +0 -4
  464. package/storybook-static/assets/DpStickyElement.stories-RayTMlXk.js +0 -42
  465. package/storybook-static/assets/DpTabs-BGgWBJ_5.js +0 -23
  466. package/storybook-static/assets/DpTabs.stories-BNe9rHxl.js +0 -85
  467. package/storybook-static/assets/DpTextArea-BtrBIQP_.js +0 -49
  468. package/storybook-static/assets/DpTextArea-DoA63rHr.js +0 -2
  469. package/storybook-static/assets/DpTextArea.stories-c3BZqrsh.js +0 -155
  470. package/storybook-static/assets/DpTimePicker-9Qy_qVnW.js +0 -1
  471. package/storybook-static/assets/DpTimePicker-JnDQtvH1.js +0 -27
  472. package/storybook-static/assets/DpTimePicker.stories-CMqNipv8.js +0 -92
  473. package/storybook-static/assets/DpToggle-BNgSF54s.js +0 -10
  474. package/storybook-static/assets/DpToggle-BPqlzXQH.js +0 -1
  475. package/storybook-static/assets/DpToggle.stories-D3_9X7aB.js +0 -35
  476. package/storybook-static/assets/DpTooltip-BwmuQSat.js +0 -27
  477. package/storybook-static/assets/DpTooltip-D8SOODgR.js +0 -1
  478. package/storybook-static/assets/DpTooltip.stories-DbfOxsaF.js +0 -248
  479. package/storybook-static/assets/DpTransitionExpand-C4Amyfxp.js +0 -8
  480. package/storybook-static/assets/DpTransitionExpand.stories-DX9u7SiJ.js +0 -85
  481. package/storybook-static/assets/DpTreeList-C68TZVte.js +0 -78
  482. package/storybook-static/assets/DpTreeList-Cciwf3YU.js +0 -2
  483. package/storybook-static/assets/DpTreeList.stories-B_u3WNs8.js +0 -673
  484. package/storybook-static/assets/DpUploadFiles-BPYxTWYH.js +0 -26
  485. package/storybook-static/assets/DpUploadFiles.stories-CDCSsFQa.js +0 -154
  486. package/storybook-static/assets/DpVideoPlayer-CnldmoEy.js +0 -162
  487. package/storybook-static/assets/DpVideoPlayer-b-qaSsV5.css +0 -1
  488. package/storybook-static/assets/DpVideoPlayer-n_ANjh0q.js +0 -29
  489. package/storybook-static/assets/DpVideoPlayer.stories-BOR2SEz7.js +0 -294
  490. package/storybook-static/assets/Notice-FIynXtzj.js +0 -1
  491. package/storybook-static/assets/Stickier-DyqV0rTn.js +0 -1
  492. package/storybook-static/assets/Table-DSJ5DLHV.js +0 -1
  493. package/storybook-static/assets/Tooltip-DzpJJoBp.js +0 -25
  494. package/storybook-static/assets/Tooltip-flnpMaRO.js +0 -32
  495. package/storybook-static/assets/_commonjsHelpers-CE1G-McA.js +0 -1
  496. package/storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
  497. package/storybook-static/assets/blocks-kyJuz3C5.js +0 -697
  498. package/storybook-static/assets/dayjs.min-C3DHb-Vr.js +0 -1
  499. package/storybook-static/assets/getScrollTop-CXy7CyEd.js +0 -1
  500. package/storybook-static/assets/hasOwnProp-B0vmwdLB.js +0 -1
  501. package/storybook-static/assets/helpers-CdC6mcQu.js +0 -1
  502. package/storybook-static/assets/iframe-DH2OFsM2.css +0 -1
  503. package/storybook-static/assets/iframe-KFxwsBtW.js +0 -1113
  504. package/storybook-static/assets/index-BbC7EF1e.js +0 -1
  505. package/storybook-static/assets/index-CTxdm8FW.js +0 -1
  506. package/storybook-static/assets/index-Ccl8MXhV.js +0 -79
  507. package/storybook-static/assets/lengthHint-zGawKYxB.js +0 -1
  508. package/storybook-static/assets/prefixClass-BBJiSKc2.js +0 -1
  509. package/storybook-static/assets/prefixClassMixin-FjEzRm2G.js +0 -1
  510. package/storybook-static/assets/tokens._overview-DfWYzL-L.js +0 -111
  511. package/storybook-static/assets/tokens.boxShadow-BRgz_5Oh.js +0 -64
  512. package/storybook-static/assets/tokens.breakpoints-V5SksMvF.js +0 -66
  513. package/storybook-static/assets/tokens.color-BpZbPjHk.js +0 -107
  514. package/storybook-static/assets/tokens.fontSize-rdG7vcZh.js +0 -51
  515. package/storybook-static/assets/tokens.rounded-CUE0q0vd.js +0 -55
  516. package/storybook-static/assets/tokens.space-B3MDHCbR.js +0 -48
  517. package/storybook-static/assets/tokens.zIndex-Be_fxSoV.js +0 -53
  518. package/storybook-static/assets/translations-DDOZrg-p.js +0 -1
  519. package/storybook-static/favicon.svg +0 -1
  520. package/storybook-static/iframe.html +0 -686
  521. package/storybook-static/index.html +0 -152
  522. package/storybook-static/index.json +0 -1
  523. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  524. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  525. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  526. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  527. package/storybook-static/project.json +0 -1
  528. package/storybook-static/sb-addons/docs-2/manager-bundle.js +0 -151
  529. package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
  530. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
  531. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  532. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  533. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  534. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  535. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  536. package/storybook-static/sb-manager/globals-module-info.js +0 -797
  537. package/storybook-static/sb-manager/globals-runtime.js +0 -69460
  538. package/storybook-static/sb-manager/globals.js +0 -34
  539. package/storybook-static/sb-manager/runtime.js +0 -13008
  540. package/vite.config.mjs +0 -44
  541. /package/{coverage/lcov.info → .idea/sonarlint/issuestore/0/2/0233f8559e74312ed5074ade1be1aea02e6e4f1e} +0 -0
@@ -1,69 +0,0 @@
1
- import{D as m}from"./DpBadge-mgPu9WO8.js";const i={component:m,title:"Components/Badge",tags:["autodocs","!dev"]},e={args:{text:"Default Badge",color:"default",size:"medium"},argTypes:{text:{control:"text"},color:{control:"select",options:["default","confirm","error","info","warning"]},size:{control:"select",options:["smaller","small","medium","large"]}},tags:["dev"]},r={args:{text:"Confirm Badge",color:"confirm",size:"medium"}},a={args:{text:"Error Badge",color:"error",size:"medium"}},o={args:{text:"Info Badge",color:"info",size:"medium"}},s={args:{text:"Warning Badge",color:"warning",size:"medium"}},t={args:{text:"Extra Small Badge",color:"default",size:"smaller"}},n={args:{text:"Small Badge",color:"default",size:"small"}},l={args:{text:"Medium Badge",color:"default",size:"medium"}},c={args:{text:"Large Badge",color:"default",size:"large"}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
2
- args: {
3
- text: 'Default Badge',
4
- color: 'default',
5
- size: 'medium'
6
- },
7
- argTypes: {
8
- text: {
9
- control: 'text'
10
- },
11
- color: {
12
- control: 'select',
13
- options: ['default', 'confirm', 'error', 'info', 'warning']
14
- },
15
- size: {
16
- control: 'select',
17
- options: ['smaller', 'small', 'medium', 'large']
18
- }
19
- },
20
- tags: ['dev']
21
- }`,...e.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
22
- args: {
23
- text: 'Confirm Badge',
24
- color: 'confirm',
25
- size: 'medium'
26
- }
27
- }`,...r.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
28
- args: {
29
- text: 'Error Badge',
30
- color: 'error',
31
- size: 'medium'
32
- }
33
- }`,...a.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
34
- args: {
35
- text: 'Info Badge',
36
- color: 'info',
37
- size: 'medium'
38
- }
39
- }`,...o.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
40
- args: {
41
- text: 'Warning Badge',
42
- color: 'warning',
43
- size: 'medium'
44
- }
45
- }`,...s.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
46
- args: {
47
- text: 'Extra Small Badge',
48
- color: 'default',
49
- size: 'smaller'
50
- }
51
- }`,...t.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
52
- args: {
53
- text: 'Small Badge',
54
- color: 'default',
55
- size: 'small'
56
- }
57
- }`,...n.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
58
- args: {
59
- text: 'Medium Badge',
60
- color: 'default',
61
- size: 'medium'
62
- }
63
- }`,...l.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
64
- args: {
65
- text: 'Large Badge',
66
- color: 'default',
67
- size: 'large'
68
- }
69
- }`,...c.parameters?.docs?.source}}};const d=["Default","ColorConfirm","ColorError","ColorInfo","ColorWarning","SizeXSmall","SizeSmall","SizeMedium","SizeLarge"],u=Object.freeze(Object.defineProperty({__proto__:null,ColorConfirm:r,ColorError:a,ColorInfo:o,ColorWarning:s,Default:e,SizeLarge:c,SizeMedium:l,SizeSmall:n,SizeXSmall:t,__namedExportsOrder:d,default:i},Symbol.toStringTag,{value:"Module"}));export{r as C,u as D,t as S,e as a,a as b,o as c,s as d,n as e,l as f,c as g};
@@ -1,10 +0,0 @@
1
- import{j as e,M as r,C as i}from"./blocks-kyJuz3C5.js";import{useMDXComponents as s}from"./index-BbC7EF1e.js";import{D as a,a as c}from"./DpBulkEditHeader.stories-CgKeZjbQ.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpBulkEditHeader-qNgl3Gdq.js";import"./translations-DDOZrg-p.js";import"./DpButton-BLywaapW.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function n(o){const t={code:"code",h1:"h1",h2:"h2",p:"p",...s(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:a}),`
2
- `,e.jsx(t.h1,{id:"bulkeditheader",children:"BulkEditHeader"}),`
3
- `,e.jsxs(t.p,{children:[`The BulkEditHeader component allows users to perform bulk editing operations on a set of records.
4
- It is typically used in conjunction with `,e.jsx(t.code,{children:"DpDataTable"}),` or a similar component that allows users
5
- to select multiple records. Then, actions to be performed on that selection can be placed
6
- inside the default slot of `,e.jsx(t.code,{children:"DpBulkEditHeader"}),"."]}),`
7
- `,e.jsx(t.p,{children:`The component features a visually prominent style and showcases the number of selected items,
8
- along with a button to reset the current selection.`}),`
9
- `,e.jsx(t.h2,{id:"custom-usage",children:"Custom usage"}),`
10
- `,e.jsx(i,{of:c})]})}function w(o={}){const{wrapper:t}={...s(),...o.components};return t?e.jsx(t,{...o,children:e.jsx(n,{...o})}):n(o)}export{w as default};
@@ -1 +0,0 @@
1
- import{d as a}from"./translations-DDOZrg-p.js";import{_ as l}from"./DpButton-BLywaapW.js";import{c as d,a as c,r as i,b as p,t as m,d as u,o as f}from"./iframe-KFxwsBtW.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const s={name:"DpBulkEditHeader",components:{DpButton:l},props:{selectedItemsText:{type:String,required:!0}},emits:["reset-selection"],data(){return{deselect:a.operations.deselect.all}}},B={role:"menu",class:"flex items-center gap-2 p-2 bg-selected"};function D(e,t,o,k,r,x){const n=u("dp-button");return f(),d("div",B,[c("span",null,m(o.selectedItemsText),1),i(e.$slots,"default"),p(n,{class:"ml-auto",color:"secondary","data-cy":"resetSelection",text:r.deselect,onClick:t[0]||(t[0]=g=>e.$emit("reset-selection"))},null,8,["text"])])}const H=_(s,[["render",D]]);s.__docgenInfo={displayName:"DpBulkEditHeader",exportName:"default",description:"",tags:{},props:[{name:"selectedItemsText",type:{name:"string"},required:!0}],events:[{name:"reset-selection"}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpBulkEditHeader/DpBulkEditHeader.vue"]};export{H as D};
@@ -1,50 +0,0 @@
1
- import{D as n}from"./DpBulkEditHeader-qNgl3Gdq.js";import{_ as s}from"./DpButton-BLywaapW.js";const d={component:n,title:"Components/BulkEditHeader",render:e=>({components:{DpButton:s,DpBulkEditHeader:n},computed:{allSelected(){return this.selectedItemsCount===e.options.length},selectedItemsCount(){return e.options.filter(c=>c.checked==!0).length},selectedItemsText(){return this.selectedItemsCount+" "+(this.selectedItemsCount>1?"Elements":"Element")+" selected"}},setup(){return{args:e,resetSelection:()=>{const l=document.getElementById("toggleAll");for(const o of e.options)o.checked=!1;l.checked=!1},toggleAll:l=>{for(const o of e.options)o.checked=l.target.checked}}},template:`
2
- <div>
3
- <dp-bulk-edit-header
4
- v-if="selectedItemsCount > 0"
5
- :selected-items-text="selectedItemsText"
6
- @reset-selection="resetSelection"
7
- v-bind="args">
8
- <dp-button
9
- text="Delete"
10
- icon="delete"
11
- @click="resetSelection" />
12
- </dp-bulk-edit-header>
13
- <label for="toggleAll">
14
- <input
15
- id="toggleAll"
16
- type="checkbox"
17
- :checked="allSelected"
18
- @click="toggleAll">
19
- Select all
20
- </label>
21
- <div
22
- class="u-mt-0_5"
23
- v-for="item in args.options"
24
- :key="item.id">
25
- <label :for="item.id">
26
- <input
27
- :id="item.id"
28
- v-model="item.checked"
29
- type="checkbox"/>
30
- {{ item.label }}
31
- </label>
32
- </div>
33
- </div>`})},t={args:{options:[{label:"Item 1",id:"1",checked:!1},{label:"Item 2",id:"2",checked:!1},{label:"Item 3",id:"3",checked:!1}]},argTypes:{}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
34
- args: {
35
- options: [{
36
- label: 'Item 1',
37
- id: '1',
38
- checked: false
39
- }, {
40
- label: 'Item 2',
41
- id: '2',
42
- checked: false
43
- }, {
44
- label: 'Item 3',
45
- id: '3',
46
- checked: false
47
- }]
48
- },
49
- argTypes: {}
50
- }`,...t.parameters?.docs?.source}}};const i=["Default"],p=Object.freeze(Object.defineProperty({__proto__:null,Default:t,__namedExportsOrder:i,default:d},Symbol.toStringTag,{value:"Module"}));export{p as D,t as a};
@@ -1,15 +0,0 @@
1
- import{y as z,z as l,B as T,g as U,G as E,e as C,j as L,n as A,u as V,o as y,f as R,c as D,t as O}from"./iframe-KFxwsBtW.js";import{S as N,p as S,_ as k}from"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import{T as F}from"./Tooltip-flnpMaRO.js";var p={},r={},q;function P(){return q||(q=1,Object.defineProperty(r,"__esModule",{value:!0}),r.BLANK_URL=r.relativeFirstCharacters=r.whitespaceEscapeCharsRegex=r.urlSchemeRegex=r.ctrlCharactersRegex=r.htmlCtrlEntityRegex=r.htmlEntitiesRegex=r.invalidProtocolRegex=void 0,r.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,r.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,r.htmlCtrlEntityRegex=/&(newline|tab);/gi,r.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,r.urlSchemeRegex=/^.+(:|&colon;)/gim,r.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,r.relativeFirstCharacters=[".","/"],r.BLANK_URL="about:blank"),r}var B;function I(){if(B)return p;B=1,Object.defineProperty(p,"__esModule",{value:!0}),p.sanitizeUrl=void 0;var e=P();function x(i){return e.relativeFirstCharacters.indexOf(i[0])>-1}function t(i){var u=i.replace(e.ctrlCharactersRegex,"");return u.replace(e.htmlEntitiesRegex,function(o,s){return String.fromCharCode(s)})}function b(i){return URL.canParse(i)}function m(i){try{return decodeURIComponent(i)}catch{return i}}function w(i){if(!i)return e.BLANK_URL;var u,o=m(i.trim());do o=t(o).replace(e.htmlCtrlEntityRegex,"").replace(e.ctrlCharactersRegex,"").replace(e.whitespaceEscapeCharsRegex,"").trim(),o=m(o),u=o.match(e.ctrlCharactersRegex)||o.match(e.htmlEntitiesRegex)||o.match(e.htmlCtrlEntityRegex)||o.match(e.whitespaceEscapeCharsRegex);while(u&&u.length>0);var s=o;if(!s)return e.BLANK_URL;if(x(s))return s;var g=s.trimStart(),f=g.match(e.urlSchemeRegex);if(!f)return s;var c=f[0].toLowerCase().trim();if(e.invalidProtocolRegex.test(c))return e.BLANK_URL;var h=g.replace(/\\/g,"/");if(c==="mailto:"||c.includes("://"))return h;if(c==="http:"||c==="https:"){if(!b(h))return e.BLANK_URL;var d=new URL(h);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return h}return p.sanitizeUrl=w,p}var K=I();const j=["textContent"],W=z({__name:"DpButton",props:{busy:{type:[Boolean,null],required:!1,default:null},color:{type:String,required:!1,default:"primary",validator:e=>["primary","secondary","warning"].includes(e)},disabled:{type:[Boolean,null],required:!1,default:null},hideText:{type:Boolean,required:!1,default:!1},href:{type:String,required:!1,default:"#"},icon:{type:String,required:!1,default:""},iconSize:{type:String,required:!1,default:"small",validator:e=>Object.keys(N).includes(e)},iconAfter:{type:String,required:!1,default:""},rounded:{type:Boolean,required:!1,default:!1},text:{type:String,required:!1,default:"save"},type:{type:String,required:!1,default:"button",validator:e=>["button","reset","submit"].includes(e)},variant:{type:String,required:!1,default:"solid",validator:e=>["solid","outline","subtle"].includes(e)}},emits:["blur","click","focus","mousedown"],setup(e,{emit:x}){const t=e,b=x,m=l(()=>(t.icon||t.iconAfter)&&t.hideText),w=l(()=>["inline-flex items-center leading-3 text-button select-none focus:z-above-zero focus:relative hover:cursor-pointer",...i.value,...s.value,t.busy&&"bg-busy animate-busy pointer-events-none",t.disabled&&"opacity-40 pointer-events-none",t.rounded?"rounded-full":"rounded-button"]),i=l(()=>{const n=d[t.color],a=[n.solidOutlineSubtle];switch(t.variant){case"solid":a.push(n.solidOutline,n.solid);break;case"outline":a.push(n.solidOutline,n.outlineSubtle);break;case"subtle":a.push(n.outlineSubtle,n.subtle);break}return a}),u=l(()=>!t.hideText&&S[t.icon]==="portrait"),o=l(()=>!t.hideText&&S[t.iconAfter]==="portrait"),s=l(()=>{let n=`${u.value?"pl-1":"pl-2"} py-1 ${o.value?"pr-1":"pr-2"}`;if(m.value)switch(t.iconSize){case"large":n="p-1.5";break;case"small":n="p-0.5";break;case"medium":n="p-[5px]";break}return["space-x-1",n]}),g=l(()=>f.value?"button":"a"),f=l(()=>t.href==="#"),c=l(()=>K.sanitizeUrl(t.href)),h=F;T(()=>{!(t.icon||t.iconAfter)&&t.hideText&&console.error("A DpButton instance is used without icon or visible text. Consider showing something to users.")});const d={primary:{solidOutlineSubtle:`
2
- outline-4 outline-offset-0 outline-transparent
3
- focus-visible:outline-[#005eb1]/50 focus-visible:z-above-zero`,solidOutline:`
4
- border border-interactive hover:border-interactive-hover focus:border-interactive-hover focus-visible:border-interactive-hover active:border-interactive-active `,outlineSubtle:`
5
- bg-surface text-interactive hover:bg-interactive-subtle-hover hover:text-interactive-hover focus:bg-interactive-subtle-hover focus:text-interactive-hover focus-visible:bg-interactive-subtle-hover focus-visible:text-interactive-hover active:bg-interactive-subtle-active active:text-interactive-active `,solid:`
6
- bg-interactive text-on-dark hover:text-on-dark hover:no-underline hover:bg-interactive-hover focus:bg-interactive-hover focus-visible:bg-interactive-hover active:bg-interactive-active `,subtle:`
7
- border border-on-dark hover:border-interactive-subtle-hover focus:border-interactive-subtle-hover focus-visible:border-interactive-subtle-hover active:border-interactive-subtle-active `},secondary:{solidOutlineSubtle:" outline-4 outline-offset-0 outline-transparent focus-visible:outline-[#595959]/50 ",solidOutline:`
8
- border border-interactive-secondary hover:border-interactive-secondary-hover focus:border-interactive-secondary-hover focus-visible:border-interactive-secondary-hover active:border-interactive-secondary-active `,outlineSubtle:`
9
- bg-surface text-interactive-secondary hover:bg-interactive-secondary-subtle-hover hover:text-interactive-secondary-hover focus:bg-interactive-secondary-subtle-hover focus:text-interactive-secondary-hover focus-visible:bg-interactive-secondary-subtle-hover focus-visible:text-interactive-secondary-hover active:bg-interactive-secondary-subtle-active active:text-interactive-secondary-active `,solid:`
10
- bg-interactive-secondary text-on-dark hover:text-on-dark hover:no-underline hover:bg-interactive-secondary-hover focus:bg-interactive-secondary-hover focus-visible:bg-interactive-secondary-hover active:bg-interactive-secondary-active `,subtle:`
11
- border border-on-dark hover:border-interactive-secondary-subtle-hover focus:border-interactive-secondary-subtle-hover focus-visible:border-interactive-secondary-subtle-hover active:border-interactive-secondary-subtle-active `},warning:{solidOutlineSubtle:" outline-4 outline-offset-0 outline-transparent focus-visible:outline-[#B20000]/50 ",solidOutline:`
12
- border border-interactive-warning hover:border-interactive-warning-hover focus:border-interactive-warning-hover focus-visible:border-interactive-warning-hover active:border-interactive-warning-active `,outlineSubtle:`
13
- bg-surface text-interactive-warning hover:bg-interactive-warning-subtle-hover hover:text-interactive-warning-hover focus:bg-interactive-warning-subtle-hover focus:text-interactive-warning-hover focus-visible:bg-interactive-warning-subtle-hover focus-visible:text-interactive-warning-hover active:bg-interactive-warning-subtle-active active:text-interactive-warning-active `,solid:`
14
- bg-interactive-warning text-on-dark hover:text-on-dark hover:no-underline hover:bg-interactive-warning-hover focus:bg-interactive-warning-hover focus-visible:bg-interactive-warning-hover active:bg-interactive-warning-active `,subtle:`
15
- border border-on-dark hover:border-interactive-warning-subtle-hover focus:border-interactive-warning-subtle-hover focus-visible:border-interactive-warning-subtle-hover active:border-interactive-warning-subtle-active `}};return(n,a)=>U((y(),C(V(g.value),{type:f.value?e.type:null,href:f.value?null:c.value,class:A(w.value),disabled:e.disabled,"aria-hidden":e.busy,"aria-label":e.hideText?e.text:null,onBlur:a[0]||(a[0]=v=>b("blur",v)),onClick:a[1]||(a[1]=v=>b("click",v)),onFocus:a[2]||(a[2]=v=>b("focus",v)),onMousedown:a[3]||(a[3]=v=>b("mousedown",v))},{default:L(()=>[e.icon?(y(),C(k,{key:0,"aria-hidden":"true",icon:e.icon,size:e.iconSize},null,8,["icon","size"])):R("",!0),e.hideText?R("",!0):(y(),D("span",{key:1,textContent:O(e.text)},null,8,j)),e.iconAfter?(y(),C(k,{key:2,"aria-hidden":"true",icon:e.iconAfter,size:e.iconSize},null,8,["icon","size"])):R("",!0)]),_:1},40,["type","href","class","disabled","aria-hidden","aria-label"])),[[E(h),m.value?e.text:null]])}});W.__docgenInfo={exportName:"default",displayName:"DpButton",description:"",tags:{},props:[{name:"busy",description:"While waiting for a network response, the visual state of the button can be changed via the `busy` property.",type:{name:"boolean|null"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"color",description:"The color of the button may be `primary`, `secondary`, or `warning`.",type:{name:"ButtonColor"},required:!1,defaultValue:{func:!1,value:"'primary'"},values:["primary","secondary","warning"]},{name:"disabled",type:{name:"boolean|null"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"hideText",description:"This may be set to true to render icon-only buttons.\nThe `text` prop will be visually hidden in this case, keeping the button accessible.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"href",description:"When passing an href, a link is rendered instead of a button element.\nThe value of its `href` attribute is sanitized, defaulting to `'about:blank'` for unsafe values.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'#'"}},{name:"icon",description:"Icon that will be placed before button text.",type:{name:"IconName"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"iconSize",description:"Define the size of the button icons.",type:{name:"IconSize"},required:!1,defaultValue:{func:!1,value:"'small'"}},{name:"iconAfter",description:"Icon that will be placed after button text.",type:{name:"IconName"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"rounded",description:"Renders the button with a pill-like appearance when set to true.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"text",description:"Text content of the button element.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'save'"}},{name:"type",description:"The type attribute can be set to a value of `submit` manually, if the button is used to post a form.\nWhen set to 'reset', the button will reset all the form fields in the form it is placed in. Use with caution,\nsince users tend to find this annoying.",type:{name:"ButtonType"},required:!1,defaultValue:{func:!1,value:"'button'"},values:["button","reset","submit"]},{name:"variant",description:"The button may have a variant of `solid`, `outline`, or `subtle`.\nWhen not specified, the `solid` variant (white on colored background) is applied.",type:{name:"ButtonVariant"},required:!1,defaultValue:{func:!1,value:"'solid'"},values:["solid","outline","subtle"]}],events:[{name:"blur"},{name:"click"},{name:"focus"},{name:"mousedown"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpButton/DpButton.vue"]};export{W as _};
@@ -1,28 +0,0 @@
1
- import{j as n,M as r,C as s}from"./blocks-kyJuz3C5.js";import{useMDXComponents as t}from"./index-BbC7EF1e.js";import{D as d,P as h,S as a,W as c,a as l,O as x,b as j,R as u,L as m,B as p,c as f,d as y}from"./DpButton.stories-Bh1aQWo-.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpButton-BLywaapW.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";function o(i){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",...t(),...i.components};return n.jsxs(n.Fragment,{children:[n.jsx(r,{of:d}),`
2
- `,n.jsx(e.h1,{id:"button",children:"Button"}),`
3
- `,n.jsxs(e.p,{children:["The ",n.jsx(e.code,{children:"DpButton"})," component renders either a ",n.jsx(e.code,{children:"<button>"})," or an ",n.jsx(e.code,{children:"<a>"})," element, that has a visual ",n.jsx(e.code,{children:"busy"}),` state
4
- which prevents the user from clicking twice and informs her something is happening behind the scenes.`]}),`
5
- `,n.jsx(e.h2,{id:"colors",children:"Colors"}),`
6
- `,n.jsx(e.h3,{id:"primary",children:"Primary"}),`
7
- `,n.jsx(s,{of:h}),`
8
- `,n.jsx(e.h3,{id:"secondary",children:"Secondary"}),`
9
- `,n.jsx(s,{of:a}),`
10
- `,n.jsx(e.h3,{id:"warning",children:"Warning"}),`
11
- `,n.jsx(s,{of:c}),`
12
- `,n.jsx(e.h2,{id:"variants",children:"Variants"}),`
13
- `,n.jsx(e.h3,{id:"solid",children:"Solid"}),`
14
- `,n.jsx(s,{of:l}),`
15
- `,n.jsx(e.h3,{id:"outline",children:"Outline"}),`
16
- `,n.jsx(s,{of:x}),`
17
- `,n.jsx(e.h3,{id:"subtle",children:"Subtle"}),`
18
- `,n.jsx(s,{of:j}),`
19
- `,n.jsx(e.h2,{id:"rounded",children:"Rounded"}),`
20
- `,n.jsx(s,{of:u}),`
21
- `,n.jsx(e.h2,{id:"render-a-link-element",children:"Render a link element"}),`
22
- `,n.jsx(s,{of:m}),`
23
- `,n.jsx(e.h2,{id:"use-the-busy-prop-to-visualize-system-status",children:"Use the 'busy' prop to visualize system status"}),`
24
- `,n.jsx(s,{of:p}),`
25
- `,n.jsx(e.h2,{id:"with-icon",children:"With Icon"}),`
26
- `,n.jsx(s,{of:f}),`
27
- `,n.jsx(e.h2,{id:"only-icon",children:"Only Icon"}),`
28
- `,n.jsx(s,{of:y})]})}function O(i={}){const{wrapper:e}={...t(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(o,{...i})}):o(i)}export{O as default};
@@ -1,60 +0,0 @@
1
- import{_ as d}from"./DpButton-BLywaapW.js";import{S as l}from"./DpIcon-dOAQoUKG.js";const g={tags:["autodocs","!dev"],component:d,title:"Components/Button",argTypes:{color:{options:["primary","secondary","warning"],control:{type:"select"}},default:{control:{type:"text"},table:{category:"Slots",type:{summary:"html"}}},variant:{options:["solid","outline","subtle"],control:{type:"select"}},iconSize:{options:Object.keys(l),control:{type:"select"}}}},e={tags:["dev"],args:{text:"Save"}},r={args:{text:"Save"}},t={args:{color:"secondary",text:"Cancel"}},a={args:{color:"warning",text:"Delete"}},s={args:{text:"Save"}},o={args:{variant:"outline",text:"Save"}},n={args:{variant:"subtle",text:"Save"}},c={args:{rounded:!0,text:"Save"}},i={args:{href:"https://example.com",text:"Go somewhere"}},m={args:{busy:!0,text:"Saving item..."}},p={args:{iconAfter:"chevron-right",text:"Next"}},u={args:{hideText:!0,icon:"edit",text:"Edit item"}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
2
- tags: ['dev'],
3
- args: {
4
- text: 'Save'
5
- }
6
- }`,...e.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
7
- args: {
8
- text: 'Save'
9
- }
10
- }`,...r.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
11
- args: {
12
- color: 'secondary',
13
- text: 'Cancel'
14
- }
15
- }`,...t.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
16
- args: {
17
- color: 'warning',
18
- text: 'Delete'
19
- }
20
- }`,...a.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
21
- args: {
22
- text: 'Save'
23
- }
24
- }`,...s.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
25
- args: {
26
- variant: 'outline',
27
- text: 'Save'
28
- }
29
- }`,...o.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
30
- args: {
31
- variant: 'subtle',
32
- text: 'Save'
33
- }
34
- }`,...n.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
35
- args: {
36
- rounded: true,
37
- text: 'Save'
38
- }
39
- }`,...c.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
40
- args: {
41
- href: 'https://example.com',
42
- text: 'Go somewhere'
43
- }
44
- }`,...i.parameters?.docs?.source}}};m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`{
45
- args: {
46
- busy: true,
47
- text: 'Saving item...'
48
- }
49
- }`,...m.parameters?.docs?.source}}};p.parameters={...p.parameters,docs:{...p.parameters?.docs,source:{originalSource:`{
50
- args: {
51
- iconAfter: 'chevron-right',
52
- text: 'Next'
53
- }
54
- }`,...p.parameters?.docs?.source}}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
55
- args: {
56
- hideText: true,
57
- icon: 'edit',
58
- text: 'Edit item'
59
- }
60
- }`,...u.parameters?.docs?.source}}};const S=["Default","Primary","Secondary","Warning","Solid","Outline","Subtle","Rounded","LinkElement","BusyState","WithIcon","OnlyIcon"],y=Object.freeze(Object.defineProperty({__proto__:null,BusyState:m,Default:e,LinkElement:i,OnlyIcon:u,Outline:o,Primary:r,Rounded:c,Secondary:t,Solid:s,Subtle:n,Warning:a,WithIcon:p,__namedExportsOrder:S,default:g},Symbol.toStringTag,{value:"Module"}));export{m as B,y as D,i as L,o as O,r as P,c as R,t as S,a as W,s as a,n as b,p as c,u as d};
@@ -1,4 +0,0 @@
1
- import{j as n,M as s}from"./blocks-kyJuz3C5.js";import{useMDXComponents as c}from"./index-BbC7EF1e.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";function e(o){const t={a:"a",code:"code",h1:"h1",p:"p",...c(),...o.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{title:"Components/Icon Button"}),`
2
- `,n.jsx(t.h1,{id:"icon-button",children:"Icon Button"}),`
3
- `,n.jsxs(t.p,{children:["The ",n.jsx(t.code,{children:"DpButtonIcon"}),` component is deprecated.
4
- Use `,n.jsxs(t.a,{href:"?path=/story/components-button--only-icon",children:[n.jsx(t.code,{children:"DpButton"})," with a standalone icon"]})," instead."]})]})}function p(o={}){const{wrapper:t}={...c(),...o.components};return t?n.jsx(t,{...o,children:n.jsx(e,{...o})}):e(o)}export{p as default};
@@ -1,12 +0,0 @@
1
- import{j as t,M as i,C as e}from"./blocks-kyJuz3C5.js";import{useMDXComponents as r}from"./index-BbC7EF1e.js";import{D as a,a as h,T as l,A as u}from"./DpButtonRow.stories-BRZ52We0.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpButtonRow-DRRw4r4F.js";import"./translations-DDOZrg-p.js";import"./DpButton-BLywaapW.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function s(o){const n={h1:"h1",h2:"h2",p:"p",strong:"strong",...r(),...o.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{of:a}),`
2
- `,t.jsx(n.h1,{id:"button-row",children:"Button Row"}),`
3
- `,t.jsxs(n.p,{children:["The ",t.jsx(n.strong,{children:"Button Row"})," renders a row with two buttons, typically with 'save' and 'cancel' actions."]}),`
4
- `,t.jsx(n.h2,{id:"when-to-use",children:"When to use"}),`
5
- `,t.jsx(n.p,{children:`Use this component once per form (or editable section) to save the user input,
6
- return to the previous screen or reset the form.`}),`
7
- `,t.jsx(n.h2,{id:"default-usage",children:"Default usage"}),`
8
- `,t.jsx(e,{of:h}),`
9
- `,t.jsx(n.h2,{id:"third-button-in-slot",children:"Third button in Slot"}),`
10
- `,t.jsx(e,{of:l}),`
11
- `,t.jsx(n.h2,{id:"all-buttons-disabled",children:"All buttons disabled"}),`
12
- `,t.jsx(e,{of:u})]})}function B(o={}){const{wrapper:n}={...r(),...o.components};return n?t.jsx(n,{...o,children:t.jsx(s,{...o})}):s(o)}export{B as default};
@@ -1 +0,0 @@
1
- import{d as s}from"./translations-DDOZrg-p.js";import{_ as c}from"./DpButton-BLywaapW.js";import{c as p,e as o,f as l,r as y,w as d,n as m,d as b,o as r}from"./iframe-KFxwsBtW.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";const u={name:"DpButtonRow",components:{DpButton:c},props:{alignment:{type:String,required:!1,default:"right",validator:t=>["right","left"].includes(t)},busy:{type:[Boolean,null],required:!1,default:null},dataCy:{type:String,required:!1,default:"buttonRow"},disabled:{type:[Boolean,Object],required:!1,default:!1},href:{type:String,required:!1,default:"#"},primary:{type:Boolean,required:!1,default:!1},primaryText:{type:String,required:!1,default:s.operations.save},secondary:{type:Boolean,required:!1,default:!1},secondaryText:{type:String,required:!1,default:s.operations.abort},variant:{required:!1,type:String,default:"solid",validator:t=>["solid","outline","subtle"].includes(t)}},emits:["primary-action","secondary-action"],computed:{align(){return this.alignment==="left"?"text-left":"text-right"},isDisabledPrimary(){return this.disabled===!0||this.disabled.primary||!1},isDisabledSecondary(){return this.disabled===!0||this.disabled.secondary||!1}}};function v(t,a,e,g,B,n){const i=b("dp-button");return r(),p("div",{class:m([[n.align,t.$attrs.class],"space-x-2"])},[e.primary?(r(),o(i,{key:0,busy:e.busy?!0:null,"data-cy":`${e.dataCy}:saveButton`,disabled:n.isDisabledPrimary,text:e.primaryText,variant:e.variant,onClick:a[0]||(a[0]=d(f=>t.$emit("primary-action"),["prevent"]))},null,8,["busy","data-cy","disabled","text","variant"])):l("",!0),e.secondary?(r(),o(i,{key:1,color:"secondary","data-cy":`${e.dataCy}:abortButton`,disabled:n.isDisabledSecondary,href:e.href,text:e.secondaryText,variant:e.variant,onClick:a[1]||(a[1]=d(f=>t.$emit("secondary-action"),["prevent"]))},null,8,["data-cy","disabled","href","text","variant"])):l("",!0),y(t.$slots,"default")],2)}const C=h(u,[["render",v]]);u.__docgenInfo={displayName:"DpButtonRow",exportName:"default",description:"",tags:{},props:[{name:"alignment",description:"Specifies if the buttons should align left or right inside their container.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'right'"},values:["right","left"]},{name:"busy",description:'The primary button may have a "busy" state to indicate system progress.',type:{name:"boolean|null"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'buttonRow'"}},{name:"disabled",description:'The primary, secondary or both buttons may have a "disabled" state to prevent unwanted user interaction e.g if no data is changed yet.',tags:{type:[{title:"type",type:{name:"union",elements:[{name:"Boolean"},{name:"Object"}]},description:"Can be a boolean to disable both buttons or an object to specify which button to disable."}],property:[{title:"property",type:{name:"Boolean"},description:"[primary] - If true, disables the primary button."},{title:"property",type:{name:"Boolean"},description:"[secondary] - If true, disables the secondary button."}],default:[{description:"false - By default, no buttons are disabled.",title:"default"}]},type:{name:"union",elements:[{name:"Boolean"},{name:"Object"}]},required:!1,defaultValue:{func:!1,value:"false"}},{name:"href",description:"The secondary button may be a link under the hood, e.g. for jumping back to another view.\nThe default value corresponds with the respective value in the `DpButton` component.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'#'"}},{name:"primary",description:"Display a primary button intended to save changes.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"primaryText",description:"Custom text for the primary button.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"de.operations.save"}},{name:"secondary",description:"Display a secondary button intended to cancel a process or reset input.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"secondaryText",description:"Custom text for the secondary button.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"de.operations.abort"}},{name:"variant",description:"The buttons may have a variant of `solid`, `outline`, or `subtle`.\nWhen not specified, the `solid` variant (white on colored background) is applied.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'solid'"},values:["solid","outline","subtle"]}],events:[{name:"primary-action"},{name:"secondary-action"}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpButtonRow/DpButtonRow.vue"]};export{C as D};
@@ -1,60 +0,0 @@
1
- import{D as o}from"./DpButtonRow-DRRw4r4F.js";import{_ as a}from"./DpButton-BLywaapW.js";const s={component:o,title:"Components/ButtonRow",argTypes:{alignment:{control:{type:"select"},options:["right","left"],description:"Alignment of the button row"},busy:{control:{type:"boolean"},description:"Indicates if the button row is in a loading state"},disabled:{control:{type:"boolean"},description:"Disables all buttons in the row"},href:{control:{type:"text"},description:"Link for the primary button if applicable"},primary:{control:{type:"boolean"},description:"Enables the primary button"},primaryAction:{action:"primaryAction",description:"Action triggered by the primary button"},primaryText:{control:{type:"text"},description:"Text for the primary button"},secondary:{control:{type:"boolean"},description:"Enables the secondary button"},secondaryAction:{action:"secondaryAction",description:"Action triggered by the secondary button"},secondaryText:{control:{type:"text"},description:"Text for the secondary button"},variant:{control:{type:"select"},options:["solid","outline","subtle"],description:"Variant of the button row"}}},t={args:{primary:!0,secondary:!0,primaryText:"Save",secondaryText:"Cancel"}},r={args:{primary:!0,secondary:!0,primaryText:"Save",secondaryText:"Cancel"},render:n=>({components:{DpButtonRow:o,DpButton:a},setup(){return{args:n}},template:`
2
- <dp-button-row v-bind="args" @primary-action="args.primaryAction" @secondary-action="args.secondaryAction">
3
- <dp-button
4
- class="u-ml-0_5"
5
- color="secondary"
6
- :text="'Close'"
7
- @click="args.secondaryAction" />
8
- </dp-button-row>
9
- `}),parameters:{docs:{source:{code:`<DpButtonRow primary primaryText="Save" secondary secondaryText="Cancel">
10
- <DpButton color="secondary" text="Close" />
11
- </DpButtonRow>`}}}},e={args:{primary:!0,secondary:!0,primaryText:"Save",secondaryText:"Cancel",disabled:!0}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
12
- args: {
13
- primary: true,
14
- secondary: true,
15
- primaryText: 'Save',
16
- secondaryText: 'Cancel'
17
- } as StoryArgs
18
- }`,...t.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
19
- args: {
20
- primary: true,
21
- secondary: true,
22
- primaryText: 'Save',
23
- secondaryText: 'Cancel'
24
- },
25
- render: (args: StoryArgs) => ({
26
- components: {
27
- DpButtonRow,
28
- DpButton
29
- },
30
- setup() {
31
- return {
32
- args
33
- };
34
- },
35
- template: \`
36
- <dp-button-row v-bind="args" @primary-action="args.primaryAction" @secondary-action="args.secondaryAction">
37
- <dp-button
38
- class="u-ml-0_5"
39
- color="secondary"
40
- :text="'Close'"
41
- @click="args.secondaryAction" />
42
- </dp-button-row>
43
- \`
44
- }),
45
- parameters: {
46
- docs: {
47
- source: {
48
- code: '<DpButtonRow primary primaryText="Save" secondary secondaryText="Cancel">\\n <DpButton color="secondary" text="Close" />\\n</DpButtonRow>'
49
- }
50
- }
51
- }
52
- }`,...r.parameters?.docs?.source}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
53
- args: {
54
- primary: true,
55
- secondary: true,
56
- primaryText: 'Save',
57
- secondaryText: 'Cancel',
58
- disabled: true
59
- } as StoryArgs
60
- }`,...e.parameters?.docs?.source}}};const c=["Default","ThirdButtonInSlot","AllButtonsDisabled"],d=Object.freeze(Object.defineProperty({__proto__:null,AllButtonsDisabled:e,Default:t,ThirdButtonInSlot:r,__namedExportsOrder:c,default:s},Symbol.toStringTag,{value:"Module"}));export{e as A,d as D,r as T,t as a};
@@ -1 +0,0 @@
1
- import{_ as d}from"./DpContextualHelp-DnsCCoZB.js";import{c as t,f as o,r as l,a as r,e as p,t as c,d as u,o as a}from"./iframe-KFxwsBtW.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const n={name:"DpCard",components:{DpContextualHelp:d},props:{heading:{type:String,required:!1,default:""},headingTooltip:{type:String,required:!1,default:""}}},f={class:"rounded-lg shadow-sm px-4 py-3"},h={key:0,class:"flex gap-1 items-center text-base mb-2"};function _(s,g,e,x,y,D){const i=u("dp-contextual-help");return a(),t("div",f,[e.heading!==""?(a(),t("h4",h,[r("span",null,c(e.heading),1),e.headingTooltip!==""?(a(),p(i,{key:0,text:e.headingTooltip},null,8,["text"])):o("",!0)])):o("",!0),l(s.$slots,"default")])}const T=m(n,[["render",_]]);n.__docgenInfo={displayName:"DpCard",exportName:"default",description:"",tags:{},props:[{name:"heading",description:"The card heading is displayed as a bold text with medium font size.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"headingTooltip",description:"A contextual help tooltip right beside the card heading may reveal additional information.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpCard/DpCard.vue"]};export{T as D};
@@ -1,5 +0,0 @@
1
- import{j as t,M as a,C as s}from"./blocks-kyJuz3C5.js";import{useMDXComponents as i}from"./index-BbC7EF1e.js";import{D as r,a as d}from"./DpCard.stories-CkAnU1Vf.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpCard-CNBkliZ1.js";import"./DpContextualHelp-DnsCCoZB.js";import"./translations-DDOZrg-p.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function e(n){const o={h1:"h1",p:"p",...i(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(a,{of:r}),`
2
- `,t.jsx(o.h1,{id:"card",children:"Card"}),`
3
- `,t.jsx(o.p,{children:"The Card component is used to present concise and structured information in a visually appealing and organized manner. It can be used to display widgets in a dashboard, or a collection of distinct items."}),`
4
- `,t.jsx(o.p,{children:"The heading and tooltip of a card is set via props, while the content is passed via its default slot."}),`
5
- `,t.jsx(s,{of:d})]})}function g(n={}){const{wrapper:o}={...i(),...n.components};return o?t.jsx(o,{...n,children:t.jsx(e,{...n})}):e(n)}export{g as default};
@@ -1,8 +0,0 @@
1
- import{D as t}from"./DpCard-CNBkliZ1.js";const a={component:t,title:"Components/Card",argTypes:{},render:o=>({components:{DpCard:t},setup(){return{args:o}},template:`<dp-card v-bind="args">
2
- Content goes here (into the default slot).
3
- </dp-card>`})},e={args:{heading:"Heading",headingTooltip:"This is a tooltip"}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
4
- args: {
5
- heading: 'Heading',
6
- headingTooltip: 'This is a tooltip'
7
- }
8
- }`,...e.parameters?.docs?.source}}};const r=["Default"],s=Object.freeze(Object.defineProperty({__proto__:null,Default:e,__namedExportsOrder:r,default:a},Symbol.toStringTag,{value:"Module"}));export{s as D,e as a};
@@ -1 +0,0 @@
1
- import u from"./DpLabel-DFauD5I2.js";import{p as s}from"./prefixClassMixin-FjEzRm2G.js";import"./helpers-CdC6mcQu.js";import{c as o,a as f,e as m,f as c,n,m as p,d as y,o as t}from"./iframe-KFxwsBtW.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";const r={name:"DpCheckbox",components:{DpLabel:u},mixins:[s],model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!1,default:!1},dataCy:{type:String,required:!1,default:""},dataDpValidateErrorFieldname:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},id:{type:String,required:!0},label:{type:Object,default:()=>({}),validator:a=>Object.keys(a).every(l=>["bold","hint","text","tooltip"].includes(l))},name:{type:String,required:!1,default:""},readonly:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},valueToSend:{type:String,required:!1,default:"1"}}},v=["id","name","required","disabled","readonly","checked","value","data-cy","data-dp-validate-error-fieldname"];function q(a,l,e,x,h,C){const d=y("dp-label");return t(),o("div",{class:n(a.prefixClass("o-form__element--checkbox"))},[f("input",{id:e.id,name:e.name!==""?e.name:null,class:n(a.prefixClass("o-form__control-input")),type:"checkbox",required:e.required,disabled:e.disabled,readonly:e.readonly,autocomplete:"off",checked:e.checked,value:e.valueToSend,"data-cy":e.dataCy!==""?e.dataCy:null,"data-dp-validate-error-fieldname":e.dataDpValidateErrorFieldname||e.label.text||null,"true-value":"1","false-value":"0",onChange:l[0]||(l[0]=i=>a.$emit("change",i.target.checked))},null,42,v),e.label.text!==""?(t(),m(d,p({key:0,class:a.prefixClass("o-form__label")},{bold:!1,text:"",for:e.id,required:e.required,...e.label}),null,16,["class"])):c("",!0)],2)}const B=b(r,[["render",q]]);r.__docgenInfo={exportName:"default",displayName:"DpCheckbox",description:"",tags:{},props:[{name:"v-model",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"dataDpValidateErrorFieldname",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"id",type:{name:"string"},required:!0},{name:"label",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"name",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"readonly",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"required",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"valueToSend",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'1'"}}],events:[{name:"change"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpCheckbox/DpCheckbox.vue","/home/florian/Dev/demosplan-ui/src/mixins/prefixClassMixin/prefixClassMixin.js"]};export{B as D};
@@ -1,25 +0,0 @@
1
- import{j as e,M as r,C as i}from"./blocks-kyJuz3C5.js";import{useMDXComponents as s}from"./index-BbC7EF1e.js";import{D as d,a as h,b as a,C as c,R as l,H as p,T as x}from"./DpCheckbox.stories-yTBXYgIJ.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpCheckbox-BdZqABk4.js";import"./DpLabel-DFauD5I2.js";import"./DpContextualHelp-DnsCCoZB.js";import"./translations-DDOZrg-p.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./dayjs.min-C3DHb-Vr.js";import"./prefixClass-BBJiSKc2.js";import"./prefixClassMixin-FjEzRm2G.js";import"./helpers-CdC6mcQu.js";import"./getScrollTop-CXy7CyEd.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function t(n){const o={code:"code",h1:"h1",h2:"h2",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:d}),`
2
- `,e.jsx(o.h1,{id:"checkbox",children:"Checkbox"}),`
3
- `,e.jsxs(o.p,{children:["The ",e.jsx(o.code,{children:"DpCheckbox"})," component renders an input of type ",e.jsx(o.code,{children:"checkbox"}),`. Use it for a single option that the user
4
- can turn on or off.`]}),`
5
- `,e.jsxs(o.p,{children:["In order to display several checkboxes grouped together, use ",e.jsx(o.code,{children:"DpCheckboxGroup"}),`.
6
- It allows for defining an additional group label and have checkbox labels with normal `,e.jsx(o.code,{children:"font-weight"}),"."]}),`
7
- `,e.jsx(o.h2,{id:"when-to-use",children:"When to use"}),`
8
- `,e.jsx(o.p,{children:`Checkboxes are used when a user can select multiple options. It is possible to select zero,
9
- some, or all options.`}),`
10
- `,e.jsx(o.h2,{id:"default",children:"Default"}),`
11
- `,e.jsx(i,{of:h}),`
12
- `,e.jsx(o.h2,{id:"disabled",children:"Disabled"}),`
13
- `,e.jsx(i,{of:a}),`
14
- `,e.jsx(o.h2,{id:"checked",children:"Checked"}),`
15
- `,e.jsx(i,{of:c}),`
16
- `,e.jsx(o.h2,{id:"required",children:"Required"}),`
17
- `,e.jsxs(o.p,{children:["If a checkbox is ",e.jsx(o.code,{children:"required"}),", an asterisk will be added to its label."]}),`
18
- `,e.jsx(i,{of:l}),`
19
- `,e.jsx(o.h2,{id:"hint",children:"Hint"}),`
20
- `,e.jsx(i,{of:p}),`
21
- `,e.jsx(o.h2,{id:"tooltip",children:"Tooltip"}),`
22
- `,e.jsxs(o.p,{children:["The ",e.jsx(o.code,{children:"tooltip"}),` property adds a contextual help icon that reveals additional information on the input field when the user
23
- hovers over it with their mouse. It should be used sparingly and only to reveal non-critical information, whereas
24
- critical information should be presented immediately.`]}),`
25
- `,e.jsx(i,{of:x})]})}function X(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(t,{...n})}):t(n)}export{X as default};
@@ -1,48 +0,0 @@
1
- import{D as s}from"./DpCheckbox-BdZqABk4.js";const i={component:s,title:"Components/Checkbox",argTypes:{change:{action:"change",description:"Event emitted when checkbox state changes"},checked:{control:"boolean",description:"Whether the checkbox is checked"},disabled:{control:"boolean",description:"Whether the checkbox is disabled"},id:{control:"text",description:"ID for the checkbox input"},label:{control:"object",description:"Label configuration for the checkbox"},readonly:{control:"boolean",description:"Whether the checkbox is readonly"},required:{control:"boolean",description:"Whether the checkbox is required"}}},e={args:{id:"checkboxId",label:{text:"Checkbox label"}}},o={args:{id:"disabledCheckboxId",label:{text:"Disabled checkbox"},disabled:!0}},t={args:{id:"checkedCheckboxId",label:{text:"Checked checkbox"},checked:!0}},r={args:{id:"requiredCheckboxId",label:{text:"Required checkbox"},required:!0}},c={args:{id:"hintCheckboxId",label:{text:"Checkbox with hint",hint:"This is a hint text that provides additional information"}}},a={args:{id:"tooltipCheckboxId",label:{text:"Checkbox with tooltip",tooltip:"This tooltip explains the purpose of this checkbox"}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
2
- args: {
3
- id: 'checkboxId',
4
- label: {
5
- text: 'Checkbox label'
6
- }
7
- }
8
- }`,...e.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
9
- args: {
10
- id: 'disabledCheckboxId',
11
- label: {
12
- text: 'Disabled checkbox'
13
- },
14
- disabled: true
15
- }
16
- }`,...o.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
17
- args: {
18
- id: 'checkedCheckboxId',
19
- label: {
20
- text: 'Checked checkbox'
21
- },
22
- checked: true
23
- }
24
- }`,...t.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
25
- args: {
26
- id: 'requiredCheckboxId',
27
- label: {
28
- text: 'Required checkbox'
29
- },
30
- required: true
31
- }
32
- }`,...r.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
33
- args: {
34
- id: 'hintCheckboxId',
35
- label: {
36
- text: 'Checkbox with hint',
37
- hint: "This is a hint text that provides additional information"
38
- }
39
- }
40
- }`,...c.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
41
- args: {
42
- id: 'tooltipCheckboxId',
43
- label: {
44
- text: 'Checkbox with tooltip',
45
- tooltip: "This tooltip explains the purpose of this checkbox"
46
- }
47
- }
48
- }`,...a.parameters?.docs?.source}}};const d=["Default","Disabled","Checked","Required","Hint","Tooltip"],h=Object.freeze(Object.defineProperty({__proto__:null,Checked:t,Default:e,Disabled:o,Hint:c,Required:r,Tooltip:a,__namedExportsOrder:d,default:i},Symbol.toStringTag,{value:"Module"}));export{t as C,h as D,c as H,r as R,a as T,e as a,o as b};
@@ -1,10 +0,0 @@
1
- import{j as o,M as s,C as n}from"./blocks-kyJuz3C5.js";import{useMDXComponents as i}from"./index-BbC7EF1e.js";import{D as p,a as c,I as h,W as m}from"./DpCheckboxGroup.stories-DQ7BzPww.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpCheckboxGroup-CFaFEzrL.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./DpCheckbox-BdZqABk4.js";import"./DpLabel-DFauD5I2.js";import"./DpContextualHelp-DnsCCoZB.js";import"./translations-DDOZrg-p.js";import"./DpIcon-dOAQoUKG.js";import"./dayjs.min-C3DHb-Vr.js";import"./prefixClass-BBJiSKc2.js";import"./prefixClassMixin-FjEzRm2G.js";import"./helpers-CdC6mcQu.js";import"./getScrollTop-CXy7CyEd.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function r(t){const e={code:"code",h1:"h1",h2:"h2",p:"p",...i(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(s,{of:p}),`
2
- `,o.jsx(e.h1,{id:"checkboxgroup",children:"CheckboxGroup"}),`
3
- `,o.jsxs(e.p,{children:["The ",o.jsx(e.code,{children:"CheckboxGroup"})," component renders an inputs group of type ",o.jsx(e.code,{children:"checkbox"}),"."]}),`
4
- `,o.jsx(e.p,{children:"Use it for multiple options that the user can turn on or off."}),`
5
- `,o.jsx(e.h2,{id:"default-usage",children:"Default usage"}),`
6
- `,o.jsx(n,{of:c}),`
7
- `,o.jsx(e.h2,{id:"inline-checkboxes",children:"Inline checkboxes"}),`
8
- `,o.jsx(n,{of:h}),`
9
- `,o.jsx(e.h2,{id:"with-label",children:"With label"}),`
10
- `,o.jsx(n,{of:m})]})}function L(t={}){const{wrapper:e}={...i(),...t.components};return e?o.jsx(e,{...t,children:o.jsx(r,{...t})}):r(t)}export{L as default};
@@ -1 +0,0 @@
1
- import{C as m}from"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import{D as p}from"./DpCheckbox-BdZqABk4.js";import{c as o,g as f,f as h,h as b,n as c,F as y,i as _,d as C,o as t,e as k}from"./iframe-KFxwsBtW.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={name:"DpCheckboxGroup",components:{DpCheckbox:p},directives:{cleanhtml:m},props:{dataCy:{type:String,required:!1,default:""},options:{type:Array,required:!0},label:{type:String,required:!1,default:""},inline:{type:Boolean,default:!1},selectedOptions:{type:Object,default:()=>({})}},emits:["update"],data(){return{selected:{}}},watch:{selectedOptions(){this.selected=this.selectedOptions}},methods:{setSelected(){this.options.forEach(l=>{this.selected[l.id]=!1})}},mounted(){this.setSelected()}},x={class:"u-pb-0"};function g(l,D,e,V,n,q){const d=C("dp-checkbox"),r=b("cleanhtml");return t(),o("fieldset",x,[e.label!==""?f((t(),o("legend",{key:0,class:c(["font-size-medium is-label",e.inline?"float-left":"u-mb-0_25"])},null,2)),[[r,e.label]]):h("",!0),(t(!0),o(y,null,_(e.options,(a,u)=>(t(),k(d,{id:a.id,key:`option_${u}`,modelValue:n.selected[a.id],"onUpdate:modelValue":s=>n.selected[a.id]=s,class:c(e.inline?"inline-block u-ml":""),label:{text:a.label},name:a.name||"","data-cy":e.dataCy!==""?`${e.dataCy}:${a.id}`:null,onChange:s=>l.$emit("update",{...n.selected,[a.id]:s})},null,8,["id","modelValue","onUpdate:modelValue","class","label","name","data-cy","onChange"]))),128))])}const N=v(i,[["render",g]]);i.__docgenInfo={displayName:"DpCheckboxGroup",exportName:"default",description:"",tags:{},props:[{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"options",type:{name:"array"},required:!0},{name:"label",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"inline",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"selectedOptions",type:{name:"object"},defaultValue:{func:!1,value:"{}"}}],events:[{name:"update"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpCheckboxGroup/DpCheckboxGroup.vue"]};export{N as D};
@@ -1,15 +0,0 @@
1
- import{D as a}from"./DpCheckboxGroup-CFaFEzrL.js";const s={component:a,title:"Components/CheckboxGroup",argTypes:{options:{control:"object",description:"Array of checkbox options with id, label, and optional name"},label:{control:"text",description:"Label for the checkbox group"},inline:{control:"boolean",description:"Whether to display checkboxes inline"},selectedOptions:{control:"object",description:"Object with pre-selected checkbox options"},update:{action:"update",description:"Event emitted when selections change"},dataCy:{control:"text",description:"Data attribute for Cypress testing"}}},r=e=>[{id:`${e}-option-1`,label:"Option 1",name:`${e}-option-1`},{id:`${e}-option-2`,label:"Option 2",name:`${e}-option-2`},{id:`${e}-option-3`,label:"Option 3",name:`${e}-option-3`}],o={args:{options:r("default")}},t={args:{options:r("inline"),inline:!0}},n={args:{options:r("with-label"),label:"Select your preferences"}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
2
- args: {
3
- options: createOptions('default')
4
- }
5
- }`,...o.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
6
- args: {
7
- options: createOptions('inline'),
8
- inline: true
9
- }
10
- }`,...t.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
11
- args: {
12
- options: createOptions('with-label'),
13
- label: 'Select your preferences'
14
- }
15
- }`,...n.parameters?.docs?.source}}};const i=["Default","Inline","WithLabel"],p=Object.freeze(Object.defineProperty({__proto__:null,Default:o,Inline:t,WithLabel:n,__namedExportsOrder:i,default:s},Symbol.toStringTag,{value:"Module"}));export{p as D,t as I,n as W,o as a};
@@ -1,10 +0,0 @@
1
- import{j as t,M as s,C as i}from"./blocks-kyJuz3C5.js";import{useMDXComponents as r}from"./index-BbC7EF1e.js";import{D as a,a as l,W as m,b as c}from"./DpColumnSelector.stories-Bsxtu-R9.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpColumnSelector-BjRvX20u.js";import"./translations-DDOZrg-p.js";import"./DpCheckbox-BdZqABk4.js";import"./DpLabel-DFauD5I2.js";import"./DpContextualHelp-DnsCCoZB.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./dayjs.min-C3DHb-Vr.js";import"./prefixClass-BBJiSKc2.js";import"./prefixClassMixin-FjEzRm2G.js";import"./helpers-CdC6mcQu.js";import"./getScrollTop-CXy7CyEd.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DpFlyout-Dsx6KYUl.js";import"./index-CTxdm8FW.js";import"./hasOwnProp-B0vmwdLB.js";function n(e){const o={h1:"h1",h2:"h2",p:"p",...r(),...e.components};return t.jsxs(t.Fragment,{children:[t.jsx(s,{of:a}),`
2
- `,t.jsx(o.h1,{id:"column-selector",children:"Column Selector"}),`
3
- `,t.jsx(o.p,{children:`This component can be used as a building block for data tables. It allows for the selection of columns, emits the
4
- currently selected columns, and it is able to store previous user selections in local storage.`}),`
5
- `,t.jsx(o.h2,{id:"default-usage",children:"Default usage"}),`
6
- `,t.jsx(i,{of:l}),`
7
- `,t.jsx(o.h2,{id:"with-initial-selection",children:"With initial selection"}),`
8
- `,t.jsx(i,{of:m}),`
9
- `,t.jsx(o.h2,{id:"with-local-storage",children:"With local storage"}),`
10
- `,t.jsx(i,{of:c})]})}function E(e={}){const{wrapper:o}={...r(),...e.components};return o?t.jsx(o,{...e,children:t.jsx(n,{...e})}):n(e)}export{E as default};
@@ -1 +0,0 @@
1
- import{d as h}from"./translations-DDOZrg-p.js";import{D as y}from"./DpCheckbox-BdZqABk4.js";import{D as g}from"./DpFlyout-Dsx6KYUl.js";import"./dayjs.min-C3DHb-Vr.js";import{h as C}from"./hasOwnProp-B0vmwdLB.js";import{e as c,j as u,d,o as n,a as r,c as _,F as w,i as b,t as x}from"./iframe-KFxwsBtW.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m={name:"DpColumnSelector",components:{DpCheckbox:y,DpFlyout:g},props:{dataCy:{type:String,required:!1,default:""},selectableColumns:{type:Array,required:!1,default:()=>[]},initialSelection:{type:Array,required:!1,default:()=>[]},localStorageKey:{type:String,required:!1,default:""},useLocalStorage:{type:Boolean,required:!1,default:!1}},emits:["selection-changed"],data(){return{selectedColumns:new Set,triggerText:h.table.colsSelect}},methods:{broadcastSelection(e,a=null){a===!0?this.selectedColumns.add(e):a===!1&&this.selectedColumns.delete(e);const l=this.selectableColumns.filter(([s,o])=>this.selectedColumns.has(s)).map(([s,o])=>s);this.$emit("selection-changed",l),this.useLocalStorage&&window.localStorage.setItem(this.localStorageKey,JSON.stringify(l))},initializeColumnSelection(){if(this.useLocalStorage){if(this.localStorageKey==="")throw new Error(`${this.$options.name} should use localStorage but no localStorageKey was set.`);const e=window.localStorage.getItem(this.localStorageKey);this.selectedColumns=e?new Set(JSON.parse(e)):new Set(this.initialSelection),this.broadcastSelection()}else this.selectedColumns=new Set(this.initialSelection)},trackSelection(){C(window,"_paq")&&window._paq.push(["trackEvent","Column Selection",`View: ${this.localStorageKey}`,`Selected: ${this.selectedColumns.join(", ")}`])}},mounted(){this.initializeColumnSelection()}},q=["textContent"],D={class:"space-stack-xs u-pv-0_25"};function v(e,a,l,s,o,i){const f=d("dp-checkbox"),p=d("dp-flyout");return n(),c(p,{"has-menu":!1,"data-cy":l.dataCy,onClose:i.trackSelection},{trigger:u(()=>[r("span",{textContent:x(o.triggerText)},null,8,q),a[0]||(a[0]=r("i",{class:"fa fa-caret-down u-ml-0_25","aria-hidden":"true"},null,-1))]),default:u(()=>[r("div",D,[(n(!0),_(w,null,b(l.selectableColumns,([t,S])=>(n(),c(f,{id:`columnSelector:${t}`,key:t,"data-cy":`columnSelector:${t}`,checked:o.selectedColumns.has(t),label:{text:S},onChange:K=>i.broadcastSelection(t,!o.selectedColumns.has(t))},null,8,["id","data-cy","checked","label","onChange"]))),128))])]),_:1},8,["data-cy","onClose"])}const I=k(m,[["render",v]]);m.__docgenInfo={displayName:"DpColumnSelector",exportName:"default",description:"",tags:{},props:[{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"selectableColumns",type:{name:"array"},required:!1,defaultValue:{func:!1,value:"[]"}},{name:"initialSelection",type:{name:"array"},required:!1,defaultValue:{func:!1,value:"[]"}},{name:"localStorageKey",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"useLocalStorage",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}}],events:[{name:"selection-changed",type:{names:["undefined"]}}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpColumnSelector/DpColumnSelector.vue"]};export{I as D};
@@ -1,17 +0,0 @@
1
- import{D as o}from"./DpColumnSelector-BjRvX20u.js";const a={component:o,title:"Components/ColumnSelector",argTypes:{selectableColumns:{control:"object",description:"Array of column entries as [value, label] tuples"},initialSelection:{control:"object",description:"Array of initially selected column values"},localStorageKey:{control:"text",description:"Key used for storing selection in localStorage"},useLocalStorage:{control:"boolean",description:"Whether to persist selection to localStorage"},"selection-changed":{action:"selection-changed",description:"Event emitted when selection changes"}}},e={args:{selectableColumns:[["title","Title"],["author","Author"],["year","Year"],["genre","Genre"],["price","Price"]]}},t={args:{selectableColumns:[["title2","Title"],["author2","Author"],["year2","Year"],["genre2","Genre"],["price2","Price"]],initialSelection:["title2","author2","year2"]}},r={args:{selectableColumns:[["title3","Title"],["author3","Author"],["year3","Year"],["genre3","Genre"],["price3","Price"]],initialSelection:["title3","genre3"],useLocalStorage:!0,localStorageKey:"storybook-column-selection"}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
2
- args: {
3
- selectableColumns: [['title', 'Title'], ['author', 'Author'], ['year', 'Year'], ['genre', 'Genre'], ['price', 'Price']]
4
- }
5
- }`,...e.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
6
- args: {
7
- selectableColumns: [['title2', 'Title'], ['author2', 'Author'], ['year2', 'Year'], ['genre2', 'Genre'], ['price2', 'Price']],
8
- initialSelection: ['title2', 'author2', 'year2']
9
- }
10
- }`,...t.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
11
- args: {
12
- selectableColumns: [['title3', 'Title'], ['author3', 'Author'], ['year3', 'Year'], ['genre3', 'Genre'], ['price3', 'Price']],
13
- initialSelection: ['title3', 'genre3'],
14
- useLocalStorage: true,
15
- localStorageKey: 'storybook-column-selection'
16
- }
17
- }`,...r.parameters?.docs?.source}}};const l=["Default","WithInitialSelection","WithLocalStorage"],i=Object.freeze(Object.defineProperty({__proto__:null,Default:e,WithInitialSelection:t,WithLocalStorage:r,__namedExportsOrder:l,default:a},Symbol.toStringTag,{value:"Module"}));export{i as D,t as W,e as a,r as b};
@@ -1,8 +0,0 @@
1
- import{j as o,M as i,C as s}from"./blocks-kyJuz3C5.js";import{useMDXComponents as r}from"./index-BbC7EF1e.js";import{D as m,a,C as c}from"./DpConfirmDialog.stories-iv2KRiDU.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpConfirmDialog-CQYtFW-3.js";import"./translations-DDOZrg-p.js";import"./DpButtonRow-DRRw4r4F.js";import"./DpButton-BLywaapW.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DpModal-oGkhZvzT.js";import"./prefixClassMixin-FjEzRm2G.js";import"./dayjs.min-C3DHb-Vr.js";import"./prefixClass-BBJiSKc2.js";import"./helpers-CdC6mcQu.js";import"./getScrollTop-CXy7CyEd.js";function n(t){const e={code:"code",h1:"h1",h2:"h2",p:"p",...r(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(i,{of:m}),`
2
- `,o.jsx(e.h1,{id:"confirm-dialog",children:"Confirm Dialog"}),`
3
- `,o.jsx(e.p,{children:"This is a modal dialog component that shows a message and offers confirm/cancel actions."}),`
4
- `,o.jsxs(e.p,{children:["The dialog returns a Promise that resolves to ",o.jsx(e.code,{children:"true"})," when confirmed or ",o.jsx(e.code,{children:"false"})," when canceled."]}),`
5
- `,o.jsx(e.h2,{id:"default-usage",children:"Default usage"}),`
6
- `,o.jsx(s,{of:a}),`
7
- `,o.jsx(e.h2,{id:"custom-message",children:"Custom message"}),`
8
- `,o.jsx(s,{of:c})]})}function F(t={}){const{wrapper:e}={...r(),...t.components};return e?o.jsx(e,{...t,children:o.jsx(n,{...t})}):n(t)}export{F as default};
@@ -1 +0,0 @@
1
- import{d as t}from"./translations-DDOZrg-p.js";import{D as f}from"./DpButtonRow-DRRw4r4F.js";import{D as c}from"./DpModal-oGkhZvzT.js";import{e as p,j as g,d as n,o as u,a as D,b as y,t as _}from"./iframe-KFxwsBtW.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={name:"DpConfirmDialog",components:{DpButtonRow:f,DpModal:c},props:{dataCy:{type:String,required:!1,default:""},message:{type:String,required:!1,default:t.confirmDialog.confirm}},data(){return{confirmButtonText:t.operations.confirm,resolvePromise:null}},methods:{handleConfirm(e){this.resolvePromise&&(this.resolvePromise(e),this.resolvePromise=null),this.$refs.confirmDialog.toggle()},onModalToggled(e){!e&&this.resolvePromise&&(this.resolvePromise(!1),this.resolvePromise=null)},open(){return this.$refs.confirmDialog.toggle(),new Promise(e=>{this.resolvePromise=e})}}},h={id:"dialogDescription",class:"font-normal break-words mb-3"};function C(e,o,a,x,s,r){const l=n("dp-button-row"),m=n("dp-modal");return u(),p(m,{ref:"confirmDialog","content-classes":"w-2/3 xl:w-1/3","data-cy":`confirmDialog:${a.dataCy}`,"aria-describedby":"dialogDescription","onModal:toggled":r.onModalToggled},{default:g(()=>[D("p",h,_(a.message),1),y(l,{primary:"","primary-text":s.confirmButtonText,secondary:"",onPrimaryAction:o[0]||(o[0]=d=>r.handleConfirm(!0)),onSecondaryAction:o[1]||(o[1]=d=>r.handleConfirm(!1))},null,8,["primary-text"])]),_:1},8,["data-cy","onModal:toggled"])}const q=v(i,[["render",C]]);i.__docgenInfo={displayName:"DpConfirmDialog",exportName:"default",description:"",tags:{},props:[{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"message",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"de.confirmDialog.confirm"}}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpConfirmDialog/DpConfirmDialog.vue"]};export{q as D};