@useinsider/guido 3.3.0-beta.c66df61 → 3.3.0-beta.ca73c87
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/composables/useCustomInterfaceAppearance.js +16 -18
- package/dist/composables/useStripo.js +49 -47
- package/dist/composables/useStripoNotifications.js +28 -0
- package/dist/enums/toaster.js +2 -2
- package/dist/package.json.js +1 -1
- package/dist/services/templateLibraryApi.js +22 -21
- package/dist/src/composables/useStripoNotifications.d.ts +4 -0
- package/dist/src/enums/toaster.d.ts +2 -1
- package/dist/src/stores/toaster.d.ts +2 -1
- package/dist/stores/toaster.js +10 -9
- package/package.json +3 -3
- package/dist/static/styles/components/notification.css.js +0 -74
|
@@ -4,21 +4,20 @@ import e from "../static/styles/components/amp-block.css.js";
|
|
|
4
4
|
import i from "../static/styles/components/base-input.css.js";
|
|
5
5
|
import p from "../static/styles/components/button-group.css.js";
|
|
6
6
|
import n from "../static/styles/components/button.css.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import s from "../static/styles/components/combobox.css.js";
|
|
8
|
+
import C from "../static/styles/components/counter.css.js";
|
|
9
9
|
import f from "../static/styles/components/dropdown-menu.css.js";
|
|
10
10
|
import a from "../static/styles/components/loader.css.js";
|
|
11
11
|
import u from "../static/styles/components/narrow-panel.css.js";
|
|
12
|
-
import c from "../static/styles/components/
|
|
13
|
-
import d from "../static/styles/components/
|
|
14
|
-
import l from "../static/styles/components/
|
|
15
|
-
import h from "../static/styles/components/
|
|
16
|
-
import w from "../static/styles/components/
|
|
17
|
-
import y from "../static/styles/components/
|
|
18
|
-
import B from "../static/styles/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
b,
|
|
12
|
+
import c from "../static/styles/components/popup.css.js";
|
|
13
|
+
import d from "../static/styles/components/switcher.css.js";
|
|
14
|
+
import l from "../static/styles/components/tabs.css.js";
|
|
15
|
+
import h from "../static/styles/components/tools.css.js";
|
|
16
|
+
import w from "../static/styles/components/version-history.css.js";
|
|
17
|
+
import y from "../static/styles/components/wide-panel.css.js";
|
|
18
|
+
import B from "../static/styles/variables.css.js";
|
|
19
|
+
const b = [
|
|
20
|
+
B,
|
|
22
21
|
// Must be on top
|
|
23
22
|
S,
|
|
24
23
|
// Must be on top
|
|
@@ -27,8 +26,8 @@ const A = [
|
|
|
27
26
|
i,
|
|
28
27
|
p,
|
|
29
28
|
n,
|
|
30
|
-
C,
|
|
31
29
|
s,
|
|
30
|
+
C,
|
|
32
31
|
f,
|
|
33
32
|
a,
|
|
34
33
|
u,
|
|
@@ -37,13 +36,12 @@ const A = [
|
|
|
37
36
|
l,
|
|
38
37
|
h,
|
|
39
38
|
w,
|
|
40
|
-
y
|
|
41
|
-
B
|
|
39
|
+
y
|
|
42
40
|
].join(`
|
|
43
41
|
|
|
44
|
-
`),
|
|
42
|
+
`), v = () => ({ importCss: () => {
|
|
45
43
|
const o = new CSSStyleSheet();
|
|
46
|
-
o.replaceSync(
|
|
44
|
+
o.replaceSync(b);
|
|
47
45
|
const r = document.querySelector("ui-editor");
|
|
48
46
|
if (!r)
|
|
49
47
|
return;
|
|
@@ -51,5 +49,5 @@ const A = [
|
|
|
51
49
|
t && (t.adoptedStyleSheets = [o]);
|
|
52
50
|
} });
|
|
53
51
|
export {
|
|
54
|
-
|
|
52
|
+
v as useCustomInterfaceAppearance
|
|
55
53
|
};
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { useActionsApi as
|
|
2
|
-
import { useBlocksConfig as
|
|
3
|
-
import { useConfig as
|
|
4
|
-
import { useCustomInterfaceAppearance as
|
|
5
|
-
import { useFullStoryBridge as
|
|
6
|
-
import { useStripoEventHandler as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
1
|
+
import { useActionsApi as U } from "./useActionsApi.js";
|
|
2
|
+
import { useBlocksConfig as R } from "./useBlocksConfig.js";
|
|
3
|
+
import { useConfig as q } from "./useConfig.js";
|
|
4
|
+
import { useCustomInterfaceAppearance as x } from "./useCustomInterfaceAppearance.js";
|
|
5
|
+
import { useFullStoryBridge as H } from "./useFullStoryBridge.js";
|
|
6
|
+
import { useStripoEventHandler as N } from "./useStripoEventHandler.js";
|
|
7
|
+
import { useStripoNotifications as O } from "./useStripoNotifications.js";
|
|
8
|
+
import { useToaster as j } from "./useToaster.js";
|
|
9
|
+
import { localePatch as L } from "../config/i18n/index.js";
|
|
10
|
+
import { useStripoApi as $ } from "../services/stripoApi.js";
|
|
11
|
+
import z from "../static/styles/customEditorStyle.css.js";
|
|
11
12
|
import { useEditorStore as E } from "../stores/editor.js";
|
|
12
|
-
import { dynamicContentToMergeTags as
|
|
13
|
-
import
|
|
14
|
-
const
|
|
15
|
-
const { features:
|
|
13
|
+
import { dynamicContentToMergeTags as G } from "../utils/genericUtil.js";
|
|
14
|
+
import J from "../package.json.js";
|
|
15
|
+
const ct = (C, c) => {
|
|
16
|
+
const { features: l, template: h, isFeatureEnabled: u } = q(), { handleError: m } = j(), { getToken: w, getCustomFonts: b, getSyncModulesStatus: k } = $(), { handleEvent: B } = N(), { getStripoNotifications: T } = O(), { getStripoBlocksConfig: V } = R(), _ = async (i, s = [], r = !1) => {
|
|
16
17
|
var g, S, y;
|
|
17
|
-
const
|
|
18
|
+
const t = E(), { html: p, css: a } = i, { baseBlocks: o, extensions: d } = await V(), f = ((g = l.value) == null ? void 0 : g.displayConditions) ?? !0, v = ((S = l.value) == null ? void 0 : S.modulesDisabled) ?? !1, M = ((y = h.value) == null ? void 0 : y.forceRecreate) ?? !1, A = "https://email-static.useinsider.com https://edge.fullstory.com https://rs.fullstory.com", D = T();
|
|
18
19
|
window.UIEditor.initEditor(
|
|
19
20
|
document.querySelector("#guido-editor"),
|
|
20
21
|
{
|
|
21
22
|
metadata: C,
|
|
22
23
|
html: p,
|
|
23
24
|
css: a,
|
|
24
|
-
forceRecreate:
|
|
25
|
+
forceRecreate: M,
|
|
25
26
|
locale: "en",
|
|
26
27
|
undoButtonSelector: "#guido__undo-button",
|
|
27
28
|
redoButtonSelector: "#guido__redo-button",
|
|
@@ -31,96 +32,97 @@ const se = (C, l) => {
|
|
|
31
32
|
customAppearanceMergetags: !u("liquidSyntax"),
|
|
32
33
|
customAppearanceMergetagsBorderColor: "#f1f3fe",
|
|
33
34
|
customAppearanceMergetagsBackgroundColor: "#f1f3fe",
|
|
34
|
-
customViewStyles:
|
|
35
|
+
customViewStyles: z,
|
|
35
36
|
conditionsEnabled: f,
|
|
36
37
|
customConditionsEnabled: f,
|
|
37
38
|
enableXSSSecurity: !0,
|
|
38
|
-
modulesDisabled:
|
|
39
|
-
syncModulesEnabled:
|
|
39
|
+
modulesDisabled: v,
|
|
40
|
+
syncModulesEnabled: r,
|
|
40
41
|
messageSettingsEnabled: !0,
|
|
41
42
|
displayGmailAnnotations: !0,
|
|
42
43
|
displayHiddenPreheader: !1,
|
|
43
44
|
displayTitle: !1,
|
|
44
45
|
displayUTM: !1,
|
|
45
46
|
selectElementAfterDrop: !0,
|
|
46
|
-
allowedScriptSourceDomains:
|
|
47
|
+
allowedScriptSourceDomains: A,
|
|
47
48
|
...o ? { baseBlocks: o } : {},
|
|
48
49
|
editorFonts: {
|
|
49
50
|
showDefaultStandardFonts: !0,
|
|
50
51
|
showDefaultNotStandardFonts: !0,
|
|
51
|
-
customFonts:
|
|
52
|
+
customFonts: s
|
|
52
53
|
},
|
|
53
54
|
mergeTags: [
|
|
54
55
|
{
|
|
55
|
-
entries:
|
|
56
|
-
|
|
56
|
+
entries: G(
|
|
57
|
+
c.preselectedDynamicContentList,
|
|
57
58
|
u("liquidSyntax")
|
|
58
59
|
)
|
|
59
60
|
}
|
|
60
61
|
],
|
|
61
|
-
async onTokenRefreshRequest(
|
|
62
|
+
async onTokenRefreshRequest(e) {
|
|
62
63
|
try {
|
|
63
64
|
const n = await w();
|
|
64
|
-
|
|
65
|
+
e(n);
|
|
65
66
|
} catch (n) {
|
|
66
67
|
m(n, "Failed to refresh token");
|
|
67
68
|
}
|
|
68
69
|
},
|
|
69
70
|
onTemplateLoaded() {
|
|
70
71
|
try {
|
|
71
|
-
const { importCss:
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
const { importCss: e } = x(), { activateCustomViewStyles: n, updateTimerInClonedTemplate: I } = U(), { injectFullStory: P } = H();
|
|
73
|
+
e(), n(), P(), I(), c.onReady(), t.isStripoInitialized = !0, t.loadingStatus = !1, setTimeout(() => {
|
|
74
|
+
t.hasChanges = !1;
|
|
74
75
|
}, 1e3);
|
|
75
|
-
} catch (
|
|
76
|
-
m(
|
|
76
|
+
} catch (e) {
|
|
77
|
+
m(e, "Failed to load custom interface appearance");
|
|
77
78
|
}
|
|
78
79
|
},
|
|
79
|
-
onCodeEditorVisibilityChanged(
|
|
80
|
-
|
|
80
|
+
onCodeEditorVisibilityChanged(e) {
|
|
81
|
+
t.isCodeEditorOpen = e;
|
|
81
82
|
},
|
|
82
|
-
onEditorVisualModeChanged(
|
|
83
|
-
|
|
83
|
+
onEditorVisualModeChanged(e) {
|
|
84
|
+
t.editorVisualMode = e.toLowerCase();
|
|
84
85
|
},
|
|
85
|
-
onVersionHistoryVisibilityChanged(
|
|
86
|
-
|
|
86
|
+
onVersionHistoryVisibilityChanged(e) {
|
|
87
|
+
t.isVersionHistoryOpen = e;
|
|
87
88
|
},
|
|
88
89
|
onDataChanged() {
|
|
89
|
-
|
|
90
|
+
t.hasChanges = !0;
|
|
90
91
|
},
|
|
91
92
|
onEvent: B,
|
|
93
|
+
notifications: D,
|
|
92
94
|
ignoreClickOutsideSelectors: [
|
|
93
95
|
"#guido-dynamic-content-modal",
|
|
94
96
|
".in-on-board-wrapper",
|
|
95
97
|
".in-drawer__container"
|
|
96
98
|
],
|
|
97
99
|
extensions: d,
|
|
98
|
-
localePatch:
|
|
100
|
+
localePatch: L
|
|
99
101
|
}
|
|
100
102
|
);
|
|
101
|
-
},
|
|
103
|
+
}, F = (i) => new Promise((s, r) => {
|
|
102
104
|
var d;
|
|
103
105
|
if (document.getElementById("UiEditorScript")) {
|
|
104
|
-
i(),
|
|
106
|
+
i(), s();
|
|
105
107
|
return;
|
|
106
108
|
}
|
|
107
|
-
const
|
|
109
|
+
const t = J.guido, a = `https://email-static.useinsider.com/guido/${(d = t == null ? void 0 : t.stripo) == null ? void 0 : d.version}/UIEditor.js`, o = document.createElement("script");
|
|
108
110
|
o.id = "UiEditorScript", o.type = "module", o.src = a, o.onload = () => {
|
|
109
|
-
i(),
|
|
111
|
+
i(), s();
|
|
110
112
|
}, o.onerror = () => {
|
|
111
|
-
|
|
113
|
+
r(new Error(`Failed to load Stripo UIEditor script from S3: ${a}`));
|
|
112
114
|
}, document.body.appendChild(o);
|
|
113
115
|
});
|
|
114
116
|
return { initPlugin: async (i) => {
|
|
115
|
-
await
|
|
116
|
-
const
|
|
117
|
+
await F(async () => {
|
|
118
|
+
const s = E(), [r, t] = await Promise.all([
|
|
117
119
|
b(),
|
|
118
120
|
k()
|
|
119
121
|
]);
|
|
120
|
-
|
|
122
|
+
s.syncModulesEnabled = t, await _(i, r, t);
|
|
121
123
|
});
|
|
122
124
|
} };
|
|
123
125
|
};
|
|
124
126
|
export {
|
|
125
|
-
|
|
127
|
+
ct as useStripo
|
|
126
128
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useToaster as d } from "./useToaster.js";
|
|
2
|
+
import { ToasterTypeOptions as c } from "../enums/toaster.js";
|
|
3
|
+
const p = () => {
|
|
4
|
+
const { showToaster: s, hideToaster: u } = d();
|
|
5
|
+
let r = null, l = null;
|
|
6
|
+
const n = (t, o, i, e, f = {}) => {
|
|
7
|
+
if (r === i && l === o)
|
|
8
|
+
return;
|
|
9
|
+
r = i, l = o;
|
|
10
|
+
const a = e != null && e.action ? { text: e.action.label, onClick: e.action.func } : void 0;
|
|
11
|
+
s({ type: t, message: o, actionButton: a, autoHide: f.autoHide });
|
|
12
|
+
};
|
|
13
|
+
return { getStripoNotifications: () => ({
|
|
14
|
+
info: (t, o, i) => n(c.Info, t, o, i),
|
|
15
|
+
success: (t, o, i) => n(c.Success, t, o, i),
|
|
16
|
+
warn: (t, o, i) => n(c.Warning, t, o, i),
|
|
17
|
+
error: (t, o, i) => n(c.Alert, t, o, i),
|
|
18
|
+
// Loader represents an in-progress operation; Stripo dismisses it via hide(id)
|
|
19
|
+
// when the operation finishes, so we disable auto-hide for this variant.
|
|
20
|
+
loader: (t, o, i) => n(c.Info, t, o, i, { autoHide: !1 }),
|
|
21
|
+
hide: (t) => {
|
|
22
|
+
r === t && (u(), r = null, l = null);
|
|
23
|
+
}
|
|
24
|
+
}) };
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
p as useStripoNotifications
|
|
28
|
+
};
|
package/dist/enums/toaster.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var n = /* @__PURE__ */ ((r) => (r.Success = "success", r.Warning = "warning", r.Alert = "error", r.Info = "information", r))(n || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
n as ToasterTypeOptions
|
|
4
4
|
};
|
package/dist/package.json.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { useConfig as
|
|
2
|
-
import { useHttp as
|
|
3
|
-
import { useToaster as
|
|
1
|
+
import { useConfig as b } from "../composables/useConfig.js";
|
|
2
|
+
import { useHttp as C } from "../composables/useHttp.js";
|
|
3
|
+
import { useToaster as S } from "../composables/useToaster.js";
|
|
4
4
|
import { useTranslations as h } from "../composables/useTranslations.js";
|
|
5
|
-
import { useLiquidValidator as
|
|
6
|
-
import { EditorType as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { useLiquidValidator as v } from "../composables/validators/useLiquidValidator.js";
|
|
6
|
+
import { EditorType as N } from "../enums/defaults.js";
|
|
7
|
+
import { ToasterTypeOptions as g } from "../enums/toaster.js";
|
|
8
|
+
import { useRecommendationExtensionStore as x } from "../extensions/Blocks/Recommendation/store/recommendation.js";
|
|
9
|
+
import { useSaveAsTemplateStore as A } from "../stores/save-as-template.js";
|
|
9
10
|
import { base64EncodeWithSpecialChars as r } from "../utils/base64.js";
|
|
10
|
-
import { useTemplatePreparation as
|
|
11
|
-
const
|
|
12
|
-
const { get: n, post: m } =
|
|
11
|
+
import { useTemplatePreparation as E } from "../utils/templatePreparation.js";
|
|
12
|
+
const j = () => {
|
|
13
|
+
const { get: n, post: m } = C(), { handleError: o, showToaster: l } = S(), { config: c, isFeatureEnabled: p } = b(), { validateLiquidSyntax: f } = v(), u = h();
|
|
13
14
|
return {
|
|
14
15
|
getCategories: async () => {
|
|
15
16
|
try {
|
|
@@ -39,21 +40,21 @@ const $ = () => {
|
|
|
39
40
|
createTemplate: async () => {
|
|
40
41
|
var e, t, d, y;
|
|
41
42
|
try {
|
|
42
|
-
const { prepareTemplateDetails: i } =
|
|
43
|
-
if (p("liquidSyntax") && !await
|
|
43
|
+
const { prepareTemplateDetails: i } = E(), s = A(), a = await i();
|
|
44
|
+
if (p("liquidSyntax") && !await f(a.compiledHtml))
|
|
44
45
|
return !1;
|
|
45
|
-
const
|
|
46
|
+
const T = {
|
|
46
47
|
name: s.getTemplateName,
|
|
47
48
|
categories: s.getSelectedCategoryIds,
|
|
48
49
|
productId: ((t = (e = c.value) == null ? void 0 : e.partner) == null ? void 0 : t.productType) || 0,
|
|
49
|
-
editorType:
|
|
50
|
+
editorType: N,
|
|
50
51
|
messageType: ((y = (d = c.value) == null ? void 0 : d.partner) == null ? void 0 : y.messageType) || 0,
|
|
51
52
|
content: r(a.compiledHtml),
|
|
52
53
|
css: r(a.css),
|
|
53
54
|
unsubscriptionPreferencePageStatus: !1,
|
|
54
55
|
unsubscriptionPreferencePages: [],
|
|
55
56
|
recommendationCampaignUrls: r(
|
|
56
|
-
|
|
57
|
+
x().recommendationCampaignUrls
|
|
57
58
|
),
|
|
58
59
|
recommendationConfigs: r({}),
|
|
59
60
|
isGuido: !0,
|
|
@@ -65,22 +66,22 @@ const $ = () => {
|
|
|
65
66
|
css: a.css,
|
|
66
67
|
dynamicContentList: a.dynamicContentList
|
|
67
68
|
})
|
|
68
|
-
}, { data: { type:
|
|
69
|
+
}, { data: { type: w } } = await m(
|
|
69
70
|
"/newsletter/template-library/create-template",
|
|
70
|
-
|
|
71
|
+
T
|
|
71
72
|
);
|
|
72
|
-
return
|
|
73
|
+
return w === "alert" ? (l({
|
|
73
74
|
message: u(
|
|
74
75
|
"newsletter.template-library-save-alert",
|
|
75
76
|
{ templateName: s.getTemplateName }
|
|
76
77
|
),
|
|
77
|
-
type:
|
|
78
|
+
type: g.Alert
|
|
78
79
|
}), !1) : (l({
|
|
79
80
|
message: u(
|
|
80
81
|
"newsletter.template-library-save-success",
|
|
81
82
|
{ templateName: s.getTemplateName }
|
|
82
83
|
),
|
|
83
|
-
type:
|
|
84
|
+
type: g.Success
|
|
84
85
|
}), !0);
|
|
85
86
|
} catch (i) {
|
|
86
87
|
return o(i, "Failed to create template"), !1;
|
|
@@ -89,5 +90,5 @@ const $ = () => {
|
|
|
89
90
|
};
|
|
90
91
|
};
|
|
91
92
|
export {
|
|
92
|
-
|
|
93
|
+
j as useTemplateLibraryApi
|
|
93
94
|
};
|
|
@@ -11,8 +11,9 @@ export declare const useToasterStore: import("pinia").StoreDefinition<"guidoToas
|
|
|
11
11
|
text: string;
|
|
12
12
|
onClick: () => void;
|
|
13
13
|
} | undefined;
|
|
14
|
+
autoHide: boolean;
|
|
14
15
|
} & import("pinia").PiniaCustomStateProperties<ToasterState>) => boolean;
|
|
15
16
|
}, {
|
|
16
|
-
showToaster(this: ToasterState, { type, message, actionButton }: ToasterOptions): void;
|
|
17
|
+
showToaster(this: ToasterState, { type, message, actionButton, autoHide }: ToasterOptions): void;
|
|
17
18
|
hideToaster(this: ToasterState): void;
|
|
18
19
|
}>;
|
package/dist/stores/toaster.js
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { ToasterTypeOptions as e } from "../enums/toaster.js";
|
|
2
|
-
import { defineStore as
|
|
3
|
-
const
|
|
2
|
+
import { defineStore as a } from "pinia";
|
|
3
|
+
const u = () => ({
|
|
4
4
|
status: !1,
|
|
5
5
|
type: e.Success,
|
|
6
6
|
text: "",
|
|
7
7
|
icon: "",
|
|
8
8
|
withIcon: !0,
|
|
9
9
|
withoutLeftMargin: !1,
|
|
10
|
-
actionButton: void 0
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
actionButton: void 0,
|
|
11
|
+
autoHide: !0
|
|
12
|
+
}), c = a("guidoToaster", {
|
|
13
|
+
state: () => u(),
|
|
13
14
|
getters: {
|
|
14
|
-
shouldAutoHide: (t) => t.status && !!t.text
|
|
15
|
+
shouldAutoHide: (t) => t.status && !!t.text && t.autoHide
|
|
15
16
|
},
|
|
16
17
|
actions: {
|
|
17
|
-
showToaster({ type: t = e.Success, message:
|
|
18
|
-
this.status = !0, this.text =
|
|
18
|
+
showToaster({ type: t = e.Success, message: o, actionButton: s, autoHide: i = !0 }) {
|
|
19
|
+
this.status = !0, this.text = o, this.type = t, this.actionButton = s, this.autoHide = i;
|
|
19
20
|
},
|
|
20
21
|
hideToaster() {
|
|
21
22
|
this.status = !1;
|
|
@@ -23,5 +24,5 @@ const a = () => ({
|
|
|
23
24
|
}
|
|
24
25
|
});
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
c as useToasterStore
|
|
27
28
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "3.3.0-beta.
|
|
3
|
+
"version": "3.3.0-beta.ca73c87",
|
|
4
4
|
"description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
|
|
5
5
|
"main": "./dist/guido.umd.cjs",
|
|
6
6
|
"module": "./dist/library.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"license": "ISC",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@stripoinc/ui-editor-extensions": "3.8.0",
|
|
38
|
-
"@useinsider/design-system-vue": "1.
|
|
38
|
+
"@useinsider/design-system-vue": "1.2.0",
|
|
39
39
|
"@vueuse/core": "11.3.0",
|
|
40
40
|
"lodash-es": "4.17.21",
|
|
41
41
|
"pinia": "2.3.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
"guido": {
|
|
92
92
|
"stripo": {
|
|
93
|
-
"version": "2.
|
|
93
|
+
"version": "2.64.0"
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
const n = `ue-notifications-container {
|
|
2
|
-
left: 96px;
|
|
3
|
-
margin: 0;
|
|
4
|
-
bottom: 32px;
|
|
5
|
-
top: unset;
|
|
6
|
-
width: unset;
|
|
7
|
-
position: fixed;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
ue-notifications-container ue-message + ue-message {
|
|
11
|
-
margin-bottom: 24px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
ue-notifications-container .alert-message-wrapper {
|
|
15
|
-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
|
|
16
|
-
border: none;
|
|
17
|
-
padding: 16px 24px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
ue-notifications-container .alert-message-wrapper.info,
|
|
21
|
-
ue-notifications-container .alert-message-wrapper.loader {
|
|
22
|
-
background-color: var(--guido-color-background-toaster-info) !important;
|
|
23
|
-
color: inherit;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.alert-message-wrapper .alert-message-main {
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
ue-notifications-container ue-caption .caption {
|
|
31
|
-
color: var(--guido-color-white) !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
ue-block-thumb-hint {
|
|
35
|
-
text-align: left;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
ue-notifications-container .alert-message-wrapper .alert-message-main .alert-message-content {
|
|
39
|
-
width: calc(100% - 64px);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
ue-notifications-container .alert-message-wrapper .alert-message-main .alert-message-text {
|
|
43
|
-
font-size: 15px;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
ue-notifications-container .alert-message-text,
|
|
48
|
-
ue-notifications-container .alert-message-wrapper ue-icon-component.icon,
|
|
49
|
-
ue-notifications-container .alert-message-wrapper ue-icon-component.icon-button {
|
|
50
|
-
color: var(--guido-color-white);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
ue-notifications-container ue-message ue-button.close {
|
|
54
|
-
margin: 0 0 0 16px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
ue-notifications-container .alert-message-wrapper.success {
|
|
58
|
-
background: var(--guido-color-background-toaster-success);
|
|
59
|
-
color: inherit;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
ue-notifications-container .alert-message-wrapper.error {
|
|
63
|
-
background: var(--guido-color-background-toaster-error);
|
|
64
|
-
color: inherit;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
ue-notifications-container .alert-message-wrapper.warn {
|
|
68
|
-
background: var(--guido-color-background-toaster-warn);
|
|
69
|
-
color: inherit;
|
|
70
|
-
}
|
|
71
|
-
`;
|
|
72
|
-
export {
|
|
73
|
-
n as default
|
|
74
|
-
};
|