@feedmepos/mf-common 1.6.2 → 1.6.3-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app.js +2 -2
- package/dist/style.css +1 -1
- package/dist/vite-preset.js +6 -6
- package/package.json +1 -1
package/dist/app.js
CHANGED
@@ -197989,7 +197989,7 @@ const oZt = ["innerHTML"], aZt = {
|
|
197989
197989
|
innerHTML: Sc(iZt)
|
197990
197990
|
}, null, 8, oZt));
|
197991
197991
|
}
|
197992
|
-
}, sZt = /* @__PURE__ */ o8(aZt, [["__scopeId", "data-v-859b40fc"]]), BSe = (o) => (t9("data-v-
|
197992
|
+
}, sZt = /* @__PURE__ */ o8(aZt, [["__scopeId", "data-v-859b40fc"]]), BSe = (o) => (t9("data-v-3f4c1c43"), o = o(), n9(), o), cZt = { class: "app-header" }, lZt = { class: "flex flex-1 gap-12" }, uZt = {
|
197993
197993
|
class: "overflow-auto",
|
197994
197994
|
style: { width: "442px" }
|
197995
197995
|
}, dZt = { class: "app-menu" }, _Zt = { class: "app-menu--content" }, pZt = /* @__PURE__ */ BSe(() => /* @__PURE__ */ jr("p", { class: "fm-typo-en-body-sm-600" }, "Switch to", -1)), fZt = { class: "app-menu--list" }, mZt = ["onClick"], hZt = { class: "app-menu--item" }, gZt = ["innerHTML"], yZt = { class: "app-menu--item--content" }, bZt = { class: "app-menu--name" }, vZt = { class: "app-menu--description" }, AZt = /* @__PURE__ */ BSe(() => /* @__PURE__ */ jr("div", { class: "app-menu--divider" }, null, -1)), xZt = /* @__PURE__ */ BSe(() => /* @__PURE__ */ jr("div", { class: "app-menu--advertisement" }, [
|
@@ -198116,7 +198116,7 @@ const oZt = ["innerHTML"], aZt = {
|
|
198116
198116
|
};
|
198117
198117
|
}
|
198118
198118
|
});
|
198119
|
-
const CZt = /* @__PURE__ */ o8(EZt, [["__scopeId", "data-v-
|
198119
|
+
const CZt = /* @__PURE__ */ o8(EZt, [["__scopeId", "data-v-3f4c1c43"]]), HSe = (o) => (t9("data-v-a42ad341"), o = o(), n9(), o), wZt = { class: "app-container min-h-dvh bg-fm-color-neutral-gray-100 pb-56" }, DZt = ["id"], PZt = {
|
198120
198120
|
class: /* @__PURE__ */ Fc([
|
198121
198121
|
"w-screen bg-fm-color-neutral-white",
|
198122
198122
|
"h-56 px-24 py-4",
|
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.country-dialog--footer[data-v-9a8e8e81]{display:flex;width:100%;align-items:center;justify-content:flex-end}@media (min-width: 0px) and (max-width: 647px){.country-dialog--footer[data-v-9a8e8e81]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}}.business-info-icon{width:45px;height:45px;min-width:45px;min-height:45px;vertical-align:middle;border-radius:50%}.profile-menu-item[data-v-e01fc897]{display:flex;width:100%;align-items:center;justify-content:flex-start}.profile-menu-item[data-v-e01fc897]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu-item[data-v-e01fc897]{padding-left:12px;padding-right:12px}@media (min-width: 0px) and (max-width: 647px){.profile-menu-item[data-v-e01fc897]{padding-left:16px;padding-right:16px}}@media (min-width: 648px) and (max-width: 959px){.profile-menu-item[data-v-e01fc897]{padding-left:16px;padding-right:16px}}.profile-menu-item[data-v-e01fc897]{text-align:left;border-radius:8px}.profile-menu-item--title[data-v-e01fc897]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none}.profile-menu-item--subtitle[data-v-e01fc897]{font-size:.75rem;font-weight:400;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300)}.user-info-icon[data-v-0f6935ca]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-0f6935ca]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-0f6935ca]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-0f6935ca]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-0f6935ca]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-0f6935ca]{padding:4px 16px;display:flex;align-items:center}.profile-menu--profile .profile-displayName[data-v-0f6935ca]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-0f6935ca]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--block[data-v-0f6935ca]{padding-left:4px;padding-right:4px}.profile-menu--divider[data-v-0f6935ca]{padding:4px 8px}.profile-menu--divider[data-v-0f6935ca]:before{content:"";display:block;height:1px;width:100%;background-color:var(--fm-color-neutral-gray-100)}.logo[data-v-859b40fc]{height:48px;width:48px;padding:8px}.logo[data-v-859b40fc]>svg{width:100%;height:100%}.app-header[data-v-
|
1
|
+
.country-dialog--footer[data-v-9a8e8e81]{display:flex;width:100%;align-items:center;justify-content:flex-end}@media (min-width: 0px) and (max-width: 647px){.country-dialog--footer[data-v-9a8e8e81]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}}.business-info-icon{width:45px;height:45px;min-width:45px;min-height:45px;vertical-align:middle;border-radius:50%}.profile-menu-item[data-v-e01fc897]{display:flex;width:100%;align-items:center;justify-content:flex-start}.profile-menu-item[data-v-e01fc897]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu-item[data-v-e01fc897]{padding-left:12px;padding-right:12px}@media (min-width: 0px) and (max-width: 647px){.profile-menu-item[data-v-e01fc897]{padding-left:16px;padding-right:16px}}@media (min-width: 648px) and (max-width: 959px){.profile-menu-item[data-v-e01fc897]{padding-left:16px;padding-right:16px}}.profile-menu-item[data-v-e01fc897]{text-align:left;border-radius:8px}.profile-menu-item--title[data-v-e01fc897]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none}.profile-menu-item--subtitle[data-v-e01fc897]{font-size:.75rem;font-weight:400;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300)}.user-info-icon[data-v-0f6935ca]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-0f6935ca]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-0f6935ca]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-0f6935ca]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-0f6935ca]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-0f6935ca]{padding:4px 16px;display:flex;align-items:center}.profile-menu--profile .profile-displayName[data-v-0f6935ca]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-0f6935ca]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--block[data-v-0f6935ca]{padding-left:4px;padding-right:4px}.profile-menu--divider[data-v-0f6935ca]{padding:4px 8px}.profile-menu--divider[data-v-0f6935ca]:before{content:"";display:block;height:1px;width:100%;background-color:var(--fm-color-neutral-gray-100)}.logo[data-v-859b40fc]{height:48px;width:48px;padding:8px}.logo[data-v-859b40fc]>svg{width:100%;height:100%}.app-header[data-v-3f4c1c43]{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;height:56px;align-items:center;justify-content:space-between;overflow:hidden;padding:4px 24px 4px 8px;border-bottom-width:1px;border-bottom-color:var(--fm-color-neutral-gray-100);background-color:var(--fm-color-neutral-white)}.app-container[data-v-3f4c1c43]{padding-top:56px;min-height:100vh;background-color:var(--fm-color-neutral-gray-100)}.app-content[data-v-3f4c1c43]{height:100%;overflow:auto;padding-left:240px;transition-property:padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.app-content--expanded[data-v-3f4c1c43]{padding:0}.app-sidebar[data-v-3f4c1c43]{padding-top:56px;position:fixed;top:0;left:0;--tw-bg-opacity: 1;background-color:rgb(253 253 254 / var(--tw-bg-opacity));height:100vh;width:240px;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.app-sidebar--close[data-v-3f4c1c43]{width:0px;overflow:hidden}.app-menu[data-v-3f4c1c43]{width:100%}.app-menu[data-v-3f4c1c43]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(24px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(24px * var(--tw-space-y-reverse))}.app-menu[data-v-3f4c1c43]{padding-left:1.25rem;padding-right:1.25rem;padding-top:12px;padding-bottom:12px}.app-menu--content[data-v-3f4c1c43]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.app-menu--list[data-v-3f4c1c43]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(24px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(24px * var(--tw-space-y-reverse))}.app-menu--item[data-v-3f4c1c43]{display:flex;align-items:center;gap:8px}.app-menu--item--icon[data-v-3f4c1c43]{height:48px;width:48px}.app-menu--item--content[data-v-3f4c1c43]{flex:1 1 0%}.app-menu--name[data-v-3f4c1c43]{font-size:1rem;font-weight:600;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none}.app-menu--description[data-v-3f4c1c43]{font-size:.75rem;font-weight:400;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-gray-400)}.app-menu--divider[data-v-3f4c1c43]{height:1px;width:100%;border-radius:4px;background-color:var(--fm-color-neutral-gray-100)}.app-menu--advertisement[data-v-3f4c1c43]{aspect-ratio:402/156;width:100%;border-radius:8px;background-color:var(--fm-color-neutral-gray-100);font-size:1rem;font-weight:600;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--fm-color-neutral-gray-300)}.slide-right-enter-active[data-v-a42ad341],.slide-right-leave-active[data-v-a42ad341]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.slide-right-enter-from[data-v-a42ad341]{transform:translate(100%)}.slide-right-enter-to[data-v-a42ad341],.slide-right-leave-from[data-v-a42ad341]{transform:translate(0)}.slide-right-leave-to[data-v-a42ad341]{transform:translate(100%)}.slide-enter-from[data-v-ac074858]{opacity:0;transform:translateY(100%)}.slide-enter-to[data-v-ac074858],.slide-leave-from[data-v-ac074858]{opacity:1;transform:translateY(0)}.slide-leave-to[data-v-ac074858]{opacity:0;transform:translateY(100%)}.slide-enter-active[data-v-ac074858],.slide-leave-active[data-v-ac074858]{transition-property:transform,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.user-info-icon[data-v-4b1d530e]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%);height:48px;width:48px;border-radius:16px}.profile-menu--divider[data-v-4b1d530e]{padding:4px 8px}.profile-menu--divider[data-v-4b1d530e]:before{content:"";display:block;height:1px;width:100%;background-color:var(--fm-color-neutral-gray-100)}.slide-enter-from[data-v-4b1d530e]{opacity:0;transform:translateY(100%)}.slide-enter-to[data-v-4b1d530e],.slide-leave-from[data-v-4b1d530e]{opacity:1;transform:translateY(0)}.slide-leave-to[data-v-4b1d530e]{opacity:0;transform:translateY(100%)}.slide-enter-active[data-v-4b1d530e],.slide-leave-active[data-v-4b1d530e]{transition-property:transform,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-active[data-v-4b1d530e],.fade-leave-active[data-v-4b1d530e]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-4b1d530e]{opacity:0}.fade-enter-to[data-v-4b1d530e],.fade-leave-from[data-v-4b1d530e]{opacity:1}.fade-leave-to[data-v-4b1d530e]{opacity:0}.slide-right-enter-active[data-v-4b1d530e],.slide-right-leave-active[data-v-4b1d530e]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.slide-right-enter-from[data-v-4b1d530e]{transform:translate(100%)}.slide-right-enter-to[data-v-4b1d530e],.slide-right-leave-from[data-v-4b1d530e]{transform:translate(0)}.slide-right-leave-to[data-v-4b1d530e]{transform:translate(100%)}
|
package/dist/vite-preset.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { resolve as
|
1
|
+
import { resolve as h } from "path";
|
2
2
|
import { readFileSync as v } from "fs";
|
3
3
|
const b = (l) => {
|
4
4
|
const s = l.join("|");
|
@@ -65,7 +65,7 @@ const b = (l) => {
|
|
65
65
|
}, y = "@feedmepos/mf-", P = (l, { command: s, mode: e }, r = {}) => {
|
66
66
|
var m, d, f, g;
|
67
67
|
const n = JSON.parse(
|
68
|
-
v(
|
68
|
+
v(h(process.cwd(), "package.json"), "utf-8")
|
69
69
|
), c = Object.keys(n.dependencies).filter((t) => t.startsWith(y)).reduce((t, i) => (t[i] = n.dependencies[i], t), {});
|
70
70
|
(m = r.includeFmmfPackages) == null || m.forEach((t) => {
|
71
71
|
c[t] = n.dependencies[t] ?? "latest";
|
@@ -80,11 +80,11 @@ const b = (l) => {
|
|
80
80
|
};
|
81
81
|
let u = [...Object.keys(o), ...Object.keys(c)];
|
82
82
|
const p = { ...l };
|
83
|
-
s == "build" && e
|
83
|
+
s == "build" && e.startsWith("fmmf") && (u = [...Object.keys(c), ...Object.keys(o)], p.build = {
|
84
84
|
emptyOutDir: !0,
|
85
85
|
lib: {
|
86
86
|
entry: {
|
87
|
-
app:
|
87
|
+
app: h(process.cwd(), "src/app.ts")
|
88
88
|
},
|
89
89
|
formats: ["es"]
|
90
90
|
},
|
@@ -104,7 +104,7 @@ const b = (l) => {
|
|
104
104
|
else
|
105
105
|
throw new Error(`Invalid replaceFmmfPackages key: ${t}, must start with @feedmepos/mf-`);
|
106
106
|
});
|
107
|
-
const
|
107
|
+
const x = {
|
108
108
|
name: "vite-plugin-feedme-microfrontend",
|
109
109
|
enforce: "pre",
|
110
110
|
config: async () => {
|
@@ -135,7 +135,7 @@ const b = (l) => {
|
|
135
135
|
}
|
136
136
|
}
|
137
137
|
};
|
138
|
-
return p.plugins.push(
|
138
|
+
return p.plugins.push(x), p;
|
139
139
|
};
|
140
140
|
export {
|
141
141
|
P as fmmfVitePresent
|