sales-frontend-components 0.0.124 → 0.0.126
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/index.cjs.js +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +16 -16
package/dist/index.esm.js
CHANGED
|
@@ -8,7 +8,7 @@ import styles from './modal/standard/address-search/select-address.module.scss';
|
|
|
8
8
|
import styles$1 from './modal/standard/bank-stock-search/bank-stock-search-modal.module.scss';
|
|
9
9
|
import styles$2 from './modal/standard/customer-search/customer-search.module.scss';
|
|
10
10
|
import styles$3 from './modal/standard/nationality-search/select-nationality.module.scss';
|
|
11
|
-
import { isClient, getE2EDataIDs, loadScript, initASTX2, base64ToBlob, MessageEventManager } from 'sales-frontend-utils';
|
|
11
|
+
import { isClient, addE2EObject, getE2EDataIDs, loadScript, initASTX2, base64ToBlob, MessageEventManager } from 'sales-frontend-utils';
|
|
12
12
|
import styles$4 from './modal/standard/visa-search/select-visa.module.scss';
|
|
13
13
|
import { useQuery } from '@tanstack/react-query';
|
|
14
14
|
import styles$5 from './modal/pre-standard/dea-customer-search-modal/dea-customer-search-modal.module.scss';
|
|
@@ -1872,7 +1872,7 @@ function DeaCustomerSearch({
|
|
|
1872
1872
|
const [residentNumberFront, setResidentNumberFront] = useState("");
|
|
1873
1873
|
const [residentNumberBack, setResidentNumberBack] = useState("");
|
|
1874
1874
|
const handleSearch = () => {
|
|
1875
|
-
getE2EDataIDs(["
|
|
1875
|
+
getE2EDataIDs(["residentNumberBack"], (e2edata) => {
|
|
1876
1876
|
setSearchParams({
|
|
1877
1877
|
residentNumberFront,
|
|
1878
1878
|
residentNumberBack,
|
|
@@ -1893,6 +1893,10 @@ function DeaCustomerSearch({
|
|
|
1893
1893
|
e.preventDefault();
|
|
1894
1894
|
}
|
|
1895
1895
|
};
|
|
1896
|
+
useEffect(() => {
|
|
1897
|
+
const el = document.getElementById("residentNumberBack");
|
|
1898
|
+
addE2EObject(el);
|
|
1899
|
+
});
|
|
1896
1900
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1897
1901
|
/* @__PURE__ */ jsx("div", { className: cx$e("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$e("search-filters"), children: [
|
|
1898
1902
|
/* @__PURE__ */ jsxs("div", { className: cx$e("search-filter-section"), children: [
|
|
@@ -1923,12 +1927,11 @@ function DeaCustomerSearch({
|
|
|
1923
1927
|
TextField$3,
|
|
1924
1928
|
{
|
|
1925
1929
|
type: "password",
|
|
1930
|
+
id: "residentNumberBack",
|
|
1926
1931
|
name: "residentNumberBack",
|
|
1927
1932
|
value: residentNumberBack,
|
|
1928
1933
|
maxLength: 7,
|
|
1929
1934
|
placeholder: "\uB4A4 7\uC790\uB9AC \uC785\uB825",
|
|
1930
|
-
e2e_type: "1",
|
|
1931
|
-
e2e_inputtype: "1",
|
|
1932
1935
|
onChange: (e) => setResidentNumberBack(e.target.value),
|
|
1933
1936
|
size: "medium",
|
|
1934
1937
|
onKeyDown,
|