@useinsider/guido 3.2.0-beta.6f6a5ed → 3.2.0-beta.738ec8a
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/components/organisms/extensions/recommendation/FilterItem.vue.js +9 -11
- package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +70 -35
- package/dist/enums/extensions/recommendationBlock.js +28 -27
- package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +25 -12
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +235 -258
- package/dist/package.json.js +1 -1
- package/dist/src/enums/extensions/recommendationBlock.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/filterUtil.d.ts +2 -0
- package/dist/static/templates/empty/style.css.js +1 -0
- package/package.json +3 -3
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import l from "./FilterItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
var
|
|
3
|
+
import i from "../../../../_virtual/_plugin-vue2_normalizer.js";
|
|
4
|
+
var r = function() {
|
|
5
5
|
var a = this, e = a._self._c, t = a._self._setupProxy;
|
|
6
6
|
return e("div", { staticClass: "d-f f-d-c w-1 gap-16", attrs: { "data-filter-group": a.filter.filterGroup, "data-filter-number": a.filter.filterNumber } }, [e("div", { staticClass: "d-f a-i-c j-c-s-b pt-4", class: { "bor-t-s-s bor-t-w-1 bor-t-c-50": a.index === 0 } }, [e("p", [a._v(" " + a._s(t.trans("newsletter.filter")) + " " + a._s(a.index + 1) + " ")]), e(t.InButtonV2, { attrs: { id: "guido__delete-filter-group-button", "left-icon": "line-delete", styling: "text", type: "danger", "label-text-status": !1 }, on: { click: function(s) {
|
|
7
7
|
return t.emit("delete-filter", t.props.filter);
|
|
8
|
-
} } })], 1), e("div", { staticClass: "w-1 d-f a-i-s j-c-s-b gap-16" }, [e(t.InSelect, { staticClass: "w-2", attrs: { "disabled-status": "", "search-status": "", "button-status": !1, "label-text": t.trans("action-builder.filter-type"), options: t.filterTypeOptions, value: [t.filterTypeOptions[0]] } }), e(t.InSelect, { staticClass: "w-2", attrs: { id: "filter-item-input--attribute-type", "search-status": "", "static-position": "bottom right", "button-status": !1, "label-text": t.trans("condition.attribute"), options: t.store.getFilterList, state: t.getFieldState("attribute"), value: [t.selectedAttributeType] }, on: { select: t.handleAttributeChange } })], 1), e("div", { staticClass: "w-1 d-f a-i-s j-c-s-b gap-16" }, [t.isBooleanAttribute ? e(t.InSelect, { staticClass: "w-2", attrs: { "button-status": !1, "label-text": t.trans("condition.operator"), options: t.booleanValueOptions, state: t.getFieldState("value"), value: [t.selectedBooleanValue] }, on: { select: t.handleBooleanValueChange } }) : [e(t.InSelect, { staticClass: "w-2", attrs: { "button-status": !1, "label-text": t.trans("condition.operator"), options: t.getOperatorOptions(t.selectedAttributeType.type), state: t.getFieldState("operator"), value: [t.selectedOperatorType] }, on: { select: function(s) {
|
|
9
|
-
return t.updateFilter({ text: "operator", value: s.value });
|
|
10
|
-
} } }), e(t.InBasicTextInput, { staticClass: "w-2", attrs: { id: "filter-item-input--value", name: "imageUrl", "character-counter-status": !1, "label-text": t.trans("condition.value"), "max-character-length": 25, "placeholder-text": t.trans("condition.enter-value-placeholder"), "state-message": t.valueErrorMessage, states: t.getFieldState("value"), "tooltip-status": !1, type: t.valueInputType, value: decodeURIComponent(t.props.filter.value) }, on: { input: function(s) {
|
|
8
|
+
} } })], 1), e("div", { staticClass: "w-1 d-f a-i-s j-c-s-b gap-16" }, [e(t.InSelect, { staticClass: "w-2", attrs: { "disabled-status": "", "search-status": "", "button-status": !1, "label-text": t.trans("action-builder.filter-type"), options: t.filterTypeOptions, value: [t.filterTypeOptions[0]] } }), e(t.InSelect, { staticClass: "w-2", attrs: { id: "filter-item-input--attribute-type", "search-status": "", "static-position": "bottom right", "button-status": !1, "label-text": t.trans("condition.attribute"), options: t.store.getFilterList, state: t.getFieldState("attribute"), value: [t.selectedAttributeType] }, on: { select: t.handleAttributeChange } })], 1), e("div", { staticClass: "w-1 d-f a-i-s j-c-s-b gap-16" }, [t.isBooleanAttribute ? e(t.InSelect, { staticClass: "w-2", attrs: { "button-status": !1, "label-text": t.trans("condition.operator"), options: t.booleanValueOptions, state: t.getFieldState("value"), value: [t.selectedBooleanValue] }, on: { select: t.handleBooleanValueChange } }) : [e(t.InSelect, { staticClass: "w-2", attrs: { "button-status": !1, "label-text": t.trans("condition.operator"), options: t.getOperatorOptions(t.selectedAttributeType.type), state: t.getFieldState("operator"), value: [t.selectedOperatorType] }, on: { select: t.handleOperatorChange } }), t.isAnyOfOperator ? e(t.InTags, { staticClass: "w-2", attrs: { "allow-bulk-paste": "", validate: "text", "allow-duplicates": !1, invalid: t.invalidFields.has("value"), "invalid-message": t.valueErrorMessage, label: t.trans("condition.value"), placeholder: t.trans("condition.enter-value-placeholder"), value: t.tagValues }, on: { input: t.onTagsInput } }) : t.isDateAttribute ? e(t.InDatePickerV2, { staticClass: "w-2", attrs: { id: `filter-item-input--value-${a.index}`, "single-date-picker-status": "", "label-text": t.trans("condition.value"), locale: t.datePickerLocale, name: `filter-item-input--value-${a.index}`, "placeholder-text": t.trans("condition.enter-value-placeholder"), state: t.getFieldState("value"), "state-message": t.valueErrorMessage, value: t.datePickerValue }, on: { apply: t.onDatePickerApply } }) : e(t.InBasicTextInput, { staticClass: "w-2", attrs: { id: `filter-item-input--value-${a.index}`, name: "imageUrl", "character-counter-status": !1, "label-text": t.trans("condition.value"), "max-character-length": 25, "placeholder-text": t.trans("condition.enter-value-placeholder"), "state-message": t.valueErrorMessage, states: t.getFieldState("value"), "tooltip-status": !1, type: t.valueInputType, value: t.safeDecodeURIComponent(t.props.filter.value) }, on: { input: function(s) {
|
|
11
9
|
t.updateFilter({ text: "value", value: encodeURIComponent(s) });
|
|
12
10
|
} } })]], 2), t.props.hasLogicAdapter ? e("div", { staticClass: "w-1 d-f a-i-c j-c-c p-r bor-b-s-s bor-b-w-1 bor-b-c-50 mt-4" }, [e(t.LogicAdapter, { staticClass: "p-a", attrs: { logic: t.props.filter.innerGroupOperator }, on: { change: function(s) {
|
|
13
11
|
return t.updateFilter({ text: "innerGroupOperator", value: s });
|
|
14
12
|
} } })], 1) : a._e()]);
|
|
15
|
-
},
|
|
13
|
+
}, n = [], o = /* @__PURE__ */ i(
|
|
14
|
+
l,
|
|
16
15
|
r,
|
|
17
|
-
|
|
18
|
-
o,
|
|
16
|
+
n,
|
|
19
17
|
!1,
|
|
20
18
|
null,
|
|
21
|
-
"
|
|
19
|
+
"8053a037"
|
|
22
20
|
);
|
|
23
|
-
const f =
|
|
21
|
+
const f = o.exports;
|
|
24
22
|
export {
|
|
25
23
|
f as default
|
|
26
24
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTranslations as
|
|
3
|
-
import { getOperatorOptions as
|
|
4
|
-
import { useRecommendationExtensionStore as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
1
|
+
import { defineComponent as N, computed as r } from "vue";
|
|
2
|
+
import { useTranslations as U } from "../../../../composables/useTranslations.js";
|
|
3
|
+
import { getOperatorOptions as f, OP_ANY_OF as d } from "../../../../enums/extensions/recommendationBlock.js";
|
|
4
|
+
import { useRecommendationExtensionStore as E } from "../../../../extensions/Blocks/Recommendation/store/recommendation.js";
|
|
5
|
+
import { parseTagList as j, safeDecodeURIComponent as g } from "../../../../extensions/Blocks/Recommendation/utils/filterUtil.js";
|
|
6
|
+
import { getInvalidFilterFields as w } from "../../../../extensions/Blocks/Recommendation/validation/filterSchema.js";
|
|
7
|
+
import { locale as M } from "../../../../utils/dateUtil.js";
|
|
8
|
+
import { InTags as Y, InButtonV2 as q, InSelect as z, InDatePickerV2 as G, InBasicTextInput as H } from "@useinsider/design-system-vue";
|
|
9
|
+
import J from "./LogicAdapter.vue.js";
|
|
10
|
+
import { useDebounceFn as K } from "../../../../node_modules/@vueuse/shared/index.js";
|
|
11
|
+
const se = /* @__PURE__ */ N({
|
|
10
12
|
__name: "FilterItem",
|
|
11
13
|
props: {
|
|
12
14
|
filter: null,
|
|
@@ -15,55 +17,88 @@ const K = /* @__PURE__ */ _({
|
|
|
15
17
|
submitted: { type: Boolean }
|
|
16
18
|
},
|
|
17
19
|
emits: ["delete-filter"],
|
|
18
|
-
setup(
|
|
19
|
-
const t =
|
|
20
|
+
setup(I, { emit: O }) {
|
|
21
|
+
const t = I, s = U(), n = E(), T = [
|
|
20
22
|
{
|
|
21
|
-
text:
|
|
23
|
+
text: s("email-editor.standard-filter"),
|
|
22
24
|
value: "standardFilter"
|
|
23
25
|
}
|
|
24
|
-
],
|
|
26
|
+
], u = [
|
|
25
27
|
{ text: "True", value: "true" },
|
|
26
28
|
{ text: "False", value: "false" }
|
|
27
|
-
],
|
|
29
|
+
], m = r(() => t.filter.attribute || ""), i = r(() => n.getFilterList.find((e) => e.value === m.value) || { text: "", value: "", type: "" }), h = r(
|
|
28
30
|
() => {
|
|
29
31
|
var e;
|
|
30
|
-
return ((e =
|
|
32
|
+
return ((e = i.value) == null ? void 0 : e.type) === "Boolean";
|
|
31
33
|
}
|
|
32
|
-
), b =
|
|
34
|
+
), b = r(() => {
|
|
33
35
|
var e;
|
|
34
|
-
return
|
|
35
|
-
}),
|
|
36
|
-
() =>
|
|
37
|
-
),
|
|
38
|
-
() =>
|
|
39
|
-
),
|
|
36
|
+
return f((e = i.value) == null ? void 0 : e.type).find((o) => o.value === t.filter.operator);
|
|
37
|
+
}), A = r(
|
|
38
|
+
() => u.find((e) => e.value === t.filter.value) || u[0]
|
|
39
|
+
), p = r(() => t.submitted ? w(t.filter) : /* @__PURE__ */ new Set()), x = (e) => p.value.has(e) ? "error" : "default", B = r(
|
|
40
|
+
() => p.value.has("value") ? s("action-builder.filter-empty-value-error") : ""
|
|
41
|
+
), v = r(
|
|
40
42
|
() => {
|
|
41
43
|
var e;
|
|
42
|
-
return ((e =
|
|
44
|
+
return ((e = i.value) == null ? void 0 : e.type) === "Number";
|
|
43
45
|
}
|
|
44
|
-
),
|
|
45
|
-
|
|
46
|
+
), D = r(() => v.value ? "number" : "text"), C = r(
|
|
47
|
+
() => {
|
|
48
|
+
var e;
|
|
49
|
+
return ((e = i.value) == null ? void 0 : e.type) === "Date";
|
|
50
|
+
}
|
|
51
|
+
), _ = r(() => t.filter.operator === d), k = r(() => j(t.filter.value)), P = K((e) => {
|
|
52
|
+
n.updateFilter({
|
|
46
53
|
...t.filter,
|
|
47
54
|
[e.text]: e.value
|
|
48
55
|
});
|
|
49
|
-
}, 500)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
a.updateFilter({
|
|
56
|
+
}, 500), V = (e) => {
|
|
57
|
+
const o = n.getFilterList.find((c) => c.value === e.value), l = (o == null ? void 0 : o.type) === "Boolean", [a] = f(o == null ? void 0 : o.type);
|
|
58
|
+
n.updateFilter({
|
|
53
59
|
...t.filter,
|
|
54
60
|
attribute: e.value,
|
|
55
|
-
operator:
|
|
56
|
-
value:
|
|
61
|
+
operator: l ? "=" : (a == null ? void 0 : a.value) ?? "",
|
|
62
|
+
value: l ? "true" : ""
|
|
57
63
|
});
|
|
58
|
-
},
|
|
59
|
-
|
|
64
|
+
}, L = (e) => {
|
|
65
|
+
n.updateFilter({
|
|
60
66
|
...t.filter,
|
|
61
67
|
operator: "=",
|
|
62
68
|
value: e.value
|
|
63
69
|
});
|
|
64
|
-
},
|
|
70
|
+
}, S = (e) => {
|
|
71
|
+
const o = e.value;
|
|
72
|
+
if (o === t.filter.operator)
|
|
73
|
+
return;
|
|
74
|
+
const c = t.filter.operator === d !== (o === d);
|
|
75
|
+
n.updateFilter({
|
|
76
|
+
...t.filter,
|
|
77
|
+
operator: o,
|
|
78
|
+
value: c ? "" : t.filter.value
|
|
79
|
+
});
|
|
80
|
+
}, $ = M(), y = (e) => {
|
|
81
|
+
const [o, l, a] = e.split("-");
|
|
82
|
+
return !o || !l || !a ? "" : `${l}/${a}/${o}`;
|
|
83
|
+
}, F = (e) => {
|
|
84
|
+
const [o, l, a] = e.split("/");
|
|
85
|
+
return !a || !o || !l ? "" : `${a}-${o.padStart(2, "0")}-${l.padStart(2, "0")}`;
|
|
86
|
+
}, R = r(
|
|
87
|
+
() => y(g(t.filter.value))
|
|
88
|
+
);
|
|
89
|
+
return { __sfc: !0, trans: s, store: n, props: t, filterTypeOptions: T, booleanValueOptions: u, attributeType: m, selectedAttributeType: i, isBooleanAttribute: h, selectedOperatorType: b, selectedBooleanValue: A, emit: O, invalidFields: p, getFieldState: x, valueErrorMessage: B, isNumericAttribute: v, valueInputType: D, isDateAttribute: C, isAnyOfOperator: _, tagValues: k, updateFilter: P, handleAttributeChange: V, handleBooleanValueChange: L, handleOperatorChange: S, datePickerLocale: $, isoToPickerDate: y, pickerDateToIso: F, datePickerValue: R, onDatePickerApply: (e) => {
|
|
90
|
+
n.updateFilter({
|
|
91
|
+
...t.filter,
|
|
92
|
+
value: encodeURIComponent(F(e))
|
|
93
|
+
});
|
|
94
|
+
}, onTagsInput: (e) => {
|
|
95
|
+
n.updateFilter({
|
|
96
|
+
...t.filter,
|
|
97
|
+
value: e.map(encodeURIComponent).join(",")
|
|
98
|
+
});
|
|
99
|
+
}, getOperatorOptions: f, safeDecodeURIComponent: g, InBasicTextInput: H, InDatePickerV2: G, InSelect: z, InButtonV2: q, InTags: Y, LogicAdapter: J };
|
|
65
100
|
}
|
|
66
101
|
});
|
|
67
102
|
export {
|
|
68
|
-
|
|
103
|
+
se as default
|
|
69
104
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const i = {
|
|
2
2
|
RECOMMENDATION_API_URL: "https://recommendationv2.api.useinsider.com"
|
|
3
|
-
},
|
|
3
|
+
}, u = {
|
|
4
4
|
CLIENT_ID: "clientId"
|
|
5
|
-
},
|
|
5
|
+
}, l = [
|
|
6
6
|
{ id: 11, key: "similarViewed", name: "Viewed Together", path: "viewed-together" },
|
|
7
7
|
{ id: 12, key: "similarBought", name: "Purchased Together", path: "purchased-together" },
|
|
8
8
|
{ id: 13, key: "userBased", name: "User Based", path: "user-based" },
|
|
@@ -13,71 +13,72 @@ const s = {
|
|
|
13
13
|
{ id: 46, key: "mostValuableOfPartner", name: "Most Valuable Products", path: "most-valuable" },
|
|
14
14
|
{ id: 61, key: "mostPopular", name: "Most Popular Items", path: "most-popular" },
|
|
15
15
|
{ id: 62, key: "mostPurchased", name: "Top Sellers", path: "top-sellers" }
|
|
16
|
-
],
|
|
16
|
+
], c = ["discount", "omnibus_price", "omnibus_discount", "price", "original_price"], d = [
|
|
17
17
|
{ text: "before the amount", value: "0" },
|
|
18
18
|
{ text: "after the amount", value: "1" }
|
|
19
|
-
],
|
|
19
|
+
], p = [
|
|
20
20
|
{ text: "dot(.)", value: "." },
|
|
21
21
|
{ text: "comma(,)", value: "," }
|
|
22
|
-
],
|
|
22
|
+
], m = [
|
|
23
23
|
{ text: "0", value: "0" },
|
|
24
24
|
{ text: "1", value: "1" },
|
|
25
25
|
{ text: "2", value: "2" },
|
|
26
26
|
{ text: "3", value: "3" },
|
|
27
27
|
{ text: "4", value: "4" },
|
|
28
28
|
{ text: "5", value: "5" }
|
|
29
|
-
], e = [
|
|
29
|
+
], a = "||", e = [
|
|
30
30
|
{ text: "is exactly", value: "=" },
|
|
31
31
|
{ text: "contains", value: "~" },
|
|
32
32
|
{ text: "does not contain", value: "!~" },
|
|
33
|
-
{ text: "any of", value:
|
|
34
|
-
],
|
|
33
|
+
{ text: "any of", value: a }
|
|
34
|
+
], o = [
|
|
35
35
|
{ text: "is exactly", value: "=" },
|
|
36
36
|
{ text: "is not exactly", value: "!==" },
|
|
37
37
|
{ text: "contains", value: "~" },
|
|
38
38
|
{ text: "does not contain", value: "!~" },
|
|
39
|
-
{ text: "any of", value:
|
|
39
|
+
{ text: "any of", value: a }
|
|
40
40
|
], r = [
|
|
41
41
|
{ text: "is equal to", value: "=" },
|
|
42
42
|
{ text: "is greater than", value: ">" },
|
|
43
43
|
{ text: "is less than", value: "<" }
|
|
44
|
-
],
|
|
44
|
+
], n = [
|
|
45
45
|
{ text: "is equal to", value: "=" },
|
|
46
46
|
{ text: "after", value: ">" },
|
|
47
47
|
{ text: "before", value: "<" }
|
|
48
|
-
],
|
|
48
|
+
], s = [
|
|
49
49
|
{ text: "true", value: "==" },
|
|
50
50
|
{ text: "false", value: "!=" }
|
|
51
|
-
],
|
|
51
|
+
], v = (t) => {
|
|
52
52
|
if (!t)
|
|
53
53
|
return e;
|
|
54
54
|
switch (t) {
|
|
55
55
|
case "Boolean":
|
|
56
|
-
return
|
|
56
|
+
return s;
|
|
57
57
|
case "Date":
|
|
58
|
-
return
|
|
58
|
+
return n;
|
|
59
59
|
case "Number":
|
|
60
60
|
return r;
|
|
61
61
|
case "String":
|
|
62
62
|
return e;
|
|
63
63
|
case "Strings":
|
|
64
|
-
return
|
|
64
|
+
return o;
|
|
65
65
|
default:
|
|
66
66
|
return e;
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
u as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
d as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
a as OP_ANY_OF,
|
|
71
|
+
c as PriceAttributes,
|
|
72
|
+
u as QUERY_PARAMS,
|
|
73
|
+
l as RecommendationFeedSourceMaps,
|
|
74
|
+
i as URLS,
|
|
75
|
+
m as currencyDecimalCounts,
|
|
76
|
+
d as currencyLocationMaps,
|
|
77
|
+
p as currencyOperators,
|
|
78
|
+
v as getOperatorOptions,
|
|
79
|
+
o as operatorOptionsForArrayOfStrings,
|
|
80
|
+
s as operatorOptionsForBooleans,
|
|
81
|
+
n as operatorOptionsForDates,
|
|
81
82
|
r as operatorOptionsForNumbers,
|
|
82
83
|
e as operatorOptionsForStrings
|
|
83
84
|
};
|
|
@@ -1,31 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
import { OP_ANY_OF as l } from "../../../../enums/extensions/recommendationBlock.js";
|
|
2
|
+
function m(t) {
|
|
3
|
+
try {
|
|
4
|
+
return decodeURIComponent(t);
|
|
5
|
+
} catch {
|
|
6
|
+
return t;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
function f(t) {
|
|
10
|
+
return t.split(",").filter(Boolean).map(m);
|
|
11
|
+
}
|
|
12
|
+
function y(t) {
|
|
2
13
|
if (t.length === 0)
|
|
3
14
|
return "";
|
|
4
15
|
const o = t.sort((r, e) => r.filterNumber - e.filterNumber), u = o.map((r) => {
|
|
5
|
-
const e = r.operator ===
|
|
16
|
+
const e = r.operator === l, a = e ? "=" : r.operator, c = e ? f(r.value).join(l) : r.value;
|
|
6
17
|
return `[${r.attribute}][${a}][${c}]`;
|
|
7
|
-
}), [
|
|
8
|
-
let n =
|
|
18
|
+
}), [i, ...p] = u;
|
|
19
|
+
let n = i;
|
|
9
20
|
for (let r = 0; r < p.length; r++) {
|
|
10
21
|
const e = o[r].innerGroupOperator;
|
|
11
22
|
n += `${e}${p[r]}`;
|
|
12
23
|
}
|
|
13
24
|
return `(${n})`;
|
|
14
25
|
}
|
|
15
|
-
function
|
|
26
|
+
function Q(t) {
|
|
16
27
|
if (!t || t.length === 0)
|
|
17
28
|
return "";
|
|
18
|
-
const o = t.reduce((r, e) => (r[e.filterGroup] || (r[e.filterGroup] = []), r[e.filterGroup].push(e), r), {}), u = Object.keys(o).map(Number).sort((r, e) => r - e),
|
|
29
|
+
const o = t.reduce((r, e) => (r[e.filterGroup] || (r[e.filterGroup] = []), r[e.filterGroup].push(e), r), {}), u = Object.keys(o).map(Number).sort((r, e) => r - e), i = u.map((r) => {
|
|
19
30
|
const e = o[r];
|
|
20
|
-
return
|
|
21
|
-
}), [p, ...n] =
|
|
22
|
-
let
|
|
31
|
+
return y(e);
|
|
32
|
+
}), [p, ...n] = i;
|
|
33
|
+
let s = p;
|
|
23
34
|
for (let r = 0; r < n.length; r++) {
|
|
24
35
|
const e = u[r + 1], c = o[e][0].outerGroupOperator;
|
|
25
|
-
|
|
36
|
+
s += `${c}${n[r]}`;
|
|
26
37
|
}
|
|
27
|
-
return
|
|
38
|
+
return s.trim();
|
|
28
39
|
}
|
|
29
40
|
export {
|
|
30
|
-
|
|
41
|
+
Q as generateCompleteFilterQuery,
|
|
42
|
+
f as parseTagList,
|
|
43
|
+
m as safeDecodeURIComponent
|
|
31
44
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.gap-16[data-v-
|
|
1
|
+
.gap-16[data-v-8053a037],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-cd76c125] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-64c52560]{gap:8px}.version-history__toolbar[data-v-64c52560]{gap:4px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.editor-actions[data-v-4e2a4adb]{gap:4px}.header-wrapper[data-v-5c02dcc7]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-25780af6]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-25780af6]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-25780af6]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-df672485]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-df672485]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-df672485]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-df672485]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-df672485]{object-fit:cover;transform:scale(1)}[data-v-43c617a7] .guido__verion-history-view-option-selection-desktop svg,[data-v-43c617a7] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-43c617a7] .in-segments-wrapper__button_selected,[data-v-43c617a7] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-988f8da6]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-988f8da6]{min-height:504px}.iframe-wrapper[data-v-e0424e99]{width:258px}.iframe-scaled[data-v-e0424e99]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-29b9af29] .vueperslides__bullets,[data-v-dd1a237a] .vueperslides__bullets{pointer-events:none!important}[data-v-dd1a237a] .vueperslides__parallax-wrapper{height:110px!important}[data-v-d073b1dc] .vueperslides__bullets{pointer-events:none!important}[data-v-d073b1dc] .vueperslides__parallax-wrapper{height:110px!important}
|