@bwg-ui/core 1.2.6 → 1.2.8

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.
Files changed (77) hide show
  1. package/README.md +28 -0
  2. package/dist/chunks/MenuReport-CiL4ggPy.js +1244 -0
  3. package/dist/chunks/MenuReport-DIkKwvta.cjs +1 -0
  4. package/dist/chunks/common-components-B4mah7DM.cjs +183 -0
  5. package/dist/chunks/{common-components-CnAjT_Gi.js → common-components-G-FELsbw.js} +7510 -7094
  6. package/dist/chunks/{core-MOICJvq5.cjs → core-CXP75zcn.cjs} +1 -1
  7. package/dist/chunks/{core-C5T-8H8j.js → core-pjW5SaWA.js} +13 -13
  8. package/dist/chunks/{enc-base64-8MLFBYmR.cjs → enc-base64-Bg9x86kU.cjs} +1 -1
  9. package/dist/chunks/{enc-base64-Ciw6cw8D.js → enc-base64-DtP_G7ev.js} +2 -2
  10. package/dist/chunks/layout-components-De-k79AV.cjs +35 -0
  11. package/dist/chunks/layout-components-mRRx1BIz.js +1616 -0
  12. package/dist/chunks/{sha256-CsieizMm.js → sha256-BTxiV_cX.js} +2 -2
  13. package/dist/chunks/{sha256-CpH38gS4.cjs → sha256-CFa0dyCj.cjs} +1 -1
  14. package/dist/components/common/ButtonAccessController.d.ts +5 -0
  15. package/dist/components/common/ButtonAccessController.d.ts.map +1 -0
  16. package/dist/components/common/BwgEditor.d.ts +3 -3
  17. package/dist/components/common/BwgEditor.d.ts.map +1 -1
  18. package/dist/components/common/BwgPopup.d.ts +15 -0
  19. package/dist/components/common/BwgPopup.d.ts.map +1 -1
  20. package/dist/components/common/BwgView.d.ts +2 -23
  21. package/dist/components/common/BwgView.d.ts.map +1 -1
  22. package/dist/components/common/SearchBox.d.ts +1 -57
  23. package/dist/components/common/SearchBox.d.ts.map +1 -1
  24. package/dist/components/common/index.cjs +1 -1
  25. package/dist/components/common/index.d.ts +5 -3
  26. package/dist/components/common/index.d.ts.map +1 -1
  27. package/dist/components/common/index.js +24 -23
  28. package/dist/components/common/type.d.ts +132 -0
  29. package/dist/components/common/type.d.ts.map +1 -0
  30. package/dist/components/guide/index.cjs +1 -1
  31. package/dist/components/guide/index.js +1 -1
  32. package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
  33. package/dist/components/layout/default/LocalPopupContainer.d.ts +3 -0
  34. package/dist/components/layout/default/LocalPopupContainer.d.ts.map +1 -0
  35. package/dist/components/layout/default/PopupContainer.d.ts.map +1 -1
  36. package/dist/components/layout/index.cjs +1 -35
  37. package/dist/components/layout/index.js +13 -1558
  38. package/dist/components/popup/MenuReport.d.ts +2 -5
  39. package/dist/components/popup/MenuReport.d.ts.map +1 -1
  40. package/dist/components/popup/SearchDepartmentP01.d.ts +4 -5
  41. package/dist/components/popup/SearchDepartmentP01.d.ts.map +1 -1
  42. package/dist/components/popup/SearchDepartmentP02.d.ts +3 -5
  43. package/dist/components/popup/SearchDepartmentP02.d.ts.map +1 -1
  44. package/dist/components/popup/SearchEmployeeP01.d.ts +3 -1
  45. package/dist/components/popup/SearchEmployeeP01.d.ts.map +1 -1
  46. package/dist/components/popup/SearchEmployeeP02.d.ts +3 -1
  47. package/dist/components/popup/SearchEmployeeP02.d.ts.map +1 -1
  48. package/dist/components/popup/SearchOrganizationP01.d.ts +2 -4
  49. package/dist/components/popup/SearchOrganizationP01.d.ts.map +1 -1
  50. package/dist/components/popup/SearchOrganizationP02.d.ts +3 -4
  51. package/dist/components/popup/SearchOrganizationP02.d.ts.map +1 -1
  52. package/dist/components/popup/config/localPopupRegistry.d.ts +8 -0
  53. package/dist/components/popup/config/localPopupRegistry.d.ts.map +1 -0
  54. package/dist/components/popup/index.cjs +1 -1
  55. package/dist/components/popup/index.d.ts +2 -4
  56. package/dist/components/popup/index.d.ts.map +1 -1
  57. package/dist/components/popup/index.js +5 -1739
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.d.ts +1 -0
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +154 -147
  62. package/dist/provider/hooks/usePopup.d.ts +1 -0
  63. package/dist/provider/hooks/usePopup.d.ts.map +1 -1
  64. package/dist/provider/index.cjs +1 -1
  65. package/dist/provider/index.js +205 -188
  66. package/dist/stores/index.cjs +2 -2
  67. package/dist/stores/index.js +253 -200
  68. package/dist/stores/popupStore.d.ts +9 -1
  69. package/dist/stores/popupStore.d.ts.map +1 -1
  70. package/dist/utils/gwUtils.d.ts +23 -0
  71. package/dist/utils/gwUtils.d.ts.map +1 -0
  72. package/dist/utils/index.cjs +1 -1
  73. package/dist/utils/index.d.ts +9 -8
  74. package/dist/utils/index.d.ts.map +1 -1
  75. package/dist/utils/index.js +588 -486
  76. package/package.json +4 -4
  77. package/dist/chunks/common-components-Bhr_MU0K.cjs +0 -183
@@ -1,8 +1,5 @@
1
1
  import { FC } from 'react';
2
- interface MenuReportProps {
3
- open: boolean;
4
- onClose: () => void;
5
- }
6
- declare const MenuReport: FC<MenuReportProps>;
2
+ import { PopupViewProps } from '../../stores/popupStore';
3
+ declare const MenuReport: FC<PopupViewProps>;
7
4
  export default MenuReport;
8
5
  //# sourceMappingURL=MenuReport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuReport.d.ts","sourceRoot":"","sources":["../../../src/components/popup/MenuReport.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AAwBjE,UAAU,eAAe;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AA2CC,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA07CnC,CAAC;AAEJ,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"MenuReport.d.ts","sourceRoot":"","sources":["../../../src/components/popup/MenuReport.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgE9D,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,cAAc,CA26ClC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { PopupViewProps } from '../layout/default/PopupContainer';
1
3
  export interface Department {
2
4
  crprCd?: string;
3
5
  wkplCd?: string;
@@ -12,12 +14,9 @@ export interface Department {
12
14
  deptAbrv?: string | null;
13
15
  deptFullNm?: string | null;
14
16
  deptEnglNm?: string | null;
15
- isLeaf?: 'Y' | 'N' | null;
17
+ isLeaf?: "Y" | "N" | null;
16
18
  children?: Department[];
17
19
  }
18
- export interface SearchDepartmentP01Props {
19
- popup: any;
20
- }
21
- declare const SearchDepartmentP01: ({ popup }: SearchDepartmentP01Props) => import("react/jsx-runtime").JSX.Element;
20
+ declare const SearchDepartmentP01: FC<PopupViewProps>;
22
21
  export default SearchDepartmentP01;
23
22
  //# sourceMappingURL=SearchDepartmentP01.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchDepartmentP01.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchDepartmentP01.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAsHD,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,QAAA,MAAM,mBAAmB,GAAI,WAAW,wBAAwB,4CAmV/D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"SearchDepartmentP01.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchDepartmentP01.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAsHD,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,cAAc,CAmW3C,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { PopupViewProps } from '../layout/default/PopupContainer';
1
2
  export interface Department {
2
3
  crprCd?: string;
3
4
  wkplCd?: string;
@@ -12,12 +13,9 @@ export interface Department {
12
13
  deptAbrv?: string | null;
13
14
  deptFullNm?: string | null;
14
15
  deptEnglNm?: string | null;
15
- isLeaf?: 'Y' | 'N' | null;
16
+ isLeaf?: "Y" | "N" | null;
16
17
  children?: Department[];
17
18
  }
18
- export interface SearchDepartmentP02Props {
19
- popup: any;
20
- }
21
- declare const SearchDepartmentP02: ({ popup }: SearchDepartmentP02Props) => import("react/jsx-runtime").JSX.Element;
19
+ declare const SearchDepartmentP02: React.FC<PopupViewProps>;
22
20
  export default SearchDepartmentP02;
23
21
  //# sourceMappingURL=SearchDepartmentP02.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchDepartmentP02.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchDepartmentP02.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAsHD,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,QAAA,MAAM,mBAAmB,GAAI,WAAW,wBAAwB,4CAqiB/D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"SearchDepartmentP02.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchDepartmentP02.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAsHD,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAqjBjD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,3 +1,5 @@
1
- declare const CMHrInfoSrchP01: ({ popup }: any) => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ import { PopupViewProps } from '../layout/default/PopupContainer';
3
+ declare const CMHrInfoSrchP01: React.FC<PopupViewProps>;
2
4
  export default CMHrInfoSrchP01;
3
5
  //# sourceMappingURL=SearchEmployeeP01.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchEmployeeP01.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchEmployeeP01.tsx"],"names":[],"mappings":"AAoCA,QAAA,MAAM,eAAe,GAAI,WAAW,GAAG,4CAqtBtC,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"SearchEmployeeP01.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchEmployeeP01.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAyBlE,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA8tB7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,3 +1,5 @@
1
- declare const CMHrInfoSrchP02: ({ popup }: any) => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ import { PopupViewProps } from '../layout/default/PopupContainer';
3
+ declare const CMHrInfoSrchP02: React.FC<PopupViewProps>;
2
4
  export default CMHrInfoSrchP02;
3
5
  //# sourceMappingURL=SearchEmployeeP02.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchEmployeeP02.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchEmployeeP02.tsx"],"names":[],"mappings":"AAqCA,QAAA,MAAM,eAAe,GAAI,WAAW,GAAG,4CAstBtC,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"SearchEmployeeP02.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchEmployeeP02.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAK9D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAyBlE,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6tB7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { PopupViewProps } from '../layout/default/PopupContainer';
1
2
  export interface Employee {
2
3
  crprCd: string;
3
4
  wkplCd: string;
@@ -30,9 +31,6 @@ export interface Department {
30
31
  employees?: Employee[];
31
32
  children?: Department[];
32
33
  }
33
- export interface SearchOrganizationP01Props {
34
- popup: any;
35
- }
36
- declare const SearchOrganizationP01: ({ popup }: SearchOrganizationP01Props) => import("react/jsx-runtime").JSX.Element;
34
+ declare const SearchOrganizationP01: React.FC<PopupViewProps>;
37
35
  export default SearchOrganizationP01;
38
36
  //# sourceMappingURL=SearchOrganizationP01.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchOrganizationP01.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchOrganizationP01.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,QAAA,MAAM,qBAAqB,GAAI,WAAW,0BAA0B,4CA0kBnE,CAAC;AAEA,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"SearchOrganizationP01.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchOrganizationP01.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6lBnD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { PopupViewProps } from '../layout/default/PopupContainer';
1
3
  export interface Employee {
2
4
  crprCd: string;
3
5
  wkplCd: string;
@@ -30,9 +32,6 @@ export interface Department {
30
32
  employees?: Employee[];
31
33
  children?: Department[];
32
34
  }
33
- export interface SearchOrganizationP02Props {
34
- popup: any;
35
- }
36
- declare const SearchOrganizationP02: ({ popup }: SearchOrganizationP02Props) => import("react/jsx-runtime").JSX.Element;
35
+ declare const SearchOrganizationP02: React.FC<PopupViewProps>;
37
36
  export default SearchOrganizationP02;
38
37
  //# sourceMappingURL=SearchOrganizationP02.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchOrganizationP02.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchOrganizationP02.tsx"],"names":[],"mappings":"AAyBA,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,QAAA,MAAM,qBAAqB,GAAI,WAAW,0BAA0B,4CA+qBnE,CAAC;AAEA,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"SearchOrganizationP02.d.ts","sourceRoot":"","sources":["../../../src/components/popup/SearchOrganizationP02.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAMzE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAksBnD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ComponentType, LazyExoticComponent } from 'react';
2
+ import { PopupViewProps, PopupConfig } from '../../../stores/popupStore';
3
+ export interface LocalPopupRegistryItem {
4
+ component: LazyExoticComponent<ComponentType<PopupViewProps>>;
5
+ defaultConfig?: Partial<PopupConfig>;
6
+ }
7
+ export declare const localPopupRegistry: Record<string, LocalPopupRegistryItem>;
8
+ //# sourceMappingURL=localPopupRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localPopupRegistry.d.ts","sourceRoot":"","sources":["../../../../src/components/popup/config/localPopupRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAQ,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9E,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,mBAAmB,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC;IAC9D,aAAa,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACtC;AAUD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CA2CrE,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),T=require("@ant-design/icons"),p=require("antd"),i=require("react"),G=require("../../utils/index.cjs"),z=require("../../chunks/common-components-Bhr_MU0K.cjs"),Q=o=>{if(o==null)return"";const c=String(o).trim();return!c||c.toUpperCase()==="NULL"?"":c.toUpperCase()},J=(o,c=0)=>{const b=Number(o);return Number.isFinite(b)?b:c};function q(o){return{crprCd:o.crprCd||void 0,wkplCd:o.wkplCd||void 0,deptCd:Q(o.deptCd),deptNm:(o.deptNm??"").toString().trim(),hrnkDeptCd:o.hrnkDeptCd||null,hrnkDeptNm:o.hrnkDeptNm||null,deptGbCd:o.deptGbCd||null,deptLvl:J(o.deptLvl,o.hrnkDeptCd?2:1),orgSortOrd:J(o.orgSortOrd,0),orgOtptOrd:J(o.orgOtptOrd,0),deptAbrv:o.deptAbrv||null,deptFullNm:o.deptFullNm||null,deptEnglNm:o.deptEnglNm||null,isLeaf:o.isLeaf||null}}function V(o){const c=new Set,b=o.map(q).filter(l=>l.deptCd).filter(l=>(l.deptCd===l.hrnkDeptCd&&(l.hrnkDeptCd=""),!0)).filter(l=>c.has(l.deptCd)?!1:(c.add(l.deptCd),!0));b.sort((l,m)=>(l.deptLvl||0)-(m.deptLvl||0)||(l.orgSortOrd||0)-(m.orgSortOrd||0)||l.deptCd.localeCompare(m.deptCd));const x=new Map;for(const l of b)x.set(l.deptCd,{...l,children:[]});const v=[];for(const l of b){const m=x.get(l.deptCd),h=l.hrnkDeptCd;h&&x.has(h)?x.get(h).children.push(m):v.push(m)}const D=l=>{!l||l.length===0||(l.sort((m,h)=>m.deptCd.localeCompare(h.deptCd)),l.forEach(m=>D(m.children)))};D(v);const L=l=>{if(!l.children||l.children.length===0){delete l.children;return}l.children.forEach(L)};if(v.forEach(L),v.length>1){const l=v.find(m=>m.deptCd==="D00");if(l)return[l]}return v}function X(o){const c=o.map(q),b=c.filter(x=>x.isLeaf!=="Y").map(x=>x.deptCd);return b.length>200?c.filter(x=>(x.deptLvl||0)<=2).map(x=>x.deptCd):b}const Z=({popup:o})=>{const[c,b]=i.useState(""),[x,v]=i.useState([]),[D,L]=i.useState([]),[l,m]=i.useState([]),[h,$]=i.useState(!1),E=i.useCallback(async y=>{try{$(!0);const k=await G.callService("SCMUTIL00103",{...o?.popupParams,...y}),O=Array.isArray(k?.data)?k.data:Array.isArray(k?.deptList)?k.deptList:Array.isArray(k)?k:[],w=V(O);m(w);const P=X(O);v(P);const s=w[0]?.deptCd||q(O.find(f=>q(f).deptLvl===1)||{}).deptCd||q(O[0]||{}).deptCd||"";L(s?[s]:[])}catch{p.message.error("조직 데이터를 불러오는 중 오류가 발생했습니다.")}finally{$(!1)}},[o?.popupParams]);i.useEffect(()=>{E()},[E]);const M=i.useCallback((y,k)=>{for(const O of y){if(O.deptCd===k)return O;if(O.children){const w=M(O.children,k);if(w)return w}}return null},[]),S=i.useMemo(()=>{const y=D[0];return y?M(l,y):null},[D,l,M]),I=i.useMemo(()=>{const y=O=>O.map(w=>({title:w.deptNm,key:w.deptCd,meta:w,children:w.children?y(w.children):void 0}));return y(l)},[l]),F=i.useMemo(()=>{const y=c.trim().toLowerCase();if(!y)return I;const k=O=>O.map(w=>{const P=w.meta,s=(P?.deptNm||"").toLowerCase().includes(y)||(P?.deptCd||"").toLowerCase().includes(y),f=w.children?k(w.children):void 0;return s||f&&f.length?{...w,children:f}:null}).filter(Boolean);return k(I)},[I,c]),U=i.useCallback(y=>{L(y.slice(0,1).map(String))},[]),R=i.useCallback(y=>v(y.map(String)),[]),A=i.useCallback((y,k)=>{if(y.stopPropagation(),!k.children||k.children.length===0)return;const O=x.includes(k.key);v(w=>O?w.filter(P=>P!==k.key):[...w,k.key])},[x]),W=i.useCallback(()=>L([]),[]),B={confirm:()=>{if(!S){p.message.error("부서를 선택해주세요.");return}const y={deptCd:S.deptCd,deptNm:S.deptNm,hrnkDeptCd:S.hrnkDeptCd,hrnkDeptNm:S.hrnkDeptNm,deptLvl:S.deptLvl,orgSortOrd:S.orgSortOrd};o?.config?.callback?.(JSON.stringify(y)),o?.close?.()}};return t.jsx(z.BwgPopup,{popup:o,popupEvent:B,children:t.jsx(z.ContentLayOut,{children:t.jsx(z.ContentBox,{border:!1,style:{paddingBottom:20},children:t.jsxs(p.Splitter,{layout:"vertical",style:{height:"100%"},children:[t.jsxs(p.Splitter.Panel,{defaultSize:"70%",min:"70%",max:"75%",children:[t.jsx("div",{style:{position:"sticky",top:0,zIndex:10,backgroundColor:"white",borderBottom:"1px solid #e0e0e0",padding:8},children:t.jsxs(p.Flex,{gap:8,vertical:!0,style:{marginBottom:6},children:[t.jsx(z.BwgTitleBox,{title:"조직도"}),t.jsx(p.Row,{gutter:[16,16],children:t.jsx(p.Col,{span:24,children:t.jsx(p.Input,{placeholder:"부서명, 부서코드 검색",prefix:t.jsx(T.SearchOutlined,{}),value:c,allowClear:!0,onChange:y=>b(y.target.value)})})})]})}),t.jsx("div",{style:{padding:16,overflowY:"hidden"},children:t.jsx(p.Spin,{spinning:h,children:t.jsx(p.Tree,{treeData:F,expandedKeys:x,selectedKeys:D,onSelect:U,onExpand:R,onDoubleClick:A,showLine:!0,showIcon:!1,selectable:!0,style:{overflow:"hidden"},titleRender:y=>{const k=y.meta;return t.jsxs("span",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"2px 4px",width:"100%",fontWeight:D.includes(y.key)?"bold":"normal"},children:[t.jsx("span",{children:k.deptNm}),t.jsx("span",{style:{fontSize:11,color:"#999",marginLeft:8},children:k.deptCd})]})}})})})]}),t.jsx(p.Splitter.Panel,{collapsible:!0,children:t.jsxs("div",{style:{padding:16,overflowY:"hidden",height:"100%"},children:[t.jsx("h3",{style:{margin:"0 0 12px 0",fontSize:16,fontWeight:700},children:"선택된 부서"}),S?t.jsxs("div",{style:{display:"flex",alignItems:"center",padding:14,border:"1px solid #e0e0e0",borderRadius:12,background:"#fafafa"},children:[t.jsx("div",{style:{width:42,height:42,borderRadius:"50%",border:"1px solid #e6e6e6",display:"flex",alignItems:"center",justifyContent:"center",marginRight:12,fontSize:18,color:"#8c8c8c",background:"#fff",flex:"0 0 auto"},children:t.jsx(T.TeamOutlined,{})}),t.jsxs("div",{style:{flex:1,minWidth:0},children:[t.jsxs("div",{style:{fontSize:15,fontWeight:700,marginBottom:4},children:[S.deptNm," ",t.jsxs("span",{style:{color:"#8c8c8c",fontSize:12},children:["(",S.deptCd,")"]})]}),t.jsxs("div",{style:{fontSize:12,color:"#666",marginBottom:2},children:["상위부서: ",S.hrnkDeptNm||"-"]})]}),t.jsx(p.Button,{type:"text",onClick:W,icon:t.jsx(T.RestOutlined,{style:{fontSize:24,color:"#FF6363"}})})]}):t.jsx("div",{style:{color:"#999",fontSize:14},children:"부서를 선택해주세요."})]})})]})})})})},_=o=>{if(o==null)return"";const c=String(o).trim();return!c||c.toUpperCase()==="NULL"?"":c.toUpperCase()},H=(o,c=0)=>{const b=Number(o);return Number.isFinite(b)?b:c};function Y(o){return{crprCd:o.crprCd||void 0,wkplCd:o.wkplCd||void 0,deptCd:_(o.deptCd),deptNm:(o.deptNm??"").toString().trim(),hrnkDeptCd:o.hrnkDeptCd||null,hrnkDeptNm:o.hrnkDeptNm||null,deptGbCd:o.deptGbCd||null,deptLvl:H(o.deptLvl,o.hrnkDeptCd?2:1),orgSortOrd:H(o.orgSortOrd,0),orgOtptOrd:H(o.orgOtptOrd,0),deptAbrv:o.deptAbrv||null,deptFullNm:o.deptFullNm||null,deptEnglNm:o.deptEnglNm||null,isLeaf:o.isLeaf||null}}function ee(o){const c=new Set,b=o.map(Y).filter(l=>l.deptCd).filter(l=>(l.deptCd===l.hrnkDeptCd&&(l.hrnkDeptCd=""),!0)).filter(l=>c.has(l.deptCd)?!1:(c.add(l.deptCd),!0));b.sort((l,m)=>(l.deptLvl||0)-(m.deptLvl||0)||(l.orgSortOrd||0)-(m.orgSortOrd||0)||l.deptCd.localeCompare(m.deptCd));const x=new Map;for(const l of b)x.set(l.deptCd,{...l,children:[]});const v=[];for(const l of b){const m=x.get(l.deptCd),h=l.hrnkDeptCd;h&&x.has(h)?x.get(h).children.push(m):v.push(m)}const D=l=>{!l||l.length===0||(l.sort((m,h)=>m.deptCd.localeCompare(h.deptCd)),l.forEach(m=>D(m.children)))};D(v);const L=l=>{if(!l.children||l.children.length===0){delete l.children;return}l.children.forEach(L)};if(v.forEach(L),v.length>1){const l=v.find(m=>m.deptCd==="D00");if(l)return[l]}return v}function te(o){const c=o.map(Y),b=c.filter(x=>x.isLeaf!=="Y").map(x=>x.deptCd);return b.length>200?c.filter(x=>(x.deptLvl||0)<=2).map(x=>x.deptCd):b}const ne=({popup:o})=>{const[c,b]=i.useState(""),[x,v]=i.useState(""),[D,L]=i.useState([]),[l,m]=i.useState([]),[h,$]=i.useState([]),[E,M]=i.useState(!1),[S,I]=i.useState([]),[F,U]=i.useState(!1),R=i.useCallback(async e=>{try{U(!0);const n=await G.callService("SCMUTIL00103",{...o?.popupParams,...e}),r=Array.isArray(n?.data)?n.data:Array.isArray(n?.deptList)?n.deptList:Array.isArray(n)?n:[],d=ee(r);I(d);const a=te(r);L(a);const u=d[0]?.deptCd||Y(r.find(g=>Y(g).deptLvl===1)||{}).deptCd||Y(r[0]||{}).deptCd||"";m(u?[u]:[])}catch{p.message.error("조직 데이터를 불러오는 중 오류가 발생했습니다.")}finally{U(!1)}},[o?.popupParams]);i.useEffect(()=>{R()},[R]);const A=i.useCallback((e,n)=>{for(const r of e){if(r.deptCd===n)return r;if(r.children){const d=A(r.children,n);if(d)return d}}return null},[S]),W=i.useMemo(()=>h.map(e=>{const n=A(S,e);if(!n)return null;const{children:r,...d}=n;return d}).filter(Boolean),[h,S,A]),B=i.useMemo(()=>{const e=n=>n.map(r=>({title:r.deptNm,key:r.deptCd,meta:r,children:r.children?e(r.children):void 0,isLeaf:!r.children||r.children.length===0}));return e(S)},[S]),y=i.useMemo(()=>{const e=c.trim().toLowerCase();if(!e)return B;const n=r=>r.map(d=>{const a=d.meta,u=(a?.deptNm||"").toLowerCase().includes(e)||(a?.deptCd||"").toLowerCase().includes(e),g=d.children?n(d.children):void 0;return u||g&&g.length>0?{...d,children:g}:null}).filter(Boolean);return n(B)},[B,c]),k=i.useCallback(e=>{const n=[],r=d=>{for(const a of d)if(a.deptCd===e&&a.children){const u=g=>{for(const j of g)n.push(j.deptCd),j.children&&u(j.children)};u(a.children)}else a.children&&r(a.children)};return r(S),n},[S]),O=i.useCallback((e,n)=>{let r=Array.isArray(e)?e:e?.checked??[];if(E&&n?.node?.key){const d=n.node.key,a=k(d);if(n.checked){const u=new Set(r);for(const g of a)u.add(g);r=Array.from(u)}else{const u=new Set([d,...a]);r=r.filter(g=>!u.has(g))}}$(r)},[E,k]),w=i.useCallback(e=>{const n=e.map(String);if(m(n),n.length>0){const r=n[0],d=(u,g)=>{for(const j of u){if(j.deptCd===g)return j.deptNm;if(j.children){const K=d(j.children,g);if(K)return K}}return null},a=d(S,r);a&&v(a)}},[S]),P=i.useCallback(e=>L(e.map(String)),[]),s=i.useCallback((e,n)=>{if(e.stopPropagation(),n.children&&n.children.length>0){const r=D.includes(n.key);L(d=>r?d.filter(a=>a!==n.key):[...d,n.key])}},[D]),f=i.useCallback(e=>{$(n=>n.filter(r=>r!==e))},[]),C=i.useCallback(()=>{$([])},[]),N={confirm:()=>{if(h.length===0){p.message.error("부서를 선택해주세요.");return}const n=Array.from(new Set(h)).map(r=>{const d=A(S,r);return d?{deptCd:d.deptCd,deptNm:d.deptNm,hrnkDeptCd:d.hrnkDeptCd,hrnkDeptNm:d.hrnkDeptNm}:null}).filter(Boolean);o?.config?.callback?.(JSON.stringify(n)),o?.close?.()}};return t.jsx(z.BwgPopup,{popup:o,popupEvent:N,children:t.jsx(z.ContentLayOut,{children:t.jsx(z.ContentBox,{border:!1,style:{paddingBottom:20},children:t.jsxs(p.Splitter,{layout:"vertical",style:{height:"100%"},children:[t.jsxs(p.Splitter.Panel,{defaultSize:"60%",min:"20%",max:"80%",children:[t.jsx("div",{style:{position:"sticky",top:0,zIndex:10,backgroundColor:"white",borderBottom:"1px solid #e0e0e0",padding:"8px"},children:t.jsxs(p.Flex,{gap:8,vertical:!0,style:{marginBottom:6},children:[t.jsx(z.BwgTitleBox,{title:"조직도"}),t.jsx("div",{style:{fontSize:14,color:"#666",padding:8,backgroundColor:"#f8f8f8",borderRadius:4},children:x}),t.jsxs(p.Row,{gutter:[16,16],children:[t.jsx(p.Col,{span:18,children:t.jsx(p.Input,{placeholder:"부서명, 부서장명, 부서코드 검색",prefix:t.jsx(T.SearchOutlined,{}),value:c,allowClear:!0,onChange:e=>b(e.target.value)})}),t.jsx(p.Col,{span:6,style:{justifyContent:"center",display:"flex",alignItems:"center"},children:t.jsx(p.Checkbox,{checked:E,onChange:e=>M(e.target.checked),children:"하위까지 선택"})})]})]})}),t.jsx("div",{style:{padding:16,overflowY:"hidden"},children:t.jsx(p.Spin,{spinning:F,children:t.jsx(p.Tree,{className:"bwg-ogrn-tree",treeData:y,expandedKeys:D,selectedKeys:l,checkedKeys:h,checkable:!0,checkStrictly:!0,showLine:!0,showIcon:!1,selectable:!0,onSelect:w,onExpand:P,onCheck:O,onDoubleClick:s,style:{overflow:"hidden"},titleRender:e=>{const n=e.meta;return t.jsxs("span",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"2px 4px",width:"100%"},children:[t.jsx("span",{style:{fontWeight:l.includes(e.key)?"bold":"normal"},children:n.deptNm}),t.jsx("span",{style:{fontSize:11,color:"#999",marginLeft:8},children:n.deptCd})]})}})})})]}),t.jsx(p.Splitter.Panel,{collapsible:!0,children:t.jsxs("div",{style:{padding:16,overflowY:"hidden"},children:[t.jsxs("div",{style:{marginBottom:12,display:"flex",alignItems:"center",gap:8},children:[t.jsxs("h3",{style:{margin:0,fontSize:16,fontWeight:700},children:["선택된 부서 (",W.length,"개)"]}),W.length>0&&t.jsx("button",{onClick:C,style:{border:"none",background:"transparent",color:"#8c8c8c",cursor:"pointer",fontSize:12,padding:4},title:"전체 해제",children:"전체 해제"})]}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:8,alignItems:"flex-start",minHeight:48},children:W.length===0?t.jsx("div",{style:{color:"#999",fontSize:14},children:"선택된 부서가 없습니다."}):W.map(e=>t.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:8,padding:"4px 8px",borderRadius:999,border:"1px solid #e6e6e6",background:"#fafafa",lineHeight:1.1,cursor:"default",maxWidth:260},title:`${e.deptNm}`,children:[t.jsx("span",{style:{width:18,height:18,borderRadius:"50%",border:"1px solid #e6e6e6",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:12,color:"#8c8c8c",background:"#fff",flex:"0 0 auto"},children:t.jsx(T.TeamOutlined,{})}),t.jsxs("span",{style:{display:"inline-flex",flexDirection:"column",gap:2,overflow:"hidden"},children:[t.jsx("span",{style:{fontSize:13,fontWeight:600,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:180},children:e.deptNm}),t.jsx("span",{style:{fontSize:11,color:"#8c8c8c",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:180},children:e.deptCd})]}),t.jsx("button",{onClick:()=>f(e.deptCd),style:{border:"none",background:"transparent",color:"#8c8c8c",cursor:"pointer",padding:2,lineHeight:0},"aria-label":`${e.deptNm} 선택 해제`,title:"선택 해제",children:"×"})]},e.deptCd))})]})})]})})})})},re=({popup:o})=>{const[c,b]=i.useState(""),[x,v]=i.useState(""),[D,L]=i.useState([]),[l,m]=i.useState([]),[h,$]=i.useState(null),[E,M]=i.useState([]),[S,I]=i.useState(!1),F=i.useCallback(async()=>{try{I(!0);const s=await G.callService("SCMUTIL00105",{...o?.popupParams});console.log("📊 조직도 API 응답:",s);const f=Array.isArray(s?.data)?s.data:Array.isArray(s?.orgnList)?s.orgnList:Array.isArray(s)?s:[];if(f.length===0){console.warn("⚠️ 조직도 데이터가 없습니다.");return}const C=U(f);console.log("🌳 구성된 조직도 트리:",C),M(C);const N=f.filter(e=>e.deptLvl<=2).map(e=>e.deptCd);if(L(N),C.length>0){const e=C[0];m([e.deptCd]),v(e.deptNm)}console.log("✅ 조직도 데이터 로딩 완료")}catch(s){console.error("❌ 조직도 데이터 로딩 실패:",s),p.message.error("조직도 데이터를 불러오는 중 오류가 발생했습니다.")}finally{I(!1)}},[o?.popupParams]),U=i.useCallback(s=>{const f=[...s].sort((n,r)=>n.deptLvl-r.deptLvl||n.orgSortOrd-r.orgSortOrd||n.deptCd.localeCompare(r.deptCd)),C=new Map;for(const n of f)C.set(n.deptCd,{...n,children:[]});const N=[];for(const n of f){const r=C.get(n.deptCd),d=n.hrnkDeptCd;d&&C.has(d)?C.get(d).children.push(r):N.push(r)}const e=n=>{if(!n.children||n.children.length===0){delete n.children;return}n.children.forEach(e)};return N.forEach(e),N},[]);i.useEffect(()=>{F()},[F]);const R=i.useMemo(()=>{const s=N=>{let e=[];return N.forEach(n=>{n.employees&&(e=e.concat(n.employees)),n.children&&(e=e.concat(s(n.children)))}),e},f=s(E),C=f.filter((N,e,n)=>e===n.findIndex(r=>r.empNo===N.empNo));return console.log(`👥 전체 사원 수: ${f.length}, 중복 제거 후: ${C.length}`),C},[E]),A=i.useMemo(()=>{const s=f=>f.map(C=>({title:C.deptNm,key:C.deptCd,children:C.children?s(C.children):void 0,isLeaf:!C.children||C.children.length===0}));return s(E)},[E]),W=i.useMemo(()=>{if(!c.trim())return A;const s=f=>f.map(C=>{const N=C.title.toLowerCase().includes(c.toLowerCase()),e=C.children?s(C.children):void 0;return N||e&&e.length>0?{...C,children:e}:null}).filter(Boolean);return s(A)},[A,c]),B=i.useMemo(()=>{if(!c.trim()){const s=n=>{let r=[];return n.forEach(d=>{d.employees&&(r=r.concat(d.employees)),d.children&&(r=r.concat(s(d.children)))}),r},f=(n,r)=>{for(const d of n){if(d.deptCd===r){let a=[...d.employees||[]];return d.children&&(a=a.concat(s(d.children))),a}if(d.children){const a=f(d.children,r);if(a.length>0)return a}}return[]},C=l[0];if(!C)return[];const N=f(E,C),e=N.filter((n,r,d)=>r===d.findIndex(a=>a.empNo===n.empNo));return console.log(`🔍 선택된 부서: ${C}, 반환된 사원 수: ${N.length}, 중복 제거 후: ${e.length}`),e}return R.filter(s=>s.empNm.toLowerCase().includes(c.toLowerCase())||s.empNo.toLowerCase().includes(c.toLowerCase())||s.deptNm.toLowerCase().includes(c.toLowerCase())||s.jbpsCd.includes(c)||s.jbgdCd.includes(c)||s.emplyStCd.includes(c))},[c,l,R,E]),y=i.useCallback(s=>{$(s)},[]),k=i.useCallback(s=>{const f=s.map(String);if(console.log(`🌳 트리 선택: ${f.join(", ")}`),m(f),f.length>0){const C=f[0],N=(n,r)=>{for(const d of n){if(d.deptCd===r)return d.deptNm;if(d.children){const a=N(d.children,r);if(a)return a}}return null},e=N(E,C);e&&v(e)}},[E]),O=i.useCallback(s=>{L(s.map(String))},[]),w=i.useCallback((s,f)=>{if(s.stopPropagation(),f.children&&f.children.length>0){const C=D.includes(f.key);L(C?N=>N.filter(e=>e!==f.key):N=>[...N,f.key])}},[D]),P={confirm:()=>{h?(o?.popupParams?.onSelect?o.popupParams.onSelect(h):o?.config?.callback&&o.config.callback(JSON.stringify(h,null,2)),o?.close?.()):p.message.error("사원을 선택해주세요.")}};return t.jsx(z.BwgPopup,{popup:o,popupEvent:P,children:t.jsx(z.ContentLayOut,{children:t.jsx(z.ContentBox,{border:!1,style:{paddingBottom:20},children:t.jsxs(p.Splitter,{layout:"vertical",style:{height:"100%"},children:[t.jsxs(p.Splitter.Panel,{defaultSize:"60%",min:"20%",max:"80%",children:[t.jsx("div",{style:{position:"sticky",top:0,zIndex:10,backgroundColor:"white",borderBottom:"1px solid #e0e0e0",padding:"8px"},children:t.jsxs(p.Flex,{gap:8,vertical:!0,style:{marginBottom:"6px"},children:[t.jsx(z.BwgTitleBox,{title:"조직도"}),t.jsx(p.Input,{placeholder:"이름, 소속, 전화번호 검색",prefix:t.jsx(T.SearchOutlined,{}),value:c,allowClear:!0,onChange:s=>b(s.target.value)})]})}),t.jsx("div",{style:{padding:"16px",overflowY:"hidden"},children:t.jsx(p.Spin,{spinning:S,children:t.jsx(p.Tree,{className:"bwg-ogrn-tree",treeData:W,expandedKeys:D,selectedKeys:l,onSelect:k,onExpand:O,onDoubleClick:w,showLine:!0,showIcon:!1,style:{overflow:"hidden"},titleRender:s=>t.jsx("span",{style:{padding:"4px 8px",borderRadius:"4px",fontWeight:l.includes(s.key)?"bold":"normal",display:"inline-block",width:"100%"},children:s.title})})})})]}),t.jsx(p.Splitter.Panel,{collapsible:!0,children:t.jsxs("div",{style:{padding:"16px",overflowY:"hidden"},children:[t.jsx("div",{style:{marginBottom:"16px"},children:t.jsx("h3",{style:{margin:"0 0 8px 0",fontSize:"16px",fontWeight:"bold"},children:c?"검색 결과":x})}),t.jsxs("div",{style:{overflow:"hidden",height:"100%"},children:[B.map(s=>t.jsxs("div",{style:{display:"flex",alignItems:"center",padding:"12px",border:"1px solid #e0e0e0",borderRadius:"8px",marginBottom:"8px",cursor:"pointer",backgroundColor:h&&h.crprCd===s.crprCd&&h.wkplCd===s.wkplCd&&h.empNo===s.empNo&&h.jbpsCd===s.jbpsCd&&h.jbgdCd===s.jbgdCd&&h.empMarkOrd===s.empMarkOrd?"#efebff":"white"},onClick:()=>y(s),children:[t.jsx("div",{style:{marginRight:"12px",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",width:"20px",height:"20px"},onClick:f=>{f.stopPropagation(),$(s)},children:h&&h.crprCd===s.crprCd&&h.wkplCd===s.wkplCd&&h.empNo===s.empNo&&h.jbpsCd===s.jbpsCd&&h.jbgdCd===s.jbgdCd&&h.empMarkOrd===s.empMarkOrd?t.jsx(T.CheckCircleFilled,{style:{fontSize:"20px",color:"#6449fc"}}):t.jsx(T.CheckCircleOutlined,{style:{fontSize:"20px",color:"#d9d9d9"}})}),t.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",backgroundColor:"#e0e0e0",display:"flex",alignItems:"center",justifyContent:"center",marginRight:"12px",fontSize:"18px",color:"#666"},children:t.jsx(T.UserOutlined,{})}),t.jsxs("div",{style:{flex:1},children:[t.jsxs("div",{style:{fontSize:"14px",fontWeight:"bold",marginBottom:"4px"},children:[s.empNm,t.jsxs("span",{style:{fontSize:"12px",fontWeight:"normal",color:"#666",marginLeft:"8px"},children:["(",s.empNo,")"]})]}),t.jsxs("div",{style:{fontSize:"12px",color:"#666",marginBottom:"2px"},children:[s.deptNm," (",s.deptCd,") | 직급:"," ",s.jbpsCd," | 등급: ",s.jbgdCd]})]})]},`emp-${s.crprCd}-${s.wkplCd}-${s.empNo}-${s.jbpsCd}-${s.jbgdCd}-${s.empMarkOrd}`)),B.length===0&&t.jsx("div",{style:{textAlign:"center",padding:"40px",color:"#999",fontSize:"14px"},children:c?"검색 결과가 없습니다.":"해당 부서에 직원이 없습니다."})]})]})})]})})})})},le=({popup:o})=>{const[c,b]=i.useState(""),[x,v]=i.useState(""),[D,L]=i.useState([]),[l,m]=i.useState([]),[h,$]=i.useState([]),[E,M]=i.useState(!1),[S,I]=i.useState({}),F=i.useCallback(async()=>{try{M(!0);const e=await G.callService("SCMUTIL00105",{...o?.popupParams});console.log("📊 조직도 API 응답:",e);const n=Array.isArray(e?.data)?e.data:Array.isArray(e?.orgnList)?e.orgnList:Array.isArray(e)?e:[];if(n.length===0){console.warn("⚠️ 조직도 데이터가 없습니다.");return}const r=U(n);console.log("🌳 구성된 조직도 트리:",r),$(r);const d=n.filter(a=>a.deptLvl<=2).map(a=>a.deptCd);if(L(d),r.length>0){const a=r[0];m([a.deptCd]),v(a.deptNm)}console.log("✅ 조직도 데이터 로딩 완료")}catch(e){console.error("❌ 조직도 데이터 로딩 실패:",e),p.message.error("조직도 데이터를 불러오는 중 오류가 발생했습니다.")}finally{M(!1)}},[o?.popupParams]),U=i.useCallback(e=>{const n=[...e].sort((u,g)=>u.deptLvl-g.deptLvl||u.orgSortOrd-g.orgSortOrd||u.deptCd.localeCompare(g.deptCd)),r=new Map;for(const u of n)r.set(u.deptCd,{...u,children:[]});const d=[];for(const u of n){const g=r.get(u.deptCd),j=u.hrnkDeptCd;j&&r.has(j)?r.get(j).children.push(g):d.push(g)}const a=u=>{if(!u.children||u.children.length===0){delete u.children;return}u.children.forEach(a)};return d.forEach(a),d},[]);i.useEffect(()=>{F()},[F]);const R=i.useMemo(()=>{const e=d=>{let a=[];return d.forEach(u=>{u.employees&&(a=a.concat(u.employees)),u.children&&(a=a.concat(e(u.children)))}),a},n=e(h),r=n.filter((d,a,u)=>a===u.findIndex(g=>g.empNo===d.empNo));return console.log(`👥 전체 사원 수: ${n.length}, 중복 제거 후: ${r.length}`),r},[h]),A=i.useMemo(()=>{const e=n=>n.map(r=>({title:r.deptNm,key:r.deptCd,children:r.children?e(r.children):void 0,isLeaf:!r.children||r.children.length===0}));return e(h)},[h]),W=i.useMemo(()=>{if(!c.trim())return A;const e=n=>n.map(r=>{const d=r.title.toLowerCase().includes(c.toLowerCase()),a=r.children?e(r.children):void 0;return d||a&&a.length>0?{...r,children:a}:null}).filter(Boolean);return e(A)},[A,c]),B=i.useMemo(()=>{if(!c.trim()){const e=u=>{let g=[];return u.forEach(j=>{j.employees&&(g=g.concat(j.employees)),j.children&&(g=g.concat(e(j.children)))}),g},n=(u,g)=>{for(const j of u){if(j.deptCd===g){let K=[...j.employees||[]];return j.children&&(K=K.concat(e(j.children))),K}if(j.children){const K=n(j.children,g);if(K.length>0)return K}}return[]},r=l[0];if(!r)return[];const d=n(h,r),a=d.filter((u,g,j)=>g===j.findIndex(K=>K.empNo===u.empNo));return console.log(`🔍 선택된 부서: ${r}, 반환된 사원 수: ${d.length}, 중복 제거 후: ${a.length}`),a}return R.filter(e=>e.empNm.toLowerCase().includes(c.toLowerCase())||e.empNo.toLowerCase().includes(c.toLowerCase())||e.deptNm.toLowerCase().includes(c.toLowerCase())||e.jbpsCd.includes(c)||e.jbgdCd.includes(c)||e.emplyStCd.includes(c))},[c,l,R,h]),y=i.useCallback(e=>{I(n=>{const r={...n};return r[e.empNo]?delete r[e.empNo]:r[e.empNo]=e,r})},[]),k=i.useCallback(e=>{I(n=>{const r={...n};return delete r[e],r})},[]),O=i.useCallback(()=>I({}),[]),w=i.useCallback(()=>{I(e=>{const n={...e};for(const r of B)n[r.empNo]=r;return n})},[B]),P=i.useCallback(()=>{I(e=>{const n={...e};for(const r of B)delete n[r.empNo];return n})},[B]),s=i.useCallback(e=>{const n=e.map(String);if(console.log(`🌳 트리 선택: ${n.join(", ")}`),m(n),n.length>0){const r=n[0],d=(u,g)=>{for(const j of u){if(j.deptCd===g)return j.deptNm;if(j.children){const K=d(j.children,g);if(K)return K}}return null},a=d(h,r);a&&v(a)}},[h]),f=i.useCallback(e=>{L(e.map(String))},[]),C=i.useCallback((e,n)=>{if(e.stopPropagation(),!n.children||!n.children.length)return;const r=D.includes(n.key);L(d=>r?d.filter(a=>a!==n.key):[...d,n.key])},[D]),N={confirm:()=>{const e=Object.values(S).map(n=>({crprCd:n.crprCd,wkplCd:n.wkplCd,empNo:n.empNo,deptCd:n.deptCd,deptNm:n.deptNm,empNm:n.empNm,jbpsCd:n.jbpsCd,jbgdCd:n.jbgdCd,empMarkOrd:n.empMarkOrd,emplyStCd:n.emplyStCd}));if(e.length===0){p.message.error("직원을 선택해주세요.");return}o?.config?.callback?.(JSON.stringify(e)),o?.close?.()}};return t.jsx(z.BwgPopup,{popup:o,popupEvent:N,children:t.jsx(z.ContentLayOut,{children:t.jsx(z.ContentBox,{border:!1,style:{paddingBottom:20},children:t.jsxs(p.Splitter,{style:{height:"100%"},children:[t.jsx(p.Splitter.Panel,{defaultSize:"50%",min:"50%",max:"70%",children:t.jsxs(p.Splitter,{layout:"vertical",style:{height:"100%"},children:[t.jsxs(p.Splitter.Panel,{defaultSize:"60%",min:"35%",max:"75%",children:[t.jsx("div",{style:{position:"sticky",top:0,zIndex:10,backgroundColor:"white",borderBottom:"1px solid #e0e0e0",padding:8},children:t.jsxs(p.Flex,{gap:8,vertical:!0,style:{marginBottom:6},children:[t.jsx(z.BwgTitleBox,{title:"조직도"}),t.jsx(p.Input,{placeholder:"이름, 소속, 직급/직위, 사번 검색",prefix:t.jsx(T.SearchOutlined,{}),value:c,allowClear:!0,onChange:e=>b(e.target.value)})]})}),t.jsx("div",{style:{padding:16,overflowY:"hidden"},children:t.jsx(p.Spin,{spinning:E,children:t.jsx(p.Tree,{className:"bwg-ogrn-tree",treeData:W,expandedKeys:D,selectedKeys:l,onSelect:s,onExpand:f,onDoubleClick:C,showLine:!0,showIcon:!1,style:{overflow:"hidden"},titleRender:e=>t.jsx("span",{style:{padding:"4px 8px",borderRadius:4,fontWeight:l.includes(e.key)?"bold":"normal",display:"inline-block",width:"100%"},children:e.title})})})})]}),t.jsx(p.Splitter.Panel,{children:t.jsxs("div",{style:{padding:16,height:"100%",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t.jsx("h3",{style:{margin:0,fontSize:16,fontWeight:700},children:c?"검색 결과":`${x} 사용자`}),t.jsxs("div",{style:{display:"flex",gap:8},children:[t.jsx(p.Button,{size:"small",onClick:w,children:"현재 목록 전체 선택"}),t.jsx(p.Button,{size:"small",onClick:P,children:"현재 목록 전체 해제"})]})]}),t.jsx(p.Divider,{style:{margin:"8px 0"}}),t.jsxs("div",{style:{overflowY:"auto"},children:[B.map(e=>{const n=!!S[e.empNo];return t.jsxs("div",{style:{display:"flex",alignItems:"center",padding:10,border:"1px solid #e0e0e0",borderRadius:8,marginBottom:8,cursor:"pointer",background:n?"#efebff":"#fff"},onClick:()=>y(e),children:[t.jsx("div",{style:{marginRight:12,width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center"},onClick:r=>{r.stopPropagation(),y(e)},children:n?t.jsx(T.CheckCircleFilled,{style:{fontSize:20,color:"#6449fc"}}):t.jsx(T.CheckCircleOutlined,{style:{fontSize:20,color:"#d9d9d9"}})}),t.jsx("div",{style:{width:36,height:36,borderRadius:"50%",backgroundColor:"#e0e0e0",display:"flex",alignItems:"center",justifyContent:"center",marginRight:12,fontSize:16,color:"#666",flex:"0 0 auto"},children:t.jsx(T.UserOutlined,{})}),t.jsxs("div",{style:{flex:1,minWidth:0},children:[t.jsxs("div",{style:{fontSize:14,fontWeight:600,marginBottom:2},children:[e.empNm,t.jsxs("span",{style:{fontSize:12,fontWeight:"normal",color:"#666",marginLeft:"8px"},children:["(",e.empNo,")"]})]}),t.jsxs("div",{style:{fontSize:12,color:"#666"},children:[e.deptNm," (",e.deptCd,") | 직급: ",e.jbpsCd," ","| 등급: ",e.jbgdCd]})]})]},`emp-${e.crprCd}-${e.wkplCd}-${e.empNo}-${e.jbpsCd}-${e.jbgdCd}-${e.empMarkOrd}`)}),B.length===0&&t.jsx("div",{style:{textAlign:"center",padding:32,color:"#999",fontSize:14},children:c?"검색 결과가 없습니다.":"해당 부서에 사용자 없음"})]})]})})]})}),t.jsx(p.Splitter.Panel,{collapsible:!0,children:t.jsxs("div",{style:{padding:16,height:"100%",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t.jsx(z.BwgTitleBox,{title:`선택된 사용자 (${Object.keys(S).length})`}),t.jsx(p.Button,{type:"link",size:"small",onClick:O,children:"전체 해제"})]}),t.jsx(p.Divider,{style:{margin:"8px 0"}}),t.jsxs("div",{style:{overflowY:"auto",flex:1},children:[Object.values(S).map(e=>t.jsxs("div",{style:{display:"flex",alignItems:"center",padding:10,border:"1px solid #e0e0e0",borderRadius:8,marginBottom:8,background:"#fafafa"},children:[t.jsx("div",{style:{width:32,height:32,borderRadius:"50%",backgroundColor:"#e0e0e0",display:"flex",alignItems:"center",justifyContent:"center",marginRight:10,color:"#666"},children:t.jsx(T.UserOutlined,{})}),t.jsxs("div",{style:{flex:1,minWidth:0},children:[t.jsxs("div",{style:{fontSize:13,fontWeight:600,marginBottom:2},children:[e.empNm,t.jsxs("span",{style:{fontSize:11,fontWeight:"normal",color:"#666",marginLeft:"6px"},children:["(",e.empNo,")"]})]}),t.jsxs("div",{style:{fontSize:12,color:"#666"},children:[e.deptNm," (",e.deptCd,") | 직급: ",e.jbpsCd," | 등급: ",e.jbgdCd]})]}),t.jsx(p.Button,{type:"text",shape:"circle",icon:t.jsx(T.CloseOutlined,{}),onClick:()=>k(e.empNo)})]},`selected-${e.crprCd}-${e.wkplCd}-${e.empNo}-${e.jbpsCd}-${e.jbgdCd}-${e.empMarkOrd}`)),Object.keys(S).length===0&&t.jsx("div",{style:{color:"#999",fontSize:14,textAlign:"center",padding:24},children:"선택된 사용자가 없습니다."})]})]})})]})})})})};exports.SearchDepartmentP01=Z;exports.SearchDepartmentP02=ne;exports.SearchOrganizationP01=re;exports.SearchOrganizationP02=le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/common-components-B4mah7DM.cjs");exports.SearchDepartmentP01=e.SearchDepartmentP01;exports.SearchDepartmentP02=e.SearchDepartmentP02;exports.SearchOrganizationP01=e.SearchOrganizationP01;exports.SearchOrganizationP02=e.SearchOrganizationP02;
@@ -2,8 +2,6 @@ export { default as SearchDepartmentP01 } from './SearchDepartmentP01';
2
2
  export { default as SearchDepartmentP02 } from './SearchDepartmentP02';
3
3
  export { default as SearchOrganizationP01 } from './SearchOrganizationP01';
4
4
  export { default as SearchOrganizationP02 } from './SearchOrganizationP02';
5
- export type { Department, SearchDepartmentP01Props } from './SearchDepartmentP01';
6
- export type { SearchDepartmentP02Props } from './SearchDepartmentP02';
7
- export type { Employee, Department as OrgDepartment, SearchOrganizationP01Props } from './SearchOrganizationP01';
8
- export type { SearchOrganizationP02Props } from './SearchOrganizationP02';
5
+ export type { Department } from './SearchDepartmentP01';
6
+ export type { Employee, Department as OrgDepartment } from './SearchOrganizationP01';
9
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAG3E,YAAY,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAClF,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,QAAQ,EAAE,UAAU,IAAI,aAAa,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACjH,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAG3E,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,YAAY,EAAE,QAAQ,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC"}