@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,49 +0,0 @@
|
|
|
1
|
-
import { computed as h } from "vue";
|
|
2
|
-
import { n } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
class s {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.InButton = { height: 42 }, this.InCheckbox = { height: 24 }, this.InColorPicker = { height: 42 }, this.InChart = { width: 400, height: 400 }, this.InCustomDropDown = { height: 42 }, this.InDatePicker = { height: 42 }, this.InDropDown = { height: 42 }, this.InFormStatus = { height: 150 }, this.InLinks = { height: 24 }, this.InOnPageMessage = { height: 74 }, this.InRadioButton = { height: 24 }, this.InSegments = { height: 42 }, this.InTags = { height: 42 }, this.InTextArea = { height: 96 }, this.InTextInput = { height: 52 }, this.InTimePicker = { height: 42 }, this.InToggle = { height: 28 }, this.InButtonV2 = { height: 40 };
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
const o = new s(), r = "_in-skeleton_v01428_LLc66", g = "_shine_v01428_43o6y", a = {
|
|
10
|
-
"in-skeleton": "_in-skeleton_v01428_LLc66",
|
|
11
|
-
inSkeleton: r,
|
|
12
|
-
shine: g
|
|
13
|
-
}, l = {
|
|
14
|
-
props: {
|
|
15
|
-
name: { type: String, default: "" },
|
|
16
|
-
status: { type: Boolean, default: !0 },
|
|
17
|
-
sizing: { type: Object, required: !0 }
|
|
18
|
-
},
|
|
19
|
-
setup(t) {
|
|
20
|
-
return {
|
|
21
|
-
style: h(() => ({
|
|
22
|
-
width: `${t.sizing.width}px`,
|
|
23
|
-
height: `${t.sizing.height || o[t.name].height}px`
|
|
24
|
-
}))
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
var u = function() {
|
|
29
|
-
var t = this, e = t._self._c;
|
|
30
|
-
return t.status ? e("div", { staticClass: "qa-skeleton in-skeleton", class: t.$style["in-skeleton"], style: t.style }) : t._e();
|
|
31
|
-
}, I = [];
|
|
32
|
-
const i = {
|
|
33
|
-
$style: a
|
|
34
|
-
};
|
|
35
|
-
function c(t) {
|
|
36
|
-
for (var e in i)
|
|
37
|
-
this[e] = i[e];
|
|
38
|
-
}
|
|
39
|
-
var p = /* @__PURE__ */ n(
|
|
40
|
-
l,
|
|
41
|
-
u,
|
|
42
|
-
I,
|
|
43
|
-
!1,
|
|
44
|
-
c
|
|
45
|
-
);
|
|
46
|
-
const d = p.exports;
|
|
47
|
-
export {
|
|
48
|
-
d as InSkeleton
|
|
49
|
-
};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { InIcons as e } from "./InIcons.js";
|
|
2
|
-
import { n as a } from "./chunks/_plugin-vue2_normalizer.WQT2Fc8L.js";
|
|
3
|
-
const i = {
|
|
4
|
-
active: ["b-c-16", "t-c-9"],
|
|
5
|
-
passive: ["b-c-18", "t-c-11"],
|
|
6
|
-
test: ["b-c-19", "t-c-12"],
|
|
7
|
-
dryRun: ["b-c-15", "t-c-8"],
|
|
8
|
-
sunset: ["b-c-114", "t-c-119"],
|
|
9
|
-
scheduled: ["b-c-14", "t-c-10"],
|
|
10
|
-
draft: ["b-c-6", "t-c-2"],
|
|
11
|
-
custom: ["b-c-14", "t-c-7"],
|
|
12
|
-
beta: ["b-c-7", "t-c-4"],
|
|
13
|
-
smart: ["b-c-17", "t-c-10"]
|
|
14
|
-
}, c = {
|
|
15
|
-
active: "i-c-9",
|
|
16
|
-
passive: "i-c-11",
|
|
17
|
-
test: "i-c-12",
|
|
18
|
-
dryRun: "i-c-8",
|
|
19
|
-
sunset: "i-c-119",
|
|
20
|
-
scheduled: "i-c-10",
|
|
21
|
-
draft: "i-c-2",
|
|
22
|
-
custom: "i-c-7",
|
|
23
|
-
beta: "i-c-4",
|
|
24
|
-
smart: "i-c-10"
|
|
25
|
-
}, n = {
|
|
26
|
-
components: {
|
|
27
|
-
InIcons: e
|
|
28
|
-
},
|
|
29
|
-
props: {
|
|
30
|
-
/**
|
|
31
|
-
* @property {string} text
|
|
32
|
-
*/
|
|
33
|
-
text: {
|
|
34
|
-
type: String,
|
|
35
|
-
required: !0
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* @property {string} icon
|
|
39
|
-
*/
|
|
40
|
-
icon: {
|
|
41
|
-
type: String,
|
|
42
|
-
default: ""
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* @property {string} icon
|
|
46
|
-
*/
|
|
47
|
-
iconSize: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: "16",
|
|
50
|
-
validator: (t) => ["16", "24"].includes(t)
|
|
51
|
-
},
|
|
52
|
-
/**
|
|
53
|
-
* @property {string} status
|
|
54
|
-
*/
|
|
55
|
-
status: {
|
|
56
|
-
type: String,
|
|
57
|
-
required: !0
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* @property {string} size
|
|
61
|
-
*/
|
|
62
|
-
size: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: "medium"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
computed: {
|
|
68
|
-
/**
|
|
69
|
-
* @return {string}
|
|
70
|
-
*/
|
|
71
|
-
sizeClass() {
|
|
72
|
-
return {
|
|
73
|
-
xSmall: "h-4-s",
|
|
74
|
-
small: "h-4-s",
|
|
75
|
-
medium: "h-5-s"
|
|
76
|
-
}[this.size];
|
|
77
|
-
},
|
|
78
|
-
/**
|
|
79
|
-
* @return {string}
|
|
80
|
-
*/
|
|
81
|
-
statusClass() {
|
|
82
|
-
const t = this.status === "magenta" ? "sunset" : this.status;
|
|
83
|
-
return i[t];
|
|
84
|
-
},
|
|
85
|
-
/**
|
|
86
|
-
* @return {string}
|
|
87
|
-
*/
|
|
88
|
-
iconStatusClass() {
|
|
89
|
-
const t = this.status === "magenta" ? "sunset" : this.status;
|
|
90
|
-
return c[t];
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* @return {string}
|
|
94
|
-
*/
|
|
95
|
-
iconOffsetClass() {
|
|
96
|
-
return this.text.length ? "ml-1" : "";
|
|
97
|
-
},
|
|
98
|
-
/**
|
|
99
|
-
* @return {string}
|
|
100
|
-
*/
|
|
101
|
-
paddingClass() {
|
|
102
|
-
return this.text.length ? "px-2" : "px-1";
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
var r = function() {
|
|
107
|
-
var t = this, s = t._self._c;
|
|
108
|
-
return s("div", { staticClass: "in-status-text d-i-b bor-r-1 b-w-1", class: [t.statusClass, t.sizeClass, t.paddingClass] }, [s("div", { staticClass: "d-f a-i-c w-1 h-1" }, [s("p", { staticClass: "in-status-text__label f-s-1 l-h-1" }, [t._v(" " + t._s(t.text) + " ")]), t.icon.length ? s("in-icons", { staticClass: "cur-p", class: [t.iconStatusClass, t.iconOffsetClass], attrs: { name: t.icon, size: t.iconSize } }) : t._e()], 1)]);
|
|
109
|
-
}, u = [], l = /* @__PURE__ */ a(
|
|
110
|
-
n,
|
|
111
|
-
r,
|
|
112
|
-
u,
|
|
113
|
-
!1,
|
|
114
|
-
null
|
|
115
|
-
);
|
|
116
|
-
const p = l.exports;
|
|
117
|
-
export {
|
|
118
|
-
p as InStatusText
|
|
119
|
-
};
|