@temboplus/frontend-react-core 0.1.3-beta.2 → 0.1.3-beta.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.
- package/dist/{ZoomOutOutlined-BY_CCwq7.js → ZoomOutOutlined-CW-jqBMI.js} +2 -2
- package/dist/{ZoomOutOutlined-BY_CCwq7.js.map → ZoomOutOutlined-CW-jqBMI.js.map} +1 -1
- package/dist/{ZoomOutOutlined-BL6A5RSq.js → ZoomOutOutlined-Pw8hpWWK.js} +2 -2
- package/dist/{ZoomOutOutlined-BL6A5RSq.js.map → ZoomOutOutlined-Pw8hpWWK.js.map} +1 -1
- package/dist/alerts/index.cjs.js +1 -1
- package/dist/alerts/index.js +1 -1
- package/dist/dialogs/index.cjs.js +1 -1
- package/dist/dialogs/index.js +1 -1
- package/dist/features/notifications/tembo-notify.d.ts +50 -45
- package/dist/features/notifications/tembo-notify.js +70 -42
- package/dist/features/notifications/toast-config.d.ts +2 -1
- package/dist/features/notifications/toast-config.js +20 -16
- package/dist/features/notifications/toast-container.d.ts +2 -2
- package/dist/features/notifications/toast-container.js +102 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/notifications/index.cjs.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/tembo-notify-CQLeeHrK.js +2 -0
- package/dist/tembo-notify-CQLeeHrK.js.map +1 -0
- package/dist/tembo-notify-k9u2UVuM.js +2 -0
- package/dist/tembo-notify-k9u2UVuM.js.map +1 -0
- package/dist/theme/colors.d.ts +55 -23
- package/dist/theme/colors.js +192 -118
- package/dist/theme/index.cjs.js +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/theme-provider.d.ts +18 -6
- package/dist/theme/theme-provider.js +27 -21
- package/dist/theme-provider-Ca4P0Hcp.js +11 -0
- package/dist/theme-provider-Ca4P0Hcp.js.map +1 -0
- package/dist/theme-provider-RhAw3jw_.js +11 -0
- package/dist/theme-provider-RhAw3jw_.js.map +1 -0
- package/package.json +1 -1
- package/dist/tembo-notify-C-QGduBt.js +0 -2
- package/dist/tembo-notify-C-QGduBt.js.map +0 -1
- package/dist/tembo-notify-D-uOV3t0.js +0 -2
- package/dist/tembo-notify-D-uOV3t0.js.map +0 -1
- package/dist/theme-provider-D_oV1J_K.js +0 -11
- package/dist/theme-provider-D_oV1J_K.js.map +0 -1
- package/dist/theme-provider-Dqvy24OD.js +0 -11
- package/dist/theme-provider-Dqvy24OD.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ThemeConfig } from 'antd';
|
|
3
|
-
import { TemboColorPalette, TemboColorOverrides } from './colors.js';
|
|
3
|
+
import { TemboColorPalette, TemboColorOverrides, ThemeMode } from './colors.js';
|
|
4
4
|
import { TemboUIConstants, TemboUIConstantsOverrides } from './constants.js';
|
|
5
5
|
/**
|
|
6
6
|
* Shape of the theme context exposed via useTemboTheme()
|
|
@@ -8,6 +8,7 @@ import { TemboUIConstants, TemboUIConstantsOverrides } from './constants.js';
|
|
|
8
8
|
export interface TemboThemeContextValue {
|
|
9
9
|
colors: TemboColorPalette;
|
|
10
10
|
constants: TemboUIConstants;
|
|
11
|
+
mode: ThemeMode;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
14
|
* Props for TemboThemeProvider
|
|
@@ -19,6 +20,12 @@ export interface TemboThemeContextValue {
|
|
|
19
20
|
* </TemboThemeProvider>
|
|
20
21
|
*
|
|
21
22
|
* @example
|
|
23
|
+
* // With dark mode
|
|
24
|
+
* <TemboThemeProvider mode="dark">
|
|
25
|
+
* <App />
|
|
26
|
+
* </TemboThemeProvider>
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
22
29
|
* // With color overrides
|
|
23
30
|
* <TemboThemeProvider
|
|
24
31
|
* colors={{
|
|
@@ -32,6 +39,7 @@ export interface TemboThemeContextValue {
|
|
|
32
39
|
* @example
|
|
33
40
|
* // With all customizations
|
|
34
41
|
* <TemboThemeProvider
|
|
42
|
+
* mode="dark"
|
|
35
43
|
* colors={{ primary: { main: '#007bff' } }}
|
|
36
44
|
* constants={{ radius: { base: 8 } }}
|
|
37
45
|
* themeOverrides={{
|
|
@@ -45,6 +53,8 @@ export interface TemboThemeContextValue {
|
|
|
45
53
|
*/
|
|
46
54
|
export interface TemboThemeProviderProps {
|
|
47
55
|
children: React.ReactNode;
|
|
56
|
+
/** Theme mode - 'light' or 'dark' */
|
|
57
|
+
mode?: ThemeMode;
|
|
48
58
|
/** Color palette overrides - supports deep partial overrides */
|
|
49
59
|
colors?: TemboColorOverrides;
|
|
50
60
|
/** UI constants overrides - supports deep partial overrides */
|
|
@@ -57,6 +67,7 @@ export interface TemboThemeProviderProps {
|
|
|
57
67
|
*
|
|
58
68
|
* Wraps your application to provide theming through React context and Ant Design's ConfigProvider.
|
|
59
69
|
* Merges default colors/constants with host overrides and configures Ant Design components.
|
|
70
|
+
* Supports light and dark mode through the mode prop.
|
|
60
71
|
*
|
|
61
72
|
* All child components can access theme values via the useTemboTheme() hook.
|
|
62
73
|
*/
|
|
@@ -64,22 +75,23 @@ export declare const TemboThemeProvider: React.FC<TemboThemeProviderProps>;
|
|
|
64
75
|
/**
|
|
65
76
|
* Hook to access the active Tembo theme
|
|
66
77
|
*
|
|
67
|
-
* Returns the merged color palette
|
|
78
|
+
* Returns the merged color palette, UI constants, and current theme mode.
|
|
68
79
|
* Components should always use this hook instead of importing defaults directly.
|
|
69
80
|
*
|
|
70
|
-
* @returns Theme context containing colors and
|
|
81
|
+
* @returns Theme context containing colors, constants, and mode
|
|
71
82
|
*
|
|
72
83
|
* @example
|
|
73
84
|
* function MyComponent() {
|
|
74
|
-
* const { colors, constants } = useTemboTheme();
|
|
85
|
+
* const { colors, constants, mode } = useTemboTheme();
|
|
75
86
|
*
|
|
76
87
|
* return (
|
|
77
88
|
* <div style={{
|
|
78
89
|
* color: colors.text.primary,
|
|
79
90
|
* padding: constants.spacing.md,
|
|
80
|
-
* borderRadius: constants.radius.base
|
|
91
|
+
* borderRadius: constants.radius.base,
|
|
92
|
+
* backgroundColor: colors.neutral.lightest
|
|
81
93
|
* }}>
|
|
82
|
-
*
|
|
94
|
+
* Current theme: {mode}
|
|
83
95
|
* </div>
|
|
84
96
|
* );
|
|
85
97
|
* }
|
|
@@ -9,6 +9,7 @@ import { buildUIConstants, } from './constants.js';
|
|
|
9
9
|
const TemboThemeContext = React.createContext({
|
|
10
10
|
colors: buildColorPalette(),
|
|
11
11
|
constants: buildUIConstants(),
|
|
12
|
+
mode: 'light',
|
|
12
13
|
});
|
|
13
14
|
/**
|
|
14
15
|
* Build Ant Design theme configuration from Tembo tokens
|
|
@@ -16,10 +17,11 @@ const TemboThemeContext = React.createContext({
|
|
|
16
17
|
*
|
|
17
18
|
* @param palette - Complete Tembo color palette
|
|
18
19
|
* @param constants - Complete Tembo UI constants
|
|
20
|
+
* @param mode - Theme mode
|
|
19
21
|
* @param overrides - Optional raw Ant Design theme overrides
|
|
20
22
|
* @returns Ant Design ThemeConfig
|
|
21
23
|
*/
|
|
22
|
-
const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
24
|
+
const buildAntDThemeConfig = (palette, constants, mode, overrides) => {
|
|
23
25
|
var _a, _b;
|
|
24
26
|
const baseTokens = {
|
|
25
27
|
// Primary colors
|
|
@@ -94,6 +96,7 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
94
96
|
};
|
|
95
97
|
const baseTheme = {
|
|
96
98
|
token: baseTokens,
|
|
99
|
+
// algorithm: mode === 'dark' ? 'dark' : undefined,
|
|
97
100
|
components: {
|
|
98
101
|
Button: {
|
|
99
102
|
colorPrimary: palette.components.button.primary.bg,
|
|
@@ -138,7 +141,7 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
138
141
|
optionSelectedBg: palette.action.main,
|
|
139
142
|
optionSelectedColor: palette.action.contrast,
|
|
140
143
|
optionActiveBg: palette.surface.hover,
|
|
141
|
-
colorBgElevated: palette.
|
|
144
|
+
colorBgElevated: palette.neutral.brightest,
|
|
142
145
|
controlItemBgHover: palette.surface.hover,
|
|
143
146
|
boxShadowSecondary: constants.shadow.elevated,
|
|
144
147
|
borderRadius: constants.radius.input,
|
|
@@ -248,11 +251,11 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
248
251
|
borderRadiusLG: constants.radius.lg,
|
|
249
252
|
},
|
|
250
253
|
Notification: {
|
|
251
|
-
colorBgElevated: palette.
|
|
254
|
+
colorBgElevated: palette.neutral.brightest,
|
|
252
255
|
borderRadiusLG: constants.radius.base,
|
|
253
256
|
},
|
|
254
257
|
Message: {
|
|
255
|
-
contentBg: palette.
|
|
258
|
+
contentBg: palette.neutral.brightest,
|
|
256
259
|
borderRadiusLG: constants.radius.base,
|
|
257
260
|
},
|
|
258
261
|
Spin: {
|
|
@@ -265,8 +268,8 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
265
268
|
borderRadius: 100,
|
|
266
269
|
},
|
|
267
270
|
Skeleton: {
|
|
268
|
-
colorFill: palette.neutral[
|
|
269
|
-
colorFillContent: palette.neutral[
|
|
271
|
+
colorFill: palette.neutral[2],
|
|
272
|
+
colorFillContent: palette.neutral[1],
|
|
270
273
|
borderRadiusSM: constants.radius.sm,
|
|
271
274
|
},
|
|
272
275
|
Menu: {
|
|
@@ -317,10 +320,10 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
317
320
|
},
|
|
318
321
|
Layout: {
|
|
319
322
|
colorBgBody: palette.surface.background,
|
|
320
|
-
colorBgHeader: palette.
|
|
323
|
+
colorBgHeader: palette.neutral.brightest,
|
|
321
324
|
colorBgTrigger: palette.components.sidebar.bg,
|
|
322
325
|
siderBg: palette.components.sidebar.bg,
|
|
323
|
-
headerBg: palette.
|
|
326
|
+
headerBg: palette.neutral.brightest,
|
|
324
327
|
borderRadiusLG: 0,
|
|
325
328
|
},
|
|
326
329
|
Divider: {
|
|
@@ -332,19 +335,19 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
332
335
|
colorTextDescription: palette.text.tertiary,
|
|
333
336
|
},
|
|
334
337
|
Tooltip: {
|
|
335
|
-
colorBgSpotlight: palette.neutral
|
|
336
|
-
colorTextLightSolid: palette.
|
|
338
|
+
colorBgSpotlight: palette.neutral.darkest,
|
|
339
|
+
colorTextLightSolid: palette.neutral.brightest,
|
|
337
340
|
borderRadius: constants.radius.sm,
|
|
338
341
|
},
|
|
339
342
|
Popover: {
|
|
340
|
-
colorBgElevated: palette.
|
|
343
|
+
colorBgElevated: palette.neutral.brightest,
|
|
341
344
|
borderRadiusLG: constants.radius.base,
|
|
342
345
|
},
|
|
343
346
|
Dropdown: {
|
|
344
347
|
boxShadowSecondary: constants.shadow.dropdown,
|
|
345
348
|
},
|
|
346
349
|
Calendar: {
|
|
347
|
-
colorBgContainer: palette.
|
|
350
|
+
colorBgContainer: palette.neutral.brightest,
|
|
348
351
|
colorPrimary: palette.action.main,
|
|
349
352
|
borderRadiusLG: constants.radius.base,
|
|
350
353
|
},
|
|
@@ -359,38 +362,41 @@ const buildAntDThemeConfig = (palette, constants, overrides) => {
|
|
|
359
362
|
*
|
|
360
363
|
* Wraps your application to provide theming through React context and Ant Design's ConfigProvider.
|
|
361
364
|
* Merges default colors/constants with host overrides and configures Ant Design components.
|
|
365
|
+
* Supports light and dark mode through the mode prop.
|
|
362
366
|
*
|
|
363
367
|
* All child components can access theme values via the useTemboTheme() hook.
|
|
364
368
|
*/
|
|
365
|
-
export const TemboThemeProvider = ({ children, colors, constants, themeOverrides, }) => {
|
|
366
|
-
const palette = React.useMemo(() => buildColorPalette(colors), [colors]);
|
|
369
|
+
export const TemboThemeProvider = ({ children, mode = 'light', colors, constants, themeOverrides, }) => {
|
|
370
|
+
const palette = React.useMemo(() => buildColorPalette(colors, mode), [colors, mode]);
|
|
367
371
|
const uiConstants = React.useMemo(() => buildUIConstants(constants), [constants]);
|
|
368
|
-
const theme = React.useMemo(() => buildAntDThemeConfig(palette, uiConstants, themeOverrides), [palette, uiConstants, themeOverrides]);
|
|
372
|
+
const theme = React.useMemo(() => buildAntDThemeConfig(palette, uiConstants, mode, themeOverrides), [palette, uiConstants, mode, themeOverrides]);
|
|
369
373
|
const contextValue = React.useMemo(() => ({
|
|
370
374
|
colors: palette,
|
|
371
375
|
constants: uiConstants,
|
|
372
|
-
|
|
376
|
+
mode,
|
|
377
|
+
}), [palette, uiConstants, mode]);
|
|
373
378
|
return (_jsx(TemboThemeContext.Provider, { value: contextValue, children: _jsx(ConfigProvider, { theme: theme, children: children }) }));
|
|
374
379
|
};
|
|
375
380
|
/**
|
|
376
381
|
* Hook to access the active Tembo theme
|
|
377
382
|
*
|
|
378
|
-
* Returns the merged color palette
|
|
383
|
+
* Returns the merged color palette, UI constants, and current theme mode.
|
|
379
384
|
* Components should always use this hook instead of importing defaults directly.
|
|
380
385
|
*
|
|
381
|
-
* @returns Theme context containing colors and
|
|
386
|
+
* @returns Theme context containing colors, constants, and mode
|
|
382
387
|
*
|
|
383
388
|
* @example
|
|
384
389
|
* function MyComponent() {
|
|
385
|
-
* const { colors, constants } = useTemboTheme();
|
|
390
|
+
* const { colors, constants, mode } = useTemboTheme();
|
|
386
391
|
*
|
|
387
392
|
* return (
|
|
388
393
|
* <div style={{
|
|
389
394
|
* color: colors.text.primary,
|
|
390
395
|
* padding: constants.spacing.md,
|
|
391
|
-
* borderRadius: constants.radius.base
|
|
396
|
+
* borderRadius: constants.radius.base,
|
|
397
|
+
* backgroundColor: colors.neutral.lightest
|
|
392
398
|
* }}>
|
|
393
|
-
*
|
|
399
|
+
* Current theme: {mode}
|
|
394
400
|
* </div>
|
|
395
401
|
* );
|
|
396
402
|
* }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import r from"react";import{ConfigProvider as e}from"antd";import{merge as o}from"lodash";var t,a={exports:{}},n={};var i,l,c={};
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/function s(){return i||(i=1,"production"!==process.env.NODE_ENV&&function(){function e(r){if(null==r)return null;if("function"==typeof r)return r.$$typeof===R?null:r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case p:return"Fragment";case f:return"Profiler";case g:return"StrictMode";case v:return"Suspense";case S:return"SuspenseList";case w:return"Activity"}if("object"==typeof r)switch("number"==typeof r.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case m:return"Portal";case h:return(r.displayName||"Context")+".Provider";case y:return(r._context.displayName||"Context")+".Consumer";case x:var o=r.render;return(r=r.displayName)||(r=""!==(r=o.displayName||o.name||"")?"ForwardRef("+r+")":"ForwardRef"),r;case B:return null!==(o=r.displayName||null)?o:e(r.type)||"Memo";case k:o=r._payload,r=r._init;try{return e(r(o))}catch(r){}}return null}function o(r){return""+r}function t(r){try{o(r);var e=!1}catch(r){e=!0}if(e){var t=(e=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return t.call(e,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),o(r)}}function a(r){if(r===p)return"<>";if("object"==typeof r&&null!==r&&r.$$typeof===k)return"<...>";try{var o=e(r);return o?"<"+o+">":"<...>"}catch(r){return"<...>"}}function n(){return Error("react-stack-top-frame")}function i(){var r=e(this.type);return F[r]||(F[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(r=this.props.ref)?r:null}function l(r,o,a,n,l,c,u,m){var p,g=o.children;if(void 0!==g)if(n)if(H(g)){for(n=0;n<g.length;n++)s(g[n]);Object.freeze&&Object.freeze(g)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(g);if(T.call(o,"key")){g=e(r);var f=Object.keys(o).filter(function(r){return"key"!==r});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",E[g+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',n,g,f,g),E[g+n]=!0)}if(g=null,void 0!==a&&(t(a),g=""+a),function(r){if(T.call(r,"key")){var e=Object.getOwnPropertyDescriptor(r,"key").get;if(e&&e.isReactWarning)return!1}return void 0!==r.key}(o)&&(t(o.key),g=""+o.key),"key"in o)for(var y in a={},o)"key"!==y&&(a[y]=o[y]);else a=o;return g&&function(r,e){function o(){d||(d=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",e))}o.isReactWarning=!0,Object.defineProperty(r,"key",{get:o,configurable:!0})}(a,"function"==typeof r?r.displayName||r.name||"Unknown":r),function(r,e,o,t,a,n,l,c){return o=n.ref,r={$$typeof:b,type:r,key:e,props:n,_owner:a},null!==(void 0!==o?o:null)?Object.defineProperty(r,"ref",{enumerable:!1,get:i}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(r,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.defineProperty(r,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}(r,g,c,0,null===(p=C.A)?null:p.getOwner(),a,u,m)}function s(r){"object"==typeof r&&null!==r&&r.$$typeof===b&&r._store&&(r._store.validated=1)}var d,u=r,b=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),h=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),R=Symbol.for("react.client.reference"),C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,H=Array.isArray,P=console.createTask?console.createTask:function(){return null},F={},j=(u={"react-stack-bottom-frame":function(r){return r()}})["react-stack-bottom-frame"].bind(u,n)(),O=P(a(n)),E={};c.Fragment=p,c.jsx=function(r,e,o,t,n){var i=1e4>C.recentlyCreatedOwnerStacks++;return l(r,e,o,!1,0,n,i?Error("react-stack-top-frame"):j,i?P(a(r)):O)},c.jsxs=function(r,e,o,t,n){var i=1e4>C.recentlyCreatedOwnerStacks++;return l(r,e,o,!0,0,n,i?Error("react-stack-top-frame"):j,i?P(a(r)):O)}}()),c}var d=(l||(l=1,"production"===process.env.NODE_ENV?a.exports=function(){if(t)return n;t=1;var r=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function o(e,o,t){var a=null;if(void 0!==t&&(a=""+t),void 0!==o.key&&(a=""+o.key),"key"in o)for(var n in t={},o)"key"!==n&&(t[n]=o[n]);else t=o;return o=t.ref,{$$typeof:r,type:e,key:a,ref:void 0!==o?o:null,props:t}}return n.Fragment=e,n.jsx=o,n.jsxs=o,n}():a.exports=s()),a.exports);const u={neutral:{0:"#ffffff",1:"#fafafa",2:"#f5f5f5",3:"#f0f0f0",4:"#e5e5e5",5:"#d4d4d4",6:"#b3b3b3",7:"#999999",8:"#666666",9:"#1a1a1a",10:"#000000"}},b={neutral:{0:"#000000",1:"#1a1a1a",2:"#666666",3:"#999999",4:"#b3b3b3",5:"#d4d4d4",6:"#e5e5e5",7:"#f0f0f0",8:"#f5f5f5",9:"#fafafa",10:"#ffffff"}},m=r=>{const e="light"===r?u:b;return{primary:{main:"#000000",hover:"#1a1a1a",active:"#000000",light:"#666666",lighter:"#999999",contrast:"#FFFFFF"},action:{main:"#1a6985",hover:"#145268",active:"#0f3d4f",light:"#e8f2f5",lighter:"#f4f9fa",disabled:"#a3c9d6",contrast:"#FFFFFF"},absolute:{white:"#ffffff",black:"#000000"},neutral:{0:e.neutral[0],1:e.neutral[1],2:e.neutral[2],3:e.neutral[3],4:e.neutral[4],5:e.neutral[5],6:e.neutral[6],7:e.neutral[7],8:e.neutral[8],9:e.neutral[9],10:e.neutral[10],brightest:e.neutral[0],lightest:e.neutral[1],lighter:e.neutral[2],light:e.neutral[3],medium:e.neutral[5],dark:e.neutral[7],darker:e.neutral[8],darkest:e.neutral[9],dimmest:e.neutral[10]},success:{main:"#10b981",bg:"#ecfdf5",border:"#a7f3d0",text:"#047857"},error:{main:"#ef4444",bg:"#fef2f2",border:"#fecaca",text:"#dc2626"},warning:{main:"#f59e0b",bg:"#fffbeb",border:"#fde68a",text:"#d97706"},info:{main:"#1a6985",bg:"#e8f2f5",border:"#b8d9e6",text:"#0f3d4f"},surface:{background:e.neutral[0],main:e.neutral[0],elevated:e.neutral[0],hover:e.neutral[1],subtle:e.neutral[1]},text:{primary:e.neutral[10],secondary:e.neutral[8],tertiary:e.neutral[7],quaternary:e.neutral[6],disabled:e.neutral[5],inverse:e.neutral[0]},border:{main:e.neutral[4],light:e.neutral[3],strong:e.neutral[5],divider:e.neutral[4]},components:{button:{primary:{bg:"#1a6985",hover:"#145268",text:"#FFFFFF"},default:{bg:e.neutral[0],border:e.neutral[5],text:e.neutral[10],hover:e.neutral[1]}},input:{bg:e.neutral[0],border:e.neutral[5],borderHover:e.neutral[7],borderFocus:"#1a6985",placeholder:e.neutral[7]},table:{bg:e.neutral[0],headerBg:e.neutral[1],headerText:e.neutral[10],border:e.neutral[4],rowHover:e.neutral[1]},sidebar:{bg:"#000000",hover:"rgba(255, 255, 255, 0.08)",selected:"rgba(255, 255, 255, 0.12)",text:"#FFFFFF",textSecondary:"rgba(255, 255, 255, 0.65)"}},utility:{transparent:"transparent",link:"#1a6985",linkHover:"#145268",linkActive:"#0f3d4f"}}},p=m("light"),g=(r,e="light")=>{const t=m(e);if(!r)return t;const a=o({},t,r);return a.neutral.brightest=a.neutral[0],a.neutral.lightest=a.neutral[1],a.neutral.lighter=a.neutral[2],a.neutral.light=a.neutral[3],a.neutral.medium=a.neutral[5],a.neutral.dark=a.neutral[7],a.neutral.darker=a.neutral[8],a.neutral.darkest=a.neutral[9],a.neutral.dimmest=a.neutral[10],a},f={typography:{fontFamily:"Avenir, MarkPro, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",fontSize:{xs:12,sm:13,base:14,lg:16,xl:18},fontWeight:{normal:400,medium:500,semibold:600,bold:700},lineHeight:{tight:1.25,base:1.5715,relaxed:1.75}},spacing:{xs:4,sm:8,md:12,lg:16,xl:24,"2xl":32,"3xl":48},radius:{none:0,sm:8,base:12,md:14,lg:16,xl:20,full:9999,button:24,input:10,card:16},shadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08)",card:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",elevated:"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08)",dropdown:"0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08)"},zIndex:{dropdown:1e3,modal:1050,popover:1060,tooltip:1070,notification:1080},transition:{fast:"150ms cubic-bezier(0.4, 0, 0.2, 1)",base:"200ms cubic-bezier(0.4, 0, 0.2, 1)",slow:"300ms cubic-bezier(0.4, 0, 0.2, 1)"}},y=r=>r?o(f,r):f,h=r.createContext({colors:g(),constants:y(),mode:"light"}),x=({children:o,mode:t="light",colors:a,constants:n,themeOverrides:i})=>{const l=r.useMemo(()=>g(a,t),[a,t]),c=r.useMemo(()=>y(n),[n]),s=r.useMemo(()=>((r,e,o,t)=>{var a,n;const i={token:{colorPrimary:r.primary.main,colorPrimaryHover:r.primary.hover,colorPrimaryActive:r.primary.active,colorPrimaryBorder:r.primary.main,colorText:r.text.primary,colorTextSecondary:r.text.secondary,colorTextTertiary:r.text.tertiary,colorTextQuaternary:r.text.quaternary,colorTextDisabled:r.text.disabled,colorBgBase:r.surface.background,colorBgContainer:r.surface.main,colorBgElevated:r.surface.elevated,colorBgLayout:r.surface.background,colorBgSpotlight:r.surface.hover,colorBorder:r.border.main,colorBorderSecondary:r.border.light,colorSplit:r.border.divider,colorSuccess:r.success.main,colorSuccessBg:r.success.bg,colorSuccessBorder:r.success.border,colorSuccessText:r.success.text,colorError:r.error.main,colorErrorBg:r.error.bg,colorErrorBorder:r.error.border,colorErrorText:r.error.text,colorWarning:r.warning.main,colorWarningBg:r.warning.bg,colorWarningBorder:r.warning.border,colorWarningText:r.warning.text,colorInfo:r.info.main,colorInfoBg:r.info.bg,colorInfoBorder:r.info.border,colorInfoText:r.info.text,colorLink:r.utility.link,colorLinkHover:r.utility.linkHover,colorLinkActive:r.utility.linkActive,borderRadius:e.radius.base,borderRadiusLG:e.radius.lg,borderRadiusSM:e.radius.sm,borderRadiusXS:6,boxShadow:e.shadow.base,boxShadowSecondary:e.shadow.card,boxShadowTertiary:e.shadow.elevated,fontFamily:e.typography.fontFamily,fontSize:e.typography.fontSize.base,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:e.typography.fontSize.lg,fontWeightStrong:e.typography.fontWeight.medium,lineHeight:e.typography.lineHeight.base,lineHeightHeading1:1.21,lineHeightHeading2:1.27,lineHeightHeading3:1.33,lineHeightHeading4:1.4,lineHeightHeading5:1.5},components:{Button:{colorPrimary:r.components.button.primary.bg,colorPrimaryHover:r.components.button.primary.hover,colorPrimaryActive:r.action.active,colorPrimaryBorder:r.components.button.primary.bg,primaryColor:r.components.button.primary.text,colorBorder:r.components.button.default.border,colorBgContainer:r.components.button.default.bg,colorText:r.components.button.default.text,defaultBg:r.components.button.default.bg,defaultBorderColor:r.components.button.default.border,defaultColor:r.components.button.default.text,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",fontWeight:e.typography.fontWeight.medium,controlHeight:32,paddingContentHorizontal:e.spacing.lg,borderRadius:e.radius.button,borderRadiusLG:e.radius.button,borderRadiusSM:e.radius.sm+8},Input:{colorBgContainer:r.components.input.bg,colorBorder:r.components.input.border,hoverBorderColor:r.components.input.borderHover,activeBorderColor:r.components.input.borderFocus,colorPrimaryHover:r.components.input.borderFocus,colorTextPlaceholder:r.components.input.placeholder,borderRadius:e.radius.input,borderRadiusLG:e.radius.base,borderRadiusSM:e.radius.sm},Select:{colorBgContainer:r.components.input.bg,colorBorder:r.components.input.border,colorTextPlaceholder:r.components.input.placeholder,colorPrimaryHover:r.action.main,hoverBorderColor:r.components.input.borderHover,activeBorderColor:r.components.input.borderFocus,optionSelectedBg:r.action.main,optionSelectedColor:r.action.contrast,optionActiveBg:r.surface.hover,colorBgElevated:r.neutral.brightest,controlItemBgHover:r.surface.hover,boxShadowSecondary:e.shadow.elevated,borderRadius:e.radius.input,borderRadiusLG:e.radius.base,borderRadiusSM:e.radius.sm},Checkbox:{colorPrimary:r.action.main,colorPrimaryHover:r.action.hover,colorBorder:r.border.strong,borderRadiusSM:6},Radio:{colorPrimary:r.action.main,colorPrimaryHover:r.action.hover,colorBorder:r.border.strong},Switch:{colorPrimary:r.action.main,colorPrimaryHover:r.action.hover,colorTextQuaternary:r.text.quaternary},Form:{labelColor:r.text.primary,labelRequiredMarkColor:r.error.main,labelFontSize:e.typography.fontSize.base,itemMarginBottom:e.spacing.lg},DatePicker:{colorBgContainer:r.components.input.bg,colorBorder:r.components.input.border,hoverBorderColor:r.components.input.borderHover,activeBorderColor:r.components.input.borderFocus,colorPrimary:r.action.main,borderRadius:e.radius.input},InputNumber:{borderRadius:e.radius.input},Table:{colorBgContainer:r.components.table.bg,headerBg:r.components.table.headerBg,headerColor:r.components.table.headerText,borderColor:r.components.table.border,headerSplitColor:r.components.table.border,rowHoverBg:r.components.table.rowHover,rowSelectedBg:r.action.light,rowSelectedHoverBg:r.action.lighter,colorText:r.text.primary,colorTextHeading:r.text.primary,borderRadius:e.radius.base,borderRadiusLG:e.radius.lg},Card:{colorBgContainer:r.surface.main,colorBorder:r.border.main,colorBorderSecondary:r.border.light,boxShadowTertiary:e.shadow.card,borderRadius:e.radius.card,borderRadiusLG:e.radius.lg+4},Statistic:{contentFontSize:24,colorTextHeading:r.text.primary},Descriptions:{labelBg:r.surface.hover,colorTextSecondary:r.text.secondary,itemPaddingBottom:e.spacing.md},Badge:{colorError:r.error.main,colorSuccess:r.success.main,colorInfo:r.info.main,colorInfoBg:r.info.bg,borderRadiusSM:e.radius.input},Tag:{colorBorder:r.border.main,defaultBg:r.surface.hover,borderRadiusSM:e.radius.sm},Timeline:{dotBg:r.surface.main,tailColor:r.border.main},Alert:{colorSuccessBg:r.success.bg,colorSuccessBorder:r.success.border,colorErrorBg:r.error.bg,colorErrorBorder:r.error.border,colorWarningBg:r.warning.bg,colorWarningBorder:r.warning.border,colorInfoBg:r.info.bg,colorInfoBorder:r.info.border,borderRadiusLG:e.radius.base},Modal:{contentBg:r.surface.elevated,headerBg:r.surface.elevated,colorBgMask:"rgba(0, 0, 0, 0.45)",borderRadiusLG:e.radius.lg},Drawer:{colorBgElevated:r.surface.elevated,colorBgMask:"rgba(0, 0, 0, 0.45)",borderRadiusLG:e.radius.lg},Notification:{colorBgElevated:r.neutral.brightest,borderRadiusLG:e.radius.base},Message:{contentBg:r.neutral.brightest,borderRadiusLG:e.radius.base},Spin:{colorPrimary:r.primary.main},Progress:{colorSuccess:r.success.main,colorError:r.error.main,defaultColor:r.primary.main,borderRadius:100},Skeleton:{colorFill:r.neutral[2],colorFillContent:r.neutral[1],borderRadiusSM:e.radius.sm},Menu:{itemBg:"transparent",itemColor:r.text.primary,itemHoverBg:r.surface.hover,itemSelectedBg:r.action.lighter,itemSelectedColor:r.action.main,itemActiveBg:r.action.lighter,subMenuItemBg:"transparent",darkItemBg:r.components.sidebar.bg,darkSubMenuItemBg:r.components.sidebar.bg,darkItemColor:r.components.sidebar.text,darkItemHoverBg:r.components.sidebar.hover,darkItemSelectedBg:r.components.sidebar.selected,darkItemSelectedColor:r.primary.contrast,borderRadius:e.radius.input,borderRadiusLG:e.radius.base},Breadcrumb:{linkColor:r.utility.link,linkHoverColor:r.utility.linkHover,itemColor:r.text.secondary,lastItemColor:r.text.primary,separatorColor:r.text.tertiary,borderRadiusSM:6},Pagination:{colorPrimary:r.primary.main,colorPrimaryHover:r.primary.hover,itemActiveBg:r.primary.main,borderRadius:e.radius.sm},Steps:{colorPrimary:r.action.main,colorText:r.text.secondary,colorTextDescription:r.text.tertiary,borderRadiusSM:100},Tabs:{colorPrimary:r.action.main,colorBorderSecondary:r.border.main,itemColor:r.text.secondary,itemHoverColor:r.action.hover,itemSelectedColor:r.action.main,inkBarColor:r.action.main,borderRadiusSM:e.radius.sm},Layout:{colorBgBody:r.surface.background,colorBgHeader:r.neutral.brightest,colorBgTrigger:r.components.sidebar.bg,siderBg:r.components.sidebar.bg,headerBg:r.neutral.brightest,borderRadiusLG:0},Divider:{colorSplit:r.border.divider},Typography:{colorText:r.text.primary,colorTextSecondary:r.text.secondary,colorTextDescription:r.text.tertiary},Tooltip:{colorBgSpotlight:r.neutral.darkest,colorTextLightSolid:r.neutral.brightest,borderRadius:e.radius.sm},Popover:{colorBgElevated:r.neutral.brightest,borderRadiusLG:e.radius.base},Dropdown:{boxShadowSecondary:e.shadow.dropdown},Calendar:{colorBgContainer:r.neutral.brightest,colorPrimary:r.action.main,borderRadiusLG:e.radius.base}}};return t?Object.assign(Object.assign({},i),{token:Object.assign(Object.assign({},i.token),null!==(a=t.token)&&void 0!==a?a:{}),components:Object.assign(Object.assign({},i.components),null!==(n=t.components)&&void 0!==n?n:{})}):i})(l,c,0,i),[l,c,t,i]),u=r.useMemo(()=>({colors:l,constants:c,mode:t}),[l,c,t]);return d.jsx(h.Provider,{value:u,children:d.jsx(e,{theme:s,children:o})})},v=()=>r.useContext(h);export{x as T,f as a,g as b,y as c,p as d,d as j,v as u};
|
|
11
|
+
//# sourceMappingURL=theme-provider-Ca4P0Hcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider-Ca4P0Hcp.js","sources":["../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../node_modules/react/cjs/react-jsx-runtime.production.js","../src/theme/colors.ts","../src/theme/constants.ts","../src/theme/theme-provider.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n",null,null,null],"names":["process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","source","self","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","key","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","validated","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","exports","jsxProd","reactJsxRuntime_production","require$$1","lightModeColors","neutral","darkModeColors","buildDefaultPalette","mode","modeColors","primary","main","hover","active","light","lighter","contrast","action","disabled","absolute","white","black","brightest","lightest","medium","dark","darker","darkest","dimmest","success","bg","border","text","warning","info","surface","background","elevated","subtle","secondary","tertiary","quaternary","inverse","strong","divider","components","button","default","input","borderHover","borderFocus","placeholder","table","headerBg","headerText","rowHover","sidebar","selected","textSecondary","utility","transparent","link","linkHover","linkActive","defaultColorPalette","buildColorPalette","overrides","basePalette","merged","merge","defaultUIConstants","typography","fontFamily","fontSize","xs","sm","base","lg","xl","fontWeight","normal","semibold","bold","lineHeight","tight","relaxed","spacing","md","radius","none","full","card","shadow","dropdown","zIndex","modal","popover","tooltip","notification","transition","fast","slow","buildUIConstants","TemboThemeContext","createContext","colors","constants","TemboThemeProvider","themeOverrides","palette","useMemo","uiConstants","theme","baseTheme","token","colorPrimary","colorPrimaryHover","colorPrimaryActive","colorPrimaryBorder","colorText","colorTextSecondary","colorTextTertiary","colorTextQuaternary","colorTextDisabled","colorBgBase","colorBgContainer","colorBgElevated","colorBgLayout","colorBgSpotlight","colorBorder","colorBorderSecondary","colorSplit","colorSuccess","colorSuccessBg","colorSuccessBorder","colorSuccessText","colorError","colorErrorBg","colorErrorBorder","colorErrorText","colorWarning","colorWarningBg","colorWarningBorder","colorWarningText","colorInfo","colorInfoBg","colorInfoBorder","colorInfoText","colorLink","colorLinkHover","colorLinkActive","borderRadius","borderRadiusLG","borderRadiusSM","borderRadiusXS","boxShadow","boxShadowSecondary","boxShadowTertiary","fontSizeHeading1","fontSizeHeading2","fontSizeHeading3","fontSizeHeading4","fontSizeHeading5","fontWeightStrong","lineHeightHeading1","lineHeightHeading2","lineHeightHeading3","lineHeightHeading4","lineHeightHeading5","Button","primaryColor","defaultBg","defaultBorderColor","defaultColor","primaryShadow","defaultShadow","dangerShadow","controlHeight","paddingContentHorizontal","Input","hoverBorderColor","activeBorderColor","colorTextPlaceholder","Select","optionSelectedBg","optionSelectedColor","optionActiveBg","controlItemBgHover","Checkbox","Radio","Switch","Form","labelColor","labelRequiredMarkColor","labelFontSize","itemMarginBottom","DatePicker","InputNumber","Table","headerColor","borderColor","headerSplitColor","rowHoverBg","rowSelectedBg","rowSelectedHoverBg","colorTextHeading","Card","Statistic","contentFontSize","Descriptions","labelBg","itemPaddingBottom","Badge","Tag","Timeline","dotBg","tailColor","Alert","Modal","contentBg","colorBgMask","Drawer","Notification","Message","Spin","Progress","Skeleton","colorFill","colorFillContent","Menu","itemBg","itemColor","itemHoverBg","itemSelectedBg","itemSelectedColor","itemActiveBg","subMenuItemBg","darkItemBg","darkSubMenuItemBg","darkItemColor","darkItemHoverBg","darkItemSelectedBg","darkItemSelectedColor","Breadcrumb","linkColor","linkHoverColor","lastItemColor","separatorColor","Pagination","Steps","colorTextDescription","Tabs","itemHoverColor","inkBarColor","Layout","colorBgBody","colorBgHeader","colorBgTrigger","siderBg","Divider","Typography","Tooltip","colorTextLightSolid","Popover","Dropdown","Calendar","assign","_a","_b","buildAntDThemeConfig","contextValue","_jsx","Provider","ConfigProvider","useTemboTheme","useContext"],"mappings":";;;;;;;;;+BAWA,eAAiBA,QAAQC,IAAIC,UAC3B,WACE,SAASC,EAAyBC,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKC,WAAaC,EACrB,KACAF,EAAKG,aAAeH,EAAKI,MAAQ,KACvC,GAAI,iBAAoBJ,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKK,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoBV,EACtB,OACG,iBAAoBA,EAAKW,KACxBC,QAAQC,MACN,qHAEJb,EAAKC,UAEL,KAAKa,EACH,MAAO,SACT,KAAKC,EACH,OAAQf,EAAKG,aAAe,WAAa,YAC3C,KAAKa,EACH,OAAQhB,EAAKiB,SAASd,aAAe,WAAa,YACpD,KAAKe,EACH,IAAIC,EAAYnB,EAAKoB,OAKr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AqBzJ,EAAQxG,QAAQiB,UACrCiI,aAAc7C,EAAUlB,OAAOb,IAGnC4L,QAAS,CACLzI,gBAAiBjB,EAAQxG,QAAQiB,UACjCkI,eAAgB9C,EAAUlB,OAAOZ,MAGrC4L,SAAU,CACN5G,mBAAoBlD,EAAUd,OAAOC,UAGzC4K,SAAU,CACN5I,iBAAkBhB,EAAQxG,QAAQiB,UAClC6F,aAAcN,EAAQ5F,OAAON,KAC7B6I,eAAgB9C,EAAUlB,OAAOZ,QAK7C,OAAKV,EAELrH,OAAA6T,OAAA7T,OAAA6T,OAAA,CAAA,EACOzJ,GAAS,CACZC,MAAKrK,OAAA6T,OAAA7T,OAAA6T,OAAA,GAAOzJ,EAAUC,OAA0B,QAAfyJ,EAAAzM,EAAUgD,aAAK,IAAAyJ,EAAAA,EAAI,IACpD9N,WAAUhG,OAAA6T,OAAA7T,OAAA6T,OAAA,CAAA,EACHzJ,EAAUpE,YACW,QAApB+N,EAAA1M,EAAUrB,kBAAU,IAAA+N,EAAAA,EAAI,CAAA,KAPb3J,GAuCb4J,CAAqBhK,EAASE,EAAavG,EAAMoG,GACvD,CAACC,EAASE,EAAavG,EAAMoG,IAG3BkK,EAAejS,EAAMiI,QACvB,KAAA,CACIL,OAAQI,EACRH,UAAWK,EACXvG,SAEJ,CAACqG,EAASE,EAAavG,IAG3B,OACIuQ,EAAAA,IAACxK,EAAkByK,SAAQ,CAACnW,MAAOiW,EAAYrU,SAC3CsU,EAAAA,IAACE,EAAc,CAACjK,MAAOA,WAAQvK,OA6B9ByU,EAAgB,IACzBrS,EAAMsS,WAAW5K","x_google_ignoreList":[0,1,2]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";var e=require("react"),r=require("antd"),o=require("lodash");function t(e){return e&&e.__esModule?e:{default:e}}var a,n=t(e),i={exports:{}},l={};var s,c,d={};
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/function u(){return s||(s=1,"production"!==process.env.NODE_ENV&&function(){function e(r){if(null==r)return null;if("function"==typeof r)return r.$$typeof===R?null:r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case p:return"Fragment";case f:return"Profiler";case g:return"StrictMode";case v:return"Suspense";case S:return"SuspenseList";case w:return"Activity"}if("object"==typeof r)switch("number"==typeof r.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case m:return"Portal";case h:return(r.displayName||"Context")+".Provider";case y:return(r._context.displayName||"Context")+".Consumer";case x:var o=r.render;return(r=r.displayName)||(r=""!==(r=o.displayName||o.name||"")?"ForwardRef("+r+")":"ForwardRef"),r;case B:return null!==(o=r.displayName||null)?o:e(r.type)||"Memo";case k:o=r._payload,r=r._init;try{return e(r(o))}catch(e){}}return null}function r(e){return""+e}function o(e){try{r(e);var o=!1}catch(e){o=!0}if(o){var t=(o=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),r(e)}}function t(r){if(r===p)return"<>";if("object"==typeof r&&null!==r&&r.$$typeof===k)return"<...>";try{var o=e(r);return o?"<"+o+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function i(){var r=e(this.type);return F[r]||(F[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(r=this.props.ref)?r:null}function l(r,t,a,n,l,d,u,m){var p,g=t.children;if(void 0!==g)if(n)if(P(g)){for(n=0;n<g.length;n++)s(g[n]);Object.freeze&&Object.freeze(g)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(g);if(T.call(t,"key")){g=e(r);var f=Object.keys(t).filter(function(e){return"key"!==e});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",_[g+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',n,g,f,g),_[g+n]=!0)}if(g=null,void 0!==a&&(o(a),g=""+a),function(e){if(T.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(t)&&(o(t.key),g=""+t.key),"key"in t)for(var y in a={},t)"key"!==y&&(a[y]=t[y]);else a=t;return g&&function(e,r){function o(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(a,"function"==typeof r?r.displayName||r.name||"Unknown":r),function(e,r,o,t,a,n,l,s){return o=n.ref,e={$$typeof:b,type:e,key:r,props:n,_owner:a},null!==(void 0!==o?o:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(r,g,d,0,null===(p=C.A)?null:p.getOwner(),a,u,m)}function s(e){"object"==typeof e&&null!==e&&e.$$typeof===b&&e._store&&(e._store.validated=1)}var c,u=n.default,b=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),h=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),R=Symbol.for("react.client.reference"),C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,P=Array.isArray,H=console.createTask?console.createTask:function(){return null},F={},j=(u={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(u,a)(),O=H(t(a)),_={};d.Fragment=p,d.jsx=function(e,r,o,a,n){var i=1e4>C.recentlyCreatedOwnerStacks++;return l(e,r,o,!1,0,n,i?Error("react-stack-top-frame"):j,i?H(t(e)):O)},d.jsxs=function(e,r,o,a,n){var i=1e4>C.recentlyCreatedOwnerStacks++;return l(e,r,o,!0,0,n,i?Error("react-stack-top-frame"):j,i?H(t(e)):O)}}()),d}var b=(c||(c=1,"production"===process.env.NODE_ENV?i.exports=function(){if(a)return l;a=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(r,o,t){var a=null;if(void 0!==t&&(a=""+t),void 0!==o.key&&(a=""+o.key),"key"in o)for(var n in t={},o)"key"!==n&&(t[n]=o[n]);else t=o;return o=t.ref,{$$typeof:e,type:r,key:a,ref:void 0!==o?o:null,props:t}}return l.Fragment=r,l.jsx=o,l.jsxs=o,l}():i.exports=u()),i.exports);const m={neutral:{0:"#ffffff",1:"#fafafa",2:"#f5f5f5",3:"#f0f0f0",4:"#e5e5e5",5:"#d4d4d4",6:"#b3b3b3",7:"#999999",8:"#666666",9:"#1a1a1a",10:"#000000"}},p={neutral:{0:"#000000",1:"#1a1a1a",2:"#666666",3:"#999999",4:"#b3b3b3",5:"#d4d4d4",6:"#e5e5e5",7:"#f0f0f0",8:"#f5f5f5",9:"#fafafa",10:"#ffffff"}},g=e=>{const r="light"===e?m:p;return{primary:{main:"#000000",hover:"#1a1a1a",active:"#000000",light:"#666666",lighter:"#999999",contrast:"#FFFFFF"},action:{main:"#1a6985",hover:"#145268",active:"#0f3d4f",light:"#e8f2f5",lighter:"#f4f9fa",disabled:"#a3c9d6",contrast:"#FFFFFF"},absolute:{white:"#ffffff",black:"#000000"},neutral:{0:r.neutral[0],1:r.neutral[1],2:r.neutral[2],3:r.neutral[3],4:r.neutral[4],5:r.neutral[5],6:r.neutral[6],7:r.neutral[7],8:r.neutral[8],9:r.neutral[9],10:r.neutral[10],brightest:r.neutral[0],lightest:r.neutral[1],lighter:r.neutral[2],light:r.neutral[3],medium:r.neutral[5],dark:r.neutral[7],darker:r.neutral[8],darkest:r.neutral[9],dimmest:r.neutral[10]},success:{main:"#10b981",bg:"#ecfdf5",border:"#a7f3d0",text:"#047857"},error:{main:"#ef4444",bg:"#fef2f2",border:"#fecaca",text:"#dc2626"},warning:{main:"#f59e0b",bg:"#fffbeb",border:"#fde68a",text:"#d97706"},info:{main:"#1a6985",bg:"#e8f2f5",border:"#b8d9e6",text:"#0f3d4f"},surface:{background:r.neutral[0],main:r.neutral[0],elevated:r.neutral[0],hover:r.neutral[1],subtle:r.neutral[1]},text:{primary:r.neutral[10],secondary:r.neutral[8],tertiary:r.neutral[7],quaternary:r.neutral[6],disabled:r.neutral[5],inverse:r.neutral[0]},border:{main:r.neutral[4],light:r.neutral[3],strong:r.neutral[5],divider:r.neutral[4]},components:{button:{primary:{bg:"#1a6985",hover:"#145268",text:"#FFFFFF"},default:{bg:r.neutral[0],border:r.neutral[5],text:r.neutral[10],hover:r.neutral[1]}},input:{bg:r.neutral[0],border:r.neutral[5],borderHover:r.neutral[7],borderFocus:"#1a6985",placeholder:r.neutral[7]},table:{bg:r.neutral[0],headerBg:r.neutral[1],headerText:r.neutral[10],border:r.neutral[4],rowHover:r.neutral[1]},sidebar:{bg:"#000000",hover:"rgba(255, 255, 255, 0.08)",selected:"rgba(255, 255, 255, 0.12)",text:"#FFFFFF",textSecondary:"rgba(255, 255, 255, 0.65)"}},utility:{transparent:"transparent",link:"#1a6985",linkHover:"#145268",linkActive:"#0f3d4f"}}},f=g("light"),y=(e,r="light")=>{const t=g(r);if(!e)return t;const a=o.merge({},t,e);return a.neutral.brightest=a.neutral[0],a.neutral.lightest=a.neutral[1],a.neutral.lighter=a.neutral[2],a.neutral.light=a.neutral[3],a.neutral.medium=a.neutral[5],a.neutral.dark=a.neutral[7],a.neutral.darker=a.neutral[8],a.neutral.darkest=a.neutral[9],a.neutral.dimmest=a.neutral[10],a},h={typography:{fontFamily:"Avenir, MarkPro, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",fontSize:{xs:12,sm:13,base:14,lg:16,xl:18},fontWeight:{normal:400,medium:500,semibold:600,bold:700},lineHeight:{tight:1.25,base:1.5715,relaxed:1.75}},spacing:{xs:4,sm:8,md:12,lg:16,xl:24,"2xl":32,"3xl":48},radius:{none:0,sm:8,base:12,md:14,lg:16,xl:20,full:9999,button:24,input:10,card:16},shadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08)",card:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",elevated:"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08)",dropdown:"0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08)"},zIndex:{dropdown:1e3,modal:1050,popover:1060,tooltip:1070,notification:1080},transition:{fast:"150ms cubic-bezier(0.4, 0, 0.2, 1)",base:"200ms cubic-bezier(0.4, 0, 0.2, 1)",slow:"300ms cubic-bezier(0.4, 0, 0.2, 1)"}},x=e=>e?o.merge(h,e):h,v=n.default.createContext({colors:y(),constants:x(),mode:"light"});exports.TemboThemeProvider=({children:e,mode:o="light",colors:t,constants:a,themeOverrides:i})=>{const l=n.default.useMemo(()=>y(t,o),[t,o]),s=n.default.useMemo(()=>x(a),[a]),c=n.default.useMemo(()=>((e,r,o,t)=>{var a,n;const i={token:{colorPrimary:e.primary.main,colorPrimaryHover:e.primary.hover,colorPrimaryActive:e.primary.active,colorPrimaryBorder:e.primary.main,colorText:e.text.primary,colorTextSecondary:e.text.secondary,colorTextTertiary:e.text.tertiary,colorTextQuaternary:e.text.quaternary,colorTextDisabled:e.text.disabled,colorBgBase:e.surface.background,colorBgContainer:e.surface.main,colorBgElevated:e.surface.elevated,colorBgLayout:e.surface.background,colorBgSpotlight:e.surface.hover,colorBorder:e.border.main,colorBorderSecondary:e.border.light,colorSplit:e.border.divider,colorSuccess:e.success.main,colorSuccessBg:e.success.bg,colorSuccessBorder:e.success.border,colorSuccessText:e.success.text,colorError:e.error.main,colorErrorBg:e.error.bg,colorErrorBorder:e.error.border,colorErrorText:e.error.text,colorWarning:e.warning.main,colorWarningBg:e.warning.bg,colorWarningBorder:e.warning.border,colorWarningText:e.warning.text,colorInfo:e.info.main,colorInfoBg:e.info.bg,colorInfoBorder:e.info.border,colorInfoText:e.info.text,colorLink:e.utility.link,colorLinkHover:e.utility.linkHover,colorLinkActive:e.utility.linkActive,borderRadius:r.radius.base,borderRadiusLG:r.radius.lg,borderRadiusSM:r.radius.sm,borderRadiusXS:6,boxShadow:r.shadow.base,boxShadowSecondary:r.shadow.card,boxShadowTertiary:r.shadow.elevated,fontFamily:r.typography.fontFamily,fontSize:r.typography.fontSize.base,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:r.typography.fontSize.lg,fontWeightStrong:r.typography.fontWeight.medium,lineHeight:r.typography.lineHeight.base,lineHeightHeading1:1.21,lineHeightHeading2:1.27,lineHeightHeading3:1.33,lineHeightHeading4:1.4,lineHeightHeading5:1.5},components:{Button:{colorPrimary:e.components.button.primary.bg,colorPrimaryHover:e.components.button.primary.hover,colorPrimaryActive:e.action.active,colorPrimaryBorder:e.components.button.primary.bg,primaryColor:e.components.button.primary.text,colorBorder:e.components.button.default.border,colorBgContainer:e.components.button.default.bg,colorText:e.components.button.default.text,defaultBg:e.components.button.default.bg,defaultBorderColor:e.components.button.default.border,defaultColor:e.components.button.default.text,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",fontWeight:r.typography.fontWeight.medium,controlHeight:32,paddingContentHorizontal:r.spacing.lg,borderRadius:r.radius.button,borderRadiusLG:r.radius.button,borderRadiusSM:r.radius.sm+8},Input:{colorBgContainer:e.components.input.bg,colorBorder:e.components.input.border,hoverBorderColor:e.components.input.borderHover,activeBorderColor:e.components.input.borderFocus,colorPrimaryHover:e.components.input.borderFocus,colorTextPlaceholder:e.components.input.placeholder,borderRadius:r.radius.input,borderRadiusLG:r.radius.base,borderRadiusSM:r.radius.sm},Select:{colorBgContainer:e.components.input.bg,colorBorder:e.components.input.border,colorTextPlaceholder:e.components.input.placeholder,colorPrimaryHover:e.action.main,hoverBorderColor:e.components.input.borderHover,activeBorderColor:e.components.input.borderFocus,optionSelectedBg:e.action.main,optionSelectedColor:e.action.contrast,optionActiveBg:e.surface.hover,colorBgElevated:e.neutral.brightest,controlItemBgHover:e.surface.hover,boxShadowSecondary:r.shadow.elevated,borderRadius:r.radius.input,borderRadiusLG:r.radius.base,borderRadiusSM:r.radius.sm},Checkbox:{colorPrimary:e.action.main,colorPrimaryHover:e.action.hover,colorBorder:e.border.strong,borderRadiusSM:6},Radio:{colorPrimary:e.action.main,colorPrimaryHover:e.action.hover,colorBorder:e.border.strong},Switch:{colorPrimary:e.action.main,colorPrimaryHover:e.action.hover,colorTextQuaternary:e.text.quaternary},Form:{labelColor:e.text.primary,labelRequiredMarkColor:e.error.main,labelFontSize:r.typography.fontSize.base,itemMarginBottom:r.spacing.lg},DatePicker:{colorBgContainer:e.components.input.bg,colorBorder:e.components.input.border,hoverBorderColor:e.components.input.borderHover,activeBorderColor:e.components.input.borderFocus,colorPrimary:e.action.main,borderRadius:r.radius.input},InputNumber:{borderRadius:r.radius.input},Table:{colorBgContainer:e.components.table.bg,headerBg:e.components.table.headerBg,headerColor:e.components.table.headerText,borderColor:e.components.table.border,headerSplitColor:e.components.table.border,rowHoverBg:e.components.table.rowHover,rowSelectedBg:e.action.light,rowSelectedHoverBg:e.action.lighter,colorText:e.text.primary,colorTextHeading:e.text.primary,borderRadius:r.radius.base,borderRadiusLG:r.radius.lg},Card:{colorBgContainer:e.surface.main,colorBorder:e.border.main,colorBorderSecondary:e.border.light,boxShadowTertiary:r.shadow.card,borderRadius:r.radius.card,borderRadiusLG:r.radius.lg+4},Statistic:{contentFontSize:24,colorTextHeading:e.text.primary},Descriptions:{labelBg:e.surface.hover,colorTextSecondary:e.text.secondary,itemPaddingBottom:r.spacing.md},Badge:{colorError:e.error.main,colorSuccess:e.success.main,colorInfo:e.info.main,colorInfoBg:e.info.bg,borderRadiusSM:r.radius.input},Tag:{colorBorder:e.border.main,defaultBg:e.surface.hover,borderRadiusSM:r.radius.sm},Timeline:{dotBg:e.surface.main,tailColor:e.border.main},Alert:{colorSuccessBg:e.success.bg,colorSuccessBorder:e.success.border,colorErrorBg:e.error.bg,colorErrorBorder:e.error.border,colorWarningBg:e.warning.bg,colorWarningBorder:e.warning.border,colorInfoBg:e.info.bg,colorInfoBorder:e.info.border,borderRadiusLG:r.radius.base},Modal:{contentBg:e.surface.elevated,headerBg:e.surface.elevated,colorBgMask:"rgba(0, 0, 0, 0.45)",borderRadiusLG:r.radius.lg},Drawer:{colorBgElevated:e.surface.elevated,colorBgMask:"rgba(0, 0, 0, 0.45)",borderRadiusLG:r.radius.lg},Notification:{colorBgElevated:e.neutral.brightest,borderRadiusLG:r.radius.base},Message:{contentBg:e.neutral.brightest,borderRadiusLG:r.radius.base},Spin:{colorPrimary:e.primary.main},Progress:{colorSuccess:e.success.main,colorError:e.error.main,defaultColor:e.primary.main,borderRadius:100},Skeleton:{colorFill:e.neutral[2],colorFillContent:e.neutral[1],borderRadiusSM:r.radius.sm},Menu:{itemBg:"transparent",itemColor:e.text.primary,itemHoverBg:e.surface.hover,itemSelectedBg:e.action.lighter,itemSelectedColor:e.action.main,itemActiveBg:e.action.lighter,subMenuItemBg:"transparent",darkItemBg:e.components.sidebar.bg,darkSubMenuItemBg:e.components.sidebar.bg,darkItemColor:e.components.sidebar.text,darkItemHoverBg:e.components.sidebar.hover,darkItemSelectedBg:e.components.sidebar.selected,darkItemSelectedColor:e.primary.contrast,borderRadius:r.radius.input,borderRadiusLG:r.radius.base},Breadcrumb:{linkColor:e.utility.link,linkHoverColor:e.utility.linkHover,itemColor:e.text.secondary,lastItemColor:e.text.primary,separatorColor:e.text.tertiary,borderRadiusSM:6},Pagination:{colorPrimary:e.primary.main,colorPrimaryHover:e.primary.hover,itemActiveBg:e.primary.main,borderRadius:r.radius.sm},Steps:{colorPrimary:e.action.main,colorText:e.text.secondary,colorTextDescription:e.text.tertiary,borderRadiusSM:100},Tabs:{colorPrimary:e.action.main,colorBorderSecondary:e.border.main,itemColor:e.text.secondary,itemHoverColor:e.action.hover,itemSelectedColor:e.action.main,inkBarColor:e.action.main,borderRadiusSM:r.radius.sm},Layout:{colorBgBody:e.surface.background,colorBgHeader:e.neutral.brightest,colorBgTrigger:e.components.sidebar.bg,siderBg:e.components.sidebar.bg,headerBg:e.neutral.brightest,borderRadiusLG:0},Divider:{colorSplit:e.border.divider},Typography:{colorText:e.text.primary,colorTextSecondary:e.text.secondary,colorTextDescription:e.text.tertiary},Tooltip:{colorBgSpotlight:e.neutral.darkest,colorTextLightSolid:e.neutral.brightest,borderRadius:r.radius.sm},Popover:{colorBgElevated:e.neutral.brightest,borderRadiusLG:r.radius.base},Dropdown:{boxShadowSecondary:r.shadow.dropdown},Calendar:{colorBgContainer:e.neutral.brightest,colorPrimary:e.action.main,borderRadiusLG:r.radius.base}}};return t?Object.assign(Object.assign({},i),{token:Object.assign(Object.assign({},i.token),null!==(a=t.token)&&void 0!==a?a:{}),components:Object.assign(Object.assign({},i.components),null!==(n=t.components)&&void 0!==n?n:{})}):i})(l,s,0,i),[l,s,o,i]),d=n.default.useMemo(()=>({colors:l,constants:s,mode:o}),[l,s,o]);return b.jsx(v.Provider,{value:d,children:b.jsx(r.ConfigProvider,{theme:c,children:e})})},exports.buildColorPalette=y,exports.buildUIConstants=x,exports.defaultColorPalette=f,exports.defaultUIConstants=h,exports.jsxRuntimeExports=b,exports.useTemboTheme=()=>n.default.useContext(v);
|
|
11
|
+
//# sourceMappingURL=theme-provider-RhAw3jw_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider-RhAw3jw_.js","sources":["../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../node_modules/react/cjs/react-jsx-runtime.production.js","../src/theme/colors.ts","../src/theme/constants.ts","../src/theme/theme-provider.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n",null,null,null],"names":["process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","source","self","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","key","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","validated","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","exports","jsxProd","reactJsxRuntime_production","require$$1","lightModeColors","neutral","darkModeColors","buildDefaultPalette","mode","modeColors","primary","main","hover","active","light","lighter","contrast","action","disabled","absolute","white","black","brightest","lightest","medium","dark","darker","darkest","dimmest","success","bg","border","text","warning","info","surface","background","elevated","subtle","secondary","tertiary","quaternary","inverse","strong","divider","components","button","default","input","borderHover","borderFocus","placeholder","table","headerBg","headerText","rowHover","sidebar","selected","textSecondary","utility","transparent","link","linkHover","linkActive","defaultColorPalette","buildColorPalette","overrides","basePalette","merged","merge","defaultUIConstants","typography","fontFamily","fontSize","xs","sm","base","lg","xl","fontWeight","normal","semibold","bold","lineHeight","tight","relaxed","spacing","md","radius","none","full","card","shadow","dropdown","zIndex","modal","popover","tooltip","notification","transition","fast","slow","buildUIConstants","TemboThemeContext","createContext","colors","constants","themeOverrides","palette","useMemo","uiConstants","theme","baseTheme","token","colorPrimary","colorPrimaryHover","colorPrimaryActive","colorPrimaryBorder","colorText","colorTextSecondary","colorTextTertiary","colorTextQuaternary","colorTextDisabled","colorBgBase","colorBgContainer","colorBgElevated","colorBgLayout","colorBgSpotlight","colorBorder","colorBorderSecondary","colorSplit","colorSuccess","colorSuccessBg","colorSuccessBorder","colorSuccessText","colorError","colorErrorBg","colorErrorBorder","colorErrorText","colorWarning","colorWarningBg","colorWarningBorder","colorWarningText","colorInfo","colorInfoBg","colorInfoBorder","colorInfoText","colorLink","colorLinkHover","colorLinkActive","borderRadius","borderRadiusLG","borderRadiusSM","borderRadiusXS","boxShadow","boxShadowSecondary","boxShadowTertiary","fontSizeHeading1","fontSizeHeading2","fontSizeHeading3","fontSizeHeading4","fontSizeHeading5","fontWeightStrong","lineHeightHeading1","lineHeightHeading2","lineHeightHeading3","lineHeightHeading4","lineHeightHeading5","Button","primaryColor","defaultBg","defaultBorderColor","defaultColor","primaryShadow","defaultShadow","dangerShadow","controlHeight","paddingContentHorizontal","Input","hoverBorderColor","activeBorderColor","colorTextPlaceholder","Select","optionSelectedBg","optionSelectedColor","optionActiveBg","controlItemBgHover","Checkbox","Radio","Switch","Form","labelColor","labelRequiredMarkColor","labelFontSize","itemMarginBottom","DatePicker","InputNumber","Table","headerColor","borderColor","headerSplitColor","rowHoverBg","rowSelectedBg","rowSelectedHoverBg","colorTextHeading","Card","Statistic","contentFontSize","Descriptions","labelBg","itemPaddingBottom","Badge","Tag","Timeline","dotBg","tailColor","Alert","Modal","contentBg","colorBgMask","Drawer","Notification","Message","Spin","Progress","Skeleton","colorFill","colorFillContent","Menu","itemBg","itemColor","itemHoverBg","itemSelectedBg","itemSelectedColor","itemActiveBg","subMenuItemBg","darkItemBg","darkSubMenuItemBg","darkItemColor","darkItemHoverBg","darkItemSelectedBg","darkItemSelectedColor","Breadcrumb","linkColor","linkHoverColor","lastItemColor","separatorColor","Pagination","Steps","colorTextDescription","Tabs","itemHoverColor","inkBarColor","Layout","colorBgBody","colorBgHeader","colorBgTrigger","siderBg","Divider","Typography","Tooltip","colorTextLightSolid","Popover","Dropdown","Calendar","assign","_a","_b","buildAntDThemeConfig","contextValue","_jsx","Provider","ConfigProvider","useContext"],"mappings":";;;;;;;;;+BAWA,eAAiBA,QAAQC,IAAIC,UAC3B,WACE,SAASC,EAAyBC,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKC,WAAaC,EACrB,KACAF,EAAKG,aAAeH,EAAKI,MAAQ,KACvC,GAAI,iBAAoBJ,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKK,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoBV,EACtB,OACG,iBAAoBA,EAAKW,KACxBC,QAAQC,MACN,qHAEJb,EAAKC,UAEL,KAAKa,EACH,MAAO,SACT,KAAKC,EACH,OAAQf,EAAKG,aAAe,WAAa,YAC3C,KAAKa,EACH,OAAQhB,EAAKiB,SAASd,aAAe,WAAa,YACpD,KAAKe,EACH,IAAIC,EAAYnB,EAAKo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sB7I,EAAQ5E,KAAKQ,UAGvC4N,QAAS,CACLrI,iBAAkBnB,EAAQvG,QAAQsB,QAClC0O,oBAAqBzJ,EAAQvG,QAAQiB,UACrCgI,aAAc5C,EAAUlB,OAAOb,IAGnC2L,QAAS,CACLzI,gBAAiBjB,EAAQvG,QAAQiB,UACjCiI,eAAgB7C,EAAUlB,OAAOZ,MAGrC2L,SAAU,CACN5G,mBAAoBjD,EAAUd,OAAOC,UAGzC2K,SAAU,CACN5I,iBAAkBhB,EAAQvG,QAAQiB,UAClC4F,aAAcN,EAAQ3F,OAAON,KAC7B4I,eAAgB7C,EAAUlB,OAAOZ,QAK7C,OAAKV,EAELrH,OAAA4T,OAAA5T,OAAA4T,OAAA,CAAA,EACOzJ,GAAS,CACZC,MAAKpK,OAAA4T,OAAA5T,OAAA4T,OAAA,GAAOzJ,EAAUC,OAA0B,QAAfyJ,EAAAxM,EAAU+C,aAAK,IAAAyJ,EAAAA,EAAI,IACpD7N,WAAUhG,OAAA4T,OAAA5T,OAAA4T,OAAA,CAAA,EACHzJ,EAAUnE,YACW,QAApB8N,EAAAzM,EAAUrB,kBAAU,IAAA8N,EAAAA,EAAI,CAAA,KAPb3J,GAuCb4J,CAAqBhK,EAASE,EAAatG,EAAMmG,GACvD,CAACC,EAASE,EAAatG,EAAMmG,IAG3BkK,EAAehS,UAAMgI,QACvB,KAAA,CACIJ,OAAQG,EACRF,UAAWI,EACXtG,SAEJ,CAACoG,EAASE,EAAatG,IAG3B,OACIsQ,EAAAA,IAACvK,EAAkBwK,SAAQ,CAAClW,MAAOgW,EAAYpU,SAC3CqU,EAAAA,IAACE,EAAAA,eAAc,CAACjK,MAAOA,WAAQtK,2KA6Bd,IACzBoC,UAAMoS,WAAW1K","x_google_ignoreList":[0,1,2]}
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{toast as o}from"react-toastify";import{j as s}from"./theme-provider-D_oV1J_K.js";import{b as i,c as n,R as t,a as e}from"./InfoCircleOutlined-DYs90hdV.js";import"./ZoomOutOutlined-BL6A5RSq.js";const l=(o,l)=>{const r={position:"top-right",autoClose:4e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,style:{fontFamily:l.typography.fontFamily,fontSize:l.typography.fontSize.base,borderRadius:l.radius.base}},a=Object.assign(Object.assign({},r),{icon:s.jsx(i,{style:{fontSize:20,color:o.success.main}}),style:Object.assign(Object.assign({},r.style),{border:`1px solid ${o.success.border}`})}),c=Object.assign(Object.assign({},r),{icon:s.jsx(n,{style:{fontSize:20,color:o.error.main}}),style:Object.assign(Object.assign({},r.style),{border:`1px solid ${o.error.border}`}),autoClose:6e3}),g=Object.assign(Object.assign({},r),{icon:s.jsx(t,{style:{fontSize:20,color:o.warning.main}}),style:Object.assign(Object.assign({},r.style),{border:`1px solid ${o.warning.border}`})}),u=Object.assign(Object.assign({},r),{icon:s.jsx(e,{style:{fontSize:20,color:o.info.main}}),style:Object.assign(Object.assign({},r.style),{border:`1px solid ${o.info.border}`})});return{loadingConfig:Object.assign(Object.assign({},r),{autoClose:!1,closeButton:!1}),infoConfig:u,warningConfig:g,errorConfig:c,successConfig:a,baseConfig:r}};class r{static init(o,s){this.configs=l(o,s)}static getConfigs(){if(!this.configs)throw new Error("TemboNotify not initialized. Call TemboNotify.init(colors, constants) before using notifications.");return this.configs}static success(s,i){var n;const t=this.getConfigs();return o.success(s,Object.assign(Object.assign({},t.successConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.successConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static error(s,i){var n;const t=this.getConfigs();return o.error(s,Object.assign(Object.assign({},t.errorConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.errorConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static warning(s,i){var n;const t=this.getConfigs();return o.warning(s,Object.assign(Object.assign({},t.warningConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.warningConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static info(s,i){var n;const t=this.getConfigs();return o.info(s,Object.assign(Object.assign({},t.infoConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.infoConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static loading(s,i){const n=this.getConfigs();return o.loading(s,Object.assign(Object.assign({},n.loadingConfig),{position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static update(s,i){var n;const t=this.getConfigs(),e=i.type?{success:t.successConfig,error:t.errorConfig,warning:t.warningConfig,info:t.infoConfig}[i.type]:void 0;o.update(s,Object.assign({render:i.message,type:i.type,isLoading:!1,autoClose:null!==(n=i.autoClose)&&void 0!==n?n:null==e?void 0:e.autoClose},e))}static dismiss(s){o.dismiss(s)}static dismissAll(){o.dismiss()}static isActive(s){return o.isActive(s)}static promise(s,i,n){var t,e;const l=this.getConfigs();return o.promise(s,{pending:Object.assign({render:i.pending},l.loadingConfig),success:Object.assign(Object.assign({render:i.success},l.successConfig),{autoClose:null!==(t=null==n?void 0:n.duration)&&void 0!==t?t:l.successConfig.autoClose}),error:Object.assign(Object.assign({render:i.error},l.errorConfig),{autoClose:null!==(e=null==n?void 0:n.duration)&&void 0!==e?e:l.errorConfig.autoClose})},{position:null==n?void 0:n.position})}}r.configs=null;export{r as T,l as b};
|
|
2
|
-
//# sourceMappingURL=tembo-notify-C-QGduBt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tembo-notify-C-QGduBt.js","sources":["../src/features/notifications/toast-config.tsx","../src/features/notifications/tembo-notify.tsx"],"sourcesContent":[null,null],"names":["buildToastConfigs","colors","constants","baseConfig","position","autoClose","hideProgressBar","closeOnClick","pauseOnHover","draggable","progress","undefined","style","fontFamily","typography","fontSize","base","borderRadius","radius","successConfig","Object","assign","icon","_jsx","CheckCircleOutlined","color","success","main","border","errorConfig","CloseCircleOutlined","error","warningConfig","ExclamationCircleOutlined","warning","infoConfig","InfoCircleOutlined","info","loadingConfig","closeButton","TemboNotify","init","this","configs","getConfigs","Error","message","options","toast","_a","duration","onClick","onClose","loading","update","id","config","type","render","isLoading","dismiss","dismissAll","isActive","promise","messages","pending","_b"],"mappings":"8MAaaA,EAAoB,CAACC,EAA2BC,KAIzD,MAAMC,EAA2B,CAC7BC,SAAU,YACVC,UAAW,IACXC,iBAAiB,EACjBC,cAAc,EACdC,cAAc,EACdC,WAAW,EACXC,cAAUC,EACVC,MAAO,CACHC,WAAYX,EAAUY,WAAWD,WACjCE,SAAUb,EAAUY,WAAWC,SAASC,KACxCC,aAAcf,EAAUgB,OAAOF,OAOjCG,EAAaC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACZlB,IACHmB,KAAMC,MAACC,EAAmB,CAACZ,MAAO,CAAEG,SAAU,GAAIU,MAAOxB,EAAOyB,QAAQC,QACxEf,MAAKQ,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACElB,EAAWS,OAAK,CACnBgB,OAAQ,aAAa3B,EAAOyB,QAAQE,aAOtCC,iCACC1B,GAAU,CACbmB,KAAMC,EAAAA,IAACO,EAAmB,CAAClB,MAAO,CAAEG,SAAU,GAAIU,MAAOxB,EAAO8B,MAAMJ,QACtEf,MAAKQ,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACElB,EAAWS,OAAK,CACnBgB,OAAQ,aAAa3B,EAAO8B,MAAMH,WAEtCvB,UAAW,MAMT2B,EAAaZ,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACZlB,IACHmB,KAAMC,MAACU,EAAyB,CAACrB,MAAO,CAAEG,SAAU,GAAIU,MAAOxB,EAAOiC,QAAQP,QAC9Ef,MAAKQ,OAAAC,OAA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AAQR,YAChBY,EAAQU,WAAQ9C,EAElBqC,EAAMM,OAAOC,EAAEnC,OAAAC,OAAA,CACXqC,OAAQX,EAAQD,QAChBW,KAAMV,EAAQU,KACdE,WAAW,EACXtD,UAA4B,QAAjB4C,EAAAF,EAAQ1C,iBAAS,IAAA4C,EAAAA,EAAIO,eAAAA,EAAQnD,WACrCmD,IAOX,cAAOI,CAAQL,GACXP,EAAMY,QAAQL,GAMlB,iBAAOM,GACHb,EAAMY,UAMV,eAAOE,CAASP,GACZ,OAAOP,EAAMc,SAASP,GAM1B,cAAOQ,CACHA,EACAC,EAKAjB,WAEA,MAAMJ,EAAUD,KAAKE,aACrB,OAAOI,EAAMe,QACTA,EACA,CACIE,QAAO7C,OAAAC,OAAA,CACHqC,OAAQM,EAASC,SACdtB,EAAQL,eAEfZ,QAAON,OAAAC,OAAAD,OAAAC,OAAA,CACHqC,OAAQM,EAAStC,SACbiB,EAAQxB,eAAqB,CACjCd,UAA4B,QAAjB4C,EAAAF,aAAO,EAAPA,EAASG,gBAAQ,IAAAD,EAAAA,EAAIN,EAAQxB,cAAcd,YAE1D0B,MAAKX,OAAAC,OAAAD,OAAAC,OAAA,CACDqC,OAAQM,EAASjC,OACdY,EAAQd,aAAW,CACtBxB,UAA4B,QAAjB6D,EAAAnB,aAAO,EAAPA,EAASG,gBAAQ,IAAAgB,EAAAA,EAAIvB,EAAQd,YAAYxB,aAG5D,CACID,SAAU2C,aAAO,EAAPA,EAAS3C,YA1KhBoC,EAAAG,QAA+B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var o=require("react-toastify"),s=require("./theme-provider-Dqvy24OD.js"),i=require("./InfoCircleOutlined-B7d2aRfV.js");require("./ZoomOutOutlined-BY_CCwq7.js");const n=(o,n)=>{const t={position:"top-right",autoClose:4e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,style:{fontFamily:n.typography.fontFamily,fontSize:n.typography.fontSize.base,borderRadius:n.radius.base}},e=Object.assign(Object.assign({},t),{icon:s.jsxRuntimeExports.jsx(i.RefIcon$2,{style:{fontSize:20,color:o.success.main}}),style:Object.assign(Object.assign({},t.style),{border:`1px solid ${o.success.border}`})}),r=Object.assign(Object.assign({},t),{icon:s.jsxRuntimeExports.jsx(i.RefIcon$3,{style:{fontSize:20,color:o.error.main}}),style:Object.assign(Object.assign({},t.style),{border:`1px solid ${o.error.border}`}),autoClose:6e3}),l=Object.assign(Object.assign({},t),{icon:s.jsxRuntimeExports.jsx(i.RefIcon,{style:{fontSize:20,color:o.warning.main}}),style:Object.assign(Object.assign({},t.style),{border:`1px solid ${o.warning.border}`})}),a=Object.assign(Object.assign({},t),{icon:s.jsxRuntimeExports.jsx(i.RefIcon$1,{style:{fontSize:20,color:o.info.main}}),style:Object.assign(Object.assign({},t.style),{border:`1px solid ${o.info.border}`})});return{loadingConfig:Object.assign(Object.assign({},t),{autoClose:!1,closeButton:!1}),infoConfig:a,warningConfig:l,errorConfig:r,successConfig:e,baseConfig:t}};class t{static init(o,s){this.configs=n(o,s)}static getConfigs(){if(!this.configs)throw new Error("TemboNotify not initialized. Call TemboNotify.init(colors, constants) before using notifications.");return this.configs}static success(s,i){var n;const t=this.getConfigs();return o.toast.success(s,Object.assign(Object.assign({},t.successConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.successConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static error(s,i){var n;const t=this.getConfigs();return o.toast.error(s,Object.assign(Object.assign({},t.errorConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.errorConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static warning(s,i){var n;const t=this.getConfigs();return o.toast.warning(s,Object.assign(Object.assign({},t.warningConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.warningConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static info(s,i){var n;const t=this.getConfigs();return o.toast.info(s,Object.assign(Object.assign({},t.infoConfig),{autoClose:null!==(n=null==i?void 0:i.duration)&&void 0!==n?n:t.infoConfig.autoClose,position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static loading(s,i){const n=this.getConfigs();return o.toast.loading(s,Object.assign(Object.assign({},n.loadingConfig),{position:null==i?void 0:i.position,onClick:null==i?void 0:i.onClick,onClose:null==i?void 0:i.onClose}))}static update(s,i){var n;const t=this.getConfigs(),e=i.type?{success:t.successConfig,error:t.errorConfig,warning:t.warningConfig,info:t.infoConfig}[i.type]:void 0;o.toast.update(s,Object.assign({render:i.message,type:i.type,isLoading:!1,autoClose:null!==(n=i.autoClose)&&void 0!==n?n:null==e?void 0:e.autoClose},e))}static dismiss(s){o.toast.dismiss(s)}static dismissAll(){o.toast.dismiss()}static isActive(s){return o.toast.isActive(s)}static promise(s,i,n){var t,e;const r=this.getConfigs();return o.toast.promise(s,{pending:Object.assign({render:i.pending},r.loadingConfig),success:Object.assign(Object.assign({render:i.success},r.successConfig),{autoClose:null!==(t=null==n?void 0:n.duration)&&void 0!==t?t:r.successConfig.autoClose}),error:Object.assign(Object.assign({render:i.error},r.errorConfig),{autoClose:null!==(e=null==n?void 0:n.duration)&&void 0!==e?e:r.errorConfig.autoClose})},{position:null==n?void 0:n.position})}}t.configs=null,exports.TemboNotify=t,exports.buildToastConfigs=n;
|
|
2
|
-
//# sourceMappingURL=tembo-notify-D-uOV3t0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tembo-notify-D-uOV3t0.js","sources":["../src/features/notifications/toast-config.tsx","../src/features/notifications/tembo-notify.tsx"],"sourcesContent":[null,null],"names":["buildToastConfigs","colors","constants","baseConfig","position","autoClose","hideProgressBar","closeOnClick","pauseOnHover","draggable","progress","undefined","style","fontFamily","typography","fontSize","base","borderRadius","radius","successConfig","Object","assign","icon","_jsx","CheckCircleOutlined","color","success","main","border","errorConfig","CloseCircleOutlined","error","warningConfig","ExclamationCircleOutlined","warning","infoConfig","InfoCircleOutlined","info","loadingConfig","closeButton","TemboNotify","init","this","configs","getConfigs","Error","message","options","toast","_a","duration","onClick","onClose","loading","update","id","config","type","render","isLoading","dismiss","dismissAll","isActive","promise","messages","pending","_b"],"mappings":"oLAaaA,EAAoB,CAACC,EAA2BC,KAIzD,MAAMC,EAA2B,CAC7BC,SAAU,YACVC,UAAW,IACXC,iBAAiB,EACjBC,cAAc,EACdC,cAAc,EACdC,WAAW,EACXC,cAAUC,EACVC,MAAO,CACHC,WAAYX,EAAUY,WAAWD,WACjCE,SAAUb,EAAUY,WAAWC,SAASC,KACxCC,aAAcf,EAAUgB,OAAOF,OAOjCG,EAAaC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACZlB,IACHmB,KAAMC,wBAACC,EAAAA,UAAmB,CAACZ,MAAO,CAAEG,SAAU,GAAIU,MAAOxB,EAAOyB,QAAQC,QACxEf,MAAKQ,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACElB,EAAWS,OAAK,CACnBgB,OAAQ,aAAa3B,EAAOyB,QAAQE,aAOtCC,iCACC1B,GAAU,CACbmB,KAAMC,EAAAA,kBAAAA,IAACO,EAAAA,UAAmB,CAAClB,MAAO,CAAEG,SAAU,GAAIU,MAAOxB,EAAO8B,MAAMJ,QACtEf,MAAKQ,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACElB,EAAWS,OAAK,CACnBgB,OAAQ,aAAa3B,EAAO8B,MAAMH,WAEtCvB,UAAW,MAMT2B,EAAaZ,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACZlB,IACHmB,KAAMC,wBAACU,EAAAA,QAAyB,CAACrB,MAAO,CAAEG,SAAU,GAAIU,MAAOxB,EAAOiC,QAAQP,QAC9Ef,MAAKQ,OAAAC,OAAAD,OAAAC,OAAA,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