automan-cmd 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +56 -0
  3. package/bin/automan +3 -0
  4. package/bin/automan-build +3 -0
  5. package/bin/automan-config +3 -0
  6. package/bin/automan-create +3 -0
  7. package/bin/automan-publish +3 -0
  8. package/lib/automan-build.js +41 -0
  9. package/lib/automan-config.js +82 -0
  10. package/lib/automan-create.js +137 -0
  11. package/lib/automan-publish.js +331 -0
  12. package/lib/index.js +13 -0
  13. package/lib/install.js.tpl +47 -0
  14. package/lib/util.js +174 -0
  15. package/package.json +37 -0
  16. package/tpl/.babelrc +16 -0
  17. package/tpl/.browserslistrc +3 -0
  18. package/tpl/.eslintignore +2 -0
  19. package/tpl/.eslintrc.js +228 -0
  20. package/tpl/.gitignore.ejs +12 -0
  21. package/tpl/.postcssrc.js +12 -0
  22. package/tpl/README.md +1 -0
  23. package/tpl/changelog.md +1 -0
  24. package/tpl/editor/index.vue +45 -0
  25. package/tpl/icon.png +0 -0
  26. package/tpl/jsconfig.json +7 -0
  27. package/tpl/package.json.ejs +66 -0
  28. package/tpl/preview/app.vue +326 -0
  29. package/tpl/preview/attr/Data.vue +69 -0
  30. package/tpl/preview/attr/Resource.vue +79 -0
  31. package/tpl/preview/attr/com.vue +21 -0
  32. package/tpl/preview/attr/index.js +16 -0
  33. package/tpl/preview/components/Attribute.vue +365 -0
  34. package/tpl/preview/components/FitImg.vue +152 -0
  35. package/tpl/preview/components/ImgViewer.vue +80 -0
  36. package/tpl/preview/components/Loading.vue +55 -0
  37. package/tpl/preview/components/Toast.vue +111 -0
  38. package/tpl/preview/index.js +22 -0
  39. package/tpl/preview/index.tpl +13 -0
  40. package/tpl/preview/lib/ESlog.js +46 -0
  41. package/tpl/preview/lib/Util.js +57 -0
  42. package/tpl/preview/lib/fetch.js +139 -0
  43. package/tpl/preview/lib/index.js +15 -0
  44. package/tpl/preview/lib/vue/filters.js +53 -0
  45. package/tpl/preview/lib/vue/index.js +9 -0
  46. package/tpl/preview/lib/vue/mixin.js +166 -0
  47. package/tpl/preview/mint-ui/message-box/index.js +1503 -0
  48. package/tpl/preview/mint-ui/message-box/style.css +159 -0
  49. package/tpl/preview/mint-ui/popup/index.js +1046 -0
  50. package/tpl/preview/mint-ui/popup/style.css +115 -0
  51. package/tpl/preview/mint-ui/spinner/index.js +657 -0
  52. package/tpl/preview/mint-ui/spinner/style.css +227 -0
  53. package/tpl/preview/mint-ui/swipe/index.js +907 -0
  54. package/tpl/preview/mint-ui/swipe/style.css +43 -0
  55. package/tpl/preview/mint-ui/swipe-item/index.js +171 -0
  56. package/tpl/preview/mint-ui/swipe-item/style.css +1 -0
  57. package/tpl/preview/style.css +126 -0
  58. package/tpl/server.config.js +6 -0
  59. package/tpl/src/assets/css/index.scss +29 -0
  60. package/tpl/src/example.vue +165 -0
  61. package/tpl/src/index.vue.ejs +32 -0
  62. package/tpl/webpack.config.js.ejs +267 -0
  63. package/tpl/yarn.lock +6037 -0
@@ -0,0 +1,115 @@
1
+ .v-modal-enter {
2
+ -webkit-animation: v-modal-in .2s ease;
3
+ animation: v-modal-in .2s ease;
4
+ }
5
+
6
+ .v-modal-leave {
7
+ -webkit-animation: v-modal-out .2s ease forwards;
8
+ animation: v-modal-out .2s ease forwards;
9
+ }
10
+
11
+ @-webkit-keyframes v-modal-in {
12
+ 0% {
13
+ opacity: 0;
14
+ }
15
+ 100% {
16
+ }
17
+ }
18
+
19
+ @keyframes v-modal-in {
20
+ 0% {
21
+ opacity: 0;
22
+ }
23
+ 100% {
24
+ }
25
+ }
26
+
27
+ @-webkit-keyframes v-modal-out {
28
+ 0% {
29
+ }
30
+ 100% {
31
+ opacity: 0;
32
+ }
33
+ }
34
+
35
+ @keyframes v-modal-out {
36
+ 0% {
37
+ }
38
+ 100% {
39
+ opacity: 0;
40
+ }
41
+ }
42
+
43
+ .v-modal {
44
+ position: fixed;
45
+ left: 0;
46
+ top: 0;
47
+ width: 100%;
48
+ height: 100%;
49
+ opacity: 0.5;
50
+ background: #000;
51
+ }
52
+
53
+ .mint-popup {
54
+ position: fixed;
55
+ background: #fff;
56
+ top: 50%;
57
+ left: 50%;
58
+ -webkit-transform: translate3d(-50%, -50%, 0);
59
+ transform: translate3d(-50%, -50%, 0);
60
+ -webkit-backface-visibility: hidden;
61
+ backface-visibility: hidden;
62
+ -webkit-transition: .2s ease-out;
63
+ transition: .2s ease-out;
64
+ }
65
+ .mint-popup-top {
66
+ top: 0;
67
+ right: auto;
68
+ bottom: auto;
69
+ left: 50%;
70
+ -webkit-transform: translate3d(-50%, 0, 0);
71
+ transform: translate3d(-50%, 0, 0);
72
+ }
73
+ .mint-popup-right {
74
+ top: 50%;
75
+ right: 0;
76
+ bottom: auto;
77
+ left: auto;
78
+ -webkit-transform: translate3d(0, -50%, 0);
79
+ transform: translate3d(0, -50%, 0);
80
+ }
81
+ .mint-popup-bottom {
82
+ top: auto;
83
+ right: auto;
84
+ bottom: 0;
85
+ left: 50%;
86
+ -webkit-transform: translate3d(-50%, 0, 0);
87
+ transform: translate3d(-50%, 0, 0);
88
+ }
89
+ .mint-popup-left {
90
+ top: 50%;
91
+ right: auto;
92
+ bottom: auto;
93
+ left: 0;
94
+ -webkit-transform: translate3d(0, -50%, 0);
95
+ transform: translate3d(0, -50%, 0);
96
+ }
97
+ .popup-slide-top-enter, .popup-slide-top-leave-active {
98
+ -webkit-transform: translate3d(-50%, -100%, 0);
99
+ transform: translate3d(-50%, -100%, 0);
100
+ }
101
+ .popup-slide-right-enter, .popup-slide-right-leave-active {
102
+ -webkit-transform: translate3d(100%, -50%, 0);
103
+ transform: translate3d(100%, -50%, 0);
104
+ }
105
+ .popup-slide-bottom-enter, .popup-slide-bottom-leave-active {
106
+ -webkit-transform: translate3d(-50%, 100%, 0);
107
+ transform: translate3d(-50%, 100%, 0);
108
+ }
109
+ .popup-slide-left-enter, .popup-slide-left-leave-active {
110
+ -webkit-transform: translate3d(-100%, -50%, 0);
111
+ transform: translate3d(-100%, -50%, 0);
112
+ }
113
+ .popup-fade-enter, .popup-fade-leave-active {
114
+ opacity: 0;
115
+ }