zartui 2.0.41 → 2.0.42
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/calendar/index.js +2 -1
- package/es/cascader/index.js +6 -2
- package/es/index.js +1 -1
- package/es/multiple-picker/index.js +6 -2
- package/es/picker/index.js +4 -0
- package/es/picker/shared.js +4 -0
- package/es/timeline/index.js +1 -1
- package/lib/calendar/index.js +2 -1
- package/lib/cascader/index.js +6 -2
- package/lib/index.js +1 -1
- package/lib/multiple-picker/index.js +6 -3
- package/lib/picker/index.js +4 -0
- package/lib/picker/shared.js +4 -0
- package/lib/timeline/index.js +1 -1
- package/lib/zart.js +24 -7
- package/lib/zart.min.js +1 -1
- package/package.json +1 -1
package/es/calendar/index.js
CHANGED
|
@@ -549,7 +549,8 @@ export default createComponent({
|
|
|
549
549
|
"position": this.position,
|
|
550
550
|
"getContainer": this.getContainer,
|
|
551
551
|
"closeOnPopstate": this.closeOnPopstate,
|
|
552
|
-
"closeOnClickOverlay": this.closeOnClickOverlay
|
|
552
|
+
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
553
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
553
554
|
},
|
|
554
555
|
"on": {
|
|
555
556
|
"input": this.togglePopup,
|
package/es/cascader/index.js
CHANGED
|
@@ -40,6 +40,10 @@ export default createComponent({
|
|
|
40
40
|
getContainer: {
|
|
41
41
|
type: [String, Function],
|
|
42
42
|
default: 'body'
|
|
43
|
+
},
|
|
44
|
+
safeAreaInsetBottom: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
43
47
|
}
|
|
44
48
|
},
|
|
45
49
|
data: function data() {
|
|
@@ -321,10 +325,10 @@ export default createComponent({
|
|
|
321
325
|
"round": true,
|
|
322
326
|
"position": "bottom",
|
|
323
327
|
"getContainer": this.getContainer,
|
|
324
|
-
"safe-area-inset-bottom": true,
|
|
325
328
|
"closeOnPopstate": this.closeOnPopstate,
|
|
326
329
|
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
327
|
-
"customOnClickOverlay": this.onClickOverlay
|
|
330
|
+
"customOnClickOverlay": this.onClickOverlay,
|
|
331
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
328
332
|
}
|
|
329
333
|
}, [this.renderCascade()]);
|
|
330
334
|
}
|
package/es/index.js
CHANGED
|
@@ -74,7 +74,7 @@ import Tag from './tag';
|
|
|
74
74
|
import Timeline from './timeline';
|
|
75
75
|
import Toast from './toast';
|
|
76
76
|
import Uploader from './uploader';
|
|
77
|
-
var version = '2.0.
|
|
77
|
+
var version = '2.0.42';
|
|
78
78
|
|
|
79
79
|
function install(Vue) {
|
|
80
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, 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, Timeline, Toast, Uploader];
|
|
@@ -8,7 +8,6 @@ import Loading from '../loading';
|
|
|
8
8
|
import MultiplePickerOptions from './MultiplePickerOptions';
|
|
9
9
|
import Popup from '../popup';
|
|
10
10
|
import { PopupMixin } from '../mixins/popup';
|
|
11
|
-
import { deepClone } from '../utils/deep-clone';
|
|
12
11
|
import Button from '../button';
|
|
13
12
|
|
|
14
13
|
var _createNamespace = createNamespace('multiple-picker'),
|
|
@@ -46,6 +45,10 @@ export default createComponent({
|
|
|
46
45
|
columnCounts: {
|
|
47
46
|
type: Number,
|
|
48
47
|
default: 3
|
|
48
|
+
},
|
|
49
|
+
safeAreaInsetBottom: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: false
|
|
49
52
|
}
|
|
50
53
|
}),
|
|
51
54
|
data: function data() {
|
|
@@ -231,7 +234,8 @@ export default createComponent({
|
|
|
231
234
|
"closeOnPopstate": this.closeOnPopstate,
|
|
232
235
|
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
233
236
|
"customOnClickOverlay": this.onClickOverlay,
|
|
234
|
-
"getContainer": this.getContainer
|
|
237
|
+
"getContainer": this.getContainer,
|
|
238
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
235
239
|
}
|
|
236
240
|
}, [h("div", {
|
|
237
241
|
"class": bem(),
|
package/es/picker/index.js
CHANGED
package/es/picker/shared.js
CHANGED
package/es/timeline/index.js
CHANGED
|
@@ -235,7 +235,7 @@ export default createComponent({
|
|
|
235
235
|
return h("div", {
|
|
236
236
|
"class": bem()
|
|
237
237
|
}, [h("div", {
|
|
238
|
-
"class": [bem("top-bar"), BORDER_BOTTOM]
|
|
238
|
+
"class": [bem("top-bar" + " half-border-bottom"), BORDER_BOTTOM]
|
|
239
239
|
}, [h("div", {
|
|
240
240
|
"class": bem("top-left")
|
|
241
241
|
}, [h("div", {
|
package/lib/calendar/index.js
CHANGED
|
@@ -565,7 +565,8 @@ var _default2 = (0, _utils.createComponent)({
|
|
|
565
565
|
"position": this.position,
|
|
566
566
|
"getContainer": this.getContainer,
|
|
567
567
|
"closeOnPopstate": this.closeOnPopstate,
|
|
568
|
-
"closeOnClickOverlay": this.closeOnClickOverlay
|
|
568
|
+
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
569
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
569
570
|
},
|
|
570
571
|
"on": {
|
|
571
572
|
"input": this.togglePopup,
|
package/lib/cascader/index.js
CHANGED
|
@@ -53,6 +53,10 @@ var _default2 = createComponent({
|
|
|
53
53
|
getContainer: {
|
|
54
54
|
type: [String, Function],
|
|
55
55
|
default: 'body'
|
|
56
|
+
},
|
|
57
|
+
safeAreaInsetBottom: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false
|
|
56
60
|
}
|
|
57
61
|
},
|
|
58
62
|
data: function data() {
|
|
@@ -334,10 +338,10 @@ var _default2 = createComponent({
|
|
|
334
338
|
"round": true,
|
|
335
339
|
"position": "bottom",
|
|
336
340
|
"getContainer": this.getContainer,
|
|
337
|
-
"safe-area-inset-bottom": true,
|
|
338
341
|
"closeOnPopstate": this.closeOnPopstate,
|
|
339
342
|
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
340
|
-
"customOnClickOverlay": this.onClickOverlay
|
|
343
|
+
"customOnClickOverlay": this.onClickOverlay,
|
|
344
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
341
345
|
}
|
|
342
346
|
}, [this.renderCascade()]);
|
|
343
347
|
}
|
package/lib/index.js
CHANGED
|
@@ -309,7 +309,7 @@ exports.Toast = _toast.default;
|
|
|
309
309
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
|
310
310
|
|
|
311
311
|
exports.Uploader = _uploader.default;
|
|
312
|
-
var version = '2.0.
|
|
312
|
+
var version = '2.0.42';
|
|
313
313
|
exports.version = version;
|
|
314
314
|
|
|
315
315
|
function install(Vue) {
|
|
@@ -21,8 +21,6 @@ var _popup = _interopRequireDefault(require("../popup"));
|
|
|
21
21
|
|
|
22
22
|
var _popup2 = require("../mixins/popup");
|
|
23
23
|
|
|
24
|
-
var _deepClone = require("../utils/deep-clone");
|
|
25
|
-
|
|
26
24
|
var _button = _interopRequireDefault(require("../button"));
|
|
27
25
|
|
|
28
26
|
// Utils
|
|
@@ -62,6 +60,10 @@ var _default2 = createComponent({
|
|
|
62
60
|
columnCounts: {
|
|
63
61
|
type: Number,
|
|
64
62
|
default: 3
|
|
63
|
+
},
|
|
64
|
+
safeAreaInsetBottom: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: false
|
|
65
67
|
}
|
|
66
68
|
}),
|
|
67
69
|
data: function data() {
|
|
@@ -247,7 +249,8 @@ var _default2 = createComponent({
|
|
|
247
249
|
"closeOnPopstate": this.closeOnPopstate,
|
|
248
250
|
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
249
251
|
"customOnClickOverlay": this.onClickOverlay,
|
|
250
|
-
"getContainer": this.getContainer
|
|
252
|
+
"getContainer": this.getContainer,
|
|
253
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
251
254
|
}
|
|
252
255
|
}, [h("div", {
|
|
253
256
|
"class": bem(),
|
package/lib/picker/index.js
CHANGED
package/lib/picker/shared.js
CHANGED
package/lib/timeline/index.js
CHANGED
|
@@ -246,7 +246,7 @@ var _default2 = createComponent({
|
|
|
246
246
|
return h("div", {
|
|
247
247
|
"class": bem()
|
|
248
248
|
}, [h("div", {
|
|
249
|
-
"class": [bem("top-bar"), _constant.BORDER_BOTTOM]
|
|
249
|
+
"class": [bem("top-bar" + " half-border-bottom"), _constant.BORDER_BOTTOM]
|
|
250
250
|
}, [h("div", {
|
|
251
251
|
"class": bem("top-left")
|
|
252
252
|
}, [h("div", {
|
package/lib/zart.js
CHANGED
|
@@ -2399,6 +2399,10 @@ var pickerProps = {
|
|
|
2399
2399
|
closeOnClickOverlay: {
|
|
2400
2400
|
type: Boolean,
|
|
2401
2401
|
default: true
|
|
2402
|
+
},
|
|
2403
|
+
safeAreaInsetBottom: {
|
|
2404
|
+
type: Boolean,
|
|
2405
|
+
default: false
|
|
2402
2406
|
}
|
|
2403
2407
|
};
|
|
2404
2408
|
// CONCATENATED MODULE: ./es/utils/deep-clone.js
|
|
@@ -3113,6 +3117,10 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
|
|
|
3113
3117
|
type: Boolean,
|
|
3114
3118
|
default: true
|
|
3115
3119
|
},
|
|
3120
|
+
safeAreaInsetBottom: {
|
|
3121
|
+
type: Boolean,
|
|
3122
|
+
default: false
|
|
3123
|
+
},
|
|
3116
3124
|
defaultIndex: {
|
|
3117
3125
|
type: [Number, String],
|
|
3118
3126
|
default: 0
|
|
@@ -5906,7 +5914,8 @@ var Header_createNamespace = Object(utils["b" /* createNamespace */])('calendar-
|
|
|
5906
5914
|
"position": this.position,
|
|
5907
5915
|
"getContainer": this.getContainer,
|
|
5908
5916
|
"closeOnPopstate": this.closeOnPopstate,
|
|
5909
|
-
"closeOnClickOverlay": this.closeOnClickOverlay
|
|
5917
|
+
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
5918
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
5910
5919
|
},
|
|
5911
5920
|
"on": {
|
|
5912
5921
|
"input": this.togglePopup,
|
|
@@ -7256,6 +7265,10 @@ var cascader_createNamespace = Object(utils["b" /* createNamespace */])('cascade
|
|
|
7256
7265
|
getContainer: {
|
|
7257
7266
|
type: [String, Function],
|
|
7258
7267
|
default: 'body'
|
|
7268
|
+
},
|
|
7269
|
+
safeAreaInsetBottom: {
|
|
7270
|
+
type: Boolean,
|
|
7271
|
+
default: false
|
|
7259
7272
|
}
|
|
7260
7273
|
},
|
|
7261
7274
|
data: function data() {
|
|
@@ -7537,10 +7550,10 @@ var cascader_createNamespace = Object(utils["b" /* createNamespace */])('cascade
|
|
|
7537
7550
|
"round": true,
|
|
7538
7551
|
"position": "bottom",
|
|
7539
7552
|
"getContainer": this.getContainer,
|
|
7540
|
-
"safe-area-inset-bottom": true,
|
|
7541
7553
|
"closeOnPopstate": this.closeOnPopstate,
|
|
7542
7554
|
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
7543
|
-
"customOnClickOverlay": this.onClickOverlay
|
|
7555
|
+
"customOnClickOverlay": this.onClickOverlay,
|
|
7556
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
7544
7557
|
}
|
|
7545
7558
|
}, [this.renderCascade()]);
|
|
7546
7559
|
}
|
|
@@ -22217,7 +22230,6 @@ function MultiplePickerOptions_isOptionDisabled(option) {
|
|
|
22217
22230
|
|
|
22218
22231
|
|
|
22219
22232
|
|
|
22220
|
-
|
|
22221
22233
|
var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('multiple-picker'),
|
|
22222
22234
|
multiple_picker_createComponent = multiple_picker_createNamespace[0],
|
|
22223
22235
|
multiple_picker_bem = multiple_picker_createNamespace[1],
|
|
@@ -22253,6 +22265,10 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
|
|
|
22253
22265
|
columnCounts: {
|
|
22254
22266
|
type: Number,
|
|
22255
22267
|
default: 3
|
|
22268
|
+
},
|
|
22269
|
+
safeAreaInsetBottom: {
|
|
22270
|
+
type: Boolean,
|
|
22271
|
+
default: false
|
|
22256
22272
|
}
|
|
22257
22273
|
}),
|
|
22258
22274
|
data: function data() {
|
|
@@ -22438,7 +22454,8 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
|
|
|
22438
22454
|
"closeOnPopstate": this.closeOnPopstate,
|
|
22439
22455
|
"closeOnClickOverlay": this.closeOnClickOverlay,
|
|
22440
22456
|
"customOnClickOverlay": this.onClickOverlay,
|
|
22441
|
-
"getContainer": this.getContainer
|
|
22457
|
+
"getContainer": this.getContainer,
|
|
22458
|
+
"safeAreaInsetBottom": this.safeAreaInsetBottom
|
|
22442
22459
|
}
|
|
22443
22460
|
}, [h("div", {
|
|
22444
22461
|
"class": multiple_picker_bem(),
|
|
@@ -28414,7 +28431,7 @@ var timeline_defaultData = function defaultData() {
|
|
|
28414
28431
|
return h("div", {
|
|
28415
28432
|
"class": timeline_bem()
|
|
28416
28433
|
}, [h("div", {
|
|
28417
|
-
"class": [timeline_bem("top-bar"), BORDER_BOTTOM]
|
|
28434
|
+
"class": [timeline_bem("top-bar" + " half-border-bottom"), BORDER_BOTTOM]
|
|
28418
28435
|
}, [h("div", {
|
|
28419
28436
|
"class": timeline_bem("top-left")
|
|
28420
28437
|
}, [h("div", {
|
|
@@ -29145,7 +29162,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
|
|
|
29145
29162
|
|
|
29146
29163
|
|
|
29147
29164
|
|
|
29148
|
-
var version = '2.0.
|
|
29165
|
+
var version = '2.0.42';
|
|
29149
29166
|
|
|
29150
29167
|
function install(Vue) {
|
|
29151
29168
|
var components = [action_sheet, es_area, avatar, back_top, badge, es_button, calendar, cascader, cell, cell_group, es_checkbox, checkbox_group, col, collapse, collapse_item, count_down, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, fold_dialog, es_form, grid, grid_item, hierarchy_select, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, lazyload, es_list, es_loading, locale["a" /* default */], media_picker, media_player, multiple_picker, nav_bar, notice_bar, number_keyboard, es_overlay, password_input, es_picker, popover, popup, pull_refresh, es_radio, radio_group, rate, row, search, signature, skeleton, slider, es_step, stepper, es_steps, es_sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, tabs, es_tag, timeline, es_toast, uploader];
|