@thefreshop/tb 1.0.28 → 1.0.30

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.
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { bottomType } from "../../types";
3
- declare const Bottom: ({ bottom }: {
3
+ declare const Bottom: ({ bottom, frameStyle }: {
4
4
  bottom: bottomType;
5
+ frameStyle?: any;
5
6
  }) => React.JSX.Element;
6
7
  export default Bottom;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
- import { navType } from "../../types";
3
- declare const Tabs: ({ nav: { menuSet, openIcon, closeIcon } }: {
2
+ import { FrameStyleType, navType } from "../../types";
3
+ declare const Tabs: ({ nav: { menuSet, openIcon, closeIcon }, frameStyle }: {
4
4
  nav: navType;
5
+ frameStyle?: FrameStyleType;
5
6
  }) => React.JSX.Element;
6
7
  export default Tabs;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import type { searchBoxType } from "../../../types";
3
- export declare const SearchBox: ({ searchOption, searchDisabled, onSubmit, onReset }: searchBoxType) => React.JSX.Element;
3
+ export declare const SearchBox: ({ searchOption, searchDisabled, onSubmit, onReset, PageStyle }: searchBoxType) => React.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- export declare const Tbpage: ({ tableProps, searchOption, searchDisabled, onSubmit, isLoading, title, decs, }: {
2
+ import type { PageStyleType } from "../../types";
3
+ export declare const Tbpage: ({ tableProps, searchOption, searchDisabled, onSubmit, isLoading, title, decs, PageStyle, }: {
3
4
  tableProps: any;
4
5
  searchOption?: any;
5
6
  searchDisabled?: boolean;
@@ -7,4 +8,5 @@ export declare const Tbpage: ({ tableProps, searchOption, searchDisabled, onSubm
7
8
  isLoading?: boolean;
8
9
  title?: string;
9
10
  decs?: string;
11
+ PageStyle?: PageStyleType;
10
12
  }) => React.JSX.Element;
@@ -1,11 +1,12 @@
1
1
  import React from "react";
2
+ import type { PageStyleType } from "../../types";
2
3
  type arrtable = {
3
4
  title?: string;
4
5
  type: "table" | "module";
5
6
  tableprops?: any;
6
7
  module?: React.ReactNode;
7
8
  };
8
- export declare const TbpageMulti: ({ arrtableProps, arrflex, searchOption, searchDisabled, onSubmit, isLoading, title, decs, direction, }: {
9
+ export declare const TbpageMulti: ({ arrtableProps, arrflex, searchOption, searchDisabled, onSubmit, isLoading, title, decs, direction, PageStyle, }: {
9
10
  arrtableProps: arrtable[];
10
11
  arrflex?: any[];
11
12
  searchOption?: any;
@@ -15,5 +16,6 @@ export declare const TbpageMulti: ({ arrtableProps, arrflex, searchOption, searc
15
16
  title?: string;
16
17
  decs?: string;
17
18
  direction?: string;
19
+ PageStyle?: PageStyleType;
18
20
  }) => React.JSX.Element;
19
21
  export {};
@@ -1,8 +1,10 @@
1
+ import { PageStyleType } from "./tbframe.types";
1
2
  export type searchBoxType = {
2
3
  searchOption: searchOptionType[];
3
4
  searchDisabled?: boolean;
4
5
  onSubmit?: (searchdata?: string | null, rowdata?: any) => void;
5
6
  onReset: () => void;
7
+ PageStyle?: PageStyleType;
6
8
  };
7
9
  export type searchOptionType = {
8
10
  key: string;
@@ -22,6 +22,25 @@ export type FrameStyleType = {
22
22
  nav_text?: React.CSSProperties;
23
23
  nav_openIcon?: React.CSSProperties;
24
24
  sub_item?: React.CSSProperties;
25
+ bottom_item?: React.CSSProperties;
26
+ tabFrame?: React.CSSProperties;
27
+ tab_item?: React.CSSProperties;
28
+ tab_item_text?: React.CSSProperties;
29
+ tab_item_button?: React.CSSProperties;
30
+ tab_x_button?: React.CSSProperties;
31
+ tab_normal?: React.CSSProperties;
32
+ tab_select?: React.CSSProperties;
33
+ };
34
+ export type PageStyleType = {
35
+ tableFrame?: React.CSSProperties;
36
+ titleBox?: React.CSSProperties;
37
+ titleText?: React.CSSProperties;
38
+ decsriptionText?: React.CSSProperties;
39
+ multiFrame?: React.CSSProperties;
40
+ itemtitle?: React.CSSProperties;
41
+ searchboxFrame?: React.CSSProperties;
42
+ searchboxRow?: React.CSSProperties;
43
+ searchboxBtn?: React.CSSProperties;
25
44
  };
26
45
  export type TbFrameType = {
27
46
  admin_account_id: number;
package/dist/esm/index.js CHANGED
@@ -317,10 +317,10 @@ var css_248z$9 = ".bottom-module_bottom_item__fac0H{display:flex;font-size:15px;
317
317
  var styles$7 = {"bottom_item":"bottom-module_bottom_item__fac0H"};
318
318
  styleInject(css_248z$9);
319
319
 
320
- const Bottom = ({ bottom }) => {
320
+ const Bottom = ({ bottom, frameStyle }) => {
321
321
  const { currentTabKey, user, tabList } = useTbState();
322
322
  const tab = tabList.find((tab) => tab.key === currentTabKey);
323
- return (React__default.createElement("div", { className: styles$7.bottom_item },
323
+ return (React__default.createElement("div", { className: styles$7.bottom_item, style: frameStyle?.bottom_item },
324
324
  React__default.createElement("div", null, tab?.title),
325
325
  React__default.createElement("div", { style: { display: "flex", gap: 16 } },
326
326
  React__default.createElement("div", null,
@@ -336,7 +336,7 @@ var css_248z$8 = ".tabs-module_tabFrame__qyHsD{background-color:#fff;display:fle
336
336
  var styles$6 = {"tabFrame":"tabs-module_tabFrame__qyHsD","tab_item":"tabs-module_tab_item__dtp6M","tab_item_text":"tabs-module_tab_item_text__w9h73","tab_item_button":"tabs-module_tab_item_button__2CdJE","tab_x_button":"tabs-module_tab_x_button__To6OB","tab_normal":"tabs-module_tab_normal__Ky5vz","tab_select":"tabs-module_tab_select__kEPQi"};
337
337
  styleInject(css_248z$8);
338
338
 
339
- const Tabs = ({ nav: { menuSet, openIcon, closeIcon } }) => {
339
+ const Tabs = ({ nav: { menuSet, openIcon, closeIcon }, frameStyle }) => {
340
340
  const { tabList, tabKeys, removeTabKey, setCurrentTabKey, addTabKey, currentTabKey } = useTbState();
341
341
  const navigate = useNavigate();
342
342
  const location = useLocation();
@@ -365,16 +365,16 @@ const Tabs = ({ nav: { menuSet, openIcon, closeIcon } }) => {
365
365
  const pathKey = location.pathname.substring(1); // 맨 앞의 '/' 제거
366
366
  findTabs(pathKey);
367
367
  }, []);
368
- return (React__default.createElement("div", { className: styles$6.tabFrame }, tabKeys?.map((key) => {
368
+ return (React__default.createElement("div", { className: styles$6.tabFrame, style: frameStyle?.tabFrame }, tabKeys?.map((key) => {
369
369
  const tab = tabList.find((tab) => tab.key === key);
370
- return (React__default.createElement("div", { key: key, className: `${styles$6.tab_item} ${currentTabKey === key ? styles$6.tab_select : styles$6.tab_normal}` },
371
- React__default.createElement("div", { className: styles$6.tab_item_text, onClick: () => {
370
+ return (React__default.createElement("div", { key: key, className: `${styles$6.tab_item} ${currentTabKey === key ? styles$6.tab_select : styles$6.tab_normal}`, style: { ...frameStyle?.tab_item, ...(currentTabKey === key ? frameStyle?.tab_select : frameStyle?.tab_normal) } },
371
+ React__default.createElement("div", { className: styles$6.tab_item_text, style: frameStyle?.tab_item_text, onClick: () => {
372
372
  setCurrentTabKey(key);
373
373
  navigate("/" + key);
374
374
  // console.log('setCurrentTab', m)
375
375
  } }, tab?.title),
376
- !tab?.noremove && (React__default.createElement("div", { className: styles$6.tab_item_button },
377
- React__default.createElement("button", { className: styles$6.tab_x_button, onClick: () => removeTabKey(key) }, "x")))));
376
+ !tab?.noremove && (React__default.createElement("div", { className: styles$6.tab_item_button, style: frameStyle?.tab_item_button },
377
+ React__default.createElement("button", { className: styles$6.tab_x_button, style: frameStyle?.tab_x_button, onClick: () => removeTabKey(key) }, "x")))));
378
378
  })));
379
379
  };
380
380
 
@@ -604,9 +604,9 @@ const MainLayout = ({ errMsg, setting, top_banner, nav, user, top, bottom, frame
604
604
  React__default.createElement("div", { className: styles$9.centerFrame, style: { ...frameStyle?.centerFrame, ...(top_banner ? { height: "calc(100vh - 120px)" } : { height: "calc(100vh - 80px)" }) } },
605
605
  React__default.createElement(Nav, { nav: nav, islogin: setting.islogin ?? false, frameStyle: frameStyle }),
606
606
  React__default.createElement("div", { className: styles$9.contentsFrame, style: frameStyle?.contentsFrame },
607
- React__default.createElement(Tabs, { nav: nav }),
607
+ React__default.createElement(Tabs, { nav: nav, frameStyle: frameStyle }),
608
608
  React__default.createElement(Main, null))),
609
- React__default.createElement("div", { className: styles$9.bottomFrame, style: frameStyle?.bottomFrame }, bottom && React__default.createElement(Bottom, { bottom: bottom }))))));
609
+ React__default.createElement("div", { className: styles$9.bottomFrame, style: frameStyle?.bottomFrame }, bottom && React__default.createElement(Bottom, { bottom: bottom, frameStyle: frameStyle }))))));
610
610
  };
611
611
 
612
612
  //component
@@ -23964,7 +23964,7 @@ dayjs.extend(weekday);
23964
23964
  dayjs.extend(localeData);
23965
23965
  const { RangePicker } = DatePicker;
23966
23966
  const { Text: Text$1 } = Typography;
23967
- const SearchBox = ({ searchOption = [], searchDisabled = false, onSubmit, onReset }) => {
23967
+ const SearchBox = ({ searchOption = [], searchDisabled = false, onSubmit, onReset, PageStyle }) => {
23968
23968
  const [data, setData] = useState(null);
23969
23969
  useEffect(() => {
23970
23970
  if (!data) {
@@ -23991,8 +23991,8 @@ const SearchBox = ({ searchOption = [], searchDisabled = false, onSubmit, onRese
23991
23991
  const activeEnter = (e) => {
23992
23992
  if (e.key === "Enter") ;
23993
23993
  };
23994
- return (React__default.createElement("div", { className: styles$2.searchboxFrame },
23995
- React__default.createElement("div", { className: styles$2.searchboxRow }, searchOption.map((item) => {
23994
+ return (React__default.createElement("div", { className: styles$2.searchboxFrame, style: PageStyle?.searchboxFrame },
23995
+ React__default.createElement("div", { className: styles$2.searchboxRow, style: PageStyle?.searchboxRow }, searchOption.map((item) => {
23996
23996
  return (React__default.createElement("div", { style: { marginBottom: "5px" }, key: item.key },
23997
23997
  React__default.createElement(Row, null,
23998
23998
  React__default.createElement(Col, { span: item.title ? 1 : 0 },
@@ -24300,8 +24300,8 @@ const ContentLayout = ({ Icon, title, children, contentStyle, flex }) => {
24300
24300
  React__default.createElement("div", { className: show ? 'content' : 'content-hide', style: show ? contentStyle : {} }, show && (typeof children === 'function' ? children(size) : children))));
24301
24301
  };
24302
24302
 
24303
- var css_248z$1 = ".tbpage-module_tableFrame__ir3fr{border-top:1px solid #aaa;display:flex;flex:1;flex-direction:column;height:100%;width:100%}.tbpage-module_titleBox__1X9Ib{background-color:#f0f8ff;border-bottom:1px solid #aaa;display:flex;gap:20;line-height:50px;padding-bottom:10px;padding-left:30px;padding-top:10px;width:100%}.tbpage-module_title__C39fg{font-size:18px;font-weight:700}.tbpage-module_decs__xFX76{font-size:13px;margin-left:30px}.tbpage-module_multiFrame__Ey2GE{border-right:1px solid #fefefe;display:flex;flex:1;flex-direction:column;width:100%}.tbpage-module_itemtitle__zj-tr{font-size:18px;font-weight:700;margin-bottom:20px;margin-left:20px;margin-top:20px;text-align:left}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRicGFnZS5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQU1FLHlCQUEwQixDQUwxQixZQUFhLENBRWIsTUFBTyxDQURQLHFCQUFzQixDQUd0QixXQUFZLENBRFosVUFHRixDQUNBLCtCQUVFLHdCQUEyQixDQU8zQiw0QkFBNkIsQ0FON0IsWUFBYSxDQUNiLE1BQU8sQ0FJUCxnQkFBaUIsQ0FEakIsbUJBQW9CLENBRnBCLGlCQUFrQixDQUNsQixnQkFBaUIsQ0FMakIsVUFTRixDQUNBLDRCQUNFLGNBQWUsQ0FDZixlQUNGLENBQ0EsMkJBRUUsY0FBZSxDQURmLGdCQUVGLENBRUEsaUNBR0UsOEJBQStCLENBRi9CLFlBQWEsQ0FDYixNQUFPLENBRVAscUJBQXNCLENBQ3RCLFVBQ0YsQ0FDQSxnQ0FLRSxjQUFlLENBQ2YsZUFBaUIsQ0FGakIsa0JBQW1CLENBRm5CLGdCQUFpQixDQUNqQixlQUFnQixDQUZoQixlQU1GIiwiZmlsZSI6InRicGFnZS5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnRhYmxlRnJhbWUge1xyXG4gIGRpc3BsYXk6IGZsZXg7XHJcbiAgZmxleC1kaXJl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= {"tableFrame":"tbpage-module_tableFrame__ir3fr","titleBox":"tbpage-module_titleBox__1X9Ib","title":"tbpage-module_title__C39fg","decs":"tbpage-module_decs__xFX76","multiFrame":"tbpage-module_multiFrame__Ey2GE","itemtitle":"tbpage-module_itemtitle__zj-tr","multiitem":"tbpage-module_multiitem__U2nxe"};
24303
+ var css_248z$1 = ".tbpage-module_tableFrame__ir3fr{border-top:1px solid #aaa;display:flex;flex:1;flex-direction:column;height:100%;width:100%}.tbpage-module_titleBox__1X9Ib{background-color:#f0f8ff;border-bottom:1px solid #aaa;display:flex;gap:20;line-height:50px;padding-bottom:10px;padding-left:30px;padding-top:10px;width:100%}.tbpage-module_title__C39fg{font-size:18px;font-weight:700}.tbpage-module_decs__xFX76{font-size:13px;margin-left:30px}.tbpage-module_multiFrame__Ey2GE{border-right:1px solid #fefefe;display:flex;flex:1;flex-direction:column;width:100%}.tbpage-module_itemtitle__zj-tr{font-size:18px;font-weight:700;margin-bottom:20px;margin-left:20px;margin-top:20px;text-align:left}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRicGFnZS5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQU1JLHlCQUEwQixDQUwxQixZQUFhLENBRWIsTUFBTyxDQURQLHFCQUFzQixDQUd0QixXQUFZLENBRFosVUFHSixDQUNBLCtCQUVJLHdCQUEyQixDQU8zQiw0QkFBNkIsQ0FON0IsWUFBYSxDQUNiLE1BQU8sQ0FJUCxnQkFBaUIsQ0FEakIsbUJBQW9CLENBRnBCLGlCQUFrQixDQUNsQixnQkFBaUIsQ0FMakIsVUFTSixDQUNBLDRCQUNJLGNBQWUsQ0FDZixlQUNKLENBQ0EsMkJBRUksY0FBZSxDQURmLGdCQUVKLENBRUEsaUNBR0ksOEJBQStCLENBRi9CLFlBQWEsQ0FDYixNQUFPLENBRVAscUJBQXNCLENBQ3RCLFVBQ0osQ0FDQS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tdGl0bGUge1xyXG4gICAgdGV4dC1hbGlnbjogbGVmdDtcclxuICAgIG1hcmdpbi1sZWZ0OiAyMHB4O1xyXG4gICAgbWFyZ2luLXRvcDogMjBweDtcclxuICAgIG1hcmdpbi1ib3R0b206IDIwcHg7XHJcbiAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICBmb250LXdlaWdodDogYm9sZDtcclxufVxyXG4iXX0= */";
24304
+ var styles$1 = {"tableFrame":"tbpage-module_tableFrame__ir3fr","titleBox":"tbpage-module_titleBox__1X9Ib","title":"tbpage-module_title__C39fg","decs":"tbpage-module_decs__xFX76","multiFrame":"tbpage-module_multiFrame__Ey2GE","itemtitle":"tbpage-module_itemtitle__zj-tr"};
24305
24305
  styleInject(css_248z$1);
24306
24306
 
24307
24307
  /**
@@ -24363,22 +24363,22 @@ const LoadingLayout = ({ tip, isLoading, error, isError, style, children, classN
24363
24363
  children));
24364
24364
  };
24365
24365
 
24366
- const Tbpage = ({ tableProps, searchOption, searchDisabled = false, onSubmit, isLoading, title, decs, }) => {
24366
+ const Tbpage = ({ tableProps, searchOption, searchDisabled = false, onSubmit, isLoading, title, decs, PageStyle, }) => {
24367
24367
  const { user } = useTbState();
24368
- return (React__default.createElement("div", { className: styles$1.tableFrame },
24369
- title || decs ? React__default.createElement(TitleBox$2, { title: title, decs: decs }) : null,
24370
- searchOption && (React__default.createElement(SearchBox, { searchOption: searchOption, onSubmit: onSubmit, searchDisabled: searchDisabled, onReset: () => {
24368
+ return (React__default.createElement("div", { className: styles$1.tableFrame, style: PageStyle?.tableFrame },
24369
+ title || decs ? React__default.createElement(TitleBox$2, { title: title, decs: decs, PageStyle: PageStyle }) : null,
24370
+ searchOption && (React__default.createElement(SearchBox, { PageStyle: PageStyle, searchOption: searchOption, onSubmit: onSubmit, searchDisabled: searchDisabled, onReset: () => {
24371
24371
  if (onSubmit)
24372
24372
  onSubmit(null, null, true);
24373
24373
  } })),
24374
24374
  React__default.createElement(LoadingLayout, { isLoading: isLoading },
24375
- React__default.createElement("div", { className: styles$1.multiFrame },
24375
+ React__default.createElement("div", { className: styles$1.multiFrame, style: PageStyle?.multiFrame },
24376
24376
  React__default.createElement(AntBaseTable, { ...tableProps })))));
24377
24377
  };
24378
- const TitleBox$2 = ({ title, decs }) => {
24379
- return (React__default.createElement("div", { className: styles$1.titleBox },
24380
- React__default.createElement("div", { className: styles$1.title }, title),
24381
- React__default.createElement("div", { className: styles$1.decs }, decs)));
24378
+ const TitleBox$2 = ({ title, decs, PageStyle }) => {
24379
+ return (React__default.createElement("div", { className: styles$1.titleBox, style: PageStyle?.titleBox },
24380
+ React__default.createElement("div", { className: styles$1.title, style: PageStyle?.titleText }, title),
24381
+ React__default.createElement("div", { className: styles$1.decs, style: PageStyle?.decsriptionText }, decs)));
24382
24382
  };
24383
24383
 
24384
24384
  var css_248z = ".tbpagesm-module_tableFrame__Y1SDj{border-top:1px solid #aaa;display:flex;flex:1;flex-direction:column;height:100%;width:100%}.tbpagesm-module_titleBox__05qe3{background-color:#f0f8ff;border-bottom:1px solid #aaa;display:flex;gap:20;line-height:50px;padding-bottom:10px;padding-left:30px;padding-top:10px;width:100%}.tbpagesm-module_title__XO6NZ{font-size:18px;font-weight:700}.tbpagesm-module_decs__zdUCQ{font-size:13px;margin-left:30px}.tbpagesm-module_multiFrame__Y-Qxn{border-right:1px solid #fefefe;display:flex;flex:1;flex-direction:column;width:100%}.tbpagesm-module_itemtitle__PkBk-{font-size:18px;font-weight:700;margin-bottom:20px;margin-left:20px;margin-top:20px;text-align:left}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRicGFnZXNtLm1vZHVsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUNBTUUseUJBQTBCLENBTDFCLFlBQWEsQ0FFYixNQUFPLENBRFAscUJBQXNCLENBR3RCLFdBQVksQ0FEWixVQUdGLENBQ0EsaUNBRUUsd0JBQTJCLENBTzNCLD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Hg7XHJcbiAgZm9udC1zaXplOiAxM3B4O1xyXG59XHJcblxyXG4ubXVsdGlGcmFtZSB7XHJcbiAgZGlzcGxheTogZmxleDtcclxuICBmbGV4OiAxO1xyXG4gIGJvcmRlci1yaWdodDogMXB4IHNvbGlkICNmZWZlZmU7XHJcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcclxuICB3aWR0aDogMTAwJTtcclxufVxyXG4uaXRlbXRpdGxlIHtcclxuICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gIG1hcmdpbi1sZWZ0OiAyMHB4O1xyXG4gIG1hcmdpbi10b3A6IDIwcHg7XHJcbiAgbWFyZ2luLWJvdHRvbTogMjBweDtcclxuICBmb250LXNpemU6IDE4cHg7XHJcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbn1cclxuIl19 */";
@@ -24411,11 +24411,11 @@ const TitleBox$1 = ({ title, decs }) => {
24411
24411
  React__default.createElement("div", { className: styles$1.decs }, decs)));
24412
24412
  };
24413
24413
 
24414
- const TbpageMulti = ({ arrtableProps, arrflex, searchOption, searchDisabled = false, onSubmit, isLoading, title, decs, direction, }) => {
24414
+ const TbpageMulti = ({ arrtableProps, arrflex, searchOption, searchDisabled = false, onSubmit, isLoading, title, decs, direction, PageStyle, }) => {
24415
24415
  const { user } = useTbState();
24416
24416
  return (React__default.createElement("div", { className: styles$1.tableFrame },
24417
- title || decs ? React__default.createElement(TitleBox, { title: title, decs: decs }) : null,
24418
- searchOption && (React__default.createElement(SearchBox, { searchOption: searchOption, onSubmit: onSubmit, searchDisabled: searchDisabled, onReset: () => {
24417
+ title || decs ? React__default.createElement(TitleBox, { PageStyle: PageStyle, title: title, decs: decs }) : null,
24418
+ searchOption && (React__default.createElement(SearchBox, { PageStyle: PageStyle, searchOption: searchOption, onSubmit: onSubmit, searchDisabled: searchDisabled, onReset: () => {
24419
24419
  if (onSubmit)
24420
24420
  onSubmit(null, null, true);
24421
24421
  } })),
@@ -24435,10 +24435,10 @@ const TbpageMulti = ({ arrtableProps, arrflex, searchOption, searchDisabled = fa
24435
24435
  return null;
24436
24436
  })))));
24437
24437
  };
24438
- const TitleBox = ({ title, decs }) => {
24439
- return (React__default.createElement("div", { className: styles$1.titleBox },
24440
- React__default.createElement("div", { className: styles$1.title }, title),
24441
- React__default.createElement("div", { className: styles$1.decs }, decs)));
24438
+ const TitleBox = ({ PageStyle, title, decs }) => {
24439
+ return (React__default.createElement("div", { className: styles$1.titleBox, style: PageStyle?.titleBox },
24440
+ React__default.createElement("div", { className: styles$1.title, style: PageStyle?.titleText }, title),
24441
+ React__default.createElement("div", { className: styles$1.decs, style: PageStyle?.decsriptionText }, decs)));
24442
24442
  };
24443
24443
 
24444
24444
  export { AntBaseModalCreate, AntBaseTable, AuthTable, ContentLayout, TbFrame, TbProvider, Tblist, TbpProvider, Tbpage, TbpageMulti, TbpageSm, tbContext, useTbState };