@globalbrain/sefirot 3.51.1 → 3.51.4

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.
@@ -143,7 +143,8 @@ function formatProps(props: Record<string, unknown>): string {
143
143
  const ignoreErrors = [
144
144
  /Network Error/,
145
145
  /Non-Error (?:exception|promise rejection) captured/,
146
- /ResizeObserver loop/
146
+ /ResizeObserver loop/,
147
+ /Can't find variable: gmo/
147
148
  ]
148
149
 
149
150
  export function useErrorHandler({
package/lib/http/Http.ts CHANGED
@@ -8,8 +8,8 @@ import { type Lang } from '../composables/Lang'
8
8
  type Awaitable<T> = T | PromiseLike<T>
9
9
 
10
10
  export interface HttpClient {
11
- <T = any>(request: FetchRequest, options?: Omit<FetchOptions, 'method'>): Promise<T>
12
- raw<T = any>(request: FetchRequest, options?: Omit<FetchOptions, 'method'>): Promise<FetchResponse<T>>
11
+ (request: FetchRequest, options?: Omit<FetchOptions, 'method'>): Promise<any>
12
+ raw(request: FetchRequest, options?: Omit<FetchOptions, 'method'>): Promise<FetchResponse<any>>
13
13
  }
14
14
 
15
15
  export interface HttpOptions {
@@ -97,12 +97,12 @@ export class Http {
97
97
  ]
98
98
  }
99
99
 
100
- private async performRequest<T>(url: string, options: FetchOptions = {}) {
101
- return Http.client<T>(...(await this.buildRequest(url, options)))
100
+ private async performRequest<T>(url: string, options: FetchOptions = {}): Promise<T> {
101
+ return Http.client(...(await this.buildRequest(url, options)))
102
102
  }
103
103
 
104
- private async performRequestRaw<T>(url: string, options: FetchOptions = {}) {
105
- return Http.client.raw<T>(...(await this.buildRequest(url, options)))
104
+ private async performRequestRaw<T>(url: string, options: FetchOptions = {}): Promise<FetchResponse<T>> {
105
+ return Http.client.raw(...(await this.buildRequest(url, options)))
106
106
  }
107
107
 
108
108
  async get<T = any>(url: string, options?: FetchOptions): Promise<T> {
@@ -170,7 +170,7 @@ export class Http {
170
170
  FileSaver.saveAs(blob, filename as string)
171
171
  }
172
172
 
173
- private objectToFormData(obj: any, form?: FormData, namespace?: string, onlyFiles = false) {
173
+ private objectToFormData(obj: any, form?: FormData, namespace?: string, onlyFiles = false): FormData {
174
174
  const fd = form || new FormData()
175
175
  let formKey: string
176
176
 
package/lib/shim.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ declare module 'v-calendar' {
2
+ import { DefineComponent } from 'vue'
3
+ export const DatePicker: DefineComponent<{}, {}, any>
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
- "version": "3.51.1",
3
+ "version": "3.51.4",
4
4
  "packageManager": "pnpm@9.1.1",
5
5
  "description": "Vue Components for Global Brain Design System.",
6
6
  "author": "Kia Ishii <ka.ishii@globalbrains.com>",
@@ -60,7 +60,7 @@
60
60
  "pinia": "^2.1.7",
61
61
  "postcss": "^8.4.38",
62
62
  "postcss-nested": "^6.0.1",
63
- "v-calendar": "^3.1.2",
63
+ "v-calendar": "3.0.1",
64
64
  "vue": "^3.4.27",
65
65
  "vue-router": "^4.3.2"
66
66
  },
@@ -72,7 +72,7 @@
72
72
  "@types/file-saver": "^2.0.7",
73
73
  "@types/qs": "^6.9.15",
74
74
  "file-saver": "^2.0.5",
75
- "ofetch": "^1.3.4",
75
+ "ofetch": "^1.4.1",
76
76
  "qs": "^6.12.1"
77
77
  },
78
78
  "devDependencies": {
@@ -109,7 +109,7 @@
109
109
  "punycode": "^2.3.1",
110
110
  "release-it": "^17.2.1",
111
111
  "typescript": "~5.4.5",
112
- "v-calendar": "^3.1.2",
112
+ "v-calendar": "3.0.1",
113
113
  "vite": "^5.2.11",
114
114
  "vitepress": "^1.1.4",
115
115
  "vitest": "^1.6.0",