@eturnity/eturnity_reusable_components 8.46.1-EPDM-13987.4 → 8.46.1-EPDM-13987.5
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/main.es15.js +62 -257
- package/dist/main.es17.js +257 -62
- package/dist/main.es19.js +1 -1
- package/dist/main.es21.js +1 -1
- package/dist/main.es23.js +1 -1
- package/dist/main.es25.js +1 -1
- package/dist/main.es252.js +17 -8
- package/dist/main.es253.js +17 -8
- package/dist/main.es254.js +15 -8
- package/dist/main.es255.js +20 -8
- package/dist/main.es390.js +1 -1
- package/dist/main.es393.js +1 -1
- package/dist/main.es5.js +1 -1
- package/dist/main.es617.js +1 -1
- package/dist/main.es618.js +1 -1
- package/dist/main.es619.js +1 -1
- package/dist/main.es620.js +1 -1
- package/dist/main.es755.js +60 -21
- package/dist/main.es756.js +21 -60
- package/dist/main.es9.js +1 -1
- package/package.json +1 -1
- package/src/assets/svgIcons/layer_back.svg +6 -6
- package/src/assets/svgIcons/layer_backward.svg +4 -6
- package/src/assets/svgIcons/layer_forward.svg +4 -6
- package/src/assets/svgIcons/layer_front.svg +5 -6
package/dist/main.es15.js
CHANGED
|
@@ -1,261 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { computed, onMounted, watch, openBlock, createBlock, withCtx, createVNode, createElementVNode as createBaseVNode, createTextVNode, createCommentVNode } from "./main.es6.js";
|
|
7
|
-
import { toDisplayString } from "./main.es16.js";
|
|
8
|
-
const _hoisted_1 = ["innerHTML"];
|
|
9
|
-
const _sfc_main = {
|
|
10
|
-
__name: "index",
|
|
11
|
-
props: {
|
|
12
|
-
disabled: {
|
|
13
|
-
required: false,
|
|
14
|
-
default: false,
|
|
15
|
-
type: Boolean
|
|
16
|
-
},
|
|
17
|
-
name: {
|
|
18
|
-
required: true,
|
|
19
|
-
type: String
|
|
20
|
-
},
|
|
21
|
-
color: {
|
|
22
|
-
required: false,
|
|
23
|
-
default: null,
|
|
24
|
-
type: String
|
|
25
|
-
},
|
|
26
|
-
hoveredColor: {
|
|
27
|
-
required: false,
|
|
28
|
-
default: null,
|
|
29
|
-
type: String
|
|
30
|
-
},
|
|
31
|
-
size: {
|
|
32
|
-
required: false,
|
|
33
|
-
default: "30px",
|
|
34
|
-
type: String
|
|
35
|
-
},
|
|
36
|
-
width: {
|
|
37
|
-
type: String,
|
|
38
|
-
required: false,
|
|
39
|
-
default: ""
|
|
40
|
-
},
|
|
41
|
-
height: {
|
|
42
|
-
type: String,
|
|
43
|
-
required: false,
|
|
44
|
-
default: ""
|
|
45
|
-
},
|
|
46
|
-
cursor: {
|
|
47
|
-
required: false,
|
|
48
|
-
default: null,
|
|
49
|
-
type: String
|
|
50
|
-
},
|
|
51
|
-
isStriked: {
|
|
52
|
-
required: false,
|
|
53
|
-
default: false,
|
|
54
|
-
type: Boolean
|
|
55
|
-
},
|
|
56
|
-
backgroundColor: {
|
|
57
|
-
required: false,
|
|
58
|
-
default: null,
|
|
59
|
-
type: String
|
|
60
|
-
},
|
|
61
|
-
count: {
|
|
62
|
-
required: false,
|
|
63
|
-
default: 0,
|
|
64
|
-
type: Number
|
|
65
|
-
},
|
|
66
|
-
animation: {
|
|
67
|
-
required: false,
|
|
68
|
-
default: "none",
|
|
69
|
-
type: String
|
|
70
|
-
},
|
|
71
|
-
fillType: {
|
|
72
|
-
required: false,
|
|
73
|
-
default: "fill",
|
|
74
|
-
type: String
|
|
75
|
-
},
|
|
76
|
-
disableHover: {
|
|
77
|
-
type: Boolean,
|
|
78
|
-
default: false
|
|
79
|
-
},
|
|
80
|
-
showCount: {
|
|
81
|
-
type: Boolean,
|
|
82
|
-
default: false
|
|
83
|
-
},
|
|
84
|
-
svgRotation: {
|
|
85
|
-
type: Number,
|
|
86
|
-
default: null
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
setup(__props) {
|
|
90
|
-
const props = __props;
|
|
91
|
-
const Wrapper = styled("div", {
|
|
92
|
-
height: String,
|
|
93
|
-
width: String,
|
|
94
|
-
disabled: Boolean,
|
|
95
|
-
cursor: String
|
|
96
|
-
})`
|
|
97
|
-
display: flex;
|
|
98
|
-
position: relative;
|
|
99
|
-
align-content: center;
|
|
100
|
-
justify-content: center;
|
|
101
|
-
width: ${(props2) => props2.width};
|
|
102
|
-
height: ${(props2) => props2.height};
|
|
103
|
-
min-width: ${(props2) => props2.width};
|
|
104
|
-
min-height: ${(props2) => props2.height};
|
|
105
|
-
cursor: ${(props2) => props2.disabled ? "not-allowed" : props2.cursor};
|
|
106
|
-
line-height: 0;
|
|
107
|
-
`;
|
|
108
|
-
const CountWrapper = styled("div")`
|
|
109
|
-
position: absolute;
|
|
110
|
-
top: -7px;
|
|
111
|
-
right: -7px;
|
|
112
|
-
background-color: ${({
|
|
113
|
-
theme
|
|
114
|
-
}) => theme.colors.red};
|
|
115
|
-
color: ${({
|
|
116
|
-
theme
|
|
117
|
-
}) => theme.colors.white};
|
|
118
|
-
border-radius: 100%;
|
|
119
|
-
width: 15px;
|
|
120
|
-
height: 15px;
|
|
121
|
-
display: flex;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
align-items: center;
|
|
124
|
-
font-size: 10px;
|
|
125
|
-
`;
|
|
126
|
-
const StrikedLine = styled("div", {
|
|
127
|
-
color: String
|
|
128
|
-
})`
|
|
129
|
-
display: flex;
|
|
130
|
-
position: absolute;
|
|
131
|
-
bottom: 0;
|
|
132
|
-
left: 0;
|
|
133
|
-
align-content: center;
|
|
134
|
-
justify-content: center;
|
|
135
|
-
width: 143%;
|
|
136
|
-
height: 8%;
|
|
137
|
-
background-color: ${({
|
|
138
|
-
theme,
|
|
139
|
-
color
|
|
140
|
-
}) => theme.colors[color] || color};
|
|
141
|
-
min-height: 0;
|
|
142
|
-
line-height: 0;
|
|
143
|
-
transform-origin: 0% 100%;
|
|
144
|
-
transform: rotate(-45deg);
|
|
145
|
-
`;
|
|
146
|
-
const IconImageAttrs = {
|
|
147
|
-
color: String,
|
|
148
|
-
backgroundColor: String,
|
|
149
|
-
hoveredColor: String,
|
|
150
|
-
animation: String,
|
|
151
|
-
fillType: String,
|
|
152
|
-
disableHover: Boolean,
|
|
153
|
-
showCount: Boolean
|
|
154
|
-
};
|
|
155
|
-
const IconImage = styled("div", IconImageAttrs)`
|
|
156
|
-
animation: ${(props2) => props2.animation};
|
|
157
|
-
width: 100%;
|
|
158
|
-
svg {
|
|
159
|
-
width: 100%;
|
|
160
|
-
height: 100%;
|
|
161
|
-
background-color: ${(props2) => props2.backgroundColor ? props2.backgroundColor : "transparent"};
|
|
162
|
-
padding: ${(props2) => props2.backgroundColor ? "3px" : "0"};
|
|
163
|
-
border-radius: ${(props2) => props2.showCount ? "8px 0 0 8px" : props2.backgroundColor ? "8px" : "0"};
|
|
164
|
-
}
|
|
165
|
-
svg path:not(.fix, .isStrokePath) {
|
|
166
|
-
${({
|
|
167
|
-
theme,
|
|
168
|
-
color,
|
|
169
|
-
fillType
|
|
170
|
-
}) => color && `${fillType}: ${theme.colors[color] || color};`}
|
|
171
|
-
}
|
|
172
|
-
svg .isStroke {
|
|
173
|
-
${({
|
|
174
|
-
theme,
|
|
175
|
-
color
|
|
176
|
-
}) => color && `stroke: ${theme.colors[color] || color};`}
|
|
177
|
-
}
|
|
178
|
-
svg .isFill {
|
|
179
|
-
${({
|
|
180
|
-
theme,
|
|
181
|
-
color
|
|
182
|
-
}) => color && `fill: ${theme.colors[color] || color};`}
|
|
183
|
-
}
|
|
184
|
-
svg .isStrokePath:not(.fix) {
|
|
185
|
-
${({
|
|
186
|
-
theme,
|
|
187
|
-
color
|
|
188
|
-
}) => color && `stroke: ${theme.colors[color] || color};`}
|
|
189
|
-
}
|
|
190
|
-
${(props2) => !props2.disableHover && `
|
|
191
|
-
&:hover svg path:not(.fix, .isStrokePath) {
|
|
192
|
-
${`${props2.fillType}: ${props2.theme.colors[props2.hoveredColor] || props2.color};`}
|
|
193
|
-
&:hover svg isStrokePath:not(.fix) {
|
|
194
|
-
${`stroke: ${props2.theme.colors[props2.hoveredColor] || props2.color};`}
|
|
195
|
-
}
|
|
196
|
-
&:hover + div {
|
|
197
|
-
background-color: ${props2.hoveredColor};
|
|
198
|
-
}
|
|
199
|
-
`}
|
|
200
|
-
|
|
201
|
-
@keyframes fade {
|
|
202
|
-
50% {
|
|
203
|
-
opacity: 0.3;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
`;
|
|
207
|
-
const icon = reactive({
|
|
208
|
-
html: ""
|
|
209
|
-
});
|
|
210
|
-
const loadSvg = async () => {
|
|
211
|
-
let svgString = await fetchIcon(props.name.toLowerCase());
|
|
212
|
-
if (props.svgRotation)
|
|
213
|
-
svgString = rotateSvg(svgString, props.svgRotation);
|
|
214
|
-
icon.html = svgString;
|
|
215
|
-
};
|
|
216
|
-
const counter = computed(() => props.count > 9 ? "9+" : props.count.toString());
|
|
217
|
-
onMounted(() => loadSvg());
|
|
218
|
-
watch(() => props.name, loadSvg);
|
|
219
|
-
watch(() => props.svgRotation, loadSvg);
|
|
220
|
-
return (_ctx, _cache) => {
|
|
221
|
-
return openBlock(), createBlock(Wrapper, {
|
|
222
|
-
cursor: __props.cursor,
|
|
223
|
-
"data-test-id": "icon_wrapper",
|
|
224
|
-
disabled: __props.disabled,
|
|
225
|
-
height: __props.height ? __props.height : __props.size,
|
|
226
|
-
width: __props.width ? __props.width : __props.size
|
|
227
|
-
}, {
|
|
228
|
-
default: withCtx(() => [createVNode(IconImage, {
|
|
229
|
-
animation: __props.animation,
|
|
230
|
-
"background-color": __props.backgroundColor,
|
|
231
|
-
color: __props.color,
|
|
232
|
-
"data-test-id": "icon_image",
|
|
233
|
-
"disable-hover": __props.disableHover,
|
|
234
|
-
"fill-type": __props.fillType,
|
|
235
|
-
"hovered-color": __props.hoveredColor,
|
|
236
|
-
"show-count": __props.showCount
|
|
237
|
-
}, {
|
|
238
|
-
default: withCtx(() => [createBaseVNode("i", {
|
|
239
|
-
"data-test-id": "icon_svg",
|
|
240
|
-
innerHTML: icon.html
|
|
241
|
-
}, null, 8, _hoisted_1)]),
|
|
242
|
-
_: 1
|
|
243
|
-
}, 8, ["animation", "background-color", "color", "disable-hover", "fill-type", "hovered-color", "show-count"]), createTextVNode(), __props.isStriked ? (openBlock(), createBlock(StrikedLine, {
|
|
244
|
-
key: 0,
|
|
245
|
-
color: __props.color,
|
|
246
|
-
"data-test-id": "icon_striked_line"
|
|
247
|
-
}, null, 8, ["color"])) : createCommentVNode("", true), createTextVNode(), __props.count > 0 ? (openBlock(), createBlock(CountWrapper, {
|
|
248
|
-
key: 1,
|
|
249
|
-
"data-test-id": "icon_count"
|
|
250
|
-
}, {
|
|
251
|
-
default: withCtx(() => [createTextVNode(toDisplayString(counter.value), 1)]),
|
|
252
|
-
_: 1
|
|
253
|
-
})) : createCommentVNode("", true)]),
|
|
254
|
-
_: 1
|
|
255
|
-
}, 8, ["cursor", "disabled", "height", "width"]);
|
|
256
|
-
};
|
|
1
|
+
function makeMap(str, expectsLowerCase) {
|
|
2
|
+
const map = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
const list = str.split(",");
|
|
4
|
+
for (let i = 0; i < list.length; i++) {
|
|
5
|
+
map[list[i]] = true;
|
|
257
6
|
}
|
|
7
|
+
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
8
|
+
}
|
|
9
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
+
const onRE = /^on[^a-z]/;
|
|
12
|
+
const isOn = (key) => onRE.test(key);
|
|
13
|
+
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
14
|
+
const extend = Object.assign;
|
|
15
|
+
const isArray = Array.isArray;
|
|
16
|
+
const isFunction = (val) => typeof val === "function";
|
|
17
|
+
const isString = (val) => typeof val === "string";
|
|
18
|
+
const cacheStringFunction = (fn) => {
|
|
19
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
20
|
+
return (str) => {
|
|
21
|
+
const hit = cache[str];
|
|
22
|
+
return hit || (cache[str] = fn(str));
|
|
23
|
+
};
|
|
258
24
|
};
|
|
25
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
26
|
+
const hyphenate = cacheStringFunction(
|
|
27
|
+
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
28
|
+
);
|
|
29
|
+
const capitalize = cacheStringFunction(
|
|
30
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
31
|
+
);
|
|
32
|
+
const invokeArrayFns = (fns, arg) => {
|
|
33
|
+
for (let i = 0; i < fns.length; i++) {
|
|
34
|
+
fns[i](arg);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const looseToNumber = (val) => {
|
|
38
|
+
const n = parseFloat(val);
|
|
39
|
+
return isNaN(n) ? val : n;
|
|
40
|
+
};
|
|
41
|
+
const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
|
|
42
|
+
const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
|
|
43
|
+
const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
|
|
44
|
+
const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
|
|
45
|
+
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
46
|
+
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
47
|
+
function includeBooleanAttr(value) {
|
|
48
|
+
return !!value || value === "";
|
|
49
|
+
}
|
|
259
50
|
export {
|
|
260
|
-
|
|
51
|
+
capitalize,
|
|
52
|
+
extend,
|
|
53
|
+
hyphenate,
|
|
54
|
+
includeBooleanAttr,
|
|
55
|
+
invokeArrayFns,
|
|
56
|
+
isArray,
|
|
57
|
+
isFunction,
|
|
58
|
+
isHTMLTag,
|
|
59
|
+
isModelListener,
|
|
60
|
+
isOn,
|
|
61
|
+
isSVGTag,
|
|
62
|
+
isSpecialBooleanAttr,
|
|
63
|
+
isString,
|
|
64
|
+
looseToNumber,
|
|
65
|
+
makeMap
|
|
261
66
|
};
|
package/dist/main.es17.js
CHANGED
|
@@ -1,66 +1,261 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import "./main.es3.js";
|
|
2
|
+
import styled from "./main.es7.js";
|
|
3
|
+
import { fetchIcon } from "./main.es27.js";
|
|
4
|
+
import { rotateSvg } from "./main.es28.js";
|
|
5
|
+
import { reactive } from "./main.es19.js";
|
|
6
|
+
import { computed, onMounted, watch, openBlock, createBlock, withCtx, createVNode, createElementVNode as createBaseVNode, createTextVNode, createCommentVNode } from "./main.es6.js";
|
|
7
|
+
import { toDisplayString } from "./main.es16.js";
|
|
8
|
+
const _hoisted_1 = ["innerHTML"];
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: {
|
|
12
|
+
disabled: {
|
|
13
|
+
required: false,
|
|
14
|
+
default: false,
|
|
15
|
+
type: Boolean
|
|
16
|
+
},
|
|
17
|
+
name: {
|
|
18
|
+
required: true,
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
required: false,
|
|
23
|
+
default: null,
|
|
24
|
+
type: String
|
|
25
|
+
},
|
|
26
|
+
hoveredColor: {
|
|
27
|
+
required: false,
|
|
28
|
+
default: null,
|
|
29
|
+
type: String
|
|
30
|
+
},
|
|
31
|
+
size: {
|
|
32
|
+
required: false,
|
|
33
|
+
default: "30px",
|
|
34
|
+
type: String
|
|
35
|
+
},
|
|
36
|
+
width: {
|
|
37
|
+
type: String,
|
|
38
|
+
required: false,
|
|
39
|
+
default: ""
|
|
40
|
+
},
|
|
41
|
+
height: {
|
|
42
|
+
type: String,
|
|
43
|
+
required: false,
|
|
44
|
+
default: ""
|
|
45
|
+
},
|
|
46
|
+
cursor: {
|
|
47
|
+
required: false,
|
|
48
|
+
default: null,
|
|
49
|
+
type: String
|
|
50
|
+
},
|
|
51
|
+
isStriked: {
|
|
52
|
+
required: false,
|
|
53
|
+
default: false,
|
|
54
|
+
type: Boolean
|
|
55
|
+
},
|
|
56
|
+
backgroundColor: {
|
|
57
|
+
required: false,
|
|
58
|
+
default: null,
|
|
59
|
+
type: String
|
|
60
|
+
},
|
|
61
|
+
count: {
|
|
62
|
+
required: false,
|
|
63
|
+
default: 0,
|
|
64
|
+
type: Number
|
|
65
|
+
},
|
|
66
|
+
animation: {
|
|
67
|
+
required: false,
|
|
68
|
+
default: "none",
|
|
69
|
+
type: String
|
|
70
|
+
},
|
|
71
|
+
fillType: {
|
|
72
|
+
required: false,
|
|
73
|
+
default: "fill",
|
|
74
|
+
type: String
|
|
75
|
+
},
|
|
76
|
+
disableHover: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: false
|
|
79
|
+
},
|
|
80
|
+
showCount: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: false
|
|
83
|
+
},
|
|
84
|
+
svgRotation: {
|
|
85
|
+
type: Number,
|
|
86
|
+
default: null
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
setup(__props) {
|
|
90
|
+
const props = __props;
|
|
91
|
+
const Wrapper = styled("div", {
|
|
92
|
+
height: String,
|
|
93
|
+
width: String,
|
|
94
|
+
disabled: Boolean,
|
|
95
|
+
cursor: String
|
|
96
|
+
})`
|
|
97
|
+
display: flex;
|
|
98
|
+
position: relative;
|
|
99
|
+
align-content: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
width: ${(props2) => props2.width};
|
|
102
|
+
height: ${(props2) => props2.height};
|
|
103
|
+
min-width: ${(props2) => props2.width};
|
|
104
|
+
min-height: ${(props2) => props2.height};
|
|
105
|
+
cursor: ${(props2) => props2.disabled ? "not-allowed" : props2.cursor};
|
|
106
|
+
line-height: 0;
|
|
107
|
+
`;
|
|
108
|
+
const CountWrapper = styled("div")`
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: -7px;
|
|
111
|
+
right: -7px;
|
|
112
|
+
background-color: ${({
|
|
113
|
+
theme
|
|
114
|
+
}) => theme.colors.red};
|
|
115
|
+
color: ${({
|
|
116
|
+
theme
|
|
117
|
+
}) => theme.colors.white};
|
|
118
|
+
border-radius: 100%;
|
|
119
|
+
width: 15px;
|
|
120
|
+
height: 15px;
|
|
121
|
+
display: flex;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
align-items: center;
|
|
124
|
+
font-size: 10px;
|
|
125
|
+
`;
|
|
126
|
+
const StrikedLine = styled("div", {
|
|
127
|
+
color: String
|
|
128
|
+
})`
|
|
129
|
+
display: flex;
|
|
130
|
+
position: absolute;
|
|
131
|
+
bottom: 0;
|
|
132
|
+
left: 0;
|
|
133
|
+
align-content: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
width: 143%;
|
|
136
|
+
height: 8%;
|
|
137
|
+
background-color: ${({
|
|
138
|
+
theme,
|
|
139
|
+
color
|
|
140
|
+
}) => theme.colors[color] || color};
|
|
141
|
+
min-height: 0;
|
|
142
|
+
line-height: 0;
|
|
143
|
+
transform-origin: 0% 100%;
|
|
144
|
+
transform: rotate(-45deg);
|
|
145
|
+
`;
|
|
146
|
+
const IconImageAttrs = {
|
|
147
|
+
color: String,
|
|
148
|
+
backgroundColor: String,
|
|
149
|
+
hoveredColor: String,
|
|
150
|
+
animation: String,
|
|
151
|
+
fillType: String,
|
|
152
|
+
disableHover: Boolean,
|
|
153
|
+
showCount: Boolean
|
|
154
|
+
};
|
|
155
|
+
const IconImage = styled("div", IconImageAttrs)`
|
|
156
|
+
animation: ${(props2) => props2.animation};
|
|
157
|
+
width: 100%;
|
|
158
|
+
svg {
|
|
159
|
+
width: 100%;
|
|
160
|
+
height: 100%;
|
|
161
|
+
background-color: ${(props2) => props2.backgroundColor ? props2.backgroundColor : "transparent"};
|
|
162
|
+
padding: ${(props2) => props2.backgroundColor ? "3px" : "0"};
|
|
163
|
+
border-radius: ${(props2) => props2.showCount ? "8px 0 0 8px" : props2.backgroundColor ? "8px" : "0"};
|
|
164
|
+
}
|
|
165
|
+
svg path:not(.fix, .isStrokePath) {
|
|
166
|
+
${({
|
|
167
|
+
theme,
|
|
168
|
+
color,
|
|
169
|
+
fillType
|
|
170
|
+
}) => color && `${fillType}: ${theme.colors[color] || color};`}
|
|
171
|
+
}
|
|
172
|
+
svg .isStroke {
|
|
173
|
+
${({
|
|
174
|
+
theme,
|
|
175
|
+
color
|
|
176
|
+
}) => color && `stroke: ${theme.colors[color] || color};`}
|
|
177
|
+
}
|
|
178
|
+
svg .isFill {
|
|
179
|
+
${({
|
|
180
|
+
theme,
|
|
181
|
+
color
|
|
182
|
+
}) => color && `fill: ${theme.colors[color] || color};`}
|
|
183
|
+
}
|
|
184
|
+
svg .isStrokePath:not(.fix) {
|
|
185
|
+
${({
|
|
186
|
+
theme,
|
|
187
|
+
color
|
|
188
|
+
}) => color && `stroke: ${theme.colors[color] || color};`}
|
|
189
|
+
}
|
|
190
|
+
${(props2) => !props2.disableHover && `
|
|
191
|
+
&:hover svg path:not(.fix, .isStrokePath) {
|
|
192
|
+
${`${props2.fillType}: ${props2.theme.colors[props2.hoveredColor] || props2.color};`}
|
|
193
|
+
&:hover svg isStrokePath:not(.fix) {
|
|
194
|
+
${`stroke: ${props2.theme.colors[props2.hoveredColor] || props2.color};`}
|
|
195
|
+
}
|
|
196
|
+
&:hover + div {
|
|
197
|
+
background-color: ${props2.hoveredColor};
|
|
198
|
+
}
|
|
199
|
+
`}
|
|
200
|
+
|
|
201
|
+
@keyframes fade {
|
|
202
|
+
50% {
|
|
203
|
+
opacity: 0.3;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
`;
|
|
207
|
+
const icon = reactive({
|
|
208
|
+
html: ""
|
|
209
|
+
});
|
|
210
|
+
const loadSvg = async () => {
|
|
211
|
+
let svgString = await fetchIcon(props.name.toLowerCase());
|
|
212
|
+
if (props.svgRotation)
|
|
213
|
+
svgString = rotateSvg(svgString, props.svgRotation);
|
|
214
|
+
icon.html = svgString;
|
|
215
|
+
};
|
|
216
|
+
const counter = computed(() => props.count > 9 ? "9+" : props.count.toString());
|
|
217
|
+
onMounted(() => loadSvg());
|
|
218
|
+
watch(() => props.name, loadSvg);
|
|
219
|
+
watch(() => props.svgRotation, loadSvg);
|
|
220
|
+
return (_ctx, _cache) => {
|
|
221
|
+
return openBlock(), createBlock(Wrapper, {
|
|
222
|
+
cursor: __props.cursor,
|
|
223
|
+
"data-test-id": "icon_wrapper",
|
|
224
|
+
disabled: __props.disabled,
|
|
225
|
+
height: __props.height ? __props.height : __props.size,
|
|
226
|
+
width: __props.width ? __props.width : __props.size
|
|
227
|
+
}, {
|
|
228
|
+
default: withCtx(() => [createVNode(IconImage, {
|
|
229
|
+
animation: __props.animation,
|
|
230
|
+
"background-color": __props.backgroundColor,
|
|
231
|
+
color: __props.color,
|
|
232
|
+
"data-test-id": "icon_image",
|
|
233
|
+
"disable-hover": __props.disableHover,
|
|
234
|
+
"fill-type": __props.fillType,
|
|
235
|
+
"hovered-color": __props.hoveredColor,
|
|
236
|
+
"show-count": __props.showCount
|
|
237
|
+
}, {
|
|
238
|
+
default: withCtx(() => [createBaseVNode("i", {
|
|
239
|
+
"data-test-id": "icon_svg",
|
|
240
|
+
innerHTML: icon.html
|
|
241
|
+
}, null, 8, _hoisted_1)]),
|
|
242
|
+
_: 1
|
|
243
|
+
}, 8, ["animation", "background-color", "color", "disable-hover", "fill-type", "hovered-color", "show-count"]), createTextVNode(), __props.isStriked ? (openBlock(), createBlock(StrikedLine, {
|
|
244
|
+
key: 0,
|
|
245
|
+
color: __props.color,
|
|
246
|
+
"data-test-id": "icon_striked_line"
|
|
247
|
+
}, null, 8, ["color"])) : createCommentVNode("", true), createTextVNode(), __props.count > 0 ? (openBlock(), createBlock(CountWrapper, {
|
|
248
|
+
key: 1,
|
|
249
|
+
"data-test-id": "icon_count"
|
|
250
|
+
}, {
|
|
251
|
+
default: withCtx(() => [createTextVNode(toDisplayString(counter.value), 1)]),
|
|
252
|
+
_: 1
|
|
253
|
+
})) : createCommentVNode("", true)]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["cursor", "disabled", "height", "width"]);
|
|
256
|
+
};
|
|
6
257
|
}
|
|
7
|
-
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
8
|
-
}
|
|
9
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
-
const onRE = /^on[^a-z]/;
|
|
12
|
-
const isOn = (key) => onRE.test(key);
|
|
13
|
-
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
14
|
-
const extend = Object.assign;
|
|
15
|
-
const isArray = Array.isArray;
|
|
16
|
-
const isFunction = (val) => typeof val === "function";
|
|
17
|
-
const isString = (val) => typeof val === "string";
|
|
18
|
-
const cacheStringFunction = (fn) => {
|
|
19
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
20
|
-
return (str) => {
|
|
21
|
-
const hit = cache[str];
|
|
22
|
-
return hit || (cache[str] = fn(str));
|
|
23
|
-
};
|
|
24
258
|
};
|
|
25
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
26
|
-
const hyphenate = cacheStringFunction(
|
|
27
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
28
|
-
);
|
|
29
|
-
const capitalize = cacheStringFunction(
|
|
30
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
31
|
-
);
|
|
32
|
-
const invokeArrayFns = (fns, arg) => {
|
|
33
|
-
for (let i = 0; i < fns.length; i++) {
|
|
34
|
-
fns[i](arg);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const looseToNumber = (val) => {
|
|
38
|
-
const n = parseFloat(val);
|
|
39
|
-
return isNaN(n) ? val : n;
|
|
40
|
-
};
|
|
41
|
-
const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
|
|
42
|
-
const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
|
|
43
|
-
const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
|
|
44
|
-
const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
|
|
45
|
-
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
46
|
-
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
47
|
-
function includeBooleanAttr(value) {
|
|
48
|
-
return !!value || value === "";
|
|
49
|
-
}
|
|
50
259
|
export {
|
|
51
|
-
|
|
52
|
-
extend,
|
|
53
|
-
hyphenate,
|
|
54
|
-
includeBooleanAttr,
|
|
55
|
-
invokeArrayFns,
|
|
56
|
-
isArray,
|
|
57
|
-
isFunction,
|
|
58
|
-
isHTMLTag,
|
|
59
|
-
isModelListener,
|
|
60
|
-
isOn,
|
|
61
|
-
isSVGTag,
|
|
62
|
-
isSpecialBooleanAttr,
|
|
63
|
-
isString,
|
|
64
|
-
looseToNumber,
|
|
65
|
-
makeMap
|
|
260
|
+
_sfc_main as default
|
|
66
261
|
};
|
package/dist/main.es19.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.
|
|
1
|
+
import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.es755.js";
|
|
2
2
|
function warn(msg, ...args) {
|
|
3
3
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
4
4
|
}
|
package/dist/main.es21.js
CHANGED
package/dist/main.es23.js
CHANGED
package/dist/main.es25.js
CHANGED
package/dist/main.es252.js
CHANGED
|
@@ -2,17 +2,26 @@ import "./main.es3.js";
|
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "
|
|
6
|
-
height: "
|
|
7
|
-
fill: "
|
|
8
|
-
viewBox: "0 0 239.427 239.427"
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
fill: "none"
|
|
9
8
|
};
|
|
10
|
-
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
10
|
+
fill: "#000",
|
|
11
|
+
d: "M8 7.5a.5.5 0 0 1 .5.5v4.96l1.688-1.35a.5.5 0 0 1 .624.78l-2.5 2a.5.5 0 0 1-.552.048l-.072-.048-2.5-2a.5.5 0 0 1 .625-.78L7.5 12.96V8a.5.5 0 0 1 .5-.5M4.3 6.217l-1 .417 3.201 1.333L6.5 8V9.05L1.808 7.096a.5.5 0 0 1 0-.923l1.191-.498zM14.192 6.173a.501.501 0 0 1 0 .923L9.5 9.051V8l-.002-.034 3.2-1.332-.999-.417L13 5.675z"
|
|
12
|
+
}, null, -1);
|
|
13
|
+
const _hoisted_3 = /* @__PURE__ */ createBaseVNode("path", {
|
|
14
|
+
fill: "#000",
|
|
15
|
+
"fill-rule": "evenodd",
|
|
16
|
+
d: "M7.808 1.039a.5.5 0 0 1 .384 0l6 2.5a.5.5 0 0 1 0 .924l-6 2.5a.5.5 0 0 1-.29.028l-.094-.028-6-2.5a.5.5 0 0 1 0-.924zM3.3 4 8 5.959 12.698 4 8 2.044z",
|
|
17
|
+
"clip-rule": "evenodd"
|
|
18
|
+
}, null, -1);
|
|
19
|
+
const _hoisted_4 = [
|
|
20
|
+
_hoisted_2,
|
|
21
|
+
_hoisted_3
|
|
13
22
|
];
|
|
14
23
|
function render(_ctx, _cache) {
|
|
15
|
-
return openBlock(), createElementBlock("svg", _hoisted_1,
|
|
24
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
|
|
16
25
|
}
|
|
17
26
|
const layer_back = { render };
|
|
18
27
|
export {
|
package/dist/main.es253.js
CHANGED
|
@@ -2,17 +2,26 @@ import "./main.es3.js";
|
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "
|
|
6
|
-
height: "
|
|
7
|
-
fill: "
|
|
8
|
-
viewBox: "0 0 239.427 239.427"
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
fill: "none"
|
|
9
8
|
};
|
|
10
|
-
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
10
|
+
fill: "#000",
|
|
11
|
+
d: "M8 7.5a.5.5 0 0 1 .5.5v4.96l1.688-1.35a.5.5 0 0 1 .624.78l-2.5 2a.5.5 0 0 1-.552.048l-.072-.048-2.5-2a.5.5 0 0 1 .625-.78L7.5 12.96V8a.5.5 0 0 1 .5-.5"
|
|
12
|
+
}, null, -1);
|
|
13
|
+
const _hoisted_3 = /* @__PURE__ */ createBaseVNode("path", {
|
|
14
|
+
fill: "#000",
|
|
15
|
+
"fill-rule": "evenodd",
|
|
16
|
+
d: "M7.808 1.039a.5.5 0 0 1 .384 0l6 2.5a.5.5 0 0 1 0 .924l-6 2.5a.5.5 0 0 1-.29.028l-.094-.028-6-2.5a.5.5 0 0 1 0-.924zM3.3 4 8 5.959 12.698 4 8 2.044z",
|
|
17
|
+
"clip-rule": "evenodd"
|
|
18
|
+
}, null, -1);
|
|
19
|
+
const _hoisted_4 = [
|
|
20
|
+
_hoisted_2,
|
|
21
|
+
_hoisted_3
|
|
13
22
|
];
|
|
14
23
|
function render(_ctx, _cache) {
|
|
15
|
-
return openBlock(), createElementBlock("svg", _hoisted_1,
|
|
24
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
|
|
16
25
|
}
|
|
17
26
|
const layer_backward = { render };
|
|
18
27
|
export {
|
package/dist/main.es254.js
CHANGED
|
@@ -2,17 +2,24 @@ import "./main.es3.js";
|
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "
|
|
6
|
-
height: "
|
|
7
|
-
fill: "
|
|
8
|
-
viewBox: "0 0 239.427 239.427"
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
fill: "none"
|
|
9
8
|
};
|
|
10
|
-
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
10
|
+
fill: "#000",
|
|
11
|
+
d: "M14.192 10.538a.5.5 0 0 1 0 .924l-6 2.5a.5.5 0 0 1-.384 0l-6-2.5a.5.5 0 0 1 0-.924L6.5 8.582v1.085L3.3 11 8 12.957 12.698 11 9.5 9.667V8.582z"
|
|
12
|
+
}, null, -1);
|
|
13
|
+
const _hoisted_3 = /* @__PURE__ */ createBaseVNode("path", {
|
|
14
|
+
fill: "#000",
|
|
15
|
+
d: "M7.76 1.561a.5.5 0 0 1 .553.048l2.5 2a.5.5 0 0 1-.626.782L8.5 3.04V11a.5.5 0 0 1-1 0V3.04L5.813 4.39a.5.5 0 0 1-.625-.78l2.5-2z"
|
|
16
|
+
}, null, -1);
|
|
17
|
+
const _hoisted_4 = [
|
|
18
|
+
_hoisted_2,
|
|
19
|
+
_hoisted_3
|
|
13
20
|
];
|
|
14
21
|
function render(_ctx, _cache) {
|
|
15
|
-
return openBlock(), createElementBlock("svg", _hoisted_1,
|
|
22
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
|
|
16
23
|
}
|
|
17
24
|
const layer_forward = { render };
|
|
18
25
|
export {
|
package/dist/main.es255.js
CHANGED
|
@@ -2,17 +2,29 @@ import "./main.es3.js";
|
|
|
2
2
|
import { openBlock, createElementBlock, createElementVNode as createBaseVNode } from "./main.es6.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "
|
|
6
|
-
height: "
|
|
7
|
-
fill: "
|
|
8
|
-
viewBox: "0 0 239.427 239.427"
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
fill: "none"
|
|
9
8
|
};
|
|
10
|
-
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("path", {
|
|
10
|
+
fill: "#000",
|
|
11
|
+
d: "M14.192 10.497a.5.5 0 0 1 0 .924l-6 2.5a.5.5 0 0 1-.384 0l-6-2.5a.5.5 0 0 1 0-.924L2.999 10l1.3.542-.998.417L8 12.916l4.698-1.957-.999-.417L13 10z"
|
|
12
|
+
}, null, -1);
|
|
13
|
+
const _hoisted_3 = /* @__PURE__ */ createBaseVNode("path", {
|
|
14
|
+
fill: "#000",
|
|
15
|
+
d: "M14.192 7.956a.5.5 0 0 1 0 .924l-6 2.5a.5.5 0 0 1-.384 0l-6-2.5a.5.5 0 0 1 0-.924L6.5 6v1.085L3.3 8.418 8 10.375l4.698-1.957L9.5 7.085V6z"
|
|
16
|
+
}, null, -1);
|
|
17
|
+
const _hoisted_4 = /* @__PURE__ */ createBaseVNode("path", {
|
|
18
|
+
fill: "#000",
|
|
19
|
+
d: "M7.76 1.561a.5.5 0 0 1 .553.048l2.5 2a.5.5 0 0 1-.626.782L8.5 3.04V9a.5.5 0 0 1-1 0V3.04L5.813 4.39a.5.5 0 0 1-.625-.78l2.5-2z"
|
|
20
|
+
}, null, -1);
|
|
21
|
+
const _hoisted_5 = [
|
|
22
|
+
_hoisted_2,
|
|
23
|
+
_hoisted_3,
|
|
24
|
+
_hoisted_4
|
|
13
25
|
];
|
|
14
26
|
function render(_ctx, _cache) {
|
|
15
|
-
return openBlock(), createElementBlock("svg", _hoisted_1,
|
|
27
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_5);
|
|
16
28
|
}
|
|
17
29
|
const layer_front = { render };
|
|
18
30
|
export {
|
package/dist/main.es390.js
CHANGED
package/dist/main.es393.js
CHANGED
package/dist/main.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isRuntimeOnly, warn, createRenderer, callWithAsyncErrorHandling } from "./main.es6.js";
|
|
2
2
|
import { Comment, Fragment, Static, Teleport, Text, callWithErrorHandling, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createStaticVNode, createTextVNode, createVNode, defineComponent, devtools, getCurrentInstance, guardReactiveProps, h, handleError, initCustomFormatter, inject, isVNode, mergeProps, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, openBlock, provide, queuePostFlushCb, renderList, renderSlot, resolveComponent, resolveDynamicComponent, setBlockTracking, setDevtoolsHook, ssrContextKey, useSSRContext, version, watch, watchEffect, withCtx, withDirectives } from "./main.es6.js";
|
|
3
|
-
import { isFunction, isHTMLTag, isSVGTag, isString, looseToNumber, isArray, invokeArrayFns, hyphenate, extend, isOn, isModelListener, capitalize, isSpecialBooleanAttr, includeBooleanAttr } from "./main.
|
|
3
|
+
import { isFunction, isHTMLTag, isSVGTag, isString, looseToNumber, isArray, invokeArrayFns, hyphenate, extend, isOn, isModelListener, capitalize, isSpecialBooleanAttr, includeBooleanAttr } from "./main.es15.js";
|
|
4
4
|
import { camelize } from "./main.es16.js";
|
|
5
5
|
import { capitalize as capitalize2, normalizeClass, normalizeStyle, toDisplayString, toHandlerKey } from "./main.es16.js";
|
|
6
6
|
const svgNS = "http://www.w3.org/2000/svg";
|
package/dist/main.es617.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_glob_0_223 = "data:image/svg+xml;base64,
|
|
1
|
+
const __vite_glob_0_223 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggNy40OTk3MUM4LjI3NjA0IDcuNDk5NzEgOC40OTk4NCA3LjcyMzcgOC41IDcuOTk5NzFWMTIuOTU5N0wxMC4xODc1IDExLjYwOTFDMTAuNDAzMSAxMS40MzY4IDEwLjcxODEgMTEuNDcxOCAxMC44OTA2IDExLjY4NzJDMTEuMDYzMSAxMS45MDI4IDExLjAyOCAxMi4yMTc4IDEwLjgxMjUgMTIuMzkwM0w4LjMxMjUgMTQuMzkwM0M4LjE1MjgxIDE0LjUxODEgNy45MzQyMSAxNC41MzM5IDcuNzU5NzcgMTQuNDM4Mkw3LjY4NzUgMTQuMzkwM0w1LjE4NzUgMTIuMzkwM0M0Ljk3MiAxMi4yMTc4IDQuOTM2OTEgMTEuOTAyOCA1LjEwOTM4IDExLjY4NzJDNS4yODE4NyAxMS40NzE4IDUuNTk2OTMgMTEuNDM2OCA1Ljgx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Tk5IDQuMjAyNCAxNC4zNzg2IDQuMzg1MDEgMTQuMTkyNCA0LjQ2MjZMOC4xOTIzOCA2Ljk2MjZDOC4xMDAxMiA3LjAwMDk5IDcuOTk4OTIgNy4wMTAxNCA3LjkwMjM0IDYuOTkwOTJMNy44MDc2MiA2Ljk2MjZMMS44MDc2MiA0LjQ2MjZDMS42MjE0IDQuMzg1MDEgMS41MDAxNCA0LjIwMjQgMS41IDQuMDAwNjhDMS41IDMuNzk4ODggMS42MjEzNiAzLjYxNjQzIDEuODA3NjIgMy41Mzg3N0w3LjgwNzYyIDEuMDM4NzdaTTMuMzAwNzggNC4wMDA2OEw4IDUuOTU4NjlMMTIuNjk4MiA0LjAwMDY4TDggMi4wNDM2NUwzLjMwMDc4IDQuMDAwNjhaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K";
|
|
2
2
|
export {
|
|
3
3
|
__vite_glob_0_223 as default
|
|
4
4
|
};
|
package/dist/main.es618.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_glob_0_224 = "data:image/svg+xml;base64,
|
|
1
|
+
const __vite_glob_0_224 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggNy40OTk3MUM4LjI3NjA0IDcuNDk5NzEgOC40OTk4NCA3LjcyMzcgOC41IDcuOTk5NzFWMTIuOTU5N0wxMC4xODc1IDExLjYwOTFDMTAuNDAzMSAxMS40MzY4IDEwLjcxODEgMTEuNDcxOCAxMC44OTA2IDExLjY4NzJDMTEuMDYzMSAxMS45MDI4IDExLjAyOCAxMi4yMTc4IDEwLjgxMjUgMTIuMzkwM0w4LjMxMjUgMTQuMzkwM0M4LjE1MjgxIDE0LjUxODEgNy45MzQyMSAxNC41MzM5IDcuNzU5Nzcg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MuMDQwMDFMNS44MTI1IDQuMzkwNTlDNS41OTY4NyA0LjU2MzEgNS4yODE4OCA0LjUyODEgNS4xMDkzOCA0LjMxMjQ3QzQuOTM2ODkgNC4wOTY4NCA0Ljk3MTg4IDMuNzgxODQgNS4xODc1IDMuNjA5MzRMNy42ODc1IDEuNjA5MzRMNy43NTk3NyAxLjU2MTQ5WiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg==";
|
|
2
2
|
export {
|
|
3
3
|
__vite_glob_0_225 as default
|
|
4
4
|
};
|
package/dist/main.es620.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_glob_0_226 = "data:image/svg+xml;base64,
|
|
1
|
+
const __vite_glob_0_226 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjE5MjQgMTAuNDk3QzE0LjM3ODcgMTAuNTc0NyAxNC41IDEwLjc1NzEgMTQuNSAxMC45NTlDMTQuNSAxMS4xNjA4IDE0LjM3ODcgMTEuMzQzMiAxNC4xOTI0IDExLjQyMDlMOC4xOTIzOCAxMy45MjA5QzguMDY5MzUgMTMuOTcyMSA3LjkzMDY1IDEzLjk3MjEgNy44MDc2MiAxMy45MjA5TDEuODA3NjIgMTEuNDIwOUMxLjYyMTMgMTEuMzQzMiAxLjUgMTEuMTYwOCAxLjUgMTAuOTU5QzEuNTAwMDIgMTAuNzU3MSAxLjYyMTMxIDEwLjU3NDcgMS44MDc2MiAxMC40OTdMMi45OTkwMiA5Ljk5OTk3TDQuMjk5OCAxMC41NDJMMy4zMDA3OCAxMC45NTlMOCAxMi45MTZMMTIuNjk4MiAxMC45NTlMMTEuNjk5MiAxMC41NDJMMTMgOS45OTk5N0wxNC4xOTI0IDEwLjQ5N1oiIGZpbGw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xODc1IDMuNjA5MzRMNy42ODc1IDEuNjA5MzRMNy43NTk3NyAxLjU2MTQ5WiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg==";
|
|
2
2
|
export {
|
|
3
3
|
__vite_glob_0_226 as default
|
|
4
4
|
};
|
package/dist/main.es755.js
CHANGED
|
@@ -1,25 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return supported;
|
|
1
|
+
function makeMap(str, expectsLowerCase) {
|
|
2
|
+
const map = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
const list = str.split(",");
|
|
4
|
+
for (let i = 0; i < list.length; i++) {
|
|
5
|
+
map[list[i]] = true;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
supported = true;
|
|
10
|
-
perf = window.performance;
|
|
11
|
-
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
-
supported = true;
|
|
13
|
-
perf = globalThis.perf_hooks.performance;
|
|
14
|
-
} else {
|
|
15
|
-
supported = false;
|
|
16
|
-
}
|
|
17
|
-
return supported;
|
|
18
|
-
}
|
|
19
|
-
function now() {
|
|
20
|
-
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
7
|
+
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
21
8
|
}
|
|
9
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
+
const NOOP = () => {
|
|
12
|
+
};
|
|
13
|
+
const extend = Object.assign;
|
|
14
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
+
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
+
const isArray = Array.isArray;
|
|
17
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
+
const isFunction = (val) => typeof val === "function";
|
|
19
|
+
const isString = (val) => typeof val === "string";
|
|
20
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
+
const objectToString = Object.prototype.toString;
|
|
23
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
+
const toRawType = (value) => {
|
|
25
|
+
return toTypeString(value).slice(8, -1);
|
|
26
|
+
};
|
|
27
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
+
const cacheStringFunction = (fn) => {
|
|
29
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
+
return (str) => {
|
|
31
|
+
const hit = cache[str];
|
|
32
|
+
return hit || (cache[str] = fn(str));
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const capitalize = cacheStringFunction(
|
|
36
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
+
);
|
|
38
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
+
const def = (obj, key, value) => {
|
|
40
|
+
Object.defineProperty(obj, key, {
|
|
41
|
+
configurable: true,
|
|
42
|
+
enumerable: false,
|
|
43
|
+
value
|
|
44
|
+
});
|
|
45
|
+
};
|
|
22
46
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
NOOP,
|
|
48
|
+
capitalize,
|
|
49
|
+
def,
|
|
50
|
+
extend,
|
|
51
|
+
hasChanged,
|
|
52
|
+
hasOwn,
|
|
53
|
+
isArray,
|
|
54
|
+
isFunction,
|
|
55
|
+
isIntegerKey,
|
|
56
|
+
isMap,
|
|
57
|
+
isObject,
|
|
58
|
+
isString,
|
|
59
|
+
isSymbol,
|
|
60
|
+
makeMap,
|
|
61
|
+
objectToString,
|
|
62
|
+
toRawType,
|
|
63
|
+
toTypeString
|
|
25
64
|
};
|
package/dist/main.es756.js
CHANGED
|
@@ -1,64 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
let supported;
|
|
2
|
+
let perf;
|
|
3
|
+
function isPerformanceSupported() {
|
|
4
|
+
var _a;
|
|
5
|
+
if (supported !== void 0) {
|
|
6
|
+
return supported;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
if (typeof window !== "undefined" && window.performance) {
|
|
9
|
+
supported = true;
|
|
10
|
+
perf = window.performance;
|
|
11
|
+
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
+
supported = true;
|
|
13
|
+
perf = globalThis.perf_hooks.performance;
|
|
14
|
+
} else {
|
|
15
|
+
supported = false;
|
|
16
|
+
}
|
|
17
|
+
return supported;
|
|
18
|
+
}
|
|
19
|
+
function now() {
|
|
20
|
+
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
8
21
|
}
|
|
9
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
-
const NOOP = () => {
|
|
12
|
-
};
|
|
13
|
-
const extend = Object.assign;
|
|
14
|
-
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
-
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
-
const isArray = Array.isArray;
|
|
17
|
-
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
-
const isFunction = (val) => typeof val === "function";
|
|
19
|
-
const isString = (val) => typeof val === "string";
|
|
20
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
-
const objectToString = Object.prototype.toString;
|
|
23
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
-
const toRawType = (value) => {
|
|
25
|
-
return toTypeString(value).slice(8, -1);
|
|
26
|
-
};
|
|
27
|
-
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
-
const cacheStringFunction = (fn) => {
|
|
29
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
-
return (str) => {
|
|
31
|
-
const hit = cache[str];
|
|
32
|
-
return hit || (cache[str] = fn(str));
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
const capitalize = cacheStringFunction(
|
|
36
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
-
);
|
|
38
|
-
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
-
const def = (obj, key, value) => {
|
|
40
|
-
Object.defineProperty(obj, key, {
|
|
41
|
-
configurable: true,
|
|
42
|
-
enumerable: false,
|
|
43
|
-
value
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
22
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
def,
|
|
50
|
-
extend,
|
|
51
|
-
hasChanged,
|
|
52
|
-
hasOwn,
|
|
53
|
-
isArray,
|
|
54
|
-
isFunction,
|
|
55
|
-
isIntegerKey,
|
|
56
|
-
isMap,
|
|
57
|
-
isObject,
|
|
58
|
-
isString,
|
|
59
|
-
isSymbol,
|
|
60
|
-
makeMap,
|
|
61
|
-
objectToString,
|
|
62
|
-
toRawType,
|
|
63
|
-
toTypeString
|
|
23
|
+
isPerformanceSupported,
|
|
24
|
+
now
|
|
64
25
|
};
|
package/dist/main.es9.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8 7.49971C8.27604 7.49971 8.49984 7.7237 8.5 7.99971V12.9597L10.1875 11.6091C10.4031 11.4368 10.7181 11.4718 10.8906 11.6872C11.0631 11.9028 11.028 12.2178 10.8125 12.3903L8.3125 14.3903C8.15281 14.5181 7.93421 14.5339 7.75977 14.4382L7.6875 14.3903L5.1875 12.3903C4.972 12.2178 4.93691 11.9028 5.10938 11.6872C5.28187 11.4718 5.59693 11.4368 5.8125 11.6091L7.5 12.9597V7.99971C7.50016 7.7237 7.72396 7.49971 8 7.49971Z" fill="black"/>
|
|
3
|
+
<path d="M4.2998 6.21748L3.30078 6.63447L6.50098 7.96748C6.50075 7.9781 6.50002 7.98903 6.5 7.99971V9.05146L1.80762 7.09639C1.62141 7.0187 1.5 6.83624 1.5 6.63447C1.50024 6.43286 1.62148 6.25011 1.80762 6.17256L2.99902 5.67549L4.2998 6.21748Z" fill="black"/>
|
|
4
|
+
<path d="M14.1924 6.17256C14.3785 6.25011 14.4998 6.43286 14.5 6.63447C14.5 6.83624 14.3786 7.0187 14.1924 7.09639L9.5 9.05146V7.99971C9.49997 7.9887 9.49829 7.97745 9.49805 7.9665L12.6982 6.63447L11.6992 6.21748L13 5.67549L14.1924 6.17256Z" fill="black"/>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.80762 1.03877C7.93065 0.987525 8.06935 0.987525 8.19238 1.03877L14.1924 3.53877C14.3786 3.61643 14.5 3.79888 14.5 4.00068C14.4999 4.2024 14.3786 4.38501 14.1924 4.4626L8.19238 6.9626C8.10012 7.00099 7.99892 7.01014 7.90234 6.99092L7.80762 6.9626L1.80762 4.4626C1.6214 4.38501 1.50014 4.2024 1.5 4.00068C1.5 3.79888 1.62136 3.61643 1.80762 3.53877L7.80762 1.03877ZM3.30078 4.00068L8 5.95869L12.6982 4.00068L8 2.04365L3.30078 4.00068Z" fill="black"/>
|
|
6
|
+
</svg>
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<path d="m218.396,141.794h-35.439v-37.621l28.313-28.313c2.929-2.93 2.929-7.678 0-10.607-2.929-2.93-7.678-2.929-10.606-0.001l-27.148,27.147c-3.316-20.579-18.238-37.32-37.819-43.275l36.322-36.322c2.929-2.93 2.929-7.678 0-10.607-2.929-2.928-7.678-2.928-10.606,0l-41.48,41.48-41.13-41.126c-2.929-2.928-7.678-2.928-10.606,4.44089e-16-2.929,2.93-2.929,7.678 0,10.608l35.97,35.969c-19.58,5.955-34.501,22.695-37.818,43.273l-27.146-27.145c-2.929-2.93-7.678-2.929-10.606-0.001-2.929,2.93-2.929,7.678 0,10.608l28.311,28.312v37.622h-35.877c-4.142,0-7.5,3.357-7.5,7.5 0,4.143 3.358,7.5 7.5,7.5h35.882c0.041,12.754 3.894,24.623 10.471,34.538l-35.291,35.291c-2.929,2.93-2.929,7.678 0,10.607 1.464,1.464 3.384,2.196 5.303,2.196 1.919,0 3.839-0.732 5.303-2.196l34.433-34.433c11.249,10.428 26.29,16.818 42.801,16.818 16.4,0 31.354-6.302 42.577-16.605l34.217,34.219c1.464,1.465 3.384,2.197 5.303,2.197 1.919,0 3.839-0.732 5.303-2.196 2.929-2.929 2.929-7.678 0-10.606l-35.023-35.025c6.684-9.968 10.6-21.938 10.641-34.805h35.444c4.142,0 7.5-3.357 7.5-7.5 0.001-4.143-3.357-7.501-7.499-7.501zm-98.465-80.01c19.096,7.10543e-15 35.045,13.698 38.557,31.782h-77.113c3.512-18.084 19.461-31.782 38.556-31.782zm-48.023,94.807v-48.025h40.525v95.461c-22.931-3.612-40.525-23.505-40.525-47.436zm55.525,47.436v-95.461h40.524v48.025c0,23.93-17.594,43.824-40.524,47.436z"/>
|
|
6
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8 7.49971C8.27604 7.49971 8.49984 7.7237 8.5 7.99971V12.9597L10.1875 11.6091C10.4031 11.4368 10.7181 11.4718 10.8906 11.6872C11.0631 11.9028 11.028 12.2178 10.8125 12.3903L8.3125 14.3903C8.15281 14.5181 7.93421 14.5339 7.75977 14.4382L7.6875 14.3903L5.1875 12.3903C4.972 12.2178 4.93691 11.9028 5.10938 11.6872C5.28187 11.4718 5.59693 11.4368 5.8125 11.6091L7.5 12.9597V7.99971C7.50016 7.7237 7.72396 7.49971 8 7.49971Z" fill="black"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.80762 1.03877C7.93065 0.987525 8.06935 0.987525 8.19238 1.03877L14.1924 3.53877C14.3786 3.61643 14.5 3.79888 14.5 4.00068C14.4999 4.2024 14.3786 4.38501 14.1924 4.4626L8.19238 6.9626C8.10012 7.00099 7.99892 7.01014 7.90234 6.99092L7.80762 6.9626L1.80762 4.4626C1.6214 4.38501 1.50014 4.2024 1.5 4.00068C1.5 3.79888 1.62136 3.61643 1.80762 3.53877L7.80762 1.03877ZM3.30078 4.00068L8 5.95869L12.6982 4.00068L8 2.04365L3.30078 4.00068Z" fill="black"/>
|
|
4
|
+
</svg>
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<path d="m218.396,141.794h-35.439v-37.621l28.313-28.313c2.929-2.93 2.929-7.678 0-10.607-2.929-2.93-7.678-2.929-10.606-0.001l-27.148,27.147c-3.316-20.579-18.238-37.32-37.819-43.275l36.322-36.322c2.929-2.93 2.929-7.678 0-10.607-2.929-2.928-7.678-2.928-10.606,0l-41.48,41.48-41.13-41.126c-2.929-2.928-7.678-2.928-10.606,4.44089e-16-2.929,2.93-2.929,7.678 0,10.608l35.97,35.969c-19.58,5.955-34.501,22.695-37.818,43.273l-27.146-27.145c-2.929-2.93-7.678-2.929-10.606-0.001-2.929,2.93-2.929,7.678 0,10.608l28.311,28.312v37.622h-35.877c-4.142,0-7.5,3.357-7.5,7.5 0,4.143 3.358,7.5 7.5,7.5h35.882c0.041,12.754 3.894,24.623 10.471,34.538l-35.291,35.291c-2.929,2.93-2.929,7.678 0,10.607 1.464,1.464 3.384,2.196 5.303,2.196 1.919,0 3.839-0.732 5.303-2.196l34.433-34.433c11.249,10.428 26.29,16.818 42.801,16.818 16.4,0 31.354-6.302 42.577-16.605l34.217,34.219c1.464,1.465 3.384,2.197 5.303,2.197 1.919,0 3.839-0.732 5.303-2.196 2.929-2.929 2.929-7.678 0-10.606l-35.023-35.025c6.684-9.968 10.6-21.938 10.641-34.805h35.444c4.142,0 7.5-3.357 7.5-7.5 0.001-4.143-3.357-7.501-7.499-7.501zm-98.465-80.01c19.096,7.10543e-15 35.045,13.698 38.557,31.782h-77.113c3.512-18.084 19.461-31.782 38.556-31.782zm-48.023,94.807v-48.025h40.525v95.461c-22.931-3.612-40.525-23.505-40.525-47.436zm55.525,47.436v-95.461h40.524v48.025c0,23.93-17.594,43.824-40.524,47.436z"/>
|
|
6
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.1924 10.5381C14.3787 10.6157 14.5 10.7981 14.5 11C14.5 11.2018 14.3787 11.3842 14.1924 11.4619L8.19238 13.9619C8.06935 14.0131 7.93065 14.0131 7.80762 13.9619L1.80762 11.4619C1.6213 11.3842 1.5 11.2018 1.5 11C1.50002 10.7981 1.62131 10.6157 1.80762 10.5381L6.5 8.582V9.66696L3.30078 11L8 12.957L12.6982 11L9.5 9.66696V8.582L14.1924 10.5381Z" fill="black"/>
|
|
3
|
+
<path d="M7.75977 1.56149C7.9342 1.46582 8.15282 1.48161 8.3125 1.60934L10.8125 3.60934C11.0281 3.78184 11.0631 4.09684 10.8906 4.31247C10.7181 4.5281 10.4031 4.5631 10.1875 4.39059L8.5 3.04001V11C8.5 11.2761 8.27614 11.5 8 11.5C7.72386 11.5 7.5 11.2761 7.5 11V3.04001L5.8125 4.39059C5.59687 4.5631 5.28188 4.5281 5.10938 4.31247C4.93689 4.09684 4.97188 3.78184 5.1875 3.60934L7.6875 1.60934L7.75977 1.56149Z" fill="black"/>
|
|
4
|
+
</svg>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.1924 10.497C14.3787 10.5747 14.5 10.7571 14.5 10.959C14.5 11.1608 14.3787 11.3432 14.1924 11.4209L8.19238 13.9209C8.06935 13.9721 7.93065 13.9721 7.80762 13.9209L1.80762 11.4209C1.6213 11.3432 1.5 11.1608 1.5 10.959C1.50002 10.7571 1.62131 10.5747 1.80762 10.497L2.99902 9.99997L4.2998 10.542L3.30078 10.959L8 12.916L12.6982 10.959L11.6992 10.542L13 9.99997L14.1924 10.497Z" fill="black"/>
|
|
3
|
+
<path d="M14.1924 7.95602C14.3787 8.03365 14.5 8.2161 14.5 8.41794C14.5 8.61978 14.3787 8.80221 14.1924 8.87985L8.19238 11.3799C8.06935 11.4311 7.93065 11.4311 7.80762 11.3799L1.80762 8.87985C1.6213 8.80221 1.5 8.61978 1.5 8.41794C1.50002 8.2161 1.62131 8.03365 1.80762 7.95602L6.5 5.99997V7.08493L3.30078 8.41794L8 10.375L12.6982 8.41794L9.5 7.08493V5.99997L14.1924 7.95602Z" fill="black"/>
|
|
4
|
+
<path d="M7.75977 1.56149C7.9342 1.46582 8.15282 1.48161 8.3125 1.60934L10.8125 3.60934C11.0281 3.78184 11.0631 4.09684 10.8906 4.31247C10.7181 4.5281 10.4031 4.5631 10.1875 4.39059L8.5 3.04001V8.99997C8.5 9.27611 8.27614 9.49997 8 9.49997C7.72386 9.49997 7.5 9.27611 7.5 8.99997V3.04001L5.8125 4.39059C5.59687 4.5631 5.28188 4.5281 5.10938 4.31247C4.93689 4.09684 4.97188 3.78184 5.1875 3.60934L7.6875 1.60934L7.75977 1.56149Z" fill="black"/>
|
|
5
|
+
</svg>
|