react-luminus-components 1.4.35 → 1.4.38

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,7 +1,9 @@
1
+ import { default as TextInputProps } from '../prop-types/InputProps/TextInputProps';
2
+
1
3
  type PromptOptions = {
2
4
  required?: boolean;
3
5
  input?: 'input' | 'textarea';
4
- type?: 'text' | 'date' | 'number';
6
+ type?: TextInputProps['type'];
5
7
  defaultValue?: string;
6
8
  };
7
9
  export default PromptOptions;
@@ -11071,7 +11071,7 @@ const R8 = () => {
11071
11071
  return S ? (!r && f(S.errors, "danger"), Promise.reject(x)) : (!r && f(l.validationError, "warning"), Promise.reject(x));
11072
11072
  }
11073
11073
  const b = Ok(x);
11074
- return b !== null ? (!r && f(`${l.permissionError}: ${Cl(", ", ...b)}`, "danger"), Promise.reject(x)) : (o ?? []).includes((T = x.response) == null ? void 0 : T.status) ? Promise.reject(x) : ((y = x.response) == null ? void 0 : y.status) === 403 ? (!r && f(l.forbiddenError, "danger"), Promise.reject(x)) : x.message && x.message === "Network Error" ? (!r && f(l.networkError, "danger"), Promise.reject(x)) : (Kt.isCancel(x) || (x.response || x.request) && !r && f(l.unexpectedError, "danger"), Promise.reject(x));
11074
+ return b !== null ? (!r && f(`${l.permissionError}: ${Cl(", ", ...b)}`, "danger"), Promise.reject(x)) : (o ?? []).includes((T = x.response) == null ? void 0 : T.status) ? Promise.reject(x) : ((y = x.response) == null ? void 0 : y.status) === 403 ? (!r && f(l.forbiddenError, "danger"), Promise.reject(x)) : x.message && x.message === "Network Error" ? (!r && f(l.networkError, "danger"), Promise.reject(x)) : (Kt.isCancel(x) || (!r && f(l.unexpectedError, "danger"), (x.response || x.request) && !r && f(l.unexpectedError, "danger")), Promise.reject(x));
11075
11075
  },
11076
11076
  [
11077
11077
  f,