@useinsider/guido 3.17.0-beta.3e9d6e7 → 3.17.0-beta.3ff6ea0
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/README.md +0 -1
- package/dist/@types/config/schemas.js +6 -12
- package/dist/components/Guido.vue.js +6 -6
- package/dist/components/Guido.vue2.js +61 -63
- package/dist/composables/useCustomInterfaceAppearance.js +16 -19
- package/dist/composables/useRecommendation.js +34 -41
- package/dist/composables/useStripo.js +14 -14
- package/dist/config/migrator/index.js +9 -8
- package/dist/config/migrator/recommendation/compositionMapper.js +20 -20
- package/dist/config/migrator/recommendation/extractors.js +29 -24
- package/dist/config/migrator/recommendation/htmlBuilder.js +116 -130
- package/dist/config/migrator/recommendationMigrator.js +16 -15
- package/dist/config/migrator/recommendationTitleMigrator.js +119 -0
- package/dist/enums/date.js +3 -4
- package/dist/enums/extensions/recommendationBlock.js +23 -25
- package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +20 -21
- package/dist/extensions/Blocks/Recommendation/constants/selectors.js +34 -28
- package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +306 -238
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +95 -122
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +1 -0
- package/dist/extensions/Blocks/Recommendation/controls/title/index.js +44 -0
- package/dist/extensions/Blocks/Recommendation/extension.js +31 -29
- package/dist/extensions/Blocks/Recommendation/settingsPanel.js +23 -4
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +53 -199
- package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +3 -3
- package/dist/extensions/Blocks/Recommendation/templates/titleRows.js +33 -0
- package/dist/extensions/Blocks/Recommendation/templates/utils.js +85 -107
- package/dist/extensions/Blocks/common-control.js +19 -22
- package/dist/guido.css +1 -1
- package/dist/services/recommendationApi.js +28 -77
- package/dist/src/@types/config/schemas.d.ts +0 -12
- package/dist/src/composables/useConfig.d.ts +0 -2
- package/dist/src/composables/useRecommendation.d.ts +0 -1
- package/dist/src/config/migrator/recommendation/extractors.d.ts +8 -0
- package/dist/src/config/migrator/recommendationTitleMigrator.d.ts +5 -0
- package/dist/src/enums/extensions/recommendationBlock.d.ts +0 -2
- package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +2 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/controlIds.d.ts +7 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +3 -12
- package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/title/index.d.ts +86 -0
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +10 -210
- package/dist/src/extensions/Blocks/Recommendation/templates/titleRows.d.ts +13 -0
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +0 -6
- package/dist/src/extensions/Blocks/common-control.d.ts +1 -4
- package/dist/src/services/recommendationApi.d.ts +1 -4
- package/dist/src/stores/config.d.ts +0 -18
- package/dist/static/styles/customEditorStyle.css.js +3 -1
- package/dist/utils/dateUtil.js +10 -23
- package/dist/utils/templatePreparation.js +34 -37
- package/package.json +1 -2
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +0 -18
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +0 -67
- package/dist/components/organisms/extensions/recommendation/StrategyInfoBox.vue.js +0 -20
- package/dist/components/organisms/extensions/recommendation/StrategyInfoBox.vue2.js +0 -55
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +0 -132
- package/dist/node_modules/@useinsider/design-system-organisms/dist/index-Dc9AygoZ.js +0 -526
- package/dist/node_modules/@useinsider/design-system-organisms/dist/index.js +0 -9345
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InAccordion.js +0 -174
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBasicTextInput.js +0 -381
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBox.js +0 -236
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InBulkActions.js +0 -70
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InButton.js +0 -350
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InButtonV2.js +0 -371
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InCheckBox.js +0 -152
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InChips.js +0 -141
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InCustomDropDown.js +0 -1047
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDataTableV2.js +0 -96050
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDatePicker.js +0 -2042
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDrawer.js +0 -166
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InDropDown.js +0 -1098
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InIcons.js +0 -55
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InInfoBox.js +0 -265
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InLinks.js +0 -184
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InLoading.js +0 -50
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InModals.js +0 -453
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InNoData.js +0 -145
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InOnPageMessage.js +0 -176
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InProgress.js +0 -266
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InRadioButton.js +0 -114
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSegments.js +0 -200
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSelect.js +0 -451
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InSkeleton.js +0 -49
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InStatusText.js +0 -119
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTabs.js +0 -4309
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTagsText.js +0 -129
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTextInput.js +0 -503
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InToasts.js +0 -253
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InToggle.js +0 -107
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTooltip.js +0 -134
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/InTooltipV2.js +0 -464
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/_commonjsHelpers.BItOPCY9.js +0 -28
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/_plugin-vue2_normalizer.WQT2Fc8L.js +0 -23
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/clickOutside.qP9M0QCm.js +0 -29
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/helpers.CgHNyjAJ.js +0 -109
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/index.Bw_06igr.js +0 -2339
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/localLocalesMixin.DYMhydo2.js +0 -16
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/useLocalLocales.Ckuhy7d-.js +0 -17
- package/dist/node_modules/@useinsider/design-system-organisms/node_modules/@useinsider/design-system-vue/dist/chunks/vue-property-decorator.BtlM7Epa.js +0 -188
- package/dist/src/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.d.ts +0 -3
- package/dist/src/components/organisms/extensions/recommendation/StrategyInfoBox.vue.d.ts +0 -24
- package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +0 -37
- package/dist/src/mock/api/recommendation-strategies.d.ts +0 -43
- package/dist/static/styles/components/recommendation-strategy.css.js +0 -171
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
2
|
-
/* empty css */
|
|
3
|
-
const _ = "_in-box_v01428_W6WVy", b = "_in-box_top-start_v01428_gKbw2", a = "_in-box_top-center_v01428_whSt9", s = "_in-box_top-end_v01428_i2UDn", l = "_in-box_right-start_v01428_wW-d-", x = "_in-box_right-center_v01428_H23MS", d = "_in-box_right-end_v01428_067fs", p = "_in-box_bottom-start_v01428_gskZo", f = "_in-box_bottom-center_v01428_6kkBY", g = "_in-box_bottom-end_v01428_yCpHO", c = "_in-box_left-start_v01428_Rm0W5", v = "_in-box_left-center_v01428_FL-l0", u = "_in-box_left-end_v01428_J8eXl", y = "_in-box_flip-box_v01428_Yt4xx", n = {
|
|
4
|
-
"in-box": "_in-box_v01428_W6WVy",
|
|
5
|
-
inBox: _,
|
|
6
|
-
"in-box_top-start": "_in-box_top-start_v01428_gKbw2",
|
|
7
|
-
inBoxTopStart: b,
|
|
8
|
-
"in-box_top-center": "_in-box_top-center_v01428_whSt9",
|
|
9
|
-
inBoxTopCenter: a,
|
|
10
|
-
"in-box_top-end": "_in-box_top-end_v01428_i2UDn",
|
|
11
|
-
inBoxTopEnd: s,
|
|
12
|
-
"in-box_right-start": "_in-box_right-start_v01428_wW-d-",
|
|
13
|
-
inBoxRightStart: l,
|
|
14
|
-
"in-box_right-center": "_in-box_right-center_v01428_H23MS",
|
|
15
|
-
inBoxRightCenter: x,
|
|
16
|
-
"in-box_right-end": "_in-box_right-end_v01428_067fs",
|
|
17
|
-
inBoxRightEnd: d,
|
|
18
|
-
"in-box_bottom-start": "_in-box_bottom-start_v01428_gskZo",
|
|
19
|
-
inBoxBottomStart: p,
|
|
20
|
-
"in-box_bottom-center": "_in-box_bottom-center_v01428_6kkBY",
|
|
21
|
-
inBoxBottomCenter: f,
|
|
22
|
-
"in-box_bottom-end": "_in-box_bottom-end_v01428_yCpHO",
|
|
23
|
-
inBoxBottomEnd: g,
|
|
24
|
-
"in-box_left-start": "_in-box_left-start_v01428_Rm0W5",
|
|
25
|
-
inBoxLeftStart: c,
|
|
26
|
-
"in-box_left-center": "_in-box_left-center_v01428_FL-l0",
|
|
27
|
-
inBoxLeftCenter: v,
|
|
28
|
-
"in-box_left-end": "_in-box_left-end_v01428_J8eXl",
|
|
29
|
-
inBoxLeftEnd: u,
|
|
30
|
-
"in-box_flip-box": "_in-box_flip-box_v01428_Yt4xx",
|
|
31
|
-
inBoxFlipBox: y
|
|
32
|
-
}, h = {
|
|
33
|
-
props: {
|
|
34
|
-
/**
|
|
35
|
-
* @property {string} border
|
|
36
|
-
*/
|
|
37
|
-
border: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: "bor-w-1 bor-s-s bor-c-6"
|
|
40
|
-
},
|
|
41
|
-
/**
|
|
42
|
-
* @property {string} borderRadius
|
|
43
|
-
*/
|
|
44
|
-
borderRadius: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: "bor-r-1"
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* @property {boolean} borderTriangle
|
|
50
|
-
*/
|
|
51
|
-
borderTriangle: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
/**
|
|
56
|
-
* @property {string} borderTrianglePosition
|
|
57
|
-
*/
|
|
58
|
-
borderTrianglePosition: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: ""
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* @property {string} borderTriangleAlign
|
|
64
|
-
*/
|
|
65
|
-
borderTriangleAlign: {
|
|
66
|
-
type: String,
|
|
67
|
-
default: ""
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
computed: {
|
|
71
|
-
/**
|
|
72
|
-
* @return {string}
|
|
73
|
-
*/
|
|
74
|
-
trianglePosition() {
|
|
75
|
-
return this.borderTriangle ? `in-box_${this.borderTrianglePosition}-${this.borderTriangleAlign}` : "";
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
methods: {
|
|
79
|
-
trigger() {
|
|
80
|
-
this.$emit("click");
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
var S = function() {
|
|
85
|
-
var t = this, o = t._self._c;
|
|
86
|
-
return o("div", { ref: "boxElement", staticClass: "in-box qa-box", class: [
|
|
87
|
-
t.$style["in-box"],
|
|
88
|
-
t.trianglePosition ? t.$style[t.trianglePosition] : "",
|
|
89
|
-
t.trianglePosition,
|
|
90
|
-
t.border,
|
|
91
|
-
t.borderRadius
|
|
92
|
-
], on: { click: t.trigger } }, [t._t("default")], 2);
|
|
93
|
-
}, m = [];
|
|
94
|
-
const i = {
|
|
95
|
-
$style: n
|
|
96
|
-
};
|
|
97
|
-
function B(t) {
|
|
98
|
-
for (var o in i)
|
|
99
|
-
this[o] = i[o];
|
|
100
|
-
}
|
|
101
|
-
var T = /* @__PURE__ */ e(
|
|
102
|
-
h,
|
|
103
|
-
S,
|
|
104
|
-
m,
|
|
105
|
-
!1,
|
|
106
|
-
B
|
|
107
|
-
);
|
|
108
|
-
const $ = T.exports, w = {
|
|
109
|
-
props: {
|
|
110
|
-
/**
|
|
111
|
-
* @property {string} boxSpacing
|
|
112
|
-
*/
|
|
113
|
-
boxSpacing: {
|
|
114
|
-
type: String,
|
|
115
|
-
default: ""
|
|
116
|
-
},
|
|
117
|
-
/**
|
|
118
|
-
* @property {string} border
|
|
119
|
-
*/
|
|
120
|
-
border: {
|
|
121
|
-
type: String,
|
|
122
|
-
default: "bor-w-1 bor-s-s bor-c-6"
|
|
123
|
-
},
|
|
124
|
-
/**
|
|
125
|
-
* @property {string} borderRadius
|
|
126
|
-
*/
|
|
127
|
-
borderRadius: {
|
|
128
|
-
type: String,
|
|
129
|
-
default: "bor-r-1"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
var R = function() {
|
|
134
|
-
var t = this, o = t._self._c;
|
|
135
|
-
return o("div", { staticClass: "qa-flip-box in-box_flip-box", class: [t.$style["in-box_flip-box"], t.boxSpacing] }, [o("div", { staticClass: "qa-flip-box-wrapper", class: t.$style["in-box_flip-box__wrapper"] }, [o("div", { staticClass: "in-box qa-box qa-flip-box-front h-1 w-1 p-a t-0 l-0", class: [t.$style["in-box"], t.$style["in-box_flip-box__face"], t.border, t.borderRadius, t.boxSpacing] }, [t._t("front")], 2), o("div", { staticClass: "in-box qa-box qa-flip-box-reverse h-1 w-1 p-a t-0 l-0", class: [
|
|
136
|
-
t.$style["in-box"],
|
|
137
|
-
t.$style["in-box_flip-box__face"],
|
|
138
|
-
t.$style["in-box_flip-box__face--back"],
|
|
139
|
-
t.border,
|
|
140
|
-
t.borderRadius,
|
|
141
|
-
t.boxSpacing
|
|
142
|
-
] }, [t._t("reverse")], 2)])]);
|
|
143
|
-
}, C = [];
|
|
144
|
-
const r = {
|
|
145
|
-
$style: n
|
|
146
|
-
};
|
|
147
|
-
function k(t) {
|
|
148
|
-
for (var o in r)
|
|
149
|
-
this[o] = r[o];
|
|
150
|
-
}
|
|
151
|
-
var P = /* @__PURE__ */ e(
|
|
152
|
-
w,
|
|
153
|
-
R,
|
|
154
|
-
C,
|
|
155
|
-
!1,
|
|
156
|
-
k
|
|
157
|
-
);
|
|
158
|
-
const W = P.exports, q = {
|
|
159
|
-
components: {
|
|
160
|
-
InBoxDefault: $,
|
|
161
|
-
InBoxFlip: W
|
|
162
|
-
},
|
|
163
|
-
props: {
|
|
164
|
-
/**
|
|
165
|
-
* @property {string} type
|
|
166
|
-
*/
|
|
167
|
-
type: {
|
|
168
|
-
type: String,
|
|
169
|
-
default: "default"
|
|
170
|
-
},
|
|
171
|
-
/**
|
|
172
|
-
* @property {string} boxSpacing
|
|
173
|
-
*/
|
|
174
|
-
boxSpacing: {
|
|
175
|
-
type: String,
|
|
176
|
-
default: ""
|
|
177
|
-
},
|
|
178
|
-
/**
|
|
179
|
-
* @property {string} border
|
|
180
|
-
*/
|
|
181
|
-
border: {
|
|
182
|
-
type: String,
|
|
183
|
-
default: "bor-w-1 bor-s-s bor-c-6"
|
|
184
|
-
},
|
|
185
|
-
/**
|
|
186
|
-
* @property {string} borderRadius
|
|
187
|
-
*/
|
|
188
|
-
borderRadius: {
|
|
189
|
-
type: String,
|
|
190
|
-
default: "bor-r-1"
|
|
191
|
-
},
|
|
192
|
-
/**
|
|
193
|
-
* @property {boolean} borderTriangle
|
|
194
|
-
*/
|
|
195
|
-
borderTriangle: {
|
|
196
|
-
type: Boolean,
|
|
197
|
-
default: !1
|
|
198
|
-
},
|
|
199
|
-
/**
|
|
200
|
-
* @property {string} borderTrianglePosition
|
|
201
|
-
*/
|
|
202
|
-
borderTrianglePosition: {
|
|
203
|
-
type: String,
|
|
204
|
-
default: ""
|
|
205
|
-
},
|
|
206
|
-
/**
|
|
207
|
-
* @property {string} borderTriangleAlign
|
|
208
|
-
*/
|
|
209
|
-
borderTriangleAlign: {
|
|
210
|
-
type: String,
|
|
211
|
-
default: ""
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
data() {
|
|
215
|
-
return {
|
|
216
|
-
boxes: {
|
|
217
|
-
default: "in-box-default",
|
|
218
|
-
flip: "in-box-flip"
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
var E = function() {
|
|
224
|
-
var t = this, o = t._self._c;
|
|
225
|
-
return o(t.boxes[t.type], { tag: "component", attrs: { "box-spacing": t.boxSpacing, border: t.border, "border-radius": t.borderRadius, "border-triangle": t.borderTriangle, "border-triangle-position": t.borderTrianglePosition, "border-triangle-align": t.borderTriangleAlign } }, [t._t("default"), o("template", { slot: "front" }, [t._t("front")], 2), o("template", { slot: "reverse" }, [t._t("reverse")], 2)], 2);
|
|
226
|
-
}, L = [], A = /* @__PURE__ */ e(
|
|
227
|
-
q,
|
|
228
|
-
E,
|
|
229
|
-
L,
|
|
230
|
-
!1,
|
|
231
|
-
null
|
|
232
|
-
);
|
|
233
|
-
const Y = A.exports;
|
|
234
|
-
export {
|
|
235
|
-
Y as InBox
|
|
236
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { InButtonV2 as c } from "./InButtonV2.js";
|
|
2
|
-
import { l } from "./chunks/localLocalesMixin.DYMhydo2.js";
|
|
3
|
-
import { n as e } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
const _ = "_in-bulkactions-wrapper_v01428_7MQuV", u = "_in-bulkactions-actions_v01428_O-9cU", r = "_in-bulkactions-actions__action_v01428_UoreC", b = "_in-bulkactions-actions__action-button_v01428_pZBjD", k = "_in-bulkactions-selection_v01428_EDbYH", p = "_in-bulkactions-selection__item_v01428_dMH1g", v = "_in-bulkactions-selection__item--with-separator_v01428_gwQaD", d = "_in-bulkactions-selection__action_v01428_sYzfv", m = "_in-bulkactions-selection__action-button_v01428_Sygcl", f = "_in-bulkactions-separator_v01428_6zIjR", y = {
|
|
6
|
-
"in-bulkactions-wrapper": "_in-bulkactions-wrapper_v01428_7MQuV",
|
|
7
|
-
inBulkactionsWrapper: _,
|
|
8
|
-
"in-bulkactions-actions": "_in-bulkactions-actions_v01428_O-9cU",
|
|
9
|
-
inBulkactionsActions: u,
|
|
10
|
-
"in-bulkactions-actions__action": "_in-bulkactions-actions__action_v01428_UoreC",
|
|
11
|
-
inBulkactionsActionsAction: r,
|
|
12
|
-
"in-bulkactions-actions__action-button": "_in-bulkactions-actions__action-button_v01428_pZBjD",
|
|
13
|
-
inBulkactionsActionsActionButton: b,
|
|
14
|
-
"in-bulkactions-selection": "_in-bulkactions-selection_v01428_EDbYH",
|
|
15
|
-
inBulkactionsSelection: k,
|
|
16
|
-
"in-bulkactions-selection__item": "_in-bulkactions-selection__item_v01428_dMH1g",
|
|
17
|
-
inBulkactionsSelectionItem: p,
|
|
18
|
-
"in-bulkactions-selection__item--with-separator": "_in-bulkactions-selection__item--with-separator_v01428_gwQaD",
|
|
19
|
-
inBulkactionsSelectionItemWithSeparator: v,
|
|
20
|
-
"in-bulkactions-selection__action": "_in-bulkactions-selection__action_v01428_sYzfv",
|
|
21
|
-
inBulkactionsSelectionAction: d,
|
|
22
|
-
"in-bulkactions-selection__action-button": "_in-bulkactions-selection__action-button_v01428_Sygcl",
|
|
23
|
-
inBulkactionsSelectionActionButton: m,
|
|
24
|
-
"in-bulkactions-separator": "_in-bulkactions-separator_v01428_6zIjR",
|
|
25
|
-
inBulkactionsSeparator: f
|
|
26
|
-
}, B = {
|
|
27
|
-
name: "InBulkActions",
|
|
28
|
-
components: {
|
|
29
|
-
InButtonV2: c
|
|
30
|
-
},
|
|
31
|
-
mixins: [l],
|
|
32
|
-
props: {
|
|
33
|
-
id: { type: String, default: "" },
|
|
34
|
-
selectedInfoText: { type: String, default: "" },
|
|
35
|
-
selectAllButtonText: { type: String, default: "Select All" },
|
|
36
|
-
clearAllButtonText: { type: String, default: "Clear All" },
|
|
37
|
-
bulkActionButtons: { type: Array, default: () => [] },
|
|
38
|
-
selectionButtons: { type: Array, default: () => [] }
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
var A = function() {
|
|
42
|
-
var t = this, n = t._self._c;
|
|
43
|
-
return n("div", { staticClass: "in-bulkactions-wrapper", class: t.$style["in-bulkactions-wrapper"] }, [n("div", { staticClass: "in-bulkactions-selection", class: t.$style["in-bulkactions-selection"] }, [n("div", { staticClass: "in-bulkactions-selection__item", class: t.$style["in-bulkactions-selection__item"], domProps: { innerHTML: t._s(t.selectedInfoText) } }), n("div", { staticClass: "in-bulkactions-selection__item", class: t.$style["in-bulkactions-selection__item"] }, t._l(t.selectionButtons, function(i, s) {
|
|
44
|
-
return n("div", { key: s, staticClass: "in-bulkactions-actions__action h-1", class: t.$style["in-bulkactions-actions__action"] }, [i.hidden ? t._e() : n("in-button-v2", t._b({ staticClass: "in-bulkactions-actions__action-button", class: t.$style["in-bulkactions-actions__action-button"], attrs: { "tooltip-text": "" }, on: { click: function(a) {
|
|
45
|
-
return t.$emit(i.action);
|
|
46
|
-
} } }, "in-button-v2", i, !1)), i.hasSpacer && !i.hidden ? n("div", { staticClass: "in-bulkactions-separator", class: t.$style["in-bulkactions-separator"] }) : t._e()], 1);
|
|
47
|
-
}), 0)]), n("div", { staticClass: "in-bulkactions-actions", class: t.$style["in-bulkactions-actions"] }, t._l(t.bulkActionButtons, function(i, s) {
|
|
48
|
-
return n("div", { key: s, staticClass: "in-bulkactions-actions__action", class: t.$style["in-bulkactions-actions__action"] }, [i.hidden ? t._e() : n("in-button-v2", t._b({ staticClass: "in-bulkactions-actions__action-button", class: t.$style["in-bulkactions-actions__action-button"], on: { click: function(a) {
|
|
49
|
-
return t.$emit("bulkAction", i.action);
|
|
50
|
-
} } }, "in-button-v2", i, !1)), i.hasSpacer && !i.hidden ? n("div", { staticClass: "in-bulkactions-separator", class: t.$style["in-bulkactions-separator"] }) : t._e()], 1);
|
|
51
|
-
}), 0)]);
|
|
52
|
-
}, S = [];
|
|
53
|
-
const o = {
|
|
54
|
-
$style: y
|
|
55
|
-
};
|
|
56
|
-
function $(t) {
|
|
57
|
-
for (var n in o)
|
|
58
|
-
this[n] = o[n];
|
|
59
|
-
}
|
|
60
|
-
var h = /* @__PURE__ */ e(
|
|
61
|
-
B,
|
|
62
|
-
A,
|
|
63
|
-
S,
|
|
64
|
-
!1,
|
|
65
|
-
$
|
|
66
|
-
);
|
|
67
|
-
const x = h.exports;
|
|
68
|
-
export {
|
|
69
|
-
x as InBulkActions
|
|
70
|
-
};
|
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
import { InIcons as e } from "./InIcons.js";
|
|
2
|
-
import { InLoading as i } from "./InLoading.js";
|
|
3
|
-
import { InSkeleton as o } from "./InSkeleton.js";
|
|
4
|
-
import { l as p } from "./chunks/localLocalesMixin.DYMhydo2.js";
|
|
5
|
-
import { n as _ } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
6
|
-
/* empty css */
|
|
7
|
-
const d = "_in-button-wrapper_v01428_rogkj", u = "_in-button-wrapper_loading-icon_v01428_E5g4A", s = "_in-button-wrapper_create-default_v01428_eJcLx", l = "_in-button-wrapper_create-disabled_v01428_8aK3Q", b = "_in-button-wrapper_primary-default_v01428_izDs9", w = "_in-button-wrapper_primary-default-loading_v01428_Bz38x", c = "_in-button-wrapper_primary-secondary_v01428_bLQMq", y = "_in-button-wrapper_primary-secondary-loading_v01428_bIDWe", g = "_in-button-wrapper_primary-success_v01428_yi4q-", v = "_in-button-wrapper_primary-success-loading_v01428_vZ1E5", m = "_in-button-wrapper_primary-warning_v01428_SO5fL", x = "_in-button-wrapper_primary-warning-loading_v01428_EbLw1", B = "_in-button-wrapper_primary-alert_v01428_NzRNq", f = "_in-button-wrapper_primary-alert-loading_v01428_R6Nyf", W = "_in-button-wrapper_primary-smart_v01428_Hxp1Z", h = "_in-button-wrapper_primary-smart-loading_v01428_bXB39", S = "_in-button-wrapper_primary-disabled_v01428_w8y0H", D = "_in-button-wrapper_primary-disabled-loading_v01428_CwV-A", L = "_in-button-wrapper_dropdown-black_v01428_FwVIc", I = "_in-button-wrapper_secondary-default_v01428_B-kKM", k = "_in-button-wrapper_secondary-secondary_v01428_cMYY7", P = "_in-button-wrapper_secondary-warning_v01428_YSb0R", T = "_in-button-wrapper_secondary-success_v01428_I0gGI", $ = "_in-button-wrapper_secondary-alert_v01428_B17Ds", C = "_in-button-wrapper_secondary-smart_v01428_OQ-gN", z = "_in-button-wrapper_secondary-disabled_v01428_1J0PM", N = "_in-button-wrapper_secondary-default-loading_v01428_272e0", q = "_in-button-wrapper_secondary-secondary-loading_v01428_qQLl-", O = "_in-button-wrapper_secondary-success-loading_v01428_dITnW", A = "_in-button-wrapper_secondary-warning-loading_v01428_GPvTw", G = "_in-button-wrapper_secondary-alert-loading_v01428_FwY43", Q = "_in-button-wrapper_secondary-smart-loading_v01428_CieXa", Y = "_in-button-wrapper_secondary-disabled-loading_v01428_z3l5c", E = "_in-button-wrapper_text-disabled_v01428_NE-t1", R = "_in-button-wrapper_text-default_v01428_K6Oj-", V = "_in-button-wrapper_text-secondary_v01428_2Gnlh", Z = "_in-button-wrapper_text-alert_v01428_eisge", F = "_in-button-wrapper_text-dark_v01428_BdzPi", K = "_in-button-wrapper_text-white_v01428_pbuo2", M = "_in-button-wrapper_text-smart_v01428_57je7", j = "_in-button-wrapper_text-warning_v01428_hFyBb", H = "_in-button-wrapper_text-default-loading_v01428_H2GKU", J = "_in-button-wrapper_text-secondary-loading_v01428_YmzuT", X = "_in-button-wrapper_text-alert-loading_v01428_GVCOW", U = "_in-button-wrapper_text-disabled-loading_v01428_ANg8-", tt = "_in-button-wrapper_text-white-loading_v01428_O5bZZ", rt = "_in-button-wrapper_text-dark-loading_v01428_1Jd-m", nt = "_in-button-wrapper_text-smart-loading_v01428_7rr4c", at = "_in-button-wrapper_text-warning-loading_v01428_Cu16Q", et = "_in-button-wrapper_dropdown-default_v01428_IBtZE", it = "_in-button-wrapper_dropdown-white_v01428_GQTF-", ot = "_in-button-wrapper_dropdown-disabled_v01428_VX2sY", pt = "_in-button-wrapper_dropdown-disable_v01428_rciLO", _t = {
|
|
8
|
-
"in-button-wrapper": "_in-button-wrapper_v01428_rogkj",
|
|
9
|
-
inButtonWrapper: d,
|
|
10
|
-
"in-button-wrapper_loading-icon": "_in-button-wrapper_loading-icon_v01428_E5g4A",
|
|
11
|
-
inButtonWrapperLoadingIcon: u,
|
|
12
|
-
"in-button-wrapper_create-default": "_in-button-wrapper_create-default_v01428_eJcLx",
|
|
13
|
-
inButtonWrapperCreateDefault: s,
|
|
14
|
-
"in-button-wrapper_create-disabled": "_in-button-wrapper_create-disabled_v01428_8aK3Q",
|
|
15
|
-
inButtonWrapperCreateDisabled: l,
|
|
16
|
-
"in-button-wrapper_primary-default": "_in-button-wrapper_primary-default_v01428_izDs9",
|
|
17
|
-
inButtonWrapperPrimaryDefault: b,
|
|
18
|
-
"in-button-wrapper_primary-default-loading": "_in-button-wrapper_primary-default-loading_v01428_Bz38x",
|
|
19
|
-
inButtonWrapperPrimaryDefaultLoading: w,
|
|
20
|
-
"in-button-wrapper_primary-secondary": "_in-button-wrapper_primary-secondary_v01428_bLQMq",
|
|
21
|
-
inButtonWrapperPrimarySecondary: c,
|
|
22
|
-
"in-button-wrapper_primary-secondary-loading": "_in-button-wrapper_primary-secondary-loading_v01428_bIDWe",
|
|
23
|
-
inButtonWrapperPrimarySecondaryLoading: y,
|
|
24
|
-
"in-button-wrapper_primary-success": "_in-button-wrapper_primary-success_v01428_yi4q-",
|
|
25
|
-
inButtonWrapperPrimarySuccess: g,
|
|
26
|
-
"in-button-wrapper_primary-success-loading": "_in-button-wrapper_primary-success-loading_v01428_vZ1E5",
|
|
27
|
-
inButtonWrapperPrimarySuccessLoading: v,
|
|
28
|
-
"in-button-wrapper_primary-warning": "_in-button-wrapper_primary-warning_v01428_SO5fL",
|
|
29
|
-
inButtonWrapperPrimaryWarning: m,
|
|
30
|
-
"in-button-wrapper_primary-warning-loading": "_in-button-wrapper_primary-warning-loading_v01428_EbLw1",
|
|
31
|
-
inButtonWrapperPrimaryWarningLoading: x,
|
|
32
|
-
"in-button-wrapper_primary-alert": "_in-button-wrapper_primary-alert_v01428_NzRNq",
|
|
33
|
-
inButtonWrapperPrimaryAlert: B,
|
|
34
|
-
"in-button-wrapper_primary-alert-loading": "_in-button-wrapper_primary-alert-loading_v01428_R6Nyf",
|
|
35
|
-
inButtonWrapperPrimaryAlertLoading: f,
|
|
36
|
-
"in-button-wrapper_primary-smart": "_in-button-wrapper_primary-smart_v01428_Hxp1Z",
|
|
37
|
-
inButtonWrapperPrimarySmart: W,
|
|
38
|
-
"in-button-wrapper_primary-smart-loading": "_in-button-wrapper_primary-smart-loading_v01428_bXB39",
|
|
39
|
-
inButtonWrapperPrimarySmartLoading: h,
|
|
40
|
-
"in-button-wrapper_primary-disabled": "_in-button-wrapper_primary-disabled_v01428_w8y0H",
|
|
41
|
-
inButtonWrapperPrimaryDisabled: S,
|
|
42
|
-
"in-button-wrapper_primary-disabled-loading": "_in-button-wrapper_primary-disabled-loading_v01428_CwV-A",
|
|
43
|
-
inButtonWrapperPrimaryDisabledLoading: D,
|
|
44
|
-
"in-button-wrapper_dropdown-black": "_in-button-wrapper_dropdown-black_v01428_FwVIc",
|
|
45
|
-
inButtonWrapperDropdownBlack: L,
|
|
46
|
-
"in-button-wrapper_secondary-default": "_in-button-wrapper_secondary-default_v01428_B-kKM",
|
|
47
|
-
inButtonWrapperSecondaryDefault: I,
|
|
48
|
-
"in-button-wrapper_secondary-secondary": "_in-button-wrapper_secondary-secondary_v01428_cMYY7",
|
|
49
|
-
inButtonWrapperSecondarySecondary: k,
|
|
50
|
-
"in-button-wrapper_secondary-warning": "_in-button-wrapper_secondary-warning_v01428_YSb0R",
|
|
51
|
-
inButtonWrapperSecondaryWarning: P,
|
|
52
|
-
"in-button-wrapper_secondary-success": "_in-button-wrapper_secondary-success_v01428_I0gGI",
|
|
53
|
-
inButtonWrapperSecondarySuccess: T,
|
|
54
|
-
"in-button-wrapper_secondary-alert": "_in-button-wrapper_secondary-alert_v01428_B17Ds",
|
|
55
|
-
inButtonWrapperSecondaryAlert: $,
|
|
56
|
-
"in-button-wrapper_secondary-smart": "_in-button-wrapper_secondary-smart_v01428_OQ-gN",
|
|
57
|
-
inButtonWrapperSecondarySmart: C,
|
|
58
|
-
"in-button-wrapper_secondary-disabled": "_in-button-wrapper_secondary-disabled_v01428_1J0PM",
|
|
59
|
-
inButtonWrapperSecondaryDisabled: z,
|
|
60
|
-
"in-button-wrapper_secondary-default-loading": "_in-button-wrapper_secondary-default-loading_v01428_272e0",
|
|
61
|
-
inButtonWrapperSecondaryDefaultLoading: N,
|
|
62
|
-
"in-button-wrapper_secondary-secondary-loading": "_in-button-wrapper_secondary-secondary-loading_v01428_qQLl-",
|
|
63
|
-
inButtonWrapperSecondarySecondaryLoading: q,
|
|
64
|
-
"in-button-wrapper_secondary-success-loading": "_in-button-wrapper_secondary-success-loading_v01428_dITnW",
|
|
65
|
-
inButtonWrapperSecondarySuccessLoading: O,
|
|
66
|
-
"in-button-wrapper_secondary-warning-loading": "_in-button-wrapper_secondary-warning-loading_v01428_GPvTw",
|
|
67
|
-
inButtonWrapperSecondaryWarningLoading: A,
|
|
68
|
-
"in-button-wrapper_secondary-alert-loading": "_in-button-wrapper_secondary-alert-loading_v01428_FwY43",
|
|
69
|
-
inButtonWrapperSecondaryAlertLoading: G,
|
|
70
|
-
"in-button-wrapper_secondary-smart-loading": "_in-button-wrapper_secondary-smart-loading_v01428_CieXa",
|
|
71
|
-
inButtonWrapperSecondarySmartLoading: Q,
|
|
72
|
-
"in-button-wrapper_secondary-disabled-loading": "_in-button-wrapper_secondary-disabled-loading_v01428_z3l5c",
|
|
73
|
-
inButtonWrapperSecondaryDisabledLoading: Y,
|
|
74
|
-
"in-button-wrapper_text-disabled": "_in-button-wrapper_text-disabled_v01428_NE-t1",
|
|
75
|
-
inButtonWrapperTextDisabled: E,
|
|
76
|
-
"in-button-wrapper_text-default": "_in-button-wrapper_text-default_v01428_K6Oj-",
|
|
77
|
-
inButtonWrapperTextDefault: R,
|
|
78
|
-
"in-button-wrapper_text-secondary": "_in-button-wrapper_text-secondary_v01428_2Gnlh",
|
|
79
|
-
inButtonWrapperTextSecondary: V,
|
|
80
|
-
"in-button-wrapper_text-alert": "_in-button-wrapper_text-alert_v01428_eisge",
|
|
81
|
-
inButtonWrapperTextAlert: Z,
|
|
82
|
-
"in-button-wrapper_text-dark": "_in-button-wrapper_text-dark_v01428_BdzPi",
|
|
83
|
-
inButtonWrapperTextDark: F,
|
|
84
|
-
"in-button-wrapper_text-white": "_in-button-wrapper_text-white_v01428_pbuo2",
|
|
85
|
-
inButtonWrapperTextWhite: K,
|
|
86
|
-
"in-button-wrapper_text-smart": "_in-button-wrapper_text-smart_v01428_57je7",
|
|
87
|
-
inButtonWrapperTextSmart: M,
|
|
88
|
-
"in-button-wrapper_text-warning": "_in-button-wrapper_text-warning_v01428_hFyBb",
|
|
89
|
-
inButtonWrapperTextWarning: j,
|
|
90
|
-
"in-button-wrapper_text-default-loading": "_in-button-wrapper_text-default-loading_v01428_H2GKU",
|
|
91
|
-
inButtonWrapperTextDefaultLoading: H,
|
|
92
|
-
"in-button-wrapper_text-secondary-loading": "_in-button-wrapper_text-secondary-loading_v01428_YmzuT",
|
|
93
|
-
inButtonWrapperTextSecondaryLoading: J,
|
|
94
|
-
"in-button-wrapper_text-alert-loading": "_in-button-wrapper_text-alert-loading_v01428_GVCOW",
|
|
95
|
-
inButtonWrapperTextAlertLoading: X,
|
|
96
|
-
"in-button-wrapper_text-disabled-loading": "_in-button-wrapper_text-disabled-loading_v01428_ANg8-",
|
|
97
|
-
inButtonWrapperTextDisabledLoading: U,
|
|
98
|
-
"in-button-wrapper_text-white-loading": "_in-button-wrapper_text-white-loading_v01428_O5bZZ",
|
|
99
|
-
inButtonWrapperTextWhiteLoading: tt,
|
|
100
|
-
"in-button-wrapper_text-dark-loading": "_in-button-wrapper_text-dark-loading_v01428_1Jd-m",
|
|
101
|
-
inButtonWrapperTextDarkLoading: rt,
|
|
102
|
-
"in-button-wrapper_text-smart-loading": "_in-button-wrapper_text-smart-loading_v01428_7rr4c",
|
|
103
|
-
inButtonWrapperTextSmartLoading: nt,
|
|
104
|
-
"in-button-wrapper_text-warning-loading": "_in-button-wrapper_text-warning-loading_v01428_Cu16Q",
|
|
105
|
-
inButtonWrapperTextWarningLoading: at,
|
|
106
|
-
"in-button-wrapper_dropdown-default": "_in-button-wrapper_dropdown-default_v01428_IBtZE",
|
|
107
|
-
inButtonWrapperDropdownDefault: et,
|
|
108
|
-
"in-button-wrapper_dropdown-white": "_in-button-wrapper_dropdown-white_v01428_GQTF-",
|
|
109
|
-
inButtonWrapperDropdownWhite: it,
|
|
110
|
-
"in-button-wrapper_dropdown-disabled": "_in-button-wrapper_dropdown-disabled_v01428_VX2sY",
|
|
111
|
-
inButtonWrapperDropdownDisabled: ot,
|
|
112
|
-
"in-button-wrapper_dropdown-disable": "_in-button-wrapper_dropdown-disable_v01428_rciLO",
|
|
113
|
-
inButtonWrapperDropdownDisable: pt
|
|
114
|
-
}, dt = {
|
|
115
|
-
name: "InButton",
|
|
116
|
-
components: {
|
|
117
|
-
InIcons: e,
|
|
118
|
-
InLoading: i,
|
|
119
|
-
InSkeleton: o
|
|
120
|
-
},
|
|
121
|
-
mixins: [p],
|
|
122
|
-
props: {
|
|
123
|
-
/**
|
|
124
|
-
* @property {string} id
|
|
125
|
-
*/
|
|
126
|
-
id: {
|
|
127
|
-
type: String,
|
|
128
|
-
required: !0
|
|
129
|
-
},
|
|
130
|
-
/**
|
|
131
|
-
* @property {string} type
|
|
132
|
-
*/
|
|
133
|
-
type: {
|
|
134
|
-
type: String,
|
|
135
|
-
required: !0
|
|
136
|
-
},
|
|
137
|
-
/**
|
|
138
|
-
* @property {string} status
|
|
139
|
-
*/
|
|
140
|
-
status: {
|
|
141
|
-
type: String,
|
|
142
|
-
required: !0
|
|
143
|
-
},
|
|
144
|
-
/**
|
|
145
|
-
* @property {string|number} text
|
|
146
|
-
*/
|
|
147
|
-
text: {
|
|
148
|
-
type: String | Number,
|
|
149
|
-
required: !0
|
|
150
|
-
},
|
|
151
|
-
/**
|
|
152
|
-
* @property {string|number|boolean} value
|
|
153
|
-
*/
|
|
154
|
-
value: {
|
|
155
|
-
type: String | Number | Boolean,
|
|
156
|
-
default: ""
|
|
157
|
-
},
|
|
158
|
-
/**
|
|
159
|
-
* @property {string} icon
|
|
160
|
-
*/
|
|
161
|
-
icon: {
|
|
162
|
-
type: String,
|
|
163
|
-
default: ""
|
|
164
|
-
},
|
|
165
|
-
/**
|
|
166
|
-
* @property {string} iconPosition
|
|
167
|
-
*/
|
|
168
|
-
iconPosition: {
|
|
169
|
-
type: String,
|
|
170
|
-
default: "left"
|
|
171
|
-
},
|
|
172
|
-
/**
|
|
173
|
-
* @property {Boolean} withIcon
|
|
174
|
-
*/
|
|
175
|
-
withIcon: {
|
|
176
|
-
type: Boolean,
|
|
177
|
-
default: !1
|
|
178
|
-
},
|
|
179
|
-
/**
|
|
180
|
-
* @property {Boolean} withoutText
|
|
181
|
-
*/
|
|
182
|
-
withoutText: {
|
|
183
|
-
type: Boolean,
|
|
184
|
-
default: !1
|
|
185
|
-
},
|
|
186
|
-
/**
|
|
187
|
-
* @property {boolean} disable
|
|
188
|
-
*/
|
|
189
|
-
disable: {
|
|
190
|
-
type: Boolean,
|
|
191
|
-
default: !1
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
* @property {string} theme
|
|
195
|
-
*/
|
|
196
|
-
theme: {
|
|
197
|
-
type: String,
|
|
198
|
-
default: "grey"
|
|
199
|
-
},
|
|
200
|
-
/**
|
|
201
|
-
* @property {string} iconSize
|
|
202
|
-
*/
|
|
203
|
-
iconSize: {
|
|
204
|
-
type: String,
|
|
205
|
-
default: "24"
|
|
206
|
-
},
|
|
207
|
-
/**
|
|
208
|
-
* @property {withTooltip} boolean
|
|
209
|
-
*/
|
|
210
|
-
withTooltip: {
|
|
211
|
-
type: Boolean,
|
|
212
|
-
default: !1
|
|
213
|
-
},
|
|
214
|
-
/**
|
|
215
|
-
* @property {loadingStatus} boolean
|
|
216
|
-
*/
|
|
217
|
-
loadingStatus: {
|
|
218
|
-
type: Boolean,
|
|
219
|
-
default: !1
|
|
220
|
-
},
|
|
221
|
-
/**
|
|
222
|
-
* @property {boolean} skeletonStatus
|
|
223
|
-
*/
|
|
224
|
-
skeletonStatus: {
|
|
225
|
-
type: Boolean,
|
|
226
|
-
default: !1
|
|
227
|
-
},
|
|
228
|
-
/**
|
|
229
|
-
* @property {number} skeletonSizing
|
|
230
|
-
*/
|
|
231
|
-
skeletonSizing: {
|
|
232
|
-
type: Object,
|
|
233
|
-
default: () => ({
|
|
234
|
-
width: 0,
|
|
235
|
-
number: 0
|
|
236
|
-
})
|
|
237
|
-
},
|
|
238
|
-
/**
|
|
239
|
-
* @property {string} buttonClass
|
|
240
|
-
*/
|
|
241
|
-
buttonClass: {
|
|
242
|
-
type: String,
|
|
243
|
-
default: ""
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
computed: {
|
|
247
|
-
/**
|
|
248
|
-
* @return {string}
|
|
249
|
-
*/
|
|
250
|
-
isDisable() {
|
|
251
|
-
return this.disable ? `in-button-wrapper_${this.type}-disabled` : "";
|
|
252
|
-
},
|
|
253
|
-
/**
|
|
254
|
-
* @return {string}
|
|
255
|
-
*/
|
|
256
|
-
isDropDown() {
|
|
257
|
-
return this.type === "dropdown" ? `in-button-wrapper_${this.type}-${this.theme}` : "";
|
|
258
|
-
},
|
|
259
|
-
/**
|
|
260
|
-
* @return {string}
|
|
261
|
-
*/
|
|
262
|
-
loadingClass() {
|
|
263
|
-
return this.loadingStatus ? `in-button-wrapper_${this.type}-${this.status}-loading` : "";
|
|
264
|
-
},
|
|
265
|
-
/**
|
|
266
|
-
* @return {string}
|
|
267
|
-
*/
|
|
268
|
-
cursorClass() {
|
|
269
|
-
return this.disable || this.isStatusDisabled ? "cur-na" : this.loadingStatus ? "cur-d" : "";
|
|
270
|
-
},
|
|
271
|
-
/**
|
|
272
|
-
* @return {boolean}
|
|
273
|
-
*/
|
|
274
|
-
showIcon() {
|
|
275
|
-
return this.withIcon && this.showIconWithLoading;
|
|
276
|
-
},
|
|
277
|
-
/**
|
|
278
|
-
* @return {boolean}
|
|
279
|
-
*/
|
|
280
|
-
showIconWithLoading() {
|
|
281
|
-
return this.isIconPositionRight || !this.loadingStatus && !this.isIconPositionRight;
|
|
282
|
-
},
|
|
283
|
-
/**
|
|
284
|
-
* @return {boolean}
|
|
285
|
-
*/
|
|
286
|
-
isIconPositionRight() {
|
|
287
|
-
return this.iconPosition === "right";
|
|
288
|
-
},
|
|
289
|
-
/**
|
|
290
|
-
* @return {string}
|
|
291
|
-
*/
|
|
292
|
-
iconPositionValue() {
|
|
293
|
-
return this.withoutText ? "" : this.isIconPositionRight ? "fl-r ml-1" : "fl-l mr-1";
|
|
294
|
-
},
|
|
295
|
-
/**
|
|
296
|
-
* @return {boolean}
|
|
297
|
-
*/
|
|
298
|
-
isStatusDisabled() {
|
|
299
|
-
return this.status === "disabled" || this.status === "disable";
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
methods: {
|
|
303
|
-
/**
|
|
304
|
-
* @param {String | Number | Boolean} value
|
|
305
|
-
*/
|
|
306
|
-
click(t) {
|
|
307
|
-
this.loadingStatus || this.$emit("click", t);
|
|
308
|
-
},
|
|
309
|
-
mouseover() {
|
|
310
|
-
this.$emit("mouseover");
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
};
|
|
314
|
-
var ut = function() {
|
|
315
|
-
var t = this, r = t._self._c;
|
|
316
|
-
return r("div", { staticClass: "d-i-b", class: t.cursorClass }, [t.skeletonStatus ? t._e() : r("button", { staticClass: "in-button-wrapper qa-button w-1", class: [
|
|
317
|
-
t.$style["in-button-wrapper"],
|
|
318
|
-
`in-button-wrapper_${t.type}-${t.status}`,
|
|
319
|
-
t.$style[`in-button-wrapper_${t.type}-${t.status}`],
|
|
320
|
-
t.isDisable,
|
|
321
|
-
t.$style[t.isDisable],
|
|
322
|
-
t.isDropDown,
|
|
323
|
-
t.$style[t.isDropDown],
|
|
324
|
-
t.loadingClass,
|
|
325
|
-
t.$style[t.loadingClass],
|
|
326
|
-
t.buttonClass
|
|
327
|
-
], attrs: { id: t.id, type: "button", disabled: t.disable, value: t.value, "data-title": t.text }, on: { mouseover: t.mouseover, click: function(a) {
|
|
328
|
-
return t.click(t.value);
|
|
329
|
-
} } }, [t.showIcon ? r("in-icons", { class: t.iconPositionValue, attrs: { name: t.icon, size: t.iconSize }, on: { click: function(a) {
|
|
330
|
-
return t.$emit("clickIcon");
|
|
331
|
-
} } }) : t._e(), t.loadingStatus && !t.isStatusDisabled ? r("in-loading", { staticClass: "in-button-wrapper_loading-icon fl-l p-r mr-2", class: t.$style["in-button-wrapper_loading-icon"], attrs: { size: "18" } }) : t._e(), t.withTooltip ? r("p", { staticClass: "o-h t-o-e w-s-n-w", attrs: { title: t.text } }, [t._v(" " + t._s(t.text) + " ")]) : [t._v(" " + t._s(t.text) + " ")]], 2), t.skeletonStatus ? r("in-skeleton", { attrs: { sizing: t.skeletonSizing, name: "InButton" } }) : t._e()], 1);
|
|
332
|
-
}, st = [];
|
|
333
|
-
const n = {
|
|
334
|
-
$style: _t
|
|
335
|
-
};
|
|
336
|
-
function lt(t) {
|
|
337
|
-
for (var r in n)
|
|
338
|
-
this[r] = n[r];
|
|
339
|
-
}
|
|
340
|
-
var bt = /* @__PURE__ */ _(
|
|
341
|
-
dt,
|
|
342
|
-
ut,
|
|
343
|
-
st,
|
|
344
|
-
!1,
|
|
345
|
-
lt
|
|
346
|
-
);
|
|
347
|
-
const xt = bt.exports;
|
|
348
|
-
export {
|
|
349
|
-
xt as InButton
|
|
350
|
-
};
|