@feedmepos/mf-common 1.11.0-beta.1 → 1.11.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app.d.ts +3 -1
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +3826 -3817
- package/dist/composables/useLocale.d.ts +16 -6
- package/dist/composables/useLocale.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +2 -2
@@ -1,17 +1,27 @@
|
|
1
|
+
export type LOCALE = "en-US" | "zh-CN";
|
2
|
+
export declare const ALL_LOCALE_OPTIONS: {
|
3
|
+
code: LOCALE;
|
4
|
+
name: string;
|
5
|
+
}[];
|
6
|
+
export declare const enabledLocales: import("vue").Ref<LOCALE[], LOCALE[]>;
|
7
|
+
declare function setEnabledLocales(locales: LOCALE[]): void;
|
8
|
+
export { setEnabledLocales };
|
1
9
|
export declare function useLocale(): {
|
2
|
-
|
10
|
+
localeSelectorEnabled: boolean;
|
3
11
|
locale: import("vue").ComputedRef<string>;
|
4
12
|
localeList: never[];
|
5
13
|
localeFullName: import("vue").ComputedRef<string>;
|
6
14
|
selectLocale: () => never;
|
15
|
+
setEnabledLocales?: undefined;
|
7
16
|
} | {
|
8
|
-
|
17
|
+
localeSelectorEnabled: import("vue").ComputedRef<boolean>;
|
9
18
|
locale: import("vue").WritableComputedRef<string, string>;
|
10
|
-
localeList: {
|
11
|
-
code: string;
|
12
|
-
name: string;
|
13
|
-
}[];
|
14
19
|
localeFullName: import("vue").ComputedRef<string>;
|
20
|
+
localeList: import("vue").ComputedRef<{
|
21
|
+
code: LOCALE;
|
22
|
+
name: string;
|
23
|
+
}[]>;
|
15
24
|
selectLocale: (localeCode: string) => void;
|
25
|
+
setEnabledLocales: typeof setEnabledLocales;
|
16
26
|
};
|
17
27
|
//# sourceMappingURL=useLocale.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../../src/composables/useLocale.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../../src/composables/useLocale.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAEtC,eAAO,MAAM,kBAAkB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAG9D,CAAA;AAED,eAAO,MAAM,cAAc,uCAAoC,CAAA;AAE/D,iBAAS,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,QAE3C;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAE5B,wBAAgB,SAAS;;;;;;;;;;;;;;;+BA6BW,MAAM;;EAczC"}
|
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.business-info-icon{width:45px;height:45px;min-width:45px;min-height:45px;vertical-align:middle;border-radius:50%}.profile-menu-item[data-v-c679bca7]{display:flex;width:100%;align-items:center;justify-content:flex-start}.profile-menu-item[data-v-c679bca7]>: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-c679bca7]{padding-left:12px;padding-right:12px}@media (min-width: 0px) and (max-width: 647px){.profile-menu-item[data-v-c679bca7]{padding-left:16px;padding-right:16px}}@media (min-width: 648px) and (max-width: 959px){.profile-menu-item[data-v-c679bca7]{padding-left:16px;padding-right:16px}}.profile-menu-item[data-v-c679bca7]{text-align:left;border-radius:8px}.profile-menu-item--title[data-v-c679bca7]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none}.profile-menu-item--subtitle[data-v-c679bca7]{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-
|
1
|
+
.business-info-icon{width:45px;height:45px;min-width:45px;min-height:45px;vertical-align:middle;border-radius:50%}.profile-menu-item[data-v-c679bca7]{display:flex;width:100%;align-items:center;justify-content:flex-start}.profile-menu-item[data-v-c679bca7]>: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-c679bca7]{padding-left:12px;padding-right:12px}@media (min-width: 0px) and (max-width: 647px){.profile-menu-item[data-v-c679bca7]{padding-left:16px;padding-right:16px}}@media (min-width: 648px) and (max-width: 959px){.profile-menu-item[data-v-c679bca7]{padding-left:16px;padding-right:16px}}.profile-menu-item[data-v-c679bca7]{text-align:left;border-radius:8px}.profile-menu-item--title[data-v-c679bca7]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none}.profile-menu-item--subtitle[data-v-c679bca7]{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-c9cf53ef]{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-c9cf53ef]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c9cf53ef]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c9cf53ef]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c9cf53ef]>: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-c9cf53ef]{padding:4px 16px;display:flex;align-items:center}.profile-menu--profile .profile-displayName[data-v-c9cf53ef]{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-c9cf53ef]{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-c9cf53ef]{padding-left:4px;padding-right:4px}.profile-menu--divider[data-v-c9cf53ef]{padding:4px 8px}.profile-menu--divider[data-v-c9cf53ef]:before{content:"";display:block;height:1px;width:100%;background-color:var(--fm-color-neutral-gray-100)}.logo[data-v-e8337bff]{height:48px;width:48px;padding:8px}.logo[data-v-e8337bff]>svg{width:100%;height:100%}.app-header[data-v-6b2ec669]{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-6b2ec669]{min-height:100dvh;background-color:var(--fm-color-neutral-gray-100)}.app-content[data-v-6b2ec669]{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-6b2ec669]{padding:0}.app-menu[data-v-6b2ec669]{width:100%}.app-menu[data-v-6b2ec669]>: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-6b2ec669]{padding-left:1.25rem;padding-right:1.25rem;padding-top:12px;padding-bottom:12px}.app-menu--content[data-v-6b2ec669]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(12px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(12px * var(--tw-space-y-reverse))}.app-menu--item[data-v-6b2ec669]{display:flex;align-items:center;gap:8px}.app-menu--item--icon[data-v-6b2ec669]{height:48px;width:48px}.app-menu--item--content[data-v-6b2ec669]{flex:1 1 0%}.app-menu--name[data-v-6b2ec669]{font-size:1rem;font-weight:600;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none}.app-menu--description[data-v-6b2ec669]{font-size:.75rem;font-weight:400;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--fm-color-neutral-gray-400)}.app-menu--divider[data-v-6b2ec669]{height:1px;width:100%;border-radius:4px;background-color:var(--fm-color-neutral-gray-100)}.app-menu--advertisement[data-v-6b2ec669]{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-c7994dca],.slide-right-leave-active[data-v-c7994dca]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.slide-right-enter-from[data-v-c7994dca]{transform:translate(100%)}.slide-right-enter-to[data-v-c7994dca],.slide-right-leave-from[data-v-c7994dca]{transform:translate(0)}.slide-right-leave-to[data-v-c7994dca]{transform:translate(100%)}.fade-enter-active[data-v-c7994dca],.fade-leave-active[data-v-c7994dca]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-c7994dca]{opacity:0}.fade-enter-to[data-v-c7994dca],.fade-leave-from[data-v-c7994dca]{opacity:1}.fade-leave-to[data-v-c7994dca]{opacity:0}.slide-enter-from[data-v-0a3da373]{opacity:0;transform:translateY(100%)}.slide-enter-to[data-v-0a3da373],.slide-leave-from[data-v-0a3da373]{opacity:1;transform:translateY(0)}.slide-leave-to[data-v-0a3da373]{opacity:0;transform:translateY(100%)}.slide-enter-active[data-v-0a3da373],.slide-leave-active[data-v-0a3da373]{transition-property:transform,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.user-info-icon[data-v-9938b13e]{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-9938b13e]{padding:4px 8px}.profile-menu--divider[data-v-9938b13e]:before{content:"";display:block;height:1px;width:100%;background-color:var(--fm-color-neutral-gray-100)}.slide-enter-from[data-v-9938b13e]{opacity:0;transform:translateY(100%)}.slide-enter-to[data-v-9938b13e],.slide-leave-from[data-v-9938b13e]{opacity:1;transform:translateY(0)}.slide-leave-to[data-v-9938b13e]{opacity:0;transform:translateY(100%)}.slide-enter-active[data-v-9938b13e],.slide-leave-active[data-v-9938b13e]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-active[data-v-9938b13e],.fade-leave-active[data-v-9938b13e]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-9938b13e]{opacity:0}.fade-enter-to[data-v-9938b13e],.fade-leave-from[data-v-9938b13e]{opacity:1}.fade-leave-to[data-v-9938b13e]{opacity:0}.slide-right-enter-active[data-v-9938b13e],.slide-right-leave-active[data-v-9938b13e]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.slide-right-enter-from[data-v-9938b13e]{transform:translate(100%)}.slide-right-enter-to[data-v-9938b13e],.slide-right-leave-from[data-v-9938b13e]{transform:translate(0)}.slide-right-leave-to[data-v-9938b13e]{transform:translate(100%)}
|