@eturnity/eturnity_reusable_components 8.22.23 → 8.26.0
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.es12.js +2 -2
- package/dist/main.es13.js +3 -3
- package/dist/main.es14.js +2 -2
- package/dist/main.es15.js +21 -213
- package/dist/main.es16.js +1051 -19
- package/dist/main.es17.js +215 -1044
- package/dist/main.es18.js +69 -197
- package/dist/main.es19.js +2 -99
- package/dist/main.es20.js +541 -2
- package/dist/main.es21.js +188 -530
- package/dist/main.es22.js +209 -192
- package/dist/main.es24.js +2 -2
- package/dist/main.es5.js +2 -2
- package/dist/main.es6.js +4 -4
- package/dist/main.es9.js +1 -1
- package/package.json +1 -1
- package/src/assets/tests/__mocks__/svgMock.js +5 -1
- package/src/components/filterComponent/viewFilter.vue +97 -1
- package/src/components/rangeSlider/RangeSlider.spec.js +178 -0
- package/src/components/rangeSlider/RangeSlider.stories.js +159 -0
- package/src/components/rangeSlider/index.vue +15 -20
- package/src/components/tabsHeader/index.vue +1 -0
package/dist/main.es12.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import "./main.es3.js";
|
2
|
-
import { setupDevtoolsPlugin } from "./main.
|
3
|
-
import { shallowRef, unref, reactive, ref } from "./main.
|
2
|
+
import { setupDevtoolsPlugin } from "./main.es15.js";
|
3
|
+
import { shallowRef, unref, reactive, ref } from "./main.es16.js";
|
4
4
|
import { computed, nextTick, defineComponent, watch, inject, h, provide, watchEffect, getCurrentInstance } from "./main.es6.js";
|
5
5
|
/*!
|
6
6
|
* vue-router v4.2.2
|
package/dist/main.es13.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import styled from "./main.es7.js";
|
2
|
-
import PanelRangeInfo from "./main.
|
3
|
-
import IconCollection from "./main.
|
2
|
+
import PanelRangeInfo from "./main.es17.js";
|
3
|
+
import IconCollection from "./main.es18.js";
|
4
4
|
import "./main.es3.js";
|
5
|
-
import "./main.
|
5
|
+
import "./main.es19.js";
|
6
6
|
import _export_sfc from "./main.es11.js";
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, withDirectives, createElementVNode as createBaseVNode, Fragment } from "./main.es6.js";
|
8
8
|
import { vModelText } from "./main.es5.js";
|
package/dist/main.es14.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import styled from "./main.es7.js";
|
2
|
-
import InfoText from "./main.
|
2
|
+
import InfoText from "./main.es20.js";
|
3
3
|
import "./main.es3.js";
|
4
4
|
import _export_sfc from "./main.es11.js";
|
5
5
|
import { withKeys, withModifiers } from "./main.es5.js";
|
6
6
|
import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, createCommentVNode } from "./main.es6.js";
|
7
|
-
import { toDisplayString } from "./main.
|
7
|
+
import { toDisplayString } from "./main.es21.js";
|
8
8
|
const Container = styled.div`
|
9
9
|
display: inline-block;
|
10
10
|
`;
|
package/dist/main.es15.js
CHANGED
@@ -1,218 +1,26 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
const
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
};
|
19
|
-
|
20
|
-
|
21
|
-
justify-content: center;
|
22
|
-
padding: ${(props) => {
|
23
|
-
var _a, _b, _c, _d;
|
24
|
-
return (_d = (_c = (_b = (_a = props.theme) == null ? void 0 : _a.mainButton) == null ? void 0 : _b.size) == null ? void 0 : _c[props.buttonSize]) == null ? void 0 : _d.padding;
|
25
|
-
}};
|
26
|
-
font-size: ${(props) => {
|
27
|
-
var _a, _b, _c, _d;
|
28
|
-
return (_d = (_c = (_b = (_a = props.theme) == null ? void 0 : _a.mainButton) == null ? void 0 : _b.size) == null ? void 0 : _c[props.buttonSize]) == null ? void 0 : _d.fontSize;
|
29
|
-
}};
|
30
|
-
color: ${(props) => props.isDisabled ? props.theme.mainButton[props.appTheme][props.type][props.variant].disabled.textColor : props.theme.mainButton[props.appTheme][props.type][props.variant].default.textColor};
|
31
|
-
background-color: ${(props) => props.isDisabled ? props.theme.mainButton[props.appTheme][props.type][props.variant].disabled.backgroundColor : props.theme.mainButton[props.appTheme][props.type][props.variant].default.backgroundColor};
|
32
|
-
border: ${(props) => {
|
33
|
-
const borderValue = props.isDisabled ? props.theme.mainButton[props.appTheme][props.type][props.variant].disabled.borderColor : props.theme.mainButton[props.appTheme][props.type][props.variant].default.borderColor;
|
34
|
-
return borderValue ? "1px solid " + borderValue : "none";
|
35
|
-
}};
|
36
|
-
border-radius: 4px;
|
37
|
-
text-align: center;
|
38
|
-
cursor: ${(props) => props.isDisabled ? "not-allowed" : "pointer"};
|
39
|
-
user-select: none;
|
40
|
-
${(props) => props.minWidth ? `min-width: ${props.minWidth};` : ""};
|
41
|
-
${(props) => props.noWrap ? `white-space: nowrap;` : ""};
|
42
|
-
height: ${(props) => props.height};
|
43
|
-
line-height: 1;
|
44
|
-
|
45
|
-
&:hover {
|
46
|
-
background-color: ${(props) => props.isDisabled ? props.theme.mainButton[props.appTheme][props.type][props.variant].disabled.backgroundColor : props.theme.mainButton[props.appTheme][props.type][props.variant].hover.backgroundColor};
|
47
|
-
}
|
48
|
-
|
49
|
-
&:active {
|
50
|
-
background-color: ${(props) => props.isDisabled ? props.theme.mainButton[props.appTheme][props.type][props.variant].disabled.backgroundColor : props.theme.mainButton[props.appTheme][props.type][props.variant].active.backgroundColor};
|
51
|
-
}
|
52
|
-
`;
|
53
|
-
const AltAttrs = {
|
54
|
-
altStyle: Boolean,
|
55
|
-
color: String
|
56
|
-
};
|
57
|
-
styled("div", AltAttrs)`
|
58
|
-
background-color: ${(props) => props.color ? props.color : props.theme.colors.transparentWhite1};
|
59
|
-
padding: 7px;
|
60
|
-
height: 100%;
|
61
|
-
width: 30%;
|
62
|
-
justify-content: center;
|
63
|
-
display: flex;
|
64
|
-
align-items: center;
|
65
|
-
border-radius: 4px 0 0 4px;
|
66
|
-
color: ${(props) => props.theme.colors.white};
|
67
|
-
all: ${(props) => props.altStyle ? "" : "unset"};
|
68
|
-
`;
|
69
|
-
styled("span", AltAttrs)`
|
70
|
-
padding: ${(props) => props.altStyle ? "7px" : "0"};
|
71
|
-
all: ${(props) => props.altStyle ? "" : "unset"};
|
72
|
-
`;
|
73
|
-
const LabelAttrs = {
|
74
|
-
hasIcon: Boolean
|
75
|
-
};
|
76
|
-
const LabelComponent = styled("span", LabelAttrs)`
|
77
|
-
display: flex;
|
78
|
-
align-items: center;
|
79
|
-
justify-content: center;
|
80
|
-
gap: ${(props) => props.hasIcon ? "5px" : "0"};
|
81
|
-
`;
|
82
|
-
const _sfc_main = {
|
83
|
-
name: "MainButton",
|
84
|
-
components: {
|
85
|
-
Icon: _sfc_main$1,
|
86
|
-
LabelComponent,
|
87
|
-
PageContainer,
|
88
|
-
ButtonContainer
|
89
|
-
},
|
90
|
-
props: {
|
91
|
-
type: {
|
92
|
-
required: false,
|
93
|
-
default: "primary",
|
94
|
-
// primary, secondary, tertiary, ghost
|
95
|
-
type: String
|
96
|
-
},
|
97
|
-
variant: {
|
98
|
-
required: false,
|
99
|
-
default: "main",
|
100
|
-
// main, cancel
|
101
|
-
type: String
|
102
|
-
},
|
103
|
-
isDisabled: {
|
104
|
-
required: false,
|
105
|
-
default: false,
|
106
|
-
type: Boolean
|
107
|
-
},
|
108
|
-
icon: {
|
109
|
-
required: false,
|
110
|
-
default: null,
|
111
|
-
type: String
|
112
|
-
},
|
113
|
-
iconColor: {
|
114
|
-
required: false,
|
115
|
-
default: "",
|
116
|
-
type: String
|
117
|
-
},
|
118
|
-
iconAltStyle: {
|
119
|
-
required: false,
|
120
|
-
default: false,
|
121
|
-
type: Boolean
|
122
|
-
},
|
123
|
-
iconAltStyleColor: {
|
124
|
-
required: false,
|
125
|
-
default: null,
|
126
|
-
type: String
|
127
|
-
},
|
128
|
-
text: {
|
129
|
-
required: true,
|
130
|
-
type: String
|
131
|
-
},
|
132
|
-
noWrap: {
|
133
|
-
required: false,
|
134
|
-
default: false,
|
135
|
-
type: Boolean
|
136
|
-
},
|
137
|
-
minWidth: {
|
138
|
-
required: false,
|
139
|
-
default: null,
|
140
|
-
type: String
|
141
|
-
},
|
142
|
-
height: {
|
143
|
-
required: false,
|
144
|
-
default: "auto",
|
145
|
-
type: String
|
146
|
-
},
|
147
|
-
id: {
|
148
|
-
required: false,
|
149
|
-
default: null,
|
150
|
-
type: String
|
151
|
-
},
|
152
|
-
dataId: {
|
153
|
-
type: String,
|
154
|
-
default: ""
|
155
|
-
},
|
156
|
-
dataQaId: {
|
157
|
-
type: String,
|
158
|
-
default: ""
|
159
|
-
},
|
160
|
-
appTheme: {
|
161
|
-
type: String,
|
162
|
-
default: "light"
|
163
|
-
},
|
164
|
-
buttonSize: {
|
165
|
-
type: String,
|
166
|
-
default: "medium",
|
167
|
-
required: false
|
168
|
-
}
|
169
|
-
},
|
170
|
-
computed: {
|
171
|
-
theme() {
|
172
|
-
return theme;
|
173
|
-
},
|
174
|
-
getIconColor() {
|
175
|
-
return this.isDisabled ? this.theme.mainButton[this.appTheme][this.type][this.variant].disabled.textColor : this.iconColor ? this.iconColor : this.theme.mainButton[this.appTheme][this.type][this.variant].default.textColor;
|
1
|
+
import { isProxyAvailable, getTarget, getDevtoolsGlobalHook } from "./main.es373.js";
|
2
|
+
import { HOOK_SETUP } from "./main.es374.js";
|
3
|
+
import { ApiProxy } from "./main.es375.js";
|
4
|
+
function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
5
|
+
const descriptor = pluginDescriptor;
|
6
|
+
const target = getTarget();
|
7
|
+
const hook = getDevtoolsGlobalHook();
|
8
|
+
const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;
|
9
|
+
if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {
|
10
|
+
hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);
|
11
|
+
} else {
|
12
|
+
const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;
|
13
|
+
const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];
|
14
|
+
list.push({
|
15
|
+
pluginDescriptor: descriptor,
|
16
|
+
setupFn,
|
17
|
+
proxy
|
18
|
+
});
|
19
|
+
if (proxy) {
|
20
|
+
setupFn(proxy.proxiedTarget);
|
176
21
|
}
|
177
22
|
}
|
178
|
-
};
|
179
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
180
|
-
const _component_Icon = resolveComponent("Icon");
|
181
|
-
const _component_LabelComponent = resolveComponent("LabelComponent");
|
182
|
-
const _component_ButtonContainer = resolveComponent("ButtonContainer");
|
183
|
-
const _component_PageContainer = resolveComponent("PageContainer");
|
184
|
-
return openBlock(), createBlock(_component_PageContainer, null, {
|
185
|
-
default: withCtx(() => [createVNode(_component_ButtonContainer, {
|
186
|
-
id: $props.id,
|
187
|
-
"app-theme": $props.appTheme,
|
188
|
-
"button-size": $props.buttonSize,
|
189
|
-
"data-id": $props.dataId,
|
190
|
-
"data-qa-id": $props.dataQaId,
|
191
|
-
height: $props.height,
|
192
|
-
"is-disabled": $props.isDisabled,
|
193
|
-
"min-width": $props.minWidth,
|
194
|
-
"no-wrap": $props.noWrap,
|
195
|
-
type: $props.type,
|
196
|
-
variant: $props.variant
|
197
|
-
}, {
|
198
|
-
default: withCtx(() => [createVNode(_component_LabelComponent, {
|
199
|
-
"has-icon": Boolean($props.icon)
|
200
|
-
}, {
|
201
|
-
default: withCtx(() => [$props.icon ? (openBlock(), createBlock(_component_Icon, {
|
202
|
-
key: 0,
|
203
|
-
color: $options.getIconColor,
|
204
|
-
"hovered-color": $options.getIconColor,
|
205
|
-
name: $props.icon,
|
206
|
-
size: "14px"
|
207
|
-
}, null, 8, ["color", "hovered-color", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($props.text), 1)]),
|
208
|
-
_: 1
|
209
|
-
}, 8, ["has-icon"])]),
|
210
|
-
_: 1
|
211
|
-
}, 8, ["id", "app-theme", "button-size", "data-id", "data-qa-id", "height", "is-disabled", "min-width", "no-wrap", "type", "variant"])]),
|
212
|
-
_: 1
|
213
|
-
});
|
214
23
|
}
|
215
|
-
const RCButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
216
24
|
export {
|
217
|
-
|
25
|
+
setupDevtoolsPlugin
|
218
26
|
};
|