@djb25/digit-ui-module-wt 1.0.48 → 1.0.49
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1098,13 +1098,7 @@ const WTSearchApplication = ({
|
|
|
1098
1098
|
}),
|
|
1099
1099
|
type: "number",
|
|
1100
1100
|
maxlength: 10
|
|
1101
|
-
}), /*#__PURE__*/React.createElement(CardLabelError, null, formState === null || formState === void 0 ? void 0 : (_formState$errors = formState.errors) === null || _formState$errors === void 0 ? void 0 : (_formState$errors$mob = _formState$errors["mobileNumber"]) === null || _formState$errors$mob === void 0 ? void 0 : _formState$errors$mob.message)), /*#__PURE__*/React.createElement("div", {
|
|
1102
|
-
className: "search-field-wrapper"
|
|
1103
|
-
}, /*#__PURE__*/React.createElement("label", null, t("WT_BOOKING_NO")), /*#__PURE__*/React.createElement(TextInput, {
|
|
1104
|
-
name: "bookingNo",
|
|
1105
|
-
inputRef: register({}),
|
|
1106
|
-
id: "wt-booking-no-input"
|
|
1107
|
-
}))), activeTab === t("WT_ADVANCED_SEARCH") && /*#__PURE__*/React.createElement("div", {
|
|
1101
|
+
}), /*#__PURE__*/React.createElement(CardLabelError, null, formState === null || formState === void 0 ? void 0 : (_formState$errors = formState.errors) === null || _formState$errors === void 0 ? void 0 : (_formState$errors$mob = _formState$errors["mobileNumber"]) === null || _formState$errors$mob === void 0 ? void 0 : _formState$errors$mob.message))), activeTab === t("WT_ADVANCED_SEARCH") && /*#__PURE__*/React.createElement("div", {
|
|
1108
1102
|
className: "formcomposer-section-grid"
|
|
1109
1103
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1110
1104
|
className: "search-field-wrapper"
|
|
@@ -28696,6 +28690,16 @@ const WTModule = ({
|
|
|
28696
28690
|
path,
|
|
28697
28691
|
url
|
|
28698
28692
|
} = useRouteMatch();
|
|
28693
|
+
const moduleCode = "WT";
|
|
28694
|
+
const language = Digit.StoreData.getCurrentLanguage();
|
|
28695
|
+
const {
|
|
28696
|
+
isLoading,
|
|
28697
|
+
data: store
|
|
28698
|
+
} = Digit.Services.useStore({
|
|
28699
|
+
stateCode,
|
|
28700
|
+
moduleCode,
|
|
28701
|
+
language
|
|
28702
|
+
});
|
|
28699
28703
|
Digit.SessionStorage.set("WT_TENANTS", tenants);
|
|
28700
28704
|
useEffect(() => userType === "employee" && Digit.LocalizationService.getLocale({
|
|
28701
28705
|
modules: [`rainmaker-${Digit.ULBService.getCurrentTenantId()}`],
|