@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.
- package/.claude/settings.local.json +4 -19
- package/.idea/demosplan-ui.iml +11 -0
- package/.idea/git_toolbox_blame.xml +6 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/material_theme_project_new.xml +13 -0
- package/.idea/modules.xml +8 -0
- package/.idea/sonarlint/issuestore/0/2/02d5146f94659f11c56f0ea1d9c504ff9492b546 +0 -0
- package/.idea/sonarlint/issuestore/0/2/02f4902c3db5247c732bde5aaf0d4fb55363c3b1 +3 -0
- package/.idea/sonarlint/issuestore/0/3/0343acf33ca1b061164f9846ff8ce30429205a2a +0 -0
- package/.idea/sonarlint/issuestore/0/4/04d5869ea32abbf6abf5a3cb9a671637ac2e345b +0 -0
- package/.idea/sonarlint/issuestore/0/9/0918cbb76f2c44f223706cec9d31a32cd1177ce4 +0 -0
- package/.idea/sonarlint/issuestore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
- package/.idea/sonarlint/issuestore/0/b/0b63533e07c8b10a8fbfe7f35df1bffec8103e14 +0 -0
- package/.idea/sonarlint/issuestore/0/c/0c0fd6a370cd10350462b46937e98f903bcb1435 +0 -0
- package/.idea/sonarlint/issuestore/0/e/0e600c187f4cf8bd0dd6b678f55067a8300ab570 +0 -0
- package/.idea/sonarlint/issuestore/0/f/0f43007644f06a63afbfbfc129aadd61bf40318a +0 -0
- package/.idea/sonarlint/issuestore/1/4/14148858b7b4a0aa23ddfdc41ef62be2db925c70 +0 -0
- package/.idea/sonarlint/issuestore/1/5/15ff6a89ff653ef3176ddb9c5e0b59c16c2db949 +0 -0
- package/.idea/sonarlint/issuestore/1/6/169d7dbe9a819ce675ee66de130c5a7c92bb763d +0 -0
- package/.idea/sonarlint/issuestore/1/8/18a1ebb3a44ad977a5cfa60b6620a47ba00163a3 +0 -0
- package/.idea/sonarlint/issuestore/1/f/1fd3ecff7dd864e5b00c14a4333d8cde8c9faf11 +0 -0
- package/.idea/sonarlint/issuestore/2/0/204a133d39c4a2c7b86de23f541f342e0a7a3234 +0 -0
- package/.idea/sonarlint/issuestore/2/4/2491406c07bfc2b0f7ed8e010e56d6e468c374d0 +0 -0
- package/.idea/sonarlint/issuestore/2/5/257d0fa8d58da6d96f5a7af9724b2e1c92c62a2d +3 -0
- package/.idea/sonarlint/issuestore/2/8/282dcb1e4436703724dd35bb567086834c3ebdb4 +3 -0
- package/.idea/sonarlint/issuestore/2/a/2aeb7bd71ee8453ff4601a1fc8fcd4fa9c5fe355 +0 -0
- package/.idea/sonarlint/issuestore/2/c/2c25e229323612e7988c659ad7b51c7b1e2b2403 +0 -0
- package/.idea/sonarlint/issuestore/2/f/2fa1946a2afc952506e41d87833ed29401fc29a0 +0 -0
- package/.idea/sonarlint/issuestore/3/4/3463c59843592ad2a00c54f39e2943583bd6fff9 +0 -0
- package/.idea/sonarlint/issuestore/3/9/390f31a969ba7940070bf32aac2a0d1f7b7bd78b +0 -0
- package/.idea/sonarlint/issuestore/3/e/3ebc20bbfa3c33cf20481a2de7591c997c68abb9 +0 -0
- package/.idea/sonarlint/issuestore/4/1/417425bfa2cef1f22539e792dcb0a7f7784f9604 +0 -0
- package/.idea/sonarlint/issuestore/4/1/41ac9772c7dd3fc038485f99106b427a5e28f2e3 +0 -0
- package/.idea/sonarlint/issuestore/4/4/44d3ca69a31c68c4d920b1fbb0083732713d2690 +2 -0
- package/.idea/sonarlint/issuestore/4/8/48a8ec70d252121fbc7df4e8a45044e964b5d6b7 +0 -0
- package/.idea/sonarlint/issuestore/4/9/49e951d8246d0914f9d10b3955a7178866cfcee9 +0 -0
- package/.idea/sonarlint/issuestore/4/d/4def76d1eea91e36f7789929705c032be6df27cd +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f40ac4df99b3f8bbd80db9b729d3b4b401623eb +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f4bba1840f039e57f25bbd19ec0e20c15fc0e1d +0 -0
- package/.idea/sonarlint/issuestore/5/1/51f466e675bcd7ca84bf6287bab7404cde26db22 +0 -0
- package/.idea/sonarlint/issuestore/5/2/5222c3d19fd979fed770b7f3664147b2ed16b230 +0 -0
- package/.idea/sonarlint/issuestore/5/2/52cb9deee3ee8b8add01ec855fc4a45818ac7638 +5 -0
- package/.idea/sonarlint/issuestore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/issuestore/5/4/5471e6ec0c0e189560fccc7f474993fc6e1f758a +0 -0
- package/.idea/sonarlint/issuestore/5/7/578f3ebc33c3ca6ab8e66c97f3c2eba2237b40ea +0 -0
- package/.idea/sonarlint/issuestore/5/8/5831775a729fcf9cb12959996af17091f46f440b +0 -0
- package/.idea/sonarlint/issuestore/5/8/5842d31a915855888fd63b1aca8c3a4dd8c95880 +0 -0
- package/.idea/sonarlint/issuestore/5/c/5ce582bce204b2edd80e7602b279b3d64cc737e0 +0 -0
- package/.idea/sonarlint/issuestore/5/f/5f2f0e365ced14f666cef2ac164c93530d4e0c2a +0 -0
- package/.idea/sonarlint/issuestore/6/0/60882ef9544224120d1d72534f44b973f3a57746 +0 -0
- package/.idea/sonarlint/issuestore/6/0/60a7f3adc2729926865b49b02008b2874d65429d +2 -0
- package/.idea/sonarlint/issuestore/6/0/60b89c88214907466f4d004bb8a2e56a468da7f5 +0 -0
- package/.idea/sonarlint/issuestore/6/0/60bb79bf1ee7929bf0f8c20166ae12e49d7af9ea +3 -0
- package/.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/issuestore/6/5/65c98391f12bde62f0955f439128e0f8cb1eac6a +0 -0
- package/.idea/sonarlint/issuestore/6/7/6733e547a8a62f0e2b41358995a67255b967bfeb +0 -0
- package/.idea/sonarlint/issuestore/6/8/68e29ca13d4f4cada132a831a6a1b52c0a0ebfd3 +0 -0
- package/.idea/sonarlint/issuestore/6/9/692f3fce406d97e843fbf744ad689b51e3754dff +0 -0
- package/.idea/sonarlint/issuestore/6/a/6a835d16be742d060f08912c5808bbf862426d3d +0 -0
- package/.idea/sonarlint/issuestore/6/c/6cd35da18772c8847edacba05dd265c15ded5d0b +0 -0
- package/.idea/sonarlint/issuestore/6/e/6e142af7dffa0e82efece3ff58722e96f4283a3f +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/2/725cc9c146a136cafafef5ffec4cb307badb1d0e +0 -0
- package/.idea/sonarlint/issuestore/7/3/73e399246034aaf963bb1ad4b0a0e2b5228f57cc +0 -0
- package/.idea/sonarlint/issuestore/7/7/7710090cd8b91b750ed58a2f3196d971d7de988b +0 -0
- package/.idea/sonarlint/issuestore/7/8/785055d2374e9ff4841f875174c20cad0c0d9a80 +0 -0
- package/.idea/sonarlint/issuestore/7/8/78a09338d0e7bb67a5d2643580367940bee1e5b2 +0 -0
- package/.idea/sonarlint/issuestore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
- package/.idea/sonarlint/issuestore/7/a/7a6581baac8c66b8e331b8187db03c64201001f1 +0 -0
- package/.idea/sonarlint/issuestore/8/5/852060cc24633564871605ce8d1e59970ef2485c +0 -0
- package/.idea/sonarlint/issuestore/8/5/85e8222943093a270d57ab07964a75d9a15648eb +0 -0
- package/.idea/sonarlint/issuestore/8/6/86abd2602e79b84f352d24c72f079541f41aeb6d +0 -0
- package/.idea/sonarlint/issuestore/8/8/881d5d47bdc17ef8facebef59b68b5fc099a0293 +0 -0
- package/.idea/sonarlint/issuestore/8/8/882c515e635f40a7e1ad419c70c0f2d2c17e2f37 +0 -0
- package/.idea/sonarlint/issuestore/8/9/89d3df066dd0ec67c57e82d68cce94cb72f820b5 +0 -0
- package/.idea/sonarlint/issuestore/8/b/8bff50de15c7d9b1166aa9ad98243d1a04b7e4c4 +0 -0
- package/.idea/sonarlint/issuestore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
- package/.idea/sonarlint/issuestore/9/0/900448384f6077c203e834650b95017f7a373583 +2 -0
- package/.idea/sonarlint/issuestore/9/1/912f3a935b193eb148539815f9aef4a4252c12ba +0 -0
- package/.idea/sonarlint/issuestore/9/4/94dd0b13f6f12ba5eae129046b1d061ddd546d72 +5 -0
- package/.idea/sonarlint/issuestore/9/5/958a078793035ab0aad2086f7be79b55628402c0 +0 -0
- package/.idea/sonarlint/issuestore/9/6/96dcf27dc8ae3662215096d9e00c194897d29c0b +0 -0
- package/.idea/sonarlint/issuestore/9/7/9730e89df0a4367176020e461c38c37b7ae58b9a +0 -0
- package/.idea/sonarlint/issuestore/9/8/98c4f1f9f94adc9e53100dbf68ce8c5df2a47f01 +0 -0
- package/.idea/sonarlint/issuestore/9/9/9920d82d6cbbfe404d91c79781048e0c0514767e +0 -0
- package/.idea/sonarlint/issuestore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
- package/.idea/sonarlint/issuestore/a/1/a1991714da3efb5da4456ee802727afe63035aa5 +0 -0
- package/.idea/sonarlint/issuestore/a/7/a70ff2c42b6ffb69f1686cf6ced65733a75e056f +0 -0
- package/.idea/sonarlint/issuestore/a/8/a8b0d4ad8d44e8bb48b2ca34ddbd84b549ee9105 +3 -0
- package/.idea/sonarlint/issuestore/a/a/aaf524b8c18d54117ff8a4de5b06cdd7f5776d0d +0 -0
- package/.idea/sonarlint/issuestore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
- package/.idea/sonarlint/issuestore/b/0/b0a40903f86afa7d5940f95f66995a290b6d4fe2 +0 -0
- package/.idea/sonarlint/issuestore/b/2/b26e3039f1510dfa296fdfb6a1a5f12cdca84371 +0 -0
- package/.idea/sonarlint/issuestore/b/3/b3349079128f17cb6e0cecf3cccfa4fe5188f92f +3 -0
- package/.idea/sonarlint/issuestore/b/4/b4a9acebce4d56aa444e5b857fa140163bcbd47f +0 -0
- package/.idea/sonarlint/issuestore/b/5/b5320db1c0a02ceb68cb70d050f5dc9d420b928b +0 -0
- package/.idea/sonarlint/issuestore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
- package/.idea/sonarlint/issuestore/b/9/b9f0a0a757a4dc7cc57724b3534dfdf189c25ea6 +0 -0
- package/.idea/sonarlint/issuestore/b/b/bb971971f3915fff5703a078f2784df410b7298e +0 -0
- package/.idea/sonarlint/issuestore/b/e/be023cb04cabb819ee6a97d9fc2a088cb4eded97 +0 -0
- package/.idea/sonarlint/issuestore/b/e/be633e1bf05efdb3dec5eae2777f024e1aee5599 +0 -0
- package/.idea/sonarlint/issuestore/c/2/c2b3144db64026759165a569b0f1f5086c6be0d3 +0 -0
- package/.idea/sonarlint/issuestore/c/6/c62bdf361b714427c19bdc47c8c97f90cce4dad3 +0 -0
- package/.idea/sonarlint/issuestore/c/6/c680d0675608db3debbc56eab6dae6478ea3d2db +0 -0
- package/.idea/sonarlint/issuestore/c/b/cb44f758b6159383fc5e20e1b38c4a3781d4e4bc +0 -0
- package/.idea/sonarlint/issuestore/c/c/ccc24fa53ed888a7471d8f2d4afae2e0ae89171d +0 -0
- package/.idea/sonarlint/issuestore/c/e/ced731c009a96db35c13542868ab840aa2ef6de4 +0 -0
- package/.idea/sonarlint/issuestore/d/1/d13af3479d43279b14b3cf9dbac30965ada1dadb +0 -0
- package/.idea/sonarlint/issuestore/d/2/d2b81feb53c8d963c77dbd7e63afdc568883baad +0 -0
- package/.idea/sonarlint/issuestore/d/3/d350eccaa5bdadf800f3540db3f0e94c0417a0f3 +0 -0
- package/.idea/sonarlint/issuestore/d/3/d3f37835937f760d81f9a81b56b898afec37a1e7 +0 -0
- package/.idea/sonarlint/issuestore/d/4/d4e02cf17e1477bc4516d78f557bdcd1b933fafd +0 -0
- package/.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/issuestore/d/6/d690bc5bd5193edbd3f7e29b2d1be4d3f991937b +0 -0
- package/.idea/sonarlint/issuestore/d/7/d76f3a535e1a92673864b9fca18992b4f862dbba +2 -0
- package/.idea/sonarlint/issuestore/d/a/dac4ed416fff2cc3bff02b81a88328ec7c19de0e +0 -0
- package/.idea/sonarlint/issuestore/e/0/e00bc8f8672ab358b454ac1d2030d3526a374653 +0 -0
- package/.idea/sonarlint/issuestore/e/0/e017677da38130b31bd766d7a84884050023d597 +0 -0
- package/.idea/sonarlint/issuestore/e/1/e15a6d4820640fb201495dfd5875489fd536ebb3 +0 -0
- package/.idea/sonarlint/issuestore/e/4/e4ba9c2909b6e543ec138e95d86cee25af778d54 +0 -0
- package/.idea/sonarlint/issuestore/e/8/e804956e69c2d0944d08ff64caa3e6286590814b +0 -0
- package/.idea/sonarlint/issuestore/f/0/f039b4d90e01657caf0dbfd31860e93d585b6752 +0 -0
- package/.idea/sonarlint/issuestore/f/0/f096934f71a0918e4829a4f76b3bba64b8d65f1e +0 -0
- package/.idea/sonarlint/issuestore/f/1/f11f7a7b3a7306f994e28b2eba9c69a5b555c017 +0 -0
- package/.idea/sonarlint/issuestore/f/1/f1b96288c62ba6818b30b3d2e7506e30c1b4a742 +3 -0
- package/.idea/sonarlint/issuestore/f/3/f351a44ab2314976174827d1ca2495fd38ea8df8 +0 -0
- package/.idea/sonarlint/issuestore/f/3/f37789881b66dffd7123fa80ee7ad838f3bdafaf +0 -0
- package/.idea/sonarlint/issuestore/f/4/f40b81d4c7242e4401b8ae55bdcab1c38b860071 +0 -0
- package/.idea/sonarlint/issuestore/f/4/f425d43e761ebef46b781334764eb5d3bb913cf8 +3 -0
- package/.idea/sonarlint/issuestore/f/6/f61f9b480b4da03d8ff7d137ce344656354cd190 +0 -0
- package/.idea/sonarlint/issuestore/f/6/f65d6b8cc814626bac7a38f2cd1c930554388594 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f900edc44cb929c2267a16100a32851f6d5b477d +0 -0
- package/.idea/sonarlint/issuestore/f/b/fb8261203d602a51243c9a77b6c1ee63bb7b6966 +0 -0
- package/.idea/sonarlint/issuestore/f/f/ff7918f0784b416c82bb974889323c13506e7d0a +0 -0
- package/.idea/sonarlint/issuestore/index.pb +259 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/0233f8559e74312ed5074ade1be1aea02e6e4f1e +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/02d5146f94659f11c56f0ea1d9c504ff9492b546 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/02f4902c3db5247c732bde5aaf0d4fb55363c3b1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/3/0343acf33ca1b061164f9846ff8ce30429205a2a +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/4/04d5869ea32abbf6abf5a3cb9a671637ac2e345b +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/0918cbb76f2c44f223706cec9d31a32cd1177ce4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/b/0b63533e07c8b10a8fbfe7f35df1bffec8103e14 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/c/0c0fd6a370cd10350462b46937e98f903bcb1435 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/e/0e600c187f4cf8bd0dd6b678f55067a8300ab570 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/f/0f43007644f06a63afbfbfc129aadd61bf40318a +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/4/14148858b7b4a0aa23ddfdc41ef62be2db925c70 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/5/15ff6a89ff653ef3176ddb9c5e0b59c16c2db949 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/6/169d7dbe9a819ce675ee66de130c5a7c92bb763d +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/8/18a1ebb3a44ad977a5cfa60b6620a47ba00163a3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/f/1fd3ecff7dd864e5b00c14a4333d8cde8c9faf11 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/0/204a133d39c4a2c7b86de23f541f342e0a7a3234 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/4/2491406c07bfc2b0f7ed8e010e56d6e468c374d0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/5/257d0fa8d58da6d96f5a7af9724b2e1c92c62a2d +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/8/282dcb1e4436703724dd35bb567086834c3ebdb4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/a/2aeb7bd71ee8453ff4601a1fc8fcd4fa9c5fe355 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/c/2c25e229323612e7988c659ad7b51c7b1e2b2403 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/f/2fa1946a2afc952506e41d87833ed29401fc29a0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/4/3463c59843592ad2a00c54f39e2943583bd6fff9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/390f31a969ba7940070bf32aac2a0d1f7b7bd78b +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/e/3ebc20bbfa3c33cf20481a2de7591c997c68abb9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/1/417425bfa2cef1f22539e792dcb0a7f7784f9604 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/1/41ac9772c7dd3fc038485f99106b427a5e28f2e3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/4/44d3ca69a31c68c4d920b1fbb0083732713d2690 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/8/48a8ec70d252121fbc7df4e8a45044e964b5d6b7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/9/49e951d8246d0914f9d10b3955a7178866cfcee9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/d/4def76d1eea91e36f7789929705c032be6df27cd +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f40ac4df99b3f8bbd80db9b729d3b4b401623eb +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f4bba1840f039e57f25bbd19ec0e20c15fc0e1d +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/1/51f466e675bcd7ca84bf6287bab7404cde26db22 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/2/5222c3d19fd979fed770b7f3664147b2ed16b230 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/2/52cb9deee3ee8b8add01ec855fc4a45818ac7638 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/4/5471e6ec0c0e189560fccc7f474993fc6e1f758a +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/7/578f3ebc33c3ca6ab8e66c97f3c2eba2237b40ea +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5831775a729fcf9cb12959996af17091f46f440b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5842d31a915855888fd63b1aca8c3a4dd8c95880 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/c/5ce582bce204b2edd80e7602b279b3d64cc737e0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/f/5f2f0e365ced14f666cef2ac164c93530d4e0c2a +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60882ef9544224120d1d72534f44b973f3a57746 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60a7f3adc2729926865b49b02008b2874d65429d +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60b89c88214907466f4d004bb8a2e56a468da7f5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60bb79bf1ee7929bf0f8c20166ae12e49d7af9ea +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/5/65c98391f12bde62f0955f439128e0f8cb1eac6a +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/7/6733e547a8a62f0e2b41358995a67255b967bfeb +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/8/68e29ca13d4f4cada132a831a6a1b52c0a0ebfd3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/9/692f3fce406d97e843fbf744ad689b51e3754dff +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/a/6a835d16be742d060f08912c5808bbf862426d3d +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/e/6e142af7dffa0e82efece3ff58722e96f4283a3f +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/2/725cc9c146a136cafafef5ffec4cb307badb1d0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73e399246034aaf963bb1ad4b0a0e2b5228f57cc +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/7710090cd8b91b750ed58a2f3196d971d7de988b +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/8/785055d2374e9ff4841f875174c20cad0c0d9a80 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/8/78a09338d0e7bb67a5d2643580367940bee1e5b2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/a/7a6581baac8c66b8e331b8187db03c64201001f1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/5/852060cc24633564871605ce8d1e59970ef2485c +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/5/85e8222943093a270d57ab07964a75d9a15648eb +2 -0
- package/.idea/sonarlint/securityhotspotstore/8/6/86abd2602e79b84f352d24c72f079541f41aeb6d +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/8/881d5d47bdc17ef8facebef59b68b5fc099a0293 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/8/882c515e635f40a7e1ad419c70c0f2d2c17e2f37 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/9/89d3df066dd0ec67c57e82d68cce94cb72f820b5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/b/8bff50de15c7d9b1166aa9ad98243d1a04b7e4c4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/0/900448384f6077c203e834650b95017f7a373583 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/1/912f3a935b193eb148539815f9aef4a4252c12ba +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/94dd0b13f6f12ba5eae129046b1d061ddd546d72 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/5/958a078793035ab0aad2086f7be79b55628402c0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/6/96dcf27dc8ae3662215096d9e00c194897d29c0b +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/7/9730e89df0a4367176020e461c38c37b7ae58b9a +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/8/98c4f1f9f94adc9e53100dbf68ce8c5df2a47f01 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/9/9920d82d6cbbfe404d91c79781048e0c0514767e +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/1/a1991714da3efb5da4456ee802727afe63035aa5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/7/a70ff2c42b6ffb69f1686cf6ced65733a75e056f +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/8/a8b0d4ad8d44e8bb48b2ca34ddbd84b549ee9105 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/a/aaf524b8c18d54117ff8a4de5b06cdd7f5776d0d +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/0/b0a40903f86afa7d5940f95f66995a290b6d4fe2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/2/b26e3039f1510dfa296fdfb6a1a5f12cdca84371 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/3/b3349079128f17cb6e0cecf3cccfa4fe5188f92f +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/4/b4a9acebce4d56aa444e5b857fa140163bcbd47f +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/5/b5320db1c0a02ceb68cb70d050f5dc9d420b928b +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/9/b9f0a0a757a4dc7cc57724b3534dfdf189c25ea6 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/b/bb971971f3915fff5703a078f2784df410b7298e +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/e/be023cb04cabb819ee6a97d9fc2a088cb4eded97 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/e/be633e1bf05efdb3dec5eae2777f024e1aee5599 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/2/c2b3144db64026759165a569b0f1f5086c6be0d3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/6/c62bdf361b714427c19bdc47c8c97f90cce4dad3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/6/c680d0675608db3debbc56eab6dae6478ea3d2db +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/b/cb44f758b6159383fc5e20e1b38c4a3781d4e4bc +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/e/ced731c009a96db35c13542868ab840aa2ef6de4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/1/d13af3479d43279b14b3cf9dbac30965ada1dadb +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/2/d2b81feb53c8d963c77dbd7e63afdc568883baad +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/3/d3f37835937f760d81f9a81b56b898afec37a1e7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/4/d4e02cf17e1477bc4516d78f557bdcd1b933fafd +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/6/d690bc5bd5193edbd3f7e29b2d1be4d3f991937b +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/7/d76f3a535e1a92673864b9fca18992b4f862dbba +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/a/dac4ed416fff2cc3bff02b81a88328ec7c19de0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/0/e00bc8f8672ab358b454ac1d2030d3526a374653 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/1/e15a6d4820640fb201495dfd5875489fd536ebb3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/8/e804956e69c2d0944d08ff64caa3e6286590814b +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/0/f039b4d90e01657caf0dbfd31860e93d585b6752 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/0/f096934f71a0918e4829a4f76b3bba64b8d65f1e +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/1/f11f7a7b3a7306f994e28b2eba9c69a5b555c017 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/1/f1b96288c62ba6818b30b3d2e7506e30c1b4a742 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/3/f351a44ab2314976174827d1ca2495fd38ea8df8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/3/f37789881b66dffd7123fa80ee7ad838f3bdafaf +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/4/f40b81d4c7242e4401b8ae55bdcab1c38b860071 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/4/f425d43e761ebef46b781334764eb5d3bb913cf8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/6/f61f9b480b4da03d8ff7d137ce344656354cd190 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/6/f65d6b8cc814626bac7a38f2cd1c930554388594 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f900edc44cb929c2267a16100a32851f6d5b477d +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/b/fb8261203d602a51243c9a77b6c1ee63bb7b6966 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/f/ff7918f0784b416c82bb974889323c13506e7d0a +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +249 -0
- package/.idea/sonarlint-state.xml +6 -0
- package/.idea/sonarlint.xml +8 -0
- package/.idea/vcs.xml +1 -1
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-1.22.22.cjs +148049 -0
- package/CHANGELOG.md +13 -1
- package/dist/demosplan-ui.umd.js +1 -1
- package/moveToClaudeMD.md +65 -0
- package/package.json +1 -1
- package/src/components/DpAutocomplete/DpAutocomplete.vue +65 -29
- package/src/components/DpProgressBar/DpProgressBar.vue +11 -5
- package/tokens/dist/css/theme.css +1 -1
- package/tokens/dist/js/boxShadow.js +1 -1
- package/tokens/dist/js/breakpoints.js +1 -1
- package/tokens/dist/js/color.brand.js +1 -1
- package/tokens/dist/js/color.data.js +1 -1
- package/tokens/dist/js/color.palette.js +1 -1
- package/tokens/dist/js/color.ui-tailwind.js +1899 -0
- package/tokens/dist/js/color.ui.js +1 -1
- package/tokens/dist/js/fontSize.js +1 -1
- package/tokens/dist/js/rounded.js +1 -1
- package/tokens/dist/js/space.js +1 -1
- package/tokens/dist/js/zIndex.js +1 -1
- package/tokens/dist/scss/_boxShadow.scss +1 -1
- package/tokens/dist/scss/_breakpoints.scss +1 -1
- package/tokens/dist/scss/_color.brand.scss +1 -1
- package/tokens/dist/scss/_color.data.scss +1 -1
- package/tokens/dist/scss/_color.palette.scss +1 -1
- package/tokens/dist/scss/_color.ui.scss +1 -1
- package/tokens/dist/scss/_fontSize.scss +1 -1
- package/tokens/dist/scss/_rounded.scss +1 -1
- package/tokens/dist/scss/_space.scss +1 -1
- package/tokens/dist/scss/_zIndex.scss +1 -1
- package/tokens/dist/tailwind/color.brand.js +8 -0
- package/tokens/dist/tailwind/color.data.js +30 -0
- package/tokens/dist/tailwind/color.palette.js +60 -0
- package/tokens/scss/_boxShadow.scss +8 -0
- package/tokens/scss/_color.brand.scss +10 -0
- package/tokens/scss/_color.data.scss +32 -0
- package/tokens/scss/_color.palette.scss +62 -0
- package/tokens/scss/_color.scss +89 -0
- package/tokens/scss/_color.ui.scss +60 -0
- package/tokens/scss/_fontSize.scss +26 -0
- package/tokens/scss/_rounded.scss +9 -0
- package/tokens/scss/_space.scss +13 -0
- package/yarn-error.log +14081 -0
- package/.idea/codeStyles/Project.xml +0 -62
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_11_07_2025_09_56_[Changes]/shelved.patch +0 -175
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_11_07_2025_09_56__Changes_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_55_[Changes]/shelved.patch +0 -18
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_55__Changes_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_56_[Changes]/shelved.patch +0 -18
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_56__Changes_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_06_2025_14_40_[Changes]/shelved.patch +0 -58
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_24_06_2025_11_14_[Changes]/shelved.patch +0 -217
- package/.idea/shelf/Uncommitted_changes_before_Update_at_09_05_2025_14_28_[Changes]/shelved.patch +0 -295
- package/.idea/shelf/Uncommitted_changes_before_Update_at_15_07_2025_11_56_[Changes]/shelved.patch +0 -18
- package/.idea/shelf/Uncommitted_changes_before_Update_at_15_07_2025_11_56__Changes_.xml +0 -4
- package/.idea/workspace.xml +0 -981
- package/coverage/clover.xml +0 -6
- package/coverage/coverage-final.json +0 -1
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -101
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/debug-storybook.log +0 -40
- package/storybook-static/assets/CleanHtml-BxfZNGDF.js +0 -48
- package/storybook-static/assets/CleanHtml-CeG3Pc5D.js +0 -2
- package/storybook-static/assets/Color-AVL7NMMY-CrqVLxS7.js +0 -1
- package/storybook-static/assets/DocsRenderer-PQXLIZUC-C94DWaTq.js +0 -2
- package/storybook-static/assets/DpAccordion-BJ0eYoeL.js +0 -9
- package/storybook-static/assets/DpAccordion-CKgNMMg7.js +0 -1
- package/storybook-static/assets/DpAccordion.stories-Bi3-V11T.js +0 -26
- package/storybook-static/assets/DpApi-BU9X0WT6.js +0 -4
- package/storybook-static/assets/DpAutocomplete-BhABAuyz.js +0 -6
- package/storybook-static/assets/DpAutocomplete-Ds8IvIaM.js +0 -1
- package/storybook-static/assets/DpAutocomplete.stories-DGmOfoqI.js +0 -8
- package/storybook-static/assets/DpBadge-BPAWHuN0.js +0 -16
- package/storybook-static/assets/DpBadge-mgPu9WO8.js +0 -1
- package/storybook-static/assets/DpBadge.stories-DEFu_g_d.js +0 -69
- package/storybook-static/assets/DpBulkEditHeader-DYRPNRDA.js +0 -10
- package/storybook-static/assets/DpBulkEditHeader-qNgl3Gdq.js +0 -1
- package/storybook-static/assets/DpBulkEditHeader.stories-CgKeZjbQ.js +0 -50
- package/storybook-static/assets/DpButton-BLywaapW.js +0 -15
- package/storybook-static/assets/DpButton-BX5f5Y08.js +0 -28
- package/storybook-static/assets/DpButton.stories-Bh1aQWo-.js +0 -60
- package/storybook-static/assets/DpButtonIcon-CutRnDpO.js +0 -4
- package/storybook-static/assets/DpButtonRow-CU6rf5xR.js +0 -12
- package/storybook-static/assets/DpButtonRow-DRRw4r4F.js +0 -1
- package/storybook-static/assets/DpButtonRow.stories-BRZ52We0.js +0 -60
- package/storybook-static/assets/DpCard-CNBkliZ1.js +0 -1
- package/storybook-static/assets/DpCard-CqzBHYky.js +0 -5
- package/storybook-static/assets/DpCard.stories-CkAnU1Vf.js +0 -8
- package/storybook-static/assets/DpCheckbox-BdZqABk4.js +0 -1
- package/storybook-static/assets/DpCheckbox-Db9FgQPp.js +0 -25
- package/storybook-static/assets/DpCheckbox.stories-yTBXYgIJ.js +0 -48
- package/storybook-static/assets/DpCheckboxGroup-CE1noRhA.js +0 -10
- package/storybook-static/assets/DpCheckboxGroup-CFaFEzrL.js +0 -1
- package/storybook-static/assets/DpCheckboxGroup.stories-DQ7BzPww.js +0 -15
- package/storybook-static/assets/DpColumnSelector-B0Q0n09i.js +0 -10
- package/storybook-static/assets/DpColumnSelector-BjRvX20u.js +0 -1
- package/storybook-static/assets/DpColumnSelector.stories-Bsxtu-R9.js +0 -17
- package/storybook-static/assets/DpConfirmDialog-B4NQKzL5.js +0 -8
- package/storybook-static/assets/DpConfirmDialog-CQYtFW-3.js +0 -1
- package/storybook-static/assets/DpConfirmDialog.stories-iv2KRiDU.js +0 -73
- package/storybook-static/assets/DpContextualHelp-DnsCCoZB.js +0 -4
- package/storybook-static/assets/DpContextualHelp-cg4NfoZJ.js +0 -12
- package/storybook-static/assets/DpContextualHelp.stories-D5HWdQyH.js +0 -45
- package/storybook-static/assets/DpDataTable-Cr1GA5Cb.js +0 -16
- package/storybook-static/assets/DpDataTable-f7CVMPNi.js +0 -10
- package/storybook-static/assets/DpDataTable.stories-BjXZnrni.js +0 -123
- package/storybook-static/assets/DpDataTableExtended-C-oFpO_I.js +0 -14
- package/storybook-static/assets/DpDataTableExtended-mDxHCvB0.js +0 -2
- package/storybook-static/assets/DpDataTableExtended.stories-I5_PptZr.js +0 -73
- package/storybook-static/assets/DpDateRangePicker-D5652u0C.js +0 -1
- package/storybook-static/assets/DpDateRangePicker-YGJhE-xN.js +0 -10
- package/storybook-static/assets/DpDateRangePicker.stories-CCfSjt7J.js +0 -19
- package/storybook-static/assets/DpDatepicker-BlQqmRXh.js +0 -14
- package/storybook-static/assets/DpDatepicker-CFlgW3DB.js +0 -30
- package/storybook-static/assets/DpDatepicker.stories-QbL7uNPB.js +0 -55
- package/storybook-static/assets/DpDatetimePicker-BNogWwEl.js +0 -17
- package/storybook-static/assets/DpDatetimePicker-DQokm861.js +0 -2
- package/storybook-static/assets/DpDatetimePicker.stories-dJTr_X4a.js +0 -39
- package/storybook-static/assets/DpDetails-Do--n1SK.js +0 -1
- package/storybook-static/assets/DpDetails-qy-zsMYA.js +0 -12
- package/storybook-static/assets/DpDetails.stories-BmFnnpwr.js +0 -89
- package/storybook-static/assets/DpDraggable-CddfZrQg.js +0 -12
- package/storybook-static/assets/DpDraggable-DLTo9Q5K.js +0 -6
- package/storybook-static/assets/DpDraggable.stories-YSsJhbLZ.js +0 -290
- package/storybook-static/assets/DpEditableList-5FqvJbtx.js +0 -8
- package/storybook-static/assets/DpEditableList-CKEmMpmV.js +0 -28
- package/storybook-static/assets/DpEditableList.stories-CunPGVO1.js +0 -48
- package/storybook-static/assets/DpEditor-xJ7bfv4o.js +0 -12
- package/storybook-static/assets/DpEditor.stories-IBm6EtTh.js +0 -90
- package/storybook-static/assets/DpFlyout-DgegOHH0.js +0 -8
- package/storybook-static/assets/DpFlyout-Dsx6KYUl.js +0 -1
- package/storybook-static/assets/DpFlyout.stories-vre_uXPR.js +0 -23
- package/storybook-static/assets/DpFormRow-BsMZgRL2.js +0 -1
- package/storybook-static/assets/DpFormRow-DkKEMIVl.js +0 -9
- package/storybook-static/assets/DpFormRow.stories-ix_fpK9y.js +0 -12
- package/storybook-static/assets/DpIcon-DNUvGdzz.js +0 -9
- package/storybook-static/assets/DpIcon-dOAQoUKG.js +0 -5
- package/storybook-static/assets/DpIcon.stories-DGgU5AFH.js +0 -149
- package/storybook-static/assets/DpInlineNotification-CEzn4Pqd.js +0 -2
- package/storybook-static/assets/DpInlineNotification-wqa943WU.js +0 -13
- package/storybook-static/assets/DpInlineNotification.stories-B0z19u_O.js +0 -17
- package/storybook-static/assets/DpInput-HcmwQIdx.js +0 -33
- package/storybook-static/assets/DpInput-cN-WEvOL.js +0 -16
- package/storybook-static/assets/DpInput.stories-bIIwZ06I.js +0 -131
- package/storybook-static/assets/DpLabel-CIRt98zd.js +0 -30
- package/storybook-static/assets/DpLabel-DFauD5I2.js +0 -1
- package/storybook-static/assets/DpLabel.stories-DOvT5FP0.js +0 -212
- package/storybook-static/assets/DpLoading-CPPK2VdG.js +0 -20
- package/storybook-static/assets/DpLoading-rM7osZHK.js +0 -1
- package/storybook-static/assets/DpLoading.stories-DbGxhEdp.js +0 -43
- package/storybook-static/assets/DpModal-CVn3FCXs.js +0 -26
- package/storybook-static/assets/DpModal-oGkhZvzT.js +0 -1
- package/storybook-static/assets/DpModal.stories-D85oaATj.js +0 -129
- package/storybook-static/assets/DpMultiselect-Bm5hUadB.js +0 -22
- package/storybook-static/assets/DpMultiselect-C43chKj1.js +0 -44
- package/storybook-static/assets/DpMultiselect.stories-CIoTsG-g.js +0 -107
- package/storybook-static/assets/DpMultistepNav-AnSXdU2J.js +0 -1
- package/storybook-static/assets/DpMultistepNav-C2Zadn2N.js +0 -13
- package/storybook-static/assets/DpMultistepNav.stories-BG2cLqfE.js +0 -30
- package/storybook-static/assets/DpNotification-C1QXVdor.js +0 -1
- package/storybook-static/assets/DpNotification-DyJmy8iY.js +0 -29
- package/storybook-static/assets/DpNotification.stories-DfecPPLD.js +0 -105
- package/storybook-static/assets/DpPager-BaoMw4uo.js +0 -1
- package/storybook-static/assets/DpPager-XfqFqQGG.js +0 -12
- package/storybook-static/assets/DpPager.stories-DHEGD-lB.js +0 -24
- package/storybook-static/assets/DpProgressBar-4fw0icXV.js +0 -20
- package/storybook-static/assets/DpProgressBar-C0dbsdgz.js +0 -1
- package/storybook-static/assets/DpProgressBar.stories-BSJKPymL.js +0 -26
- package/storybook-static/assets/DpRadio-9df2JDL9.js +0 -13
- package/storybook-static/assets/DpRadio-D2xw34qI.js +0 -2
- package/storybook-static/assets/DpRadio.stories-BE1cjwtP.js +0 -117
- package/storybook-static/assets/DpResettableInput-BPdfP0Ae.js +0 -8
- package/storybook-static/assets/DpResettableInput-nox0ihQv.js +0 -1
- package/storybook-static/assets/DpResettableInput.stories-Cq1mfxTz.js +0 -41
- package/storybook-static/assets/DpSearchField-CFqegLRV.js +0 -1
- package/storybook-static/assets/DpSearchField-f1Llye-2.js +0 -4
- package/storybook-static/assets/DpSearchField.stories-CdMKRXtW.js +0 -52
- package/storybook-static/assets/DpSelect-BzmpttTu.js +0 -1
- package/storybook-static/assets/DpSelect-J0BVjsqi.js +0 -11
- package/storybook-static/assets/DpSelect.stories-NpI9vCfo.js +0 -129
- package/storybook-static/assets/DpSkeletonBox-CDn0SzQb.js +0 -20
- package/storybook-static/assets/DpSkeletonBox-a5wBcRN-.js +0 -1
- package/storybook-static/assets/DpSkeletonBox.stories-Cb2yeXBb.js +0 -70
- package/storybook-static/assets/DpSlidebar-Bfb2VXSk.js +0 -21
- package/storybook-static/assets/DpSlidebar-DtAyUisB.js +0 -1
- package/storybook-static/assets/DpSlidebar.stories-DKSwFYzN.js +0 -23
- package/storybook-static/assets/DpSlidingPagination-BCXUgS46.js +0 -1
- package/storybook-static/assets/DpSlidingPagination-CfkT9VBg.js +0 -21
- package/storybook-static/assets/DpSlidingPagination.stories-DZ80NUNd.js +0 -35
- package/storybook-static/assets/DpSplitButton-Cft5u7Pe.js +0 -4
- package/storybook-static/assets/DpStickyElement-Biohssqu.js +0 -21
- package/storybook-static/assets/DpStickyElement-ClzY3p1-.js +0 -4
- package/storybook-static/assets/DpStickyElement.stories-RayTMlXk.js +0 -42
- package/storybook-static/assets/DpTabs-BGgWBJ_5.js +0 -23
- package/storybook-static/assets/DpTabs.stories-BNe9rHxl.js +0 -85
- package/storybook-static/assets/DpTextArea-BtrBIQP_.js +0 -49
- package/storybook-static/assets/DpTextArea-DoA63rHr.js +0 -2
- package/storybook-static/assets/DpTextArea.stories-c3BZqrsh.js +0 -155
- package/storybook-static/assets/DpTimePicker-9Qy_qVnW.js +0 -1
- package/storybook-static/assets/DpTimePicker-JnDQtvH1.js +0 -27
- package/storybook-static/assets/DpTimePicker.stories-CMqNipv8.js +0 -92
- package/storybook-static/assets/DpToggle-BNgSF54s.js +0 -10
- package/storybook-static/assets/DpToggle-BPqlzXQH.js +0 -1
- package/storybook-static/assets/DpToggle.stories-D3_9X7aB.js +0 -35
- package/storybook-static/assets/DpTooltip-BwmuQSat.js +0 -27
- package/storybook-static/assets/DpTooltip-D8SOODgR.js +0 -1
- package/storybook-static/assets/DpTooltip.stories-DbfOxsaF.js +0 -248
- package/storybook-static/assets/DpTransitionExpand-C4Amyfxp.js +0 -8
- package/storybook-static/assets/DpTransitionExpand.stories-DX9u7SiJ.js +0 -85
- package/storybook-static/assets/DpTreeList-C68TZVte.js +0 -78
- package/storybook-static/assets/DpTreeList-Cciwf3YU.js +0 -2
- package/storybook-static/assets/DpTreeList.stories-B_u3WNs8.js +0 -673
- package/storybook-static/assets/DpUploadFiles-BPYxTWYH.js +0 -26
- package/storybook-static/assets/DpUploadFiles.stories-CDCSsFQa.js +0 -154
- package/storybook-static/assets/DpVideoPlayer-CnldmoEy.js +0 -162
- package/storybook-static/assets/DpVideoPlayer-b-qaSsV5.css +0 -1
- package/storybook-static/assets/DpVideoPlayer-n_ANjh0q.js +0 -29
- package/storybook-static/assets/DpVideoPlayer.stories-BOR2SEz7.js +0 -294
- package/storybook-static/assets/Notice-FIynXtzj.js +0 -1
- package/storybook-static/assets/Stickier-DyqV0rTn.js +0 -1
- package/storybook-static/assets/Table-DSJ5DLHV.js +0 -1
- package/storybook-static/assets/Tooltip-DzpJJoBp.js +0 -25
- package/storybook-static/assets/Tooltip-flnpMaRO.js +0 -32
- package/storybook-static/assets/_commonjsHelpers-CE1G-McA.js +0 -1
- package/storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- package/storybook-static/assets/blocks-kyJuz3C5.js +0 -697
- package/storybook-static/assets/dayjs.min-C3DHb-Vr.js +0 -1
- package/storybook-static/assets/getScrollTop-CXy7CyEd.js +0 -1
- package/storybook-static/assets/hasOwnProp-B0vmwdLB.js +0 -1
- package/storybook-static/assets/helpers-CdC6mcQu.js +0 -1
- package/storybook-static/assets/iframe-DH2OFsM2.css +0 -1
- package/storybook-static/assets/iframe-KFxwsBtW.js +0 -1113
- package/storybook-static/assets/index-BbC7EF1e.js +0 -1
- package/storybook-static/assets/index-CTxdm8FW.js +0 -1
- package/storybook-static/assets/index-Ccl8MXhV.js +0 -79
- package/storybook-static/assets/lengthHint-zGawKYxB.js +0 -1
- package/storybook-static/assets/prefixClass-BBJiSKc2.js +0 -1
- package/storybook-static/assets/prefixClassMixin-FjEzRm2G.js +0 -1
- package/storybook-static/assets/tokens._overview-DfWYzL-L.js +0 -111
- package/storybook-static/assets/tokens.boxShadow-BRgz_5Oh.js +0 -64
- package/storybook-static/assets/tokens.breakpoints-V5SksMvF.js +0 -66
- package/storybook-static/assets/tokens.color-BpZbPjHk.js +0 -107
- package/storybook-static/assets/tokens.fontSize-rdG7vcZh.js +0 -51
- package/storybook-static/assets/tokens.rounded-CUE0q0vd.js +0 -55
- package/storybook-static/assets/tokens.space-B3MDHCbR.js +0 -48
- package/storybook-static/assets/tokens.zIndex-Be_fxSoV.js +0 -53
- package/storybook-static/assets/translations-DDOZrg-p.js +0 -1
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -686
- package/storybook-static/index.html +0 -152
- package/storybook-static/index.json +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +0 -1
- package/storybook-static/sb-addons/docs-2/manager-bundle.js +0 -151
- package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +0 -797
- package/storybook-static/sb-manager/globals-runtime.js +0 -69460
- package/storybook-static/sb-manager/globals.js +0 -34
- package/storybook-static/sb-manager/runtime.js +0 -13008
- package/vite.config.mjs +0 -44
- /package/{coverage/lcov.info → .idea/sonarlint/issuestore/0/2/0233f8559e74312ed5074ade1be1aea02e6e4f1e} +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{j as e,M as a,C as o}from"./blocks-kyJuz3C5.js";import{useMDXComponents as s}from"./index-BbC7EF1e.js";import{D as l,a as r}from"./DpSlidebar.stories-DKSwFYzN.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpSlidebar-DtAyUisB.js";import"./dayjs.min-C3DHb-Vr.js";import"./hasOwnProp-B0vmwdLB.js";import"./DpApi-BU9X0WT6.js";import"./DpIcon-dOAQoUKG.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function t(i){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{of:l}),`
|
|
2
|
-
`,e.jsx(n.h1,{id:"slidebar",children:"Slidebar"}),`
|
|
3
|
-
`,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"DpSlidebar"})," component creates a sliding side panel that can be opened and closed. It initializes a SideNav instance and provides a consistent interface for slide-in panels throughout the application."]}),`
|
|
4
|
-
`,e.jsx(n.h2,{id:"features",children:"Features"}),`
|
|
5
|
-
`,e.jsxs(n.ul,{children:[`
|
|
6
|
-
`,e.jsx(n.li,{children:"Right-side sliding panel"}),`
|
|
7
|
-
`,e.jsx(n.li,{children:"Built-in close button"}),`
|
|
8
|
-
`,e.jsx(n.li,{children:"Events for opening and closing"}),`
|
|
9
|
-
`,e.jsx(n.li,{children:"Slots for custom content"}),`
|
|
10
|
-
`]}),`
|
|
11
|
-
`,e.jsx(n.h2,{id:"usage",children:"Usage"}),`
|
|
12
|
-
`,e.jsx(n.p,{children:"The slidebar can be used to display additional information or controls without navigating away from the current view."}),`
|
|
13
|
-
`,e.jsx(n.h3,{id:"default",children:"Default"}),`
|
|
14
|
-
`,e.jsx(n.p,{children:"The basic slidebar with default configuration."}),`
|
|
15
|
-
`,e.jsx(o,{of:r}),`
|
|
16
|
-
`,e.jsx(n.h2,{id:"implementation-notes",children:"Implementation Notes"}),`
|
|
17
|
-
`,e.jsxs(n.ul,{children:[`
|
|
18
|
-
`,e.jsxs(n.li,{children:["Closing happens via ",e.jsx(n.code,{children:"data-slidebar-hide"})," attribute"]}),`
|
|
19
|
-
`,e.jsxs(n.li,{children:["Opening happens via emitted event instead of ",e.jsx(n.code,{children:"data-slidebar-show"})," attribute because sidenav may be initialized before corresponding DOM elements exist"]}),`
|
|
20
|
-
`,e.jsx(n.li,{children:"Content should be placed inside the default slot"}),`
|
|
21
|
-
`]})]})}function v(i={}){const{wrapper:n}={...s(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{v as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./dayjs.min-C3DHb-Vr.js";import{h as o}from"./hasOwnProp-B0vmwdLB.js";import"./DpApi-BU9X0WT6.js";import{_ as l}from"./DpIcon-dOAQoUKG.js";import{c,a as r,r as u,b as v,d as m,o as p}from"./iframe-KFxwsBtW.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";class E{constructor(t){if(!t)throw new Error("Missing required argument. new Detabinator needs an element reference");this._inert=!1,this._focusableElementsString="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], [contenteditable]",this._focusableElements=Array.from(t.querySelectorAll(this._focusableElementsString))}get inert(){return this._inert}set inert(t){this._inert!==t&&(this._inert=t,this._focusableElements.forEach(i=>{if(t)i.hasAttribute("tabindex")&&(i.__savedTabindex=i.tabIndex),i.setAttribute("tabindex",-1);else{if(i.__savedTabindex===0||i.__savedTabindex)return i.setAttribute("tabindex",i.__savedTabindex);i.removeAttribute("tabindex")}}))}}class f{constructor(){if(!document.querySelector("[data-slidebar]"))return;this.showButtonElements=Array.from(document.querySelectorAll("[data-slidebar-show]")),this.hideButtonElements=Array.from(document.querySelectorAll("[data-slidebar-hide]")),this.sideNavEl=document.querySelector("[data-slidebar]"),this.sideNavContainerEl=document.querySelector("[data-slidebar-container]"),this.orientation=this.sideNavEl.getAttribute("data-slidebar"),this.sideNavClassVisible="is-visible",this.sideNavClassAnimatable="is-animatable",this.detabinator=new E(this.sideNavContainerEl),this.detabinator.inert=!0,this.showSideNav=this.showSideNav.bind(this),this.hideSideNav=this.hideSideNav.bind(this),this.blockClicks=this.blockClicks.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTransitionEnd=this.onTransitionEnd.bind(this),this.update=this.update.bind(this);const t=document,i=t.documentElement,s=t.getElementsByTagName("body")[0];this.innerWidth=window.innerWidth||i.clientWidth||s.clientWidth,this.initialTranslateX=this.getTranslateX(this.sideNavContainerEl),this.startX=this.orientation==="right"?this.innerWidth:0,this.currentX=this.orientation==="right"?this.innerWidth:0,this.touchingSideNav=!1,this.transitionEndProperty=null,this.transitionEndTime=0,this.supportsPassive=void 0,this.addEventListeners()}applyPassive(){if(this.supportsPassive!==void 0)return this.supportsPassive?{passive:!0}:!1;let t=!1;try{document.addEventListener("test",null,{get passive(){t=!0}})}catch{}return this.supportsPassive=t,this.applyPassive()}addEventListeners(){this.showButtonElements.forEach(t=>{t.addEventListener("click",this.showSideNav)}),this.hideButtonElements.forEach(t=>{t.addEventListener("click",this.hideSideNav)}),this.sideNavEl.addEventListener("click",this.hideSideNav),this.sideNavContainerEl.addEventListener("click",this.blockClicks),this.sideNavEl.addEventListener("touchstart",this.onTouchStart,this.applyPassive()),this.sideNavEl.addEventListener("touchmove",this.onTouchMove,this.applyPassive()),this.sideNavEl.addEventListener("touchend",this.onTouchEnd)}onTouchStart(t){this.sideNavEl.classList.contains(this.sideNavClassVisible)&&(this.startX=t.touches[0].pageX,this.currentX=this.startX,this.touchingSideNav=!0,requestAnimationFrame(this.update))}onTouchMove(t){this.touchingSideNav&&(this.currentX=t.touches[0].pageX)}onTouchEnd(t){if(!this.touchingSideNav)return;const i=this.orientation==="right"?this.initialTranslateX:0;this.touchingSideNav=!1,this.sideNavContainerEl.style.transform="",this.updateTranslateX()<i&&this.hideSideNav()}update(){this.touchingSideNav&&(requestAnimationFrame(this.update),this.sideNavContainerEl.style.transform=`translateX(${this.updateTranslateX()}px)`)}blockClicks(t){t.stopPropagation()}onTransitionEnd(t){t.propertyName!==this.transitionEndProperty&&t.elapsedTime!==this.transitionEndTime||(this.transitionEndProperty=null,this.transitionEndTime=0,this.sideNavEl.classList.remove(this.sideNavClassAnimatable),this.sideNavEl.removeEventListener("transitionend",this.onTransitionEnd))}showSideNav(){this.sideNavEl.classList.add(this.sideNavClassAnimatable),this.sideNavEl.classList.add(this.sideNavClassVisible),this.detabinator.inert=!1,this.transitionEndProperty="transform",this.transitionEndTime=.33,this.sideNavEl.addEventListener("transitionend",this.onTransitionEnd)}hideSideNav(){this.sideNavEl.classList.add(this.sideNavClassAnimatable),this.sideNavEl.classList.remove(this.sideNavClassVisible),this.detabinator.inert=!0,this.transitionEndProperty="transform",this.transitionEndTime=.13,this.sideNavEl.addEventListener("transitionend",this.onTransitionEnd)}getTranslateX(t){if(!window.getComputedStyle)return;const i=[],s=getComputedStyle(t),n=s.transform||s.mozTransform||s.msTransform;let e=n.match(/^matrix3d\((.+)\)$/);return e?parseFloat(e[1].split(", ")[13]):(e=n.match(/^matrix\((.+)\)$/),e?i.push(parseFloat(e[1].split(", ")[4])):i.push(0),e?i.push(parseFloat(e[1].split(", ")[5])):i.push(0),i[0])}updateTranslateX(){return this.orientation==="right"?Math.max(0,this.currentX-this.startX):Math.min(0,this.currentX-this.startX)}}const d={name:"DpSlidebar",components:{DpIcon:l},data(){return{sideNav:{}}},methods:{hideSlideBar(){o(this.sideNav,"hideSideNav")&&(this.sideNav.hideSideNav(),this.$emit("close"))},showSlideBar(){o(this.sideNav,"showSideNav")&&this.sideNav.showSideNav()}},mounted(){this.sideNav=new f,this.$root.$on("hide-slidebar",()=>{this.hideSlideBar()}),this.$root.$on("show-slidebar",()=>{this.showSlideBar()})}},N={class:"c-slidebar u-pr-0","data-slidebar":"right"},S={class:"c-slidebar__container","data-slidebar-container":"","data-cy":"sidebarModal"},T={class:"u-ml-1_5"};function _(a,t,i,s,n,e){const h=m("dp-icon");return p(),c("div",N,[r("div",S,[r("div",T,[r("button",{type:"button",class:"btn--blank o-link--default u-mt-0_5 u-n-ml u-mb","data-slidebar-hide":"",onClick:t[0]||(t[0]=g=>a.$emit("close"))},[v(h,{icon:"close",size:"large"})]),u(a.$slots,"default")])])])}const k=b(d,[["render",_]]);d.__docgenInfo={displayName:"DpSlidebar",exportName:"default",description:"",tags:{},events:[{name:"close"}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpSlidebar/DpSlidebar.vue"]};export{k as D};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import{D as t}from"./DpSlidebar-DtAyUisB.js";const s={title:"Components/Slidebar",component:t,render:o=>({components:{DpSlidebar:t},setup(){return{args:o}},template:`
|
|
2
|
-
<dp-slidebar
|
|
3
|
-
style="position: static !important; left: 0 !important;"
|
|
4
|
-
v-bind="args"
|
|
5
|
-
@close="args.close">
|
|
6
|
-
Example slidebar content
|
|
7
|
-
</dp-slidebar>
|
|
8
|
-
`})},e={args:{},argTypes:{close:{action:"close",description:"Event emitted when close button is clicked"}},parameters:{docs:{description:{story:"Default slidebar configuration with a close button"}}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
9
|
-
args: {},
|
|
10
|
-
argTypes: {
|
|
11
|
-
close: {
|
|
12
|
-
action: 'close',
|
|
13
|
-
description: 'Event emitted when close button is clicked'
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
parameters: {
|
|
17
|
-
docs: {
|
|
18
|
-
description: {
|
|
19
|
-
story: 'Default slidebar configuration with a close button'
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}`,...e.parameters?.docs?.source}}};const n=["Default"],a=Object.freeze(Object.defineProperty({__proto__:null,Default:e,__namedExportsOrder:n,default:s},Symbol.toStringTag,{value:"Module"}));export{a as D,e as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as u}from"./translations-DDOZrg-p.js";import"./dayjs.min-C3DHb-Vr.js";import{p as _}from"./prefixClass-BBJiSKc2.js";import{a as x,g as C}from"./_commonjsHelpers-CE1G-McA.js";import{U as y,e as L,d as w,o as N}from"./iframe-KFxwsBtW.js";import{_ as q}from"./_plugin-vue_export-helper-DlAUqK2U.js";var h={exports:{}};const D=x(y);var P;function W(){return P||(P=1,function(r,b){(function(o,p){r.exports=p(D)})(self,function(o){return function(){var p={380:function(e){e.exports=o}},s={};function a(e){var i=s[e];if(i!==void 0)return i.exports;var t=s[e]={exports:{}};return p[e](t,t.exports,a),t.exports}a.d=function(e,i){for(var t in i)a.o(i,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},a.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},a.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};a.r(l),a.d(l,{default:function(){return S},range:function(){return g}});var v=JSON.parse('{"componentClass":"c-sliding-pagination","list":"c-sliding-pagination__list","element":"c-sliding-pagination__list-element","elementDisabled":"c-sliding-pagination__list-element--disabled","elementActive":"c-sliding-pagination__list-element--active","page":"c-sliding-pagination__page"}'),n=a(380),f={name:"SlidingPaginationDefaultPage",props:{ariaPageLabel:{type:String,required:!0},isCurrent:{type:Boolean,required:!0},page:{type:Number,required:!0},pageClass:{type:String,required:!0}},computed:{pageClasses:function(){var e=this.pageClass;return this.isCurrent&&(e+=" c-sliding-pagination__page--current"),e}},methods:{goToPage:function(e){e.preventDefault(),e.stopPropagation(),this.$emit("page-click",this.page)}},render:function(){return(0,n.h)("a",{class:this.pageClasses,href:"#","aria-label":this.ariaPageLabel,onClick:this.goToPage},this.page)}};function g(e,i){var t=[];if(typeof e!="number"||typeof i!="number")return t;if(e>i){var c=e;e=i,i=c}for(var d=e;d<=i;d++)t.push(d);return t}var S={name:"SlidingPagination",props:{ariaPaginationLabel:{type:String,required:!1,default:"Pagination Navigation"},ariaGotoPageLabel:{type:String,required:!1,default:"Go to page %page% of %total%"},ariaPreviousPageLabel:{type:String,required:!1,default:"Go to previous page"},ariaNextPageLabel:{type:String,required:!1,default:"Go to next page"},ariaCurrentPageLabel:{type:String,required:!1,default:"Page %page% of %total%, current page"},classMap:{type:Object,required:!1,default:function(){return v}},current:{required:!0,type:Number},total:{required:!0,type:Number},slidingEndingSize:{required:!1,type:Number,default:2},slidingWindowSize:{required:!1,type:Number,default:3},nonSlidingSize:{required:!1,type:Number,default:9},pageComponent:{required:!1,type:Object,default:function(){return f}}},components:{SlidingPaginationDefaultPage:f},computed:{isSliding:function(){return this.total>this.nonSlidingSize},hasBeginningGap:function(){return!!this.isSliding&&this.lastBeginningPage+1!==this.firstWindowPage},hasEndingGap:function(){return!!this.isSliding&&this.lastWindowPage+1!==this.firstEndingPage},beginningPages:function(){return g(1,this.isSliding?this.slidingEndingSize:this.total)},lastBeginningPage:function(){return this.beginningPages[this.beginningPages.length-1]},endingPages:function(){return this.isSliding?g(this.total-this.slidingEndingSize+1,this.total):[]},firstEndingPage:function(){return this.endingPages[0]},slidingWindowHalf:function(){var e=this.slidingWindowSize/2;return this.slidingWindowSize%2==1&&(e-=.5),e},slidingWindowPages:function(){if(!this.isSliding)return[];var e=this.lastBeginningPage+this.slidingWindowHalf,i=this.firstEndingPage-this.slidingWindowHalf;if(this.current<=e)return g(this.lastBeginningPage+1,this.lastBeginningPage+this.slidingWindowSize);if(this.current>e&&this.current<i){var t=this.slidingWindowHalf;return this.slidingWindowSize%2==0&&(t/=2),g(-this.slidingWindowHalf+this.current,t+this.current)}return g(this.firstEndingPage-this.slidingWindowSize,this.firstEndingPage-1)},firstWindowPage:function(){return this.slidingWindowPages[0]},lastWindowPage:function(){return this.slidingWindowPages[this.slidingWindowPages.length-1]},showPreviousPageAction:function(){return this.total>this.nonSlidingSize},showNextPageAction:function(){return this.total>this.nonSlidingSize}},methods:{replaceLabelVars:function(e,i){return e.replace("%total%",this.total).replace("%page%",i)},isCurrentPage:function(e){return this.current===e},currentPageLabel:function(e){return this.replaceLabelVars(this.ariaCurrentPageLabel,e)},goToPage:function(e){this.$emit("page-change",e)},goToNextPage:function(){this.goToPage(this.current+1)},goToPreviousPage:function(){this.goToPage(this.current-1)},goToPageLabel:function(e){return this.replaceLabelVars(this.ariaGotoPageLabel,e)},pageLabel:function(e){return this.isCurrentPage(e)?this.currentPageLabel(e):this.goToPageLabel(e)},slotOrDefault:function(e,i){return this.$slots[e]?this.$slots[e]():i},navigationElement:function(e,i,t,c){return(0,n.h)("li",{class:[this.classMap.element,this.current===e?this.classMap.elementDisabled:""],key:e},[(0,n.h)("a",{class:this.classMap.page,href:"#",ariaLabel:t,disabled:this.current===1,onClick:e===this.total?this.goToNextPage:this.goToPreviousPage},c)])},pageListPage:function(e){return(0,n.h)("li",{class:[this.classMap.element,this.isCurrentPage(e)?this.classMap.elementActive:""]},[(0,n.h)(this.pageComponent,{isCurrent:this.isCurrentPage(e),ariaPageLabel:this.pageLabel(e),page:e,pageClass:this.classMap.page,onPageClick:this.goToPage})])},gap:function(e){return(0,n.h)("li",{ariaHidden:!0,class:[this.classMap.element,this.classMap.elementDisabled]},[(0,n.h)("a",{class:this.classMap.page,href:"#",disabled:!0},e)])}},render:function(){var e=this,i=[];return this.showPreviousPageAction&&i.push(this.navigationElement(1,-1,this.ariaPreviousPageLabel,this.slotOrDefault("previousPage","«"))),i=i.concat(this.beginningPages.map(function(t){return e.pageListPage(t)})),this.hasBeginningGap&&i.push(this.gap(this.slotOrDefault("gapLeft","…"))),i=i.concat(this.slidingWindowPages.map(function(t){return e.pageListPage(t)})),this.hasEndingGap&&i.push(this.gap(this.slotOrDefault("gapRight","…"))),i=i.concat(this.endingPages.map(function(t){return e.pageListPage(t)})),this.showNextPageAction&&i.push(this.navigationElement(this.total,1,this.ariaNextPageLabel,this.slotOrDefault("nextPage","»"))),(0,n.h)("nav",{ariaLabel:this.ariaPaginationLabel,class:this.classMap.component},[(0,n.h)("ul",{class:this.classMap.list},i)])}};return l}()})}(h)),h.exports}var O=W();const T=C(O),m={name:"DpSlidingPagination",components:{SlidingPagination:T},props:{current:{type:Number,required:!0},total:{type:Number,required:!0}},data(){return{translations:{gotoPageFromPages:u.pager.goToPageOfPages({page:this.current,total:this.total}),currentPageOfPages:u.pager.currentPageOfPages({page:this.current,total:this.total}),pageNavigation:u.pager.pageNavigation,pagerPrevious:u.pager.previous,pagerNext:u.pager.next}}},methods:{pageChange(r){r>=1&&r<=this.total&&this.$emit("page-change",r)},prefixClass(r){return _(r)}}};function E(r,b,o,p,s,a){const l=w("sliding-pagination");return N(),L(l,{"aria-pagination-label":s.translations.pageNavigation,"aria-goto-page-label":s.translations.goToPageOfPages,"aria-previous-page-label":s.translations.pagerPrevious,"aria-next-page-label":s.translations.pagerNext,"aria-current-page-label":s.translations.currentPageOfPages,"class-map":{componentClass:a.prefixClass("c-sliding-pagination"),list:a.prefixClass("c-sliding-pagination__list"),element:a.prefixClass("c-sliding-pagination__list-element"),elementDisabled:a.prefixClass("c-sliding-pagination__list-element--disabled"),elementActive:a.prefixClass("c-sliding-pagination__list-element--active"),page:a.prefixClass("c-sliding-pagination__page")},current:o.current,total:o.total,onPageChange:a.pageChange},null,8,["aria-pagination-label","aria-goto-page-label","aria-previous-page-label","aria-next-page-label","aria-current-page-label","class-map","current","total","onPageChange"])}const k=q(m,[["render",E]]);m.__docgenInfo={displayName:"DpSlidingPagination",exportName:"default",description:"",tags:{},props:[{name:"current",type:{name:"number"},required:!0},{name:"total",type:{name:"number"},required:!0}],events:[{name:"page-change",type:{names:["undefined"]}}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpSlidingPagination/DpSlidingPagination.vue"]};export{k as D};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{j as n,M as s,C as a}from"./blocks-kyJuz3C5.js";import{useMDXComponents as o}from"./index-BbC7EF1e.js";import{D as r,a as d,L as l}from"./DpSlidingPagination.stories-DZ80NUNd.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpSlidingPagination-BCXUgS46.js";import"./translations-DDOZrg-p.js";import"./dayjs.min-C3DHb-Vr.js";import"./prefixClass-BBJiSKc2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function t(i){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...o(),...i.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{of:r}),`
|
|
2
|
-
`,n.jsx(e.h1,{id:"slidingpagination",children:"SlidingPagination"}),`
|
|
3
|
-
`,n.jsx(e.p,{children:"The SlidingPagination component is an ARIA-friendly pagination component with a sliding window that adapts to the number of pages. This component ensures that pagination remains usable and accessible even with a large number of pages."}),`
|
|
4
|
-
`,n.jsx(e.h2,{id:"features",children:"Features"}),`
|
|
5
|
-
`,n.jsxs(e.ul,{children:[`
|
|
6
|
-
`,n.jsx(e.li,{children:"Sliding window pagination with adjustable size"}),`
|
|
7
|
-
`,n.jsx(e.li,{children:"ARIA-compliant for accessibility"}),`
|
|
8
|
-
`,n.jsx(e.li,{children:"Previous and next page navigation"}),`
|
|
9
|
-
`,n.jsx(e.li,{children:"Visual indication of current page"}),`
|
|
10
|
-
`,n.jsx(e.li,{children:"Customizable through props"}),`
|
|
11
|
-
`]}),`
|
|
12
|
-
`,n.jsx(e.h2,{id:"usage",children:"Usage"}),`
|
|
13
|
-
`,n.jsx(e.p,{children:"The SlidingPagination component provides intuitive navigation through paged content."}),`
|
|
14
|
-
`,n.jsx(e.h3,{id:"default",children:"Default"}),`
|
|
15
|
-
`,n.jsx(e.p,{children:"Default pagination with basic configuration."}),`
|
|
16
|
-
`,n.jsx(a,{of:d}),`
|
|
17
|
-
`,n.jsx(e.h3,{id:"large-page-count",children:"Large Page Count"}),`
|
|
18
|
-
`,n.jsx(e.p,{children:"When dealing with many pages, the component shows a sliding window."}),`
|
|
19
|
-
`,n.jsx(a,{of:l}),`
|
|
20
|
-
`,n.jsx(e.h2,{id:"implementation-notes",children:"Implementation Notes"}),`
|
|
21
|
-
`,n.jsxs(e.p,{children:["The pagination component does not handle page changes internally. Instead, you need to provide a page change handler that contains your page changing logic (e.g., a Vuex store dispatch) and updates the current page. In future releases, a v-model approach to ",n.jsx(e.code,{children:"currentPage"})," may be offered."]})]})}function b(i={}){const{wrapper:e}={...o(),...i.components};return e?n.jsx(e,{...i,children:n.jsx(t,{...i})}):t(i)}export{b as default};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{D as a}from"./DpSlidingPagination-BCXUgS46.js";const t={component:a,title:"Components/SlidingPagination",argTypes:{current:{control:{type:"number",min:1},description:"Current active page",table:{type:{summary:"Number"},defaultValue:{summary:"1"}}},total:{control:{type:"number",min:1},description:"Total number of pages",table:{type:{summary:"Number"}}},"page-change":{description:"Event emitted when page is changed",table:{type:{summary:"event"}}}}},e={args:{current:2,total:10},argTypes:{"page-change":{action:"page-change"}},parameters:{docs:{description:{story:"Default pagination component showing pages 1-10 with current page set to 2"}}}},n={args:{current:7,total:30},argTypes:{"page-change":{action:"page-change"}},parameters:{docs:{description:{story:"Pagination with a large number of pages demonstrating the sliding window functionality"}}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
2
|
-
args: {
|
|
3
|
-
current: 2,
|
|
4
|
-
total: 10
|
|
5
|
-
},
|
|
6
|
-
argTypes: {
|
|
7
|
-
'page-change': {
|
|
8
|
-
action: 'page-change'
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
parameters: {
|
|
12
|
-
docs: {
|
|
13
|
-
description: {
|
|
14
|
-
story: 'Default pagination component showing pages 1-10 with current page set to 2'
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}`,...e.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
19
|
-
args: {
|
|
20
|
-
current: 7,
|
|
21
|
-
total: 30
|
|
22
|
-
},
|
|
23
|
-
argTypes: {
|
|
24
|
-
'page-change': {
|
|
25
|
-
action: 'page-change'
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
parameters: {
|
|
29
|
-
docs: {
|
|
30
|
-
description: {
|
|
31
|
-
story: 'Pagination with a large number of pages demonstrating the sliding window functionality'
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}`,...n.parameters?.docs?.source}}};const r=["Default","LargePageCount"],s=Object.freeze(Object.defineProperty({__proto__:null,Default:e,LargePageCount:n,__namedExportsOrder:r,default:t},Symbol.toStringTag,{value:"Module"}));export{s as D,n as L,e as a};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{j as t,M as i}from"./blocks-kyJuz3C5.js";import{useMDXComponents as s}from"./index-BbC7EF1e.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";function o(e){const n={code:"code",h1:"h1",p:"p",strong:"strong",...s(),...e.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"Components/SplitButton"}),`
|
|
2
|
-
`,t.jsx(n.h1,{id:"split-button",children:"Split Button"}),`
|
|
3
|
-
`,t.jsx(n.p,{children:t.jsxs(n.strong,{children:["The ",t.jsx(n.code,{children:"DpSplitButton"})," component is deprecated."]})}),`
|
|
4
|
-
`,t.jsxs(n.p,{children:["Instead, show all available actions in ",t.jsx(n.code,{children:"DpFlyout"}),"."]})]})}function d(e={}){const{wrapper:n}={...s(),...e.components};return n?t.jsx(n,{...e,children:t.jsx(o,{...e})}):o(e)}export{d as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{j as t,M as r,C as i}from"./blocks-kyJuz3C5.js";import{useMDXComponents as s}from"./index-BbC7EF1e.js";import{D as l,a as c,B as a}from"./DpStickyElement.stories-RayTMlXk.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpStickyElement-ClzY3p1-.js";import"./DpApi-BU9X0WT6.js";import"./hasOwnProp-B0vmwdLB.js";import"./Stickier-DyqV0rTn.js";import"./getScrollTop-CXy7CyEd.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function o(n){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...s(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(r,{of:l}),`
|
|
2
|
-
`,t.jsx(e.h1,{id:"stickyelement",children:"StickyElement"}),`
|
|
3
|
-
`,t.jsx(e.p,{children:"The StickyElement component is used to create elements that stick to a specific position (top or bottom) while scrolling. This component is particularly useful for creating persistent UI elements like headers, navigation bars, or action buttons that remain visible as users scroll through content."}),`
|
|
4
|
-
`,t.jsx(e.h2,{id:"features",children:"Features"}),`
|
|
5
|
-
`,t.jsxs(e.ul,{children:[`
|
|
6
|
-
`,t.jsx(e.li,{children:"Sticky positioning at either top or bottom of the viewport"}),`
|
|
7
|
-
`,t.jsx(e.li,{children:"Configurable offset distance"}),`
|
|
8
|
-
`,t.jsx(e.li,{children:"Optional border for visual separation"}),`
|
|
9
|
-
`,t.jsx(e.li,{children:"Context-aware sticking behavior"}),`
|
|
10
|
-
`,t.jsx(e.li,{children:"Z-index control for proper layering"}),`
|
|
11
|
-
`]}),`
|
|
12
|
-
`,t.jsx(e.h2,{id:"usage",children:"Usage"}),`
|
|
13
|
-
`,t.jsx(e.p,{children:"The StickyElement wraps content that should remain fixed during scrolling."}),`
|
|
14
|
-
`,t.jsx(e.h3,{id:"default",children:"Default"}),`
|
|
15
|
-
`,t.jsx(e.p,{children:"Default sticky element that sticks to the top of the viewport."}),`
|
|
16
|
-
`,t.jsx(i,{of:c}),`
|
|
17
|
-
`,t.jsx(e.h3,{id:"bottom-position",children:"Bottom Position"}),`
|
|
18
|
-
`,t.jsx(e.p,{children:"Sticky element that sticks to the bottom of the viewport, useful for persistent action buttons."}),`
|
|
19
|
-
`,t.jsx(i,{of:a}),`
|
|
20
|
-
`,t.jsx(e.h2,{id:"implementation-notes",children:"Implementation Notes"}),`
|
|
21
|
-
`,t.jsxs(e.p,{children:["The component uses the internal Stickier library to manage sticky positioning, which provides more consistent behavior than relying solely on CSS ",t.jsx(e.code,{children:"position: sticky"}),"."]})]})}function b(n={}){const{wrapper:e}={...s(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{b as default};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import"./DpApi-BU9X0WT6.js";import{S as n}from"./Stickier-DyqV0rTn.js";import{c as a,r as l,n as s,o as r}from"./iframe-KFxwsBtW.js";import{_ as i}from"./_plugin-vue_export-helper-DlAUqK2U.js";const t={name:"DpStickyElement",props:{applyZIndex:{required:!1,type:Boolean,default:!0},border:{required:!1,type:Boolean,default:!1},context:{type:HTMLElement,required:!1,default:void 0},direction:{required:!1,type:String,default:"top"},observeContext:{required:!1,type:Boolean,default:!0},offset:{required:!1,type:Number,default:0}},mounted(){this.stickyElement=new n(this.$el,this.context,this.offset,this.direction,"palm",!1,this.observeContext)}};function d(o,f,e,u,c,p){return r(),a("div",{class:s([{"o-sticky--border":e.border,"z-fixed":e.applyZIndex},"o-sticky bg-color--white"])},[l(o.$slots,"default")],2)}const k=i(t,[["render",d]]);t.__docgenInfo={displayName:"DpStickyElement",exportName:"default",description:"",tags:{},props:[{name:"applyZIndex",description:"If set to false, no z-index is applied to the element.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"border",description:`Whether the element should show an 1px border when being sticky.
|
|
2
|
-
When enabled, the border is always displayed on the side of the
|
|
3
|
-
element opposite to the direction the element sticks to.`,type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"context",description:`Reference to the HTMLElement that should serve as the context for the sticky element.
|
|
4
|
-
If omitted, the Stickier lib will default to this.$el.offsetParent`,type:{name:"HTMLElement"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"direction",description:"The direction the element should stick to.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'top'"}},{name:"observeContext",description:"Whether context changes should trigger a refresh of stickier positions.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"offset",description:"The offset from context the element should go into/out of sticky mode.",type:{name:"number"},required:!1,defaultValue:{func:!1,value:"0"}}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpStickyElement/DpStickyElement.vue"]};export{k as D};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import{D as o}from"./DpStickyElement-ClzY3p1-.js";const n={component:o,title:"Components/StickyElement",render:r=>({components:{DpStickyElement:o},setup(){return{args:r}},template:`
|
|
2
|
-
<div style="height: 100px; position: relative; overflow: auto; border: 1px solid #ccc; padding: 1rem;">
|
|
3
|
-
<dp-sticky-element v-bind="args">
|
|
4
|
-
<div style="background-color: #f0f0f0; padding: 1rem;">
|
|
5
|
-
Sticky content
|
|
6
|
-
</div>
|
|
7
|
-
</dp-sticky-element>
|
|
8
|
-
<div style="height: 300px; padding-top: 120px;">
|
|
9
|
-
Scroll to see sticky behavior
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
`}),argTypes:{applyZIndex:{control:"boolean",description:"Whether to apply z-index to the sticky element",table:{type:{summary:"Boolean"},defaultValue:{summary:"true"}}},border:{control:"boolean",description:"Whether to show a border on the sticky element",table:{type:{summary:"Boolean"},defaultValue:{summary:"false"}}},context:{control:!1,description:"The HTML element that serves as context for the sticky element",table:{type:{summary:"HTMLElement"},defaultValue:{summary:"undefined"}}},direction:{control:{type:"inline-radio"},options:["top","bottom"],description:"The direction the element should stick to",table:{type:{summary:"String"},defaultValue:{summary:"top"}}},observeContext:{control:"boolean",description:"Whether context changes should trigger a refresh of sticky positions",table:{type:{summary:"Boolean"},defaultValue:{summary:"true"}}},offset:{control:{type:"range",min:0,max:100,step:1},description:"The offset from context the element should enter/exit sticky mode",table:{type:{summary:"Number"},defaultValue:{summary:"0"}}}}},e={args:{direction:"top",border:!0,offset:0,applyZIndex:!0,observeContext:!0},parameters:{docs:{description:{story:"Default sticky element that sticks to the top with a border"}}}},t={args:{direction:"bottom",border:!0,offset:0,applyZIndex:!0,observeContext:!0},parameters:{docs:{description:{story:"Sticky element that sticks to the bottom, useful for action buttons or persistent UI elements at the bottom of the viewport"}}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
13
|
-
args: {
|
|
14
|
-
direction: 'top',
|
|
15
|
-
border: true,
|
|
16
|
-
offset: 0,
|
|
17
|
-
applyZIndex: true,
|
|
18
|
-
observeContext: true
|
|
19
|
-
},
|
|
20
|
-
parameters: {
|
|
21
|
-
docs: {
|
|
22
|
-
description: {
|
|
23
|
-
story: 'Default sticky element that sticks to the top with a border'
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}`,...e.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
28
|
-
args: {
|
|
29
|
-
direction: 'bottom',
|
|
30
|
-
border: true,
|
|
31
|
-
offset: 0,
|
|
32
|
-
applyZIndex: true,
|
|
33
|
-
observeContext: true
|
|
34
|
-
},
|
|
35
|
-
parameters: {
|
|
36
|
-
docs: {
|
|
37
|
-
description: {
|
|
38
|
-
story: 'Sticky element that sticks to the bottom, useful for action buttons or persistent UI elements at the bottom of the viewport'
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}`,...t.parameters?.docs?.source}}};const s=["Default","Bottom"],i=Object.freeze(Object.defineProperty({__proto__:null,Bottom:t,Default:e,__namedExportsOrder:s,default:n},Symbol.toStringTag,{value:"Module"}));export{t as B,i as D,e as a};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import{j as i,M as s,C as o}from"./blocks-kyJuz3C5.js";import{useMDXComponents as n}from"./index-BbC7EF1e.js";import{D as a,a as p,W as m,M as c}from"./DpTabs.stories-BNe9rHxl.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpAccordion-CKgNMMg7.js";import"./DpIcon-dOAQoUKG.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DpVideoPlayer-CnldmoEy.js";import"./Tooltip-flnpMaRO.js";import"./translations-DDOZrg-p.js";import"./CleanHtml-CeG3Pc5D.js";import"./DpButtonRow-DRRw4r4F.js";import"./DpButton-BLywaapW.js";import"./DpCheckbox-BdZqABk4.js";import"./DpLabel-DFauD5I2.js";import"./DpContextualHelp-DnsCCoZB.js";import"./dayjs.min-C3DHb-Vr.js";import"./prefixClass-BBJiSKc2.js";import"./prefixClassMixin-FjEzRm2G.js";import"./helpers-CdC6mcQu.js";import"./getScrollTop-CXy7CyEd.js";import"./DpInput-cN-WEvOL.js";import"./lengthHint-zGawKYxB.js";import"./DpModal-oGkhZvzT.js";import"./hasOwnProp-B0vmwdLB.js";import"./DpMultiselect-Bm5hUadB.js";import"./DpDataTable-f7CVMPNi.js";import"./DpDraggable-DLTo9Q5K.js";import"./DpLoading-rM7osZHK.js";import"./DpApi-BU9X0WT6.js";import"./index-CTxdm8FW.js";import"./DpAutocomplete-Ds8IvIaM.js";import"./DpBulkEditHeader-qNgl3Gdq.js";import"./DpBadge-mgPu9WO8.js";import"./DpCard-CNBkliZ1.js";import"./DpCheckboxGroup-CFaFEzrL.js";import"./DpColumnSelector-BjRvX20u.js";import"./DpFlyout-Dsx6KYUl.js";import"./DpDataTableExtended-mDxHCvB0.js";import"./DpSlidingPagination-BCXUgS46.js";import"./DpStickyElement-ClzY3p1-.js";import"./Stickier-DyqV0rTn.js";import"./DpDatepicker-CFlgW3DB.js";import"./DpDateRangePicker-D5652u0C.js";import"./DpDatetimePicker-DQokm861.js";import"./DpTimePicker-9Qy_qVnW.js";import"./DpResettableInput-nox0ihQv.js";import"./DpDetails-Do--n1SK.js";import"./DpConfirmDialog-CQYtFW-3.js";import"./DpEditableList-5FqvJbtx.js";import"./DpFormRow-BsMZgRL2.js";import"./DpInlineNotification-CEzn4Pqd.js";import"./DpMultistepNav-AnSXdU2J.js";import"./DpNotification-C1QXVdor.js";import"./DpPager-BaoMw4uo.js";import"./DpProgressBar-C0dbsdgz.js";import"./DpRadio-D2xw34qI.js";import"./DpSearchField-CFqegLRV.js";import"./DpSelect-BzmpttTu.js";import"./DpSkeletonBox-a5wBcRN-.js";import"./DpSlidebar-DtAyUisB.js";import"./DpTextArea-DoA63rHr.js";import"./DpToggle-BPqlzXQH.js";import"./DpTooltip-D8SOODgR.js";import"./DpTreeList-Cciwf3YU.js";function r(e){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...n(),...e.components};return i.jsxs(i.Fragment,{children:[i.jsx(s,{of:a}),`
|
|
2
|
-
`,i.jsx(t.h1,{id:"tabs",children:"Tabs"}),`
|
|
3
|
-
`,i.jsx(t.p,{children:`The DpTabs component provides a structured and interactive way to organize and navigate related content,
|
|
4
|
-
allowing users to switch between different views while maintaining context.`}),`
|
|
5
|
-
`,i.jsx(t.h2,{id:"usage",children:"Usage"}),`
|
|
6
|
-
`,i.jsxs(t.p,{children:["The Tabs component consists of ",i.jsx(t.code,{children:"DpTabs"})," as the container and ",i.jsx(t.code,{children:"DpTab"})," for individual tab panels."]}),`
|
|
7
|
-
`,i.jsx(t.h3,{id:"default",children:"Default"}),`
|
|
8
|
-
`,i.jsx(t.p,{children:"Basic tabs with two panels."}),`
|
|
9
|
-
`,i.jsx(o,{of:p}),`
|
|
10
|
-
`,i.jsx(t.h3,{id:"with-url-fragment",children:"With URL Fragment"}),`
|
|
11
|
-
`,i.jsx(t.p,{children:"Tabs that update the URL fragment when switching between tabs, allowing for direct linking."}),`
|
|
12
|
-
`,i.jsx(o,{of:m}),`
|
|
13
|
-
`,i.jsx(t.h3,{id:"medium-size",children:"Medium Size"}),`
|
|
14
|
-
`,i.jsx(t.p,{children:"Tabs with medium-sized labels for more compact interfaces."}),`
|
|
15
|
-
`,i.jsx(o,{of:c}),`
|
|
16
|
-
`,i.jsx(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),`
|
|
17
|
-
`,i.jsxs(t.ul,{children:[`
|
|
18
|
-
`,i.jsx(t.li,{children:"DpTabs and DpTab both provide a default slot"}),`
|
|
19
|
-
`,i.jsxs(t.li,{children:["For each tab, a ",i.jsx(t.code,{children:"DpTab"})," instance is placed inside the default slot of ",i.jsx(t.code,{children:"DpTabs"})]}),`
|
|
20
|
-
`,i.jsxs(t.li,{children:["The content of each tab is placed inside the default slot of the respective ",i.jsx(t.code,{children:"DpTab"})," instance"]}),`
|
|
21
|
-
`,i.jsx(t.li,{children:"Tab panels are automatically associated with their tab headers for accessibility"}),`
|
|
22
|
-
`,i.jsx(t.li,{children:"When using URL fragments, browser navigation (back/forward) will switch tabs accordingly"}),`
|
|
23
|
-
`]})]})}function vi(e={}){const{wrapper:t}={...n(),...e.components};return t?i.jsx(t,{...e,children:i.jsx(r,{...e})}):r(e)}export{vi as default};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import"./DpAccordion-CKgNMMg7.js";import{a as s,_ as o}from"./DpVideoPlayer-CnldmoEy.js";import"./DpAutocomplete-Ds8IvIaM.js";import"./DpBulkEditHeader-qNgl3Gdq.js";import"./DpButton-BLywaapW.js";import"./DpButtonRow-DRRw4r4F.js";import"./DpBadge-mgPu9WO8.js";import"./DpCard-CNBkliZ1.js";import"./DpCheckbox-BdZqABk4.js";import"./DpCheckboxGroup-CFaFEzrL.js";import"./DpColumnSelector-BjRvX20u.js";import"./DpContextualHelp-DnsCCoZB.js";import"./DpDataTable-f7CVMPNi.js";import"./DpDataTableExtended-mDxHCvB0.js";import"./DpDatepicker-CFlgW3DB.js";import"./DpDateRangePicker-D5652u0C.js";import"./DpDatetimePicker-DQokm861.js";import"./DpDetails-Do--n1SK.js";import"./DpConfirmDialog-CQYtFW-3.js";import"./DpDraggable-DLTo9Q5K.js";import"./DpEditableList-5FqvJbtx.js";import"./DpFlyout-Dsx6KYUl.js";import"./DpFormRow-BsMZgRL2.js";import"./DpApi-BU9X0WT6.js";import"./DpIcon-dOAQoUKG.js";import"./DpInlineNotification-CEzn4Pqd.js";import"./DpInput-cN-WEvOL.js";import"./DpLabel-DFauD5I2.js";import"./DpLoading-rM7osZHK.js";import"./DpModal-oGkhZvzT.js";import"./DpMultiselect-Bm5hUadB.js";import"./DpMultistepNav-AnSXdU2J.js";import"./DpNotification-C1QXVdor.js";import"./DpPager-BaoMw4uo.js";import"./DpProgressBar-C0dbsdgz.js";import"./DpRadio-D2xw34qI.js";import"./DpResettableInput-nox0ihQv.js";import"./DpSearchField-CFqegLRV.js";import"./DpSelect-BzmpttTu.js";import"./DpSkeletonBox-a5wBcRN-.js";import"./DpSlidebar-DtAyUisB.js";import"./DpSlidingPagination-BCXUgS46.js";import"./DpStickyElement-ClzY3p1-.js";import"./DpTextArea-DoA63rHr.js";import"./DpTimePicker-9Qy_qVnW.js";import"./DpToggle-BPqlzXQH.js";import"./DpTooltip-D8SOODgR.js";import"./DpTreeList-Cciwf3YU.js";import{l as p}from"./iframe-KFxwsBtW.js";const m={component:o,title:"Components/Tabs",render:r=>({components:{DpTabs:o,DpTab:s},setup(){const i=p(r.activeId||"idTab1");return{args:r,activeTab:i,handleChange:n=>{i.value=n,r.change&&r.change(n)}}},template:`
|
|
2
|
-
<div style="width: 100%; padding: 16px; border: 1px solid #eee;">
|
|
3
|
-
<dp-tabs
|
|
4
|
-
:active-id="activeTab"
|
|
5
|
-
:tab-size="args.tabSize"
|
|
6
|
-
:use-url-fragment="args.useUrlFragment"
|
|
7
|
-
@change="handleChange">
|
|
8
|
-
<dp-tab
|
|
9
|
-
id="idTab1"
|
|
10
|
-
label="Tab Title 1">
|
|
11
|
-
<div style="padding: 20px;">
|
|
12
|
-
Tab content 1. This is the first tab panel with some sample content.
|
|
13
|
-
</div>
|
|
14
|
-
</dp-tab>
|
|
15
|
-
<dp-tab
|
|
16
|
-
id="idTab2"
|
|
17
|
-
label="Tab Title 2">
|
|
18
|
-
<div style="padding: 20px;">
|
|
19
|
-
Tab content 2. This is the second tab panel with different content.
|
|
20
|
-
</div>
|
|
21
|
-
</dp-tab>
|
|
22
|
-
<dp-tab
|
|
23
|
-
id="idTab3"
|
|
24
|
-
label="Tab Title 3">
|
|
25
|
-
<div style="padding: 20px;">
|
|
26
|
-
Tab content 3. This is the third tab panel with even more content.
|
|
27
|
-
</div>
|
|
28
|
-
</dp-tab>
|
|
29
|
-
</dp-tabs>
|
|
30
|
-
</div>
|
|
31
|
-
`}),argTypes:{activeId:{control:"text",description:"ID of the initially active tab",table:{type:{summary:"String"},defaultValue:{summary:"null"}}},tabSize:{control:{type:"radio"},options:["medium","large"],description:"Size of the tab headers",table:{type:{summary:"String"},defaultValue:{summary:"large"}}},useUrlFragment:{control:"boolean",description:"Whether to update URL fragment when changing tabs",table:{type:{summary:"Boolean"},defaultValue:{summary:"false"}}},change:{description:"Event emitted when active tab changes",table:{type:{summary:"event"}}}}},e={args:{activeId:"idTab1",tabSize:"large",useUrlFragment:!1},argTypes:{change:{action:"change"}},parameters:{docs:{description:{story:"Default tab configuration with large tab size"}}}},t={args:{activeId:"idTab1",tabSize:"large",useUrlFragment:!0},argTypes:{change:{action:"change"}},parameters:{docs:{description:{story:"Tabs with URL fragment integration for deep linking"}}}},a={args:{activeId:"idTab1",tabSize:"medium",useUrlFragment:!1},argTypes:{change:{action:"change"}},parameters:{docs:{description:{story:"Tabs with medium-sized headers for more compact interfaces"}}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
32
|
-
args: {
|
|
33
|
-
activeId: 'idTab1',
|
|
34
|
-
tabSize: 'large',
|
|
35
|
-
useUrlFragment: false
|
|
36
|
-
},
|
|
37
|
-
argTypes: {
|
|
38
|
-
change: {
|
|
39
|
-
action: 'change'
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
parameters: {
|
|
43
|
-
docs: {
|
|
44
|
-
description: {
|
|
45
|
-
story: 'Default tab configuration with large tab size'
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}`,...e.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
50
|
-
args: {
|
|
51
|
-
activeId: 'idTab1',
|
|
52
|
-
tabSize: 'large',
|
|
53
|
-
useUrlFragment: true
|
|
54
|
-
},
|
|
55
|
-
argTypes: {
|
|
56
|
-
change: {
|
|
57
|
-
action: 'change'
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
parameters: {
|
|
61
|
-
docs: {
|
|
62
|
-
description: {
|
|
63
|
-
story: 'Tabs with URL fragment integration for deep linking'
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}`,...t.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
68
|
-
args: {
|
|
69
|
-
activeId: 'idTab1',
|
|
70
|
-
tabSize: 'medium',
|
|
71
|
-
useUrlFragment: false
|
|
72
|
-
},
|
|
73
|
-
argTypes: {
|
|
74
|
-
change: {
|
|
75
|
-
action: 'change'
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
parameters: {
|
|
79
|
-
docs: {
|
|
80
|
-
description: {
|
|
81
|
-
story: 'Tabs with medium-sized headers for more compact interfaces'
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}`,...a.parameters?.docs?.source}}};const d=["Default","WithUrlFragment","MediumSize"],se=Object.freeze(Object.defineProperty({__proto__:null,Default:e,MediumSize:a,WithUrlFragment:t,__namedExportsOrder:d,default:m},Symbol.toStringTag,{value:"Module"}));export{se as D,a as M,t as W,e as a};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import{j as e,M as a,C as t}from"./blocks-kyJuz3C5.js";import{useMDXComponents as s}from"./index-BbC7EF1e.js";import{D as o,a as d,W as l,b as h,R as c,c as x,d as j,e as p,f as m}from"./DpTextArea.stories-c3BZqrsh.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpTextArea-DoA63rHr.js";import"./dayjs.min-C3DHb-Vr.js";import"./lengthHint-zGawKYxB.js";import"./translations-DDOZrg-p.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function r(n){const i={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{of:o}),`
|
|
2
|
-
`,e.jsx(i.h1,{id:"textarea",children:"TextArea"}),`
|
|
3
|
-
`,e.jsxs(i.p,{children:["The ",e.jsx(i.code,{children:"DpTextArea"})," component provides a multi-line text input control for forms. It supports various features like validation, character limiting, and customizable display options."]}),`
|
|
4
|
-
`,e.jsx(i.h2,{id:"features",children:"Features"}),`
|
|
5
|
-
`,e.jsxs(i.ul,{children:[`
|
|
6
|
-
`,e.jsx(i.li,{children:"Support for labels with required field indicator"}),`
|
|
7
|
-
`,e.jsx(i.li,{children:"Hint text for providing additional information"}),`
|
|
8
|
-
`,e.jsx(i.li,{children:"Character count with maxlength validation"}),`
|
|
9
|
-
`,e.jsx(i.li,{children:"Form validation integration"}),`
|
|
10
|
-
`,e.jsx(i.li,{children:"Customizable height options"}),`
|
|
11
|
-
`,e.jsx(i.li,{children:"Ability to grow to parent container height"}),`
|
|
12
|
-
`,e.jsx(i.li,{children:"Disabled state support"}),`
|
|
13
|
-
`]}),`
|
|
14
|
-
`,e.jsx(i.h2,{id:"usage",children:"Usage"}),`
|
|
15
|
-
`,e.jsx(i.h3,{id:"default",children:"Default"}),`
|
|
16
|
-
`,e.jsx(i.p,{children:"Basic textarea with label."}),`
|
|
17
|
-
`,e.jsx(t,{of:d}),`
|
|
18
|
-
`,e.jsx(i.h3,{id:"with-hint",children:"With Hint"}),`
|
|
19
|
-
`,e.jsx(i.p,{children:"Textarea with additional descriptive text."}),`
|
|
20
|
-
`,e.jsx(t,{of:l}),`
|
|
21
|
-
`,e.jsx(i.h3,{id:"character-counter",children:"Character Counter"}),`
|
|
22
|
-
`,e.jsx(i.p,{children:"Textarea with maximum character limit and remaining character counter."}),`
|
|
23
|
-
`,e.jsx(t,{of:h}),`
|
|
24
|
-
`,e.jsx(i.h3,{id:"required-field",children:"Required Field"}),`
|
|
25
|
-
`,e.jsx(i.p,{children:"Textarea marked as required with an asterisk on the label."}),`
|
|
26
|
-
`,e.jsx(t,{of:c}),`
|
|
27
|
-
`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),`
|
|
28
|
-
`,e.jsx(i.p,{children:"Textarea that cannot be edited."}),`
|
|
29
|
-
`,e.jsx(t,{of:x}),`
|
|
30
|
-
`,e.jsx(i.h3,{id:"reduced-height",children:"Reduced Height"}),`
|
|
31
|
-
`,e.jsx(i.p,{children:"Textarea with smaller vertical size (60px height)."}),`
|
|
32
|
-
`,e.jsx(t,{of:j}),`
|
|
33
|
-
`,e.jsx(i.h3,{id:"custom-attributes",children:"Custom Attributes"}),`
|
|
34
|
-
`,e.jsx(i.p,{children:"Textarea with HTML attributes like rows and columns."}),`
|
|
35
|
-
`,e.jsx(t,{of:p}),`
|
|
36
|
-
`,e.jsx(i.h2,{id:"form-validation",children:"Form Validation"}),`
|
|
37
|
-
`,e.jsx(i.p,{children:"The TextArea component integrates with the form validation system through several props:"}),`
|
|
38
|
-
`,e.jsx(i.h3,{id:"conditional-validation",children:"Conditional Validation"}),`
|
|
39
|
-
`,e.jsxs(i.p,{children:["Use the ",e.jsx(i.code,{children:"dataDpValidateIf"})," prop to conditionally validate a required textarea based on other form field values."]}),`
|
|
40
|
-
`,e.jsx(t,{of:m}),`
|
|
41
|
-
`,e.jsx(i.h3,{id:"custom-field-names-in-error-messages",children:"Custom Field Names in Error Messages"}),`
|
|
42
|
-
`,e.jsxs(i.p,{children:["The ",e.jsx(i.code,{children:"dataDpValidateErrorFieldname"})," prop allows customizing how the field is referenced in validation error messages."]}),`
|
|
43
|
-
`,e.jsx(i.h2,{id:"height-control",children:"Height Control"}),`
|
|
44
|
-
`,e.jsx(i.p,{children:"The component offers different ways to control the height:"}),`
|
|
45
|
-
`,e.jsxs(i.ul,{children:[`
|
|
46
|
-
`,e.jsxs(i.li,{children:[e.jsx(i.code,{children:"reducedHeight"}),": Uses a predefined smaller height (60px)"]}),`
|
|
47
|
-
`,e.jsxs(i.li,{children:[e.jsx(i.code,{children:"growToParent"}),": Makes the textarea grow to fill its parent container height"]}),`
|
|
48
|
-
`,e.jsxs(i.li,{children:[e.jsx(i.code,{children:"attributes"}),": Allows setting specific dimensions with ",e.jsx(i.code,{children:"rows"})]}),`
|
|
49
|
-
`]})]})}function A(n={}){const{wrapper:i}={...s(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(r,{...n})}):r(n)}export{A as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DpLabel-DFauD5I2.js","./iframe-KFxwsBtW.js","./iframe-DH2OFsM2.css","./DpContextualHelp-DnsCCoZB.js","./translations-DDOZrg-p.js","./DpIcon-dOAQoUKG.js","./CleanHtml-CeG3Pc5D.js","./Tooltip-flnpMaRO.js","./_commonjsHelpers-CE1G-McA.js","./dayjs.min-C3DHb-Vr.js","./prefixClass-BBJiSKc2.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{O as f,c as m,e as c,f as p,g,m as u,P as h,a as y,n as v,_ as q,d as b,o as d}from"./iframe-KFxwsBtW.js";import"./dayjs.min-C3DHb-Vr.js";import{m as x}from"./lengthHint-zGawKYxB.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";const _={type:[Boolean,String],required:!1,default:null,validator:a=>a!==!0&&Number(a)%1===0},w=a=>{const t={textarea:["cols","rows"]};return{type:Array,required:!1,default:()=>[],validator:e=>{const n=e.filter(l=>{const r=l.split("=");return t[a].includes(r[0])&&r.length===2});if(e.length===0||n.length===e.length)return!0;console.error(`A Vue form component of type "${a}" is used with the "attributes" prop containing a disallowed attr.`)}}},s={name:"DpTextArea",components:{DpLabel:f(async()=>await q(()=>import("./DpLabel-DFauD5I2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url))},props:{attributes:w("textarea"),dataDpValidateErrorFieldname:{type:String,required:!1,default:""},dataDpValidateIf:{type:[Boolean,String],required:!1,default:!1},dataCy:{type:String,required:!1,default:"textAreaElement"},disabled:{type:Boolean,required:!1,default:!1},growToParent:{type:Boolean,required:!1,default:!1},hint:{type:String,required:!1,default:""},id:{type:String,required:!1,default:""},label:{type:String,required:!1,default:""},maxlength:_,name:{type:String,required:!1,default:""},reducedHeight:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},value:{type:String,required:!1,default:""}},data(){return{currentValue:this.value}},computed:{allowedAttributes(){const a={};return this.attributes.forEach(t=>{const[e,n]=t.split("=");a[e]=n}),a},labelProps(){return{for:this.id,hint:this.maxlength?[this.hint,x(this.currentValue.length,this.maxlength)]:this.hint,required:this.required,text:this.label,tooltip:this.tooltip}}},watch:{value(){this.currentValue=this.value}}},D=["id","name","data-dp-validate-if","data-dp-validate-error-fieldname","data-cy","disabled","maxlength","required"];function A(a,t,e,n,l,r){const o=b("dp-label");return d(),m("div",{class:v({"flex flex-col":e.growToParent})},[e.label!==""?(d(),c(o,u({key:0},r.labelProps,{class:"mb-0.5"}),null,16)):p("",!0),g(y("textarea",u(r.allowedAttributes,{id:e.id,"onUpdate:modelValue":t[0]||(t[0]=i=>l.currentValue=i),name:e.name,class:["o-form__control-textarea",{grow:e.growToParent,"h-7":e.reducedHeight}],"data-dp-validate-if":e.dataDpValidateIf?!0:null,"data-dp-validate-error-fieldname":e.dataDpValidateErrorFieldname||e.label||null,"data-cy":e.dataCy,disabled:e.disabled,maxlength:e.maxlength,required:e.required,onInput:t[1]||(t[1]=i=>a.$emit("input",l.currentValue))}),null,16,D),[[h,l.currentValue]])],2)}const S=V(s,[["render",A]]);s.__docgenInfo={displayName:"DpTextArea",exportName:"default",description:"",tags:{},props:[{name:"attributes",type:{name:"attributes('textarea')",func:!0}},{name:"dataDpValidateErrorFieldname",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"dataDpValidateIf",description:"Use to conditionally validate a required textarea field.",type:{name:"boolean|string"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'textAreaElement'"}},{name:"disabled",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"growToParent",description:"If enabled, classes are applied to let element grow to 100% height of its parent element.",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"hint",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"maxlength",type:{name:"length"}},{name:"name",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"reducedHeight",description:"Display the form field with reduced height (60px).",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"required",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"value",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}}],events:[{name:"input"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpTextArea/DpTextArea.vue"]};export{S as D};
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import{D as d}from"./DpTextArea-DoA63rHr.js";const l={component:d,title:"Components/TextArea",argTypes:{id:{control:"text",description:"ID attribute for the textarea element",table:{type:{summary:"String"},defaultValue:{summary:""}}},label:{control:"text",description:"Label text for the textarea",table:{type:{summary:"String"},defaultValue:{summary:""}}},hint:{control:"text",description:"Hint text displayed below the label",table:{type:{summary:"String"},defaultValue:{summary:""}}},value:{control:"text",description:"Current value of the textarea",table:{type:{summary:"String"},defaultValue:{summary:""}}},maxlength:{control:"number",description:"Maximum number of characters allowed",table:{type:{summary:"Number"},defaultValue:{summary:"undefined"}}},disabled:{control:"boolean",description:"Whether the textarea is disabled",table:{type:{summary:"Boolean"},defaultValue:{summary:"false"}}},required:{control:"boolean",description:"Whether the textarea is required",table:{type:{summary:"Boolean"},defaultValue:{summary:"false"}}},reducedHeight:{control:"boolean",description:"Display the textarea with reduced height (60px)",table:{type:{summary:"Boolean"},defaultValue:{summary:"false"}}},growToParent:{control:"boolean",description:"If enabled, makes the textarea grow to 100% height of its parent",table:{type:{summary:"Boolean"},defaultValue:{summary:"false"}}},attributes:{control:"object",description:"Additional HTML attributes to apply to the textarea, like rows and cols",table:{type:{summary:"Array<string>"},defaultValue:{summary:"[]"}}},dataDpValidateIf:{control:"text",description:"Conditional validation expression",table:{type:{summary:"Boolean | String"},defaultValue:{summary:"false"}}},dataDpValidateErrorFieldname:{control:"text",description:"Custom field name for validation error messages",table:{type:{summary:"String"},defaultValue:{summary:""}}},input:{description:"Event emitted when the input value changes",table:{type:{summary:"event"}}}},tags:["autodocs","!dev"]},e={args:{id:"textAreaId",label:"Enter some text",value:""},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Basic textarea with label"}}},tags:["!autodocs","dev"]},t={args:{id:"textAreaId",label:"Enter some text",hint:"A hint explaining what to enter in the textarea",value:""},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Textarea with additional descriptive hint text"}}}},a={args:{id:"textAreaId",label:"Enter some text",maxlength:100,value:"This is some sample text that demonstrates the maxlength feature"},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Textarea with character limit and remaining character counter"}}}},r={args:{id:"textAreaId",label:"Enter some text",required:!0,value:""},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Required textarea with an asterisk on the label"}}}},n={args:{id:"textAreaId",label:"Enter some text",disabled:!0,value:"This textarea is disabled and cannot be edited"},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Disabled textarea that cannot be edited"}}}},s={args:{id:"textAreaId",label:"Enter some text",reducedHeight:!0,value:"This textarea has reduced height (60px)"},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Textarea with smaller vertical size (60px height)"}}}},i={args:{id:"textAreaId",label:"Enter some text",attributes:["rows=5","cols=40"],value:"This textarea has custom rows and columns attributes"},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Textarea with custom HTML attributes (rows=5, cols=40)"}}}},o={args:{id:"textAreaId",label:"Your Comments",required:!0,dataDpValidateIf:"#someOtherField",dataDpValidateErrorFieldname:"Comments",value:""},argTypes:{input:{action:"input"}},parameters:{docs:{description:{story:"Textarea with conditional validation that activates when another field is filled"}}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
2
|
-
args: {
|
|
3
|
-
id: 'textAreaId',
|
|
4
|
-
label: 'Enter some text',
|
|
5
|
-
value: ''
|
|
6
|
-
},
|
|
7
|
-
argTypes: {
|
|
8
|
-
input: {
|
|
9
|
-
action: 'input'
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
parameters: {
|
|
13
|
-
docs: {
|
|
14
|
-
description: {
|
|
15
|
-
story: 'Basic textarea with label'
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
tags: ['!autodocs', 'dev']
|
|
20
|
-
}`,...e.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
21
|
-
args: {
|
|
22
|
-
id: 'textAreaId',
|
|
23
|
-
label: 'Enter some text',
|
|
24
|
-
hint: 'A hint explaining what to enter in the textarea',
|
|
25
|
-
value: ''
|
|
26
|
-
},
|
|
27
|
-
argTypes: {
|
|
28
|
-
input: {
|
|
29
|
-
action: 'input'
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
parameters: {
|
|
33
|
-
docs: {
|
|
34
|
-
description: {
|
|
35
|
-
story: 'Textarea with additional descriptive hint text'
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}`,...t.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
40
|
-
args: {
|
|
41
|
-
id: 'textAreaId',
|
|
42
|
-
label: 'Enter some text',
|
|
43
|
-
maxlength: 100,
|
|
44
|
-
value: 'This is some sample text that demonstrates the maxlength feature'
|
|
45
|
-
},
|
|
46
|
-
argTypes: {
|
|
47
|
-
input: {
|
|
48
|
-
action: 'input'
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
parameters: {
|
|
52
|
-
docs: {
|
|
53
|
-
description: {
|
|
54
|
-
story: 'Textarea with character limit and remaining character counter'
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}`,...a.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
|
|
59
|
-
args: {
|
|
60
|
-
id: 'textAreaId',
|
|
61
|
-
label: 'Enter some text',
|
|
62
|
-
required: true,
|
|
63
|
-
value: ''
|
|
64
|
-
},
|
|
65
|
-
argTypes: {
|
|
66
|
-
input: {
|
|
67
|
-
action: 'input'
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
parameters: {
|
|
71
|
-
docs: {
|
|
72
|
-
description: {
|
|
73
|
-
story: 'Required textarea with an asterisk on the label'
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}`,...r.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
78
|
-
args: {
|
|
79
|
-
id: 'textAreaId',
|
|
80
|
-
label: 'Enter some text',
|
|
81
|
-
disabled: true,
|
|
82
|
-
value: 'This textarea is disabled and cannot be edited'
|
|
83
|
-
},
|
|
84
|
-
argTypes: {
|
|
85
|
-
input: {
|
|
86
|
-
action: 'input'
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
parameters: {
|
|
90
|
-
docs: {
|
|
91
|
-
description: {
|
|
92
|
-
story: 'Disabled textarea that cannot be edited'
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}`,...n.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
|
|
97
|
-
args: {
|
|
98
|
-
id: 'textAreaId',
|
|
99
|
-
label: 'Enter some text',
|
|
100
|
-
reducedHeight: true,
|
|
101
|
-
value: 'This textarea has reduced height (60px)'
|
|
102
|
-
},
|
|
103
|
-
argTypes: {
|
|
104
|
-
input: {
|
|
105
|
-
action: 'input'
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
parameters: {
|
|
109
|
-
docs: {
|
|
110
|
-
description: {
|
|
111
|
-
story: 'Textarea with smaller vertical size (60px height)'
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}`,...s.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
116
|
-
args: {
|
|
117
|
-
id: 'textAreaId',
|
|
118
|
-
label: 'Enter some text',
|
|
119
|
-
attributes: ['rows=5', 'cols=40'],
|
|
120
|
-
value: 'This textarea has custom rows and columns attributes'
|
|
121
|
-
},
|
|
122
|
-
argTypes: {
|
|
123
|
-
input: {
|
|
124
|
-
action: 'input'
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
parameters: {
|
|
128
|
-
docs: {
|
|
129
|
-
description: {
|
|
130
|
-
story: 'Textarea with custom HTML attributes (rows=5, cols=40)'
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}`,...i.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
|
|
135
|
-
args: {
|
|
136
|
-
id: 'textAreaId',
|
|
137
|
-
label: 'Your Comments',
|
|
138
|
-
required: true,
|
|
139
|
-
dataDpValidateIf: '#someOtherField',
|
|
140
|
-
dataDpValidateErrorFieldname: 'Comments',
|
|
141
|
-
value: ''
|
|
142
|
-
},
|
|
143
|
-
argTypes: {
|
|
144
|
-
input: {
|
|
145
|
-
action: 'input'
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
parameters: {
|
|
149
|
-
docs: {
|
|
150
|
-
description: {
|
|
151
|
-
story: 'Textarea with conditional validation that activates when another field is filled'
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}`,...o.parameters?.docs?.source}}};const u=["Default","WithHint","WithMaxlength","Required","Disabled","ReducedHeight","WithAttributes","WithValidation"],p=Object.freeze(Object.defineProperty({__proto__:null,Default:e,Disabled:n,ReducedHeight:s,Required:r,WithAttributes:i,WithHint:t,WithMaxlength:a,WithValidation:o,__namedExportsOrder:u,default:l},Symbol.toStringTag,{value:"Module"}));export{p as D,r as R,t as W,e as a,a as b,n as c,s as d,i as e,o as f};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as K}from"./DpInput-cN-WEvOL.js";import N from"./DpLabel-DFauD5I2.js";import{D as U}from"./DpResettableInput-nox0ihQv.js";import{v as z}from"./index-CTxdm8FW.js";import{g as W,h as j,c as d,e as m,f as G,a as c,F as b,i as g,n as h,s as w,d as p,o as r,w as k,t as F}from"./iframe-KFxwsBtW.js";import{_ as J}from"./_plugin-vue_export-helper-DlAUqK2U.js";var v=/iPhone/i,_=/iPod/i,I=/iPad/i,M=/\biOS-universal(?:.+)Mac\b/i,y=/\bAndroid(?:.+)Mobile\b/i,D=/Android/i,o=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,f=/Silk/i,l=/Windows Phone/i,T=/\bWindows(?:.+)ARM\b/i,S=/BlackBerry/i,P=/BB10/i,A=/Opera Mini/i,B=/\b(CriOS|Chrome)(?:.+)Mobile/i,H=/Mobile(?:.+)Firefox\b/i,C=function(e){return typeof e<"u"&&e.platform==="MacIntel"&&typeof e.maxTouchPoints=="number"&&e.maxTouchPoints>1&&typeof MSStream>"u"};function Q(e){return function(i){return i.test(e)}}function X(e){var i={userAgent:"",platform:"",maxTouchPoints:0};!e&&typeof navigator<"u"?i={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof e=="string"?i.userAgent=e:e&&e.userAgent&&(i={userAgent:e.userAgent,platform:e.platform,maxTouchPoints:e.maxTouchPoints||0});var a=i.userAgent,u=a.split("[FBAN");typeof u[1]<"u"&&(a=u[0]),u=a.split("Twitter"),typeof u[1]<"u"&&(a=u[0]);var t=Q(a),n={apple:{phone:t(v)&&!t(l),ipod:t(_),tablet:!t(v)&&(t(I)||C(i))&&!t(l),universal:t(M),device:(t(v)||t(_)||t(I)||t(M)||C(i))&&!t(l)},amazon:{phone:t(o),tablet:!t(o)&&t(f),device:t(o)||t(f)},android:{phone:!t(l)&&t(o)||!t(l)&&t(y),tablet:!t(l)&&!t(o)&&!t(y)&&(t(f)||t(D)),device:!t(l)&&(t(o)||t(f)||t(y)||t(D))||t(/\bokhttp\b/i)},windows:{phone:t(l),tablet:t(T),device:t(l)||t(T)},other:{blackberry:t(S),blackberry10:t(P),opera:t(A),firefox:t(H),chrome:t(B),device:t(S)||t(P)||t(A)||t(H)||t(B)},any:!1,phone:!1,tablet:!1};return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n}const E="00:00",V={name:"DpTimePicker",components:{DpInput:K,DpLabel:N,DpResettableInput:U},directives:{onClickOutside:z},props:{dataCy:{type:String,required:!1,default:"timePicker"},disabled:{type:Boolean,required:!1,default:!1},id:{type:String,required:!0},label:{type:String,required:!1,default:""},minuteSteps:{type:Number,required:!1,default:15},minValue:{type:String,required:!1,default:""},value:{type:String,required:!1,default:E}},data:()=>({currentHour:"00",currentMinutes:"00",isInputFocused:!1,showFlyout:!1}),computed:{availableHours(){if(this.minValue!==""){const i=this.minValue.split(":")[0];return this.hours.filter(a=>this.availableMinutes.length?a>=i:a>i)}return this.hours},availableMinutes(){if(this.minValue!==""){const e=this.minValue.split(":"),i=e[0],a=e[1];return this.currentHour===i?this.minutes.filter(u=>u>=a):this.minutes}return this.minutes},currentTime(){return`${this.currentHour}:${this.currentMinutes}`},hours(){let e=Array.from({length:24},(i,a)=>a);return e=e.map(i=>i.toString().padStart(2,"0")),e},isHour(){return e=>e.target.id.includes("hour")},isMinute(){return e=>e.target.id.includes("minute")},isMobileDevice(){return X(window.navigator).any},inputAttributes(){return this.isMobileDevice?{disabled:this.disabled,autocomplete:"off",type:"time"}:{disabled:this.disabled,autocomplete:"off"}},minutes(){let e=Array.from({length:60},(i,a)=>a);return e=e.filter(i=>!(i%this.minuteSteps)),e=e.map(i=>i.toString().padStart(2,"0")),e}},watch:{isInputFocused(){const e=this.$refs[`timeInput:${this.id}`].$el;this.isInputFocused?e.addEventListener("keydown",this.handleShiftDown):e.removeEventListener("keydown",this.handleShiftDown)},showFlyout(){this.showFlyout?document.body.addEventListener("keydown",this.handleKeyDown):document.body.removeEventListener("keydown",this.handleKeyDown)},value(){this.updateTime(this.value)}},methods:{closeFlyout(){this.showFlyout&&this.toggleFlyout()},focusHour(){const e=`hour:${this.currentHour}`;document.getElementById(e).focus()},handleBlur(){this.isInputFocused&&this.toggleInputFocus()},handleCurrentMinutesUnavailable(e,i){if(this.minValue!==""){const u=this.minValue.split(":")[0];e===u&&!this.availableMinutes.includes(i)&&(i=this.availableMinutes[0])}return i},handleEnter(e){e.target?(this.isHour(e)&&this.handleInput(this.currentMinutes,"minute"),this.isMinute(e)&&this.handleInput(this.currentHour,"hour")):this.handleInput(e),this.showFlyout&&this.toggleFlyout()},handleFocus(){this.showFlyout||this.toggleFlyout(),this.isInputFocused||this.toggleInputFocus()},handleInput(e,i=""){i===""&&this.updateTime(e),i==="hour"&&this.setHour(e),i==="minute"&&this.setMinutes(e),this.$emit("input",this.currentTime)},handleKeyDown(e){e.key==="Escape"&&this.toggleFlyout(),e.key===" "&&(e.preventDefault(),this.handleEnter())},handleReset(){this.handleInput(E)},handleShiftDown(e){e.shiftKey&&(e.key==="Down"||e.key==="ArrowDown")&&this.focusHour()},setHour(e){this.currentHour=e},setMinutes(e){this.currentMinutes=e},toggleFlyout(){this.showFlyout=!this.showFlyout},toggleInputFocus(){this.isInputFocused=!this.isInputFocused},updateTime(e){const i=e.split(":"),a=i[0],u=this.handleCurrentMinutesUnavailable(a,i[1]);this.setHour(a),this.setMinutes(u)}}},Y={class:"u-m-0_25 u-mr-0 u-pr-0_25 overflow-y-scroll h-9"},Z=["id","value","onClick"],$=["id","value","onClick"];function ee(e,i,a,u,t,n){const x=p("dp-label"),q=p("dp-resettable-input"),L=p("dp-input"),O=j("on-click-outside");return W((r(),d("div",{class:"c-timepicker inline-block",onKeydown:[i[3]||(i[3]=w((...s)=>n.closeFlyout&&n.closeFlyout(...s),["esc"])),i[4]||(i[4]=w(s=>n.handleEnter(s),["enter"]))]},[a.label!==""?(r(),m(x,{key:0,for:"timeInput",text:a.label},null,8,["text"])):G("",!0),n.isMobileDevice?(r(),m(L,{key:2,id:`timeInput:${a.id}`,"data-cy":a.dataCy,class:"w-8",type:"time",pattern:"([01]?[0-9]|2[0-3]):[0-5][0-9]",value:n.currentTime,autocomplete:"off",onInput:i[2]||(i[2]=s=>n.handleInput(s))},null,8,["id","data-cy","value"])):(r(),m(q,{key:1,id:`timeInput:${a.id}`,ref:`timeInput:${a.id}`,"data-cy":a.dataCy,class:"w-8","button-variant":"small","default-value":"00:00","input-attributes":{disabled:a.disabled,autocomplete:"off"},pattern:"([01]?[0-9]|2[0-3]):[0-5][0-9]",value:n.currentTime,onReset:n.handleReset,onEnter:i[0]||(i[0]=s=>n.handleEnter(s)),onFocus:n.handleFocus,onBlur:n.handleBlur,onInput:i[1]||(i[1]=s=>n.handleInput(s))},null,8,["id","data-cy","input-attributes","value","onReset","onFocus","onBlur"])),c("div",{ref:"flyout",class:h(["flex items-start justify-evenly c-timepicker__flyout font-size-small",{hidden:!e.showFlyout}]),tabindex:"0"},[c("ul",Y,[(r(!0),d(b,null,g(n.availableHours,s=>(r(),d("li",{key:`${a.id}:hour:${s}`,class:h(["c-timepicker__flyout-item",{"is-selected":e.currentHour===s}])},[c("button",{id:`${a.id}:hour:${s}`,class:"btn--blank u-ph-0_125 u-pv-0_125",tabindex:"0",value:s,onClick:k(R=>n.handleInput(s,"hour"),["prevent"])},F(s),9,Z)],2))),128))]),c("ul",{class:h(["u-m-0_25 h-9",n.minutes.length>5?"overflow-y-scroll":""])},[(r(!0),d(b,null,g(n.availableMinutes,s=>(r(),d("li",{key:`${a.id}:minute:${s}`,class:h(["c-timepicker__flyout-item",{"is-selected":e.currentMinutes===s}])},[c("button",{id:`${a.id}:minute:${s}`,tabindex:"0",class:"btn--blank u-ph-0_125 u-pv-0_125",value:s,onClick:k(R=>n.handleInput(s,"minute"),["prevent"])},F(s),9,$)],2))),128))],2)],2)],32)),[[O,n.closeFlyout]])}const le=J(V,[["render",ee]]);V.__docgenInfo={displayName:"DpTimePicker",exportName:"default",description:"",tags:{},props:[{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'timePicker'"}},{name:"disabled",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"id",type:{name:"string"},required:!0},{name:"label",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"minuteSteps",type:{name:"number"},required:!1,defaultValue:{func:!1,value:"15"}},{name:"minValue",description:"Minimum allowed value in the format 'hh:mm'",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"DEFAULT_TIME"}}],events:[{name:"input",type:{names:["undefined"]}}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpTimePicker/DpTimePicker.vue"]};export{le as D};
|