@varlet/ui 1.26.8 → 1.27.0-alpha.1649242923701
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/action-sheet/ActionSheet.js +29 -27
- package/es/app-bar/AppBar.js +32 -27
- package/es/back-top/BackTop.js +9 -2
- package/es/badge/Badge.js +22 -14
- package/es/bottom-navigation/BottomNavigation.js +167 -0
- package/es/bottom-navigation/BottomNavigationSfc.css +0 -0
- package/es/bottom-navigation/BottomNavigationSfc.less +0 -0
- package/es/bottom-navigation/bottomNavigation.css +1 -0
- package/es/bottom-navigation/bottomNavigation.less +49 -0
- package/es/bottom-navigation/index.js +8 -0
- package/es/bottom-navigation/props.js +40 -0
- package/es/bottom-navigation/provide.js +17 -0
- package/es/bottom-navigation/style/index.js +4 -0
- package/es/bottom-navigation/style/less.js +4 -0
- package/es/bottom-navigation-item/BottomNavigationItem.js +122 -0
- package/es/bottom-navigation-item/BottomNavigationItemSfc.css +0 -0
- package/es/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
- package/es/bottom-navigation-item/bottomNavigationItem.css +1 -0
- package/es/bottom-navigation-item/bottomNavigationItem.less +78 -0
- package/es/bottom-navigation-item/index.js +8 -0
- package/es/bottom-navigation-item/props.js +22 -0
- package/es/bottom-navigation-item/provide.js +21 -0
- package/es/bottom-navigation-item/style/index.js +6 -0
- package/es/bottom-navigation-item/style/less.js +6 -0
- package/es/button/Button.js +12 -5
- package/es/card/Card.js +33 -28
- package/es/cell/Cell.js +26 -15
- package/es/checkbox/Checkbox.js +28 -26
- package/es/checkbox-group/CheckboxGroup.js +21 -25
- package/es/chip/Chip.js +16 -7
- package/es/chip/chip.css +1 -1
- package/es/chip/chip.less +11 -11
- package/es/col/Col.js +12 -5
- package/es/collapse/Collapse.js +15 -12
- package/es/collapse-item/CollapseItem.js +31 -30
- package/es/collapse-item/collapseItem.css +1 -1
- package/es/collapse-item/collapseItem.less +16 -16
- package/es/countdown/Countdown.js +14 -11
- package/es/counter/Counter.js +30 -27
- package/es/date-picker/DatePicker.js +28 -23
- package/es/date-picker/date-picker.css +1 -1
- package/es/date-picker/date-picker.less +22 -20
- package/es/date-picker/src/day-picker-panel.js +41 -34
- package/es/date-picker/src/month-picker-panel.js +27 -21
- package/es/date-picker/src/panel-header.js +16 -11
- package/es/date-picker/src/year-picker-panel.js +17 -9
- package/es/dialog/Dialog.js +36 -40
- package/es/divider/Divider.js +16 -12
- package/es/form/Form.js +11 -8
- package/es/form-details/FormDetails.js +27 -22
- package/es/icon/Icon.js +8 -1
- package/es/icon/icon.css +1 -1
- package/es/image/Image.js +19 -12
- package/es/image-preview/ImagePreview.js +35 -34
- package/es/index-anchor/IndexAnchor.js +8 -1
- package/es/index-bar/IndexBar.js +22 -20
- package/es/index.js +10 -0
- package/es/input/Input.js +45 -44
- package/es/lazy/index.js +2 -1
- package/es/less.js +2 -0
- package/es/list/List.js +39 -38
- package/es/loading/Loading.js +31 -23
- package/es/loading/loading.css +1 -1
- package/es/loading/loading.less +32 -32
- package/es/menu/Menu.js +12 -10
- package/es/option/Option.js +16 -11
- package/es/pagination/Pagination.js +34 -44
- package/es/pagination/pagination.css +1 -1
- package/es/pagination/pagination.less +8 -8
- package/es/picker/Picker.js +51 -47
- package/es/popup/Popup.js +9 -5
- package/es/progress/Progress.js +44 -35
- package/es/progress/progress.css +1 -1
- package/es/progress/progress.less +12 -12
- package/es/pull-refresh/PullRefresh.js +13 -10
- package/es/radio/Radio.js +25 -25
- package/es/radio-group/RadioGroup.js +19 -19
- package/es/rate/Rate.js +27 -25
- package/es/ripple/index.js +6 -2
- package/es/row/Row.js +11 -4
- package/es/select/Select.js +53 -54
- package/es/skeleton/Skeleton.js +70 -81
- package/es/slider/Slider.js +44 -40
- package/es/slider/slider.css +1 -1
- package/es/slider/slider.less +5 -5
- package/es/snackbar/Snackbar.js +9 -5
- package/es/snackbar/core.js +20 -26
- package/es/snackbar/snackbar.css +1 -1
- package/es/snackbar/snackbar.less +66 -68
- package/es/space/Space.js +8 -3
- package/es/step/Step.js +25 -23
- package/es/step/step.css +1 -1
- package/es/step/step.less +10 -10
- package/es/steps/Steps.js +12 -5
- package/es/sticky/Sticky.js +14 -7
- package/es/style-provider/StyleProvider.js +6 -2
- package/es/style.css +1 -1
- package/es/style.js +2 -0
- package/es/swipe/Swipe.js +22 -16
- package/es/swipe-item/SwipeItem.js +9 -4
- package/es/switch/Switch.js +25 -23
- package/es/switch/switch.css +1 -1
- package/es/switch/switch.less +2 -2
- package/es/tab/Tab.js +8 -1
- package/es/tab-item/TabItem.js +8 -1
- package/es/table/Table.js +27 -20
- package/es/tabs/Tabs.js +16 -11
- package/es/tabs-items/TabsItems.js +10 -5
- package/es/themes/dark/bottomNavigation.js +4 -0
- package/es/themes/dark/bottomNavigationItem.js +3 -0
- package/es/themes/dark/index.js +3 -1
- package/es/time-picker/TimePicker.js +47 -38
- package/es/time-picker/clock.js +26 -22
- package/es/time-picker/timePicker.css +1 -1
- package/es/time-picker/timePicker.less +11 -11
- package/es/umdIndex.js +10 -0
- package/es/uploader/Uploader.js +62 -57
- package/es/utils/components.js +35 -0
- package/es/varlet.esm.js +2082 -1527
- package/highlight/attributes.json +48 -0
- package/highlight/tags.json +20 -0
- package/highlight/web-types.json +155 -1
- package/lib/action-sheet/ActionSheet.js +30 -26
- package/lib/app-bar/AppBar.js +31 -24
- package/lib/back-top/BackTop.js +11 -2
- package/lib/badge/Badge.js +23 -13
- package/lib/bottom-navigation/BottomNavigation.js +183 -0
- package/lib/bottom-navigation/BottomNavigationSfc.css +0 -0
- package/lib/bottom-navigation/BottomNavigationSfc.less +0 -0
- package/lib/bottom-navigation/bottomNavigation.css +1 -0
- package/lib/bottom-navigation/bottomNavigation.less +49 -0
- package/lib/bottom-navigation/index.js +17 -0
- package/lib/bottom-navigation/props.js +45 -0
- package/lib/bottom-navigation/provide.js +27 -0
- package/lib/bottom-navigation/style/index.js +4 -0
- package/lib/bottom-navigation/style/less.js +4 -0
- package/lib/bottom-navigation-item/BottomNavigationItem.js +140 -0
- package/lib/bottom-navigation-item/BottomNavigationItemSfc.css +0 -0
- package/lib/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
- package/lib/bottom-navigation-item/bottomNavigationItem.css +1 -0
- package/lib/bottom-navigation-item/bottomNavigationItem.less +78 -0
- package/lib/bottom-navigation-item/index.js +17 -0
- package/lib/bottom-navigation-item/props.js +27 -0
- package/lib/bottom-navigation-item/provide.js +28 -0
- package/lib/bottom-navigation-item/style/index.js +6 -0
- package/lib/bottom-navigation-item/style/less.js +6 -0
- package/lib/button/Button.js +13 -4
- package/lib/card/Card.js +34 -27
- package/lib/cell/Cell.js +26 -13
- package/lib/checkbox/Checkbox.js +26 -23
- package/lib/checkbox-group/CheckboxGroup.js +19 -22
- package/lib/chip/Chip.js +18 -7
- package/lib/chip/chip.css +1 -1
- package/lib/chip/chip.less +11 -11
- package/lib/col/Col.js +14 -5
- package/lib/collapse/Collapse.js +15 -10
- package/lib/collapse-item/CollapseItem.js +31 -28
- package/lib/collapse-item/collapseItem.css +1 -1
- package/lib/collapse-item/collapseItem.less +16 -16
- package/lib/countdown/Countdown.js +14 -10
- package/lib/counter/Counter.js +29 -26
- package/lib/date-picker/DatePicker.js +30 -23
- package/lib/date-picker/date-picker.css +1 -1
- package/lib/date-picker/date-picker.less +22 -20
- package/lib/date-picker/src/day-picker-panel.js +41 -32
- package/lib/date-picker/src/month-picker-panel.js +27 -19
- package/lib/date-picker/src/panel-header.js +16 -9
- package/lib/date-picker/src/year-picker-panel.js +19 -9
- package/lib/dialog/Dialog.js +36 -38
- package/lib/divider/Divider.js +16 -10
- package/lib/form/Form.js +11 -6
- package/lib/form-details/FormDetails.js +27 -20
- package/lib/icon/Icon.js +10 -1
- package/lib/icon/icon.css +1 -1
- package/lib/image/Image.js +20 -11
- package/lib/image-preview/ImagePreview.js +35 -33
- package/lib/index-anchor/IndexAnchor.js +10 -1
- package/lib/index-bar/IndexBar.js +24 -20
- package/lib/index.js +6 -0
- package/lib/input/Input.js +45 -43
- package/lib/lazy/index.js +3 -1
- package/lib/less.js +2 -0
- package/lib/list/List.js +39 -36
- package/lib/loading/Loading.js +33 -23
- package/lib/loading/loading.css +1 -1
- package/lib/loading/loading.less +32 -32
- package/lib/menu/Menu.js +12 -9
- package/lib/option/Option.js +16 -9
- package/lib/pagination/Pagination.js +36 -44
- package/lib/pagination/pagination.css +1 -1
- package/lib/pagination/pagination.less +8 -8
- package/lib/picker/Picker.js +51 -46
- package/lib/popup/Popup.js +9 -4
- package/lib/progress/Progress.js +45 -34
- package/lib/progress/progress.css +1 -1
- package/lib/progress/progress.less +12 -12
- package/lib/pull-refresh/PullRefresh.js +14 -10
- package/lib/radio/Radio.js +23 -22
- package/lib/radio-group/RadioGroup.js +17 -16
- package/lib/rate/Rate.js +27 -24
- package/lib/ripple/index.js +7 -2
- package/lib/row/Row.js +12 -3
- package/lib/select/Select.js +53 -53
- package/lib/skeleton/Skeleton.js +69 -78
- package/lib/slider/Slider.js +42 -38
- package/lib/slider/slider.css +1 -1
- package/lib/slider/slider.less +5 -5
- package/lib/snackbar/Snackbar.js +9 -4
- package/lib/snackbar/core.js +20 -25
- package/lib/snackbar/snackbar.css +1 -1
- package/lib/snackbar/snackbar.less +66 -68
- package/lib/space/Space.js +9 -3
- package/lib/step/Step.js +26 -22
- package/lib/step/step.css +1 -1
- package/lib/step/step.less +10 -10
- package/lib/steps/Steps.js +13 -4
- package/lib/sticky/Sticky.js +15 -6
- package/lib/style-provider/StyleProvider.js +8 -2
- package/lib/style.css +1 -1
- package/lib/style.js +2 -0
- package/lib/swipe/Swipe.js +23 -16
- package/lib/swipe-item/SwipeItem.js +10 -3
- package/lib/switch/Switch.js +23 -20
- package/lib/switch/switch.css +1 -1
- package/lib/switch/switch.less +2 -2
- package/lib/tab/Tab.js +10 -1
- package/lib/tab-item/TabItem.js +10 -1
- package/lib/table/Table.js +27 -18
- package/lib/tabs/Tabs.js +18 -11
- package/lib/tabs-items/TabsItems.js +11 -4
- package/lib/themes/dark/bottomNavigation.js +9 -0
- package/lib/themes/dark/bottomNavigationItem.js +8 -0
- package/lib/themes/dark/index.js +5 -1
- package/lib/time-picker/TimePicker.js +49 -38
- package/lib/time-picker/clock.js +26 -20
- package/lib/time-picker/timePicker.css +1 -1
- package/lib/time-picker/timePicker.less +11 -11
- package/lib/uploader/Uploader.js +60 -55
- package/lib/utils/components.js +39 -0
- package/package.json +4 -4
- package/types/bottomNavigation.d.ts +19 -0
- package/types/bottomNavigationItem.d.ts +16 -0
- package/types/global.d.ts +2 -0
- package/types/index.d.ts +2 -0
- package/umd/varlet.js +4 -4
package/lib/style.js
CHANGED
|
@@ -2,6 +2,8 @@ require('./action-sheet/style')
|
|
|
2
2
|
require('./app-bar/style')
|
|
3
3
|
require('./back-top/style')
|
|
4
4
|
require('./badge/style')
|
|
5
|
+
require('./bottom-navigation/style')
|
|
6
|
+
require('./bottom-navigation-item/style')
|
|
5
7
|
require('./button/style')
|
|
6
8
|
require('./card/style')
|
|
7
9
|
require('./cell/style')
|
package/lib/swipe/Swipe.js
CHANGED
|
@@ -14,24 +14,29 @@ var _props = require("./props");
|
|
|
14
14
|
|
|
15
15
|
var _shared = require("../utils/shared");
|
|
16
16
|
|
|
17
|
+
var _components = require("../utils/components");
|
|
18
|
+
|
|
17
19
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
18
20
|
|
|
19
21
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
20
22
|
|
|
21
23
|
var SWIPE_DELAY = 250;
|
|
22
24
|
var SWIPE_DISTANCE = 20;
|
|
25
|
+
var {
|
|
26
|
+
n,
|
|
27
|
+
classes
|
|
28
|
+
} = (0, _components.createNamespace)('swipe');
|
|
23
29
|
|
|
24
30
|
var _withScopeId = n => ((0, _vue.pushScopeId)(""), n = n(), (0, _vue.popScopeId)(), n);
|
|
25
31
|
|
|
26
|
-
var _hoisted_1 =
|
|
27
|
-
class: "var-swipe",
|
|
28
|
-
ref: "swipeEl"
|
|
29
|
-
};
|
|
30
|
-
var _hoisted_2 = ["onClick"];
|
|
32
|
+
var _hoisted_1 = ["onClick"];
|
|
31
33
|
|
|
32
34
|
function render(_ctx, _cache) {
|
|
33
|
-
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div",
|
|
34
|
-
class: (0, _vue.normalizeClass)(
|
|
35
|
+
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
36
|
+
class: (0, _vue.normalizeClass)(_ctx.n()),
|
|
37
|
+
ref: "swipeEl"
|
|
38
|
+
}, [(0, _vue.createElementVNode)("div", {
|
|
39
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('track'), [_ctx.vertical, _ctx.n('--vertical')])),
|
|
35
40
|
style: (0, _vue.normalizeStyle)({
|
|
36
41
|
width: !_ctx.vertical ? _ctx.trackSize + "px" : undefined,
|
|
37
42
|
height: _ctx.vertical ? _ctx.trackSize + "px" : undefined,
|
|
@@ -54,10 +59,10 @@ function render(_ctx, _cache) {
|
|
|
54
59
|
length: _ctx.length
|
|
55
60
|
}, () => [_ctx.indicator && _ctx.length ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
56
61
|
key: 0,
|
|
57
|
-
class: (0, _vue.normalizeClass)(
|
|
62
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('indicators'), [_ctx.vertical, _ctx.n('--indicators-vertical')]))
|
|
58
63
|
}, [((0, _vue.openBlock)(true), (0, _vue.createElementBlock)(_vue.Fragment, null, (0, _vue.renderList)(_ctx.length, (l, idx) => {
|
|
59
64
|
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
60
|
-
class: (0, _vue.normalizeClass)(
|
|
65
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('indicator'), [_ctx.index === idx, _ctx.n('--indicator-active')], [_ctx.vertical, _ctx.n('--indicator-vertical')])),
|
|
61
66
|
style: (0, _vue.normalizeStyle)({
|
|
62
67
|
background: _ctx.indicatorColor
|
|
63
68
|
}),
|
|
@@ -65,13 +70,13 @@ function render(_ctx, _cache) {
|
|
|
65
70
|
onClick: $event => _ctx.to(idx)
|
|
66
71
|
}, null, 14
|
|
67
72
|
/* CLASS, STYLE, PROPS */
|
|
68
|
-
,
|
|
73
|
+
, _hoisted_1);
|
|
69
74
|
}), 128
|
|
70
75
|
/* KEYED_FRAGMENT */
|
|
71
76
|
))], 2
|
|
72
77
|
/* CLASS */
|
|
73
|
-
)) : (0, _vue.createCommentVNode)("v-if", true)])],
|
|
74
|
-
/*
|
|
78
|
+
)) : (0, _vue.createCommentVNode)("v-if", true)])], 2
|
|
79
|
+
/* CLASS */
|
|
75
80
|
);
|
|
76
81
|
}
|
|
77
82
|
|
|
@@ -195,7 +200,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
195
200
|
|
|
196
201
|
(0, _elements.nextTickFrame)(() => {
|
|
197
202
|
lockDuration.value = false;
|
|
198
|
-
|
|
203
|
+
(0, _components.call)(fn);
|
|
199
204
|
});
|
|
200
205
|
};
|
|
201
206
|
|
|
@@ -303,7 +308,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
303
308
|
var prevIndex = index.value;
|
|
304
309
|
index.value = swipeIndexToIndex(swipeIndex);
|
|
305
310
|
startAutoplay();
|
|
306
|
-
prevIndex !== index.value && (
|
|
311
|
+
prevIndex !== index.value && (0, _components.call)(onChange, index.value);
|
|
307
312
|
}; // expose
|
|
308
313
|
|
|
309
314
|
|
|
@@ -333,7 +338,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
333
338
|
} = props;
|
|
334
339
|
var currentIndex = index.value;
|
|
335
340
|
index.value = boundaryIndex(currentIndex + 1);
|
|
336
|
-
|
|
341
|
+
(0, _components.call)(onChange, index.value);
|
|
337
342
|
fixPosition(() => {
|
|
338
343
|
if (currentIndex === length.value - 1 && loop) {
|
|
339
344
|
findSwipeItem(0).setTranslate(trackSize.value);
|
|
@@ -359,7 +364,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
359
364
|
} = props;
|
|
360
365
|
var currentIndex = index.value;
|
|
361
366
|
index.value = boundaryIndex(currentIndex - 1);
|
|
362
|
-
|
|
367
|
+
(0, _components.call)(onChange, index.value);
|
|
363
368
|
fixPosition(() => {
|
|
364
369
|
if (currentIndex === 0 && loop) {
|
|
365
370
|
findSwipeItem(length.value - 1).setTranslate(-trackSize.value);
|
|
@@ -406,6 +411,8 @@ var _default = (0, _vue.defineComponent)({
|
|
|
406
411
|
stopAutoplay();
|
|
407
412
|
});
|
|
408
413
|
return {
|
|
414
|
+
n,
|
|
415
|
+
classes,
|
|
409
416
|
length,
|
|
410
417
|
index,
|
|
411
418
|
swipeEl,
|
|
@@ -8,16 +8,22 @@ var _vue = require("vue");
|
|
|
8
8
|
|
|
9
9
|
var _provide = require("./provide");
|
|
10
10
|
|
|
11
|
+
var _components = require("../utils/components");
|
|
12
|
+
|
|
13
|
+
var {
|
|
14
|
+
n
|
|
15
|
+
} = (0, _components.createNamespace)('swipe-item');
|
|
16
|
+
|
|
11
17
|
function render(_ctx, _cache) {
|
|
12
18
|
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
13
|
-
class:
|
|
19
|
+
class: (0, _vue.normalizeClass)(_ctx.n()),
|
|
14
20
|
style: (0, _vue.normalizeStyle)({
|
|
15
21
|
width: !_ctx.vertical ? _ctx.size + "px" : undefined,
|
|
16
22
|
height: _ctx.vertical ? _ctx.size + "px" : undefined,
|
|
17
23
|
transform: "translate" + (_ctx.vertical ? 'Y' : 'X') + "(" + _ctx.translate + "px)"
|
|
18
24
|
})
|
|
19
|
-
}, [(0, _vue.renderSlot)(_ctx.$slots, "default")],
|
|
20
|
-
/* STYLE */
|
|
25
|
+
}, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 6
|
|
26
|
+
/* CLASS, STYLE */
|
|
21
27
|
);
|
|
22
28
|
}
|
|
23
29
|
|
|
@@ -47,6 +53,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
47
53
|
};
|
|
48
54
|
bindSwipe(swipeItemProvider);
|
|
49
55
|
return {
|
|
56
|
+
n,
|
|
50
57
|
size,
|
|
51
58
|
vertical,
|
|
52
59
|
translate
|
package/lib/switch/Switch.js
CHANGED
|
@@ -22,11 +22,10 @@ var _ripple = _interopRequireDefault(require("../ripple"));
|
|
|
22
22
|
|
|
23
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
24
|
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
25
|
+
var {
|
|
26
|
+
n,
|
|
27
|
+
classes
|
|
28
|
+
} = (0, _components.createNamespace)('switch');
|
|
30
29
|
|
|
31
30
|
function render(_ctx, _cache) {
|
|
32
31
|
var _component_var_loading = (0, _vue.resolveComponent)("var-loading");
|
|
@@ -35,23 +34,25 @@ function render(_ctx, _cache) {
|
|
|
35
34
|
|
|
36
35
|
var _directive_ripple = (0, _vue.resolveDirective)("ripple");
|
|
37
36
|
|
|
38
|
-
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div",
|
|
39
|
-
class: (0, _vue.normalizeClass)(
|
|
37
|
+
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
38
|
+
class: (0, _vue.normalizeClass)(_ctx.n())
|
|
39
|
+
}, [(0, _vue.createElementVNode)("div", {
|
|
40
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('block'), [_ctx.disabled || _ctx.formDisabled, _ctx.n('--disable')])),
|
|
40
41
|
onClick: _cache[0] || (_cache[0] = function () {
|
|
41
42
|
return _ctx.switchActive && _ctx.switchActive(...arguments);
|
|
42
43
|
}),
|
|
43
44
|
style: (0, _vue.normalizeStyle)(_ctx.styleComputed.switch)
|
|
44
45
|
}, [(0, _vue.createElementVNode)("div", {
|
|
45
46
|
style: (0, _vue.normalizeStyle)(_ctx.styleComputed.track),
|
|
46
|
-
class: (0, _vue.normalizeClass)(
|
|
47
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('track'), [_ctx.modelValue === _ctx.activeValue, _ctx.n('track-active')], [_ctx.errorMessage, _ctx.n('track-error')]))
|
|
47
48
|
}, null, 6
|
|
48
49
|
/* CLASS, STYLE */
|
|
49
50
|
), (0, _vue.withDirectives)(((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
50
|
-
class:
|
|
51
|
+
class: (0, _vue.normalizeClass)(_ctx.n('ripple')),
|
|
51
52
|
style: (0, _vue.normalizeStyle)(_ctx.styleComputed.ripple)
|
|
52
53
|
}, [(0, _vue.createElementVNode)("div", {
|
|
53
54
|
style: (0, _vue.normalizeStyle)(_ctx.styleComputed.handle),
|
|
54
|
-
class: (0, _vue.normalizeClass)(
|
|
55
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('handle'), 'var-elevation--2', [_ctx.modelValue === _ctx.activeValue, _ctx.n('handle-active')], [_ctx.errorMessage, _ctx.n('handle-error')]))
|
|
55
56
|
}, [_ctx.loading ? ((0, _vue.openBlock)(), (0, _vue.createBlock)(_component_var_loading, {
|
|
56
57
|
key: 0,
|
|
57
58
|
radius: _ctx.toNumber(_ctx.size) / 2 - 2
|
|
@@ -59,8 +60,8 @@ function render(_ctx, _cache) {
|
|
|
59
60
|
/* PROPS */
|
|
60
61
|
, ["radius"])) : (0, _vue.createCommentVNode)("v-if", true)], 6
|
|
61
62
|
/* CLASS, STYLE */
|
|
62
|
-
)],
|
|
63
|
-
/* STYLE */
|
|
63
|
+
)], 6
|
|
64
|
+
/* CLASS, STYLE */
|
|
64
65
|
)), [[_directive_ripple, {
|
|
65
66
|
disabled: !_ctx.ripple || _ctx.disabled || _ctx.loading || _ctx.formDisabled
|
|
66
67
|
}]])], 6
|
|
@@ -69,7 +70,9 @@ function render(_ctx, _cache) {
|
|
|
69
70
|
"error-message": _ctx.errorMessage
|
|
70
71
|
}, null, 8
|
|
71
72
|
/* PROPS */
|
|
72
|
-
, ["error-message"])]
|
|
73
|
+
, ["error-message"])], 2
|
|
74
|
+
/* CLASS */
|
|
75
|
+
);
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
var _default = (0, _vue.defineComponent)({
|
|
@@ -151,18 +154,16 @@ var _default = (0, _vue.defineComponent)({
|
|
|
151
154
|
inactiveValue,
|
|
152
155
|
'onUpdate:modelValue': updateModelValue
|
|
153
156
|
} = props;
|
|
154
|
-
|
|
157
|
+
(0, _components.call)(onClick, event);
|
|
155
158
|
if (disabled || loading || readonly || form != null && form.disabled.value || form != null && form.readonly.value) return;
|
|
156
159
|
var newValue = modelValue === activeValue ? inactiveValue : activeValue;
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
(0, _components.call)(onChange, newValue);
|
|
161
|
+
(0, _components.call)(updateModelValue, newValue);
|
|
159
162
|
validateWithTrigger();
|
|
160
163
|
};
|
|
161
164
|
|
|
162
165
|
var reset = () => {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
(_props$onUpdateModel = props['onUpdate:modelValue']) == null ? void 0 : _props$onUpdateModel.call(props, props.inactiveValue);
|
|
166
|
+
(0, _components.call)(props['onUpdate:modelValue'], props.inactiveValue);
|
|
166
167
|
resetValidation();
|
|
167
168
|
};
|
|
168
169
|
|
|
@@ -171,8 +172,10 @@ var _default = (0, _vue.defineComponent)({
|
|
|
171
172
|
validate,
|
|
172
173
|
resetValidation
|
|
173
174
|
};
|
|
174
|
-
|
|
175
|
+
(0, _components.call)(bindForm, switchProvider);
|
|
175
176
|
return {
|
|
177
|
+
n,
|
|
178
|
+
classes,
|
|
176
179
|
switchActive,
|
|
177
180
|
toNumber: _shared.toNumber,
|
|
178
181
|
styleComputed,
|
package/lib/switch/switch.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --switch-track-background: #fff; --switch-track-active-background: var(--color-primary); --switch-track-error-background: var(--color-danger); --switch-ripple-color: var(--color-primary); --switch-handle-background: #fff; --switch-handle-color: #fff; --switch-handle-active-background: var(--color-primary); --switch-handle-error-background: var(--color-danger);}.var-switch { display: inline-block;}.var-
|
|
1
|
+
:root { --switch-track-background: #fff; --switch-track-active-background: var(--color-primary); --switch-track-error-background: var(--color-danger); --switch-ripple-color: var(--color-primary); --switch-handle-background: #fff; --switch-handle-color: #fff; --switch-handle-active-background: var(--color-primary); --switch-handle-error-background: var(--color-danger);}.var-switch { display: inline-block;}.var-switch__block { position: relative; display: flex; cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); align-items: center; justify-content: center;}.var-switch--disable { filter: opacity(0.6); cursor: not-allowed;}.var-switch__track { background: var(--switch-track-background); transition: background-color 0.25s; filter: opacity(0.6);}.var-switch__track-active { background-color: var(--switch-track-active-background);}.var-switch__track-error { background-color: var(--switch-track-error-background) !important;}.var-switch__ripple { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--switch-ripple-color); border-radius: 50%; overflow: hidden; transition: 0.3s var(--cubic-bezier);}.var-switch__handle { border-radius: 50%; background-color: var(--switch-handle-background); display: flex; align-items: center; justify-content: center; color: var(--switch-handle-color); transition: background-color 0.25s;}.var-switch__handle-active { background-color: var(--switch-handle-active-background);}.var-switch__handle-error { background-color: var(--switch-handle-error-background) !important;}
|
package/lib/switch/switch.less
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
.var-switch {
|
|
22
22
|
display: inline-block;
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
&__block {
|
|
25
25
|
position: relative;
|
|
26
26
|
display: flex;
|
|
27
27
|
cursor: pointer;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
justify-content: center;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
&--disable {
|
|
34
34
|
filter: opacity(0.6);
|
|
35
35
|
cursor: not-allowed;
|
|
36
36
|
}
|
package/lib/tab/Tab.js
CHANGED
|
@@ -10,15 +10,22 @@ var _vue = require("vue");
|
|
|
10
10
|
|
|
11
11
|
var _props = require("./props");
|
|
12
12
|
|
|
13
|
+
var _components = require("../utils/components");
|
|
14
|
+
|
|
13
15
|
var _provide = require("./provide");
|
|
14
16
|
|
|
15
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
18
|
|
|
19
|
+
var {
|
|
20
|
+
n,
|
|
21
|
+
classes
|
|
22
|
+
} = (0, _components.createNamespace)('tab');
|
|
23
|
+
|
|
17
24
|
function render(_ctx, _cache) {
|
|
18
25
|
var _directive_ripple = (0, _vue.resolveDirective)("ripple");
|
|
19
26
|
|
|
20
27
|
return (0, _vue.withDirectives)(((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
21
|
-
class: (0, _vue.normalizeClass)(
|
|
28
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), 'var--box', _ctx.computeColorClass(), _ctx.n("--" + _ctx.itemDirection))),
|
|
22
29
|
ref: "tabEl",
|
|
23
30
|
style: (0, _vue.normalizeStyle)({
|
|
24
31
|
color: _ctx.computeColorStyle()
|
|
@@ -102,6 +109,8 @@ var _default = (0, _vue.defineComponent)({
|
|
|
102
109
|
(0, _vue.watch)(() => props.name, resize);
|
|
103
110
|
(0, _vue.watch)(() => props.disabled, resize);
|
|
104
111
|
return {
|
|
112
|
+
n,
|
|
113
|
+
classes,
|
|
105
114
|
tabEl,
|
|
106
115
|
active,
|
|
107
116
|
activeColor,
|
package/lib/tab-item/TabItem.js
CHANGED
|
@@ -12,13 +12,20 @@ var _provide = require("./provide");
|
|
|
12
12
|
|
|
13
13
|
var _props = require("./props");
|
|
14
14
|
|
|
15
|
+
var _components = require("../utils/components");
|
|
16
|
+
|
|
15
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
18
|
|
|
19
|
+
var {
|
|
20
|
+
n,
|
|
21
|
+
classes
|
|
22
|
+
} = (0, _components.createNamespace)('tab-item');
|
|
23
|
+
|
|
17
24
|
function render(_ctx, _cache) {
|
|
18
25
|
var _component_var_swipe_item = (0, _vue.resolveComponent)("var-swipe-item");
|
|
19
26
|
|
|
20
27
|
return (0, _vue.openBlock)(), (0, _vue.createBlock)(_component_var_swipe_item, {
|
|
21
|
-
class: (0, _vue.normalizeClass)(
|
|
28
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), [!_ctx.current, _ctx.n('--inactive')])),
|
|
22
29
|
"var-tab-item-cover": ""
|
|
23
30
|
}, {
|
|
24
31
|
default: (0, _vue.withCtx)(() => [_ctx.initSlot ? (0, _vue.renderSlot)(_ctx.$slots, "default", {
|
|
@@ -64,6 +71,8 @@ var _default = (0, _vue.defineComponent)({
|
|
|
64
71
|
};
|
|
65
72
|
bindTabsItems(tabItemProvider);
|
|
66
73
|
return {
|
|
74
|
+
n,
|
|
75
|
+
classes,
|
|
67
76
|
current,
|
|
68
77
|
initSlot
|
|
69
78
|
};
|
package/lib/table/Table.js
CHANGED
|
@@ -8,28 +8,35 @@ var _vue = require("vue");
|
|
|
8
8
|
|
|
9
9
|
var _elements = require("../utils/elements");
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class: "var-table__main"
|
|
18
|
-
};
|
|
19
|
-
var _hoisted_3 = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "var-table__footer"
|
|
22
|
-
};
|
|
11
|
+
var _components = require("../utils/components");
|
|
12
|
+
|
|
13
|
+
var {
|
|
14
|
+
n,
|
|
15
|
+
classes
|
|
16
|
+
} = (0, _components.createNamespace)('table');
|
|
23
17
|
|
|
24
18
|
function render(_ctx, _cache) {
|
|
25
|
-
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div",
|
|
26
|
-
class:
|
|
19
|
+
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
20
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), 'var-elevation--1 var--box'))
|
|
21
|
+
}, [(0, _vue.createElementVNode)("div", {
|
|
22
|
+
class: (0, _vue.normalizeClass)(_ctx.n('main'))
|
|
23
|
+
}, [(0, _vue.createElementVNode)("table", {
|
|
24
|
+
class: (0, _vue.normalizeClass)(_ctx.n('table')),
|
|
27
25
|
style: (0, _vue.normalizeStyle)({
|
|
28
26
|
width: _ctx.toSizeUnit(_ctx.fullWidth)
|
|
29
27
|
})
|
|
30
|
-
}, [(0, _vue.renderSlot)(_ctx.$slots, "default")],
|
|
31
|
-
/* STYLE */
|
|
32
|
-
)]
|
|
28
|
+
}, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 6
|
|
29
|
+
/* CLASS, STYLE */
|
|
30
|
+
)], 2
|
|
31
|
+
/* CLASS */
|
|
32
|
+
), _ctx.$slots.footer ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: (0, _vue.normalizeClass)(_ctx.n('footer'))
|
|
35
|
+
}, [(0, _vue.renderSlot)(_ctx.$slots, "footer")], 2
|
|
36
|
+
/* CLASS */
|
|
37
|
+
)) : (0, _vue.createCommentVNode)("v-if", true)], 2
|
|
38
|
+
/* CLASS */
|
|
39
|
+
);
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
var _default = (0, _vue.defineComponent)({
|
|
@@ -44,7 +51,9 @@ var _default = (0, _vue.defineComponent)({
|
|
|
44
51
|
|
|
45
52
|
setup() {
|
|
46
53
|
return {
|
|
47
|
-
toSizeUnit: _elements.toSizeUnit
|
|
54
|
+
toSizeUnit: _elements.toSizeUnit,
|
|
55
|
+
n,
|
|
56
|
+
classes
|
|
48
57
|
};
|
|
49
58
|
}
|
|
50
59
|
|
package/lib/tabs/Tabs.js
CHANGED
|
@@ -16,26 +16,33 @@ var _shared = require("../utils/shared");
|
|
|
16
16
|
|
|
17
17
|
var _elements = require("../utils/elements");
|
|
18
18
|
|
|
19
|
+
var _components = require("../utils/components");
|
|
20
|
+
|
|
19
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
22
|
|
|
21
23
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
22
24
|
|
|
23
25
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
24
26
|
|
|
27
|
+
var {
|
|
28
|
+
n,
|
|
29
|
+
classes
|
|
30
|
+
} = (0, _components.createNamespace)('tabs');
|
|
31
|
+
|
|
25
32
|
function render(_ctx, _cache) {
|
|
26
33
|
return (0, _vue.openBlock)(), (0, _vue.createBlock)((0, _vue.resolveDynamicComponent)(_ctx.sticky ? 'var-sticky' : _ctx.Transition), {
|
|
27
34
|
"offset-top": _ctx.sticky ? _ctx.offsetTop : null
|
|
28
35
|
}, {
|
|
29
36
|
default: (0, _vue.withCtx)(() => [(0, _vue.createElementVNode)("div", (0, _vue.mergeProps)({
|
|
30
|
-
class:
|
|
37
|
+
class: _ctx.classes(_ctx.n(), 'var--box', _ctx.n("--item-" + _ctx.itemDirection), _ctx.n("--layout-" + _ctx.layoutDirection + "-padding"), [_ctx.elevation, 'var-elevation--4'], [_ctx.fixedBottom, _ctx.n('--fixed-bottom')]),
|
|
31
38
|
style: {
|
|
32
39
|
background: _ctx.color
|
|
33
40
|
}
|
|
34
41
|
}, _ctx.$attrs), [(0, _vue.createElementVNode)("div", {
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
ref: "scrollerEl",
|
|
43
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('tab-wrap'), [_ctx.scrollable, _ctx.n("--layout-" + _ctx.layoutDirection + "-scrollable")], _ctx.n("--layout-" + _ctx.layoutDirection)))
|
|
37
44
|
}, [(0, _vue.renderSlot)(_ctx.$slots, "default"), (0, _vue.createElementVNode)("div", {
|
|
38
|
-
class: (0, _vue.normalizeClass)(
|
|
45
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('indicator'), _ctx.n("--layout-" + _ctx.layoutDirection + "-indicator"))),
|
|
39
46
|
style: (0, _vue.normalizeStyle)({
|
|
40
47
|
width: _ctx.layoutDirection === 'horizontal' ? _ctx.indicatorWidth : _ctx.toSizeUnit(_ctx.indicatorSize),
|
|
41
48
|
height: _ctx.layoutDirection === 'horizontal' ? _ctx.toSizeUnit(_ctx.indicatorSize) : _ctx.indicatorHeight,
|
|
@@ -85,7 +92,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
85
92
|
} = (0, _provide.useTabList)();
|
|
86
93
|
|
|
87
94
|
var onTabClick = tab => {
|
|
88
|
-
var _tab$name$value
|
|
95
|
+
var _tab$name$value;
|
|
89
96
|
|
|
90
97
|
var currentActive = (_tab$name$value = tab.name.value) != null ? _tab$name$value : tab.index.value;
|
|
91
98
|
var {
|
|
@@ -93,9 +100,9 @@ var _default = (0, _vue.defineComponent)({
|
|
|
93
100
|
onChange,
|
|
94
101
|
onClick
|
|
95
102
|
} = props;
|
|
96
|
-
(
|
|
97
|
-
|
|
98
|
-
currentActive !== active && (
|
|
103
|
+
(0, _components.call)(props['onUpdate:active'], currentActive);
|
|
104
|
+
(0, _components.call)(onClick, currentActive);
|
|
105
|
+
currentActive !== active && (0, _components.call)(onChange, currentActive);
|
|
99
106
|
};
|
|
100
107
|
|
|
101
108
|
var matchName = () => {
|
|
@@ -117,8 +124,6 @@ var _default = (0, _vue.defineComponent)({
|
|
|
117
124
|
};
|
|
118
125
|
|
|
119
126
|
var matchBoundary = () => {
|
|
120
|
-
var _props$onUpdateActiv2, _props$onUpdateActiv3;
|
|
121
|
-
|
|
122
127
|
if (length.value === 0) {
|
|
123
128
|
return;
|
|
124
129
|
}
|
|
@@ -126,7 +131,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
126
131
|
var {
|
|
127
132
|
active
|
|
128
133
|
} = props;
|
|
129
|
-
(0, _shared.isNumber)(active) ? active > length.value - 1 ? (
|
|
134
|
+
(0, _shared.isNumber)(active) ? active > length.value - 1 ? (0, _components.call)(props['onUpdate:active'], length.value - 1) : (0, _components.call)(props['onUpdate:active'], 0) : null;
|
|
130
135
|
return matchIndex();
|
|
131
136
|
};
|
|
132
137
|
|
|
@@ -215,6 +220,8 @@ var _default = (0, _vue.defineComponent)({
|
|
|
215
220
|
scrollerEl,
|
|
216
221
|
Transition: _vue.Transition,
|
|
217
222
|
toSizeUnit: _elements.toSizeUnit,
|
|
223
|
+
n,
|
|
224
|
+
classes,
|
|
218
225
|
resize
|
|
219
226
|
};
|
|
220
227
|
}
|
|
@@ -12,13 +12,19 @@ var _provide = require("./provide");
|
|
|
12
12
|
|
|
13
13
|
var _props = require("./props");
|
|
14
14
|
|
|
15
|
+
var _components = require("../utils/components");
|
|
16
|
+
|
|
15
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
18
|
|
|
19
|
+
var {
|
|
20
|
+
n
|
|
21
|
+
} = (0, _components.createNamespace)('tabs-items');
|
|
22
|
+
|
|
17
23
|
function render(_ctx, _cache) {
|
|
18
24
|
var _component_var_swipe = (0, _vue.resolveComponent)("var-swipe");
|
|
19
25
|
|
|
20
26
|
return (0, _vue.openBlock)(), (0, _vue.createBlock)(_component_var_swipe, {
|
|
21
|
-
class:
|
|
27
|
+
class: (0, _vue.normalizeClass)(_ctx.n()),
|
|
22
28
|
ref: "swipe",
|
|
23
29
|
loop: _ctx.loop,
|
|
24
30
|
touchable: _ctx.canSwipe,
|
|
@@ -31,7 +37,7 @@ function render(_ctx, _cache) {
|
|
|
31
37
|
|
|
32
38
|
}, 8
|
|
33
39
|
/* PROPS */
|
|
34
|
-
, ["loop", "touchable", "onChange"]);
|
|
40
|
+
, ["class", "loop", "touchable", "onChange"]);
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
var _default = (0, _vue.defineComponent)({
|
|
@@ -92,7 +98,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
92
98
|
};
|
|
93
99
|
|
|
94
100
|
var handleSwipeChange = currentIndex => {
|
|
95
|
-
var _tabItem$name$value
|
|
101
|
+
var _tabItem$name$value;
|
|
96
102
|
|
|
97
103
|
var tabItem = tabItemList.find(_ref4 => {
|
|
98
104
|
var {
|
|
@@ -101,7 +107,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
101
107
|
return index.value === currentIndex;
|
|
102
108
|
});
|
|
103
109
|
var active = (_tabItem$name$value = tabItem.name.value) != null ? _tabItem$name$value : tabItem.index.value;
|
|
104
|
-
(
|
|
110
|
+
(0, _components.call)(props['onUpdate:active'], active);
|
|
105
111
|
};
|
|
106
112
|
|
|
107
113
|
var tabsItemsProvider = {};
|
|
@@ -110,6 +116,7 @@ var _default = (0, _vue.defineComponent)({
|
|
|
110
116
|
(0, _vue.watch)(() => length.value, () => handleActiveChange(props.active));
|
|
111
117
|
return {
|
|
112
118
|
swipe,
|
|
119
|
+
n,
|
|
113
120
|
handleSwipeChange
|
|
114
121
|
};
|
|
115
122
|
}
|
package/lib/themes/dark/index.js
CHANGED
|
@@ -57,6 +57,10 @@ var _tabs = _interopRequireDefault(require("./tabs"));
|
|
|
57
57
|
|
|
58
58
|
var _appBar = _interopRequireDefault(require("./appBar"));
|
|
59
59
|
|
|
60
|
+
var _bottomNavigation = _interopRequireDefault(require("./bottomNavigation"));
|
|
61
|
+
|
|
62
|
+
var _bottomNavigationItem = _interopRequireDefault(require("./bottomNavigationItem"));
|
|
63
|
+
|
|
60
64
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
61
65
|
|
|
62
66
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
@@ -72,6 +76,6 @@ var _default = _extends({
|
|
|
72
76
|
'--color-danger': '#ef5350',
|
|
73
77
|
'--color-disabled': '#404040',
|
|
74
78
|
'--color-text-disabled': '#757575'
|
|
75
|
-
}, _button.default, _cell.default, _card.default, _timePicker.default, _datePicker.default, _skeleton.default, _tabs.default, _tab.default, _popup.default, _dialog.default, _actionSheet.default, _chip.default, _badge.default, _uploader.default, _collapse.default, _pullRefresh.default, _switch.default, _steps.default, _pagination.default, _table.default, _input.default, _select.default, _radio.default, _checkbox.default, _divider.default, _picker.default, _appBar.default);
|
|
79
|
+
}, _button.default, _cell.default, _card.default, _timePicker.default, _datePicker.default, _skeleton.default, _tabs.default, _tab.default, _popup.default, _dialog.default, _actionSheet.default, _chip.default, _badge.default, _uploader.default, _collapse.default, _pullRefresh.default, _switch.default, _steps.default, _pagination.default, _table.default, _input.default, _select.default, _radio.default, _checkbox.default, _divider.default, _picker.default, _appBar.default, _bottomNavigation.default, _bottomNavigationItem.default);
|
|
76
80
|
|
|
77
81
|
exports.default = _default;
|