-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7-es5.js
142 lines (110 loc) · 6.54 KB
/
7-es5.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7], {
/***/
"./node_modules/@ionic/core/dist/esm/ion-avatar_3-md.entry.js":
/*!********************************************************************!*\
!*** ./node_modules/@ionic/core/dist/esm/ion-avatar_3-md.entry.js ***!
\********************************************************************/
/*! exports provided: ion_avatar, ion_badge, ion_thumbnail */
/***/
function node_modulesIonicCoreDistEsmIonAvatar_3MdEntryJs(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */
__webpack_require__.d(__webpack_exports__, "ion_avatar", function () {
return Avatar;
});
/* harmony export (binding) */
__webpack_require__.d(__webpack_exports__, "ion_badge", function () {
return Badge;
});
/* harmony export (binding) */
__webpack_require__.d(__webpack_exports__, "ion_thumbnail", function () {
return Thumbnail;
});
/* harmony import */
var _core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
/*! ./core-80bde1aa.js */
"./node_modules/@ionic/core/dist/esm/core-80bde1aa.js");
/* harmony import */
var _config_3c7f3790_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
/*! ./config-3c7f3790.js */
"./node_modules/@ionic/core/dist/esm/config-3c7f3790.js");
/* harmony import */
var _theme_18cbe2cc_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
/*! ./theme-18cbe2cc.js */
"./node_modules/@ionic/core/dist/esm/theme-18cbe2cc.js");
var Avatar =
/*#__PURE__*/
function () {
function Avatar(hostRef) {
_classCallCheck(this, Avatar);
Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef);
}
_createClass(Avatar, [{
key: "render",
value: function render() {
return Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["H"], {
class: Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["c"])(this)
}, Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["h"])("slot", null));
}
}], [{
key: "style",
get: function get() {
return ":host{border-radius:var(--border-radius);display:block}::slotted(img),::slotted(ion-img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}";
}
}]);
return Avatar;
}();
var Badge =
/*#__PURE__*/
function () {
function Badge(hostRef) {
_classCallCheck(this, Badge);
Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef);
}
_createClass(Badge, [{
key: "render",
value: function render() {
var mode = Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["c"])(this);
return Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["H"], {
class: Object.assign(Object.assign({}, Object(_theme_18cbe2cc_js__WEBPACK_IMPORTED_MODULE_2__["c"])(this.color)), _defineProperty({}, mode, true))
}, Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["h"])("slot", null));
}
}], [{
key: "style",
get: function get() {
return ":host{--background:var(--ion-color-primary,#3880ff);--color:var(--ion-color-primary-contrast,#fff);--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family,inherit);font-size:13px;font-weight:700;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}";
}
}]);
return Badge;
}();
var Thumbnail =
/*#__PURE__*/
function () {
function Thumbnail(hostRef) {
_classCallCheck(this, Thumbnail);
Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef);
}
_createClass(Thumbnail, [{
key: "render",
value: function render() {
return Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["H"], {
class: Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["c"])(this)
}, Object(_core_80bde1aa_js__WEBPACK_IMPORTED_MODULE_0__["h"])("slot", null));
}
}], [{
key: "style",
get: function get() {
return ":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(img),::slotted(ion-img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";
}
}]);
return Thumbnail;
}();
/***/
}
}]);
//# sourceMappingURL=7-es5.js.map