automan-cmd 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +65 -0
- package/README.md +56 -0
- package/bin/automan +3 -0
- package/bin/automan-build +3 -0
- package/bin/automan-config +3 -0
- package/bin/automan-create +3 -0
- package/bin/automan-publish +3 -0
- package/lib/automan-build.js +41 -0
- package/lib/automan-config.js +82 -0
- package/lib/automan-create.js +137 -0
- package/lib/automan-publish.js +331 -0
- package/lib/index.js +13 -0
- package/lib/install.js.tpl +47 -0
- package/lib/util.js +174 -0
- package/package.json +37 -0
- package/tpl/.babelrc +16 -0
- package/tpl/.browserslistrc +3 -0
- package/tpl/.eslintignore +2 -0
- package/tpl/.eslintrc.js +228 -0
- package/tpl/.gitignore.ejs +12 -0
- package/tpl/.postcssrc.js +12 -0
- package/tpl/README.md +1 -0
- package/tpl/changelog.md +1 -0
- package/tpl/editor/index.vue +45 -0
- package/tpl/icon.png +0 -0
- package/tpl/jsconfig.json +7 -0
- package/tpl/package.json.ejs +66 -0
- package/tpl/preview/app.vue +326 -0
- package/tpl/preview/attr/Data.vue +69 -0
- package/tpl/preview/attr/Resource.vue +79 -0
- package/tpl/preview/attr/com.vue +21 -0
- package/tpl/preview/attr/index.js +16 -0
- package/tpl/preview/components/Attribute.vue +365 -0
- package/tpl/preview/components/FitImg.vue +152 -0
- package/tpl/preview/components/ImgViewer.vue +80 -0
- package/tpl/preview/components/Loading.vue +55 -0
- package/tpl/preview/components/Toast.vue +111 -0
- package/tpl/preview/index.js +22 -0
- package/tpl/preview/index.tpl +13 -0
- package/tpl/preview/lib/ESlog.js +46 -0
- package/tpl/preview/lib/Util.js +57 -0
- package/tpl/preview/lib/fetch.js +139 -0
- package/tpl/preview/lib/index.js +15 -0
- package/tpl/preview/lib/vue/filters.js +53 -0
- package/tpl/preview/lib/vue/index.js +9 -0
- package/tpl/preview/lib/vue/mixin.js +166 -0
- package/tpl/preview/mint-ui/message-box/index.js +1503 -0
- package/tpl/preview/mint-ui/message-box/style.css +159 -0
- package/tpl/preview/mint-ui/popup/index.js +1046 -0
- package/tpl/preview/mint-ui/popup/style.css +115 -0
- package/tpl/preview/mint-ui/spinner/index.js +657 -0
- package/tpl/preview/mint-ui/spinner/style.css +227 -0
- package/tpl/preview/mint-ui/swipe/index.js +907 -0
- package/tpl/preview/mint-ui/swipe/style.css +43 -0
- package/tpl/preview/mint-ui/swipe-item/index.js +171 -0
- package/tpl/preview/mint-ui/swipe-item/style.css +1 -0
- package/tpl/preview/style.css +126 -0
- package/tpl/server.config.js +6 -0
- package/tpl/src/assets/css/index.scss +29 -0
- package/tpl/src/example.vue +165 -0
- package/tpl/src/index.vue.ejs +32 -0
- package/tpl/webpack.config.js.ejs +267 -0
- package/tpl/yarn.lock +6037 -0
@@ -0,0 +1,159 @@
|
|
1
|
+
|
2
|
+
.mint-msgbox {
|
3
|
+
position: fixed;
|
4
|
+
top: 50%;
|
5
|
+
left: 50%;
|
6
|
+
-webkit-transform: translate3d(-50%, -50%, 0);
|
7
|
+
transform: translate3d(-50%, -50%, 0);
|
8
|
+
background-color: #fff;
|
9
|
+
width: 85%;
|
10
|
+
border-radius: 3px;
|
11
|
+
font-size: 16px;
|
12
|
+
-webkit-user-select: none;
|
13
|
+
overflow: hidden;
|
14
|
+
-webkit-backface-visibility: hidden;
|
15
|
+
backface-visibility: hidden;
|
16
|
+
-webkit-transition: .2s;
|
17
|
+
transition: .2s;
|
18
|
+
}
|
19
|
+
.mint-msgbox-header {
|
20
|
+
padding: 15px 0 0;
|
21
|
+
}
|
22
|
+
.mint-msgbox-content {
|
23
|
+
padding: 10px 20px 15px;
|
24
|
+
border-bottom: 1px solid #ddd;
|
25
|
+
min-height: 36px;
|
26
|
+
position: relative;
|
27
|
+
}
|
28
|
+
.mint-msgbox-input {
|
29
|
+
padding-top: 15px;
|
30
|
+
}
|
31
|
+
.mint-msgbox-input input {
|
32
|
+
border: 1px solid #dedede;
|
33
|
+
border-radius: 5px;
|
34
|
+
padding: 4px 5px;
|
35
|
+
width: 100%;
|
36
|
+
-webkit-appearance: none;
|
37
|
+
-moz-appearance: none;
|
38
|
+
appearance: none;
|
39
|
+
outline: none;
|
40
|
+
}
|
41
|
+
.mint-msgbox-input input.invalid {
|
42
|
+
border-color: #ff4949;
|
43
|
+
}
|
44
|
+
.mint-msgbox-input input.invalid:focus {
|
45
|
+
border-color: #ff4949;
|
46
|
+
}
|
47
|
+
.mint-msgbox-errormsg {
|
48
|
+
color: red;
|
49
|
+
font-size: 12px;
|
50
|
+
min-height: 18px;
|
51
|
+
margin-top: 2px;
|
52
|
+
}
|
53
|
+
.mint-msgbox-title {
|
54
|
+
text-align: center;
|
55
|
+
padding-left: 0;
|
56
|
+
margin-bottom: 0;
|
57
|
+
font-size: 16px;
|
58
|
+
font-weight: 700;
|
59
|
+
color: #333;
|
60
|
+
}
|
61
|
+
.mint-msgbox-message {
|
62
|
+
color: #999;
|
63
|
+
margin: 0;
|
64
|
+
text-align: center;
|
65
|
+
line-height: 36px;
|
66
|
+
}
|
67
|
+
.mint-msgbox-btns {
|
68
|
+
display: -webkit-box;
|
69
|
+
display: -ms-flexbox;
|
70
|
+
display: flex;
|
71
|
+
height: 40px;
|
72
|
+
line-height: 40px;
|
73
|
+
}
|
74
|
+
.mint-msgbox-btn {
|
75
|
+
line-height: 35px;
|
76
|
+
display: block;
|
77
|
+
background-color: #fff;
|
78
|
+
-webkit-box-flex: 1;
|
79
|
+
-ms-flex: 1;
|
80
|
+
flex: 1;
|
81
|
+
margin: 0;
|
82
|
+
border: 0;
|
83
|
+
}
|
84
|
+
.mint-msgbox-btn:focus {
|
85
|
+
outline: none;
|
86
|
+
}
|
87
|
+
.mint-msgbox-btn:active {
|
88
|
+
background-color: #fff;
|
89
|
+
}
|
90
|
+
.mint-msgbox-cancel {
|
91
|
+
width: 50%;
|
92
|
+
border-right: 1px solid #ddd;
|
93
|
+
}
|
94
|
+
.mint-msgbox-cancel:active {
|
95
|
+
color: #000;
|
96
|
+
}
|
97
|
+
.mint-msgbox-confirm {
|
98
|
+
color: #fc8700;
|
99
|
+
width: 50%;
|
100
|
+
}
|
101
|
+
.mint-msgbox-confirm:active {
|
102
|
+
color: #fc8700;
|
103
|
+
}
|
104
|
+
.msgbox-bounce-enter {
|
105
|
+
opacity: 0;
|
106
|
+
-webkit-transform: translate3d(-50%, -50%, 0) scale(0.7);
|
107
|
+
transform: translate3d(-50%, -50%, 0) scale(0.7);
|
108
|
+
}
|
109
|
+
.msgbox-bounce-leave-active {
|
110
|
+
opacity: 0;
|
111
|
+
-webkit-transform: translate3d(-50%, -50%, 0) scale(0.9);
|
112
|
+
transform: translate3d(-50%, -50%, 0) scale(0.9);
|
113
|
+
}
|
114
|
+
|
115
|
+
.v-modal-enter {
|
116
|
+
-webkit-animation: v-modal-in .2s ease;
|
117
|
+
animation: v-modal-in .2s ease;
|
118
|
+
}
|
119
|
+
.v-modal-leave {
|
120
|
+
-webkit-animation: v-modal-out .2s ease forwards;
|
121
|
+
animation: v-modal-out .2s ease forwards;
|
122
|
+
}
|
123
|
+
@-webkit-keyframes v-modal-in {
|
124
|
+
0% {
|
125
|
+
opacity: 0;
|
126
|
+
}
|
127
|
+
100% {
|
128
|
+
}
|
129
|
+
}
|
130
|
+
@keyframes v-modal-in {
|
131
|
+
0% {
|
132
|
+
opacity: 0;
|
133
|
+
}
|
134
|
+
100% {
|
135
|
+
}
|
136
|
+
}
|
137
|
+
@-webkit-keyframes v-modal-out {
|
138
|
+
0% {
|
139
|
+
}
|
140
|
+
100% {
|
141
|
+
opacity: 0;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
@keyframes v-modal-out {
|
145
|
+
0% {
|
146
|
+
}
|
147
|
+
100% {
|
148
|
+
opacity: 0;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
.v-modal {
|
152
|
+
position: fixed;
|
153
|
+
left: 0;
|
154
|
+
top: 0;
|
155
|
+
width: 100%;
|
156
|
+
height: 100%;
|
157
|
+
opacity: 0.5;
|
158
|
+
background: #000;
|
159
|
+
}
|