@unsource/ui 2.9.31 → 2.9.32

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unsource-ui",
3
3
  "configKey": "unsourceUi",
4
- "version": "2.9.31",
4
+ "version": "2.9.32",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -27,6 +27,7 @@ export declare const useUserId: () => import("#app").CookieRef<string | null | u
27
27
  export declare const useToken: () => import("#app").CookieRef<string | null | undefined>;
28
28
  export declare const useProviderId: () => import("#app").CookieRef<string | null | undefined>;
29
29
  export declare const useUserType: () => import("#app").CookieRef<string | null | undefined>;
30
+ export declare const useClient: () => import("#app").CookieRef<string | null | undefined>;
30
31
  export declare const SettingToType: (setting: ServiceSetting) => ServiceSettingType;
31
32
  export declare const NotInProcessBooking: (e: Booking["status"]) => boolean;
32
33
  export declare const MinPrice: (bookingSetting: BookingSetting) => number | object | null | undefined;
@@ -27,6 +27,9 @@ export const useProviderId = () => useCookie("providerId", {
27
27
  export const useUserType = () => useCookie("userType", {
28
28
  maxAge: 365 * 24 * 60 * 60 * 1e3
29
29
  });
30
+ export const useClient = () => useCookie("client", {
31
+ maxAge: 365 * 24 * 60 * 60 * 1e3
32
+ });
30
33
  export const SettingToType = (setting) => ({
31
34
  ..._pick(setting, ["id", "price", "discount", "duration", "subCategoryKey", "description"]),
32
35
  title: setting.subCategory?.title || "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "2.9.31",
3
+ "version": "2.9.32",
4
4
  "private": false,
5
5
  "description": "nuxt ui kit for unsource env",
6
6
  "repository": "https://github.com/alisa2142/unsource-ui",