@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,30 +0,0 @@
|
|
|
1
|
-
import{c as le,w as pe,o as fe}from"./iframe-KFxwsBtW.js";import{_ as me}from"./_plugin-vue_export-helper-DlAUqK2U.js";function te(e,t){var a=new Date(e.getTime());return a.setHours(0,0,0,0),a.setDate(1),a.setMonth(a.getMonth()+t),a}function he(e,t){return function a(r,n){return n||(n=[]),n.length===7?n:(n.push(r),a(r===6?0:r+1,n))}(t).indexOf(e.getDay())}function H(e,t){var a=new Date(e.getTime());return new Date(a.setDate(a.getDate()+t))}function F(e){return new Date(e[0],e[1],e[2])}function z(e,t,a){return a||(a=[]),a.push(e),e<t&&z(e+1,t,a)||a}function ae(e,t){var a=e.split(t);return a.forEach(function(r,n){r.indexOf("d")>-1&&(a[n]="day"),r.indexOf("m")>-1&&(a[n]="month"),r.indexOf("y")>-1&&(a[n]="year")}),a}function ne(e){return function(t,a){return t[e.indexOf(a)]}}function j(e){return P(e,".")||P(e,"-")||P(e,"/")}function P(e,t){return e.indexOf(t)>-1?t:null}function L(e,t){var a=j(t),r=ae(t,a),n=e.split(a),u=ne(r);return new Date(u(n,"year"),u(n,"month")-1,u(n,"day"))}function G(e,t){var a=j(t),r=t.split(a),n=e.getFullYear(),u=e.getMonth()+1,c=e.getDate();return r.map(function(o){return o.match(/d/i)?_(c,o):o.match(/m/i)?_(u,o):o.match(/y/i)?_(n,o):void 0}).join(a)}function _(e,t){var a=(t+"").length-(e+"").length;if(a===0)return e;if(a>0)return function(r,n){for(var u=r+"",c=0;c<n;c++)u=0+u;return u}(e,a);if(a<0)throw new Error("Invalid date format")}function re(e){return F(e.value.split("$").map(function(t){return parseInt(t)}))}function U(e,t){if(t.length===0)return e;if(e.classList)for(var a=t.split(" "),r=0;r<a.length;)e.classList.add(a[r]),r+=1;else{var n=e.getAttribute("class");n=n+" "+t,e.setAttribute("class",n)}return e}function ve(e,t){var a=e.tagName.toLowerCase();U(e,t+a)}function R(e,t){for(var a=Array.prototype.slice.call(e.getElementsByTagName("*")),r=0;r<a.length;)ve(a[r],t),r+=1}function O(e){return e.focus(),!0}function ie(){return document.activeElement}function A(e){return document.querySelector('[data-ad-id="'+e+'"]')}function Y(e){return A(""+e.getDate()+e.getMonth()+e.getFullYear())}function N(e,t,a){return t.addEventListener(e,a,!0),function(){t.removeEventListener(e,a,!0)}}function Q(e){return e.hasAttribute("data-day")}function de(e,t){var a;typeof Event=="function"?a=new Event(t,{bubbles:!0,cancelable:!0}):(a=document.createEvent("Event")).initEvent(t,!0,!0),e.dispatchEvent(a)}function W(e,t,a){var r=document.createElement("th"),n=document.createElement("button");n.type="button",n.value=t+"$"+a;var u=e==="-1"?'<svg data-ad-id="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 16" width="6" height="16"><path data-ad-id="icon" fill-rule="evenodd" d="M6 2L0 8l6 6V2z"></path></svg>':'<svg data-ad-id="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 16" width="6" height="16"><path data-ad-id="icon" fill-rule="evenodd" d="M0 14l6-6-6-6v12z"></path></svg>';return n.setAttribute("data-ad-id",e),n.setAttribute("data-direction",!0),n.innerHTML=u,n.addEventListener("mousedown",function c(o){o.preventDefault(),o.stopPropagation(),n.removeEventListener("mousedown",c),de(n,"mousedown")}),r.appendChild(n),r}function ge(e,t,a,r){return function(n,u){var c=document.createElement("td"),o=F([t,e,n]),p=o.setHours(0,0,0,0)==new Date().setHours(0,0,0,0);return c.appendChild(function(f,d,i,s,l,m,v){var h=document.createElement("button"),D=document.createTextNode(f);return h.value=i+"$"+d+"$"+f,h.type="button",h.setAttribute("data-day",!0),h.setAttribute("data-ad-id",""+f+d+i),h.setAttribute("aria-label",l+" "+f+" "+s+" "+i),h.setAttribute("aria-disabled",!m),v&&h.classList.add("a1-is-today"),h.appendChild(D),h}(n,e,t,a,u,r(o),p)),c}}function De(e,t,a){for(var r=document.createElement("tr"),n=e,u=0;u<7;u++)r.appendChild(t(n,a.weekdays[u])),n+=1;return{el:r,day:n}}function M(e){for(var t=document.createDocumentFragment(),a=0;a<e;a++)t.appendChild(document.createElement("td"));return t}function B(e){return e instanceof Date&&!isNaN(e)}function ue(e,t,a,r){var n=t&&(B(t)&&t||L(t,r)),u=a&&(B(a)&&a||L(a,r)),c=B(e)&&e||L(e,r);return(!n||n<=c)&&(!u||u>=c)}function ye(e,t,a,r){var n,u,c,o,p,f=e.getFullYear(),d=e.getMonth(),i=e.toLocaleDateString(r.locale,{month:"long"}),s=he(e,r.weekStartsOn),l=F([f,d+1,0]).getDate(),m=ge(d,f,i,(n=r.minDate,u=r.maxDate,c=r.dateFormat,function(y){return ue(y,n,u,c)})),v=document.createElement("table"),h=document.createElement("thead"),D=document.createElement("tbody");h.appendChild(function(y,b,k,x,C){var g=document.createElement("tr"),w=document.createElement("th"),E=(x&&C?5:(x||C)&&6)||7;if(w.colSpan=E,w.appendChild(document.createTextNode(k+" "+y)),x){var q=W("-1",y,b);g.appendChild(q)}if(g.appendChild(w),C){var S=W("1",y,b);g.appendChild(S)}return g}(f,d,i,t,a)),h.appendChild((o=r.weekdays,p=document.createElement("tr"),o.forEach(function(y){var b=document.createTextNode(y),k=document.createElement("th");k.appendChild(b),p.appendChild(k)}),p)),v.appendChild(h);var K=function(y,b,k){var x=y,C=document.createElement("tr"),g=1,w=M(7-(7-y));C.appendChild(w);for(var E=x;E<7;E++)C.appendChild(b(g,k.weekdays[g])),g+=1;return{el:C,end:g}}(s,m,r);return D.appendChild(K.el),D.appendChild(function(y,b,k,x){for(var C=Math.floor((b-y+1)/7),g=y,w=document.createDocumentFragment(),E=1,q=0;q<C;q++){var S=De(g,k,x);w.appendChild(S.el),g=S.day,E+=1}var V=document.createElement("tr"),I=0;for(q=g;q<=b;q++)V.appendChild(k(g,x.weekdays[I])),g+=1,I+=1;E+=1;var ce=M(7-I);for(V.appendChild(ce),w.appendChild(V);E<6;){var J=document.createElement("tr");J.appendChild(M(7)),w.appendChild(J),E+=1}return w}(K.end,l,m,r)),v.appendChild(D),v}function oe(e,t,a){var r=z(a.monthsBeforeCurrent,a.monthsAfterCurrent).length,n=t<0?-1*r:r,u=n<0?0:r-1,c=n<0?r-1:0;return{date:te(e,n),before:-1*u,after:c}}var we={Up:-7,ArrowUp:-7,Down:7,ArrowDown:7,Left:-1,ArrowLeft:-1,Right:1,ArrowRight:1};function T(e,t,a,r,n){(function(u,c,o,p,f){var d=A(o.id+"group-container"),i=A(o.id+"group");i=i&&d&&d.removeChild(i),d=d||document.createElement("div"),i=function(l){for(;l.firstChild;)l.removeChild(l.firstChild);return l}(i=i||document.createElement("div"));var s=z(p,f);s.forEach(function(l,m){var v=s[m-1]===void 0,h=s[m+1]===void 0,D=te(c,l);i.appendChild(ye(D,v,h,o))}),i.setAttribute("data-ad-id",o.id+"group"),i.setAttribute("data-ad-selector","datepicker-container"),d.setAttribute("data-ad-selector","group-container"),d.setAttribute("data-ad-id",o.id+"group-container"),d.appendChild(i),u.appendChild(d)})(e,t,a,r=isNaN(r)?a.monthsBeforeCurrent:r,n=isNaN(n)?a.monthsAfterCurrent:n),R(e,a.classPrefix)}function $(e,t){var a=A(t+"group-container");a&&e.removeChild(a)}function X(e,t,a,r){var n=L(a,r);max=G(n,"yyyy-mm-dd"),e.setAttribute(t,n)}function be(e,t,a){var r=re(ie()),n=H(r,e),u=Y(n);u&&O(u)||function(c,o,p,f){var d=oe(p,o>0?1:-1,f);return T(c,d.date,f,d.before,d.after),!0}(t,e,r,a)&&O(Y(n))}function ke(e){return{shouldCloseOnFocusOut:function(t){var a=t.relatedTarget;return!a||!a.getAttribute("data-ad-id")||a.tagName==="INPUT"&&a.getAttribute("data-ad-id")!==e.id+"input"}}}function Ce(e,t,a){var r=new ke(e);function n(d){d.target.hasAttribute("data-direction")&&d.preventDefault()}function u(d){t(d.target.value,!1,!0)}function c(d){r.shouldCloseOnFocusOut(d)&&$(d.currentTarget.parentNode,e.id)}function o(d){if((d.target.value===""||d.type==="click")&&!A(e.id+"group")){T(d.target.parentNode,a()||e.initialDate&&L(e.initialDate,e.dateFormat)||new Date,e);var i=A(e.id+"group");if(i.getBoundingClientRect().bottom>(window.innerHeight||document.documentElement.clientHeight)){var s=d.target.getBoundingClientRect().height;i.setAttribute("style","bottom: "+s+"px;")}e.onAfterOpen(i)}}function p(d){var i=d.target,s=A(e.id+"input");Q(i)&&function(l,m){var v=re(l);t(v)&&($(m.parentNode,e.id),m.focus(),de(m,"input"))}(i,s),function(l){var m=l.getAttribute("data-ad-id");return m==="1"||m==="-1"}(i)&&function(l){var m=l.currentTarget,v=parseInt(l.target.getAttribute("data-ad-id")),h=l.target.value.split("$"),D=oe(h=F([h[0],h[1],1]),v,e);T(m,D.date,e,D.before,D.after)}(d)}function f(d){var i=Q(ie()),s=d.key,l=we[s];!d.shiftKey||s!=="Down"&&s!=="ArrowDown"?l&&i?be(l,d.currentTarget,e):s==="Esc"||s==="Escape"?(O(A(e.id+"input")),$(d.currentTarget,e.id)):s!=="Enter"&&s!==" "||!i||(d.preventDefault(),p(d)):function(m,v,h){var D=h||v.initialDate&&L(v.initialDate,v.dateFormat)||new Date;T(m,D,v),O(Y(D))}(d.currentTarget,e,a())}this.activeListeners=[],this.setListeners=function(d,i){this.activeListeners.push(N("focus",i,o)),this.activeListeners.push(N("mousedown",d,p)),this.activeListeners.push(N("keydown",d,f)),this.activeListeners.push(N("input",i,u)),this.activeListeners.push(N("click",i,o)),this.activeListeners.push(N("focusout",i,c)),this.activeListeners.push(N("mousedown",d,n))}}function Z(e,t){return Object.keys(t).forEach(function(a){e[a]=t[a]}),e}function Ee(e,t,a){var r=a.dateFormat;return function(n,u,c){var o=B(n)&&n||function(p,f){var d=j(f),i=ne(ae(f,d)),s=p.split(d);return(s=s.map(function(l){return parseInt(l)})).length===3&&!(i(s,"month")>12||i(s,"month")<1)&&!!B(new Date(i(s,"year"),i(s,"month")-1,i(s,"day")))}(n,r)&&L(n,r);return o&&(ue(o,a.minDate,a.maxDate,r)||u)?(c||(t.value=G(o,r)),t.setCustomValidity(""),e.selectedDate=o,!0):(e.selectedDate=null,(n!==""||a.required&&!u)&&t.setCustomValidity("invalid date"),!1)}}function ee(e,t,a){return function(){var r=e.selectedDate,n=r||"";return a&&n!==""?G(r,t):n}}var xe={locale:"en-EN",weekDayFormat:"short",minDate:null,maxDate:null,initialDate:null,monthsBeforeCurrent:0,monthsAfterCurrent:0,weekStartsOn:1,id:"a1-",dateFormat:"yyyy-mm-dd",inputName:"datepicker-input",inputClass:"",rootClass:"",classPrefix:"a1-",translations:{description:"This is a datepicker. You can type in a date using the keyboard. Use the required date format. It should be:yyyy-mm-dd. You can also use the datepicker to select a date. Press shift and arrow down to focus the datepicker. Press left arrow to move one day back. Press right arrow to move one day ahead. Press arrow up to move one week back. Press arrow down to move one week ahead Press Space to select a date. Press Escape to close the datepicker.",notInRange:"The date is not within the intended date range.",nextGroups:"Show next months.",prevGroups:"Show previous months."},required:!1,disabled:!1,onAfterOpen:function(e){}};(function(e,t){t===void 0&&(t={});var a=t.insertAt;if(typeof document<"u"){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",a==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}})(`.a1-div[data-ad-selector="datepicker-container"] {
|
|
2
|
-
position: absolute;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
z-index: 1001;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.a1-div[data-ad-selector="group-container"] {
|
|
9
|
-
position: relative;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.a1-p.visuallyhidden:not(:focus):not(:active) {
|
|
13
|
-
position: absolute;
|
|
14
|
-
|
|
15
|
-
width: 1px;
|
|
16
|
-
height: 1px;
|
|
17
|
-
margin: -1px;
|
|
18
|
-
border: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
|
|
23
|
-
clip-path: inset(100%);
|
|
24
|
-
clip: rect(0 0 0 0);
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.a1-td:empty::after {
|
|
29
|
-
content: "\\00a0";
|
|
30
|
-
}`);function Ae(e){var t={selectedDate:null,config:xe,listeners:null};function a(n){var u,c,o;t.config=(u=t.config,c=n||{},o=Z({},u),o=Z(o,c));var p,f=t.config.monthsBeforeCurrent;t.config.monthsBeforeCurrent=f<0?f:-1*f,t.config.weekdays=function d(i,s,l,m){return m||(m=[]),m.length===7?m:(m.push(i.toLocaleDateString(s,{weekday:l})),d(H(i,1),s,l,m))}((p=t.config.weekStartsOn,H(F([2014,10,9]),p)),t.config.locale,t.config.weekDayFormat)}function r(n){var u,c,o,p=document.getElementById(n.id);if(U(p,n.rootClass),R(p,n.classPrefix),navigator.userAgent.match(/mobi/gi))(function(d,i){var s=document.createElement("input");s.type="date",i.maxDate&&X(s,"max",i.maxDate,i.dateFormat),i.minDate&&X(s,"min",i.minDate,i.dateFormat),d.appendChild(s)})(p,n);else{var f=function(d,i){var s=document.createElement("p");s.appendChild(document.createTextNode(i.translations.description)),s.classList.add("visuallyhidden"),s.id=i.id+"description",d.appendChild(s);var l=document.createElement("input");return l.setAttribute("aria-describedby",i.id+"description"),l.type="text",l.setAttribute("data-ad-id",i.id+"input"),l.setAttribute("name",i.inputName),l.setAttribute("autocomplete","off"),i.disabled&&l.setAttribute("disabled",i.disabled),!i.disabled&&i.required&&l.setAttribute("required","true"),l=U(l,i.inputClass),d.appendChild(l),R(d,i.classPrefix),l}(p,n);u=Ee(t,f,n),c=ee(t,n.dateFormat),o=ee(t,n.dateFormat,!0),t.listeners=new Ce(n,u,c),t.listeners.setListeners(p,f)}return{getConfig:function(){return t.config},setDate:u,getDate:c,getDateAsString:o}}return function n(u){a(u),document.getElementById(t.config.id).innerHTML="",t.listeners&&function(o){for(var p=0;p<o.length;)o[p](),p++}(t.listeners.activeListeners);var c=r(t.config);return t.selectedDate&&c.setDate(t.selectedDate,!0),c.updateDatepicker=n,c}(e)}const se={name:"DpDatepicker",props:{calendarsAfter:{type:Number,required:!1,default:0},calendarsBefore:{type:Number,required:!1,default:0},dataCy:{type:String,required:!1,default:"datepicker"},dataDpValidateErrorFieldname:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},id:{type:String,required:!0},maxDate:{type:String,required:!1,default:""},minDate:{type:String,required:!1,default:""},name:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:""},required:{type:Boolean,required:!1,default:!1},value:{type:String,required:!1,default:""}},data(){return{datepicker:null,localConfig:{theme:"light",locale:"DE-de",dateFormat:"dd.mm.yyyy",id:this.id,inputClass:"o-form__control-input w-full"}}},watch:{value:function(){if(this.value!==null){const e=document.getElementById(this.id).getElementsByTagName("input")[0].value!==this.value;this.datepicker&&e&&this.datepicker.setDate(this.value,!0)}},maxDate:function(){if(this.datepicker.getDate()){const e=this.datepicker.getDateAsString();this.datepicker=this.datepicker.updateDatepicker({maxDate:this.maxDate}),this.datepicker.setDate(e,!0)}else this.datepicker=this.datepicker.updateDatepicker({maxDate:this.maxDate})},minDate:function(){if(this.datepicker.getDate()){const e=this.datepicker.getDateAsString();this.datepicker=this.datepicker.updateDatepicker({minDate:this.minDate}),this.datepicker.setDate(e,!0)}else this.datepicker=this.datepicker.updateDatepicker({minDate:this.minDate})},required:function(){this.datepicker=this.datepicker.updateDatepicker({required:this.required})},disabled:function(){this.datepicker=this.datepicker.updateDatepicker({disabled:this.disabled})}},methods:{addErrorFieldnameAttribute(){document.getElementsByName(this.name)[0]?.setAttribute("data-dp-validate-error-fieldname",this.dataDpValidateErrorFieldname)},emitUpdate(e){const t=e.target.value,a=this.datepicker.getDateAsString(),r=a===t?a:t;this.$emit("input",r),this.$root.$emit("dp-datepicker",{id:this.id,value:r}),this.addErrorFieldnameAttribute()}},mounted(){const e={...this.calendarsAfter>0?{monthsAfterCurrent:this.calendarsAfter}:{},...this.calendarsBefore>0?{monthsBeforeCurrent:this.calendarsBefore}:{},...this.maxDate!==""?{maxDate:this.maxDate}:{},...this.minDate!==""?{minDate:this.minDate}:{},...this.name!==""?{inputName:this.name}:{},required:this.required,disabled:this.disabled,...this.localConfig};this.datepicker=Ae(e),this.value!==""&&this.datepicker.setDate(this.value),this.addErrorFieldnameAttribute()}},qe=["id","data-cy"];function Ne(e,t,a,r,n,u){return fe(),le("div",{id:a.id,"data-cy":a.dataCy,onInput:t[0]||(t[0]=pe((...c)=>u.emitUpdate&&u.emitUpdate(...c),["stop","prevent"]))},null,40,qe)}const Fe=me(se,[["render",Ne]]);se.__docgenInfo={displayName:"DpDatepicker",exportName:"default",description:"",tags:{},props:[{name:"calendarsAfter",type:{name:"number"},required:!1,defaultValue:{func:!1,value:"0"}},{name:"calendarsBefore",type:{name:"number"},required:!1,defaultValue:{func:!1,value:"0"}},{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'datepicker'"}},{name:"dataDpValidateErrorFieldname",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"id",description:"The ID of the Datepicker component is derived from this prop.",type:{name:"string"},required:!0},{name:"maxDate",description:"Upper date limit.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"minDate",description:"Lower date limit.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"name",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"placeholder",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"required",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"value",description:"Expects ISO date",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}}],events:[{name:"input",type:{names:["undefined"]}}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpDatepicker/DpDatepicker.vue"]};export{Fe as D};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import{D as d}from"./DpDatepicker-CFlgW3DB.js";const o={component:d,title:"Components/Datepicker",argTypes:{id:{control:"text",description:"ID for the datepicker component"},value:{control:"text",description:"Initial date value in ISO format (YYYY-MM-DD)"},name:{control:"text",description:"Name attribute for the input"},minDate:{control:"text",description:"Minimum selectable date"},maxDate:{control:"text",description:"Maximum selectable date"},required:{control:"boolean",description:"Whether the field is required"},disabled:{control:"boolean",description:"Whether the field is disabled"},input:{action:"input",description:"Event fired when date value changes"}}},e={args:{id:"default-datepicker"}},r={args:{id:"with-value-datepicker",value:"2023-05-15"}},a={args:{id:"with-range-datepicker",minDate:"2023-01-01",maxDate:"2023-12-31"}},t={args:{id:"required-datepicker",required:!0,name:"requiredDate"},render:s=>({components:{DpDatepicker:d},setup(){return{args:s}},template:`
|
|
2
|
-
<div>
|
|
3
|
-
<label for="${s.id}" class="block mb-1">Date (required)</label>
|
|
4
|
-
<dp-datepicker
|
|
5
|
-
v-bind="args"
|
|
6
|
-
@input="args.input"
|
|
7
|
-
/>
|
|
8
|
-
</div>
|
|
9
|
-
`})},i={args:{id:"disabled-datepicker",disabled:!0,value:"2023-05-15"}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
10
|
-
args: {
|
|
11
|
-
id: 'default-datepicker'
|
|
12
|
-
}
|
|
13
|
-
}`,...e.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
|
|
14
|
-
args: {
|
|
15
|
-
id: 'with-value-datepicker',
|
|
16
|
-
value: '2023-05-15'
|
|
17
|
-
}
|
|
18
|
-
}`,...r.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
19
|
-
args: {
|
|
20
|
-
id: 'with-range-datepicker',
|
|
21
|
-
minDate: '2023-01-01',
|
|
22
|
-
maxDate: '2023-12-31'
|
|
23
|
-
}
|
|
24
|
-
}`,...a.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
25
|
-
args: {
|
|
26
|
-
id: 'required-datepicker',
|
|
27
|
-
required: true,
|
|
28
|
-
name: 'requiredDate'
|
|
29
|
-
},
|
|
30
|
-
render: args => ({
|
|
31
|
-
components: {
|
|
32
|
-
DpDatepicker
|
|
33
|
-
},
|
|
34
|
-
setup() {
|
|
35
|
-
return {
|
|
36
|
-
args
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
template: \`
|
|
40
|
-
<div>
|
|
41
|
-
<label for="\${args.id}" class="block mb-1">Date (required)</label>
|
|
42
|
-
<dp-datepicker
|
|
43
|
-
v-bind="args"
|
|
44
|
-
@input="args.input"
|
|
45
|
-
/>
|
|
46
|
-
</div>
|
|
47
|
-
\`
|
|
48
|
-
})
|
|
49
|
-
}`,...t.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
50
|
-
args: {
|
|
51
|
-
id: 'disabled-datepicker',
|
|
52
|
-
disabled: true,
|
|
53
|
-
value: '2023-05-15'
|
|
54
|
-
}
|
|
55
|
-
}`,...i.parameters?.docs?.source}}};const n=["Default","WithValue","WithRange","Required","Disabled"],p=Object.freeze(Object.defineProperty({__proto__:null,Default:e,Disabled:i,Required:t,WithRange:a,WithValue:r,__namedExportsOrder:n,default:o},Symbol.toStringTag,{value:"Module"}));export{p as D,t as R,r as W,e as a,a as b,i as c};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import{j as e,M as o,C as n}from"./blocks-kyJuz3C5.js";import{useMDXComponents as r}from"./index-BbC7EF1e.js";import{D as s,a as d,W as m,b as h,c as l,R as p,d as c}from"./DpDatetimePicker.stories-dJTr_X4a.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpDatetimePicker-DQokm861.js";import"./dayjs.min-C3DHb-Vr.js";import"./DpDatepicker-CFlgW3DB.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DpTimePicker-9Qy_qVnW.js";import"./DpInput-cN-WEvOL.js";import"./lengthHint-zGawKYxB.js";import"./translations-DDOZrg-p.js";import"./prefixClass-BBJiSKc2.js";import"./DpLabel-DFauD5I2.js";import"./DpContextualHelp-DnsCCoZB.js";import"./DpIcon-dOAQoUKG.js";import"./CleanHtml-CeG3Pc5D.js";import"./Tooltip-flnpMaRO.js";import"./DpResettableInput-nox0ihQv.js";import"./index-CTxdm8FW.js";function a(i){const t={h1:"h1",h2:"h2",p:"p",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{of:s}),`
|
|
2
|
-
`,e.jsx(t.h1,{id:"datetime-picker",children:"Datetime Picker"}),`
|
|
3
|
-
`,e.jsx(t.p,{children:"The DatetimePicker component allows users to enter a date and time either by typing or by selecting it from the calendar."}),`
|
|
4
|
-
`,e.jsx(t.p,{children:`The DateTimePicker control makes it easy to work with dates and times because it handles
|
|
5
|
-
a lot of the data validation automatically.`}),`
|
|
6
|
-
`,e.jsx(t.h2,{id:"default-usage",children:"Default usage"}),`
|
|
7
|
-
`,e.jsx(n,{of:d}),`
|
|
8
|
-
`,e.jsx(t.h2,{id:"with-preset-value",children:"With preset value"}),`
|
|
9
|
-
`,e.jsx(n,{of:m}),`
|
|
10
|
-
`,e.jsx(t.h2,{id:"with-min-and-max-dates",children:"With min and max dates"}),`
|
|
11
|
-
`,e.jsx(n,{of:h}),`
|
|
12
|
-
`,e.jsx(t.h2,{id:"with-label-and-hint",children:"With label and hint"}),`
|
|
13
|
-
`,e.jsx(n,{of:l}),`
|
|
14
|
-
`,e.jsx(t.h2,{id:"required-field",children:"Required field"}),`
|
|
15
|
-
`,e.jsx(n,{of:p}),`
|
|
16
|
-
`,e.jsx(t.h2,{id:"disabled",children:"Disabled"}),`
|
|
17
|
-
`,e.jsx(n,{of:c})]})}function E(i={}){const{wrapper:t}={...r(),...i.components};return t?e.jsx(t,{...i,children:e.jsx(a,{...i})}):a(i)}export{E 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 me,c as W,e as fe,f as ee,a as ce,b as te,d as j,_ as he,o as Q}from"./iframe-KFxwsBtW.js";import{g as pe}from"./_commonjsHelpers-CE1G-McA.js";import{d as R}from"./dayjs.min-C3DHb-Vr.js";import{D as De}from"./DpDatepicker-CFlgW3DB.js";import{D as ve}from"./DpTimePicker-9Qy_qVnW.js";import{_ as ye}from"./_plugin-vue_export-helper-DlAUqK2U.js";var H={exports:{}},ge=H.exports,ae;function Ye(){return ae||(ae=1,function(o,s){(function(r,S){o.exports=S()})(ge,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},S=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,_=/\d/,m=/\d\d/,u=/\d\d?/,q=/\d*[^-_:/,()\s\d]+/,f={},y=function(e){return(e=+e)+(e>68?1900:2e3)},i=function(e){return function(t){this[e]=+t}},X=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(t){if(!t||t==="Z")return 0;var a=t.match(/([+-]|\d\d)/g),n=60*a[1]+(+a[2]||0);return n===0?0:a[0]==="+"?-n:n}(e)}],E=function(e){var t=f[e];return t&&(t.indexOf?t:t.s.concat(t.f))},G=function(e,t){var a,n=f.meridiem;if(n){for(var h=1;h<=24;h+=1)if(e.indexOf(n(h,0,t))>-1){a=h>12;break}}else a=e===(t?"pm":"PM");return a},ne={A:[q,function(e){this.afternoon=G(e,!1)}],a:[q,function(e){this.afternoon=G(e,!0)}],Q:[_,function(e){this.month=3*(e-1)+1}],S:[_,function(e){this.milliseconds=100*+e}],SS:[m,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[u,i("seconds")],ss:[u,i("seconds")],m:[u,i("minutes")],mm:[u,i("minutes")],H:[u,i("hours")],h:[u,i("hours")],HH:[u,i("hours")],hh:[u,i("hours")],D:[u,i("day")],DD:[m,i("day")],Do:[q,function(e){var t=f.ordinal,a=e.match(/\d+/);if(this.day=a[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],w:[u,i("week")],ww:[m,i("week")],M:[u,i("month")],MM:[m,i("month")],MMM:[q,function(e){var t=E("months"),a=(E("monthsShort")||t.map(function(n){return n.slice(0,3)})).indexOf(e)+1;if(a<1)throw new Error;this.month=a%12||a}],MMMM:[q,function(e){var t=E("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,i("year")],YY:[m,function(e){this.year=y(e)}],YYYY:[/\d{4}/,i("year")],Z:X,ZZ:X};function ie(e){var t,a;t=e,a=f&&f.formats;for(var n=(e=t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,g,c){var l=c&&c.toUpperCase();return g||a[c]||r[c]||a[l].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Y,M,b){return M||b.slice(1)})})).match(S),h=n.length,p=0;p<h;p+=1){var P=n[p],k=ne[P],D=k&&k[0],v=k&&k[1];n[p]=v?{regex:D,parser:v}:P.replace(/^\[|\]$/g,"")}return function(x){for(var g={},c=0,l=0;c<h;c+=1){var Y=n[c];if(typeof Y=="string")l+=Y.length;else{var M=Y.regex,b=Y.parser,L=x.slice(l),V=M.exec(L)[0];b.call(g,V),x=x.replace(V,"")}}return function(w){var T=w.afternoon;if(T!==void 0){var d=w.hours;T?d<12&&(w.hours+=12):d===12&&(w.hours=0),delete w.afternoon}}(g),g}}return function(e,t,a){a.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(y=e.parseTwoDigitYear);var n=t.prototype,h=n.parse;n.parse=function(p){var P=p.date,k=p.utc,D=p.args;this.$u=k;var v=D[1];if(typeof v=="string"){var x=D[2]===!0,g=D[3]===!0,c=x||g,l=D[2];g&&(l=D[2]),f=this.$locale(),!x&&l&&(f=a.Ls[l]),this.$d=function(L,V,w,T){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*L);var d=ie(V)(L),B=d.year,C=d.month,se=d.day,ue=d.hours,de=d.minutes,oe=d.seconds,le=d.milliseconds,J=d.zone,K=d.week,I=new Date,O=se||(B||C?1:I.getDate()),Z=B||I.getFullYear(),A=0;B&&!C||(A=C>0?C-1:I.getMonth());var F,N=ue||0,U=de||0,z=oe||0,$=le||0;return J?new Date(Date.UTC(Z,A,O,N,U,z,$+60*J.offset*1e3)):w?new Date(Date.UTC(Z,A,O,N,U,z,$)):(F=new Date(Z,A,O,N,U,z,$),K&&(F=T(F).week(K).toDate()),F)}catch{return new Date("")}}(P,v,k,a),this.init(),l&&l!==!0&&(this.$L=this.locale(l).$L),c&&P!=this.format(v)&&(this.$d=new Date("")),f={}}else if(v instanceof Array)for(var Y=v.length,M=1;M<=Y;M+=1){D[1]=v[M-1];var b=a.apply(this,D);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}M===Y&&(this.$d=new Date(""))}else h.call(this,p)}}})}(H)),H.exports}var Me=Ye();const _e=pe(Me);R.extend(_e);const re={name:"DpDatetimePicker",components:{DpDatepicker:De,DpLabel:me(async()=>await he(()=>import("./DpLabel-DFauD5I2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)),DpTimePicker:ve},props:{dataCy:{type:String,required:!1,default:"dateTimePicker"},disabled:{type:Boolean,required:!1,default:!1},hiddenInput:{type:Boolean,required:!1,default:!1},hint:{type:String,required:!1,default:""},id:{type:String,required:!0},label:{type:String,required:!1,default:""},maxDate:{type:String,required:!1,default:""},minDate:{type:String,required:!1,default:""},name:{type:String,required:!1,default:""},required:{type:Boolean,required:!1,default:!1},value:{type:String,required:!0}},emits:["input"],data(){return{date:"",time:"00:00"}},computed:{currentDatetime(){const o=R(`${this.date} ${this.time}`,"DD.MM.YYYY HH:mm");return o.isValid()?o.format():""},isCurrentDateSelected(){return this.minDate!==""?this.date===this.minDate:!1},minTime(){return this.isCurrentDateSelected?new Date().toLocaleTimeString("de-DE",{hour:"2-digit",minute:"2-digit"}):""}},watch:{value:function(o){this.setDatetime(o)}},methods:{setDatetime(o){const s=R(o);s.isValid()&&(this.date=s.format("DD.MM.YYYY"),this.time=s.format("HH:mm"))}},mounted(){this.setDatetime(this.value)}},qe={class:"o-form__control-wrapper o-form__group"},ke=["disabled","name","value"];function xe(o,s,r,S,_,m){const u=j("dp-label"),q=j("dp-datepicker"),f=j("dp-time-picker");return Q(),W("div",null,[r.label!==""?(Q(),fe(u,{key:0,for:`datePicker:${r.id}`,hint:r.hint,required:r.required,text:r.label},null,8,["for","hint","required","text"])):ee("",!0),ce("div",qe,[te(q,{id:`datePicker:${r.id}`,modelValue:_.date,"onUpdate:modelValue":s[0]||(s[0]=y=>_.date=y),class:"o-form__group-item shrink","data-cy":`${r.dataCy}:date`,"calendars-after":2,disabled:r.disabled,"max-date":r.maxDate,"min-date":r.minDate,required:r.required,onInput:s[1]||(s[1]=y=>o.$emit("input",m.currentDatetime))},null,8,["id","modelValue","data-cy","disabled","max-date","min-date","required"]),te(f,{id:`timePicker:${r.id}`,modelValue:_.time,"onUpdate:modelValue":s[2]||(s[2]=y=>_.time=y),class:"o-form__group-item","data-cy":`${r.dataCy}:time`,disabled:r.disabled,"min-value":m.minTime,onInput:s[3]||(s[3]=y=>o.$emit("input",m.currentDatetime))},null,8,["id","modelValue","data-cy","disabled","min-value"]),r.hiddenInput&&r.name?(Q(),W("input",{key:0,type:"hidden",disabled:r.disabled,name:r.name,value:m.currentDatetime},null,8,ke)):ee("",!0)])])}const Ce=ye(re,[["render",xe]]);re.__docgenInfo={displayName:"DpDatetimePicker",exportName:"default",description:"",tags:{},props:[{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'dateTimePicker'"}},{name:"disabled",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"hiddenInput",description:"Add a hidden input field to submit value of `currentDatetime`\nif used in a form that actually gets submitted.",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:!0},{name:"label",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"maxDate",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"minDate",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"name",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"required",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"value",type:{name:"string"},required:!0}],events:[{name:"input"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpDatetimePicker/DpDatetimePicker.vue"]};export{Ce as D};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{D as s}from"./DpDatetimePicker-DQokm861.js";const d={component:s,title:"Components/DatetimePicker",argTypes:{id:{control:"text",description:"ID for the datetime picker component"},value:{control:"text",description:"ISO datetime value (e.g., 2023-07-13T07:20:00.000Z)"},label:{control:"text",description:"Label displayed above the datetime picker"},hint:{control:"text",description:"Hint text displayed below the label"},minDate:{control:"text",description:"Minimum selectable date in format DD.MM.YYYY"},maxDate:{control:"text",description:"Maximum selectable date in format DD.MM.YYYY"},required:{control:"boolean",description:"Whether the field is required"},disabled:{control:"boolean",description:"Whether the field is disabled"},hiddenInput:{control:"boolean",description:"Add a hidden input field for form submissions"},name:{control:"text",description:"Name attribute for the hidden input field"},input:{action:"input",description:"Event fired when datetime value changes"}}},e={args:{id:"default-datetimepicker",value:"2023-07-13T07:20:00.000Z"}},t={args:{id:"with-value-datetimepicker",value:new Date().toISOString()}},a={args:{id:"with-range-datetimepicker",value:"2023-07-13T07:20:00.000Z",minDate:"01.01.2023",maxDate:"31.12.2023"}},r={args:{id:"with-label-datetimepicker",value:"2023-07-13T07:20:00.000Z",label:"Event date and time",hint:"Please select when the event will start"}},i={args:{id:"required-datetimepicker",value:"2023-07-13T07:20:00.000Z",label:"Event date and time",required:!0}},n={args:{id:"disabled-datetimepicker",value:"2023-07-13T07:20:00.000Z",label:"Event date and time",disabled:!0}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
|
|
2
|
-
args: {
|
|
3
|
-
id: 'default-datetimepicker',
|
|
4
|
-
value: '2023-07-13T07:20:00.000Z'
|
|
5
|
-
}
|
|
6
|
-
}`,...e.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
7
|
-
args: {
|
|
8
|
-
id: 'with-value-datetimepicker',
|
|
9
|
-
value: new Date().toISOString()
|
|
10
|
-
}
|
|
11
|
-
}`,...t.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
12
|
-
args: {
|
|
13
|
-
id: 'with-range-datetimepicker',
|
|
14
|
-
value: '2023-07-13T07:20:00.000Z',
|
|
15
|
-
minDate: '01.01.2023',
|
|
16
|
-
maxDate: '31.12.2023'
|
|
17
|
-
}
|
|
18
|
-
}`,...a.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
|
|
19
|
-
args: {
|
|
20
|
-
id: 'with-label-datetimepicker',
|
|
21
|
-
value: '2023-07-13T07:20:00.000Z',
|
|
22
|
-
label: 'Event date and time',
|
|
23
|
-
hint: 'Please select when the event will start'
|
|
24
|
-
}
|
|
25
|
-
}`,...r.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
26
|
-
args: {
|
|
27
|
-
id: 'required-datetimepicker',
|
|
28
|
-
value: '2023-07-13T07:20:00.000Z',
|
|
29
|
-
label: 'Event date and time',
|
|
30
|
-
required: true
|
|
31
|
-
}
|
|
32
|
-
}`,...i.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
33
|
-
args: {
|
|
34
|
-
id: 'disabled-datetimepicker',
|
|
35
|
-
value: '2023-07-13T07:20:00.000Z',
|
|
36
|
-
label: 'Event date and time',
|
|
37
|
-
disabled: true
|
|
38
|
-
}
|
|
39
|
-
}`,...n.parameters?.docs?.source}}};const o=["Default","WithValue","WithRange","WithLabel","Required","Disabled"],c=Object.freeze(Object.defineProperty({__proto__:null,Default:e,Disabled:n,Required:i,WithLabel:r,WithRange:a,WithValue:t,__namedExportsOrder:o,default:d},Symbol.toStringTag,{value:"Module"}));export{c as D,i as R,t as W,e as a,a as b,r as c,n as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as i}from"./CleanHtml-CeG3Pc5D.js";import{c as o,a as t,g as d,n as c,h as u,r as m,o as p}from"./iframe-KFxwsBtW.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const r={name:"DpDetails",directives:{cleanhtml:i},props:{dataCy:{type:String,required:!1,default:"element"},summary:{type:String,required:!1,default:""}},data(){return{isOpen:!1}}},y=["data-cy"],_=["aria-expanded","data-cy"],h=["data-cy"];function g(n,s,a,D,e,v){const l=u("cleanhtml");return p(),o("details",{class:"o-details space-stack-xs","data-cy":`${a.dataCy}:detailsWrapper`,role:"group"},[t("summary",{"aria-expanded":e.isOpen,class:"o-details__trigger o-link--default cursor-pointer inline-block","data-cy":`${a.dataCy}:detailsSummary`,role:"button",onClick:s[0]||(s[0]=C=>e.isOpen=!e.isOpen)},[t("i",{class:c(["fa w-2 text--center",{"fa-caret-down":e.isOpen,"fa-caret-right":!e.isOpen}]),"aria-hidden":"true"},null,2),d(t("strong",null,null,512),[[l,a.summary]])],8,_),t("div",{"data-cy":`${a.dataCy}:detailsContent`},[m(n.$slots,"default")],8,h)],8,y)}const q=f(r,[["render",g]]);r.__docgenInfo={displayName:"DpDetails",exportName:"default",description:"",tags:{},props:[{name:"dataCy",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'element'"}},{name:"summary",description:"The short summary of the content, which is also used as a trigger.",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpDetails/DpDetails.vue"]};export{q as D};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{j as t,M as i,C as o}from"./blocks-kyJuz3C5.js";import{useMDXComponents as a}from"./index-BbC7EF1e.js";import{D as r,a as d,O as h,W as l}from"./DpDetails.stories-BmFnnpwr.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpDetails-Do--n1SK.js";import"./CleanHtml-CeG3Pc5D.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function s(n){const e={code:"code",h1:"h1",h2:"h2",p:"p",...a(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(i,{of:r}),`
|
|
2
|
-
`,t.jsx(e.h1,{id:"details",children:"Details"}),`
|
|
3
|
-
`,t.jsxs(e.p,{children:["The ",t.jsx(e.code,{children:"DpDetails"}),` component is used to reveal detailed information only when users need it.
|
|
4
|
-
Other than the accordion or expandable table, it is not used to display tabular data or
|
|
5
|
-
multiple items of the same type and structure - it rather represents a single chunk of
|
|
6
|
-
information that is shortened to ease scanning of the content it is part of.`]}),`
|
|
7
|
-
`,t.jsx(e.h2,{id:"default-usage",children:"Default usage"}),`
|
|
8
|
-
`,t.jsx(o,{of:d}),`
|
|
9
|
-
`,t.jsx(e.h2,{id:"open-by-default",children:"Open by default"}),`
|
|
10
|
-
`,t.jsx(o,{of:h}),`
|
|
11
|
-
`,t.jsx(e.h2,{id:"with-html-content",children:"With HTML content"}),`
|
|
12
|
-
`,t.jsx(o,{of:l})]})}function M(n={}){const{wrapper:e}={...a(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(s,{...n})}):s(n)}export{M as default};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import{D as a}from"./DpDetails-Do--n1SK.js";const r={component:a,title:"Components/Details",argTypes:{summary:{control:"text",description:"Text to show in the summary element"},open:{control:"boolean",description:"Whether the details should be open by default"},default:{control:{type:"text"},description:"Content to be revealed when expanded",table:{category:"Slots",type:{summary:"html"}}}}},t={args:{summary:"The summary tells users what to find in the details"},render:e=>({components:{DpDetails:a},setup(){return{args:e}},template:`
|
|
2
|
-
<dp-details :summary="args.summary" :open="args.open">
|
|
3
|
-
Content to be revealed onClick of the summary. Here, content of any length can be placed. However
|
|
4
|
-
this does not mean that content have to be as long as possible, especially if no real value is added
|
|
5
|
-
by lengthening sentences that otherwise would not even have to be read.
|
|
6
|
-
</dp-details>
|
|
7
|
-
`})},s={args:{summary:"This details element is open by default",open:!0},render:e=>({components:{DpDetails:a},setup(){return{args:e}},template:`
|
|
8
|
-
<dp-details :summary="args.summary" :open="args.open">
|
|
9
|
-
This content is visible by default because the 'open' attribute is set to true.
|
|
10
|
-
</dp-details>
|
|
11
|
-
`})},n={args:{summary:"Details with HTML content"},render:e=>({components:{DpDetails:a},setup(){return{args:e}},template:`
|
|
12
|
-
<dp-details :summary="args.summary" :open="args.open">
|
|
13
|
-
<h3 class="text-lg font-bold mb-2">HTML Content Example</h3>
|
|
14
|
-
<p class="mb-2">You can include <strong>formatted text</strong>, <em>emphasis</em>, and other HTML elements.</p>
|
|
15
|
-
<ul class="list-disc pl-5 mb-2">
|
|
16
|
-
<li>List item 1</li>
|
|
17
|
-
<li>List item 2</li>
|
|
18
|
-
<li>List item 3</li>
|
|
19
|
-
</ul>
|
|
20
|
-
<a href="#" class="text-blue-500 hover:underline">Example link</a>
|
|
21
|
-
</dp-details>
|
|
22
|
-
`})};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
|
|
23
|
-
args: {
|
|
24
|
-
summary: 'The summary tells users what to find in the details'
|
|
25
|
-
},
|
|
26
|
-
render: args => ({
|
|
27
|
-
components: {
|
|
28
|
-
DpDetails
|
|
29
|
-
},
|
|
30
|
-
setup() {
|
|
31
|
-
return {
|
|
32
|
-
args
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
template: \`
|
|
36
|
-
<dp-details :summary="args.summary" :open="args.open">
|
|
37
|
-
Content to be revealed onClick of the summary. Here, content of any length can be placed. However
|
|
38
|
-
this does not mean that content have to be as long as possible, especially if no real value is added
|
|
39
|
-
by lengthening sentences that otherwise would not even have to be read.
|
|
40
|
-
</dp-details>
|
|
41
|
-
\`
|
|
42
|
-
})
|
|
43
|
-
}`,...t.parameters?.docs?.source}}};s.parameters={...s.parameters,docs:{...s.parameters?.docs,source:{originalSource:`{
|
|
44
|
-
args: {
|
|
45
|
-
summary: 'This details element is open by default',
|
|
46
|
-
open: true
|
|
47
|
-
},
|
|
48
|
-
render: args => ({
|
|
49
|
-
components: {
|
|
50
|
-
DpDetails
|
|
51
|
-
},
|
|
52
|
-
setup() {
|
|
53
|
-
return {
|
|
54
|
-
args
|
|
55
|
-
};
|
|
56
|
-
},
|
|
57
|
-
template: \`
|
|
58
|
-
<dp-details :summary="args.summary" :open="args.open">
|
|
59
|
-
This content is visible by default because the 'open' attribute is set to true.
|
|
60
|
-
</dp-details>
|
|
61
|
-
\`
|
|
62
|
-
})
|
|
63
|
-
}`,...s.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
64
|
-
args: {
|
|
65
|
-
summary: 'Details with HTML content'
|
|
66
|
-
},
|
|
67
|
-
render: args => ({
|
|
68
|
-
components: {
|
|
69
|
-
DpDetails
|
|
70
|
-
},
|
|
71
|
-
setup() {
|
|
72
|
-
return {
|
|
73
|
-
args
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
template: \`
|
|
77
|
-
<dp-details :summary="args.summary" :open="args.open">
|
|
78
|
-
<h3 class="text-lg font-bold mb-2">HTML Content Example</h3>
|
|
79
|
-
<p class="mb-2">You can include <strong>formatted text</strong>, <em>emphasis</em>, and other HTML elements.</p>
|
|
80
|
-
<ul class="list-disc pl-5 mb-2">
|
|
81
|
-
<li>List item 1</li>
|
|
82
|
-
<li>List item 2</li>
|
|
83
|
-
<li>List item 3</li>
|
|
84
|
-
</ul>
|
|
85
|
-
<a href="#" class="text-blue-500 hover:underline">Example link</a>
|
|
86
|
-
</dp-details>
|
|
87
|
-
\`
|
|
88
|
-
})
|
|
89
|
-
}`,...n.parameters?.docs?.source}}};const o=["Default","OpenByDefault","WithHTML"],i=Object.freeze(Object.defineProperty({__proto__:null,Default:t,OpenByDefault:s,WithHTML:n,__namedExportsOrder:o,default:r},Symbol.toStringTag,{value:"Module"}));export{i as D,s as O,n as W,t as a};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{j as e,M as r,C as n}from"./blocks-kyJuz3C5.js";import{useMDXComponents as a}from"./index-BbC7EF1e.js";import{D as i,a as h,W as l,b as g,c as d}from"./DpDraggable.stories-YSsJhbLZ.js";import"./iframe-KFxwsBtW.js";import"./_commonjsHelpers-CE1G-McA.js";import"./DpDraggable-DLTo9Q5K.js";function o(s){const t={a:"a",h1:"h1",h2:"h2",p:"p",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:i}),`
|
|
2
|
-
`,e.jsx(t.h1,{id:"draggable",children:"Draggable"}),`
|
|
3
|
-
`,e.jsx(t.p,{children:"Use the Draggable component to change the order of items within a list or to move items between lists."}),`
|
|
4
|
-
`,e.jsxs(t.p,{children:["The component provides a wrapper around the ",e.jsx(t.a,{href:"https://github.com/SortableJS/Sortable",rel:"nofollow",children:"sortable.js"})," library (through ",e.jsx(t.a,{href:"https://vueuse.org/integrations/useSortable/",rel:"nofollow",children:"@vueuse/integrations/useSortable"}),")."]}),`
|
|
5
|
-
`,e.jsx(t.h2,{id:"basic-usage",children:"Basic usage"}),`
|
|
6
|
-
`,e.jsx(n,{of:h}),`
|
|
7
|
-
`,e.jsx(t.h2,{id:"with-custom-tag",children:"With custom tag"}),`
|
|
8
|
-
`,e.jsx(n,{of:l}),`
|
|
9
|
-
`,e.jsx(t.h2,{id:"dragging-between-lists",children:"Dragging between lists"}),`
|
|
10
|
-
`,e.jsx(n,{of:g}),`
|
|
11
|
-
`,e.jsx(t.h2,{id:"disabled-dragging",children:"Disabled dragging"}),`
|
|
12
|
-
`,e.jsx(n,{of:d})]})}function b(s={}){const{wrapper:t}={...a(),...s.components};return t?e.jsx(t,{...s,children:e.jsx(o,{...s})}):o(s)}export{b as default};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{B as kt,E as bt,V as Bt,G as Xt,H as Yt,I as qt,W as Gt,y as Ht,l as st,A as Wt,e as Lt,j as jt,u as zt,o as Vt,r as $t}from"./iframe-KFxwsBtW.js";function Ut(o){return Yt()?(qt(o),!0):!1}function Je(o){return typeof o=="function"?o():Xt(o)}const Kt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function Zt(o){return Bt()}function Qt(o,e=!0,t){Zt()?kt(o,t):e?o():bt(o)}const Jt=Kt?window.document:void 0;function en(o){var e;const t=Je(o);return(e=t?.$el)!=null?e:t}/**!
|
|
2
|
-
* Sortable 1.15.3
|
|
3
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
4
|
-
* @author owenm <owen23355@gmail.com>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/function ut(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),t.push.apply(t,n)}return t}function L(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ut(Object(t),!0).forEach(function(n){tn(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):ut(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function Me(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Me=function(e){return typeof e}:Me=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(o)}function tn(o,e,t){return e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function $(){return $=Object.assign||function(o){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])}return o},$.apply(this,arguments)}function nn(o,e){if(o==null)return{};var t={},n=Object.keys(o),r,i;for(i=0;i<n.length;i++)r=n[i],!(e.indexOf(r)>=0)&&(t[r]=o[r]);return t}function on(o,e){if(o==null)return{};var t=nn(o,e),n,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);for(r=0;r<i.length;r++)n=i[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(o,n)&&(t[n]=o[n])}return t}var rn="1.15.3";function V(o){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(o)}var U=V(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ce=V(/Edge/i),dt=V(/firefox/i),we=V(/safari/i)&&!V(/chrome/i)&&!V(/android/i),yt=V(/iP(ad|od|hone)/i),Et=V(/chrome/i)&&V(/android/i),wt={capture:!1,passive:!1};function y(o,e,t){o.addEventListener(e,t,!U&&wt)}function b(o,e,t){o.removeEventListener(e,t,!U&&wt)}function Xe(o,e){if(e){if(e[0]===">"&&(e=e.substring(1)),o)try{if(o.matches)return o.matches(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e)}catch{return!1}return!1}}function Dt(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function G(o,e,t,n){if(o){t=t||document;do{if(e!=null&&(e[0]===">"?o.parentNode===t&&Xe(o,e):Xe(o,e))||n&&o===t)return o;if(o===t)break}while(o=Dt(o))}return null}var ft=/\s+/g;function R(o,e,t){if(o&&e)if(o.classList)o.classList[t?"add":"remove"](e);else{var n=(" "+o.className+" ").replace(ft," ").replace(" "+e+" "," ");o.className=(n+(t?" "+e:"")).replace(ft," ")}}function h(o,e,t){var n=o&&o.style;if(n){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(t=o.currentStyle),e===void 0?t:t[e];!(e in n)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),n[e]=t+(typeof t=="string"?"":"px")}}function fe(o,e){var t="";if(typeof o=="string")t=o;else do{var n=h(o,"transform");n&&n!=="none"&&(t=n+" "+t)}while(!e&&(o=o.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(t)}function _t(o,e,t){if(o){var n=o.getElementsByTagName(e),r=0,i=n.length;if(t)for(;r<i;r++)t(n[r],r);return n}return[]}function W(){var o=document.scrollingElement;return o||document.documentElement}function C(o,e,t,n,r){if(!(!o.getBoundingClientRect&&o!==window)){var i,a,l,s,u,c,f;if(o!==window&&o.parentNode&&o!==W()?(i=o.getBoundingClientRect(),a=i.top,l=i.left,s=i.bottom,u=i.right,c=i.height,f=i.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(e||t)&&o!==window&&(r=r||o.parentNode,!U))do if(r&&r.getBoundingClientRect&&(h(r,"transform")!=="none"||t&&h(r,"position")!=="static")){var m=r.getBoundingClientRect();a-=m.top+parseInt(h(r,"border-top-width")),l-=m.left+parseInt(h(r,"border-left-width")),s=a+i.height,u=l+i.width;break}while(r=r.parentNode);if(n&&o!==window){var w=fe(r||o),v=w&&w.a,E=w&&w.d;w&&(a/=E,l/=v,f/=v,c/=E,s=a+c,u=l+f)}return{top:a,left:l,bottom:s,right:u,width:f,height:c}}}function ct(o,e,t){for(var n=ee(o,!0),r=C(o)[e];n;){var i=C(n)[t],a=void 0;if(a=r>=i,!a)return n;if(n===W())break;n=ee(n,!1)}return!1}function ce(o,e,t,n){for(var r=0,i=0,a=o.children;i<a.length;){if(a[i].style.display!=="none"&&a[i]!==p.ghost&&(n||a[i]!==p.dragged)&&G(a[i],t.draggable,o,!1)){if(r===e)return a[i];r++}i++}return null}function rt(o,e){for(var t=o.lastElementChild;t&&(t===p.ghost||h(t,"display")==="none"||e&&!Xe(t,e));)t=t.previousElementSibling;return t||null}function B(o,e){var t=0;if(!o||!o.parentNode)return-1;for(;o=o.previousElementSibling;)o.nodeName.toUpperCase()!=="TEMPLATE"&&o!==p.clone&&(!e||Xe(o,e))&&t++;return t}function ht(o){var e=0,t=0,n=W();if(o)do{var r=fe(o),i=r.a,a=r.d;e+=o.scrollLeft*i,t+=o.scrollTop*a}while(o!==n&&(o=o.parentNode));return[e,t]}function an(o,e){for(var t in o)if(o.hasOwnProperty(t)){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===o[t][n])return Number(t)}return-1}function ee(o,e){if(!o||!o.getBoundingClientRect)return W();var t=o,n=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var r=h(t);if(t.clientWidth<t.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return W();if(n||e)return t;n=!0}}while(t=t.parentNode);return W()}function ln(o,e){if(o&&e)for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t]);return o}function Le(o,e){return Math.round(o.top)===Math.round(e.top)&&Math.round(o.left)===Math.round(e.left)&&Math.round(o.height)===Math.round(e.height)&&Math.round(o.width)===Math.round(e.width)}var De;function St(o,e){return function(){if(!De){var t=arguments,n=this;t.length===1?o.call(n,t[0]):o.apply(n,t),De=setTimeout(function(){De=void 0},e)}}}function sn(){clearTimeout(De),De=void 0}function Tt(o,e,t){o.scrollLeft+=e,o.scrollTop+=t}function Ct(o){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(o).cloneNode(!0):t?t(o).clone(!0)[0]:o.cloneNode(!0)}function It(o,e,t){var n={};return Array.from(o.children).forEach(function(r){var i,a,l,s;if(!(!G(r,e.draggable,o,!1)||r.animated||r===t)){var u=C(r);n.left=Math.min((i=n.left)!==null&&i!==void 0?i:1/0,u.left),n.top=Math.min((a=n.top)!==null&&a!==void 0?a:1/0,u.top),n.right=Math.max((l=n.right)!==null&&l!==void 0?l:-1/0,u.right),n.bottom=Math.max((s=n.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var N="Sortable"+new Date().getTime();function un(){var o=[],e;return{captureAnimationState:function(){if(o=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(r){if(!(h(r,"display")==="none"||r===p.ghost)){o.push({target:r,rect:C(r)});var i=L({},o[o.length-1].rect);if(r.thisAnimationDuration){var a=fe(r,!0);a&&(i.top-=a.f,i.left-=a.e)}r.fromRect=i}})}},addAnimationState:function(n){o.push(n)},removeAnimationState:function(n){o.splice(an(o,{target:n}),1)},animateAll:function(n){var r=this;if(!this.options.animation){clearTimeout(e),typeof n=="function"&&n();return}var i=!1,a=0;o.forEach(function(l){var s=0,u=l.target,c=u.fromRect,f=C(u),m=u.prevFromRect,w=u.prevToRect,v=l.rect,E=fe(u,!0);E&&(f.top-=E.f,f.left-=E.e),u.toRect=f,u.thisAnimationDuration&&Le(m,f)&&!Le(c,f)&&(v.top-f.top)/(v.left-f.left)===(c.top-f.top)/(c.left-f.left)&&(s=fn(v,m,w,r.options)),Le(f,c)||(u.prevFromRect=c,u.prevToRect=f,s||(s=r.options.animation),r.animate(u,v,f,s)),s&&(i=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(e),i?e=setTimeout(function(){typeof n=="function"&&n()},a):typeof n=="function"&&n(),o=[]},animate:function(n,r,i,a){if(a){h(n,"transition",""),h(n,"transform","");var l=fe(this.el),s=l&&l.a,u=l&&l.d,c=(r.left-i.left)/(s||1),f=(r.top-i.top)/(u||1);n.animatingX=!!c,n.animatingY=!!f,h(n,"transform","translate3d("+c+"px,"+f+"px,0)"),this.forRepaintDummy=dn(n),h(n,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){h(n,"transition",""),h(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},a)}}}}function dn(o){return o.offsetWidth}function fn(o,e,t,n){return Math.sqrt(Math.pow(e.top-o.top,2)+Math.pow(e.left-o.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*n.animation}var le=[],je={initializeByDefault:!0},Ie={mount:function(e){for(var t in je)je.hasOwnProperty(t)&&!(t in e)&&(e[t]=je[t]);le.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),le.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";le.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][i]&&t[a.pluginName][i](L({sortable:t},n)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](L({sortable:t},n)))})},initializePlugins:function(e,t,n,r){le.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var u=new l(e,t,e.options);u.sortable=e,u.options=e.options,e[s]=u,$(n,u.defaults)}});for(var i in e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);typeof a<"u"&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return le.forEach(function(r){typeof r.eventProperties=="function"&&$(n,r.eventProperties.call(t[r.pluginName],e))}),n},modifyOption:function(e,t,n){var r;return le.forEach(function(i){e[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[t]=="function"&&(r=i.optionListeners[t].call(e[i.pluginName],n))}),r}};function cn(o){var e=o.sortable,t=o.rootEl,n=o.name,r=o.targetEl,i=o.cloneEl,a=o.toEl,l=o.fromEl,s=o.oldIndex,u=o.newIndex,c=o.oldDraggableIndex,f=o.newDraggableIndex,m=o.originalEvent,w=o.putSortable,v=o.extraEventProperties;if(e=e||t&&t[N],!!e){var E,X=e.options,j="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!U&&!Ce?E=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(n,!0,!0)),E.to=a||t,E.from=l||t,E.item=r||t,E.clone=i,E.oldIndex=s,E.newIndex=u,E.oldDraggableIndex=c,E.newDraggableIndex=f,E.originalEvent=m,E.pullMode=w?w.lastPutMode:void 0;var A=L(L({},v),Ie.getEventProperties(n,e));for(var Y in A)E[Y]=A[Y];t&&t.dispatchEvent(E),X[j]&&X[j].call(e,E)}}var hn=["evt"],P=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,i=on(n,hn);Ie.pluginEvent.bind(p)(e,t,L({dragEl:d,parentEl:S,ghostEl:g,rootEl:D,nextEl:ae,lastDownEl:Fe,cloneEl:_,cloneHidden:J,dragStarted:be,putSortable:I,activeSortable:p.active,originalEvent:r,oldIndex:de,oldDraggableIndex:_e,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:Pt,unhideGhostForTarget:Nt,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){x({sortable:t,name:l,originalEvent:r})}},i))};function x(o){cn(L({putSortable:I,cloneEl:_,targetEl:d,rootEl:D,oldIndex:de,oldDraggableIndex:_e,newIndex:k,newDraggableIndex:Q},o))}var d,S,g,D,ae,Fe,_,J,de,k,_e,Q,Ae,I,ue=!1,Ye=!1,qe=[],re,q,ze,Ve,pt,gt,be,se,Se,Te=!1,xe=!1,Re,O,$e=[],et=!1,Ge=[],We=typeof document<"u",Pe=yt,mt=Ce||U?"cssFloat":"float",pn=We&&!Et&&!yt&&"draggable"in document.createElement("div"),Ot=function(){if(We){if(U)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}}(),At=function(e,t){var n=h(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=ce(e,0,t),a=ce(e,1,t),l=i&&h(i),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+C(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+C(a).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&l.float&&l.float!=="none"){var f=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return i&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=r&&n[mt]==="none"||a&&n[mt]==="none"&&u+c>r)?"vertical":"horizontal"},gn=function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,l=n?t.left:t.top,s=n?t.right:t.bottom,u=n?t.width:t.height;return r===l||i===s||r+a/2===l+u/2},mn=function(e,t){var n;return qe.some(function(r){var i=r[N].options.emptyInsertThreshold;if(!(!i||rt(r))){var a=C(r),l=e>=a.left-i&&e<=a.right+i,s=t>=a.top-i&&t<=a.bottom+i;if(l&&s)return n=r}}),n},xt=function(e){function t(i,a){return function(l,s,u,c){var f=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(i==null&&(a||f))return!0;if(i==null||i===!1)return!1;if(a&&i==="clone")return i;if(typeof i=="function")return t(i(l,s,u,c),a)(l,s,u,c);var m=(a?l:s).options.group.name;return i===!0||typeof i=="string"&&i===m||i.join&&i.indexOf(m)>-1}}var n={},r=e.group;(!r||Me(r)!="object")&&(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Pt=function(){!Ot&&g&&h(g,"display","none")},Nt=function(){!Ot&&g&&h(g,"display","")};We&&!Et&&document.addEventListener("click",function(o){if(Ye)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),Ye=!1,!1},!0);var ie=function(e){if(d){e=e.touches?e.touches[0]:e;var t=mn(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[N]._onDragOver(n)}}},vn=function(e){d&&d.parentNode[N]._isOutsideThisEl(e.target)};function p(o,e){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=e=$({},e),o[N]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return At(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&!we,emptyInsertThreshold:5};Ie.initializePlugins(this,o,t);for(var n in t)!(n in e)&&(e[n]=t[n]);xt(e);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=e.forceFallback?!1:pn,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?y(o,"pointerdown",this._onTapStart):(y(o,"mousedown",this._onTapStart),y(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(y(o,"dragover",this),y(o,"dragenter",this)),qe.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),$(this,un())}p.prototype={constructor:p,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(se=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,d):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,a=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(Tn(n),!d&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||r.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&we&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=G(s,r.draggable,n,!1),!(s&&s.animated)&&Fe!==s)){if(de=B(s),_e=B(s,r.draggable),typeof c=="function"){if(c.call(this,e,s,this)){x({sortable:t,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),P("filter",t,{evt:e}),i&&e.cancelable&&e.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=G(u,f.trim(),n,!1),f)return x({sortable:t,rootEl:f,name:"filter",targetEl:s,fromEl:n,toEl:n}),P("filter",t,{evt:e}),!0}),c)){i&&e.cancelable&&e.preventDefault();return}r.handle&&!G(u,r.handle,n,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,t,n){var r=this,i=r.el,a=r.options,l=i.ownerDocument,s;if(n&&!d&&n.parentNode===i){var u=C(n);if(D=i,d=n,S=d.parentNode,ae=d.nextSibling,Fe=n,Ae=a.group,p.dragged=d,re={target:d,clientX:(t||e).clientX,clientY:(t||e).clientY},pt=re.clientX-u.left,gt=re.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,d.style["will-change"]="all",s=function(){if(P("delayEnded",r,{evt:e}),p.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!dt&&r.nativeDraggable&&(d.draggable=!0),r._triggerDragStart(e,t),x({sortable:r,name:"choose",originalEvent:e}),R(d,a.chosenClass,!0)},a.ignore.split(",").forEach(function(c){_t(d,c.trim(),Ue)}),y(l,"dragover",ie),y(l,"mousemove",ie),y(l,"touchmove",ie),y(l,"mouseup",r._onDrop),y(l,"touchend",r._onDrop),y(l,"touchcancel",r._onDrop),dt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,d.draggable=!0),P("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Ce||U))){if(p.eventCanceled){this._onDrop();return}y(l,"mouseup",r._disableDelayedDrag),y(l,"touchend",r._disableDelayedDrag),y(l,"touchcancel",r._disableDelayedDrag),y(l,"mousemove",r._delayedDragTouchMoveHandler),y(l,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&y(l,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){d&&Ue(d),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._disableDelayedDrag),b(e,"touchend",this._disableDelayedDrag),b(e,"touchcancel",this._disableDelayedDrag),b(e,"mousemove",this._delayedDragTouchMoveHandler),b(e,"touchmove",this._delayedDragTouchMoveHandler),b(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?y(document,"pointermove",this._onTouchMove):t?y(document,"touchmove",this._onTouchMove):y(document,"mousemove",this._onTouchMove):(y(d,"dragend",this),y(D,"dragstart",this._onDragStart));try{document.selection?ke(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(ue=!1,D&&d){P("dragStarted",this,{evt:t}),this.nativeDraggable&&y(document,"dragover",vn);var n=this.options;!e&&R(d,n.dragClass,!1),R(d,n.ghostClass,!0),p.active=this,e&&this._appendGhost(),x({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(q){this._lastX=q.clientX,this._lastY=q.clientY,Pt();for(var e=document.elementFromPoint(q.clientX,q.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(q.clientX,q.clientY),e!==t);)t=e;if(d.parentNode[N]._isOutsideThisEl(e),t)do{if(t[N]){var n=void 0;if(n=t[N]._onDragOver({clientX:q.clientX,clientY:q.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=Dt(t));Nt()}},_onTouchMove:function(e){if(re){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=g&&fe(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Pe&&O&&ht(O),c=(i.clientX-re.clientX+r.x)/(l||1)+(u?u[0]-$e[0]:0)/(l||1),f=(i.clientY-re.clientY+r.y)/(s||1)+(u?u[1]-$e[1]:0)/(s||1);if(!p.active&&!ue){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(g){a?(a.e+=c-(ze||0),a.f+=f-(Ve||0)):a={a:1,b:0,c:0,d:1,e:c,f};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",m),h(g,"mozTransform",m),h(g,"msTransform",m),h(g,"transform",m),ze=c,Ve=f,q=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!g){var e=this.options.fallbackOnBody?document.body:D,t=C(d,!0,Pe,!0,e),n=this.options;if(Pe){for(O=e;h(O,"position")==="static"&&h(O,"transform")==="none"&&O!==document;)O=O.parentNode;O!==document.body&&O!==document.documentElement?(O===document&&(O=W()),t.top+=O.scrollTop,t.left+=O.scrollLeft):O=W(),$e=ht(O)}g=d.cloneNode(!0),R(g,n.ghostClass,!1),R(g,n.fallbackClass,!0),R(g,n.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",t.top),h(g,"left",t.left),h(g,"width",t.width),h(g,"height",t.height),h(g,"opacity","0.8"),h(g,"position",Pe?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,e.appendChild(g),h(g,"transform-origin",pt/parseInt(g.style.width)*100+"% "+gt/parseInt(g.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;if(P("dragStart",this,{evt:e}),p.eventCanceled){this._onDrop();return}P("setupClone",this),p.eventCanceled||(_=Ct(d),_.removeAttribute("id"),_.draggable=!1,_.style["will-change"]="",this._hideClone(),R(_,this.options.chosenClass,!1),p.clone=_),n.cloneId=ke(function(){P("clone",n),!p.eventCanceled&&(n.options.removeCloneOnHide||D.insertBefore(_,d),n._hideClone(),x({sortable:n,name:"clone"}))}),!t&&R(d,i.dragClass,!0),t?(Ye=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,d)),y(document,"drop",n),h(d,"transform","translateZ(0)")),ue=!0,n._dragStartId=ke(n._dragStarted.bind(n,t,e)),y(document,"selectstart",n),be=!0,we&&h(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,n=e.target,r,i,a,l=this.options,s=l.group,u=p.active,c=Ae===s,f=l.sort,m=I||u,w,v=this,E=!1;if(et)return;function X(ve,Ft){P(ve,v,L({evt:e,isOwner:c,axis:w?"vertical":"horizontal",revert:a,dragRect:r,targetRect:i,canSort:f,fromSortable:m,target:n,completed:A,onMove:function(lt,Rt){return Ne(D,t,d,r,lt,C(lt),e,Rt)},changed:Y},Ft))}function j(){X("dragOverAnimationCapture"),v.captureAnimationState(),v!==m&&m.captureAnimationState()}function A(ve){return X("dragOverCompleted",{insertion:ve}),ve&&(c?u._hideClone():u._showClone(v),v!==m&&(R(d,I?I.options.ghostClass:u.options.ghostClass,!1),R(d,l.ghostClass,!0)),I!==v&&v!==p.active?I=v:v===p.active&&I&&(I=null),m===v&&(v._ignoreWhileAnimating=n),v.animateAll(function(){X("dragOverAnimationComplete"),v._ignoreWhileAnimating=null}),v!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(n===d&&!d.animated||n===t&&!n.animated)&&(se=null),!l.dragoverBubble&&!e.rootEl&&n!==document&&(d.parentNode[N]._isOutsideThisEl(e.target),!ve&&ie(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),E=!0}function Y(){k=B(d),Q=B(d,l.draggable),x({sortable:v,name:"change",toEl:t,newIndex:k,newDraggableIndex:Q,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=G(n,l.draggable,t,!0),X("dragOver"),p.eventCanceled)return E;if(d.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||v._ignoreWhileAnimating===n)return A(!1);if(Ye=!1,u&&!l.disabled&&(c?f||(a=S!==D):I===this||(this.lastPutMode=Ae.checkPull(this,u,d,e))&&s.checkPut(this,u,d,e))){if(w=this._getDirection(e,n)==="vertical",r=C(d),X("dragOverValid"),p.eventCanceled)return E;if(a)return S=D,j(),this._hideClone(),X("revert"),p.eventCanceled||(ae?D.insertBefore(d,ae):D.appendChild(d)),A(!0);var M=rt(t,l.draggable);if(!M||wn(e,w,this)&&!M.animated){if(M===d)return A(!1);if(M&&t===e.target&&(n=M),n&&(i=C(n)),Ne(D,t,d,r,n,i,e,!!n)!==!1)return j(),M&&M.nextSibling?t.insertBefore(d,M.nextSibling):t.appendChild(d),S=t,Y(),A(!0)}else if(M&&En(e,w,this)){var te=ce(t,0,l,!0);if(te===d)return A(!1);if(n=te,i=C(n),Ne(D,t,d,r,n,i,e,!1)!==!1)return j(),t.insertBefore(d,te),S=t,Y(),A(!0)}else if(n.parentNode===t){i=C(n);var H=0,ne,he=d.parentNode!==t,F=!gn(d.animated&&d.toRect||r,n.animated&&n.toRect||i,w),pe=w?"top":"left",K=ct(n,"top","top")||ct(d,"top","top"),ge=K?K.scrollTop:void 0;se!==n&&(ne=i[pe],Te=!1,xe=!F&&l.invertSwap||he),H=Dn(e,n,i,w,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,xe,se===n);var z;if(H!==0){var oe=B(d);do oe-=H,z=S.children[oe];while(z&&(h(z,"display")==="none"||z===g))}if(H===0||z===n)return A(!1);se=n,Se=H;var me=n.nextElementSibling,Z=!1;Z=H===1;var Oe=Ne(D,t,d,r,n,i,e,Z);if(Oe!==!1)return(Oe===1||Oe===-1)&&(Z=Oe===1),et=!0,setTimeout(yn,30),j(),Z&&!me?t.appendChild(d):n.parentNode.insertBefore(d,Z?me:n),K&&Tt(K,0,ge-K.scrollTop),S=d.parentNode,ne!==void 0&&!xe&&(Re=Math.abs(ne-C(n)[pe])),Y(),A(!0)}if(t.contains(d))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",ie),b(document,"mousemove",ie),b(document,"touchmove",ie)},_offUpEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._onDrop),b(e,"touchend",this._onDrop),b(e,"pointerup",this._onDrop),b(e,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;if(k=B(d),Q=B(d,n.draggable),P("drop",this,{evt:e}),S=d&&d.parentNode,k=B(d),Q=B(d,n.draggable),p.eventCanceled){this._nulling();return}ue=!1,xe=!1,Te=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),tt(this.cloneId),tt(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),we&&h(document.body,"user-select",""),h(d,"transform",""),e&&(be&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(D===S||I&&I.lastPutMode!=="clone")&&_&&_.parentNode&&_.parentNode.removeChild(_),d&&(this.nativeDraggable&&b(d,"dragend",this),Ue(d),d.style["will-change"]="",be&&!ue&&R(d,I?I.options.ghostClass:this.options.ghostClass,!1),R(d,this.options.chosenClass,!1),x({sortable:this,name:"unchoose",toEl:S,newIndex:null,newDraggableIndex:null,originalEvent:e}),D!==S?(k>=0&&(x({rootEl:S,name:"add",toEl:S,fromEl:D,originalEvent:e}),x({sortable:this,name:"remove",toEl:S,originalEvent:e}),x({rootEl:S,name:"sort",toEl:S,fromEl:D,originalEvent:e}),x({sortable:this,name:"sort",toEl:S,originalEvent:e})),I&&I.save()):k!==de&&k>=0&&(x({sortable:this,name:"update",toEl:S,originalEvent:e}),x({sortable:this,name:"sort",toEl:S,originalEvent:e})),p.active&&((k==null||k===-1)&&(k=de,Q=_e),x({sortable:this,name:"end",toEl:S,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){P("nulling",this),D=d=S=g=ae=_=Fe=J=re=q=be=k=Q=de=_e=se=Se=I=Ae=p.dragged=p.ghost=p.clone=p.active=null,Ge.forEach(function(e){e.checked=!0}),Ge.length=ze=Ve=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":d&&(this._onDragOver(e),bn(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,r=0,i=n.length,a=this.options;r<i;r++)t=n[r],G(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||Sn(t));return e},sort:function(e,t){var n={},r=this.el;this.toArray().forEach(function(i,a){var l=r.children[a];G(l,this.options.draggable,r,!1)&&(n[i]=l)},this),t&&this.captureAnimationState(),e.forEach(function(i){n[i]&&(r.removeChild(n[i]),r.appendChild(n[i]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return G(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var r=Ie.modifyOption(this,e,t);typeof r<"u"?n[e]=r:n[e]=t,e==="group"&&xt(n)},destroy:function(){P("destroy",this);var e=this.el;e[N]=null,b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart),b(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),qe.splice(qe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!J){if(P("hideClone",this),p.eventCanceled)return;h(_,"display","none"),this.options.removeCloneOnHide&&_.parentNode&&_.parentNode.removeChild(_),J=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(J){if(P("showClone",this),p.eventCanceled)return;d.parentNode==D&&!this.options.group.revertClone?D.insertBefore(_,d):ae?D.insertBefore(_,ae):D.appendChild(_),this.options.group.revertClone&&this.animate(d,_),h(_,"display",""),J=!1}}};function bn(o){o.dataTransfer&&(o.dataTransfer.dropEffect="move"),o.cancelable&&o.preventDefault()}function Ne(o,e,t,n,r,i,a,l){var s,u=o[N],c=u.options.onMove,f;return window.CustomEvent&&!U&&!Ce?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=o,s.dragged=t,s.draggedRect=n,s.related=r||e,s.relatedRect=i||C(e),s.willInsertAfter=l,s.originalEvent=a,o.dispatchEvent(s),c&&(f=c.call(u,s,a)),f}function Ue(o){o.draggable=!1}function yn(){et=!1}function En(o,e,t){var n=C(ce(t.el,0,t.options,!0)),r=It(t.el,t.options,g),i=10;return e?o.clientX<r.left-i||o.clientY<n.top&&o.clientX<n.right:o.clientY<r.top-i||o.clientY<n.bottom&&o.clientX<n.left}function wn(o,e,t){var n=C(rt(t.el,t.options.draggable)),r=It(t.el,t.options,g),i=10;return e?o.clientX>r.right+i||o.clientY>n.bottom&&o.clientX>n.left:o.clientY>r.bottom+i||o.clientX>n.right&&o.clientY>n.top}function Dn(o,e,t,n,r,i,a,l){var s=n?o.clientY:o.clientX,u=n?t.height:t.width,c=n?t.top:t.left,f=n?t.bottom:t.right,m=!1;if(!a){if(l&&Re<u*r){if(!Te&&(Se===1?s>c+u*i/2:s<f-u*i/2)&&(Te=!0),Te)m=!0;else if(Se===1?s<c+Re:s>f-Re)return-Se}else if(s>c+u*(1-r)/2&&s<f-u*(1-r)/2)return _n(e)}return m=m||a,m&&(s<c+u*i/2||s>f-u*i/2)?s>c+u/2?1:-1:0}function _n(o){return B(d)<B(o)?1:-1}function Sn(o){for(var e=o.tagName+o.className+o.src+o.href+o.textContent,t=e.length,n=0;t--;)n+=e.charCodeAt(t);return n.toString(36)}function Tn(o){Ge.length=0;for(var e=o.getElementsByTagName("input"),t=e.length;t--;){var n=e[t];n.checked&&Ge.push(n)}}function ke(o){return setTimeout(o,0)}function tt(o){return clearTimeout(o)}We&&y(document,"touchmove",function(o){(p.active||ue)&&o.cancelable&&o.preventDefault()});p.utils={on:y,off:b,css:h,find:_t,is:function(e,t){return!!G(e,t,e,!1)},extend:ln,throttle:St,closest:G,toggleClass:R,clone:Ct,index:B,nextTick:ke,cancelNextTick:tt,detectDirection:At,getChild:ce,expando:N};p.get=function(o){return o[N]};p.mount=function(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(p.utils=L(L({},p.utils),n.utils)),Ie.mount(n)})};p.create=function(o,e){return new p(o,e)};p.version=rn;var T=[],ye,nt,ot=!1,Ke,Ze,He,Ee;function Cn(){function o(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return o.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):this.options.supportPointer?y(document,"pointermove",this._handleFallbackAutoScroll):n.touches?y(document,"touchmove",this._handleFallbackAutoScroll):y(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),vt(),Be(),sn()},nulling:function(){He=nt=ye=ot=Ee=Ke=Ze=null,T.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var r=this,i=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(i,a);if(He=t,n||this.options.forceAutoScrollFallback||Ce||U||we){Qe(t,this.options,l,n);var s=ee(l,!0);ot&&(!Ee||i!==Ke||a!==Ze)&&(Ee&&vt(),Ee=setInterval(function(){var u=ee(document.elementFromPoint(i,a),!0);u!==s&&(s=u,Be()),Qe(t,r.options,u,n)},10),Ke=i,Ze=a)}else{if(!this.options.bubbleScroll||ee(l,!0)===W()){Be();return}Qe(t,this.options,ee(l,!1),!1)}}},$(o,{pluginName:"scroll",initializeByDefault:!0})}function Be(){T.forEach(function(o){clearInterval(o.pid)}),T=[]}function vt(){clearInterval(Ee)}var Qe=St(function(o,e,t,n){if(e.scroll){var r=(o.touches?o.touches[0]:o).clientX,i=(o.touches?o.touches[0]:o).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,s=W(),u=!1,c;nt!==t&&(nt=t,Be(),ye=e.scroll,c=e.scrollFn,ye===!0&&(ye=ee(t,!0)));var f=0,m=ye;do{var w=m,v=C(w),E=v.top,X=v.bottom,j=v.left,A=v.right,Y=v.width,M=v.height,te=void 0,H=void 0,ne=w.scrollWidth,he=w.scrollHeight,F=h(w),pe=w.scrollLeft,K=w.scrollTop;w===s?(te=Y<ne&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),H=M<he&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(te=Y<ne&&(F.overflowX==="auto"||F.overflowX==="scroll"),H=M<he&&(F.overflowY==="auto"||F.overflowY==="scroll"));var ge=te&&(Math.abs(A-r)<=a&&pe+Y<ne)-(Math.abs(j-r)<=a&&!!pe),z=H&&(Math.abs(X-i)<=a&&K+M<he)-(Math.abs(E-i)<=a&&!!K);if(!T[f])for(var oe=0;oe<=f;oe++)T[oe]||(T[oe]={});(T[f].vx!=ge||T[f].vy!=z||T[f].el!==w)&&(T[f].el=w,T[f].vx=ge,T[f].vy=z,clearInterval(T[f].pid),(ge!=0||z!=0)&&(u=!0,T[f].pid=setInterval((function(){n&&this.layer===0&&p.active._onTouchMove(He);var me=T[this.layer].vy?T[this.layer].vy*l:0,Z=T[this.layer].vx?T[this.layer].vx*l:0;typeof c=="function"&&c.call(p.dragged.parentNode[N],Z,me,o,He,T[this.layer].el)!=="continue"||Tt(T[this.layer].el,Z,me)}).bind({layer:f}),24))),f++}while(e.bubbleScroll&&m!==s&&(m=ee(m,!1)));ot=u}},30),Mt=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var u=n||i;l();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,f=document.elementFromPoint(c.clientX,c.clientY);s(),u&&!u.el.contains(f)&&(a("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function it(){}it.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=ce(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:Mt};$(it,{pluginName:"revertOnSpill"});function at(){}at.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,r=n||this.sortable;r.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),r.animateAll()},drop:Mt};$(at,{pluginName:"removeOnSpill"});p.mount(new Cn);p.mount(at,it);function In(o,e,t={}){let n;const{document:r=Jt,...i}=t,a={onUpdate:c=>{On(e,c.oldIndex,c.newIndex)}},l=()=>{const c=typeof o=="string"?r?.querySelector(o):en(o);!c||n!==void 0||(n=new p(c,{...a,...i}))},s=()=>{n?.destroy(),n=void 0},u=(c,f)=>{if(f!==void 0)n?.option(c,f);else return n?.option(c)};return Qt(l),Ut(s),{stop:s,start:l,option:u}}function On(o,e,t){const n=Gt(o),r=n?[...Je(o)]:Je(o);if(t>=0&&t<r.length){const i=r.splice(e,1)[0];bt(()=>{r.splice(t,0,i),n&&(o.value=r)})}}const An=Ht({__name:"DpDraggable",props:{contentData:{type:Array,required:!0},dragAcrossBranches:{type:Boolean,required:!1,default:!0},isDraggable:{type:Boolean,required:!1,default:!0},draggableTag:{type:String,required:!1,default:"div"},groupId:{type:String,required:!1,default:"noIdGiven"},handleChange:{type:Function,required:!1,default:()=>{}},handleDrag:{type:Function,required:!1,default:()=>{}},nodeId:{type:String,required:!1,default:null},onMove:{type:Function,required:!1,default:()=>!0},opts:{type:Object,required:!1,default:()=>({})}},emits:["add","end"],setup(o,{emit:e}){const t=o,n=e,r=st(null),i=st([]);i.value=t.contentData??[];const{option:a}=In(r,i,{disabled:!t.isDraggable,group:t.dragAcrossBranches?"treelistgroup":t.groupId,onChange:l=>t.handleChange(l,t.nodeId,r),onAdd:()=>n("add"),onEnd:l=>{const s=i.value[l.oldIndex];t.handleDrag("end",l,s,t.nodeId),n("end",l,s,t.nodeId)},onMove:l=>{const s=l.related.id,u=s===t.groupId||s==="treelistgroup";t.onMove(l,u,t.groupId)},onStart:l=>t.handleDrag("start",l),...t.opts});return Wt(()=>t.isDraggable,()=>{a("disabled",!t.isDraggable)}),(l,s)=>(Vt(),Lt(zt(o.draggableTag),{id:o.groupId,ref_key:"wrapper",ref:r},{default:jt(()=>[$t(l.$slots,"default")]),_:3},8,["id"]))}});An.__docgenInfo={exportName:"default",displayName:"DpDraggable",description:"",tags:{},props:[{name:"contentData",type:{name:"array"},required:!0},{name:"dragAcrossBranches",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"isDraggable",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"draggableTag",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'div'"}},{name:"groupId",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'noIdGiven'"}},{name:"handleChange",type:{name:"func"},required:!1,defaultValue:{func:!0,value:"() => undefined"}},{name:"handleDrag",type:{name:"func"},required:!1,defaultValue:{func:!0,value:"() => undefined"}},{name:"nodeId",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"null"}},{name:"onMove",type:{name:"func"},required:!1,defaultValue:{func:!0,value:"() => true"}},{name:"opts",type:{name:"object"},required:!1,defaultValue:{func:!1,value:"{}"}}],events:[{name:"add"},{name:"end"}],slots:[{name:"default"}],sourceFiles:["/home/florian/Dev/demosplan-ui/src/components/DpDraggable/DpDraggable.vue"]};export{An as _};
|