@seliseblocks/genesis-os 4.3.5 → 4.3.7
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/{chunk-WBSWAHS6.js → chunk-46ZGVJEX.js} +98 -17
- package/dist/chunk-46ZGVJEX.js.map +1 -0
- package/dist/{chunk-FKFBYT22.cjs → chunk-4QKE3WAW.cjs} +103 -18
- package/dist/chunk-4QKE3WAW.cjs.map +1 -0
- package/dist/{chunk-3VNGGYRG.cjs → chunk-4QN4CYSC.cjs} +26 -7
- package/dist/chunk-4QN4CYSC.cjs.map +1 -0
- package/dist/{chunk-ENK42YC4.js → chunk-4UHGGHI6.js} +17 -3
- package/dist/chunk-4UHGGHI6.js.map +1 -0
- package/dist/{chunk-VAKGHXK6.cjs → chunk-6GCU5LM7.cjs} +17 -3
- package/dist/chunk-6GCU5LM7.cjs.map +1 -0
- package/dist/{chunk-NF54AHIF.js → chunk-AHCHUUXM.js} +2 -2
- package/dist/{chunk-NF54AHIF.js.map → chunk-AHCHUUXM.js.map} +1 -1
- package/dist/{chunk-Q7Y32IBM.cjs → chunk-BPJM3L7O.cjs} +2 -2
- package/dist/{chunk-Q7Y32IBM.cjs.map → chunk-BPJM3L7O.cjs.map} +1 -1
- package/dist/{chunk-H47HQ5UX.js → chunk-CBQL2T6H.js} +209 -6
- package/dist/chunk-CBQL2T6H.js.map +1 -0
- package/dist/{chunk-ZVGCCTNK.cjs → chunk-IJMKS4XG.cjs} +12 -12
- package/dist/{chunk-ZVGCCTNK.cjs.map → chunk-IJMKS4XG.cjs.map} +1 -1
- package/dist/{chunk-6WBFAHAO.js → chunk-JITR3QYC.js} +24 -5
- package/dist/chunk-JITR3QYC.js.map +1 -0
- package/dist/{chunk-TE3SKUL4.js → chunk-JSXAKNHQ.js} +3 -3
- package/dist/{chunk-TE3SKUL4.js.map → chunk-JSXAKNHQ.js.map} +1 -1
- package/dist/{chunk-VTOD5ZQU.cjs → chunk-QTSTAWK3.cjs} +3 -3
- package/dist/{chunk-VTOD5ZQU.cjs.map → chunk-QTSTAWK3.cjs.map} +1 -1
- package/dist/{chunk-XALNVJQU.cjs → chunk-SXEXXJHL.cjs} +236 -21
- package/dist/{chunk-H47HQ5UX.js.map → chunk-SXEXXJHL.cjs.map} +1 -1
- package/dist/{chunk-IWWGJQGJ.js → chunk-X7X4QYK4.js} +458 -13
- package/dist/chunk-X7X4QYK4.js.map +1 -0
- package/dist/{chunk-WIY77276.js → chunk-XRAO7JBH.js} +5 -5
- package/dist/{chunk-WIY77276.js.map → chunk-XRAO7JBH.js.map} +1 -1
- package/dist/{chunk-6DQTH7RD.cjs → chunk-YFTRLNLF.cjs} +611 -159
- package/dist/chunk-YFTRLNLF.cjs.map +1 -0
- package/dist/components/index.cjs +359 -361
- package/dist/components/index.js +9 -11
- package/dist/guards/index.cjs +315 -11
- package/dist/guards/index.d.cts +3 -1
- package/dist/guards/index.d.ts +3 -1
- package/dist/guards/index.js +309 -5
- package/dist/hooks/index.cjs +92 -93
- package/dist/hooks/index.js +6 -7
- package/dist/index.cjs +625 -611
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -11
- package/dist/layouts/index.cjs +16 -18
- package/dist/layouts/index.js +9 -11
- package/dist/lib/index.cjs +33 -17
- package/dist/lib/index.d.cts +57 -2
- package/dist/lib/index.d.ts +57 -2
- package/dist/lib/index.js +2 -2
- package/dist/pages/index.cjs +14 -16
- package/dist/pages/index.js +9 -11
- package/dist/providers/index.cjs +8 -8
- package/dist/providers/index.js +4 -4
- package/dist/store/index.cjs +10 -10
- package/dist/store/index.d.cts +31 -3
- package/dist/store/index.d.ts +31 -3
- package/dist/store/index.js +2 -2
- package/dist/utils/index.cjs +72 -72
- package/dist/utils/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-25L7I5C7.js +0 -265
- package/dist/chunk-25L7I5C7.js.map +0 -1
- package/dist/chunk-3VNGGYRG.cjs.map +0 -1
- package/dist/chunk-6DQTH7RD.cjs.map +0 -1
- package/dist/chunk-6WBFAHAO.js.map +0 -1
- package/dist/chunk-ENK42YC4.js.map +0 -1
- package/dist/chunk-FKFBYT22.cjs.map +0 -1
- package/dist/chunk-HS6F65WY.cjs +0 -273
- package/dist/chunk-HS6F65WY.cjs.map +0 -1
- package/dist/chunk-IICIA5RV.js +0 -212
- package/dist/chunk-IICIA5RV.js.map +0 -1
- package/dist/chunk-IWWGJQGJ.js.map +0 -1
- package/dist/chunk-UVMFL4UV.cjs +0 -225
- package/dist/chunk-UVMFL4UV.cjs.map +0 -1
- package/dist/chunk-VAKGHXK6.cjs.map +0 -1
- package/dist/chunk-WBSWAHS6.js.map +0 -1
- package/dist/chunk-XALNVJQU.cjs.map +0 -1
package/dist/store/index.cjs
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk4QN4CYSC_cjs = require('../chunk-4QN4CYSC.cjs');
|
|
4
|
+
var chunk6GCU5LM7_cjs = require('../chunk-6GCU5LM7.cjs');
|
|
5
5
|
require('../chunk-QJOVCH5A.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "CreateAppConfigStore", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk4QN4CYSC_cjs.CreateAppConfigStore; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "useAppSettingsStore", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk4QN4CYSC_cjs.useAppSettingsStore; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "useImpersonateStore", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk4QN4CYSC_cjs.useImpersonateStore; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "useLanguageViewStore", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk4QN4CYSC_cjs.useLanguageViewStore; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "useLayoutSettingsStore", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk4QN4CYSC_cjs.useLayoutSettingsStore; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "useUserStore", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk4QN4CYSC_cjs.useUserStore; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "useAuthStore", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk6GCU5LM7_cjs.useAuthStore; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useProjectStore", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk6GCU5LM7_cjs.useProjectStore; }
|
|
40
40
|
});
|
|
41
41
|
//# sourceMappingURL=index.cjs.map
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|
package/dist/store/index.d.cts
CHANGED
|
@@ -64,15 +64,39 @@ declare const useAppSettingsStore: zustand.UseBoundStore<Omit<zustand.StoreApi<A
|
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
66
|
|
|
67
|
+
/** Why a window is no longer the one holding the shared session. */
|
|
68
|
+
type DetachedReason = "another-project" | "console";
|
|
67
69
|
interface ImpersonateStoreState {
|
|
68
70
|
isImpersonated: boolean;
|
|
69
71
|
impersonatedTenantId: string | null;
|
|
70
72
|
originalTenantId: string | null;
|
|
71
73
|
isInitialized: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* A re-impersonation that failed. Kept in the store rather than swallowed so the guard can render
|
|
76
|
+
* a terminal state with a way out: a failure used to leave the store pinned to the *previous*
|
|
77
|
+
* project's tenant, which froze the guard's effect dependencies and meant it never retried.
|
|
78
|
+
*/
|
|
79
|
+
impersonationError: unknown;
|
|
80
|
+
/**
|
|
81
|
+
* Why this window lost the shared session, or null while it still holds it. A detached window
|
|
82
|
+
* must issue no requests: its own state is stale, and the cookie underneath it now belongs to
|
|
83
|
+
* somewhere else.
|
|
84
|
+
*
|
|
85
|
+
* The cause is kept, not just the fact, because the two read very differently to a user. Being
|
|
86
|
+
* displaced by another project is "your session moved"; being displaced by the console is "you
|
|
87
|
+
* went back to the console" -- and telling someone their project is "open in another window"
|
|
88
|
+
* when they actually returned to the console would send them looking for a window that is not
|
|
89
|
+
* there.
|
|
90
|
+
*/
|
|
91
|
+
detachedReason: DetachedReason | null;
|
|
92
|
+
/** Tenant that took the session, so the UI can name it rather than say "another window". */
|
|
93
|
+
detachedTenantId: string | null;
|
|
72
94
|
setImpersonation: (isImpersonated: boolean, originalTenantId: string | null, impersonatedTenantId: string | null) => void;
|
|
73
95
|
impersonate: (impersonatedTenantId: string, originalTenantId: string) => void;
|
|
74
96
|
terminate: (originalTenantId: string) => void;
|
|
75
97
|
setInitialized: (isInitialized: boolean) => void;
|
|
98
|
+
setImpersonationError: (impersonationError: unknown) => void;
|
|
99
|
+
setDetached: (detachedReason: DetachedReason | null, detachedTenantId?: string | null) => void;
|
|
76
100
|
reset: () => void;
|
|
77
101
|
}
|
|
78
102
|
declare const useImpersonateStore: zustand.UseBoundStore<zustand.StoreApi<ImpersonateStoreState>>;
|
|
@@ -93,13 +117,17 @@ declare const useProjectStore: zustand.UseBoundStore<Omit<zustand.StoreApi<Proje
|
|
|
93
117
|
setState(partial: ProjectStoreState | Partial<ProjectStoreState> | ((state: ProjectStoreState) => ProjectStoreState | Partial<ProjectStoreState>), replace?: false | undefined): unknown;
|
|
94
118
|
setState(state: ProjectStoreState | ((state: ProjectStoreState) => ProjectStoreState), replace: true): unknown;
|
|
95
119
|
persist: {
|
|
96
|
-
setOptions: (options: Partial<zustand_middleware.PersistOptions<ProjectStoreState,
|
|
120
|
+
setOptions: (options: Partial<zustand_middleware.PersistOptions<ProjectStoreState, {
|
|
121
|
+
projects: IProject[];
|
|
122
|
+
}, unknown>>) => void;
|
|
97
123
|
clearStorage: () => void;
|
|
98
124
|
rehydrate: () => Promise<void> | void;
|
|
99
125
|
hasHydrated: () => boolean;
|
|
100
126
|
onHydrate: (fn: (state: ProjectStoreState) => void) => () => void;
|
|
101
127
|
onFinishHydration: (fn: (state: ProjectStoreState) => void) => () => void;
|
|
102
|
-
getOptions: () => Partial<zustand_middleware.PersistOptions<ProjectStoreState,
|
|
128
|
+
getOptions: () => Partial<zustand_middleware.PersistOptions<ProjectStoreState, {
|
|
129
|
+
projects: IProject[];
|
|
130
|
+
}, unknown>>;
|
|
103
131
|
};
|
|
104
132
|
}>;
|
|
105
133
|
|
|
@@ -169,4 +197,4 @@ declare const useUserStore: zustand.UseBoundStore<Omit<zustand.StoreApi<UserStor
|
|
|
169
197
|
};
|
|
170
198
|
}>;
|
|
171
199
|
|
|
172
|
-
export { type AppSettings, type ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore };
|
|
200
|
+
export { type AppSettings, type DetachedReason, type ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore };
|
package/dist/store/index.d.ts
CHANGED
|
@@ -64,15 +64,39 @@ declare const useAppSettingsStore: zustand.UseBoundStore<Omit<zustand.StoreApi<A
|
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
66
|
|
|
67
|
+
/** Why a window is no longer the one holding the shared session. */
|
|
68
|
+
type DetachedReason = "another-project" | "console";
|
|
67
69
|
interface ImpersonateStoreState {
|
|
68
70
|
isImpersonated: boolean;
|
|
69
71
|
impersonatedTenantId: string | null;
|
|
70
72
|
originalTenantId: string | null;
|
|
71
73
|
isInitialized: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* A re-impersonation that failed. Kept in the store rather than swallowed so the guard can render
|
|
76
|
+
* a terminal state with a way out: a failure used to leave the store pinned to the *previous*
|
|
77
|
+
* project's tenant, which froze the guard's effect dependencies and meant it never retried.
|
|
78
|
+
*/
|
|
79
|
+
impersonationError: unknown;
|
|
80
|
+
/**
|
|
81
|
+
* Why this window lost the shared session, or null while it still holds it. A detached window
|
|
82
|
+
* must issue no requests: its own state is stale, and the cookie underneath it now belongs to
|
|
83
|
+
* somewhere else.
|
|
84
|
+
*
|
|
85
|
+
* The cause is kept, not just the fact, because the two read very differently to a user. Being
|
|
86
|
+
* displaced by another project is "your session moved"; being displaced by the console is "you
|
|
87
|
+
* went back to the console" -- and telling someone their project is "open in another window"
|
|
88
|
+
* when they actually returned to the console would send them looking for a window that is not
|
|
89
|
+
* there.
|
|
90
|
+
*/
|
|
91
|
+
detachedReason: DetachedReason | null;
|
|
92
|
+
/** Tenant that took the session, so the UI can name it rather than say "another window". */
|
|
93
|
+
detachedTenantId: string | null;
|
|
72
94
|
setImpersonation: (isImpersonated: boolean, originalTenantId: string | null, impersonatedTenantId: string | null) => void;
|
|
73
95
|
impersonate: (impersonatedTenantId: string, originalTenantId: string) => void;
|
|
74
96
|
terminate: (originalTenantId: string) => void;
|
|
75
97
|
setInitialized: (isInitialized: boolean) => void;
|
|
98
|
+
setImpersonationError: (impersonationError: unknown) => void;
|
|
99
|
+
setDetached: (detachedReason: DetachedReason | null, detachedTenantId?: string | null) => void;
|
|
76
100
|
reset: () => void;
|
|
77
101
|
}
|
|
78
102
|
declare const useImpersonateStore: zustand.UseBoundStore<zustand.StoreApi<ImpersonateStoreState>>;
|
|
@@ -93,13 +117,17 @@ declare const useProjectStore: zustand.UseBoundStore<Omit<zustand.StoreApi<Proje
|
|
|
93
117
|
setState(partial: ProjectStoreState | Partial<ProjectStoreState> | ((state: ProjectStoreState) => ProjectStoreState | Partial<ProjectStoreState>), replace?: false | undefined): unknown;
|
|
94
118
|
setState(state: ProjectStoreState | ((state: ProjectStoreState) => ProjectStoreState), replace: true): unknown;
|
|
95
119
|
persist: {
|
|
96
|
-
setOptions: (options: Partial<zustand_middleware.PersistOptions<ProjectStoreState,
|
|
120
|
+
setOptions: (options: Partial<zustand_middleware.PersistOptions<ProjectStoreState, {
|
|
121
|
+
projects: IProject[];
|
|
122
|
+
}, unknown>>) => void;
|
|
97
123
|
clearStorage: () => void;
|
|
98
124
|
rehydrate: () => Promise<void> | void;
|
|
99
125
|
hasHydrated: () => boolean;
|
|
100
126
|
onHydrate: (fn: (state: ProjectStoreState) => void) => () => void;
|
|
101
127
|
onFinishHydration: (fn: (state: ProjectStoreState) => void) => () => void;
|
|
102
|
-
getOptions: () => Partial<zustand_middleware.PersistOptions<ProjectStoreState,
|
|
128
|
+
getOptions: () => Partial<zustand_middleware.PersistOptions<ProjectStoreState, {
|
|
129
|
+
projects: IProject[];
|
|
130
|
+
}, unknown>>;
|
|
103
131
|
};
|
|
104
132
|
}>;
|
|
105
133
|
|
|
@@ -169,4 +197,4 @@ declare const useUserStore: zustand.UseBoundStore<Omit<zustand.StoreApi<UserStor
|
|
|
169
197
|
};
|
|
170
198
|
}>;
|
|
171
199
|
|
|
172
|
-
export { type AppSettings, type ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore };
|
|
200
|
+
export { type AppSettings, type DetachedReason, type ProjectStoreState, useAppSettingsStore, useAuthStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useProjectStore, useUserStore };
|
package/dist/store/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { CreateAppConfigStore, useAppSettingsStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useUserStore } from '../chunk-
|
|
2
|
-
export { useAuthStore, useProjectStore } from '../chunk-
|
|
1
|
+
export { CreateAppConfigStore, useAppSettingsStore, useImpersonateStore, useLanguageViewStore, useLayoutSettingsStore, useUserStore } from '../chunk-JITR3QYC.js';
|
|
2
|
+
export { useAuthStore, useProjectStore } from '../chunk-4UHGGHI6.js';
|
|
3
3
|
import '../chunk-PL4HS6R6.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1,287 +1,287 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-FKFBYT22.cjs');
|
|
3
|
+
var chunkQTSTAWK3_cjs = require('../chunk-QTSTAWK3.cjs');
|
|
4
|
+
require('../chunk-4QKE3WAW.cjs');
|
|
6
5
|
require('../chunk-X4YCRWXO.cjs');
|
|
6
|
+
require('../chunk-ZK3WUWET.cjs');
|
|
7
7
|
require('../chunk-YAF2X7W5.cjs');
|
|
8
8
|
require('../chunk-F2LXD7RI.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-6GCU5LM7.cjs');
|
|
10
10
|
require('../chunk-QJOVCH5A.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "ErrorTransformer", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQTSTAWK3_cjs.ErrorTransformer; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "SERVICE_BASE_URL_KEY", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkQTSTAWK3_cjs.SERVICE_BASE_URL_KEY; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "boolean", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkQTSTAWK3_cjs.boolean; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "clearQueryString", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkQTSTAWK3_cjs.clearQueryString; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "compareDates", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQTSTAWK3_cjs.compareDates; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "createCookieStore", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkQTSTAWK3_cjs.createCookieStore; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "createEventEmitter", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkQTSTAWK3_cjs.createEventEmitter; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "createSchema", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkQTSTAWK3_cjs.createSchema; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "createStorage", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkQTSTAWK3_cjs.createStorage; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "debounce", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkQTSTAWK3_cjs.debounce; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "deepClone", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkQTSTAWK3_cjs.deepClone; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "deepEqual", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkQTSTAWK3_cjs.deepEqual; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "deepMerge", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkQTSTAWK3_cjs.deepMerge; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "domainRegex", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkQTSTAWK3_cjs.domainRegex; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "formatBytes", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkQTSTAWK3_cjs.formatBytes; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "formatCurrency", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkQTSTAWK3_cjs.formatCurrency; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "formatDate", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkQTSTAWK3_cjs.formatDate; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "formatDuration", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkQTSTAWK3_cjs.formatDuration; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "formatFileSize", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkQTSTAWK3_cjs.formatFileSize; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "formatFullDate", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkQTSTAWK3_cjs.formatFullDate; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "formatNumber", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkQTSTAWK3_cjs.formatNumber; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "formatSeconds", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkQTSTAWK3_cjs.formatSeconds; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "generateId", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkQTSTAWK3_cjs.generateId; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "getDomain", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkQTSTAWK3_cjs.getDomain; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "getErrorMessage", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkQTSTAWK3_cjs.getErrorMessage; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "getForwardedToPath", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkQTSTAWK3_cjs.getForwardedToPath; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "getProjectBlocksApiUrl", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkQTSTAWK3_cjs.getProjectBlocksApiUrl; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "getServiceBaseUrl", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkQTSTAWK3_cjs.getServiceBaseUrl; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "getServiceSwaggerUrl", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkQTSTAWK3_cjs.getServiceSwaggerUrl; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "getSubdomain", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkQTSTAWK3_cjs.getSubdomain; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "getUniqueID", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkQTSTAWK3_cjs.getUniqueID; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "groupBy", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkQTSTAWK3_cjs.groupBy; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "handleErrorMessages", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkQTSTAWK3_cjs.handleErrorMessages; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "hasErrorCode", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkQTSTAWK3_cjs.hasErrorCode; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "isBoolean", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkQTSTAWK3_cjs.isBoolean; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "isCreditCard", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkQTSTAWK3_cjs.isCreditCard; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "isEmail", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkQTSTAWK3_cjs.isEmail; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "isErrorWithErrors", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkQTSTAWK3_cjs.isErrorWithErrors; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "isNullish", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkQTSTAWK3_cjs.isNullish; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "isNumber", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkQTSTAWK3_cjs.isNumber; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "isObject", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkQTSTAWK3_cjs.isObject; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "isPhone", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkQTSTAWK3_cjs.isPhone; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "isPlainObject", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkQTSTAWK3_cjs.isPlainObject; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "isPostalCode", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkQTSTAWK3_cjs.isPostalCode; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "isPromise", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkQTSTAWK3_cjs.isPromise; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "isString", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkQTSTAWK3_cjs.isString; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "isUrl", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkQTSTAWK3_cjs.isUrl; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "isUuid", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkQTSTAWK3_cjs.isUuid; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "isValidDate", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkQTSTAWK3_cjs.isValidDate; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "isValidDomain", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkQTSTAWK3_cjs.isValidDomain; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "isValidSubdomain", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkQTSTAWK3_cjs.isValidSubdomain; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "memoize", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkQTSTAWK3_cjs.memoize; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "number", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkQTSTAWK3_cjs.number; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "omit", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkQTSTAWK3_cjs.omit; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "parseDateString", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkQTSTAWK3_cjs.parseDateString; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "parseMongoDBString", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkQTSTAWK3_cjs.parseMongoDBString; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "parseQueryString", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkQTSTAWK3_cjs.parseQueryString; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "pick", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkQTSTAWK3_cjs.pick; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "resetQueryString", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkQTSTAWK3_cjs.resetQueryString; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "showErrorToast", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkQTSTAWK3_cjs.showErrorToast; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "showInfoToast", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkQTSTAWK3_cjs.showInfoToast; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "showSuccessToast", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkQTSTAWK3_cjs.showSuccessToast; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "sleep", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkQTSTAWK3_cjs.sleep; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "string", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkQTSTAWK3_cjs.string; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "stringifyQueryString", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkQTSTAWK3_cjs.stringifyQueryString; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "subdomainRegex", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkQTSTAWK3_cjs.subdomainRegex; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "throttle", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkQTSTAWK3_cjs.throttle; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "uniqueBy", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkQTSTAWK3_cjs.uniqueBy; }
|
|
285
285
|
});
|
|
286
286
|
//# sourceMappingURL=index.cjs.map
|
|
287
287
|
//# sourceMappingURL=index.cjs.map
|
package/dist/utils/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ErrorTransformer, SERVICE_BASE_URL_KEY, boolean, clearQueryString, compareDates, createCookieStore, createEventEmitter, createSchema, createStorage, debounce, deepClone, deepEqual, deepMerge, domainRegex, formatBytes, formatCurrency, formatDate, formatDuration, formatFileSize, formatFullDate, formatNumber, formatSeconds, generateId, getDomain, getErrorMessage, getForwardedToPath, getProjectBlocksApiUrl, getServiceBaseUrl, getServiceSwaggerUrl, getSubdomain, getUniqueID, groupBy, handleErrorMessages, hasErrorCode, isBoolean, isCreditCard, isEmail, isErrorWithErrors, isNullish, isNumber, isObject, isPhone, isPlainObject, isPostalCode, isPromise, isString, isUrl, isUuid, isValidDate, isValidDomain, isValidSubdomain, memoize, number, omit, parseDateString, parseMongoDBString, parseQueryString, pick, resetQueryString, showErrorToast, showInfoToast, showSuccessToast, sleep, string, stringifyQueryString, subdomainRegex, throttle, uniqueBy } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-WBSWAHS6.js';
|
|
1
|
+
export { ErrorTransformer, SERVICE_BASE_URL_KEY, boolean, clearQueryString, compareDates, createCookieStore, createEventEmitter, createSchema, createStorage, debounce, deepClone, deepEqual, deepMerge, domainRegex, formatBytes, formatCurrency, formatDate, formatDuration, formatFileSize, formatFullDate, formatNumber, formatSeconds, generateId, getDomain, getErrorMessage, getForwardedToPath, getProjectBlocksApiUrl, getServiceBaseUrl, getServiceSwaggerUrl, getSubdomain, getUniqueID, groupBy, handleErrorMessages, hasErrorCode, isBoolean, isCreditCard, isEmail, isErrorWithErrors, isNullish, isNumber, isObject, isPhone, isPlainObject, isPostalCode, isPromise, isString, isUrl, isUuid, isValidDate, isValidDomain, isValidSubdomain, memoize, number, omit, parseDateString, parseMongoDBString, parseQueryString, pick, resetQueryString, showErrorToast, showInfoToast, showSuccessToast, sleep, string, stringifyQueryString, subdomainRegex, throttle, uniqueBy } from '../chunk-JSXAKNHQ.js';
|
|
2
|
+
import '../chunk-46ZGVJEX.js';
|
|
4
3
|
import '../chunk-JUVLHPQI.js';
|
|
4
|
+
import '../chunk-XUQVWFG5.js';
|
|
5
5
|
import '../chunk-3MLPBMH2.js';
|
|
6
6
|
import '../chunk-BRHE44FE.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-4UHGGHI6.js';
|
|
8
8
|
import '../chunk-PL4HS6R6.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|