@zyzgroup/core-vue 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +2 -0
  2. package/ce/style.css +1 -1
  3. package/ce/yz_custom_element.iife.js +37 -78
  4. package/ce/yz_custom_element.iife.js.map +1 -1
  5. package/ce/yz_custom_element.js +9434 -41986
  6. package/ce/yz_custom_element.js.map +1 -1
  7. package/ce/yz_custom_element.umd.cjs +37 -78
  8. package/ce/yz_custom_element.umd.cjs.map +1 -1
  9. package/dist/style.css +1 -1
  10. package/dist/zyzgroup_core_vue.iife.js +32 -55
  11. package/dist/zyzgroup_core_vue.iife.js.map +1 -0
  12. package/dist/zyzgroup_core_vue.js +7629 -38412
  13. package/dist/zyzgroup_core_vue.js.map +1 -0
  14. package/dist/zyzgroup_core_vue.umd.cjs +32 -55
  15. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -0
  16. package/package.json +5 -5
  17. package/types/components/Button.ce.vue.d.ts +13 -15
  18. package/types/components/Button.vue.d.ts +13 -15
  19. package/types/components/CheckboxGroup.ce.vue.d.ts +79 -0
  20. package/types/components/CheckboxGroup.vue.d.ts +79 -0
  21. package/types/components/ColorPicker.ce.vue.d.ts +41 -0
  22. package/types/components/ColorPicker.vue.d.ts +41 -0
  23. package/types/components/Dialog.ce.vue.d.ts +12 -8
  24. package/types/components/Dialog.vue.d.ts +12 -8
  25. package/types/components/DialogLoading.ce.vue.d.ts +28 -7
  26. package/types/components/DialogLoading.vue.d.ts +28 -7
  27. package/types/components/MapTianditu.ce.vue.d.ts +67 -0
  28. package/types/components/MapTianditu.vue.d.ts +67 -0
  29. package/types/components/MobileLayout.ce.vue.d.ts +1 -1
  30. package/types/components/MobileLayout.vue.d.ts +1 -1
  31. package/types/components/Overlay.ce.vue.d.ts +40 -0
  32. package/types/components/Overlay.vue.d.ts +40 -0
  33. package/types/components/PlateDisplay.ce.vue.d.ts +37 -0
  34. package/types/components/PlateDisplay.vue.d.ts +37 -0
  35. package/types/components/PlateKeyboard.ce.vue.d.ts +45 -0
  36. package/types/components/PlateKeyboard.vue.d.ts +45 -0
  37. package/types/components/PlateMobile.ce.vue.d.ts +35 -0
  38. package/types/components/PlateMobile.vue.d.ts +35 -0
  39. package/types/components/Pop.ce.vue.d.ts +62 -0
  40. package/types/components/Pop.vue.d.ts +62 -0
  41. package/types/components/Popover.ce.vue.d.ts +37 -0
  42. package/types/components/Popover.vue.d.ts +37 -0
  43. package/types/components/PopoverHeadlessUI.ce.vue.d.ts +10 -0
  44. package/types/components/PopoverHeadlessUI.vue.d.ts +10 -0
  45. package/types/components/RadioGroup.ce.vue.d.ts +79 -0
  46. package/types/components/RadioGroup.vue.d.ts +79 -0
  47. package/types/components/ResizeObserver.ce.vue.d.ts +37 -0
  48. package/types/components/ResizeObserver.vue.d.ts +37 -0
  49. package/types/components/Select.ce.vue.d.ts +31 -4
  50. package/types/components/Select.vue.d.ts +31 -4
  51. package/types/components/SlideLeftItem.ce.vue.d.ts +60 -0
  52. package/types/components/SlideLeftItem.vue.d.ts +60 -0
  53. package/types/components/Switch.ce.vue.d.ts +63 -0
  54. package/types/components/Switch.vue.d.ts +63 -0
  55. package/types/components/Tab.ce.vue.d.ts +30 -0
  56. package/types/components/Tab.vue.d.ts +30 -0
  57. package/types/components/Tabs.ce.vue.d.ts +33 -0
  58. package/types/components/Tabs.vue.d.ts +33 -0
  59. package/types/components/TabsForCE.ce.vue.d.ts +38 -0
  60. package/types/components/TabsForCE.vue.d.ts +38 -0
  61. package/types/components/svg/SVGCheck.ce.vue.d.ts +34 -0
  62. package/types/components/svg/SVGCheck.vue.d.ts +34 -0
  63. package/types/components/svg/SVGCleanUp.ce.vue.d.ts +34 -0
  64. package/types/components/svg/SVGCleanUp.vue.d.ts +34 -0
  65. package/types/components/svg/SVGDelete.ce.vue.d.ts +36 -0
  66. package/types/components/svg/SVGDelete.vue.d.ts +36 -0
  67. package/types/components/svg/SVGFail.ce.vue.d.ts +36 -0
  68. package/types/components/svg/SVGFail.vue.d.ts +36 -0
  69. package/types/components/svg/SVGHome.ce.vue.d.ts +36 -0
  70. package/types/components/svg/SVGHome.vue.d.ts +36 -0
  71. package/types/components/svg/SVGPrompt.ce.vue.d.ts +36 -0
  72. package/types/components/svg/SVGPrompt.vue.d.ts +36 -0
  73. package/types/components/svg/SVGQuestion.ce.vue.d.ts +36 -0
  74. package/types/components/svg/SVGQuestion.vue.d.ts +36 -0
  75. package/types/components/svg/SVGReturn.ce.vue.d.ts +36 -0
  76. package/types/components/svg/SVGReturn.vue.d.ts +36 -0
  77. package/types/components/svg/SVGSuccess.vue.d.ts +36 -0
  78. package/types/components/svg/SVGWaiting.ce.vue.d.ts +36 -0
  79. package/types/components/svg/SVGWaiting.vue.d.ts +36 -0
  80. package/types/hooks/useWindowSize.d.ts +5 -0
  81. package/types/lib.d.ts +19 -5
  82. package/dist/vite.svg +0 -1
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .icon[data-v-a5ce002f]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}.button[data-v-eb62cbe4]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-eb62cbe4]{display:inline-flex;justify-content:center;align-items:center}@media only screen and (max-width: 300px){html{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html{font-size:100px}}@media only screen and (min-width: 751px){html{font-size:100px}}#page[data-v-aded2ce3]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}#header[data-v-aded2ce3]{position:absolute;left:0;top:0;z-index:200;width:100%}#footer[data-v-aded2ce3]{position:absolute;left:0;bottom:0;z-index:200;width:100%}#main[data-v-aded2ce3]{flex:1 1 auto;overflow-y:scroll;display:flex;flex-direction:column}#main[data-v-aded2ce3]>:nth-child(1){flex:1 1 auto}#left[data-v-aded2ce3]{position:absolute;left:0;top:0;z-index:200;height:100%}#right[data-v-aded2ce3]{position:absolute;right:0;top:0;z-index:200;height:100%}.overlay[data-v-04990eca]{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0}.content[data-v-04990eca]{position:fixed;z-index:2001;top:0;right:0;bottom:0;left:0;overflow-y:auto}.content-inner[data-v-04990eca]{display:flex;min-height:100%;align-items:center;justify-content:center;text-align:center}.panel[data-v-04990eca]{border-radius:1em;vertical-align:middle;min-width:20em;max-width:50%;overflow:hidden}.title[data-v-04990eca]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-04990eca]{font-weight:700;min-height:20px;padding:0 2em}.close[data-v-04990eca]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em}.custom-content[data-v-04990eca]{font-size:16px;padding:1em;word-break:break-all}.btns[data-v-04990eca]{display:flex;justify-content:center}.btn[data-v-04990eca]{flex:1 1 auto;border-radius:0}svg[data-v-294be3ac]{transform-origin:center;animation:rotate-294be3ac 2s linear infinite}circle[data-v-294be3ac]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-294be3ac 1.5s ease-in-out infinite}@keyframes rotate-294be3ac{to{transform:rotate(360deg)}}@keyframes dash-294be3ac{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}.loading[data-v-4c219302]{display:flex;flex-direction:column;justify-content:center;align-items:center}.icon[data-v-4c219302]{padding:2em 0}.content[data-v-4c219302]{font-size:1em;margin-top:-1em;margin-bottom:1em}.select[data-v-258e6373]{display:inline-block;vertical-align:middle;line-height:1.4;padding:.2em .5em;border-radius:.2em;cursor:pointer}.wrap[data-v-02a8e28b]{display:inline-block;position:relative}.button[data-v-02a8e28b]{position:relative;width:100%;border-width:0;display:flex;justify-content:center;padding:0}.options[data-v-02a8e28b]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box}.option[data-v-02a8e28b]{cursor:pointer}.option-inner[data-v-02a8e28b]{padding:.5em 1em .5em 1.8em;display:flex;justify-content:flex-start;align-items:center;position:relative}.icon[data-v-02a8e28b]{position:absolute;left:.5em;top:50%;transform:translateY(-50%)}.group[data-v-42bb4f09]{display:flex;align-items:center}.switch[data-v-42bb4f09]{flex:0 0 auto;position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-42bb4f09]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}.wrap[data-v-d04f0028]{display:inline-block;position:relative}.item[data-v-d04f0028]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-d04f0028]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}.wrap[data-v-c02b38b7]{width:100%}.tablist[data-v-c02b38b7],.tab[data-v-c02b38b7]{display:flex;justify-content:flex-start}
1
+ .icon[data-v-8789b4ce]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}.button[data-v-bfabd99a]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-bfabd99a]{display:inline-flex;justify-content:center;align-items:center}@media only screen and (max-width: 300px){html{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html{font-size:100px}}@media only screen and (min-width: 751px){html{font-size:100px}}#page[data-v-aea09f8f]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}#header[data-v-aea09f8f]{position:absolute;left:0;top:0;z-index:200;width:100%}#footer[data-v-aea09f8f]{position:absolute;left:0;bottom:0;z-index:200;width:100%}#main[data-v-aea09f8f]{flex:1 1 auto;overflow-y:scroll;display:flex;flex-direction:column}#main[data-v-aea09f8f]>:nth-child(1){flex:1 1 auto}#left[data-v-aea09f8f]{position:absolute;left:0;top:0;z-index:200;height:100%}#right[data-v-aea09f8f]{position:absolute;right:0;top:0;z-index:200;height:100%}.dialog-wrap[data-v-002ae342]{display:flex;justify-content:center;align-items:center}.dialog[data-v-002ae342]{border-radius:8px;background-color:#fff;min-width:20em;max-width:50%;overflow:hidden}.title[data-v-002ae342]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-002ae342]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-002ae342]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em}.custom-content[data-v-002ae342]{font-size:16px;padding:1em;word-break:break-all}.btns[data-v-002ae342]{display:flex;justify-content:center}.btn[data-v-002ae342]{flex:1 1 auto;border-radius:0}svg[data-v-29f8de14]{transform-origin:center;animation:rotate-29f8de14 2s linear infinite}circle[data-v-29f8de14]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-29f8de14 1.5s ease-in-out infinite}@keyframes rotate-29f8de14{to{transform:rotate(360deg)}}@keyframes dash-29f8de14{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}.loading[data-v-d2aea832]{display:flex;flex-direction:column;justify-content:center;align-items:center}.icon[data-v-d2aea832]{padding:2em 0}.content[data-v-d2aea832]{font-size:1em;margin-top:-1em;margin-bottom:1em}.wrap[data-v-fa343805]{display:inline-block;position:relative}.button[data-v-fa343805]{position:relative;width:100%;border-width:0;display:flex;justify-content:center;padding:0}.options[data-v-fa343805]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box}.option[data-v-fa343805]{cursor:pointer}.option-inner[data-v-fa343805]{padding:.5em 1em .5em .5em;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--select-option-bg-color)}.option-inner[data-v-fa343805]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-fa343805]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}.switch[data-v-2f656d49]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-2f656d49]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}.wrap[data-v-18ca2a3d]{display:inline-block;position:relative}.item[data-v-18ca2a3d]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-18ca2a3d]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}.wrap[data-v-2616b69e]{display:inline-block;position:relative}.item[data-v-2616b69e]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-2616b69e]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}.button[data-v-ac12603f]{display:inline-block;vertical-align:middle;width:1em;height:1em;border-radius:.3em;cursor:pointer}.resize-observer[data-v-97c2da37]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-97c2da37] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}svg[data-v-987aed3d]{transform-origin:center}svg[data-v-85491020]{transform-origin:center}.popup-plate[data-v-6e8b6f81]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-6e8b6f81]{display:none!important}.popup-plate>div[data-v-6e8b6f81]:nth-child(1){display:flex;justify-content:flex-end;background-color:#fff;border-top:1px solid #e6e6e6}.popup-plate>div:nth-child(1)>div[data-v-6e8b6f81]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-6e8b6f81]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-6e8b6f81]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-6e8b6f81]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-6e8b6f81]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-6e8b6f81]{background-color:#eee;display:flex;justify-content:center;align-items:center}.plate-mobile[data-v-50f7545d]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-50f7545d]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-50f7545d]{display:flex;justify-content:center}.plate-types>div[data-v-50f7545d]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-50f7545d]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-50f7545d]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-50f7545d]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-50f7545d]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-50f7545d]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-50f7545d]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-50f7545d]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-50f7545d]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-50f7545d]{margin-left:.1rem}.plate-types>div.checked[data-v-50f7545d]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-50f7545d]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-50f7545d]:nth-child(3){display:block}.plate-numbers[data-v-50f7545d]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-50f7545d]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-50f7545d]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-50f7545d]{margin-left:.1rem}.plate-numbers>div.dot[data-v-50f7545d]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-50f7545d]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}svg[data-v-4747d4a7]{transform-origin:center}.parent[data-v-9ea935aa]{position:relative;overflow:hidden;width:100%}.content[data-v-9ea935aa]{width:100%;height:100%}.delete[data-v-9ea935aa]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}.parent[data-v-8d55b13b]{display:flex;justify-content:center;align-items:center}.leading[data-v-8d55b13b]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:2px}.leading.chinese[data-v-8d55b13b]{padding:4px}.leading.dot[data-v-8d55b13b]{font-size:0;width:14px;height:14px;border-radius:50%}.text[data-v-8d55b13b]{margin-left:5px;margin-right:5px;line-height:1}.tab[data-v-6589e7fa]{overflow-y:auto}.header[data-v-e8093875]{position:relative;display:flex;font-size:14px;line-height:1;color:#999}.header .active[data-v-e8093875]{color:#5a82f0}.header>div[data-v-e8093875]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative}.header>div>div[data-v-e8093875]{box-sizing:border-box;padding:7px 4px}.header>div.indicator[data-v-e8093875]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}