kui-crm 0.0.21 → 0.0.22
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/cjs/index.js +11 -0
- package/cjs/index.js.map +1 -1
- package/index.d.ts +70 -2
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -1323,6 +1323,11 @@ CompanyAutocomplete.defaultProps = {
|
|
|
1323
1323
|
};
|
|
1324
1324
|
var CompanyAutocomplete$1 = mobxReact.observer(CompanyAutocomplete);
|
|
1325
1325
|
|
|
1326
|
+
var ChangeReasonSchemaParams = {
|
|
1327
|
+
// reason: yup.mixed().required("Choose a reason file"),
|
|
1328
|
+
};
|
|
1329
|
+
var ChangeReasonSchema = yup__namespace.object().shape(ChangeReasonSchemaParams);
|
|
1330
|
+
|
|
1326
1331
|
function ChangeReasonFields(_a) {
|
|
1327
1332
|
var form = _a.form, customReasons = _a.customReasons;
|
|
1328
1333
|
return (jsxRuntime.jsxs(kuiBasic.Grid, __assign({ container: true, spacing: 2 }, { children: [customReasons ? (customReasons.map(function (field) { return (jsxRuntime.jsx(kuiBasic.Grid, __assign({ item: true, xs: 12 }, { children: jsxRuntime.jsx(InputFileWithVisibility, { form: form, name: field.name || "reason", label: field.label }) }))); })) : (jsxRuntime.jsx(kuiBasic.Grid, __assign({ item: true, xs: 12 }, { children: jsxRuntime.jsx(InputFileWithVisibility, { form: form, name: "reason", label: "Reason" }) }))), jsxRuntime.jsx(kuiBasic.Grid, __assign({ item: true, xs: 12 }, { children: jsxRuntime.jsx(kuiComplex.InputWithController, { isTextArea: true, form: form, name: "comment", label: "Comment" }) }))] })));
|
|
@@ -2554,6 +2559,7 @@ exports.APIPayerValues = APIPayerValues;
|
|
|
2554
2559
|
exports.BooleanValues = BooleanValues;
|
|
2555
2560
|
exports.CatalogsAgent = CatalogsAgent;
|
|
2556
2561
|
exports.ChangeReasonFields = ChangeReasonFields;
|
|
2562
|
+
exports.ChangeReasonSchema = ChangeReasonSchema;
|
|
2557
2563
|
exports.CitiesStore = CitiesStore;
|
|
2558
2564
|
exports.CityAutocomplete = CityAutocomplete$1;
|
|
2559
2565
|
exports.CompaniesAgent = CompaniesAgent;
|
|
@@ -2561,6 +2567,7 @@ exports.CompaniesStore = CompaniesStore;
|
|
|
2561
2567
|
exports.CompanyAutocomplete = CompanyAutocomplete$1;
|
|
2562
2568
|
exports.CompanyCreationForm = CompanyCreationForm;
|
|
2563
2569
|
exports.CompanyCreationModal = CompanyCreationModal$1;
|
|
2570
|
+
exports.CompanyCreationSchema = CompanyCreationSchema;
|
|
2564
2571
|
exports.CompanyTypesValues = CompanyTypesValues;
|
|
2565
2572
|
exports.CountriesStore = CountriesStore;
|
|
2566
2573
|
exports.CountryAutocomplete = CountryAutocomplete$1;
|
|
@@ -2619,11 +2626,15 @@ exports.UnitOfPaymentValues = UnitOfPaymentValues;
|
|
|
2619
2626
|
exports.UploadAgent = UploadAgent;
|
|
2620
2627
|
exports.WaterValues = WaterValues;
|
|
2621
2628
|
exports.authFlag = authFlag;
|
|
2629
|
+
exports.companyOfficeFields = companyOfficeFields;
|
|
2622
2630
|
exports.csrfTokenKey = csrfTokenKey;
|
|
2623
2631
|
exports.defaultRequiredMessage = defaultRequiredMessage;
|
|
2624
2632
|
exports.genderMatches = genderMatches;
|
|
2625
2633
|
exports.getFillingInfoFields = getFillingInfoFields;
|
|
2634
|
+
exports.getMeterFeaturesFieldsSchema = getMeterFeaturesFieldsSchema;
|
|
2635
|
+
exports.getMeterFields = getMeterFields;
|
|
2626
2636
|
exports.getNumbersValues = getNumbersValues;
|
|
2637
|
+
exports.getPartialPayerFields = getPartialPayerFields;
|
|
2627
2638
|
exports.matchesAPICompanyTypes = matchesAPICompanyTypes;
|
|
2628
2639
|
exports.matchesAPIFillingTypes = matchesAPIFillingTypes;
|
|
2629
2640
|
exports.matchesAPISubjectRoles = matchesAPISubjectRoles;
|