zartui 0.1.69 → 0.1.72
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/es/field/index.js +2 -1
- package/es/grid/index.css +1 -0
- package/es/grid/index.js +50 -0
- package/es/grid/index.less +6 -0
- package/es/grid/style/index.js +2 -0
- package/es/grid/style/less.js +2 -0
- package/es/grid-item/index.css +1 -0
- package/es/grid-item/index.js +163 -0
- package/es/grid-item/index.less +79 -0
- package/es/grid-item/style/index.js +4 -0
- package/es/grid-item/style/less.js +4 -0
- package/es/index.js +7 -3
- package/es/media-picker/image/DefaultAudioIcon.js +133 -0
- package/es/media-picker/image/DefaultFileIcon.js +116 -0
- package/es/media-picker/image/DefaultVideoIcon.js +169 -0
- package/es/media-picker/image/DeleteIcon.js +41 -0
- package/es/media-picker/image/PickFileIcon.js +41 -0
- package/es/media-picker/image/PickPhotoIcon.js +41 -0
- package/es/media-picker/image/TakeAudioIcon.js +41 -0
- package/es/media-picker/image/TakePhotoIcon.js +42 -0
- package/es/media-picker/image/TakeVideoIcon.js +41 -0
- package/es/media-picker/index.css +1 -0
- package/es/media-picker/index.js +757 -0
- package/es/media-picker/index.less +115 -0
- package/es/media-picker/media-util.js +37 -0
- package/es/media-picker/style/index.js +12 -0
- package/es/media-picker/style/less.js +12 -0
- package/es/media-picker/type.js +16 -0
- package/es/media-player/index.css +1 -0
- package/es/media-player/index.js +149 -0
- package/es/media-player/index.less +14 -0
- package/es/media-player/style/index.js +9 -0
- package/es/media-player/style/less.js +9 -0
- package/es/utils/router.js +2 -1
- package/lib/calendar/utils.js +9 -7
- package/lib/count-down/utils.js +2 -2
- package/lib/datetime-picker/shared.js +1 -1
- package/lib/datetime-picker/utils.js +2 -2
- package/lib/field/index.js +2 -1
- package/lib/grid/index.css +1 -0
- package/lib/grid/index.js +59 -0
- package/lib/grid/index.less +6 -0
- package/lib/grid/style/index.js +2 -0
- package/lib/grid/style/less.js +2 -0
- package/lib/grid-item/index.css +1 -0
- package/lib/grid-item/index.js +178 -0
- package/lib/grid-item/index.less +79 -0
- package/lib/grid-item/style/index.js +4 -0
- package/lib/grid-item/style/less.js +4 -0
- package/lib/image-preview/shared.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +20 -3
- package/lib/index.less +4 -0
- package/lib/media-picker/image/DefaultAudioIcon.js +138 -0
- package/lib/media-picker/image/DefaultFileIcon.js +121 -0
- package/lib/media-picker/image/DefaultVideoIcon.js +174 -0
- package/lib/media-picker/image/DeleteIcon.js +46 -0
- package/lib/media-picker/image/PickFileIcon.js +46 -0
- package/lib/media-picker/image/PickPhotoIcon.js +46 -0
- package/lib/media-picker/image/TakeAudioIcon.js +46 -0
- package/lib/media-picker/image/TakePhotoIcon.js +47 -0
- package/lib/media-picker/image/TakeVideoIcon.js +46 -0
- package/lib/media-picker/index.css +1 -0
- package/lib/media-picker/index.js +784 -0
- package/lib/media-picker/index.less +115 -0
- package/lib/media-picker/media-util.js +50 -0
- package/lib/media-picker/style/index.js +12 -0
- package/lib/media-picker/style/less.js +12 -0
- package/lib/media-picker/type.js +22 -0
- package/lib/media-player/index.css +1 -0
- package/lib/media-player/index.js +161 -0
- package/lib/media-player/index.less +14 -0
- package/lib/media-player/style/index.js +9 -0
- package/lib/media-player/style/less.js +9 -0
- package/lib/mixins/popup/overlay.js +2 -2
- package/lib/signature/force-landscape.js +1 -1
- package/lib/telemetry/index.js +1 -1
- package/lib/uploader/utils.js +4 -4
- package/lib/utils/constant.js +1 -1
- package/lib/utils/create/component.js +1 -1
- package/lib/utils/device.js +1 -1
- package/lib/utils/dom/event.js +2 -2
- package/lib/utils/dom/raf.js +2 -2
- package/lib/utils/dom/scroll.js +5 -5
- package/lib/utils/format/date-util.js +32 -31
- package/lib/utils/format/number.js +2 -2
- package/lib/utils/functional.js +1 -1
- package/lib/utils/getScroll.js +1 -1
- package/lib/utils/index.js +6 -4
- package/lib/utils/media/image-util.js +3 -3
- package/lib/utils/router.js +3 -2
- package/lib/utils/validate/number.js +1 -1
- package/lib/zart.js +3120 -1251
- package/lib/zart.min.js +4 -4
- package/package.json +2 -2
package/es/field/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.zt-grid{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}
|
package/es/grid/index.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { createNamespace, addUnit } from '../utils';
|
|
2
|
+
import { BORDER_TOP } from '../utils/constant';
|
|
3
|
+
import { ParentMixin } from '../mixins/relation';
|
|
4
|
+
|
|
5
|
+
var _createNamespace = createNamespace('grid'),
|
|
6
|
+
createComponent = _createNamespace[0],
|
|
7
|
+
bem = _createNamespace[1];
|
|
8
|
+
|
|
9
|
+
export default createComponent({
|
|
10
|
+
mixins: [ParentMixin('ztGrid')],
|
|
11
|
+
props: {
|
|
12
|
+
square: Boolean,
|
|
13
|
+
gutter: [Number, String],
|
|
14
|
+
iconSize: [Number, String],
|
|
15
|
+
direction: String,
|
|
16
|
+
clickable: Boolean,
|
|
17
|
+
columnNum: {
|
|
18
|
+
type: [Number, String],
|
|
19
|
+
default: 4
|
|
20
|
+
},
|
|
21
|
+
center: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: true
|
|
24
|
+
},
|
|
25
|
+
border: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
computed: {
|
|
31
|
+
style: function style() {
|
|
32
|
+
var gutter = this.gutter;
|
|
33
|
+
|
|
34
|
+
if (gutter) {
|
|
35
|
+
return {
|
|
36
|
+
paddingLeft: addUnit(gutter)
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
render: function render() {
|
|
42
|
+
var _ref;
|
|
43
|
+
|
|
44
|
+
var h = arguments[0];
|
|
45
|
+
return h("div", {
|
|
46
|
+
"style": this.style,
|
|
47
|
+
"class": [bem(), (_ref = {}, _ref[BORDER_TOP] = this.border && !this.gutter, _ref)]
|
|
48
|
+
}, [this.slots()]);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.zt-grid-item{position:relative;box-sizing:border-box}.zt-grid-item--square{height:0}.zt-grid-item__icon{font-size:28px}.zt-grid-item__icon-wrapper{position:relative}.zt-grid-item__text{color:#646566;font-size:12px;line-height:1.5;word-break:break-all}.zt-grid-item__icon+.zt-grid-item__text{margin-top:8px}.zt-grid-item__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;box-sizing:border-box;height:100%;padding:16px 8px;background-color:#fff}.zt-grid-item__content::after{z-index:1;border-width:0 1px 1px 0}.zt-grid-item__content--square{position:absolute;top:0;right:0;left:0}.zt-grid-item__content--center{-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.zt-grid-item__content--horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.zt-grid-item__content--horizontal .zt-grid-item__icon+.zt-grid-item__text{margin-top:0;margin-left:8px}.zt-grid-item__content--surround::after{border-width:1px}.zt-grid-item__content--clickable{cursor:pointer}.zt-grid-item__content--clickable:active{background-color:rgba(0,0,0,.04)}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
// Utils
|
|
3
|
+
import { createNamespace, addUnit } from '../utils';
|
|
4
|
+
import { BORDER } from '../utils/constant';
|
|
5
|
+
import { route, routeProps } from '../utils/router'; // Mixins
|
|
6
|
+
|
|
7
|
+
import { ChildrenMixin } from '../mixins/relation'; // Components
|
|
8
|
+
|
|
9
|
+
import Info from '../info';
|
|
10
|
+
import Icon from '../icon';
|
|
11
|
+
|
|
12
|
+
var _createNamespace = createNamespace('grid-item'),
|
|
13
|
+
createComponent = _createNamespace[0],
|
|
14
|
+
bem = _createNamespace[1];
|
|
15
|
+
|
|
16
|
+
export default createComponent({
|
|
17
|
+
mixins: [ChildrenMixin('ztGrid')],
|
|
18
|
+
props: _extends({}, routeProps, {
|
|
19
|
+
dot: Boolean,
|
|
20
|
+
text: String,
|
|
21
|
+
icon: String,
|
|
22
|
+
iconPrefix: String,
|
|
23
|
+
// @deprecated
|
|
24
|
+
info: [Number, String],
|
|
25
|
+
badge: [Number, String]
|
|
26
|
+
}),
|
|
27
|
+
computed: {
|
|
28
|
+
style: function style() {
|
|
29
|
+
var _this$parent = this.parent,
|
|
30
|
+
square = _this$parent.square,
|
|
31
|
+
gutter = _this$parent.gutter,
|
|
32
|
+
columnNum = _this$parent.columnNum;
|
|
33
|
+
var percent = 100 / columnNum + "%";
|
|
34
|
+
var style = {
|
|
35
|
+
flexBasis: percent
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
if (square) {
|
|
39
|
+
style.paddingTop = percent;
|
|
40
|
+
} else if (gutter) {
|
|
41
|
+
var gutterValue = addUnit(gutter);
|
|
42
|
+
style.paddingRight = gutterValue;
|
|
43
|
+
|
|
44
|
+
if (this.index >= columnNum) {
|
|
45
|
+
style.marginTop = gutterValue;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return style;
|
|
50
|
+
},
|
|
51
|
+
contentStyle: function contentStyle() {
|
|
52
|
+
var _this$parent2 = this.parent,
|
|
53
|
+
square = _this$parent2.square,
|
|
54
|
+
gutter = _this$parent2.gutter;
|
|
55
|
+
|
|
56
|
+
if (square && gutter) {
|
|
57
|
+
var gutterValue = addUnit(gutter);
|
|
58
|
+
return {
|
|
59
|
+
right: gutterValue,
|
|
60
|
+
bottom: gutterValue,
|
|
61
|
+
height: 'auto'
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
methods: {
|
|
67
|
+
onClick: function onClick(event) {
|
|
68
|
+
this.$emit('click', event);
|
|
69
|
+
route(this.$router, this);
|
|
70
|
+
},
|
|
71
|
+
genIcon: function genIcon() {
|
|
72
|
+
var _this$badge;
|
|
73
|
+
|
|
74
|
+
var h = this.$createElement;
|
|
75
|
+
var iconSlot = this.slots('icon');
|
|
76
|
+
var info = (_this$badge = this.badge) != null ? _this$badge : this.info;
|
|
77
|
+
|
|
78
|
+
if (process.env.NODE_ENV === 'development' && this.info) {
|
|
79
|
+
console.warn('[Zart] GridItem: "info" prop is deprecated, use "badge" prop instead.');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (iconSlot) {
|
|
83
|
+
return h("div", {
|
|
84
|
+
"class": bem('icon-wrapper')
|
|
85
|
+
}, [iconSlot, h(Info, {
|
|
86
|
+
"attrs": {
|
|
87
|
+
"dot": this.dot,
|
|
88
|
+
"info": info
|
|
89
|
+
}
|
|
90
|
+
})]);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (this.icon) {
|
|
94
|
+
return h(Icon, {
|
|
95
|
+
"attrs": {
|
|
96
|
+
"name": this.icon,
|
|
97
|
+
"dot": this.dot,
|
|
98
|
+
"badge": info,
|
|
99
|
+
"size": this.parent.iconSize,
|
|
100
|
+
"classPrefix": this.iconPrefix
|
|
101
|
+
},
|
|
102
|
+
"class": bem('icon')
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
getText: function getText() {
|
|
107
|
+
var h = this.$createElement;
|
|
108
|
+
var textSlot = this.slots('text');
|
|
109
|
+
|
|
110
|
+
if (textSlot) {
|
|
111
|
+
return textSlot;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (this.text) {
|
|
115
|
+
return h("span", {
|
|
116
|
+
"class": bem('text')
|
|
117
|
+
}, [this.text]);
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
genContent: function genContent() {
|
|
121
|
+
var slot = this.slots();
|
|
122
|
+
|
|
123
|
+
if (slot) {
|
|
124
|
+
return slot;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return [this.genIcon(), this.getText()];
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
render: function render() {
|
|
131
|
+
var _ref;
|
|
132
|
+
|
|
133
|
+
var h = arguments[0];
|
|
134
|
+
var _this$parent3 = this.parent,
|
|
135
|
+
center = _this$parent3.center,
|
|
136
|
+
border = _this$parent3.border,
|
|
137
|
+
square = _this$parent3.square,
|
|
138
|
+
gutter = _this$parent3.gutter,
|
|
139
|
+
direction = _this$parent3.direction,
|
|
140
|
+
clickable = _this$parent3.clickable;
|
|
141
|
+
return h("div", {
|
|
142
|
+
"class": [bem({
|
|
143
|
+
square: square
|
|
144
|
+
})],
|
|
145
|
+
"style": this.style
|
|
146
|
+
}, [h("div", {
|
|
147
|
+
"style": this.contentStyle,
|
|
148
|
+
"attrs": {
|
|
149
|
+
"role": clickable ? 'button' : null,
|
|
150
|
+
"tabindex": clickable ? 0 : null
|
|
151
|
+
},
|
|
152
|
+
"class": [bem('content', [direction, {
|
|
153
|
+
center: center,
|
|
154
|
+
square: square,
|
|
155
|
+
clickable: clickable,
|
|
156
|
+
surround: border && gutter
|
|
157
|
+
}]), (_ref = {}, _ref[BORDER] = border, _ref)],
|
|
158
|
+
"on": {
|
|
159
|
+
"click": this.onClick
|
|
160
|
+
}
|
|
161
|
+
}, [this.genContent()])]);
|
|
162
|
+
}
|
|
163
|
+
});
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@import '../style/var';
|
|
2
|
+
|
|
3
|
+
.zt-grid-item {
|
|
4
|
+
position: relative;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
|
|
7
|
+
&--square {
|
|
8
|
+
height: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__icon {
|
|
12
|
+
font-size: @grid-item-icon-size;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__icon-wrapper {
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__text {
|
|
20
|
+
color: @grid-item-text-color;
|
|
21
|
+
font-size: @grid-item-text-font-size;
|
|
22
|
+
line-height: 1.5;
|
|
23
|
+
// https://github.com/youzan/vant/issues/3894
|
|
24
|
+
word-break: break-all;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__icon + &__text {
|
|
28
|
+
margin-top: @padding-xs;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__content {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
height: 100%;
|
|
36
|
+
padding: @grid-item-content-padding;
|
|
37
|
+
background-color: @grid-item-content-background-color;
|
|
38
|
+
|
|
39
|
+
&::after {
|
|
40
|
+
z-index: 1;
|
|
41
|
+
border-width: 0 @border-width-base @border-width-base 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--square {
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
right: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&--center {
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&--horizontal {
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
|
|
59
|
+
.zt-grid-item__icon + .zt-grid-item__text {
|
|
60
|
+
margin-top: 0;
|
|
61
|
+
margin-left: @padding-xs;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--surround {
|
|
66
|
+
&::after {
|
|
67
|
+
border-width: @border-width-base;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&--clickable {
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
|
|
74
|
+
&:active {
|
|
75
|
+
background-color: @grid-item-content-active-color;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
package/es/index.js
CHANGED
|
@@ -23,6 +23,8 @@ import Empty from './empty';
|
|
|
23
23
|
import Field from './field';
|
|
24
24
|
import FoldDialog from './fold-dialog';
|
|
25
25
|
import Form from './form';
|
|
26
|
+
import Grid from './grid';
|
|
27
|
+
import GridItem from './grid-item';
|
|
26
28
|
import HierarchySelect from './hierarchy-select';
|
|
27
29
|
import Icon from './icon';
|
|
28
30
|
import Image from './image';
|
|
@@ -34,6 +36,8 @@ import Lazyload from './lazyload';
|
|
|
34
36
|
import List from './list';
|
|
35
37
|
import Loading from './loading';
|
|
36
38
|
import Locale from './locale';
|
|
39
|
+
import MediaPicker from './media-picker';
|
|
40
|
+
import MediaPlayer from './media-player';
|
|
37
41
|
import MultiplePicker from './multiple-picker';
|
|
38
42
|
import NavBar from './nav-bar';
|
|
39
43
|
import NoticeBar from './notice-bar';
|
|
@@ -70,10 +74,10 @@ import Tabs from './tabs';
|
|
|
70
74
|
import Tag from './tag';
|
|
71
75
|
import Toast from './toast';
|
|
72
76
|
import Uploader from './uploader';
|
|
73
|
-
var version = '0.1.
|
|
77
|
+
var version = '0.1.72';
|
|
74
78
|
|
|
75
79
|
function install(Vue) {
|
|
76
|
-
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Toast, Uploader];
|
|
80
|
+
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Toast, Uploader];
|
|
77
81
|
components.forEach(function (item) {
|
|
78
82
|
if (item.install) {
|
|
79
83
|
Vue.use(item);
|
|
@@ -87,7 +91,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
87
91
|
install(window.Vue);
|
|
88
92
|
}
|
|
89
93
|
|
|
90
|
-
export { install, version, ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Toast, Uploader };
|
|
94
|
+
export { install, version, ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Toast, Uploader };
|
|
91
95
|
export default {
|
|
92
96
|
install: install,
|
|
93
97
|
version: version
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
render: function render() {
|
|
3
|
+
var h = arguments[0];
|
|
4
|
+
return h("svg", {
|
|
5
|
+
"attrs": {
|
|
6
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
7
|
+
"viewBox": "0 0 112 112"
|
|
8
|
+
}
|
|
9
|
+
}, [h("defs", [h("linearGradient", {
|
|
10
|
+
"attrs": {
|
|
11
|
+
"x1": "0%",
|
|
12
|
+
"y1": "0%",
|
|
13
|
+
"x2": "100%",
|
|
14
|
+
"y2": "100%",
|
|
15
|
+
"id": "gf8svfh27b"
|
|
16
|
+
}
|
|
17
|
+
}, [h("stop", {
|
|
18
|
+
"attrs": {
|
|
19
|
+
"stop-color": "#00C8F0",
|
|
20
|
+
"offset": "0%"
|
|
21
|
+
}
|
|
22
|
+
}), h("stop", {
|
|
23
|
+
"attrs": {
|
|
24
|
+
"stop-color": "#0091FA",
|
|
25
|
+
"offset": "100%"
|
|
26
|
+
}
|
|
27
|
+
})]), h("pattern", {
|
|
28
|
+
"attrs": {
|
|
29
|
+
"id": "vbf1ym2qvd",
|
|
30
|
+
"width": "4.8",
|
|
31
|
+
"height": "4.8",
|
|
32
|
+
"x": "-4.8",
|
|
33
|
+
"y": "-4.8",
|
|
34
|
+
"patternUnits": "userSpaceOnUse"
|
|
35
|
+
}
|
|
36
|
+
}, [h("use", {
|
|
37
|
+
"attrs": {
|
|
38
|
+
"href": "#shkwixq1qa",
|
|
39
|
+
"transform": "scale(.5)"
|
|
40
|
+
}
|
|
41
|
+
})]), h("filter", {
|
|
42
|
+
"attrs": {
|
|
43
|
+
"x": "-15%",
|
|
44
|
+
"y": "-10.7%",
|
|
45
|
+
"width": "130%",
|
|
46
|
+
"height": "130%",
|
|
47
|
+
"filterUnits": "objectBoundingBox",
|
|
48
|
+
"id": "300zm3c39e"
|
|
49
|
+
}
|
|
50
|
+
}, [h("feOffset", {
|
|
51
|
+
"attrs": {
|
|
52
|
+
"dy": "2",
|
|
53
|
+
"in": "SourceAlpha",
|
|
54
|
+
"result": "shadowOffsetOuter1"
|
|
55
|
+
}
|
|
56
|
+
}), h("feGaussianBlur", {
|
|
57
|
+
"attrs": {
|
|
58
|
+
"stdDeviation": "2",
|
|
59
|
+
"in": "shadowOffsetOuter1",
|
|
60
|
+
"result": "shadowBlurOuter1"
|
|
61
|
+
}
|
|
62
|
+
}), h("feColorMatrix", {
|
|
63
|
+
"attrs": {
|
|
64
|
+
"values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",
|
|
65
|
+
"in": "shadowBlurOuter1"
|
|
66
|
+
}
|
|
67
|
+
})]), h("image", {
|
|
68
|
+
"attrs": {
|
|
69
|
+
"id": "shkwixq1qa",
|
|
70
|
+
"width": "9.6",
|
|
71
|
+
"height": "9.6",
|
|
72
|
+
"href": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGOfPtRkwAAAHhlWElmTU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAIdpAAQAAAABAAAATgAAAAAAAABLAAAAAQAAAEsAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAAqgAwAEAAAAAQAAAAoAAAAA1XhEXQAAAAlwSFlzAAALiQAAC4kBN8nLrQAAAVRJREFUGBlNUD1Lw1AUbfNBaLGBQmjaJv0YhFSCEK2THXRz0i2Di+BSnfwF/gV/lEs6SUmaWIRQaSVJE8WCUiElTTwvUx/c9+6597xz3rsFXddLhZ01HA7ZHUhSimx0uVx+FEUxXS6Xc1LIsuyo0WhcaJo2dV132+/3mSAIMhpFu1gsXsuyTPm+/45ihJq2Xq8PFUWxR6NRkiui8ddut1/SNL2s1+si8CvCbDabB5vN5hSnCZzSqqrujcfj30qlMuE47kySJBnKhOwg34fbyWAwsOhOp/NUq9WmjuNEIJqI81arJYL8hrChyK5Wq5AWBOGDZdl7NGeE3Ov1rDiOyTN4fNAF2cutwzCMCClJkjtYzQ3DCHmet6B8BVwCcZZ/hmye533DYkFR1C2aM8uyQjg5DMPoUN5CcUFjTsdIyPrCiD5x76FarT7btv0DPMFcb7rdrvEPt5mqtAu1fboAAAAASUVORK5CYII="
|
|
73
|
+
}
|
|
74
|
+
}), h("rect", {
|
|
75
|
+
"attrs": {
|
|
76
|
+
"id": "9fuaycxsvc",
|
|
77
|
+
"x": "0",
|
|
78
|
+
"y": "0",
|
|
79
|
+
"width": "112",
|
|
80
|
+
"height": "112",
|
|
81
|
+
"rx": "4"
|
|
82
|
+
}
|
|
83
|
+
}), h("path", {
|
|
84
|
+
"attrs": {
|
|
85
|
+
"d": "M72.3333333,32.6666667 L42.0000157,32.6666667 L40.0400166,65.8751584 C37.1946119,64.6819583 33.9036428,65.492752 31.9379245,67.8712652 C29.9722061,70.2497784 29.7953573,73.6350338 31.5025373,76.2054824 C33.2097173,78.7759309 36.3982842,79.9253271 39.3525239,79.0352002 C42.3067635,78.1450732 44.3299123,75.4253614 44.333348,72.3394959 L45.850014,46.6688417 L71.5166691,46.6688417 L70.3966696,65.8751584 C67.5542782,64.6711219 64.2588471,65.4713547 62.2849419,67.8449374 C60.3110366,70.2185201 60.1246603,73.605093 61.8261752,76.1810114 C63.5276902,78.7569298 66.7153996,79.9140663 69.6727454,79.0293113 C72.6300911,78.1445564 74.6588978,75.4267844 74.6666677,72.3394959 L77,32.6666667 L72.3333333,32.6666667 Z",
|
|
86
|
+
"id": "hk6404pd3f"
|
|
87
|
+
}
|
|
88
|
+
})]), h("g", {
|
|
89
|
+
"attrs": {
|
|
90
|
+
"fill": "none",
|
|
91
|
+
"fill-rule": "evenodd"
|
|
92
|
+
}
|
|
93
|
+
}, [h("g", [h("use", {
|
|
94
|
+
"attrs": {
|
|
95
|
+
"fill": "url(#gf8svfh27b)",
|
|
96
|
+
"href": "#9fuaycxsvc"
|
|
97
|
+
}
|
|
98
|
+
}), h("use", {
|
|
99
|
+
"attrs": {
|
|
100
|
+
"fill": "url(#vbf1ym2qvd)",
|
|
101
|
+
"href": "#9fuaycxsvc"
|
|
102
|
+
},
|
|
103
|
+
"style": "mix-blend-mode:screen"
|
|
104
|
+
}), h("rect", {
|
|
105
|
+
"attrs": {
|
|
106
|
+
"stroke-opacity": ".1",
|
|
107
|
+
"stroke": "#000",
|
|
108
|
+
"stroke-width": ".5",
|
|
109
|
+
"stroke-linejoin": "round",
|
|
110
|
+
"x": ".25",
|
|
111
|
+
"y": ".25",
|
|
112
|
+
"width": "111.5",
|
|
113
|
+
"height": "111.5",
|
|
114
|
+
"rx": "4"
|
|
115
|
+
}
|
|
116
|
+
})]), h("g", {
|
|
117
|
+
"attrs": {
|
|
118
|
+
"fill-rule": "nonzero"
|
|
119
|
+
}
|
|
120
|
+
}, [h("use", {
|
|
121
|
+
"attrs": {
|
|
122
|
+
"fill": "#000",
|
|
123
|
+
"filter": "url(#300zm3c39e)",
|
|
124
|
+
"href": "#hk6404pd3f"
|
|
125
|
+
}
|
|
126
|
+
}), h("use", {
|
|
127
|
+
"attrs": {
|
|
128
|
+
"fill": "#FFF",
|
|
129
|
+
"href": "#hk6404pd3f"
|
|
130
|
+
}
|
|
131
|
+
})])])]);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
render: function render() {
|
|
3
|
+
var h = arguments[0];
|
|
4
|
+
return h("svg", {
|
|
5
|
+
"attrs": {
|
|
6
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
7
|
+
"viewBox": "0 0 112 112"
|
|
8
|
+
}
|
|
9
|
+
}, [h("defs", [h("pattern", {
|
|
10
|
+
"attrs": {
|
|
11
|
+
"id": "l36e4grd5c",
|
|
12
|
+
"width": "5",
|
|
13
|
+
"height": "5",
|
|
14
|
+
"x": "-5",
|
|
15
|
+
"y": "-5",
|
|
16
|
+
"patternUnits": "userSpaceOnUse"
|
|
17
|
+
}
|
|
18
|
+
}, [h("use", {
|
|
19
|
+
"attrs": {
|
|
20
|
+
"href": "#xzksy6539a",
|
|
21
|
+
"transform": "scale(.5)"
|
|
22
|
+
}
|
|
23
|
+
})]), h("filter", {
|
|
24
|
+
"attrs": {
|
|
25
|
+
"x": "-15%",
|
|
26
|
+
"y": "-10.7%",
|
|
27
|
+
"width": "130%",
|
|
28
|
+
"height": "130%",
|
|
29
|
+
"filterUnits": "objectBoundingBox",
|
|
30
|
+
"id": "65hai2lgad"
|
|
31
|
+
}
|
|
32
|
+
}, [h("feOffset", {
|
|
33
|
+
"attrs": {
|
|
34
|
+
"dy": "2",
|
|
35
|
+
"in": "SourceAlpha",
|
|
36
|
+
"result": "shadowOffsetOuter1"
|
|
37
|
+
}
|
|
38
|
+
}), h("feGaussianBlur", {
|
|
39
|
+
"attrs": {
|
|
40
|
+
"stdDeviation": "2",
|
|
41
|
+
"in": "shadowOffsetOuter1",
|
|
42
|
+
"result": "shadowBlurOuter1"
|
|
43
|
+
}
|
|
44
|
+
}), h("feColorMatrix", {
|
|
45
|
+
"attrs": {
|
|
46
|
+
"values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",
|
|
47
|
+
"in": "shadowBlurOuter1"
|
|
48
|
+
}
|
|
49
|
+
})]), h("image", {
|
|
50
|
+
"attrs": {
|
|
51
|
+
"id": "xzksy6539a",
|
|
52
|
+
"width": "10",
|
|
53
|
+
"height": "10",
|
|
54
|
+
"href": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGOfPtRkwAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAACqADAAQAAAABAAAACgAAAAA7eLj1AAAAoUlEQVQYGY1Pyw3DIAw14GO5ptkjAiQuXaZbtKP02kE6QBfptSckEPVLsJRbY8nivWeeP0QjQgh3yXnHZ2jKrYJ/r9m5LsaYtxi+w+R774vgFzhLPgAkTq21JzN/QGqtk7XrQK1DJoox3nLO08aIgKEpP7wj66Wyjy+lnFNKBl0EY7TXOna8jvaLc47EsB4jWI/R+vYN16sbCjC00YQO7/gDMR8ujT+u9VgAAAAASUVORK5CYII="
|
|
55
|
+
}
|
|
56
|
+
}), h("rect", {
|
|
57
|
+
"attrs": {
|
|
58
|
+
"id": "gdcp3kc09b",
|
|
59
|
+
"x": "0",
|
|
60
|
+
"y": "0",
|
|
61
|
+
"width": "112",
|
|
62
|
+
"height": "112",
|
|
63
|
+
"rx": "4"
|
|
64
|
+
}
|
|
65
|
+
}), h("path", {
|
|
66
|
+
"attrs": {
|
|
67
|
+
"d": "M51.9980236,32.6666667 L51.9980236,37.8353939 L58.4495043,37.8353939 L58.4495043,43.0039084 L51.9980236,43.0039084 L51.9980236,48.2190439 L58.4495043,48.2190439 L58.4495043,53.3875583 L51.9980236,53.3875583 L51.9980236,57.9628958 L58.4495043,57.9628958 L58.4495043,66.2938053 C58.4872348,67.2750135 57.7841326,68.112964 56.839682,68.2682223 L56.5767144,68.2932252 L47.4993693,68.2932252 C46.3937071,68.278001 45.4940162,67.3988204 45.4532968,66.2938051 L45.4532968,53.3942117 L51.9980652,53.3942117 L51.9980652,48.2223705 L45.4532968,48.2223705 L45.4532968,43.007235 L51.9980652,43.007235 L51.9980652,37.8353937 L45.4532968,37.8353937 L45.4532968,32.6666667 L40.6,32.6666667 C36.218541,32.6666667 32.6666667,36.218541 32.6666667,40.6 L32.6666667,71.4 C32.6666667,75.781459 36.218541,79.3333333 40.6,79.3333333 L71.4,79.3333333 C75.781459,79.3333333 79.3333333,75.781459 79.3333333,71.4 L79.3333333,40.6 C79.3333333,36.218541 75.781459,32.6666667 71.4,32.6666667 L51.9980236,32.6666667 Z",
|
|
68
|
+
"id": "rzwz6zsh3e"
|
|
69
|
+
}
|
|
70
|
+
})]), h("g", {
|
|
71
|
+
"attrs": {
|
|
72
|
+
"fill": "none",
|
|
73
|
+
"fill-rule": "evenodd"
|
|
74
|
+
}
|
|
75
|
+
}, [h("g", [h("use", {
|
|
76
|
+
"attrs": {
|
|
77
|
+
"fill": "#FFCD23",
|
|
78
|
+
"href": "#gdcp3kc09b"
|
|
79
|
+
}
|
|
80
|
+
}), h("use", {
|
|
81
|
+
"attrs": {
|
|
82
|
+
"fill-opacity": ".4",
|
|
83
|
+
"fill": "url(#l36e4grd5c)",
|
|
84
|
+
"href": "#gdcp3kc09b"
|
|
85
|
+
},
|
|
86
|
+
"style": "mix-blend-mode:overlay"
|
|
87
|
+
}), h("rect", {
|
|
88
|
+
"attrs": {
|
|
89
|
+
"stroke-opacity": ".1",
|
|
90
|
+
"stroke": "#000",
|
|
91
|
+
"stroke-width": ".5",
|
|
92
|
+
"stroke-linejoin": "round",
|
|
93
|
+
"x": ".25",
|
|
94
|
+
"y": ".25",
|
|
95
|
+
"width": "111.5",
|
|
96
|
+
"height": "111.5",
|
|
97
|
+
"rx": "4"
|
|
98
|
+
}
|
|
99
|
+
})]), h("g", {
|
|
100
|
+
"attrs": {
|
|
101
|
+
"fill-rule": "nonzero"
|
|
102
|
+
}
|
|
103
|
+
}, [h("use", {
|
|
104
|
+
"attrs": {
|
|
105
|
+
"fill": "#000",
|
|
106
|
+
"filter": "url(#65hai2lgad)",
|
|
107
|
+
"href": "#rzwz6zsh3e"
|
|
108
|
+
}
|
|
109
|
+
}), h("use", {
|
|
110
|
+
"attrs": {
|
|
111
|
+
"fill": "#FFF",
|
|
112
|
+
"href": "#rzwz6zsh3e"
|
|
113
|
+
}
|
|
114
|
+
})])])]);
|
|
115
|
+
}
|
|
116
|
+
};
|