@appbaseio/reactivesearch-vue 1.33.5 → 1.34.0-alpha.2
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/dist/@appbaseio/reactivesearch-vue.umd.js +6840 -9315
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +7 -13
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/Button-626c5e8e.js +58 -0
- package/dist/cjs/{CancelSvg-220a7cc3.js → CancelSvg-062a42f0.js} +32 -40
- package/dist/cjs/Card-c381ded3.js +26 -0
- package/dist/cjs/{ComponentWrapper-b6d4660c.js → ComponentWrapper-db45cc6d.js} +5 -5
- package/dist/cjs/Container-29f049b2.js +12 -0
- package/dist/cjs/{DataSearch-1c5c2202.js → DataSearch-7c71ec9f.js} +712 -850
- package/dist/cjs/DataSearch.js +12 -11
- package/dist/cjs/{DropDown-8984b544.js → DropDown-3b899b20.js} +78 -79
- package/dist/cjs/DynamicRangeSlider.js +51 -37
- package/dist/cjs/Flex-d5675ea6.js +48 -0
- package/dist/cjs/FormControlList-cf1ff2ca.js +42 -0
- package/dist/cjs/Input-4d278ca0.js +74 -0
- package/dist/cjs/ListItem-c067bc07.js +41 -0
- package/dist/cjs/MultiDropdownList.js +71 -62
- package/dist/cjs/MultiList.js +85 -88
- package/dist/cjs/MultiRange.js +54 -41
- package/dist/cjs/{Pagination-07f4dbad.js → Pagination-a468f960.js} +56 -53
- package/dist/cjs/{PreferencesConsumer-5d67b486.js → PreferencesConsumer-034c55e3.js} +6 -5
- package/dist/cjs/RangeInput.js +115 -107
- package/dist/cjs/RangeSlider.js +50 -36
- package/dist/cjs/ReactiveBase.js +66 -48
- package/dist/cjs/{ReactiveComponent-4e75c939.js → ReactiveComponent-f0f486ca.js} +325 -311
- package/dist/cjs/ReactiveComponent.js +21 -20
- package/dist/cjs/ReactiveGoogleMap.js +283 -307
- package/dist/cjs/ReactiveList.js +99 -116
- package/dist/cjs/ResultCard.js +26 -19
- package/dist/cjs/ResultList.js +31 -27
- package/dist/cjs/SelectedFilters.js +49 -34
- package/dist/cjs/SingleDropdownList.js +70 -61
- package/dist/cjs/SingleList.js +86 -90
- package/dist/cjs/SingleRange.js +48 -39
- package/dist/cjs/StateProvider.js +2 -2
- package/dist/cjs/Title-8802a218.js +12 -0
- package/dist/cjs/ToggleButton.js +39 -32
- package/dist/cjs/{index-30126fd0.js → index-dc25b706.js} +6 -6
- package/dist/cjs/index.js +22 -21
- package/dist/cjs/install.js +21 -20
- package/dist/cjs/ssr-eb901d09.js +35 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-7cfc2f98.js → vueTypes-621a8143.js} +1 -1
- package/dist/es/Button-ebafa3d6.js +52 -0
- package/dist/es/{CancelSvg-e40552a5.js → CancelSvg-14ebc9a1.js} +30 -37
- package/dist/es/{Card-19ad6d90.js → Card-1951569e.js} +5 -6
- package/dist/es/{ComponentWrapper-8042aa35.js → ComponentWrapper-bf443c0b.js} +4 -4
- package/dist/es/Container-d00219f7.js +1 -1
- package/dist/es/{DataSearch-5bb904c5.js → DataSearch-4f9a4e46.js} +705 -842
- package/dist/es/DataSearch.js +10 -9
- package/dist/es/{DropDown-28ddce07.js → DropDown-35e232b7.js} +78 -78
- package/dist/es/DynamicRangeSlider.js +48 -34
- package/dist/es/Flex-a08e22d7.js +46 -0
- package/dist/es/FormControlList-fa5cf78b.js +38 -0
- package/dist/es/Input-3b8408a6.js +69 -0
- package/dist/es/{ListItem-07888a65.js → ListItem-47a6345a.js} +6 -7
- package/dist/es/MultiDropdownList.js +69 -60
- package/dist/es/MultiList.js +84 -87
- package/dist/es/MultiRange.js +52 -39
- package/dist/es/{Pagination-28e56c5c.js → Pagination-145b4ff2.js} +56 -53
- package/dist/es/{PreferencesConsumer-bc097ebb.js → PreferencesConsumer-7ea7313a.js} +5 -4
- package/dist/es/RangeInput.js +112 -103
- package/dist/es/RangeSlider.js +47 -33
- package/dist/es/ReactiveBase.js +65 -46
- package/dist/es/{ReactiveComponent-09c183c8.js → ReactiveComponent-e2fb9eb4.js} +321 -306
- package/dist/es/ReactiveComponent.js +18 -17
- package/dist/es/ReactiveGoogleMap.js +279 -302
- package/dist/es/ReactiveList.js +97 -113
- package/dist/es/ResultCard.js +25 -18
- package/dist/es/ResultList.js +30 -26
- package/dist/es/SelectedFilters.js +47 -32
- package/dist/es/SingleDropdownList.js +68 -59
- package/dist/es/SingleList.js +84 -88
- package/dist/es/SingleRange.js +46 -37
- package/dist/es/StateProvider.js +2 -2
- package/dist/es/Title-863dfa42.js +1 -1
- package/dist/es/ToggleButton.js +37 -30
- package/dist/es/{index-0444a498.js → index-285a43a6.js} +6 -6
- package/dist/es/index.js +19 -18
- package/dist/es/install.js +18 -17
- package/dist/es/ssr-03607d84.js +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-8986b709.js → vueTypes-e4af6fe2.js} +1 -1
- package/package.json +8 -8
- package/dist/cjs/Button-841fd06d.js +0 -62
- package/dist/cjs/Card-240f283d.js +0 -30
- package/dist/cjs/Container-e699ea95.js +0 -15
- package/dist/cjs/Flex-ddd7cb6b.js +0 -50
- package/dist/cjs/FormControlList-bbb5cd24.js +0 -45
- package/dist/cjs/Input-ead4cd84.js +0 -77
- package/dist/cjs/ListItem-5088bd6a.js +0 -45
- package/dist/cjs/Title-16042ea0.js +0 -15
- package/dist/cjs/ssr-f2fc1bf6.js +0 -36
- package/dist/es/Button-153cd885.js +0 -53
- package/dist/es/Flex-7c177a10.js +0 -45
- package/dist/es/FormControlList-99797d0a.js +0 -38
- package/dist/es/Input-c09c0b56.js +0 -69
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
|
+
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
+
var emotion = require('emotion');
|
|
6
|
+
var polished = require('polished');
|
|
7
|
+
|
|
8
|
+
var _templateObject, _templateObject2;
|
|
9
|
+
var filters = function filters(_ref) {
|
|
10
|
+
var borderColor = _ref.colors.borderColor;
|
|
11
|
+
return "\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 2px 3px;\n\t\tpadding: 5px 8px;\n\t\tfont-size: 0.85rem;\n\t\tposition: relative;\n\n\t\tspan:first-child {\n\t\t\tmax-width: 260px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-right: 26px;\n\t\t}\n\n\t\tspan:last-child {\n\t\t\tdisplay: flex;\n\t\t\theight: 100%;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tposition: absolute;\n\t\t\talign-items: center;\n\t\t\tborder-left: 1px solid " + (borderColor || '#fff') + ";\n\t\t\tpadding-left: 8px;\n\t\t\tmargin-left: 8px;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tspan:first-child {\n\t\t\t\ttext-decoration: line-through;\n\t\t\t}\n\t\t}\n\t}\n";
|
|
12
|
+
};
|
|
13
|
+
var pagination = emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 10px -3px;\n\tmax-width: 100%;\n\ttext-align: center;\n\n\tbutton {\n\t\tmargin: 0 3px;\n\t}\n"])));
|
|
14
|
+
var toggleButtons = "\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 3px 3px;\n\t}\n";
|
|
15
|
+
var primary = function primary(_ref2) {
|
|
16
|
+
var theme = _ref2.theme;
|
|
17
|
+
return "\n\tbackground-color: " + theme.colors.primaryColor + ";\n\tcolor: " + theme.colors.primaryTextColor + ";\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: " + polished.darken(0.1, theme.colors.primaryColor) + ";\n\t}\n";
|
|
18
|
+
};
|
|
19
|
+
var large = function large() {
|
|
20
|
+
return "\n\tmin-height: 40px;\n\tpadding: 10px 20px;\n";
|
|
21
|
+
};
|
|
22
|
+
var disabled = function disabled(_ref3) {
|
|
23
|
+
var theme = _ref3.theme;
|
|
24
|
+
return "\n\tbackground-color: " + (theme.colors.backgroundColor ? polished.lighten(0.1, theme.colors.backgroundColor) : '#fafafa') + ";\n\tcolor: #ccc;\n\tcursor: not-allowed;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: " + (theme.colors.backgroundColor ? polished.lighten(0.2, theme.colors.backgroundColor) : '#fafafa') + ";\n\t}\n";
|
|
25
|
+
};
|
|
26
|
+
var Button = vueEmotion.styled('button')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: inline-flex;\n\tjustify-content: center;\n\talign-items: center;\n\tborder-radius: 3px;\n\tborder: 1px solid transparent;\n\tmin-height: 30px;\n\tword-wrap: break-word;\n\tpadding: 5px 12px;\n\tline-height: 1.2rem;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tcursor: pointer;\n\tuser-select: none;\n\ttransition: all 0.3s ease;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:focus {\n\t\toutline: 0;\n\t\tborder-color: ", ";\n\t\tbox-shadow: ", ";\n\t}\n\n\t", ";\n\t", ";\n\t", ";\n\n\t&.enter-btn {\n\t\tborder-top-left-radius: 0px;\n\t\tborder-bottom-left-radius: 0px;\n\t\theight: 100%;\n\t}\n"])), function (_ref4) {
|
|
27
|
+
var theme = _ref4.theme;
|
|
28
|
+
return theme.colors ? theme.colors.backgroundColor : '#eee';
|
|
29
|
+
}, function (_ref5) {
|
|
30
|
+
var theme = _ref5.theme;
|
|
31
|
+
return theme.colors ? theme.colors.textColor : '';
|
|
32
|
+
}, function (_ref6) {
|
|
33
|
+
var theme = _ref6.theme;
|
|
34
|
+
return theme.colors && theme.colors.backgroundColor ? polished.darken(0.1, theme.colors.backgroundColor) : '#ccc';
|
|
35
|
+
}, function (_ref7) {
|
|
36
|
+
var theme = _ref7.theme;
|
|
37
|
+
return theme.colors && theme.colors.primaryColor ? polished.rgba(theme.colors.primaryColor, 0.6) : 'unset';
|
|
38
|
+
}, function (_ref8) {
|
|
39
|
+
var theme = _ref8.theme;
|
|
40
|
+
return theme.colors && theme.colors.primaryColor ? "0 0 0 2px " + polished.rgba(theme.colors.primaryColor, 0.3) : '';
|
|
41
|
+
}, function (props) {
|
|
42
|
+
return props.primary ? primary : null;
|
|
43
|
+
}, function (props) {
|
|
44
|
+
return props.disabled ? disabled : null;
|
|
45
|
+
}, function (props) {
|
|
46
|
+
return props.large && large;
|
|
47
|
+
});
|
|
48
|
+
var loadMoreContainer = emotion.css({
|
|
49
|
+
margin: '5px 0',
|
|
50
|
+
display: 'flex',
|
|
51
|
+
justifyContent: 'center'
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
exports.Button = Button;
|
|
55
|
+
exports.filters = filters;
|
|
56
|
+
exports.loadMoreContainer = loadMoreContainer;
|
|
57
|
+
exports.pagination = pagination;
|
|
58
|
+
exports.toggleButtons = toggleButtons;
|
|
@@ -3,32 +3,34 @@
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
5
|
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var vue = require('vue');
|
|
7
|
+
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
8
8
|
var computeScrollIntoView = _interopDefault(require('compute-scroll-into-view'));
|
|
9
9
|
|
|
10
10
|
var _templateObject;
|
|
11
|
-
var InputWrapper =
|
|
11
|
+
var InputWrapper = vueEmotion.styled('span')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n flex: 1;\n position: relative;\n"])));
|
|
12
12
|
|
|
13
|
-
var _templateObject$1
|
|
14
|
-
var IconGroup =
|
|
13
|
+
var _templateObject$1;
|
|
14
|
+
var IconGroup = vueEmotion.styled('div')(_templateObject$1 || (_templateObject$1 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tgrid-gap: 6px;\n\tmargin: 0 10px;\n\theight: 100%;\n\n\t", ";\n\n\t", ";\n"])), function (_ref) {
|
|
15
15
|
var positionType = _ref.positionType;
|
|
16
16
|
if (positionType === 'absolute') {
|
|
17
|
-
return
|
|
17
|
+
return "\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 50%;\n\t\t\t\ttransform: translateY(-50%);\n\t\t\t";
|
|
18
18
|
}
|
|
19
19
|
return null;
|
|
20
20
|
}, function (_ref2) {
|
|
21
21
|
var groupPosition = _ref2.groupPosition;
|
|
22
|
-
return groupPosition === 'right' ?
|
|
22
|
+
return groupPosition === 'right' ? "\n\t\t\t\t\tright: 0;\n\t\t\t " : "\n\t\t\t\t\tleft: 0;\n\t\t\t ";
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
var _templateObject$2;
|
|
26
|
-
var IconWrapper =
|
|
27
|
-
var theme = _ref.theme
|
|
28
|
-
|
|
26
|
+
var IconWrapper = vueEmotion.styled('div')(_templateObject$2 || (_templateObject$2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmax-width: 23px;\n\twidth: max-content;\n\tcursor: pointer;\n\theight: 100%;\n\tmin-width: 20px;\n\n\tsvg.search-icon {\n\t\tfill: ", ";\n\t\ttransform: scale(1.5);\n\t}\n\n\tsvg.cancel-icon {\n\t\tfill: ", ";\n\t}\n"])), function (_ref) {
|
|
27
|
+
var _ref$theme = _ref.theme,
|
|
28
|
+
theme = _ref$theme === void 0 ? {} : _ref$theme;
|
|
29
|
+
return theme.colors ? theme.colors.primaryColor : 'unset';
|
|
29
30
|
}, function (_ref2) {
|
|
30
|
-
var theme = _ref2.theme
|
|
31
|
-
|
|
31
|
+
var _ref2$theme = _ref2.theme,
|
|
32
|
+
theme = _ref2$theme === void 0 ? {} : _ref2$theme;
|
|
33
|
+
return theme.colors ? theme.colors.borderColor : '#000';
|
|
32
34
|
});
|
|
33
35
|
|
|
34
36
|
/**
|
|
@@ -83,7 +85,7 @@ var Downshift = {
|
|
|
83
85
|
window.addEventListener('mousedown', this.handleWindowMousedown);
|
|
84
86
|
window.addEventListener('mouseup', this.handleWindowMouseup);
|
|
85
87
|
},
|
|
86
|
-
|
|
88
|
+
beforeUnmount: function beforeUnmount() {
|
|
87
89
|
window.removeEventListener('mousedown', this.handleWindowMousedown);
|
|
88
90
|
window.removeEventListener('mouseup', this.handleWindowMouseup);
|
|
89
91
|
},
|
|
@@ -375,38 +377,28 @@ var Downshift = {
|
|
|
375
377
|
}
|
|
376
378
|
},
|
|
377
379
|
render: function render() {
|
|
378
|
-
var h = arguments[0];
|
|
379
380
|
this.items = [];
|
|
380
|
-
return
|
|
381
|
+
return vue.createVNode("div", {
|
|
381
382
|
"ref": "rootNode"
|
|
382
|
-
}, [this.$
|
|
383
|
+
}, [this.$slots["default"] && this.$slots["default"](_rollupPluginBabelHelpers._extends({}, this.getHelpersAndState()))]);
|
|
383
384
|
}
|
|
384
385
|
};
|
|
385
386
|
|
|
386
|
-
var CancelSvg = {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
"fill": "none"
|
|
402
|
-
}
|
|
403
|
-
}), h("path", {
|
|
404
|
-
"attrs": {
|
|
405
|
-
"d": "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
406
|
-
}
|
|
407
|
-
})]);
|
|
408
|
-
}
|
|
409
|
-
};
|
|
387
|
+
var CancelSvg = (function () {
|
|
388
|
+
return vue.createVNode("svg", {
|
|
389
|
+
"alt": "Clear",
|
|
390
|
+
"class": "cancel-icon",
|
|
391
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
392
|
+
"height": "20px",
|
|
393
|
+
"viewBox": "0 0 24 24",
|
|
394
|
+
"width": "20px"
|
|
395
|
+
}, [vue.createVNode("title", null, [vue.createTextVNode("Clear")]), vue.createVNode("path", {
|
|
396
|
+
"d": "M0 0h24v24H0V0z",
|
|
397
|
+
"fill": "none"
|
|
398
|
+
}, null), vue.createVNode("path", {
|
|
399
|
+
"d": "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
400
|
+
}, null)]);
|
|
401
|
+
});
|
|
410
402
|
|
|
411
403
|
exports.CancelSvg = CancelSvg;
|
|
412
404
|
exports.Downshift = Downshift;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
|
+
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
+
var polished = require('polished');
|
|
6
|
+
require('./Title-8802a218.js');
|
|
7
|
+
|
|
8
|
+
var _templateObject, _templateObject2;
|
|
9
|
+
var container = "\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin: 0 -8px;\n\n\t@media (max-width: 420px) {\n\t\tmargin: 0;\n\t}\n";
|
|
10
|
+
var Image = vueEmotion.styled('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: calc(100% + 20px);\n\theight: 220px;\n\tmargin: -10px -10px 0;\n\tbackground-color: ", ";\n\tbackground-size: contain;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n"])), function (_ref) {
|
|
11
|
+
var colors = _ref.theme.colors;
|
|
12
|
+
return colors.backgroundColor || '#fcfcfc';
|
|
13
|
+
});
|
|
14
|
+
var Card = vueEmotion.styled('a')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: auto;\n\tflex-grow: 1;\n\toutline: none;\n\ttext-decoration: none;\n\tmin-width: 240px;\n\tmax-width: 250px;\n\tborder-radius: 0.25rem;\n\tbackground-color: ", ";\n\theight: 300px;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\tmargin: 8px;\n\tpadding: 10px;\n\toverflow: hidden;\n\tbox-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);\n\tcolor: ", ";\n\t", ";\n\ttransition: all 0.3s ease;\n\n\th2 {\n\t\twidth: 100%;\n\t\tfont-size: 0.9rem;\n\t\tline-height: 1.2rem;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tmargin: 0;\n\t\tpadding: 10px 0 8px;\n\t}\n\n\tp {\n\t\tmargin: 0;\n\t}\n\n\tarticle {\n\t\tflex-grow: 1;\n\t\tfont-size: 0.9rem;\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\tbox-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);\n\t}\n\n\t@media (max-width: 420px) {\n\t\twidth: 50%;\n\t\tmin-width: 0;\n\t\theight: 210px;\n\t\tmargin: 0;\n\t\tborder-radius: 0;\n\t\tbox-shadow: none;\n\t\tborder: 1px solid #eee;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbox-shadow: 0;\n\t\t}\n\t}\n"])), function (_ref2) {
|
|
15
|
+
var theme = _ref2.theme;
|
|
16
|
+
return theme.colors.backgroundColor ? polished.lighten(0.1, theme.colors.backgroundColor) : '#fff';
|
|
17
|
+
}, function (_ref3) {
|
|
18
|
+
var theme = _ref3.theme;
|
|
19
|
+
return theme.colors.textColor;
|
|
20
|
+
}, function (props) {
|
|
21
|
+
return props.href ? 'cursor: pointer' : null;
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
exports.Card = Card;
|
|
25
|
+
exports.Image = Image;
|
|
26
|
+
exports.container = container;
|
|
@@ -6,9 +6,10 @@ var configureStore = require('@appbaseio/reactivecore');
|
|
|
6
6
|
var configureStore__default = _interopDefault(configureStore);
|
|
7
7
|
var constants = require('@appbaseio/reactivecore/lib/utils/constants');
|
|
8
8
|
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
9
|
+
var vue = require('vue');
|
|
9
10
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
10
11
|
var transform = require('@appbaseio/reactivecore/lib/utils/transform');
|
|
11
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-dc25b706.js');
|
|
12
13
|
|
|
13
14
|
var addComponent = configureStore.Actions.addComponent,
|
|
14
15
|
removeComponent = configureStore.Actions.removeComponent,
|
|
@@ -153,11 +154,10 @@ var ComponentWrapper = function ComponentWrapper(component, options) {
|
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
156
|
},
|
|
156
|
-
render: function render(
|
|
157
|
-
return h(component, {
|
|
157
|
+
render: function render() {
|
|
158
|
+
return vue.h(component, {
|
|
158
159
|
attrs: this.$attrs,
|
|
159
|
-
on: this.$
|
|
160
|
-
scopedSlots: this.$scopedSlots,
|
|
160
|
+
on: this.$attrs,
|
|
161
161
|
slots: this.$slots
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
|
+
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
+
|
|
6
|
+
var _templateObject;
|
|
7
|
+
var Container = vueEmotion.styled('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t", ";\n"])), function (_ref) {
|
|
8
|
+
var theme = _ref.theme;
|
|
9
|
+
return theme.component;
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
exports.Container = Container;
|